:root{--ui-radius:6px}
/* Shared form geometry: native controls, consistent optical alignment. */
select:not([multiple]):not([size]) {
  appearance:none;-webkit-appearance:none;
  padding-right:42px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23464646' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:16px;
  text-overflow:ellipsis;
}
.modal :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea),.spending-toolbar :is(input,select){
  border:1px solid #d2d2d2;border-radius:var(--ui-radius);background-color:#fff;color:#252525;
  min-height:44px;padding:11px 13px;font-size:14px;line-height:20px;margin-top:8px;
  transition:border-color .15s,box-shadow .15s;
}
.modal textarea{min-height:104px;line-height:1.6;resize:vertical}
.modal :is(input,select,textarea):focus,.spending-toolbar :is(input,select):focus,.hero select:focus{
  outline:2px solid #777;outline-offset:2px;border-color:#888;box-shadow:none;
}
.modal :is(input,select,textarea):disabled{background-color:#f7f7f7;color:#737373;cursor:default}
.modal input[type=date]{appearance:none;-webkit-appearance:none;min-width:0}
.modal input[type=date]::-webkit-date-and-time-value{text-align:left}
.modal input[type=date]::-webkit-calendar-picker-indicator{width:16px;height:16px;padding:0;margin:0 1px 0 8px;opacity:.75}
.modal:not(.login-modal){padding:32px;border-radius:var(--ui-radius);border:1px solid #e2e2e2;scrollbar-width:thin;scrollbar-color:#c7c7c7 transparent;overscroll-behavior:contain}
.modal:not(.login-modal)>h2{font-size:30px;line-height:1.2;letter-spacing:-.6px;margin:0 0 26px;padding-right:36px}
.modal:not(.login-modal) label{font-size:12px;line-height:1.5;color:#505050}
.modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin-top:18px}
.modal .form-grid>label,.modal form[id^=plaid-] .form-grid>label{margin-top:0}
.modal .form-grid>*{min-width:0}
.modal:not(.login-modal) form>.sub{margin-top:14px;font-size:12px;line-height:1.6;color:#646464}
.modal:not(.login-modal) .actions{gap:10px;padding-top:20px;margin-top:24px;border-top:1px solid #ececec}
.modal:not(.login-modal) .actions button{min-height:44px;min-width:88px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:var(--ui-radius);font-size:13px;line-height:20px}
.modal .modal-close{display:grid;place-items:center;top:18px;right:18px;width:36px;height:36px;min-height:36px;border-radius:50%}
.modal .modal-close:hover{background:#f2f2f2!important}
button:focus-visible,a:focus-visible{outline-width:2px;outline-offset:3px}
.hero select{min-height:38px;padding-left:12px;border-radius:var(--ui-radius)}
.section-head{gap:16px}.section-head>h2,.section-head>div{min-width:0}
.section-head .actions{flex-wrap:wrap}.record-actions,.tax-actions{flex-wrap:wrap;align-items:center}
.record-actions button,.tax-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4}
.record-documents a,.document-link{align-items:flex-start;line-height:1.6}.record-documents a svg,.document-link svg{flex-shrink:0;margin-top:2px}
@media(max-width:700px){
 .modal:not(.login-modal){padding:26px 20px 20px}.modal:not(.login-modal)>h2{font-size:28px;margin-bottom:22px}
 .modal .form-grid{grid-template-columns:minmax(0,1fr);gap:16px}.modal .modal-close{right:12px;top:14px;width:36px;height:36px}
 .modal :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea),.spending-toolbar :is(input,select){font-size:16px;min-height:46px}
 .modal:not(.login-modal) .actions{padding-top:16px;margin-top:20px}.modal:not(.login-modal) .actions button{min-height:44px}
 .hero select{min-height:44px;font-size:14px}.section-head{gap:12px}
}
@media(forced-colors:active){select:not([multiple]):not([size]){appearance:auto;background-image:none;padding-right:12px!important}}
@media(prefers-reduced-motion:reduce){.modal :is(input,select,textarea){transition:none}}
.modal :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select){height:44px}
.modal:not(.login-modal) textarea{height:auto;min-height:104px!important}
@media(max-width:700px){.modal :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select){height:46px}}
.modal input[type=file]{border:1px dashed #c9c9c9;border-radius:var(--ui-radius);padding:10px;background:#fafafa;color:#555;font-size:12px;min-height:48px}
.modal input[type=file]::file-selector-button{font:inherit;color:#292929;border:1px solid #d1d1d1;border-radius:var(--ui-radius);background:#fff;padding:7px 11px;margin-right:12px;cursor:pointer}
.modal input[type=file]::file-selector-button:hover{background:#efefef}
/* Portrait-led conversations. */
.casita-icon{padding:0!important;overflow:hidden;border-radius:50%!important;width:46px;height:46px;background:#fff;border:1px solid #d6d6d6}
.casita-icon img{display:block;width:100%;height:100%;object-fit:cover}
.dashboard-casita-portrait{width:64px;height:64px;border-radius:50%;object-fit:cover;float:right;margin:0 0 12px 14px;border:1px solid #e4e4e4}
.chat-history-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:3px 0 10px;flex-wrap:wrap}
.chat-history-bar .text-button{font-size:11px!important;text-decoration:underline;text-underline-offset:3px;min-height:32px;padding:5px 0!important}
.chat-history-bar button:disabled{opacity:.4;cursor:default}
.chat-message-row{display:flex;align-items:flex-start;gap:11px;margin:0 0 24px;min-width:0}
.chat-message-row.from-user{flex-direction:row-reverse;margin-left:22px}
.chat-avatar,.chat-message-row .portrait.chat-avatar{display:block;width:36px;height:36px;max-width:none;flex:0 0 36px;border-radius:50%;margin:0;object-fit:cover;background-color:white;border:1px solid #e8e8e8;mix-blend-mode:normal}
.chat-message-body{min-width:0;flex:1}.chat-author{display:block;color:#666;font:11px/1.4 var(--font-body);margin:1px 0 7px}
.from-user .chat-author{text-align:right}.chat-modern .chat-message-row .chat-bubble{margin:0;font-size:14px;line-height:1.65}.chat-modern .chat-message-row .chat-bubble.assistant{padding:0}.chat-modern .chat-message-row .chat-bubble.user{padding:10px 13px}
@media(max-width:700px){.chat-message-row{gap:9px;margin-bottom:22px}.chat-message-row.from-user{margin-left:10px}.chat-modern .chat-message-row .chat-bubble{font-size:15px}.chat-history-bar{gap:6px}.dashboard-casita-portrait{width:56px;height:56px}}
/* Net-worth perspectives: clear scope directly beneath each label. */
.wealth-filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wealth-filter-toolbar #owner{width:240px;max-width:32%;min-width:0;height:44px;margin:0;font-size:12px;text-overflow:ellipsis}
.wealth-filter-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0}
.wealth-filter-options .wealth-filter{display:flex;align-items:center;justify-content:center;height:44px;min-width:96px;padding:0 15px;border:1px solid transparent;border-radius:var(--ui-radius);background:#fff;color:#555;transition:background-color .15s,border-color .15s}
.wealth-filter-options .wealth-filter:hover{background:#fafafa;border-color:#ddd}.wealth-filter-options .wealth-filter.selected{background:#f2f2f2;border-color:#ccc;box-shadow:none;color:#181818}
.wealth-filter-title{display:flex;align-items:center;gap:7px}.wealth-filter-title svg{width:19px;height:19px;flex-shrink:0}.wealth-filter-title strong{font-size:13px;font-weight:500;letter-spacing:0}
.wealth-filter-description{font-size:11px;line-height:1.5;color:#606060;margin:8px 0 0;min-height:17px}
@media(max-width:700px){.wealth-filter-toolbar{gap:8px}.wealth-filter-options{flex:1;gap:2px}.wealth-filter-options .wealth-filter{min-width:0;padding:0 4px}.wealth-filter-title{gap:4px}.wealth-filter-title svg{width:16px;height:16px}.wealth-filter-title strong{font-size:11px}.wealth-filter-toolbar #owner{width:108px;max-width:31%;min-width:0;height:44px;font-size:11px;padding-left:9px;padding-right:25px;background-position:right 8px center}.wealth-filter-description{font-size:11px;min-height:33px;margin-top:7px}}
@media(prefers-reduced-motion:reduce){.wealth-filter-options .wealth-filter{transition:none}}
.demo-dollar-toggle{position:absolute;top:24px;right:108px;width:42px;height:46px;padding:10px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;color:#555}
.demo-dollar-toggle svg{width:22px;height:22px}.demo-dollar-toggle:hover{background:#f2f2f2}.demo-dollar-toggle[aria-pressed=true]{color:#111;background:#efefef}
.content>.title-row{padding-right:118px}.demo-dollar-banner{position:absolute;top:0;left:0;right:0;min-height:38px;display:flex;align-items:center;justify-content:center;gap:14px;padding:7px 16px;background:#ededeb;border-bottom:1px solid #d8d8d5;color:#333;font-size:11px}
.demo-dollar-banner strong{font-weight:600;letter-spacing:.03em}.demo-dollar-banner button{padding:0;border:0;background:none;text-decoration:underline;font-size:11px;min-height:24px}
.demo-dollar-mode .main{padding-top:40px}.demo-dollar-mode .casita-icon,.demo-dollar-mode .demo-dollar-toggle{top:64px}
input[data-demo-amount]{background:#f5f5f5!important;cursor:default}
@media(max-width:1200px){.demo-dollar-toggle{right:86px}}
@media(max-width:850px){.demo-dollar-toggle{right:78px}}
@media(max-width:700px){.demo-dollar-toggle{right:70px;top:11px;width:40px;height:44px}.demo-dollar-banner{gap:8px;padding:6px 12px;font-size:10px}.demo-dollar-banner span{display:none}.demo-dollar-mode .casita-icon,.demo-dollar-mode .demo-dollar-toggle{top:51px}.content>.title-row{padding-right:105px}}
.demo-dollar-mode .chat-modern{padding-top:70px}
@media(max-width:700px){.demo-dollar-mode .chat-modern{padding-top:60px}}
/* Casita's launch control stays the family compass star. */
.casita-icon{display:grid;place-items:center;padding:10px!important;border-radius:var(--ui-radius)!important;background:#fff;color:#333}
.casita-icon>svg{width:24px;height:24px}
/* Named account documents and exact-dollar entry. */
.dollar-input{font-variant-numeric:tabular-nums;letter-spacing:.01em}
.asset-documents{border-top:1px solid #e5e5e5;margin-top:28px;padding-top:24px}
.asset-documents h3{font-size:18px;margin:0 0 16px}.asset-documents h3 small{font:12px var(--font-body);color:#666;margin-left:8px}
.asset-document-list{display:grid;gap:8px;margin-bottom:20px}.asset-document-list a{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eee;text-decoration:none;color:#252525;font-size:14px}.asset-document-list a>span:first-of-type{flex:1;overflow-wrap:anywhere}.asset-document-list a>span:last-child{font-size:12px;white-space:nowrap}.asset-document-list svg,.asset-drop>svg{width:20px;height:20px;flex-shrink:0}.asset-document-list a>span svg{width:14px;height:14px;vertical-align:middle}
.asset-drop{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px dashed #aaa;border-radius:var(--ui-radius);padding:24px 16px!important;cursor:pointer;background:#fafafa;text-align:center;overflow:hidden}.asset-drop.dragging{border-color:#111;background:#f1f1f1}.asset-drop input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.asset-drop:focus-within{outline:2px solid #555;outline-offset:3px}
.asset-upload-names{display:grid;gap:12px}.account-connection-summary{background:#fafafa;border:1px solid #e5e5e5;border-radius:var(--ui-radius);padding:16px;margin-bottom:20px}.account-connection-summary p{margin:0 0 10px}
@media(max-width:600px){.asset-document-list a{flex-wrap:wrap}.asset-document-list a>span:last-child{width:100%;padding-left:30px}}
/* One conversation scroller, at the panel edge; header and composer stay fixed. */
.casita-panel.chat-modern{border-left:1px solid #bdbdbd;box-shadow:-12px 0 36px #00000014;overflow:hidden}
.chat-modern>.section-head,.chat-modern>.chat-history-bar,.chat-modern>form,.chat-modern>small{flex-shrink:0}
.chat-modern .chat-log{margin:12px -24px 16px;padding:20px 24px;min-width:0;min-height:0;background:#f8f8f7;border-top:1px solid #ececeb;border-bottom:1px solid #ececeb;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#bdbdbb #f8f8f7;overscroll-behavior:contain}
.chat-modern .chat-log::-webkit-scrollbar{width:8px}.chat-modern .chat-log::-webkit-scrollbar-thumb{background:#bdbdbb;border-radius:8px;border:2px solid #f8f8f7}.chat-modern .chat-log::-webkit-scrollbar-track{background:#f8f8f7}
.chat-modern .chat-message-row .chat-bubble.assistant{background:transparent}.chat-modern .chat-message-row .chat-bubble.user{background:#eaeae8}
.chat-modern .chat-message-body{min-width:0}.chat-modern .chat-composer{background:#fff;border-color:#c5c5c5}.chat-modern>small.sub{text-align:center;color:#686868}
@media(max-width:700px){.casita-panel.chat-modern{padding-left:16px;padding-right:16px}.chat-modern .chat-log{margin-left:-16px;margin-right:-16px;padding:18px 16px}}
/* A defined surface separates the wealth picture from allocation and accounts. */
.wealth-overview-card{border:1px solid #dcdcdc;border-radius:var(--ui-radius);background:#fff;margin-top:20px;padding:24px 26px 18px;box-shadow:0 2px 8px #00000003}
.wealth-overview-card .wealth-summary{padding-top:0}.wealth-overview-card .chart-toolbar{margin-top:22px}.wealth-overview-card .footer-note{margin-bottom:0}
.balance-table tbody tr[data-asset-open]{cursor:pointer;transition:background-color .15s}.balance-table tbody tr[data-asset-open]:hover,.balance-table tbody tr[data-asset-open]:focus-within{background:#f7f7f7}
.balance-table .asset-name{text-decoration:underline;text-decoration-color:#bdbdbd;text-underline-offset:3px;min-height:32px;text-align:left}
.page-loading-content{filter:blur(2px);opacity:.72;transition:filter .18s,opacity .18s}
@media(max-width:700px){.wealth-overview-card{margin-top:14px;padding:18px 14px 14px;border-radius:var(--ui-radius)}.wealth-overview-card .number{font-size:38px}.wealth-overview-card .chart-toolbar{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.page-loading-content,.balance-table tbody tr[data-asset-open]{transition:none}}
/* Shared editors: wide desktop drawer and mobile bottom sheet. */
body.drawer-open{overflow:hidden}
.overlay.drawer-overlay{display:block;position:fixed;inset:0;padding:0;background:rgb(0 0 0 / 0);backdrop-filter:blur(0);transition:background .28s ease,backdrop-filter .28s ease;overflow:hidden;z-index:70}
.overlay.drawer-overlay.is-open{background:rgb(0 0 0 / .18);backdrop-filter:blur(2px)}
.overlay.drawer-overlay .modal.drawer,.overlay.drawer-overlay .modal.drawer.login-modal{position:absolute;inset:0 0 0 auto;width:min(960px,67vw)!important;max-width:none!important;max-height:none;height:100%;margin:0;padding:0!important;border:0;border-left:1px solid #d0d0d0;border-radius:0!important;background:#fff;box-shadow:-12px 0 48px #00000014;display:flex;flex-direction:column;overflow:hidden;transform:translateX(101%);transition:transform .28s cubic-bezier(.22,.7,.3,1)}
.overlay.drawer-overlay.is-open .modal.drawer{transform:translateX(0)}
.drawer-topbar{position:relative;flex:0 0 62px;min-height:62px;border-bottom:1px solid #efefef;background:#fff;display:flex;align-items:center;justify-content:flex-end;padding:9px 22px;z-index:1}
.drawer-topbar .modal-close{position:static!important;width:44px;height:44px;min-height:44px;padding:11px;border:0;border-radius:50%;background:transparent;color:#333}.drawer-topbar .modal-close:hover{background:#f1f1f1}.drawer-topbar .modal-close svg{width:22px;height:22px}
.drawer-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:28px 36px 40px;scrollbar-width:thin;scrollbar-color:#bdbdbd #fff}
.drawer-body>h2{margin-bottom:26px;padding-right:0}.drawer-body .actions{flex-wrap:wrap}.drawer-body .profile-details{gap:16px;grid-template-columns:minmax(130px,1fr) minmax(0,2fr)}.drawer-body .profile-details dd{overflow-wrap:anywhere}.drawer-handle{display:none}
.drawer.login-modal .drawer-body{padding:0}.drawer.login-modal .login-layout{min-height:100%;grid-template-columns:1.1fr 1fr}
@media(max-width:900px) and (min-width:701px){.overlay.drawer-overlay .modal.drawer,.overlay.drawer-overlay .modal.drawer.login-modal{width:82vw!important}.drawer-body{padding:24px}}
@media(max-width:700px){.overlay.drawer-overlay .modal.drawer,.overlay.drawer-overlay .modal.drawer.login-modal{inset:auto 0 0;width:100%!important;height:calc(100dvh - 14px);max-height:calc(100dvh - 14px);border:1px solid #d0d0d0;border-bottom:0;border-radius:18px 18px 0 0!important;transform:translateY(101%)}.overlay.drawer-overlay.is-open .modal.drawer{transform:translateY(0)}.drawer-topbar{flex-basis:58px;min-height:58px;padding:8px 12px}.drawer-handle{display:block;position:absolute;left:calc(50% - 19px);top:9px;width:38px;height:4px;border-radius:var(--ui-radius);background:#d2d2d2}.drawer-body{padding:22px 20px max(28px,env(safe-area-inset-bottom));scrollbar-gutter:auto}.drawer-body .profile-details{grid-template-columns:minmax(90px,1fr) minmax(0,1.6fr);font-size:13px}.drawer.login-modal .login-layout{display:block}.drawer.login-modal .login-art{display:none}.drawer.login-modal .login-form-panel{padding:24px}}
@media(prefers-reduced-motion:reduce){.overlay.drawer-overlay,.overlay.drawer-overlay .modal.drawer{transition:none}}

/* Updated adult portraits; children retain the original family engraving. */
.portrait.portrait-0{background-image:url('/api/family/portraits?person=jeff&v=mobile-20260915');background-size:contain;background-position:center}
.portrait.portrait-1{background-image:url('/api/family/portraits?person=alexandra&v=mobile-20260915');background-size:contain;background-position:center}
/* Estate: ink, paper and clear visual hierarchy. */
.estate-card{background:#fff;border:1px solid #d9d9d9;padding:26px;min-width:0}.estate-trust{display:grid;grid-template-columns:50px 1fr;gap:22px;margin-bottom:26px}.estate-trust h2{font-size:28px;margin:12px 0}.estate-trust-mark svg{width:44px;height:44px;stroke-width:1}.estate-trust p{max-width:850px;line-height:1.65;color:#444}.estate-trust input{margin-top:8px;max-width:100%;font-size:13px}.estate-inline-actions{display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin-top:14px}.estate-card a{color:#222;font-size:12px;text-underline-offset:4px}.estate-card a svg{width:15px;height:15px;vertical-align:middle}.estate-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:24px;align-items:start}.estate-toggle{display:flex;border:1px solid #ccc;border-radius:var(--ui-radius);overflow:hidden}.estate-toggle button{border:0;border-radius:0;font-size:12px;padding:9px 12px;min-height:38px}.estate-toggle [aria-pressed=true]{background:#202020;color:white}.estate-flow-intro{font-size:13px;line-height:1.65;color:#4c4c4c;border-bottom:1px solid #eee;margin-bottom:26px}.estate-stage{text-align:center}.estate-stage>.eyebrow{font-size:10px;margin:22px 0 15px}.estate-nodes{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr));position:relative}.estate-nodes.count-1{max-width:340px;margin:auto;grid-template-columns:1fr}.estate-nodes.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.estate-node{position:relative;display:flex;flex-direction:column;justify-content:center;gap:8px;white-space:normal;min-height:105px;padding:22px 12px 15px;border:1.5px solid #292929;border-radius:5px 8px 4px 7px;background:linear-gradient(135deg,#fff,#fafafa);box-shadow:3px 3px 0 #ececec}.estate-node strong{font-family:var(--font-heading);font-size:19px;font-weight:400;line-height:1.25}.estate-node small{font-size:11px;line-height:1.5;color:#555}.estate-node.optional{border-style:dashed;background:#fff}.estate-node:hover{background:#f2f2f2;border-color:#000}.estate-info{position:absolute;right:8px;top:8px;border:1px solid #aaa;width:15px;height:15px;border-radius:50%;font:italic 11px var(--font-heading);color:#666}.estate-connector{font-size:28px;line-height:1;margin:10px auto 0;color:#555}.estate-connector-label{font-size:10px;line-height:1.5;color:#666;margin:6px 0 10px}.estate-source{font-size:10px;line-height:1.6;color:#777;margin:26px 0 0;border-top:1px solid #eee;padding-top:14px}.estate-documents article{border-top:1px solid #e4e4e4;padding:17px 0}.estate-documents article:last-child{padding-bottom:0}.estate-doc-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.estate-doc-heading h3{font:17px/1.35 var(--font-heading);margin:0}.estate-doc-heading button{flex-shrink:0;padding:0!important}.estate-doc-heading svg{width:17px;height:17px}.estate-documents article p{font-size:12px;line-height:1.6;color:#555;margin:9px 0}.estate-team{margin-top:32px}.estate-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.estate-contact-grid h3{font:25px var(--font-heading);margin:15px 0}.estate-contact-grid p{font-size:13px;line-height:1.65;color:#555}.estate-contact-links{display:flex;flex-wrap:wrap;gap:12px 22px}.estate-contact-links a{overflow-wrap:anywhere}#estate-contacts fieldset{border:1px solid #ddd;padding:20px;margin-bottom:24px}#estate-contacts label{display:block;margin:14px 0}
@media(max-width:1050px){.estate-layout{grid-template-columns:1fr}.estate-documents{max-height:none}.estate-contact-grid{gap:16px}}
@media(max-width:700px){.estate-card{padding:19px}.estate-trust{grid-template-columns:1fr;gap:8px}.estate-trust-mark{display:none}.estate-trust h2{font-size:24px}.estate-diagram>.section-head{align-items:start;gap:14px;flex-direction:column}.estate-nodes{gap:9px}.estate-node{padding:24px 8px 14px;min-height:104px}.estate-node strong{font-size:16px}.estate-node small{font-size:10px}.estate-nodes.count-3{grid-template-columns:1fr}.estate-nodes.count-3 .estate-node{min-height:85px}.estate-contact-grid{grid-template-columns:1fr}.estate-toggle{align-self:stretch}.estate-toggle button{flex:1}}
/* Estate decisions: compact source-backed cards and death-order controls. */
.estate-scenario{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.estate-scenario .eyebrow{margin:0;font-size:10px}.estate-decisions{margin:36px 0}.estate-decision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.estate-decision{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;width:100%;color:var(--ink,#202020);transition:background .18s,border-color .18s}.estate-decision:hover{background:#f8f8f8;border-color:#888}.estate-decision>svg{width:26px;height:26px}.estate-decision h3{font-size:18px;line-height:1.35;margin:0}.estate-decision p{font-size:14px;line-height:1.6;margin:0}.estate-decision .text-button{margin-top:auto;font-size:12px;display:flex;align-items:center;gap:8px}.estate-decision-sources{display:flex;flex-direction:column;gap:12px;border-top:1px solid #ddd;padding-top:20px;margin-top:24px}.estate-update{margin-top:28px;font-size:12px;color:#666}.estate-update label{margin-top:16px}.estate-source a{display:inline-block;margin-top:8px}.estate-scenario button{white-space:nowrap}
@media(max-width:1050px){.estate-decision-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.estate-decision-grid{grid-template-columns:1fr}.estate-scenario{align-items:flex-start;width:100%}.estate-scenario .estate-toggle{display:flex;width:100%}.estate-scenario button{flex:1}.estate-diagram>.section-head{align-items:flex-start;flex-direction:column;gap:16px}}
.estate-decision-sources a,.estate-source a{color:inherit;text-underline-offset:3px}.estate-source a{margin-right:12px}
/* Compact Estate reference columns. */
.estate-left{min-width:0;display:grid;gap:24px}.estate-left .estate-decisions{margin:0}.estate-decision-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid #ddd;margin-top:20px}.estate-decision{border:0;border-radius:0;border-bottom:1px solid #ddd;background:transparent;padding:18px 12px;min-height:180px}.estate-decision:not(:nth-child(4n)){border-right:1px solid #e4e4e4}.estate-decision h3{font:16px/1.35 var(--font-heading)}.estate-decision p{font-size:12px;line-height:1.5}.estate-decision>svg{width:22px;height:22px}.estate-documents article{padding:11px 0}.estate-documents article p{margin:5px 0;font-size:12px;line-height:1.45}.estate-doc-heading h3{font-size:16px}.estate-documents>.section-head{margin-bottom:14px}.estate-documents article>a{display:inline-flex;align-items:center;gap:6px;min-height:28px}.estate-decisions>.sub{font-size:12px}
@media(max-width:1200px){.estate-decision-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-decision:not(:nth-child(4n)){border-right:0}.estate-decision:nth-child(odd){border-right:1px solid #e4e4e4}}@media(max-width:500px){.estate-decision{padding:16px 10px;min-height:180px}.estate-decision h3{font-size:16px}}
/* Keep page geometry fixed while drawers lock background scrolling. */
html{scrollbar-gutter:stable}

/* A compact document library, with Drive as the full archive. */
.vault-drive{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;border:1px solid #dedede;background:#fafafa;margin-bottom:28px}
.vault-drive h2{margin:8px 0;font-size:28px}.vault-drive p{margin:0}.vault-drive>a{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;color:#222;font-size:14px;text-underline-offset:5px}.vault-drive svg,.vault-file svg{width:20px;height:20px;flex-shrink:0}
.vault-library{border:1px solid #ddd;background:#fff;padding:24px}.vault-library>.section-head{margin:0 0 20px}.vault-library h2{font-family:inherit;font-size:18px}.vault-categories{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:20px}.vault-categories button{display:flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:var(--ui-radius);padding:8px 11px;background:transparent;min-height:40px;font-size:13px}.vault-categories button[aria-pressed=true]{background:#f0f0f0;border-color:#dedede;color:#161616}.vault-categories small{color:#777;font-size:11px}.vault-search{display:block;margin:0 0 16px}.vault-search input{width:100%;max-width:420px;min-height:42px;font-size:14px;background:#fafafa}.vault-file{display:grid;grid-template-columns:24px minmax(0,1fr) auto 40px;gap:16px;align-items:center;border-top:1px solid #e7e7e7;padding:15px 0}.vault-file-icon{color:#626262}.vault-file-title{border:0!important;background:none!important;text-align:left;padding:0!important;min-width:0;color:#242424}.vault-file-title strong{display:block;font-size:15px;font-weight:500;line-height:1.4}.vault-file-title small{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;color:#777;font-size:12px;line-height:1.6;margin-top:4px}.vault-file-category{font-size:11px;color:#707070}.vault-file-open{display:flex;align-items:center;justify-content:center;min-height:44px;color:#333}.vault-file-title:hover strong{text-decoration:underline;text-underline-offset:3px}.vault-maintenance{margin-top:22px;color:#777;font-size:12px}.vault-maintenance summary{cursor:pointer}.vault-maintenance button{font-size:12px}.vault-files .record-empty{padding:28px 0}
@media(max-width:640px){.vault-drive{padding:20px;align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:20px}.vault-drive h2{font-size:24px}.vault-library{padding:16px}.vault-file{grid-template-columns:20px minmax(0,1fr) 36px;gap:10px;padding:14px 0}.vault-file-category{grid-column:2;grid-row:auto;margin-top:-10px}.vault-file-open{grid-column:3;grid-row:1 / span 2}.vault-file-icon{align-self:start;margin-top:3px}.vault-file-title strong{font-size:14px}.vault-categories{gap:4px}.vault-categories button{padding:7px 8px}.vault-search input{max-width:none}}
.insurance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.insurance-card{border:1px solid #ddd;padding:28px;background:#fff;min-width:0}.insurance-card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.insurance-mark svg{width:32px;height:32px}.insurance-card h2{font-family:var(--font-heading);font-size:28px;font-weight:400;margin:0 0 12px}.insurance-card>.sub{font-size:14px;line-height:1.6;margin-bottom:24px}.insurance-documents article{border-top:1px solid #e4e4e4;padding-top:18px;margin-top:18px}.insurance-documents h3{font-size:14px;font-weight:500;margin:0 0 8px}.insurance-documents p{font-size:13px;line-height:1.6;color:#666}.insurance-document-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.insurance-document-actions a{display:flex;align-items:center;gap:8px;font-size:13px;color:#222}.insurance-document-actions svg{width:18px;height:18px}@media(max-width:640px){.insurance-grid{grid-template-columns:1fr;gap:18px}.insurance-card{padding:22px}.insurance-card h2{font-size:25px}}

.vault-file{grid-template-columns:24px minmax(0,1fr) auto auto}.vault-file-open{gap:8px;font-size:13px;white-space:nowrap;text-underline-offset:3px}
@media(max-width:640px){.vault-file{grid-template-columns:20px minmax(0,1fr)}.vault-file-open{grid-column:2;grid-row:auto;justify-content:flex-start;min-height:36px}.vault-file-category{grid-row:auto}}

.insurance-broker{margin-top:32px}.insurance-broker>.estate-card{display:grid;grid-template-columns:1fr 1fr;gap:28px}.insurance-broker h3{font-family:var(--font-heading);font-size:26px;font-weight:400;margin:10px 0}.insurance-broker p{font-size:14px;line-height:1.6}.insurance-broker .estate-contact-links{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:14px}.insurance-broker-address{margin-top:6px;line-height:1.6}@media(max-width:640px){.insurance-broker>.estate-card{grid-template-columns:1fr;gap:16px}.insurance-broker .estate-contact-links a{overflow-wrap:anywhere}}
.insurance-broker .estate-contact-links>a,.insurance-broker .estate-contact-links>span{font-size:14px;line-height:1.6;color:#444;font-weight:400;text-decoration:none;border-bottom:0}
.insurance-broker .estate-contact-links>a:hover{color:#111;text-decoration:underline;text-underline-offset:4px}
.insurance-broker .estate-contact-links>a:focus-visible{outline:2px solid #777;outline-offset:4px}

.connection-manager{font-size:12px;color:#737373;margin:8px 0 0;line-height:1.5}
.giving-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;margin-bottom:24px}.giving-card{border:1px solid #dedede;background:#fff;padding:30px;margin-bottom:24px}.giving-grid .giving-card{margin-bottom:0}.giving-card h2{font-family:var(--font-heading);font-weight:400;font-size:30px;margin:16px 0}.giving-card p{line-height:1.6}.giving-value .number{font-size:clamp(32px,4vw,52px);margin:18px 0;overflow-wrap:anywhere}.giving-mark{float:right}.giving-mark svg{width:28px;height:28px}.giving-account{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #e8e8e8}.giving-account .sub{margin:5px 0 0}.giving-account strong{white-space:nowrap}.giving-account>div{min-width:0;overflow-wrap:anywhere}@media(max-width:700px){.giving-grid{grid-template-columns:1fr;gap:16px;margin-bottom:16px}.giving-card{padding:22px;margin-bottom:16px}.giving-card h2{font-size:26px}.giving-accounts .section-head{align-items:flex-start;flex-direction:column;gap:12px}}
.asset-document-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid #eee}.asset-document-row>a{flex:1;min-width:0;border:0}.asset-document-row>button,.asset-upload-item>button{width:36px;height:36px;padding:8px;flex-shrink:0;border:0;background:transparent}.asset-upload-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin:12px 0}.asset-upload-item label{margin:0;min-width:0}.asset-upload-item small{grid-column:1 / -1;color:#737373;overflow-wrap:anywhere}.asset-document-status:empty{display:none}
.balance-table table th{padding:9px 10px;font-size:10px}.balance-table table td{padding:9px 10px;font-size:13px;line-height:1.35}.balance-table .asset-name{min-height:30px;padding:2px 0;font-size:13px}.balance-table .asset-type{font-size:11px;margin-top:2px}.balance-table .badge{font-size:10px;padding:3px 6px}.balance-table tr[hidden]{display:none!important}.balance-table th button,.balance-table th select{font:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit;background-color:transparent;border:0;box-shadow:none;margin:0;min-height:36px;padding:6px 4px;text-align:left}.balance-table th select{padding-right:24px;max-width:180px;min-width:90px;background-position:right 5px center}.balance-table th:nth-child(2) select{max-width:130px}.balance-table th:nth-child(3) select{max-width:145px}.balance-table th button{white-space:nowrap}.balance-table table{min-width:850px}@media(max-width:700px){.balance-table table td{padding:8px 10px}.balance-table th select{font-size:16px;letter-spacing:0;text-transform:none;min-height:44px}.balance-table th button{min-height:44px}}
.compact-balance-search{display:block;max-width:340px;margin:0 0 12px}.compact-balance-search input{margin:0;min-height:38px;height:38px;padding:8px 12px;font-size:13px}@media(max-width:700px){.compact-balance-search{max-width:none}.compact-balance-search input{font-size:16px;min-height:42px;height:42px}}

/* Keep table headings legible; selected filters live in their own removable tags. */
.balance-table th select,.balance-table th:nth-child(2) select,.balance-table th:nth-child(3) select{width:100%;max-width:none;min-width:110px;padding-right:30px;background-position:right 10px center}
.balance-table th:nth-child(5) select{min-width:174px}
.balance-filter-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.balance-filter-tags[hidden]{display:none}
.balance-filter-tag{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid #d9d9d9;border-radius:var(--ui-radius);background:#f5f5f3;color:#333;font-size:12px;line-height:1.4}
.balance-filter-tag:hover{background:#eaeae7}

.owner-group-toggle{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #dedede;border-radius:var(--ui-radius);background:#fafafa;margin-left:auto}
.owner-group-toggle button{border:0;background:transparent;min-height:34px;padding:7px 14px;font-size:13px;border-radius:var(--ui-radius);white-space:nowrap}
.owner-group-toggle button.selected{background:#e7e7e5;color:#171717}
@media(max-width:700px){.owner-group-toggle{margin-left:0;width:100%}.owner-group-toggle button{flex:1;min-height:40px}}
@media(max-width:700px){.wealth-filter-toolbar{flex-wrap:wrap}.owner-group-toggle{flex-basis:100%}}
.balance-table th .column-filter-button{display:flex;align-items:center;gap:7px;white-space:nowrap;width:100%;min-height:36px}
.column-filter-button svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}
.column-filter-button.filtered{color:#111;background:#e9e9e5;border-radius:var(--ui-radius)}
.column-filter-button [data-filter-count]:not(:empty){font-size:10px;border-radius:var(--ui-radius);background:#333;color:#fff;padding:2px 5px;letter-spacing:0}
.column-filter-panel{position:fixed;inset:auto;margin:0;width:280px;max-width:calc(100vw - 24px);max-height:min(348px,calc(100dvh - 24px));box-sizing:border-box;padding:14px;border:1px solid #d8d8d4;border-radius:var(--ui-radius);background:#fff;color:#282828;box-shadow:0 12px 40px #0002;font:13px/1.4 var(--font-body);text-transform:none;letter-spacing:0;overflow:hidden}
.column-filter-panel:popover-open{display:flex;flex-direction:column}
.column-filter-title{display:flex;justify-content:space-between;align-items:center;font-weight:600;margin-bottom:10px}
.column-filter-panel button{min-height:32px;padding:5px 10px;font-size:12px;border:0;background:#f4f4f2;border-radius:var(--ui-radius)}
.column-filter-options{flex:1 1 auto;min-height:0;max-height:240px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.column-filter-title,.column-filter-panel .filter-done{flex:0 0 auto}
.column-filter-options label{display:flex;align-items:center;gap:10px;margin:0;padding:9px 6px;border-radius:var(--ui-radius);cursor:pointer;font-weight:400}
.column-filter-options label:hover{background:#f5f5f3}
.column-filter-options input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;accent-color:#292929;flex-shrink:0}
.column-filter-panel .filter-done{display:block;width:100%;margin-top:10px;background:#252525;color:white}
.balance-table .balance-icons{width:72px;min-width:72px;white-space:nowrap;padding-left:4px;padding-right:4px}
.balance-icons button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:32px;min-height:32px;padding:6px;border:0;background:transparent;border-radius:var(--ui-radius);color:#61615b}
.balance-icons button:hover{background:#ecece9;color:#111}
.balance-icons svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}

.property-auto-label{display:flex;align-items:center;gap:10px;margin-top:14px}.property-auto-label input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;accent-color:#333}.property-estimate-fields[hidden]{display:none}

.property-value-label{display:flex;align-items:center;justify-content:space-between}.property-value-label button{min-height:26px;width:30px;height:26px;padding:3px;border:0;background:transparent}.property-value-label svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}

.manual-value-history{border-top:1px solid #ddd;margin-top:26px;padding-top:22px}.manual-value-history .section-head span{font-size:12px;color:#777}.manual-value-history ol{list-style:none;margin:0;padding:0;max-height:360px;overflow:auto}.manual-value-history li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 4px;border-bottom:1px solid #e5e5e2}.manual-value-history strong,.value-history-date,.manual-value-history small{display:block}.value-history-date{font-size:12px;margin-top:2px}.manual-value-history small{font-size:11px;color:#777;margin-top:2px}.manual-value-history button{white-space:nowrap;font-size:12px;padding:7px 10px;min-height:34px}.value-saved-notice{background:#f0f3ed;border:1px solid #dce3d6;padding:12px 16px;border-radius:var(--ui-radius);font-size:14px}

.value-input-label{position:relative}.value-required-prompt{position:absolute;z-index:5;top:100%;left:0;margin-top:6px;padding:10px 14px;background:#fff;border:1px solid #d4d4cf;border-radius:var(--ui-radius);box-shadow:0 5px 18px #0002;font-size:13px;color:#333;white-space:nowrap}.value-required-prompt button{display:inline;padding:0;min-height:0;border:0;border-radius:0;background:transparent;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px}

.allocation-item small{margin-left:0;white-space:nowrap}

.balance-icons button[data-manual-review][aria-pressed="true"]{background:#292929;color:#fff;box-shadow:0 0 0 1px #292929}

.value-history-actions{display:flex;align-items:center;gap:12px}.manual-value-history li:has(.value-delete-confirm){flex-wrap:wrap}.value-delete-confirm{flex-basis:100%;padding:12px;background:#f6f5f2;border:1px solid #ddd;border-radius:var(--ui-radius);font-size:13px}.value-delete-confirm p{margin:0 0 10px}.value-delete-confirm button+button{margin-left:12px}

/* Authentication is a centered dialog; app editors retain their drawer layout. */
.overlay.drawer-overlay.login-overlay{display:flex;align-items:center;justify-content:center;padding:24px}
.overlay.drawer-overlay.login-overlay .modal.drawer.login-modal{position:relative;inset:auto;width:min(780px,100%)!important;height:auto;max-height:calc(100dvh - 48px);border:1px solid #dedede;border-radius:var(--ui-radius)!important;box-shadow:0 20px 80px #0002;transform:translateY(10px) scale(.985);opacity:0;transition:transform .22s ease,opacity .22s ease}
.overlay.drawer-overlay.login-overlay.is-open .modal.drawer.login-modal{transform:none;opacity:1}
.login-overlay .drawer-topbar{position:absolute;right:8px;top:8px;min-height:44px;padding:0;border:0;background:transparent}
.login-overlay .drawer-handle{display:none}
.login-overlay .drawer.login-modal .drawer-body{flex:0 1 auto;overflow-y:auto;padding:0;scrollbar-gutter:auto}
.login-overlay .drawer.login-modal .login-layout{min-height:0;grid-template-columns:1.2fr 1fr}
.login-overlay .login-form-panel{padding:42px 30px 28px}
.login-overlay .login-modal .login-heading{margin-bottom:24px}
.login-overlay .login-modal .login-heading h2{font-size:29px}
.login-overlay .login-modal .actions{margin-top:22px}
.login-overlay .login-art{padding:40px 26px}
.login-overlay .login-art .family-motto{font-size:13px}
@media(max-width:700px){
 .overlay.drawer-overlay.login-overlay{padding:16px}
 .overlay.drawer-overlay.login-overlay .modal.drawer.login-modal{width:100%!important;max-width:430px!important;max-height:calc(100dvh - 32px);height:auto;border-radius:var(--ui-radius)!important}
 .login-overlay .drawer.login-modal .login-layout{display:block}
 .login-overlay .drawer.login-modal .login-form-panel{padding:42px 24px 24px}
 .login-overlay .drawer.login-modal .login-art{display:none}
 /* 16px form text avoids Safari zooming the page when a field receives focus. */
 .modal :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.vault-search input,.balance-search input,.spending-toolbar :is(input,select){font-size:16px}
 .drawer-body .actions{gap:10px}
 .drawer-body .actions button{min-height:44px}
 .asset-document-row{gap:8px}.asset-document-row a{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.overlay.drawer-overlay.login-overlay .modal.drawer.login-modal{transition:none}}
@media(max-width:700px){
 .chat-modern [data-action="close-assistant"],.chat-modern .chat-upload{min-width:44px;min-height:44px}
 .chat-modern [data-action="close-assistant"]{display:inline-flex;align-items:center;justify-content:center;padding:10px}
 .dashboard-card>strong{font-size:clamp(18px,4.7vw,25px);overflow-wrap:anywhere}
}
/* Phone navigation and overlays follow the visible viewport without moving the page. */
@media(max-width:700px){
 .mobile-header .mobile-crest-home{order:-1}
 .overlay.drawer-overlay{height:100dvh;overscroll-behavior:none}
 .overlay.drawer-overlay:not(.login-overlay) .modal.drawer{height:calc(100dvh - 8px);max-height:calc(100dvh - 8px)}
 .drawer-body{-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior-y:contain}
 .spending-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .spending-toolbar label,.spending-toolbar input{min-width:0;max-width:100%;width:100%}
}
.spending-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.spending-toolbar label{min-width:0}.spending-toolbar input,.spending-toolbar select{width:100%;min-width:0;max-width:100%}.spending-toolbar[hidden]{display:none}
.spending-trend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.spending-trend-grid span,.spending-trend-grid small{display:block;font-size:12px;color:#666}.spending-trend-grid strong{display:block;font-size:26px;font-weight:400;margin:10px 0;overflow-wrap:anywhere}.spending-trend-grid progress{width:100%;height:6px;accent-color:#333}.spending-trend>.sub{margin-top:24px;font-size:12px}.spending-ytd{border-left:1px solid #ddd;padding-left:24px}.spending-transactions{margin-top:28px}.spending-transactions .section-head{gap:16px;flex-wrap:wrap}.spending-table-scroll{overflow:auto;max-height:600px;overscroll-behavior:contain}.spending-table{width:100%;min-width:720px;border-collapse:collapse}.spending-table th{position:sticky;top:0;background:#f7f7f7;z-index:1}.spending-table td,.spending-table th{padding:12px;text-align:left;font-size:12px}.spending-table td:nth-child(4){white-space:nowrap}.spending-table small{display:block;color:#666;margin-top:5px}.spending-table button{text-align:left;font-size:12px;min-height:40px}.spending-category{background:transparent;border:0;padding:4px}.spending-category span{margin-left:6px}.spending-excluded{background:#fafafa;color:#777}.spending-excluded td{color:#777}
@media(max-width:700px){.spending-toolbar{grid-template-columns:minmax(0,1fr)}.spending-trend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.spending-ytd{padding-left:0;border-left:0}.spending-trend-grid strong{font-size:23px}.spending-transactions .section-head{align-items:stretch;flex-direction:column}.spending-transactions .owner-group-toggle button{flex:1}.spending-table-scroll{max-height:65dvh}.spending-table button{min-height:44px}.spending-bars>div{grid-template-columns:minmax(0,1fr) auto}.spending-bars span{overflow-wrap:anywhere}}
/* On phones, keep amount, category and exclusion visible together. */
@media(max-width:700px){
 .transaction-table{min-width:0;display:block}.transaction-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.transaction-table tbody{display:block}
 .transaction-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:12px 0;border-bottom:1px solid #ddd}
 .transaction-table td{display:block;padding:0;border:0;min-width:0}.transaction-table td:nth-child(2){grid-column:1/-1;grid-row:1}.transaction-table td:nth-child(1){grid-column:1;grid-row:2;font-size:11px;color:#777}.transaction-table td:nth-child(3){grid-column:1/-1;grid-row:3}.transaction-table td:nth-child(4){grid-column:2;grid-row:2;font-size:15px}.transaction-table td:nth-child(5){grid-column:1/-1;grid-row:4}.transaction-table td:nth-child(5) button{width:100%;background:transparent}.transaction-table td small{margin:0 0 6px}.transaction-table td:nth-child(2) button{font-size:14px;font-weight:600;min-height:32px}
}
/* Keep names and values visible; secondary details yield as the table narrows. */
.balance-section{container-type:inline-size;container-name:balances;min-width:0}
.balance-table table{width:100%;min-width:0;white-space:normal}
.balance-table .asset-name{white-space:normal;overflow-wrap:anywhere;text-align:left}
.balance-table tr>:nth-child(2),.balance-table .daily-change-column{white-space:nowrap;text-align:right;width:1%}
.balance-table .balance-icons{width:1%;white-space:nowrap}
.account-delta{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.account-delta.up{color:#267345}.account-delta.down{color:#b54040}.account-delta.flat{color:#777}
.mobile-account-delta{display:none}
@container balances (max-width:1100px){.balance-table tr>:nth-child(8){display:none}}
@container balances (max-width:950px){.balance-table tr>:nth-child(7){display:none}}
@container balances (max-width:800px){.balance-table tr>:nth-child(6){display:none}}
@container balances (max-width:650px){.balance-table tr>:nth-child(5){display:none}}
@container balances (max-width:550px){.balance-table tr>:nth-child(4){display:none}}
@media(max-width:700px){
 .balance-table tr>:nth-child(n+3){display:none}
 .balance-table .asset-name{min-height:40px}
 .balance-table tr>:nth-child(2){padding-left:8px;padding-right:12px}
 .mobile-account-delta{display:block;margin-top:4px}
}

.greeting-name{white-space:nowrap}
@media(max-width:700px){.greeting-name{display:block}}

.valuable-items{margin-top:24px;padding:20px 0;border-top:1px solid #ddd}.valuable-item{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr) minmax(100px,1fr) 40px;gap:12px;align-items:end;margin:16px 0}.valuable-item input,.valuable-item select{width:100%;min-width:0}.valuable-item button{padding:8px;min-height:44px}.valuable-item svg{width:20px;height:20px}.valuable-items[hidden]{display:none}@media(max-width:700px){.valuable-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px}.valuable-item>label:first-child{grid-column:1/-1}.valuable-item{padding-bottom:16px;border-bottom:1px solid #eee}}

/* Constrain mobile transaction cards to the viewport, including long bank descriptions. */
.spending-transactions,#spending-results{min-width:0;max-width:100%}
.spending-transactions .spending-toolbar{grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr))}
@media(max-width:700px){
 .spending-transactions .spending-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .spending-transactions .spending-toolbar label:first-child{grid-column:1/-1}
 .spending-transactions .spending-toolbar label{min-width:0}
 .spending-transactions .spending-toolbar select{font-size:14px;padding:10px 8px}
 .spending-table-scroll:has(.transaction-table){width:100%;max-width:100%;max-height:none;overflow:visible;touch-action:auto;overscroll-behavior:auto}
 .transaction-table,.transaction-table tbody{width:100%;max-width:100%;white-space:normal}
 .transaction-table tr{width:100%;box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(0,auto);padding:14px 4px;gap:6px 12px}
 .transaction-table td,.transaction-table button,.transaction-table small{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 .transaction-table td:nth-child(2) button{display:block;width:100%;line-height:1.45;padding:0;text-align:left}
 .transaction-table td:nth-child(4){white-space:normal;text-align:right;overflow-wrap:anywhere}
 .transaction-table td[colspan]{grid-column:1/-1}
}

@media(max-width:360px){.spending-transactions .spending-toolbar{grid-template-columns:minmax(0,1fr)}}
.spending-summary-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:32px}.spending-summary-pair>div{min-width:0}.spending-summary-pair strong{display:block;font-size:36px;font-weight:400;margin:12px 0;overflow-wrap:anywhere}.spending-summary-pair small{color:#777;font-size:12px}.spending-month-chart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:20px 0 0}.spending-month-column{min-width:0;text-align:center}.spending-month-column>strong{font-size:16px;font-weight:500;display:block;margin-bottom:12px;overflow-wrap:anywhere}.spending-month-track{height:140px;display:flex;align-items:flex-end;border-bottom:1px solid #ccc}.spending-month-track>div{width:65%;margin:0 auto;background:#777;border-radius:3px 3px 0 0}.current-month .spending-month-track>div{background:#222}.spending-month-column>span{display:block;font-size:12px;margin-top:12px}.spending-month-column>small{display:block;font-size:11px;color:#777;margin-top:4px}.spending-category-panel{margin-top:28px}.spending-category-controls{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:24px}.spending-category-controls label{font-size:12px;min-width:0}.spending-category-controls input{display:block;max-width:100%;font:inherit;padding:10px;border:1px solid #ddd;border-radius:var(--ui-radius)}
@media(max-width:700px){.spending-summary-pair{gap:14px}.spending-summary-pair .eyebrow{font-size:10px;letter-spacing:1px}.spending-summary-pair strong{font-size:27px}.spending-summary-pair small{font-size:11px}.spending-month-chart{gap:8px}.spending-month-column>strong{font-size:13px}.spending-month-track{height:100px}.spending-month-column>span{font-size:11px}.spending-category-controls .owner-group-toggle{width:100%;min-width:0}.spending-category-controls button{flex:1;min-width:0;padding:10px 6px;font-size:12px}.spending-category-controls input{font-size:16px}}
.spending-category-controls{align-items:center}.spending-category-controls label{margin:0}.spending-category-controls input{height:44px;margin:0}.spending-category-controls button[aria-pressed=true]{background:#e7e7e5;color:#171717}.category-share{font-size:12px;color:#777;white-space:nowrap}
.transaction-detail{padding:20px;background:#fafafa;border:1px solid #ddd;border-radius:var(--ui-radius);margin:20px 0}.transaction-detail>strong{display:block;font-size:28px;font-weight:400;margin-bottom:18px}.transaction-detail dl{margin:0}.transaction-detail dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;padding:8px 0;border-top:1px solid #e7e7e7;font-size:13px;line-height:1.5}.transaction-detail dt{color:#777}.transaction-detail dd{margin:0;overflow-wrap:anywhere}
@media(min-width:701px){.spending-trend{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,3fr);gap:16px 28px;padding:24px}.spending-trend>.section-head,.spending-trend>.sub{grid-column:1/-1;margin:0}.spending-trend>.section-head{margin-bottom:0}.spending-summary-pair{display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding-right:28px;border-right:1px solid #ddd}.spending-summary-pair>div+div{border-top:1px solid #eee;padding-top:12px}.spending-summary-pair strong{font-size:27px;margin:4px 0;line-height:1.2}.spending-summary-pair .eyebrow{font-size:10px;letter-spacing:1px}.spending-month-chart{align-self:center;padding:0;gap:16px}.spending-month-track{height:100px}.spending-month-track>div{max-width:100px}.spending-trend>.sub{font-size:10px;border-top:1px solid #eee;padding-top:12px;line-height:1.5}.spending-category-panel{padding:24px}.spending-category-panel>.section-head{margin-bottom:16px}.spending-category-panel .number{font-size:32px;margin:8px 0 16px}.spending-category-panel .spending-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px}.spending-category-panel .spending-bars>div{margin-top:0;gap:4px 12px;padding:9px 0;border-top:1px solid #eee;font-size:13px}.spending-category-panel .spending-bars progress{margin:4px 0;height:4px}.spending-category-controls{margin-bottom:16px}}
@media(max-width:700px){.spending-180-stat{display:none}.transaction-detail dl>div{grid-template-columns:95px minmax(0,1fr);gap:10px}.transaction-detail{padding:14px}.category-share{font-size:11px}}
@media(min-width:1000px){.spending-category-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px}.spending-category-panel>.section-head{grid-column:1;grid-row:1;margin:0 0 16px;align-self:center}.spending-category-controls{grid-column:2;grid-row:1;justify-content:flex-end}.spending-category-panel>.eyebrow,.spending-category-panel>.number,.spending-category-panel>.spending-bars{grid-column:1/-1}}

/* Casita's app and text conversations share one history picker. */
.chat-channel{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#747474;margin-left:8px}
.conversation-picker{display:grid;gap:10px;min-width:0}
.conversation-choice{display:grid;text-align:left;gap:6px;white-space:normal;overflow-wrap:anywhere;padding:14px;width:100%}
.conversation-choice span{display:flex;align-items:center;gap:6px;color:#747474;font-size:12px}
.conversation-choice strong{font-weight:500}

.home-property{display:grid;grid-template-columns:1.35fr 1fr;border:1px solid #ddd;border-radius:var(--ui-radius);overflow:hidden;margin:24px 0 28px;align-items:center}
.home-art{padding:20px;text-align:center;min-width:0}.home-art img{display:block;width:100%;height:auto;max-height:330px;object-fit:contain}.home-art small{color:#888;font-size:11px}.home-property-info{padding:28px;border-left:1px solid #e5e5e5}.home-property-info h2{font-family:var(--font-heading);font-weight:400;font-size:34px;margin:10px 0}.home-value{display:grid;gap:8px;margin:24px 0}.home-value strong{font-size:36px;font-weight:500}
.home-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}.hub-card{padding:24px;border:1px solid #ddd;border-radius:var(--ui-radius);min-width:0}.hub-card .section-head{gap:12px;margin-bottom:16px;flex-wrap:wrap}.hub-card h2{font-size:22px}.hub-card .section-head button{display:inline-flex;align-items:center;gap:7px;font-size:14px;padding:10px}.hub-card button svg,.hub-card a svg{width:18px;height:18px;flex-shrink:0}.home-doc-group{border-top:1px solid #e5e5e5;margin-top:20px;padding-top:4px}.home-doc-group h3{font-size:15px;font-weight:600;margin:18px 0 10px}.home-doc-group h3 small{font-weight:400;color:#888;margin-left:8px}.home-doc-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #eee}.home-doc-row button{flex:1;min-width:0;text-align:left;display:grid;gap:6px;padding:0;white-space:normal;overflow-wrap:anywhere}.home-doc-row strong{font-weight:500;font-size:14px}.home-doc-row small{color:#777;font-size:12px}.home-doc-row a{padding:8px}.home-empty{padding:12px 0;margin:0}.reminder-row{border-top:1px solid #e5e5e5;padding:14px 0}.reminder-open{display:grid;gap:7px;width:100%;text-align:left;padding:0;border:0;white-space:normal;background:none}.reminder-open strong{font-size:15px}.reminder-open span,.reminder-open small{font-size:13px;color:#777}.reminder-log{border-top:1px solid #ddd;padding-top:16px}.hub-people{border:0;padding:10px 0;display:flex;flex-wrap:wrap;gap:22px}.hub-people label,.hub-check{display:flex;align-items:center;gap:8px!important}.hub-people input,.hub-check input{width:18px!important;height:18px!important;min-height:0!important}.calendar-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:18px;padding-bottom:24px;border-bottom:1px solid #ddd}.calendar-toolbar label{max-width:230px}.calendar-agenda article{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #ddd}.calendar-agenda article>div{min-width:0;overflow-wrap:anywhere}.calendar-agenda h3{font-size:18px;font-weight:500;margin:9px 0}.calendar-agenda a{white-space:nowrap;display:flex;gap:8px;align-items:center}.calendar-reminders{margin-top:24px;max-width:700px}#home-file-queue p{display:flex;align-items:center;justify-content:space-between;overflow-wrap:anywhere;gap:10px}#home-file-queue svg{width:16px;height:16px}#reminder-dates label{margin-bottom:14px}
@media(max-width:900px){.home-columns{grid-template-columns:1fr}.home-property-info{padding:20px}.home-property-info h2{font-size:28px}.home-value strong{font-size:30px}}
@media(max-width:560px){.home-property{grid-template-columns:1fr}.home-property-info{border-left:0;border-top:1px solid #eee}.home-art{padding:10px}.home-art img{max-height:230px}.hub-card{padding:18px}.calendar-agenda article{align-items:flex-start;gap:10px}.calendar-toolbar>*{max-width:100%}.home-columns{gap:18px}.home-property-info .sub{font-size:14px}}
.home-doc-row a,.calendar-toolbar a,.calendar-agenda a{color:inherit}
/* Keep the home-value equation together, with a compact stacked mobile view. */
.home-property{grid-template-columns:minmax(240px,.8fr) minmax(0,1.8fr)}
.home-financials{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:12px;margin:24px 0}
.home-financials .home-value{margin:0;min-width:0;gap:10px}
.home-financials .home-value strong{font-size:clamp(22px,2.1vw,34px);white-space:nowrap}
.home-financials .sub{font-size:12px}.home-financials .eyebrow{font-size:10px}
.home-equation{color:#888;align-self:start;padding-top:28px;font-size:22px}
.home-financials .text-button{font-size:12px;justify-self:start}
@media(max-width:1100px){.home-property{grid-template-columns:1fr}.home-property-info{border-left:0;border-top:1px solid #eee}}
@media(max-width:560px){.home-financials{grid-template-columns:1fr 1fr;gap:20px 14px}.home-equation{display:none}.home-financials .home-value strong{font-size:25px}.home-equity{grid-column:1/-1;border-top:1px solid #ddd;padding-top:18px}}
/* Mobile navigation follows the right-hand menu button and scrolls as one sheet. */
@media(max-width:700px){
 .sidebar{inset:0 0 0 auto;transform:translateX(100%);width:min(224px,75vw);border-right:0;border-left:1px solid #dedede;padding:16px 16px max(16px,env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .sidebar .brand{width:76px;height:76px;margin:0 0 14px 8px}
 .sidebar .brand img{width:100%;height:100%}
 .sidebar .nav{flex:0 0 auto;overflow:visible;gap:2px;padding:0}
 .sidebar .nav button,.sidebar .nav button.active{height:44px;min-height:44px;font-size:14px;padding:0 12px}
 .sidebar .sidebar-bottom{display:block;position:static;flex:0 0 auto;margin-top:14px;padding-top:12px;padding-bottom:0}
 .sidebar .sidebar-bottom .user-button{min-height:48px}
 .menu-open .sidebar{transform:translateX(0)}
}
/* Desktop keeps the account control outside a compact, independently scrolling nav. */
@media(min-width:701px){
 .sidebar{height:100dvh;overflow:hidden;padding:14px 16px 16px;display:flex;flex-direction:column}
 .sidebar .brand{width:112px;height:112px;margin:0 auto 16px;flex:0 0 auto}
 .sidebar .nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;gap:2px;padding:2px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9c9c9 transparent}
 .sidebar .nav::-webkit-scrollbar{width:5px}.sidebar .nav::-webkit-scrollbar-thumb{background:#c9c9c9;border-radius:5px}
 .sidebar .nav button,.sidebar .nav button.active{height:38px;min-height:38px;font-size:13px;padding:0 10px;gap:10px}
 .sidebar .nav button svg,.sidebar .nav button.active svg{width:18px;height:18px;flex-basis:18px}
 .sidebar .sidebar-bottom{position:static;flex:0 0 auto;margin-top:12px;padding-top:12px;border-top:1px solid #dedede}
 .sidebar .sidebar-bottom .user-button{width:100%;min-height:44px}.sidebar .logout-icon{display:block}
}
.calendar-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:28px;margin:24px 0}.calendar-month-panel{min-width:0}.calendar-weekdays,.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays span{padding:10px 2px;text-align:center;font-size:11px;color:#777;text-transform:uppercase;letter-spacing:1px}.calendar-month-grid{border-top:1px solid #ddd;border-left:1px solid #ddd}.calendar-day{min-width:0;min-height:108px;padding:5px;border-right:1px solid #ddd;border-bottom:1px solid #ddd}.calendar-day.outside-month{background:#fafafa;color:#aaa}.calendar-day.is-today{background:#f3f3f1}.calendar-day-number{position:relative;display:grid;place-items:center;width:30px;height:30px;border:0;padding:0;font-size:12px;background:none}.is-today .calendar-day-number{background:#272727;color:#fff;border-radius:50%}.calendar-day-dot{position:absolute;width:4px;height:4px;background:currentColor;border-radius:50%;bottom:2px}.calendar-cell-events button{display:block;width:100%;text-align:left;border:0;border-radius:var(--ui-radius);background:#eee;margin:4px 0;padding:4px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-cell-events button span{color:#666}.calendar-upcoming{min-width:0;border-left:1px solid #e5e5e5;padding-left:24px}.calendar-upcoming h3{margin:0 0 8px}.calendar-event-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid #e5e5e5;border-radius:0;padding:16px 0;background:transparent}.calendar-event-row>span{min-width:0;display:grid;gap:6px}.calendar-event-row strong{font-size:15px;overflow-wrap:anywhere}.calendar-event-row small,.calendar-event-row span span{font-size:12px;color:#777;overflow-wrap:anywhere}.calendar-connection{border-top:1px solid #eee;padding-top:16px}.calendar-month-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.calendar-month-controls input{margin:0;min-width:0}.calendar-month-controls label{min-width:0}.calendar-event-details{line-height:1.6}.calendar-event-notes{white-space:pre-wrap;overflow-wrap:anywhere}.calendar-guest{display:grid;gap:3px;border-bottom:1px solid #eee;padding:12px 0;overflow-wrap:anywhere}.calendar-guest small{color:#777}.calendar-event-details>a{display:inline-block;margin-top:24px}.calendar-upcoming-list{max-height:560px;overflow-y:auto;scrollbar-width:thin}
@media(max-width:1000px){.calendar-layout{grid-template-columns:1fr}.calendar-upcoming{border-left:0;border-top:1px solid #ddd;padding:22px 0 0}.calendar-upcoming-list{max-height:none}}
@media(max-width:560px){.calendar-day{min-height:64px;padding:3px}.calendar-cell-events{display:none}.calendar-weekdays span{font-size:10px;letter-spacing:0}.calendar-month-controls{gap:4px}.calendar-month-controls button{padding:8px;min-width:32px}.calendar-month-controls input{font-size:14px;width:158px}.calendar-layout{gap:16px}.calendar-day-number{width:30px;height:30px}.calendar-day:has(.calendar-day-dot){box-shadow:inset 0 -3px #777}}
.calendar-add-reminder{display:flex;align-items:center;gap:8px;margin-top:18px;width:100%;justify-content:center}
.calendar-info{display:inline-grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1px solid #999;border-radius:50%;font:italic 12px var(--font-heading);color:#777}
/* Calendar controls and sheets share the quiet monochrome treatment. */
.calendar-card .section-head{margin:0 0 20px;align-items:center}.calendar-card .section-head h2{font-size:20px;margin:0 0 6px}.calendar-toolbar{align-items:center;gap:10px;padding-bottom:20px}.calendar-toolbar .calendar-month-controls{margin-right:auto;gap:6px;align-items:center}.calendar-card .section-head button,.calendar-control,.calendar-month-controls button,.calendar-month-controls input,.calendar-add-reminder{min-height:40px;height:40px;border:1px solid #d7d7d7;border-radius:var(--ui-radius);padding:8px 12px;background:#fff;color:#333;font:400 13px/1.2 var(--font-body);box-sizing:border-box;box-shadow:none}.calendar-control{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}.calendar-control:visited{color:#333}.calendar-control:hover{background:#f5f5f5}.calendar-control svg{display:block;width:17px;height:17px;flex:0 0 17px}.calendar-month-controls button[data-calendar-step]{width:36px;padding:0;font-size:20px}.calendar-month-controls input{width:178px;text-align:center;margin:0}.calendar-event-details{font-size:14px}.calendar-event-details>p:first-child{padding-bottom:20px;border-bottom:1px solid #e5e5e5;margin:12px 0 0}.calendar-event-details h3{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#777;margin:22px 0 8px}.calendar-event-details p{margin:8px 0;overflow-wrap:anywhere}.calendar-event-details .calendar-external{margin-top:24px;font-size:13px;width:fit-content;max-width:100%;height:auto;min-height:40px}.calendar-event-details .calendar-external svg{width:17px;height:17px;flex:0 0 17px}.calendar-event-details .calendar-external span{white-space:normal}
#hub-calendar-event>label{margin-top:18px}#hub-calendar-event>label:first-child{margin-top:0}#hub-calendar-event input,#hub-calendar-event textarea{font-size:16px;min-width:0;max-width:100%;width:100%;box-sizing:border-box}#hub-calendar-event input{height:44px;min-height:44px;padding:10px 12px}#hub-calendar-event textarea{min-height:90px}.calendar-date-fields{min-width:0;border:0;border-top:1px solid #e5e5e5;margin:22px 0 0;padding:16px 0 0}.calendar-date-fields legend{font-size:13px;color:#555;padding:0 10px 0 0}.calendar-date-fields>div{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px}.calendar-date-fields label{min-width:0;font-size:12px}.calendar-date-fields input{min-inline-size:0}.calendar-date-fields input::-webkit-date-and-time-value{text-align:left}.calendar-date-fields input::-webkit-datetime-edit{padding:0;min-width:0}#hub-calendar-event .hub-people{border-top:1px solid #e5e5e5;margin-top:22px;padding-top:14px;gap:12px}#hub-calendar-event .hub-people label{border:1px solid #ddd;border-radius:var(--ui-radius);padding:10px 12px;margin:0;font-size:14px}#hub-calendar-event .hub-people input{margin:0}#hub-calendar-event .actions{border-top:1px solid #e5e5e5;padding-top:18px;gap:10px}#hub-calendar-event .actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px}#hub-calendar-event .actions svg{width:18px;height:18px}
@media(max-width:560px){.calendar-card .section-head{gap:12px;margin-bottom:18px}.calendar-card .section-head h2{font-size:18px}.calendar-card .section-head .sub{font-size:12px}.calendar-card .section-head button{font-size:12px;padding:8px}.calendar-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-bottom:18px}.calendar-toolbar .calendar-month-controls{grid-column:1/-1;display:grid;grid-template-columns:32px minmax(0,1fr) 32px auto;width:100%;margin:0;gap:5px}.calendar-month-controls input{width:100%;font-size:12px;padding:8px 4px}.calendar-month-controls button[data-calendar-step]{width:32px}.calendar-month-controls button{font-size:12px;padding:8px}.calendar-toolbar .calendar-control{font-size:12px;padding:8px;min-height:40px;gap:6px}.calendar-layout{margin-top:14px}.calendar-day{min-height:56px}.calendar-weekdays span{padding:8px 0}.calendar-upcoming{padding-top:18px}.calendar-event-row{padding:13px 0}.calendar-date-fields>div{gap:10px}#hub-calendar-event .actions{flex-wrap:wrap}#hub-calendar-event .actions button{flex:1;white-space:normal}}
@media(max-width:360px){.calendar-toolbar .calendar-month-controls{grid-template-columns:32px minmax(0,1fr) 32px}.calendar-month-controls [data-calendar-today]{grid-column:1/-1}.calendar-month-controls input{font-size:13px}}
.calendar-event-details .calendar-external{display:inline-flex}

.chat-modern .chat-footer{flex:0 0 auto;display:grid;gap:4px;padding:8px 16px 12px;text-align:center}.chat-modern .chat-footer small{font-size:11px;line-height:1.45;padding:0;margin:0}.chat-bubble a{overflow-wrap:anywhere}

/* Compact dashboard: retain room for all sections and the assistant. */
.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:24px}
.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start}
.dashboard-card{min-width:0;padding:16px!important;gap:8px!important}
.dashboard-card>strong{font-size:clamp(20px,2vw,28px);letter-spacing:-.6px;overflow-wrap:anywhere}
.dashboard-card>svg{width:20px;height:20px}
.dashboard-card small{line-height:1.45}
.dashboard-assistant{min-width:0;padding:24px}
@media(max-width:1100px){.dashboard-grid{grid-template-columns:1fr}}
@media(max-width:600px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-card{padding:14px!important}.dashboard-card>strong{font-size:clamp(19px,5vw,24px)}}

/* Give the conversation more room without shrinking readable messages. */
.casita-panel.chat-modern{padding-top:12px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
.chat-modern>.section-head{margin:0;min-height:0}
.chat-modern h2{font-size:26px;margin:2px 0;line-height:1.15}
.chat-modern>.chat-history-bar{margin:2px 0 0;min-height:32px}
.chat-modern>.chat-history-bar .sub{margin:0;font-size:12px}
.chat-modern .chat-log{margin-top:6px;margin-bottom:8px}
.chat-modern form{margin:0!important}
.chat-modern .chat-composer{padding:10px 12px;border-radius:var(--ui-radius)}
.chat-modern .chat-composer textarea{min-height:26px;height:26px;max-height:120px;resize:none}
.chat-modern .chat-composer-bottom{margin-top:2px}
.chat-modern form .login-error:empty{display:none}
.chat-modern .chat-footer{gap:2px;padding:6px 0 0}
@media(max-width:700px){.casita-panel.chat-modern{padding-top:10px}.chat-modern h2{font-size:25px}.chat-modern.keyboard-open .chat-footer{display:none}}

.dashboard-right{display:grid;align-content:start;gap:20px;min-width:0}
.dashboard-market{border:1px solid #e1e1df;border-radius:var(--ui-radius);padding:22px 24px;background:#fff;min-width:0}
.dashboard-market h2{font-size:18px;margin:0;line-height:1.3}
.dashboard-market>.sub{font-size:12px;margin:6px 0 16px}
.dashboard-market .section-head{margin:0;gap:12px}
.dashboard-market .section-head>svg{width:20px;height:20px;flex-shrink:0}
.market-wrap-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;border-top:1px solid #e9e9e7;padding:14px 0;background:transparent;border-radius:0}
.market-wrap-row span{display:grid;gap:5px}.market-wrap-row small{font-size:11px;color:#777}.market-wrap-row strong{font-size:14px;font-weight:500}.market-wrap-row svg{width:18px;height:18px;flex-shrink:0}
.dashboard-market>.text-button{font-size:12px;padding-left:0;margin-top:8px}.market-status:empty{display:none}
.market-wrap-body{font-size:15px;line-height:1.75;overflow-wrap:anywhere}.market-wrap-body a{color:inherit;text-underline-offset:3px}.market-wrap-body h3{font-size:15px;margin-top:24px;border-top:1px solid #e4e4e4;padding-top:20px}.market-wrap-note{font-size:11px;border-top:1px solid #eee;margin-top:22px;padding-top:16px}
@media(max-width:700px){.dashboard-market{padding:20px}.market-wrap-body{font-size:15px}}

.market-wrap-copy{white-space:pre-wrap}

.giving-lower{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.giving-lower>.giving-card{min-width:0;padding:24px}
.giving-lower .section-head{flex-wrap:wrap;gap:12px;margin-bottom:18px;align-items:center}
.giving-lower h2{font-size:26px;margin:0}
.giving-accounts .section-head{display:grid;justify-items:start}
.giving-document{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #e8e8e8}
.giving-document>div{min-width:0}.giving-document .text-button{text-align:left;overflow-wrap:anywhere}.giving-document p{font-size:12px;margin:4px 0 0}.giving-document a{flex-shrink:0}.giving-document svg{width:20px;height:20px}
.giving-year{display:flex;align-items:center;gap:12px;font-size:12px}.giving-year select{width:100px}
@media(max-width:900px){.giving-lower{grid-template-columns:1fr;gap:0}.giving-lower>.giving-card{padding:22px}}

/* Personal document folders share the family card and drawer visual language. */
.profile-vault-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:calc(100% - 44px);margin:0 22px 18px;padding:12px 0;border:0;border-top:1px solid var(--line,#ddd);background:none;text-align:left;font-size:12px}
.profile-vault-link svg,.member-vault svg,.member-vault-folders svg{width:20px;height:20px;flex-shrink:0}
.member-vault-folders{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:20px}
.member-vault-folders button{display:flex;align-items:center;gap:12px;text-align:left;padding:16px;border:1px solid #ddd;background:#fff;min-width:0}
.member-vault-folders span{flex:1;min-width:0}.member-vault-folders strong,.member-vault-folders small{display:block;overflow-wrap:anywhere}.member-vault-folders small{color:#777;margin-top:5px}
.member-vault form,.member-vault-list{padding:20px;border:1px solid #ddd;margin-top:24px}.member-vault form{display:flex;flex-direction:column;gap:12px}.member-vault .actions{margin:0;padding:0}.member-vault form p:empty{display:none}.member-vault form p{margin:0}.member-vault-drop{position:relative;display:flex!important;align-items:center;justify-content:center;gap:12px;min-height:110px;padding:16px;border:1px dashed #aaa;cursor:pointer;text-align:center;overflow-wrap:anywhere}.member-vault-drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.member-vault-drop:focus-within,.member-vault-drop.dragging{outline:2px solid #555;outline-offset:2px;background:#f4f4f2}.member-vault-list h3{margin:0 0 12px}.member-vault-document{display:flex;align-items:center;gap:16px;border-top:1px solid #ddd;padding:14px 0}.member-vault-document div{flex:1;min-width:0}.member-vault-document strong{overflow-wrap:anywhere}.member-vault-document small{display:block;color:#777;margin-top:5px}.member-vault-document a{display:flex;align-items:center;justify-content:center;width:44px;height:44px;color:inherit;flex-shrink:0}
@media(max-width:600px){.profile-vault-link{width:calc(100% - 32px);margin:0 16px 12px}.member-vault form,.member-vault-list{padding:16px}.member-vault h2{font-size:30px}}
.birthday-countdown{display:flex;align-items:center;gap:8px;font-size:12px;color:#666;margin:8px 0 20px}.birthday-countdown svg{width:20px;height:20px;flex-shrink:0}.profile-contact dd{overflow-wrap:anywhere;min-width:0}.member-detail-status{list-style:none;padding:14px 0 0;margin:12px 0 0;border-top:1px solid #ddd;display:grid;gap:9px;font-size:12px}.member-detail-status li{display:flex;align-items:center;gap:9px}.member-detail-status svg{width:16px;height:16px;flex-shrink:0}

/* Consistent, lightly squared Casita and market cards and message controls. */
.dashboard-assistant,.dashboard-market{border:1px solid #ddd;border-radius:var(--ui-radius);background:#fff}
.dashboard-assistant #dashboard-chat,.chat-modern .chat-composer{border:1px solid #ccc;border-radius:var(--ui-radius);background:#fff}
.dashboard-assistant .sub{max-width:none}
.dashboard-assistant #dashboard-message{height:100px;min-height:100px}
.dashboard-assistant #dashboard-chat button,.chat-modern .chat-send{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #222!important;border-radius:var(--ui-radius)!important;background:#222!important;color:#fff!important;width:auto!important;min-width:108px;min-height:40px!important;height:40px!important;padding:10px 14px!important;font-size:12px;line-height:1}
.dashboard-assistant #dashboard-chat button svg,.chat-modern .chat-send svg{width:18px;height:18px;transform:none;flex-shrink:0}
.chat-modern .chat-send:disabled{opacity:.4}
@media(max-width:600px){.dashboard-assistant #dashboard-message{height:145px;min-height:145px}}

/* Compact family cards and structured member profiles. */
.family-profile .profile-open{padding:16px!important}.family-profile .portrait{width:100px;height:100px}.family-profile .profile-open h2{min-height:0;margin:14px 0 10px;font-size:22px}.profile-inline{display:flex;align-items:center;gap:7px;min-width:0;font-size:11px;color:#777;line-height:1.5}.profile-inline svg{width:16px;height:16px;flex-shrink:0}.profile-inline>span:not(.sr-only){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-contact-lines{display:grid;gap:8px;margin:14px 0}.profile-contact-lines .profile-inline{font-size:12px;color:#555}.family-profile .member-detail-status{color:#858585;font-size:11px;gap:7px;padding-top:12px}.family-profile .profile-link{margin-top:14px;padding-top:12px}.family-profile .profile-vault-link{width:calc(100% - 32px);margin:0 16px 12px;padding:10px 0}.profile-drawer-header{display:flex;align-items:center;gap:18px}.profile-drawer-header .portrait{width:76px;height:76px;flex:0 0 76px;margin:0}.profile-drawer-header>div{min-width:0}.profile-drawer-header h2{font-size:28px;margin:6px 0 8px;overflow-wrap:anywhere}.profile-drawer-actions{display:flex;gap:10px;margin:22px 0}.profile-drawer-actions button{display:flex;align-items:center;gap:8px;min-height:40px}.member-profile svg{width:18px;height:18px;flex-shrink:0}.profile-detail-sections{display:grid;gap:22px}.profile-detail-section{border:1px solid #ddd;padding:18px 20px}.profile-detail-section h3{font-size:13px;margin:0 0 12px;color:#555;letter-spacing:.5px}.profile-detail-row{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start;gap:16px;border-top:1px solid #eee;padding:12px 0;font-size:13px}.profile-detail-row>span{color:#777;padding-top:3px}.profile-detail-row p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.profile-detail-row .text-button{display:flex;gap:6px;align-items:center;padding:0!important;min-height:26px}.profile-detail-row summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.profile-detail-row details p{margin-top:10px}.profile-detail-row:last-child{padding-bottom:0}
@media(max-width:700px){.family-profiles{grid-template-columns:1fr 1fr}.family-profile .profile-open{padding:12px!important}.family-profile .portrait{width:76px;height:76px}.family-profile .profile-open h2{font-size:19px}.family-profile .birthday-summary{font-size:9px;gap:4px}.family-profile .birthday-summary svg{width:12px;height:12px}.family-profile .profile-contact-lines .profile-inline{font-size:11px}.profile-drawer-header{gap:12px}.profile-drawer-header h2{font-size:24px}.profile-detail-section{padding:14px}.profile-detail-row{grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:12px}}
@media(max-width:370px){.family-profiles{grid-template-columns:1fr}.family-profile .birthday-summary{font-size:11px}}
.profile-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 16px}.profile-card-actions button{border:1px solid #ccc;border-radius:var(--ui-radius);background:white;min-height:40px;padding:8px 5px;font-size:11px;white-space:nowrap;justify-content:center}.family-profile{display:flex;flex-direction:column}.family-profile .profile-open{flex:1}.family-profile .profile-card-actions{margin-top:auto}
@media(max-width:700px){.profile-card-actions{padding:0 12px 12px;gap:5px}.profile-card-actions button{font-size:10px}}
.chat-upload-status{display:flex;align-items:center;gap:9px;margin-top:9px;font-size:12px;color:#555;line-height:1.4;overflow-wrap:anywhere}.chat-upload-status[hidden]{display:none}.chat-upload-status:before{content:'';width:13px;height:13px;border:2px solid #ddd;border-top-color:#444;border-radius:50%;flex-shrink:0;animation:casita-upload-spin .8s linear infinite}@keyframes casita-upload-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.chat-upload-status:before{animation:none}}

/* A fixed visual month label avoids iOS native month controls overflowing their grid track. */
.calendar-month-picker{position:relative;display:grid;place-items:center;height:44px;width:190px;margin:0!important;border:1px solid #d7d7d7;border-radius:var(--ui-radius);overflow:hidden;background:#fff;box-sizing:border-box}
.calendar-month-label{font:400 14px/1.2 var(--font-body);color:#333;white-space:nowrap;pointer-events:none}
.calendar-month-picker #calendar-month{position:absolute;inset:0;opacity:0;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;cursor:pointer}
.calendar-month-picker:focus-within{outline:2px solid #666;outline-offset:2px}
@media(max-width:560px){
 .calendar-card{padding:16px;border-radius:var(--ui-radius)}
 .calendar-card .section-head{gap:8px;margin-bottom:14px;flex-wrap:nowrap}
 .calendar-card .section-head>div{min-width:0}
 .calendar-card .section-head h2{font-size:17px}
 .calendar-card .section-head .sub{font-size:11px;margin:0;line-height:1.5}
 .calendar-card .section-head button{height:44px;min-height:44px;flex-shrink:0;padding:8px;font-size:12px}
 .calendar-toolbar{grid-template-columns:58px minmax(0,1fr) minmax(0,1.35fr);gap:8px;padding-bottom:12px}
 .calendar-toolbar .calendar-month-controls{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}
 .calendar-month-controls button[data-calendar-step]{width:44px;height:44px;min-height:44px;font-size:22px}
 .calendar-month-picker{width:100%;max-width:none!important;min-width:0;height:44px}
 .calendar-month-label{font-size:15px}
 .calendar-toolbar .calendar-control{height:44px;min-height:44px;min-width:0;padding:6px;font-size:11px;gap:5px}
 .calendar-toolbar .calendar-control svg{width:15px;height:15px;flex-basis:15px}
 .calendar-layout{margin:8px 0 16px;gap:14px}
 .calendar-weekdays span{padding:8px 0}
 .calendar-day{min-height:46px;padding:0;position:relative}
 .calendar-day-number{width:100%;height:44px;min-height:44px;border-radius:0!important;font-size:12px;z-index:0}
 .is-today .calendar-day-number{background:transparent;color:#fff}
 .is-today .calendar-day-number::before{content:"";position:absolute;width:30px;height:30px;top:7px;left:calc(50% - 15px);border-radius:50%;background:#272727;z-index:-1}
 .calendar-day-dot{bottom:9px;width:3px;height:3px}
 .calendar-day:has(.calendar-day-dot){box-shadow:none}
 .calendar-upcoming{padding-top:14px}
 .calendar-upcoming h3{font-size:17px}
 .calendar-upcoming>.sub{margin:4px 0 8px;font-size:12px}
}
/* Quiet account settings, with the same borders and type as the family pages. */
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;max-width:1440px}.settings-card{padding:26px;min-width:0}.settings-card h2{font-family:inherit;font-size:20px;margin:0 0 8px}.settings-card header>.sub,.settings-card header .sub{font-size:13px;margin:0;line-height:1.6}.settings-people{margin-top:22px}.settings-person{display:flex;gap:18px;align-items:center;padding:20px 0;border-top:1px solid #e6e6e6}.settings-person .portrait{width:64px;height:64px;flex:0 0 64px;margin:0}.settings-person>div{min-width:0}.settings-person h3{font-size:15px;margin:0 0 7px}.settings-person a{display:block;font-size:13px;color:#555;overflow-wrap:anywhere;text-decoration:none;line-height:1.8}.settings-person small{display:block;font-size:11px;color:#777;margin-top:5px}.settings-casita-heading,.settings-cost-header{display:flex;justify-content:space-between;gap:16px;align-items:center}.settings-casita-heading img{object-fit:contain;flex-shrink:0}.settings-response-fields{display:grid;gap:14px;margin-top:20px}.settings-response-fields label{font-size:12px;color:#666}.settings-response-fields textarea{margin-top:7px;min-height:64px;width:100%;resize:vertical;font-size:14px;padding:10px 12px;box-sizing:border-box}.settings-form-footer{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-top:16px}.settings-form-footer button,.settings-account-footer button{display:flex;gap:8px;align-items:center;white-space:nowrap;min-height:42px}.settings-layout svg{width:18px;height:18px}.settings-note{color:#808080;font-size:11px;line-height:1.7;margin:10px 0 0}.settings-costs,.settings-account-footer{grid-column:1/-1}.settings-cost-header{padding-bottom:20px;border-bottom:1px solid #e6e6e6}.cost-summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0}.cost-summary strong{display:block;font-size:32px;font-weight:400;margin-top:7px}.cost-summary .eyebrow{font-size:10px}.cost-legend{display:flex;gap:24px;flex-wrap:wrap}.cost-legend>span{font-size:12px;color:#777;display:grid;grid-template-columns:8px 1fr;align-items:center;gap:7px}.cost-legend b{grid-column:2;color:#333;font-weight:500}.cost-legend i{width:8px;height:8px;display:inline-block}.cost-openai{background:#333}.cost-twilio{background:#8b9984}.cost-database{background:#d7d8d4}.cost-chart{height:225px;position:relative;padding-left:48px}.cost-grid-lines{position:absolute;inset:0 0 45px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.cost-grid-lines span{font-size:9px;color:#999;display:flex;align-items:center;gap:8px}.cost-grid-lines span:after{content:'';height:1px;flex:1;background:#eee}.cost-bars{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:100%;gap:20px}.cost-period{display:flex;align-items:center;flex-direction:column;font-size:12px;color:#666;gap:6px;min-width:0}.cost-period small{height:13px;font-size:9px;color:#999}.cost-bar-area{height:180px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;width:100%;gap:7px}.cost-bar-total{font-size:11px;color:#777;white-space:nowrap}.cost-stack{display:flex;flex-direction:column-reverse;width:65%;max-width:100px;overflow:hidden;border-radius:2px 2px 0 0}.cost-stack>span{display:block;flex-shrink:0}.cost-period.current{color:#222;font-weight:600}.cost-detail{border-top:1px solid #eee;padding-top:14px;margin-top:18px}.cost-detail summary{font-size:12px;color:#777;cursor:pointer}.cost-detail table{font-size:12px;margin-top:12px;min-width:520px}.settings-account-footer{display:flex;justify-content:flex-end}.settings-account-footer button{color:#777}.settings-card [role=status]{font-size:12px;margin:10px 0 0}
@media(max-width:1000px){.settings-layout{grid-template-columns:1fr}.cost-legend{gap:14px}}
@media(max-width:700px){.settings-card{padding:18px}.settings-layout{gap:16px}.settings-card h2{font-size:18px}.settings-cost-header{align-items:flex-start;flex-wrap:wrap}.cost-summary{align-items:flex-start;flex-direction:column;gap:18px}.cost-legend{width:100%;justify-content:space-between;gap:8px}.cost-bars{gap:6px}.cost-chart{padding-left:32px}.cost-bar-total{font-size:9px}.cost-period{font-size:10px}.cost-stack{width:80%}.cost-summary strong{font-size:28px}.settings-form-footer{align-items:flex-start;flex-direction:column}.settings-person{gap:12px}.settings-person .portrait{width:52px;height:52px;flex-basis:52px}.settings-casita-heading img{width:52px;height:52px}}

/* Wealth: quiet, responsive controls and exact observation selection. */
.wealth-interactive-chart{touch-action:pan-y;outline-offset:4px;cursor:crosshair}
.wealth-overview-card .number,.wealth-overview-card .change-value{font-variant-numeric:tabular-nums}
.wealth-overview-card .range-controls{display:flex;border:1px solid #e5e5e5;border-radius:var(--ui-radius);padding:3px;gap:2px}
.wealth-overview-card .range-controls button{min-height:36px;padding:7px 13px;border-radius:var(--ui-radius);white-space:nowrap}
.wealth-overview-card .range-controls button.selected{background:#e9e9e7;color:#222}
.wealth-overview-card .chart-caption{align-items:center;justify-content:flex-start;gap:8px}
.wealth-overview-card .chart{margin-top:14px}
@media(max-width:700px){.wealth-overview-card .chart-toolbar{gap:10px;flex-wrap:wrap}.wealth-overview-card .range-controls{margin-left:auto}.wealth-overview-card .range-controls button{padding:7px 10px;min-height:40px}.wealth-overview-card .chart-caption{display:none}.wealth-overview-card .change-stat>span{white-space:nowrap}.wealth-overview-card .chart{margin-top:8px}}
.wealth-interactive-chart:focus-visible{outline:1px solid #888;border-radius:var(--ui-radius)}

/* Shared signed percentage badge for summary and account comparisons. */
.percentage-change,
.change-value small.percentage-change,
.change-value.negative small.percentage-change,
.account-delta.percentage-change{display:inline-flex;align-items:center;width:max-content;white-space:nowrap;border:1px solid #d8e6d8;border-radius:var(--ui-radius);background:#edf4ed;color:#356143;padding:4px 7px;font-size:12px;font-weight:500;line-height:1.25;letter-spacing:0;font-variant-numeric:tabular-nums}
.wealth-overview-card .change-value small.percentage-change{display:table;margin-top:12px}
.wealth-overview-card .comparison-unavailable{color:#777;background:none;padding:0;border:0}
@media(min-width:1301px){.wealth-overview-card .wealth-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:stretch;gap:36px}.wealth-overview-card .changes{align-items:stretch;margin:0;padding:6px 0}.wealth-overview-card .change-stat{display:flex;flex-direction:column;justify-content:center;padding:8px 18px;min-width:0}.wealth-overview-card .change-stat:first-child{padding-left:0}.wealth-overview-card .change-stat:last-child{padding-right:0}.wealth-overview-card .change-stat>span{font-size:13px}.wealth-overview-card .change-value{font-size:clamp(21px,1.8vw,30px);margin-top:15px;letter-spacing:-.7px}.wealth-overview-card .change-value small.percentage-change{font-size:14px;padding:5px 9px}}
@media(min-width:701px) and (max-width:1300px){.wealth-overview-card .wealth-summary{display:block}.wealth-overview-card .changes{margin-top:24px}.wealth-overview-card .change-value{font-size:23px}}
@media(max-width:700px){.account-delta.percentage-change{font-size:11px;padding:3px 6px}.wealth-overview-card .change-value small.percentage-change{font-size:11px;margin-top:8px;padding:3px 6px}}
.wealth-overview-card .chart-toolbar{border-top:1px solid #dedede;margin-top:18px;padding-top:14px;justify-content:flex-end}
.wealth-overview-card .chart{margin-top:4px}

.weekly-playbook{margin-top:24px}.weekly-playbook .section-head{align-items:center;gap:16px}.weekly-playbook h2{font-family:inherit;font-size:21px}.weekly-playbook .section-head .sub{margin:6px 0 0}.playbook-actions{display:flex;gap:8px;flex-wrap:wrap}.playbook-actions button{display:flex;align-items:center;gap:7px;min-height:40px;white-space:nowrap}.weekly-playbook svg{width:16px;height:16px;flex-shrink:0}.playbook-people{display:flex;flex-wrap:wrap;gap:10px;padding:18px 0;border-top:1px solid #e5e5e5}.playbook-person{display:flex;align-items:center;gap:10px;text-align:left;padding:9px 12px}.playbook-person strong{display:block;font-size:13px;font-weight:500}.playbook-person small{display:block;font-size:11px;color:#777;margin-top:4px}.playbook-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:11px}.playbook-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #ddd}.playbook-day{min-width:0;border-left:1px solid #e5e5e5}.playbook-day:first-child{border-left:0}.playbook-day h3{font-size:12px;font-weight:500;padding:14px 10px;margin:0;border-bottom:1px solid #e5e5e5;display:flex;justify-content:space-between;gap:4px;flex-wrap:wrap}.playbook-day h3 small{font-size:9px;color:#61735f}.playbook-day.is-today h3{background:#f2f4ef}.playbook-day>div{padding:8px;min-height:155px}.playbook-empty{font-size:11px;color:#999;margin:10px 2px}.playbook-block{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;white-space:normal;margin-bottom:8px;padding:10px 8px;border:1px solid #dce2d8;border-radius:var(--ui-radius);overflow-wrap:anywhere}.playbook-block small{font-size:10px}.playbook-block strong{font-size:12px;font-weight:500}.playbook-block span{font-size:10px;color:#666}.tone-0{background:#eef3e9;color:#425b3e}.tone-1{background:#edf0f3;color:#425568}.tone-2{background:#f6efe9;color:#72553f}.tone-3{background:#f2edf4;color:#67536c}.playbook-block.school{background:#f6f6f4;border-color:#e2e2df;color:#555}.playbook-day-choices{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:8px}.playbook-day-choices legend{font-size:12px;color:#666;margin-bottom:10px}.playbook-day-choices label{display:flex;align-items:center;gap:5px;border:1px solid #ddd;border-radius:var(--ui-radius);padding:8px!important;margin:0!important;font-size:12px}.playbook-day-choices input{width:auto!important;margin:0!important}#weekly-playbook-form>label{display:block;margin:16px 0}#weekly-playbook-form input,#weekly-playbook-form select,#weekly-playbook-form textarea{max-width:100%;box-sizing:border-box}#weekly-playbook-form textarea{min-height:80px}.weekly-playbook .settings-note{margin-top:14px}
@media(max-width:1100px){.playbook-week{grid-template-columns:repeat(2,minmax(0,1fr))}.playbook-day{border-bottom:1px solid #e5e5e5}.playbook-day:nth-child(odd){border-left:0}.playbook-day>div{min-height:90px}.weekly-playbook .section-head{flex-wrap:wrap}}
@media(max-width:700px){.weekly-playbook{padding:18px}.playbook-actions{width:100%}.playbook-actions button{flex:1;justify-content:center;font-size:12px}.playbook-people{gap:8px}.playbook-person{max-width:100%;min-width:0}.playbook-person>span{min-width:0}.playbook-person small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playbook-day h3{font-size:12px;padding:12px 8px}.playbook-block{min-height:60px}.playbook-day>div{padding:6px}.playbook-block small{font-size:11px}.playbook-block strong{font-size:13px}.playbook-block span{font-size:11px}}
#weekly-playbook-form [hidden]{display:none!important}
/* One family calendar: quiet color cues, a readable week, compact mobile days. */
.calendar-view-controls,.family-week-toolbar,.week-navigation,.schedule-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.calendar-view-controls{justify-content:space-between;margin:20px 0 14px}.calendar-view-toggle{display:flex;border:1px solid #dcded8;padding:4px;border-radius:var(--ui-radius)}.calendar-view-toggle button{border:0;background:none;height:36px;padding:0 18px}.calendar-view-toggle button[aria-pressed=true]{background:#e8eae4;color:#364431}.family-week-toolbar{justify-content:space-between;padding:0 0 14px}.week-navigation strong{font-size:14px;font-weight:500;min-width:142px;text-align:center}.week-navigation button{height:36px;min-width:36px;padding:0 10px}.schedule-legend{font-size:11px;color:#777;margin:0 0 16px}.schedule-legend span:before{content:'';display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#bca784}.schedule-legend .school:before{background:#91a387}.schedule-legend .google:before{background:#8399ad}.schedule-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #dfe1db;gap:6px}.schedule-day{min-width:0;border-right:1px solid #eceee8;padding:0 5px 10px 0}.schedule-day:last-child{border-right:0}.schedule-day h3{display:flex;align-items:center;gap:7px;font-size:11px;color:#777;font-weight:400;margin:14px 0}.schedule-day h3 strong{font-size:17px;color:#333;font-weight:500}.schedule-day h3 small{display:none}.schedule-day.is-today h3 strong{background:#394435;color:#fff;border-radius:50%;height:26px;width:26px;display:grid;place-items:center}.schedule-entry{display:block;width:100%;text-align:left;border:0;border-left:2px solid #bca784;background:#f5f0e7;border-radius:var(--ui-radius);padding:9px 7px;margin:0 0 8px;color:#3e403a;white-space:normal;min-width:0;overflow-wrap:anywhere}.schedule-school{background:#edf1e9;border-color:#91a387}.schedule-google{background:#ecf0f4;border-color:#8399ad}.schedule-entry-time{display:block;font-size:10px;line-height:1.4;margin-bottom:8px}.schedule-entry-name{display:flex;align-items:center;gap:5px;margin-bottom:6px}.schedule-entry-name strong{font-size:11px;line-height:1.35;font-weight:500}.schedule-avatar{flex-shrink:0;width:23px;height:23px;border-radius:50%;background:#fff9;display:grid;place-items:center;font-size:8px;font-weight:600}.schedule-entry-name svg{width:17px;height:17px;flex-shrink:0}.schedule-entry>span:not(.schedule-entry-name):not(.schedule-entry-time){display:block;font-size:10px;margin:5px 0}.schedule-entry>small{display:block;font-size:9px;color:#72766a;line-height:1.4}.schedule-empty{font-size:11px;line-height:1.6;color:#989b91;padding:12px 4px}.weekly-layout{grid-template-columns:minmax(0,3fr) minmax(210px,1fr);gap:22px}.calendar-upcoming>.schedule-entry{padding:12px}.calendar-upcoming>.schedule-entry .schedule-entry-name strong{font-size:13px}.playbook-manage{border-top:1px solid #deded8;margin-top:20px;padding-top:16px}.playbook-manage summary{font-size:13px;cursor:pointer}.playbook-manage>button{margin:16px 8px 0 0}.week-mobile-tabs{display:none}.dashboard-week-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:24px;margin-top:24px;align-items:start}.dashboard-week-row .dashboard-market{margin:0;border-radius:var(--ui-radius)}.dashboard-week{min-width:0;margin:0;padding:24px}.wrap-highlights{display:block;font-size:12px;color:#777;line-height:1.6;margin-top:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wealth-letter-frame{width:100%;height:calc(100dvh - 130px);border:0;background:#fff}.unified-calendar .section-head .playbook-actions{flex-wrap:wrap}.unified-calendar .calendar-upcoming h4{font-size:13px;margin:24px 0 4px}.dashboard-week .section-head h2{font-size:19px}
@media(max-width:1250px){.weekly-layout{grid-template-columns:1fr}.weekly-layout .calendar-upcoming{border-left:0;border-top:1px solid #deded8;padding:20px 0 0}.dashboard-week-row{grid-template-columns:1fr}.schedule-entry-name{flex-wrap:wrap}}
@media(max-width:650px){.unified-calendar,.dashboard-week{padding:18px 14px}.unified-calendar .section-head{align-items:flex-start;gap:14px}.unified-calendar .section-head h2{font-size:21px}.unified-calendar .playbook-actions{gap:6px}.unified-calendar .playbook-actions button{padding:0 8px;height:36px;font-size:12px}.unified-calendar .section-head .sub{font-size:11px}.week-navigation{gap:6px}.week-navigation strong{font-size:12px;min-width:128px}.family-week-toolbar>.calendar-control{font-size:12px;padding:8px}.week-mobile-tabs{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid #deded8;padding-top:10px;margin-bottom:12px;gap:3px}.week-mobile-tabs button{border:0;background:transparent;padding:5px 0;display:grid;gap:5px;color:#888;border-radius:var(--ui-radius)}.week-mobile-tabs button.selected{background:#e8ece3;color:#34412d}.week-mobile-tabs span{font-size:10px}.week-mobile-tabs strong{font-size:16px;font-weight:500}.week-mobile-tabs i{height:8px;font-size:12px;line-height:8px}.schedule-week-grid{display:block;border:0}.schedule-day{display:none;border:0;padding:0}.schedule-day.is-selected{display:block}.schedule-day h3{display:none}.schedule-entry{padding:13px 14px;margin-bottom:10px}.schedule-entry-time{font-size:12px}.schedule-entry-name strong{font-size:15px}.schedule-entry-name{flex-wrap:nowrap;gap:9px}.schedule-avatar{width:30px;height:30px;font-size:10px}.schedule-entry>span:not(.schedule-entry-name):not(.schedule-entry-time){font-size:12px}.schedule-entry>small{font-size:10px}.schedule-empty{padding:20px 0}.dashboard-week-row{gap:18px}.calendar-view-controls>button{font-size:12px}.calendar-view-toggle button{font-size:12px;padding:0 14px}}
.schedule-entry-name strong{overflow-wrap:normal;word-break:normal}.compact .schedule-entry-name{flex-direction:column;align-items:flex-start}.compact .schedule-entry{padding:9px 6px}.compact .schedule-entry-time{font-size:9px}.compact .schedule-entry-name strong{font-size:11px}.compact .schedule-entry>small{font-size:8px}
@media(max-width:650px){.unified-calendar .section-head{display:block}.unified-calendar .section-head h2{margin-bottom:6px}.unified-calendar .section-head .playbook-actions{margin-top:14px;display:flex}.family-week-toolbar>.calendar-control{font-size:0;width:36px;height:36px;padding:8px;display:grid;place-items:center}.family-week-toolbar>.calendar-control svg{width:17px;height:17px}.compact .schedule-entry-name{flex-direction:row;align-items:center}.compact .schedule-entry-name strong{font-size:15px}.compact .schedule-entry-time{font-size:12px}.compact .schedule-entry{padding:13px 14px}}
/* Weekly Rundown and daily dashboard */
.dashboard-overview{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:24px;align-items:start}.dashboard-main{min-width:0;display:grid;gap:24px}.dashboard-overview .dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-overview .dashboard-card{min-height:170px;padding:22px}.dashboard-overview .dashboard-card strong{font-size:clamp(23px,2.1vw,38px)}.dashboard-overview .dashboard-right{display:grid;gap:24px;min-width:0}.dashboard-overview .dashboard-assistant{padding:22px;min-height:170px;margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.dashboard-assistant-compact h2{font:30px var(--font-heading)!important;margin:0!important}.dashboard-assistant-compact .eyebrow{font-size:10px;letter-spacing:1.5px}.dashboard-assistant-compact button{display:flex;gap:8px;align-items:center}.dashboard-overview .dashboard-market{margin:0;padding:22px;border-radius:var(--ui-radius)}.dashboard-week .section-head h2,.unified-calendar .section-head h2,.dashboard-market .section-head h2,.calendar-settings-row h2{font-family:var(--font-heading);font-weight:400;font-size:27px;letter-spacing:-.5px}.dashboard-market .section-head{align-items:flex-start}.dashboard-market .section-head h2{margin:0}.dashboard-market .section-head>svg{flex-shrink:0}.dashboard-overview .dashboard-week{padding:20px}.dashboard-overview .section-head .playbook-actions{flex-shrink:0}.schedule-entry{position:relative;background:#f8e6ce;border-left-color:#b5834e}.schedule-school{background:#e1ecd7;border-left-color:#7f9569}.schedule-google{background:#d4e5f6;border-left-color:#3f729e}.schedule-entry .schedule-type-icon{position:absolute;top:8px;right:7px;width:16px;height:16px;margin:0!important;color:#746044}.schedule-school .schedule-type-icon{color:#526b3e}.schedule-google .schedule-type-icon{color:#2c5f8d}.schedule-type-icon svg{width:16px;height:16px}.schedule-entry-time{padding-right:20px;min-height:18px}.schedule-avatar{object-fit:cover;object-position:center}.schedule-legend span:before{display:none}.schedule-legend span{display:flex;align-items:center;gap:5px}.schedule-legend svg{width:17px;height:17px}.schedule-legend .school{color:#526b3e}.schedule-legend .childcare{color:#89643c}.schedule-legend .google{color:#2c5f8d}.unified-calendar .section-head{margin-bottom:18px}.unified-calendar .section-head .playbook-actions{flex-wrap:nowrap}.icon-control{width:38px!important;height:38px!important;padding:8px!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px!important}.icon-control svg{width:19px;height:19px}.calendar-settings-row{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:22px;align-items:stretch}.calendar-settings-row .hub-card{margin:0;padding:22px;min-width:0;border-radius:var(--ui-radius)}.calendar-settings-row h2{font-size:25px;margin:12px 0}.calendar-settings-row p{font-size:12px;line-height:1.6}.calendar-settings-row .eyebrow{font-size:9px;letter-spacing:1.2px}.coverage-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.coverage-profile{display:flex;align-items:center;gap:10px;padding:14px 10px;border:1px solid #deded8;border-radius:var(--ui-radius);text-decoration:none;color:inherit;white-space:normal;text-align:left;min-width:0}.coverage-profile>.schedule-avatar{width:45px;height:45px}.coverage-profile>span:not(.schedule-avatar){display:grid;gap:6px;min-width:0}.coverage-profile strong{font-size:13px;font-weight:500}.coverage-profile small{font-size:10px;color:#777;overflow-wrap:anywhere;line-height:1.4}.coverage-profile>svg{width:15px;height:15px;flex-shrink:0;margin-left:auto}.calendar-settings-row button,.calendar-settings-row .calendar-control{font-size:12px;white-space:normal}.connection-settings details{margin-top:18px;font-size:11px;color:#777}.connection-settings details button{margin-top:10px}.calendar-settings-row .settings-note{margin:16px 0 0}.calendar-settings-row .section-head h2{margin:0}.dashboard-overview .dashboard-week .section-head{flex-wrap:wrap;gap:12px}
@media(max-width:1200px){.dashboard-overview{grid-template-columns:minmax(0,2.6fr) minmax(220px,1fr)}.calendar-settings-row{grid-template-columns:2fr 1fr 1fr}.coverage-profiles{grid-template-columns:1fr 1fr}.calendar-settings-row .hub-card{padding:16px}.coverage-profile{flex-wrap:wrap}.coverage-profile>svg{display:none}}
@media(max-width:900px){.dashboard-overview{grid-template-columns:1fr}.dashboard-overview .dashboard-right{grid-template-columns:1fr 1fr}.calendar-settings-row{grid-template-columns:1fr 1fr}.coverage-directory{grid-column:1/-1}.coverage-profiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.dashboard-overview .dashboard-card{padding:13px;min-height:145px}.dashboard-overview .dashboard-card strong{font-size:21px}.dashboard-overview .dashboard-card small{font-size:10px}.dashboard-overview .dashboard-cards{gap:8px}.dashboard-overview .dashboard-right{grid-template-columns:1fr}.dashboard-overview .dashboard-week{padding:16px 12px}.coverage-profiles{grid-template-columns:1fr 1fr}.calendar-settings-row{gap:12px}.calendar-settings-row h2{font-size:22px}.coverage-profile{align-content:start;gap:9px}.calendar-settings-row .section-head{gap:10px;flex-wrap:wrap}.family-week-toolbar{gap:12px}.calendar-view-toggle button{padding:0 12px;height:32px}.unified-calendar .section-head .playbook-actions{width:100%;gap:5px}.playbook-actions .icon-control{flex:0 0 36px!important;width:36px!important;height:36px!important}.schedule-type-icon{top:12px!important;right:12px!important}.schedule-entry-time{padding-right:24px}.dashboard-week .section-head h2,.unified-calendar .section-head h2{font-size:25px}.compact .schedule-entry-time{padding-right:24px}}

.unified-calendar .family-week-toolbar{justify-content:flex-start;gap:20px}
/* Dashboard: rolling seven-day Rundown, with room for the assistant. */
.dashboard-overview{grid-template-columns:minmax(0,2.2fr) minmax(280px,1fr)}.dashboard-assistant-compact{position:relative}.dashboard-assistant-compact .dashboard-casita-avatar{position:absolute;top:18px;right:18px;width:58px;height:58px;border-radius:50%;object-fit:cover}.dashboard-assistant-compact .eyebrow{padding-right:66px;min-height:28px;line-height:1.6}.dashboard-assistant-compact h2{padding-right:52px}.dashboard-agenda{border-top:1px solid #dfe1db}.agenda-day{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:15px 0;border-bottom:1px solid #e3e5df}.agenda-day:last-child{border-bottom:0;padding-bottom:0}.agenda-day header{padding-top:5px}.agenda-day h3{font:20px var(--font-heading);margin:0 0 7px}.agenda-day header>span{font-size:11px;color:#777}.agenda-day:first-child h3{color:#526b3e}.agenda-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch}.agenda-blocks .schedule-entry{margin:0;padding:11px 9px}.agenda-blocks .schedule-entry-name{flex-wrap:nowrap}.agenda-blocks .schedule-entry-name strong{font-size:12px}.agenda-blocks .schedule-avatar{width:28px;height:28px}.schedule-entry .schedule-type-icon,.schedule-entry .schedule-type-icon svg{width:13px;height:13px}.schedule-entry-time{height:2.8em;min-height:2.8em;line-height:1.4;overflow:hidden;padding-right:16px}.agenda-blocks .schedule-entry-time{font-size:11px}.schedule-entry-name{min-height:28px}.schedule-legend svg{width:15px;height:15px}
@media(max-width:1200px){.dashboard-overview{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.agenda-day{grid-template-columns:90px minmax(0,1fr);gap:10px}.agenda-day h3{font-size:17px}.agenda-blocks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-overview{grid-template-columns:1fr}.agenda-blocks{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.agenda-day{grid-template-columns:1fr;gap:12px}.agenda-day header{display:flex;align-items:baseline;gap:10px}.agenda-day h3{font-size:20px;margin:0}.agenda-blocks{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-blocks .schedule-entry-name{flex-wrap:wrap;gap:6px}.agenda-blocks .schedule-entry-name strong{font-size:12px}.agenda-blocks .schedule-entry{padding:12px 9px}.agenda-blocks .schedule-entry-time{padding-right:18px}.dashboard-assistant-compact .dashboard-casita-avatar{width:58px;height:58px}.schedule-entry .schedule-type-icon{top:11px!important;right:9px!important}}
/* Shared dashboard tracks keep all four cards and both lower panels aligned. */
@media(min-width:901px){.dashboard-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}.dashboard-main,.dashboard-overview .dashboard-cards,.dashboard-overview .dashboard-right{display:contents}.dashboard-overview .dashboard-card{grid-row:1;margin:0;min-height:184px}.dashboard-overview .dashboard-card:nth-child(1){grid-column:1}.dashboard-overview .dashboard-card:nth-child(2){grid-column:2}.dashboard-overview .dashboard-card:nth-child(3){grid-column:3}.dashboard-overview .dashboard-assistant{grid-row:1;grid-column:4;min-height:184px;height:100%;box-sizing:border-box}.dashboard-overview .dashboard-week{grid-row:2;grid-column:1/4;align-self:start}.dashboard-overview .dashboard-market{grid-row:2;grid-column:4;align-self:start}.dashboard-assistant-compact h2{font-size:27px!important;padding-right:0}.dashboard-assistant-compact .eyebrow{font-size:9px;min-height:34px}.dashboard-overview .dashboard-market h2{white-space:nowrap;font-size:25px}.dashboard-overview .dashboard-card strong{font-size:clamp(21px,2vw,36px)}}

/* Visual school and childcare details. */
.coverage-detail{max-width:900px;margin:0 auto;color:#30352d}.coverage-detail svg{width:19px;height:19px;flex-shrink:0}.coverage-detail-heading{padding:26px;border:1px solid #d8e1cf;background:#f0f5ea}.coverage-detail-childcare .coverage-detail-heading{background:#fcf2e5;border-color:#ecddc7}.coverage-detail-category{display:flex;align-items:center;gap:8px;font-size:11px;text-transform:uppercase;letter-spacing:1.4px;color:#64754f}.coverage-detail-childcare .coverage-detail-category{color:#966a35}.coverage-detail-heading h2{font-size:36px!important;margin:16px 0 22px!important;line-height:1.15}.coverage-detail-when{display:flex;gap:14px 26px;flex-wrap:wrap;font-size:14px}.coverage-detail-when>span{display:flex;align-items:center;gap:9px}.coverage-detail-section{margin-top:28px}.coverage-detail-section h3{font-family:var(--font-heading);font-weight:400;font-size:23px;margin:0 0 15px}.coverage-children{display:flex;gap:14px;flex-wrap:wrap}.coverage-child{display:flex;align-items:center;gap:14px;border:1px solid #e1e2de;background:#fafbf8;padding:12px 20px 12px 12px;min-width:140px}.coverage-child .portrait{width:64px;height:64px;margin:0;flex:0 0 64px}.coverage-child strong{font-weight:500;font-size:16px}.coverage-provider{display:flex;align-items:center;gap:24px;padding:24px;border:1px solid #dedfd9;background:#fff}.coverage-provider>.schedule-avatar{width:128px;height:128px;flex:0 0 128px;object-fit:cover;font-size:32px}.coverage-provider>div{min-width:0}.coverage-detail h4{font-family:var(--font-heading);font-size:26px;font-weight:400;line-height:1.25;margin:8px 0 16px}.coverage-detail .eyebrow{font-size:10px;color:#777;letter-spacing:1.4px}.coverage-contact-line{display:flex;align-items:center;gap:10px;color:#545a50;font-size:14px;line-height:1.6;text-decoration:none;margin:10px 0;overflow-wrap:anywhere}.coverage-contact-line:hover{text-decoration:underline;text-underline-offset:3px}.coverage-school-provider>.schedule-avatar{width:180px;height:160px;flex-basis:180px;border-radius:3px;object-fit:cover}.coverage-school-contact{display:flex;align-items:center;gap:18px;padding:20px 24px;border:1px solid #dedfd9;border-top:0;background:#fafbf8}.coverage-contact-monogram{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:#e8eddf;color:#69775a;font-family:var(--font-heading);font-size:21px}.coverage-school-contact h4{font-size:23px;margin:6px 0}.coverage-school-contact .coverage-contact-line{margin:5px 0 0}.coverage-notes p{font-size:14px;line-height:1.7;white-space:pre-wrap}.coverage-detail-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;padding-top:22px}.coverage-detail-actions button{display:flex;gap:8px;align-items:center;font-size:13px}
@media(max-width:600px){.coverage-detail-heading{padding:20px}.coverage-detail-heading h2{font-size:29px!important}.coverage-detail-when{flex-direction:column;gap:12px;font-size:13px}.coverage-provider{padding:18px;gap:16px;align-items:flex-start}.coverage-provider>.schedule-avatar{width:88px;height:88px;flex-basis:88px}.coverage-provider h4{font-size:23px}.coverage-school-provider{flex-direction:column}.coverage-school-provider>.schedule-avatar{width:100%;height:180px;flex-basis:auto;object-fit:contain;background:#fafbf8}.coverage-school-contact{padding:18px;gap:12px}.coverage-contact-line{font-size:13px}.coverage-children{gap:10px}.coverage-child{padding:10px;min-width:0;flex:1;gap:10px}.coverage-child .portrait{width:48px;height:48px;flex-basis:48px}.coverage-child strong{font-size:14px}.coverage-detail-actions{flex-direction:column}.coverage-detail-actions button{justify-content:center;width:100%}}

/* Compact dashboard cards and schedule, with editions as clear actions. */
.dashboard-overview .dashboard-card{min-height:145px;gap:6px!important;padding:16px!important}.dashboard-overview .dashboard-assistant{min-height:145px;padding:18px;gap:18px;justify-content:center}.dashboard-assistant-compact .eyebrow{min-height:34px;font-size:9px}.dashboard-assistant-compact .dashboard-casita-avatar{width:48px;height:48px;top:16px;right:16px}.dashboard-assistant-compact button{min-height:40px;padding:9px 14px}.dashboard-overview .market-wrap-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dcded7;background:#fafbf8;border-radius:var(--ui-radius);padding:14px;margin:12px 0 0;width:100%;text-align:left}.dashboard-overview .market-wrap-row:hover{background:#f0f3eb;border-color:#aab49d}.dashboard-overview .market-wrap-row>span{min-width:0}.dashboard-overview .market-wrap-row small{font-size:11px;margin:0 0 6px;display:block;color:#777}.dashboard-overview .market-wrap-row strong{font-size:14px;font-weight:500;display:block}.dashboard-overview .market-wrap-row>svg{width:18px;height:18px;flex-shrink:0}.dashboard-overview .dashboard-market>.text-button{margin-top:14px}.dashboard-market .market-status:empty{display:none}.agenda-day{padding:10px 0;gap:12px}.agenda-blocks .schedule-entry{padding:8px}.schedule-entry{padding-top:8px;padding-bottom:8px}.schedule-entry-time{height:2.8em;min-height:2.8em;margin-bottom:3px}.agenda-blocks .schedule-entry-time,.calendar-upcoming .schedule-entry-time{height:1.4em;min-height:1.4em;white-space:nowrap;font-size:10px}.schedule-entry-name{margin-bottom:3px;min-height:24px}.agenda-blocks .schedule-avatar{width:24px;height:24px}.schedule-entry>span:not(.schedule-entry-name):not(.schedule-entry-time):not(.schedule-type-icon){margin:3px 0}.agenda-blocks .schedule-entry>small{font-size:8px}.agenda-blocks .schedule-entry-name strong{font-size:11px}.agenda-blocks .schedule-entry-name{flex-wrap:nowrap;gap:5px}
@media(max-width:650px){.dashboard-overview .dashboard-card{min-height:125px;padding:12px!important}.dashboard-overview .dashboard-assistant{min-height:125px}.agenda-day{gap:8px}.agenda-blocks .schedule-entry-time{font-size:9px;padding-right:16px}.agenda-blocks .schedule-entry{padding:8px 6px}.agenda-blocks .schedule-entry-name strong{font-size:11px}.schedule-entry{padding-top:10px;padding-bottom:10px}}
.dashboard-assistant-compact .eyebrow{white-space:nowrap}

/* Event details share the school and childcare slideout layout. */
.coverage-detail-event .coverage-detail-heading{background:#edf4fb;border-color:#d0dfec}.coverage-detail-event .coverage-detail-category{color:#3d709b}.event-guests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.event-guest-card{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid #dedfd9;background:#fafbfC;min-width:0}.event-guest-card>.portrait{width:80px;height:80px;flex:0 0 80px;margin:0}.event-guest-card>div{min-width:0}.event-guest-card strong{font-family:var(--font-heading);font-size:23px;font-weight:400;overflow-wrap:anywhere}.event-guest-card .coverage-contact-line{font-size:12px;margin:8px 0 12px;gap:7px}.event-guest-card small{font-size:11px;color:#777;margin-left:8px}.event-guest-monogram{display:grid;place-items:center;width:64px;height:64px;flex:0 0 64px;border-radius:50%;background:#e3edf5;color:#54758f;font-family:var(--font-heading);font-size:24px}.event-rsvp{display:inline-block;font-size:11px;padding:4px 8px;background:#eee;color:#666;border-radius:var(--ui-radius)}.event-rsvp.accepted{background:#e6efdf;color:#526944}.event-rsvp.declined{background:#f6e9e5;color:#915c4d}.event-rsvp.tentative{background:#f8eedc;color:#8a703a}.event-location-card{border:1px solid #dedfd9;padding:20px;background:#fafbfc}.event-location-card>span{flex:1}.coverage-detail-event .coverage-detail-actions a{display:flex;align-items:center;gap:10px}
@media(max-width:700px){.event-guests{grid-template-columns:1fr}.event-guest-card{padding:16px;gap:14px}.event-guest-card>.portrait{width:64px;height:64px;flex-basis:64px}.event-guest-card strong{font-size:21px}.event-location-card{padding:16px}}

/* Show the small static crest while the session check runs; load animation only on the signed-out entrance. */
.crest-entry .crest-placeholder{display:block;width:min(400px,90vw);height:auto}

/* Illustrated dashboard invitations, with live accessible labels. */
.dashboard-overview .dashboard-assistant-compact{position:relative;overflow:hidden;background:linear-gradient(115deg,#f6f7f2,#fff 70%);padding:20px;gap:20px;isolation:isolate}
.dashboard-assistant-compact .dashboard-assistant-art{position:absolute;right:-8px;bottom:-18px;width:46%;height:calc(100% + 6px);object-fit:contain;object-position:center bottom;z-index:-1;pointer-events:none}
.dashboard-assistant-compact .eyebrow{min-height:0;padding:0;font-size:10px;letter-spacing:.15em}
.dashboard-assistant-compact button{align-self:flex-start;background:#fff;color:#343b30;border-color:#adb5a5;box-shadow:0 2px 8px #313b3010;font-size:13px;gap:8px}
.dashboard-overview .market-wrap-edition{min-height:116px;padding:20px 23%;justify-content:center;text-align:center;background:#fff url('/wealth-wrap-heraldic.webp') center/100% auto no-repeat;transition:border-color .15s,box-shadow .15s;border-color:#d7dbd1}
.dashboard-overview .market-wrap-edition:hover{background:#fff url('/wealth-wrap-heraldic.webp') center/100% auto no-repeat;border-color:#87957a;box-shadow:0 3px 12px #34432e12}
.market-wrap-edition>span{display:flex;align-items:center;flex-direction:column;gap:6px;white-space:nowrap}
.dashboard-overview .market-wrap-edition small{font-size:8px;letter-spacing:.13em;color:#747b6e}
.dashboard-overview .market-wrap-edition strong{font-family:var(--font-heading);font-size:18px;font-weight:700;line-height:1.25;color:#30382c}
.market-wrap-edition .edition-cta{display:flex;align-items:center;gap:6px;font-size:11px;color:#616c58}
.market-wrap-edition .edition-cta svg{width:14px;height:14px}
@media(max-width:650px){.dashboard-overview .dashboard-assistant-compact{padding:16px;gap:18px}.dashboard-assistant-compact .eyebrow{font-size:9px}.dashboard-assistant-compact button{font-size:12px;padding:8px 10px}.dashboard-assistant-compact .dashboard-assistant-art{right:-10px;width:43%}}

/* Full-width portrait headers belong only to the Family directory cards. */
.family-profile .family-card-image{width:100%;overflow:hidden;background:#f4f3ef;border-bottom:1px solid #e8e6df}
.family-profile .family-card-image .portrait{width:100%;height:auto;aspect-ratio:1;max-width:none;margin:0;border-radius:0;mix-blend-mode:multiply}
.family-profile .profile-open h2{margin-top:2px}
@media(max-width:700px){.family-profile .profile-card-actions{padding:0 12px 12px;gap:6px}.family-profile .profile-card-actions button{min-width:0;white-space:normal}}

/* Give calendar settings a shared, wider sidebar beside the team. */
.calendar-settings-row{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);grid-template-rows:auto auto;gap:18px 20px}
.calendar-settings-row .coverage-directory{grid-column:1;grid-row:1/3}
.calendar-settings-row .rundown-settings{grid-column:2;grid-row:1}
.calendar-settings-row .connection-settings{grid-column:2;grid-row:2}
.calendar-settings-row .rundown-settings,.calendar-settings-row .connection-settings{padding:20px 24px}
.calendar-settings-row h2{line-height:1.2}
.calendar-refresh-status{margin:0 0 14px;min-height:1em}
.calendar-refresh-status:empty{display:none}
[data-calendar-refresh][aria-busy=true] svg{animation:calendar-refresh-spin 1s linear infinite}
@keyframes calendar-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){[data-calendar-refresh][aria-busy=true] svg{animation:none}}
@media(max-width:1100px){.calendar-settings-row .coverage-profiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.calendar-settings-row{grid-template-columns:1fr;grid-template-rows:auto}.calendar-settings-row .coverage-directory,.calendar-settings-row .rundown-settings,.calendar-settings-row .connection-settings{grid-column:1;grid-row:auto}}
@media(max-width:450px){.calendar-settings-row .coverage-profiles{grid-template-columns:1fr}}

/* A compact illustrated cover for each saved Wealth Wrap edition. */
.dashboard-overview .market-wrap-edition,.dashboard-overview .market-wrap-edition:hover{position:relative;isolation:isolate;overflow:hidden;min-height:160px;padding:32px 12px;background:linear-gradient(115deg,#f1f3eb,#fff 75%)}
.dashboard-overview .market-wrap-edition:before{content:'';position:absolute;inset:0;background:url('/wealth-wrap-heraldic-v2.webp') center/100% 100% no-repeat;mix-blend-mode:multiply;opacity:.7;z-index:-1;pointer-events:none}
.dashboard-overview .market-wrap-edition>span{gap:8px}
.dashboard-overview .market-wrap-edition small{font-size:8px;letter-spacing:.09em;margin:0}
.dashboard-overview .market-wrap-edition strong{font-size:20px}
@media(min-width:901px){.dashboard-title-row>div{width:100%}.dashboard-title-row .sub{max-width:calc(75% - 6px)}}

.casita-text-link{color:inherit;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.dashboard-assistant-compact .dashboard-casita-text{margin:-12px 0 0;font-size:10px;line-height:1.6;color:#64705a;position:relative;max-width:62%}
.dashboard-casita-text .casita-text-link{display:inline-block}
.chat-history-bar>.sub{line-height:1.6}

/* Shared household lists and birthday reminders */
.shopping-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}.shopping-category{min-width:0;background:#f8f9f5;padding:20px;border:1px solid #e0e4dc}.shopping-category h3{font-family:var(--font-heading);font-weight:400;font-size:24px;margin:0 0 16px}.shopping-category h3 small{display:block;font:12px var(--font-body);color:#777;margin-top:8px}.shopping-item{display:flex;align-items:flex-start;gap:10px;padding:14px 0;border-top:1px solid #dfe3db}.shopping-check,.shopping-item-main{background:none;border:0;padding:0;min-height:28px;box-shadow:none}.shopping-check{font-size:24px;color:#637553}.shopping-item-main{display:flex;flex:1;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;min-width:0;overflow-wrap:anywhere}.shopping-item-main strong{font-size:16px}.shopping-item-main small,.shopping-item-main span{font-size:13px;color:#73776e}.shopping-item.is-complete strong{text-decoration:line-through;color:#8c9087}.shopping-item>a svg{width:18px}.schedule-birthday{background:#eee2f3;border-left-color:#9575a3}.schedule-birthday .schedule-type-icon,.schedule-legend .birthday{color:#865892}.birthday-list{margin:24px 0}.birthday-list svg{width:24px;height:24px}.coverage-detail-category>svg{width:24px;height:24px}@media(max-width:1000px){.shopping-columns{grid-template-columns:1fr}}
.calendar-cell-events .birthday-event,.calendar-event-row.birthday-event{background:#eee2f3;color:#765281}.calendar-info svg{width:18px;height:18px}

/* Compact birthday reminders in week and month views. */
.schedule-entry.schedule-birthday{padding:9px 28px 9px 9px;min-height:0;align-self:start;line-height:1.3}.schedule-entry.schedule-birthday .birthday-short-name{display:block;margin:0;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-entry.schedule-birthday .birthday-age{margin-top:3px;font-size:10px;line-height:1.3;color:#765281}.calendar-cell-events button.birthday-event{display:flex;align-items:center;gap:5px}.calendar-cell-events .birthday-event>svg{width:13px;height:13px;flex-shrink:0}.calendar-cell-events .birthday-event .birthday-month-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Shared household workspace */

.team-preview-control{position:absolute;top:28px;right:112px;width:42px;height:46px;padding:10px;border:0;background:transparent;z-index:10}.team-preview-control svg{width:22px;height:22px}.demo-dollar-toggle{right:162px!important}.team-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;margin-bottom:22px;background:#eaf0e4;color:#43533c;border:1px solid #c6d0bf;border-radius:var(--ui-radius)}.team-preview-banner button{padding:8px 12px;background:white}.team-dashboard{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(290px,1fr);gap:28px;align-items:start}.team-dashboard>aside{display:grid;gap:24px}.team-dashboard .dashboard-assistant{min-height:200px}.team-dashboard .dashboard-assistant-art{width:31.5%;height:auto;max-height:80%;object-fit:contain;object-position:right bottom;mix-blend-mode:multiply}.team-filter{width:max-content;margin-bottom:14px}.shared-home-details{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.shared-home-details small,.shared-home-details strong{display:block}.shared-home-details small{color:#777;margin-bottom:7px}.shared-home-details strong{font-weight:500}.contractor-row{display:flex;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid #e7e7e2}.contractor-row h3{margin:6px 0;font-size:22px}.contractor-row small{color:#7d8276}.contractor-row a{display:flex;gap:8px}.contractor-row svg{width:18px;height:18px}.contractor-row>button{align-self:center}.maintenance-row{display:flex;width:100%;text-align:left;align-items:center;gap:16px;padding:18px 0;border:0;border-bottom:1px solid #e7e7e2;background:transparent}.maintenance-row>span:nth-child(2){flex:1}.maintenance-row strong,.maintenance-row small{display:block}.maintenance-row small{color:#777;font-size:13px;margin-top:6px}.maintenance-row svg{width:20px;height:20px}.kids-list{display:grid;gap:28px}.kid-card{display:grid;grid-template-columns:minmax(180px,27%) 1fr;border:1px solid #deded8;background:white;overflow:hidden}.kid-art{background:linear-gradient(140deg,#f5f4ef,#e9ece4);display:grid;place-items:start center;padding:35px 0}.kid-art .portrait{width:100%;aspect-ratio:1;max-width:330px;height:auto;border-radius:0;mix-blend-mode:multiply}.kid-content{padding:30px;min-width:0}.kid-content h2{font:32px var(--font-heading);margin:0}.kid-birthday{display:flex;align-items:center;gap:8px;color:#777}.kid-birthday svg{width:19px;height:19px}.kid-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kid-facts small{display:block;color:#777;margin-bottom:8px}.kid-actions{display:flex;flex-wrap:wrap;gap:10px;padding:20px 0}.kid-actions button{font-size:13px;padding:10px 12px}.kid-actions svg{width:16px;height:16px}.kid-timeline{border-top:1px solid #e6e6df;padding-top:12px}.kid-timeline article{display:flex;gap:14px;border-left:1px solid #dcded5;margin-left:18px;padding:14px 0 20px 24px;position:relative}.note-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eef0e9;flex:none;font-size:11px;margin-left:-44px;overflow:hidden}.note-avatar img{width:100%;height:100%;object-fit:cover}.kid-timeline time{display:block;font-size:12px;color:#888;margin-top:5px}.kid-timeline p{white-space:pre-wrap;margin:10px 0}.team-personal-settings{max-width:680px}.team-personal-settings form{margin-bottom:30px}.team-profile-photo{width:100px;height:100px;border-radius:50%;object-fit:cover}.team-shopping-summary h2{font:30px var(--font-heading)}.team-shopping-summary small{color:#777}
@media(max-width:1000px){.team-dashboard{grid-template-columns:1fr}.team-dashboard>aside{grid-template-columns:1fr 1fr}.kid-facts{grid-template-columns:1fr}.team-preview-control{right:92px}.demo-dollar-toggle{right:142px!important}}
@media(max-width:700px){.team-preview-control{position:fixed;top:11px;right:64px;z-index:35}.demo-dollar-toggle{right:110px!important}.content>.title-row{padding-right:145px}.team-dashboard>aside{grid-template-columns:1fr}.kid-card{grid-template-columns:1fr}.kid-art{padding:0}.kid-art .portrait{max-width:220px}.kid-content{padding:20px}.shared-home-details{gap:16px}.team-preview-banner{align-items:flex-start;font-size:12px}.team-preview-banner button{flex:none}.team-filter{max-width:100%}}
.team-dashboard .dashboard-assistant{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#f1f3ed,#fff);border:1px solid #deded8}.team-dashboard .dashboard-assistant-art{position:absolute;right:0;bottom:-24px;top:auto;z-index:0}.team-dashboard .dashboard-assistant-copy{position:relative;z-index:1;width:65%}.team-dashboard .dashboard-assistant-copy .sub{font-size:11px}.team-dashboard .dashboard-assistant-copy button{background:#fff}.note-avatar .portrait{width:38px;height:38px;flex:none}.note-avatar .schedule-avatar{width:38px;height:38px}
.team-preview-banner{margin-top:64px}@media(max-width:700px){.team-preview-banner{margin-top:20px}}
/* The family illustration rests inside the card, on the schedule divider. */
.dashboard-week{margin-top:0}
.dashboard-week>.dashboard-calendar-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:0}
.dashboard-calendar-title{min-width:0;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.dashboard-calendar-title h2{margin:0}
.dashboard-calendar-portraits{display:flex;align-items:center;flex:none;padding:2px 0}
.dashboard-calendar-portraits .calendar-person{box-sizing:border-box;display:grid;place-items:center;width:40px;height:40px;flex:none;position:relative;border:2px solid white;border-radius:50%;background:#f0f1ec;overflow:hidden}
.dashboard-calendar-portraits .calendar-person+.calendar-person{margin-left:-10px}
.dashboard-calendar-portraits .portrait,.dashboard-calendar-portraits .schedule-avatar{width:100%;height:100%;max-width:none;margin:0;border:0;border-radius:0;object-fit:cover;mix-blend-mode:normal;background-color:#f0f1ec}
.dashboard-calendar-heading>.playbook-actions{display:flex;align-items:center;gap:10px;flex:none}
.dashboard-calendar-heading>.playbook-actions>button,.dashboard-calendar-heading>.playbook-actions>a{box-sizing:border-box;height:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0 14px}
.dashboard-calendar-heading>.playbook-actions>.icon-control{width:44px;padding:0}
.dashboard-calendar-intro{margin-top:20px}
.dashboard-calendar-context{min-width:0;padding-bottom:18px}.dashboard-calendar-context .schedule-legend{margin:0;gap:12px}.dashboard-calendar-context .team-filter{margin-bottom:18px}
@media(max-width:650px){.dashboard-week>.dashboard-calendar-heading{gap:14px;flex-wrap:wrap}.dashboard-calendar-heading>.playbook-actions{gap:6px;margin-left:auto}.dashboard-calendar-heading>.playbook-actions>button{padding:0 9px;font-size:12px}.dashboard-calendar-title{gap:10px}.dashboard-calendar-title h2{font-size:24px!important}.dashboard-calendar-intro{margin-top:16px}.dashboard-calendar-context{padding-bottom:12px}.dashboard-calendar-context .schedule-legend{gap:8px;font-size:10px}.dashboard-calendar-context .team-filter{margin-bottom:12px}}


.agenda-day .agenda-timezone{display:block;margin-top:5px;font-size:10px;line-height:1.4;color:#777;font-weight:400}
@media(max-width:650px){.agenda-day header{flex-wrap:wrap}.agenda-day .agenda-timezone{margin-top:0}}

/* Shared household cards and their detail drawers. */
.shared-home-property{grid-template-columns:minmax(180px,.65fr) minmax(0,2fr);margin-top:16px}.shared-home-property .home-art{padding:12px}.shared-home-property .home-art img{max-height:215px}.shared-home-property .home-property-info{padding:20px 26px}.shared-home-property h2{font-size:29px;margin:7px 0}.shared-home-property .shared-home-details{grid-template-columns:1fr 1fr 1.3fr;gap:18px;margin:18px 0}.wifi-password{display:block;margin-top:6px;color:#777;font-size:12px}.shared-home-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.shared-home-columns .hub-card{min-width:0}.maintenance-row{border:1px solid #e5e7df;border-radius:var(--ui-radius);background:#fafbf8;padding:12px 14px;margin:8px 0;gap:12px}.maintenance-row:hover{background:#f0f3eb;border-color:#c7d0bc}.maintenance-row>span:first-child{display:grid;place-items:center;width:34px;height:34px;background:#eaf0e2;border-radius:var(--ui-radius);color:#6c7b59;flex:none}.maintenance-row strong{font-size:13px;font-weight:500}.maintenance-row small{font-size:11px;line-height:1.4;margin-top:4px}.maintenance-row>svg{width:16px;flex:none}.contractor-row{padding:14px 0}.contractor-row h3{font-size:18px}.contractor-row .sub:empty{display:none}.detail-emblem{display:grid;place-items:center;width:56px;height:56px;border-radius:var(--ui-radius);background:#edf1e6;color:#60734d;margin-bottom:22px}.detail-emblem svg{width:27px;height:27px}.maintenance-detail h2,.kid-history h2{font:32px var(--font-heading);margin:14px 0}.detail-description{color:#6d7168;line-height:1.8;max-width:640px}.maintenance-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:28px 0}.maintenance-facts>div{display:flex;gap:12px;padding:20px;background:#f7f8f4;border:1px solid #e6e9df;border-radius:var(--ui-radius)}.maintenance-facts svg{width:20px;height:20px;color:#7d8a6e;flex:none}.maintenance-facts small,.maintenance-facts strong{display:block}.maintenance-facts small{font-size:11px;color:#85897e;margin-bottom:8px}.maintenance-facts strong{font-size:14px;font-weight:500}
.kid-card{grid-template-columns:minmax(170px,22%) 1fr}.kid-art{padding:15px 0;place-items:center}.kid-art .portrait{max-width:255px}.kid-content{padding:20px 24px}.kid-content h2{font-size:27px}.kid-content>.section-head{margin-bottom:10px}.kid-birthday{font-size:12px;margin:8px 0}.kid-facts{gap:14px;border-top:1px solid #e8e9e2;border-bottom:1px solid #e8e9e2;padding:10px 0}.kid-facts p{margin:0;font-size:12px;line-height:1.5;padding-right:10px}.kid-facts p+p{border-left:1px solid #e8e9e2;padding-left:14px}.kid-facts small{display:flex;align-items:center;gap:5px;font-size:10px;margin-bottom:6px}.kid-facts svg{width:13px;height:13px}.kid-actions{padding:12px 0;gap:6px}.kid-actions button{font-size:11px;padding:8px}.kid-casita-hint{display:flex;gap:9px;align-items:center;background:#f4f6ef;border-radius:var(--ui-radius);padding:10px 12px;margin:0 0 12px;font-size:11px;line-height:1.5;color:#758069}.kid-casita-hint>svg{width:20px;height:20px;flex:none}.kid-casita-hint button{margin-left:auto;border:0;background:none;font-size:11px;white-space:nowrap;padding:0}.kid-casita-hint button svg{width:14px;height:14px}.kid-timeline{padding-top:8px}.kid-timeline .section-head{margin-bottom:8px}.kid-timeline h3{font-size:13px;margin:6px 0}.kid-timeline .text-button{font-size:11px;padding:4px}.kid-timeline .text-button svg{width:14px;height:14px}.kid-timeline article{padding-top:8px;padding-bottom:8px;font-size:12px}.kid-timeline time{font-size:10px}.kid-timeline p{margin:6px 0;line-height:1.5}.kid-content .kid-timeline article p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.kid-history>header{display:flex;align-items:center;gap:20px;margin-bottom:24px}.kid-history>header .portrait{width:90px;height:90px;flex:none}.kid-history .kid-timeline article{padding-bottom:26px;font-size:14px}.memory-download{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:6px 9px;margin-top:4px}.memory-download svg{width:14px;height:14px}
.calendar-upcoming .calendar-event-row{padding:14px;margin:10px 0;border:1px solid #dce4eb;border-left:3px solid #7693ad;border-radius:var(--ui-radius);background:#f7fafc;gap:12px}.calendar-upcoming .calendar-event-row>span:first-child{min-width:0}.calendar-upcoming .calendar-event-row strong{font-size:14px;line-height:1.4;margin:7px 0}.calendar-upcoming .calendar-event-row small,.calendar-upcoming .calendar-event-row>span>span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.calendar-upcoming .calendar-event-row.birthday-event{background:#faf7fc;border-color:#e6ddeb;border-left-color:#a17db2}.calendar-upcoming .calendar-info{border:0;background:#e9eff4;border-radius:var(--ui-radius);width:28px;height:28px;display:grid;place-items:center;flex:none}.calendar-info svg{width:16px;height:16px}.calendar-upcoming .birthday-event .calendar-info{background:#efe5f5}.calendar-upcoming>h3{font:23px var(--font-heading)}.calendar-upcoming h4{font:19px var(--font-heading)}.calendar-upcoming .calendar-add-reminder{margin-top:15px;font-size:12px}
.main>.casita-icon,.main>.team-preview-control,.main>.demo-dollar-toggle{top:24px;width:44px;height:44px;border:1px solid #d5d7da;border-radius:var(--ui-radius)!important;background:#fff;display:grid;place-items:center;padding:10px!important;box-sizing:border-box}.main>.team-preview-control,.main>.demo-dollar-toggle{border-color:transparent;background:transparent}.main>.casita-icon{right:52px}.main>.team-preview-control{right:106px}.main>.demo-dollar-toggle{right:160px!important}.main>.casita-icon svg,.main>.team-preview-control svg,.main>.demo-dollar-toggle svg{width:22px;height:22px}.team-dashboard .dashboard-assistant{padding:20px;min-height:210px}.team-dashboard .dashboard-assistant-copy{width:65%}.team-dashboard .dashboard-assistant-copy .eyebrow{font-size:10px;letter-spacing:1.2px;padding:0;min-height:0;margin:0 0 12px}.team-assistant-description{font-size:12px;line-height:1.5;color:#6b7563;margin:0 0 12px;max-width:230px}.team-assistant-text{font-size:13px;line-height:1.6;margin:10px 0 0}.team-assistant-text a{display:inline-block;font-size:14px;text-underline-offset:4px}
@media(max-width:1100px){.shared-home-property{grid-template-columns:180px minmax(0,1fr)}.shared-home-property .home-property-info{border-top:0;border-left:1px solid #eee}.kid-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.shared-home-columns{grid-template-columns:1fr}.main>.casita-icon{right:22px}.main>.team-preview-control{right:76px}.main>.demo-dollar-toggle{right:130px!important}.team-dashboard .dashboard-assistant-copy{width:65%}}
@media(max-width:700px){.main>.casita-icon,.main>.team-preview-control,.main>.demo-dollar-toggle{position:fixed;top:7px;width:40px;height:40px;z-index:35}.main>.casita-icon{right:12px}.main>.team-preview-control{right:60px}.main>.demo-dollar-toggle{right:108px!important}.shared-home-property{grid-template-columns:1fr}.shared-home-property .home-art img{max-height:150px}.shared-home-property .home-property-info{border-left:0;border-top:1px solid #eee;padding:18px}.shared-home-property .shared-home-details{grid-template-columns:1fr 1fr}.home-wifi{grid-column:1/-1}.kid-card{grid-template-columns:1fr}.kid-art{padding:0}.kid-art .portrait{max-width:170px}.kid-content{padding:18px}.kid-facts{grid-template-columns:1fr}.kid-facts p+p{border:0;padding-left:0}.kid-casita-hint{flex-wrap:wrap}.maintenance-facts{grid-template-columns:1fr}.kid-history>header{align-items:flex-start}.kid-history h2{font-size:25px}}

.shared-home-columns{margin-bottom:28px}

.demo-dollar-mode .main>.casita-icon,.demo-dollar-mode .main>.team-preview-control,.demo-dollar-mode .main>.demo-dollar-toggle{top:64px}
@media(max-width:700px){.demo-dollar-mode .main>.casita-icon,.demo-dollar-mode .main>.team-preview-control,.demo-dollar-mode .main>.demo-dollar-toggle{top:51px}}

/* Shared curvature for containers, including formerly square profile cards. */
.hub-card,.home-property,.kid-card,.family-profile,.dashboard-card,.dashboard-assistant,.dashboard-market,.featured-goal,.hero,.balance-table,.settings-card,.coverage-provider-card,.event-guest-card,.event-location-card{border-radius:var(--ui-radius)}
.kid-card,.family-profile,.dashboard-assistant,.dashboard-card{overflow:hidden}
.estate-card,.estate-decision,.transaction-detail,.proposal-card,.value-delete-confirm,.coverage-detail-heading,.coverage-contact-card,.coverage-child-card{border-radius:var(--ui-radius)}
.segmented button,.estate-toggle button,.value-required-prompt button,.landing .entrance-login,.drawer-topbar .modal-close{border-radius:var(--ui-radius)}
@media(max-width:700px){.overlay.drawer-overlay .modal.drawer,.overlay.drawer-overlay .modal.drawer.login-modal{border-radius:var(--ui-radius) var(--ui-radius) 0 0!important}}

/* Owner household navigation lives with the page title. */
.household-page-nav{display:flex;flex-wrap:wrap;width:fit-content;gap:4px;padding:4px;border:1px solid #dcded7;border-radius:var(--ui-radius);background:#fafbf8;margin-top:18px}
.household-page-nav button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;padding:10px 16px;min-height:40px;font-size:13px;color:#74786f;border-radius:var(--ui-radius)}
.household-page-nav button svg{width:17px;height:17px;flex:none}.household-page-nav button[aria-current=page]{background:#e7ecdf;color:#435239}.household-page-nav button:hover{background:#eef1e9;color:#435239}
@media(max-width:650px){.title-row:has(.household-page-nav){padding-right:0}.household-page-nav{width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.household-page-nav button{padding:10px 5px;font-size:11px;gap:5px}.household-page-nav button svg{width:15px;height:15px}}

/* App-wide typography. Component rules control size; these roles control family. */
body,button,input,select,textarea{font-family:var(--font-body)}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading)!important}
h1,h2{font-weight:400!important}
h3,h4,h5,h6{font-weight:600}
h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-family:var(--font-body);font-weight:400}

.kid-content>.section-head{align-items:flex-start;gap:18px;flex-wrap:wrap}
.kid-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto}
.kid-header-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 12px;font-size:12px;white-space:nowrap}
.kid-header-actions svg{width:17px;height:17px;flex:none}
@media(max-width:700px){.kid-header-actions{width:100%;justify-content:flex-start;margin-left:0}.kid-header-actions button{padding:9px 10px}}

.session-loading,.session-error{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#fff;text-align:center;padding:24px}
.session-loading{position:fixed;inset:0;z-index:1000}.session-loading img{width:180px;height:180px}.session-loading span,.session-error p{color:var(--muted);font-size:14px}.session-error h1{font-size:30px}

/* Responsive review: shared surfaces and controls across owner and team pages. */
.giving-card,.insurance-card,.vault-drive,.vault-library,.tax-inbox,.shopping-category{
 border-radius:var(--ui-radius);
}
.section-head>div,.settings-person>div,.contractor-row>div,.kid-timeline article>div,
.vault-file-title,.insurance-documents article,.historical-document{min-width:0;overflow-wrap:anywhere}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{
 outline:2px solid #637553;outline-offset:3px;
}
button:disabled{cursor:default}
input[type=file]{max-width:100%;overflow:hidden}
input[type=file]::file-selector-button{
 font:inherit;color:var(--ink);background:#f7f8f5;border:1px solid #d5d7da;
 border-radius:var(--ui-radius);padding:8px 12px;margin-right:12px;cursor:pointer;
}
.agenda-blocks:has(>.schedule-empty){display:block}
.agenda-blocks>.schedule-empty{padding:10px 0;min-height:0;margin:0}
.settings-account-footer{margin-bottom:24px}
@media(min-width:701px) and (max-width:1000px){
 .kid-card{grid-template-columns:150px minmax(0,1fr)}
 .kid-content{padding:20px}
 .kid-header-actions{width:100%;justify-content:flex-start;margin-left:0}
 .kid-facts{grid-template-columns:1fr}
 .kid-facts p+p{border-left:0;border-top:1px solid var(--line);padding:10px 0 0}
 .insurance-grid,.giving-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
 /* Keep navigation clear of the fixed assistant/view controls. */
 .mobile-header{justify-content:flex-start;gap:8px;padding-right:156px}
 .mobile-header .menu-toggle{order:0;flex:0 0 44px}
 .mobile-header .mobile-crest-home{order:1;flex:0 0 44px}
 .content>.title-row{padding-right:0}
 .content>.title-row>div{width:100%;min-width:0}
 .dashboard-title-row .sub{max-width:none;width:100%}
 .title-row h1{font-size:30px;line-height:1.15;overflow-wrap:break-word}
 .content{padding-bottom:max(32px,env(safe-area-inset-bottom))}
 .content :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
 .drawer-body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
 .content :is(button,.calendar-control),.drawer-body button{min-height:44px}
 .content .text-button{display:inline-flex;align-items:center}
 .household-page-nav{width:100%}
 .household-page-nav button{font-size:12px}
 .dashboard-overview .dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .dashboard-overview .dashboard-card:first-child{grid-column:1/-1;min-height:110px}
 .dashboard-overview .dashboard-card{min-height:116px}
 .dashboard-overview .dashboard-card strong{font-size:26px;overflow-wrap:normal;white-space:nowrap;letter-spacing:-.8px}
 .dashboard-overview .dashboard-card:first-child strong{font-size:32px}
 .dashboard-overview .dashboard-card small{font-size:12px;line-height:1.4}
 .agenda-day{padding:14px 0}
 .agenda-blocks:has(>.schedule-empty){min-height:0}
 .agenda-blocks>.schedule-empty{font-size:12px;padding:4px 0 8px}
 .agenda-blocks .schedule-entry{padding:11px 9px}
 .agenda-blocks .schedule-entry-time{font-size:11px;white-space:normal;height:auto;overflow:visible}
 .agenda-blocks .schedule-entry-name strong{font-size:12px}
 .agenda-blocks .schedule-entry>small{font-size:10px}
 .schedule-legend{font-size:12px;gap:10px;line-height:1.5}
 .unified-calendar .section-head .playbook-actions{flex-wrap:wrap;gap:8px}
 .playbook-actions .icon-control{width:44px!important;height:44px!important;flex-basis:44px!important}
 .week-navigation button{min-width:44px}
 .week-mobile-tabs button{min-height:64px}
 .kid-header-actions button{font-size:13px}
 .kid-actions button{font-size:12px}
 .kid-casita-hint{display:grid;grid-template-columns:20px minmax(0,1fr);font-size:12px}
 .kid-casita-hint button{grid-column:2;justify-self:start;margin-left:0}
 .kid-timeline time{font-size:11px}
 .kid-timeline p{font-size:13px;overflow-wrap:anywhere}
 .maintenance-row{gap:10px;padding:14px 12px}
 .maintenance-row>span{min-width:0;overflow-wrap:anywhere}
 .spending-toolbar{grid-template-columns:1fr}
 .spending-transactions .actions{flex-wrap:wrap;align-items:center}
 .vault-file-title strong,.settings-person a{overflow-wrap:anywhere}
 .vault-categories button{min-height:44px}
 .tax-actions,.insurance-document-actions,.settings-form-footer{flex-wrap:wrap}
 .drawer-body .actions{flex-wrap:wrap}
 .drawer-body .actions button{flex:1 1 auto;white-space:normal}
 .drawer-body h2{overflow-wrap:break-word}
}
.title-row>div{min-width:0}
.title-row h1{white-space:normal}
@media(min-width:701px) and (max-width:1000px){
 .content>.title-row{padding-right:160px}
 .content>.title-row:has(.household-page-nav){padding-right:0}
 .title-row:has(.household-page-nav) h1{padding-right:160px}
 .household-page-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
 .household-page-nav button{padding:10px 6px;font-size:12px;gap:6px}
 .dashboard-overview .dashboard-right{grid-template-columns:1fr}
 .agenda-blocks{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* A seven-column week becomes cramped while the tablet sidebar is visible. */
@media(min-width:651px) and (max-width:1000px){
 .week-mobile-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;border-top:1px solid var(--line);padding-top:12px;margin-bottom:16px}
 .week-mobile-tabs button{display:grid;gap:5px;min-height:64px;border:0;padding:8px 0;background:transparent;color:#666}
 .week-mobile-tabs button.selected{background:#e8ece3;color:#34412d}
 .week-mobile-tabs span{font-size:11px}.week-mobile-tabs strong{font-size:17px;font-weight:500}
 .week-mobile-tabs i{height:8px;font-size:12px;line-height:8px}
 .schedule-week-grid{display:block;border:0}
 .schedule-day{display:none;border:0;padding:0}
 .schedule-day.is-selected{display:block}
 .schedule-day h3{display:none}
 .schedule-day .schedule-entry{padding:14px}
 .schedule-day .schedule-entry-time{font-size:12px;height:auto;min-height:0;overflow:visible}
 .schedule-day .schedule-entry-name strong{font-size:14px}
}
@media(max-width:700px){
 .family-week-toolbar .calendar-month-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;width:100%;max-width:340px}
 .family-week-toolbar .calendar-month-picker{width:100%;min-width:0}
 .family-week-toolbar .calendar-month-controls button{width:44px;height:44px}
 .unified-calendar .section-head .playbook-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%}
 .unified-calendar .playbook-actions>button{grid-column:span 2;width:100%!important}
 .unified-calendar .playbook-actions>[data-playbook-new],
 .unified-calendar .playbook-actions>[data-calendar-new]{grid-column:span 3}
 .family-profile .birthday-summary{font-size:11px;white-space:normal}
 .profile-card-actions button{font-size:12px}
}

/* Shopping: shared lists, saved usuals and reversible history. */
.shop-app{--shop-ink:#34412f;--shop-soft:#f3f5ee}.shop-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0 26px}.shop-intro h2{font:clamp(25px,3vw,34px) var(--font-heading);margin:8px 0}.shop-intro p{color:#69715f;margin:8px 0}.shop-intro .eyebrow{font-size:11px;letter-spacing:.16em}.shop-intro button{flex:none}.shop-app button{min-height:44px}.shop-app svg{width:20px;height:20px;flex-shrink:0}.shop-workspace{padding:0;overflow:clip}.shop-views{display:flex;gap:8px;padding:16px 24px;border-bottom:1px solid #e3e5de;background:#fafbf8}.shop-views button{border:0;background:transparent;color:#666d60;padding:10px 24px}.shop-views button[aria-current=page]{background:#e5eadc;color:var(--shop-ink);font-weight:600}.shop-layout{display:grid;grid-template-columns:210px minmax(0,1fr)}.shop-categories{padding:24px 14px;border-right:1px solid #e3e5de}.shop-categories button{display:flex;justify-content:space-between;width:100%;gap:10px;border:0;background:none;padding:12px;text-align:left;margin-bottom:6px}.shop-categories button>span{display:flex;align-items:center;gap:10px}.shop-categories button[aria-current=page]{background:var(--shop-soft);color:var(--shop-ink)}.shop-categories small{background:#fff;border:1px solid #e2e6dc;border-radius:var(--ui-radius);padding:3px 7px}.shop-helper{font-size:13px;line-height:1.7;color:#717b64;margin:28px 12px}.shop-helper svg{display:block;margin-bottom:10px}.shop-list{padding:26px;min-width:0}.shop-list .section-head{margin-bottom:16px}.shop-list h2{margin:0;font:28px var(--font-heading)}.shop-list .sub{margin:6px 0}.shop-search input{width:100%;min-height:44px;background:#fafbf8}.shop-search{display:block;margin-bottom:12px}.shop-quick{display:flex;border:1px solid #c7cebc;border-radius:var(--ui-radius);overflow:hidden;background:white}.shop-quick input{flex:1;min-width:0;border:0;background:transparent;padding:14px;outline-offset:-3px}.shop-quick button{border:0;border-left:1px solid #dce1d4;border-radius:0;background:var(--shop-soft);width:52px;display:grid;place-items:center}.shop-notice{font-size:13px;color:#536646;margin:12px 0;min-height:18px}.shop-list-tools{display:flex;justify-content:space-between;align-items:center;color:#777;font-size:12px}.shop-list-tools button{font-size:12px;border:0;background:none;padding:0 6px}.shop-row{display:flex;align-items:center;gap:10px;border-top:1px solid #e7e8e1;padding:10px 0;min-width:0}.shop-select{width:17px!important;height:17px;flex:none;accent-color:#647753;margin:8px}.shop-row button{background:none;border:0;box-shadow:none}.shop-done{font-size:26px;color:#637753;width:44px;flex:none;padding:0;display:grid;place-items:center}.shop-row .shop-row-body{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;align-items:flex-start;padding:6px 0;gap:5px;overflow-wrap:anywhere}.shop-row-body strong{font-size:16px;font-weight:500}.shop-row-body span,.shop-row-body small{font-size:12px;color:#777f70}.shop-row-body small{white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-row-body .shop-star{margin-left:8px;color:#798b54;font-size:17px}.shop-row-body em{display:inline-block;font-size:10px;font-style:normal;background:#f4e8d5;color:#886235;padding:3px 6px;border-radius:var(--ui-radius);margin-left:8px}.shop-row-more{width:44px;flex:none;padding:8px}.shop-row.is-complete strong{text-decoration:line-through;color:#858b7f}.shop-completed{margin-top:20px;border-top:1px solid #e3e5de;padding-top:18px}.shop-completed summary{color:#69715f;cursor:pointer;min-height:36px}.shop-empty{text-align:center;padding:42px 20px;color:#7b8570}.shop-empty>svg{width:32px;height:32px}.shop-empty h3{font:23px var(--font-heading);color:#44513c;margin:12px 0}.shop-empty p{font-size:14px}.shop-bulk{position:sticky;bottom:16px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px;background:#edf1e5;border:1px solid #cbd3bd;border-radius:var(--ui-radius);box-shadow:0 6px 20px #24331912;z-index:2}.shop-bulk strong{font-size:12px;margin-right:auto}.shop-bulk button,.shop-bulk select{font-size:12px;background:#fff;padding:9px;min-height:44px}.shop-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px;border-top:1px solid #e5e7df;padding-top:16px}.shop-footer button{font-size:12px}.shop-footer span{font-size:12px;color:#7d8376}.shop-app[aria-busy=true]{opacity:.7;pointer-events:none}
@media(max-width:760px){.shop-intro{align-items:flex-start;gap:12px;padding-bottom:18px}.shop-intro>button{font-size:12px;padding:8px}.shop-intro p:not(.eyebrow){font-size:13px}.shop-intro h2{font-size:25px}.shop-layout{grid-template-columns:1fr}.shop-categories{display:flex;gap:4px;padding:12px;border-right:0;border-bottom:1px solid #e3e5de;overflow-x:auto}.shop-categories button{width:auto;flex:1;white-space:nowrap;font-size:12px;padding:10px 8px;margin:0}.shop-categories button>span{gap:6px}.shop-categories svg{width:16px}.shop-helper{display:none}.shop-list{padding:16px}.shop-views{padding:10px 12px;gap:4px}.shop-views button{flex:1;padding:10px}.shop-row{gap:3px}.shop-select{margin:4px}.shop-row-body strong{font-size:15px}.shop-row-more{width:32px}.shop-bulk{bottom:calc(10px + env(safe-area-inset-bottom))}.shop-bulk strong{width:100%}.shop-footer{align-items:flex-start;flex-direction:column;gap:10px}.shop-app input,.shop-app select{font-size:16px}}

.proposal-card p{white-space:pre-line}.shop-notice:empty{display:none}

.store-status{background:#f2f5eb;border-radius:var(--ui-radius);padding:14px;font-size:14px;line-height:1.6;margin:18px 0}.store-live-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.store-live-actions>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #c4cdb8;border-radius:var(--ui-radius);color:#3d4d31;text-decoration:none}.store-live-actions svg{width:20px}.store-picker{border-top:1px solid #e2e5dc;margin-top:26px;padding-top:16px}.store-picker form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}.store-picker form label{min-width:0}.store-picker form button{margin-bottom:0;min-height:44px}.store-candidates article{display:flex;gap:18px;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e6dc;padding:18px 0}.store-candidates strong,.store-candidates span,.store-candidates small{display:block}.store-candidates strong{font-weight:500}.store-candidates span{color:#536843;margin:8px 0}.store-candidates small{font-size:12px;color:#858b7d;line-height:1.6}.store-options{margin-top:26px;color:#747d69}.store-options a,.store-options button{display:block;margin:16px 0}.store-options summary{cursor:pointer;min-height:44px}.store-candidates button{flex:none;min-height:44px}@media(max-width:700px){.store-picker form{grid-template-columns:1fr}.store-picker input,.store-picker select{font-size:16px}.store-candidates article{gap:10px}.store-live-actions{align-items:stretch;flex-direction:column}}

/* Compact shopping toolbar and ledger-style item rows. */
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;border-bottom:1px solid #e3e5de;background:#fafbf8;flex-wrap:wrap}
.shop-toolbar .shop-views{padding:0;border:0;background:none;gap:4px}
.shop-toolbar .shop-views button{padding:8px 16px}
.shop-store-buttons{display:flex;align-items:center;gap:8px;margin-left:auto}
.shop-store-buttons button{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;font:400 13px/1.3 var(--font-body)}
.shop-store-buttons svg{width:16px;height:16px}
.shop-list{padding:18px 22px}.shop-list .section-head{margin-bottom:12px}.shop-list h2{font-size:25px}
.shop-search{margin-bottom:8px}.shop-search input,.shop-quick input{padding:10px 12px;min-height:44px;font:400 14px/1.4 var(--font-body)}
.shop-notice:empty{display:none}.shop-list-tools{margin-top:4px}.shop-row{gap:6px;padding:3px 0;min-height:54px}
.shop-row .shop-row-body{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:2px;padding:6px 0;font:400 14px/1.4 var(--font-body);letter-spacing:normal;align-items:center;justify-content:stretch}
.shop-row-body strong{font:400 14px/1.4 var(--font-body);color:#30352e;letter-spacing:normal}.shop-row-body>span{font:400 12px/1.4 var(--font-body);text-align:right}.shop-row-body>small{grid-column:1/-1;font:400 12px/1.4 var(--font-body);-webkit-line-clamp:1}
.shop-select{margin:4px}.shop-done{font-size:22px}.shop-row-more{padding:8px}.shop-footer{margin-top:12px;padding-top:12px}.shop-empty{padding:26px 16px}
@media(max-width:760px){.shop-toolbar{gap:8px;padding:8px 12px}.shop-toolbar .shop-views{flex:1}.shop-store-buttons{width:100%;margin:0}.shop-store-buttons button{flex:1;justify-content:center}.shop-list{padding:14px}.shop-row .shop-row-body{display:flex;gap:1px;align-items:flex-start}.shop-row-body>span{text-align:left}.shop-search input,.shop-quick input{font-size:16px}.shop-row{min-height:56px}.shop-toolbar .shop-views button{padding:8px 12px}}

/* Shopping: one check-off target; secondary tools stay out of the list. */
.shop-header-actions{display:flex;align-items:center;gap:4px}
.shop-header-actions>button,.shop-options>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:0;background:transparent;color:var(--shop-muted);cursor:pointer;border-radius:var(--radius)}
.shop-header-actions svg,.shop-buy svg{width:18px;height:18px;flex-shrink:0}
.shop-options{position:relative}.shop-options>summary{list-style:none;font:600 18px var(--font-body);letter-spacing:2px}.shop-options>summary::-webkit-details-marker{display:none}
.shop-options[open]>div{position:absolute;right:0;top:46px;z-index:5;min-width:190px;padding:6px;background:white;border:1px solid #dedfd8;border-radius:8px;box-shadow:0 8px 24px #00000012}
.shop-options button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:10px 12px;font:400 14px var(--font-body)}
.shop-options button:hover{background:#f3f5ef}.shop-search[hidden]{display:none}
.shop-row{min-height:58px;gap:10px;padding:2px 0}.shop-check{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;cursor:pointer}
.shop-check input{width:22px;height:22px;min-height:0;margin:0;accent-color:#637652;cursor:pointer}
.shop-row-body{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;padding:6px 0}.shop-row-body span{text-align:left}.shop-row-body strong{font-size:15px}.shop-row-body small{max-width:100%}
.shop-buy,.shop-restore{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:0;background:transparent;color:#5d704f;font:400 13px var(--font-body);flex-shrink:0}.shop-restore{width:44px;padding:10px}.shop-row-hint{font:400 12px var(--font-body);color:#7b8274}
.shop-buy:hover,.shop-restore:hover{background:#f3f5ef}.shop-list-help{margin:14px 0 0;font:400 12px/1.5 var(--font-body);color:#7b8274}.shop-completed{margin-top:12px}.shop-quick{margin-bottom:8px}
@media(max-width:760px){.shop-list .section-head h2{font-size:24px}.shop-list .section-head{gap:8px}.shop-row{gap:4px;min-height:60px}.shop-buy{padding:8px}.shop-list-help{font-size:12px}.shop-row-body strong{font-size:15px}}
.shop-options>summary{white-space:nowrap;letter-spacing:0}
@media(max-width:760px){.shop-intro{padding:8px 0 16px;gap:12px}.shop-intro .eyebrow,.shop-intro h2{display:none}.shop-intro p{margin:0;font-size:13px;line-height:1.5}.shop-intro>button{white-space:nowrap}}

.shop-product-reference{margin:20px 0;border:1px solid #dfe3da;border-radius:8px;background:#f8f9f5;overflow:hidden}.shop-product-reference>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;cursor:pointer;list-style:none;font:500 15px var(--font-body)}.shop-product-reference>summary::-webkit-details-marker{display:none}.shop-product-reference summary small{margin-left:8px;color:#858b7e;font-size:12px;font-weight:400}.shop-product-reference>div{padding:0 16px 16px}.shop-product-reference .sub{font-size:13px;line-height:1.5;margin:0 0 14px}.shop-product-reference .sub:last-child{margin:10px 0 0}.shop-product-reference[open]>summary>span:last-child{transform:rotate(45deg)}

.shop-row-body .shop-cart-status{color:#5d704f;font-size:12px;line-height:1.5;-webkit-line-clamp:2}.shop-buy span{white-space:nowrap}@media(max-width:760px){.shop-row:has(.shop-buy){flex-wrap:wrap}.shop-row:has(.shop-buy) .shop-row-body{flex-basis:calc(100% - 52px)}.shop-row .shop-buy{margin-left:48px;min-height:36px;padding:4px 0;font-size:12px}.shop-row .shop-buy svg{width:15px;height:15px}}

.shop-cart-detail{padding:16px;margin-bottom:20px;border-radius:8px;background:#f3f5ef}.shop-cart-detail strong{font:500 15px/1.5 var(--font-body)}.shop-cart-detail p{font-size:13px;line-height:1.5;margin:8px 0}.shop-cart-detail .eyebrow{font-size:11px}
/* Mobile toolbar: crest, visibility, Casita, navigation. */
@media(max-width:700px){
 .mobile-header{justify-content:space-between;padding-right:12px}
 .mobile-header .mobile-crest-home{order:0}
 .mobile-header .menu-toggle{order:2;margin-left:auto;width:40px;flex-basis:40px}
 /* The main starts below the 54px header; keep these in its header row,
    but in document coordinates so they scroll away with the crest/menu. */
 .main>.casita-icon,.main>.demo-dollar-toggle,
 .demo-dollar-mode .main>.casita-icon,.demo-dollar-mode .main>.demo-dollar-toggle{position:absolute;top:-47px}
 .main>.team-preview-control{display:none}
 .main>.casita-icon{right:60px}
 .main>.demo-dollar-toggle{right:108px!important}
}

.today-label{display:inline-flex;align-items:center;gap:8px}.balance-refresh-icon{border:0!important;background:transparent!important;min-width:32px;min-height:32px;padding:4px;font-size:21px;line-height:1;color:#737d68}.account-connection-summary .connection-actions{gap:12px;margin-top:16px}.modal .actions{display:flex;flex-wrap:wrap;gap:12px}.connections-modal #refresh-all-status{font-size:13px;line-height:1.6}.connections-modal .connected-account{gap:16px}

/* Keep passport numbers and copy controls on separate, aligned lines. */
.passport-profile-row{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;border-bottom:1px solid #e7e7e4;padding:12px 0}
.passport-profile-row>.profile-detail-row{border:0;padding:0}
.passport-copies{display:grid;gap:12px;justify-self:start;max-width:100%}
.passport-copy{display:grid;grid-template-columns:110px repeat(2,140px);align-items:center;gap:8px}
.passport-country{display:inline-flex;align-items:center;gap:7px;font-size:12px}
.passport-country [role="img"]{font-size:23px}
.passport-copy button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;font-size:12px;width:100%}
.passport-copy button svg{width:16px;height:16px;flex-shrink:0}
.passport-copy small{grid-column:2/-1;color:#777;font-size:11px}
.passport-copy button:disabled{opacity:.45;cursor:default}
@media(max-width:800px){.passport-copies{justify-self:stretch}.passport-copy{grid-template-columns:repeat(2,minmax(0,1fr))}.passport-country,.passport-copy small{grid-column:1/-1}}

/* Shared daily brief base. */
.dashboard-brief{background:#fff;border:1px solid #deded8;border-radius:var(--ui-radius);min-width:0}
.dashboard-brief>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.dashboard-brief .eyebrow{margin:0;font:600 11px var(--font-body);letter-spacing:1.5px;color:#59634f}
.dashboard-overview .dashboard-assistant,.dashboard-overview .dashboard-market{grid-column:auto;grid-row:auto;height:auto}

/* Hover changes content, never the summary/plot geometry. */
.wealth-overview-card .today-label{min-height:32px}
.wealth-overview-card .changes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.wealth-overview-card .change-value{display:flex;flex-direction:column;align-items:flex-start;line-height:1.3;white-space:nowrap}
.wealth-overview-card .change-value small.percentage-change,.wealth-overview-card .change-value small.comparison-unavailable{display:flex;align-items:center;box-sizing:border-box;height:30px;min-height:30px;margin-top:12px;font-size:12px;line-height:16px;white-space:nowrap}
.wealth-overview-card .chart-toolbar{justify-content:flex-end;flex-wrap:wrap;gap:12px}
@media(max-width:700px){
 .wealth-overview-card .change-value small.percentage-change,.wealth-overview-card .change-value small.comparison-unavailable{height:26px;min-height:26px;margin-top:8px;font-size:10px}
}

/* A personal daily edition, with Casita alongside it. */
.dashboard-title-row>div{display:none}
.content>.dashboard-title-row{min-height:32px;margin-bottom:12px}
.dashboard-overview{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(270px,1fr);gap:24px;align-items:start}
.dashboard-overview .dashboard-main{display:grid;grid-column:1;grid-row:1;gap:24px;min-width:0}
.dashboard-overview .dashboard-right{display:grid;grid-column:2;grid-row:1;gap:24px;align-content:start}
.dashboard-overview .dashboard-brief,.dashboard-overview .dashboard-week{grid-column:auto;grid-row:auto}
.brief-edition{position:relative;overflow:hidden;padding:28px 30px 18px;background:linear-gradient(135deg,#fafbf7,#fff 50%);border-top:3px solid #737f65}
.brief-edition:after{content:'';position:absolute;pointer-events:none;inset:7px;border:1px solid #e5e8dd;border-radius:2px}
.brief-edition>header{margin-bottom:12px}.brief-flourish svg{width:26px;height:26px;color:#78856a}
.brief-edition h1{font:400 clamp(27px,2.6vw,40px)/1.15 var(--font-heading);letter-spacing:-1px;margin:0 0 14px}
.brief-edition .brief-intro{font-size:14px;line-height:1.8;margin:0 0 22px;color:#65685e;max-width:780px}
.brief-highlights{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);border-top:1px solid #dfe2d7;border-bottom:1px solid #dfe2d7}
.brief-wealth{border:0;border-radius:0;background:transparent;text-align:left;padding:24px 22px 20px 0;display:flex;flex-direction:column;align-items:flex-start;color:#30362c;min-width:0}
.brief-feature-icon{color:#737f65;display:block}.brief-feature-icon svg{width:32px;height:32px}
.brief-wealth>.brief-feature-icon svg{width:46px;height:46px;margin-bottom:12px}
.brief-wealth>strong{font:400 clamp(27px,2.65vw,41px)/1.3 var(--font-heading);letter-spacing:-1px;white-space:nowrap;margin:7px 0 17px}
.brief-wealth-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;font-size:13px;line-height:1.5}
.brief-wealth-pair small{display:block;font-size:9px;letter-spacing:1px;color:#808674;margin-bottom:4px}
.brief-wealth-pair>span+span{border-left:1px solid #dfe2d7;padding-left:12px}
.brief-asof{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:10px;color:#838878}.brief-asof svg{width:15px;height:15px}
.brief-agenda{padding-left:24px;border-left:1px solid #dfe2d7;display:grid;align-content:center}
.brief-feature{display:grid;grid-template-columns:32px minmax(0,1fr) 14px;gap:12px;align-items:center;width:100%;text-align:left;border:0;border-radius:0;background:none;padding:18px 0;color:#353b30}
.brief-feature+.brief-feature{border-top:1px solid #e9ebe4}.brief-feature>span:nth-child(2){display:grid;gap:5px;min-width:0}
.brief-feature small{font-size:9px;letter-spacing:1.2px;color:#7a826f}.brief-feature strong{font-size:14px;line-height:1.4;font-weight:500}.brief-feature span span{font-size:11px;line-height:1.5;color:#777f6d}.brief-feature>svg{width:14px;height:14px;color:#8a937e}
.brief-feature:hover,.brief-wealth:hover{background:#f3f5ed}
.brief-countdown{display:flex;align-items:center;gap:12px;padding:15px 0;font-size:12px;color:#67715b}.brief-countdown>svg{width:24px;height:24px}.brief-countdown strong{color:#38432e}.brief-countdown small{display:block;font-size:10px;margin-top:4px;color:#838878}
.brief-ticker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border-top:1px solid #dfe2d7;padding-top:16px}.brief-ticker .market-quote{display:grid;gap:6px;text-decoration:none;color:inherit;min-width:0}.brief-ticker small{font-size:10px;color:#777e6e}.brief-ticker strong{font-size:14px;font-weight:500;display:flex;flex-wrap:wrap;gap:6px}.brief-ticker strong span{font-size:10px;align-self:center}.brief-ticker .market-quote>span{font-size:9px;color:#8b8e83}.brief-ticker .up{color:#537049}.brief-ticker .down{color:#a26150}.brief-feed-note{font-size:9px;color:#94978e;margin:12px 0 0;line-height:1.5}
.brief-weather{border:1px solid #deded8;border-radius:var(--ui-radius);padding:20px;background:#fafbf7;min-width:0}.brief-weather>header{display:flex;justify-content:space-between;align-items:center}.brief-weather>header>svg{width:20px;height:20px;color:#737f65}.brief-weather .eyebrow{font-size:10px;letter-spacing:1.5px;margin:0;color:#727d63}.brief-weather article{padding:20px 0 14px}.brief-weather article+article{border-top:1px solid #dfe3d5}.brief-city-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.brief-city-heading h3{font:400 22px var(--font-heading);margin:0}.brief-city-heading time{text-align:right;font-size:13px;color:#4d5842}.brief-city-heading time small{display:block;font-size:9px;margin-top:4px;color:#8a9180}.brief-city-art{color:#8d997d;margin:14px 0 8px}.brief-city-art svg{width:100%;height:58px}.brief-temperature{display:flex;align-items:center;gap:16px}.brief-temperature>strong{font:400 34px var(--font-heading)}.brief-temperature>strong small{font:11px var(--font-body)}.brief-temperature>span{font-size:12px;color:#636f55}.brief-temperature span small{display:block;margin-top:5px;font-size:11px;color:#8a9180}.brief-weather p{font-size:11px;line-height:1.6;margin:10px 0 4px;color:#7f8775}.weather-updated,.weather-credit{font-size:9px;color:#969b8c}.weather-credit{display:block;margin-top:4px}
@media(max-width:1100px) and (min-width:901px){.brief-highlights{grid-template-columns:1fr}.brief-agenda{border-left:0;border-top:1px solid #dfe2d7;padding:0}.brief-wealth{padding:20px 0}.brief-wealth-pair{max-width:290px}}
@media(max-width:900px){.dashboard-overview{grid-template-columns:1fr}.dashboard-overview .dashboard-main,.dashboard-overview .dashboard-right{grid-column:1;grid-row:auto}.brief-edition{padding:22px 20px 16px}.brief-wealth>strong{font-size:32px}.brief-weather{max-width:none}}
@media(max-width:600px){.brief-highlights{grid-template-columns:1fr}.brief-agenda{padding:0;border-left:0;border-top:1px solid #dfe2d7}.brief-wealth{padding:20px 0}.brief-wealth>.brief-feature-icon{display:none}.brief-wealth>strong{font-size:38px}.brief-wealth-pair{max-width:310px}.brief-edition h1{font-size:30px}.brief-edition .brief-intro{font-size:13px}.brief-ticker{gap:10px}.brief-ticker strong{font-size:12px}.brief-ticker small{font-size:9px}.brief-feature{padding:16px 0}}
@media(max-width:900px){.dashboard-overview .dashboard-main{display:contents}.dashboard-overview .dashboard-brief{grid-column:1;grid-row:1}.dashboard-overview .dashboard-right{grid-column:1;grid-row:2}.dashboard-overview .dashboard-week{grid-column:1;grid-row:3}}

/* The mobile brief reads as one portrait edition, rather than a stack of cards. */
.brief-edition{border-top-width:1px;background:#fcfcf8;box-shadow:0 4px 20px #26332106;padding:26px}
.brief-edition:after{display:none}
.brief-edition>header{padding-bottom:12px;border-bottom:1px solid #dce1d2;margin-bottom:18px}
.brief-edition .eyebrow{font-size:10px;letter-spacing:1.8px}
.brief-flourish{display:grid;place-items:center;width:30px;height:30px;border:1px solid #dce1d2;border-radius:50%}.brief-flourish svg{width:19px;height:19px}
.brief-highlights{border:0;gap:22px}
.brief-wealth{padding:20px;background:#f0f3e9;border-radius:5px;justify-content:center}
.brief-wealth:hover{background:#e9eedf}.brief-agenda{padding-left:0;border-left:0}
.brief-wealth-pair>span+span{border-color:#d4dcc8}
.brief-feature{padding:15px 0;gap:10px}.brief-feature-icon{color:#6e7b5c}
.brief-feature small{color:#626e52}.brief-feature span span{color:#636c5a}
.brief-countdown{border-bottom:0;margin-top:8px;padding:13px 0}.brief-feed-note{color:#777f6e}
.brief-pocket-weather{display:none}
@media(max-width:600px){
 .content:has(>.dashboard-title-row){padding-top:10px}
 .content>.dashboard-title-row{min-height:0;height:0;margin:0}
 .dashboard-overview{gap:18px}
 .brief-edition{padding:18px 18px 12px;border-color:#d5dccb;border-radius:8px}
 .brief-edition>header{padding-bottom:9px;margin-bottom:13px}.brief-edition .eyebrow{font-size:9px;letter-spacing:1.4px}
 .brief-flourish{width:25px;height:25px}.brief-flourish svg{width:17px;height:17px}
 .brief-edition h1{font-size:29px;line-height:1.08;letter-spacing:-.7px;margin-bottom:10px}
 .brief-edition .brief-intro{font-size:12px;line-height:1.6;margin-bottom:14px;color:#5f6855}
 .brief-highlights{gap:10px}
 .brief-wealth{display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:13px 15px;border-radius:5px}
 .brief-wealth>.eyebrow{grid-column:1}.brief-wealth>strong{grid-column:1;grid-row:2;font-size:31px;line-height:1.1;margin:0;letter-spacing:-.6px}
 .brief-wealth-pair{grid-column:2;grid-row:1/4;display:grid;grid-template-columns:1fr;gap:7px;width:auto;font-size:12px;line-height:1.2}
 .brief-wealth-pair>span+span{border:0;padding:0}.brief-wealth-pair small{font-size:8px;margin-bottom:3px;letter-spacing:.8px}
 .brief-asof{font-size:9px;margin:3px 0 0;gap:4px}.brief-asof svg{width:12px;height:12px}
 .brief-agenda{border:0}
 .brief-feature{padding:10px 0;grid-template-columns:26px minmax(0,1fr) 12px;gap:10px;min-height:58px}
 .brief-feature-icon svg{width:25px;height:25px}.brief-feature>span:nth-child(2){gap:3px}
 .brief-feature small{font-size:8px;letter-spacing:1px}.brief-feature strong{font-size:12px;line-height:1.3}.brief-feature span span{font-size:10px;line-height:1.3}
 .brief-pocket-weather{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:8px;padding:12px 0;border-top:1px solid #dce1d2;border-bottom:1px solid #dce1d2}
 .brief-pocket-weather details{min-width:0}.brief-pocket-weather summary{list-style:none;cursor:pointer}.brief-pocket-weather summary::-webkit-details-marker{display:none}
 .pocket-city{font:17px var(--font-heading);display:block}.pocket-city time{display:block;font:9px var(--font-body);color:#6d785f;margin-top:3px}
 .pocket-skyline{display:block;color:#8a9877;height:28px;margin:5px 0}.pocket-skyline svg{width:100%;height:28px}
 .pocket-conditions{display:flex;gap:9px;align-items:center}.pocket-conditions>strong{font:26px var(--font-heading)}.pocket-conditions>strong small{font:9px var(--font-body)}
 .pocket-conditions>span{font-size:10px;line-height:1.4;color:#667357}.pocket-conditions>span small{display:block;font-size:9px;color:#747e67}
 .brief-pocket-weather p,.brief-pocket-weather a{font-size:10px;line-height:1.5;color:#68745a}
 .dashboard-right>.brief-weather{display:none}
 .brief-countdown{margin:0;padding:11px 0;font-size:11px;gap:9px}.brief-countdown>svg{width:20px;height:20px}.brief-countdown small{font-size:9px;margin-top:3px}
 .brief-ticker{padding-top:11px;gap:10px}.brief-ticker .market-quote{gap:4px}.brief-ticker strong{font-size:12px;gap:3px}.brief-ticker strong span{font-size:9px}.brief-ticker .market-quote>span{font-size:8px}.brief-feed-note{font-size:8px;margin-top:9px}
}
@media(max-width:360px){.brief-edition{padding:16px 13px 11px}.brief-wealth{padding:12px}.brief-wealth>strong{font-size:27px}.brief-wealth-pair{font-size:11px}.brief-edition h1{font-size:27px}}

/* One aligned toolbar; it scrolls away with the mobile header. */
.page-tools{position:absolute;top:24px;right:52px;display:flex;align-items:center;gap:8px;z-index:12}
.page-tools>.casita-icon,.page-tools>.demo-dollar-toggle,.page-tools>.team-preview-control{position:static!important;inset:auto!important;width:44px;height:44px;padding:10px!important;display:grid;place-items:center;box-sizing:border-box}
.page-tools>.demo-dollar-toggle{order:1}.page-tools>.team-preview-control{order:2}.page-tools>.casita-icon{order:3}
.page-tools svg{width:22px;height:22px}.demo-dollar-mode .page-tools{top:64px}
.content:has(>.dashboard-title-row){padding-top:88px}
.brief-edition{border:1px solid #deded8;border-radius:var(--ui-radius);box-shadow:none;background:linear-gradient(125deg,#eef2e7 0%,#f9faf6 45%,#fff 85%);padding:24px;display:flex;flex-direction:column}
.brief-edition>header{margin-bottom:14px}.brief-edition .brief-intro{font-size:13px;line-height:1.7;margin-bottom:18px}
.brief-highlights{grid-template-columns:1fr;gap:8px}
.brief-wealth{display:grid;grid-template-columns:1fr auto;gap:5px 16px;background:#ffffff80;padding:16px;border:1px solid #dde3d5}
.brief-wealth>.brief-feature-icon{display:none}.brief-wealth>.eyebrow{grid-column:1}.brief-wealth>strong{grid-column:1;grid-row:2;font-size:36px;margin:0;line-height:1.15}
.brief-wealth-pair{grid-column:2;grid-row:1/4;grid-template-columns:1fr;gap:8px;width:auto;align-self:center;font-size:13px;max-width:none}
.brief-wealth-pair>span+span{border:0;padding:0}.brief-wealth-pair small{margin-bottom:2px;font-size:8px}.brief-asof{margin:3px 0 0;font-size:9px}
.brief-agenda{border:0;padding:0}.brief-feature{padding:11px 0;min-height:63px}.brief-feature strong{font-size:13px}
.brief-occasions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:auto;padding-top:10px}
.brief-countdown{background:none;border:0;border-radius:0;text-align:left;margin:0;padding:12px 0;min-width:0;font-size:11px;gap:9px;align-items:center}
.brief-countdown>svg{flex:none;width:25px;height:25px}.brief-countdown>span{display:grid;gap:4px}.brief-countdown small{font-size:8px;letter-spacing:.7px;margin:0}.brief-countdown strong{font-size:12px;font-weight:500}.brief-countdown span span{font-size:9px;color:#737c69}
.brief-ticker{gap:16px;padding-top:12px}.brief-ticker .market-quote{gap:5px}.brief-ticker .market-quote+.market-quote{border-left:1px solid #e0e5d9;padding-left:16px}.brief-ticker strong{font-size:17px;line-height:22px;height:22px}.market-day{height:14px!important;font-size:10px!important}.market-day small{font-size:8px}.market-spark{display:block;width:100%;height:25px;color:#7e8e6d;margin:3px 0}.market-spark.pending{background:linear-gradient(transparent 49%,#dce2d5 50%,transparent 53%)}
.brief-ticker .market-return{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#5a6450;height:14px}.market-return small{font-size:9px}.market-return b{font-weight:500}.market-date{min-height:24px;line-height:1.4}
.brief-data-notes{font-size:9px;color:#78806f;margin-top:10px}.brief-data-notes summary{cursor:pointer;width:max-content}.brief-data-notes p{line-height:1.6;margin:8px 0 0}.brief-data-notes a{color:inherit}
.dashboard-overview .dashboard-assistant-compact{background:transparent;border:0;box-shadow:none;min-height:130px;padding:12px 20px}
.brief-weather{background:#fff;padding:18px;display:flex;flex-direction:column}.brief-weather article{flex:1;padding:15px 0 8px;display:flex;flex-direction:column;justify-content:center}.brief-weather article:last-child{padding-bottom:0}
.brief-city-heading h3{font-size:21px}.brief-city-art{margin:3px 0;min-height:80px;flex:1;display:grid;place-items:center}.brief-city-art img{width:100%;height:105px;object-fit:cover;mix-blend-mode:multiply}.brief-temperature>strong{font-size:30px}.brief-weather p{font-size:10px;margin:5px 0}.weather-updated{font-size:8px}
@media(min-width:901px){
 .dashboard-overview{grid-template-columns:minmax(0,2.15fr) minmax(290px,1fr);grid-template-rows:140px auto auto;gap:20px 24px;align-items:stretch}
 .dashboard-overview .dashboard-main,.dashboard-overview .dashboard-right{display:contents}
 .dashboard-overview .dashboard-brief{grid-column:1;grid-row:1/3}
 .dashboard-overview .dashboard-assistant{grid-column:2;grid-row:1;height:100%}
 .dashboard-overview .brief-weather{grid-column:2;grid-row:2}
 .dashboard-overview .dashboard-week{grid-column:1;grid-row:3;align-self:start}
 .dashboard-overview .dashboard-market{grid-column:2;grid-row:3;align-self:start}
}
@media(max-width:700px){.page-tools,.demo-dollar-mode .page-tools{top:-47px;right:60px;gap:4px}.page-tools>.team-preview-control{display:none}.page-tools>.casita-icon,.page-tools>.demo-dollar-toggle{width:40px;height:40px}.content:has(>.dashboard-title-row){padding-top:10px}}
@media(max-width:600px){
 .brief-edition{padding:18px 16px 12px}.brief-edition .brief-intro{font-size:12px;margin-bottom:14px}
 .brief-wealth{padding:12px;gap:5px 8px}.brief-wealth>strong{font-size:29px}.brief-wealth-pair{font-size:11px}.brief-feature{min-height:58px;padding:10px 0}
 .pocket-skyline{height:66px;margin:2px 0}.pocket-skyline img{width:100%;height:66px;object-fit:cover;mix-blend-mode:multiply}
 .brief-occasions{gap:10px;padding-top:0}.brief-countdown{gap:7px}.brief-countdown>svg{width:21px;height:21px}.brief-countdown strong{font-size:11px}.brief-countdown small{font-size:7px}.brief-countdown span span{font-size:8px}
 .brief-ticker{gap:8px}.brief-ticker .market-quote+.market-quote{padding-left:8px}.brief-ticker strong{font-size:12px}.brief-ticker .market-return{font-size:9px}.market-return small{font-size:8px}.brief-data-notes{font-size:8px}
}
@media(min-width:601px){.brief-city-art{flex:0 0 130px;min-height:130px;margin:4px 0}.brief-city-art img{height:130px;object-fit:contain}}
.content>.dashboard-title-row{height:0;min-height:0;margin:0}

/* Keep the sky visible so each weather illustration reads on small screens. */
.pocket-skyline img{object-fit:contain}

/* Daily brief: a single illustrated sheet, including its controls and concierge. */
.content:has(>.dashboard-title-row){padding-top:24px}
.dashboard-paper-layout{grid-template-columns:minmax(0,2.4fr) minmax(260px,1fr);grid-template-rows:auto auto;gap:24px;align-items:start}
.dashboard-paper-layout>.dashboard-brief{grid-column:1/-1;grid-row:1}
.dashboard-paper-layout>.dashboard-week{grid-column:1;grid-row:2}
.dashboard-paper-layout>.dashboard-market{grid-column:2;grid-row:2}
.brief-paper{padding:22px 28px 24px;background:linear-gradient(130deg,#edf1e6,#fafbf7 48%,#fff);gap:0}
.brief-paper>.brief-masthead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 12px;margin:0 0 20px;border-bottom:1px solid #d7dece}
.brief-paper .brief-tools,.demo-dollar-mode .brief-paper .brief-tools{position:static;gap:3px;z-index:auto;flex:none}
.brief-paper .brief-tools>button{width:36px;height:36px;background:transparent;border:0!important;padding:7px!important}
.brief-paper .brief-tools>button:hover{background:#e3e9db}
.brief-paper .brief-tools svg{width:20px;height:20px}
.brief-masthead>.eyebrow{margin:0;font-size:9px;letter-spacing:1.8px}
.brief-welcome{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:28px;margin-bottom:22px}
.brief-paper h1{font-size:clamp(28px,3vw,43px);margin:0 0 13px;line-height:1.12}
.brief-paper .brief-intro{font-size:13px;line-height:1.75;margin:0;max-width:800px}
.brief-concierge{position:relative;border:1px solid #dce2d4;border-radius:var(--ui-radius);min-height:132px;padding:17px 12px 17px 17px;overflow:hidden;display:flex;align-items:center;background:#ffffff75}
.brief-concierge>div{position:relative;z-index:1;max-width:150px}.brief-concierge .eyebrow{font-size:7px;letter-spacing:1px;display:block;margin:0 0 16px}
.brief-concierge button{padding:0;display:flex;align-items:center;gap:9px;border:0;background:none;font:24px var(--font-heading);color:#394830;white-space:nowrap}.brief-concierge button svg{width:16px;height:16px}
.brief-concierge-text{display:block;font-size:9px;color:#76816a;margin-top:12px}.brief-concierge-text a{color:inherit}.brief-concierge>img{position:absolute;height:132px;width:88px;object-fit:contain;right:0;bottom:0;mix-blend-mode:multiply}
.brief-paper .brief-highlights{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(160px,.72fr);gap:22px;align-items:stretch;margin-bottom:22px}
.brief-paper .brief-wealth{display:flex;align-items:flex-start;justify-content:center;gap:0;padding:20px;background:#e5ebdd80;border:0;min-width:0}
.brief-paper .brief-wealth>.brief-feature-icon{display:block;margin-bottom:8px}.brief-paper .brief-wealth>.brief-feature-icon svg{width:29px;height:29px;margin:0}
.brief-paper .brief-wealth>strong{font-size:clamp(25px,2.8vw,38px);margin:8px 0 16px;letter-spacing:-1px}
.brief-paper .brief-wealth-pair{grid-template-columns:1fr 1fr;width:100%;font-size:12px;gap:12px;align-self:stretch}.brief-paper .brief-wealth-pair>span+span{border-left:1px solid #cfd7c4;padding-left:12px}
.brief-paper .brief-asof{margin-top:12px;font-size:8px}
.brief-paper .brief-agenda{display:grid;align-content:center}.brief-paper .brief-feature{padding:13px 0;grid-template-columns:28px minmax(0,1fr) 12px;gap:10px;min-height:65px}
.brief-paper .brief-feature-icon svg{width:27px;height:27px}.brief-paper .brief-feature strong{font-size:13px}.brief-paper .brief-feature small{font-size:8px;letter-spacing:.8px}
.brief-paper .brief-occasions{grid-template-columns:1fr;gap:0;padding:0 0 0 20px;margin:0;border-left:1px solid #d9dfd1;align-content:center}
.brief-paper .brief-countdown{display:flex;gap:9px;min-height:82px;padding:12px 0;align-items:center;width:100%}
.brief-paper .brief-countdown+.brief-countdown{border-top:1px solid #dce2d5}.brief-paper .brief-countdown strong{font:18px var(--font-heading);line-height:1.15}.brief-paper .brief-countdown small{font-size:7px;letter-spacing:.7px;line-height:1.4}.brief-paper .brief-countdown span span{font-size:9px;line-height:1.5}
.brief-paper .brief-birthday-portrait{width:56px;height:70px;max-width:none;flex:none;border-radius:0;margin:0;background-repeat:no-repeat}
.brief-world{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px;border-top:1px solid #d7dece;padding-top:18px}
.brief-landscapes{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.brief-landscape{position:relative;isolation:isolate;overflow:hidden;min-height:225px;background:#fff;border:1px solid #e1e4db;border-radius:var(--ui-radius)}
.brief-landscape>img{position:absolute;z-index:-1;width:100%;height:76%;object-fit:cover;object-position:center bottom;bottom:0;left:0;mix-blend-mode:multiply}
.landscape-sky{position:relative;padding:13px 14px 35px;background:linear-gradient(#ffffffed 55%,#ffffffb8 75%,transparent);color:#343d2e}
.landscape-place{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.landscape-place h3{font:21px var(--font-heading);margin:0}.landscape-place time{font-size:9px;white-space:nowrap;color:#6f7964}
.landscape-now{display:flex;align-items:center;gap:10px;margin-top:10px}.landscape-now>strong{font:32px var(--font-heading);line-height:1}.landscape-now>strong small{font:9px var(--font-body)}.landscape-now>span{font-size:10px}.landscape-now>span small{display:block;font-size:9px;margin-top:4px;color:#6f7964}
.landscape-forecast{position:absolute;bottom:0;left:0;right:0;padding:8px 10px;background:#ffffffeb;font-size:9px;text-align:center;line-height:1.4;color:#525e46}.landscape-forecast>span{font-weight:600}
.brief-paper .brief-ticker{border:0;padding-top:0;gap:12px}.brief-paper .brief-ticker .market-quote+.market-quote{padding-left:12px}.brief-paper .brief-ticker strong{font-size:15px}.brief-paper .market-spark{height:35px;margin:9px 0}.brief-paper .brief-data-notes{margin-top:9px}
@media(max-width:1200px) and (min-width:701px){.brief-paper .brief-highlights{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.brief-paper .brief-occasions{grid-column:1/-1;grid-template-columns:1fr 1fr;border:0;padding:0;gap:20px}.brief-paper .brief-countdown{min-height:70px;padding:4px 0}.brief-paper .brief-countdown+.brief-countdown{border-top:0;border-left:1px solid #dce2d5;padding-left:20px}.brief-world{grid-template-columns:1fr}.brief-paper .brief-ticker{border-top:1px solid #d7dece;padding-top:14px}.brief-landscape{min-height:200px}.brief-landscape>img{object-fit:contain;height:100%;width:80%;left:auto;right:0}.landscape-sky{background:linear-gradient(110deg,#ffffffef,transparent);height:100%}}
@media(max-width:700px){
 .content:has(>.dashboard-title-row){padding-top:10px}.dashboard-paper-layout{grid-template-columns:1fr;gap:18px}.dashboard-paper-layout>.dashboard-week{grid-column:1;grid-row:2}.dashboard-paper-layout>.dashboard-market{grid-column:1;grid-row:3}
 .brief-paper{padding:14px 16px 16px}.brief-paper>.brief-masthead{gap:8px;margin-bottom:16px;padding-bottom:8px}.brief-masthead>.eyebrow{font-size:7px;letter-spacing:1px}.brief-paper .brief-tools>button{width:32px;height:32px;padding:6px!important}
 .brief-welcome{grid-template-columns:1fr;gap:12px;margin-bottom:15px}.brief-paper h1{font-size:30px;margin-bottom:10px}.brief-paper .brief-intro{font-size:12px;line-height:1.6}
 .brief-concierge{min-height:76px;padding:12px 85px 12px 13px}.brief-concierge>div{max-width:none;width:100%}.brief-concierge .eyebrow{font-size:7px;margin:0 0 7px}.brief-concierge button{font-size:20px}.brief-concierge-text{position:absolute;bottom:3px;right:0;font-size:8px;margin:0;max-width:108px}.brief-concierge>img{height:74px;width:60px;right:10px}
 .brief-paper .brief-highlights{grid-template-columns:1fr;gap:10px;margin-bottom:14px}.brief-paper .brief-wealth{display:grid;grid-template-columns:1fr auto;padding:13px;gap:4px 10px}.brief-paper .brief-wealth>.brief-feature-icon{display:none}.brief-paper .brief-wealth>strong{font-size:29px;margin:0;grid-row:2}.brief-paper .brief-wealth-pair{grid-column:2;grid-row:1/4;grid-template-columns:1fr;width:auto;font-size:11px;gap:7px}.brief-paper .brief-wealth-pair>span+span{border:0;padding:0}.brief-paper .brief-asof{margin-top:3px}
 .brief-paper .brief-feature{padding:9px 0;min-height:57px}.brief-paper .brief-feature strong{font-size:12px}
 .brief-paper .brief-occasions{grid-template-columns:1fr 1fr;gap:10px;border:0;padding:8px 0 0;border-top:1px solid #d7dece}.brief-paper .brief-countdown{min-height:70px;padding:0;gap:7px}.brief-paper .brief-countdown+.brief-countdown{border:0}.brief-paper .brief-countdown strong{font-size:16px}.brief-paper .brief-countdown small{font-size:6px}.brief-paper .brief-countdown span span{font-size:8px}.brief-paper .brief-birthday-portrait{width:42px;height:56px}
 .brief-world{grid-template-columns:1fr;gap:16px;padding-top:14px}.brief-landscapes{gap:8px}.brief-landscape{min-height:194px}.landscape-sky{padding:10px 9px 30px}.landscape-place{display:block}.landscape-place h3{font-size:19px}.landscape-place time{display:block;margin-top:3px;font-size:8px}.landscape-now{margin-top:8px;gap:6px}.landscape-now>strong{font-size:27px}.landscape-now>span{font-size:9px}.landscape-now>span small{font-size:8px}.landscape-forecast{font-size:8px;padding:6px}.brief-landscape>img{height:66%}
 .brief-paper .brief-ticker{border-top:1px solid #d7dece;padding-top:12px;gap:8px}.brief-paper .brief-ticker .market-quote+.market-quote{padding-left:8px}.brief-paper .brief-ticker strong{font-size:12px}.brief-paper .market-spark{height:25px;margin:4px 0}
}
@media print{
 .sidebar,.mobile-header,.menu-backdrop,.main>.page-tools,.dashboard-paper-layout>.dashboard-week,.dashboard-paper-layout>.dashboard-market,.brief-tools,.brief-data-notes{display:none!important}
 .shell,.main,.content{display:block!important;margin:0!important;padding:0!important;width:100%!important}.dashboard-paper-layout{display:block}.brief-paper{border:0;box-shadow:none;padding:12px;break-inside:avoid;print-color-adjust:exact}.brief-welcome{grid-template-columns:1fr 210px}.brief-world{grid-template-columns:1.45fr 1fr}.brief-paper .brief-highlights{grid-template-columns:1fr 1.2fr .8fr}.brief-paper .brief-occasions{grid-column:auto;grid-template-columns:1fr}.brief-paper .brief-countdown+.brief-countdown{border-left:0;padding-left:0}.brief-landscape{min-height:200px}
}
.brief-paper .market-spark{height:22px;margin:6px 0}
.brief-ticker .market-performance{display:flex;flex-wrap:wrap;gap:5px 10px;color:#5a6450;font-size:9px;min-height:28px;align-content:start}
.market-performance>span{white-space:nowrap}.market-performance small{font-size:8px}.market-performance b{font-weight:500}
/* Compact market rows pair annual context with a small twelve-month sparkline. */
.brief-paper .brief-ticker{grid-template-columns:1fr;gap:0}
.brief-paper .brief-ticker .market-quote{display:grid;grid-template-columns:1.15fr .9fr .9fr;grid-template-rows:20px 16px 25px;gap:2px 10px;padding:9px 0;border:0}
.brief-paper .brief-ticker .market-quote+.market-quote{padding:9px 0;border-left:0;border-top:1px solid #e0e5d9}
.brief-paper .brief-ticker .market-quote>small{grid-column:1;grid-row:1;align-self:center;font-size:10px}
.brief-paper .brief-ticker strong{grid-column:2;grid-row:1;font-size:14px}
.brief-paper .market-day{grid-column:2;grid-row:2}
.brief-paper .market-spark{grid-column:3;grid-row:1/3;align-self:center;height:22px;margin:0}
.brief-paper .market-performance{grid-column:1/3;grid-row:3;flex-wrap:nowrap;gap:10px;font-size:9px;min-height:0;align-self:center}
.brief-paper .market-date{grid-column:3;grid-row:3;min-height:0;font-size:8px;align-self:center}
@media(max-width:700px){.brief-paper .brief-ticker{padding-top:0}.brief-paper .brief-ticker .market-quote{padding:7px 0}.brief-paper .brief-ticker .market-quote+.market-quote{padding:7px 0}.brief-paper .brief-ticker strong{font-size:13px}.brief-paper .market-performance{font-size:8px;gap:8px}}

/* Dashboard finishing pass: a restrained edition rail and consistent section rhythm. */
@media(min-width:1001px){.dashboard-paper-layout{grid-template-columns:minmax(0,1fr) 310px;column-gap:24px}}
.dashboard-paper-layout>.dashboard-week,.dashboard-paper-layout>.dashboard-market{padding:24px;box-sizing:border-box;min-width:0}
.dashboard-paper-layout>.dashboard-market{width:100%;max-width:340px;justify-self:start}
.dashboard-paper-layout>.dashboard-market>.section-head{margin:0 0 10px;gap:12px;align-items:center}
.dashboard-paper-layout>.dashboard-market h2{font-size:27px!important;line-height:1.15;margin:0;white-space:normal!important}
.dashboard-paper-layout>.dashboard-market>.section-head>svg{width:30px;height:30px;flex:none;color:#67755a}
.dashboard-paper-layout>.dashboard-market>.sub{font-size:11px;line-height:1.65;margin:0 0 16px;color:#73796d}
.dashboard-paper-layout .market-wrap-edition,.dashboard-paper-layout .market-wrap-edition:hover{height:172px;min-height:172px;max-width:290px;width:100%;margin:12px auto 0;padding:18px 12px;box-sizing:border-box;border-color:#dce1d5;background:linear-gradient(125deg,#f3f5ef,#fff);box-shadow:none}
.dashboard-paper-layout .market-wrap-edition:before{background-size:258px 172px;opacity:.6}
.dashboard-paper-layout .market-wrap-edition>span{gap:8px}
.dashboard-paper-layout .market-wrap-edition small{font-size:7px;letter-spacing:.9px}
.dashboard-paper-layout .market-wrap-edition strong{font-size:21px;font-weight:400;line-height:1.2}
.dashboard-paper-layout .market-wrap-edition .edition-cta{font-size:10px;gap:5px}
.dashboard-paper-layout .market-wrap-edition:hover{border-color:#9aa88a;background:#f3f6ed}
.dashboard-paper-layout .dashboard-calendar-title h2{font-size:29px;line-height:1.2}
.dashboard-paper-layout .dashboard-calendar-heading{gap:16px;flex-wrap:wrap;align-items:center}
.dashboard-paper-layout .dashboard-calendar-heading>.playbook-actions{margin-left:auto;gap:8px}
.dashboard-paper-layout .dashboard-calendar-intro{margin-top:18px}
.dashboard-paper-layout .dashboard-calendar-context{padding-bottom:16px}
.dashboard-paper-layout .agenda-day{padding:14px 0;gap:14px;grid-template-columns:116px minmax(0,1fr)}
.dashboard-paper-layout .agenda-day header{padding-top:5px}.dashboard-paper-layout .agenda-day h3{font-size:22px;line-height:1.2;margin-bottom:7px}
.dashboard-paper-layout .agenda-timezone{font-size:9px;line-height:1.5;margin-top:5px}
.dashboard-paper-layout .agenda-blocks{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-paper-layout .agenda-blocks .schedule-entry{padding:10px;min-width:0}
.dashboard-paper-layout .agenda-blocks .schedule-entry-time{font-size:10px;line-height:1.4;min-height:1.4em;height:auto;white-space:normal}
.dashboard-paper-layout .agenda-blocks .schedule-entry-name{line-height:1.4}.dashboard-paper-layout .agenda-blocks .schedule-entry-name strong{font-size:11px;overflow-wrap:anywhere}
.brief-paper .brief-feature>span:nth-child(2){gap:4px}.brief-paper .brief-feature span span{line-height:1.45}
.brief-paper .brief-concierge button{min-height:32px}.brief-paper .brief-tools>button{border-radius:var(--ui-radius)!important}
.brief-paper .brief-landscape{border-color:#dce1d5}.brief-paper .landscape-now{min-height:36px}
.brief-paper .brief-ticker .market-quote{border-radius:0}.brief-paper .brief-ticker .market-quote:hover{background:#edf2e580}
@media(min-width:1001px) and (max-width:1300px){.dashboard-paper-layout{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.dashboard-paper-layout>.dashboard-week,.dashboard-paper-layout>.dashboard-market{padding:20px}.dashboard-paper-layout .agenda-blocks{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-paper-layout .agenda-day{grid-template-columns:102px minmax(0,1fr)}.dashboard-paper-layout .agenda-day h3{font-size:19px}.dashboard-paper-layout .market-wrap-edition:before{background-size:240px 160px}}
@media(max-width:1000px){.dashboard-paper-layout{grid-template-columns:1fr}.dashboard-paper-layout>.dashboard-week{grid-column:1;grid-row:2}.dashboard-paper-layout>.dashboard-market{grid-column:1;grid-row:3}.dashboard-paper-layout .agenda-blocks{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
 .dashboard-paper-layout>.dashboard-week,.dashboard-paper-layout>.dashboard-market{padding:18px 16px}
 .dashboard-paper-layout .dashboard-calendar-title{gap:12px}.dashboard-paper-layout .dashboard-calendar-title h2{font-size:26px!important}
 .dashboard-paper-layout .dashboard-calendar-heading>.playbook-actions{width:100%;margin-left:0}.dashboard-paper-layout .dashboard-calendar-heading>.playbook-actions>button{flex:1}
 .dashboard-paper-layout .dashboard-calendar-intro{margin-top:14px}.dashboard-paper-layout .dashboard-calendar-context{padding-bottom:13px}
 .dashboard-paper-layout .agenda-day{grid-template-columns:1fr;gap:9px;padding:13px 0}.dashboard-paper-layout .agenda-day header{display:flex;align-items:baseline;gap:8px;padding:0}.dashboard-paper-layout .agenda-day h3{font-size:21px;margin:0}.dashboard-paper-layout .agenda-timezone{margin:0;font-size:8px}
 .dashboard-paper-layout .agenda-blocks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-paper-layout .agenda-blocks .schedule-entry{padding:9px 8px}
 .dashboard-paper-layout .agenda-blocks .schedule-entry-time{font-size:9px}.dashboard-paper-layout .agenda-blocks .schedule-entry-name strong{font-size:11px}
 .dashboard-paper-layout>.dashboard-market{max-width:340px}.brief-paper .brief-tools>button{width:36px;height:36px}
}
.brief-paper .market-spark{max-width:110px;justify-self:end}

/* Briefing hierarchy: wealth first, quiet weather, readable market context. */
.brief-paper{display:grid;grid-template-columns:minmax(0,1fr) 250px;column-gap:28px}
.brief-paper>.brief-masthead{grid-column:1/-1;grid-row:1}
.brief-paper>.brief-welcome{grid-column:1;grid-row:2;display:block;margin-bottom:22px}
.brief-paper>.brief-concierge{grid-column:2;grid-row:2;align-self:start;margin-bottom:22px}
.brief-paper>.brief-highlights{grid-column:1/-1;grid-row:3}
.brief-paper>.brief-world{grid-column:1/-1;grid-row:4;grid-template-columns:1fr 1fr;align-items:start}
.brief-paper .brief-wealth{position:relative;isolation:isolate;overflow:hidden;min-height:225px;background:linear-gradient(120deg,#e5ebdb,#f0f3e8);border:1px solid #d4ddc8}
.brief-paper .brief-wealth:before{content:"";position:absolute;inset:0;background:url('/brief-wealth-legacy.png') right bottom/auto 100% no-repeat;opacity:.23;z-index:-1;pointer-events:none}
.brief-paper .brief-wealth>strong{color:#26321f;text-shadow:0 1px 8px #f3f6e9}
.brief-paper .brief-wealth .eyebrow,.brief-paper .brief-wealth small,.brief-paper .brief-asof{color:#4c5942}
.brief-paper .brief-landscape{min-height:162px;background:transparent;border:0;border-radius:0}
.brief-paper .brief-landscape>img{height:100%;width:100%;left:0;right:auto;opacity:.27;object-fit:contain;object-position:center bottom;mix-blend-mode:multiply}
.brief-paper .landscape-sky{padding:10px 8px 30px;background:none;height:auto}
.brief-paper .landscape-place{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.brief-paper .landscape-place h3{font-size:21px}.brief-paper .landscape-place time{font-size:9px;color:#4e5847}
.brief-paper .landscape-now{margin-top:10px}.brief-paper .landscape-now>strong{font-size:30px;color:#303c28}.brief-paper .landscape-now>span{color:#394531;font-size:11px}.brief-paper .landscape-now>span small{color:#4e5847}
.brief-paper .landscape-forecast{background:transparent;color:#3f4b37;font-size:9px;padding:7px 8px}
.brief-paper .brief-ticker{gap:8px;border:0;padding:0}
.brief-paper .brief-ticker .market-quote,.brief-paper .brief-ticker .market-quote+.market-quote{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;gap:5px 12px;padding:12px 14px;border:1px solid #d7decf;border-radius:5px;background:linear-gradient(105deg,#f4f6ef,#edf2e5);min-height:96px;color:#293423}
.brief-paper .brief-ticker .market-quote:hover{border-color:#9aa88c;background:#e8eedf}
.brief-paper .brief-ticker .market-quote>small{grid-column:1;grid-row:1;font-size:12px;font-weight:600;color:#303c29}
.brief-paper .brief-ticker strong{grid-column:1;grid-row:2;font-size:20px;font-weight:500;color:#202b1b}
.brief-paper .market-day{grid-column:2;grid-row:2;align-self:center;font-size:12px;font-weight:600}.brief-paper .market-day.up{color:#365d35}.brief-paper .market-day.down{color:#974535}
.brief-paper .market-spark{position:absolute;right:0;bottom:0;width:60%;max-width:none;height:76%;opacity:.16;z-index:-1;color:#4e6741;mask-image:linear-gradient(90deg,transparent,#000 40%)}
.brief-paper .market-performance{grid-column:1;grid-row:3;font-size:10px;color:#394631;gap:12px;flex-wrap:wrap}.brief-paper .market-performance small{font-size:9px;color:#4e5946}.brief-paper .market-performance b{font-weight:600}
.brief-paper .market-date{grid-column:2;grid-row:3;font-size:9px;color:#4e5946;align-self:end;text-align:right}.brief-paper .brief-data-notes{color:#536049}
@media(max-width:1000px){
 .brief-paper{grid-template-columns:minmax(0,1fr)}
 .brief-paper>.brief-welcome{grid-column:1;grid-row:2}.brief-paper>.brief-highlights{grid-column:1;grid-row:3}.brief-paper>.brief-world{grid-column:1;grid-row:4;grid-template-columns:1fr}
 .brief-paper>.brief-concierge{grid-column:1;grid-row:5;margin:18px 0 0;min-height:86px}
 .brief-paper .brief-concierge-text{position:static;max-width:none;margin-top:7px}.brief-paper .brief-concierge>img{height:86px;width:64px}
 .brief-paper .brief-landscape{min-height:145px}.brief-paper .brief-landscape>img{height:100%;width:100%}
}
@media(max-width:700px){
 .brief-paper{column-gap:0}.brief-paper .brief-wealth{min-height:112px;padding:16px 13px}.brief-paper .brief-wealth:before{opacity:.18;background-size:auto 150%}
 .brief-paper .brief-landscape{min-height:145px}.brief-paper .landscape-place h3{font-size:19px}.brief-paper .landscape-place{display:block}.brief-paper .landscape-now>strong{font-size:27px}.brief-paper .landscape-now>span{font-size:9px}.brief-paper .landscape-forecast{font-size:8px;padding:6px 4px}
 .brief-paper .brief-ticker .market-quote,.brief-paper .brief-ticker .market-quote+.market-quote{padding:11px 12px;gap:5px 8px}.brief-paper .market-performance{font-size:9px;gap:8px}.brief-paper .market-date{font-size:8px}
}
.brief-paper .market-spark{grid-area:auto}
@media(min-width:1001px){
 .brief-paper>.brief-world{grid-template-columns:1fr;gap:18px}
 .brief-paper .brief-ticker{grid-template-columns:repeat(3,minmax(0,1fr))}
 .brief-paper .brief-landscape{min-height:132px}
 .brief-paper .brief-landscape>img{width:60%;left:auto;right:0;object-position:right bottom}
 .brief-paper .landscape-forecast{right:auto;left:0;bottom:4px;text-align:left}
 .brief-paper .landscape-place{justify-content:flex-start;gap:16px}
}
@media(max-width:400px){
 .brief-paper .brief-wealth>strong{font-size:25px}.brief-paper .brief-wealth-pair{font-size:10px}
 .brief-paper .landscape-sky{padding:8px 4px 30px}.brief-paper .landscape-place h3{font-size:15px;white-space:nowrap}.brief-paper .landscape-now{flex-wrap:wrap;gap:3px;margin-top:7px}.brief-paper .landscape-now>strong{font-size:25px}.brief-paper .landscape-now>span{flex-basis:100%;font-size:9px}.brief-paper .landscape-now>span small{font-size:8px}
 .brief-paper .brief-landscape{min-height:158px}.brief-paper .landscape-forecast{font-size:8px;line-height:1.35}
}
/* Aligned weather readings with a curved clear area above the illustration. */
.brief-paper .landscape-sky{display:grid;grid-template-rows:48px auto;position:relative;z-index:1}
.brief-paper .landscape-place{display:block}.brief-paper .landscape-place h3{margin:0;font-family:var(--font-heading);line-height:1.2}.brief-paper .landscape-place time{display:block;margin-top:5px;line-height:1.4}
.brief-paper .landscape-now{display:grid;grid-template-columns:1fr;gap:4px;margin-top:6px;align-content:start;align-items:start}
.brief-paper .landscape-now>strong{font:400 30px/1 var(--font-heading);font-variant-numeric:tabular-nums;white-space:nowrap}
.brief-paper .landscape-now>strong small{font:400 9px/1 var(--font-body, sans-serif);margin-left:3px}
.brief-paper .landscape-now>span{font-size:10px;line-height:1.4}.brief-paper .landscape-now>span small{display:block;margin-top:3px;font-size:9px}
.brief-paper .brief-landscape{min-height:180px}.brief-paper .brief-landscape>img{opacity:.23;mask-image:radial-gradient(ellipse 86% 72% at 0% 0%,transparent 48%,#000 91%);-webkit-mask-image:radial-gradient(ellipse 86% 72% at 0% 0%,transparent 48%,#000 91%)}
.brief-paper .landscape-forecast{line-height:1.45;font-weight:400}.brief-paper .landscape-forecast>span{font-weight:500}
.brief-paper .brief-countdown strong{font-family:var(--font-heading);font-weight:400;line-height:1.2}
.brief-paper .brief-ticker .market-quote{cursor:default;text-decoration:none;font-family:var(--font-body, sans-serif)}
.brief-paper .brief-ticker .market-quote:hover{border-color:#d7decf;background:linear-gradient(105deg,#f4f6ef,#edf2e5)}
@media(min-width:1001px){.brief-paper .brief-landscape{min-height:168px}.brief-paper .brief-landscape>img{mask-image:linear-gradient(90deg,transparent,#000 45%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 45%)}}
@media(max-width:400px){.brief-paper .landscape-place h3{font-size:15px}.brief-paper .landscape-now>strong{font-size:28px}.brief-paper .landscape-now>span{font-size:9px}.brief-paper .landscape-now>span small{font-size:8px}.brief-paper .brief-landscape{min-height:178px}}

/* Quiet heraldry, with a protected reading surface for every wealth figure. */
.brief-paper .brief-wealth{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:0;padding:20px;min-height:238px;background:linear-gradient(125deg,#eef1e6,#e6ecdc);text-align:left}
.brief-paper .brief-wealth:before{background-image:url('/brief-wealth-thrones.png');background-position:right top;background-size:auto 200px;opacity:.24;mask-image:linear-gradient(90deg,transparent 5%,#000 65%);-webkit-mask-image:linear-gradient(90deg,transparent 5%,#000 65%)}
.brief-paper .brief-wealth>.brief-feature-icon{margin-bottom:10px}.brief-paper .brief-wealth>.eyebrow{margin:0;color:#44513b;font-size:10px;letter-spacing:1.5px}
.brief-paper .brief-wealth>strong{font:400 clamp(28px,2.7vw,38px)/1.15 var(--font-heading);letter-spacing:-.8px;margin:8px 0 16px;color:#24311e;text-shadow:none;white-space:nowrap}
.brief-paper .brief-wealth-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;max-width:none;gap:12px;padding:10px 12px;background:#f5f7eef2;border:1px solid #dce3d3;border-radius:4px;font:400 13px/1.4 var(--font-body);color:#26331f;font-variant-numeric:tabular-nums}
.brief-paper .brief-wealth-pair>span+span{border-left:1px solid #d5deca;padding-left:12px}.brief-paper .brief-wealth-pair small{font:500 9px/1.3 var(--font-body);letter-spacing:1px;color:#526047;margin:0 0 4px}
.brief-paper .brief-asof{font-size:9px;line-height:1.4;margin-top:10px;color:#526047}
.brief-paper .brief-feature{gap:13px}.brief-paper .brief-feature>span:nth-child(2){min-width:0}.brief-paper .brief-feature strong{line-height:1.4}
.brief-paper .brief-countdown>span:last-child{min-width:0}.brief-paper .brief-countdown strong{overflow-wrap:normal}.brief-paper .brief-countdown>span>span{line-height:1.5}
.brief-paper .market-quote strong,.brief-paper .market-day,.brief-paper .market-performance{font-variant-numeric:tabular-nums}
.brief-paper .brief-concierge-text{line-height:1.5}.brief-paper .brief-concierge button{min-height:36px}
@media(max-width:700px){
 .brief-paper .brief-wealth{min-height:178px;padding:16px}.brief-paper .brief-wealth:before{background-size:auto 170px;opacity:.2}
 .brief-paper .brief-wealth>strong{font-size:34px;margin:8px 0 13px}.brief-paper .brief-wealth-pair{font-size:13px;padding:9px 10px;gap:10px}.brief-paper .brief-wealth-pair>span+span{padding-left:10px}.brief-paper .brief-asof{margin-top:8px}
 .brief-paper .brief-feature{padding:13px 0}.brief-paper .brief-countdown strong{font-size:20px}.brief-paper .brief-countdown{gap:9px}
 .brief-paper .brief-masthead{padding-bottom:12px}.brief-paper .brief-tools>button{width:36px;height:36px}
}
@media(max-width:360px){.brief-paper .brief-wealth{padding:14px}.brief-paper .brief-wealth>strong{font-size:29px}.brief-paper .brief-wealth-pair{font-size:12px}.brief-paper .brief-countdown strong{font-size:18px}}

/* Page review: consistent metric baselines, readable cards and compact mobile tools. */
.wealth-overview-card .change-stat>.today-label{display:flex;height:40px;min-height:40px;align-items:center;margin:0}
.wealth-overview-card .balance-refresh-icon{flex:0 0 36px;height:36px;min-height:36px;padding:4px}
.featured-goal .goal-chart{height:auto;max-height:170px;aspect-ratio:500/180}
.section-head>div,.settings-person>div,.insurance-documents article>div{min-width:0}
.settings-person a,.insurance-documents h3,.tax-file a,.vault-file-title strong{overflow-wrap:anywhere}
.modal .actions,.connection-actions,.tax-actions{align-items:center;gap:12px}
@media(max-width:700px){
 .insurance-card{padding:20px}
 .insurance-card-heading{margin-bottom:10px}
 .insurance-card h2{font-size:24px;margin-bottom:8px}
 .insurance-card>.sub{margin-bottom:16px}
 .insurance-documents article{padding-top:14px;margin-top:14px}
 .tax-inbox>.section-head{flex-direction:row;align-items:center;gap:12px}
 .tax-inbox>.section-head h2{margin:8px 0 0}
 .tax-inbox>.section-head>button{max-width:60%;white-space:normal;line-height:1.4}
 .vault-categories{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:10px;margin-bottom:12px;scrollbar-width:thin}
 .vault-categories button{flex-shrink:0}
 .featured-goal .goal-chart{max-height:145px}
 .settings-form-footer{gap:12px;flex-wrap:wrap}
 .modal .actions>button{white-space:normal}
}
@media(max-width:760px){
 .shop-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 6px;gap:2px;overflow:visible}
 .shop-categories button{min-width:0;justify-content:center;flex-wrap:wrap;gap:4px;padding:8px 3px}
 .shop-categories button>span{gap:4px}
 .shop-categories small{padding:2px 4px}
 .shop-categories svg{width:16px;height:16px}
}
.login-art img{height:auto;object-fit:contain}
@media(max-width:700px){
 .holdings-table,.holdings-table tbody{display:block;width:100%;min-width:0}
 .holdings-table thead{display:none}
 .holdings-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:18px 0;border-bottom:1px solid #e5e7e1}
 .holdings-table tbody td{display:block;min-width:0;width:auto;padding:0;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 .holdings-table tbody td:first-child{grid-column:1/-1;font-size:14px}
 .holdings-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:400;color:#6d7368;margin-bottom:4px}
}

.advisor-notice{font-size:.85rem;color:#58634e;background:#f1f4ec;border:1px solid #dfe5d7;border-radius:8px;padding:10px 14px;margin:0 0 18px}
[aria-disabled="true"]{opacity:.55;cursor:not-allowed!important}
.advisor-login-details{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f4f5f1;border-radius:8px;font-size:.9rem;line-height:1.8}
