/* The existing night-glass system, with quieter type and one clear active control.
   Do not flatten the glass by transforming/animating its ancestor surfaces. */
body:not(.light-mode) .screen .bnav .ni{color:#c9c5d2!important}
body:not(.light-mode) .screen .bnav .ni.active{color:#ead18a!important}
.screen .bnav .ni-icon{filter:none!important;box-shadow:none!important;text-shadow:none!important;transform:none!important}
.screen .bnav .ni-icon svg{filter:none!important;color:inherit!important}
.screen .bnav .ni-lbl{font-size:11px!important;font-weight:550!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;line-height:1.3}
.screen .bnav .ni.active .ni-icon{background:rgba(231,198,106,.1)!important;box-shadow:inset 0 0 0 1px rgba(231,198,106,.22)!important}
.screen .bnav .ni{min-height:52px}
.screen .bnav .ni:active{transform:none!important;opacity:1}
#screen-dashboard #dash-date{font-size:11px!important;font-weight:500!important;letter-spacing:.055em!important;color:#c9bb97!important;text-shadow:none!important;line-height:1.5!important}
#screen-dashboard .book-hero .bh-text{font-size:22px!important;font-weight:650!important;letter-spacing:-.025em!important;line-height:1.2!important;text-shadow:none!important}
#screen-dashboard .book-hero .bh-sub{font-size:13px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;line-height:1.5!important}
#screen-dashboard #books-state-chip{min-height:44px;display:block;width:calc(100% - 36px);text-align:left;font-family:inherit;font-weight:450;line-height:1.5}
#screen-dashboard .nb-card{border-color:rgba(255,255,255,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 4px 12px -8px rgba(0,0,0,.4)!important}
#screen-dashboard .nb-card-n{font-size:20px;font-weight:650;text-shadow:none!important}
#screen-dashboard .nb-card-l{font-size:11px!important;font-weight:450!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important}
#screen-dashboard .nb-card .nb-ic svg{filter:none!important}
#screen-calendar .c2lbl{font-weight:600!important;text-shadow:none!important}
#screen-calendar .c2today{box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 3px 10px -5px rgba(231,198,106,.35)!important;font-weight:600}
#screen-calendar .c2glance{padding-block:12px;gap:8px}
#screen-calendar .c2glab{font-size:10px;letter-spacing:.06em;text-shadow:none;font-weight:600}
#screen-calendar .c2who{font-size:12.5px;font-weight:450;text-shadow:none}
#screen-calendar .c2pulse{width:6px;height:6px;box-shadow:0 0 5px rgba(231,198,106,.3)}
#screen-calendar .c2pill{font-weight:550!important;text-shadow:none!important}
#screen-calendar .c2pind{box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 2px 8px rgba(0,0,0,.16);transition-timing-function:cubic-bezier(.22,1,.36,1);transition-duration:220ms}
#screen-calendar .c2dow span{font-size:10px;font-weight:500;letter-spacing:.04em}
#screen-calendar .c2cell .c2d{font-weight:500;text-shadow:none}
#screen-calendar .c2cell .c2offlab{font-size:9px;font-weight:400;letter-spacing:.03em;line-height:1.3;color:#a6a3b1}
#screen-calendar .c2cell.today .c2d{box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 2px 8px -3px rgba(231,198,106,.4);font-weight:700}
#screen-calendar .c2leg{gap:7px 12px;margin-top:12px;margin-bottom:4px}
#screen-calendar .c2leg span{font-size:10px;font-weight:400;text-shadow:none}
#screen-calendar .c2leg i,#screen-calendar .c2pips i{box-shadow:none}
#screen-calendar .c2ag .c2ttl b{font-size:15px;font-weight:550;text-shadow:none}
#screen-calendar .c2ag .c2ttl .c2addlnk{min-height:44px;display:inline-flex;align-items:center;font-size:12px;font-weight:550;text-shadow:none}
#screen-calendar .c2empty{font-weight:400;line-height:1.65;text-shadow:none;padding-block:20px}
#screen-calendar .c2empty .c2golink{display:inline-flex;align-items:center;min-height:44px;font-weight:550}
#screen-calendar .c2evt .c2bd b,#screen-calendar .c2evt .c2bd span,#screen-calendar .c2evt .c2tm span{text-shadow:none}
#screen-calendar .c2tgrid .c2gut span{font-size:11px!important;font-weight:450;text-shadow:none;color:#cac8d2}
#screen-calendar .c2whead .c2col span{font-size:10px;font-weight:500;letter-spacing:.04em;text-shadow:none}
#screen-calendar .c2view.on>*{animation:none!important}
/* A translated-away sheet is still reachable by a keyboard unless hidden. */
#screen-calendar .c2bsheet:not(.show){visibility:hidden}
#screen-calendar .c2bsheet.show{visibility:visible}
#screen-calendar .c2brow{width:100%;text-align:left;font-family:inherit}
#screen-calendar .c2brow .c2tx b{font-weight:550;text-shadow:none}
#screen-calendar .c2brow .c2coin,#screen-calendar .c2brow .c2coin svg{box-shadow:none;filter:none}
#screen-calendar .c2qbback{display:block;width:100%;min-height:44px;background:none;border:0;font-family:inherit}
#screen-calendar .c2qbtn{min-height:48px;font-family:inherit;font-weight:550}
#screen-calendar .c2tog{padding:0;min-width:48px;min-height:32px;position:relative;overflow:visible}
#screen-calendar .c2tog::after{content:"";position:absolute;inset:-6px 0}
#screen-calendar .c2bsheet .c2casc,#screen-calendar .c2pane>*{animation:none!important;opacity:1!important;transform:none!important}
.auth-preview-note{border-radius:20px;padding:20px}
.auth-preview-note p{font-size:13px;font-weight:400;line-height:1.6;margin:0 0 20px}
@media(prefers-reduced-motion:reduce){#screen-calendar .c2pind{transition:none}}

/* Phone-first reading hierarchy. Keep the luminous outer material; avoid a
   second heavy glass layer competing with each action's title and helper. */
#screen-calendar .c2brow{min-height:66px;padding:12px 14px;gap:12px;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.16)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important}
#screen-calendar .c2brow .c2tx b{font-size:16px;line-height:1.3;letter-spacing:0;font-weight:600}
#screen-calendar .c2brow .c2tx>span{font-size:13px;line-height:1.45;letter-spacing:0;margin-top:3px}
body:not(.light-mode) #screen-calendar .c2brow .c2tx b{color:#f5f2ed!important}
body:not(.light-mode) #screen-calendar .c2brow .c2tx>span{color:#d5d0dc!important}
#screen-calendar .c2brow:focus-visible{outline:2px solid #E7C66A;outline-offset:2px}
#screen-calendar .c2glance{display:grid;grid-template-columns:6px minmax(0,1fr) auto;gap:5px 8px;padding:12px 14px;align-items:center}
#screen-calendar .c2pulse{grid-column:1;grid-row:1}
#screen-calendar .c2glab{grid-column:2;grid-row:1}
#screen-calendar .c2in{grid-column:3;grid-row:1;justify-self:end}
#screen-calendar .c2who{grid-column:1/-1;grid-row:2;white-space:normal;overflow:visible;text-overflow:clip;font-size:13px;line-height:1.5}
#screen-calendar .c2empty{background:rgba(255,255,255,.035)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:rgba(255,255,255,.10)!important;box-shadow:none!important;padding:14px 16px;font-size:14px}
/* Form values need to remain legible without an automatic input zoom on iOS.
   Range, checkbox, color and specialist calendar controls keep their geometry. */
@media(max-width:620px){
  :is(.screen,#gpHost) input.input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]),:is(.screen,#gpHost) textarea.input,:is(.screen,#gpHost) select.input{font-size:16px!important;line-height:1.4;min-height:48px}
  :is(.screen,#gpHost) .il{font-size:12px;line-height:1.4;letter-spacing:.035em}
  :is(.screen,#gpHost) .row-title{font-size:15px;line-height:1.35;font-weight:600}
  :is(.screen,#gpHost) .row-sub{font-size:13px;line-height:1.45}
  :is(.screen,#gpHost) .sh{font-size:11px;line-height:1.4;letter-spacing:.08em}
}
/* Money is reading content, not another optical effect. Keep the outer
   finance sheet glass, but make its figures and qualifiers stable and clear.
   No financial calculations, balances, periods or warnings are changed. */
/* The existing sheet router reparents report content into #gpHost. These
   unique content IDs therefore work in both the screen and the opened sheet. */
body:not(.light-mode) #fh-money{background:rgba(20,23,33,.78)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important}
#fh-hl-net,#fh-hl-earned,#fh-expenses,#fh-miles,#fh-hl-setaside{font-weight:500!important;font-variant-numeric:tabular-nums lining-nums;font-style:normal;text-shadow:none!important;line-height:1.2!important}
#fh-money [id$="-sub"]{font-size:12px!important;line-height:1.5!important;margin-top:4px!important}
body:not(.light-mode) #fh-money [id$="-sub"]{color:#d3d0da!important}
.fh-period-btn,.fin-tab{min-height:44px;font-size:13px!important}
.finance-preview-warning{font-size:13px;line-height:1.55}
#gp .gpxx{flex:0 0 44px;width:44px;min-width:44px;height:44px}
.conv-entry-prompt{font-size:16px;line-height:1.4;font-weight:550;letter-spacing:0;margin-bottom:16px;color:var(--tx,#f5f2ed)}
button.conv-role-card{display:block;width:100%;text-align:left;font-family:inherit;cursor:pointer;min-height:80px}
.conv-role-card>div>div:last-child{min-width:0}
.conv-role-card>div>div:last-child>div:first-child{font-size:16px!important;font-weight:600!important;line-height:1.35}
.conv-role-card>div>div:last-child>div:last-child{font-size:13px!important;line-height:1.5!important;margin-top:5px!important}
body:not(.light-mode) .conv-role-card>div>div:last-child>div:first-child{color:#f5f2ed!important}
body:not(.light-mode) .conv-role-card>div>div:last-child>div:last-child{color:#d5d0dc!important}
button.conv-role-card:focus-visible{outline:2px solid #E7C66A;outline-offset:3px}
/* Finance reading and setup only: retain the existing glass and dashboard. */
#fh-money [id$="-sub"]{font-size:14px!important;line-height:1.5!important}
.finance-preview-warning{font-size:14px;line-height:1.55}
.fh-period-btn,.fin-tab{font-size:14px!important}
#fin-priv-sheet{max-width:560px;margin-inline:auto;overscroll-behavior:contain}
button[id^="fin-priv-"]{min-height:44px;min-width:48px;padding:0;flex-shrink:0}
#fin-priv-detail>div{gap:14px}
#fin-priv-detail>div>div>div:first-child{font-size:16px!important;line-height:1.4}
#fin-priv-detail>div>div>div+div{font-size:14px!important;line-height:1.5;margin-top:4px}
#fin-priv-sheet summary::after{content:'+';margin-left:auto;padding-left:14px;font-size:22px}
#fin-priv-sheet details[open]>summary::after{content:'−'}
#fin-priv-sheet details p{margin:8px 0 14px}
#fin-priv-sheet button:focus-visible,#fin-setup-card button:focus-visible,#fin-priv-sheet summary:focus-visible{outline:2px solid #E7C66A;outline-offset:3px}
@media(max-width:360px){#fin-priv-sheet [data-fin-preset]{padding:11px!important}#fin-priv-sheet-body{padding-inline:16px!important}}
/* Shop HQ's existing sheets: readable labels and controls, without reskinning
   the dashboard or changing its roster/calendar model. */
#studio-bottom-sheet>div{max-width:600px;margin-inline:auto;overscroll-behavior:contain}
#studio-bottom-sheet input{font-size:16px!important;min-height:48px}
#studio-bottom-sheet label,#studio-bottom-sheet [style*="font-size:10px"],#studio-bottom-sheet [style*="font-size:11px"],#studio-bottom-sheet [style*="font-size:12px"]{font-size:14px!important;line-height:1.5}
#studio-bottom-sheet button{font-size:14px!important;min-height:44px}
#studio-bottom-sheet button:focus-visible,#studio-bottom-sheet input:focus-visible{outline:2px solid #E7C66A!important;outline-offset:3px}
/* Profile setup: one quiet Home entry; details live in an explicit sheet. */
.setup-summary{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:18px;margin:20px 0 12px;background:var(--s1);padding:6px}
.setup-summary button{font-family:inherit;color:var(--tx);border:0;cursor:pointer;background:none}
.setup-summary-open{flex:1;min-width:0;padding:12px;text-align:left;min-height:64px}
.setup-summary-title{display:block;font-size:16px;font-weight:700;line-height:1.4}
.setup-summary-meta,.setup-summary-next{display:block;font-size:14px;line-height:1.5;color:var(--muted);margin-top:4px}
.setup-summary-hide{min-height:44px;padding:8px;font-size:14px;color:var(--muted)!important}
#setup-details{position:fixed;inset:auto 0 0;margin:0 auto;width:min(560px,100%);max-width:100%;max-height:85dvh;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;background:linear-gradient(165deg,#33303e,#1b1924);color:#f5f2ed;border:1px solid #ffffff40;border-bottom:0;border-radius:24px 24px 0 0;padding:22px 20px max(24px,env(safe-area-inset-bottom));font-family:inherit}
#setup-details::backdrop{background:rgba(5,2,14,.64)}
.setup-details-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.setup-details-head h2{font-size:24px;line-height:1.25;margin:0}
.setup-details-head button{font:400 28px/1 system-ui;min-width:44px;min-height:44px;color:#f5f2ed;border:1px solid #ffffff30;border-radius:50%;background:#ffffff0d}
.setup-details-hint{font-size:14px;line-height:1.6;color:#d6d1dd;margin:14px 0 22px}
.setup-detail-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:60px;padding:14px 0;border:0;border-bottom:1px solid #ffffff24;background:transparent;color:#f5f2ed;font:500 16px/1.4 inherit;text-align:left;cursor:pointer}
.setup-detail-status{font-size:14px;color:#E7C66A;flex-shrink:0}.setup-details-list h3{font-size:18px;margin:26px 0 8px}
.setup-summary button:focus-visible,#setup-details button:focus-visible,#screen-profile-builder button:focus-visible{outline:2px solid #E7C66A;outline-offset:2px}
#screen-profile-builder .page-sub,#pb-progress-label,#pb-progress-pct{font-size:14px!important;line-height:1.5}
.pb-appearance{width:100%;display:block;padding:20px;margin:6px 0 26px;border:1px solid rgba(231,198,106,.5);border-radius:18px;background:linear-gradient(140deg,rgba(231,198,106,.16),rgba(255,255,255,.04));color:var(--tx);font-family:inherit;text-align:left;cursor:pointer}
.pb-appearance>span:first-child{display:block;font-size:20px;font-weight:650;line-height:1.35}.pb-appearance>span+span{display:block;font-size:14px;color:var(--muted);line-height:1.5;margin-top:8px}
.pb-group-title{font-size:20px!important;line-height:1.3;margin:26px 0 10px;font-weight:650}.pb-group-title span{font-size:14px;font-weight:400;color:var(--muted);margin-left:8px}
.pb-section-row{width:100%;display:flex;align-items:center;gap:14px;padding:18px 0;min-height:80px;border:0;border-bottom:1px solid var(--border);background:none;color:var(--tx);font-family:inherit;text-align:left;cursor:pointer}
.pb-section-icon{width:36px;flex:0 0 36px;font-size:24px;color:var(--neon);text-align:center}.pb-section-copy{flex:1;min-width:0}.pb-section-copy strong{display:block;font-size:16px;line-height:1.4;font-weight:600}.pb-section-copy>span{display:block;font-size:14px;line-height:1.5;color:var(--muted);margin-top:4px}.pb-section-status{font-size:14px;color:var(--neon)}
.pb-setup-link{font:600 16px/1.5 inherit;min-height:48px;width:100%;margin-top:24px;border:1px solid var(--border);border-radius:14px;background:var(--s1);color:var(--tx);padding:12px;cursor:pointer}
.pb-draft-note{font-size:14px;line-height:1.6;color:var(--muted);margin:16px 0}
#svc-list [style*="font-size:11px"],#svc-list [style*="font-size:12px"],#svc-list [style*="font-size:13px"]{font-size:14px!important;line-height:1.5}
#svc-list button{min-height:44px;min-width:44px}
#screen-dashboard .scroll{padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}
.setup-detail-row,.pb-setup-link{font-family:inherit;font-size:16px;font-weight:500;line-height:1.5}
#screen-dashboard :is(#dash-date-text,.st,.nb-card-l,.bh-sub),#screen-more :is(.more-icon-lbl,#more-role){font-size:14px!important;line-height:1.45!important;letter-spacing:0!important}
body #screen-dashboard.lg-reskin .bnav .ni-lbl,.screen .bnav .ni-lbl{font-size:14px!important;line-height:1.25!important;letter-spacing:0!important;text-transform:none!important}
#books-state-banner b,#books-state-banner span:not(#books-state-chip){font-size:14px!important;line-height:1.5!important}
