:root{
  --bg:#09090b; --bg2:#0f0f12; --surface:#141418; --surface2:#1b1b21; --surface3:#23232b;
  --line:#2a2a33; --line2:#383842;
  --fg:#f3f3f5; --muted:#9b9ba8; --faint:#6c6c78;
  --red:#e5141d; --red-hi:#ff3a41; --red-soft:rgba(229,20,29,.14); --red-glow:rgba(229,20,29,.45);
  --chrome-1:#f4f4f6; --chrome-2:#b9b9c1; --chrome-3:#7c7c86;
  --ok:#30c27a; --ok-soft:rgba(48,194,122,.14);
  --warn:#f1ab31; --warn-soft:rgba(241,171,49,.15);
  --info:#55a6ff; --info-soft:rgba(85,166,255,.14);
  --mute-soft:rgba(155,155,168,.14);
  --shadow:0 18px 50px rgba(0,0,0,.55);
  --hero-bg:radial-gradient(1200px 500px at 85% -10%, rgba(229,20,29,.22), transparent 60%), radial-gradient(900px 400px at -10% 110%, rgba(200,200,215,.08), transparent 60%);
  --display:"Saira", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body:"Barlow", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-sm:6px; --r:10px; --r-lg:16px;
  --header-h:64px;
  color-scheme:dark;
}
@media (prefers-color-scheme: light){ :root:not([data-theme="dark"]){
  --bg:#f3f3f5; --bg2:#ebebee; --surface:#ffffff; --surface2:#f6f6f8; --surface3:#ececf0;
  --line:#dedee4; --line2:#cacad2; --fg:#101014; --muted:#5b5b67; --faint:#8a8a95;
  --red:#d1111a; --red-hi:#e5141d; --red-soft:rgba(209,17,26,.09); --red-glow:rgba(209,17,26,.25);
  --chrome-1:#3a3a42; --chrome-2:#6b6b75; --chrome-3:#9a9aa4;
  --ok:#14945a; --ok-soft:rgba(20,148,90,.11); --warn:#b87606; --warn-soft:rgba(184,118,6,.12);
  --info:#1f6fd1; --info-soft:rgba(31,111,209,.1); --mute-soft:rgba(91,91,103,.1);
  --shadow:0 18px 50px rgba(20,20,30,.14);
  --hero-bg:radial-gradient(1200px 500px at 85% -10%, rgba(209,17,26,.12), transparent 60%), radial-gradient(900px 400px at -10% 110%, rgba(60,60,80,.06), transparent 60%);
  color-scheme:light; } }
:root[data-theme="light"]{
  --bg:#f3f3f5; --bg2:#ebebee; --surface:#ffffff; --surface2:#f6f6f8; --surface3:#ececf0;
  --line:#dedee4; --line2:#cacad2; --fg:#101014; --muted:#5b5b67; --faint:#8a8a95;
  --red:#d1111a; --red-hi:#e5141d; --red-soft:rgba(209,17,26,.09); --red-glow:rgba(209,17,26,.25);
  --chrome-1:#3a3a42; --chrome-2:#6b6b75; --chrome-3:#9a9aa4;
  --ok:#14945a; --ok-soft:rgba(20,148,90,.11); --warn:#b87606; --warn-soft:rgba(184,118,6,.12);
  --info:#1f6fd1; --info-soft:rgba(31,111,209,.1); --mute-soft:rgba(91,91,103,.1);
  --shadow:0 18px 50px rgba(20,20,30,.14);
  --hero-bg:radial-gradient(1200px 500px at 85% -10%, rgba(209,17,26,.12), transparent 60%), radial-gradient(900px 400px at -10% 110%, rgba(60,60,80,.06), transparent 60%);
  color-scheme:light;
}
:root[data-theme="dark"]{ color-scheme:dark; }

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg); color:var(--fg); font-family:var(--body); font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; transition:background .35s, color .35s; overflow-x:hidden}
h1,h2,h3,h4{font-family:var(--display); line-height:1.08; margin:0; text-wrap:balance; letter-spacing:-.01em}
p{margin:0}
a{color:inherit}
button,input,select,textarea{font:inherit; color:inherit}
:focus-visible{outline:2px solid var(--red-hi); outline-offset:2px}
.num,.mono{font-family:var(--mono); font-variant-numeric:tabular-nums}
.muted{color:var(--muted)} .faint{color:var(--faint)}
.wrap{max-width:1200px; margin-inline:auto; padding-inline:clamp(16px,4vw,32px)}
.chrome-text{background:linear-gradient(180deg,var(--chrome-1) 10%,var(--chrome-2) 55%,var(--chrome-3) 95%); -webkit-background-clip:text; background-clip:text; color:transparent}
.red-text{color:var(--red)}
.eyebrow{font-family:var(--display); font-size:.78rem; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; gap:.6rem}
.eyebrow::before{content:""; width:22px; height:2px; background:var(--red)}

.header{position:sticky; top:env(safe-area-inset-top,0px); z-index:50; height:var(--header-h); backdrop-filter:blur(14px) saturate(1.3); -webkit-backdrop-filter:blur(14px) saturate(1.3); background:color-mix(in srgb,var(--bg) 78%,transparent); border-bottom:1px solid var(--line)}
.header .wrap{height:100%; display:flex; align-items:center; gap:1rem}
.brand{display:flex; align-items:center; gap:.65rem; text-decoration:none; cursor:pointer; background:none; border:0; padding:0}
.brand-badge{width:52px; height:30px; border-radius:6px; background:#060607 center/cover no-repeat; box-shadow:0 0 0 1px rgba(255,255,255,.06), 0 6px 18px var(--red-soft)}
.brand-name{font-family:var(--display); font-style:italic; font-weight:800; font-size:1.25rem; letter-spacing:.01em; line-height:1}
.brand-name b{color:var(--red); font-weight:800}
.brand-sub{display:block; white-space:nowrap; font-size:.62rem; letter-spacing:.3em; color:var(--muted); font-style:normal; font-weight:600; margin-top:3px}
.nav{display:flex; gap:.2rem; margin-left:auto; align-items:center}
.nav a{font-family:var(--display); font-weight:600; font-size:.92rem; white-space:nowrap; text-decoration:none; padding:.5rem .8rem; border-radius:8px; color:var(--muted); position:relative; transition:color .2s}
.nav a:hover{color:var(--fg)}
.nav a.active{color:var(--fg)}
.nav a.active::after{content:""; position:absolute; left:.8rem; right:.8rem; bottom:.15rem; height:2px; background:var(--red); border-radius:2px; animation:grow .35s ease}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.nav .sep{width:1px; height:22px; background:var(--line2); margin:0 .4rem}
.nav a.pro{color:var(--fg); border:1px solid var(--line2)}
.nav a.pro + a.pro{margin-left:.35rem}
.nav a.pro.active{border-color:var(--red)}
.nav a.pro.active::after{display:none}
.icon-btn{width:40px; height:40px; display:grid; place-items:center; border-radius:10px; border:1px solid var(--line2); background:var(--surface); cursor:pointer; transition:transform .2s, border-color .2s; flex:none}
.icon-btn:hover{border-color:var(--red)}
.icon-btn svg{width:19px; height:19px}
.theme-btn .sun{display:none} :root[data-theme="light"] .theme-btn .sun{display:block} :root[data-theme="light"] .theme-btn .moon{display:none}
.menu-btn{display:none}
@media (max-width:1180px){
  .nav{display:none}
  .theme-btn{margin-left:auto}
  .menu-btn{display:grid}
}
.drawer-nav{position:fixed; inset:0; z-index:80; display:flex; justify-content:flex-end; background:rgba(0,0,0,.5); animation:fade .2s}
.drawer-nav .panel{width:min(320px,86vw); height:100%; background:var(--surface); border-left:1px solid var(--line); padding:calc(env(safe-area-inset-top,0px) + 18px) 18px 24px; display:flex; flex-direction:column; gap:.3rem; animation:slideL .3s cubic-bezier(.2,.8,.2,1)}
.drawer-nav a{font-family:var(--display); font-weight:600; font-size:1.1rem; padding:.8rem .6rem; border-radius:10px; text-decoration:none}
.drawer-nav a.active{background:var(--red-soft); color:var(--red-hi)}
.drawer-nav .label{font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--faint); padding:.9rem .6rem .2rem}
@keyframes slideL{from{transform:translateX(100%)}to{transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}

.demo-bar{background:var(--surface2); border-bottom:1px solid var(--line); font-size:.8rem; color:var(--muted)}
.demo-bar .wrap{display:flex; gap:.6rem; align-items:center; padding-block:.4rem; flex-wrap:wrap}
.demo-bar .dot{flex:none; width:7px; height:7px; border-radius:50%; background:var(--warn); box-shadow:0 0 0 3px var(--warn-soft)}
.linkish{background:none; border:0; padding:0; color:var(--fg); text-decoration:underline; text-underline-offset:3px; cursor:pointer; font-size:inherit}

.view{animation:viewIn .45s cubic-bezier(.2,.8,.2,1)}
@keyframes viewIn{from{opacity:.001; transform:translateY(14px)}to{opacity:1; transform:none}}

.btn{--b:var(--surface2); display:inline-flex; align-items:center; justify-content:center; gap:.5rem; font-family:var(--display); font-weight:700; font-size:.95rem; letter-spacing:.02em; padding:.72rem 1.15rem; border-radius:10px; border:1px solid var(--line2); background:var(--b); cursor:pointer; text-decoration:none; position:relative; overflow:hidden; transition:transform .15s, border-color .2s, background .2s, box-shadow .25s; white-space:nowrap}
.btn:hover{border-color:var(--chrome-3)}
.btn:active{transform:translateY(1px) scale(.99)}
.btn svg{width:18px; height:18px; flex:none}
.btn-red{background:linear-gradient(180deg,var(--red-hi),var(--red)); border-color:transparent; color:#fff; box-shadow:0 8px 24px var(--red-glow)}
.btn-red:hover{border-color:transparent; box-shadow:0 10px 32px var(--red-glow)}
.btn-red::after,.btn-chrome::after{content:""; position:absolute; inset:0; background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.35) 50%,transparent 65%); transform:translateX(-120%); transition:transform .7s}
.btn-red:hover::after,.btn-chrome:hover::after{transform:translateX(120%)}
.btn-chrome{background:linear-gradient(180deg,#f2f2f4,#b8b8c0); color:#111; border-color:transparent}
.btn-ghost{background:transparent}
.btn-sm{padding:.45rem .75rem; font-size:.84rem; border-radius:8px}
.btn-xs{padding:.3rem .55rem; font-size:.78rem; border-radius:7px}
.btn[disabled]{opacity:.45; pointer-events:none}
.btn-ok{background:var(--ok-soft); border-color:transparent; color:var(--ok)}
.btn-danger{background:var(--red-soft); border-color:transparent; color:var(--red-hi)}
.btn-row{display:flex; gap:.6rem; flex-wrap:wrap; align-items:center}

.hero{background:var(--hero-bg); position:relative; overflow:hidden; border-bottom:1px solid var(--line)}
.hero .wrap{display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(24px,4vw,56px); align-items:center; padding-block:clamp(36px,6vw,72px)}
.hero h1{font-size:clamp(2.3rem,5.4vw,4.3rem); font-style:italic; font-weight:800; letter-spacing:-.02em; margin:.9rem 0 1rem}
.hero h1 .red-text{display:inline-block}
.hero .lead{font-size:1.12rem; color:var(--muted); max-width:34em}
.hero-art{position:relative; min-width:0}
.hero-art .logo-frame{position:relative; border-radius:18px; overflow:hidden; background:#050506; box-shadow:0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05); animation:driveIn 1.1s cubic-bezier(.16,.9,.25,1) both}
.hero-art img{display:block; width:100%; height:auto}
.hero-art .logo-frame::after{content:""; position:absolute; inset:0; background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.14) 48%,transparent 60%); transform:translateX(-110%); animation:sheen 5.5s 1.4s ease-in-out infinite}
@keyframes sheen{0%,70%{transform:translateX(-110%)}100%{transform:translateX(110%)}}
@keyframes driveIn{from{transform:translateX(60px) skewX(-6deg); opacity:.001; filter:blur(6px)}to{transform:none; opacity:1; filter:none}}
.speed{position:absolute; left:-3%; z-index:0; height:2px; border-radius:2px; background:linear-gradient(90deg,transparent,var(--red)); animation:speed 2.4s linear infinite; opacity:.8}
.speed.s2{background:linear-gradient(90deg,transparent,var(--chrome-2)); animation-duration:3.1s; animation-delay:.6s}
.speed.s3{animation-duration:2.8s; animation-delay:1.2s}
@keyframes speed{from{transform:translateX(0); opacity:0}15%{opacity:.9}to{transform:translateX(-70px); opacity:0}}
.swoosh{position:absolute; inset:-6% -4% auto -8%; width:116%; pointer-events:none; z-index:-0}
.swoosh path{fill:none; stroke-linecap:round; stroke-dasharray:1400; stroke-dashoffset:0; animation:draw 1.8s .2s cubic-bezier(.3,.7,.2,1) both}
@keyframes draw{from{stroke-dashoffset:1400}to{stroke-dashoffset:0}}
.hero-quick{margin-top:1.6rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:1rem; display:grid; grid-template-columns:1fr 1fr; gap:.7rem; align-items:end; box-shadow:var(--shadow)}
.hero-quick .q-svc-f,.hero-quick .btn{grid-column:1/-1}
.hero-quick .field{min-width:0}
.trust{display:flex; gap:1.4rem; flex-wrap:wrap; margin-top:1.3rem; color:var(--muted); font-size:.9rem}
.trust span{display:flex; align-items:center; gap:.45rem}
.trust svg{width:17px; height:17px; color:var(--red)}
@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr}
  .hero-art{max-width:520px}
  .speed{display:none}
  .hero-quick{grid-template-columns:1fr}
}

.section{padding-block:clamp(48px,7vw,88px)}
.section-head{display:flex; justify-content:space-between; align-items:end; gap:1rem; flex-wrap:wrap; margin-bottom:2rem}
.section-head h2{font-size:clamp(1.8rem,3.6vw,2.7rem); font-style:italic; font-weight:800; margin-top:.6rem}
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden}
.svc-card{background:var(--surface); padding:1.5rem 1.4rem 1.4rem; position:relative; cursor:pointer; transition:background .25s; display:flex; flex-direction:column; gap:.6rem; min-width:0; animation:rise .6s both}
.svc-card:nth-child(2){animation-delay:.05s}.svc-card:nth-child(3){animation-delay:.1s}.svc-card:nth-child(4){animation-delay:.15s}.svc-card:nth-child(5){animation-delay:.2s}.svc-card:nth-child(6){animation-delay:.25s}
@keyframes rise{from{transform:translateY(16px)}to{transform:none}}
.svc-card:hover{background:var(--surface2)}
.svc-card .ico{width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:var(--red-soft); color:var(--red-hi); transition:transform .35s cubic-bezier(.3,1.6,.5,1)}
.svc-card:hover .ico{transform:rotate(-8deg) scale(1.08)}
.svc-card .ico svg{width:24px; height:24px}
.svc-card h3{font-size:1.2rem; font-weight:700}
.svc-card p{color:var(--muted); font-size:.95rem}
.svc-card .from{margin-top:auto; padding-top:.6rem; display:flex; justify-content:space-between; align-items:center; font-size:.85rem; color:var(--muted)}
.svc-card .from b{font-family:var(--mono); color:var(--fg); font-size:1rem}
.svc-card .arrow{transition:transform .25s; color:var(--red)}
.svc-card:hover .arrow{transform:translateX(5px)}
@media (max-width:900px){.services-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.services-grid{grid-template-columns:1fr}}

.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; counter-reset:st}
.step{position:relative; padding-top:1.2rem; border-top:2px solid var(--line2)}
.step::before{counter-increment:st; content:"0" counter(st); font-family:var(--mono); color:var(--red); font-size:.85rem; font-weight:600}
.step h4{font-size:1.15rem; margin:.4rem 0 .35rem}
.step p{color:var(--muted); font-size:.95rem}
.step::after{content:""; position:absolute; top:-2px; left:0; height:2px; width:0; background:var(--red); animation:fillx 1.2s .3s forwards}
.step:nth-child(2)::after{animation-delay:.6s}.step:nth-child(3)::after{animation-delay:.9s}.step:nth-child(4)::after{animation-delay:1.2s}
@keyframes fillx{to{width:100%}}
@media (max-width:860px){.steps{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.steps{grid-template-columns:1fr}}

.band{border-radius:var(--r-lg); padding:clamp(24px,4vw,44px); display:grid; grid-template-columns:1.4fr 1fr; gap:1.5rem; align-items:center; background:linear-gradient(120deg,var(--surface) 0%,var(--surface2) 100%); border:1px solid var(--line); position:relative; overflow:hidden}
.band::before{content:""; position:absolute; right:-80px; top:-120px; width:360px; height:360px; border-radius:50%; border:28px solid var(--red-soft)}
.band h2{font-size:clamp(1.6rem,3vw,2.3rem); font-style:italic; font-weight:800}
.band ul{list-style:none; padding:0; margin:1rem 0 0; display:grid; gap:.45rem; color:var(--muted)}
.band li{display:flex; gap:.5rem; align-items:flex-start}
.band li svg{width:18px; height:18px; color:var(--ok); flex:none; margin-top:3px}
.band .btn-row{justify-content:flex-end; position:relative}
@media (max-width:760px){.band{grid-template-columns:1fr}.band .btn-row{justify-content:flex-start}}

.footer{border-top:1px solid var(--line); padding-block:2rem; color:var(--muted); font-size:.88rem}
.footer .wrap{display:flex; gap:1rem; justify-content:space-between; flex-wrap:wrap; align-items:center}

.field{display:flex; flex-direction:column; gap:.35rem; min-width:0}
.field > label, .lbl{font-size:.78rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted)}
.input, select.input, textarea.input{width:100%; background:var(--bg2); border:1px solid var(--line2); border-radius:9px; padding:.68rem .8rem; outline:none; transition:border-color .2s, box-shadow .2s; min-width:0}
textarea.input{resize:vertical; min-height:84px}
.input:focus{border-color:var(--red); box-shadow:0 0 0 3px var(--red-soft)}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:.9rem}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:.9rem}
@media (max-width:640px){.grid2,.grid3{grid-template-columns:1fr}}
.chips{display:flex; gap:.45rem; flex-wrap:wrap}
.chip{border:1px solid var(--line2); background:var(--surface); border-radius:999px; padding:.42rem .8rem; font-size:.88rem; cursor:pointer; transition:all .18s; user-select:none; display:inline-flex; align-items:center; gap:.4rem}
.chip:hover{border-color:var(--chrome-3)}
.chip.on{background:var(--red-soft); border-color:var(--red); color:var(--fg)}
.chip .x{font-family:var(--mono); color:var(--muted)}
.seg{display:inline-flex; border:1px solid var(--line2); border-radius:10px; padding:3px; background:var(--bg2); gap:3px; flex-wrap:wrap}
.seg button{border:0; background:none; padding:.45rem .8rem; border-radius:7px; cursor:pointer; font-weight:600; font-size:.88rem; color:var(--muted)}
.seg button.on{background:var(--surface3); color:var(--fg); box-shadow:inset 0 -2px 0 var(--red)}
.switch{position:relative; width:46px; height:26px; flex:none; cursor:pointer}
.switch input{opacity:0; width:0; height:0; position:absolute}
.switch span{position:absolute; inset:0; background:var(--surface3); border:1px solid var(--line2); border-radius:99px; transition:.25s}
.switch span::after{content:""; position:absolute; width:18px; height:18px; top:3px; left:3px; border-radius:50%; background:var(--chrome-2); transition:.25s cubic-bezier(.3,1.5,.5,1)}
.switch input:checked + span{background:var(--red); border-color:var(--red)}
.switch input:checked + span::after{left:23px; background:#fff}
.check{display:flex; gap:.55rem; align-items:flex-start; cursor:pointer; font-size:.95rem}
.check input{accent-color:var(--red); width:17px; height:17px; margin-top:3px}

.page-head{padding-block:clamp(28px,4vw,48px) 1.2rem}
.page-head h1{font-size:clamp(1.9rem,4vw,2.9rem); font-style:italic; font-weight:800; margin-top:.5rem}
.page-head p{color:var(--muted); margin-top:.5rem; max-width:44em}
.wizard{display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:1.5rem; align-items:start; padding-bottom:4rem}
@media (max-width:960px){.wizard{grid-template-columns:1fr}}
.progress{display:flex; gap:.4rem; margin-bottom:1.2rem}
.progress .seg-p{flex:1; height:4px; border-radius:4px; background:var(--line2); position:relative; overflow:hidden}
.progress .seg-p i{position:absolute; inset:0; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.progress .seg-p.done i{transform:scaleX(1)}
.step-label{font-family:var(--mono); font-size:.8rem; color:var(--muted); margin-bottom:.3rem}
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(16px,2.5vw,26px); min-width:0}
.card h2{font-size:1.5rem; font-style:italic; font-weight:800}
.card h3{font-size:1.1rem; font-weight:700}
.stack{display:flex; flex-direction:column; gap:1rem}
.stack-sm{display:flex; flex-direction:column; gap:.55rem}
.svc-pick{display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem}
@media (max-width:720px){.svc-pick{grid-template-columns:1fr 1fr}}
@media (max-width:420px){.svc-pick{grid-template-columns:1fr}}
.svc-opt{border:1px solid var(--line2); border-radius:12px; padding:.9rem; background:var(--bg2); cursor:pointer; display:flex; flex-direction:column; gap:.35rem; text-align:left; transition:all .2s; position:relative}
.svc-opt:hover{border-color:var(--chrome-3); transform:translateY(-2px)}
.svc-opt.on{border-color:var(--red); background:var(--red-soft); box-shadow:0 0 0 3px var(--red-soft)}
.svc-opt svg{width:26px; height:26px; color:var(--red-hi)}
.svc-opt b{font-family:var(--display); font-size:1rem}
.svc-opt small{color:var(--muted); line-height:1.35}
.svc-opt.on::after{content:"✓"; position:absolute; top:.6rem; right:.7rem; width:22px; height:22px; border-radius:50%; background:var(--red); color:#fff; display:grid; place-items:center; font-size:.75rem; animation:pop .3s cubic-bezier(.3,1.6,.5,1)}
@keyframes pop{from{transform:scale(0)}to{transform:scale(1)}}
.items{display:grid; grid-template-columns:repeat(2,1fr); gap:.5rem}
@media (max-width:560px){.items{grid-template-columns:1fr}}
.item-row{display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.55rem .7rem; border:1px solid var(--line); border-radius:10px; background:var(--bg2)}
.item-row.has{border-color:var(--red)}
.item-row .nm{min-width:0}
.item-row .nm small{display:block; color:var(--faint); font-family:var(--mono); font-size:.72rem}
.qty{display:flex; align-items:center; gap:.3rem}
.qty button{width:28px; height:28px; border-radius:8px; border:1px solid var(--line2); background:var(--surface); cursor:pointer; font-weight:700; line-height:1}
.qty span{min-width:22px; text-align:center; font-family:var(--mono)}
.drop{border:1.5px dashed var(--line2); border-radius:12px; padding:1.1rem; text-align:center; color:var(--muted); cursor:pointer; transition:.2s; background:var(--bg2)}
.drop:hover,.drop.over{border-color:var(--red); color:var(--fg); background:var(--red-soft)}
.drop input{display:none}
.thumbs{display:flex; gap:.5rem; flex-wrap:wrap}
.thumb{width:78px; height:78px; border-radius:10px; background:var(--surface3) center/cover; position:relative; animation:pop .3s; border:1px solid var(--line)}
.thumb button{position:absolute; top:-7px; right:-7px; width:22px; height:22px; border-radius:50%; border:0; background:var(--red); color:#fff; cursor:pointer; font-size:.8rem}
.access-grid{display:grid; grid-template-columns:1fr 1fr; gap:1rem}
@media (max-width:720px){.access-grid{grid-template-columns:1fr}}
.access-box{border:1px solid var(--line); border-radius:12px; padding:1rem; background:var(--bg2); display:flex; flex-direction:column; gap:.8rem}
.access-box h4{font-size:1rem; display:flex; align-items:center; gap:.5rem}
.pin{width:10px; height:10px; border-radius:50%; background:var(--chrome-2); box-shadow:0 0 0 3px var(--mute-soft)}
.pin.red{background:var(--red); box-shadow:0 0 0 3px var(--red-soft)}
.wiz-nav{display:flex; justify-content:space-between; gap:.6rem; margin-top:1.4rem; flex-wrap:wrap}

.summary{position:sticky; top:calc(var(--header-h) + 16px)}
.summary .route{display:grid; grid-template-columns:14px 1fr; gap:.15rem .6rem; align-items:center; margin:.6rem 0 1rem}
.summary .route .ln{width:2px; height:18px; background:linear-gradient(var(--red),var(--chrome-3)); margin-left:4px}
.kv{display:flex; justify-content:space-between; gap:1rem; font-size:.92rem; padding:.28rem 0}
.kv span:first-child{color:var(--muted)}
.kv .num{text-align:right}
.total{border-top:1px solid var(--line2); margin-top:.6rem; padding-top:.8rem; display:flex; justify-content:space-between; align-items:baseline}
.total .big{font-family:var(--display); font-weight:800; font-style:italic; font-size:2.1rem; letter-spacing:-.01em}
.price-anim{display:inline-block; animation:tick .4s}
@keyframes tick{from{transform:translateY(-6px); opacity:.3}to{transform:none; opacity:1}}

.pay-opts{display:grid; grid-template-columns:1fr 1fr; gap:.7rem}
@media (max-width:520px){.pay-opts{grid-template-columns:1fr}}
.pay-opt{border:1px solid var(--line2); border-radius:12px; padding:.9rem 1rem; background:var(--bg2); cursor:pointer; text-align:left; transition:.2s}
.pay-opt.on{border-color:var(--red); background:var(--red-soft)}
.pay-opt .amt{font-family:var(--display); font-weight:800; font-size:1.5rem; font-style:italic}
.cardbox{border:1px solid var(--line2); border-radius:12px; padding:1rem; background:linear-gradient(135deg,var(--surface2),var(--bg2)); display:flex; flex-direction:column; gap:.8rem}
.secure{display:flex; gap:.5rem; align-items:center; font-size:.83rem; color:var(--muted)}
.secure svg{width:16px; height:16px; color:var(--ok)}

.success{text-align:center; padding:2.2rem 1rem; display:flex; flex-direction:column; align-items:center; gap:.8rem}
.success .tick{width:84px; height:84px}
.success .tick circle{fill:none; stroke:var(--ok); stroke-width:3; stroke-dasharray:260; animation:draw2 .8s both}
.success .tick path{fill:none; stroke:var(--ok); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:60; animation:draw3 .5s .6s both}
@keyframes draw2{from{stroke-dashoffset:260}to{stroke-dashoffset:0}}
@keyframes draw3{from{stroke-dashoffset:60}to{stroke-dashoffset:0}}
.ref{font-family:var(--mono); font-size:1.4rem; padding:.4rem .9rem; border:1px dashed var(--red); border-radius:10px; color:var(--red-hi)}

.track-line{position:relative; margin:1.4rem 0 .6rem; padding-top:34px}
.track-line .trk{height:4px; background:var(--line2); border-radius:4px; position:relative}
.track-line .trk i{position:absolute; left:0; top:0; bottom:0; background:linear-gradient(90deg,var(--chrome-3),var(--red)); border-radius:4px; transition:width 1.2s cubic-bezier(.2,.8,.2,1)}
.track-line .van{position:absolute; top:0; width:44px; height:26px; transform:translateX(-50%); transition:left 1.2s cubic-bezier(.2,.8,.2,1); color:var(--fg)}
.track-line .van svg{width:44px; height:26px}
.track-steps{display:grid; grid-template-columns:repeat(5,1fr); gap:.4rem; margin-top:.6rem}
.track-steps div{font-size:.78rem; color:var(--faint); font-weight:600}
.track-steps div.on{color:var(--fg)}
.track-steps div:not(:first-child){text-align:center}.track-steps div:last-child{text-align:right}
@media (max-width:520px){.track-steps div{font-size:.66rem}}
.timeline{list-style:none; margin:0; padding:0; display:flex; flex-direction:column}
.timeline li{display:grid; grid-template-columns:14px 1fr; gap:.8rem; padding-bottom:.9rem; position:relative}
.timeline li::before{content:""; width:10px; height:10px; border-radius:50%; background:var(--chrome-3); margin-top:6px; box-shadow:0 0 0 3px var(--surface)}
.timeline li:first-child::before{background:var(--red); box-shadow:0 0 0 3px var(--red-soft)}
.timeline li::after{content:""; position:absolute; left:4px; top:18px; bottom:0; width:2px; background:var(--line)}
.timeline li:last-child::after{display:none}
.timeline .t{font-family:var(--mono); font-size:.75rem; color:var(--faint)}

.pill{display:inline-flex; align-items:center; gap:.35rem; padding:.18rem .55rem; border-radius:999px; font-size:.75rem; font-weight:700; letter-spacing:.02em; white-space:nowrap; background:var(--mute-soft); color:var(--muted)}
.pill::before{content:""; width:6px; height:6px; border-radius:50%; background:currentColor}
.pill.red{background:var(--red-soft); color:var(--red-hi)}
.pill.ok{background:var(--ok-soft); color:var(--ok)}
.pill.warn{background:var(--warn-soft); color:var(--warn)}
.pill.info{background:var(--info-soft); color:var(--info)}
.pill.live::before{animation:blink 1.2s infinite}
@keyframes blink{50%{opacity:.2}}

.app{display:grid; grid-template-columns:232px minmax(0,1fr); min-height:calc(100vh - var(--header-h))}
.rail{border-right:1px solid var(--line); padding:1.2rem .8rem; display:flex; flex-direction:column; gap:.2rem; background:var(--bg2); position:sticky; top:var(--header-h); align-self:start; height:calc(100vh - var(--header-h)); overflow:auto}
.rail .who{padding:.4rem .6rem 1rem; border-bottom:1px solid var(--line); margin-bottom:.6rem}
.rail .who b{font-family:var(--display); display:block}
.rail button{display:flex; align-items:center; gap:.7rem; width:100%; text-align:left; border:0; background:none; padding:.62rem .7rem; border-radius:9px; cursor:pointer; color:var(--muted); font-weight:600; font-size:.93rem; position:relative; transition:.15s}
.rail button svg{width:18px; height:18px; flex:none}
.rail button:hover{background:var(--surface); color:var(--fg)}
.rail button.on{background:var(--surface2); color:var(--fg)}
.rail button.on::before{content:""; position:absolute; left:-.8rem; top:8px; bottom:8px; width:3px; border-radius:0 3px 3px 0; background:var(--red)}
.rail .count{margin-left:auto; font-family:var(--mono); font-size:.72rem; background:var(--red); color:#fff; border-radius:99px; padding:0 .45rem; min-width:20px; text-align:center}
.app-main{padding:clamp(16px,3vw,32px); min-width:0}
.app-main > .view{display:flex; flex-direction:column; gap:1.2rem}
.app-title{display:flex; justify-content:space-between; align-items:flex-end; gap:1rem; flex-wrap:wrap}
.app-title h1{font-size:clamp(1.5rem,3vw,2.1rem); font-style:italic; font-weight:800}
@media (max-width:900px){
  .app{grid-template-columns:1fr}
  .rail{position:sticky; top:var(--header-h); z-index:20; height:auto; flex-direction:row; overflow-x:auto; padding:.5rem clamp(16px,4vw,32px); border-right:0; border-bottom:1px solid var(--line); gap:.3rem; scrollbar-width:none}
  .rail::-webkit-scrollbar{display:none}
  .rail .who{display:none}
  .rail button{width:auto; white-space:nowrap; padding:.5rem .75rem; flex:none}
  .rail button.on::before{left:.6rem; right:.6rem; top:auto; bottom:0; width:auto; height:2px; border-radius:2px}
}

.mobile-only{display:none!important}
@media (max-width:900px){.mobile-only{display:flex!important}}
.kpis{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden}
.kpi{background:var(--surface); padding:1.1rem 1.2rem; min-width:0}
.kpi .l{font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600}
.kpi .v{font-family:var(--display); font-size:clamp(1.5rem,2.6vw,2rem); font-weight:800; font-style:italic; margin-top:.2rem; white-space:nowrap}
.kpi .d{font-size:.82rem; color:var(--muted)}
.kpi.alert .v{color:var(--red-hi)}
@media (max-width:860px){.kpis{grid-template-columns:1fr 1fr}}

.two-col{display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:1.2rem}
@media (max-width:1100px){.two-col{grid-template-columns:1fr}}

.table-wrap{overflow-x:auto; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface)}
table{width:100%; border-collapse:collapse; font-size:.9rem}
th{text-align:left; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600; padding:.75rem .9rem; border-bottom:1px solid var(--line); background:var(--surface2); white-space:nowrap}
td{padding:.72rem .9rem; border-bottom:1px solid var(--line); vertical-align:middle; white-space:nowrap}
tr:last-child td{border-bottom:0}
tbody tr{transition:background .15s}
tbody tr.click{cursor:pointer}
tbody tr.click:hover{background:var(--surface2)}
td.r,th.r{text-align:right}
.route-mini{display:flex; align-items:center; gap:.35rem; white-space:nowrap}
.route-mini svg{width:14px; height:14px; color:var(--red)}
.cards-list{display:none; flex-direction:column; gap:.6rem}
@media (max-width:720px){
  .table-wrap.resp{display:none}
  .cards-list{display:flex}
}
.o-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:.9rem; display:flex; flex-direction:column; gap:.4rem; cursor:pointer}
.o-card .top{display:flex; justify-content:space-between; gap:.5rem; align-items:center}

.filters{display:flex; gap:.5rem; flex-wrap:wrap; align-items:center}
.filters .input{max-width:260px}

.chart-box{padding:.4rem 0 0}
.chart-box svg{width:100%; height:auto; display:block}
.chart-box .axis{fill:var(--faint); font-family:var(--mono); font-size:10px}
.chart-box .grid{stroke:var(--line); stroke-width:1}
.chart-box .bar-a{fill:var(--chrome-3)}
.chart-box .bar-b{fill:var(--red)}
.chart-box rect{transform-origin:bottom; transform-box:fill-box; animation:barUp .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes barUp{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.legend{display:flex; gap:1rem; font-size:.8rem; color:var(--muted); flex-wrap:wrap}
.legend i{display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:.35rem; vertical-align:-1px}

.feed{list-style:none; margin:0; padding:0; display:flex; flex-direction:column}
.feed li{display:flex; gap:.7rem; padding:.65rem 0; border-bottom:1px solid var(--line); font-size:.9rem; animation:rise .4s}
.feed li:last-child{border-bottom:0}
.feed .dot{width:8px; height:8px; border-radius:50%; background:var(--chrome-3); margin-top:8px; flex:none}
.feed li.unread .dot{background:var(--red); box-shadow:0 0 0 3px var(--red-soft)}
.feed .t{font-family:var(--mono); font-size:.72rem; color:var(--faint)}

.overlay{position:fixed; inset:0; z-index:90; background:rgba(0,0,0,.55); display:flex; justify-content:flex-end; animation:fade .2s}
.sheet{width:min(640px,100vw); height:100%; background:var(--surface); border-left:1px solid var(--line); display:flex; flex-direction:column; animation:slideL .35s cubic-bezier(.2,.8,.2,1)}
.sheet-head{padding:calc(env(safe-area-inset-top,0px) + 16px) 20px 14px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:1rem; align-items:flex-start}
.sheet-head h2{font-size:1.35rem; font-style:italic; font-weight:800}
.sheet-body{padding:18px 20px calc(env(safe-area-inset-bottom,0px) + 28px); overflow:auto; display:flex; flex-direction:column; gap:1.1rem}
.overlay.center{justify-content:center; align-items:center; padding:16px}
.modal{width:min(720px,100%); max-height:92vh; overflow:auto; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); animation:modalIn .35s cubic-bezier(.2,.8,.2,1)}
@keyframes modalIn{from{transform:translateY(20px) scale(.98); opacity:.001}to{transform:none; opacity:1}}
.box{border:1px solid var(--line); border-radius:12px; padding:1rem; background:var(--bg2); display:flex; flex-direction:column; gap:.6rem; min-width:0}
.box h4{font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); font-family:var(--body); font-weight:700}
.match{display:flex; justify-content:space-between; gap:.7rem; align-items:center; padding:.6rem .7rem; border:1px solid var(--line); border-radius:10px; background:var(--surface)}
.match.no{opacity:.6}
.match .why{font-size:.78rem; color:var(--warn)}
.photo-row{display:flex; gap:.5rem; flex-wrap:wrap}
.photo-row .thumb{width:92px; height:92px}

.invoice{padding:28px; font-size:.92rem; color:#16161a; background:#fff; border-radius:var(--r-lg)}
.invoice h2{color:#16161a}
.invoice .inv-head{display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; align-items:flex-start; border-bottom:3px solid #e5141d; padding-bottom:14px; margin-bottom:16px}
.invoice table th{background:#f3f3f5; color:#555; border-color:#e5e5ea}
.invoice table td{border-color:#e5e5ea}
.invoice .muted{color:#666}
.invoice .tot{margin-left:auto; width:min(280px,100%); margin-top:12px}
.invoice .tot .kv span:first-child{color:#666}
.invoice-wrap{padding:14px; background:var(--bg2)}

.toasts{position:fixed; right:16px; bottom:calc(env(safe-area-inset-bottom,0px) + 16px); z-index:120; display:flex; flex-direction:column; gap:.5rem; max-width:min(380px,calc(100vw - 32px))}
.toast{background:var(--surface3); border:1px solid var(--line2); border-left:3px solid var(--red); padding:.75rem .9rem; border-radius:10px; box-shadow:var(--shadow); font-size:.9rem; animation:toastIn .45s cubic-bezier(.2,.9,.3,1.2)}
.toast.ok{border-left-color:var(--ok)}
.toast b{display:block; font-family:var(--display)}
.toast.out{animation:toastOut .3s forwards}
.mail-err{font-size:.85rem; background:rgba(220,38,38,.1); border:1px solid rgba(220,38,38,.35); border-radius:8px; padding:.55rem .7rem; word-break:break-word; margin:0}
@keyframes toastIn{from{transform:translateX(110%)}to{transform:none}}
@keyframes toastOut{to{transform:translateX(110%); opacity:0}}

.empty{padding:2rem 1rem; text-align:center; color:var(--muted); border:1px dashed var(--line2); border-radius:12px}
.note{font-size:.86rem; color:var(--muted); border-left:2px solid var(--red); padding:.2rem 0 .2rem .8rem}
.row{display:flex; gap:.6rem; align-items:center; flex-wrap:wrap}
.spread{display:flex; justify-content:space-between; gap:.8rem; align-items:center; flex-wrap:wrap}
.mini-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem}
@media (max-width:560px){.mini-stats{grid-template-columns:1fr}}
.mini-stats .box .v{font-family:var(--display); font-weight:800; font-style:italic; font-size:1.5rem}
.offer{border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); padding:1.1rem; display:grid; grid-template-columns:1fr auto; gap:1rem; align-items:center; animation:rise .5s both; position:relative; overflow:hidden}
.offer::before{content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--red)}
.offer .pay{font-family:var(--display); font-weight:800; font-style:italic; font-size:1.7rem; text-align:right}
@media (max-width:600px){.offer{grid-template-columns:1fr}.offer .pay{text-align:left}}
.facts{display:flex; gap:.4rem 1rem; flex-wrap:wrap; font-size:.86rem; color:var(--muted)}
.facts span{display:inline-flex; gap:.35rem; align-items:center}
.facts svg{width:15px; height:15px}
.set-row{display:grid; grid-template-columns:1fr 160px; gap:1rem; align-items:center; padding:.7rem 0; border-bottom:1px solid var(--line)}
.set-row:last-child{border-bottom:0}
.set-row small{display:block; color:var(--muted)}
@media (max-width:520px){.set-row{grid-template-columns:1fr}}
.input-suffix{position:relative}
.input-suffix span{position:absolute; right:.8rem; top:50%; transform:translateY(-50%); color:var(--muted); font-size:.85rem; pointer-events:none}
.input-suffix .input{padding-right:2.4rem}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important}
  .speed{display:none}
}

.dash-cols{align-items:start}
@media (max-width:600px){.demo-bar .long{display:none}}

.login-wrap{padding-block:clamp(32px,6vw,72px) 5rem; display:flex; justify-content:center}
.login{width:min(440px,100%)}
.brand-badge.big{width:88px; height:50px; border-radius:10px}
.login a:not(.btn){color:var(--red-hi)}
fieldset.addr{border:1px solid var(--line); border-radius:12px; padding:.9rem 1rem 1rem; margin:0; background:var(--bg2); display:flex; flex-direction:column; gap:.7rem; min-width:0}
fieldset.addr legend{font-family:var(--display); font-weight:700; padding:0 .4rem; display:flex; align-items:center; gap:.5rem}
.grid-cp{display:grid; grid-template-columns:120px minmax(0,1fr); gap:.7rem}
.ac{position:relative}
.ac-list{position:absolute; z-index:30; left:0; right:0; top:100%; margin:4px 0 0; padding:4px; list-style:none; background:var(--surface); border:1px solid var(--line2); border-radius:10px; box-shadow:var(--shadow); max-height:260px; overflow:auto; animation:modalIn .18s}
.ac-list li{display:flex; justify-content:space-between; gap:.8rem; padding:.55rem .65rem; border-radius:7px; cursor:pointer; font-size:.93rem}
.ac-list li span{color:var(--muted); font-size:.82rem}
.ac-list li:hover,.ac-list li.on{background:var(--red-soft)}
.ac-status{font-size:.82rem; color:var(--muted); display:flex; gap:.35rem; align-items:center}
.ac-status.ok{color:var(--ok)}
.track-form{display:grid; grid-template-columns:minmax(0,180px) minmax(0,1fr) auto; gap:.7rem; align-items:end; margin-top:1rem; max-width:680px}
@media (max-width:560px){.track-form{grid-template-columns:1fr}}
.invoice .proof{margin-top:16px; border:2px solid #14945a; border-radius:10px; padding:10px 12px}
.invoice .proof > b{color:#14945a; letter-spacing:.06em; text-transform:uppercase; font-size:.85rem}
.invoice .proof .kv span:first-child{color:#444}

.tagbox{display:flex; flex-direction:column; gap:.5rem; align-items:flex-start}
.tags{display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; width:100%; background:var(--bg2); border:1px solid var(--line2); border-radius:10px; padding:.4rem; min-height:48px}
.tags:focus-within{border-color:var(--red); box-shadow:0 0 0 3px var(--red-soft)}
.tag{display:inline-flex; align-items:center; gap:.3rem; background:var(--red-soft); border:1px solid var(--red); border-radius:999px; padding:.25rem .3rem .25rem .7rem; font-size:.88rem; animation:pop .25s}
.tag button{border:0; background:none; color:var(--muted); cursor:pointer; width:20px; height:20px; border-radius:50%; font-size:1rem; line-height:1}
.tag button:hover{background:var(--red); color:#fff}
.tag-ac{flex:1; min-width:180px}
.tag-input{border:0; outline:none; background:none; width:100%; padding:.35rem .4rem; font-size:.95rem}
.foot-links{display:flex; gap:1.1rem; flex-wrap:wrap}
.foot-links a{text-decoration:none; color:var(--muted)}
.foot-links a:hover{color:var(--fg)}
.contact-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; max-width:860px}
@media (max-width:640px){.contact-grid{grid-template-columns:1fr}}
.contact-card{display:flex; flex-direction:column; gap:.7rem; align-items:flex-start}
.contact-card .ico{width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:var(--red-soft); color:var(--red-hi)}
.contact-card .ico svg{width:22px; height:22px}
.contact-val{font-size:1.25rem; font-weight:600; text-decoration:none; word-break:break-all}

.pay-element{min-height:120px; padding:.2rem 0}
.pay-error{color:var(--red-hi); background:var(--red-soft); border-radius:8px; padding:.6rem .8rem; font-size:.9rem; margin:0}
.stripe-note{gap:.4rem}

.contact-layout{display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:1rem; align-items:start}
@media (max-width:860px){.contact-layout{grid-template-columns:1fr}}
.hp{position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden}
.sig{gap:.6rem}
.sig-tabs{display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; background:var(--bg2); border:1px solid var(--line); border-radius:12px}
.sig-tabs button{display:flex; align-items:center; justify-content:center; gap:.45rem; padding:.6rem .5rem; border:0; border-radius:9px; background:transparent; color:var(--muted); font:inherit; font-weight:600; font-size:.88rem; cursor:pointer; transition:background .2s, color .2s}
.sig-tabs button svg{width:17px; height:17px}
.sig-tabs button.on{background:var(--red); color:#fff; box-shadow:0 4px 14px rgba(229,20,29,.3)}
.sig-tabs button:not(.on):hover{color:var(--fg)}
.sig-pad{position:relative; border-radius:12px; background:#fff; border:1.5px solid var(--line2); overflow:hidden; touch-action:none}
.sig-pad canvas{display:block; width:100%; cursor:crosshair; touch-action:none; position:relative; z-index:1}
.sig-line{position:absolute; left:8%; right:8%; bottom:28%; border-bottom:1.5px dashed #c5c7cf; pointer-events:none}
.sig-hint{position:absolute; left:0; right:0; bottom:10%; text-align:center; font-size:.8rem; color:#8a8d98; pointer-events:none; transition:opacity .2s}
.sig-pad.has .sig-hint{opacity:0}
.sig-clear{position:absolute; top:8px; right:8px; z-index:2; border:1px solid #d7d9e0; background:#f5f6f8; color:#333; border-radius:8px; padding:.3rem .65rem; font:inherit; font-size:.78rem; font-weight:600; cursor:pointer}
.sig-clear:hover{background:#e9eaee}
.sig-preview{margin-top:.5rem; min-height:86px; display:flex; align-items:center; justify-content:center; background:#fff; color:#111827; border-radius:12px; border:1.5px solid var(--line2); font-size:2.6rem; padding:.4rem 1rem; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.sig-view{margin:.5rem 0 0; display:flex; flex-direction:column; gap:.3rem; align-self:flex-start}
.sig-view img{display:block; max-width:240px; max-height:100px; background:#fff; border-radius:8px; border:1px solid var(--line2); padding:.3rem}
.sig-view figcaption{font-size:.78rem; color:var(--muted)}
.sig > label.check{font-size:.9rem; font-weight:400; letter-spacing:0; text-transform:none; color:var(--fg)}
.thumb.ph{cursor:zoom-in; padding:0; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; transition:transform .2s, box-shadow .2s}
.thumb.ph:hover{transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.35)}
.thumb.ph:focus-visible{outline:2px solid var(--red); outline-offset:2px}
.thumb.ph.off{align-items:center; cursor:pointer}
.thumb.ph span{font-size:.68rem; color:var(--muted); padding:.2rem; text-align:center; line-height:1.2}
.lightbox{position:fixed; inset:0; z-index:200; background:rgba(5,5,7,.92); display:grid; place-items:center; padding:3.5rem 1rem 2rem; animation:fadeIn .2s}
.lightbox figure{margin:0; display:flex; flex-direction:column; align-items:center; gap:.7rem; max-width:100%; max-height:100%}
.lightbox img{max-width:min(1100px,100%); max-height:calc(100vh - 8rem); border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.6); object-fit:contain; background:#111}
.lightbox figcaption{color:#c9c9d2; font-size:.88rem}
.lightbox figcaption a{color:#fff}
.lb-missing{color:#c9c9d2; padding:3rem; border:1px dashed #444; border-radius:12px}
.lb-close{position:absolute; top:12px; right:12px; width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff; cursor:pointer; display:grid; place-items:center}
.lb-nav{position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff; font-size:2rem; line-height:1; cursor:pointer}
.lb-nav.prev{left:12px} .lb-nav.next{right:12px}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.mode-tabs{display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; background:var(--bg2); border:1px solid var(--line); border-radius:14px; max-width:520px}
.mode-tabs button{display:flex; align-items:center; justify-content:center; gap:.5rem; padding:.7rem .6rem; border:0; border-radius:10px; background:transparent; color:var(--muted); font:inherit; font-weight:700; cursor:pointer; transition:background .2s, color .2s}
.mode-tabs button svg{width:18px; height:18px}
.mode-tabs button.on{background:var(--surface3); color:var(--fg); box-shadow:inset 0 -2px 0 var(--red)}
.mode-tabs .count{background:var(--red); color:#fff; border-radius:999px; font-size:.72rem; padding:.05rem .45rem; min-width:1.3rem}
.mode-help{font-size:.9rem; margin-top:-.4rem}
.offer-card, .auction{position:relative; overflow:hidden; animation:rise .5s both}
.offer-card::before, .auction::before{content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--red)}
.auction::before{background:linear-gradient(var(--warn), var(--red))}
.pay-box{text-align:right; display:flex; flex-direction:column}
.pay-box .pay{font-family:var(--display); font-weight:800; font-style:italic; font-size:1.6rem}
.pay-box .faint{font-size:.78rem}
.countdown{display:inline-flex; align-items:center; gap:.35rem; font-size:.82rem}
.countdown svg{width:15px; height:15px}
.auction-grid{display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:1rem; align-items:start}
.bid-panel{border:1px solid var(--line2); border-radius:12px; padding:.9rem; background:var(--bg2); display:flex; flex-direction:column; gap:.6rem}
.ladder{display:flex; flex-direction:column; gap:.3rem; max-height:180px; overflow:auto}
.rung{display:flex; justify-content:space-between; gap:.6rem; padding:.4rem .6rem; border-radius:8px; background:var(--surface); font-size:.88rem}
.rung.me{background:var(--red-soft); outline:1px solid var(--red)}
.rung:first-child b{color:var(--ok)}
.job-acc .box{padding:.7rem .8rem}
@media (max-width:900px){.auction-grid{grid-template-columns:1fr}}
.pricing-opts{display:grid; grid-template-columns:1fr 1fr; gap:.7rem}
.pricing-opt{border:1px solid var(--line2); border-radius:14px; padding:1rem; background:var(--bg2); cursor:pointer; text-align:left; display:flex; flex-direction:column; gap:.3rem; transition:.2s; color:var(--fg); font:inherit}
.pricing-opt > svg{width:22px; height:22px; color:var(--muted)}
.pricing-opt b{font-size:1.05rem}
.pricing-opt .amt{font-family:var(--display); font-weight:800; font-style:italic; font-size:1.35rem}
.pricing-opt.on{border-color:var(--red); background:var(--red-soft)}
.pricing-opt.on > svg{color:var(--red)}
@media (max-width:600px){.pricing-opts{grid-template-columns:1fr}}
.bids-box{border-color:var(--warn)}
.bid-list{display:flex; flex-direction:column; gap:.6rem}
.bid-offer{display:flex; justify-content:space-between; gap:1rem; align-items:center; border:1px solid var(--line2); border-radius:12px; padding:.8rem .9rem; background:var(--surface); animation:rise .4s both}
.bid-offer.best{border-color:var(--ok); box-shadow:0 0 0 1px var(--ok-soft)}
.bid-side{display:flex; flex-direction:column; align-items:flex-end; gap:.3rem; flex:none}
.bid-side .big{font-family:var(--display); font-weight:800; font-style:italic; font-size:1.45rem}
.bid-msg{font-size:.88rem; color:var(--muted); font-style:italic; margin-top:.3rem}
@media (max-width:520px){.bid-offer{flex-direction:column; align-items:stretch}.bid-side{align-items:stretch; flex-direction:row; justify-content:space-between; align-items:center}}
.fee-card{gap:1rem}
.fee-price{display:flex; align-items:baseline; gap:.8rem; flex-wrap:wrap; padding:1rem 1.1rem; border-radius:14px; border:1px solid var(--red); background:var(--red-soft)}
.fee-price .big{font-family:var(--display); font-weight:800; font-style:italic; font-size:2.4rem}
.fee-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.55rem}
.fee-list li{display:flex; gap:.6rem; align-items:center}
.fee-list svg{width:18px; height:18px; color:var(--red); flex:none}
.fee-box{padding:1rem 1.1rem}
.foot-legal{margin-top:.8rem; padding-top:.8rem; border-top:1px dashed var(--line); font-size:.82rem}
.legal-layout{display:grid; grid-template-columns:240px minmax(0,1fr); gap:1.4rem; align-items:start; padding-bottom:3rem}
.legal-nav{position:sticky; top:90px; display:flex; flex-direction:column; gap:.2rem}
.legal-nav a{padding:.55rem .8rem; border-radius:10px; color:var(--muted); text-decoration:none; font-weight:600; font-size:.92rem}
.legal-nav a:hover{color:var(--fg); background:var(--surface2)}
.legal-nav a.on{color:var(--fg); background:var(--surface3); box-shadow:inset 3px 0 0 var(--red)}
.legal{line-height:1.65; max-width:820px}
.legal section{margin-top:1.6rem}
.legal h2{font-size:1.15rem; margin-bottom:.5rem}
.legal p{margin:.5rem 0; color:var(--fg)}
.legal ul{margin:.5rem 0; padding-left:1.2rem}
.legal li{margin:.3rem 0}
.legal a{color:var(--red-hi)}
@media (max-width:860px){.legal-layout{grid-template-columns:1fr}.legal-nav{position:static; flex-direction:row; overflow-x:auto; gap:.4rem}.legal-nav a{white-space:nowrap}}
