:root{
  --green:#1E9E57; --green-strong:#157A43; --green-soft:#D6F0E0;
  --forest:#0C3A2A; --forest-2:#124A36;
  --bg:#F5F8F6; --paper:#FFFFFF; --mint:#EAF6EE;
  --ink:#16231D; --muted:#56675F; --line:#DCE6E0;
  --gA:#1E9E57; --gB:#7CC79A; --gC:#E0B24A; --gD:#D66A4E;
  --error:#B42318;
  --radius:12px;
  --calm-bg:#F6F7F7; --calm-line:#E4E8E6; --calm-line-strong:#CDD4D0; --tint:#F4FAF6; --calm-disabled:#FAFBFB;
  --shadow:0 1px 2px rgba(12,58,42,.06), 0 12px 32px -12px rgba(12,58,42,.18);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --green:#34C173; --green-strong:#4FD58A; --green-soft:#17382A;
    --bg:#0F1714; --paper:#16211C; --mint:#15291F;
    --ink:#E6EFEA; --muted:#9BAFA5; --line:#27372F; --error:#F97066;
    --shadow:0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --calm-bg:#111816; --calm-line:#26322C; --calm-line-strong:#3A4A42; --tint:#14231B; --calm-disabled:#131C18;
  }
}
:root[data-theme="dark"]{
  --calm-bg:#111816; --calm-line:#26322C; --calm-line-strong:#3A4A42; --tint:#14231B; --calm-disabled:#131C18;
  --green:#34C173; --green-strong:#4FD58A; --green-soft:#17382A;
  --bg:#0F1714; --paper:#16211C; --mint:#15291F;
  --ink:#E6EFEA; --muted:#9BAFA5; --line:#27372F; --error:#F97066;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
.sell-bulk-page{background:var(--bg);color:var(--ink);font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
.sell-bulk-page img,.sell-bulk-page svg{max-width:100%}
.sell-bulk-page a{color:var(--green-strong)}
.sell-bulk-page h1,.sell-bulk-page h2,.sell-bulk-page h3{line-height:1.15;margin:0;letter-spacing:-.02em}
.sell-bulk-page p{margin:0}
.wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
:focus-visible{outline:3px solid var(--green);outline-offset:2px;border-radius:6px}

/* Buttons */
.sell-bulk-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 16px/1 "Poppins",system-ui,sans-serif;padding:16px 26px;border-radius:var(--radius);border:0;cursor:pointer;text-decoration:none;white-space:nowrap}
.sell-bulk-page .btn-primary{background:var(--green);color:#fff}
.sell-bulk-page .btn-primary:hover{background:var(--green-strong)}
:root[data-theme="dark"] .sell-bulk-page .btn-primary{color:#07130D}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .sell-bulk-page .btn-primary{color:#07130D}}
.sell-bulk-page .btn-sm{padding:11px 18px;font-size:14px}

/* Hero */
.hero{background:var(--paper);padding:64px 0 72px;border-bottom:1px solid var(--line)}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(2.5rem,5.2vw,4rem);font-weight:700;letter-spacing:-.035em}
.hero-sub{font-size:clamp(1.05rem,1.6vw,1.2rem);color:var(--muted);margin-top:18px;max-width:34em}
.qs{margin-top:32px;background:var(--mint);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.qs-q{font-weight:600;font-size:15px;margin-bottom:12px}
.qs-chips{display:flex;flex-wrap:wrap;gap:8px}
.qs-chip{font:500 14px/1 "Poppins",sans-serif;padding:11px 14px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer}
.qs-chip:hover{border-color:var(--green);color:var(--green-strong)}
.qs-foot{display:flex;align-items:center;gap:16px;margin-top:16px;flex-wrap:wrap}
.qs-foot span{font-size:13px;color:var(--muted)}
.hero-trust{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:22px;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.hero-trust li{display:flex;align-items:center;gap:8px}
.tick{width:18px;height:18px;flex:none;color:var(--green)}

/* Report card (hero visual) */
.report{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.report-head{padding:20px 22px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line)}
.report-head h3{font-size:16px;font-weight:600;letter-spacing:-.01em}
.report-head p{font-size:13px;color:var(--muted);margin-top:2px}
.pill{font-size:12px;font-weight:600;padding:6px 10px;border-radius:999px;background:var(--green-soft);color:var(--green-strong);white-space:nowrap}
.report-sum{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}
.report-sum div{padding:14px 22px}
.report-sum div+div{border-left:1px solid var(--line)}
.report-sum b{display:block;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.report-sum span{font-size:12px;color:var(--muted)}
.report table{width:100%;border-collapse:collapse;font-size:13px}
.report th{text-align:left;font-weight:500;color:var(--muted);padding:12px 22px 8px;font-size:12px}
.report td{padding:9px 22px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}
.report td.qty{text-align:right;width:52px;font-weight:600}
.report th.qty{text-align:right}
.bar{display:flex;height:8px;border-radius:4px;overflow:hidden;min-width:110px;background:var(--line)}
.bar i{display:block;height:100%}
.bar .a{background:var(--gA)}.bar .b{background:var(--gB)}.bar .c{background:var(--gC)}.bar .d{background:var(--gD)}
.report-legend{display:flex;gap:14px;flex-wrap:wrap;padding:14px 22px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);background:var(--mint)}
.report-legend span{display:flex;align-items:center;gap:6px}
.report-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.report-cap{font-size:12px;color:var(--muted);margin-top:12px;text-align:center}
.table-scroll{overflow-x:auto}

/* Under-20 strip */
.sell-bulk-page .small-lot{background:var(--forest);color:#fff}
.sell-bulk-page .small-lot .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;padding-bottom:18px;flex-wrap:wrap}
.sell-bulk-page .small-lot p{font-size:15px;color:#fff !important}
.sell-bulk-page .small-lot strong{color:#fff !important;font-weight:600}
.sell-bulk-page .small-lot a{color:#fff !important;font-weight:600;font-size:15px;text-decoration:none;border:1px solid rgba(255,255,255,.35);padding:10px 16px;border-radius:var(--radius);white-space:nowrap}
.sell-bulk-page .small-lot a:hover{background:rgba(255,255,255,.08);color:#fff !important}

/* Sections */
.section{padding:88px 0}
.section-head{max-width:640px;margin-bottom:44px}
.section-head h2{font-size:clamp(1.8rem,3.2vw,2.5rem);font-weight:700}
.section-head p{color:var(--muted);margin-top:12px;font-size:17px}

/* Why */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:var(--paper);border:1px solid var(--line);border-radius:16px}
.why-col{padding:32px 30px}
.why-col+.why-col{border-left:1px solid var(--line)}
.why-col h3{font-size:19px;font-weight:600;margin-bottom:6px}
.why-col>p{color:var(--muted);font-size:14px;margin-bottom:20px}
.why-list{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.why-list li{display:grid;grid-template-columns:22px 1fr;gap:10px}
.why-list b{display:block;font-weight:600;font-size:15px}
.why-list span{display:block;color:var(--muted);font-size:14px;line-height:1.5}
.who{margin-top:40px;display:flex;align-items:center;gap:14px 20px;flex-wrap:wrap}
.who p{font-weight:600;font-size:15px}
.who ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.who li{font-size:14px;padding:8px 14px;border-radius:999px;background:var(--paper);border:1px solid var(--line);color:var(--ink)}

/* Process */
.process-bg{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:24px;position:relative;counter-reset:step}
.steps::before{content:"";position:absolute;top:22px;left:22px;right:22px;height:2px;background:var(--line)}
.step{position:relative}
.step-num{width:44px;height:44px;border-radius:50%;background:var(--paper);border:2px solid var(--green);color:var(--green-strong);display:grid;place-items:center;font-weight:700;font-size:17px;position:relative;margin-bottom:18px}
.step:first-child .step-num{background:var(--green);color:#fff;border-color:var(--green)}
.step h3{font-size:17px;font-weight:600;margin-bottom:6px}
.step p{font-size:14px;color:var(--muted);line-height:1.55}
.process-cta{margin-top:52px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--mint);border:1px solid var(--line);border-radius:var(--radius);padding:22px 26px;flex-wrap:wrap}
.process-cta p{font-size:15px;max-width:48em}
.process-cta strong{font-weight:600}

/* Quote */
.quote{background:var(--forest);color:#E4F2EA;padding:88px 0}
.quote-top{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:end;margin-bottom:36px}
.quote-top h2{font-size:clamp(2rem,3.4vw,2.75rem);font-weight:700;color:#fff}
.quote-top>div>p{margin-top:14px;color:#BFD9CA;font-size:17px;max-width:32em}
.next{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.next li{display:flex;flex-direction:column;gap:8px}
.next .n{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;font-weight:600;font-size:13px;color:#fff}
.next b{display:block;color:#fff;font-weight:600;font-size:14px;line-height:1.35}
.next span{font-size:13px;color:#BFD9CA;line-height:1.45}
.contact-line{margin-top:22px;font-size:14px;color:#BFD9CA;text-align:center}
.contact-line a{color:#fff;font-weight:500}

.form-card{background:var(--paper);color:var(--ink);border-radius:16px;padding:40px;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)}
fieldset{border:0;padding:0;margin:0;min-width:0}
.group+.group{margin-top:36px;padding-top:32px;border-top:1px solid var(--line)}
.group-title{font-size:20px;font-weight:600;padding:0;letter-spacing:-.01em}
.group-sub{color:var(--muted);font-size:14px;margin:4px 0 20px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
label,.lbl{font-size:14px;font-weight:500}
.req{color:var(--green-strong)}
.opt{color:var(--muted);font-weight:400}
input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea{font:400 15px/1.4 "Poppins",system-ui,sans-serif;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:12px 14px;width:100%}
input:hover,select:hover,textarea:hover{border-color:#B9CBC1}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2356675F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}
textarea{min-height:100px;resize:vertical}
.hint{font-size:13px;color:var(--muted)}
.err{font-size:13px;color:var(--error);display:none}
.invalid>.err{display:block}
.invalid input,.invalid select{border-color:var(--error)}

[hidden]{display:none!important}
.group>legend{float:left;width:100%}
.group-sub{clear:both}
/* Mode choice */
.mode{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mode-opt{position:relative;display:block;cursor:pointer}
.mode-opt input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.mode-card{display:grid;grid-template-columns:48px 1fr 22px;gap:14px;align-items:center;padding:20px;border:1.5px solid var(--line);border-radius:var(--radius);background:var(--paper);height:100%}
.mode-icon{width:48px;height:48px;border-radius:10px;background:var(--mint);color:var(--green-strong);display:grid;place-items:center}
.mode-card b{display:block;font-size:16px;font-weight:600}
.mode-card small{display:block;font-size:13.5px;color:var(--muted);line-height:1.45;margin-top:2px}
.mode-dot{width:22px;height:22px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center}
.mode-opt:hover .mode-card{border-color:#9FCDB2}
.mode-opt input:checked+.mode-card{border-color:var(--green);background:var(--mint);box-shadow:0 0 0 1px var(--green)}
.mode-opt input:checked+.mode-card .mode-icon{background:var(--green);color:#fff}
.mode-opt input:checked+.mode-card .mode-dot{border-color:var(--green);background:var(--green);box-shadow:inset 0 0 0 4px var(--paper)}
.mode-opt input:focus-visible+.mode-card{outline:3px solid var(--green);outline-offset:2px}
.mode-or{display:none}
.panel{margin-top:18px}
.panel[hidden]{display:none}

/* Builder (compact configurator) */
.builder{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}
.builder-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;background:var(--mint);border-bottom:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0}
.builder-head b{font-size:15px;font-weight:600}
.builder-head span{font-size:13px;color:var(--muted)}
.builder.editing .builder-head{background:#FFF6E0;border-bottom-color:#F0DDA8}
:root[data-theme="dark"] .builder.editing .builder-head{background:#2E2715;border-bottom-color:#4A3E1E}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .builder.editing .builder-head{background:#2E2715;border-bottom-color:#4A3E1E}}
.cfg{padding:16px 18px 18px}
.cat-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:14px}
.tile{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 10px;border:1.5px solid var(--line);border-radius:10px;background:var(--paper);cursor:pointer;font:500 14px/1 "Poppins",sans-serif;color:var(--ink)}
.tile svg{color:var(--muted);flex:none}
.tile:hover{border-color:var(--green);color:var(--green-strong)}
.tile:hover svg{color:var(--green-strong)}
.tile[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}
.tile[aria-pressed="true"] svg{color:#fff}
.cf-model>.lbl{color:var(--ink);font-weight:600}
#modelCb input{padding-left:40px!important;font-size:16px;font-weight:500;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' stroke='%2356675F' stroke-width='2'/%3E%3Cpath d='M15.5 15.5L20 20' stroke='%2356675F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:13px center}
#modelCb input:not(:disabled){border-color:#A9C4B5}
.cf .lbl .tag{display:none;margin-left:6px;font-size:11px;font-weight:600;color:#2F5FA8;background:#E3EEFB;border-radius:4px;padding:1px 6px}
.cf.is-custom .lbl .tag{display:inline-block}
.cb.custom::after{display:none}
.x-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:6px;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.x-btn:hover{background:var(--mint);color:var(--ink)}
.cb .x-btn{display:none}
.cb.custom .x-btn{display:grid}
.swap{position:relative}
.swap input{padding-right:42px!important;border-style:dashed}
.cfg .cb.custom input{border-style:dashed;border-color:#8FB0DA}
.line1.with-type{grid-template-columns:minmax(0,2.3fr) minmax(0,2.3fr) minmax(0,5.4fr)}
.cbadge{display:inline-block;margin-left:6px;font-size:10.5px;font-weight:600;color:#2F5FA8;background:#E3EEFB;border-radius:4px;padding:1px 5px;vertical-align:1px}
.cb-list .hint-b{float:right;font-size:12px;color:var(--muted);font-weight:400;margin-left:10px}
.line{display:grid;gap:10px;align-items:start}
.line1{grid-template-columns:minmax(0,3fr) minmax(0,7fr)}
.line2{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr) 92px auto;margin-top:12px}
.cf{display:flex;flex-direction:column;gap:5px;min-width:0}
.cf>.lbl{font-size:12.5px;font-weight:500;color:var(--muted)}
.cf small{font-size:12px;color:var(--muted);line-height:1.35}
.ctl{height:46px}
.cfg select,.cfg input[type=text],.cfg input[type=number]{height:46px;padding:0 14px}
.cfg select{padding-right:36px}
.cfg select:disabled,.cfg input:disabled{background:var(--bg);color:var(--muted);cursor:not-allowed;opacity:1}
.sub-input{margin-top:6px}


.cb{position:relative}
.cb input{padding-right:36px!important}
.cb::after{content:"";position:absolute;right:15px;top:18px;width:7px;height:7px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);pointer-events:none}
.cb.custom input{border-style:dashed}
.cb-list{position:absolute;z-index:15;left:0;right:0;top:calc(100% + 4px);margin:0;padding:6px;list-style:none;background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);max-height:300px;overflow-y:auto}
.cb-list li{padding:9px 10px;border-radius:6px;font-size:14px;cursor:pointer}
.cb-list li[aria-selected="true"]{background:var(--mint);color:var(--green-strong)}
.cb-list li.cur{font-weight:600}
.cb-list li.add{border-top:1px solid var(--line);margin-top:4px;border-radius:0 0 6px 6px;color:var(--green-strong);font-weight:500}
.cb-list li.none{color:var(--muted);cursor:default}
.cb-list mark{background:none;color:inherit;font-weight:700}

.seg{display:flex;height:46px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--paper)}
.seg button{flex:1;min-width:0;border:0;background:none;font:500 13.5px "Poppins",sans-serif;color:var(--ink);cursor:pointer;padding:0 4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.seg button+button{border-left:1px solid var(--line)}
.seg button:hover{background:var(--mint)}
.seg button[aria-pressed="true"]{background:var(--green);color:#fff;font-weight:600}
:root[data-theme="dark"] .seg button[aria-pressed="true"]{color:#07130D}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .seg button[aria-pressed="true"]{color:#07130D}}
.seg button:focus-visible{outline-offset:-3px}

#qtyInput{font-weight:600;font-variant-numeric:tabular-nums;-moz-appearance:textfield}
#qtyInput::-webkit-outer-spin-button,#qtyInput::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.add-wrap{display:flex;gap:8px;padding-top:22px}
.add-wrap .sell-bulk-page .btn{height:46px;padding:0 20px}
#addBtn[aria-disabled="true"]{background:#9FCDB2;cursor:pointer}
:root[data-theme="dark"] #addBtn[aria-disabled="true"]{background:#24583E;color:#9BAFA5}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) #addBtn[aria-disabled="true"]{background:#24583E;color:#9BAFA5}}
.sell-bulk-page .btn-ghost{background:var(--paper);color:var(--ink);border:1px solid var(--line)}
.sell-bulk-page .btn-ghost:hover{border-color:var(--muted)}
.b-note{font-size:13px;color:var(--green-strong);margin-top:12px;display:none}
.b-note.show{display:block}
.b-note.err{color:var(--error)}

/* Inventory table */
.inv{margin-top:20px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--paper)}
.inv-head{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid var(--line)}
.inv-head b{font-size:15px;font-weight:600}
.inv-head span{font-size:13px;color:var(--muted)}
.inv table{width:100%;border-collapse:collapse;font-size:14px}
.inv th{text-align:left;font-size:12.5px;font-weight:500;color:var(--muted);padding:12px 20px;background:var(--bg);border-bottom:1px solid var(--line)}
.inv td{padding:14px 20px;border-bottom:1px solid var(--line);vertical-align:middle;font-variant-numeric:tabular-nums}
.inv th.num,.inv td.num{text-align:right}
.inv td.num{font-weight:600;font-size:15px}
.inv td small{display:block;color:var(--muted);font-size:12.5px}
.inv td .dev{font-weight:600}
.inv tr.editing td{background:#FFF9EA}
:root[data-theme="dark"] .inv tr.editing td{background:#2A2414}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .inv tr.editing td{background:#2A2414}}
.inv tr.flash td{background:var(--green-soft)}
.row-actions{display:flex;justify-content:flex-end;gap:4px}
.row-actions button{background:none;border:1px solid transparent;border-radius:8px;padding:0;width:34px;height:34px;justify-content:center;font:500 13px "Poppins",sans-serif;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.row-actions button:hover{border-color:var(--line);color:var(--ink);background:var(--bg)}
.row-actions button.rm:hover{color:var(--error)}
.inv-empty td{text-align:center;color:var(--muted);padding:34px 20px}
.inv-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 20px;background:var(--mint)}
.total{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}
.total span{color:var(--muted);font-weight:400;font-size:14px;margin-left:8px}
.status{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500}
.meter{width:140px;height:8px;border-radius:4px;background:var(--line);overflow:hidden}
.meter i{display:block;height:100%;background:var(--gC);width:0}
.status.ok .meter i{background:var(--green)}
.status.ok{color:var(--green-strong)}
.min-note{display:none;padding:14px 20px;border-top:1px solid #F0DDA8;background:#FFF6E0;color:#6B4E0E;font-size:14px}
:root[data-theme="dark"] .min-note{background:#2E2715;border-top-color:#4A3E1E;color:#F2D78C}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .min-note{background:#2E2715;border-top-color:#4A3E1E;color:#F2D78C}}
.min-note.show{display:block}
.min-note a{color:inherit;font-weight:600}
.inv-err{display:none;margin-top:10px;font-size:13px;color:var(--error)}
.inv-err.show{display:block}

/* Upload */
.upload{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:var(--paper)}
.drop{border:1.5px dashed #B9CBC1;border-radius:var(--radius);padding:36px 22px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;background:var(--mint);cursor:pointer;position:relative}
.drop.drag{border-color:var(--green);background:var(--green-soft)}
.drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.drop-icon{width:52px;height:52px;border-radius:12px;background:var(--paper);border:1px solid var(--line);display:grid;place-items:center;color:var(--green-strong)}
.drop b{display:block;font-weight:600;font-size:16px}
.drop small{color:var(--muted);font-size:13px}
.drop:focus-within{outline:3px solid var(--green);outline-offset:2px}
.file-row{display:none;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:12px 14px;border:1px solid var(--green);background:var(--mint);border-radius:8px;font-size:14px;font-weight:500}
.file-row.show{display:flex}
.file-row button{background:none;border:0;color:var(--muted);font:500 13px "Poppins",sans-serif;cursor:pointer;text-decoration:underline}
.cols{margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.cols code{font:500 12.5px "Poppins",sans-serif;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:4px 9px;color:var(--ink)}
.tpl{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:16px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}
.tpl b{display:block;font-size:15px;font-weight:600}
.tpl span{font-size:13px;color:var(--muted)}
.tpl .sell-bulk-page .btn{height:44px;padding:0 18px;font-size:14px}
.qty-chips{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.chip{position:relative}
.chip input{position:absolute;opacity:0;inset:0;cursor:pointer;margin:0}
.chip span{display:flex;justify-content:center;font-size:14px;font-weight:500;padding:12px 6px;border:1.5px solid var(--line);border-radius:8px;background:var(--paper);cursor:pointer;font-variant-numeric:tabular-nums}
.chip input:hover+span{border-color:#9FCDB2}
.chip input:checked+span{background:var(--green-soft);border-color:var(--green);color:var(--green-strong);font-weight:600}
.chip input:focus-visible+span{outline:3px solid var(--green);outline-offset:2px}
.upload .field{margin-top:22px}

.submit-row{margin-top:32px}
.submit-row .sell-bulk-page .btn{width:100%;padding:18px;font-size:17px}
.fine{font-size:12.5px;color:var(--muted);margin-top:12px;text-align:center}
.form-alert{display:none;margin-top:18px;padding:12px 14px;border-radius:8px;background:rgba(180,35,24,.08);color:var(--error);font-size:14px}
.form-alert.show{display:block}

.success{display:none;text-align:center;padding:32px 8px}
.success.show{display:block}
.success-icon{width:64px;height:64px;border-radius:50%;background:var(--green-soft);color:var(--green-strong);display:grid;place-items:center;margin:0 auto 18px}
.success h3{font-size:24px}
.success p{color:var(--muted);margin:10px auto 0;max-width:32em}
.success .sell-bulk-page .btn{margin-top:24px}

@media (max-width:1024px){
  .quote-top{grid-template-columns:1fr;gap:28px}
}
@media (max-width:900px){
  .line2{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr) 92px}
  .line2 .add-wrap{grid-column:1/-1;padding-top:4px;justify-content:flex-end}
}
@media (max-width:760px){
  .mode{grid-template-columns:1fr}
  .cat-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .line1,.line1.with-type{grid-template-columns:1fr}
  .line2{grid-template-columns:repeat(6,minmax(0,1fr))}
  .line2>.cf{grid-column:span 3}
  .line2>.cf-grade{grid-column:1/-1}
  .line2>.cf-qty{grid-column:span 2}
  .line2 .add-wrap{grid-column:span 4;padding-top:22px;justify-content:stretch}
  .builder.editing .line2 .add-wrap{grid-column:1/-1;padding-top:4px}
  .add-wrap .sell-bulk-page .btn{flex:1;padding:0 12px;font-size:15px}
  .qty-chips{grid-template-columns:repeat(3,1fr)}
  .next{grid-template-columns:1fr}
  .next li{flex-direction:row;align-items:flex-start;gap:12px}
  .next .n{flex:none}
  .inv thead{display:none}
  .inv table,.inv tbody,.inv tr,.inv td{display:block;width:100%}
  .inv tr{padding:14px 16px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:4px 12px}
  .inv td{border:0;padding:0}
  .inv td.dev-cell{grid-column:1}
  .inv td.num{grid-column:2;grid-row:1;align-self:start;font-size:17px}
  .inv td.num::before{content:"× ";color:var(--muted);font-weight:400}
  .inv td.meta-wrap{grid-column:1/-1;font-size:13px;color:var(--muted)}
  .inv td.act{grid-column:1/-1}
  .row-actions{justify-content:flex-start;margin-left:-10px;margin-top:4px}
  .inv td.hide-m{display:none}
  .inv-empty{display:block!important}
  .inv-foot{flex-direction:column;align-items:flex-start}
}
@media (min-width:761px){.inv td.meta-wrap{display:none}}
@media (max-width:640px){
  .form-card{padding:22px 16px;border-radius:14px}
  .grid2{grid-template-columns:1fr}
  .cfg{padding:14px}
  .builder-head,.inv-head,.inv-foot{padding-left:16px;padding-right:16px}
  .tile{height:60px;flex-direction:column;gap:4px;font-size:12.5px;padding:0 4px}
  .builder-head{flex-direction:column;align-items:flex-start;gap:2px}
  .upload{padding:16px}
  .drop{padding:26px 16px}
}


/* ===== Calm styling for the Get a Bulk Quote section (visual only) ===== */
.quote{background:var(--calm-bg);color:var(--ink)}
.quote .quote-top h2{color:var(--ink)}
.quote .quote-top>div>p{color:var(--muted)}
.quote .next .n{background:var(--paper);border:1px solid var(--calm-line);color:var(--ink)}
.quote .next b{color:var(--ink)}
.quote .next span{color:var(--muted)}
.quote .contact-line{color:var(--muted)}
.quote .contact-line a{color:var(--green-strong)}
.quote .form-card{border:1px solid var(--calm-line);border-radius:14px;box-shadow:0 1px 2px rgba(16,24,20,.04),0 12px 32px -18px rgba(16,24,20,.14)}
.quote .group+.group{border-top-color:var(--calm-line);margin-top:40px;padding-top:36px}
.quote .req{color:var(--muted)}

/* Fields: white, soft gray border, thin green border on focus */
.quote input[type=text],.quote input[type=email],.quote input[type=tel],.quote input[type=number],.quote select,.quote textarea{background-color:var(--paper);border:1px solid var(--calm-line-strong);box-shadow:none}
.quote input:hover,.quote select:hover,.quote textarea:hover{border-color:#B7C0BB}
.quote input:focus,.quote select:focus,.quote textarea:focus{border-color:var(--green);box-shadow:none}
.quote #modelCb input:not(:disabled){border-color:var(--calm-line-strong)}
.quote #modelCb input:not(:disabled):hover{border-color:#B7C0BB}
.quote #modelCb input:focus{border-color:var(--green)}
.quote .cfg select:disabled,.quote .cfg input:disabled{background-color:var(--calm-disabled);border-color:var(--calm-line)}
.quote .cfg .cb.custom input,.quote .swap input{border-color:#9DB4D6}
.quote .x-btn:hover{background:var(--calm-bg)}
.quote .cb-list{border-color:var(--calm-line)}
.quote .cb-list li[aria-selected="true"]{background:var(--calm-bg);color:var(--ink)}

/* Manual vs Upload */
.quote .mode{gap:12px}
.quote .mode-card{border:1px solid var(--calm-line-strong);background:var(--paper);padding:18px}
.quote .mode-icon{background:var(--calm-bg);color:var(--muted);width:44px;height:44px}
.quote .mode-opt:hover .mode-card{border-color:#B7C0BB}
.quote .mode-opt input:checked+.mode-card{border-color:var(--green);background:var(--tint);box-shadow:none}
.quote .mode-opt input:checked+.mode-card .mode-icon{background:var(--paper);color:var(--green-strong)}
.quote .mode-dot{width:20px;height:20px;border:1.5px solid var(--calm-line-strong)}
.quote .mode-opt input:checked+.mode-card .mode-dot{border-color:var(--green);background:var(--green);box-shadow:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}
.quote .panel{margin-top:28px}

/* Add a device group: open white section, no box */
.quote .builder{border:0;border-radius:0;background:none}
.quote .builder-head{background:none;border-radius:0;padding:0 0 12px;border-bottom:1px solid var(--calm-line)}
.quote .builder-head b{font-size:16px}
.quote .builder.editing .builder-head{background:none;border-bottom-color:#EBD9A8}
.quote .builder.editing .builder-head b{color:var(--amber,#8A5A00)}
.quote .cfg{padding:18px 0 0}
.quote .cat-row{gap:10px;margin-bottom:18px}
.quote .line2{margin-top:14px}

/* Category buttons */
.quote .tile{border:1px solid var(--calm-line-strong);background:var(--paper);color:var(--ink);font-weight:500}
.quote .tile svg{color:var(--muted)}
.quote .tile:hover{border-color:#B7C0BB;color:var(--ink)}
.quote .tile:hover svg{color:var(--ink)}
.quote .tile[aria-pressed="true"]{background:var(--tint);border-color:var(--green);color:var(--green-strong);font-weight:600}
.quote .tile[aria-pressed="true"] svg{color:var(--green-strong)}

/* Inventory table */
.quote .inv{margin-top:32px;border:1px solid var(--calm-line);border-radius:12px}
.quote .inv-head{border-bottom-color:var(--calm-line)}
.quote .inv th{background:var(--calm-bg);border-bottom-color:var(--calm-line)}
.quote .inv td{border-bottom-color:var(--calm-line);background:var(--paper)}
.quote .inv td.num{color:var(--ink);font-weight:700}
.quote .inv tr.flash td{background:var(--calm-bg)}
.quote .row-actions button{border:0}
.quote .row-actions button:hover{background:var(--calm-bg);color:var(--green-strong);border:0}
.quote .row-actions button.rm:hover{background:#FDECEA;color:var(--error)}
.quote .inv-foot{background:var(--paper);border-top:1px solid var(--calm-line)}
.sell-bulk-page .est-payout{margin:0;font-size:15px;font-weight:500;color:var(--ink)}
.sell-bulk-page .est-payout b{font-size:18px;font-weight:700;color:var(--green-strong);font-variant-numeric:tabular-nums}
.sell-bulk-page .est-note{margin:0;padding:0 20px 16px;font-size:12.5px;color:var(--muted);background:var(--mint)}
.sell-bulk-page .inv td.price{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.sell-bulk-page .inv td.price .muted{color:var(--muted);font-weight:500}
.quote .total{font-size:18px}
.quote .total span{display:block;margin:2px 0 0;font-size:13px}
.quote .status{color:var(--muted)}
.quote .status.ok{color:var(--ink)}
.quote .status.ok .meter{display:none}
.quote .status.ok::after{content:"";width:18px;height:18px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' stroke='%231E9E57' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center}
.quote .cbadge{background:#EEF2F8;color:#40618F}

/* Upload */
.quote .upload{border:1px solid var(--calm-line);border-radius:12px}
.quote .drop{background:var(--calm-bg);border:1.5px dashed var(--calm-line-strong)}
.quote .drop.drag{background:var(--tint);border-color:var(--green)}
.quote .drop-icon{border-color:var(--calm-line);color:var(--green-strong)}
.quote .file-row{border-color:var(--calm-line);background:var(--paper)}
.quote .tpl{background:var(--paper);border-color:var(--calm-line)}
.quote .cols code{background:var(--calm-bg);border-color:var(--calm-line)}
.quote .chip span{border:1px solid var(--calm-line-strong)}
.quote .chip input:hover+span{border-color:#B7C0BB}
.quote .chip input:checked+span{background:var(--tint);border-color:var(--green);color:var(--green-strong)}


/* ===== Business form styling (replaces tiles, cards, pills) ===== */
.quote .mode{display:flex;gap:28px;border-bottom:1px solid var(--calm-line);margin-top:4px}
.quote .mode-opt{position:relative;display:block;cursor:pointer}
.quote .mode-opt input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.quote .mode-tab{display:block;padding:10px 0 11px;font-size:15px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.quote .mode-opt:hover .mode-tab{color:var(--ink)}
.quote .mode-opt input:checked+.mode-tab{color:var(--ink);font-weight:600;border-bottom-color:var(--green)}
.quote .mode-opt input:focus-visible+.mode-tab{outline:2px solid var(--green);outline-offset:4px;border-radius:2px}
.quote .panel{margin-top:24px}

.quote .builder-head{padding:0 0 10px}
.quote .builder-head b{font-size:15px;font-weight:600}
.quote .cfg{padding:16px 0 0}
.quote .line{gap:12px}
.quote .line1{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}
.quote .line1.with-type{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}
.quote .line2{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr) 96px auto;margin-top:16px}
.quote .cf>.lbl{font-size:13px;font-weight:500;color:var(--ink)}
.quote .cf-model>.lbl{font-weight:500}
.quote .cfg select,.quote .cfg input[type=text],.quote .cfg input[type=number]{height:42px;border-radius:6px;font-size:14.5px}
.quote #modelCb input{font-size:14.5px;font-weight:400;padding-left:36px!important;background-position:11px center;background-size:16px}
.quote .cb::after{top:16px}
.quote .cb-list{border-radius:6px}
.quote .add-wrap{padding-top:23px}
.quote .add-wrap .sell-bulk-page .btn{height:42px;padding:0 18px;font-size:14px;border-radius:6px}
.quote .cf small{font-size:12px}
.quote .cf .lbl .tag,.quote .cbadge{border-radius:3px}

.quote .inv{border-radius:8px;margin-top:28px}
.quote .inv-head{padding:12px 18px}
.quote .inv th{padding:10px 18px;font-size:12px}
.quote .inv td{padding:12px 18px}
.quote .inv-foot{padding:14px 18px}
.quote .row-actions button{width:30px;height:30px;border-radius:6px}

.quote #uploadQty{max-width:320px}
.quote .upload{border-radius:8px}
.quote .drop{border-radius:8px}
.quote .tpl{border-radius:8px}
.quote .form-card{border-radius:10px}
.quote .grid2 input,.quote .grid2 select{border-radius:6px}

@media (max-width:900px){
  .quote .line2{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr) 96px}
  .quote .line2 .add-wrap{grid-column:1/-1;padding-top:4px;justify-content:flex-end}
}
@media (max-width:760px){
  .quote .line1,.quote .line1.with-type{grid-template-columns:1fr}
  .quote .line2{grid-template-columns:repeat(6,minmax(0,1fr))}
  .quote .line2 .add-wrap{grid-column:span 4;padding-top:23px}
  .quote .builder.editing .line2 .add-wrap{grid-column:1/-1;padding-top:4px}
  .quote .mode{gap:18px;overflow-x:auto}
  .quote .mode-tab{font-size:13.5px;white-space:nowrap}
  .quote .inv td{padding:0}
  .quote .inv tr{padding:14px 16px}
  .quote #uploadQty{max-width:none}
}

.quote .upload{border:0;padding:0;background:none}
.quote .drop{padding:30px 20px}
.quote .cols{gap:4px;margin-top:12px}
.quote .cols code{background:none;border:0;padding:0;font:400 13px "Poppins",sans-serif;color:var(--ink)}
.quote .cols code:not(:last-of-type)::after{content:",";color:var(--muted)}
.quote .tpl{background:none;border:0;border-top:1px solid var(--calm-line);border-radius:0;padding:16px 0 0;margin-top:18px}
.quote .tpl b{font-size:14px}
.quote .tpl .sell-bulk-page .btn{height:38px;padding:0 14px;font-size:13.5px;border-radius:6px}
.quote .upload .field{margin-top:20px}
/* FAQ */
.faq{max-width:820px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:22px 40px 22px 0;font-weight:600;font-size:17px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:6px;top:50%;width:12px;height:12px;margin-top:-8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg)}
.faq details[open] summary::after{transform:rotate(-135deg);margin-top:-2px}
.faq details p{color:var(--muted);padding:0 0 22px;max-width:60em}

/* Final CTA */
.final{padding:0 0 96px}
.final-box{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:48px;display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center}
.final-box h2{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:700}
.final-box p{color:var(--muted);margin-top:10px}
.final-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.final-actions a.alt{font-size:14px;color:var(--muted)}

/* Mobile sticky CTA */
.mcta{display:none}

/* Responsive */
@media (max-width:1024px){
  .hero .wrap{grid-template-columns:1fr;gap:44px}
  .steps{grid-template-columns:1fr;gap:0}
  .steps::before{top:22px;bottom:22px;left:21px;right:auto;width:2px;height:auto}
  .step{display:grid;grid-template-columns:44px 1fr;gap:18px;padding-bottom:28px}
  .step:last-child{padding-bottom:0}
  .step-num{margin-bottom:0}
}
@media (max-width:860px){
  .why{grid-template-columns:1fr}
  .why-col+.why-col{border-left:0;border-top:1px solid var(--line)}
  .final-box{grid-template-columns:1fr;padding:32px}
  .final-actions{align-items:stretch}
}
@media (max-width:640px){
  .wrap{padding:0 18px}
  .hero{padding:36px 0 44px}
  .qs-foot .sell-bulk-page .btn{width:100%}
  .section,.quote{padding:60px 0}
  .section-head{margin-bottom:30px}
  .why-col{padding:26px 22px}
  .report-sum div{padding:12px 14px}
  .report th,.report td{padding-left:14px;padding-right:14px}
  .report-head,.report-legend{padding-left:14px;padding-right:14px}
  .process-cta .sell-bulk-page .btn{width:100%}
  .sell-bulk-page .small-lot a{width:100%;text-align:center}
  .mcta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);gap:12px;align-items:center;transform:translateY(0);transition:transform .2s}
  .mcta.hide{transform:translateY(110%)}
  .mcta .sell-bulk-page .btn{flex:1}
  .mcta small{font-size:12px;color:var(--muted);line-height:1.3}
  body{padding-bottom:84px}
}
@media (prefers-reduced-motion: reduce){.mcta{transition:none}}
