/* R3: A daily queue with B's contextual notebook; all controls share rounded edges. */
:root{font:14px/1.55 system-ui,sans-serif;color:#243d38;background:#f0f4f0;--teal:#235d58;--border:#dbe4dc;--muted:#62756b}button,input,select,textarea,.primary{border-radius:12px}button{touch-action:manipulation}.primary{background:var(--teal);color:white;display:inline-block;text-decoration:none;padding:10px 15px;white-space:nowrap}.primary:hover{background:#174b47}header{max-width:none;margin:0;background:white;padding:15px 28px}.brand strong{font-size:18px}#menu nav a,#menu nav button{font:400 13px/1.5 system-ui,sans-serif;display:flex;align-items:center;text-align:left;color:inherit;min-height:42px;border-radius:10px}#menu>summary{border-radius:12px}#menu nav{width:235px}.gate{max-width:550px;margin:65px auto;padding:40px 24px;text-align:center}.gate h1{font-size:32px;margin-top:18px}.gate p{margin:18px 0 25px;color:var(--muted)}.layout{display:grid;grid-template-columns:165px minmax(0,1fr);max-width:1480px;margin:auto;min-height:calc(100dvh - 75px)}.sidebar{padding:30px 14px;border-right:1px solid var(--border)}.sidebar nav{display:grid;gap:8px}.sidebar button{background:transparent;border:0;text-align:left;font-size:13px;padding:11px 14px}.sidebar button[aria-pressed=true]{background:#dfeadf;color:var(--teal);font-weight:650}.layout main{max-width:none;width:100%;margin:0;padding:34px 32px;min-width:0}.heading-row,.surface-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.heading-row{margin-bottom:22px}.heading-row h1{font-size:clamp(24px,3vw,35px);line-height:1.2;font-weight:600;letter-spacing:-1px}.eyebrow{display:block;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.layout .filters{margin:0 0 20px;gap:10px}.filters>label:not(.search):not([hidden]){max-width:150px}.notebook-grid{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.2fr);gap:24px;align-items:start}.notebook-grid:has(#profile[hidden]){grid-template-columns:1fr}.collection{padding:0}.surface-head{padding:18px 20px;border-bottom:1px solid var(--border)}.surface-head h2{font-size:15px}.surface-head span{font-size:11px;color:var(--muted)}.row{padding:18px 20px;border-top:0;border-bottom:1px solid #e8eee7;gap:12px}.row:last-child{border:0}.row.selected{background:#f0f5ed}.person-name{font-size:14px;min-height:28px}.meta,.person-context{font-size:11px}.person-context{line-height:1.7}.row-actions{flex-direction:column;gap:5px;flex-shrink:0}.row-actions button{font-size:11px;min-height:34px;padding:6px 9px}.badge{font-size:11px;color:#89622e}.profile{padding:26px}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:22px;border-bottom:1px solid var(--border)}.profile-identity{display:flex;gap:13px;align-items:center;min-width:0}.profile h2{font:normal 28px/1.2 Georgia,serif;overflow-wrap:anywhere}.avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e8eee2;color:#53684e;flex-shrink:0;font-size:15px;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.text-button{background:transparent;border:0;font-size:12px;min-height:34px;padding:7px 0;color:var(--teal)}.profile-sections{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.profile h3{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:0 0 11px}.profile p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.profile-actions button{font-size:12px}.reminder{margin-top:22px;padding:15px;background:#f4f7f0;border:1px solid var(--border);border-radius:8px;font-size:12px}.history{margin-top:24px;border-top:1px solid var(--border);padding-top:20px}.history-entry{padding:9px 0;border-bottom:1px solid #edf1eb;font-size:12px;overflow-wrap:anywhere}.history-entry time,.activity-row time{display:block;font-size:10px;color:var(--muted);margin-top:3px}.photo-grid{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.photo-grid button{padding:0;overflow:hidden;min-height:0;border-radius:8px}.photo-grid img{width:80px;height:80px;display:block;object-fit:cover}.photo-edit-item{display:inline-flex;flex-direction:column;gap:5px;margin:6px;vertical-align:top}.photo-edit-item img{width:80px;height:80px;object-fit:cover;border-radius:8px}.photo-edit-item button{font-size:11px;min-height:30px;padding:5px}.photo-editor{margin:20px 0}.photo-editor h3{font-size:14px}.photo-editor .muted{font-size:11px}.activity-row{padding:16px 20px;border-bottom:1px solid var(--border);font-size:12px}.activity-row button{font-size:13px}#privacy-dialog .disclosure{position:static;width:auto;max-width:none;border:0;box-shadow:none;padding:12px 0}#privacy-dialog .disclosure p{line-height:1.8}#privacy-dialog .disclosure>button{margin:6px 6px 6px 0}#pagination{padding:12px;justify-content:center}#pagination:empty{display:none}#empty{font-size:13px;padding:24px}#status{font-size:12px;margin:16px 0;min-height:0}.dialog-footer{display:flex;justify-content:flex-end;margin-top:20px}#quick-dialog{max-width:520px}#quick-form>label{margin-top:16px}#photo-full{display:block;max-width:100%;max-height:70dvh;margin:16px auto}#photo-dialog{max-width:900px}
@media(max-width:1050px){.layout{grid-template-columns:135px minmax(0,1fr)}.layout main{padding:28px 22px}.notebook-grid{gap:18px;grid-template-columns:minmax(210px,.9fr) minmax(0,1fr)}.profile{padding:22px}.profile-sections{grid-template-columns:1fr}}
@media(max-width:760px){header{padding:12px 14px}.brand strong{font-size:16px}.layout{display:block}.sidebar{padding:12px 16px;border-right:0;border-bottom:1px solid var(--border)}.sidebar nav{display:flex;justify-content:space-between;gap:4px}.sidebar button{font-size:12px;padding:8px 10px}.layout main{padding:24px 16px}.heading-row{align-items:flex-start;gap:14px}.heading-row h1{font-size:26px}.heading-row>.primary{font-size:12px;padding:10px 12px}.notebook-grid{grid-template-columns:1fr}.layout .filters{flex-wrap:nowrap}.layout .filters .search{flex-basis:auto}.layout .filters label:not(.search):not([hidden]){flex:none;width:115px}.filters select{min-width:0}.row{flex-direction:row;align-items:center;padding:16px}.profile{padding:22px}.profile-sections{grid-template-columns:1fr 1fr;gap:18px}.profile p{font-size:12px}.profile h2{font-size:27px}.profile-actions button{font-size:11px}.eyebrow{font-size:9px}.gate{margin:30px auto}.gate h1{font-size:28px}.profile-actions{gap:7px}.row-actions button{font-size:10px}.profile .toolbar{gap:8px}}
@media(max-width:360px){.brand strong{font-size:14px}.brand>img{width:25px}.endorsement img{width:22px}.heading-row h1{font-size:23px}.heading-row>.primary{padding:9px 10px}.profile-sections{grid-template-columns:1fr}.profile{padding:18px}}

/* Keep the offering mark visible beside the endorsement on narrow screens. */
@media(max-width:600px){.brand>img{display:block;width:25px;height:25px}.brand{gap:6px}}
