.cloud-gate{
  position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-start;justify-content:center;
  overflow-y:auto;padding:24px;background:#f5efe4;color:#262622;
}
.cloud-gate[hidden]{display:none}
.cloud-card{width:min(100%,470px);margin:auto 0;padding:32px;border:1px solid #ddd4c7;border-radius:22px;background:#fffcf7;box-shadow:0 20px 80px #33271915}
.cloud-card h1{font-family:var(--font-display);font-size:clamp(36px,6vw,54px);font-weight:400;line-height:1.04;margin:14px 0}
.cloud-card .card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.cloud-card #cloudClerkForm{min-height:20px;margin-top:18px}
.cloud-error{color:#a03a2c!important}
.cloud-header-status{max-width:220px;font-size:11px;color:#625f58;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.cloud-header-status{max-width:75px}.cloud-card{padding:24px}}
:root{
  /* Names from the approved visual-only design guide; existing names remain for old screens. */
  --cream:#F5EFE4;
  --sand:#EDE5D6;
  --soft-ink:#5F594F;
  --mute:#8C8578;
  --green:#2F4A3A;
  --green-tint:#DCE5DD;
  --sky:#A8CBE4;
  --sky-tint:#E4EFF7;
  --serif:var(--font-display);
  --sans:var(--font-ui);
  --r-card:14px;
  --r-hero:22px;
  --r-sheet:20px;
  --r-pill:999px;
  --page-max:1120px;
  --ivory:#F5EFE4;
  --paper:#FBF8F2;
  --soft:#EDE5D6;
  --ink:#1E1C19;
  --muted:#5F594F;
  --faint:#8C8578;
  --line:#E2D9C8;
  --olive:#2F4A3A;
  --olive-soft:#DCE5DD;
  --rose:#8A3F47;
  --pink:#E9B8BC;
  --pink-tint:#F7E6E6;
  --blue:#A8CBE4;
  --blue-tint:#E4EFF7;
  --lime:#CFDF8C;
  --lime-tint:#EEF3D3;
  --apricot:#F1C39C;
  --apricot-tint:#FAEAD9;
  --shadow:none;
  --focus:0 0 0 3px rgba(47,74,58,.22);
}
*{box-sizing:border-box}
html{background:var(--ivory);color:var(--ink)}
body{margin:0;font-family:var(--font-ui);background:var(--ivory);color:var(--ink);line-height:1.4}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer}
.app-shell{max-width:1120px;margin:0 auto;padding:calc(18px + env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom))}
.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:5px 2px 15px}
.brand{font-family:var(--font-display);font-size:30px;letter-spacing:.02em;white-space:nowrap;line-height:1}
.brand-line{font-size:10px;letter-spacing:.17em;text-transform:uppercase;color:var(--muted);margin-top:4px}
.icon-btn,.round-btn{width:43px;height:43px;border:1px solid var(--line);background:rgba(255,255,255,.3);border-radius:50%;display:grid;place-items:center}
.hero{padding:22px 3px 18px}
.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--muted);margin:0 0 8px;text-transform:uppercase}
h1,h2,h3{font-family:var(--font-display);font-weight:400;margin:0}
h1{font-size:clamp(38px,10vw,58px);line-height:1.02}
h2{font-size:26px;line-height:1.08}
h3{font-size:20px;line-height:1.15}
.hero-copy{max-width:520px;margin:10px 0 0;color:var(--muted);font-size:14px}
.capture-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:15px;box-shadow:var(--shadow)}
.capture-card h2{font-size:24px}
.capture-card .capture-body{padding-top:2px}
.capture-head{align-items:center}
.capture-head p{margin:0;font-size:12px}
.capture-card #captureInput{min-height:68px;margin-top:10px}
.capture-card .capture-status:empty{display:none}
.capture-result{background:var(--olive-soft);border-radius:12px;padding:13px 15px;margin-top:12px;font-size:13px}
.capture-result strong{font-family:var(--font-display);font-size:20px;font-weight:400}
.capture-result ul{list-style:none;padding:0;margin:8px 0}
.capture-result li{padding:6px 0;border-top:1px solid rgba(89,96,82,.18);line-height:1.4}
.capture-result li span{color:var(--olive)}
.capture-result .card-actions{margin-top:2px}
.capture-result .text-button[disabled]{opacity:.5;cursor:not-allowed}
.today-thought-answer[hidden]{display:none!important}
.today-thought-answer:not([hidden]){width:100%;max-width:1040px;margin:0 auto 14px;padding:0 2px;overflow-wrap:anywhere}
.today-thought-answer .thought-answer-sheet{padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:0 8px 24px rgba(48,43,34,.055)}
.today-thought-answer .thought-answer-quote{background:rgba(237,229,214,.52)}
.todo-group{padding:12px 0;border-top:1px solid var(--line)}
.todo-group:first-child{border-top:0}
.todo-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.todo-group-head h3{font:500 13px var(--font-ui)}
.todo-row-main{min-width:0;flex:1}
.todo-row{flex-wrap:wrap}
.todo-actions{max-width:none;justify-content:flex-start}
#todoMessageText{width:100%;min-height:180px;margin-top:7px;resize:vertical}
.capture-card summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-family:var(--font-display);font-size:21px;line-height:1.15}
.capture-card summary::-webkit-details-marker{display:none}
.capture-card summary span{font-family:var(--font-ui);font-size:11px;color:var(--muted);text-align:right;line-height:1.4}
.capture-card summary:focus-visible{outline:2px solid var(--olive);outline-offset:3px;border-radius:3px}
.capture-card[open] .capture-body{padding-top:12px}
.capture-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.capture-head p{font-size:13px;line-height:1.45;color:var(--muted);margin:6px 0 0}
textarea,input[type="text"]{width:100%;border:1px solid var(--line);background:rgba(255,255,255,.3);border-radius:11px;padding:11px 12px;font-size:16px;outline:none}
textarea:focus,input[type="text"]:focus{border-color:var(--olive);box-shadow:var(--focus)}
#captureInput{margin-top:13px;resize:vertical;min-height:78px}
.capture-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px}
.soft-btn,.primary-btn{min-height:42px;border-radius:10px;padding:9px 13px;border:1px solid var(--line);background:transparent}
.primary-btn{background:var(--ink);color:var(--paper);border-color:var(--ink);margin-left:auto}
.file-btn input{display:none}
.hidden,[hidden]{display:none!important}
.capture-status{font-size:12px;color:var(--muted);min-height:18px;margin-top:10px;line-height:1.35}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;gap:2px;background:rgba(250,248,242,.96);border-top:1px solid var(--line);padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));z-index:50;box-shadow:0 -7px 20px rgba(50,40,30,.045);backdrop-filter:blur(12px)}
.tab{flex:1;min-width:0;border:0;background:transparent;border-radius:8px;padding:9px 2px;min-height:44px;font-size:clamp(11px,2.8vw,14px);color:var(--muted);transition:background .2s ease,color .2s ease,transform .2s ease}
.tab.active{background:var(--olive-soft);color:var(--ink);font-weight:500}
.universal-add{position:fixed;bottom:calc(70px + env(safe-area-inset-bottom));right:max(18px,calc((100vw - 750px)/2));z-index:55;width:52px;height:52px;border-radius:50%;border:1px solid var(--ink);background:var(--ink);color:var(--paper);font-size:29px;font-weight:300;box-shadow:0 6px 18px rgba(30,26,22,.17);transition:transform .2s ease,background .2s ease}
.page{display:none;padding:4px 0 8px}.active-page{display:block}
.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:26px 2px 9px}
.section-title p{margin:0;color:var(--muted);font-size:12px}
.stack{display:grid;gap:0}
.item-card{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:12px 2px}
.item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.kicker{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.item-title{font-family:var(--font-ui);font-size:20px;margin-top:3px}
.item-copy{font-size:13px;color:var(--muted);line-height:1.48;margin-top:6px}
.chip-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}
.chip{font-size:11px;border:1px solid var(--line);border-radius:999px;padding:5px 8px;background:var(--paper)}
.card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.card-btn{border:1px solid var(--line);background:transparent;border-radius:11px;min-height:40px;padding:8px 11px;font-size:13px}
.card-btn.dark{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.big-stat{font-family:var(--font-ui);font-size:38px}
.empty{border:1px dashed var(--line);border-radius:10px;padding:15px;text-align:center;color:var(--muted);font-size:13px}
.shopping-row{display:flex;gap:10px;align-items:flex-start;padding:11px 0;border-bottom:1px solid var(--line)}
.shopping-row:last-child{border-bottom:0}.shopping-row input{margin-top:3px;width:19px;height:19px}
.shopping-name{font-size:14px}.shopping-source{font-size:11px;color:var(--muted);margin-top:2px}.done{text-decoration:line-through;color:var(--muted)}
.add-row{display:flex;gap:8px;margin-top:13px}.add-row input{flex:1;min-width:0}
.shopping-info{flex:1;min-width:0}.shopping-group{padding:20px 0 2px;font-size:21px}.shopping-voice{margin:0 0 12px}.shopping-row .card-btn{min-height:35px}.memory-details{margin-top:16px;border:1px solid var(--line);border-radius:15px;padding:14px;background:rgba(255,255,255,.25)}.memory-details summary{cursor:pointer;font-size:14px;font-weight:500}.memory-details .stack,.memory-details .item-card{margin-top:12px}
.passport-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:13px}.passport-grid div span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:3px}.passport-grid div strong{font-size:13px;font-weight:500}
.document-row{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:9px 0;font-size:12px}.document-row:first-child{border-top:0}
.feedback-control{display:flex;justify-content:flex-start;margin:20px 4px 0}.feedback-control button{text-decoration:none;font-size:12px;color:var(--olive);border-bottom:1px solid var(--line)}.privacy-note{font-size:11px;line-height:1.5;color:var(--muted);padding:22px 5px 0}.privacy-note strong{color:var(--ink)}
.modal{position:fixed;inset:0;background:rgba(30,26,22,.45);display:grid;place-items:end center;padding:18px;z-index:100}.modal.hidden{display:none}.modal-card{width:min(100%,720px);max-height:85vh;overflow:auto;background:var(--paper);border-radius:24px 24px 16px 16px;padding:24px;box-shadow:var(--shadow);position:relative}.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px}.modal-card h2{padding-right:36px}.modal-card p,.modal-card li{font-size:13px;line-height:1.5}.modal-card ol{padding-left:18px}.modal-card .item-card{margin-top:14px}
.add-options{display:grid;gap:10px;margin-top:20px}.add-option{border:1px solid var(--line);background:var(--ivory);padding:17px;text-align:left;border-radius:14px;min-height:54px;font-size:15px}.say-input{display:flex;align-items:flex-start;gap:10px;margin-top:18px}.say-input textarea{flex:1}.edit-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;padding:15px;border:1px solid var(--line);border-radius:15px}.edit-form p,.edit-form button{grid-column:1/-1}.edit-field{display:grid;gap:5px;font-size:12px;color:var(--muted)}.edit-field input{min-width:0;width:100%;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:10px;font-size:14px}.ingredient-submit{margin-top:18px}
.toast{position:fixed;left:50%;bottom:calc(85px + env(safe-area-inset-bottom));transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:10px 14px;border-radius:14px;font-size:12px;z-index:200;box-shadow:var(--shadow);max-width:min(90vw,460px);text-align:center}
.top-actions{display:flex;align-items:center;gap:9px}
.settings-link,.text-button{border:0;background:none;color:var(--olive);font-size:13px;text-decoration:underline;text-underline-offset:3px;padding:10px 2px}
.text-button{padding:0}
.quiet-hint{float:right;color:var(--muted);font-weight:400;font-size:11px}
.home-prompt,.calendar-card,.expired-card{margin-top:17px}
.home-prompt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.todo-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.todo-row:last-child{border:0}
.todo-row strong{font-size:13px;font-weight:500}
.todo-row .item-copy{margin:4px 0 0}
.todo-actions{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:55%}
.todo-actions .card-btn{font-size:11px;min-height:34px;padding:6px 8px}
.location-panel .add-row{margin:15px 0 10px}
.location-panel .card-btn{margin-right:7px}
.add-row select{flex:1;min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--paper);padding:8px;font-size:13px}
.doc-meta{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.document-row{align-items:center}
.service-results{margin-top:16px}
.service-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid var(--line);border-radius:12px;color:var(--ink);text-decoration:none;font-size:13px;background:var(--ivory)}
.service-link span{white-space:nowrap;color:var(--olive)}
.service-link:hover,.service-link:focus{border-color:var(--olive)}
#providerForm{margin-top:18px}
.meal-section-title{margin-top:25px}.meal-form{display:grid;gap:13px;margin-top:18px}.meal-form .edit-field{font-size:13px}.meal-form input,.meal-form textarea,.meal-form select,.meal-field-pair input{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:11px;font-size:14px}.meal-form textarea{min-height:110px;resize:vertical}.meal-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.meal-servings{display:flex;align-items:end;gap:12px;margin-top:14px}.meal-servings .edit-field{max-width:115px}.meal-servings input{width:100%;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:10px}.recipe-import{margin:16px 0}.recipe-source{display:inline-block;color:var(--olive);font-size:12px;margin-top:8px;text-underline-offset:3px}.recipe-extract{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;font-size:12px}.feedback-sheet{max-width:500px}.feedback-sheet .edit-field{margin:18px 0 7px}.feedback-sheet textarea{resize:vertical;min-height:90px}.cooking-sheet{max-width:600px}.cooking-actions{display:flex;justify-content:flex-end;gap:8px;margin:0 0 24px}.cooking-sheet h2{font-size:36px}.cooking-sheet h3{margin-top:25px}.cooking-sheet ul,.cooking-sheet ol{padding-left:22px;line-height:1.65;font-size:14px}.cooking-sheet li{padding-bottom:6px}.cooking-servings{color:var(--muted);font-size:13px}.calendar-card .calendar-events{margin-top:16px}#calendarEditorForm{display:grid;gap:12px}#calendarEditorForm label{display:grid;gap:6px;font-size:13px}#calendarEditorForm input{width:100%;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:10px}#calendarEditorForm fieldset{border:1px solid var(--line);border-radius:12px;display:grid;gap:10px;padding:13px}#calendarEditorForm legend{color:var(--muted);font-size:12px}
/* Calm presentation primitives: quieter rows, progressive disclosure, and compact capture choices. */
.calm-list{display:grid;gap:0}
.calm-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 2px;border-top:1px solid var(--line)}
.calm-row:first-child{border-top:0}
.row-title{font-size:14px;font-weight:500;line-height:1.28}
.row-copy{color:var(--muted);font-size:12px;line-height:1.4;margin-top:3px}
.row-meta{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-bottom:3px}
.row-action{border:0;background:transparent;color:var(--olive);font-size:12px;min-height:40px;padding:7px 2px;white-space:nowrap}
.row-action:hover,.row-action:focus-visible{text-decoration:underline;text-underline-offset:3px}
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.compact-section{margin-top:24px}
.compact-section > .section-title{margin-top:0}
.page-title{margin:20px 2px 22px}
.page-title h2{font-size:29px}
.quiet-empty{font-size:13px;color:var(--muted);line-height:1.5;margin:10px 2px}
.quiet-prompt{padding:12px 14px;background:var(--olive-soft);border-radius:11px;font-size:12px}
.quiet-prompt p{margin:0}
.quiet-prompt .card-actions{margin-top:6px}
.shopping-entry{padding:0 2px 8px}
.shopping-entry .add-row{margin:0 0 9px}
.shopping-active{margin-top:7px}
.agenda{display:grid;gap:0;border-top:1px solid var(--line)}
.agenda-row{display:grid;grid-template-columns:45px minmax(0,1fr);gap:12px;padding:9px 2px;border-bottom:1px solid var(--line);font-size:13px}
.agenda-row time{font-size:11px;color:var(--muted);padding-top:2px}
.agenda-row strong{display:block;font-weight:500;overflow-wrap:anywhere}
.agenda-row .row-meta{margin-bottom:2px}
.agenda-row .text-button{font-size:11px;margin-top:3px}
.capture-choice{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;border:1px solid var(--line);background:var(--ivory);padding:11px 13px;text-align:left;border-radius:10px;font-size:14px;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.capture-choice:hover,.capture-choice:focus-visible{border-color:var(--olive);background:var(--olive-soft)}
.capture-choice span:first-child{width:20px;text-align:center;color:var(--olive);font-size:18px}
.capture-choice span:last-child{margin-left:auto;color:var(--muted)}
.recipe-capture{display:grid;gap:8px;margin-top:17px}
.recipe-capture .text-button{justify-self:start;margin-top:3px}
.calm-list .item-card{padding-left:2px;padding-right:2px}
.calm-list .item-card:first-child{border-top:0}
.card-btn,.settings-link,.text-button,.soft-btn,.primary-btn,.add-option,.modal-close{transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:0;box-shadow:var(--focus)}
button:active,.soft-btn:active,.primary-btn:active{transform:translateY(1px)}
.card-btn{border-radius:9px;min-height:38px;padding:7px 10px}
.modal{background:rgba(30,26,22,.34);padding:12px}
.modal-card{border-radius:16px 16px 12px 12px;padding:20px;box-shadow:0 18px 50px rgba(30,26,22,.14)}
.add-options{gap:7px;margin-top:16px}
.add-option{padding:13px;min-height:48px;border-radius:10px}
.edit-form{gap:10px;margin-top:13px;padding:13px;border-radius:11px}
.edit-field{gap:4px}
.edit-field input,.meal-form input,.meal-form textarea,.meal-form select,.meal-field-pair input,#calendarEditorForm input{padding:9px;border-radius:9px}
.meal-form{gap:10px;margin-top:14px}
.modal-close{width:36px;height:36px;display:grid;place-items:center;border-radius:50%}
.modal-close:hover{background:var(--olive-soft)}
.feedback-control{margin:24px 4px 0}
.privacy-note{padding-top:20px}

@media(max-width:420px){
  .app-shell{padding-left:15px;padding-right:15px}
  .hero{padding-top:19px}
  .hero-copy{font-size:13px}
  .capture-head p{font-size:12px}
  .capture-actions{gap:7px}
  .capture-actions>*{min-height:40px;padding-left:10px;padding-right:10px}
  .universal-add{right:15px}
  .modal{padding:10px}
  .modal-card{padding:18px}
  .row-actions{max-width:130px}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}

@media(min-width:700px){.app-shell{padding-left:28px;padding-right:28px}.stack.two{grid-template-columns:1fr 1fr}.modal{place-items:center}.modal-card{border-radius:24px}}

/* Quiet, private Thoughts browsing on Home. */
.thoughts-section{min-width:0;padding-top:4px}
.thought-heading{align-items:center;margin-bottom:12px}
.thought-heading .eyebrow{margin:0 0 3px}
.thought-heading h2{font-size:27px}
.thought-search{display:flex;align-items:center;gap:8px;padding:5px;border:1px solid var(--line);border-radius:999px;background:var(--paper)}
.thought-search input{min-width:0;flex:1;border:0;background:transparent;padding:9px 12px;font-size:14px;outline:0}
.thought-search input:focus{box-shadow:none}
.thought-search-button{flex:none;border:0;border-radius:999px;background:var(--soft);padding:9px 14px;font-size:12px}
.thought-search-status{min-height:0;margin:5px 2px;color:var(--muted);font-size:11px}
.thought-search-status:empty{display:none}
.thought-list{display:grid;gap:8px}
.thought-card{min-width:0;padding:13px 14px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.thought-card-meta{display:flex;align-items:center;gap:8px;color:var(--faint);font-size:10px;letter-spacing:.04em;text-transform:uppercase}
.thought-match{padding:3px 7px;border-radius:999px;background:var(--green-tint);color:var(--green)}
.thought-card h4{margin:6px 0 0;font-family:var(--serif);font-size:20px;font-weight:400;line-height:1.15}
.thought-body{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.thought-card-detail{margin:6px 0 0;color:var(--faint);font-size:11px}
.thought-index-status{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.4}
.thought-index-status:not([hidden]){display:block}
.thought-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}
.thought-action{min-height:34px;padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:11px}
.thought-action:hover,.thought-action:focus-visible{border-color:var(--olive);color:var(--olive)}
.thought-collection-heading{align-items:center}
.thought-collections{display:grid;gap:6px}
.thought-collection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;border-top:1px solid var(--line)}
.thought-collection > div:first-child{display:grid;gap:2px;min-width:0}
.thought-collection strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}
.thought-collection span{font-size:10px;color:var(--faint)}
.thought-collection .thought-actions{margin:0}
.thought-proposal{margin-top:13px;padding:12px 13px;border-radius:12px;background:var(--soft)}
.thought-proposal p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.thought-proposal-edit{margin-top:8px}
.thought-proposal-edit input{margin-top:5px}
.thought-search-results{margin-top:12px;padding:12px;border-radius:13px;background:rgba(237,229,214,.55)}
.thought-results-heading{margin:0 0 8px;color:var(--faint);font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.thought-search-empty{margin:10px 3px;color:var(--muted);font-size:12px}
.thought-editor textarea{min-height:150px;resize:vertical;line-height:1.5}
.thought-original-note{margin:0;color:var(--faint);font-size:11px}
.thought-fieldset{display:grid;gap:8px;margin:0;padding:12px;border:1px solid var(--line);border-radius:12px}
.thought-fieldset legend{padding:0 5px;color:var(--muted);font-size:12px}
.thought-check{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}
.thought-check input{width:18px;height:18px;accent-color:var(--olive)}
.thought-link-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.thought-link-editor select{width:100%;min-height:40px;border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:8px;font-size:12px}
.thought-link-list{display:flex;flex-wrap:wrap;gap:6px}
.thought-link-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px}
.thought-link-chip button{width:20px;height:20px;border:0;border-radius:50%;background:var(--soft);color:var(--muted)}
.thought-document-preview{display:block;width:100%;height:min(65vh,720px);margin-top:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.thought-download{display:inline-flex;align-items:center;text-decoration:none}
.thought-search-sheet{min-width:0}
.thought-search-query{margin:8px 0 14px;padding:9px 11px;border-left:2px solid var(--olive);background:rgba(237,229,214,.45);color:var(--muted);font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.thought-search-entry-list{display:grid;gap:8px;margin-top:9px}
.thought-answer-copy{margin:9px 0;color:var(--muted);font-size:14px;line-height:1.5}
.thought-answer-more-note{margin:12px 0 0;color:var(--faint);font-size:11px}
.thought-answer-quote{margin:8px 0;padding:10px 12px;border-left:2px solid var(--olive);background:rgba(237,229,214,.45);color:var(--ink);font-size:13px;line-height:1.5;white-space:pre-wrap}
.thought-search-entry{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--ivory)}
.thought-search-entry h3{font-size:19px;line-height:1.2}
.thought-search-entry > p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.thought-view-body{margin-top:14px}
@media(max-width:420px){
  .thought-search{gap:4px}
  .thought-search-button{padding:8px 11px}
  .thought-card{padding:12px}
  .thought-link-editor{grid-template-columns:1fr}
}
@media(max-width:700px){
  .today-thought-answer:not([hidden]){margin-bottom:10px;padding:0}
  .today-thought-answer .thought-answer-sheet{padding:13px;border-radius:15px}
}
@media(max-width:420px){.brand-line{max-width:230px;line-height:1.3}.primary-btn{margin-left:0}.passport-grid,.edit-form,.meal-field-pair{grid-template-columns:1fr}.capture-actions>*{flex:1}.capture-actions .primary-btn{flex-basis:100%}.todo-row{display:block}.todo-actions{max-width:none;justify-content:flex-start;margin-top:8px}.top-actions{gap:4px}}

/* Shared editorial design system and two-level navigation */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.line-icon{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.brand-apostrophe{color:#8A4E1E}
.topbar{align-items:center;padding:6px 0 24px}
.topbar{position:sticky;top:0;z-index:40;isolation:isolate}
.topbar::before{content:"";position:absolute;z-index:-1;inset:0 auto -1px 50%;width:100vw;transform:translateX(-50%);background:rgba(245,239,228,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}
.top-actions{flex:none}
.header-date{color:var(--faint);font-size:12px;white-space:nowrap;margin-right:9px}
.settings-link{padding:0;text-decoration:none;color:var(--ink)}
.icon-btn,.round-btn{background:var(--paper);border-color:var(--line);color:var(--ink)}
.topbar .icon-btn{width:40px;height:40px;border:0;background:transparent}
.topbar .icon-btn:hover{background:var(--soft)}
.desktop-nav{display:none;align-items:center;gap:4px}
.destination{display:none;min-width:0}
.destination.active-page{display:block}
.page{min-width:0}
.destination-title{font-size:clamp(42px,6vw,58px);line-height:1.02;margin:20px 2px 20px}
.secondary-nav{display:flex;align-items:center;gap:3px;background:var(--soft);padding:5px;border-radius:999px;width:max-content;max-width:100%;margin:0 0 26px}
.subtab{border:1px solid transparent;border-radius:999px;background:transparent;color:var(--muted);min-height:37px;padding:8px 17px;font-size:13px;font-weight:500;white-space:nowrap}
.subtab.active{background:var(--paper);border-color:var(--line);color:var(--ink)}
.subtab:focus-visible,.tab:focus-visible{outline:2px solid var(--olive);outline-offset:2px}
.shopping-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:10px;margin-left:3px}
.shopping-count[hidden]{display:none}
.eyebrow,.kicker{font-size:11px;letter-spacing:.14em;color:var(--faint)}
.section-title p,.row-meta,.doc-meta,.shopping-source{color:var(--faint)}
.capture-card,.memory-details,.item-card,.modal-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:none}
.item-card{padding:16px;margin:10px 0}
.calm-list .item-card{padding:16px}
.capture-card{padding:21px}
.quiet-prompt,.capture-result{background:var(--soft)}
.chip{background:var(--blue-tint);border-color:var(--blue);color:#2D5874}
.chip:nth-child(4n + 2){background:var(--pink-tint);border-color:var(--pink);color:#8A3F47}
.chip:nth-child(4n + 3){background:var(--lime-tint);border-color:var(--lime);color:#4D5A18}
.chip:nth-child(4n + 4){background:var(--apricot-tint);border-color:var(--apricot);color:#8A4E1E}
.primary-btn,.card-btn.dark,.universal-add{border-radius:999px;background:var(--ink);border-color:var(--ink);color:var(--ivory);box-shadow:none}
.soft-btn,.card-btn,.add-option{border-radius:999px;background:var(--paper);border:1px solid var(--line)}
.add-option{display:flex;align-items:center;gap:12px}
.card-btn[data-action="calendar-confirm"],.card-btn[data-action="calendar-save"],.card-btn[data-action="todo-message-share"],#feedbackSend{background:var(--olive);border-color:var(--olive);color:var(--ivory)}
.feedback-control button{display:inline-flex;align-items:center;gap:7px}
.section-title h2{font-size:26px}
.page-title{margin-top:10px}
.plan-panel{display:none}
.plan-panel.active-page{display:block}
main,.capture-card,.calm-row,.item-card,.modal-card{min-width:0}
.row-title,.item-title,.item-copy,.row-copy,.quiet-empty{overflow-wrap:anywhere}

@media(min-width:700px){
  .app-shell{padding:24px 32px 64px}
  .topbar{display:grid;grid-template-columns:1fr auto 1fr;gap:24px}
  .top-actions{justify-self:end}
  .desktop-nav{display:flex}
  .desktop-nav .tab{flex:none;min-height:38px;padding:8px 17px;font-size:13px;border:1px solid transparent;border-radius:999px}
  .desktop-nav .tab.active{background:var(--paper);border-color:var(--line);font-weight:500}
  .bottom-nav{display:none}
  .universal-add{bottom:30px;right:max(32px,calc((100vw - 1120px)/2))}
  .toast{bottom:25px}
}
@media(max-width:699px){
  .app-shell{padding-left:16px;padding-right:16px}
  .header-date{display:none}
  .topbar{padding-bottom:12px}
  .bottom-nav{background:var(--paper);box-shadow:none;justify-content:stretch;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
  .bottom-nav .tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;border-radius:10px;padding:7px 2px;min-height:51px}
  .bottom-nav .tab .line-icon{width:21px;height:21px}
  .bottom-nav .tab.active{background:transparent;color:var(--ink);font-weight:500}
  .bottom-nav .tab.active .line-icon{stroke-width:2}
  .bottom-nav .tab.active .line-icon{box-sizing:content-box;background:var(--sand);border-radius:999px;padding:3px 14px}
  .secondary-nav{width:100%;justify-content:space-between;overflow-x:auto;scrollbar-width:none}
  .secondary-nav::-webkit-scrollbar{display:none}
  .subtab{padding:8px 10px;font-size:12px}
  .universal-add{right:16px}
}
@media(max-width:390px){
  .subtab{padding:8px 7px;font-size:11px}
}
@media(max-width:767px){
  #homeGroup > .secondary-nav{
    width:100%;
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scroll-padding-inline:24px;
    scrollbar-width:none;
    padding-right:24px;
  }
  #homeGroup > .secondary-nav::-webkit-scrollbar{display:none}
  #homeGroup > .secondary-nav .subtab{flex:none;min-height:44px;padding:10px 12px;font-size:12px}
  #homeGroup > .secondary-nav.can-scroll-right{
    -webkit-mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 18px),transparent 100%);
    mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 18px),transparent 100%);
  }
}

/* Delegation: helper cards, task lifecycle, and prepared-message sheet */
.delegation-section{min-width:0}
.delegation-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 2px 22px}
.delegation-guidance{max-width:470px;margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.delegation-lifecycle{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:13px;color:var(--faint);font-size:11px}
.delegation-lifecycle .delegation-status{height:21px;padding:0 8px;font-size:10px}
.delegation-add{flex:none;color:var(--muted);text-decoration:none}
.delegation-add::after{content:"";display:inline-block;width:5px;height:5px;margin:0 0 2px 8px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
.delegation-helper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.delegation-helper-card{min-width:0;overflow:visible;background:var(--paper);border:1px solid var(--line);border-radius:14px}
.delegation-helper-head{display:flex;align-items:center;gap:11px;padding:16px;border-bottom:1px solid var(--line)}
.delegation-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--apricot-tint);color:#8A4E1E;font-family:var(--serif);font-size:20px}
.delegation-helper-identity{min-width:0}
.delegation-helper-role{font-family:var(--serif);font-size:21px;line-height:1.1;overflow-wrap:anywhere}
.delegation-helper-role span{font-family:var(--sans);font-size:12px;color:var(--faint)}
.delegation-helper-name{margin:4px 0 0;color:var(--muted);font-family:var(--serif);font-size:16px;line-height:1.2}
.delegation-task-list{padding:0 15px}
.delegation-task-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:9px;min-width:0;padding:11px 0;border-bottom:1px solid var(--line)}
.delegation-task-row:last-child{border-bottom:0}
.delegation-task-copy{min-width:0}
.delegation-task-copy strong{display:block;font-size:13px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.delegation-task-copy p{margin:3px 0 0;color:var(--faint);font-size:10px;line-height:1.35}
.delegation-status{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:0 9px;border-radius:var(--r-pill);font-size:11px;font-weight:500;white-space:nowrap}
.delegation-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.55}
.delegation-status-captured{background:var(--sand);color:var(--soft-ink)}
.delegation-status-assigned{background:var(--apricot-tint);color:#8A4E1E}
.delegation-status-sent{background:var(--sky-tint);color:#2D5874}
.delegation-status-completed{background:var(--green-tint);color:var(--green)}
.delegation-done{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--muted);font-size:15px;line-height:1}
.delegation-done:hover,.delegation-done:focus-visible{border-color:var(--green);background:var(--green-tint);color:var(--green)}
.delegation-more{position:relative}
.delegation-more summary{list-style:none;display:grid;place-items:center;min-height:32px;padding:0 8px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--paper);color:var(--muted);font-size:11px;cursor:pointer}
.delegation-more summary::-webkit-details-marker{display:none}
.delegation-more[open] summary{border-color:var(--olive);color:var(--olive)}
.delegation-more-actions{position:absolute;z-index:5;right:0;top:calc(100% + 5px);display:grid;gap:5px;min-width:118px;padding:7px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 20px rgba(30,28,25,.12)}
.delegation-more-actions .card-btn{min-height:34px;padding:6px 9px;text-align:left;font-size:11px}
.delegation-helper-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;border-top:1px solid var(--line);color:var(--faint);font-size:11px}
.delegation-prepare{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 14px;border:1px solid var(--ink);border-radius:var(--r-pill);background:var(--ink);color:var(--ivory);font-size:12px;font-weight:500;white-space:nowrap}
.delegation-prepare:hover,.delegation-prepare:focus-visible{background:var(--olive);border-color:var(--olive)}
.delegation-empty{margin:0;padding:19px 2px;color:var(--muted);font-size:13px;line-height:1.5}
.delegation-message-sheet{max-width:540px;margin:0 auto}
.delegation-message-head{display:flex;align-items:center;gap:12px;margin:0 0 13px}
.delegation-message-head .eyebrow{margin:0 0 3px}
.delegation-message-head h2{font-family:var(--serif);font-size:30px}
.delegation-message-note{margin:0 0 12px;color:var(--muted)}
.delegation-included-tasks{display:grid;gap:0;margin:0 0 15px;padding:0;list-style:none}
.delegation-included-tasks li{display:flex;align-items:flex-start;gap:10px;padding:7px 0;font-size:13px;line-height:1.4}
.delegation-included-tasks li span{display:grid;place-items:center;flex:none;width:17px;height:17px;margin-top:1px;border-radius:3px;background:var(--green);color:var(--paper);font-size:12px;font-weight:500}
.delegation-message-field{color:var(--muted)}
.delegation-message-field textarea{display:block;min-height:168px;margin-top:4px;background:var(--ivory);border:1px solid var(--line);border-radius:14px;padding:14px;font-size:14px;line-height:1.55;resize:vertical}
.delegation-share-note{margin:8px 0 0;color:var(--faint);font-size:11px!important;line-height:1.45!important}
.delegation-message-actions{gap:8px}
.delegation-message-actions .card-btn{min-height:39px}
.delegation-message-actions .card-btn.dark{background:var(--olive);border-color:var(--olive);color:var(--ivory)}
.delegation-message-sheet .capture-status{margin-bottom:0}
@media(max-width:699px){
  .delegation-section-head{gap:10px;margin-bottom:17px}
  .delegation-guidance{font-size:12px}
  .delegation-lifecycle{gap:5px;font-size:10px}
  .delegation-helper-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .delegation-helper-head{padding:14px}
  .delegation-task-list{padding:0 12px}
  .delegation-task-row{gap:7px}
  .delegation-helper-foot{padding:9px 12px}
  .delegation-message-head h2{font-size:28px}
  .delegation-message-field textarea{min-height:220px}
}
@media(max-width:390px){
  .delegation-task-row{grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
  .delegation-task-row .delegation-status{grid-column:2;grid-row:1}
  .delegation-task-row .delegation-done{grid-column:3;grid-row:1}
  .delegation-task-row .delegation-more{grid-column:3;grid-row:2;justify-self:end}
  .delegation-task-row .delegation-task-copy{grid-row:1 / span 2}
  .delegation-lifecycle{max-width:290px}
  .delegation-message-actions .card-btn{padding:7px 10px;font-size:12px}
}

/* Plans: occasion overview and saved recipe cards */
.meal-plans-content{display:grid;gap:34px;min-width:0;margin:0 2px}
.meal-plans-section{min-width:0}
.meal-plans-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 13px}
.meal-plans-section-head h2{font:400 26px/1.05 var(--serif)}
.meal-plans-section-head h2 span{margin-left:5px;color:var(--faint);font:400 12px var(--sans);vertical-align:middle}
.meal-section-link{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 0;border:0;background:none;color:var(--muted);font-size:12px;white-space:nowrap}
.meal-section-link span{font-size:18px;line-height:1}
.meal-section-link:hover,.meal-section-link:focus-visible{color:var(--ink)}
.meal-occasion-grid,.meal-recipe-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:11px}
.meal-occasion-card{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:108px;padding:13px 14px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);text-align:left}
.meal-occasion-card:hover,.meal-occasion-card:focus-visible{border-color:rgba(30,28,25,.35)}
.meal-occasion-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.meal-occasion-date{min-width:0;color:var(--faint);font-size:10px;line-height:1.3;font-variant-numeric:tabular-nums}
.meal-status{display:inline-flex;align-items:center;flex:none;min-height:21px;padding:0 8px;border-radius:999px;font-size:10px;line-height:1;white-space:nowrap}
.meal-status-green{background:var(--green-tint);color:var(--green)}
.meal-status-neutral{background:var(--sand);color:var(--soft-ink)}
.meal-occasion-card h3{min-width:0;margin:4px 0 7px;font:400 21px/1.05 var(--serif);overflow-wrap:anywhere}
.meal-occasion-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.meal-occasion-people{display:flex;align-items:center;flex:none;padding-left:1px}
.meal-occasion-avatar,.meal-occasion-people .people-avatar{position:relative;display:grid;place-items:center;flex:none;width:23px;height:23px;margin-left:-2px;overflow:hidden;border:1px solid var(--paper);border-radius:50%;background:var(--pink-tint);color:var(--rose);font:400 12px var(--serif)}
.meal-occasion-people .people-avatar{font-size:12px}
.meal-occasion-people .people-avatar-photo{border-radius:inherit}
.meal-occasion-no-guest{height:23px}
.meal-occasion-menu{min-width:0;color:var(--soft-ink);font-size:10px;line-height:1.35;text-align:right;overflow-wrap:anywhere}
.meal-empty{margin:0;padding:15px 0}
.meal-recipe-grid{align-items:stretch}
.meal-recipe-card.item-card{min-width:0;overflow:hidden;margin:0;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.meal-recipe-art{position:relative;display:grid;place-items:center;height:72px;background:var(--blue-tint);color:#2D5874}
.meal-recipe-card:nth-of-type(4n + 2) .meal-recipe-art{background:var(--pink-tint);color:#8A3F47}
.meal-recipe-card:nth-of-type(4n + 3) .meal-recipe-art{background:var(--lime-tint);color:#4D5A18}
.meal-recipe-card:nth-of-type(4n + 4) .meal-recipe-art{background:var(--apricot-tint);color:#8A4E1E}
.meal-recipe-art svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.meal-recipe-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.meal-recipe-time{position:absolute;z-index:1;top:8px;right:8px;padding:4px 7px;border-radius:999px;background:var(--paper);color:var(--soft-ink);font-size:9px;line-height:1.15}
.meal-recipe-body{min-width:0;padding:10px 11px 11px}
.meal-recipe-body h3{font:400 18px/1.08 var(--serif);overflow-wrap:anywhere}
.meal-recipe-head{position:relative}
.meal-recipe-head:has(.recipe-manage) h3{padding-right:34px}
.recipe-manage summary{position:absolute;right:0;top:-5px;display:grid;place-items:center;width:30px;height:30px;list-style:none;cursor:pointer;border-radius:8px;color:var(--muted);font-size:21px;line-height:1}
.recipe-manage summary::-webkit-details-marker{display:none}
.recipe-manage summary:hover,.recipe-manage summary:focus-visible{background:var(--sand);color:var(--ink)}
.recipe-manage-actions{display:flex;justify-content:flex-end;gap:5px;padding-top:8px}
.recipe-manage-actions button{border:1px solid var(--line);background:transparent;color:var(--soft-ink);border-radius:8px;padding:7px 8px;font:500 10px var(--sans);cursor:pointer}
.recipe-manage-actions button:hover,.recipe-manage-actions button:focus-visible{border-color:var(--olive);color:var(--ink)}
.recipe-manage-actions button:last-child{color:#873c36}
.recipe-delete-sheet{width:min(100%,440px)}
.recipe-delete-sheet .card-actions{justify-content:flex-end;margin-top:22px}
.meal-recipe-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}
.meal-recipe-tags span{padding:4px 7px;border-radius:999px;background:var(--sand);color:var(--soft-ink);font-size:9px;line-height:1.2}
.meal-recipe-body .item-copy{margin:6px 0 0;font-size:10px;line-height:1.35}
.meal-recipe-body .recipe-source{font-size:10px}
.meal-recipe-body .card-actions{margin-top:8px}
.meal-recipe-body .card-btn{min-height:32px;padding:5px 10px;font-size:11px}
.meal-recipe-create{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:142px;border:1px dashed var(--line);border-radius:12px;background:transparent;color:var(--faint);font-size:11px}
.meal-recipe-create>span:first-child{font-size:17px;line-height:1}
.meal-recipe-create:hover,.meal-recipe-create:focus-visible{border-color:var(--olive);background:rgba(255,255,255,.2);color:var(--olive)}
.meal-legacy-notes{margin-top:0}
@media(min-width:700px){
  .meal-plans-content{gap:34px}
  .meal-occasion-grid,.meal-recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
  .meal-occasion-card{min-height:108px;padding:13px 14px 12px}
  .meal-recipe-create{min-height:142px}
}
@media(max-width:699px){
  .meal-plans-content{gap:29px}
  .meal-plans-section-head{margin-bottom:11px}
  .meal-occasion-grid,.meal-recipe-grid{gap:10px}
  .meal-occasion-card{min-height:98px;padding:12px 13px}
  .meal-recipe-art{height:76px}
  .meal-recipe-body{padding:11px 12px 12px}
  .meal-recipe-body h3{font-size:20px}
  .meal-recipe-create{min-height:118px}
}

/* Today: capture, review, confirmation, and household overview */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.settings-extras{display:none}
#detailContent[data-settings="true"] + .settings-extras{display:block}
.settings-extras .privacy-note{border-top:1px solid var(--line);margin-top:20px}
.capture-card{display:grid;grid-template-columns:minmax(0,1fr) 280px;padding:0;border-radius:22px;overflow:hidden;box-shadow:none}
.capture-main{padding:clamp(24px,4vw,48px);min-width:0}
.capture-main .eyebrow{margin:0 0 19px}
.capture-main h1{font-family:var(--font-display);font-size:56px;font-style:normal;font-weight:400;line-height:.98;letter-spacing:-.01em}
.capture-main #captureInput{margin:26px 0 0;min-height:112px;height:112px;padding:14px 17px;background:var(--ivory);border:1px solid var(--line);border-radius:16px;line-height:1.45;font-size:16px;resize:vertical}
.capture-main #captureInput::placeholder{color:var(--faint);opacity:1}
.capture-main .capture-actions{align-items:center;gap:11px;margin-top:18px}
.capture-main .round-btn{width:48px;height:48px;min-width:48px;min-height:48px;background:var(--soft);border:0;border-radius:50%}
.round-btn.listening{background:#E9B8BC;color:#8A3F47;animation:voice-pulse 1.8s ease-in-out infinite}
@keyframes voice-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(138,63,71,.16)}
  50%{box-shadow:0 0 0 7px rgba(138,63,71,0)}
}
@media(prefers-reduced-motion:reduce){.round-btn.listening{animation:none}}
.capture-main .primary-btn{margin:0;min-height:48px;padding:10px 25px;font-size:14px;font-weight:500}
.capture-main .primary-btn:disabled{background:rgba(30,28,25,.4);border-color:transparent;color:var(--paper);opacity:1;cursor:not-allowed}
.review-footer .primary-btn:disabled{opacity:.42;cursor:not-allowed}
.capture-main #exampleBtn{color:var(--muted);font-size:13px;white-space:nowrap;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
.capture-file{display:inline-flex;align-items:center;min-height:35px;color:var(--muted);font-size:13px;border:0;text-decoration:none;cursor:pointer;white-space:nowrap}
.capture-file input{display:none}
.capture-art{display:flex;align-items:center;justify-content:center;background:#F8F4EB;background:color-mix(in srgb,var(--ivory) 50%,var(--paper));border-left:1px solid var(--line);min-width:0}
.capture-art img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;opacity:0;-webkit-mask-image:radial-gradient(ellipse 50% 50% at center,#000 48%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at center,#000 48%,transparent 100%);transition:opacity .55s ease}
.capture-art img.is-loaded{opacity:1}
@media(prefers-reduced-motion:reduce){.capture-art img{transition:none}}
.capture-status:empty{display:none}
.capture-result[hidden],#captureResult[hidden]{display:none!important;margin:0;padding:0;border:0}
.capture-result{position:relative;margin:18px 0 0;padding:22px 26px;border-radius:18px;border:0;background:var(--olive);color:var(--ivory)}
.capture-result .eyebrow{color:var(--lime);margin:0 0 4px}
.capture-result strong{display:block;font-size:28px;color:var(--ivory)}
.receipt-close{position:absolute;right:18px;top:12px;border:0;background:none;color:var(--ivory);font-size:25px;line-height:1}
.receipt-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.receipt-links button{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);color:var(--ivory);border-radius:999px;padding:8px 13px;font-size:12px;text-align:left}
.today-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);gap:clamp(22px,3vw,40px);margin-top:34px}
.today-main,.today-side{min-width:0;display:grid;align-content:start;gap:30px}
.today-section{min-width:0}
.today-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 13px}
.today-section-head h2{font-family:var(--font-ui);font-size:11px;font-weight:500;font-style:normal;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}
.today-section-head h2 span{font:500 11px var(--font-ui);color:var(--faint);margin-left:6px;vertical-align:middle}
.today-link{display:inline-flex;align-items:center;gap:7px;border:0;background:none;color:var(--muted);padding:4px 0;font-size:13px;white-space:nowrap;text-decoration:none;transition:color .2s ease}
.today-link::after{content:"";width:5px;height:5px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
.today-link:hover{color:var(--ink)}
.today-list{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:4px 18px}
.today-list>.quiet-empty{margin:0;padding:20px 0;color:var(--muted);font-size:14px;line-height:1.4}
.today-attention-row,.today-todo-row,.today-agenda-row{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 0;border-bottom:1px solid var(--line)}
.today-list>:last-child{border-bottom:0}
.today-icon,.today-initials{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--olive-soft);color:var(--olive)}
.today-icon.plans{background:var(--blue-tint);color:#2D5874}
.today-icon .line-icon{width:17px;height:17px}
.today-row-body{min-width:0;flex:1}
.today-row-body strong{font-size:16px;font-weight:400;line-height:1.4}
.today-row-body p,.today-row-body small{display:block;margin:4px 0 0;color:var(--faint);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.today-attention-row .card-btn{flex:none;min-height:34px;padding:6px 13px;font-size:12px}
.today-todo-row .todo-check{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;border:1px solid var(--line);background:var(--paper)}
.today-todo-row .todo-check:hover,.today-todo-row .todo-check:focus-visible{background:var(--olive);border-color:var(--olive);color:white}
.today-todo-row .todo-check.checked{background:var(--olive);border-color:var(--olive);color:white}
.today-todo-row .todo-check:hover::after,.today-todo-row .todo-check:focus-visible::after{content:"✓"}
.today-related{border:0;border-radius:999px;background:var(--soft);padding:5px 10px;color:var(--muted);font-size:11px;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.today-add{display:flex;align-items:center;gap:11px;padding:11px 0;color:var(--faint)}
.today-add>span{width:27px;text-align:center;font-size:23px;font-weight:300;line-height:1}
.today-add input{flex:1;min-width:0;width:auto;border:0;background:transparent;padding:7px 0;font-size:13px}
.today-add input:focus{box-shadow:none}
.today-add button.sr-only{border:0}
.today-agenda-row time{flex:none;width:48px;color:var(--faint);font-variant-numeric:tabular-nums;font-size:12px}
.today-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--pink)}
.today-dot.plans{background:var(--blue)}
.today-agenda-row .today-row-body button{padding:0;border:0;background:none;text-align:left;font-weight:400;font-size:16px;line-height:1.4}
.google-mark{flex:none;font-weight:500;font-size:10px;color:#2D5874;border:1px solid var(--blue);width:17px;height:17px;border-radius:4px;text-align:center;line-height:15px}
.today-next{color:var(--faint);font-size:12px;margin:0;padding:13px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.today-connect{display:inline-flex;margin:9px 0 12px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--muted);font-size:12px;text-decoration:none}
.today-connect:hover{background:var(--soft);color:var(--ink)}
.today-helper{display:flex;align-items:center;gap:11px;width:100%;min-width:0;padding:13px 0;border:0;border-bottom:1px solid var(--line);background:none;text-align:left}
.today-helper:last-child{border:0}
.today-initials{background:var(--apricot-tint);color:#8A4E1E;font-size:12px;font-weight:500}
.today-helper .today-row-body>span{color:var(--faint);font-size:12px}
.today-helper .today-row-body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.today-helper-pills{display:flex;flex-direction:column;gap:4px;flex:none}
.today-helper-pills small{padding:3px 7px;border-radius:999px;font-size:10px;white-space:nowrap}
.pill-apricot{background:var(--apricot-tint);color:#8A4E1E}
.pill-blue{background:var(--blue-tint);color:#2D5874}
.today-outro{margin:58px 0 5px;text-align:center;color:var(--faint);font:italic 23px var(--font-display)}
.thought-review-row{width:100%;padding:10px 14px 16px}
.thought-capture-review{display:grid;gap:13px}
.thought-review-original{margin:2px 0 0;padding:2px 0 2px 15px;border-left:2px solid var(--olive-soft);color:var(--ink);font-family:var(--serif);font-size:20px;line-height:1.45;white-space:pre-wrap}
.thought-review-type{justify-self:start;border:1px solid var(--line);border-radius:999px;padding:4px 10px;color:var(--muted);font-size:11px;text-transform:capitalize}
.thought-review-home{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.thought-review-home strong{color:var(--ink);font-weight:500}
.thought-review-link-button,.thought-review-change,.thought-review-add{border:0;border-radius:999px;padding:7px 11px;background:var(--olive-soft);color:var(--olive);font-size:12px;cursor:pointer}
.thought-review-change,.thought-review-add{background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.thought-review-connections{display:grid;gap:8px}
.thought-review-related-list{display:grid;gap:7px}
.thought-review-related{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.thought-review-related strong{color:var(--ink);font-weight:500}
.thought-review-related button{border:0;border-radius:999px;padding:4px 9px;background:var(--paper);color:var(--olive);font-size:11px;cursor:pointer}
.thought-connection-picker,.thought-review-change-panel{display:grid;gap:11px;border-top:1px solid var(--line);padding-top:13px}
.thought-connection-picker .edit-field,.thought-review-change-panel .edit-field{display:grid;gap:5px;color:var(--muted);font-size:12px}
.thought-connection-picker select,.thought-review-change-panel input,.thought-review-change-panel textarea,.thought-review-change-panel select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;background:var(--paper);color:var(--ink);font:inherit}
.thought-review-change-panel small{color:var(--faint);font-size:11px}
.thought-review-source{margin:0}
.thought-review-warning{margin:0;padding:9px 11px;border-radius:9px;background:var(--apricot-tint);color:#8A4E1E;font-size:12px;line-height:1.45}
.thought-review-remove{justify-self:start;margin-left:auto;padding:5px 9px;font-size:17px}
.capture-review-modal .modal-card{background:var(--ivory);border:1px solid var(--line);width:min(100%,830px);border-radius:20px;max-height:90vh;overflow:auto;padding:34px}
.capture-review-modal #detailTitle{font-size:38px}
.review-intro{color:var(--muted);margin:8px 0 22px}
.review-privacy{color:var(--faint);font-size:11px;margin:-13px 0 22px}
.review-groups{display:grid;gap:19px}
.review-group-head{display:flex;align-items:center;gap:9px;margin:0 0 9px}
.review-group-head strong{font-size:13px;font-weight:500}
.review-group-head>span:last-child{font-size:12px;color:var(--faint)}
.review-group-mark{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;font-size:11px;font-weight:500}
.tone-lime{background:var(--lime-tint);color:#4D5A18}
.tone-apricot{background:var(--apricot-tint);color:#8A4E1E}
.tone-pink{background:var(--pink-tint);color:#8A3F47}
.tone-blue{background:var(--blue-tint);color:#2D5874}
.tone-green{background:var(--olive-soft);color:var(--olive)}
.tone-neutral{background:var(--soft);color:var(--muted)}
.review-items{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:0 14px}
.review-item{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 0;border-bottom:1px solid var(--line)}
.review-item:last-of-type{border-bottom:0}
.review-item-warning{background:var(--apricot-tint)}
.review-dot{width:7px;height:7px;border-radius:50%;flex:none}
.review-dot.tone-lime{background:var(--lime)}
.review-dot.tone-apricot{background:var(--apricot)}
.review-dot.tone-pink{background:var(--pink)}
.review-dot.tone-blue{background:var(--blue)}
.review-dot.tone-green{background:var(--olive)}
.review-dot.tone-neutral{background:var(--faint)}
.review-item-main{flex:1;min-width:0}
.review-item-main input{width:100%;min-width:0;border:0;background:none;padding:5px 0;font-size:14px;font-weight:500;outline:none}
.review-item-main input:focus{box-shadow:none;border-bottom:1px solid var(--olive)}
.review-item-main small{display:block;color:var(--faint);font-size:11px;min-height:12px}
.review-move{display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:999px;padding:5px 9px;color:var(--faint);font-size:11px;white-space:nowrap}
.review-move select{max-width:110px;border:0;background:transparent;color:var(--ink);font-size:11px;outline:none}
.review-remove{border:0;background:none;color:var(--muted);font-size:21px;line-height:1}
.review-detail{border:0;background:none;color:var(--olive);font-size:12px;padding:8px}
.review-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:25px}
.capture-review-modal .review-footer{position:sticky;bottom:0;z-index:1;background:var(--cream);padding:15px 0 2px}
.review-footer .primary-btn{margin:0;min-width:140px}

@media(max-width:900px){
  .capture-main .capture-actions{gap:8px}
}
@media(max-width:699px){
  .capture-card{display:block;position:relative}
  .capture-main{padding:26px 20px 23px}
  .capture-main h1{font-size:42px}
  .capture-main #captureInput{margin-top:25px;min-height:112px;height:112px}
  .capture-art{position:absolute;display:flex;top:31px;right:14px;width:112px;height:112px;border:0;background:none;pointer-events:none}
  .capture-art img{width:100%;height:100%;-webkit-mask-image:none;mask-image:none}
  .capture-main .capture-actions{display:flex;align-items:center;gap:9px}
  .capture-main .capture-actions>*{flex:none;min-height:0;padding-left:0;padding-right:0}
  .capture-main .capture-actions .round-btn{width:48px;height:48px;min-height:48px}
  .capture-main .capture-actions .primary-btn{min-height:48px;padding:10px 20px}
  .capture-main .capture-file{min-height:32px}
  .today-grid{grid-template-columns:1fr;gap:28px;margin-top:31px}
  .today-main,.today-side{gap:27px}
  .today-outro{margin:42px 0 15px}
  .capture-review-modal{place-items:end center;padding:0}
  .capture-review-modal .modal-card{width:100%;max-height:90vh;padding:27px 18px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}
  .review-item{flex-wrap:wrap}
  .review-item-main{flex-basis:calc(100% - 50px)}
  .review-move{margin-left:17px}
  .thought-review-row{padding:8px 6px 13px}
  .thought-review-original{font-size:18px}
}
@media(max-width:420px){
  .capture-main{padding-left:17px;padding-right:17px}
  .capture-main .capture-actions{display:grid;grid-template-columns:42px max-content max-content 1fr;justify-content:start;gap:9px 10px}
  .capture-main .capture-actions .round-btn{width:42px;height:42px;min-width:42px;min-height:42px}
  .capture-main .capture-actions .primary-btn{padding:9px 12px;min-height:42px;font-size:12px}
  .capture-main .capture-file:nth-last-child(2){grid-column:2}
  .capture-main .capture-file:last-child{grid-column:3}
  .today-list{padding:4px 13px}
  .today-attention-row,.today-todo-row,.today-agenda-row{gap:9px}
  button.universal-add{width:42px;height:42px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:23px;box-shadow:none}
}
@media(max-width:360px){.capture-art{width:88px;height:88px;right:10px}}
@media(min-width:700px){.universal-add{display:none}}

/* Plans calendar agenda */
.plans-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;align-items:start}
.plans-agenda-list{min-width:0}
.plans-agenda-day{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.plans-agenda-day:first-child{padding-top:2px}
.plans-agenda-date h2{font:400 22px/1.05 var(--serif)}
.plans-agenda-date span{display:block;margin-top:4px;color:var(--faint);font-size:11px;line-height:1.35}
.plans-agenda-day-events{min-width:0}
.plans-agenda-row{display:grid;grid-template-columns:42px 7px minmax(0,1fr) 36px;align-items:center;gap:10px;min-width:0;min-height:37px}
.plans-agenda-row + .plans-agenda-row{margin-top:2px}
.plans-agenda-time{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.plans-agenda-dot,.plans-calendar-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.plans-agenda-dot.meal,.plans-calendar-legend i.meal{background:var(--pink)}
.plans-agenda-dot.prep,.plans-calendar-legend i.prep{background:var(--apricot)}
.plans-agenda-dot.family,.plans-calendar-legend i.family{background:var(--lime)}
.plans-agenda-dot.google,.plans-calendar-legend i.google{background:var(--blue)}
.plans-agenda-dot.home,.plans-calendar-legend i.home{background:var(--green)}
.plans-agenda-event{min-width:0}
.plans-agenda-event strong{display:block;font-size:12px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.plans-agenda-event .row-copy{margin:2px 0 0;font-size:11px}
.plans-agenda-event .text-button{display:block;margin-top:2px;font-size:10px}
.plans-agenda-source{justify-self:end;color:var(--faint);font-size:8px;letter-spacing:.07em;white-space:nowrap}
.plans-agenda-source.google{display:grid;place-items:center;width:13px;height:13px;border:1px solid var(--line);border-radius:3px;color:#2D5874;font-size:8px;font-weight:500;letter-spacing:0}
.plans-agenda-empty{margin:4px 0;color:var(--faint);font-size:11px}
.plans-agenda-unscheduled .plans-agenda-date h2{font-size:19px}
.plans-calendar-side{min-width:0}
.plans-calendar-status{display:grid;gap:4px;padding:12px 0 14px;border-bottom:1px solid var(--line);font-size:12px;color:var(--soft)}
.plans-calendar-status .text-button{justify-self:start;padding:0;font-size:11px}
.plans-calendar-side > .card-btn{margin-top:12px}
.plans-calendar-side .calendar-card{margin-top:0;padding:15px;background:var(--paper);border:1px solid var(--line);border-radius:14px}
.plans-calendar-side .calendar-card > .section-title{margin:0 0 7px}
.plans-calendar-side .calendar-card > .section-title h3{font:500 13px var(--sans)}
.plans-calendar-side .calendar-card .item-copy{font-size:11px;line-height:1.45;margin-top:7px}
.useful-media-card{display:grid;grid-template-columns:minmax(0,132px) minmax(0,1fr);gap:15px;align-items:start}
.useful-image{display:block;width:min(100%,132px);max-height:180px;aspect-ratio:3/4;object-fit:cover;border:1px solid var(--line);border-radius:10px;background:var(--soft)}
.useful-media-copy{min-width:0}
.useful-media-copy .item-title{margin-top:4px}
.useful-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:40px}
.useful-contact-links{gap:7px}
.useful-copy-value{user-select:text;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:480px){.useful-media-card{grid-template-columns:minmax(76px,96px) minmax(0,1fr);gap:11px}.useful-image{width:100%;max-height:145px}}
.plans-calendar-side .calendar-card .card-actions{display:grid;grid-template-columns:1fr;gap:6px;margin-top:10px}
.plans-calendar-side .calendar-card .card-btn{min-height:35px;padding:6px 9px;font-size:11px}
.plans-calendar-side .calendar-card .capture-status{font-size:11px}
.plans-full-calendar{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:10px;padding:9px 2px;border:0;background:none;color:var(--olive);font-size:12px;text-align:left;text-decoration:underline;text-underline-offset:3px}
.plans-calendar-legend{display:grid;gap:8px;margin:15px 2px 0}
.plans-calendar-legend span{display:flex;align-items:center;gap:8px;color:var(--soft);font-size:11px}
.plans-calendar-legend i{width:6px;height:6px;flex:none}
.passport-capture-choices{display:grid;gap:10px;margin:18px 0}
.passport-capture-choices .card-btn{text-align:left;min-height:47px;padding:12px 15px}
#passportCaptureForm .card-actions{margin:18px 0 8px;flex-wrap:wrap}
#passportCaptureForm ul{padding-left:22px;overflow-wrap:anywhere}
@media(min-width:900px){
  .plans-calendar-layout{grid-template-columns:minmax(0,2.2fr) minmax(235px,.8fr);gap:30px}
}
@media(max-width:699px){
  .plans-calendar-layout{gap:23px}
  .plans-agenda-day{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 0}
  .plans-agenda-date{display:flex;align-items:baseline;gap:9px}
  .plans-agenda-date h2{font-size:19px}
  .plans-agenda-date span{margin:0}
  .plans-agenda-row{grid-template-columns:42px 7px minmax(0,1fr) 34px;gap:8px;min-height:34px}
  .plans-agenda-day-events{padding-left:58px}
  .plans-agenda-empty{padding-left:0}
  .plans-calendar-side .calendar-card .card-actions{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
}
@media(max-width:380px){
  .plans-agenda-day-events{padding-left:0}
  .plans-agenda-row{grid-template-columns:39px 7px minmax(0,1fr) 31px;gap:7px}
}

/* Household passports: approved four-up cards and two-column detail surface. */
.household-section{margin-top:34px}
.household-section .section-title{margin-bottom:12px}
.section-count{font:400 13px var(--sans);color:var(--mute);margin-left:8px}
.passport-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.passport-card,.passport-create{min-width:0;min-height:175px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--paper);padding:16px;text-align:left;color:var(--ink)}
.passport-card{display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.passport-card:hover,.passport-card:focus-visible{border-color:var(--green);transform:translateY(-2px)}
.passport-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.passport-card-top .eyebrow{font-size:9px;letter-spacing:.11em;white-space:nowrap}
.passport-card-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--cream);border:1px solid var(--line)}
.passport-card-icon .line-icon{width:16px;height:16px}
.passport-card-title{display:block;font:400 23px/1.1 var(--serif);margin:16px 0 1px;overflow-wrap:anywhere}
.passport-card-location{display:block;color:var(--mute);font-size:12px;min-height:18px}
.passport-card-bottom{display:grid;gap:4px;margin-top:auto;padding-top:10px;border-top:1px dashed var(--line);font-size:11px;color:var(--soft-ink)}
.passport-status{color:var(--ink);overflow-wrap:anywhere}
.passport-status i{display:inline-block;vertical-align:middle;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:6px}
.passport-create{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-style:dashed;background:transparent;color:var(--mute);text-align:center;font-size:13px}
.passport-create:hover,.passport-create:focus-visible{background:var(--paper);color:var(--ink)}
.passport-create span{font-size:22px;font-weight:300}
.household-memory{margin-top:42px}
.household-memory>.item-copy{max-width:510px;margin:0 0 13px}
.household-memory-list{border:1px solid var(--line);border-radius:var(--r-card);background:var(--paper);overflow:hidden}
.household-memory-list .calm-row{padding:12px 16px;border-bottom:1px solid var(--line);border-top:0}
.household-memory-list .quiet-empty{padding:12px 16px}
.household-memory-add{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:var(--mute);padding:14px 16px;text-align:left;font-size:13px}
.household-memory-add:hover{background:var(--sand)}
.household-memory-add span{font-size:20px}
#detailModal:has(.passport-layout){background:var(--cream);place-items:start center;padding:28px 16px}
#detailModal .modal-card:has(.passport-layout){width:min(100%,960px);max-height:calc(100vh - 56px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#detailModal .modal-card:has(.passport-layout)>.modal-close{z-index:2;top:34px;right:16px}
.passport-back{border:0;background:none;color:var(--soft-ink);font-size:13px;padding:9px 0 16px}
.passport-surface{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.passport-heading{padding:30px 34px}
.passport-heading h2{font:400 42px/1 var(--serif);padding-right:36px}
.passport-heading-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.passport-heading-pills:empty{display:none}
.passport-heading-pills .chip:first-child{background:var(--green-tint);color:var(--green);border:0}
.passport-heading-pills .chip{background:var(--pink-tint);color:var(--rose);border:0}
.passport-columns{display:grid;grid-template-columns:1.15fr .85fr;border-top:1px solid var(--line)}
.passport-primary,.passport-side{min-width:0;padding:30px 34px}
.passport-primary section+section,.passport-side section+section{margin-top:32px}
.passport-grid{margin-top:12px;row-gap:17px}
.passport-grid div span{color:var(--mute)}
.passport-documents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.passport-documents .document-row,.passport-upload{min-width:0;min-height:116px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--cream)}
.passport-documents .document-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;overflow-wrap:anywhere}
.passport-documents .document-row .card-btn{min-height:30px;padding:4px 10px}
.passport-documents>.item-copy{grid-column:1/-1}
.passport-upload{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;border-style:dashed;color:var(--mute);font-size:12px}
.passport-upload .line-icon{width:17px;height:17px}
.passport-note{font-size:13px;margin:10px 0}
.passport-note:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);vertical-align:middle;margin-right:10px}
.passport-renewals .eyebrow{margin:0 0 12px}
.passport-renewal-list{overflow:hidden;border:1px solid var(--line);border-radius:12px}
.passport-renewal-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;background:var(--cream)}
.passport-renewal-row+.passport-renewal-row{border-top:1px solid var(--line)}
.passport-renewal-copy{min-width:0}
.passport-renewal-copy strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.passport-renewal-copy p{margin:4px 0 0;color:var(--mute);font-size:11px}
.passport-renewal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.passport-renewal-actions .card-btn{padding:6px 10px;white-space:nowrap}
@media(max-width:560px){.passport-renewal-row{display:block}.passport-renewal-actions{justify-content:flex-start;margin-top:12px}}
.household-documents .section-title{align-items:center}
.household-document-search{display:block;margin:12px 0;color:var(--mute);font-size:12px}
.household-document-search input{display:block;width:100%;max-width:440px;min-height:40px;margin-top:7px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink)}
.household-document-list,.household-document-link-list{display:grid;gap:8px}
.household-document-card,.household-document-link{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:15px 17px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}
.household-document-copy,.household-document-link>div{min-width:0;overflow-wrap:anywhere}
.household-document-copy strong,.household-document-link strong{font-size:14px;font-weight:500}
.household-document-copy p,.household-document-link p{margin:5px 0 0;color:var(--mute);font-size:12px}
.household-document-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}
.household-document-links h4{margin:0 0 12px;font-size:13px;font-weight:500}
.household-document-link-list{margin-bottom:12px}
@media(max-width:560px){.household-document-card,.household-document-link{display:block}.household-document-actions,.household-document-link .card-btn{margin-top:10px}.household-document-actions{justify-content:flex-start}.household-document-link .card-btn{margin-right:6px}}
.room-space-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:10px}
.room-space-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:78px;padding:16px 18px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);text-align:left;cursor:pointer}
.room-space-card:hover,.room-space-card:focus-visible{border-color:var(--mute)}
.room-space-card-copy{min-width:0;overflow-wrap:anywhere}
.room-space-card-copy strong{display:block;margin-bottom:6px;font-size:15px;font-weight:500}
.room-space-card-copy>span{display:block;color:var(--mute);font-size:12px;line-height:1.5}
.room-space-details,.room-space-link-details{margin:16px 0;padding:13px 16px;border:1px solid var(--line);border-radius:10px}
.room-space-details summary,.room-space-link-details summary{cursor:pointer;font-size:13px;font-weight:500}
.room-space-details[open] summary,.room-space-link-details[open] summary{margin-bottom:14px}
.room-space-link-picker{display:grid;gap:8px;min-width:0;margin:14px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--line)}
.room-space-link-picker legend{padding:0;color:var(--mute);font-size:12px}
.room-space-link-picker label{display:flex;align-items:flex-start;gap:8px;min-width:0;font-size:13px;overflow-wrap:anywhere}
.room-space-link-picker input{flex:none;margin-top:3px}
.room-space-fact{margin:18px 0}.room-space-fact h4{margin:0 0 5px;color:var(--mute);font-size:12px;font-weight:500}.room-space-fact p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.room-space-links{margin:22px 0}.room-space-links h3{margin-bottom:12px;font-size:15px;font-weight:500}
.room-space-linked-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;margin:7px 0;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--paper);text-align:left;cursor:pointer;overflow-wrap:anywhere}
.room-space-linked-row strong{min-width:0;font-size:13px;font-weight:500}.room-space-linked-row span{color:var(--mute);font-size:12px}
.room-space-photo-button{display:flex;align-items:center;gap:12px;margin:15px 0;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--paper);cursor:pointer}
.room-space-photo-thumb{display:block;width:84px;height:66px;object-fit:cover;border-radius:6px}.room-space-photo-button span{font-size:12px;color:var(--mute)}
.room-space-photo-full{display:grid;justify-items:start;gap:10px;margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}
.room-space-photo-full img{display:block;max-width:100%;max-height:65vh;object-fit:contain}.room-space-error{color:#a63e32;font-size:12px}
@media(max-width:560px){.room-space-list{grid-template-columns:1fr}.room-space-linked-row{display:block}.room-space-linked-row span{display:block;margin-top:4px}}
.project-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:10px}
.project-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:78px;padding:16px 18px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);text-align:left;cursor:pointer}
.project-card:hover,.project-card:focus-visible{border-color:var(--mute)}
.project-card>span:first-child{min-width:0;overflow-wrap:anywhere}
.project-card strong,.project-card>span:first-child>span{display:block}
.project-card strong{margin-bottom:6px;font-size:15px;font-weight:500}
.project-card>span:first-child>span{color:var(--mute);font-size:12px;line-height:1.5}
.project-details,.project-links,.house-guide-sensitive,.house-guide-record-picker,.house-guide-phone-picker{min-width:0;margin:16px 0;padding:13px 16px;border:1px solid var(--line);border-radius:10px}
.project-details summary,.project-links summary,.house-guide-sensitive summary,.house-guide-record-picker summary,.house-guide-phone-picker summary{cursor:pointer;font-size:13px;font-weight:500}
.project-details[open] summary,.project-links[open] summary,.house-guide-sensitive[open] summary,.house-guide-record-picker[open] summary,.house-guide-phone-picker[open] summary{margin-bottom:14px}
.project-link-picker,.house-guide-reference-group,.house-guide-share-list{display:grid;gap:8px;min-width:0;margin:14px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--line)}
.project-link-picker legend,.house-guide-reference-group legend,.house-guide-share-list legend{padding:0;color:var(--mute);font-size:12px}
.project-link-picker label,.house-guide-reference-group label,.house-guide-phone-picker label,.house-guide-share-list label{display:flex;align-items:flex-start;gap:8px;min-width:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.project-link-picker input,.house-guide-reference-group input,.house-guide-phone-picker input,.house-guide-share-list input{flex:none;margin-top:3px}
.project-related{margin:20px 0}.project-related h3{margin:0 0 9px;color:var(--mute);font-size:12px;font-weight:500}
.project-related p{white-space:pre-wrap;overflow-wrap:anywhere}
.project-linked-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;margin:7px 0;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--paper);text-align:left;cursor:pointer;overflow-wrap:anywhere}
.project-linked-row strong{min-width:0;font-size:13px;font-weight:500}.project-linked-row span{color:var(--mute);font-size:12px}
.project-photo-button{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--paper);cursor:pointer}
.project-photo-button img{width:84px;height:66px;object-fit:cover;border-radius:6px}.project-photo-full img{display:block;max-width:100%;max-height:65vh;object-fit:contain}
.project-error,.house-guide-error{color:#a63e32;font-size:12px}
.house-guide-preview-text{margin:18px 0;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--paper);overflow-wrap:anywhere}
.house-guide-preview-text p{margin:9px 0;font-size:13px;line-height:1.6}
.house-guide-private-note,.house-guide-sensitive-tag{color:var(--mute);font-size:12px}.house-guide-sensitive-tag{margin-left:6px}
.house-guide-share-list{padding:14px;border:1px solid var(--line);border-radius:10px}
@media(max-width:560px){.project-list{grid-template-columns:1fr}.project-linked-row{display:block}.project-linked-row span{display:block;margin-top:4px}.project-card{padding:14px 16px}}
.passport-side{background:color-mix(in srgb,var(--cream) 50%,var(--paper))}
.passport-side .section-title{margin:0 0 14px}
.passport-side .calm-row{background:var(--paper);padding:14px;border:1px solid var(--line);border-radius:10px}
.passport-side .calm-row+.calm-row{margin-top:8px}
.passport-primary .card-actions{margin-top:32px}
@media(max-width:900px){.passport-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){
  .passport-list{grid-template-columns:1fr}
  .passport-card,.passport-create{min-height:155px}
  #detailModal:has(.passport-layout){padding:12px 10px}
  #detailModal .modal-card:has(.passport-layout){max-height:calc(100dvh - 24px)}
  .passport-heading,.passport-primary,.passport-side{padding:22px 18px}
  .passport-heading h2{font-size:36px}
  .passport-columns{grid-template-columns:1fr}
  .passport-documents{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{
  body{background:#fff;color:#111}
  .app-shell{max-width:none;padding:0;margin:0}
  .app-shell > :not(#cookingModal){display:none!important}
  #cookingModal{position:static!important;display:block!important;background:#fff;padding:0;inset:auto}
  #cookingModal .modal-card{width:100%;max-width:none;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;box-shadow:none}
  #cookingModal .cooking-actions{display:none!important}
  #cookingContent{width:100%}
  #cookingContent li{break-inside:avoid}
}

/* People: grouped portrait cards and an editorial, responsive profile sheet. */
.people-group{margin:28px 0 0}
.people-group-heading{display:flex;align-items:baseline;gap:9px;margin:0 2px 12px}
.people-group-heading h3{font-size:22px}
.people-group-heading>span{color:var(--faint);font-size:12px}
.people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.people-card{min-width:0;min-height:122px;background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.people-card-open{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;align-items:center;gap:10px;width:100%;height:100%;min-height:120px;padding:15px;text-align:left;border:0;background:transparent}
.people-card-open:hover,.people-card-open:focus-visible{background:rgba(255,255,255,.5)}
.people-avatar,.person-profile-avatar{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px;overflow:hidden;border-radius:50%;background:var(--pink-tint);color:var(--rose);font:400 22px var(--serif)}
.people-card:nth-child(4n + 2) .people-avatar{background:var(--blue-tint);color:#2D5874}
.people-card:nth-child(4n + 3) .people-avatar{background:var(--lime-tint);color:#4D5A18}
.people-card:nth-child(4n + 4) .people-avatar{background:var(--apricot-tint);color:#8A4E1E}
.people-avatar-initials{position:relative;z-index:1}
.people-avatar-photo{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;opacity:0}
.people-avatar-photo.is-loaded{opacity:1}
.people-identity{display:grid;align-content:center;min-width:0}
.people-name{font:400 20px/1.05 var(--serif);overflow-wrap:anywhere}
.people-relation{margin-top:4px;color:var(--faint);font-size:11px;line-height:1.25}
.people-pills{display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap;min-width:0}
.people-card-open>.people-pills{grid-column:1/-1;margin-top:1px}
.people-pill{display:inline-flex;align-items:center;max-width:100%;min-height:22px;padding:4px 8px;border:1px solid transparent;border-radius:999px;background:var(--soft);color:var(--muted);font-size:10px;line-height:1.25;overflow-wrap:anywhere}
.people-pill.diet{background:var(--lime-tint);color:#4D5A18}
.people-pill.favourite{background:var(--sand);color:var(--soft-ink)}
.people-pill.allergy,.people-pill.task{background:var(--apricot-tint);color:#8A4E1E}
.people-pill.routine{background:var(--blue-tint);color:#2D5874}
.people-pill.note{background:var(--pink-tint);color:var(--rose)}
.person-profile{margin:17px 0 22px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.person-profile-header{display:flex;align-items:center;gap:18px;min-height:144px;padding:25px 30px;border-bottom:1px solid var(--line)}
.person-profile-avatar{width:82px;height:82px;background:var(--pink-tint);color:var(--rose);font-size:38px}
.person-profile-heading{min-width:0}
.person-profile-group{display:block;margin-bottom:4px;color:var(--faint);font-size:10px;letter-spacing:.15em;text-transform:uppercase}
.person-profile-heading h3{font-size:42px;line-height:1.02;overflow-wrap:anywhere}
.person-profile-heading p{margin:5px 0 0;color:var(--muted);font-size:13px}
.person-profile-columns{display:grid;grid-template-columns:1fr 1fr}
.person-profile-column{min-width:0;padding:8px 30px 24px}
.person-profile-side{border-left:1px solid var(--line);background:rgba(237,229,214,.22)}
.person-fact{padding:17px 0 14px;border-bottom:1px solid rgba(226,217,200,.72)}
.person-fact:last-child{border-bottom:0}
.person-fact h4{display:flex;align-items:center;gap:8px;margin:0 0 9px;color:var(--faint);font-size:10px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.person-fact h4 span{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:50%;background:var(--apricot-tint);color:#8A4E1E;font-size:10px;letter-spacing:0}
.person-empty-value{margin:0;color:var(--faint);font-size:12px;line-height:1.45}
.person-date-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 0;color:var(--muted);font-size:13px}
.person-date-row strong{color:var(--ink);font-weight:500;text-align:right}
.person-schedule-card{display:grid;gap:5px;margin-top:7px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.35)}
.person-schedule-card strong{font-size:13px;font-weight:500}
.person-schedule-card span{color:var(--faint);font-size:11px}
.person-task-list{display:grid}
.person-task-row{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-top:1px solid rgba(226,217,200,.72)}
.person-task-row:first-child{border-top:0}
.person-task-mark{flex:none;width:18px;height:18px;margin-top:1px;border:1px solid var(--apricot);border-radius:50%;background:var(--apricot-tint)}
.person-task-row.is-done .person-task-mark{border-color:var(--olive-soft);background:var(--olive-soft)}
.person-task-row>div{display:grid;gap:3px;min-width:0}
.person-task-row strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
.person-task-row span:not(.person-task-mark){color:var(--faint);font-size:11px}
#personEditorForm{margin-top:19px;padding-top:18px;border-top:1px solid var(--line)}
.person-step7-sections{display:grid;gap:8px;margin:18px 0}
.person-step7-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px 0;border-bottom:1px solid var(--line)}
.person-step7-summary>div{min-width:0}.person-step7-summary h4{margin:0 0 4px;font-size:13px;font-weight:500}
.person-step7-summary p{margin:0;color:var(--mute);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.person-step7-summary .card-btn{flex:none}.person-step7-add-school{justify-self:start;margin:8px 0}
.person-step7-list{min-width:0;margin:20px 0;padding:0 0 14px;border-bottom:1px solid var(--line)}
.person-step7-list .section-title{margin-bottom:8px}.person-step7-list h3{margin:0 0 9px;font-size:15px;font-weight:500}
.person-step7-list>p{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.person-step7-entry{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--line);font-size:13px}
.person-step7-entry:first-of-type{border-top:0}
.person-step7-entry>div:first-child{min-width:0;overflow-wrap:anywhere}.person-step7-entry strong,.person-step7-entry span{display:block}
.person-step7-entry span{margin-top:4px;color:var(--mute);font-size:12px}
.person-step7-entry p{margin:6px 0;font-size:12px;line-height:1.5}
.person-step7-entry-actions{display:flex;gap:8px;flex:none}
.person-step7-row-group{min-width:0;margin:16px 0;padding:13px;border:1px solid var(--line);border-radius:10px}
.person-step7-row-group legend{padding:0 5px;color:var(--mute);font-size:12px}
.person-step7-row-group>label{display:block;margin:8px 0;font-size:12px;overflow-wrap:anywhere}
.person-step7-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px 0;border-bottom:1px solid var(--line)}
.person-step7-row label{display:grid;gap:4px;min-width:0;color:var(--mute);font-size:12px}
.person-step7-row input{width:100%;min-width:0}
.person-step7-row .person-step7-important{display:flex;align-items:center;gap:7px}
.person-step7-row .person-step7-important input{width:auto}
.person-step7-error{color:#a63e32;font-size:12px}
@media(max-width:560px){.person-step7-summary{align-items:flex-start}.person-step7-row{grid-template-columns:1fr}.person-step7-entry{display:block}.person-step7-entry-actions{margin-top:8px}}
@media(max-width:900px){.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){
  .people-group{margin-top:27px}
  .people-grid{grid-template-columns:1fr;gap:9px}
  .people-card,.people-card-open{min-height:104px}
  .people-card-open{padding:14px}
  .person-profile-header{align-items:flex-start;flex-direction:column;gap:15px;padding:21px 19px}
  .person-profile-avatar{width:82px;height:82px}
  .person-profile-heading h3{font-size:38px}
  .person-profile-columns{grid-template-columns:1fr}
  .person-profile-column{padding:7px 19px 18px}
  .person-profile-side{border-top:1px solid var(--line);border-left:0}
}

/* Home > Maintenance: due-month overview and completed history */
.home-maintenance-panel{min-width:0}
.home-maintenance-panel>.maintenance-heading{align-items:center;margin:0 2px 15px}
.maintenance-heading .text-button{color:var(--muted);text-decoration:none}
.maintenance-heading .text-button::after{content:"+";display:inline-block;margin-left:8px;color:var(--faint);font-size:17px;line-height:0;vertical-align:-1px}
.maintenance-intro{max-width:440px;margin:0 2px 26px;color:var(--muted);font-family:var(--serif);font-size:24px;line-height:1.22}
.maintenance-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,.9fr);align-items:start;gap:clamp(22px,3vw,38px)}
.maintenance-outstanding,.maintenance-handled{min-width:0}
.maintenance-month+.maintenance-month{margin-top:26px}
.maintenance-month>h3,.maintenance-handled>h3{margin:0 0 10px;color:var(--faint);font-family:var(--sans);font-size:10px;font-weight:500;letter-spacing:.15em;text-transform:uppercase}
.maintenance-month-list,.maintenance-handled-list{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.maintenance-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px 14px;padding:15px 14px}
.maintenance-card+.maintenance-card{border-top:1px solid var(--line)}
.maintenance-date{display:grid;justify-items:center;align-content:center;gap:2px;min-height:48px;color:var(--muted);font-family:var(--serif);line-height:1}
.maintenance-date strong{font-size:24px;font-weight:400}
.maintenance-date span{font-family:var(--sans);font-size:9px;letter-spacing:.1em}
.maintenance-date-empty{font-family:var(--sans);font-size:9px;text-align:center;line-height:1.2}
.maintenance-card-copy{min-width:0}
.maintenance-task-title{display:block;font-size:13px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.maintenance-type-pill{display:inline-flex;align-items:center;min-height:20px;margin-top:5px;padding:2px 8px;border:1px solid var(--line);border-radius:999px;background:var(--olive-soft);color:var(--olive);font-family:var(--sans);font-size:10px;font-weight:500;line-height:1.2;vertical-align:middle}
.maintenance-handled-row .maintenance-type-pill{margin:0 0 0 4px}
.maintenance-detail{margin:3px 0 0;color:var(--faint);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.maintenance-linked-asset{margin-top:4px;color:var(--faint);font-size:10px;line-height:1.3}
.maintenance-asset-link{border:0;background:none;padding:0;color:var(--muted);font:inherit;text-align:left;text-decoration:none}
.maintenance-asset-link::before{content:"◦";padding-right:5px;color:var(--olive)}
.maintenance-asset-link:hover,.maintenance-asset-link:focus-visible{text-decoration:underline;text-underline-offset:2px}
.maintenance-status{justify-self:end;display:inline-flex;align-items:center;min-height:23px;padding:3px 9px;border-radius:999px;background:var(--sand);color:var(--soft-ink);font-size:10px;line-height:1.2;white-space:nowrap}
.maintenance-status-booked{background:var(--green-tint);color:var(--green)}
.maintenance-status-shopping{background:var(--lime-tint);color:#4D5A18}
.maintenance-status-assigned{background:var(--apricot-tint);color:#8A4E1E}
.maintenance-status-completed{background:var(--green-tint);color:var(--green)}
.maintenance-actions{grid-column:2 / -1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:1px}
.maintenance-actions .card-btn{min-height:32px;padding:6px 10px;font-size:10px}
.maintenance-assignee-form{display:flex;align-items:center;gap:5px;min-width:0}
.maintenance-assignee-form input{width:125px;min-width:0;height:32px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:transparent;font-size:11px}
.maintenance-assignee-form .card-btn{flex:none}
.maintenance-edit{border:0;background:transparent;padding:6px;color:var(--muted);font-size:10px;text-decoration:underline;text-underline-offset:3px}
.maintenance-handled{padding-top:1px}
.maintenance-handled-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:start;gap:9px;padding:12px}
.maintenance-handled-row+.maintenance-handled-row{border-top:1px solid var(--line)}
.maintenance-handled-check{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--green-tint);color:var(--green);font-size:12px}
.maintenance-handled-row strong{display:block;font-size:11px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.maintenance-handled-row p{margin:3px 0 0;color:var(--faint);font-size:10px;line-height:1.4}
.maintenance-handled-row .maintenance-edit{padding:2px}
.maintenance-handled-empty,.maintenance-handled-note{margin:10px 0 0;color:var(--faint);font-size:11px;line-height:1.5}
#homeMaintenance>.section-title:not(.maintenance-heading){margin-top:38px}
#homeMaintenance>.calm-list{padding:2px 14px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
@media(max-width:800px){
  .maintenance-columns{grid-template-columns:minmax(0,1fr) minmax(190px,.72fr);gap:18px}
  .maintenance-card{gap:9px 10px;padding:13px 11px}
  .maintenance-actions{gap:5px}
  .maintenance-actions .card-btn{padding-right:8px;padding-left:8px}
  .maintenance-assignee-form input{width:108px}
}
@media(max-width:699px){
  .maintenance-intro{max-width:350px;margin-bottom:22px;font-size:22px}
  .maintenance-columns{grid-template-columns:minmax(0,1fr);gap:29px}
  .maintenance-handled{padding-top:0}
  .maintenance-card{grid-template-columns:44px minmax(0,1fr) auto;padding:13px 11px}
  .maintenance-status{align-self:start;margin-top:1px}
  .maintenance-actions{grid-column:1 / -1;padding-left:54px}
  .maintenance-assignee-form{flex:1 1 185px}
  .maintenance-assignee-form input{width:auto;flex:1}
}
@media(max-width:390px){
  .maintenance-card{grid-template-columns:38px minmax(0,1fr);gap:8px}
  .maintenance-status{grid-column:2;justify-self:start}
  .maintenance-actions{grid-column:1 / -1;padding-left:0}
  .maintenance-actions .card-btn{font-size:10px}
  .maintenance-assignee-form{flex-basis:100%}
}

/* Shopping list: editorial title, compact tabs, and tactile list rows. */
#shopping .shopping-heading{margin:23px 2px 17px}
#shopping .shopping-heading h1{font-family:var(--font-display);font-size:34px;font-weight:500;line-height:1.1}
#shopping .shopping-tabs{display:flex;align-items:center;gap:2px;width:max-content;max-width:100%;padding:4px;margin:0 0 23px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--soft)}
#shopping .shopping-tab{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:6px 13px;border:1px solid transparent;border-radius:var(--r-pill);background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}
#shopping .shopping-tab.active{border-color:var(--line);background:var(--paper);color:var(--ink)}
#shopping .shopping-tab span{color:var(--faint);font-size:10px}
#shopping .shopping-entry{margin:0 0 15px}
#shopping .shopping-add-field{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--paper)}
#shopping .shopping-add-field > span{color:var(--faint);font-size:19px;line-height:1}
#shopping .shopping-add-field input{min-width:0;flex:1;width:auto;padding:10px 0;border:0;border-radius:0;background:transparent;font-size:13px;box-shadow:none}
#shopping .shopping-add-field input:focus{outline:0}
#shopping .shopping-add-field button{border:0;background:transparent;color:var(--olive);font-size:12px;font-weight:500}
#shopping .shopping-voice{display:inline-flex;align-items:center;gap:5px;margin:5px 0 0;color:var(--muted);font-size:11px;text-decoration:none}
#shopping .shopping-voice .line-icon{width:15px;height:15px}
#shopping .shopping-panel[hidden]{display:none}
#shopping .shopping-group{padding:0;margin:21px 0 0}
#shopping .shopping-group h2{margin:0 0 8px;color:var(--faint);font:500 10px var(--sans);letter-spacing:.14em;text-transform:uppercase}
#shopping .shopping-group h2 span{margin-left:4px;color:var(--faint);font-size:10px}
#shopping .shopping-list-card{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
#shopping .shopping-row{display:flex;align-items:center;gap:11px;min-height:43px;padding:8px 12px;border-bottom:1px solid var(--line)}
#shopping .shopping-row:last-child{border-bottom:0}
#shopping .shopping-row input[type="checkbox"]{appearance:none;flex:none;width:18px;height:18px;margin:0;border:1px solid #B8B2A6;border-radius:50%;background:transparent;cursor:pointer}
#shopping .shopping-row input[type="checkbox"]:checked{position:relative;border-color:var(--green);background:var(--green)}
#shopping .shopping-row input[type="checkbox"]:checked::after{position:absolute;inset:1px;color:white;content:"✓";font-size:12px;text-align:center;line-height:15px}
#shopping .shopping-info{min-width:0;flex:1}
#shopping .shopping-name{font-size:12px;line-height:1.35}
#shopping .shopping-name.done{color:var(--faint);text-decoration:line-through}
#shopping .shopping-source{display:none}
#shopping .shopping-row-action{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:3px 0 3px 7px;border:0;background:transparent;color:var(--faint);font-size:11px;white-space:nowrap}
#shopping .shopping-row-action::before{width:9px;height:9px;border:1px solid currentColor;border-radius:50%;content:"";opacity:.85}
#shopping .shopping-row-action:hover{color:var(--olive)}
#shopping .shopping-home-row{padding:10px 12px;border-bottom:1px solid var(--line)}
#shopping .shopping-home-row:last-child{border-bottom:0}
#shopping .shopping-home-main{display:flex;align-items:center;justify-content:space-between;gap:12px}
#shopping .shopping-home-state,#shopping .shopping-home-note{display:block;margin-top:3px;color:var(--faint);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
#shopping .shopping-home-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px}
#shopping .shopping-home-actions .text-button{font-size:11px}
#shopping .shopping-home-details{margin-top:4px;color:var(--faint);font-size:11px}
#shopping .shopping-home-details summary{width:max-content;cursor:pointer}
#shopping .shopping-home-edit{display:grid;gap:9px;padding:10px 0 4px}
#shopping .shopping-home-edit label{display:grid;gap:3px;color:var(--muted);font-size:11px}
#shopping .shopping-home-edit input{width:100%;min-width:0}
#shopping .shopping-row:has([data-action="shop-home-from-bought"]){flex-wrap:wrap}
#shopping .shopping-active{margin:0}
#shopping .shopping-panel > .shopping-list-card{margin-top:4px}
#shopping .quiet-empty{margin:0;padding:16px 12px;text-align:left;font-size:12px}
#shopping .expired-card{margin:12px 0;padding:12px}
#shopping .expired-card .text-button{margin:5px 10px 0 0}
@media(max-width:699px){
  #shopping .shopping-heading{margin:25px 0 18px}
  #shopping .shopping-heading h1{font-size:34px;line-height:1.1}
  #shopping .shopping-tabs{width:100%;justify-content:flex-start;margin-bottom:22px;padding:4px}
  #shopping .shopping-tab{flex:1;min-width:0;padding:6px 5px;font-size:11px}
  #shopping .shopping-home-main{align-items:flex-start}
  #shopping .shopping-home-actions{max-width:55%}
  #shopping .shopping-entry{margin-bottom:16px}
  #shopping .shopping-row{min-height:50px;padding:9px 12px}
  #shopping .shopping-row-action{width:auto;justify-content:center;padding:3px 0 3px 4px;font-size:10px}
  #shopping .shopping-row-action::before{width:11px;height:11px}
  #shopping .shopping-group{margin-top:23px}
}

/* Approved Plans > Trips cards and Settings sheet presentation */
#plansTrips .trips-section{padding-top:3px}
#plansTrips .trips-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 2px 19px}
#plansTrips .trips-section-head .eyebrow{margin-bottom:5px}
#plansTrips .trips-section-head h2{font-size:34px}
#plansTrips .trips-section-head .section-add{flex:none;padding:9px 2px;color:var(--muted);text-decoration:none}
#plansTrips .trip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#plansTrips .trip-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
#plansTrips .trip-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid var(--line)}
#plansTrips .trip-card-head > div{min-width:0}
#plansTrips .trip-date{display:block;color:var(--faint);font-size:11px;line-height:1.4}
#plansTrips .trip-destination{display:block;margin-top:3px;padding:0;border:0;background:none;color:var(--ink);font:26px/1.08 var(--serif);text-align:left;overflow-wrap:anywhere}
#plansTrips .trip-destination:hover{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
#plansTrips .trip-status{flex:none;margin-top:2px;padding:5px 9px;border-radius:999px;background:var(--green-tint);color:var(--green);font-size:10px;line-height:1.2}
#plansTrips .trip-card.is-completed .trip-status{background:var(--sand);color:var(--soft-ink)}
#plansTrips .trip-people{margin:10px 18px 0;color:var(--muted);font-size:12px}
#plansTrips .trip-card-tasks{padding:14px 18px 8px}
#plansTrips .trip-card-tasks > .eyebrow{margin-bottom:7px;font-size:9px}
#plansTrips .trip-task{display:flex;align-items:flex-start;gap:10px;min-height:34px;padding:7px 0;border-top:1px solid rgba(226,217,200,.72);font-size:12px;line-height:1.4}
#plansTrips .trip-task:first-of-type{border-top:0}
#plansTrips .trip-task input{appearance:none;flex:none;width:17px;height:17px;margin:0;border:1px solid rgba(140,133,120,.65);border-radius:50%;background:var(--paper);cursor:pointer}
#plansTrips .trip-task input:checked{border-color:var(--green);background:var(--green)}
#plansTrips .trip-task input:checked::after{display:block;color:var(--paper);content:"✓";font-size:11px;text-align:center;line-height:15px}
#plansTrips .trip-task input:checked + span{color:var(--faint);text-decoration:line-through}
#plansTrips .trip-no-tasks{margin:0;padding:5px 0 9px;color:var(--faint);font-size:12px;line-height:1.45}
#plansTrips .trip-card-foot{display:flex;justify-content:flex-end;padding:8px 18px 13px}
#plansTrips .trip-card-foot .text-button{font-size:11px;text-decoration:none}
#plansTrips .trip-past{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}
#plansTrips .trip-past summary{color:var(--muted);font-size:12px;cursor:pointer}
#plansTrips .trip-past .trip-grid{margin-top:13px}
#detailContent[data-settings="true"] .settings-sheet{max-width:650px}
#detailContent[data-settings="true"] > .settings-sheet > h2{margin:0 0 25px;font-size:42px}
#detailContent[data-settings="true"] .settings-section{margin-top:22px}
#detailContent[data-settings="true"] .settings-section > .eyebrow{margin:0 0 9px;font-size:9px}
#detailContent[data-settings="true"] .location-panel,
#detailContent[data-settings="true"] .calendar-card,
#detailContent[data-settings="true"] .settings-install{margin:0;padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
#detailContent[data-settings="true"] .location-panel > .eyebrow{margin:0 0 4px}
#detailContent[data-settings="true"] .location-panel h3,
#detailContent[data-settings="true"] .settings-install h3{font-family:var(--sans);font-size:13px;font-weight:500}
#detailContent[data-settings="true"] .location-panel .add-row{margin:10px 0 7px}
#detailContent[data-settings="true"] .location-panel .add-row input{min-width:0;font-size:14px}
#detailContent[data-settings="true"] .location-panel .card-btn{min-height:36px}
#detailContent[data-settings="true"] .calendar-card > .section-title{margin:0 0 8px}
#detailContent[data-settings="true"] .calendar-card > .section-title h3{font-family:var(--sans);font-size:13px;font-weight:500}
#detailContent[data-settings="true"] .calendar-card .item-copy{margin-top:4px}
#detailContent[data-settings="true"] .calendar-card .card-actions{margin-top:10px}
#detailContent[data-settings="true"] .calendar-card .item-copy:last-child{margin-top:12px;font-size:11px}
#detailContent[data-settings="true"] .settings-install .item-copy{margin:5px 0 10px}
#detailContent[data-settings="true"] + .settings-extras{max-width:650px}
#detailContent[data-settings="true"] + .settings-extras .feedback-control{justify-content:flex-start;margin:18px 0 0}
#detailContent[data-settings="true"] + .settings-extras .privacy-note{padding:15px 0 0;margin-top:15px;font-size:10px}
.modal-card:has(#detailContent[data-settings="true"]){width:min(100%,760px);max-height:min(92vh,900px);padding:27px 30px 24px}
.modal-card:has(#detailContent[data-settings="true"]) .modal-close{z-index:1}
.passport-create-form{gap:0}
.passport-create-section{padding:16px 0 4px;border-top:1px solid var(--line)}
.passport-create-section:first-child{border-top:0;padding-top:0}
.passport-create-section h3{font-family:var(--sans);font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.passport-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:11px}
.passport-create-form .ingredient-submit{margin-top:18px}
@media(max-width:699px){
  #plansTrips .trip-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  #plansTrips .trips-section-head{margin-bottom:16px}
  #plansTrips .trips-section-head h2{font-size:31px}
  #plansTrips .trip-card-head{padding:16px 17px 13px}
  #plansTrips .trip-destination{font-size:27px}
  #plansTrips .trip-card-tasks{padding:13px 17px 8px}
  .modal-card:has(#detailContent[data-settings="true"]){width:100%;max-height:calc(100dvh - 12px);padding:27px 19px calc(22px + env(safe-area-inset-bottom));border-radius:18px 18px 12px 12px}
  #detailContent[data-settings="true"] > .settings-sheet > h2{font-size:38px;margin-bottom:21px}
  #detailContent[data-settings="true"] .settings-section{margin-top:18px}
  .passport-create-grid{gap:10px}
}
@media(max-width:420px){
  .passport-create-grid{grid-template-columns:minmax(0,1fr)}
}

/* Useful & Shareable: a quiet directory with progressive disclosure. */
.useful-section{min-width:0}
.useful-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 2px 17px}
.useful-header h2{font-size:clamp(30px,6vw,39px);line-height:1.05}
.useful-header .eyebrow{margin-bottom:4px}
.useful-add-control,.useful-row-menu{position:relative;flex:none}
.useful-add-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 16px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:var(--ivory);font-size:13px;cursor:pointer;white-space:nowrap}
.useful-add-trigger:focus-visible,.useful-row-menu>summary:focus-visible,.useful-items-subsection>summary:focus-visible{outline:2px solid var(--olive);outline-offset:3px}
.useful-row-menu>summary::-webkit-details-marker{display:none}
.useful-add-menu-pop,.useful-row-menu-pop{position:absolute;z-index:35;right:0;top:calc(100% + 7px);width:min(212px,calc(100vw - 34px));padding:5px;border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:0 10px 28px rgba(48,40,29,.12)}
.useful-add-menu-pop[hidden]{display:none!important}
.useful-add-menu-pop button,.useful-row-menu-pop button{display:block;width:100%;min-height:42px;padding:9px 11px;border:0;border-radius:8px;background:transparent;text-align:left;color:var(--ink);font-size:13px}
.useful-add-menu-pop button:hover,.useful-add-menu-pop button:focus-visible,.useful-row-menu-pop button:hover,.useful-row-menu-pop button:focus-visible{background:var(--soft)}
.useful-secondary-nav{margin:0 0 19px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.useful-secondary-nav::-webkit-scrollbar,.useful-filters::-webkit-scrollbar{display:none}
.useful-secondary-nav .subtab{padding-inline:clamp(12px,3vw,18px)}
.useful-panel[hidden]{display:none!important}
.useful-panel-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;padding:2px 2px 12px}
.useful-panel-heading .eyebrow{margin-bottom:2px}
.useful-panel-heading h3{font-size:27px}
.useful-panel-heading .section-title{margin:0;justify-content:flex-start}
.useful-panel-heading .section-title h3{font-size:27px}
.useful-panel-heading .section-count{font:400 12px var(--sans);color:var(--faint);margin-left:8px}
.useful-panel-count{color:var(--faint);font-size:11px}
.useful-search{display:block;margin:0 0 10px}
.useful-search input{width:100%;min-height:43px;padding:10px 13px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font-size:14px;outline:0}
.useful-search input:focus{border-color:var(--olive);box-shadow:var(--focus)}
.useful-filters{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 6px;margin:0 -1px 7px;overscroll-behavior-x:contain;scrollbar-width:none}
.useful-filter-chip{flex:none;min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:11px}
.useful-filter-chip.active{background:var(--olive-soft);border-color:#c4d1c5;color:var(--olive)}
.useful-row-list,.useful-service-rows{display:grid;min-width:0}
.useful-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:12px 2px;border-top:1px solid var(--line)}
.useful-row[hidden]{display:none!important}
.useful-row-main{display:grid;min-width:0;justify-items:start;padding:0;border:0;background:transparent;text-align:left}
.useful-row-main:hover .useful-row-title,.useful-row-main:focus-visible .useful-row-title{text-decoration:underline;text-underline-offset:3px}
.useful-row-kicker{max-width:100%;overflow:hidden;color:var(--faint);font-size:9px;letter-spacing:.14em;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap}
.useful-row-title{max-width:100%;margin-top:2px;color:var(--ink);font-family:var(--serif);font-size:21px;line-height:1.12;overflow-wrap:anywhere}
.useful-row-copy{max-width:100%;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.useful-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0}
.useful-row-actions .card-btn,.useful-quick-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 8px;border-radius:999px;color:var(--olive);font-size:11px;text-decoration:none;white-space:nowrap}
.useful-row-actions .card-btn{background:var(--paper)}
.useful-quick-link{border:1px solid transparent}
.useful-quick-link:hover,.useful-row-actions .card-btn:hover{border-color:var(--line);background:var(--paper)}
.useful-row-menu>summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);font-size:20px;line-height:1;cursor:pointer}
.useful-row-menu-pop{width:min(172px,calc(100vw - 34px))}
.useful-row-detail{grid-column:1/-1;margin:0 0 1px;padding-left:2px}
.useful-row-detail>summary{display:flex;align-items:center;min-height:44px;width:100%;padding:8px 0;color:var(--olive);font-size:12px;cursor:pointer}
.useful-row-detail>ol{padding-left:19px;margin:5px 0 3px}
.useful-disclosed-step{padding:8px 0 11px;border-top:1px solid var(--line);font-size:12px;line-height:1.45}
.useful-disclosed-step .card-actions{align-items:center}
.useful-disclosed-step select{min-width:130px;min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--paper);font-size:12px}
.useful-items-subsection{margin-top:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.useful-items-subsection>summary{display:flex;align-items:center;justify-content:space-between;min-height:47px;list-style:none;color:var(--ink);font-family:var(--serif);font-size:20px;cursor:pointer}
.useful-items-subsection>summary::-webkit-details-marker{display:none}
.useful-items-subsection>summary span{color:var(--faint);font-family:var(--sans);font-size:11px}
.useful-items-subsection[open] .useful-row-list{padding-bottom:5px}
.useful-filter-empty{margin:12px 2px}
.useful-detail-view{padding:0;border:0;background:transparent}
.useful-detail-steps{padding-left:21px}
.useful-detail-step{padding:8px 0 12px;border-bottom:1px solid var(--line);line-height:1.5}
.useful-detail-step .card-actions{align-items:center}
.useful-detail-step select,.useful-item-move select{min-width:140px;max-width:100%;min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--paper);font-size:12px}
.useful-item-move{align-items:center;padding-top:12px;border-top:1px solid var(--line)}
.useful-item-move label{color:var(--muted);font-size:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){
  .useful-row{grid-template-columns:minmax(0,1fr);gap:5px;padding:11px 2px}
  .useful-row-actions{justify-content:flex-start;flex-wrap:wrap;gap:2px}
  .useful-row-actions .useful-row-menu{margin-left:auto}
  .useful-row-copy{white-space:normal}
  .useful-panel-heading{padding-bottom:10px}
  .useful-header{margin-top:8px}
  .useful-row-menu-pop{right:0}
}
@media(prefers-reduced-motion:reduce){
  .useful-row-main,.useful-add-trigger,.useful-filter-chip{transition:none}
}

/* Travel Wallet — quiet document cabinet, kept within the existing Trips surface. */
.wtu-shell{width:100%;max-width:760px;margin:0 auto;padding:2px 0 12px;color:var(--ink);min-width:0}
.wtu-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:2px 0 20px}
.wtu-heading{padding-right:36px}
.wtu-heading h2,.wtu-shell>h2{font:400 clamp(30px,7vw,39px)/1.04 var(--serif);overflow-wrap:anywhere}
.wtu-intro{max-width:480px;margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.wtu-add,.wtu-trip-section header>button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--olive);font-size:12px;white-space:nowrap}
.wtu-add:hover,.wtu-trip-section header>button:hover{background:var(--olive-soft)}
.wtu-tabs{display:flex;gap:4px;width:100%;padding:4px;border:1px solid var(--line);border-radius:999px;background:rgba(237,229,214,.62)}
.wtu-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:40px;padding:7px 12px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--muted);font-size:12px}
.wtu-tabs button.active{border-color:var(--line);background:var(--paper);color:var(--ink)}
.wtu-tabs button span{color:var(--faint);font-size:10px;font-variant-numeric:tabular-nums}
.wtu-search{display:flex;align-items:center;gap:10px;min-height:46px;margin:14px 0 18px;padding:0 13px;border:1px solid var(--line);border-radius:13px;background:var(--paper);color:var(--faint)}
.wtu-search>span{font-size:21px;line-height:1}
.wtu-search input{width:100%;min-width:0;min-height:42px;padding:8px 0;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}
.wtu-search input:focus-visible{outline:0}
.wtu-search:focus-within{border-color:var(--olive);box-shadow:var(--focus)}
.wtu-list{display:grid;gap:9px;min-width:0}
.wtu-record{min-width:0;padding:13px 14px 10px;border:1px solid var(--line);border-radius:15px;background:var(--paper)}
.wtu-record-main{display:grid;width:100%;min-width:0;gap:4px;padding:0;border:0;background:none;text-align:left}
.wtu-record-type{color:var(--olive);font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.wtu-record-main strong{font:400 22px/1.13 var(--serif);overflow-wrap:anywhere}
.wtu-record-meta{color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.wtu-row-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}
.wtu-row-actions button{min-height:36px;padding:5px 10px;border:0;border-radius:999px;background:transparent;color:var(--olive);font-size:11px}
.wtu-row-actions button:hover{background:var(--olive-soft)}
.wtu-reminder{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding:8px 10px;border-left:2px solid #A18B53;border-radius:0 8px 8px 0;background:#F2EEDF;color:#66572F;font-size:11px;line-height:1.35}
.wtu-reminder button{flex:none;min-height:34px;padding:4px 8px;border:0;border-radius:999px;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:2px;font-size:10px}
.wtu-empty{display:grid;justify-items:start;gap:7px;padding:30px 18px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.wtu-empty-mark{width:36px;height:36px;margin-bottom:4px;border:1px solid #B6BEA7;border-radius:50%;background:radial-gradient(circle at center, var(--olive) 0 2px, transparent 3px),linear-gradient(135deg,transparent 47%,#B6BEA7 48% 51%,transparent 52%)}
.wtu-empty h3{font:400 24px/1.1 var(--serif)}
.wtu-empty p{max-width:370px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.wtu-primary,.wtu-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid var(--olive);border-radius:999px;font-size:12px}
.wtu-primary{background:var(--olive);color:var(--paper)}
.wtu-primary:hover{background:#253d30}
.wtu-secondary{border-color:var(--line);background:var(--paper);color:var(--olive)}
.wtu-secondary:hover{background:var(--olive-soft)}
.wtu-privacy-note{margin:16px 2px 0;color:var(--faint);font-size:10px;line-height:1.5}
.wtu-back{display:inline-flex;align-items:center;gap:5px;min-height:44px;margin:0 0 13px;padding:4px 5px;border:0;background:transparent;color:var(--olive);font-size:12px}
.wtu-back:first-letter{font-size:20px}
.wtu-detail>.eyebrow{margin-bottom:5px}
.wtu-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:20px 0 0;border-top:1px solid var(--line)}
.wtu-facts>div{min-width:0;padding:12px 1px;border-bottom:1px solid var(--line)}
.wtu-facts dt,.wtu-notes>span{margin-bottom:4px;color:var(--faint);font-size:10px;letter-spacing:.07em;text-transform:uppercase}
.wtu-facts dd{margin:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.wtu-notes{margin-top:17px;padding:13px;border-radius:12px;background:var(--soft)}
.wtu-notes p{margin:5px 0 0;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.wtu-originals{margin-top:22px}
.wtu-originals h3{margin:0 0 8px;font:400 23px var(--serif)}
.wtu-file{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:10px 0;border-bottom:1px solid var(--line)}
.wtu-file>div{display:grid;gap:3px;min-width:0}
.wtu-file strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
.wtu-file span{color:var(--faint);font-size:10px}
.wtu-open-original{flex:none;min-width:128px;min-height:46px;padding:9px 13px;border:1px solid var(--olive);border-radius:999px;background:var(--paper);color:var(--olive);font-size:12px}
.wtu-open-original:hover{background:var(--olive-soft)}
.wtu-record>.wtu-open-original{margin-top:10px}
.wtu-open-original:disabled{border-color:var(--line);color:var(--faint);cursor:not-allowed}
.wtu-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}
.wtu-muted{margin:7px 0;color:var(--faint);font-size:11px}
.wtu-form{display:grid;gap:12px;margin-top:19px}
.wtu-field{display:grid;gap:5px;min-width:0;color:var(--muted);font-size:11px}
.wtu-field input,.wtu-field select,.wtu-field textarea{width:100%;min-width:0;min-height:44px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font-size:13px}
.wtu-field textarea{min-height:88px;resize:vertical}
.wtu-field input:focus,.wtu-field select:focus,.wtu-field textarea:focus{outline:0;border-color:var(--olive);box-shadow:var(--focus)}
.wtu-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wtu-sensitive-fields{padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(237,229,214,.5)}
.wtu-sensitive-fields summary{display:flex;align-items:center;justify-content:space-between;min-height:34px;color:var(--ink);font-size:12px;cursor:pointer}
.wtu-sensitive-fields summary span{padding:3px 8px;border-radius:999px;background:var(--olive-soft);color:var(--olive);font-size:9px}
.wtu-sensitive-fields[open] .wtu-field:first-of-type{margin-top:10px}
.wtu-upload-box{display:grid;gap:12px;padding:13px;border:1px dashed #B7B3A5;border-radius:13px;background:rgba(237,229,214,.35)}
.wtu-upload-box [hidden]{display:none}
.wtu-upload-box strong{font:400 21px var(--serif)}
.wtu-upload-box p{margin:4px 0;color:var(--muted);font-size:10px;line-height:1.45}
.wtu-upload-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--olive);font-size:11px;cursor:pointer}
.wtu-upload-button input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.wtu-upload-button:focus-within{outline:2px solid var(--olive);outline-offset:2px}
.wtu-boundary{margin:0;color:var(--faint);font-size:10px;line-height:1.45}
.wtu-intent,.wtu-review-note{margin:12px 0;padding:10px 12px;border-left:2px solid var(--olive);border-radius:0 9px 9px 0;background:var(--olive-soft);color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.wtu-review-note{margin:0 0 4px}
.wtu-error{margin:0;padding:10px 12px;border-radius:9px;background:var(--pink-tint);color:var(--rose);font-size:11px;line-height:1.45}
.wtu-error[hidden]{display:none}
.wtu-trip-section{margin:20px 0 5px;padding:15px 14px;border:1px solid var(--line);border-radius:15px;background:var(--paper)}
.wtu-trip-section header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.wtu-trip-section header .eyebrow{margin-bottom:4px}
.wtu-trip-section header h3{font:400 25px/1 var(--serif)}
.wtu-trip-section header p:not(.eyebrow){margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
.wtu-trip-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 0;border-top:1px solid var(--line)}
.wtu-trip-row>div{display:grid;gap:3px;min-width:0}
.wtu-trip-row>div span{color:var(--faint);font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.wtu-trip-row strong{font:400 19px/1.15 var(--serif);overflow-wrap:anywhere}
.wtu-trip-row button,.wtu-trip-all{flex:none;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--olive);font-size:11px}
.wtu-trip-empty{margin:0;padding:11px 0;border-top:1px solid var(--line);color:var(--faint);font-size:11px}
.wtu-trip-all{margin-top:9px}
.wtu-launcher{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 11px;border:1px solid var(--line);border-radius:13px;background:var(--paper);color:var(--ink);text-align:left}
.wtu-launcher:hover{background:var(--olive-soft)}
.wtu-launcher-icon{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:50%;background:var(--olive-soft);color:var(--olive);font-size:17px}
.wtu-launcher>span:nth-child(2){display:grid;gap:2px;min-width:0}
.wtu-launcher strong{font:400 19px/1 var(--serif)}
.wtu-launcher small{color:var(--muted);font-size:10px}
.wtu-launcher-count{display:grid;place-items:center;width:25px;height:25px;margin-left:auto;border-radius:50%;background:var(--soft);color:var(--muted);font-size:10px}
.wtu-viewer{display:grid;gap:13px}
.wtu-viewer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;padding-right:36px}
.wtu-viewer-head>div{min-width:0}
.wtu-viewer-head h2{max-width:100%;font:400 clamp(25px,6vw,34px)/1.08 var(--serif);overflow-wrap:anywhere}
.wtu-viewer-head .wtu-secondary{flex:none;min-width:72px;min-height:44px}
.wtu-viewer-state{min-height:44px;margin:0;padding:13px;border-radius:11px;background:var(--soft);color:var(--muted);font-size:12px}
.wtu-image-frame{display:grid;place-items:center;width:100%;min-height:160px;max-height:calc(100dvh - 280px);overflow:auto;border:1px solid var(--line);border-radius:13px;background:#E9E2D6}
.wtu-image-frame img{display:block;width:100%;height:100%;max-height:calc(100dvh - 280px);object-fit:contain}
.wtu-pdf-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}
.wtu-pdf-controls[hidden]{display:none}
.wtu-pdf-controls [data-wtu-pdf-page-label]{flex:1;min-width:0;color:var(--muted);font-size:11px;text-align:center;font-variant-numeric:tabular-nums}
.wtu-pdf-step{display:inline-flex;align-items:center;justify-content:center;min-width:94px;min-height:46px;padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--olive);font-size:11px}
.wtu-pdf-step:disabled{color:var(--faint);background:var(--soft);cursor:not-allowed}
.wtu-pdf-page-frame{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:#FBF8F2}
.wtu-pdf-page-frame canvas{display:block;width:100%;max-width:100%;height:auto;touch-action:pan-x pan-y pinch-zoom}
.wtu-viewer-unavailable{display:grid;justify-items:start;gap:10px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.wtu-viewer-unavailable p{margin:0;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.wtu-viewer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.wtu-viewer-actions .wtu-secondary,.wtu-viewer-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--olive);font-size:12px;text-align:center;text-decoration:none}
.wtu-viewer-actions .wtu-secondary:hover,.wtu-viewer-action:hover{background:var(--olive-soft)}
@media(max-width:480px){
  .wtu-heading{margin-bottom:16px}
  .wtu-heading h2,.wtu-shell>h2{font-size:33px}
  .wtu-record{padding:12px}
  .wtu-record-main strong{font-size:21px}
  .wtu-facts{grid-template-columns:minmax(0,1fr)}
  .wtu-detail-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .wtu-detail-actions>*{width:100%}
  .wtu-two{grid-template-columns:minmax(0,1fr)}
  .wtu-open-original{min-width:112px}
  .wtu-trip-section{padding:12px}
  .wtu-pdf-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,auto) minmax(0,1fr)}
  .wtu-pdf-step{width:100%;min-width:0}
  .wtu-image-frame,.wtu-image-frame img{max-height:calc(100dvh - 300px)}
  .wtu-viewer-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .wtu-viewer-actions>*{width:100%}
}

/* FOR'U Health & Care — private, person-bound record keeping. */
.hcu-shell{--hcu-paper:#fbf8f2;--hcu-ink:#25251f;--hcu-muted:#74766b;--hcu-line:#e1dfd2;--hcu-sage:#e6eadf;--hcu-olive:#465b43;max-width:680px;margin:0 auto;color:var(--hcu-ink);animation:hcu-enter .22s ease both}
.hcu-shell *{box-sizing:border-box}
.hcu-shell button,.hcu-shell input,.hcu-shell select,.hcu-shell textarea{font:inherit}
.hcu-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 16px}
.hcu-heading h2{font-size:clamp(27px,7vw,36px);line-height:1.04}
.hcu-heading p:not(.eyebrow){margin:7px 0 0;color:var(--hcu-muted);font-size:13px;line-height:1.45}
.hcu-back{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:6px 3px;border:0;background:transparent;color:var(--hcu-olive);font-size:13px}
.hcu-person-line{display:flex;align-items:center;gap:8px;margin:10px 0 18px;color:var(--hcu-muted);font-size:12px}
.hcu-person-dot{width:7px;height:7px;border-radius:50%;background:#8ba080}
.hcu-tabs{display:flex;gap:4px;overflow-x:auto;padding:4px;margin:0 0 14px;border:1px solid var(--hcu-line);border-radius:999px;background:#f1efe6}
.hcu-tabs button{flex:1;min-width:max-content;min-height:39px;padding:8px 11px;border:0;border-radius:999px;background:transparent;color:var(--hcu-muted);font-size:12px;white-space:nowrap}
.hcu-tabs button[aria-selected="true"]{background:var(--hcu-paper);color:var(--hcu-ink);box-shadow:0 1px 3px #27291b12}
.hcu-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:14px 1px 8px}
.hcu-toolbar h3{font-size:22px}
.hcu-count{color:var(--hcu-muted);font-size:11px}
.hcu-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 13px;border:1px solid var(--hcu-line);border-radius:999px;background:var(--hcu-paper);color:var(--hcu-ink);font-size:12px;text-decoration:none}
.hcu-action.primary{border-color:var(--hcu-olive);background:var(--hcu-olive);color:#faf8f0}
.hcu-action.quiet{min-height:36px;padding:6px 9px;background:transparent;color:var(--hcu-olive)}
.hcu-action.danger{color:#874d4b}
.hcu-action:disabled{opacity:.55;cursor:wait}
.hcu-notice{margin:10px 0;padding:11px 13px;border-radius:12px;background:#edf0e7;color:#545e4b;font-size:12px;line-height:1.45}
.hcu-privacy{display:flex;gap:9px;align-items:flex-start;margin:17px 0 0;padding:12px 13px;border:1px solid var(--hcu-line);border-radius:13px;background:rgba(251,248,242,.62);color:var(--hcu-muted);font-size:11px;line-height:1.45}
.hcu-privacy-mark{flex:none;width:17px;height:19px;border:1.4px solid #77866d;border-radius:8px 8px 6px 6px;position:relative}
.hcu-privacy-mark:after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;background:#77866d;left:5.5px;top:6px}
.hcu-empty{padding:21px 16px;border:1px dashed #d5d6c9;border-radius:15px;background:rgba(251,248,242,.56);text-align:center}
.hcu-empty h3{font-size:22px}
.hcu-empty p{max-width:290px;margin:7px auto 13px;color:var(--hcu-muted);font-size:12px;line-height:1.5}
.hcu-list{border-top:1px solid var(--hcu-line)}
.hcu-record{padding:13px 1px;border-bottom:1px solid var(--hcu-line)}
.hcu-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.hcu-record-title{min-width:0}
.hcu-record-title strong{display:block;font-size:14px;font-weight:400;overflow-wrap:anywhere}
.hcu-record-title span{display:block;margin-top:4px;color:var(--hcu-muted);font-size:11px;line-height:1.4}
.hcu-record-type{display:inline-flex;margin-bottom:5px;color:#66735f;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.hcu-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}
.hcu-record-summary{margin:7px 0 0;color:var(--hcu-muted);font-size:11px}
.hcu-record-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.hcu-source{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:35px;padding:6px 9px;border:1px solid var(--hcu-line);border-radius:9px;background:#f2f0e8;color:#4e6250;font-size:11px;text-align:left;overflow-wrap:anywhere}
.hcu-source:before{content:"";flex:none;width:10px;height:12px;border:1px solid #83907b;border-radius:2px}
.hcu-archived{display:inline-block;padding:3px 7px;border-radius:999px;background:#eeece3;color:#79786d;font-size:10px}
.hcu-summary-card{padding:14px 15px;border:1px solid var(--hcu-line);border-radius:15px;background:#f0f1e9}
.hcu-summary-card strong{font-size:13px;font-weight:400}
.hcu-summary-card p{margin:4px 0 0;color:var(--hcu-muted);font-size:11px;line-height:1.45}
.hcu-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:12px 1px;border-bottom:1px solid var(--hcu-line)}
.hcu-metric-main{min-width:0}
.hcu-metric-main strong{display:block;font-size:14px;font-weight:400;overflow-wrap:anywhere}
.hcu-metric-value{margin-top:3px;font-family:var(--font-ui);font-size:21px;line-height:1.12}
.hcu-metric-meta{margin-top:3px;color:var(--hcu-muted);font-size:10px;line-height:1.45}
.hcu-source-status{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:999px;background:#eeeae0;color:#73654b;font-size:9px;letter-spacing:.035em}
.hcu-form{display:grid;gap:11px;margin-top:14px}
.hcu-field{display:grid;gap:5px;color:var(--hcu-muted);font-size:11px}
.hcu-field input,.hcu-field textarea,.hcu-field select{width:100%;min-width:0;min-height:42px;padding:9px 10px;border:1px solid var(--hcu-line);border-radius:10px;background:var(--hcu-paper);color:var(--hcu-ink);font-size:14px}
.hcu-field textarea{min-height:76px;resize:vertical}
.hcu-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.hcu-field-help{color:#87877d;font-size:10px;line-height:1.4}
.hcu-upload{display:grid;gap:8px;padding:13px;border:1px dashed #c9ccbd;border-radius:13px;background:#f5f3eb}
.hcu-upload strong{font-size:12px;font-weight:500}
.hcu-upload p{margin:3px 0 0;color:var(--hcu-muted);font-size:10px;line-height:1.45}
.hcu-upload input[type=file]{width:100%;font-size:11px}
.hcu-file-picked{color:#59684e!important}
.hcu-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}
.hcu-form-actions .primary{margin-left:auto}
.hcu-error{padding:9px 11px;border-radius:10px;background:#f6eae5;color:#834a42;font-size:11px;line-height:1.45}
.hcu-extract-note{padding:10px 11px;border-left:2px solid #9ba88c;background:#f1f2eb;color:#656d5d;font-size:11px;line-height:1.45}
.hcu-review-group{display:grid;gap:8px;margin-top:3px;padding:11px;border:1px solid var(--hcu-line);border-radius:13px;background:#f8f6ef}
.hcu-review-group h4{margin:0;font-size:12px;font-weight:500}
.hcu-review-row{display:grid;gap:8px;padding:10px;border:1px solid #e5e2d7;border-radius:10px;background:var(--hcu-paper)}
.hcu-review-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hcu-review-row-head strong{font-size:11px}
.hcu-remove-row{border:0;background:transparent;color:#87534c;font-size:10px;text-decoration:underline}
.hcu-review-flag{display:flex;align-items:flex-start;gap:7px;padding-top:3px;color:#716044;font-size:10px;line-height:1.35}
.hcu-review-flag input,.hcu-confirm input{flex:none;width:16px;height:16px;margin:0;accent-color:var(--hcu-olive)}
.hcu-confirm{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;border-radius:11px;background:#e9ede3;color:#4f5e49;font-size:11px;line-height:1.4}
.hcu-inline-add{width:100%;min-height:39px;border:1px dashed #c9ccbd;border-radius:10px;background:transparent;color:#5c6d54;font-size:11px}
.hcu-viewer{margin:0 auto}
.hcu-viewer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.hcu-viewer-head h2{font-size:24px;overflow-wrap:anywhere}
.hcu-viewer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.hcu-viewer-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:1px solid var(--hcu-line);border-radius:999px;background:var(--hcu-paper);color:var(--hcu-olive);font-size:12px;text-decoration:none}
.hcu-pdf-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;padding:6px;border:1px solid var(--hcu-line);border-radius:999px;background:#f1efe6;font-size:11px}
.hcu-pdf-controls button{min-height:44px;padding:7px 11px;border:0;border-radius:999px;background:var(--hcu-paper);color:var(--hcu-olive);font-size:11px}
.hcu-pdf-controls button:disabled{opacity:.45}
.hcu-pdf-state{margin:8px 2px;color:var(--hcu-muted);font-size:11px}
.hcu-pdf-page{overflow:hidden;border:1px solid var(--hcu-line);border-radius:8px;background:#fff;box-shadow:0 5px 22px #322e2012}
.hcu-pdf-page canvas{display:block;width:100%;height:auto}
.hcu-picker{display:grid;gap:7px;margin-top:13px}
.hcu-picker button{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid var(--hcu-line);border-radius:11px;background:var(--hcu-paper);text-align:left}
.hcu-picker button span{color:var(--hcu-muted);font-size:10px}
@keyframes hcu-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:420px){
  .hcu-shell{font-size:14px}
  .hcu-heading{gap:7px}
  .hcu-heading h2{font-size:29px}
  .hcu-action{padding-left:10px;padding-right:10px}
  .hcu-row-actions{max-width:118px}
  .hcu-grid-2{gap:7px}
  .hcu-form-actions .primary{margin-left:0;flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.hcu-shell{animation:none}}

/* FOR’U Wardrobe — image-led memory, deliberately distinct from inventory. */
.wdu-page{padding:3px 1px 32px;min-width:0}
.wdu-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:4px 2px 21px}
.wdu-heading h2{font:400 clamp(30px,5vw,39px)/1.02 var(--serif);letter-spacing:-.015em}
.wdu-heading p.wdu-concept{margin:4px 0 0;font:400 22px/1.05 var(--serif);color:var(--ink)}
.wdu-heading p:not(.eyebrow){margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.wdu-heading .eyebrow{margin-bottom:7px}
.wdu-add,.wdu-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 17px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:var(--ivory);font-size:13px;white-space:nowrap;transition:opacity .2s ease,transform .2s ease}
.wdu-add span{font-size:19px;font-weight:300;line-height:12px}
.wdu-add:hover,.wdu-save:hover{opacity:.86}
.wdu-tools{display:grid;gap:12px;margin:0 1px 19px}
.wdu-search{height:44px;display:flex;align-items:center;gap:10px;width:min(100%,550px);padding:0 13px;border:1px solid var(--line);border-radius:999px;background:rgba(251,248,242,.76);color:var(--faint)}
.wdu-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
.wdu-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:14px;color:var(--ink);box-shadow:none}
.wdu-search input:focus{box-shadow:none}
.wdu-chips{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:1px 1px 5px;scrollbar-width:none}
.wdu-chips::-webkit-scrollbar{display:none}
.wdu-chip{flex:none;min-height:32px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap}
.wdu-chip.is-active{border-color:var(--olive);background:var(--olive-soft);color:var(--olive)}
.wdu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}
.wdu-card{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(226,217,200,.78);border-radius:13px;background:var(--paper)}
.wdu-card-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit}
.wdu-photo{position:relative;overflow:hidden;aspect-ratio:4/4.5;background:#e9e2d7}
.wdu-photo img{display:block;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s ease}
.wdu-photo img[src]{opacity:1}
.wdu-photo-fallback{position:absolute;inset:0;display:none;align-items:center;justify-content:center;padding:20px;color:#81786c;font-size:12px;text-align:center}
.wdu-photo-failed .wdu-photo-fallback{display:flex}
.wdu-card-copy{display:grid;gap:6px;padding:12px 13px 14px}
.wdu-card-title{padding-right:30px;font:400 22px/1.06 var(--serif);color:var(--ink);overflow-wrap:anywhere}
.wdu-card-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--muted);font-size:12px;line-height:1.42}
.wdu-card-tags,.wdu-detail-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}
.wdu-card-tags span,.wdu-detail-tags span{padding:4px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:10px;line-height:1.2}
.wdu-overflow{position:absolute;right:9px;bottom:10px}
.wdu-overflow summary{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(226,217,200,.9);border-radius:50%;background:rgba(251,248,242,.96);color:var(--muted);cursor:pointer;list-style:none}
.wdu-overflow summary::-webkit-details-marker{display:none}
.wdu-overflow summary span{font-size:19px;line-height:12px;letter-spacing:1px}
.wdu-overflow-menu{position:absolute;z-index:5;right:0;bottom:36px;display:grid;width:130px;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 9px 25px rgba(44,37,27,.12)}
.wdu-overflow-menu button{min-height:36px;border:0;border-radius:7px;background:transparent;text-align:left;padding:7px 9px;font-size:12px}
.wdu-overflow-menu button:hover{background:var(--soft)}
.wdu-empty{display:grid;justify-items:center;gap:7px;max-width:430px;margin:36px auto 10px;padding:23px 18px;text-align:center}
.wdu-empty-mark{width:52px;height:68px;margin-bottom:5px;border:1px solid #d8cdbb;border-radius:45% 45% 8px 8px;position:relative}
.wdu-empty-mark:before{content:"";position:absolute;left:50%;top:-7px;width:17px;height:10px;border:1px solid #d8cdbb;border-radius:50%;transform:translateX(-50%)}
.wdu-empty p,.wdu-no-results p{margin:0;font:400 24px/1.1 var(--serif);color:var(--ink)}
.wdu-empty>span{max-width:300px;color:var(--muted);font-size:12px;line-height:1.5}
.wdu-empty-add{margin-top:10px}
.wdu-no-results{display:grid;justify-items:center;gap:12px;padding:45px 15px;text-align:center}
.wdu-no-results button,.wdu-retry{border:0;background:transparent;color:var(--olive);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.wdu-error{padding:15px;border:1px solid #d9b9ad;border-radius:11px;background:#f8eee8;color:#7c342c;font-size:13px}
.wdu-notice{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:-4px 1px 16px;padding:11px 13px;border:1px solid #d8c8ad;border-radius:10px;background:#f4ecde;color:#655b48;font-size:12px;line-height:1.45}
.wdu-notice button{flex:none;width:27px;height:27px;margin:-4px -5px 0 0;border:0;border-radius:50%;background:transparent;color:inherit;font-size:20px;line-height:1}
.wdu-notice button:hover{background:rgba(95,89,79,.1)}
.wdu-modal{width:min(100%,620px);padding:5px 1px 1px}
.wdu-modal h2{margin:0;padding-right:35px;font:400 32px/1.05 var(--serif)}
.wdu-modal-intro{margin:7px 0 17px;color:var(--muted);font-size:12px}
.wdu-editor{display:grid;gap:13px}
.wdu-photo-picker{display:grid;gap:9px}
.wdu-preview,.wdu-editor-photo{overflow:hidden;aspect-ratio:16/10;border-radius:12px;background:#e9e2d7}
.wdu-preview img{display:block;width:100%;height:100%;object-fit:cover}
.wdu-preview-failed{display:grid;place-items:center;padding:18px;background:#f8eee8}
.wdu-preview-failed:after{content:"This photo could not be previewed";color:#7c342c;font-size:12px}
.wdu-preview-failed img{display:none}
.wdu-editor-photo .wdu-photo{height:100%;aspect-ratio:auto}
.wdu-upload-placeholder{display:grid;place-content:center;justify-items:center;gap:7px;aspect-ratio:16/10;min-height:160px;padding:20px;border:1px dashed #d4c8b6;border-radius:12px;background:rgba(237,229,214,.34);color:var(--muted);text-align:center}
.wdu-upload-placeholder strong{font:400 20px/1.1 var(--serif);color:var(--ink)}
.wdu-upload-placeholder span{max-width:260px;font-size:11px;line-height:1.45}
.wdu-upload-error{border-color:#c88d7e;background:#f8eee8;color:#7c342c}
.wdu-photo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wdu-photo-button{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:var(--ivory);font-size:12px;cursor:pointer}
.wdu-photo-button input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.wdu-existing-picker{min-width:220px;flex:1}
.wdu-existing-picker select{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--paper);font-size:12px}
.wdu-file-status{margin:0;color:var(--faint);font-size:11px;line-height:1.4}
.wdu-file-status.is-error{color:#8a3f35}
.wdu-field{display:grid;gap:5px;min-width:0;color:var(--muted);font-size:11px}
.wdu-field input,.wdu-field textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.3);font-size:14px;color:var(--ink)}
.wdu-field textarea{resize:vertical;line-height:1.45}
.wdu-field input:focus,.wdu-field textarea:focus,.wdu-existing-picker select:focus{outline:0;border-color:var(--olive);box-shadow:var(--focus)}
.wdu-field-hint{font-size:10px;color:var(--faint)}
.wdu-extra{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 1px}
.wdu-extra summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:var(--olive);font-size:12px}
.wdu-extra summary::-webkit-details-marker{display:none}
.wdu-extra summary span{color:var(--faint);font-size:10px}
.wdu-extra-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:14px}
.wdu-extra-fields .wdu-field:has(textarea){grid-column:1/-1}
.wdu-form-error{min-height:0;color:#8a3f35;font-size:12px;line-height:1.4}
.wdu-form-error:not(:empty){padding:8px 10px;border-radius:8px;background:#f8eee8}
.wdu-form-actions{display:flex;align-items:center;gap:9px;margin-top:1px}
.wdu-save{min-width:120px}
.wdu-save:disabled,.wdu-cancel:disabled{opacity:.55;cursor:not-allowed}
.wdu-cancel{min-height:42px;padding:9px 15px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:12px}
.wdu-detail>.wdu-photo{aspect-ratio:16/10;margin:13px 0 17px;border-radius:12px}
.wdu-detail h2{font-size:36px}
.wdu-detail-description{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.5;white-space:pre-wrap}
.wdu-detail-tags{margin-top:13px}
.wdu-detail-meta{margin:12px 0 0;color:var(--faint);font-size:11px}
.wdu-detail-extra{margin-top:18px;padding-top:13px;border-top:1px solid var(--line)}
.wdu-detail-extra h3{font-size:20px}
.wdu-detail-extra p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5;white-space:pre-wrap}
.wdu-detail-extra summary{cursor:pointer;color:var(--olive);font-size:12px}
.wdu-detail .wdu-form-actions{margin-top:22px}
@media(max-width:767px){
  .wdu-heading{align-items:flex-start;gap:12px}
  .wdu-heading h2{font-size:33px}
  .wdu-heading .wdu-add{margin-top:18px;padding:9px 13px;min-height:40px;font-size:12px}
  .wdu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px}
  .wdu-card-title{font-size:20px}
  .wdu-card-copy{padding:10px}
  .wdu-overflow{right:7px;bottom:8px}
}
@media(max-width:430px){
  .wdu-heading{display:block;padding-bottom:17px}
  .wdu-heading .wdu-add{margin-top:13px}
  .wdu-grid{grid-template-columns:minmax(0,1fr);gap:15px}
  .wdu-photo{aspect-ratio:4/4.25}
  .wdu-card-copy{padding:12px 13px 14px}
  .wdu-card-title{font-size:22px}
  .wdu-extra-fields{grid-template-columns:1fr}
  .wdu-extra-fields .wdu-field:has(textarea){grid-column:auto}
  .wdu-photo-actions{align-items:stretch;flex-direction:column}
  .wdu-existing-picker{width:100%}
  .wdu-detail h2{font-size:31px}
}
@media(prefers-reduced-motion:reduce){.wdu-photo img{transition:none}}

/* People index — quiet, unified record collection. */
#family .people-index{max-width:100%}
#family .people-index-heading{margin:0 0 20px}
#family .people-index-heading .eyebrow{margin:0 0 8px;color:var(--muted);font-size:10px;font-weight:500;letter-spacing:.16em;line-height:1.3}
#family .people-index-heading h2{margin:0;color:var(--ink);font:400 27px/1.15 var(--serif);letter-spacing:-.025em}
#family .people-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#family .people-record{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--paper)}
#family .people-record-open{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;min-height:80px;padding:15px 14px;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer;transition:background-color .16s ease}
#family .people-record-open:hover{background:rgba(255,255,255,.42)}
#family .people-record-open:focus-visible{position:relative;z-index:1;outline:2px solid var(--moss);outline-offset:-3px}
#family .people-record .people-avatar{width:38px;height:38px;background:var(--soft);color:var(--ink);font-size:20px}
#family .people-record .people-identity{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
#family .people-record .people-name{max-width:100%;font:400 14px/1.2 var(--sans);overflow-wrap:anywhere}
#family .people-record .people-relation,
#family .people-record .people-recognition-fact{max-width:100%;margin:0;color:var(--muted);font-size:10px;line-height:1.35;overflow-wrap:anywhere}
#family .people-record .people-recognition-fact{color:var(--faint)}
#family .people-record-arrow{justify-self:end;color:var(--muted);font:400 15px/1 var(--sans);transition:transform .16s ease}
#family .people-record-open:hover .people-record-arrow{transform:translateX(2px)}
#family .people-privacy-note{display:flex;align-items:flex-start;gap:9px;max-width:450px;margin:26px 0 0;color:var(--muted)}
#family .people-privacy-note svg{flex:none;width:13px;height:13px;margin-top:1px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.25}
#family .people-privacy-note div{display:grid;gap:2px;min-width:0}
#family .people-privacy-note strong{font-size:10px;font-weight:500;line-height:1.35}
#family .people-privacy-note span{font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#family .people-add-action{display:inline-flex;align-items:center;min-height:44px;margin:9px 0 0;padding:6px 0;border:0;background:transparent;color:var(--muted);font:500 11px/1.3 var(--sans);text-align:left;text-decoration:underline;text-decoration-color:rgba(80,82,66,.35);text-underline-offset:3px;cursor:pointer}
#family .people-add-action:hover{color:var(--ink);text-decoration-color:currentColor}
#family .people-add-action:focus-visible{outline:2px solid var(--moss);outline-offset:3px}
@media(max-width:600px){
  #family .people-index-heading{margin-bottom:17px}
  #family .people-index-heading h2{font-size:25px;line-height:1.12}
  #family .people-record-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  #family .people-record-open{min-height:64px;gap:11px;padding:10px 12px}
  #family .people-privacy-note{margin-top:22px}
}

/* Delegation overview: quiet editorial tracking, scoped to the Home delegation region. */
#homeDelegation .delegation-overview{min-width:0;padding:4px 0 12px}
#homeDelegation .delegation-overview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 2px 24px}
#homeDelegation .delegation-eyebrow{margin:0 0 9px;color:var(--muted);font:500 10px/1.3 var(--sans);letter-spacing:.17em}
#homeDelegation .delegation-overview-head h2{margin:0;color:var(--ink);font:400 clamp(35px,4vw,48px)/.98 var(--serif);letter-spacing:-.035em}
#homeDelegation .delegation-intro{margin:9px 0 0;color:var(--muted);font:400 13px/1.5 var(--sans)}
#homeDelegation .delegation-add-work{display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex:none;padding:8px 0;border:0;background:transparent;color:var(--muted);font:500 12px/1.35 var(--sans);text-decoration:underline;text-decoration-color:rgba(80,82,66,.35);text-underline-offset:4px;cursor:pointer}
#homeDelegation .delegation-add-work:hover,#homeDelegation .delegation-add-work:focus-visible{color:var(--ink);text-decoration-color:currentColor}
#homeDelegation .delegation-summary{display:grid;gap:10px;margin:0 0 30px;padding:18px 21px;background:var(--moss-dark);color:var(--ivory)}
#homeDelegation .delegation-summary>p{margin:0;color:rgba(250,248,240,.72);font:500 9px/1.3 var(--sans);letter-spacing:.16em}
#homeDelegation .delegation-summary>div{display:flex;align-items:baseline;gap:8px 22px;flex-wrap:wrap}
#homeDelegation .delegation-summary strong{font:400 25px/1.12 var(--serif);letter-spacing:-.015em}
#homeDelegation .delegation-summary span{color:rgba(250,248,240,.82);font:400 12px/1.4 var(--sans)}
#homeDelegation .delegation-attention-section{min-width:0;margin:0 2px 30px}
#homeDelegation .delegation-attention-section>h3{margin:0 0 10px;color:var(--muted);font:500 9px/1.4 var(--sans);letter-spacing:.15em;text-transform:uppercase}
#homeDelegation .delegation-attention-group{min-width:0;margin:0 0 19px}
#homeDelegation .delegation-person-group{min-width:0}
#homeDelegation .delegation-person-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 0 9px;border-bottom:1px solid var(--line)}
#homeDelegation .delegation-person-identity{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}
#homeDelegation .delegation-person-name,#homeDelegation .delegation-person-link{max-width:100%;color:var(--ink);font:400 21px/1.15 var(--serif);overflow-wrap:anywhere}
#homeDelegation .delegation-person-link{min-height:44px;margin:-9px 0 -9px -9px;padding:9px;border:0;background:transparent;text-align:left;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;cursor:pointer}
#homeDelegation .delegation-person-link:hover,#homeDelegation .delegation-person-link:focus-visible{text-decoration-color:currentColor}
#homeDelegation .delegation-person-identity p{margin:0;color:var(--faint);font:400 11px/1.4 var(--sans);overflow-wrap:anywhere}
#homeDelegation .delegation-group-count{flex:none;color:var(--faint);font:400 10px/1.35 var(--sans)}
#homeDelegation .delegation-open-list{min-width:0}
#homeDelegation .delegation-open-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-width:0;padding:12px 0;border-bottom:1px solid var(--line)}
#homeDelegation .delegation-open-row:last-child{border-bottom:0}
#homeDelegation .delegation-open-copy{min-width:0}
#homeDelegation .delegation-open-copy strong{display:block;color:var(--ink);font:500 13px/1.45 var(--sans);overflow-wrap:anywhere}
#homeDelegation .delegation-open-copy p{display:flex;gap:4px;margin:4px 0 0;color:var(--faint);font:400 10px/1.4 var(--sans);flex-wrap:wrap}
#homeDelegation .delegation-open-row.is-complete .delegation-open-copy strong{color:var(--muted)}
#homeDelegation .delegation-mark-done{min-width:68px;min-height:44px;padding:7px 10px;border:0;background:transparent;color:var(--muted);font:500 11px/1.3 var(--sans);cursor:pointer}
#homeDelegation .delegation-mark-done:hover,#homeDelegation .delegation-mark-done:focus-visible{color:var(--moss-dark);text-decoration:underline;text-underline-offset:3px}
#homeDelegation .delegation-row-menu{position:relative;justify-self:end}
#homeDelegation .delegation-row-menu summary{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--muted);font:400 22px/1 var(--sans);list-style:none;cursor:pointer}
#homeDelegation .delegation-row-menu summary::-webkit-details-marker{display:none}
#homeDelegation .delegation-row-menu summary:hover,#homeDelegation .delegation-row-menu summary:focus-visible,#homeDelegation .delegation-row-menu[open] summary{background:rgba(80,82,66,.08);color:var(--ink)}
#homeDelegation .delegation-row-menu-items{position:absolute;z-index:8;top:calc(100% - 2px);right:0;display:grid;min-width:140px;max-width:min(190px,calc(100vw - 32px));padding:5px;background:var(--paper);border:1px solid var(--line);box-shadow:0 7px 18px rgba(43,42,34,.12)}
#homeDelegation .delegation-row-menu-items button{min-height:44px;padding:8px 10px;border:0;background:transparent;color:var(--ink);font:400 12px/1.35 var(--sans);text-align:left;cursor:pointer}
#homeDelegation .delegation-row-menu-items button:hover,#homeDelegation .delegation-row-menu-items button:focus-visible{background:rgba(80,82,66,.08)}
#homeDelegation .delegation-group-action{display:flex;align-items:flex-start;gap:8px 15px;flex-wrap:wrap;padding:8px 0 0}
#homeDelegation .delegation-group-action>button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:7px 13px;border:1px solid var(--moss-dark);background:var(--moss-dark);color:var(--ivory);font:500 12px/1.35 var(--sans);cursor:pointer}
#homeDelegation .delegation-group-action>button:hover,#homeDelegation .delegation-group-action>button:focus-visible{background:var(--olive);border-color:var(--olive)}
#homeDelegation .delegation-group-action>button span{font-size:16px}
#homeDelegation .delegation-waiting-action>button{border-color:var(--line);background:transparent;color:var(--muted)}
#homeDelegation .delegation-group-action>p{align-self:center;max-width:360px;margin:0;color:var(--faint);font:400 10px/1.45 var(--sans)}
#homeDelegation .delegation-history{margin:8px 2px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#homeDelegation .delegation-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;color:var(--muted);font:500 12px/1.4 var(--sans);list-style:none;cursor:pointer}
#homeDelegation .delegation-history>summary::-webkit-details-marker{display:none}
#homeDelegation .delegation-history>summary::after{content:"+";color:var(--faint);font:400 17px/1 var(--sans)}
#homeDelegation .delegation-history[open]>summary::after{content:"−"}
#homeDelegation .delegation-history>summary span{margin-left:auto;color:var(--faint);font:400 10px/1.4 var(--sans)}
#homeDelegation .delegation-history-group{padding:3px 0 14px}
#homeDelegation .delegation-history-group h4{margin:7px 0;color:var(--ink);font:400 16px/1.2 var(--serif)}
#homeDelegation .delegation-history-group h4 span{color:var(--faint);font:400 10px/1.4 var(--sans)}
#homeDelegation .delegation-empty-state{margin:0 2px 24px;padding:14px 0;color:var(--muted);font:400 13px/1.55 var(--sans)}
@media(max-width:600px){
  #homeDelegation .delegation-overview-head{align-items:flex-start;gap:12px;margin-bottom:19px}
  #homeDelegation .delegation-overview-head h2{font-size:37px}
  #homeDelegation .delegation-intro{max-width:230px;font-size:12px}
  #homeDelegation .delegation-add-work{max-width:110px;text-align:right}
  #homeDelegation .delegation-summary{gap:9px;margin-bottom:24px;padding:16px}
  #homeDelegation .delegation-summary strong{font-size:23px}
  #homeDelegation .delegation-open-row{grid-template-columns:minmax(0,1fr) auto auto;gap:5px;padding:9px 0}
  #homeDelegation .delegation-mark-done{min-width:56px;padding:6px}
}

/* Maintenance operational view: editorial ledger, not a record catalogue. */
#homeMaintenance .home-maintenance-panel{min-width:0;padding:2px 0 24px;color:var(--ink)}
#homeMaintenance .maintenance-operational-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:13px 2px 25px;border-bottom:1px solid var(--line)}
#homeMaintenance .maintenance-eyebrow{margin:0 0 11px;color:var(--olive);font-size:10px;font-weight:500;letter-spacing:.19em}
#homeMaintenance .maintenance-operational-header h1{font-family:var(--serif);font-size:clamp(40px,7vw,61px);line-height:.98;font-weight:400;letter-spacing:-.025em}
#homeMaintenance .maintenance-operational-header p:last-child{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
#homeMaintenance .maintenance-add{flex:none;min-height:46px;padding:10px 16px;border:1px solid var(--olive);border-radius:999px;background:var(--olive);color:var(--ivory);font-size:13px;transition:transform .2s ease,opacity .2s ease}
#homeMaintenance .maintenance-add:hover{opacity:.9}
#homeMaintenance .maintenance-health{margin:14px 0 4px}
#homeMaintenance .maintenance-section{margin-top:29px}
#homeMaintenance .maintenance-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:0 2px 9px;border-bottom:1px solid var(--line)}
#homeMaintenance .maintenance-section-heading h2{font-family:var(--serif);font-size:29px;line-height:1.1}
#homeMaintenance .maintenance-section-heading>span{color:var(--faint);font-size:11px;font-variant-numeric:tabular-nums}
#homeMaintenance .maintenance-row-list{border-bottom:1px solid var(--line)}
#homeMaintenance .maintenance-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px 2px;border-top:1px solid var(--line)}
#homeMaintenance .maintenance-row:first-child{border-top:0}
#homeMaintenance .maintenance-row-date{align-self:start;padding-top:3px;color:var(--olive);font-size:10px;font-weight:500;letter-spacing:.075em;line-height:1.4;font-variant-numeric:tabular-nums}
#homeMaintenance .maintenance-row-date span{color:var(--faint);font-weight:500;font-size:9px}
#homeMaintenance .maintenance-row-main{min-width:0}
#homeMaintenance .maintenance-row-main h3,#homeMaintenance .maintenance-history-row h3{font-family:var(--sans);font-size:15px;font-weight:400;line-height:1.35;overflow-wrap:anywhere}
#homeMaintenance .maintenance-row-meta{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
#homeMaintenance .maintenance-row-meta span{padding:0 3px;color:var(--faint)}
#homeMaintenance .maintenance-provenance{display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px;margin-top:6px;color:var(--faint);font-size:11px}
#homeMaintenance .maintenance-source-link{min-height:44px;padding:5px 0;border:0;background:transparent;color:var(--olive);font-size:11px;text-decoration:underline;text-underline-offset:3px}
#homeMaintenance .maintenance-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
#homeMaintenance .maintenance-primary{min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--olive);font-size:12px;white-space:nowrap;transition:background .2s ease,border-color .2s ease,transform .2s ease}
#homeMaintenance .maintenance-primary:hover{border-color:var(--olive);background:var(--olive-soft)}
#homeMaintenance .maintenance-more{position:relative;flex:none}
#homeMaintenance .maintenance-more summary{display:grid;place-items:center;min-width:44px;min-height:44px;padding:5px 8px;border-radius:999px;color:var(--muted);font-size:11px;cursor:pointer;list-style:none}
#homeMaintenance .maintenance-more summary::-webkit-details-marker{display:none}
#homeMaintenance .maintenance-more summary::after{content:"···";margin-left:4px;font-size:16px;letter-spacing:1px}
#homeMaintenance .maintenance-more summary:hover{background:var(--soft)}
#homeMaintenance .maintenance-more-menu{position:absolute;z-index:8;right:0;top:calc(100% + 4px);display:grid;gap:2px;width:min(250px,calc(100vw - 44px));padding:8px;border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:0 10px 26px rgba(38,34,27,.1)}
#homeMaintenance .maintenance-overflow-action{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:44px;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:12px;text-align:left}
#homeMaintenance .maintenance-overflow-action:hover{background:var(--soft)}
#homeMaintenance .maintenance-assignee-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:5px}
#homeMaintenance .maintenance-assignee-form input{min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--ivory);font-size:13px}
#homeMaintenance .maintenance-assignee-form .maintenance-overflow-action{width:auto;white-space:nowrap}
#homeMaintenance .maintenance-empty{margin:0;padding:13px 2px;color:var(--faint);font-size:13px;line-height:1.5}
#homeMaintenance .maintenance-history{margin-top:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#homeMaintenance .maintenance-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 2px;font-family:var(--serif);font-size:24px;cursor:pointer;list-style:none}
#homeMaintenance .maintenance-history>summary::-webkit-details-marker{display:none}
#homeMaintenance .maintenance-history>summary::after{content:"+";margin-left:auto;color:var(--olive);font-family:var(--sans);font-size:19px}
#homeMaintenance .maintenance-history[open]>summary::after{content:"−"}
#homeMaintenance .maintenance-history-count{margin-left:auto;color:var(--faint);font-family:var(--sans);font-size:11px}
#homeMaintenance .maintenance-history-list{padding-bottom:9px}
#homeMaintenance .maintenance-history-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 2px;border-top:1px solid var(--line)}
#homeMaintenance .maintenance-history-row h3{font-size:14px;font-weight:500}
#homeMaintenance .maintenance-history-row p{margin:4px 0 0;color:var(--faint);font-size:11px}
#homeMaintenance .maintenance-history-mark{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--olive-soft);color:var(--olive);font-size:12px}
#homeMaintenance .maintenance-history-row .maintenance-provenance{margin-top:2px}
#homeMaintenance .maintenance-health:empty{display:none}
#homeMaintenance .maintenance-primary:focus-visible,#homeMaintenance .maintenance-add:focus-visible,#homeMaintenance .maintenance-more summary:focus-visible,#homeMaintenance .maintenance-history>summary:focus-visible,#homeMaintenance .maintenance-source-link:focus-visible{outline:2px solid var(--olive);outline-offset:3px}
@media(max-width:520px){
  #homeMaintenance .maintenance-operational-header{align-items:flex-start;flex-direction:column;gap:13px;padding-bottom:19px}
  #homeMaintenance .maintenance-operational-header h1{font-size:clamp(39px,11vw,51px)}
  #homeMaintenance .maintenance-row{grid-template-columns:58px minmax(0,1fr);gap:8px 11px;padding:13px 1px}
  #homeMaintenance .maintenance-row-date{font-size:9px}
  #homeMaintenance .maintenance-row-actions{grid-column:2;justify-content:flex-start;gap:8px;margin-top:-2px}
  #homeMaintenance .maintenance-row-main h3{font-size:14px}
  #homeMaintenance .maintenance-primary{min-height:44px}
  #homeMaintenance .maintenance-history-row{grid-template-columns:22px minmax(0,1fr) auto;gap:8px}
}

/* Home / Useful & Shareable — a quiet, searchable reference shelf. */
.useful-section{
  --useful-wash:#e6e9dd;
  --useful-rule:#d9ddcf;
  --useful-ink:#34463a;
  min-width:0;
  margin:12px 0 30px;
  color:var(--ink);
}
.useful-section .useful-header{
  display:block;
  margin:0 2px 20px;
  padding:4px 0 19px;
  border-bottom:1px solid var(--useful-rule);
}
.useful-section .useful-header .eyebrow{margin:0 0 8px;color:var(--olive)}
.useful-section .useful-header h2{
  max-width:720px;
  font-size:clamp(34px,6vw,48px);
  line-height:1.02;
  letter-spacing:-.015em;
}
.useful-intro{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
.useful-section .useful-filters,.useful-section .useful-service-categories{
  display:flex;
  gap:7px;
  min-width:0;
  max-width:100%;
  margin:0 0 14px;
  padding:1px 2px 5px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--useful-rule) transparent;
  white-space:nowrap;
}
.useful-section .useful-filter-chip{
  flex:none;
  min-height:44px;
  padding:8px 15px;
  border-color:transparent;
  background:transparent;
  color:var(--muted);
  font-size:13px;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.useful-section .useful-filter-chip:hover{border-color:var(--useful-rule);color:var(--useful-ink)}
.useful-section .useful-filter-chip.active{
  border-color:#c8d0c2;
  background:var(--useful-wash);
  color:var(--useful-ink);
}
.useful-section .useful-service-categories{margin-top:-7px;margin-bottom:13px;padding-left:3px}
.useful-section .useful-service-categories .useful-filter-chip{
  min-height:36px;
  padding:6px 11px;
  border:1px solid var(--useful-rule);
  font-size:11px;
}
.useful-section .useful-service-categories .useful-filter-chip.active{border-color:#b9c6b8;background:#e9ede4}
.useful-section .useful-search{
  display:block;
  width:min(100%,430px);
  margin:0 2px 14px;
  border:1px solid var(--useful-rule);
  border-radius:12px;
  background:rgba(251,248,242,.72);
}
.useful-section .useful-search input{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:10px 13px;
  border:0;
  border-radius:inherit;
  outline:0;
  background:transparent;
  color:var(--ink);
  font-size:14px;
}
.useful-section .useful-search:focus-within{border-color:var(--olive);box-shadow:var(--focus)}
.useful-section .useful-row-list{display:grid;min-width:0}
.useful-section [data-useful-panel][hidden]{display:none!important}
.useful-section .useful-row{
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  padding:14px 2px;
  border-color:var(--useful-rule);
}
.useful-section .useful-row-main{min-height:44px;align-content:center}
.useful-section .useful-row-kicker{color:#77816f}
.useful-section .useful-row-title{font-size:23px;line-height:1.12}
.useful-section .useful-row-copy{color:#656d60;font-size:13px;line-height:1.4}
.useful-section .useful-row-actions{gap:4px}
.useful-section .useful-row-actions .card-btn{min-height:44px}
.useful-section .useful-row-actions .useful-quick-link{
  min-width:44px;
  min-height:44px;
  padding:8px 10px;
  border:1px solid transparent;
  background:transparent;
  color:var(--useful-ink);
  font-size:12px;
}
.useful-section .useful-row-actions .useful-quick-link:hover,
.useful-section .useful-row-actions .useful-quick-link:focus-visible{border-color:var(--useful-rule);background:#f0f1e9}
.useful-section .useful-row-menu>summary{
  width:44px;
  height:44px;
  border-color:transparent;
  background:transparent;
  color:var(--muted);
  transition:background-color .18s ease,color .18s ease;
}
.useful-section .useful-row-menu>summary:hover{background:var(--useful-wash);color:var(--useful-ink)}
.useful-section .useful-filter-empty{
  margin:17px 2px;
  padding:14px 0;
  border-top:1px solid var(--useful-rule);
  color:var(--muted);
  text-align:left;
}
.useful-section .useful-empty-state{max-width:500px;padding:28px 4px 34px}
.useful-section .useful-empty-state h3{color:var(--useful-ink);font-size:29px}
.useful-section .useful-empty-state p{margin:7px 0 16px;color:var(--muted);font-size:14px;line-height:1.5}
.useful-section .useful-empty-add{
  min-height:44px;
  padding:9px 15px;
  border:1px solid #b9c6b8;
  border-radius:999px;
  background:var(--useful-wash);
  color:var(--useful-ink);
  font-size:13px;
  transition:background-color .18s ease,border-color .18s ease;
}
.useful-section .useful-empty-add:hover{border-color:#9eae9e;background:#dce3d7}
.useful-section :focus-visible{outline:2px solid var(--olive);outline-offset:3px}
@media(max-width:520px){
  .useful-section .useful-header{margin-bottom:15px;padding-bottom:15px}
  .useful-section .useful-filters{margin-right:-16px;padding-right:16px}
  .useful-section .useful-row{grid-template-columns:minmax(0,1fr);gap:6px;padding:13px 2px}
  .useful-section .useful-row-actions{justify-content:flex-start;flex-wrap:wrap;gap:1px}
  .useful-section .useful-row-menu{margin-left:auto}
  .useful-section .useful-row-copy{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
  .useful-section .useful-filter-chip,
  .useful-section .useful-row-actions .useful-quick-link,
  .useful-section .useful-row-menu>summary,
  .useful-section .useful-empty-add{transition:none}
}
/* Contact actions stay quiet text links; pills are reserved for real filters. */
#homeUseful .useful-row-actions .useful-link,
#homeUseful .useful-row-actions .useful-quick-link{
  min-height:44px;
  border:0;
  border-radius:0;
  background:transparent;
  padding:7px 8px;
}
#homeUseful .useful-row-actions a:hover,
#homeUseful .useful-row-actions a:focus-visible{
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Thoughts: private editorial reading flow, deliberately distinct from record-management UI. */
#homeThoughts .thoughts-section{
  --thought-ink:#34352f;
  --thought-muted:#77796f;
  --thought-rule:#deddd2;
  --thought-wash:#efeee5;
  --thought-oxblood:#713b43;
  min-width:0;
  padding:10px 0 34px;
}
#homeThoughts .thought-journal-column{width:min(100%,690px);margin:0 auto}
#homeThoughts .thought-heading{display:block;margin:0 0 35px;padding:0 0 23px;border-bottom:1px solid var(--thought-rule)}
#homeThoughts .thought-heading .eyebrow{margin:0 0 9px;color:#828275;font:500 10px var(--font-ui);letter-spacing:.17em}
#homeThoughts .thought-heading h2{color:var(--thought-ink);font:500 34px/1.1 var(--font-display);letter-spacing:normal}
#homeThoughts .thought-intro{margin:9px 0 0;color:var(--thought-muted);font:400 14px/1.5 var(--font-ui)}
#homeThoughts .thought-search-label{margin:0 0 8px;color:#818275;font:500 10px var(--font-ui);letter-spacing:.15em}
#homeThoughts .thought-search{min-height:52px;margin:0;border:0;border-bottom:1px solid #aaa99c;border-radius:0;background:transparent;padding:0 2px}
#homeThoughts .thought-search:focus-within{border-color:var(--thought-ink);box-shadow:none}
#homeThoughts .thought-search input{min-height:50px;padding:10px 6px;color:var(--thought-ink);font:400 14px var(--font-ui)}
#homeThoughts .thought-search input::placeholder{color:#929387;opacity:1}
#homeThoughts .thought-search-button{min-height:44px;min-width:64px;border:0;border-radius:0;background:transparent;padding:8px 10px;color:var(--thought-muted);font:500 12px var(--font-ui)}
#homeThoughts .thought-search-button:hover{color:var(--thought-ink);text-decoration:underline;text-underline-offset:4px}
#homeThoughts .thought-search-status{margin:8px 2px;color:var(--thought-muted);font:400 12px/1.45 var(--font-ui)}
#homeThoughts #thoughtSearchResults{margin-top:20px}
#homeThoughts .thought-results-heading{margin:0 0 14px;color:#77796f;font:500 10px var(--font-ui);letter-spacing:.12em}
#homeThoughts .thought-search-results{margin:0;padding:0;border-radius:0;background:transparent}
#homeThoughts .thought-list{display:grid;gap:0}
#homeThoughts .thought-date-group{min-width:0}
#homeThoughts .thought-date-heading{margin:31px 0 7px;padding:0 0 9px;border-bottom:1px solid var(--thought-rule);color:#858579;font:500 10px/1.3 var(--font-ui);letter-spacing:.12em;text-transform:uppercase}
#homeThoughts .thought-date-group:first-child .thought-date-heading{margin-top:30px}
#homeThoughts .thought-date-entries{display:grid}
#homeThoughts .thought-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0 12px;min-width:0;padding:19px 0 18px;border:0;border-bottom:1px solid var(--thought-rule);border-radius:0;background:transparent}
#homeThoughts .thought-card-date{grid-column:1/-1;margin:0 0 9px;color:#87877b;font:500 10px var(--font-ui);letter-spacing:.08em;text-transform:uppercase}
#homeThoughts .thought-entry-open{display:grid;align-content:start;justify-items:start;gap:7px;grid-column:1;grid-row:1 / span 3;min-width:0;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
#homeThoughts .thought-card-date~.thought-entry-open{grid-row:2 / span 3}
#homeThoughts .thought-card-meta{display:block;color:#858579;font:500 9px/1.4 var(--font-ui);letter-spacing:.12em;text-transform:uppercase}
#homeThoughts .thought-body{display:block;max-width:100%;margin:0;color:var(--thought-ink);font:400 clamp(21px,3vw,27px)/1.29 var(--font-display);white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
#homeThoughts .thought-entry-open:hover .thought-body{text-decoration:underline;text-decoration-color:#c5c4b8;text-underline-offset:4px}
#homeThoughts .thought-card-title{color:#858579;font:400 12px/1.4 var(--font-ui);overflow-wrap:anywhere}
#homeThoughts .thought-bookmark-mark{position:absolute;top:21px;right:57px;width:3px;height:17px;background:var(--thought-oxblood)}
#homeThoughts .thought-card-detail{grid-column:1;margin:9px 0 0;color:var(--thought-muted);font:400 11px/1.45 var(--font-ui);overflow-wrap:anywhere}
#homeThoughts .thought-index-status{grid-column:1;margin:9px 0 0;color:var(--thought-muted);font:400 11px/1.45 var(--font-ui)}
#homeThoughts .thought-match{display:inline-block;margin:7px 0 0;padding:0;border-radius:0;background:transparent;color:#73776b;font:500 9px var(--font-ui);letter-spacing:.1em;text-transform:uppercase}
#homeThoughts .thought-overflow{position:relative;z-index:1;grid-column:2;grid-row:1;justify-self:end}
#homeThoughts .thought-card-date~.thought-overflow{grid-row:2}
#homeThoughts .thought-overflow>summary{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#77796f;cursor:pointer;list-style:none;font:500 18px/1 var(--font-ui)}
#homeThoughts .thought-overflow>summary::-webkit-details-marker{display:none}
#homeThoughts .thought-overflow>summary:hover,#homeThoughts .thought-overflow[open]>summary{background:var(--thought-wash);color:var(--thought-ink)}
#homeThoughts .thought-overflow-menu{position:absolute;top:44px;right:0;display:grid;min-width:205px;padding:7px;border:1px solid var(--thought-rule);background:#f8f7ef;box-shadow:0 10px 24px #34352f12}
#homeThoughts .thought-overflow-menu .thought-action{width:100%;min-height:44px;padding:10px 11px;border:0;border-radius:0;background:transparent;color:var(--thought-ink);text-align:left;font:400 12px var(--font-ui)}
#homeThoughts .thought-overflow-menu .thought-action:hover,#homeThoughts .thought-overflow-menu .thought-action:focus-visible{background:var(--thought-wash);color:var(--thought-ink)}
#homeThoughts .thought-overflow-menu .thought-card-detail{margin:7px 10px}
#homeThoughts .thought-see-more,#homeThoughts .thought-create-collection{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:15px 0;padding:8px 2px;border:0;background:transparent;color:#686b60;font:500 12px var(--font-ui);text-decoration:underline;text-decoration-color:#c5c4b8;text-underline-offset:4px}
#homeThoughts .thought-see-more:hover,#homeThoughts .thought-create-collection:hover{color:var(--thought-ink)}
#homeThoughts .thought-secondary-disclosure{margin:17px 0 0;border-top:1px solid var(--thought-rule)}
#homeThoughts .thought-secondary-disclosure>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;color:#707267;cursor:pointer;list-style:none;font:500 12px var(--font-ui)}
#homeThoughts .thought-secondary-disclosure>summary::-webkit-details-marker{display:none}
#homeThoughts .thought-secondary-disclosure>summary::after{content:"+";font:400 16px var(--font-ui);color:#88897e}
#homeThoughts .thought-secondary-disclosure[open]>summary::after{content:"−"}
#homeThoughts .thought-archive-disclosure>summary::after,
#homeThoughts .thought-archive-disclosure[open]>summary::after{content:none}
#homeThoughts .thought-archive-disclosure>summary .thought-archive-label{margin:0;color:inherit;font-size:inherit}
#homeThoughts .thought-archive-disclosure>summary .thought-archive-chevron{margin:0 0 0 auto;color:inherit;font-size:20px}
#homeThoughts .thought-archive-disclosure[open]>summary .thought-archive-chevron{transform:rotate(90deg)}
#homeThoughts .thought-secondary-disclosure>summary span{margin-left:auto;margin-right:12px;color:#99998d;font-size:11px}
#homeThoughts .thought-secondary-disclosure .thought-card{padding-left:4px;padding-right:4px}
#homeThoughts .thought-secondary-disclosure .thought-collections{display:grid;gap:0}
#homeThoughts .thought-secondary-disclosure .thought-collection{min-height:58px;padding:9px 0;border-top:1px solid #e9e8df}
#homeThoughts .thought-secondary-disclosure .thought-collection strong{color:var(--thought-ink);font:400 18px var(--font-ui)}
#homeThoughts .thought-secondary-disclosure .thought-collection span{color:var(--thought-muted);font:400 11px var(--font-ui)}
#homeThoughts .thought-secondary-disclosure .thought-collection .thought-actions{gap:5px}
#homeThoughts .thought-secondary-disclosure .thought-collection .thought-action{min-height:44px;border:0;border-radius:0;font:500 11px var(--font-ui)}
#homeThoughts .thought-proposal-disclosure .thought-proposal{margin:0 0 15px;padding:0;background:transparent}
#homeThoughts .thought-proposal-disclosure .thought-proposal p{color:var(--thought-muted);font:400 12px/1.5 var(--font-ui)}
#homeThoughts .thought-proposal-disclosure .thought-actions{gap:7px}
#homeThoughts .thought-proposal-disclosure .thought-action{min-height:44px;border:0;border-radius:0;font:500 11px var(--font-ui)}
#homeThoughts .thought-book-module{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:38px 0 0;padding:17px 0;border-top:1px solid var(--thought-rule);border-bottom:1px solid var(--thought-rule)}
#homeThoughts .thought-book-module .eyebrow{margin:0 0 5px;color:var(--thought-oxblood);font:500 9px var(--font-ui);letter-spacing:.15em}
#homeThoughts .thought-book-module h3{color:var(--thought-ink);font:400 23px/1.15 var(--font-ui)}
#homeThoughts .thought-book-module p:last-child{margin:5px 0 0;color:var(--thought-muted);font:400 11px/1.45 var(--font-ui)}
#homeThoughts .thought-book-open{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:var(--thought-oxblood);font:400 24px var(--font-ui);cursor:pointer}
#homeThoughts .thought-book-open:hover{transform:translateX(3px)}
#homeThoughts .thought-empty{max-width:420px;margin:35px 0 5px;padding:0}
#homeThoughts .thought-empty p{margin:0 0 11px;color:var(--thought-muted);font:400 22px/1.28 var(--font-display)}
#homeThoughts .thought-empty .thought-capture{min-height:44px;padding:9px 0;border:0;background:transparent;color:#66695e;font:500 12px var(--font-ui);text-decoration:underline;text-decoration-color:#c5c4b8;text-underline-offset:4px}
#homeThoughts .thought-search-empty{padding:12px 0;color:var(--thought-muted);font:400 13px/1.5 var(--font-ui)}
#homeThoughts .thought-journal-column :focus-visible{outline:2px solid #77796f;outline-offset:3px}
@media(max-width:520px){
  #homeThoughts .thoughts-section{padding-top:5px}
  #homeThoughts .thought-journal-column{width:100%}
  #homeThoughts .thought-heading{margin-bottom:29px;padding-bottom:19px}
  #homeThoughts .thought-heading h2{font-size:31px;line-height:1.1}
  #homeThoughts .thought-card{padding-top:17px;padding-bottom:17px;grid-template-columns:minmax(0,1fr) 44px;column-gap:5px}
  #homeThoughts .thought-body{font-size:23px;line-height:1.3}
  #homeThoughts .thought-bookmark-mark{right:53px}
  #homeThoughts .thought-overflow-menu{max-width:min(240px,calc(100vw - 40px))}
}
@media(prefers-reduced-motion:reduce){
  #homeThoughts .thought-book-open{transition:none}
}
.thought-collection-view{max-width:680px;min-width:0}
.thought-collection-view .thought-card{position:relative;background:none;border:0;border-radius:0;box-shadow:none;padding:24px 0;border-bottom:1px solid var(--line)}
.thought-collection-view .thought-entry-open{display:block;width:100%;min-height:44px;padding:0;background:none;border:0;text-align:left;color:var(--ink);cursor:pointer}
.thought-collection-view .thought-body{display:block;margin:8px 0;font:400 25px/1.35 var(--font-display);white-space:pre-wrap;overflow-wrap:anywhere}
.thought-collection-view .thought-card-meta,.thought-collection-view .thought-card-title,.thought-collection-view .thought-card-date{display:block;color:var(--muted);font:400 12px/1.5 var(--font-ui);overflow-wrap:anywhere}
.thought-collection-view .thought-card-detail{overflow-wrap:anywhere}
.thought-collection-view .thought-bookmark-mark{display:block;width:3px;height:16px;background:#743d42}
.thought-collection-view .thought-overflow>summary{display:flex;align-items:center;justify-content:flex-end;min-height:44px;min-width:44px;cursor:pointer;list-style:none}
.thought-collection-view .thought-overflow-menu{display:grid;justify-items:start}
.thought-collection-view .thought-action{min-height:44px;border-radius:0}
.thought-collection-view :focus-visible{outline:2px solid var(--olive);outline-offset:3px}
@media(max-width:520px){
  #homeThoughts .thought-card{grid-template-columns:minmax(0,1fr)}
  #homeThoughts .thought-overflow{grid-column:1/-1;grid-row:auto;justify-self:end}
  #homeThoughts .thought-bookmark-mark{right:0}
}

/* Wardrobe: a quiet editorial archive, with photographs kept at their real proportions. */
#homeWardrobe .wdu-page{padding-top:8px}
#homeWardrobe .wdu-heading{align-items:flex-end;padding:9px 2px 25px}
#homeWardrobe .wdu-heading h2{font-size:clamp(34px,4.3vw,43px);line-height:1}
#homeWardrobe .wdu-heading .wdu-deck{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
#homeWardrobe .wdu-add{min-height:44px;padding:9px 17px;background:var(--paper);border-color:var(--line);color:var(--ink);font-size:12px;font-weight:500}
#homeWardrobe .wdu-add:hover{background:var(--soft);opacity:1}
#homeWardrobe .wdu-tools{gap:10px;margin:0 2px 22px}
#homeWardrobe .wdu-search{height:44px;min-height:44px;width:min(100%,460px);padding:0 12px;border-radius:4px;background:transparent}
#homeWardrobe .wdu-search input{font-size:13px}
#homeWardrobe .wdu-search input::placeholder{color:var(--faint);opacity:1}
#homeWardrobe .wdu-grid{display:block;columns:2;column-gap:18px}
#homeWardrobe .wdu-card{display:inline-block;width:100%;margin:0 0 22px;break-inside:avoid;overflow:visible;border:0;border-radius:0;background:transparent}
#homeWardrobe .wdu-card-open{display:block;position:relative;width:100%;padding:0;border:0;background:transparent;text-align:left}
#homeWardrobe .wdu-photo{height:auto;aspect-ratio:auto;overflow:hidden;border-radius:2px;background:rgba(226,217,200,.25)}
#homeWardrobe .wdu-photo img{display:block;width:100%;height:auto;max-width:100%;object-fit:initial;opacity:1}
#homeWardrobe .wdu-photo img:not([src]){visibility:hidden}
#homeWardrobe .wdu-photo-failed{min-height:148px;background:rgba(226,217,200,.18)}
#homeWardrobe .wdu-photo-fallback{color:var(--faint);font-size:12px}
#homeWardrobe .wdu-card-copy{display:grid;gap:4px;padding:10px 48px 1px 1px}
#homeWardrobe .wdu-card-title{padding:0;font-size:22px;line-height:1.08}
#homeWardrobe .wdu-card-meta{color:var(--faint);font-size:11px;line-height:1.4}
#homeWardrobe .wdu-overflow{right:0;bottom:0}
#homeWardrobe .wdu-overflow summary{width:44px;height:44px;border:0;background:transparent;color:var(--muted)}
#homeWardrobe .wdu-overflow summary:hover{background:var(--soft)}
#homeWardrobe .wdu-overflow-menu{right:2px;bottom:46px}
#homeWardrobe .wdu-overflow-menu button,#homeWardrobe .wdu-chip,#homeWardrobe .wdu-no-results button{min-height:44px}
#homeWardrobe .wdu-card-copy{overflow-wrap:anywhere}
#homeWardrobe .wdu-empty{justify-items:start;gap:9px;max-width:480px;margin:38px 2px 0;padding:0;text-align:left}
#homeWardrobe .wdu-empty p{font-size:29px}
#homeWardrobe .wdu-empty>span{max-width:360px;font-size:13px}
#homeWardrobe .wdu-empty-add{min-height:44px;margin-top:7px;padding:9px 0;border:0;background:transparent;color:var(--muted);font-size:12px;text-decoration:underline;text-decoration-color:rgba(80,82,66,.35);text-underline-offset:3px}
#homeWardrobe .wdu-empty-add:hover{color:var(--ink)}
#detailContent .wdu-detail>.wdu-detail-photo{height:auto;aspect-ratio:auto;margin:0 0 20px;border-radius:2px;background:rgba(226,217,200,.25)}
#detailContent .wdu-detail>.wdu-detail-photo img{display:block;width:100%;height:auto;max-width:100%;object-fit:initial}
#detailContent .wdu-detail h2{font-size:clamp(30px,5vw,39px);line-height:1.04}
#detailContent .wdu-detail-meta{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
#detailContent .wdu-detail-description{margin:12px 0 0;font-size:14px;line-height:1.55}
#detailContent .wdu-detail-conditions{margin:9px 0 0;color:var(--faint);font-size:12px}
#detailContent .wdu-detail-extra{margin-top:17px;padding-top:12px}
#detailContent .wdu-detail-extra h3{font:500 11px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
#detailContent .wdu-detail-extra p{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
#detailContent .wdu-detail-tags{margin-top:7px}
#detailContent .wdu-detail-tags span{padding:0;border:0;border-radius:0;font-size:12px}
@media(max-width:600px){
  #homeWardrobe .wdu-heading{align-items:flex-start;gap:12px;padding-bottom:20px}
  #homeWardrobe .wdu-heading h2{font-size:34px}
  #homeWardrobe .wdu-add{flex:none;padding:8px 12px}
  #homeWardrobe .wdu-grid{columns:1}
  #homeWardrobe .wdu-card{margin-bottom:23px}
  #homeWardrobe .wdu-card-title{font-size:21px}
  #homeWardrobe .wdu-search{width:100%}
  #detailContent .wdu-detail>.wdu-detail-photo{margin-bottom:17px}
}
