/* Family overview: shared web chrome and the approved desktop Home composition. */
.family-workspace{--overview-blue:#0758b8;--overview-soft:#eaf3ff;--overview-sage:#eef5ef;--overview-green:#39735b;--overview-gold:#fff4d9;--overview-gold-ink:#856129;--web-ground:#f5f8fb;--web-line:#e3ebf2;--web-muted:#687b8c;font-family:'Segoe UI',Arial,sans-serif}
.family-workspace .outline-icon{margin-right:0;flex-basis:auto}
.family-dashboard h1,.family-dashboard h2,.family-dashboard h3,.overview-panel{overflow-wrap:anywhere}
.workspace-search{position:relative}.workspace-search-trigger{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--web-line);border-radius:11px;background:var(--web-surface);color:var(--web-ink)}.workspace-search-trigger svg{width:18px;height:18px}.workspace-search>section{position:absolute;right:0;top:calc(100% + 12px);width:290px;max-width:calc(100vw - 36px);padding:16px;border:1px solid var(--web-line);border-radius:14px;background:var(--web-surface);box-shadow:0 12px 35px #173a5e25;z-index:45}.workspace-search section>div{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:10px}.workspace-search section>div button{border:0;background:transparent;font-size:24px;color:var(--web-ink)}.workspace-search input{width:100%;padding:10px;border:1px solid var(--web-line);border-radius:9px;background:var(--web-ground);color:var(--web-ink);font-size:14px}.workspace-search nav{display:grid;margin-top:8px}.workspace-search nav a{display:flex;justify-content:space-between;padding:10px 4px;color:var(--web-ink);font-size:13px;text-decoration:none}.workspace-search nav a:hover{background:var(--overview-soft)}.workspace-search nav a[hidden]{display:none}.workspace-search p{font-size:12px;color:var(--web-muted);margin:14px 0 0}
@media(max-width:760px){.workspace-search>section{right:-100px}}
html[data-theme=dark] .family-workspace{--overview-blue:#84baff;--overview-soft:#263f59;--overview-sage:#273d34;--overview-green:#b0dbc3;--overview-gold:#483c28;--overview-gold-ink:#ead3a5;--web-ground:#111c27;--web-line:#344452;--web-muted:#a6b8c9}
.family-workspace .account-controls{gap:12px}.family-workspace .notification-bell{width:36px;height:36px;border:1px solid var(--web-line);border-radius:11px}.family-workspace .notification-bell svg{width:19px;height:19px}.family-workspace .notification-bell>span{background:var(--overview-blue);font-size:10px;right:-5px;top:-5px}.family-workspace .account-trigger{gap:0;padding:0}.family-workspace .account-trigger-name,.family-workspace .account-trigger>span:last-child:not(.account-initials){display:none}.family-workspace .account-trigger img,.family-workspace .account-initials{width:36px;height:36px;font-size:12px;font-weight:600;background:var(--overview-soft);color:var(--overview-blue)}
.family-dashboard{display:grid;gap:20px;color:var(--web-ink);font-size:14px;line-height:1.5}.family-dashboard *{min-width:0}.family-dashboard h1,.family-dashboard h2,.family-dashboard h3,.family-dashboard p{margin:0}.family-dashboard h1{font-size:28px;line-height:1.2;letter-spacing:-.7px;font-weight:650;color:var(--web-ink)}.family-dashboard h2{font-size:17px;line-height:1.35;font-weight:650;color:var(--web-ink)}.family-dashboard h3{font-size:16px;font-weight:650;color:var(--web-ink)}.family-dashboard .outline-icon{width:17px;height:17px;stroke-width:1.7;flex-shrink:0}
.family-dashboard button,.family-dashboard select{font:inherit;color:inherit}.family-dashboard button:disabled{opacity:.5;cursor:default}.family-dashboard a{color:var(--overview-blue);font-size:12px;text-decoration:none;display:inline-flex;align-items:center;gap:5px}.family-dashboard a:hover{text-decoration:underline}.family-dashboard small{font-size:11px}.family-dashboard progress{display:block;appearance:none;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:var(--web-ground);accent-color:var(--overview-blue)}.family-dashboard progress::-webkit-progress-bar{background:var(--web-ground);border-radius:8px}.family-dashboard progress::-webkit-progress-value{background:var(--overview-blue);border-radius:8px}.family-dashboard progress::-moz-progress-bar{background:var(--overview-blue);border-radius:8px}
.overview-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:2px}.overview-kicker{font-size:11px;letter-spacing:1.3px;text-transform:uppercase;font-weight:600;color:var(--web-muted);margin-bottom:9px!important}.overview-sub{color:var(--web-muted);font-size:12px;margin-top:8px!important}.overview-muted{color:var(--web-muted);font-size:12px}.overview-inline{display:flex;align-items:center;gap:10px}.overview-between{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.overview-create{position:relative;flex-shrink:0}.overview-create>summary{display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;border-radius:10px;background:var(--web-ink);color:var(--web-surface);padding:10px 14px;font-size:12px;cursor:pointer}.overview-create>summary::-webkit-details-marker{display:none}.overview-create nav{display:grid;gap:4px;position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:190px;background:var(--web-surface);border:1px solid var(--web-line);border-radius:12px;padding:8px;box-shadow:0 12px 30px #173a5e20}.overview-create nav a{padding:12px;color:var(--web-ink);border-radius:7px}.overview-create nav a:hover{background:var(--overview-soft);text-decoration:none}
.overview-context{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.overview-context>span{display:flex;gap:7px;align-items:center;color:var(--web-muted);font-size:12px}.overview-scope{display:flex;padding:4px;border:1px solid var(--web-line);border-radius:11px;background:var(--web-surface)}.overview-scope button{border:0;background:transparent;color:var(--web-muted);border-radius:8px;padding:7px 16px;font-size:12px}.overview-scope button[aria-pressed=true]{background:var(--web-ink);color:var(--web-surface)}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);gap:18px;align-items:start}.overview-stack{display:grid;gap:18px}.overview-panel{padding:20px;background:var(--web-surface);border:1px solid var(--web-line);border-radius:18px}.overview-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.overview-panel-heading>.overview-kicker{margin:0!important}.overview-panel select{background:var(--web-surface);border:1px solid var(--web-line);border-radius:8px;padding:5px;font-size:11px}.overview-icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid var(--web-line);border-radius:10px;background:var(--web-surface)}.family-dashboard .overview-balance{font-size:36px;font-weight:650;letter-spacing:-1px;line-height:1.25;font-variant-numeric:tabular-nums}.overview-money-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0;padding:16px 0;border-top:1px solid var(--web-line);border-bottom:1px solid var(--web-line)}.overview-money-pair small{display:block;color:var(--web-muted)}.overview-money-pair strong{display:block;font-size:17px;margin-top:5px;font-weight:600;font-variant-numeric:tabular-nums}.overview-money>.overview-between{margin-top:12px}.family-dashboard .overview-button{border:1px solid var(--web-line);border-radius:10px;background:var(--web-surface);color:var(--web-ink);padding:9px 13px}.overview-budget{display:grid;gap:9px;font-size:12px;border-top:1px solid var(--web-line);padding-top:18px;margin-top:18px}.overview-budget strong{font-weight:600}
.overview-week{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin:7px 0 22px}.overview-week button{display:grid;place-items:center;gap:5px;background:transparent;border:0;color:var(--web-muted);border-radius:10px;padding:9px 1px;font-size:11px}.overview-week button strong{color:var(--web-ink);font-size:13px;font-weight:600}.overview-week button[aria-pressed=true]{background:var(--web-ink);color:var(--web-surface)}.overview-week button[aria-pressed=true] strong{color:inherit}.overview-agenda-list{display:grid;gap:19px;min-height:175px;align-content:start}.family-dashboard .overview-event{display:grid;gap:4px;padding-left:12px;border-left:3px solid var(--overview-soft);color:var(--web-ink);text-decoration:none}.family-dashboard .overview-event:first-child{border-left-color:var(--overview-blue)}.overview-event strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.overview-event small,.overview-event span{font-size:11px;color:var(--web-muted)}.overview-event span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.overview-event:hover strong{text-decoration:underline}.overview-agenda footer{padding-top:15px;margin-top:20px;border-top:1px solid var(--web-line)}
.overview-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.overview-shortcuts>a{gap:10px;padding:15px 12px;border:1px solid var(--web-line);border-radius:14px;background:var(--web-surface);color:var(--web-ink)}.overview-shortcuts strong{display:block;font-size:13px;font-weight:600}.overview-shortcuts small{display:block;color:var(--web-muted);font-size:11px}.overview-symbol{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:var(--overview-soft)}.overview-symbol.gold{background:var(--overview-gold);color:var(--overview-gold-ink)}.overview-symbol.sage{background:var(--overview-sage);color:var(--overview-green)}
.overview-goal{background:var(--overview-soft);border-color:transparent}.overview-goal .overview-sub{margin-bottom:18px}.overview-goal .overview-between{font-size:12px;gap:8px}.overview-goal .overview-between strong{font-weight:600}.overview-goal progress{margin:10px 0 13px}.overview-goal progress::-webkit-progress-bar{background:var(--web-surface)}.overview-goal>a{margin-top:16px}
.family-dashboard .overview-photo{display:block;margin-bottom:17px}.overview-photo img{display:block;width:100%;height:165px;object-fit:cover;border-radius:12px}.overview-memory-art{height:132px;margin-bottom:17px;border-radius:12px;background:var(--overview-sage);color:var(--overview-green);display:flex;align-items:center;justify-content:center;gap:14px;padding:18px}.overview-memory-art .outline-icon{width:32px;height:32px}.overview-memory-art span{font-size:13px}.overview-memory>.overview-kicker{margin-bottom:7px!important}.overview-memory-copy{font-size:12px;color:var(--web-muted);margin:8px 0 16px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.overview-reaction{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--web-line);border-radius:20px;background:var(--web-surface);padding:5px 9px;font-size:11px!important}.overview-reaction[aria-pressed=true]{background:var(--overview-soft);color:var(--overview-blue)}.overview-empty{padding:25px 5px;text-align:center;display:grid;justify-items:center;gap:12px}.overview-empty>.outline-icon{width:36px;height:36px;color:var(--overview-blue)}.overview-empty p{color:var(--web-muted);font-size:12px}.overview-loading{padding:70px 22px;text-align:center;color:var(--web-muted)}
.overview-insights{border-top:1px solid var(--web-line);padding-top:18px}.overview-insights>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;font-size:13px}.overview-insights>summary::after{content:'+';margin-left:auto;font-size:18px}.overview-insights[open]>summary::after{content:'−'}.overview-insights>summary span{color:var(--web-muted);font-size:11px}.overview-insights>.overview-grid{margin-top:18px}.family-dashboard .month-column>small{font-size:11px;overflow-wrap:anywhere}.overview-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--web-muted);flex-wrap:wrap}.overview-footer button{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:4px;color:var(--overview-blue);font-size:12px}
@media(min-width:1500px){.family-dashboard{gap:24px}.overview-grid{gap:24px;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.overview-stack{gap:24px}.overview-panel{padding:26px}.overview-photo img{height:210px}}
@media(max-width:1100px){.overview-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.overview-panel{padding:17px}.overview-shortcuts{grid-template-columns:1fr;gap:8px}.overview-intro h1{font-size:26px}.overview-goal .overview-between{flex-wrap:wrap}}
@media(max-width:900px){.overview-grid{grid-template-columns:1fr}.overview-shortcuts{grid-template-columns:1fr 1fr}.overview-agenda-list{min-height:0}.overview-insights>summary span{display:none}}
@media(max-width:420px){.overview-intro{flex-wrap:wrap;gap:16px}.family-dashboard h1{font-size:25px}.overview-context>span{font-size:11px}.overview-shortcuts>a{padding:12px 9px;gap:7px}.overview-shortcuts small{font-size:11px}.overview-panel-heading{gap:8px}.overview-panel select{max-width:80px}.overview-money-pair{gap:10px}.overview-money-pair strong{font-size:16px}.overview-balance{overflow-wrap:anywhere}}
@media(pointer:coarse){.overview-icon-button,.overview-reaction,.overview-footer button{min-height:44px;min-width:44px}.overview-week button{min-height:54px}.overview-scope button{min-height:40px}}
