/* 0.6.11: accessible in-page dropdowns, clear finance reading hierarchy. */
.acgs-choice-dropdown{width:100%;min-width:0;position:relative;z-index:1}
.acgs-choice-dropdown:has(details[open]){z-index:15}
.acgs-choice-dropdown select[hidden]{display:none!important}
.acgs-choice-fold{width:100%;position:relative}
.acgs-choice-fold>.acgs-choice-trigger{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;border:1px solid #667786;border-radius:13px;background:#38434b;color:#f3f6f9;padding:11px 13px;font-size:16px;font-weight:650;line-height:1.35;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
.acgs-choice-trigger::-webkit-details-marker{display:none}
.acgs-choice-current{min-width:0;overflow-wrap:anywhere}
.acgs-choice-arrow{flex:0 0 8px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.acgs-choice-fold[open]>.acgs-choice-trigger{background:#465865;border-color:#b7cddd;border-radius:13px 13px 8px 8px}
.acgs-choice-fold[open] .acgs-choice-arrow{transform:translateY(2px) rotate(225deg)}
.acgs-choice-options{border:1px solid #667786;background:#29333b;color:#eff5f8;border-radius:0 0 13px 13px;margin-top:3px;padding:5px;max-height:230px;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 12px 28px #0005;animation:acgs-choice-show .21s cubic-bezier(.2,.7,.2,1) both}
.acgs-choice-fold.is-closing .acgs-choice-options{animation:acgs-choice-hide .125s ease both;pointer-events:none}
@keyframes acgs-choice-hide{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-4px) scale(.985)}}
@keyframes acgs-choice-show{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.acgs-choice-option{width:100%;display:flex;align-items:center;min-height:43px;text-align:left;padding:9px 12px;background:transparent;border:1px solid transparent;border-radius:10px;color:inherit;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .14s ease}
.acgs-choice-option:hover,.acgs-choice-option:focus-visible{background:#43515d;outline:none}
.acgs-choice-option[aria-pressed=true]{background:#465e6e;border-color:#718b9e;color:#fff}
.acgs-choice-option[aria-pressed=true]::after{content:'✓';font-size:16px;margin-left:auto;padding-left:8px}
.acgs-choice-trigger:focus-visible{outline:3px solid #bbd7ed;outline-offset:2px}
.mental-select-wrap{height:auto!important;overflow:visible!important;border:0!important;background:transparent!important;border-radius:0!important}
.mental-select-wrap::after{display:none!important}
.mental-select-wrap:focus-within{outline:none!important}
.dashboard-watch-select-label .acgs-choice-trigger{width:100%}
.finance-rhythm-period>.acgs-choice-dropdown{max-width:175px}
.finance-rhythm-period{display:flex;justify-content:space-between;gap:9px;align-items:center}
@media(max-width:350px){.finance-rhythm-period{align-items:stretch;flex-direction:column}.finance-rhythm-period>.acgs-choice-dropdown{max-width:100%}}
html[data-acgs-theme='antrieb'] .acgs-choice-trigger,html[data-acgs-theme='balance'] .acgs-choice-trigger{background:#f3f6f7;color:#273e4c;border-color:#97a8b5}
html[data-acgs-theme='antrieb'] .acgs-choice-options,html[data-acgs-theme='balance'] .acgs-choice-options{background:#fff;color:#243b4a;border-color:#97a8b5}
html[data-acgs-theme='antrieb'] .acgs-choice-option[aria-pressed=true],html[data-acgs-theme='balance'] .acgs-choice-option[aria-pressed=true]{background:#dce9f0;color:#1c3546}
html[data-acgs-theme='antrieb'] .acgs-choice-option:hover,html[data-acgs-theme='balance'] .acgs-choice-option:hover{background:#e5eff4}

/* Finance: body copy should be readable without zooming on an iPhone. */
.finance-page{font-size:16px;line-height:1.48}
.finance-page :is(.finance-section-heading h2,.finance-section-title h2){font-size:1.16rem!important;line-height:1.22}
.finance-page :is(.finance-root-summary .finance-group-summary strong,.finance-rhythm-root .finance-group-summary strong,.finance-goal-title strong,.finance-group-summary strong,.finance-extra-income summary){font-size:1rem!important;line-height:1.35}
.finance-page :is(.finance-subtitle h3,.finance-projection-title,.finance-visual-heading h3,.finance-plan-choice h3,.finance-income-total strong){font-size:1rem!important}
.finance-page :is(.finance-field,.finance-field>span:first-child,.finance-distribution-row,.finance-distribution-row span,.finance-distribution-row strong,.finance-distribution-row small,.finance-rhythm-period,.finance-goal-progress,.finance-goal-progress span,.finance-split-numbers,.finance-rhythm-option-copy strong,.finance-rhythm-choice strong){font-size:.9rem!important;line-height:1.35}
.finance-page :is(.finance-group-summary small,.finance-goal-title small,.finance-time-grid small,.finance-time-grid span,.finance-rhythm-summary span,.finance-rhythm-option-copy small,.finance-rhythm-help,.finance-goal-fields small,.finance-accounts-content small,.finance-rhythm-note,.finance-source-note,.finance-projection-hint,.finance-footnote,.finance-income-total span,.finance-rhythm-account,.finance-rhythm-summary,.finance-month-status,.finance-month-status span,.finance-onboarding-hint,.finance-savings-split small){font-size:.86rem!important;line-height:1.5}
.finance-page :is(.finance-time-grid strong,.finance-balance strong,.finance-goal-progress strong,.finance-goal-progress b,.finance-distribution-row strong,.finance-rhythm-summary strong){font-size:1rem!important;line-height:1.3}
.finance-page :is(.finance-adopt-button,.finance-fold-done,.finance-inline-button){font-size:.94rem!important;line-height:1.3;min-height:46px}
.finance-page :is(.finance-field input,.finance-input-wrap input,.finance-text-field input){font-size:16px!important;min-height:46px}
.finance-page .finance-time-grid>div{padding:12px;gap:7px}
.finance-page .finance-distribution-row{gap:7px}
.finance-page .finance-kicker{font-size:.77rem!important;letter-spacing:.06em}
.finance-page .finance-goals,.finance-page .finance-plans{gap:11px}
.finance-page .finance-rhythm-choice .finance-rhythm-option{min-height:108px}
.finance-page .finance-rhythm-choice .finance-rhythm-option-copy small{font-size:.82rem!important}
@media(max-width:350px){
 .finance-page :is(.finance-distribution-row,.finance-distribution-row span,.finance-distribution-row strong,.finance-distribution-row small){font-size:.83rem!important}
 .finance-page .finance-rhythm-choice .finance-rhythm-option-copy strong{font-size:.88rem!important}
 .finance-page .finance-rhythm-choice .finance-rhythm-option-copy small{font-size:.8rem!important}
 .finance-page .finance-time-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.acgs-choice-options{animation:none}.acgs-choice-trigger,.acgs-choice-arrow,.acgs-choice-option{transition:none}}
