:root{--bg:#f4f7fb;--card:#fff;--text:#142033;--muted:#66758a;--line:#dfe7f0;--accent:#1769ff;--accent-strong:#0e55d9;--accent-soft:#eaf2ff;--accent2:#13b68d;--accent2-soft:#e7faf4;--warn:#f0a51b;--warn-soft:#fff5dc;--bad:#d9435f;--navy:#10213a;--navy-2:#162b49;--purple:#6f56d9;--shadow:0 20px 60px rgba(30,55,86,.10);--shadow-sm:0 10px 30px rgba(30,55,86,.07);--radius:22px;--radius-sm:14px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:15px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.shell{width:min(1240px,calc(100% - 40px));margin:auto}.topbar{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(215,226,239,.9)}.nav{min-height:76px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;letter-spacing:-.02em}.brand small{color:var(--accent)}.brand em{font-size:10px;font-style:normal;color:var(--muted);background:#eef3f9;padding:3px 7px;border-radius:99px}.brandmark{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 9px 24px rgba(23,105,255,.25)}nav{margin-left:auto;display:flex;align-items:center;gap:17px}nav a{font-weight:720;color:#435068;transition:.18s ease}nav a:hover{color:var(--accent)}.pill,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;padding:11px 17px;background:var(--accent);color:#fff!important;font-weight:850;cursor:pointer;box-shadow:0 8px 20px rgba(23,105,255,.16);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.btn:hover,.pill:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(23,105,255,.22)}.btn.secondary{background:#eef4ff;color:var(--accent)!important;box-shadow:none}.btn.ghost{background:#fff;color:#435068!important;border:1px solid var(--line);box-shadow:none}.btn.success{background:var(--accent2)}.btn.danger{background:var(--bad)}.btn.small{padding:7px 11px;font-size:13px;border-radius:10px}.nav-toggle{display:none;margin-left:auto;border:0;background:none;font-size:24px}.hero{padding:78px 0 70px;background:radial-gradient(circle at 82% 15%,#dceaff 0,transparent 31%),radial-gradient(circle at 12% 78%,#e7fbf4 0,transparent 28%),linear-gradient(#fff,#f4f7fb);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:54px;align-items:center}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.14em;color:var(--accent);text-transform:uppercase}.hero h1{font-size:clamp(44px,6.5vw,74px);line-height:1;letter-spacing:-.055em;margin:12px 0 24px;max-width:760px}.hero h1 span{color:var(--accent)}.lead{font-size:18px;color:var(--muted);max-width:760px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.hero-visual{position:relative;min-height:500px}.hero-visual img{width:100%;height:auto;display:block;filter:drop-shadow(0 30px 60px rgba(30,55,86,.12))}.floating-note{position:absolute;background:#fff;border:1px solid var(--line);border-radius:17px;padding:13px 16px;box-shadow:var(--shadow-sm);font-weight:800}.floating-note.one{left:-12px;top:58px}.floating-note.two{right:-6px;bottom:72px}.trust-row{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:28px;color:#4b5d74;font-weight:760}.trust-row span{display:inline-flex;align-items:center;gap:7px}.trust-row span:before{content:"✓";display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--accent2-soft);color:#087c5e;font-weight:900}.section{padding:76px 0}.section.compact{padding:54px 0}.section.white{background:#fff}.section.soft{background:#eef4fb}.section.dark{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff}.section.dark .muted,.section.dark .lead{color:#b9c7d9}.section-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:30px}.section h2{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.035em;margin:6px 0 10px}.section h3{line-height:1.25}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,1fr)}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:0 8px 28px rgba(36,57,86,.045)}.card h3{margin:6px 0 8px}.card.feature{padding:26px}.card.lift{transition:transform .18s ease,box-shadow .18s ease}.card.lift:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}.icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:var(--accent-soft);font-size:24px;margin-bottom:13px}.icon.green{background:var(--accent2-soft)}.icon.gold{background:var(--warn-soft)}.icon.purple{background:#f0ebff}.muted{color:var(--muted)}.kicker-note{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:99px;background:#fff;border:1px solid var(--line);font-size:13px;font-weight:780;color:#53647b}.showcase{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.showcase.reverse>div:first-child{order:2}.showcase img{width:100%;display:block;border-radius:28px}.check-list{display:grid;gap:11px;margin:20px 0 0;padding:0;list-style:none}.check-list li{display:flex;gap:10px;color:#4d5e74}.check-list li:before{content:"✓";display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:var(--accent2-soft);color:#087c5e;font-weight:900}.service-grid .card{position:relative;overflow:hidden}.service-grid .card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-36px;bottom:-52px;background:var(--accent-soft)}.service-grid .card:nth-child(2):after,.service-grid .card:nth-child(5):after{background:var(--accent2-soft)}.service-grid .card:nth-child(3):after,.service-grid .card:nth-child(6):after{background:#f2edff}.steps-grid{counter-reset:step}.step-card{position:relative;padding-top:56px}.step-card:before{counter-increment:step;content:"0" counter(step);position:absolute;top:20px;left:22px;font-size:13px;font-weight:900;color:var(--accent);letter-spacing:.08em}.review-stars{font-size:18px;letter-spacing:2px;color:#f1a400}.review-card{display:flex;flex-direction:column;min-height:250px}.review-card blockquote{margin:12px 0 18px;font-size:16px;line-height:1.7}.review-card footer{margin-top:auto;background:none;border:0;padding:0}.rating-summary{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center}.rating-big{font-size:54px;font-weight:900;line-height:1}.community-card{display:flex;gap:16px;align-items:flex-start}.community-avatar{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:linear-gradient(135deg,var(--accent-soft),var(--accent2-soft));font-weight:900;color:var(--accent)}.faq-list{display:grid;gap:12px}.faq-item{background:#fff;border:1px solid var(--line);border-radius:17px;padding:0 18px}.faq-item summary{cursor:pointer;font-weight:850;padding:18px 4px;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";float:right;color:var(--accent);font-size:22px}.faq-item[open] summary:after{content:"−"}.faq-item p{margin:0 4px 18px;color:var(--muted)}.repair-box{background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow-sm)}.order-page{padding:46px 0 76px}.order-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:26px}.order-head h1{font-size:clamp(34px,5vw,52px);line-height:1.06;letter-spacing:-.04em;margin:6px 0}.order-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.6fr);gap:24px;align-items:start}.order-main{display:grid;gap:18px}.order-section{background:#fff;border:1px solid var(--line);border-radius:24px;padding:25px;box-shadow:0 7px 25px rgba(36,57,86,.045)}.order-section-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:20px}.order-step{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:12px;background:var(--accent);color:#fff;font-weight:900}.order-section-head h3{margin:1px 0 3px}.order-summary{position:sticky;top:98px;background:linear-gradient(150deg,var(--navy),#173357);color:#fff;border-radius:26px;padding:24px;box-shadow:var(--shadow)}.order-summary .muted{color:#b9c7d9}.order-summary .price-box{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12)}.order-summary .stock.ok{background:#dff8ef;color:#087a5c}.order-summary .stock.warn{background:#fff1cc;color:#8c5b00}.summary-device{padding:18px 0;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:15px}.summary-list{display:grid;gap:10px;margin:16px 0}.summary-list div{display:flex;justify-content:space-between;gap:15px}.summary-list span:first-child{color:#b9c7d9}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:grid;gap:7px;font-weight:760;color:#435068}input,select,textarea{width:100%;border:1px solid #ccd7e5;border-radius:12px;background:#fff;padding:12px 13px;color:var(--text);outline:none;transition:border .16s ease,box-shadow .16s ease}input:focus,select:focus,textarea:focus{border-color:#74a4ff;box-shadow:0 0 0 4px rgba(23,105,255,.10)}textarea{resize:vertical}.full{grid-column:1/-1}.stock{display:inline-flex;align-items:center;gap:7px;border-radius:99px;padding:7px 10px;font-weight:800;font-size:13px}.stock.ok{background:#e8fbf5;color:#0a8465}.stock.warn{background:#fff6df;color:#9a6500}.price-box{margin-top:18px;border-radius:18px;background:#f4f8ff;padding:18px;display:flex;justify-content:space-between;gap:20px;align-items:center}.price-box strong{font-size:30px}.steps{display:flex;gap:8px;flex-wrap:wrap}.steps span{padding:7px 10px;border-radius:99px;background:#edf2f7;color:#59677a;font-size:13px;font-weight:800}.steps .active{background:#e8f0ff;color:var(--accent)}.notice{padding:13px 15px;background:#eef5ff;border-radius:13px;color:#315c91;border:1px solid #dbe8fb}.notice.warn{background:#fff5dc;color:#8e6106;border-color:#f7e4ae}.notice.success{background:var(--accent2-soft);color:#087b5e;border-color:#c9f0e2}.portal{padding:34px 0 72px}.portal-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.portal-head h1{margin:0;font-size:36px;letter-spacing:-.03em}.portal-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.portal-nav{display:flex;flex-direction:column;gap:5px;align-self:start;position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:12px;box-shadow:var(--shadow-sm)}.portal-nav .nav-section{padding:11px 12px 6px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:#91a0b4}.portal-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:12px;font-weight:760;color:#59677a;transition:.16s ease}.portal-nav a .nav-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#f1f5f9;font-size:15px}.portal-nav a.active,.portal-nav a:hover{background:#edf4ff;color:var(--accent)}.portal-nav a.active .nav-icon,.portal-nav a:hover .nav-icon{background:#dfeaff}.admin-nav{background:linear-gradient(180deg,#fff,#fbfaff)}.admin-nav a.active,.admin-nav a:hover{background:#f1edff;color:#6041c6}.admin-nav a.active .nav-icon,.admin-nav a:hover .nav-icon{background:#e5ddff}.portal-content{min-width:0}.portal-welcome{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--navy),#1a3b65);color:#fff;border-radius:25px;padding:27px;margin-bottom:18px}.portal-welcome:after{content:"";position:absolute;right:-60px;top:-70px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.07)}.portal-welcome h2{margin:0 0 7px;font-size:27px}.portal-welcome p{color:#c7d4e4;margin:0;max-width:760px}.portal-welcome .actions{position:relative;z-index:2}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat{background:#fff;border:1px solid var(--line);border-radius:19px;padding:18px;box-shadow:0 5px 20px rgba(36,57,86,.035)}.stat-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--accent-soft);font-size:18px}.stat small{color:var(--muted);font-weight:760}.stat strong{display:block;font-size:29px;margin-top:5px;letter-spacing:-.025em}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.6fr);gap:18px}.quick-list{display:grid;gap:10px}.quick-link{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.quick-link:hover{background:#f8fbff;border-color:#c9daef}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:18px}.table{width:100%;border-collapse:collapse;min-width:720px}.table th,.table td{text-align:left;padding:13px 14px;border-bottom:1px solid #edf1f5;vertical-align:top}.table th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#728095;background:#fbfcfe}.table tr:last-child td{border-bottom:0}.badge{display:inline-flex;padding:5px 9px;border-radius:99px;background:#eef3f8;color:#506075;font-size:12px;font-weight:850}.badge.good{background:#e6faf3;color:#087b5e}.badge.warn{background:#fff4da;color:#9d6800}.badge.bad{background:#ffe8ed;color:#b72845}.flash{margin-top:18px;padding:13px 15px;border-radius:12px;font-weight:700}.flash.success{background:#e7faf3;color:#0b7f61}.flash.error{background:#ffe8ed;color:#a92540}.login-shell{min-height:calc(100vh - 160px);display:grid;place-items:center;padding:50px 16px;background:radial-gradient(circle at 70% 20%,#e4edff 0,transparent 28%)}.login-card{width:min(470px,100%);background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:var(--shadow)}.login-card h1{margin:8px 0}.timeline{display:grid;gap:0}.timeline article{position:relative;padding:0 0 22px 24px;border-left:2px solid #dbe4ef}.timeline article:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--accent);position:absolute;left:-6px;top:5px}.timeline article:last-child{border-left-color:transparent}.chat-box{height:440px;overflow:auto;background:#f8fafc;border:1px solid var(--line);padding:16px;border-radius:17px;display:flex;flex-direction:column;gap:10px}.bubble{max-width:78%;padding:10px 13px;border-radius:14px;background:#fff;border:1px solid var(--line)}.bubble.me{margin-left:auto;background:#eaf2ff;border-color:#cfdefb}.footer{padding:45px 0;display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:30px;color:#66758a}.footer h4{color:var(--text);margin:0 0 10px}.footer a{display:block;margin:5px 0}.footer a:hover{color:var(--accent)}footer{background:#fff;border-top:1px solid var(--line)}.split{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.kbd{font-family:ui-monospace,monospace;background:#eef2f7;padding:2px 6px;border-radius:6px}.danger-zone{border-color:#ffd5de}.update-drop{border:2px dashed #b9c9db;border-radius:18px;padding:30px;text-align:center;background:#fbfdff}.community-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}.community-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.community-metrics .stat{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.12);color:#fff}.community-metrics .stat small{color:#c6d4e5}.empty-state{text-align:center;padding:38px 24px}.legal-note{font-size:13px;color:#78879a}.anchor-offset{scroll-margin-top:96px}
@media(max-width:1050px){.portal-layout{grid-template-columns:235px minmax(0,1fr)}.order-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}.dashboard-grid{grid-template-columns:1fr}.grid.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.hero-grid,.showcase,.showcase.reverse,.community-hero,.split,.portal-layout,.order-layout{grid-template-columns:1fr}.showcase.reverse>div:first-child{order:initial}.grid.three{grid-template-columns:1fr}.hero-visual{min-height:0}.portal-nav{position:static;flex-direction:row;overflow:auto;padding:9px}.portal-nav .nav-section{display:none}.portal-nav a{white-space:nowrap}.portal-nav a .nav-icon{display:none}.order-summary{position:static;order:-1}.nav-toggle{display:block}nav[data-nav]{display:none;position:absolute;left:16px;right:16px;top:76px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}nav[data-nav].open{display:flex}.footer{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.shell{width:min(100% - 26px,1240px)}.form-grid,.form-grid.three,.grid.two,.grid.four,.stats,.community-metrics,.footer{grid-template-columns:1fr}.section{padding:56px 0}.price-box{align-items:flex-start;flex-direction:column}.hero{padding:52px 0}.hero h1{font-size:43px}.hero-visual{display:none}.order-page{padding-top:32px}.order-head{display:block}.order-head .actions{margin-top:16px}.portal-head{align-items:flex-start;flex-direction:column}.portal-head h1{font-size:31px}.repair-box,.order-section{padding:20px}.section-head{align-items:flex-start;flex-direction:column}.floating-note{display:none}}
.stock.info{background:#e9efff;color:#4f5fb9}.order-summary .stock.info{background:#e9efff;color:#4051a8}.inventory-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.inventory-alerts .notice{display:grid;gap:2px}.inventory-alerts .notice span{font-size:13px;font-weight:600;opacity:.85}.inventory-filter{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(150px,.7fr));gap:13px;align-items:end;margin-bottom:20px}.filter-actions{display:flex;gap:8px;grid-column:1/-1}.inventory-groups{display:grid;gap:26px}.inventory-type{display:grid;gap:15px}.inventory-type-head{display:flex;align-items:center;gap:13px}.inventory-type-head h2{font-size:27px;margin:0}.device-chip{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,var(--accent-soft),#eef8ff);color:var(--accent);font-size:25px;font-weight:900}.inventory-brand{display:grid;gap:10px}.inventory-brand>h3{font-size:19px;margin:0 0 2px}.inventory-series{display:grid;gap:9px}.inventory-series-title{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#7e8ea3;margin-top:4px}.inventory-model{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 5px 18px rgba(36,57,86,.035)}.inventory-model>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 17px;background:#fff}.inventory-model>summary::-webkit-details-marker{display:none}.inventory-model>summary:hover{background:#fafcff}.inventory-model>summary div:first-child{display:grid;gap:2px}.inventory-model>summary span{font-size:12px;color:var(--muted);font-weight:650}.inventory-summary-badges{display:flex;align-items:center;gap:8px}.inventory-summary-badges .chevron{font-size:18px;transition:transform .15s ease}.inventory-model[open] .chevron{transform:rotate(180deg)}.inventory-table{border:0;border-top:1px solid var(--line);border-radius:0}.inventory-table .table{min-width:1160px}.inventory-table .table td{padding:12px}.compact-label{font-size:11px;color:#78879a;gap:4px}.compact-label input{padding:8px 9px;border-radius:9px;font-size:13px;min-width:92px}.stock-stepper{display:grid;grid-template-columns:31px 62px 31px;gap:4px;align-items:center;margin-bottom:6px}.stock-stepper input{padding:8px 5px;text-align:center}.step-btn{width:31px;height:34px;border:1px solid var(--line);background:#f7f9fc;border-radius:9px;cursor:pointer;font-weight:900;color:#546477}.step-btn:hover{background:#eef4ff;color:var(--accent)}.catalog-builder{display:grid;gap:18px}.catalog-builder>.card{padding:25px}.inventory-stats .stat strong{font-size:25px}
@media(max-width:1050px){.inventory-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-alerts{grid-template-columns:1fr}}
@media(max-width:650px){.inventory-filter{grid-template-columns:1fr}.filter-actions{flex-direction:column}.inventory-model>summary{align-items:flex-start;flex-direction:column}.inventory-summary-badges{width:100%;justify-content:space-between}}
.inventory-actions{display:grid;gap:6px;min-width:120px}.inventory-actions .btn{width:100%}
/* SmartREP 1.6 business-system UI */
.wide-shell{width:min(1540px,calc(100% - 34px))}.inventory-brand-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}.brand-tile{display:flex;align-items:center;gap:18px;padding:20px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:var(--shadow-sm);transition:.18s ease}.brand-tile:hover,.brand-tile.active{border-color:#bdd2ff;transform:translateY(-2px);box-shadow:var(--shadow)}.brand-tile-art{width:70px;height:70px;border-radius:21px;display:grid;place-items:center;background:linear-gradient(135deg,#13243e,#2f5b92);color:white;font-size:31px}.brand-tile:nth-child(2) .brand-tile-art{background:linear-gradient(135deg,#1769ff,#65a1ff)}.brand-tile small,.brand-tile span{display:block;color:var(--muted)}.brand-tile strong{display:block;font-size:20px;margin:2px 0}.inventory-manufacturer{display:grid;gap:15px}.manufacturer-head{display:flex;align-items:center;gap:13px;padding:12px 0 0}.manufacturer-head h2{margin:0;font-size:30px}.manufacturer-art{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#101d31;color:#fff;font-size:20px}.model-card-grid{display:grid;grid-template-columns:1fr;gap:12px}.inventory-model-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 6px 20px rgba(36,57,86,.04)}.inventory-model-card>summary{list-style:none;display:grid;grid-template-columns:80px minmax(0,1fr) 30px;gap:16px;align-items:center;padding:14px 17px;cursor:pointer}.inventory-model-card>summary::-webkit-details-marker{display:none}.inventory-model-card[open]>summary{background:#fbfdff;border-bottom:1px solid var(--line)}.model-visual{width:78px;height:72px;border-radius:16px;background:linear-gradient(145deg,#eef4ff,#f8fbff);display:grid;place-items:center;overflow:hidden;color:var(--accent)}.model-visual img{width:100%;height:100%;object-fit:contain;background:#fff}.model-visual span{font-size:32px;font-weight:900;line-height:1}.model-visual small{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.model-main h4{font-size:19px;margin:0 0 2px}.model-main p{margin:0;color:var(--muted)}.model-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.model-upload{padding:12px 16px;background:#fbfcfe;border-bottom:1px solid var(--line)}.model-upload form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.model-upload label{max-width:390px}.part-list{display:grid}.part-row{display:grid;grid-template-columns:minmax(190px,1.1fr) minmax(260px,1.3fr) minmax(200px,1fr) minmax(210px,1fr) 120px;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1f5;align-items:start}.part-row:last-child{border-bottom:0}.part-row input,.part-row select{padding:8px 9px;border-radius:9px}.part-name{display:flex;gap:10px;align-items:flex-start}.part-name>div{display:grid;gap:5px;min-width:0}.part-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--accent-soft)}.stock-metric{display:flex;align-items:end;gap:6px}.stock-metric strong{font-size:24px}.stock-metric span{font-size:12px;color:var(--muted);padding-bottom:4px}.part-stock>small{display:block;color:var(--muted);margin-bottom:7px}.mini-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.mini-fields label,.part-prices label,.part-supplier label{font-size:10px;color:var(--muted);gap:3px}.part-supplier,.part-prices,.part-actions{display:grid;gap:6px}.part-actions{align-content:start}.supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.supplier-card.is-disabled{opacity:.58}.supplier-top{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center}.supplier-logo{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:#eef4ff;font-size:23px}.supplier-top h3{margin:0}.supplier-top p{margin:2px 0}.mini-stats{display:flex;gap:16px;margin:15px 0}.mini-stats span{padding:8px 11px;background:#f7f9fc;border-radius:11px}.workshop-layout{grid-template-columns:250px minmax(0,1fr)}.workshop-board{display:grid;grid-template-columns:repeat(8,minmax(245px,1fr));gap:12px;overflow:auto;padding:2px 2px 16px;scrollbar-color:#bac7d6 transparent}.workshop-column{background:#eef2f7;border:1px solid #dde5ee;border-radius:18px;min-height:620px}.workshop-column>header{padding:13px 14px;display:flex;gap:9px;align-items:center;border-bottom:1px solid #dce4ed}.workshop-column>header>span{font-size:20px}.workshop-column header div{display:grid}.workshop-column header small{color:var(--muted)}.workshop-drop{display:grid;gap:10px;padding:10px;min-height:555px;align-content:start;transition:.16s}.workshop-drop.drag-over{background:#dfeaff}.workshop-card{background:#fff;border:1px solid #dce4ed;border-radius:14px;padding:13px;box-shadow:0 5px 18px rgba(30,55,86,.06);cursor:grab}.workshop-card.dragging{opacity:.45}.workshop-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.workshop-card h4{margin:10px 0 0;font-size:16px}.workshop-card p{margin:1px 0 9px;color:var(--muted)}.workshop-meta{display:grid;gap:4px;font-size:11px;color:#5f6e81}.card-open{display:block;margin-top:10px;color:var(--accent);font-weight:850;font-size:12px}.workshop-pulse{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 18px}.workshop-pulse a{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:14px 15px;border-radius:15px;background:#fff;border:1px solid var(--line)}.workshop-pulse b{font-size:21px;color:var(--accent)}.admin-focus{display:flex;align-items:center;justify-content:space-between;gap:20px}.order-admin-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:18px}.mail-template-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px}.template-list{padding:8px}.template-list-item{display:flex;align-items:center;gap:10px;padding:11px;border-radius:12px}.template-list-item:hover,.template-list-item.active{background:#eef4ff;color:var(--accent)}.template-list-item div{display:grid}.template-list-item small{color:var(--muted)}.mail-dot{width:9px;height:9px;border-radius:50%;background:#c6cfda}.mail-dot.on{background:var(--accent2)}code{background:#eef2f7;border-radius:6px;padding:2px 5px}.customer-focus{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#10213a,#1b4d80);color:white;padding:25px;border-radius:24px;margin-bottom:18px;overflow:hidden}.customer-focus h2{margin:3px 0 5px}.customer-focus p{margin:0;color:#c8d8e9}.customer-order-list{display:grid}.customer-order-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto 20px;gap:10px;align-items:center;padding:12px 4px;border-bottom:1px solid #edf1f5}.customer-order-row:last-child{border-bottom:0}.customer-order-row>div:nth-child(2){display:grid}.customer-order-row span:not(.badge){color:var(--muted);font-size:12px}.device-mini{width:40px;height:40px;border-radius:12px;background:#eef4ff;display:grid;place-items:center}.order-progress{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin-bottom:18px}.progress-step{position:relative;text-align:center;color:#93a0b0}.progress-step:before{content:"";position:absolute;left:-50%;right:50%;top:15px;height:2px;background:#dce4ed;z-index:0}.progress-step:first-child:before{display:none}.progress-step span{position:relative;z-index:1;display:grid;place-items:center;margin:auto;width:31px;height:31px;border-radius:50%;background:#e8edf3;color:#708095;font-weight:900}.progress-step small{display:block;margin-top:5px;font-size:10px}.progress-step.done span,.progress-step.current span{background:var(--accent);color:#fff}.progress-step.done:before,.progress-step.current:before{background:var(--accent)}.progress-step.current small{color:var(--accent);font-weight:900}.customer-order-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:18px}.detail-list{display:grid;margin:15px 0}.detail-list>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #edf1f5}.detail-list span{color:var(--muted)}.invoice-summary{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:12px;margin-bottom:17px}.invoice-summary>div{display:grid;gap:3px}.invoice-summary small{color:var(--muted)}.legal-page{max-width:900px}.legal-page h1{font-size:44px;margin:7px 0 24px}.legal-copy{white-space:normal;font-size:16px;line-height:1.75}.admin-nav{max-height:calc(100vh - 120px);overflow:auto}.portal-nav::-webkit-scrollbar{width:6px}.portal-nav::-webkit-scrollbar-thumb{background:#d3dce8;border-radius:10px}
@media(max-width:1200px){.part-row{grid-template-columns:1fr 1fr}.part-actions{grid-column:1/-1;grid-template-columns:repeat(3,max-content)}.workshop-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:900px){.inventory-brand-switch,.supplier-grid,.order-admin-grid,.mail-template-layout,.customer-order-grid{grid-template-columns:1fr}.workshop-layout{grid-template-columns:1fr}.workshop-board{grid-template-columns:repeat(8,245px)}.admin-focus,.customer-focus{align-items:flex-start;flex-direction:column}.workshop-pulse{grid-template-columns:repeat(2,1fr)}.invoice-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.inventory-brand-switch,.workshop-pulse,.invoice-summary{grid-template-columns:1fr}.part-row{grid-template-columns:1fr}.part-actions{grid-column:auto;grid-template-columns:1fr}.inventory-model-card>summary{grid-template-columns:62px minmax(0,1fr) 20px}.model-visual{width:60px;height:60px}.order-progress{grid-template-columns:repeat(4,1fr);row-gap:12px}.progress-step:nth-child(5):before{display:none}.customer-order-row{grid-template-columns:40px 1fr auto}.customer-order-row>.badge{grid-column:2/4}.supplier-top{grid-template-columns:50px 1fr}.supplier-top>.badge{grid-column:2}}
.media-card{display:grid;grid-template-columns:140px 1fr;gap:18px;align-items:center}.media-card form,.media-series form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.media-preview{height:120px;border-radius:18px;background:linear-gradient(145deg,#edf3ff,#f8fbff);display:grid;place-items:center;overflow:hidden;color:var(--accent);font-size:42px}.media-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.media-preview.small{width:62px;height:62px;font-size:24px}.media-series-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.media-series{display:grid;grid-template-columns:62px minmax(120px,1fr) minmax(220px,1.2fr);gap:12px;align-items:center}.media-series>div:nth-child(2){display:grid}.media-series small{color:var(--muted)}
@media(max-width:900px){.media-series-grid{grid-template-columns:1fr}.media-series{grid-template-columns:62px 1fr}.media-series form{grid-column:1/-1}}@media(max-width:650px){.media-card{grid-template-columns:1fr}.media-preview{height:180px}}

/* SmartREP 1.6 team, permissions & integrations */
.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.permission-grid fieldset{border:1px solid var(--line);border-radius:16px;padding:13px;background:#fbfdff}.permission-grid legend{padding:0 7px;font-weight:900;color:#52647a}.check-row{display:flex!important;align-items:flex-start;gap:10px;padding:9px 0}.check-row input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin-top:2px}.check-row span{display:grid;gap:2px}.check-row small{color:var(--muted);font-size:11px}.staff-list{display:grid;gap:7px;margin-top:12px}.staff-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-radius:13px;border:1px solid transparent}.staff-row:hover{background:#f5f8fc;border-color:var(--line)}.staff-row>span:nth-child(2){display:grid}.staff-row small{color:var(--muted)}.avatar{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#10213a,#3274bd);color:#fff;font-weight:900}.integration-hero{display:flex;align-items:center;justify-content:space-between;gap:18px}.balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.metric{padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8fbff;display:grid;gap:3px}.metric>span,.metric small{color:var(--muted);font-size:12px}.metric b{font-size:22px}.secret-clear{display:flex;gap:16px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:#f7f9fc}.secret-clear label{display:flex;align-items:center;gap:6px;font-size:12px}.secret-clear input{width:auto}.portal-nav .nav-section{position:sticky;top:0;background:inherit;z-index:1}
@media(max-width:900px){.permission-grid,.balance-grid{grid-template-columns:1fr}.integration-hero{align-items:flex-start;flex-direction:column}}

/* SmartREP 1.7 brand refresh */
:root{--bg:#eef4f8;--card:#fff;--text:#102030;--muted:#647488;--line:#d9e4ec;--accent:#0c75ff;--accent-strong:#0758c7;--accent-soft:#e9f3ff;--accent2:#00bda9;--accent2-soft:#e4fbf7;--navy:#071728;--navy-2:#0c2740;--navy-3:#113a5c;--teal:#00bfae;--shadow:0 22px 60px rgba(8,35,55,.12);--shadow-sm:0 10px 28px rgba(8,35,55,.08);--radius:24px;--radius-sm:15px}
body{font-family:"Avenir Next","Segoe UI Variable","Inter","Helvetica Neue",Arial,sans-serif;background:linear-gradient(180deg,#f4f8fb 0,#eef4f8 100%);letter-spacing:-.005em}
h1,h2,h3,.brand,.btn,.portal-nav,.eyebrow{font-family:"Avenir Next","Segoe UI Variable","Inter","Helvetica Neue",Arial,sans-serif}
h1,h2,h3{letter-spacing:-.035em}.shell{width:min(1320px,calc(100% - 44px))}.topbar{background:rgba(247,251,253,.96);border-bottom:1px solid rgba(204,221,231,.85);box-shadow:0 8px 28px rgba(7,23,40,.05)}.nav{min-height:86px}.brand-image{min-width:0}.brand-logo{display:block;width:248px;height:auto;max-height:64px;object-fit:contain;object-position:left center}.admin-logo{width:180px;max-height:50px}.customer-logo{width:220px;max-height:56px}.public-nav{gap:15px}.public-nav>a,.nav-more>button{font-weight:780;font-size:14px;color:#32465a;background:none;border:0;padding:10px 0;cursor:pointer}.public-nav>a:hover,.nav-more>button:hover{color:var(--accent)}.customer-link{padding:10px 14px!important;border:1px solid #c9d9e5;border-radius:12px}.nav-more{position:relative}.nav-more>div{display:none;position:absolute;top:42px;left:-12px;width:170px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-sm)}.nav-more:hover>div,.nav-more:focus-within>div{display:grid}.nav-more>div a{padding:9px 11px;border-radius:9px;font-weight:720}.nav-more>div a:hover{background:var(--accent-soft);color:var(--accent)}.admin-topbar{background:#071728;border-bottom-color:#173b57;color:white}.admin-header-nav{min-height:74px}.admin-wordmark{display:grid;gap:1px;margin-left:4px}.admin-wordmark b{font-size:15px}.admin-wordmark small{font-size:10px;color:#8fb2cb}.admin-header-actions{margin-left:auto;display:flex;align-items:center;gap:12px;color:#b9ccda;font-weight:700;font-size:13px}.admin-header-actions a:hover{color:white}.header-user{padding:8px 11px;background:#102f49;border-radius:12px;color:white}.customer-topbar{background:#fff}
.hero-v17{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 20%,rgba(0,194,174,.23),transparent 28%),radial-gradient(circle at 15% 15%,rgba(24,115,255,.24),transparent 28%),linear-gradient(135deg,#061726 0%,#0b2942 52%,#0d3b55 100%);color:#fff;padding:82px 0 72px}.hero-v17:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,#000,transparent)}.hero-v17 .hero-grid{position:relative;z-index:1;grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);gap:58px;align-items:center}.hero-v17 h1{font-size:clamp(52px,6vw,82px);line-height:.96;max-width:840px;margin:12px 0 22px}.hero-v17 .lead{font-size:20px;line-height:1.72;color:#d5e4ef;max-width:720px}.eyebrow.light{color:#77e9d9}.btn-bright{background:linear-gradient(135deg,#0f85ff,#00bda9);box-shadow:0 14px 32px rgba(0,155,205,.28)}.btn.glass{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#fff!important;box-shadow:none;backdrop-filter:blur(12px)}.hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:34px}.hero-proof>div{padding:14px 15px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);border-radius:16px;display:grid;gap:2px}.hero-proof b{color:#5ce2d3;font-size:12px;letter-spacing:.12em}.hero-proof span{font-size:12px;color:#d6e5ee}.hero-device-panel{position:relative;min-height:470px;display:grid;place-items:center}.hero-workbench{width:min(100%,620px);filter:drop-shadow(0 28px 45px rgba(0,0,0,.28))}.hero-logo-card{position:absolute;z-index:2;top:10px;right:6%;width:170px;padding:18px;background:rgba(255,255,255,.94);border-radius:22px;box-shadow:0 24px 60px rgba(0,0,0,.22);color:#102030;display:grid;gap:10px;text-align:center}.hero-logo-card img{width:100%;height:92px;object-fit:contain}.hero-logo-card span{font-size:11px;font-weight:850}.service-ribbon{background:#fff;border-bottom:1px solid #dce6ed}.service-ribbon .shell{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;overflow:auto}.service-ribbon span{white-space:nowrap;color:#516478;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.section.tint{background:#eaf2f7}.device-worlds{display:grid;grid-template-columns:1fr 1fr .8fr;gap:18px}.device-world{position:relative;overflow:hidden;min-height:310px;padding:31px;border-radius:28px;color:#fff;box-shadow:var(--shadow)}.device-world:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-70px;bottom:-70px;background:rgba(255,255,255,.09)}.device-world.apple{background:linear-gradient(145deg,#111923,#2d3b4d)}.device-world.samsung{background:linear-gradient(145deg,#0b3885,#0877d4)}.device-world.pc{background:linear-gradient(145deg,#047b74,#00ad9d)}.device-world-icon{font-size:44px;margin-bottom:32px}.device-world small{text-transform:uppercase;letter-spacing:.13em;opacity:.68;font-weight:900}.device-world h3{font-size:30px;margin:3px 0 10px}.device-world p{color:rgba(255,255,255,.78);max-width:450px}.tag-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:24px}.tag-row span{font-size:11px;font-weight:800;padding:7px 10px;border-radius:99px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12)}.repair-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.repair-tile{display:grid;grid-template-columns:52px 1fr;gap:15px;align-items:start;background:#fff;padding:22px;border:1px solid #d8e4ec;border-radius:20px;box-shadow:var(--shadow-sm);transition:.2s ease}.repair-tile:hover{transform:translateY(-3px);border-color:#b8d8ef}.repair-tile>span{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent-soft),var(--accent2-soft));color:var(--accent);font-size:22px}.repair-tile h3{margin:0 0 5px}.repair-tile p{margin:0;color:var(--muted)}.process-section{background:#fff}.process-line{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.process-line article{position:relative;padding:21px 15px 18px;border-radius:18px;background:#f3f7fa;border:1px solid #dce6ed}.process-line article:after{content:"→";position:absolute;right:-9px;top:50%;z-index:2;color:#88a0b2;font-weight:900}.process-line article:last-child:after{display:none}.process-line b{color:var(--accent);font-size:12px;letter-spacing:.12em}.process-line h3{font-size:17px;margin:8px 0 4px}.process-line p{font-size:12px;color:var(--muted);margin:0}.workshop-section{background:radial-gradient(circle at 70% 30%,rgba(0,192,174,.18),transparent 24%),linear-gradient(135deg,#071728,#0e304d);color:#fff}.workshop-section .lead{color:#d3e1eb}.workshop-points{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.workshop-points span{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:12px;font-weight:800}.micro-note{font-size:11px!important;color:#8ba4b7!important;line-height:1.6}.workshop-visual{position:relative}.workshop-visual img{width:100%;filter:drop-shadow(0 25px 45px rgba(0,0,0,.28))}.workbench-card{position:absolute;right:0;bottom:8%;display:grid;gap:2px;padding:15px 18px;background:#fff;color:#102030;border-radius:16px;box-shadow:var(--shadow)}.workbench-card span{font-size:11px;color:var(--muted)}.sustainability{display:grid;grid-template-columns:130px 1fr;gap:28px;align-items:start}.sustainability-icon{width:120px;height:120px;border-radius:34px;background:linear-gradient(135deg,#daf8ed,#ebfff9);color:#009d78;display:grid;place-items:center;font-size:54px;border:1px solid #bfeddc}.eco-facts{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.eco-facts span{padding:9px 12px;background:#eef8f5;border-radius:12px;color:#24675b;font-size:12px;font-weight:800}.portal-promo{background:linear-gradient(135deg,#0a2438,#123c59);color:#fff}.portal-promo .lead{color:#d0e0ea}.portal-preview img{width:100%;max-height:440px;object-fit:contain}.check-list.light li{color:#e2ecf2}.guarantee-seal{width:105px;height:105px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0f85ff,#00bda9);color:#fff;font-size:40px;font-weight:950;box-shadow:0 18px 40px rgba(0,129,201,.24)}.guarantee-seal span{display:block;font-size:11px;margin-top:-22px;text-transform:uppercase;letter-spacing:.11em}.reviews-section{background:linear-gradient(135deg,#071728,#0d304b);color:#fff}.reviews-section .lead{color:#cadce8}.review-overview{display:flex;gap:18px;align-items:center;margin-bottom:22px}.review-overview>strong{font-size:54px}.review-overview span{color:#acc4d4}.review-card.premium{background:#fff;color:#102030;border:0}.review-card.premium footer{display:grid;gap:2px}.review-card.premium footer small{color:var(--muted)}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.news-card{padding:0;overflow:hidden}.news-card>img,.news-placeholder{width:100%;height:220px;object-fit:cover;background:linear-gradient(135deg,#dceeff,#e7faf5);display:grid;place-items:center}.news-placeholder img{width:135px;height:135px;object-fit:contain}.news-card-body{padding:23px}.news-card-body h2,.news-card-body h3{margin:6px 0 9px}.news-card-body p{color:var(--muted)}.text-link{color:var(--accent);font-weight:900}.community-section{background:linear-gradient(135deg,#0c4567,#087b77);color:#fff}.community-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:55px;align-items:center}.community-section .lead{color:#d8e8eb}.community-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.community-metrics>div{padding:22px 16px;border-radius:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);display:grid;gap:4px}.community-metrics small{color:#c5dde0}.community-metrics strong{font-size:24px}.cta-section{padding:28px 0 70px}.cta-card{border-radius:30px;padding:38px 42px;background:linear-gradient(135deg,#071728,#0e3a57);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:30px;box-shadow:var(--shadow)}.cta-card h2{font-size:36px;margin:6px 0}.cta-card p{color:#cbdbe6}.site-footer{background:#06131f;color:#d3e1e9;padding-top:56px}.site-footer .footer{grid-template-columns:1.6fr repeat(3,1fr)}.site-footer h4{color:#fff}.site-footer a{color:#aec1cd}.site-footer a:hover{color:#fff}.footer-brand .brand-logo{width:240px;filter:brightness(1.2)}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #173247;padding:18px 0 28px;color:#7894a7;font-size:12px}
.page-hero,.news-detail-hero{padding:70px 0;background:linear-gradient(135deg,#071728,#0e3a57);color:#fff}.compact-hero h1,.news-detail-hero h1{font-size:clamp(42px,5vw,68px);margin:9px 0}.compact-hero .lead,.news-detail-hero .lead{color:#d0e0e9}.news-detail-grid{display:grid;grid-template-columns:1fr .8fr;gap:40px;align-items:center}.news-detail-visual{height:350px;border-radius:28px;overflow:hidden;background:#fff}.news-detail-visual img{width:100%;height:100%;object-fit:cover}.news-article{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.news-body{font-size:17px;line-height:1.85;white-space:normal}.news-article aside{display:grid;gap:10px;position:sticky;top:110px}.news-admin-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px}.news-admin-list{display:grid;gap:6px}.news-admin-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px;border-radius:13px;border:1px solid transparent}.news-admin-row:hover,.news-admin-row.active{background:#eef5fb;border-color:#d5e4ee}.news-admin-row>div:nth-child(2){display:grid}.news-admin-row small{color:var(--muted)}.news-thumb{width:54px;height:54px;border-radius:12px;background:#eaf3fa;display:grid;place-items:center;overflow:hidden}.news-thumb img{width:100%;height:100%;object-fit:cover}
.portal{background:#edf3f7;min-height:calc(100vh - 74px);padding:28px 0 54px}.portal-layout{grid-template-columns:260px minmax(0,1fr);gap:22px}.portal-nav{border-radius:22px;background:#0a2033;color:#c9d8e3;border:1px solid #16354d;padding:13px;box-shadow:0 20px 50px rgba(4,20,34,.14)}.portal-nav .sidebar-brand{display:flex;align-items:center;gap:10px;padding:12px 9px 16px;border-bottom:1px solid #1a3a51;margin-bottom:8px}.portal-nav .sidebar-brand img{width:42px;height:42px;object-fit:contain;border-radius:12px;background:#fff}.portal-nav .sidebar-brand div{display:grid}.portal-nav .sidebar-brand b{color:#fff}.portal-nav .sidebar-brand small{color:#7698ae;font-size:10px}.portal-nav .nav-section{position:static;background:transparent;color:#62849b;text-transform:uppercase;letter-spacing:.11em;font-size:9px;font-weight:900;padding:16px 11px 6px}.portal-nav a{color:#bfd0dc;border-radius:11px;padding:10px 11px;margin:2px 0}.portal-nav a:hover{background:#102f47;color:#fff}.portal-nav a.active{background:linear-gradient(135deg,#0d72f6,#00a997);color:#fff;box-shadow:0 8px 20px rgba(0,108,170,.25)}.portal-nav .nav-icon{width:26px;color:#82a9c1}.portal-nav .sidebar-logout{margin-top:16px;border-top:1px solid #1a3a51;padding-top:14px}.portal-head h1{font-size:42px}.portal-welcome{border-radius:24px;background:linear-gradient(135deg,#071728,#0d3b59)}.portal-footer{background:#071728;color:#6e8ca0;padding:14px 0;font-size:11px}.admin-shell-body .card,.customer-shell-body .card{border-color:#d5e1e9;box-shadow:0 10px 30px rgba(15,48,70,.07)}
.settings-hub{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.settings-tabs{display:grid;align-content:start;gap:5px}.settings-tabs a{padding:11px 13px;border-radius:12px;font-weight:800;color:#53677a}.settings-tabs a:hover,.settings-tabs a.active{background:#0c75ff;color:#fff}.settings-card{border-radius:22px}.settings-section-head{display:flex;gap:13px;align-items:flex-start;border-bottom:1px solid #e2e9ef;padding-bottom:15px;margin-bottom:3px}.settings-section-head h3{margin:0}.settings-section-head p{margin:3px 0 0;color:var(--muted)}.settings-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#e4f0ff,#e1fbf7);color:var(--accent);font-size:20px}.switch-row{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:15px!important;border:1px solid #dbe5ec;border-radius:15px;background:#f8fbfd}.switch-row>span{display:grid;gap:3px}.switch-row small{color:var(--muted)}.switch-row input[type=checkbox]{width:22px;height:22px;flex:0 0 22px}.maintenance-admin-status{padding:23px 26px;border-radius:22px;background:#fff;border:1px solid #dbe6ed;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center}.maintenance-admin-status small{color:var(--muted)}.maintenance-admin-status strong{display:block;font-size:24px}.maintenance-admin-status p{margin:2px 0;color:var(--muted)}.status-light{width:18px;height:18px;border-radius:50%;background:#36bb80;box-shadow:0 0 0 7px #e5f7ef}.maintenance-admin-status.on .status-light{background:#ef9f29;box-shadow:0 0 0 7px #fff3dc}.access-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.maintenance-body{margin:0;min-height:100vh;background:radial-gradient(circle at 25% 20%,rgba(19,116,255,.23),transparent 28%),radial-gradient(circle at 80% 70%,rgba(0,189,169,.18),transparent 25%),#061522;color:#fff}.maintenance-wrap{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.maintenance-brand{position:relative;overflow:hidden;padding:8vh 8vw;display:flex;flex-direction:column;justify-content:center}.maintenance-brand>img{width:min(540px,80%);margin-bottom:50px}.maintenance-brand h1{font-size:clamp(48px,6vw,78px);line-height:1;margin:14px 0 20px;max-width:800px}.maintenance-brand>p{font-size:18px;line-height:1.75;color:#c8dbe7;max-width:690px}.maintenance-badge{align-self:flex-start;padding:8px 12px;border-radius:999px;background:rgba(0,189,169,.13);border:1px solid rgba(72,225,207,.25);color:#6ce7d8;text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:10px}.maintenance-eta{margin-top:16px;color:#b8cedb}.maintenance-status{margin-top:30px;color:#9eb8c8;font-size:12px}.maintenance-status span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#37d59d;margin-right:7px;box-shadow:0 0 0 5px rgba(55,213,157,.1)}.maintenance-access{background:#edf4f8;color:#102030;padding:8vh 6vw;display:flex;flex-direction:column;justify-content:center;gap:15px}.maintenance-card{background:#fff;border:1px solid #d5e2eb;border-radius:24px;padding:28px;box-shadow:var(--shadow)}.maintenance-card h2{font-size:30px;margin:6px 0}.maintenance-card p{color:var(--muted)}.login-form{display:grid;gap:12px;margin-top:20px}.customer-access{display:flex;align-items:center;justify-content:space-between;gap:20px}.maintenance-note{text-align:center;color:#7d92a3;font-size:11px}
@media(max-width:1150px){.public-nav{gap:10px}.public-nav>a,.nav-more>button{font-size:12px}.brand-logo{width:210px}.hero-v17 .hero-grid{grid-template-columns:1fr 430px}.process-line{grid-template-columns:repeat(4,1fr)}.process-line article:nth-child(4):after{display:none}.device-worlds{grid-template-columns:1fr 1fr}.device-world.pc{grid-column:1/-1;min-height:240px}.news-admin-grid{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:900px){.shell{width:min(100% - 28px,1320px)}.topbar .nav{min-height:72px}.brand-logo{width:200px}.public-nav{position:absolute;left:14px;right:14px;top:75px;display:none;flex-direction:column;align-items:stretch;padding:14px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.public-nav.open{display:flex}.public-nav>a,.nav-more>button{padding:10px 11px;text-align:left}.nav-more>div{position:static;width:auto;box-shadow:none;border:0;padding:0 10px}.nav-more:hover>div,.nav-more:focus-within>div{display:grid}.hero-v17{padding:58px 0}.hero-v17 .hero-grid,.news-detail-grid,.community-layout,.maintenance-wrap{grid-template-columns:1fr}.hero-v17 h1{font-size:56px}.hero-device-panel{min-height:360px}.hero-logo-card{right:0}.repair-grid{grid-template-columns:1fr 1fr}.process-line{grid-template-columns:repeat(2,1fr)}.process-line article:nth-child(even):after{display:none}.device-worlds,.news-grid,.settings-hub,.news-admin-grid,.access-options{grid-template-columns:1fr}.device-world.pc{grid-column:auto}.sustainability{grid-template-columns:1fr}.community-metrics{grid-template-columns:repeat(3,1fr)}.portal-layout{grid-template-columns:1fr}.portal-nav{max-height:none}.admin-header-actions .header-user{display:none}.news-article{grid-template-columns:1fr}.news-article aside{position:static}.maintenance-brand{padding:60px 26px 38px}.maintenance-access{padding:38px 26px 60px}.maintenance-brand>img{width:min(420px,90%);margin-bottom:36px}.site-footer .footer{grid-template-columns:1fr 1fr}.cta-card{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.brand-logo{width:174px}.hero-v17 h1{font-size:44px}.hero-proof,.repair-grid,.community-metrics{grid-template-columns:1fr}.hero-device-panel{min-height:300px}.hero-logo-card{width:130px}.service-ribbon .shell{justify-content:flex-start}.device-world{min-height:270px;padding:24px}.process-line{grid-template-columns:1fr}.process-line article:after{display:none}.sustainability-icon{width:95px;height:95px}.cta-card{padding:28px 24px}.cta-card h2{font-size:30px}.site-footer .footer{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.customer-access{align-items:flex-start;flex-direction:column}.maintenance-brand h1{font-size:42px}.admin-wordmark{display:none}.admin-logo{width:150px}.portal-head h1{font-size:34px}}
.settings-tabs{margin-left:0;width:100%;align-items:stretch}
.footer-brand .brand-logo{background:#fff;padding:8px 10px;border-radius:14px;filter:none}
.admin-topbar .brand-image{background:#fff;padding:5px 10px 5px 7px;border-radius:14px}.admin-topbar .admin-wordmark{color:#102030}.admin-topbar .admin-wordmark small{color:#657f91}

/* ===== SmartREP 1.8 visual / layout hardening ===== */
:root{--ui-font:"Avenir Next","Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--ui-display:"Avenir Next","Segoe UI Variable","Segoe UI",Inter,system-ui,sans-serif}
body{font-family:var(--ui-font);font-size:15px;color:#14283a;background:#eef3f7}
h1,h2,h3,h4,.brand,.portal-nav,.public-nav,.settings-tabs,.btn,.pill{font-family:var(--ui-display)}
.public-nav a,.public-nav button{font-family:var(--ui-display);font-weight:760;letter-spacing:-.01em}
.section.white,.section.tint,.process-section,.public-form-section{color:#14283a}.section.white h1,.section.white h2,.section.white h3,.section.tint h1,.section.tint h2,.section.tint h3,.process-section h1,.process-section h2,.process-section h3{color:#102235}.section.white .lead,.section.tint .lead,.process-section .lead{color:#5f7184}.section.white .eyebrow,.section.tint .eyebrow,.process-section .eyebrow{color:#0e67d8}

/* Wider, more desktop-like administration */
.admin-shell-body{background:#e8eff4;color:#14283a}.admin-shell-body .shell{width:min(1680px,calc(100% - 48px))}.customer-shell-body .shell{width:min(1480px,calc(100% - 48px))}.admin-shell-body .portal{background:linear-gradient(180deg,#e8eff4,#f2f6f9);padding:32px 0 68px}.admin-shell-body .portal-layout{grid-template-columns:292px minmax(0,1fr);gap:28px}.admin-shell-body .portal-content{min-width:0;color:#14283a}.admin-shell-body .portal-content>.card,.admin-shell-body .portal-content .card{color:#14283a}.admin-shell-body .portal-head{padding:3px 2px}.admin-shell-body .portal-head h1{font-size:44px;color:#102235}.admin-shell-body .portal-head .muted{color:#62778b}.admin-shell-body .portal-nav{top:94px;padding:16px;background:linear-gradient(180deg,#071b2c,#0a273d);border-color:#153b56;border-radius:24px}.admin-shell-body .portal-nav .sidebar-brand{padding:11px 8px 18px}.admin-shell-body .portal-nav .sidebar-brand b{font-family:var(--ui-display);font-size:18px;letter-spacing:-.02em}.admin-shell-body .portal-nav .sidebar-brand small{font-size:11px;letter-spacing:.04em}.admin-shell-body .portal-nav .nav-section{font-family:var(--ui-display);font-size:10px;color:#6f96ad;padding-top:18px}.admin-shell-body .portal-nav a{font-family:var(--ui-display);font-size:14px;font-weight:720;letter-spacing:-.01em;padding:11px 12px}.admin-shell-body .portal-nav a.active{background:linear-gradient(135deg,#126ef3,#00aa94);box-shadow:0 10px 24px rgba(0,126,190,.24)}.admin-shell-body .portal-nav .nav-icon{font-family:var(--ui-font);background:rgba(255,255,255,.055);color:#8fc1d8}.admin-shell-body .portal-nav a.active .nav-icon{background:rgba(255,255,255,.16);color:#fff}.admin-shell-body .portal-welcome{background:linear-gradient(135deg,#08233a,#0d4964);color:#fff;border:1px solid rgba(255,255,255,.06);box-shadow:0 18px 40px rgba(13,48,69,.14)}.admin-shell-body .portal-welcome h1,.admin-shell-body .portal-welcome h2,.admin-shell-body .portal-welcome h3{color:#fff}.admin-shell-body .portal-welcome p{color:#c7dbe7}.admin-shell-body .stat{background:#fff;color:#14283a}.admin-shell-body .stat strong,.admin-shell-body .stat h3{color:#102235}.admin-shell-body .dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(340px,.62fr);gap:22px}.admin-shell-body .card h1,.admin-shell-body .card h2,.admin-shell-body .card h3,.admin-shell-body .card h4{color:#102235}.admin-shell-body .quick-link{color:#243d52}.admin-shell-body .table{color:#1d3346}.admin-shell-body .table th{color:#5c7184;background:#f4f8fb}.admin-shell-body .table td{background:#fff}.admin-topbar .admin-wordmark{color:#fff}.admin-topbar .admin-wordmark small{color:#90b4ca}.admin-topbar .brand-image{background:rgba(255,255,255,.96);padding:5px 9px 5px 6px;border-radius:14px}.admin-header-actions{font-family:var(--ui-display)}

/* Cleaner customer portal */
.customer-shell-body{background:#edf3f7}.customer-shell-body .portal-content{color:#14283a}.customer-shell-body .card{color:#14283a}.customer-shell-body .card h1,.customer-shell-body .card h2,.customer-shell-body .card h3{color:#102235}

/* Footer 1.8: current mark, visible text and service links */
.footer-brand-lockup{display:flex;align-items:center;gap:14px;margin-bottom:18px}.footer-brand-lockup img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:18px;padding:5px}.footer-brand-lockup div{display:grid;gap:0}.footer-brand-lockup b{font-family:var(--ui-display);font-size:27px;color:#fff;letter-spacing:-.035em}.footer-brand-lockup span{font-size:12px;color:#86a6b9}.footer-brand p{max-width:440px}.footer-bottom>div{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}.footer-managed{color:#9bb2c0}

/* Protected public forms */
.public-form-section{background:linear-gradient(180deg,#edf5f9,#f8fbfd)}.form-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:start}.public-form-card{padding:32px}.public-form-card label small{font-weight:600;color:#7b8d9d}.spam-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:.01!important}.spam-question{max-width:300px}.form-security-note{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#eef8f5;border:1px solid #cfeae1;border-radius:14px;padding:12px 14px;color:#2d6257}.form-security-note span{font-size:11px;color:#63857d}.form-help-card{position:sticky;top:104px;background:linear-gradient(155deg,#071b2c,#0c3e55);color:#fff;border-radius:26px;padding:28px;box-shadow:0 20px 50px rgba(12,42,58,.16)}.form-help-card>img{width:78px;height:78px;background:#fff;border-radius:20px;padding:6px;margin-bottom:22px}.form-help-card h2{font-size:30px;line-height:1.05;margin:8px 0 13px}.form-help-card p{color:#c4d8e3}.form-help-card .quick-link{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.11);color:#e8f2f6}.form-help-card .quick-link:hover{background:rgba(255,255,255,.12)}.form-success{display:flex;gap:18px;align-items:flex-start;padding:25px;border-radius:20px;background:#e8faf4;border:1px solid #bfe9dc}.form-success>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#12a77f;color:#fff;font-size:24px;font-weight:900}.form-success h2{margin:0 0 7px}.form-success p{margin:0;color:#4b7469}

/* Admin public-form inbox */
.submission-layout{display:grid;grid-template-columns:minmax(360px,.75fr) minmax(0,1.25fr);gap:20px;align-items:start}.submission-filters{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid #e2e9ef}.submission-filters a{padding:8px 11px;border-radius:10px;font-weight:800;color:#62778a}.submission-filters a.active,.submission-filters a:hover{background:#e9f2ff;color:#1168d8}.submission-list{display:grid;gap:6px;margin-top:12px}.submission-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border-radius:14px;border:1px solid transparent}.submission-row:hover,.submission-row.active{background:#f0f6fa;border-color:#d7e5ee}.submission-row>div{display:grid}.submission-row small{color:#718397}.submission-type{font-size:10px;font-weight:900;text-transform:uppercase;padding:6px 8px;border-radius:8px;background:#eaf2ff;color:#1769c8}.submission-type.bug{background:#fff0dd;color:#9b5a00}.submission-type.complaint{background:#ffecef;color:#a92e45}.submission-detail h2{font-size:30px;margin:4px 0}.submission-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.submission-meta span{display:grid;padding:11px 12px;background:#f5f8fa;border-radius:12px}.submission-meta b{font-size:10px;text-transform:uppercase;color:#718497;letter-spacing:.08em}.message-box{white-space:pre-wrap;padding:19px;border-radius:15px;background:#f7fafc;border:1px solid #dce6ed;line-height:1.75}.inline-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-top:18px}.inline-form label{min-width:180px}

@media(max-width:1200px){.admin-shell-body .shell{width:min(100% - 30px,1680px)}.admin-shell-body .portal-layout{grid-template-columns:250px minmax(0,1fr);gap:18px}.admin-shell-body .dashboard-grid{grid-template-columns:1fr}.submission-layout{grid-template-columns:1fr}.form-page-grid{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:900px){.admin-shell-body .shell,.customer-shell-body .shell{width:min(100% - 28px,1680px)}.admin-shell-body .portal-layout{grid-template-columns:1fr}.admin-shell-body .portal-nav{position:static}.form-page-grid{grid-template-columns:1fr}.form-help-card{position:static}.form-security-note{align-items:flex-start;flex-direction:column}.submission-meta{grid-template-columns:1fr}}

/* ===== SmartREP 1.9 contrast system ===== */
:root{
  --surface-light:#ffffff;
  --surface-light-soft:#f5f8fb;
  --text-on-light:#102235;
  --text-on-light-muted:#5f7184;
  --text-on-dark:#f7fbff;
  --text-on-dark-muted:#c7d8e5;
  --link-on-light:#0d63d7;
  --link-on-dark:#7fe8dc;
}

/* Light surfaces must always render dark readable content. */
.card,
.stat,
.repair-tile,
.faq-item,
.order-section,
.repair-box,
.price-box,
.floating-note,
.maintenance-card,
.news-card,
.public-form-card,
.submission-meta span,
.message-box,
.quick-link,
.login-card,
.inventory-filter,
.inventory-model-card,
.part-row,
.settings-panel,
.notice,
.form-success,
.table td,
.table th{
  color:var(--text-on-light);
}
.card h1,.card h2,.card h3,.card h4,
.stat h1,.stat h2,.stat h3,.stat h4,
.repair-tile h1,.repair-tile h2,.repair-tile h3,.repair-tile h4,
.faq-item h1,.faq-item h2,.faq-item h3,.faq-item h4,
.order-section h1,.order-section h2,.order-section h3,.order-section h4,
.repair-box h1,.repair-box h2,.repair-box h3,.repair-box h4,
.maintenance-card h1,.maintenance-card h2,.maintenance-card h3,.maintenance-card h4,
.news-card h1,.news-card h2,.news-card h3,.news-card h4,
.public-form-card h1,.public-form-card h2,.public-form-card h3,.public-form-card h4,
.login-card h1,.login-card h2,.login-card h3,.login-card h4,
.inventory-model-card h1,.inventory-model-card h2,.inventory-model-card h3,.inventory-model-card h4,
.part-row h1,.part-row h2,.part-row h3,.part-row h4,
.settings-panel h1,.settings-panel h2,.settings-panel h3,.settings-panel h4{
  color:var(--text-on-light);
}
.card .muted,.stat .muted,.repair-tile .muted,.faq-item .muted,
.order-section .muted,.repair-box .muted,.maintenance-card .muted,
.news-card .muted,.public-form-card .muted,.login-card .muted,
.inventory-model-card .muted,.part-row .muted,.settings-panel .muted{
  color:var(--text-on-light-muted);
}
.card a:not(.btn):not(.pill),
.maintenance-card a:not(.btn):not(.pill),
.news-card a:not(.btn):not(.pill),
.public-form-card a:not(.btn):not(.pill),
.login-card a:not(.btn):not(.pill){color:var(--link-on-light)}

/* Dark branded surfaces must always render bright readable content. */
.hero-v17,
.workshop-section,
.portal-promo,
.reviews-section,
.community-section,
.cta-card,
.order-summary,
.form-help-card,
.device-world,
.portal-nav,
.admin-topbar,
.site-footer,
.maintenance-brand{
  color:var(--text-on-dark);
}
.hero-v17 h1,.hero-v17 h2,.hero-v17 h3,.hero-v17 h4,
.workshop-section h1,.workshop-section h2,.workshop-section h3,.workshop-section h4,
.portal-promo h1,.portal-promo h2,.portal-promo h3,.portal-promo h4,
.reviews-section>div>h1,.reviews-section>div>h2,.reviews-section>div>h3,.reviews-section>div>h4,
.community-section h1,.community-section h2,.community-section h3,.community-section h4,
.cta-card h1,.cta-card h2,.cta-card h3,.cta-card h4,
.order-summary h1,.order-summary h2,.order-summary h3,.order-summary h4,
.form-help-card h1,.form-help-card h2,.form-help-card h3,.form-help-card h4,
.device-world h1,.device-world h2,.device-world h3,.device-world h4,
.maintenance-brand h1,.maintenance-brand h2,.maintenance-brand h3,.maintenance-brand h4,
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4{
  color:var(--text-on-dark);
}
.hero-v17 .muted,.hero-v17 .lead,
.workshop-section .muted,.workshop-section .lead,
.portal-promo .muted,.portal-promo .lead,
.reviews-section>.shell>.section-head .muted,.reviews-section>.shell>.section-head .lead,
.community-section .muted,.community-section .lead,
.cta-card .muted,.cta-card p,
.order-summary .muted,
.form-help-card .muted,.form-help-card p,
.device-world .muted,.device-world p,
.maintenance-brand .muted,.maintenance-brand p,
.site-footer .muted,.site-footer p,.site-footer span{
  color:var(--text-on-dark-muted);
}
.hero-v17 a:not(.btn):not(.pill),
.workshop-section a:not(.btn):not(.pill),
.portal-promo a:not(.btn):not(.pill),
.community-section a:not(.btn):not(.pill),
.cta-card a:not(.btn):not(.pill),
.order-summary a:not(.btn):not(.pill),
.form-help-card a:not(.btn):not(.pill),
.device-world a:not(.btn):not(.pill),
.site-footer a:not(.btn):not(.pill),
.maintenance-brand a:not(.btn):not(.pill){color:var(--link-on-dark)}

/* White/light components embedded inside a dark section switch back to light-surface colors. */
.reviews-section .card,
.workshop-section .card,
.portal-promo .card,
.community-section .card,
.section.dark .card,
.hero-v17 .floating-note,
.workshop-section .workbench-card{
  color:var(--text-on-light);
}
.reviews-section .card h1,.reviews-section .card h2,.reviews-section .card h3,.reviews-section .card h4,
.workshop-section .card h1,.workshop-section .card h2,.workshop-section .card h3,.workshop-section .card h4,
.portal-promo .card h1,.portal-promo .card h2,.portal-promo .card h3,.portal-promo .card h4,
.community-section .card h1,.community-section .card h2,.community-section .card h3,.community-section .card h4,
.section.dark .card h1,.section.dark .card h2,.section.dark .card h3,.section.dark .card h4,
.hero-v17 .floating-note h1,.hero-v17 .floating-note h2,.hero-v17 .floating-note h3,.hero-v17 .floating-note h4,
.workshop-section .workbench-card h1,.workshop-section .workbench-card h2,.workshop-section .workbench-card h3,.workshop-section .workbench-card h4{
  color:var(--text-on-light);
}
.reviews-section .card .muted,
.workshop-section .card .muted,
.portal-promo .card .muted,
.community-section .card .muted,
.section.dark .card .muted,
.hero-v17 .floating-note .muted,
.workshop-section .workbench-card .muted,
.workshop-section .workbench-card span{
  color:var(--text-on-light-muted);
}

/* Admin / customer portal contrast contract. */
.admin-shell-body .portal-content,
.customer-shell-body .portal-content{color:var(--text-on-light)}
.admin-shell-body .portal-content .card,
.customer-shell-body .portal-content .card,
.admin-shell-body .portal-content .stat,
.customer-shell-body .portal-content .stat{
  background:var(--surface-light);
  color:var(--text-on-light);
}
.admin-shell-body .portal-content .card h1,.admin-shell-body .portal-content .card h2,.admin-shell-body .portal-content .card h3,.admin-shell-body .portal-content .card h4,
.customer-shell-body .portal-content .card h1,.customer-shell-body .portal-content .card h2,.customer-shell-body .portal-content .card h3,.customer-shell-body .portal-content .card h4{
  color:var(--text-on-light);
}
.admin-shell-body .portal-content .card .muted,
.customer-shell-body .portal-content .card .muted{color:var(--text-on-light-muted)}
.admin-shell-body .portal-welcome,
.customer-shell-body .portal-welcome{
  color:var(--text-on-dark);
}
.admin-shell-body .portal-welcome h1,.admin-shell-body .portal-welcome h2,.admin-shell-body .portal-welcome h3,.admin-shell-body .portal-welcome h4,
.customer-shell-body .portal-welcome h1,.customer-shell-body .portal-welcome h2,.customer-shell-body .portal-welcome h3,.customer-shell-body .portal-welcome h4{
  color:var(--text-on-dark);
}
.admin-shell-body .portal-welcome p,.admin-shell-body .portal-welcome .muted,
.customer-shell-body .portal-welcome p,.customer-shell-body .portal-welcome .muted{
  color:var(--text-on-dark-muted);
}
.admin-shell-body .portal-nav a,
.customer-shell-body .portal-nav a{color:#c6d7e2}
.admin-shell-body .portal-nav a:hover,
.customer-shell-body .portal-nav a:hover{color:#fff}
.admin-shell-body .portal-nav a.active,
.customer-shell-body .portal-nav a.active{color:#fff}
.admin-shell-body .portal-nav .nav-section,
.customer-shell-body .portal-nav .nav-section{color:#83a8bc}

/* Tables, forms and utility components remain readable regardless of parent section. */
input,select,textarea{
  background:#fff;
  color:#102235;
  caret-color:#102235;
}
input::placeholder,textarea::placeholder{color:#7b8b9c;opacity:1}
label{color:#31475a}
.table{color:#1d3346}
.table th{background:#edf3f7;color:#52697c}
.table td{background:#fff;color:#1d3346}
.badge{color:#42586a}
.notice{color:#315c91}
.notice.warn{color:#7b5100}
.notice.error,.flash.error{color:#8f2639}
.flash.success{color:#17664f}
.empty-state{color:var(--text-on-light-muted)}

/* Preserve readable text on deliberately dark utility panels. */
.admin-topbar a,.admin-topbar .header-user{color:#d8e7f0}
.admin-topbar a:hover{color:#fff}
.form-help-card label,.order-summary label,.maintenance-brand label{color:#e4eef4}
.form-help-card input,.form-help-card select,.form-help-card textarea,
.order-summary input,.order-summary select,.order-summary textarea,
.maintenance-brand input,.maintenance-brand select,.maintenance-brand textarea{
  color:#102235;background:#fff;
}

/* Better focus visibility against both light and dark surfaces. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid #49d8ca;
  outline-offset:3px;
}

/* 1.9 context fixes discovered by contrast audit */
.page-hero,.news-detail-hero,.customer-focus,.maintenance-body .maintenance-brand{
  color:var(--text-on-dark);
}
.page-hero h1,.page-hero h2,.page-hero h3,.page-hero h4,
.news-detail-hero h1,.news-detail-hero h2,.news-detail-hero h3,.news-detail-hero h4,
.customer-focus h1,.customer-focus h2,.customer-focus h3,.customer-focus h4{
  color:var(--text-on-dark);
}
.page-hero .lead,.page-hero .muted,
.news-detail-hero .lead,.news-detail-hero .muted,
.customer-focus p,.customer-focus .muted{
  color:var(--text-on-dark-muted);
}

/* White dashboard tiles must not keep the old light-on-dark small-text color. */
.stat small,.stat .muted,.workshop-pulse a,.customer-order-row{
  color:var(--text-on-light-muted);
}
.stat strong,.stat b,.workshop-pulse a b,.customer-order-row b{
  color:var(--text-on-light);
}

/* Community metric tiles are intentionally translucent/dark, so they stay light-on-dark. */
.community-section .community-metrics .stat,
.community-metrics .stat{
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.12);
  color:var(--text-on-dark);
}
.community-section .community-metrics .stat small,
.community-metrics .stat small{
  color:#c5dde0;
}
.community-section .community-metrics .stat strong,
.community-metrics .stat strong{
  color:#fff;
}

/* Header/navigation contrast. */
.public-topbar,.customer-topbar{color:var(--text-on-light)}
.public-topbar .public-nav>a,.public-topbar .nav-more>button,.customer-topbar nav>a{color:#344b60}
.public-topbar .public-nav>a:hover,.public-topbar .nav-more>button:hover,.customer-topbar nav>a:hover{color:#0d63d7}
.admin-topbar{color:var(--text-on-dark)}
.admin-topbar .badge{background:rgba(255,255,255,.12);color:#f3f8fb;border:1px solid rgba(255,255,255,.1)}

/* Footer text remains bright enough on navy. */
.site-footer,.site-footer p,.site-footer span,.site-footer a{color:#c7d8e5}
.site-footer h4,.site-footer .footer-brand-lockup b{color:#fff}
.site-footer .footer-brand-lockup span,.site-footer .footer-managed{color:#a9c0ce}
.site-footer a:hover{color:#fff}


/* SmartREP 1.10: targeted contrast + public header CTA repair */
.device-world,
.device-world .device-world-icon,
.device-world small,
.device-world h1,
.device-world h2,
.device-world h3,
.device-world h4,
.device-world p,
.device-world .tag-row span{
  color:#fff!important;
}
.device-world small{opacity:.82}
.device-world p{color:rgba(255,255,255,.86)!important}
.device-world .tag-row span{
  color:rgba(255,255,255,.96)!important;
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.18);
}

.public-topbar .public-nav>a.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 18px!important;
  border:1px solid rgba(15,105,255,.14);
  border-radius:14px;
  background:linear-gradient(135deg,#0f79f3 0%,#00ae9c 100%);
  color:#fff!important;
  font-family:var(--ui-display);
  font-size:13px;
  font-weight:860;
  line-height:1;
  letter-spacing:-.01em;
  box-shadow:0 9px 22px rgba(5,105,180,.18);
  transform:none;
  white-space:nowrap;
}
.public-topbar .public-nav>a.header-cta:hover,
.public-topbar .public-nav>a.header-cta:focus-visible{
  color:#fff!important;
  background:linear-gradient(135deg,#0869df 0%,#009b8c 100%);
  box-shadow:0 12px 28px rgba(5,105,180,.24);
  transform:translateY(-1px);
}
@media(max-width:1150px) and (min-width:901px){
  .public-topbar .public-nav>a.header-cta{padding:10px 13px!important;font-size:12px}
}
@media(max-width:900px){
  .public-topbar .public-nav>a.header-cta{
    width:100%;
    padding:13px 16px!important;
    margin-top:4px;
  }
}

/* SmartREP 1.12: layout, catalog media and repair summary refinements */

/* Admin navigation: no nested/internal scrollbar. The page itself scrolls naturally. */
.admin-shell-body .admin-nav{
  position:static;
  top:auto;
  max-height:none;
  overflow:visible;
  scrollbar-width:none;
}
.admin-shell-body .admin-nav::-webkit-scrollbar{display:none}
.admin-shell-body .admin-nav .nav-section{padding-top:14px}
.admin-shell-body .admin-nav a{padding:9px 11px}

/* Workshop board: wrap lanes instead of cutting the last lanes off-screen. */
.admin-shell-body .workshop-layout{grid-template-columns:260px minmax(0,1fr)}
.admin-shell-body .workshop-board{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  overflow:visible;
  padding:2px 0 16px;
  width:100%;
  min-width:0;
  align-items:start;
}
.admin-shell-body .workshop-column{min-width:0;min-height:360px}
.admin-shell-body .workshop-drop{min-height:300px}

/* Repair configurator summary: light, calmer and easier to scan. */
.order-summary{
  background:#fff;
  color:#102235;
  border:1px solid #d8e4ee;
  box-shadow:0 18px 46px rgba(24,55,82,.11);
}
.order-summary h1,.order-summary h2,.order-summary h3,.order-summary h4{color:#102235}
.order-summary .eyebrow{color:#0b70e8}
.order-summary .muted{color:#667b8f}
.order-summary .summary-device{border-bottom-color:#dce6ee}
.order-summary .summary-list span:first-child{color:#6a7f91}
.order-summary .summary-list b{color:#173148}
.order-summary .price-box{
  background:linear-gradient(135deg,#eaf4ff,#eafaf6);
  border:1px solid #cfe2ef;
  color:#102235;
}
.order-summary .price-box small{color:#587186}
.order-summary .price-box strong{color:#0a5fc7}
.order-summary .summary-note{
  background:#f3f8fc;
  border-color:#d7e5ef;
  color:#405d73;
}
.order-summary a:not(.btn):not(.pill){color:#0b67d8}

/* Catalog pictures are visible directly in the inventory instead of hiding behind media settings. */
.brand-tile-image{
  width:112px;
  height:78px;
  padding:0;
  overflow:hidden;
  background:#eaf2f7;
  flex:0 0 112px;
}
.brand-tile-image img,.manufacturer-image img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.manufacturer-art.manufacturer-image{
  width:74px;height:56px;padding:0;overflow:hidden;background:#eaf2f7;border-radius:15px;
}
.model-visual img{object-fit:cover}

.catalog-media-brands .media-preview img,.media-series .media-preview img{object-fit:cover}
.catalog-model-head{align-items:end}
.catalog-media-search{display:flex;gap:8px;align-items:center;min-width:min(430px,100%)}
.catalog-media-search input{min-width:240px}
.catalog-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.catalog-model-media-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 7px 24px rgba(30,55,86,.06)}
.catalog-model-thumb{height:190px;background:#eaf2f7;position:relative;overflow:hidden}
.catalog-model-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.catalog-model-thumb .badge{position:absolute;left:12px;bottom:12px;box-shadow:0 4px 14px rgba(0,0,0,.08)}
.catalog-model-media-body{padding:15px}
.catalog-model-media-body small{display:block;color:#697f92;margin-bottom:3px}
.catalog-model-media-body h3{margin:0 0 12px;color:#102235}
.catalog-model-media-body form{display:grid;gap:9px}
.catalog-model-media-body input[type=file]{font-size:12px;padding:9px}

@media(max-width:1380px){
  .admin-shell-body .workshop-board{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .admin-shell-body .workshop-layout{grid-template-columns:1fr}
  .admin-shell-body .workshop-board{grid-template-columns:1fr}
  .admin-shell-body .admin-nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
    overflow:visible;
  }
  .admin-shell-body .admin-nav .sidebar-brand,
  .admin-shell-body .admin-nav .nav-section,
  .admin-shell-body .admin-nav .sidebar-logout{grid-column:1/-1}
  .admin-shell-body .admin-nav .nav-section{display:block}
  .admin-shell-body .admin-nav a{white-space:normal}
  .admin-shell-body .admin-nav a .nav-icon{display:grid}
  .catalog-model-head{align-items:flex-start;flex-direction:column}
  .catalog-media-search{width:100%;min-width:0}
  .catalog-media-search input{min-width:0}
  .catalog-model-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .admin-shell-body .admin-nav{grid-template-columns:1fr}
  .admin-shell-body .admin-nav .sidebar-brand,
  .admin-shell-body .admin-nav .nav-section,
  .admin-shell-body .admin-nav .sidebar-logout{grid-column:auto}
  .brand-tile-image{width:88px;height:68px;flex-basis:88px}
  .catalog-media-search{display:grid;grid-template-columns:1fr auto}
  .catalog-media-search .btn.ghost{grid-column:1/-1}
}

/* SmartREP 1.14: formal live-chat + agent console + notifications */
.chat-service-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 14px 38px rgba(24,55,82,.08)}
.chat-service-status{display:flex;align-items:center;gap:13px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e3ebf1}
.chat-service-status>div{display:grid;gap:2px}.chat-service-status>div span{font-size:13px;color:#677c8f}.chat-status-dot{margin-left:auto;font-size:12px;font-weight:800;color:#0b7e68;background:#e6f8f3;border:1px solid #c8eee4;border-radius:999px;padding:7px 10px}
.agent-avatar,.agent-customer-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#0b70e8,#00a993);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(11,112,232,.18)}
.agent-avatar.large{width:58px;height:58px;border-radius:18px;font-size:18px;margin:auto}.customer-chat-box,.agent-chat-box{height:min(58vh,620px);min-height:390px;padding:18px;background:#f3f7fa;border:1px solid #dbe6ee;border-radius:20px;overflow:auto;display:flex;flex-direction:column;gap:12px}
.chat-box .bubble{max-width:min(76%,680px);padding:12px 14px;border-radius:18px;background:#fff;border:1px solid #dfe8ef;color:#20374a;box-shadow:0 4px 14px rgba(21,54,82,.05)}
.chat-box .bubble.me{align-self:flex-end;background:linear-gradient(135deg,#0d6fe7,#008f83);color:#fff;border-color:transparent}
.chat-box .bubble.agent:not(.me){background:#fff}.chat-box .bubble.system{align-self:center;max-width:88%;background:#eaf3ff;border-color:#cfe2f6;color:#1b466b}.chat-box .bubble.customer{align-self:flex-start}
.chat-box .bubble.me small,.chat-box .bubble.me .chat-bubble-head small{color:rgba(255,255,255,.78)}
.chat-bubble-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:7px}.chat-bubble-head b{font-size:12px;letter-spacing:.01em}.chat-bubble-head small{font-size:11px;color:#718496;white-space:nowrap}
.chat-compose{margin-top:16px}.chat-compose>label{display:block;font-weight:800;margin-bottom:7px}.chat-compose-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.chat-compose textarea{min-height:76px;resize:vertical}.chat-compose-row .btn{min-height:48px}

.chat-admin-head{align-items:end}.chat-admin-metrics{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agent-console{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:690px;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 44px rgba(25,52,78,.08)}
.agent-conversations{background:#f7fafc;border-right:1px solid #dfe8ef;max-height:760px;overflow:auto}.agent-panel-title{padding:18px;display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid #e2eaf0;position:sticky;top:0;background:#f7fafc;z-index:2}.agent-panel-title h3{margin:2px 0 0}
.agent-thread{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 16px;border-bottom:1px solid #e6edf2;text-decoration:none;color:#20374a;transition:.15s ease}.agent-thread:hover{background:#eef5fb}.agent-thread.active{background:#e7f2ff;box-shadow:inset 4px 0 #0d70e8}.agent-thread-copy{min-width:0;display:grid;gap:3px}.agent-thread-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.agent-thread-top b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-thread-top small{color:#7c8e9d}.agent-thread-preview{font-size:12px;color:#566e82;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-thread-copy>small{font-size:11px;color:#8999a7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-unread{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#e74861;color:#fff;font-size:11px;font-weight:900}
.agent-chat-panel{min-width:0;padding:20px;display:flex;flex-direction:column}.agent-chat-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:2px 2px 15px}.agent-chat-header h2{margin:2px 0 1px}.agent-chat-header p{margin:0;color:#6c8091}.agent-live-state{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#466074}.agent-live-state span{width:9px;height:9px;border-radius:50%;background:#0ab48d;box-shadow:0 0 0 5px rgba(10,180,141,.12)}.agent-chat-box{flex:1;height:auto;min-height:480px}.agent-compose{padding-top:2px}.agent-empty{margin:auto;text-align:center;max-width:400px;color:#657b8e}.agent-empty h2{margin-bottom:7px}.chat-settings-card{margin-top:18px}.chat-settings-card summary{cursor:pointer}

.nav-chat-badge{margin-left:auto;display:none;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#e74861;color:#fff;font-size:10px;font-weight:900;place-items:center}.nav-chat-badge.show{display:grid}.admin-nav a{position:relative}.admin-nav .nav-label{min-width:0}
.chat-notification-toast{position:fixed;right:22px;bottom:22px;z-index:10000;width:min(420px,calc(100vw - 30px));display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 16px;border-radius:18px;background:#071b2c;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.11);box-shadow:0 22px 60px rgba(0,0,0,.28);opacity:0;transform:translateY(18px) scale(.98);pointer-events:none;transition:.22s ease}.chat-notification-toast.show{opacity:1;transform:none;pointer-events:auto}.chat-notification-toast:hover{background:#0a2438}.chat-toast-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#12b89a;color:#fff;box-shadow:0 0 0 5px rgba(18,184,154,.12)}.chat-notification-toast>span:nth-child(2){display:grid;gap:2px;min-width:0}.chat-notification-toast b{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8fe8da}.chat-notification-toast strong{font-size:14px;color:#fff}.chat-notification-toast small{color:#c3d3df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-toast-open{font-size:12px;font-weight:800;color:#fff;white-space:nowrap}

@media(max-width:1180px){.agent-console{grid-template-columns:280px minmax(0,1fr)}}
@media(max-width:900px){.agent-console{grid-template-columns:1fr;min-height:0}.agent-conversations{max-height:340px;border-right:0;border-bottom:1px solid #dfe8ef}.agent-chat-box{min-height:400px}.chat-admin-head{align-items:flex-start}.chat-admin-metrics{margin-top:10px}}
@media(max-width:650px){.chat-service-status{align-items:flex-start;flex-wrap:wrap}.chat-status-dot{margin-left:55px}.chat-compose-row{grid-template-columns:1fr}.chat-compose-row .btn{width:100%}.customer-chat-box,.agent-chat-box{min-height:360px;height:54vh}.chat-box .bubble{max-width:90%}.agent-chat-panel{padding:12px}.agent-chat-header{align-items:flex-start;flex-direction:column}.chat-notification-toast{right:12px;bottom:12px;width:calc(100vw - 24px)}.chat-toast-open{display:none}}
