/* Eterano v1.20.0 — Onboarding & Migration foundation */
.setup-page{min-height:100vh;background:radial-gradient(circle at 10% 0,rgba(22,198,245,.13),transparent 24rem),linear-gradient(180deg,#f5f9ff,#edf4ff 58%,#f8fbff);color:#0d2345}
.setup-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,52px);border-bottom:1px solid #dce7f4;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);position:sticky;top:0;z-index:8}.setup-topbar .brand-mark{width:42px;height:42px}.setup-topbar-actions{display:flex;align-items:center;gap:8px}
.setup-shell{width:min(1180px,calc(100% - 36px));margin:0 auto;padding:42px 0 64px;display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}
.setup-progress{position:sticky;top:98px;padding:25px;background:linear-gradient(155deg,#071b58,#0755c7 66%,#11bce8);color:white;border:0;box-shadow:0 24px 60px rgba(5,67,157,.22)}.setup-progress .eyebrow{color:#79e4ff}.setup-progress h1{margin:0;font-size:1.7rem;letter-spacing:-.04em}.setup-progress-brand>p:last-child{color:#cfe4fb;line-height:1.55;margin:10px 0 0;font-size:.92rem}
.setup-step-list{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:8px}.setup-step-list li{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:11px;padding:11px;border-radius:13px;color:#b9cbea;transition:.18s}.setup-step-list li>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(164,219,255,.35);font-size:.82rem;font-weight:850}.setup-step-list li div{display:grid;gap:2px}.setup-step-list li strong{font-size:.9rem}.setup-step-list li small{font-size:.76rem;color:#8fb0de}.setup-step-list li.active{background:rgba(255,255,255,.12);color:white;box-shadow:inset 0 0 0 1px rgba(168,229,255,.13)}.setup-step-list li.active>span{background:#6be5ff;color:#052653;border-color:transparent}.setup-step-list li.done{color:#d9f7ff}.setup-step-list li.done>span{background:rgba(88,226,203,.18);border-color:rgba(101,238,219,.45);color:#87f5df}.setup-step-list li.done>span:before{content:'✓';font-size:.85rem}.setup-step-list li.done>span{font-size:0}
.setup-card{padding:31px;border-radius:25px;box-shadow:0 24px 65px rgba(17,54,108,.10);min-height:610px}.setup-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #e4ebf5;padding-bottom:21px;margin-bottom:25px}.setup-card-head h2{margin:0;font-size:2rem;letter-spacing:-.045em}.setup-card-head .muted{margin:7px 0 0;max-width:650px;line-height:1.55}.setup-saved-badge{border-radius:999px;padding:6px 10px;background:#def8ed;color:#087054;font-size:.78rem;font-weight:850;white-space:nowrap}
.setup-step{animation:setupFade1200 .18s ease}.setup-section-divider{display:flex;align-items:center;gap:12px;margin:24px 0 16px;color:#46617f;font-size:.78rem;text-transform:uppercase;letter-spacing:.11em;font-weight:850}.setup-section-divider:after{content:'';height:1px;flex:1;background:#e1e9f3}.setup-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:19px;border-top:1px solid #e6edf6}.setup-footer-row{display:flex;justify-content:center;margin-top:10px}.setup-footer-row .text-button{font-size:.83rem}
.setup-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.setup-choice-card{position:relative;display:grid;align-content:start;gap:8px;margin:0;padding:22px;border:1px solid #dbe6f3;border-radius:18px;background:#f8fbff;cursor:pointer;min-height:180px;transition:.18s}.setup-choice-card:hover{border-color:#a9cff4;transform:translateY(-1px);box-shadow:0 10px 28px rgba(19,70,130,.07)}.setup-choice-card input{position:absolute;top:17px;right:17px;width:19px;height:19px}.setup-choice-card:has(input:checked){border-color:#1984f7;box-shadow:0 0 0 3px rgba(25,132,247,.10);background:#f3f9ff}.setup-choice-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#e4f2ff;color:#0766d7;font-size:1.25rem;margin-bottom:4px}.setup-choice-card strong{font-size:1.03rem}.setup-choice-card small{color:#61758e;line-height:1.5;font-weight:550}
.setup-info-box{margin-top:18px;padding:16px 17px;border-radius:15px;background:#f1f7ff;border:1px solid #d8e8fa}.setup-info-box strong{display:block;color:#174f91}.setup-info-box p{margin:5px 0 0;color:#5d728b;line-height:1.5;font-size:.88rem}.setup-vat-toggle{padding:16px;border:1px solid #dfe8f3;border-radius:15px;background:#f9fbfe}.setup-vat-toggle span{display:grid;gap:3px}.setup-vat-toggle small{font-weight:500}.setup-dependent-fields{margin-top:16px}.setup-dependent-fields.is-disabled{opacity:.48;pointer-events:none}.setup-card input[readonly]{background:#f2f6fb;color:#4e6380}
.setup-ready-hero{display:flex;align-items:center;gap:16px;padding:19px;border-radius:18px;background:linear-gradient(115deg,#ecfbf6,#f3f9ff);border:1px solid #d6efe7}.setup-ready-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#0ba277;color:white;font-size:1.35rem;font-weight:900;box-shadow:0 8px 18px rgba(11,162,119,.18)}.setup-ready-hero h3{margin:0;font-size:1.35rem;letter-spacing:-.03em}.setup-ready-hero p{margin:5px 0 0;color:#60738c;line-height:1.5}.setup-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.setup-summary-item{padding:15px;border:1px solid #e0e8f2;border-radius:15px;background:#fff}.setup-summary-item span{display:block;color:#72839a;text-transform:uppercase;font-size:.7rem;letter-spacing:.08em;font-weight:800}.setup-summary-item strong{display:block;margin-top:5px;line-height:1.35}.setup-next-box{margin-top:18px;padding:18px;border-radius:17px;background:#071b58;color:#d7e8ff}.setup-next-box strong{display:block;color:white}.setup-next-box p{margin:6px 0 0;line-height:1.55;font-size:.9rem}.setup-next-box ul{margin:10px 0 0;padding-left:19px;line-height:1.6;font-size:.88rem}
.setup-launch-card1200{display:flex;align-items:center;justify-content:space-between;gap:18px}.setup-launch-card1200 .section-heading{margin:0}.setup-launch-card1200 .section-heading p:last-child{margin:7px 0 0}.setup-status-chip1200{display:inline-flex;margin-top:9px;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:850;background:#eaf1fb;color:#49617e}.setup-status-chip1200.in-progress{background:#fff2d9;color:#89580a}.setup-status-chip1200.complete{background:#dff7ed;color:#087054}
@keyframes setupFade1200{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:900px){.setup-shell{grid-template-columns:1fr;width:min(760px,calc(100% - 28px));padding-top:24px}.setup-progress{position:static;padding:18px}.setup-progress-brand{display:none}.setup-step-list{margin:0;grid-template-columns:repeat(4,1fr);gap:5px}.setup-step-list li{display:flex;justify-content:center;padding:7px}.setup-step-list li div{display:none}.setup-card{min-height:0}}
@media(max-width:620px){.setup-topbar{height:66px;padding:0 14px}.setup-topbar .brand-mark{width:36px;height:36px}.setup-shell{width:calc(100% - 20px);padding:13px 0 34px;gap:10px}.setup-progress{border-radius:18px}.setup-step-list li>span{width:31px;height:31px}.setup-card{padding:20px 16px;border-radius:20px}.setup-card-head{margin-bottom:20px;padding-bottom:16px}.setup-card-head h2{font-size:1.55rem}.setup-saved-badge{display:none!important}.setup-choice-grid,.setup-summary-grid,.setup-card .two-columns{grid-template-columns:1fr}.setup-choice-card{min-height:145px}.setup-actions{display:grid;grid-template-columns:1fr 1fr}.setup-actions .primary:only-child{grid-column:1/-1}.setup-actions button{width:100%}.setup-launch-card1200{align-items:flex-start;flex-direction:column}.setup-launch-card1200 button{width:100%}}
html[data-theme="dark"] .setup-page{background:radial-gradient(circle at 10% 0,rgba(22,198,245,.10),transparent 24rem),linear-gradient(180deg,#071126,#08172c 58%,#071126);color:#eaf1ff}
html[data-theme="dark"] .setup-topbar{background:rgba(7,17,38,.90);border-color:#263957}
html[data-theme="dark"] .setup-card{background:#0b1a31;border-color:#223956}
html[data-theme="dark"] .setup-card-head{border-color:#263b57}
html[data-theme="dark"] .setup-section-divider{color:#98acc7}html[data-theme="dark"] .setup-section-divider:after{background:#263b57}
html[data-theme="dark"] .setup-choice-card{background:#0d203a;border-color:#2b4564}html[data-theme="dark"] .setup-choice-card:hover{border-color:#4f7bab}html[data-theme="dark"] .setup-choice-card:has(input:checked){background:#10294a;border-color:#3698ff}
html[data-theme="dark"] .setup-choice-card small,html[data-theme="dark"] .setup-info-box p,html[data-theme="dark"] .setup-ready-hero p{color:#9fb1c9}
html[data-theme="dark"] .setup-info-box{background:#10233e;border-color:#294667}html[data-theme="dark"] .setup-info-box strong{color:#8bc8ff}
html[data-theme="dark"] .setup-vat-toggle{background:#0d2038;border-color:#29425e}
html[data-theme="dark"] .setup-card input[readonly]{background:#10213a;color:#a9bad1}
html[data-theme="dark"] .setup-ready-hero{background:linear-gradient(115deg,#0c2a2b,#10233e);border-color:#24505a}
html[data-theme="dark"] .setup-summary-item{background:#0d2038;border-color:#2a415e}html[data-theme="dark"] .setup-summary-item span{color:#91a5c1}
html[data-theme="dark"] .setup-actions{border-color:#263b57}
html[data-theme="dark"] .setup-status-chip1200{background:#162944;color:#a8bad2}
