:root{
  --navy-950:#0a2734;--navy-900:#123d52;--navy-800:#174f68;
  --teal-700:#087f7b;--teal-600:#0d9891;--teal-100:#dbf3f0;
  --green-700:#19734a;--green-100:#dff4e8;--amber-700:#8a5c00;
  --amber-100:#fff0c2;--red-700:#ad2e2e;--red-100:#fde4e4;
  --ink-900:#15262f;--ink-700:#3d505a;--ink-500:#71808a;
  --line:#d9e2e7;--surface:#fff;--surface-soft:#f6f9fb;--surface-tint:#eef6f8;
  --shadow-sm:0 1px 3px rgba(10,39,52,.08),0 4px 12px rgba(10,39,52,.04);
  --shadow-md:0 8px 28px rgba(10,39,52,.12);--radius-sm:10px;--radius-md:16px;--radius-lg:22px;
  --sidebar-width:248px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink-900);background:var(--surface-soft);font-synthesis:none
}
*{box-sizing:border-box}html{min-height:100%;background:var(--surface-soft)}
body{margin:0;min-height:100vh;background:var(--surface-soft)}
button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) 1fr}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);padding:22px 16px;display:flex;flex-direction:column;background:linear-gradient(175deg,var(--navy-950),var(--navy-900));color:#fff;z-index:20}
.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 24px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#7ee0d8}.brand-mark svg{width:100%;height:100%}
.brand strong{display:block;font-size:1.03rem;letter-spacing:-.01em}.brand span{display:block;margin-top:2px;color:rgba(255,255,255,.68);font-size:.77rem}
.nav-list{display:grid;gap:6px}.nav-button{width:100%;border:0;border-radius:12px;padding:11px 12px;display:flex;align-items:center;gap:11px;color:rgba(255,255,255,.76);background:transparent;text-align:left;transition:.18s ease}
.nav-button:hover{background:rgba(255,255,255,.08);color:#fff}.nav-button.active{background:rgba(126,224,216,.16);color:#fff;box-shadow:inset 3px 0 0 #7ee0d8}
.nav-icon{width:23px;text-align:center;font-size:1rem}.nav-label{font-size:.9rem;font-weight:650}
.sidebar-footer{margin-top:auto;display:grid;gap:12px;padding:12px 8px 4px}.offline-note{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.7);font-size:.78rem}
.status-dot{width:8px;height:8px;border-radius:999px;background:#6ee7a8;box-shadow:0 0 0 4px rgba(110,231,168,.12)}
.main-area{grid-column:2;min-width:0}.topbar{min-height:92px;padding:20px clamp(20px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(246,249,251,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(217,226,231,.8);position:sticky;top:0;z-index:10}
.eyebrow{margin:0 0 3px;color:var(--teal-700);font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.topbar h1{margin:0;font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.035em}
.topbar-actions{display:flex;align-items:center;gap:10px}.avatar-button{width:40px;height:40px;border:0;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--teal-700),var(--navy-800));font-weight:800;box-shadow:var(--shadow-sm)}
.view-container{padding:28px clamp(18px,4vw,48px) 80px;max-width:1500px;margin:0 auto}
.page-intro{margin-bottom:24px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.page-intro h2{margin:0 0 6px;font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.03em}.page-intro p{margin:0;color:var(--ink-500);max-width:680px;line-height:1.55}.page-actions{display:flex;gap:10px;flex-wrap:wrap}
.button{min-height:42px;border:1px solid transparent;border-radius:11px;padding:9px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;font-size:.88rem;transition:.16s ease}
.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(0)}
.button-primary{background:linear-gradient(135deg,var(--teal-700),var(--teal-600));color:#fff;box-shadow:0 7px 18px rgba(8,127,123,.2)}
.button-secondary{background:#fff;color:var(--ink-900);border-color:var(--line);box-shadow:var(--shadow-sm)}
.button-ghost{background:transparent;color:var(--ink-700);border-color:transparent}.button-danger{background:var(--red-100);color:var(--red-700);border-color:#f5c6c6}.button-full{width:100%}
.card{background:var(--surface);border:1px solid rgba(217,226,231,.9);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}
.card-header{padding:18px 20px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.card-header h3{margin:0;font-size:1rem;letter-spacing:-.015em}.card-header p{margin:5px 0 0;color:var(--ink-500);font-size:.83rem;line-height:1.45}.card-body{padding:20px}.card-footer{padding:0 20px 20px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.kpi-card{padding:18px;min-height:132px;display:flex;flex-direction:column;justify-content:space-between}.kpi-label{color:var(--ink-500);font-size:.78rem;font-weight:700}.kpi-value{font-size:clamp(1.45rem,3vw,2rem);font-weight:850;letter-spacing:-.045em}.kpi-caption{font-size:.73rem;color:var(--ink-500)}.kpi-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--teal-100);color:var(--teal-700)}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px}.stack{display:grid;gap:18px}.action-list{display:grid;gap:10px}
.action-item{padding:13px 14px;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;background:var(--surface-soft);border:1px solid var(--line);text-align:left}
.action-item strong{display:block;font-size:.88rem}.action-item span{display:block;margin-top:3px;color:var(--ink-500);font-size:.76rem}.empty-state{padding:30px 20px;text-align:center;color:var(--ink-500)}.empty-state .empty-icon{font-size:2rem;margin-bottom:8px}
.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:.7rem;font-weight:800;white-space:nowrap}
.badge-safe,.badge-completed,.badge-accepted{color:var(--green-700);background:var(--green-100)}.badge-warning,.badge-follow-up,.badge-sent{color:var(--amber-700);background:var(--amber-100)}
.badge-danger,.badge-declined,.badge-expired{color:var(--red-700);background:var(--red-100)}.badge-draft{color:var(--ink-700);background:#e7edf1}
.data-table-wrap{overflow-x:auto;border-radius:12px;border:1px solid var(--line)}.data-table{width:100%;border-collapse:collapse;min-width:820px}.data-table th,.data-table td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left;font-size:.82rem;vertical-align:middle}.data-table th{background:var(--surface-soft);color:var(--ink-500);font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:#fbfdfe}.table-actions{display:flex;gap:5px}.icon-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink-700)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:grid;gap:7px}.field.span-2{grid-column:span 2}.field.span-3{grid-column:span 3}.field label{font-size:.78rem;font-weight:760;color:var(--ink-700)}.field-hint{color:var(--ink-500);font-size:.72rem;line-height:1.4}
.input,.select,.textarea{width:100%;border:1px solid #cbd7dd;border-radius:10px;background:#fff;color:var(--ink-900);padding:10px 11px;min-height:42px;outline:none;transition:.16s ease}.textarea{min-height:90px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:var(--teal-600);box-shadow:0 0 0 3px rgba(13,152,145,.12)}.input[disabled],.select[disabled]{background:#edf2f4;color:var(--ink-500)}
.input-group{display:flex}.input-prefix,.input-suffix{display:grid;place-items:center;min-width:40px;padding:0 10px;background:var(--surface-soft);border:1px solid #cbd7dd;color:var(--ink-500)}.input-prefix{border-radius:10px 0 0 10px;border-right:0}.input-suffix{border-radius:0 10px 10px 0;border-left:0}.input-group .input{border-radius:0}
.segmented{display:grid;grid-template-columns:repeat(2,1fr);padding:4px;border-radius:12px;background:#eaf0f3}.segmented button{min-height:38px;border:0;border-radius:9px;background:transparent;color:var(--ink-500);font-weight:750}.segmented button.active{background:#fff;color:var(--ink-900);box-shadow:var(--shadow-sm)}
.wizard-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}.wizard-card{overflow:hidden}.wizard-progress{padding:18px 20px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;border-bottom:1px solid var(--line)}.progress-step{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:center;min-width:0}.progress-number{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e9eff2;color:var(--ink-500);font-weight:800;font-size:.76rem}.progress-step.active .progress-number,.progress-step.complete .progress-number{background:var(--teal-700);color:#fff}.progress-label{font-size:.72rem;font-weight:750;color:var(--ink-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-step.active .progress-label{color:var(--ink-900)}
.wizard-content{padding:22px;min-height:420px}.wizard-content h3{margin:0 0 7px;font-size:1.18rem}.wizard-content>p{margin:0 0 20px;color:var(--ink-500);line-height:1.5}.wizard-footer{padding:16px 22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;background:var(--surface-soft)}
.quote-summary{position:sticky;top:112px;overflow:hidden}.quote-summary-hero{padding:22px;background:linear-gradient(145deg,var(--navy-900),var(--teal-700));color:#fff}.quote-summary-hero .caption{font-size:.75rem;color:rgba(255,255,255,.74);font-weight:700}.quote-summary-hero .price{margin:6px 0 2px;font-size:2.25rem;font-weight:900;letter-spacing:-.05em}.quote-summary-hero .sub{font-size:.75rem;color:rgba(255,255,255,.72)}.summary-list{padding:14px 18px 18px;display:grid;gap:0}.summary-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px dashed var(--line);font-size:.8rem}.summary-row:last-child{border-bottom:0}.summary-row span{color:var(--ink-500)}.summary-row strong{text-align:right}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice-card{border:1px solid var(--line);border-radius:13px;padding:14px;background:#fff;text-align:left}.choice-card.active{border-color:var(--teal-600);background:var(--teal-100);box-shadow:0 0 0 2px rgba(13,152,145,.12)}.choice-card strong{display:block;margin-bottom:3px;font-size:.88rem}.choice-card span{color:var(--ink-500);font-size:.73rem;line-height:1.4}
.quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quantity-card{padding:12px;border:1px solid var(--line);border-radius:12px;display:grid;grid-template-columns:1fr 84px;gap:10px;align-items:center;background:#fff}.quantity-card strong{font-size:.82rem}.quantity-card small{display:block;margin-top:3px;color:var(--ink-500);font-size:.69rem}.quantity-card .input{min-height:38px;padding:8px;text-align:center}
.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.result-tile{padding:14px;border-radius:12px;background:var(--surface-soft);border:1px solid var(--line)}.result-tile span{display:block;color:var(--ink-500);font-size:.7rem;font-weight:700}.result-tile strong{display:block;margin-top:6px;font-size:1.06rem}.health-panel{padding:14px;border-radius:12px;display:flex;align-items:flex-start;gap:11px}.health-panel.safe{background:var(--green-100);color:var(--green-700)}.health-panel.warning{background:var(--amber-100);color:var(--amber-700)}.health-panel.danger{background:var(--red-100);color:var(--red-700)}
.settings-layout{display:grid;grid-template-columns:210px 1fr;gap:18px;align-items:start}.settings-menu{position:sticky;top:112px;padding:8px}.settings-menu button{width:100%;border:0;background:transparent;text-align:left;padding:10px 11px;border-radius:9px;color:var(--ink-500);font-weight:700}.settings-menu button.active{background:var(--teal-100);color:var(--teal-700)}.settings-panel{min-width:0}
.editable-list{display:grid;gap:10px}.editable-row{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(4,minmax(105px,.7fr)) 90px;gap:8px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.editable-row.service-row{grid-template-columns:minmax(180px,1.3fr) repeat(6,minmax(95px,.7fr)) 80px}.editable-row.room-row{grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(110px,.8fr)) 80px}.editable-row .field label{font-size:.67rem}
.toggle{position:relative;width:44px;height:24px}.toggle input{opacity:0;width:0;height:0}.toggle span{position:absolute;inset:0;border-radius:999px;background:#cfd9de;transition:.18s}.toggle span::after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.18s}.toggle input:checked+span{background:var(--teal-600)}.toggle input:checked+span::after{transform:translateX(20px)}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.filters .input,.filters .select{width:auto;min-width:170px}
.chart{display:grid;gap:10px}.chart-row{display:grid;grid-template-columns:minmax(110px,160px) 1fr 70px;gap:10px;align-items:center;font-size:.75rem}.chart-track{height:11px;border-radius:999px;background:#e8eef1;overflow:hidden}.chart-bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--teal-700),#56c7bd);min-width:2px}.chart-bar.profit{background:linear-gradient(90deg,var(--navy-800),#5794b0)}.chart-value{text-align:right;font-weight:750}
.modal-backdrop{position:fixed;inset:0;background:rgba(4,24,33,.62);display:grid;place-items:center;padding:20px;z-index:100}.modal{width:min(760px,100%);max-height:min(90vh,900px);overflow:auto;background:#fff;border-radius:18px;box-shadow:var(--shadow-md)}.modal-header{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-header h3{margin:0}.modal-body{padding:20px}.modal-footer{padding:16px 20px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line)}
.quote-document{max-width:800px;margin:0 auto;background:#fff;color:#17252d}.quote-document-header{display:flex;justify-content:space-between;gap:30px;padding-bottom:20px;border-bottom:3px solid var(--navy-900)}.quote-document-header h2{margin:0 0 5px;color:var(--navy-900);font-size:1.5rem}.quote-meta{min-width:240px;display:grid;gap:5px;font-size:.82rem}.quote-meta div{display:flex;justify-content:space-between;gap:20px}.quote-section{margin-top:22px}.quote-section-title{padding:8px 10px;background:var(--navy-900);color:#fff;font-size:.8rem;font-weight:800;letter-spacing:.04em}.quote-details{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 30px;padding:14px 10px;font-size:.82rem}.quote-details div{display:grid;grid-template-columns:110px 1fr;gap:10px}.quote-line-table{width:100%;border-collapse:collapse}.quote-line-table th,.quote-line-table td{padding:9px 10px;border-bottom:1px solid #dce4e8;font-size:.82rem;text-align:left}.quote-line-table th:nth-child(n+2),.quote-line-table td:nth-child(n+2){text-align:right}.quote-total-box{width:320px;margin:18px 0 0 auto}.quote-total-box div{display:flex;justify-content:space-between;gap:20px;padding:8px 10px}.quote-total-box .grand{background:var(--teal-100);font-size:1.05rem;font-weight:900}.quote-terms{padding:12px 10px;color:#4d5f68;font-size:.76rem;line-height:1.55}.signature-row{display:grid;grid-template-columns:1fr 180px;gap:30px;margin-top:34px}.signature-line{padding-top:18px;border-top:1px solid #1d2b32;font-size:.74rem}
.toast-root{position:fixed;right:18px;bottom:20px;display:grid;gap:8px;z-index:200}.toast{min-width:260px;max-width:360px;padding:12px 14px;border-radius:11px;background:var(--navy-950);color:#fff;box-shadow:var(--shadow-md);font-size:.82rem;animation:toast-in .2s ease}.toast.error{background:var(--red-700)}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}}
.mobile-nav{display:none}
@media(max-width:1120px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-layout{grid-template-columns:minmax(0,1fr) 320px}.editable-row,.editable-row.service-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.app-shell{display:block}.sidebar{display:none}.main-area{min-height:100vh;padding-bottom:72px}.topbar{min-height:76px;padding:14px 18px}.topbar-actions .button{display:none}.view-container{padding:20px 14px 90px}.mobile-nav{position:fixed;inset:auto 0 0;height:calc(66px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:30}.mobile-nav .nav-button{padding:5px 2px;border-radius:9px;display:grid;place-items:center;gap:1px;color:var(--ink-500);text-align:center;box-shadow:none}.mobile-nav .nav-button.active{color:var(--teal-700);background:var(--teal-100);box-shadow:none}.mobile-nav .nav-icon{width:auto;font-size:1rem}.mobile-nav .nav-label{font-size:.61rem}.dashboard-grid,.wizard-layout,.settings-layout{grid-template-columns:1fr}.quote-summary{position:static;order:-1}.settings-menu{position:static;display:flex;overflow-x:auto;gap:6px}.settings-menu button{width:auto;white-space:nowrap}.wizard-progress{overflow-x:auto;grid-template-columns:repeat(5,minmax(105px,1fr))}}
@media(max-width:620px){.page-intro{align-items:stretch;flex-direction:column}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kpi-card{min-height:112px;padding:14px}.form-grid,.form-grid-3,.choice-grid,.quantity-grid,.result-grid{grid-template-columns:1fr}.field.span-2,.field.span-3{grid-column:span 1}.wizard-content{padding:18px 14px}.wizard-footer{padding:14px}.quantity-card{grid-template-columns:1fr 76px}.editable-row,.editable-row.service-row,.editable-row.room-row{grid-template-columns:1fr 1fr}.chart-row{grid-template-columns:100px 1fr 64px}.quote-details{grid-template-columns:1fr}.quote-document-header{display:block}.quote-meta{margin-top:18px}.quote-total-box{width:100%}.signature-row{grid-template-columns:1fr 120px}}
@media print{body{background:#fff}.app-shell,.modal-header,.modal-footer{display:none!important}.modal-backdrop{position:static;display:block;background:#fff;padding:0}.modal{width:auto;max-height:none;overflow:visible;box-shadow:none;border-radius:0}.modal-body{padding:0}.quote-document{max-width:none}}

/* =========================================================
   Margivo — publish-readiness experience layer
   ========================================================= */
:root{
  --navy-975:#071e29;
  --focus:0 0 0 3px rgba(13,152,145,.16);
}
body.onboarding-active .sidebar,
body.onboarding-active .topbar,
body.onboarding-active .mobile-nav{display:none!important}
body.onboarding-active .main-area{grid-column:1/-1;padding:0}
body.onboarding-active .view-container{max-width:none;padding:0}
.version-label{font-size:.66rem;color:rgba(255,255,255,.42)}

.onboarding-shell{min-height:100vh;display:grid;grid-template-columns:minmax(290px,.78fr) minmax(0,1.22fr);background:#fff}
.onboarding-brand-panel{padding:clamp(28px,5vw,72px);background:linear-gradient(155deg,var(--navy-975),var(--navy-900));color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.onboarding-brand-panel:before,.onboarding-brand-panel:after{content:"";position:absolute;border-radius:50%;background:rgba(126,224,216,.08)}
.onboarding-brand-panel:before{width:420px;height:420px;right:-220px;top:-120px}
.onboarding-brand-panel:after{width:280px;height:280px;left:-130px;bottom:-100px}
.onboarding-brand{position:relative;z-index:1}.onboarding-brand .brand-mark{width:56px;height:56px;margin-bottom:24px}.onboarding-brand h1{font-size:clamp(2.2rem,5vw,4.4rem);line-height:1.02;letter-spacing:-.055em;margin:0;max-width:680px}.onboarding-brand p{font-size:clamp(1rem,1.6vw,1.18rem);line-height:1.7;color:rgba(255,255,255,.72);max-width:590px;margin:24px 0 0}
.onboarding-benefits{position:relative;z-index:1;display:grid;gap:12px;margin-top:50px}.onboarding-benefit{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.82);font-size:.9rem}.onboarding-benefit i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(126,224,216,.13);color:#7ee0d8;font-style:normal;font-weight:900}
.onboarding-main{padding:clamp(24px,5vw,72px);display:grid;place-items:center;background:linear-gradient(180deg,#fff,#f5f9fa)}
.onboarding-card{width:min(760px,100%);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 20px 60px rgba(10,39,52,.12);overflow:hidden}
.onboarding-card-header{padding:24px 28px;border-bottom:1px solid var(--line)}.onboarding-card-header .step-meta{display:flex;justify-content:space-between;gap:20px;align-items:center}.onboarding-card-header h2{font-size:1.55rem;margin:12px 0 6px;letter-spacing:-.035em}.onboarding-card-header p{margin:0;color:var(--ink-500);line-height:1.55}.onboarding-card-body{padding:28px}.onboarding-card-footer{padding:18px 28px;background:var(--surface-soft);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px}
.onboarding-progress{height:6px;background:#e7eef1;border-radius:999px;overflow:hidden;flex:1}.onboarding-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--teal-700),#48c6ba);border-radius:999px;transition:width .2s ease}
.welcome-actions{display:grid;gap:12px;margin-top:26px}.welcome-actions .button{min-height:50px;font-size:.96rem}.welcome-note{font-size:.76rem;color:var(--ink-500);text-align:center;line-height:1.45}

.selection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.selection-card{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;text-align:left;transition:.16s ease}.selection-card:hover{border-color:#9fc9c6;transform:translateY(-1px)}.selection-card.active{border-color:var(--teal-600);background:var(--teal-100);box-shadow:var(--focus)}.selection-card .selection-icon{width:36px;height:36px;border-radius:11px;background:var(--surface-tint);color:var(--teal-700);display:grid;place-items:center;margin-bottom:11px;font-weight:900}.selection-card strong{display:block;font-size:.94rem}.selection-card p{margin:5px 0 0;color:var(--ink-500);font-size:.76rem;line-height:1.45}
.preset-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.preset-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-size:.78rem;font-weight:760;color:var(--ink-700)}.preset-chip.active{background:var(--teal-100);border-color:var(--teal-600);color:var(--teal-700)}
.info-box{padding:13px 14px;border-radius:12px;background:#eef6f8;border:1px solid #d5e7ea;color:var(--ink-700);font-size:.78rem;line-height:1.55}.info-box strong{display:block;margin-bottom:3px;color:var(--navy-900)}

.new-user-hero{padding:clamp(22px,4vw,34px);background:linear-gradient(145deg,var(--navy-900),var(--teal-700));color:#fff;border-radius:var(--radius-lg);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;box-shadow:var(--shadow-md);margin-bottom:20px}.new-user-hero h2{font-size:clamp(1.55rem,3vw,2.45rem);letter-spacing:-.045em;margin:0 0 9px}.new-user-hero p{margin:0;color:rgba(255,255,255,.74);line-height:1.6;max-width:670px}.new-user-hero .button-secondary{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;box-shadow:none}
.checklist{display:grid;gap:10px}.checklist-item{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}.checklist-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e7edf1;color:var(--ink-500);font-weight:900}.checklist-item.complete .checklist-icon{background:var(--green-100);color:var(--green-700)}.checklist-item strong{font-size:.86rem}.checklist-item span{display:block;font-size:.73rem;color:var(--ink-500);margin-top:3px}
.monthly-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.monthly-kpi{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.monthly-kpi span{display:block;color:var(--ink-500);font-size:.72rem;font-weight:750}.monthly-kpi strong{display:block;margin-top:7px;font-size:1.4rem;letter-spacing:-.04em}

.mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.more-card{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left}.more-card .more-icon{width:38px;height:38px;border-radius:11px;background:var(--teal-100);color:var(--teal-700);display:grid;place-items:center;font-weight:900;margin-bottom:13px}.more-card strong{display:block}.more-card span{display:block;margin-top:5px;color:var(--ink-500);font-size:.75rem;line-height:1.45}

.service-choice-list{display:grid;gap:10px}.service-choice{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:15px 16px;text-align:left;display:grid;grid-template-columns:44px 1fr auto;gap:13px;align-items:center}.service-choice:hover{border-color:#9fc9c6}.service-choice.active{border-color:var(--teal-600);background:var(--teal-100);box-shadow:var(--focus)}.service-choice-icon{width:44px;height:44px;border-radius:13px;background:var(--surface-tint);display:grid;place-items:center;color:var(--teal-700);font-size:1.15rem}.service-choice strong{display:block;font-size:.92rem}.service-choice span{display:block;margin-top:4px;color:var(--ink-500);font-size:.74rem}.service-choice-check{width:24px;height:24px;border-radius:50%;border:2px solid #cad6dc;display:grid;place-items:center;color:transparent}.service-choice.active .service-choice-check{background:var(--teal-700);border-color:var(--teal-700);color:#fff}
.context-panel{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.context-panel h4{margin:0 0 12px;font-size:.88rem}
.collapsible{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.collapsible summary{list-style:none;padding:14px 16px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:780;font-size:.84rem;cursor:pointer}.collapsible summary::-webkit-details-marker{display:none}.collapsible summary:after{content:"＋";color:var(--teal-700);font-size:1rem}.collapsible[open] summary:after{content:"−"}.collapsible-body{padding:0 16px 16px}
.counter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.counter-card{padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.counter-card strong{display:block;font-size:.82rem}.counter-card small{display:block;margin-top:3px;color:var(--ink-500);font-size:.69rem}.counter-control{display:grid;grid-template-columns:36px 42px 36px;align-items:center;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface-soft)}.counter-control button{height:38px;border:0;background:#fff;color:var(--teal-700);font-size:1.1rem;font-weight:900}.counter-control output{height:38px;display:grid;place-items:center;font-weight:800;font-size:.84rem;border-inline:1px solid var(--line)}
.addon-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px}.addon-toolbar .input{flex:1}.addon-category{margin:0 0 18px}.addon-category h4{margin:0 0 9px;font-size:.82rem;color:var(--ink-700)}.addon-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.addon-card{padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.addon-card.selected{border-color:var(--teal-600);background:var(--teal-100)}.addon-card strong{display:block;font-size:.82rem}.addon-card small{display:block;color:var(--ink-500);margin-top:3px;font-size:.69rem}.add-toggle{min-width:72px;min-height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--teal-700);font-weight:800;font-size:.75rem}.addon-card.selected .add-toggle{background:var(--teal-700);border-color:var(--teal-700);color:#fff}

.mobile-price-bar{display:none}.price-review-hero{padding:24px;border-radius:18px;background:linear-gradient(145deg,var(--navy-900),var(--teal-700));color:#fff}.price-review-hero .price-label{font-size:.76rem;color:rgba(255,255,255,.72);font-weight:780}.price-review-hero .price-number{font-size:clamp(2.5rem,7vw,4rem);font-weight:900;letter-spacing:-.06em;margin:8px 0}.price-review-hero .price-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.price-review-hero .badge{background:rgba(255,255,255,.16);color:#fff}.explanation-card{padding:17px;border-radius:14px;background:#eef6f8;border:1px solid #d4e6e9;line-height:1.6;font-size:.84rem;color:var(--ink-700)}.explanation-card strong{color:var(--navy-900)}
.breakdown-table{display:grid;gap:0}.breakdown-row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px dashed var(--line);font-size:.8rem}.breakdown-row:last-child{border-bottom:0}.breakdown-row span{color:var(--ink-500)}
.override-panel{padding:16px;border-radius:14px;border:1px solid var(--line);background:#fff}.override-impact{margin-top:12px;padding:12px;border-radius:11px;font-size:.78rem;line-height:1.5}.override-impact.safe{background:var(--green-100);color:var(--green-700)}.override-impact.warning{background:var(--amber-100);color:var(--amber-700)}.override-impact.danger{background:var(--red-100);color:var(--red-700)}

.quote-card-list{display:none}.quote-mobile-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:15px}.quote-mobile-card+.quote-mobile-card{margin-top:10px}.quote-mobile-head{display:flex;justify-content:space-between;gap:14px}.quote-mobile-card h3{margin:0;font-size:.95rem}.quote-mobile-card p{margin:4px 0 0;color:var(--ink-500);font-size:.74rem}.quote-mobile-amount{font-size:1.15rem;font-weight:900}.quote-mobile-actions{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}.quote-mobile-alert{margin-top:11px;padding:9px 10px;border-radius:10px;background:var(--amber-100);color:var(--amber-700);font-size:.73rem;font-weight:700}

.insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.insight-card{padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff}.insight-card .insight-icon{width:34px;height:34px;border-radius:10px;background:var(--teal-100);color:var(--teal-700);display:grid;place-items:center;margin-bottom:12px;font-weight:900}.insight-card strong{display:block;font-size:.91rem;line-height:1.35}.insight-card p{margin:6px 0 0;color:var(--ink-500);font-size:.75rem;line-height:1.5}

.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.catalog-card{padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff}.catalog-card-top{display:flex;justify-content:space-between;gap:14px}.catalog-card h4{margin:0;font-size:.9rem}.catalog-card p{margin:6px 0 0;color:var(--ink-500);font-size:.73rem;line-height:1.45}.catalog-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.catalog-meta span{padding:5px 7px;border-radius:999px;background:var(--surface-soft);color:var(--ink-700);font-size:.67rem;font-weight:740}.catalog-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:13px}
.settings-section-note{margin-bottom:14px;padding:12px 14px;border-radius:11px;background:var(--amber-100);color:var(--amber-700);font-size:.76rem;line-height:1.5}
.data-safety-hero{padding:20px;border-radius:16px;background:linear-gradient(145deg,var(--navy-900),var(--navy-800));color:#fff;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.data-safety-hero p{margin:6px 0 0;color:rgba(255,255,255,.7);font-size:.79rem;line-height:1.5}.data-safety-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:13px}.data-safety-meta span{font-size:.72rem;color:rgba(255,255,255,.72)}
.help-list{display:grid;gap:8px}.help-item{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.help-item summary{padding:14px 16px;font-weight:780;font-size:.84rem;cursor:pointer}.help-item p{margin:0;padding:0 16px 16px;color:var(--ink-500);font-size:.78rem;line-height:1.65}

.logo-uploader{display:grid;grid-template-columns:80px 1fr;gap:14px;align-items:center}.logo-preview{width:80px;height:80px;border-radius:16px;background:var(--surface-soft);border:1px dashed #b8c8d0;display:grid;place-items:center;overflow:hidden;font-weight:900;color:var(--teal-700)}.logo-preview img{width:100%;height:100%;object-fit:contain;background:#fff}
.quote-brand-lockup{display:flex;gap:13px;align-items:center}.quote-logo{width:58px;height:58px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:var(--teal-100);color:var(--teal-700);font-size:1.15rem;font-weight:900}.quote-logo img{width:100%;height:100%;object-fit:contain;background:#fff}

.bottom-sheet{width:min(560px,100%);align-self:end;border-radius:22px 22px 0 0;max-height:84vh}.bottom-sheet-handle{width:44px;height:5px;border-radius:999px;background:#d1dade;margin:10px auto 2px}
.backup-reminder{padding:12px 14px;border-radius:12px;background:var(--amber-100);color:var(--amber-700);display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px;font-size:.78rem}

@media(max-width:900px){
  .onboarding-shell{grid-template-columns:1fr}.onboarding-brand-panel{min-height:320px;padding:28px}.onboarding-benefits{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:32px}.onboarding-main{padding:18px}
  .mobile-nav{grid-template-columns:repeat(5,1fr)}
  .quote-card-list{display:block}.quotes-desktop-table{display:none}
  .mobile-price-bar{position:fixed;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:28;display:flex;align-items:center;justify-content:space-between;gap:14px;border:0;border-radius:15px;padding:12px 15px;background:var(--navy-950);color:#fff;box-shadow:0 14px 34px rgba(7,30,41,.28)}.mobile-price-bar span{display:block;text-align:left;font-size:.68rem;color:rgba(255,255,255,.66)}.mobile-price-bar strong{display:block;font-size:1.18rem;letter-spacing:-.03em}.mobile-price-bar b{font-size:.72rem;color:#7ee0d8}
  .wizard-card{padding-bottom:76px}
  .catalog-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .onboarding-brand h1{font-size:2.5rem}.onboarding-benefits{grid-template-columns:1fr}.onboarding-card-body,.onboarding-card-header{padding:20px}.onboarding-card-footer{padding:15px 20px}
  .selection-grid,.counter-grid,.addon-list,.monthly-kpi-grid,.insight-grid,.mobile-more-grid{grid-template-columns:1fr}
  .new-user-hero{grid-template-columns:1fr}.new-user-hero .button{width:100%}
  .service-choice{grid-template-columns:40px 1fr auto;padding:13px}.service-choice-icon{width:40px;height:40px}
  .data-safety-hero{grid-template-columns:1fr}.data-safety-hero .button{width:100%}
  .logo-uploader{grid-template-columns:64px 1fr}.logo-preview{width:64px;height:64px}
}
@media(max-width:900px){
  .quote-summary{display:none}
}

/* Phase 3: customers, recurring services, setup checklist and locale */
.client-picker-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbfc, #f2f7f8);
}
.client-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.client-picker-head strong { display: block; font-size: .88rem; }
.client-picker-head span { display: block; margin-top: 4px; color: var(--ink-500); font-size: .74rem; line-height: 1.45; }
.client-history-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.client-history-strip > span {
  padding: 7px 9px;
  border-radius: 9px;
  background: #fff;
  color: var(--ink-500);
  font-size: .72rem;
  border: 1px solid var(--line);
}
.client-history-strip strong { color: var(--ink-900); }

.customer-grid,
.recurring-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.customer-card,
.recurring-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.customer-card-head,
.recurring-card-head,
.customer-profile-summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.recurring-card-head { justify-content: space-between; }
.customer-card h3,
.recurring-card h3,
.customer-profile-summary h2 { margin: 0; letter-spacing: -.02em; }
.customer-card p,
.recurring-card p,
.customer-profile-summary p { margin: 4px 0 0; color: var(--ink-500); font-size: .74rem; line-height: 1.45; }
.customer-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-700), var(--navy-800));
  font-size: .8rem;
  font-weight: 850;
}
.customer-avatar.large { width: 60px; height: 60px; border-radius: 16px; font-size: 1rem; }
.customer-address {
  min-height: 38px;
  margin: 14px 0;
  color: var(--ink-700);
  font-size: .78rem;
  line-height: 1.45;
}
.customer-stats,
.recurring-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0;
}
.customer-stats span,
.recurring-stats span {
  padding: 8px;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--ink-500);
  font-size: .67rem;
  text-align: center;
}
.customer-stats strong,
.recurring-stats strong { display: block; margin-bottom: 2px; color: var(--ink-900); font-size: .78rem; }
.customer-card-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.customer-card-actions .button { flex: 1 1 auto; min-height: 38px; padding: 7px 10px; font-size: .76rem; }
.customer-profile-summary { margin-bottom: 18px; }
.modal-wide { width: min(980px, 100%); }

.recurring-date {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 10px;
  padding: 12px;
  border-radius: 11px;
  background: var(--teal-100);
}
.recurring-date span { color: var(--teal-700); font-size: .73rem; font-weight: 750; }
.recurring-date strong { color: var(--navy-900); }
.recurring-stats { grid-template-columns: repeat(2, 1fr); }
.badge-active { color: var(--green-700); background: var(--green-100); }
.badge-paused { color: var(--amber-700); background: var(--amber-100); }
.badge-ended { color: var(--ink-700); background: #e7edf1; }

.setup-progress-card { overflow: hidden; }
.setup-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.setup-progress-head strong { display: block; font-size: 1.05rem; }
.setup-progress-head span { display: block; margin-top: 4px; color: var(--ink-500); font-size: .78rem; }
.setup-progress-ring {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal-600) var(--progress), #e6eef1 0);
  position: relative;
}
.setup-progress-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
}
.setup-progress-ring span { position: relative; z-index: 1; margin: 0; color: var(--ink-900); font-size: .75rem; font-weight: 850; }

.locale-preview,
.message-preview {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}
.locale-preview span,
.message-preview span { display: block; color: var(--ink-500); font-size: .71rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.locale-preview strong { display: block; margin: 7px 0 3px; font-size: 1.6rem; letter-spacing: -.04em; }
.locale-preview small { color: var(--ink-500); }
.message-preview p { margin: 8px 0 0; color: var(--ink-700); line-height: 1.55; }

@media (max-width: 1180px) {
  .customer-grid,
  .recurring-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .customer-grid,
  .recurring-grid { grid-template-columns: 1fr; }
  .client-picker-head { display: block; }
  .client-picker-head .button { margin-top: 8px; padding-left: 0; }
  .client-history-strip { align-items: stretch; }
  .client-history-strip > span { flex: 1 1 calc(50% - 8px); }
  .customer-stats { grid-template-columns: repeat(3, 1fr); }
  .customer-card-actions .button { flex: 1 1 calc(50% - 6px); }
  .setup-progress-head { align-items: flex-start; }
}
#client-search { flex: 1 1 320px; min-width: 280px; max-width: 520px; }
#quote-search { flex: 1 1 280px; min-width: 260px; max-width: 460px; }
.client-address-picker { margin-top: 12px; display: grid; gap: 6px; }
.client-address-picker label { color: var(--ink-700); font-size: .74rem; font-weight: 750; }


/* Phase 3.1 hardening */
.skip-link {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: 400;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform .16s ease;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #f2a93b;
  outline-offset: 3px;
}

.update-banner {
  position: fixed;
  inset: 14px 18px auto calc(var(--sidebar-width) + 18px);
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid #b8dcd8;
  border-radius: 14px;
  background: #f1fbfa;
  box-shadow: var(--shadow-md);
}
.update-banner strong { display: block; font-size: .88rem; }
.update-banner span { display: block; margin-top: 3px; color: var(--ink-500); font-size: .75rem; }
.update-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.draft-recovery-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 15px 17px;
  border: 1px solid #c8dce7;
  border-radius: 14px;
  background: #eef7fb;
}
.draft-recovery-banner strong { display: block; }
.draft-recovery-banner span { display: block; margin-top: 4px; color: var(--ink-500); font-size: .76rem; }
.draft-recovery-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.storage-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.storage-status-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.storage-status-card span { display: block; color: var(--ink-500); font-size: .7rem; font-weight: 750; }
.storage-status-card strong { display: block; margin-top: 5px; font-size: .9rem; }
.storage-meter {
  height: 9px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe9ed;
}
.storage-meter > span { height: 100%; display: block; border-radius: inherit; background: var(--teal-600); }
.backup-preview-list { display: grid; gap: 8px; margin-top: 14px; }
.backup-preview-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; background: var(--surface-soft); font-size: .8rem; }
.backup-preview-row span { color: var(--ink-500); }
.local-save-status { min-height: 1.2em; color: var(--ink-500); font-size: .72rem; }
.modal[role="dialog"]:focus { outline: none; }

@media (max-width: 900px) {
  .update-banner { inset: 10px 10px auto 10px; }
  .storage-status-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .update-banner, .draft-recovery-banner { align-items: stretch; flex-direction: column; }
  .update-actions, .draft-recovery-actions { width: 100%; }
  .update-actions .button, .draft-recovery-actions .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Phase 3.2 global currency and regional settings */
.currency-select-button{
  width:100%;min-height:66px;border:1px solid var(--line);border-radius:14px;background:#fff;
  padding:11px 13px;display:grid;grid-template-columns:44px minmax(0,1fr) 24px;gap:12px;
  align-items:center;text-align:left;color:var(--ink-900);transition:.16s ease
}
.currency-select-button:hover{border-color:#8fc3bf;box-shadow:var(--shadow-sm);transform:translateY(-1px)}
.currency-select-button:focus-visible{outline:none;box-shadow:var(--focus)}
.currency-select-symbol{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--teal-100);color:var(--teal-700);font-size:1.05rem;font-weight:900}
.currency-select-copy{min-width:0}.currency-select-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
.currency-select-copy small{display:block;margin-top:4px;color:var(--ink-500);font-size:.73rem}
.currency-select-chevron{color:var(--ink-500);font-size:1.2rem;text-align:center}

.currency-picker-modal{height:min(88vh,820px);display:flex;flex-direction:column}
.currency-picker-modal .modal-header p{margin:4px 0 0;color:var(--ink-500);font-size:.78rem}
.currency-picker-modal .modal-body{overflow:auto;flex:1}
.currency-picker-notice{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--amber-100);color:var(--amber-700);font-size:.78rem}
.currency-picker-notice strong{white-space:nowrap}.currency-picker-notice span{line-height:1.45}
.currency-search-wrap{position:sticky;top:-1px;z-index:3;margin:14px 0 18px;background:#fff;padding:4px 0 10px}
.currency-search-wrap>span{position:absolute;left:14px;top:16px;color:var(--ink-500);z-index:2}
.currency-search-wrap .input{padding-left:40px;min-height:48px;background:var(--surface-soft)}
.currency-group{margin-top:18px}.currency-group-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:8px}
.currency-group-heading h4{margin:0;font-size:.84rem}.currency-group-heading span{color:var(--ink-500);font-size:.7rem}
.currency-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.currency-option{
  min-height:67px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px;
  display:grid;grid-template-columns:46px minmax(0,1fr) auto 20px;gap:10px;align-items:center;text-align:left;color:var(--ink-900)
}
.currency-option:hover{border-color:#9fc9c6;background:#fbfefe}.currency-option.selected{border-color:var(--teal-600);background:var(--teal-100)}
.currency-code{width:46px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--surface-soft);font-size:.74rem;font-weight:850;letter-spacing:.04em}
.currency-option-copy{min-width:0}.currency-option-copy strong{display:block;font-size:.81rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.currency-option-copy small{display:block;margin-top:3px;color:var(--ink-500);font-size:.65rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.currency-option-symbol{color:var(--ink-700);font-weight:800}.currency-option-check{color:var(--teal-700);font-weight:900}

.regional-section{display:grid;gap:14px}.regional-section-heading h4{margin:0;font-size:.94rem}.regional-section-heading p{margin:5px 0 0;color:var(--ink-500);font-size:.76rem;line-height:1.5}
.regional-divider{height:1px;background:var(--line);margin:22px 0}
.regional-preview{padding:18px}.regional-preview-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}
.regional-preview-meta span{padding:6px 9px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink-700);font-size:.68rem;font-weight:700}

@media(max-width:720px){
  .currency-list{grid-template-columns:1fr}
  .currency-picker-modal{height:94vh}
  .currency-option{grid-template-columns:42px minmax(0,1fr) auto 18px}
}


/* Phase 3.3 business hub and checklist clarity */
.nav-button{position:relative}.nav-count{margin-left:auto;min-width:21px;height:21px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#f4c86a;color:#563900;font-size:.67rem;font-weight:900}
.data-status-label{font-size:.69rem;line-height:1.35}.data-status-label.safe{color:#8ce0b0}.data-status-label.attention{color:#f4d789}.version-label{font-size:.67rem;color:rgba(255,255,255,.42)}

.business-hub-intro{margin-bottom:28px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.business-hub-intro h2{margin:0 0 7px;font-size:clamp(1.45rem,3vw,2rem);letter-spacing:-.035em}.business-hub-intro p{margin:0;color:var(--ink-500);max-width:720px;line-height:1.55}
.business-hub-section{margin-top:28px}.business-hub-section:first-of-type{margin-top:0}.business-hub-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:11px}.business-hub-section-heading span{display:block;color:var(--teal-700);font-size:.68rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.business-hub-section-heading h3{margin:4px 0 0;font-size:1rem;letter-spacing:-.015em}
.business-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:1240px}
.business-hub-card{min-height:154px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:18px;display:grid;grid-template-columns:48px minmax(0,1fr) 25px;gap:15px;align-items:start;text-align:left;color:var(--ink-900);box-shadow:var(--shadow-sm);transition:.17s ease}
.business-hub-card:hover{transform:translateY(-2px);border-color:#a5c9c6;box-shadow:0 8px 24px rgba(10,39,52,.09)}.business-hub-card:focus-visible{outline:none;box-shadow:var(--focus),0 8px 24px rgba(10,39,52,.09)}
.business-hub-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--teal-100);color:var(--teal-700)}.business-hub-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.business-hub-content{min-width:0}.business-hub-title-row{display:flex;align-items:center;justify-content:space-between;gap:9px}.business-hub-title-row strong{font-size:.96rem}.business-hub-stat{display:block;margin-top:11px;font-size:.83rem;font-weight:820;color:var(--ink-900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.business-hub-description{display:block;margin-top:6px;color:var(--ink-500);font-size:.74rem;line-height:1.5}
.business-hub-arrow{align-self:center;color:var(--teal-700);font-size:1.15rem;transition:transform .17s ease}.business-hub-card:hover .business-hub-arrow{transform:translateX(3px)}
.hub-status{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;font-size:.65rem;font-weight:850;white-space:nowrap}.hub-status-safe{background:var(--green-100);color:var(--green-700)}.hub-status-warning{background:var(--amber-100);color:var(--amber-700)}.hub-status-info{background:var(--teal-100);color:var(--teal-700)}.hub-status-neutral{background:#e8eef1;color:var(--ink-700)}
.mobile-only-hub-card{display:none}

.checklist-item{grid-template-columns:42px minmax(0,1fr) auto;gap:14px}.checklist-item.action-required{border-color:#e9c96e;background:#fffaf0}.checklist-item.action-required .checklist-icon{background:var(--amber-100);color:var(--amber-700)}.checklist-copy{min-width:0}.checklist-title-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.checklist-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:.63rem;font-weight:850}.status-complete{background:var(--green-100);color:var(--green-700)}.status-required{background:var(--amber-100);color:var(--amber-700)}

@media(max-width:900px){.mobile-only-hub-card{display:grid}.business-hub-grid{grid-template-columns:1fr}.business-hub-card{min-height:136px}.business-hub-title-row{align-items:flex-start}.business-hub-intro{margin-bottom:22px}}
@media(max-width:620px){.business-hub-card{grid-template-columns:44px minmax(0,1fr) 20px;padding:15px;gap:11px}.business-hub-icon{width:44px;height:44px}.business-hub-title-row{display:block}.hub-status{margin-top:6px}.business-hub-stat{white-space:normal}.checklist-item{grid-template-columns:38px 1fr}.checklist-item .button{grid-column:2;width:100%}.checklist-title-row{display:block}.checklist-status{margin-top:5px}}

/* Margivo 3.5 pricing transparency, custom items and alignment fixes */
.toast.warning{background:var(--amber-700);color:#fff}

/* The older broad .service-choice span rule also styled the icon and tick. Scope and reset it. */
.service-choice-icon,.service-choice-check{
  display:flex!important;align-items:center;justify-content:center;margin-top:0!important;line-height:1!important;text-align:center
}
.service-choice-icon{color:var(--teal-700)!important;font-size:1.15rem!important}
.service-choice-check{font-size:.82rem!important;color:transparent}
.service-choice.active .service-choice-check{color:#fff}
.service-choice-copy{min-width:0;margin-top:0!important;color:inherit!important;font-size:inherit!important}
.service-choice-copy strong{display:block;font-size:.92rem;line-height:1.25}
.service-choice-copy>span{display:block;margin-top:4px;color:var(--ink-500);font-size:.74rem;line-height:1.45}

.quote-summary-incomplete .quote-summary-hero{min-height:146px;display:flex;flex-direction:column;justify-content:center}
.price-placeholder{margin-top:12px;max-width:250px;font-size:1.35rem;font-weight:900;line-height:1.15;letter-spacing:-.025em;color:#fff}
.quote-readiness-message{padding:16px;border-radius:13px;background:var(--amber-100);color:var(--amber-700);display:grid;gap:5px;font-size:.78rem;line-height:1.5}
.quote-readiness-message strong{font-size:.86rem;color:#684500}.quote-readiness-message span{display:block}
.summary-section-label{padding:13px 16px 5px;color:var(--ink-500);font-size:.66rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.summary-list-compact{padding-top:0!important;padding-bottom:7px!important;border-bottom:1px solid var(--line)}
.mobile-price-incomplete{background:linear-gradient(145deg,#72500a,var(--amber-700))}.mobile-price-incomplete span strong{max-width:72vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.67rem;font-weight:650}

.addon-copy{min-width:0}.addon-card.pricing-attention{border-color:#e4c56b}.addon-card.pricing-attention.selected{background:#fff9e9}
.selected-line-total{color:var(--teal-700)!important;font-weight:800}.pricing-warning{color:var(--amber-700)!important;line-height:1.4}

.custom-items-card .card-header{align-items:center}.button-small{min-height:34px;padding:6px 10px;font-size:.72rem}
.custom-item-list{display:grid;gap:14px}.custom-item-editor{padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--surface-soft)}
.custom-item-editor.pricing-attention{border-color:#e4c56b;background:#fffdf7}.custom-item-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.custom-item-header>div{display:flex;align-items:center;gap:9px;min-width:0}.custom-item-header strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.custom-item-number{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--teal-100);color:var(--teal-700);font-size:.7rem;font-weight:900;flex:0 0 auto}
.custom-item-metrics{margin-top:13px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.custom-item-metrics span{padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink-500);font-size:.67rem;line-height:1.35}
.custom-item-metrics strong{display:block;margin-top:3px;color:var(--ink-900);font-size:.75rem}
.inline-warning,.inline-safe{margin-top:11px;padding:11px 12px;border-radius:11px;display:grid;gap:3px;font-size:.72rem;line-height:1.45}
.inline-warning{background:var(--amber-100);color:var(--amber-700)}.inline-safe{background:var(--green-100);color:var(--green-700)}
.inline-warning strong,.inline-safe strong{font-size:.76rem}.custom-item-add-row{display:flex;justify-content:flex-end;margin-top:14px}
.custom-item-empty{min-height:150px;border:1px dashed #bfcdd4;border-radius:14px;background:var(--surface-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}
.custom-item-empty strong{font-size:.9rem}.custom-item-empty span{margin:6px auto 14px;max-width:580px;color:var(--ink-500);font-size:.75rem;line-height:1.5}

.pricing-composition-card{padding:16px 18px;border:1px solid #cfe2e3;border-radius:14px;background:#f4fbfa}
.pricing-composition-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:5px}.pricing-composition-head span{color:var(--ink-500);font-size:.7rem}
.breakdown-row.total{padding-top:13px;border-top:2px solid #c8dadd;border-bottom:0;font-size:.86rem}.breakdown-row.total span{color:var(--ink-900);font-weight:800}

.storage-status-wide small{display:block;margin-top:7px;color:rgba(21,38,47,.65);font-size:.65rem;line-height:1.4}.storage-status-wide strong{font-size:.92rem;line-height:1.3}

@media(max-width:900px){
  .custom-item-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricing-composition-head{align-items:flex-start;flex-direction:column;gap:4px}
}
@media(max-width:620px){
  .service-choice{grid-template-columns:40px minmax(0,1fr) 24px}.service-choice-check{width:24px;height:24px}
  .addon-list{grid-template-columns:1fr}.addon-card{align-items:start}.addon-card .counter-control{align-self:center}
  .custom-items-card .card-header{display:grid}.custom-items-card .card-header .button{width:100%}
  .custom-item-header{align-items:flex-start}.custom-item-metrics{grid-template-columns:1fr 1fr}
  .custom-item-add-row .button{width:100%}
}


/* Margivo 3.6 first-time-user guidance and discoverability */
.nav-section-label{display:block;margin:14px 12px 3px;color:rgba(255,255,255,.42);font-size:.59rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.nav-section-label:first-child{margin-top:2px}
.topbar-icon-button{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy-900);font-weight:900;font-size:1rem;box-shadow:var(--shadow-sm)}.topbar-icon-button:hover{transform:translateY(-1px);border-color:#a5c9c6}
.new-user-step-label{display:block;margin-bottom:8px;color:#9ee7df;font-size:.69rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.first-job-path .checklist-item{align-items:center}
.setup-section-heading{margin:2px 0 10px}.setup-section-heading span{display:block;color:var(--teal-700);font-size:.67rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.setup-section-heading h3{margin:4px 0 0;font-size:1rem}.recommended-item{border-color:#d9e4e8;background:#fbfdfe}.recommended-item .checklist-icon{background:#e7f1f3;color:var(--teal-700)}.status-recommended{background:#e7f1f3;color:var(--teal-700)}
.summary-help-link{width:100%;border:0;border-top:1px solid var(--line);padding:13px 16px;background:#f8fbfc;color:var(--teal-700);font-size:.72rem;font-weight:800;text-align:left}.summary-help-link:hover{background:var(--teal-100)}
.catalog-card-heading{display:flex;gap:12px;align-items:flex-start;min-width:0}.catalog-card-heading>div{min-width:0}.catalog-visual{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto;background:var(--teal-100);color:var(--teal-700)}.catalog-visual svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.service-choice-svg>.catalog-visual{width:100%;height:100%;border-radius:inherit}.service-choice-svg>.catalog-visual svg{width:28px;height:28px}
.help-hero{padding:26px;border-radius:20px;background:linear-gradient(145deg,var(--navy-900),var(--teal-700));color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,520px);gap:24px;align-items:center;box-shadow:var(--shadow-md)}.help-hero h2{margin:4px 0 7px;font-size:clamp(1.55rem,3vw,2.35rem);letter-spacing:-.045em}.help-hero p{margin:0;color:rgba(255,255,255,.75);line-height:1.55}.help-eyebrow{font-size:.66rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase;color:#9ee7df}.help-search-wrap{display:grid;grid-template-columns:34px 1fr;align-items:center;padding:6px 8px 6px 13px;border-radius:14px;background:#fff;box-shadow:0 12px 28px rgba(7,30,41,.2)}.help-search-wrap>span{color:var(--teal-700);font-size:1.2rem}.help-search-wrap .input{border:0;box-shadow:none;padding-left:0}.help-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.help-quick-card{border:1px solid var(--line);border-radius:15px;background:#fff;padding:15px;display:grid;grid-template-columns:30px 1fr;column-gap:10px;row-gap:3px;text-align:left;color:var(--ink-900);box-shadow:var(--shadow-sm)}.help-quick-card:hover{transform:translateY(-2px);border-color:#a5c9c6}.help-quick-card>span{grid-row:1/3;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--teal-100);color:var(--teal-700);font-weight:900}.help-quick-card strong{font-size:.8rem}.help-quick-card small{color:var(--ink-500);font-size:.68rem;line-height:1.4}.help-category-row{display:flex;gap:7px;overflow-x:auto;padding:3px 0 12px}.help-category{white-space:nowrap;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink-700);padding:8px 12px;font-size:.7rem;font-weight:750}.help-category.active{background:var(--navy-900);border-color:var(--navy-900);color:#fff}.help-results-head{display:flex;align-items:center;justify-content:space-between;margin:3px 0 10px;color:var(--ink-700);font-size:.78rem}.help-guide-list{display:grid;gap:10px}.help-guide{overflow:hidden}.help-guide summary{padding:16px 18px;display:flex;justify-content:space-between;gap:18px;align-items:center;list-style:none;cursor:pointer}.help-guide summary::-webkit-details-marker{display:none}.help-guide summary>span{display:grid;gap:4px}.help-guide summary small{color:var(--teal-700);font-size:.62rem;font-style:normal;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.help-guide summary strong{font-size:.92rem}.help-guide summary em{color:var(--ink-500);font-size:.73rem;font-style:normal;line-height:1.45}.help-guide summary b{font-size:1.05rem;color:var(--teal-700);transition:.15s ease}.help-guide[open] summary b{transform:rotate(45deg)}.help-guide-body{border-top:1px solid var(--line);padding:18px;display:grid;gap:15px;background:#fbfdfe}.help-guide-body section{display:grid;gap:7px}.help-guide-body h4{margin:0;font-size:.78rem;color:var(--navy-900)}.help-guide-body p,.help-guide-body li{margin:0;color:var(--ink-600);font-size:.75rem;line-height:1.58}.help-guide-body ol,.help-guide-body ul{margin:0;padding-left:20px;display:grid;gap:5px}.help-example,.help-mistakes{padding:13px 14px;border-radius:12px}.help-example{background:var(--teal-100);border:1px solid #c9e4e1}.help-mistakes{background:var(--amber-100);border:1px solid #ecd38b}.help-empty{min-height:210px;border:1px dashed #bacbd2;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;background:#fff}.help-empty span{margin:6px 0 15px;color:var(--ink-500);font-size:.76rem}
@media(max-width:900px){.mobile-nav{grid-template-columns:repeat(6,1fr)}.mobile-nav .nav-label{font-size:.57rem}.help-hero{grid-template-columns:1fr}.help-quick-grid{grid-template-columns:repeat(2,1fr)}.nav-section-label{display:none}}
@media(max-width:620px){.help-hero{padding:20px}.help-search-wrap{grid-template-columns:28px 1fr}.help-quick-grid{grid-template-columns:1fr}.help-guide summary{padding:14px}.help-guide-body{padding:14px}.catalog-visual{width:38px;height:38px}.topbar-icon-button{width:38px;height:38px}}

.service-choice-svg>.catalog-visual{margin:0!important;background:transparent!important;color:var(--teal-700)!important;font-size:inherit!important}

.pricing-help-link{border:0;background:transparent;color:inherit;text-decoration:underline;font-size:inherit;font-weight:850;padding:0 2px;vertical-align:baseline}.pricing-help-link:hover{opacity:.75}

/* Margivo 3.7 demo exit, app-wide semantic icons and responsive Home layout */
.app-icon{width:1em;height:1em;display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.nav-icon{display:grid;place-items:center;flex:0 0 23px;height:23px}.nav-icon .app-icon{width:19px;height:19px}.mobile-nav .nav-icon .app-icon{width:18px;height:18px}

.demo-mode-banner{margin-bottom:20px;padding:14px 16px;border:1px solid #d8c06f;border-radius:15px;background:linear-gradient(135deg,#fff8df,#fffdf5);display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:center;box-shadow:var(--shadow-sm)}
.demo-mode-icon,.demo-exit-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--amber-100);color:var(--amber-700)}.demo-mode-icon .app-icon,.demo-exit-icon .app-icon{width:25px;height:25px}
.demo-mode-copy{min-width:0}.demo-mode-copy strong{display:block;font-size:.88rem;color:#684500}.demo-mode-copy span{display:block;margin-top:3px;color:#765e27;font-size:.74rem;line-height:1.45}
.demo-exit-summary{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;margin-bottom:16px}.demo-exit-summary p,.modal-note{margin:5px 0 0;color:var(--ink-500);font-size:.78rem;line-height:1.55}.modal-note{margin-top:15px}
.demo-management-card,.demo-data-card{border:1px solid #dfca81;border-radius:16px;background:#fffaf0;padding:17px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;box-shadow:var(--shadow-sm)}
.demo-management-card p,.demo-data-card p{margin:4px 0 0;color:var(--ink-500);font-size:.75rem;line-height:1.5}.demo-data-card{margin-bottom:18px}.demo-data-card>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--amber-100);color:var(--amber-700)}.demo-data-card .app-icon{width:28px;height:28px}

/* Keep both Home columns inside the content container at standard and enlarged zoom. */
.dashboard-grid{grid-template-columns:minmax(0,1fr) clamp(320px,27vw,380px);align-items:start;gap:20px;width:100%}
.dashboard-grid>* ,.dashboard-grid .stack,.dashboard-grid .card,.dashboard-grid .card-body,.dashboard-grid .action-item{min-width:0}
.action-item>div{min-width:0}.action-item strong,.action-item span{overflow-wrap:anywhere}
.data-table-wrap{min-width:0;max-width:100%}
.action-item-with-icon{grid-template-columns:38px minmax(0,1fr) auto}.action-semantic-icon{width:36px;height:36px!important;margin:0!important;border-radius:10px;display:grid!important;place-items:center;background:var(--teal-100);color:var(--teal-700)}.action-semantic-icon .app-icon{width:21px;height:21px}

.choice-card-icon{display:grid!important;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:13px}.choice-card-icon>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--teal-100);color:var(--teal-700)}.choice-card-icon .app-icon{width:24px;height:24px}.choice-card-icon div{min-width:0}.choice-card-icon small{display:block;margin-top:4px;color:var(--ink-500);font-size:.73rem;line-height:1.45}
.help-search-wrap .app-icon{width:21px;height:21px}.help-quick-card>span .app-icon{width:18px;height:18px}
.business-hub-icon>.app-icon{width:27px;height:27px}

@media(max-width:1200px){
  .dashboard-grid{grid-template-columns:1fr}
  .dashboard-grid>.stack:last-child{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .dashboard-grid>.stack:last-child>article:first-child{grid-column:1/-1}
}
@media(max-width:900px){
  .demo-mode-banner,.demo-management-card,.demo-data-card{grid-template-columns:42px minmax(0,1fr)}
  .demo-mode-banner .button,.demo-management-card .button,.demo-data-card .button{grid-column:1/-1;width:100%}
  .dashboard-grid>.stack:last-child{grid-template-columns:1fr}
  .dashboard-grid>.stack:last-child>article:first-child{grid-column:auto}
}
@media(max-width:620px){
  .demo-mode-banner{padding:13px}.demo-mode-icon{width:38px;height:38px}.demo-mode-copy span{font-size:.7rem}
  .action-item-with-icon{grid-template-columns:34px minmax(0,1fr) auto}.action-semantic-icon{width:32px;height:32px!important}
}

/* Semantic icons inside quote selection and empty states */
.empty-state .empty-icon{width:50px;height:50px;margin:0 auto 10px;border-radius:15px;display:grid;place-items:center;background:var(--teal-100);color:var(--teal-700);font-size:1.6rem}.empty-state .empty-icon .app-icon{width:28px;height:28px}
.counter-card-icon{grid-template-columns:40px minmax(0,1fr) auto}.counter-card-icon>.catalog-visual{width:40px;height:40px;border-radius:11px}.counter-card-icon>.catalog-visual svg{width:24px;height:24px}
.addon-card-icon{grid-template-columns:40px minmax(0,1fr) auto}.addon-card-icon>.catalog-visual{width:40px;height:40px;border-radius:11px}.addon-card-icon>.catalog-visual svg{width:24px;height:24px}
@media(max-width:620px){.counter-card-icon,.addon-card-icon{grid-template-columns:38px minmax(0,1fr) auto}.addon-card-icon .counter-control{grid-column:3}.addon-card-icon>.catalog-visual,.counter-card-icon>.catalog-visual{width:38px;height:38px}}
.topbar-icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}


/* Version 3.8 — guided labour setup */
.inline-help-button{display:inline-flex;align-items:center;gap:7px;width:max-content;border:0;background:transparent;color:var(--teal-700);font:inherit;font-size:.76rem;font-weight:800;padding:2px 0;cursor:pointer}.inline-help-button:hover{text-decoration:underline}.inline-help-button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.9}
.setup-warning{display:flex;align-items:flex-start;gap:9px;margin-top:12px;padding:11px 13px;border:1px solid #efd38d;background:#fff8e5;border-radius:11px;color:#765314;font-size:.76rem;line-height:1.45}.setup-warning svg{flex:0 0 18px;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9}
.calculation-explainer{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.calculation-explainer>strong{font-size:.82rem}.calculation-explainer>div{display:flex;justify-content:space-between;gap:18px;padding-top:8px;border-top:1px dashed var(--line);font-size:.74rem}.calculation-explainer span{color:var(--ink-500)}.calculation-explainer b{text-align:right;color:var(--ink-800)}
.labour-settings-card{padding:16px;border:1px solid #d6e6e7;border-radius:14px;background:#f7fbfb}.labour-settings-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:14px}.labour-settings-heading span{display:block;color:var(--teal-700);font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.labour-settings-heading strong{display:block;margin-top:3px;font-size:.9rem}
.labor-calculator-modal .modal-header p{margin:4px 0 0;color:var(--ink-500);font-size:.76rem}.labor-calculator-intro{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:start;padding:13px;border-radius:12px;background:#eef7f7;border:1px solid #d2e7e5;margin-bottom:16px}.labor-calculator-intro>span{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#d9efed;color:var(--teal-700)}.labor-calculator-intro svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9}.labor-calculator-intro p{margin:4px 0 0;color:var(--ink-500);font-size:.76rem;line-height:1.5}.labor-calculator-fields{display:grid;gap:15px}.labor-method-panel{padding-top:3px}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.labor-result-card{margin-top:18px;padding:16px;border-radius:14px;background:var(--navy-900);color:#fff;display:grid;gap:6px}.labor-result-card>span{font-size:.69rem;text-transform:uppercase;letter-spacing:.07em;opacity:.75;font-weight:800}.labor-result-card>strong{font-size:1.35rem}.labor-result-card p{margin:0;font-size:.8rem;line-height:1.45}.labor-result-card small{opacity:.75;line-height:1.4}.calculator-boundary-note{display:flex;gap:8px;align-items:baseline;margin-top:12px;color:var(--ink-500);font-size:.72rem}.calculator-boundary-note strong{color:var(--ink-700)}
.mixed-team-intro{color:var(--ink-500);font-size:.76rem;line-height:1.5;margin-bottom:10px}.mixed-team-grid{display:grid;grid-template-columns:minmax(120px,1fr) 100px minmax(190px,1.2fr);gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.mixed-team-grid strong{font-size:.8rem}.mixed-team-heading{padding-top:0;color:var(--ink-500);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
@media(max-width:720px){.form-grid-2{grid-template-columns:1fr}.mixed-team-grid{grid-template-columns:1fr 84px minmax(150px,1.2fr)}.calculation-explainer>div{display:grid;gap:4px}.calculation-explainer b{text-align:left}}
@media(max-width:520px){.mixed-team-grid{grid-template-columns:1fr 74px}.mixed-team-grid>.input-group{grid-column:1/-1}.mixed-team-heading{display:none}.calculator-boundary-note{display:grid}.labor-result-card>strong{font-size:1.1rem}}
.selection-card .selection-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Version 3.9 — simple payroll labour calculator */
.employee-payroll-note{display:flex;gap:8px;align-items:baseline;padding:11px 12px;margin-bottom:13px;border-radius:10px;background:#f4f8fb;border:1px solid #dfe8ef;color:var(--ink-500);font-size:.74rem;line-height:1.45}.employee-payroll-note strong{color:var(--ink-800);white-space:nowrap}.calculator-compliance-note{margin-top:10px;color:var(--ink-500);font-size:.69rem;line-height:1.45}.employee-groups-list{display:grid;gap:12px}.employee-group-card{padding:13px;border:1px solid var(--line);border-radius:12px;background:#fbfcfd}.employee-group-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.employee-group-header>div{display:grid;gap:3px}.employee-group-header strong{font-size:.82rem;color:var(--ink-800)}.employee-group-header span{font-size:.69rem;color:var(--ink-500)}.employee-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.employee-group-result{margin-top:10px;padding:8px 10px;border-radius:9px;background:#eef7f7;color:var(--teal-800);font-size:.7rem;font-weight:700;line-height:1.4}.employee-group-add{justify-self:start;margin-top:11px}.mixed-team-intro{display:grid;gap:4px;padding:11px 12px;border-radius:10px;background:#f4f8fb;border:1px solid #dfe8ef}.mixed-team-intro strong{color:var(--ink-800);font-size:.78rem}.mixed-team-intro span{color:var(--ink-500);font-size:.72rem;line-height:1.45}.mixed-team-grid{grid-template-columns:minmax(145px,1fr) 92px minmax(195px,1.15fr) 108px}.mixed-type-meta{display:grid;gap:2px}.mixed-type-meta strong{font-size:.8rem}.mixed-type-meta span{font-size:.66rem;color:var(--ink-500);line-height:1.35}.mixed-helper-card{margin-top:16px;padding:15px;border:1px solid #cfe2e0;border-radius:14px;background:#f8fbfb;box-shadow:0 8px 24px rgba(12,40,52,.06)}.mixed-helper-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.mixed-helper-heading>div{display:grid;gap:4px}.mixed-helper-heading strong{font-size:.9rem;color:var(--ink-900)}.mixed-helper-heading span{font-size:.7rem;color:var(--ink-500);line-height:1.45}.mixed-helper-fields{display:grid;gap:13px}.mixed-helper-result{display:grid;gap:4px;margin-top:14px;padding:12px;border-radius:11px;background:#eaf5f4;border:1px solid #d2e7e5}.mixed-helper-result>span{font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;color:var(--teal-700);font-weight:800}.mixed-helper-result>strong{font-size:1.05rem;color:var(--ink-900)}.mixed-helper-result p{margin:0;color:var(--ink-600);font-size:.72rem;line-height:1.45}.mixed-helper-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}
@media(max-width:820px){.employee-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mixed-team-grid{grid-template-columns:minmax(120px,1fr) 82px minmax(170px,1.1fr) 96px}}
@media(max-width:620px){.employee-payroll-note{display:grid}.employee-group-grid{grid-template-columns:1fr}.employee-group-header{align-items:center}.mixed-team-grid{grid-template-columns:minmax(0,1fr) 74px}.mixed-team-grid>.input-group{grid-column:1/-1}.mixed-team-grid>.button{grid-column:1/-1;justify-self:start}.mixed-team-heading{display:none}.mixed-helper-actions{display:grid;grid-template-columns:1fr 1fr}.mixed-helper-actions .button{width:100%}}

/* Version 3.10 — verified labour calculations and resilient live preview */
.button.is-disabled{opacity:.72;cursor:pointer;box-shadow:none}.button.is-disabled:hover{transform:none}
.input.input-invalid,.select.input-invalid{border-color:#c53b3b;box-shadow:0 0 0 3px rgba(197,59,59,.1)}
.calculator-field-error{display:block;grid-column:1/-1;margin-top:5px;color:#a32727;font-size:.68rem;font-weight:700;line-height:1.35}
[data-mixed-worker-row]>.calculator-field-error{grid-column:1/-1;margin-top:0;padding:0 2px}

/* Version 3.11 — professional quotation foundation, Floor Area and Room Count clarity */
.section-question{margin:20px 0 10px}.section-question span{display:block;color:var(--teal-700);font-size:.68rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.section-question h3{margin:4px 0 0;font-size:1rem;color:var(--ink-900)}
.calculation-example-note{display:grid;gap:5px;margin-bottom:12px;padding:11px 13px;border-radius:11px;background:#f4f8fb;border:1px solid #dfe8ef;color:var(--ink-600);font-size:.73rem;line-height:1.5}.calculation-example-note strong{color:var(--ink-900)}
.room-pricing-mode-banner{display:grid;gap:4px;margin:14px 0 17px;padding:13px 15px;border-radius:13px;border:1px solid #cde3e0;background:#f3faf9}.room-pricing-mode-banner strong{font-size:.82rem;color:var(--teal-800)}.room-pricing-mode-banner span{font-size:.72rem;line-height:1.5;color:var(--ink-600)}.room-pricing-mode-banner.advanced{border-color:#ecd38b;background:#fff8e5}.room-pricing-mode-banner.advanced strong{color:#765314}
.room-pricing-settings{display:grid;gap:12px}.professional-details-intro{display:grid;gap:4px;margin-bottom:14px;padding:13px 15px;border-radius:12px;background:#f4f8fb;border:1px solid #dfe8ef}.professional-details-intro strong{font-size:.82rem;color:var(--ink-900)}.professional-details-intro span{font-size:.72rem;color:var(--ink-600);line-height:1.5}
.quote-room-list{display:grid;gap:8px}.quote-room-list>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.75rem}.quote-room-list>div:last-child{border-bottom:0}.quote-room-list span{color:var(--ink-600)}.quote-room-list strong{color:var(--ink-900);white-space:nowrap}
.responsibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.responsibility-grid>div{padding:13px;border:1px solid var(--line);border-radius:12px;background:#fbfdfe}.responsibility-grid strong{display:block;margin-bottom:6px;font-size:.76rem;color:var(--ink-900)}.responsibility-grid p{margin:0;color:var(--ink-600);font-size:.73rem;line-height:1.55}
.acceptance-copy{display:grid;gap:8px;padding:15px;border:1px dashed #a9bec5;border-radius:12px;background:#fbfdfe;color:var(--ink-600);font-size:.74rem;line-height:1.55}.acceptance-copy strong{color:var(--ink-900)}
.calculator-intro{display:grid;gap:4px;margin-bottom:16px;padding:13px 15px;border-radius:12px;background:#eef7f7;border:1px solid #d2e7e5}.calculator-intro strong{font-size:.82rem;color:var(--ink-900)}.calculator-intro span{font-size:.73rem;color:var(--ink-600);line-height:1.5}.calculator-result-card{display:grid;gap:5px;margin-top:17px;padding:15px;border-radius:13px;background:var(--navy-900);color:#fff}.calculator-result-card>span{font-size:.66rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase;opacity:.72}.calculator-result-card>strong{font-size:1.25rem}.calculator-result-card p{margin:0;font-size:.75rem;line-height:1.45;opacity:.82}
.overhead-calculator-modal .modal-body{display:grid;gap:2px}.quote-document .quote-section{break-inside:avoid}.quote-document .quote-line-table{width:100%}
@media(max-width:720px){.responsibility-grid{grid-template-columns:1fr}.room-pricing-mode-banner{padding:12px}.quote-room-list>div{align-items:flex-start}.calculator-result-card>strong{font-size:1.08rem}}

/* Version 3.12 — workload calibration, transparent quote calculations and reviewed add-ons */
.workload-preview-card{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff;display:grid;gap:14px}.workload-preview-card.sample{border-color:#e4c56b;background:#fffdf6}.workload-preview-card.reviewed{border-color:#b9dcce;background:#f8fcfa}.workload-preview-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.workload-preview-heading>div{display:grid;gap:3px}.workload-preview-heading strong{font-size:.9rem}.workload-preview-heading span{font-size:.72rem;color:var(--ink-500)}.workload-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.workload-preview-grid>div{padding:11px;border-radius:11px;background:var(--surface-soft);display:grid;gap:5px}.workload-preview-grid span{font-size:.67rem;color:var(--ink-500)}.workload-preview-grid strong{font-size:.78rem;line-height:1.4}.workload-preview-actions{display:flex;justify-content:flex-end}.workload-notice{display:grid;gap:4px;padding:12px 13px;border-radius:11px;font-size:.73rem;line-height:1.5}.workload-notice.safe{background:var(--green-100);color:var(--green-700)}.workload-notice.warning{background:var(--amber-100);color:var(--amber-700)}.workload-notice span{color:inherit}.workload-notice strong{font-size:.75rem}
.price-calculation-modal .modal-header p,.productivity-calculator-modal .modal-header p{margin:4px 0 0;color:var(--ink-500);font-size:.76rem}.price-calculation-modal .modal-body{display:grid;gap:16px}.price-calculation-stack{display:grid;gap:14px}.calculation-block{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.calculation-block-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.calculation-block-heading>div{display:grid;gap:3px}.calculation-block-heading span{font-size:.66rem;color:var(--ink-500);font-weight:760;text-transform:uppercase;letter-spacing:.06em}.calculation-block-heading strong{font-size:.88rem}.calculation-line{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:.76rem}.calculation-line span{color:var(--ink-500)}.calculation-line strong{text-align:right}.calculation-line.total{margin-top:3px;border-top:1px solid var(--line);font-size:.82rem}.calculation-formula{margin:8px 0;padding:11px 12px;border-radius:10px;background:var(--surface-soft);color:var(--ink-700);font-size:.74rem;line-height:1.55}.price-calculation-modal .price-meta span{font-size:.73rem;color:rgba(255,255,255,.84)}
.productivity-calculator-modal .calculator-intro{margin-bottom:16px}.productivity-result-card{margin-top:16px}.productivity-helper-field{align-self:end}.catalog-action-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.onboarding-addon-review-list{display:grid;gap:14px}.onboarding-addon-review{padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.onboarding-addon-review.pricing-attention{border-color:#e4c56b;background:#fffdf6}.onboarding-addon-review.pricing-safe{border-color:#b9dcce}.onboarding-addon-review-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.onboarding-addon-review-head .catalog-card-heading strong{display:block;font-size:.86rem}.onboarding-addon-review-head .catalog-card-heading span{display:block;margin-top:3px;color:var(--ink-500);font-size:.68rem}.onboarding-addon-fields{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:10px}.onboarding-addon-fields .field{min-width:0}.onboarding-addon-fields label{font-size:.68rem}.addon-review-status{margin-top:12px;padding:10px 12px;border-radius:10px;display:grid;gap:3px;font-size:.7rem;line-height:1.45}.addon-review-status.safe{background:var(--green-100);color:var(--green-700)}.addon-review-status.warning{background:var(--amber-100);color:var(--amber-700)}.review-confirmation{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start;cursor:pointer}.review-confirmation input{margin-top:3px;width:18px;height:18px}.review-confirmation span{display:grid;gap:3px}.review-confirmation strong{font-size:.8rem}.review-confirmation small{font-size:.69rem;color:var(--ink-500);line-height:1.45}.onboarding-advanced-note{margin:10px 0 0;color:var(--ink-500);font-size:.7rem}.onboarding-addon-more{margin-top:18px}
@media(max-width:900px){.workload-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.onboarding-addon-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.workload-preview-grid,.onboarding-addon-fields{grid-template-columns:1fr}.workload-preview-heading,.calculation-block-heading,.onboarding-addon-review-head{align-items:flex-start}.calculation-line{display:grid;gap:4px}.calculation-line strong{text-align:left}.catalog-action-buttons{justify-content:flex-start}.price-calculation-modal{height:94vh}.price-calculation-modal .modal-body{overflow:auto}}

/* Version 3.13 — unified professional setup workspace */
.setup-page-intro{align-items:flex-end}.setup-page-intro .eyebrow{display:block;margin-bottom:7px;color:var(--teal-700);font-size:.68rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.setup-save-status{align-self:center;color:var(--ink-500);font-size:.72rem;font-weight:750;white-space:nowrap}.setup-overview-card{overflow:hidden}.setup-overview-body{display:flex;justify-content:space-between;gap:24px;align-items:center}.setup-overview-copy{display:flex;gap:18px;align-items:center}.setup-overview-copy strong{display:block;font-size:1.03rem}.setup-overview-copy p{margin:5px 0 0;max-width:680px;color:var(--ink-500);font-size:.77rem;line-height:1.55}.setup-overview-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.setup-overview-summary span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);color:var(--ink-600);font-size:.68rem;font-weight:750;white-space:nowrap}.setup-workspace{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:18px;align-items:start}.setup-workspace-menu{position:sticky;top:92px;padding:10px;overflow:hidden}.setup-workspace-menu-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 12px 14px;border-bottom:1px solid var(--line)}.setup-workspace-menu-head strong{font-size:.86rem}.setup-workspace-menu-head span{color:var(--ink-500);font-size:.65rem}.setup-workspace-link{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 12px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;text-align:left;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.setup-workspace-link:hover{background:var(--surface-soft);transform:translateY(-1px)}.setup-workspace-link.active{border-color:#a9d4d0;background:#eaf7f5}.setup-workspace-link>span:first-child{min-width:0}.setup-workspace-link strong{display:block;font-size:.78rem;line-height:1.3}.setup-workspace-link small{display:block;margin-top:4px;color:var(--ink-500);font-size:.64rem;line-height:1.42}.setup-workspace-link.compact{margin-top:6px}.setup-workspace-optional{margin-top:9px;padding-top:9px;border-top:1px solid var(--line)}.setup-workspace-optional>span{display:block;padding:4px 12px;color:var(--ink-500);font-size:.59rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.status-neutral{background:#edf2f4;color:#5f7079}.status-sample{background:#fff1c9;color:#765314}.setup-workspace-panel{min-width:0}.setup-section-context{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:10px;padding:0 4px}.setup-section-context>div span{display:block;color:var(--teal-700);font-size:.61rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.setup-section-context>div strong{display:block;margin-top:3px;font-size:.85rem}.setup-panel-card{overflow:hidden}.setup-completion-note{display:flex;gap:11px;align-items:flex-start;margin-top:20px;padding:13px 14px;border:1px solid #dbe7ea;border-radius:12px;background:#f7fafb}.setup-completion-note>span{width:22px;color:var(--teal-700)}.setup-completion-note svg{width:22px;height:22px}.setup-completion-note strong{display:block;font-size:.75rem}.setup-completion-note p{margin:4px 0 0;color:var(--ink-500);font-size:.68rem;line-height:1.5}.setup-review-confirmation{margin-top:20px}.setup-unlock-card .card-body{display:flex;justify-content:space-between;gap:20px;align-items:center}.setup-unlock-card strong{display:block;font-size:.92rem}.setup-unlock-card p{margin:5px 0 0;color:var(--ink-500);font-size:.73rem;line-height:1.5}.setup-unlock-card.locked{border-color:#ead7a0;background:#fffdf7}.setup-unlock-card.ready{border-color:#b9dcce;background:#f7fcfa}.catalog-meta span:last-child{font-weight:750}.catalog-card:has(.catalog-meta span:nth-last-child(2):first-child){} 
@media(max-width:1050px){.setup-workspace{grid-template-columns:260px minmax(0,1fr)}.setup-overview-body{align-items:flex-start}.setup-overview-summary{max-width:280px}}
@media(max-width:820px){.setup-page-intro{align-items:flex-start}.setup-page-intro .page-actions{width:100%;justify-content:flex-start}.setup-overview-body{display:grid}.setup-overview-summary{justify-content:flex-start;max-width:none}.setup-workspace{grid-template-columns:1fr}.setup-workspace-menu{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.setup-workspace-menu-head,.setup-workspace-optional{grid-column:1/-1}.setup-workspace-link{height:100%}.setup-unlock-card .card-body{align-items:flex-start}}
@media(max-width:560px){.setup-workspace-menu{grid-template-columns:1fr}.setup-overview-copy{align-items:flex-start}.setup-overview-copy .setup-progress-ring{flex:0 0 auto}.setup-unlock-card .card-body{display:grid}.setup-unlock-card .button{width:100%}.setup-save-status{width:100%}.setup-page-intro .page-actions .button{flex:1}}
