.asf-profile-studio-v14{padding-top:48px}.asf-ps-shell{display:grid;gap:18px}.asf-ps-stepper{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;padding:9px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm);position:sticky;top:84px;z-index:50}.asf-ps-stepper button{min-height:52px;border:0;border-radius:10px;background:transparent;color:var(--muted);display:grid;grid-template-columns:24px 1fr;gap:7px;align-items:center;text-align:left;padding:7px}.asf-ps-stepper button span{width:24px;height:24px;border-radius:50%;border:1px solid var(--border);display:grid;place-items:center;font-size:9px;font-weight:850}.asf-ps-stepper button b{font-size:10px}.asf-ps-stepper button.is-active{background:var(--soft);color:var(--asf-primary)}.asf-ps-stepper button.is-active span,.asf-ps-stepper button.is-done span{background:var(--asf-primary);border-color:var(--asf-primary);color:#fff}.asf-ps-flow-layout{align-items:start}.asf-ps-flow-head{display:grid;grid-template-columns:1fr 180px;gap:24px;align-items:end;margin-bottom:18px}.asf-ps-flow-head h2{margin:7px 0 4px;color:var(--text);font-size:clamp(28px,3.5vw,44px);line-height:1;letter-spacing:-.04em}.asf-ps-flow-head p{margin:0;color:var(--muted);font-size:12px}.asf-ps-progress{display:grid;gap:8px}.asf-ps-progress>span{font-size:10px;font-weight:800;color:var(--muted);text-align:right}.asf-ps-progress i{height:7px;background:var(--surface-2);border-radius:99px;overflow:hidden}.asf-ps-progress b{display:block;height:100%;width:14.28%;background:var(--asf-primary);border-radius:99px;transition:width .2s ease}.asf-ps-step-card{padding:20px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.asf-ps-platform-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.asf-ps-platform-grid button{min-height:62px;border:1px solid var(--border);border-radius:12px;background:#fff;text-align:left;padding:11px}.asf-ps-platform-grid button b{display:block;color:var(--text);font-size:12px}.asf-ps-platform-grid button span{display:block;margin-top:3px;color:var(--muted);font-size:9px}.asf-ps-platform-grid button.is-active{border-color:var(--asf-primary);background:var(--soft);box-shadow:0 0 0 1px var(--asf-primary)}.asf-ps-rules{margin-top:14px}.asf-ps-suggestion-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 9px}.asf-ps-suggestion-head b{color:var(--text);font-size:12px}.asf-text-link{border:0;background:transparent;color:var(--asf-primary);font-size:10px;font-weight:800}.asf-ps-handle-suggestions{display:flex;flex-wrap:wrap;gap:7px}.asf-ps-handle-suggestions button{min-height:36px;padding:0 11px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-size:10px;font-weight:750}.asf-ps-handle-suggestions button:hover{border-color:var(--asf-primary);color:var(--asf-primary)}.asf-ps-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.asf-ps-style-grid button{min-height:100px;border:1px solid var(--border);border-radius:13px;background:#fff;text-align:left;padding:13px;display:grid;align-content:start;gap:4px}.asf-ps-style-grid b{color:var(--text);font-size:12px}.asf-ps-style-grid span{color:var(--muted);font-size:9px}.asf-ps-style-grid i{margin-top:8px;color:var(--text);font-style:normal;font-size:16px}.asf-ps-style-grid button.is-active{border-color:var(--asf-primary);background:var(--soft);box-shadow:0 0 0 1px var(--asf-primary)}.asf-ps-symbol-block{margin-top:18px}.asf-ps-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.asf-ps-review-grid>div,.asf-ps-review-bio{padding:13px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.asf-ps-review-grid small,.asf-ps-review-bio small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.asf-ps-review-grid b{display:block;margin-top:5px;color:var(--text);font-size:13px}.asf-ps-review-bio{margin-top:8px}.asf-ps-review-bio p{margin:5px 0 0;color:var(--text);white-space:pre-wrap}.asf-ps-finish-card h3{margin:8px 0;color:var(--text);font-size:28px;letter-spacing:-.035em}.asf-ps-finish-card>p{color:var(--muted)}.asf-ps-finish-card pre{margin:18px 0;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);white-space:pre-wrap;font:600 13px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--text)}.asf-ps-finish-note{font-size:10px!important}.asf-ps-flow-nav{display:flex;justify-content:space-between;gap:10px;margin-top:14px}.asf-phone-sticky{position:sticky;top:168px}.asf-ps-field-help[data-state="good"]{color:var(--success)}.asf-ps-field-help[data-state="bad"]{color:var(--error)}
@media(max-width:1050px){.asf-ps-stepper{grid-template-columns:repeat(4,1fr);position:relative;top:auto}.asf-ps-platform-grid{grid-template-columns:repeat(2,1fr)}.asf-ps-style-grid{grid-template-columns:repeat(2,1fr)}.asf-phone-sticky{position:relative;top:auto}}
@media(max-width:700px){.asf-profile-studio-v14{padding-top:28px}.asf-ps-stepper{display:flex;overflow:auto;gap:6px;padding:7px}.asf-ps-stepper button{flex:0 0 auto;min-width:98px}.asf-ps-flow-head{grid-template-columns:1fr}.asf-ps-progress>span{text-align:left}.asf-ps-platform-grid,.asf-ps-style-grid,.asf-ps-review-grid{grid-template-columns:1fr}.asf-ps-step-card{padding:15px}.asf-ps-flow-nav{position:sticky;bottom:0;padding:10px 0;background:linear-gradient(to top,var(--bg) 70%,rgba(248,250,252,0));z-index:20}.asf-ps-flow-nav button{flex:1}}
/* Phase 15 — explainable Profile Check */
.asf-ps-check{margin-top:14px;padding:15px;border:1px solid var(--border);border-radius:14px;background:#fff}.asf-ps-check-intro{margin:8px 0 12px;color:var(--muted);font-size:10px;line-height:1.6}.asf-ps-check-list{display:grid;gap:8px}.asf-ps-check-item{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:11px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}.asf-ps-check-mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;background:#eef2f7;color:var(--muted)}.asf-ps-check-item b{display:block;color:var(--text);font-size:11px}.asf-ps-check-item p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.asf-ps-check-item[data-state="pass"]{border-color:#bbf7d0;background:#f0fdf4}.asf-ps-check-item[data-state="pass"] .asf-ps-check-mark{background:#dcfce7;color:#166534}.asf-ps-check-item[data-state="review"]{border-color:#fed7aa;background:#fff7ed}.asf-ps-check-item[data-state="review"] .asf-ps-check-mark{background:#ffedd5;color:#9a3412}.asf-ps-check-item[data-state="info"]{border-color:#bfdbfe;background:#eff6ff}.asf-ps-check-item[data-state="info"] .asf-ps-check-mark{background:#dbeafe;color:#1d4ed8}

/* Phase 16.10 / 24.43.1 — Profile Studio keyboard and selection semantics. */
.asf-ps-stepper button[aria-current="step"]{box-shadow:inset 0 -3px 0 var(--asf-primary-ink,var(--asf-primary))}
.asf-ps-platform-grid [role="radio"][aria-checked="true"],.asf-ps-modes [role="radio"][aria-checked="true"],.asf-ps-style-grid [role="radio"][aria-checked="true"]{border-color:var(--asf-primary);background:var(--soft);box-shadow:0 0 0 1px var(--asf-primary)}
.asf-ps-progress [role="progressbar"]{display:block}
#asf-ps-step-title:focus{outline:none}
#asf-ps-step-title:focus-visible{outline:3px solid var(--asf-primary-ink,#9f1239);outline-offset:5px;border-radius:4px}


/* Phase 16.70 / 24.43.7 — Profile Studio narrow-screen and touch hardening. */
.asf-profile-studio :where(.asf-ps-flow-nav button,.asf-ps-actions button,.asf-ps-handle-suggestions button,.asf-ps-stepper button){min-height:44px}
.asf-profile-studio :where(.asf-ps-step-card,.asf-ps-field,.asf-ps-preview,.asf-ps-suggestion-head)>*{min-width:0}
.asf-profile-studio :where(p,li,a,button,label,span){overflow-wrap:anywhere}
@media(max-width:480px){
 .asf-profile-studio .asf-ps-actions,.asf-profile-studio .asf-ps-flow-nav{display:grid;grid-template-columns:1fr;gap:10px}
 .asf-profile-studio .asf-ps-actions button,.asf-profile-studio .asf-ps-flow-nav button{width:100%}
}


/* Phase 16.85 / 24.43.85 — Profile Studio contrast/readability. */
.asf-profile-studio .asf-ps-stepper button.is-active{color:var(--asf-primary-ink,#9f1239)}
.asf-profile-studio .asf-text-link{color:var(--asf-primary-ink,#9f1239)}
.asf-profile-studio :where(.asf-ps-platform-grid button span,.asf-ps-style-grid span,.asf-ps-review-grid small,.asf-ps-review-bio small,.asf-ps-field-help){font-size:10px}

/* Phase 23.50 — Profile Studio color, spacing and overlap repair. */
.asf-profile-studio-v14{padding-top:26px}
.asf-profile-studio .asf-ps-shell{gap:14px}
.asf-profile-studio .asf-ps-stepper{top:78px;gap:5px;padding:7px}
.asf-profile-studio .asf-ps-stepper button{min-height:48px;padding:6px;grid-template-columns:22px minmax(0,1fr)}
.asf-profile-studio .asf-ps-stepper button span{width:22px;height:22px}
.asf-profile-studio .asf-ps-platform-grid button,.asf-profile-studio .asf-ps-style-grid button{color:var(--text);overflow:hidden}
.asf-profile-studio .asf-ps-platform-grid button b,.asf-profile-studio .asf-ps-style-grid button b{color:var(--text)!important}
.asf-profile-studio .asf-ps-platform-grid button span,.asf-profile-studio .asf-ps-style-grid button span{color:var(--muted)!important;overflow-wrap:normal;word-break:normal}
.asf-profile-studio .asf-ps-platform-grid button.is-active,.asf-profile-studio .asf-ps-platform-grid [role="radio"][aria-checked="true"],.asf-profile-studio .asf-ps-style-grid button.is-active,.asf-profile-studio .asf-ps-style-grid [role="radio"][aria-checked="true"]{background:var(--soft)!important;border-color:var(--asf-primary)!important;color:var(--text)!important;box-shadow:0 0 0 1px var(--asf-primary)!important}
.asf-profile-studio .asf-ps-platform-grid button.is-active b,.asf-profile-studio .asf-ps-platform-grid [aria-checked="true"] b{color:var(--text)!important}
.asf-profile-studio .asf-ps-platform-grid button.is-active span,.asf-profile-studio .asf-ps-platform-grid [aria-checked="true"] span{color:#475569!important}
.asf-profile-studio .asf-ps-block-head>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;min-width:0}
.asf-profile-studio .asf-ps-block-head .asf-kicker{flex:0 0 auto}
.asf-profile-studio .asf-ps-block-head b{color:var(--text);font-size:12px;line-height:1.4}
.asf-profile-studio .asf-ps-rules{padding-top:2px}
.asf-profile-studio .asf-ps-step-card{padding:18px}
.asf-profile-studio .asf-ps-flow-layout{gap:14px}
.asf-profile-studio .asf-phone-sticky{top:148px}
@media(max-width:1050px){.asf-profile-studio .asf-phone-sticky{top:auto}.asf-profile-studio .asf-ps-stepper{top:auto}}
