/* Financial Alias 12.5 — four-step setup and independent difficulty weighting */
#setup .wizard-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}
#setup .wizard-tab{justify-content:center!important;flex-direction:column!important;gap:6px!important;font-size:12px!important;cursor:pointer}
#setup .wizard-tab.completed .wizard-index{background:#e5f3eb!important;color:#186349!important}
#setup .wizard-tab:focus-visible{outline:2px solid #216b50;outline-offset:-2px}
#setup .mode-list{display:grid;gap:12px;margin:0 0 20px}
#setup .mode-option{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) 22px;align-items:center;gap:14px;padding:19px;border:1px solid #e4e7e9;border-radius:15px;min-height:104px;background:#fff;cursor:pointer;transition:background .12s,border-color .12s}
#setup .mode-option:has(input:checked){background:#f4fbf7;border-color:#207355;box-shadow:0 0 0 1px #207355}
#setup .mode-option input{position:absolute;opacity:0;width:1px;height:1px}
#setup .mode-option:focus-within{outline:3px solid #b9dccc;outline-offset:2px}
#setup .mode-symbol{display:grid;place-items:center;background:#edf5f1;color:#246b53;border-radius:12px;width:52px;height:52px;font-size:23px;font-weight:700}
#setup .mode-text strong,#setup .level-option strong{display:block;font-size:16px;color:#161b1f;line-height:1.25}
#setup .mode-text small,#setup .level-option small{display:block;font-size:12px;line-height:1.5;color:#858d97;margin-top:5px}
#setup .mode-check{display:grid;place-items:center;border:1px solid #cad0d7;border-radius:50%;width:21px;height:21px;color:transparent;font-weight:800;font-size:13px}
#setup .mode-option:has(input:checked) .mode-check{background:#1c6a50;color:#fff;border-color:#1c6a50}
#setup #wizardStep2>.card{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#setup #wizardStep2 .sectionHead{margin:0 0 12px!important;min-height:22px!important}
#setup #wizardStep2 #selectedCount{background:transparent!important;border:0!important;color:#99a1aa!important;font-size:12px!important;font-weight:600!important;padding:0!important}
#setup #wizardStep2 .chips{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin:7px 0 18px!important}
#setup #wizardStep2 .categories{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#setup #wizardStep2 .category{display:grid!important;grid-template-columns:43px minmax(0,1fr) 20px!important;position:relative!important;min-height:95px!important;padding:12px 15px!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;align-items:center!important;gap:12px!important}
#setup #wizardStep2 .category:has(input:checked){border-color:#1d7257!important;background:#f7fcf9!important;box-shadow:0 0 0 1px #1d7257!important}
#setup #wizardStep2 .category>div{grid-column:2!important;min-width:0!important;padding-bottom:14px!important}
#setup #wizardStep2 .category .catname{display:block;color:#191c22!important;font-size:14px!important;font-weight:750!important;line-height:1.26!important}
#setup #wizardStep2 .category .catdesc{display:none!important}
#setup #wizardStep2 .category .catcount{position:absolute;left:69px;bottom:13px;color:#8c949e!important;font-size:11px!important;font-weight:550!important;margin:0!important}
#setup #wizardStep2 .category input{appearance:none;-webkit-appearance:none;grid-column:3!important;width:20px!important;height:20px!important;border:1.5px solid #cdd3da!important;border-radius:6px!important;background:#fff!important;margin:0!important;position:relative;cursor:pointer}
#setup #wizardStep2 .category input:checked{background:#1b654f!important;border-color:#1b654f!important}
#setup #wizardStep2 .category input:checked::after{content:'✓';color:#fff;font-size:14px;line-height:18px;display:block;text-align:center;font-weight:900}
#setup #wizardStep2 .wizard-error{min-height:0;margin-top:12px}
#setup #wizardStep2 .ratio-panel{margin:18px 0!important}
#setup .difficulty-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:6px 0 20px}
#setup .level-option{display:block;position:relative;padding:16px 17px 16px 48px;border:1px solid #e2e7e9;border-radius:13px;min-height:80px;cursor:pointer;user-select:none}
#setup .level-option:has(input:checked){border-color:#207355;background:#f4fbf7;box-shadow:0 0 0 1px #207355}
#setup .level-option input{position:absolute;left:16px;top:19px;width:19px;height:19px;accent-color:#19624d}
#setup .level-mixer{padding:20px;border:1px solid #e2e7e9;border-radius:14px;background:#fff;margin-bottom:16px}
#setup .level-mixer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
#setup .level-mixer-heading strong{font-size:17px}
#setup .level-mixer .subtext{margin:0 0 16px!important}
#setup .level-bar{display:flex;height:13px;border-radius:20px;overflow:hidden;background:#f2f2f2;gap:2px;margin-bottom:19px}
#setup .level-bar-easy{background:#a6d7ba}#setup .level-bar-medium{background:#236e51}#setup .level-bar-hard{background:#203f35}
#setup .level-adjust{margin:0 0 17px}
#setup .level-adjust label{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:650;margin-bottom:3px}
#setup .level-adjust output,#setup .level-adjust strong{font-variant-numeric:tabular-nums}
#setup .level-adjust input[type=range]{display:block;accent-color:#1d6d50;width:100%;height:35px;touch-action:pan-y;cursor:pointer}
#setup .level-readonly{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:650;border-top:1px solid #edf0f0;padding-top:14px;margin-bottom:0}
#setup .level-preset-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
#setup .level-preset-row .btn{min-height:41px!important}
#setup .difficulty-feedback{display:block;margin:12px 0 20px!important}
#setup #wizardStep3 .custom-details{margin:14px 0 20px}
#setup .final-summary{padding:14px 16px;background:#f5f8f6;border-radius:10px;color:#446050;font-size:13px;line-height:1.5;margin:8px 0 18px}
#setup #wizardStep1 .wizard-actions{justify-content:space-between!important}
#setup #wizardStep1 #wizardNext1{width:auto!important;min-width:175px!important}
@media(max-width:700px){
 #setup .wizard-nav{margin-bottom:20px!important}
 #setup .wizard-tab{font-size:10px!important;gap:4px!important;padding:5px 0!important}
 #setup .wizard-tab .wizard-index{width:29px!important;height:29px!important;flex-basis:29px!important}
 #setup .mode-option{grid-template-columns:43px minmax(0,1fr) 20px;gap:10px;min-height:89px;padding:12px}
 #setup .mode-symbol{width:43px;height:43px;font-size:20px}
 #setup .mode-text strong,#setup .level-option strong{font-size:14px}
 #setup .mode-text small,#setup .level-option small{font-size:11px}
 #setup #wizardStep2 .categories{grid-template-columns:1fr!important}
 #setup #wizardStep2 .category{min-height:81px!important}
 #setup .difficulty-modes{grid-template-columns:1fr;gap:9px}
 #setup .level-option{min-height:66px;padding:12px 14px 12px 45px}
 #setup .level-option input{left:14px;top:15px}
 #setup .level-mixer{padding:15px}
 #setup #wizardStep1 #wizardNext1{width:auto!important;min-width:142px!important}
}
#setup #wizardStep2 #financialCategories.hidden,#setup #wizardStep2 #funCategories.hidden{display:none!important}

#setup #difficultyRatioBadge{background:#eaf5ee!important;color:#25664b!important;border-color:transparent!important;white-space:nowrap}
#setup #ratioModeNote{display:none!important}
