
:root{--bg:#0f1113;--panel:#171a1d;--panel2:#202428;--text:#f7f8f6;--muted:#aeb5b9;--line:#30363b;--olive:#75844d;--olive2:#9aab6e;--danger:#a65353;--ok:#6f9959;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.container{max-width:var(--max);margin:auto;padding:0 22px}.hidden{display:none!important}.route{display:none}.route.active{display:block}.topbar{position:sticky;top:0;z-index:50;background:rgba(15,17,19,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{min-height:84px;display:flex;align-items:center;gap:18px}.brand-btn{background:none;border:0;padding:0}.logo{width:210px;max-height:66px;object-fit:contain;object-position:left center}.nav-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}.nav-actions button,.footer button{border:0;background:transparent;color:var(--text);padding:10px 12px;border-radius:10px}.nav-actions button:hover{background:var(--panel)}.hero{padding:72px 22px 64px;display:grid;grid-template-columns:1.12fr .88fr;gap:34px;align-items:center}.eyebrow,.tag{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--olive2);font-weight:900}.tag{margin-bottom:10px}h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-.045em;margin:12px 0 18px}h2{font-size:clamp(29px,4vw,44px);line-height:1.06;margin:8px 0 14px}h3{font-size:23px;line-height:1.15;margin:8px 0 12px}p{color:#d2d7da;line-height:1.65}.lead{font-size:19px;max-width:780px}.muted{color:var(--muted);font-size:14px}.actions,.stack-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.stack-actions{align-items:flex-start}.primary,.secondary,.whatsapp-btn{border-radius:12px;padding:12px 17px;font-weight:900;border:0;color:#fff}.primary{background:var(--olive)}.primary:hover{filter:brightness(1.08)}.secondary{background:var(--panel2);border:1px solid var(--line)}.full{width:100%}.hero-visual{height:410px;border:1px solid var(--line);border-radius:28px;position:relative;overflow:hidden;background:radial-gradient(circle at 70% 18%,rgba(153,171,110,.24),transparent 30%),linear-gradient(145deg,#24292c,#0b0d0e)}.hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:54px 54px;transform:perspective(500px) rotateX(55deg) translateY(120px);transform-origin:bottom}.hero-chip{position:absolute;left:26px;right:26px;bottom:26px;padding:20px;border:1px solid var(--line);border-radius:18px;background:rgba(0,0,0,.35);backdrop-filter:blur(8px)}.hero-chip span{color:var(--olive2);font-weight:900}.hero-chip b{display:block;font-size:34px;margin:4px 0}.hero-chip small{color:var(--muted)}.section{padding:68px 0;border-top:1px solid rgba(255,255,255,.05)}.section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:24px}.section-head p{max-width:600px}.path-grid,.grid-2,.grid-3,.chapter-grid{display:grid;gap:18px}.path-grid,.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}.chapter-grid{grid-template-columns:repeat(3,1fr);padding-bottom:68px}.path-card,.panel,.stat,.contact-card,.chapter-card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:22px}.path-card{min-height:310px;display:flex;flex-direction:column;align-items:flex-start}.path-card p{flex:1}.reviews{display:grid;gap:10px}.review{padding:15px 16px;border-left:3px solid var(--olive);background:var(--panel);border-radius:0 14px 14px 0}.stars{color:#d6cf68;letter-spacing:2px}.whatsapp-btn{display:inline-flex;background:#1c9b55;margin:8px 0}.page-hero{padding:58px 22px 32px}.page-hero.compact{padding-bottom:22px}.chapter-card{position:relative}.chapter-card .price,.price{font-size:32px;color:var(--olive2);font-weight:900}.old-price{text-decoration:line-through;color:var(--muted);font-size:16px}.badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:#252b24;color:#c4d69e;font-size:12px;font-weight:900}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;padding-bottom:70px}.lesson-aside{display:grid;gap:12px;align-content:start}.lesson-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.scene-nav{display:flex;align-items:center;gap:9px}.icon-btn{width:42px;height:42px;border-radius:11px;border:1px solid var(--line);background:var(--panel2);color:#fff}.scene-stage{aspect-ratio:16/9;border-radius:22px;border:1px solid var(--line);overflow:hidden;background:#f5f5f1;color:#121315;position:relative}.slide{width:100%;height:100%;display:grid;grid-template-rows:auto 1fr auto;background:linear-gradient(115deg,#f7f7f4 0 69%,#e9ece6 69%)}.slide-head{display:flex;align-items:center;justify-content:space-between;padding:24px 28px 12px}.slide-brand{display:flex;align-items:center;gap:12px}.slide-brand img{width:120px;max-height:52px;object-fit:contain}.slide-brand b{font-size:12px;letter-spacing:.06em}.slide-number{font-size:32px;color:#75844d;font-weight:900}.slide-body{padding:10px 28px 18px;display:grid;grid-template-columns:1.25fr .75fr;gap:24px;align-items:center}.slide h3{font-size:clamp(25px,3vw,42px);margin:0 0 14px;line-height:1.02}.slide h3 span{color:#75844d}.slide p{color:#252729;line-height:1.5;margin:8px 0}.slide-panel{border:1px solid #9aa58d;background:#fff;padding:15px;border-radius:12px}.formula{font-size:clamp(20px,3vw,38px);font-weight:900;padding:18px;border:2px solid #7d8b5a;border-radius:12px;background:#fff}.formula span{color:#75844d}.example-table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden}.example-table td{border:1px solid #bbc2b5;padding:10px}.example-table tr.highlight td{background:#74834a;color:#fff;font-weight:800}.slide-visual{height:100%;min-height:210px;border-radius:18px;background:radial-gradient(circle at 30% 20%,rgba(117,132,77,.6),transparent 35%),linear-gradient(145deg,#252a2d,#080a0b);position:relative;overflow:hidden}.slide-visual:after{content:"";position:absolute;inset:20px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,.06))}.visual-metric{position:absolute;left:18px;right:18px;bottom:18px;color:#fff;background:rgba(0,0,0,.45);padding:14px;border-radius:12px;z-index:1}.visual-metric b{color:#b8ca89;font-size:30px}.check-list{display:grid;gap:10px}.check{display:flex;gap:10px;align-items:flex-start}.check i{font-style:normal;background:#75844a;color:#fff;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex:0 0 auto}.slide-foot{padding:11px 28px;background:#0e1011;color:#fff;display:flex;justify-content:space-between;font-size:11px}.slide-foot span:first-child{color:#b7c78c}.scene-dots{display:flex;gap:7px;justify-content:center;padding:14px}.scene-dots button{width:9px;height:9px;border:0;border-radius:50%;background:#4b5155;padding:0}.scene-dots button.active{background:var(--olive2);transform:scale(1.2)}.progress{height:8px;background:var(--panel2);border-radius:999px;overflow:hidden;margin-bottom:18px}.progress span{display:block;height:100%;background:var(--olive);width:20%;transition:.2s}.cma-shell{max-width:760px;padding-bottom:70px}.cma-step{min-height:300px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{border:1px solid var(--line);background:#111416;color:#fff;padding:14px;border-radius:12px;text-align:left}.choice.selected{border-color:var(--olive2);background:#222a1e}.wizard-actions{display:flex;justify-content:space-between;margin-top:14px}.account-shell{max-width:720px;padding:65px 22px}.field{margin:12px 0}.field label{display:block;color:var(--muted);font-size:13px;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;background:#101315;border:1px solid var(--line);border-radius:10px;padding:11px;color:#fff}.field textarea{min-height:110px}.admin-head{padding:52px 22px 20px}.admin-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;padding-bottom:70px}.admin-nav{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:10px;height:max-content;position:sticky;top:104px}.admin-nav button{width:100%;text-align:left;background:transparent;color:#fff;border:0;padding:11px;border-radius:9px}.admin-nav button.active,.admin-nav button:hover{background:var(--panel2)}.admin-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.admin-list{display:grid;gap:10px}.admin-row{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:15px}.admin-row-head{display:flex;justify-content:space-between;gap:12px}.stat span{display:block;color:var(--muted);font-size:13px}.stat b{display:block;font-size:30px;color:var(--olive2);margin-top:5px}.mini-table{width:100%;border-collapse:collapse}.mini-table th,.mini-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left}.mini-table th{font-size:12px;color:var(--olive2);text-transform:uppercase}.footer{border-top:1px solid var(--line);padding:34px 0;color:var(--muted)}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:20px}.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.footer-logo{width:170px}.legal-page{padding:55px 0}.legal-copy{max-width:900px;color:#d6dadc}.toast{position:fixed;right:18px;bottom:18px;z-index:90;background:#242a20;border:1px solid #596846;color:#f6f7f4;padding:12px 16px;border-radius:12px;display:none;max-width:330px}
@media(max-width:850px){.nav{align-items:flex-start;flex-wrap:wrap;padding:10px 22px}.logo{width:170px}.nav-actions{width:100%;margin:0;overflow:auto;flex-wrap:nowrap}.hero,.path-grid,.grid-2,.grid-3,.chapter-grid,.lesson-layout,.admin-layout{grid-template-columns:1fr}.hero{padding-top:48px}.section-head{display:block}.hero-visual{height:320px}.lesson-aside{grid-row:2}.admin-nav{position:static;display:flex;overflow:auto}.admin-nav button{min-width:max-content}.slide-head{padding:14px 16px 8px}.slide-brand img{width:90px}.slide-body{padding:6px 16px 12px;grid-template-columns:1fr;overflow:auto}.slide-visual{display:none}.slide-foot{padding:8px 16px;font-size:9px}.scene-stage{aspect-ratio:4/3}.choice-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}}
/* AMC semantic visual system: Aziende = olive; Privati = graphite/steel. Never inverted. */
.business-btn{background:var(--olive)!important;color:#fff!important;border:1px solid var(--olive)!important}
.business-outline{background:#161a17!important;color:#dfe9ca!important;border:1px solid #6f7e4d!important;border-radius:12px;padding:12px 17px;font-weight:900}
.private-btn{background:#263245!important;color:#fff!important;border:1px solid #465b78!important;border-radius:12px;padding:12px 17px;font-weight:900}
.private-btn:hover{filter:brightness(1.1)}
.path-card:nth-child(1){border-color:#56633d;background:linear-gradient(180deg,#1b2019,#171a1c)}
.path-card:nth-child(2){border-color:#35465e;background:linear-gradient(180deg,#171d26,#171a1c)}
.path-card:nth-child(2) .tag{color:#9db5d5}
.hero-photo{background-image:linear-gradient(90deg,rgba(8,10,11,.15),rgba(8,10,11,.08)),url('assets/hypercar-workshop.png');background-size:cover;background-position:center}
.hero-photo .hero-chip{background:linear-gradient(90deg,rgba(7,9,10,.88),rgba(7,9,10,.62));}
.brand-btn{background:#f2f2ed;border-radius:14px;padding:6px 10px!important;border:1px solid #d8ddd1!important;box-shadow:0 8px 26px rgba(0,0,0,.25)}
.logo{filter:none!important;opacity:1!important}
.auth-type{display:flex;gap:8px;margin:14px 0 18px}.account-type{flex:1;border:1px solid var(--line);background:#111416;color:#fff;border-radius:10px;padding:10px;font-weight:800}.account-type.active[data-account-type="private"]{background:#263245;border-color:#526987}.account-type.active[data-account-type="business"]{background:var(--olive);border-color:var(--olive)}
.auth-message{min-height:24px;padding:8px 0;color:#dce4e8}.auth-message.error{color:#ff9e9e}.auth-message.success{color:#b9d78c}.auth-message.loading{color:#d7dce1}
@media(max-width:850px){.topbar{position:relative}.nav{padding:12px 16px}.brand-btn{width:100%;display:flex;justify-content:center}.logo{width:min(300px,88vw);height:auto;max-height:92px}.nav-actions{justify-content:center;gap:12px;overflow:visible}.nav-actions button{font-size:17px}.hero{padding:38px 20px 42px}.hero h1{font-size:clamp(40px,11vw,58px);line-height:.98}.hero-visual{height:300px}.page-hero{padding-left:20px;padding-right:20px}.path-card{min-height:auto}.primary,.secondary,.private-btn,.business-outline{width:100%;text-align:center}.actions,.stack-actions{width:100%}}
/* V2 master: premium dark, but brighter and readable. */
:root{--bg:#171b1e;--panel:#22272b;--panel2:#2b3136;--text:#fbfcfa;--muted:#c4cbd0;--line:#434b51;--olive:#7f914f;--olive2:#b2c77c}
body{background:linear-gradient(180deg,#171b1e 0,#1b2024 48%,#171b1e 100%)}
.topbar{background:#e7e7df;border-bottom:1px solid #c9cbc2;box-shadow:0 10px 28px rgba(0,0,0,.16)}
.nav{min-height:96px}.brand-btn{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.logo{width:230px;max-height:80px}
.nav-actions button{color:#151719;font-weight:750}.nav-actions button:hover{background:#d6d8cf}.olive-word{color:var(--olive2)}
.hero{padding-top:56px}.hero h1{max-width:720px}.hero .lead{color:#dce1e3}.hero-visual{height:440px;border-color:#586167;box-shadow:0 24px 55px rgba(0,0,0,.32)}
.hero-photo{background-image:linear-gradient(90deg,rgba(12,15,17,.04),rgba(12,15,17,.01)),url('assets/hypercar-workshop-v2.png')!important;background-position:center;background-size:cover}
.hero-photo .hero-chip{background:linear-gradient(90deg,rgba(15,18,20,.9),rgba(15,18,20,.62));border-color:rgba(255,255,255,.25)}
.path-card,.panel,.stat,.contact-card,.chapter-card{box-shadow:0 12px 30px rgba(0,0,0,.12)}
.business-btn{background:#7f914f!important;border-color:#9eb568!important}.private-btn{background:#303a43!important;border-color:#65727d!important}.business-outline{background:#232a24!important;border-color:#829458!important}
.wa-float{position:fixed;right:18px;bottom:18px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#22a95b;color:white;font-weight:950;border:2px solid rgba(255,255,255,.8);box-shadow:0 12px 28px rgba(0,0,0,.35);z-index:80}
@media(max-width:850px){
 .topbar{position:relative}.nav{padding:10px 18px 12px;min-height:auto}.brand-btn{width:100%;justify-content:flex-start!important}.logo{width:220px!important;max-height:74px!important}.nav-actions{justify-content:space-between!important;width:100%;gap:4px!important}.nav-actions button{font-size:16px!important;padding:9px 8px!important}
 .hero{padding:36px 20px 42px}.hero h1{font-size:clamp(43px,12vw,62px)!important}.hero .lead{font-size:18px}.hero-visual{height:350px;margin-top:8px}.hero-chip{left:14px;right:14px;bottom:14px;padding:15px}.hero-chip b{font-size:25px}
 .section{padding:52px 0}.wa-float{width:54px;height:54px;right:14px;bottom:84px}
}
/* V2.1 — LIGHT MASTER. User-first readability in daylight. */
:root{
 --bg:#f4f3ee;--panel:#ffffff;--panel2:#eceeea;--text:#171a1c;--muted:#5f686e;--line:#d7dbd7;
 --olive:#748748;--olive2:#65783f;--graphite:#36424b;--private:#3e4b55;
}
body{background:linear-gradient(180deg,#f7f6f1 0%,#f1f1ec 100%);color:var(--text)}
.topbar{background:rgba(250,249,245,.97);border-bottom:1px solid #d7dad4;box-shadow:0 7px 22px rgba(22,27,30,.08)}
.nav-actions button,.footer button{color:#202427}.nav-actions button:hover{background:#eceee8}
p{color:#4e575d}.lead{color:#3f484e!important}.muted{color:#6d757a}.eyebrow,.tag{color:#6f8245}
.hero{padding-top:48px}.hero h1{color:#171a1c}.olive-word{color:#708344}
.hero-visual{border-color:#c8cec8;box-shadow:0 22px 48px rgba(25,31,34,.14);background:#dfe3df}
.hero-photo{background-image:linear-gradient(90deg,rgba(255,255,255,.02),rgba(255,255,255,0)),url('assets/hypercar-workshop-v2.png')!important}
.hero-photo .hero-chip{background:rgba(248,248,244,.90);border-color:rgba(255,255,255,.72);box-shadow:0 8px 24px rgba(0,0,0,.15)}
.hero-chip span{color:#64763e}.hero-chip b{color:#15191b}.hero-chip small{color:#515b61}
.section{border-top:1px solid #dde0dc}
.path-card,.panel,.stat,.contact-card,.chapter-card{background:#fff;border-color:#d8dcd8;box-shadow:0 10px 28px rgba(28,34,37,.07)}
.path-card:nth-child(1){border-color:#c9d2b5;background:linear-gradient(180deg,#fff,#f7f9f3)}
.path-card:nth-child(2){border-color:#cbd2d7;background:linear-gradient(180deg,#fff,#f5f7f8)}
.path-card:nth-child(2) .tag{color:#596d7c}
.business-btn{background:#748748!important;border-color:#748748!important;color:#fff!important}
.business-outline{background:#f5f7f2!important;color:#506132!important;border-color:#aebd8d!important}
.private-btn{background:#3d4952!important;border-color:#3d4952!important;color:#fff!important}
.review{background:#fff;border-left-color:#748748;box-shadow:0 7px 20px rgba(28,34,37,.06)}
.footer{background:#e8eae5;border-top:1px solid #d0d4cf;color:#50595f}.footer b{color:#202427}.footer-logo{filter:none}
.field input,.field textarea,.field select{background:#fff;border-color:#cfd4d0;color:#171a1c}.choice{background:#fff;color:#171a1c;border-color:#d1d6d2}.choice.selected{background:#eef2e7;border-color:#7d914f}
.admin-nav,.admin-row{background:#fff;border-color:#d5dad6}.admin-nav button{color:#202427}.admin-nav button.active,.admin-nav button:hover{background:#eef0ec}.stat b{color:#65783f}.mini-table th{color:#65783f}
.wa-float{background:#21a65a;color:#fff}
.social-label{font-weight:700;color:#4b555b}
@media(max-width:850px){
 body{background:#f5f4ef}.topbar{background:#faf9f5}.hero{padding-top:30px}.hero h1{font-size:clamp(40px,11.2vw,58px)!important}.hero-visual{height:330px}.hero-chip{background:rgba(250,250,247,.92)!important}.logo{width:205px!important;max-height:70px!important}.nav-actions button{color:#202427!important}
}
.text-btn{border:0;background:transparent;color:#536447;font-weight:800;padding:10px 4px}.text-btn:hover{text-decoration:underline}.footer-link{color:#34434c;font-weight:800}.footer-link:hover{text-decoration:underline}
/* V2.3 auth flow: explicit login/register modes */
.auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 20px;padding:5px;background:#eef0eb;border:1px solid #d4d8cf;border-radius:14px}
.auth-mode{border:0;border-radius:10px;padding:12px 10px;background:transparent;color:#4b5358;font-weight:900;letter-spacing:.02em}
.auth-mode.active{background:#fff;color:#151719;box-shadow:0 3px 10px rgba(28,33,35,.08)}
.auth-panel .field input{background:#fff!important;color:#151719!important;border-color:#cbd1c7!important}
.auth-panel .field label{color:#5a6368!important}
.auth-panel .primary{background:#7d914f!important;color:#fff!important;border-color:#7d914f!important;opacity:1!important}
.auth-panel .primary.hidden{display:none!important}
.auth-panel .text-btn{color:#607b3f!important}

/* V2.6.2 — palette unificata verde petrolio + legal/WhatsApp polish */
:root{
 --olive:#54786d;
 --olive2:#41685d;
 --ok:#54786d;
 --petrol:#54786d;
 --petrol-dark:#41685d;
 --petrol-soft:#78988f;
 --petrol-pale:#e8efec;
}
.eyebrow,.tag,.olive-word,.chapter-card .price,.price,.stat b,.mini-table th{color:var(--petrol-dark)!important}
.primary,.business-btn,.auth-panel .primary{background:var(--petrol)!important;border-color:var(--petrol)!important;color:#fff!important}
.business-outline{background:#f3f7f5!important;color:var(--petrol-dark)!important;border-color:#9ab3ab!important}
.review{border-left-color:var(--petrol)!important}
.choice.selected{background:var(--petrol-pale)!important;border-color:var(--petrol)!important}
.progress span,.check i,.example-table tr.highlight td{background:var(--petrol)!important}
.slide-number,.slide h3 span,.formula span{color:var(--petrol)!important}
.formula{border-color:var(--petrol)!important}
.visual-metric b,.slide-foot span:first-child{color:#9ab7ae!important}
.badge{background:#e6eeeb!important;color:var(--petrol-dark)!important}
.auth-panel .text-btn,.text-btn{color:var(--petrol-dark)!important}
.auth-message.success{color:var(--petrol)!important}
.account-type.active[data-account-type="business"]{background:var(--petrol)!important;border-color:var(--petrol)!important}
.path-card:nth-child(1){border-color:#b8cbc5!important;background:linear-gradient(180deg,#fff,#f4f8f6)!important}
.path-card:nth-child(2){border-color:#cbd2d7!important;background:linear-gradient(180deg,#fff,#f5f7f8)!important}
.whatsapp-btn,.wa-float{background:var(--petrol)!important;color:#fff!important}
.whatsapp-btn{display:inline-flex;align-items:center;gap:8px}
.wa-mini{font-size:1.12em;line-height:1}
.wa-float{width:58px;height:58px;border:2px solid rgba(255,255,255,.88);box-shadow:0 12px 28px rgba(26,53,46,.28)}
.wa-icon{width:34px;height:34px;display:block}
.legal-page{min-height:55vh;padding:55px 0 72px}
.legal-copy{background:#fff;border:1px solid #d8dcd8;border-radius:20px;padding:24px;box-shadow:0 10px 28px rgba(28,34,37,.07);color:#394248}
.legal-copy p{color:#4e575d}
@media(max-width:850px){.wa-float{width:54px;height:54px;right:14px;bottom:84px}.wa-icon{width:31px;height:31px}.legal-page{padding:36px 0 56px}.legal-copy{padding:18px}}

/* ============================================================
   V3 PREMIUM INDUSTRIALE AUTOMOTIVE 5.0 — VISUAL RESTYLE
   Styling layer only: authentication, Supabase logic and data flow unchanged.
   ============================================================ */
:root{
  --amc-petrol:#4f7a70;
  --amc-petrol-hi:#6f9d90;
  --amc-petrol-deep:#31574f;
  --amc-ink:#0c1214;
  --amc-ink2:#11191c;
  --amc-card:#162126;
  --amc-card2:#1b292e;
  --amc-line:rgba(154,184,175,.20);
  --amc-white:#f7f7f3;
  --amc-muted:#aebbb8;
  --amc-gold:#c7a86a;
}
body{
  background:
    radial-gradient(circle at 12% 4%,rgba(79,122,112,.12),transparent 26%),
    linear-gradient(180deg,#0c1113 0%,#111719 52%,#0d1214 100%);
  color:var(--amc-white);
  font-family:"Manrope",Inter,system-ui,-apple-system,sans-serif;
  letter-spacing:-.012em;
}
h1,h2,h3{font-family:"Playfair Display",Georgia,serif;letter-spacing:-.025em;color:#fbfbf7}
h1{font-weight:700} h2,h3{font-weight:600}
p,.lead{color:#c4cfcd}.muted{color:#94a29f}.eyebrow,.tag{color:var(--amc-petrol-hi)!important;letter-spacing:.16em}
.topbar{background:rgba(8,13,15,.90)!important;border-bottom:1px solid rgba(126,163,153,.17)!important;box-shadow:0 14px 40px rgba(0,0,0,.27)!important;backdrop-filter:blur(18px)}
.nav{min-height:86px}.brand-btn{background:rgba(245,245,239,.96)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;padding:5px 9px!important}.logo{width:185px!important;max-height:64px!important}.nav-actions button{color:#f3f5f2!important;font-size:14px;font-weight:700;letter-spacing:.01em}.nav-actions button:hover{background:rgba(79,122,112,.16)!important;color:#fff!important}

/* Home hero */
#route-home{background:linear-gradient(180deg,rgba(9,14,16,.1),rgba(9,14,16,0))}
.hero{min-height:620px;padding:64px 22px 72px;gap:42px}.hero>div:first-child{max-width:620px}.hero h1{font-size:clamp(48px,5.9vw,76px);line-height:.98}.olive-word{color:var(--amc-petrol-hi)!important}.hero .lead{font-size:17px;line-height:1.75;max-width:620px}.hero-visual{height:500px;border-radius:24px;border:1px solid rgba(146,181,170,.30);box-shadow:0 28px 80px rgba(0,0,0,.50);position:relative}.hero-photo{background-image:linear-gradient(90deg,rgba(5,10,12,.05),rgba(5,10,12,.02)),url('assets/hypercar-workshop-v2.png')!important;background-position:51% center}.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(4,8,10,.66) 100%);pointer-events:none}.hero-chip{z-index:2;left:22px;right:22px;bottom:22px;background:rgba(10,17,19,.82)!important;border:1px solid rgba(151,188,177,.26)!important;backdrop-filter:blur(16px);box-shadow:0 16px 36px rgba(0,0,0,.32)}.hero-chip span{color:#8ab6a8!important}.hero-chip b{font-family:"Playfair Display",Georgia,serif;color:#fff!important}.hero-chip small{color:#b7c3c0!important}

/* Buttons */
.primary,.business-btn,.private-btn,.business-outline,.secondary,.whatsapp-btn{border-radius:10px!important;min-height:46px;padding:12px 18px!important;font-family:"Manrope",sans-serif;font-size:13px!important;letter-spacing:.025em;font-weight:800!important}
.primary,.business-btn{background:linear-gradient(135deg,#537f73,#3f685f)!important;border:1px solid #658f84!important;color:white!important;box-shadow:0 8px 22px rgba(37,82,70,.22)}
.private-btn{background:#19242a!important;border:1px solid #42565e!important;color:#f4f6f4!important}
.business-outline,.secondary{background:rgba(20,30,34,.68)!important;border:1px solid rgba(116,156,145,.34)!important;color:#edf2ef!important}
.primary:hover,.business-btn:hover,.private-btn:hover,.business-outline:hover,.secondary:hover{transform:translateY(-1px);filter:brightness(1.08)}

/* Premium content cards */
.section{padding:72px 0;border-top:1px solid rgba(124,153,146,.12)!important}.section-head{gap:40px}.section-head h2{font-size:clamp(34px,4vw,50px)}
.path-card,.panel,.stat,.contact-card,.chapter-card,.legal-copy,.admin-row{background:linear-gradient(145deg,rgba(24,35,39,.96),rgba(17,26,29,.96))!important;border:1px solid var(--amc-line)!important;color:#f5f7f4!important;box-shadow:0 18px 46px rgba(0,0,0,.22)!important;border-radius:18px!important}
.path-card:nth-child(1),.path-card:nth-child(2){background:linear-gradient(145deg,rgba(22,34,37,.97),rgba(14,22,25,.97))!important;border-color:var(--amc-line)!important}.path-card p,.panel p,.contact-card p,.chapter-card p,.legal-copy p{color:#b5c0be!important}.path-card{padding:28px!important}.path-card h3{font-size:28px}.contact-card{padding:26px!important}.review{background:#131d20!important;color:#d7dfdd!important;border-left:3px solid var(--amc-petrol)!important}

/* Visual page headers: distinct framing while reusing verified local assets */
.page-hero-visual{position:relative;overflow:hidden;max-width:1180px;margin-top:34px;margin-bottom:28px;padding:70px 52px!important;min-height:400px;border:1px solid rgba(131,169,158,.25);border-radius:24px;box-shadow:0 28px 70px rgba(0,0,0,.34);isolation:isolate}
.page-hero-visual::before{content:"";position:absolute;z-index:-2;inset:0;background-size:cover;background-position:center}.page-hero-visual::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(5,10,12,.93) 0%,rgba(7,13,15,.75) 48%,rgba(7,13,15,.24) 100%)}
.page-hero-visual h1,.page-hero-visual p,.page-hero-visual .eyebrow{max-width:680px}.page-hero-visual h1{font-size:clamp(46px,6vw,72px)}
.business-hero::before,.training-hero::before{background-image:url('assets/hypercar-workshop-v2.png');background-position:54% 48%}
.consulting-hero::before{background-image:url('assets/hypercar-workshop.png');background-position:64% 52%;filter:saturate(.72) contrast(1.05)}
.private-hero::before,.cma-hero::before{background-image:url('assets/hypercar-workshop-v2.png');background-position:28% 50%;filter:saturate(.55) brightness(.85)}
#route-private .page-hero-visual::after,#route-cma .page-hero-visual::after{background:linear-gradient(90deg,rgba(7,13,15,.94),rgba(8,14,16,.70) 53%,rgba(8,14,16,.18))}

/* Account */
.account-shell{padding-top:54px;padding-bottom:74px}.auth-panel{max-width:720px;margin:0 auto}.auth-mode-tabs{background:#0f171a!important;border-color:rgba(120,155,145,.22)!important}.auth-mode{color:#9eadaa!important}.auth-mode.active{background:#1b2a2e!important;color:#fff!important;box-shadow:none!important}.auth-panel .field input,.field input,.field textarea,.field select{background:#0e1719!important;border-color:rgba(132,166,157,.26)!important;color:#f4f6f3!important}.auth-panel .field label,.field label{color:#aab6b3!important}

/* Admin becomes a true control room */
.admin-route{background:radial-gradient(circle at 80% 0,rgba(73,116,105,.14),transparent 28%),#0b1113;min-height:100vh}.admin-hero{margin-top:28px;padding:48px 34px;border:1px solid rgba(126,161,152,.21);border-radius:22px;background:linear-gradient(110deg,rgba(16,25,28,.98),rgba(13,21,24,.86)),url('assets/hypercar-workshop.png');background-size:cover;background-position:center 38%;box-shadow:0 22px 70px rgba(0,0,0,.34)}.admin-hero h1{font-size:clamp(42px,5vw,64px);max-width:770px}.admin-layout{padding-top:24px;padding-bottom:80px}.admin-nav{background:#10191c!important;border:1px solid var(--amc-line)!important;border-radius:14px!important;display:flex!important;gap:6px!important;padding:7px!important;overflow-x:auto!important;scrollbar-width:none}.admin-nav::-webkit-scrollbar{display:none}.admin-nav button{flex:0 0 auto!important;color:#aebbb8!important;background:transparent!important;border-radius:9px!important;font-size:13px!important;padding:10px 14px!important;white-space:nowrap}.admin-nav button.active,.admin-nav button:hover{background:linear-gradient(135deg,#365e55,#284a43)!important;color:#fff!important}.stat{min-height:128px}.stat span{color:#92a09d!important}.stat b{color:#e8f0ed!important;font-size:40px}.mini-table{color:#dbe2df!important}.mini-table td{border-color:rgba(123,155,146,.13)!important}.mini-table th{color:#84aa9f!important}.admin-layout .panel h3{font-size:26px}

/* Footer */
.footer{background:#090f11!important;border-top:1px solid rgba(124,156,147,.16)!important;color:#96a4a0!important}.footer b{color:#eff3f0!important}.footer button,.footer-link{color:#b7c1be!important}.footer-logo{background:#f2f2ed;border-radius:12px;padding:7px}

/* WhatsApp: compact, elegant, non-invasive */
.whatsapp-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:0!important;padding:10px 14px!important;font-size:12.5px!important;line-height:1.25!important;white-space:nowrap!important;background:#315f55!important;border:1px solid #4b7d70!important}.wa-mini{font-size:14px!important}.wa-float{width:48px!important;height:48px!important;background:#315f55!important;border:1px solid rgba(228,239,235,.68)!important;box-shadow:0 10px 24px rgba(0,0,0,.32)!important}.wa-icon{width:25px!important;height:25px!important}

@media(max-width:850px){
 body{background:#0c1214!important}
 .topbar{position:sticky!important;top:0!important}.nav{padding:8px 14px 10px!important;display:grid!important;grid-template-columns:1fr!important}.brand-btn{width:auto!important;justify-content:flex-start!important;justify-self:start}.logo{width:160px!important;max-height:55px!important}.nav-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:2px!important}.nav-actions button{font-size:13px!important;padding:9px 5px!important;white-space:nowrap}
 .hero{display:block!important;min-height:0;padding:38px 18px 54px!important}.hero h1{font-size:clamp(44px,12.6vw,62px)!important}.hero .lead{font-size:16px!important}.hero-visual{height:380px!important;margin-top:28px!important;border-radius:18px!important}.hero-chip{left:12px!important;right:12px!important;bottom:12px!important;padding:14px!important}.hero-chip b{font-size:23px!important}
 .section{padding:52px 0!important}.container{padding-left:18px!important;padding-right:18px!important}.section-head{display:block!important}.section-head p{margin-top:14px}.path-grid,.grid-2,.grid-3{grid-template-columns:1fr!important}
 .page-hero-visual{margin:18px 14px 24px!important;padding:46px 24px!important;min-height:430px!important;border-radius:18px!important}.page-hero-visual h1{font-size:clamp(42px,12vw,58px)!important}.page-hero-visual::after{background:linear-gradient(180deg,rgba(6,11,13,.76),rgba(6,11,13,.90))!important}.business-hero::before,.training-hero::before{background-position:62% center}.consulting-hero::before{background-position:58% center}.private-hero::before,.cma-hero::before{background-position:46% center}
 .whatsapp-btn{width:auto!important;max-width:100%!important;font-size:11.5px!important;padding:9px 11px!important}.wa-float{width:45px!important;height:45px!important;right:12px!important;bottom:78px!important}.wa-icon{width:23px!important;height:23px!important}
 .admin-hero{margin:18px 14px 0!important;padding:38px 22px!important;border-radius:18px!important}.admin-layout{padding:18px 14px 70px!important}.admin-nav{position:sticky;top:118px;z-index:20}.admin-nav button{font-size:12px!important;padding:9px 11px!important}.stat{min-height:110px}.stat b{font-size:34px!important}
 .footer-grid{grid-template-columns:1fr!important;gap:28px!important}
}

/* ============================================================
   AMC V2.8 — LIGHT PETROL PREMIUM AUTOMOTIVE 5.0
   Visual-only evolution: authentication/Supabase/admin logic untouched.
   ============================================================ */
:root{
 --bg:#f4f5f1;--panel:#ffffff;--panel2:#edf2ef;--text:#151a1c;--muted:#64706f;
 --line:#d9e1dd;--olive:#47786d;--olive2:#6d9a8e;--amc-petrol:#47786d;
 --amc-petrol-hi:#5f9084;--amc-petrol-deep:#294f47;--amc-line:rgba(55,101,90,.18)
}
body{background:linear-gradient(180deg,#f7f7f3 0%,#f1f3ef 100%)!important;color:var(--text)!important;font-family:"Manrope",Inter,ui-sans-serif,system-ui,-apple-system,sans-serif!important}
h1,h2,h3{font-family:"Playfair Display",Georgia,serif!important;color:#121719!important;letter-spacing:-.025em!important}
p,.lead{color:#566160!important}.eyebrow,.tag{color:var(--amc-petrol)!important}

/* Header: white, centered identity, less visual weight */
.topbar{background:rgba(255,255,252,.96)!important;border-bottom:1px solid #dfe5e1!important;box-shadow:0 8px 28px rgba(25,49,43,.06)!important}
.nav{min-height:112px!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:4px!important;padding-top:10px!important;padding-bottom:8px!important}
.brand-btn{justify-self:center!important;background:transparent!important}.logo{width:220px!important;max-height:72px!important;object-position:center!important}
.nav-actions{margin:0!important;width:min(620px,100%)!important;display:flex!important;justify-content:space-around!important;gap:8px!important}
.nav-actions button{color:#202628!important;background:transparent!important;font-weight:800!important}.nav-actions button:hover{background:#edf3f0!important;color:var(--amc-petrol-deep)!important}

/* Home: light editorial panel + strong automotive image */
#route-home{background:transparent!important}.hero{min-height:590px!important;padding-top:46px!important;padding-bottom:56px!important}
.hero h1{color:#121719!important}.olive-word{color:var(--amc-petrol)!important}.hero .lead{color:#53605e!important}
.hero-visual{border-color:#d3ddd8!important;box-shadow:0 24px 60px rgba(25,48,43,.16)!important}
.hero-chip{background:rgba(18,31,34,.82)!important;color:#fff!important}.hero-chip small{color:#d7dfdc!important}

/* Light premium cards */
.section{border-top:1px solid #e1e6e2!important}.path-card,.panel,.stat,.contact-card,.chapter-card,.admin-row{background:rgba(255,255,255,.94)!important;border:1px solid #d8e0dc!important;color:#172022!important;box-shadow:0 14px 34px rgba(31,58,50,.07)!important}
.path-card p,.panel p,.contact-card p,.chapter-card p{color:#65706f!important}.path-card{position:relative;overflow:hidden}
.path-card::after{content:"";position:absolute;right:-30px;bottom:-35px;width:190px;height:135px;background:url('assets/hypercar-workshop-v2.png') center/cover no-repeat;border-radius:90px 0 0 0;opacity:.13;filter:saturate(.55)}
.review{background:#fff!important;color:#52605d!important;border-left-color:var(--amc-petrol)!important;box-shadow:0 8px 22px rgba(31,58,50,.05)!important}

/* Buttons */
.primary,.business-btn{background:linear-gradient(135deg,#4e8074,#3d6d62)!important;border-color:#47786d!important;color:#fff!important}
.private-btn{background:#23383d!important;border-color:#36545a!important;color:#fff!important}.business-outline,.secondary{background:#fff!important;border:1px solid #87a99f!important;color:#315f55!important}.business-outline:hover,.secondary:hover{background:#edf4f1!important}

/* Internal pages: visual automotive hero on every main route */
.page-hero-visual{color:#fff!important;border-color:rgba(56,91,83,.18)!important;box-shadow:0 24px 56px rgba(24,45,40,.16)!important}
.page-hero-visual h1{color:#fff!important}.page-hero-visual p{color:#e2e9e6!important}.page-hero-visual .eyebrow{color:#a9d0c5!important}
.business-hero::before,.training-hero::before{background-image:url('assets/hypercar-workshop-v2.png')!important}
.consulting-hero::before{background-image:url('assets/hypercar-workshop-v2.png')!important;background-position:72% 50%!important;filter:saturate(.6) brightness(.8)}
.private-hero::before,.cma-hero::before{background-image:url('assets/hypercar-workshop-v2.png')!important;background-position:28% 50%!important;filter:saturate(.55) brightness(.8)}

/* Forms */
.auth-mode-tabs{background:#edf2ef!important;border-color:#d7e0dc!important}.auth-mode{color:#64716e!important}.auth-mode.active{background:#dfeae6!important;color:#234f46!important}
.auth-panel .field input,.field input,.field textarea,.field select{background:#fff!important;border-color:#cfdad5!important;color:#182022!important}.auth-panel .field label,.field label{color:#66726f!important}.choice{background:#fff!important;color:#26302f!important;border-color:#d2dcd7!important}.choice.selected{background:#e6f0ec!important;border-color:#6f9d90!important}

/* Admin: light control room, still dense/professional */
.admin-route{background:radial-gradient(circle at 80% 0,rgba(78,128,116,.10),transparent 28%),#f2f4f0!important}.admin-hero{background:linear-gradient(100deg,rgba(19,34,36,.94),rgba(22,43,42,.72)),url('assets/hypercar-workshop-v2.png')!important;background-size:cover!important;background-position:center 42%!important}.admin-hero h1{color:#fff!important}.admin-hero .lead{color:#d9e4e0!important}.admin-nav{background:#fff!important;border-color:#d6dfdb!important;box-shadow:0 10px 28px rgba(31,58,50,.07)!important}.admin-nav button{color:#53615e!important}.admin-nav button.active,.admin-nav button:hover{background:#dfeae6!important;color:#244f46!important}.stat span{color:#6c7775!important}.stat b{color:#35695e!important}.mini-table{color:#303a39!important}.mini-table td{border-color:#e0e5e2!important}.mini-table th{color:#47786d!important}

/* Footer: logo centered on white, then information */
.footer{background:#eef1ed!important;border-top:1px solid #d8dfdb!important;color:#5e6a67!important;padding-top:30px!important}.footer-grid{grid-template-columns:1fr 1fr 1fr!important;position:relative!important;padding-top:105px!important}.footer-grid>div:first-child{align-items:center!important;text-align:center!important}.footer-logo{position:absolute!important;top:0!important;left:50%!important;transform:translateX(-50%)!important;width:210px!important;max-height:88px!important;object-fit:contain!important;background:#fff!important;border:1px solid #dce3df!important;border-radius:14px!important;padding:8px!important;box-shadow:0 10px 25px rgba(31,58,50,.06)!important}.footer b{color:#1e2927!important}.footer button,.footer-link{color:#53615e!important}

/* Legal */
.legal-page{background:#f4f5f1!important}.legal-copy{background:#fff!important;color:#4f5b59!important;border:1px solid #d9e1dd!important;border-radius:18px!important;padding:24px!important;box-shadow:0 12px 30px rgba(31,58,50,.06)!important}

/* WhatsApp: petrol, compact */
.whatsapp-btn,.wa-float{background:#47786d!important;border-color:#739c91!important}.wa-float{box-shadow:0 10px 24px rgba(29,65,57,.20)!important}

@media(max-width:850px){
 body{background:#f4f5f1!important}
 .nav{padding:8px 14px 10px!important;grid-template-columns:1fr!important;justify-items:center!important}.brand-btn{justify-self:center!important}.logo{width:190px!important;max-height:66px!important}.nav-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important}.nav-actions button{color:#202628!important;font-size:13px!important}
 .hero{padding:34px 18px 48px!important}.hero h1{font-size:clamp(42px,11.8vw,58px)!important}.hero-visual{height:360px!important}
 .page-hero-visual{margin:18px 14px 24px!important;min-height:390px!important}.page-hero-visual::after{background:linear-gradient(180deg,rgba(12,24,25,.62),rgba(10,22,23,.88))!important}
 .footer-grid{grid-template-columns:1fr!important;padding-top:110px!important;gap:24px!important}.footer-grid>div{align-items:center!important;text-align:center!important}.footer-logo{width:190px!important}
 .admin-nav{background:#fff!important;top:118px!important}
}

/* AMC V2.9 — Admin Control Room */
.admin-layout{display:block!important}
.admin-nav{margin-bottom:22px!important;display:flex!important;align-items:center!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.admin-nav button{scroll-snap-align:start;min-height:44px!important}
.admin-loading{min-height:140px;display:grid;place-items:center}
.admin-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.admin-welcome h2,.admin-section-title h2,.admin-split h2{margin:4px 0 6px;font-size:clamp(26px,4vw,38px);line-height:1.05}
.admin-live{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#2d6257;background:#e1eee9;border:1px solid #c9ded6;border-radius:999px;padding:8px 11px;white-space:nowrap}.admin-live i{width:8px;height:8px;border-radius:50%;background:#37a573;box-shadow:0 0 0 5px rgba(55,165,115,.12)}
.admin-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}.admin-kpi-grid.mini{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-kpi{position:relative;text-align:left;border:1px solid #d8e2dd;background:#fff;border-radius:18px;padding:20px;min-height:150px;color:#263230;box-shadow:0 14px 34px rgba(31,58,50,.06);cursor:pointer}.admin-kpi:hover{transform:translateY(-1px);box-shadow:0 16px 36px rgba(31,58,50,.09)}.admin-kpi span{display:block;color:#6c7775;font-size:14px}.admin-kpi b{display:block;margin:10px 0 6px;color:#35695e;font-size:clamp(30px,3vw,42px);line-height:1}.admin-kpi small{display:block;color:#78837f;font-size:12px;line-height:1.35;padding-right:20px}.admin-kpi i{position:absolute;right:16px;bottom:14px;font-style:normal;color:#35695e;font-size:22px}
.admin-quick-panel{margin-top:0}.admin-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.admin-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-quick{position:relative;text-align:left;border:1px solid #d9e3de;background:#f9fbfa;border-radius:16px;padding:18px;color:#202b29;min-height:140px;cursor:pointer}.admin-quick-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e4efeb;color:#315e55;font-weight:800;margin-bottom:14px}.admin-quick b,.admin-quick small{display:block}.admin-quick b{font-size:17px;margin-bottom:6px}.admin-quick small{color:#73807d;line-height:1.4;padding-right:22px}.admin-quick i{position:absolute;right:16px;bottom:15px;font-style:normal;color:#35695e}
.admin-card-list{display:grid;gap:10px}.admin-card-list.compact-list{margin-top:16px}.admin-user-card,.admin-request-card,.admin-simple-row,.admin-review-card{border:1px solid #dce4e0;background:#fbfcfb;border-radius:15px;padding:15px}.admin-user-card{display:flex;align-items:center;gap:13px}.admin-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#dfece7;color:#2b5e53;font-weight:900}.admin-user-main{min-width:0;flex:1}.admin-user-main b,.admin-user-main span,.admin-user-main small{display:block}.admin-user-main b{font-size:16px}.admin-user-main span{font-size:13px;color:#64716e;overflow:hidden;text-overflow:ellipsis}.admin-user-main small{font-size:11px;color:#89938f;margin-top:3px}.admin-badge,.admin-status{border-radius:999px;padding:7px 9px;font-size:10px;font-weight:900;letter-spacing:.04em;white-space:nowrap}.admin-badge.admin,.admin-status.ok{background:#dcece6;color:#2f6256}.admin-badge.business{background:#e9ece6;color:#586752}.admin-badge.private{background:#edf1f4;color:#536574}.admin-status.off{background:#f0f1ef;color:#7b817e}
.admin-request-card p,.admin-review-card p{margin:12px 0;color:#5d6966;line-height:1.5}.admin-request-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.admin-request-top b,.admin-request-top span,.admin-request-top small{display:block}.admin-request-top span{font-size:13px;color:#677471}.admin-request-top small{font-size:11px;color:#89938f;margin-top:3px}.admin-status-select{max-width:170px;background:#eef4f1;border:1px solid #d0dfd9;color:#2e5c52;border-radius:10px;padding:9px 10px;font-weight:700}.admin-simple-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.admin-simple-row b,.admin-simple-row span{display:block}.admin-simple-row div>span{font-size:12px;color:#78827f;margin-top:3px}.admin-review-card>div{display:flex;justify-content:space-between;gap:12px}.admin-stars{color:#487a6e;letter-spacing:2px}.admin-empty{padding:24px;border:1px dashed #cad6d1;border-radius:14px;text-align:center;color:#71807b;background:#f8faf9}.admin-error{color:#a54848;background:#fff0f0;border:1px solid #efd0d0;padding:10px 12px;border-radius:10px}.admin-form-separator{height:1px;background:#e2e7e4;margin:22px 0}.admin-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.primary.compact,.secondary.compact{padding:10px 13px!important;font-size:12px!important;min-height:40px!important}
@media(max-width:900px){.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-kpi-grid .admin-kpi:last-child{grid-column:1/-1}.admin-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-split{grid-template-columns:1fr}}
@media(max-width:620px){.admin-hero{display:none!important}.admin-layout{padding-top:14px!important}.admin-nav{position:sticky!important;top:0!important;margin:0 -14px 16px!important;padding:9px 14px!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:0 8px 20px rgba(31,58,50,.08)!important}.admin-nav button{font-size:13px!important;padding:10px 13px!important}.admin-kpi-grid,.admin-kpi-grid.mini,.admin-quick-grid{grid-template-columns:1fr!important}.admin-kpi-grid .admin-kpi:last-child{grid-column:auto}.admin-kpi{min-height:116px;padding:17px}.admin-quick{min-height:114px}.admin-section-title{align-items:center}.admin-user-card{align-items:flex-start}.admin-request-top,.admin-simple-row.stacked-mobile{flex-direction:column}.admin-status-select{width:100%;max-width:none}.admin-split{grid-template-columns:1fr}.admin-welcome{align-items:flex-start}.admin-live{margin-top:2px}.mini-table{display:block;overflow-x:auto}.admin-route .container{width:100%!important}.admin-card-list{gap:9px}}

/* AMC V3.0 — Admin Statistics, Margins & Excel */
.admin-layout-single{display:block!important;max-width:1120px!important}.admin-layout-single>#adminContent{width:100%}.admin-nav{display:none!important}
.admin-segment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}.admin-segment-card{position:relative;text-align:left;border:1px solid #d6e1dc;background:#fff;border-radius:18px;padding:18px;color:#23302d;box-shadow:0 12px 30px rgba(31,58,50,.06)}.admin-segment-card>strong{display:block;font-size:18px;margin-bottom:14px}.admin-segment-card>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.admin-segment-card span{display:block;background:#f1f5f3;border-radius:11px;padding:10px}.admin-segment-card small{display:block;color:#73807d;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.admin-segment-card b{display:block;color:#35695e;font-size:24px;margin-top:3px}.admin-segment-card>i{position:absolute;right:14px;top:14px;font-style:normal;color:#4f8175;font-size:20px}
.admin-section-shell{margin-bottom:14px}.admin-back{border:0;background:transparent;color:#47786d;padding:0 0 9px;font-weight:800}.admin-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.admin-filter-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px}.admin-filter-summary button{border:1px solid #d8e2dd;background:#fff;border-radius:16px;padding:15px;text-align:left;color:#596663}.admin-filter-summary button.active{background:#e1ece8;border-color:#a9c7bd;color:#274f47}.admin-filter-summary span,.admin-filter-summary b{display:block}.admin-filter-summary span{font-size:12px}.admin-filter-summary b{font-size:28px;margin-top:5px;color:#35695e}
.admin-chart{margin-bottom:14px}.bar-chart{display:grid;gap:11px;margin-top:16px}.bar-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(130px,3fr) auto;align-items:center;gap:12px}.bar-row>span{font-size:13px;color:#65726f}.bar-row>b{font-size:13px;color:#315f55;min-width:50px;text-align:right}.bar-track{height:11px;background:#edf2ef;border-radius:999px;overflow:hidden}.bar-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#47786d,#77a397)}
.service-price-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:center;margin-bottom:14px}.service-price-strip>div{background:#f3f6f4;border:1px solid #e0e7e3;border-radius:13px;padding:12px}.service-price-strip span,.service-price-strip b{display:block}.service-price-strip span{font-size:11px;color:#72807c}.service-price-strip b{color:#35695e;font-size:19px;margin-top:3px}
.economics-card{margin-bottom:14px}.economics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}.mdc-box{background:#e3efeb;border:1px solid #c6ddd5;border-radius:13px;padding:13px;min-height:70px;display:flex;flex-direction:column;justify-content:center}.mdc-box span{font-size:11px;color:#668078}.mdc-box b{color:#2f6559;font-size:24px}.economics-row{border:1px solid #dde6e2;background:#fbfcfb;border-radius:15px;padding:15px;margin-top:10px}.economics-row>div:first-child{margin-bottom:8px}.economics-row>div:first-child b,.economics-row>div:first-child span{display:block}.economics-row>div:first-child span{font-size:12px;color:#7b8582;margin-top:3px}
.margin-table{display:grid;gap:9px;margin-top:14px}.margin-table>div{display:grid;grid-template-columns:minmax(160px,1fr) auto;gap:6px 15px;padding:13px 14px;background:#f7f9f8;border:1px solid #e0e7e3;border-radius:13px}.margin-table span{font-weight:800;color:#263330}.margin-table b{color:#35695e;font-size:20px}.margin-table small{grid-column:1/-1;color:#7a8582}
@media(max-width:780px){.admin-segment-grid{grid-template-columns:1fr}.admin-filter-summary{grid-template-columns:repeat(3,1fr)}.service-price-strip{grid-template-columns:repeat(2,1fr)}.service-price-strip>button{grid-column:1/-1}.economics-grid{grid-template-columns:1fr 1fr}.bar-row{grid-template-columns:90px 1fr auto}.admin-head-actions{justify-content:flex-start}}
@media(max-width:520px){.admin-filter-summary{gap:7px}.admin-filter-summary button{padding:12px 10px}.admin-filter-summary b{font-size:23px}.economics-grid{grid-template-columns:1fr}.bar-row{grid-template-columns:1fr}.bar-row>b{text-align:left}.service-price-strip{grid-template-columns:1fr 1fr}.margin-table>div{grid-template-columns:1fr}.margin-table small{grid-column:auto}}

/* AMC V3.1 — Executive Statistics & clean Admin navigation */
.admin-quick-grid-clean{grid-template-columns:repeat(3,minmax(0,1fr))}
.stats-filter-panel{margin-bottom:16px;padding:20px!important}
.stats-filter-head{margin-bottom:12px!important}
.stats-presets{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.stats-presets button{border:1px solid #d5e1dc;background:#fff;color:#53635f;border-radius:999px;padding:9px 13px;font-size:11px;font-weight:850;letter-spacing:.03em}
.stats-presets button.active{background:#3f7468;color:#fff;border-color:#3f7468}
.stats-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:end}
.stats-client-field{grid-column:span 2}
.stats-context{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.stats-context span{display:inline-flex;gap:6px;align-items:center;background:#eef4f1;border:1px solid #d7e4de;border-radius:999px;padding:8px 11px;color:#6c7a76;font-size:11px}
.stats-context b{color:#315f55}
.stats-kpi-pro{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.stats-kpi-pro>div{background:#fff;border:1px solid #d9e3de;border-radius:18px;padding:17px;box-shadow:0 12px 28px rgba(31,58,50,.055)}
.stats-kpi-pro span,.stats-kpi-pro b,.stats-kpi-pro small{display:block}.stats-kpi-pro span{color:#6d7a76;font-size:12px}.stats-kpi-pro b{font-size:clamp(27px,3vw,39px);color:#35695e;margin:7px 0 5px;line-height:1}.stats-kpi-pro small{font-size:11px;color:#87918e;line-height:1.35}
.stats-chart-pro{margin-bottom:16px;padding:19px!important;overflow:hidden}.stats-chart-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.stats-chart-title h3{margin:4px 0 0;font-size:24px}.chart-legend{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.chart-legend span{position:relative;padding-left:14px;color:#697571;font-size:11px}.chart-legend span:before{content:"";position:absolute;left:0;top:4px;width:8px;height:8px;border-radius:50%}.chart-legend .rev:before{background:#35695e}.chart-legend .cost:before{background:#bf8a5d}.chart-legend .margin:before{background:#82a98e}
.chart-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:8px}.finance-chart{width:100%;min-width:700px;height:auto;display:block}.finance-chart text{font-size:10px;fill:#77827f;font-family:inherit}.finance-chart .gridline{stroke:#e4ebe7;stroke-width:1}.finance-chart path{fill:none;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.line-revenue{stroke:#35695e}.line-cost{stroke:#bf8a5d}.line-margin{stroke:#82a98e}.finance-chart .point{stroke:#fff;stroke-width:2}.point.revenue{fill:#35695e}.point.cost{fill:#bf8a5d}.point.margin{fill:#82a98e}.finance-chart .x-label{font-size:9px}
.stats-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.stats-table-panel{padding:18px!important}.stats-table-panel h3{margin:4px 0 14px;font-size:22px}.pro-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.pro-table{width:100%;border-collapse:separate;border-spacing:0;min-width:650px;font-size:12px}.pro-table th{position:sticky;top:0;background:#eef4f1;color:#52645f;text-align:left;padding:10px;border-bottom:1px solid #d8e3de;white-space:nowrap}.pro-table td{padding:10px;border-bottom:1px solid #e7ece9;color:#626f6b;vertical-align:top}.pro-table tbody tr:hover{background:#f8faf9}.pro-table b{color:#315f55}.services-cell{max-width:260px;line-height:1.4}.stats-daily{margin-bottom:18px}
@media(max-width:1000px){.stats-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-client-field{grid-column:span 1}.stats-two-col{grid-template-columns:1fr}.admin-quick-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.stats-filter-panel{padding:15px!important}.stats-filter-grid{grid-template-columns:1fr 1fr}.stats-client-field{grid-column:1/-1}.stats-kpi-pro{grid-template-columns:1fr 1fr}.stats-chart-title{display:block}.chart-legend{justify-content:flex-start;margin-top:10px}.admin-quick-grid-clean{grid-template-columns:1fr}.stats-context{gap:6px}.stats-context span{max-width:100%;white-space:normal}.stats-presets{gap:6px}.stats-presets button{flex:1 1 auto}.pro-table{min-width:720px}}
@media(max-width:430px){.stats-filter-grid{grid-template-columns:1fr}.stats-client-field{grid-column:auto}.stats-kpi-pro{grid-template-columns:1fr}.finance-chart{min-width:640px}}
\n\n/* AMC V3.2 — leggibilità servizi + nomenclatura commerciale */
#route-home .path-grid .path-card{position:relative;isolation:isolate;overflow:hidden;background:#142326!important;border-color:#31564f!important;color:#fff!important}
#route-home .path-grid .path-card::before{content:"";position:absolute;z-index:-2;inset:0;background:url('assets/hypercar-workshop-v2.png') center/cover no-repeat;filter:saturate(.55) brightness(.62)}
#route-home .path-grid .path-card::after{content:"";position:absolute;z-index:-1;inset:0;width:auto;height:auto;right:0;bottom:0;border-radius:0;background:linear-gradient(180deg,rgba(10,23,25,.76),rgba(9,21,23,.94))!important;opacity:1!important;filter:none!important}
#route-home .path-grid .path-card h3{color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.35)}
#route-home .path-grid .path-card p{color:#e4ece9!important;text-shadow:0 1px 10px rgba(0,0,0,.28)}
#route-home .path-grid .path-card .tag{color:#8fc2b5!important}
#route-home .path-grid .path-card button{position:relative;z-index:2}
@media(max-width:650px){#route-home .path-grid .path-card{min-height:390px!important;padding:34px 28px!important}#route-home .path-grid .path-card h3{font-size:clamp(34px,10vw,48px)!important;line-height:1.02!important}#route-home .path-grid .path-card p{font-size:17px!important;line-height:1.65!important}}

/* AMC V3.3 — home service cards: contrast lock */
#route-home .path-grid .path-card::before{filter:saturate(.42) brightness(.42)!important}
#route-home .path-grid .path-card::after{background:linear-gradient(180deg,rgba(7,19,21,.84),rgba(6,17,19,.96))!important}
#route-home .path-grid .path-card h3{color:#ffffff!important;opacity:1!important}
#route-home .path-grid .path-card p{color:#f0f5f3!important;opacity:1!important}
#route-home .path-grid .path-card .tag{color:#9bcabc!important;opacity:1!important}

/* AMC V3.4 — Area Aziende service cards: automotive visual + readability lock */
#route-business .path-grid .path-card{position:relative;isolation:isolate;overflow:hidden;background:#142326!important;border-color:#31564f!important;color:#fff!important;min-height:360px}
#route-business .path-grid .path-card::before{content:"";position:absolute;z-index:-2;inset:0;background:url('assets/hypercar-workshop-v2.png') center/cover no-repeat;filter:saturate(.48) brightness(.54)!important}
#route-business .path-grid .path-card::after{content:"";position:absolute;z-index:-1;inset:0;width:auto;height:auto;right:0;bottom:0;border-radius:0;background:linear-gradient(180deg,rgba(7,20,22,.70) 0%,rgba(7,19,21,.84) 58%,rgba(6,17,19,.94) 100%)!important;opacity:1!important;filter:none!important}
#route-business .path-grid .path-card h3{color:#fff!important;opacity:1!important;text-shadow:0 2px 14px rgba(0,0,0,.38)}
#route-business .path-grid .path-card p{color:#f0f5f3!important;opacity:1!important;text-shadow:0 1px 10px rgba(0,0,0,.32)}
#route-business .path-grid .path-card .tag{color:#9bcabc!important;opacity:1!important}
#route-business .path-grid .path-card button{position:relative;z-index:2}
@media(max-width:650px){#route-business .path-grid .path-card{min-height:390px!important;padding:34px 28px!important}#route-business .path-grid .path-card h3{font-size:clamp(34px,10vw,48px)!important;line-height:1.02!important}#route-business .path-grid .path-card p{font-size:17px!important;line-height:1.65!important}}
\n/* AMC V3.5 — CMA workflow, admin drill-down, training progression */
.amc-modal{position:fixed;inset:0;z-index:9999;background:rgba(8,18,19,.68);display:grid;place-items:center;padding:18px}.amc-modal.hidden{display:none!important}.amc-modal-card{position:relative;width:min(560px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:24px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.28)}.amc-modal-card.wide{width:min(820px,100%)}.modal-x{position:absolute;right:16px;top:14px;border:0;background:#edf3f0;width:38px;height:38px;border-radius:50%;font-size:25px}.cma-history{margin-top:18px}.cma-history-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #e5ebe8}.cma-history-row strong{font-size:11px;color:#35695e;background:#e6f0ec;border-radius:999px;padding:7px 9px}.admin-user-clickable{cursor:pointer}.admin-user-clickable:hover{border-color:#9bbdb4;background:#f5faf8}.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.answer-grid>div{background:#f2f6f4;border:1px solid #e0e8e4;border-radius:12px;padding:12px}.answer-grid small,.answer-grid b{display:block}.answer-grid small{color:#74817d;font-size:11px;margin-bottom:4px}.answer-grid b{font-size:14px;color:#293633}.cma-analytics{margin:14px 0}.cma-filter-controls{margin:14px 0}.topic-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.topic-chips span{background:#e7f0ec;color:#315f55;border:1px solid #d2e2dc;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:750}.lesson-top{display:block!important}.lesson-top h2{margin-bottom:8px}.scene-nav{display:none!important}@media(max-width:620px){.answer-grid{grid-template-columns:1fr}.cma-history-row{grid-template-columns:1fr auto}.cma-history-row strong{grid-column:1/-1;width:max-content}.amc-modal-card{padding:22px 18px}.topic-chips span{font-size:11px}}\n
.video-lock{padding:22px;border:1px solid #d7e3de;background:#f1f6f4;border-radius:14px;color:#48635c;font-weight:750;line-height:1.45}


/* AMC V3.6 stability + access gates */
.auth-intent{margin-bottom:14px;padding:14px 16px;border-radius:14px;background:#e7f0ec;border:1px solid #b9d2ca;color:#244f46;font-weight:800;line-height:1.4}
.auth-message{min-height:24px;margin-top:12px;font-weight:750;color:#43504d!important}
.auth-message.loading{color:#315f55!important}.auth-message.success{color:#2c6b58!important}.auth-message.error{color:#a43f36!important}
.training-auth-cta{max-width:760px;margin:12px auto 56px;text-align:left}
.training-auth-cta h2{margin:8px 0 10px}.training-auth-cta p{font-size:16px;line-height:1.55}
.home-showreel{border-radius:24px;overflow:hidden;border:1px solid #d5dfdb;box-shadow:0 24px 60px rgba(27,45,42,.12);background:#101516}
.home-showreel-poster{min-height:360px;background:linear-gradient(90deg,rgba(8,13,14,.78),rgba(8,13,14,.25)),url('assets/hypercar-workshop-v2.png') center/cover no-repeat;position:relative}
.showreel-copy{position:absolute;left:34px;bottom:34px;display:flex;flex-direction:column;gap:6px;color:#fff;max-width:420px}.showreel-copy span{font-size:12px;letter-spacing:.18em;color:#9ec3b7;font-weight:900}.showreel-copy b{font-family:Georgia,serif;font-size:38px}.showreel-copy small{font-size:14px;color:#d7e2de}
@media(max-width:620px){.home-showreel-poster{min-height:300px}.showreel-copy{left:22px;right:22px;bottom:24px}.showreel-copy b{font-size:31px}.training-auth-cta .actions{display:grid;grid-template-columns:1fr 1fr}}
.upload-state{margin-top:10px;font-size:.92rem;color:#6b7773}.upload-state.ok{color:#2f6f62;font-weight:700}.upload-state.error{color:#9a3c31;font-weight:700}.upload-progress{height:10px;background:#e6ece9;border-radius:999px;overflow:hidden;margin-top:8px}.upload-progress-bar{height:100%;width:0;background:#6f9087;transition:width .2s ease}.upload-progress.hidden{display:none}
/* AMC V3.9 */
.star-picker{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.star-picker button{border:1px solid #d8e1df;background:#fff;border-radius:12px;padding:10px 12px;font-size:18px}.star-picker button.active{outline:2px solid #3e7d70;background:#eef6f3}.cma-evaluation-box{margin-top:18px}.training-matrix{display:grid;gap:0;margin-top:18px;border:1px solid #dce5e2;border-radius:16px;overflow:hidden}.training-matrix-head,.training-matrix-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.8fr;gap:12px;align-items:center;padding:13px 15px}.training-matrix-head{background:#eef4f2;font-weight:800}.training-matrix-row{border-top:1px solid #e6ecea}.training-matrix-row span:first-child{display:flex;flex-direction:column}.training-matrix-row small{color:#75817f}.ok-text{color:#2e6d60;font-weight:800}@media(max-width:760px){.training-matrix-head{display:none}.training-matrix-row{grid-template-columns:1fr;gap:7px}.training-matrix-row span:before{font-weight:700;color:#72807d}.training-matrix-row span:nth-child(2):before{content:'Acquisto: '}.training-matrix-row span:nth-child(3):before{content:'Accesso: '}.training-matrix-row span:nth-child(4):before{content:'Stato: '}.training-matrix-row .actions{display:flex;flex-wrap:wrap}}

/* AMC V4.0 — responsive lock + training catalogue cleanup */
html,body,#app-shell,main,.route,.topbar,.footer{width:100%;max-width:100%;min-width:0}
html,body{overflow-x:hidden}
#app-shell{overflow-x:clip}
.container{width:min(100%,var(--max));min-width:0}
.chapter-list-card .price,.chapter-list-card .old-price,.chapter-list-card .badge{display:none!important}
.chapter-list-card{min-width:0}
.chapter-list-card h3,.chapter-list-card p{overflow-wrap:anywhere}
.admin-route,.admin-layout-single,#adminContent,.admin-layout-single>*{min-width:0;max-width:100%}
.admin-layout-single{width:min(100%,1120px)!important}
.admin-layout-single .panel,.admin-layout-single .admin-row,.admin-layout-single .admin-card-list{min-width:0;max-width:100%}
.admin-layout-single input,.admin-layout-single select,.admin-layout-single textarea{max-width:100%}
.upload-state{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:850px){
 .topbar .container.nav{width:100%!important;max-width:100%!important;margin:0!important;padding-left:14px!important;padding-right:14px!important}
 .nav-actions{min-width:0!important;max-width:100%!important;overflow:visible!important}
 .nav-actions button{min-width:0!important;white-space:nowrap!important;padding-left:4px!important;padding-right:4px!important;font-size:clamp(11px,3.2vw,13px)!important}
 .logo{max-width:54vw!important;height:auto!important}
 .container{width:100%!important;max-width:100%!important;padding-left:16px!important;padding-right:16px!important}
 .admin-layout-single{width:100%!important;max-width:100%!important;margin:0!important;padding-left:14px!important;padding-right:14px!important}
 .admin-layout-single>#adminContent{width:100%!important;min-width:0!important;max-width:100%!important}
 .admin-layout-single .grid-2,.admin-layout-single .grid-3,.admin-layout-single .admin-split,.admin-layout-single .economics-grid,.admin-layout-single .service-price-strip{grid-template-columns:1fr!important}
 .admin-layout-single .actions{max-width:100%;flex-wrap:wrap}
 .admin-layout-single button{max-width:100%}
 .chapter-grid{grid-template-columns:1fr!important}
 .chapter-card{width:100%;max-width:100%;min-width:0}
 .page-hero-visual{width:auto!important;max-width:calc(100% - 28px)!important;margin-left:14px!important;margin-right:14px!important;padding-left:22px!important;padding-right:22px!important}
 .page-hero-visual h1{font-size:clamp(38px,11vw,56px)!important;overflow-wrap:anywhere}
 .chapter-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
}
@media(max-width:430px){
 .nav{min-height:auto!important}
 .logo{width:170px!important;max-width:52vw!important}
 .nav-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important}
 .nav-actions button{font-size:11px!important}
 .page-hero-visual{padding-left:18px!important;padding-right:18px!important}
}

/* V4.3 Training access & dynamic chapter content */
.topic-summary{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.topic-summary li{position:relative;padding-left:22px;font-weight:750;color:#315f55;font-size:15px;line-height:1.45}
.topic-summary li:before{content:"•";position:absolute;left:4px;top:-1px;color:#4d7a70;font-size:20px}
.training-access-state{display:inline-flex;margin:4px 0 12px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.04em;background:#eef1ef;color:#66716d}
.training-access-state.owned{background:#e7f0ec;color:#315f55}
.training-access-state.open{background:#dcebe5;color:#205d4e}
.chapter-card.chapter-locked{position:relative;overflow:hidden;filter:saturate(.55);background:rgba(246,248,247,.72)}
.chapter-card.chapter-locked:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(232,238,235,.38));pointer-events:none}
.chapter-card.chapter-locked>*{position:relative;z-index:1}
.chapter-lock-copy{margin-top:10px;padding:14px;border:1px solid #d9e1dd;border-radius:14px;background:rgba(239,244,242,.82)}
.chapter-lock-copy p{margin:6px 0 0;color:#71807a;font-size:13px}
.lock-symbol{font-size:20px}
.training-locked-summary{padding:18px;border:1px solid #dbe4e0;border-radius:16px;background:#f1f5f3}
.training-locked-summary p{color:#6f7d77;margin-bottom:0}
@media(max-width:620px){.topic-summary li{font-size:14px}.chapter-lock-copy{padding:12px}}
