/* Shared spacing, accessible previews and comfortable phone controls. */
.pro-tools{margin:8px 0 0;padding:4px 0;border-top:1px solid var(--line)}
.pro-tools>summary{padding:12px 10px;cursor:pointer;font-size:12px;color:var(--muted);font-weight:600}
.pro-tools>button{width:100%;text-align:left}
.preview-benefits{display:grid;gap:10px;padding-left:22px;margin:20px 0}
.feature-example{max-width:640px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.region-suggestion h2{font-size:20px}.region-suggestion p{max-width:65ch}
.card{min-width:0}.card p{overflow-wrap:anywhere}.main input,.main select,dialog input,dialog select,dialog textarea{max-width:100%;box-sizing:border-box}
#record-draft-status{grid-column:1/-1;margin-top:12px}
.nav-group>summary,.nav button,.native-toolbar button,.dialog-actions button{min-height:44px}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
@media(max-width:650px){.feature-example{padding:12px}.native-toolbar{gap:10px}.native-toolbar button{flex:1 1 140px}.dialog-actions{flex-wrap:wrap}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.native-input input,.native-input select,dialog input,dialog select,dialog textarea{font-size:16px}.area-shortcuts{flex-wrap:wrap}.welcome{gap:12px;align-items:flex-start}.native-date{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.web-availability{margin-top:8px;border-top:1px solid var(--line)}.web-availability summary{padding:12px 10px;cursor:pointer;font-size:12px}.web-availability>button{width:100%;text-align:left}.goal-summary progress{width:100%;height:12px;accent-color:var(--teal)}.currency-setup{border-left:4px solid var(--teal)}

/* A small primary menu, with detailed tools only in the selected area. */
.native-shell .sidebar{border-left:0;border-right:1px solid var(--line)}
.native-shell .nav button.active,.primary-navigation button[aria-current="page"]{border-left:0;box-shadow:none;background:var(--soft);color:var(--teal)}
.native-shell .nav button.active:before,.native-shell .nav button.active:after{display:none}
.primary-navigation{display:grid;gap:5px;padding:8px 16px 16px}
.primary-navigation button{min-height:44px;text-align:left;border:0;background:transparent;color:var(--ink);padding:10px 14px;font-weight:600;border-radius:10px}
.primary-navigation button:hover{background:var(--soft)}
.native-shell .nav-group[hidden]{display:none!important}
.native-shell .nav-group{border:0;padding:8px 0}
.native-shell .nav-group>summary{font-size:11px;color:var(--muted);letter-spacing:.03em}
.native-shell .nav button{margin:4px 0;padding:10px 14px;border-left:0}
.sample-tool{padding:18px;border:1px solid var(--line);border-radius:12px;margin:16px 0;background:var(--bg)}
.sample-tool progress{width:100%;accent-color:var(--teal)}
.sample-tool [data-sample-answer]{min-height:2.5em;line-height:1.6}
.sample-tool input[type=range]{min-height:44px;width:100%}
.start-choices button[aria-pressed=true]{background:var(--soft);border-color:var(--teal)}
@media(max-width:650px){.primary-navigation{padding:8px 12px 12px}.sample-tool{padding:14px}.native-shell .nav button{min-height:44px}}

/* Release polish: consistent navigation edge and readable native-currency goal cards. */
.native-shell .sidebar{background:var(--bg);border-right:1px solid var(--line)}
.primary-navigation{gap:6px}.primary-navigation button[aria-current="page"]{font-weight:750}
#content progress{width:100%;max-width:100%;accent-color:var(--teal)}
.pay-guide .small{line-height:1.6}.pay-fixed input{min-width:0}
@media(max-width:650px){.pay-fixed select,.pay-fixed input{width:100%;min-height:44px}.native-rule{min-width:0}.native-rule input{min-width:0}.intro-hero h1{overflow-wrap:anywhere}}

/* Full update: progressive setup and native currency forms share the existing layout. */
.guided-setup{max-width:820px}.guided-setup progress{margin-bottom:18px}.guided-setup select,.guided-setup input{max-width:100%;min-height:44px}.guided-setup>select{width:100%}
@media(max-width:650px){.guided-setup .native-toolbar{display:flex;flex-wrap:wrap}.guided-setup button{min-height:44px}.native-holding{overflow-wrap:anywhere}.table-wrap{max-width:100%;overflow-x:auto}}

/* Keep iPhone form text readable and avoid focus zoom without restricting pinch zoom. */
@media(max-width:760px){.native-shell input:not([type=checkbox]):not([type=radio]),.native-shell select,.native-shell textarea,.auth-panel .native-input input,.auth-panel .native-input select,dialog .native-input input,dialog .native-input select,dialog .native-input textarea{font-size:16px}}
