/* 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:6px;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:14px;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:6px;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:5px}
.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:6px;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:4px;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 Arial,sans-serif;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:6px;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:6px!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 sans-serif;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:8px;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:8px;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:8px;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:7px}.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:4px;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:6px;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:Georgia,serif;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 Georgia;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 Georgia,serif;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 Georgia;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 Georgia,serif}.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:5px;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:Georgia,serif;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:Georgia,serif;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:Georgia,serif;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:20px;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:7px;background:#fafafa;margin-left:auto}
.owner-group-toggle button{border:0;background:transparent;min-height:34px;padding:7px 14px;font-size:13px;border-radius:4px;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:5px}
.column-filter-button [data-filter-count]:not(:empty){font-size:10px;border-radius:10px;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:12px;background:#fff;color:#282828;box-shadow:0 12px 40px #0002;font:13px/1.4 Arial,sans-serif;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:6px}
.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:6px;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:5px;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:7px;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:8px;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:8px;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:18px!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:16px!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:4px}
@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:6px;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:8px;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:Georgia,serif;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:8px;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:3px;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 Georgia,serif;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:5px;padding:8px 12px;background:#fff;color:#333;font:400 13px/1.2 Arial,Helvetica,sans-serif;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:5px;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:18px}
.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:16px;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:3px;background:#fff}
.dashboard-assistant #dashboard-chat,.chat-modern .chat-composer{border:1px solid #ccc;border-radius:3px;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:3px!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:3px;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:5px;overflow:hidden;background:#fff;box-sizing:border-box}
.calendar-month-label{font:400 14px/1.2 Arial,Helvetica,sans-serif;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:5px}
 .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:5px;padding:3px;gap:2px}
.wealth-overview-card .range-controls button{min-height:36px;padding:7px 13px;border-radius:3px;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:3px}

/* 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:4px;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:3px;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:3px;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:4px}.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:3px;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:4px}.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:3px}.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 Georgia,serif!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:4px}.dashboard-week .section-head h2,.unified-calendar .section-head h2,.dashboard-market .section-head h2,.calendar-settings-row h2{font-family:Georgia,'Times New Roman',serif;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:4px}.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:3px;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 Georgia,serif;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:Georgia,serif;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:Georgia,serif;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:Georgia,serif;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:3px;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:Georgia,serif;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:Georgia,serif;font-size:24px}.event-rsvp{display:inline-block;font-size:11px;padding:4px 8px;background:#eee;color:#666;border-radius:3px}.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}
