/* ==========================================================================
   TOOL SKIN — dresses the two working tools (/build material builder, /draw map quote) in the
   site's look. Logic and markup are untouched; this only restyles the surfaces:
   system type, soft greys instead of tan, pill buttons, frosted header, bigger tap targets.
   ========================================================================== */
:root{
  --burg:#691d20;--accent:#691d20;--accent-dark:#561719;
  --green:#1d1d1f;--tan:#f5f5f7;--neutral:rgba(0,0,0,.12);
  --sk-line:rgba(0,0,0,.1);--sk-ink-3:#6e6e73;--sk-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
body.vtool{font-family:var(--sk-font)!important;background:#f5f5f7!important;color:#1d1d1f!important;-webkit-font-smoothing:antialiased;letter-spacing:-.005em}
body.vtool button,body.vtool input,body.vtool select,body.vtool textarea{font-family:inherit}
body.vtool input:not([type=checkbox]):not([type=radio]):not([type=range]),body.vtool select,body.vtool textarea{font-size:16px}   /* 16px stops iOS from zooming on focus */
body.vtool :focus-visible{outline:2px solid var(--burg);outline-offset:2px}

/* ------------------------------------------------------------------ material builder (/build) */
body.vbuild .wrap{max-width:820px;background:#fff;box-shadow:0 0 0 1px var(--sk-line);min-height:100vh}
@media(min-width:900px){body.vbuild .wrap{margin:0 auto;box-shadow:0 0 0 1px var(--sk-line),0 30px 80px rgba(0,0,0,.08)}}
body.vbuild header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.86)!important;color:#1d1d1f!important;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--sk-line);padding:8px 14px!important;min-height:56px;gap:10px!important;flex-wrap:nowrap}
body.vbuild .hback{background:#f5f5f7!important;color:#1d1d1f!important;box-shadow:none!important;border-radius:999px!important;font:500 15px/1 var(--sk-font)!important;padding:0 16px!important;min-height:44px;display:inline-flex;align-items:center;flex:none}
body.vbuild .hback:active{background:#e8e8ed!important}
body.vbuild header .logo{text-decoration:none!important;display:inline-flex;align-items:center;gap:8px;font:650 16px/1 var(--sk-font)!important;letter-spacing:-.02em!important;color:#1d1d1f!important;min-height:44px;flex:none}
body.vbuild header .logo img{width:28px;height:auto;border-radius:6px}
body.vbuild header .htitle{font:500 14px/1 var(--sk-font);color:var(--sk-ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.vbuild header .gear{background:#f5f5f7!important;color:#1d1d1f!important;border-radius:999px!important;width:44px!important;height:44px!important;flex:none}
@media(max-width:560px){body.vbuild header .htitle{display:none}body.vbuild header .logo span{display:none}body.vbuild header .gear{margin-left:auto}}
body.vbuild .pane{padding:18px}
body.vbuild h2{font:650 20px/1.2 var(--sk-font);color:#1d1d1f;letter-spacing:-.02em}
body.vbuild .op{border-bottom:10px solid #f5f5f7}
body.vbuild .op-head{padding:16px 18px;min-height:60px;border-bottom:1px solid var(--sk-line)}
body.vbuild .op-n{background:var(--burg);width:28px;height:28px;font-weight:650}
body.vbuild .op-t{font:650 18px/1.2 var(--sk-font);color:#1d1d1f;letter-spacing:-.02em}
body.vbuild #quickPanel .op-head{background:#fff!important;border-bottom:1px solid var(--sk-line)}
body.vbuild #quickPanel .op-head .op-t{color:#1d1d1f!important}
body.vbuild #quickPanel .op-head .op-n{background:#f5f5f7!important;color:var(--burg)!important}
body.vbuild .op-sum{font:500 14px/1.3 var(--sk-font);color:var(--sk-ink-3)}
body.vbuild .op-sum.live{color:#1d1d1f;font:650 18px/1.2 var(--sk-font);letter-spacing:-.02em}
body.vbuild .op-cx{background:#f5f5f7;color:#1d1d1f;font:500 13px/1 var(--sk-font);padding:9px 14px;border-radius:999px}
body.vbuild .op-body{padding:18px}
body.vbuild .lbl,body.vbuild .gcard .qlbl,body.vbuild .cbjlabel{font:600 14px/1.3 var(--sk-font);text-transform:none;letter-spacing:-.005em;color:#6e6e73;margin:18px 0 8px}
body.vbuild .lbl:first-child{margin-top:4px}
body.vbuild .pill,body.vbuild .cbtab,body.vbuild .posmode .pm,body.vbuild .toggle{border:1.5px solid var(--sk-line);border-radius:999px;background:#fff;color:#1d1d1f;font:500 16px/1 var(--sk-font);padding:0 20px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s,color .15s}
body.vbuild .pill.on,body.vbuild .cbtab.on,body.vbuild .posmode .pm.on{background:var(--burg);border-color:var(--burg);color:#fff}
body.vbuild .toggle.on{border-color:var(--burg);background:#faf1f1;color:var(--burg)}
body.vbuild .toggle .dot{background:#d1d1d6}body.vbuild .toggle.on .dot{background:var(--burg)}
body.vbuild .cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
body.vbuild .card{border:1.5px solid var(--sk-line);border-radius:18px;background:#fff;font:600 16px/1.25 var(--sk-font);padding:16px 12px}
body.vbuild .card small{font:400 13px/1.3 var(--sk-font);color:#6e6e73}
body.vbuild .card.on{border-color:var(--burg);background:#faf4f4;box-shadow:0 0 0 3px rgba(105,29,32,.12)}
body.vbuild .btn,body.vbuild .btn-go{border-radius:999px;font:500 17px/1 var(--sk-font);min-height:52px;padding:0 26px;letter-spacing:-.005em}
body.vbuild .btn-go{background:var(--burg)}
body.vbuild .btn-ghost{background:#f5f5f7;border:0;color:#1d1d1f}
body.vbuild .bigtool,body.vbuild .op-modes .opm{border:1.5px solid var(--sk-line);border-radius:999px;background:#fff;color:#1d1d1f;font:500 16px/1.1 var(--sk-font);min-height:52px;padding:0 14px}
body.vbuild .bigtool:active{background:#f5f5f7;color:#1d1d1f;border-color:var(--sk-line)}
body.vbuild .bigtool-primary,body.vbuild .op-modes .opm.on{background:var(--burg)!important;border-color:var(--burg)!important;color:#fff!important;box-shadow:none}
body.vbuild .bigtool-primary:active{background:#561719!important}
body.vbuild .qstep{width:48px;height:48px;border-radius:50%;border:0;background:#f5f5f7;color:#1d1d1f;font:400 26px/1 var(--sk-font);display:inline-grid;place-items:center;padding:0}
body.vbuild .qstep:active{background:var(--burg);color:#fff}
body.vbuild .feetbox,body.vbuild .qedit,body.vbuild .addrbar input,body.vbuild .frow input[type=number]{border:1.5px solid var(--sk-line);border-radius:14px;font-family:var(--sk-font);font-weight:600}
body.vbuild .feetbox{min-height:52px}
body.vbuild .addrbar button{background:var(--burg);border-radius:999px;min-height:48px;font-weight:500}
/* the two gate counters: stack on phones instead of running off the edge */
body.vbuild #quickPanel div[style*="min-width:158px"]{flex:1 1 100%!important;min-width:0!important;border:1.5px solid var(--sk-line)!important;border-radius:18px!important;padding:10px 14px!important}
body.vbuild #quickPanel div[style*="min-width:158px"]>span:first-child{font:500 17px/1.2 var(--sk-font)!important}
body.vbuild #quickPanel div[style*="min-width:158px"] b{min-width:30px!important;text-align:center;font:650 20px/1 var(--sk-font)}
body.vbuild #quickPanel p{font-size:16px!important;line-height:1.5!important;color:#6e6e73!important}
body.vbuild #quickPanel .lbl{font-weight:600}
body.vbuild #quickPanel button#qGo{border-radius:999px;font:500 18px/1 var(--sk-font)!important;min-height:56px;background:var(--burg)!important;border-color:var(--burg)!important}
body.vbuild #unlockBanner{background:#1d1d1f;border-radius:20px}
body.vbuild #stage,body.vbuild #gstage,body.vbuild #obox{border:1px solid var(--sk-line);border-radius:20px;background:#eef0ee}
body.vbuild .gcard,body.vbuild .gaterow,body.vbuild .editbar,body.vbuild #cbJump,body.vbuild .grp{background:#f5f5f7;border:0;border-radius:18px}
body.vbuild .grow{border:1.5px solid var(--sk-line);border-radius:16px}
body.vbuild .chip{background:#f5f5f7;border:0;border-radius:999px;font:500 13px/1 var(--sk-font);padding:7px 12px}
body.vbuild table{font-size:15px}
body.vbuild th{font:600 12.5px/1.2 var(--sk-font);text-transform:none;letter-spacing:0;color:#6e6e73}
body.vbuild td,body.vbuild th{padding:12px 8px;border-bottom:1px solid var(--sk-line)}
body.vbuild td.sku{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;color:var(--burg)}
body.vbuild .modal{background:rgba(0,0,0,.4);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
body.vbuild .modal .box{border-radius:24px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.25)}
body.vbuild .modal h3{color:#1d1d1f;font:650 22px/1.2 var(--sk-font);letter-spacing:-.02em}
body.vbuild .cbcell{border-radius:14px;border:1.5px solid var(--sk-line)}
body.vbuild .cbcell.added{border-color:var(--burg);box-shadow:0 0 0 2px var(--burg) inset}
body.vbuild .foot{color:#86868b}
@media(max-width:560px){body.vbuild .pane,body.vbuild .op-body{padding:16px}body.vbuild .op-head{padding:14px 16px}body.vbuild .pill{padding:0 18px}}

/* ------------------------------------------------------------------ map quote tool (/draw) */
body.vdraw .lp-head{background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--sk-line);padding:6px 16px;min-height:56px;gap:12px;flex-wrap:nowrap}
body.vdraw .bigback{background:#f5f5f7!important;color:#1d1d1f!important;box-shadow:none!important;border-radius:999px!important;font:500 15px/1 var(--sk-font)!important;padding:0 16px!important;min-height:44px;display:inline-flex!important;align-items:center;flex:none}
body.vdraw .lp-head img{height:30px;width:auto;border-radius:6px}
body.vdraw .lp-head .gr{font:500 13px/1.2 var(--sk-font);color:#6e6e73;white-space:nowrap}
body.vdraw .lp-head .gr b{color:#1d1d1f}
body.vdraw .lp-head .call{background:var(--burg)!important;color:#fff!important;border-radius:999px!important;font:500 14px/1 var(--sk-font)!important;padding:0 18px!important;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap;flex:none}
@media(max-width:700px){body.vdraw .lp-head .gr{display:none}body.vdraw .lp-head{padding:6px 12px}body.vdraw .lp-head .call{margin-left:auto}}
body.vdraw .lp-main{padding-top:clamp(24px,5vw,56px)}
body.vdraw .lp-hero h1{font:700 clamp(34px,5.4vw,60px)/1.05 var(--sk-font);letter-spacing:-.038em;color:#1d1d1f;text-wrap:balance}
body.vdraw .lp-hero h1 span{color:var(--burg)}
body.vdraw .lp-hero p{font-size:clamp(17px,1.6vw,20px);line-height:1.45;color:#6e6e73;max-width:560px}
body.vdraw .lp-stats .s{background:#fff;border:0;border-radius:999px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 4px 14px rgba(0,0,0,.05);padding:12px 18px}
body.vdraw .lp-stats .s b{font:650 17px/1.1 var(--sk-font);color:#1d1d1f}
body.vdraw .lp-stats .s small{font-size:12.5px;color:#6e6e73}
body.vdraw .lp-tool .wrap{border:0;border-radius:28px;box-shadow:0 2px 6px rgba(0,0,0,.06),0 24px 60px rgba(0,0,0,.12)}
body.vdraw .lp-tool .wrap>header{background:#fff!important;color:#6e6e73!important;border-bottom:1px solid var(--sk-line);padding:14px 20px}
body.vdraw .lp-tool .wrap>header .logo{color:#1d1d1f;font:650 15px/1 var(--sk-font);letter-spacing:-.01em;text-transform:none}
body.vdraw .lp-tool .wrap>header .tag{font:500 13px/1 var(--sk-font);text-transform:none;letter-spacing:0;color:#6e6e73;opacity:1}
body.vdraw .addrbar{padding:14px 16px}
body.vdraw .addrbar input{border:1.5px solid var(--sk-line);border-radius:14px;font:500 16px/1 var(--sk-font);min-height:48px;padding:0 14px;height:auto}
body.vdraw .addrbar button{background:var(--burg);border-radius:999px;min-height:48px;padding:0 22px;font:500 16px/1 var(--sk-font);height:auto}
body.vdraw .cta,body.vdraw button.cta{border-radius:999px!important;font-family:var(--sk-font)!important;font-weight:500!important}
body.vdraw .lp-reviews{background:#f5f5f7;border-top:0}
body.vdraw .lp-foot{background:#f5f5f7;color:#6e6e73}
body.vdraw .lp-foot a{color:#1d1d1f}
body.vdraw .status{font-family:var(--sk-font)}
@media(max-width:560px){body.vdraw .lp-hero h1{font-size:34px}body.vdraw .lp-main{padding:20px 14px}}

/* ------------------------------------------------------------------ the page a customer opens from their text (/q/<token>) */
body.vq{background:#f5f5f7!important}
body.vq header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.86)!important;color:#1d1d1f!important;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--sk-line);padding:8px 16px;min-height:56px}
body.vq header img{height:30px;width:auto;border-radius:6px}
body.vq header .ph{margin-left:auto;background:var(--burg);color:#fff!important;border-radius:999px;padding:0 18px;min-height:44px;display:inline-flex;align-items:center;font:500 15px/1 var(--sk-font)}
body.vq .wrap{max-width:580px;padding:0 16px 56px}
body.vq h1{font:700 clamp(28px,6.4vw,40px)/1.08 var(--sk-font);letter-spacing:-.034em;color:#1d1d1f;margin:28px 0 6px;text-wrap:balance}
body.vq .sub{font-size:16px;color:#6e6e73}
body.vq .card{border:0;border-radius:24px;padding:22px;margin-top:16px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 34px rgba(0,0,0,.07)}
body.vq .card>div:first-child[style*="font-weight:800"]{font:650 18px/1.2 var(--sk-font)!important;letter-spacing:-.015em;color:#1d1d1f!important}
body.vq .appt{background:#1d1d1f;border-radius:24px;padding:22px;margin-top:18px}
body.vq .appt .lbl{font:500 14px/1.3 var(--sk-font);text-transform:none;letter-spacing:0;opacity:.8}
body.vq .appt .big{font:700 26px/1.15 var(--sk-font);letter-spacing:-.025em;margin-top:6px}
body.vq .est{background:rgba(255,255,255,.1);border-radius:18px}
body.vq .est a{border-radius:999px;font-weight:500;min-height:44px;display:inline-flex;align-items:center;padding:0 16px}
body.vq .plan{border:0;border-radius:18px}
body.vq .price{font:700 clamp(34px,8vw,46px)/1.05 var(--sk-font);letter-spacing:-.04em;color:#1d1d1f;font-variant-numeric:tabular-nums}
body.vq .cta{display:flex;align-items:center;justify-content:center;border-radius:999px;font:500 17px/1 var(--sk-font);min-height:56px;background:var(--burg)}
body.vq #resched-btn,body.vq #cancel-btn{border-radius:999px!important;font-family:var(--sk-font)!important;font-weight:500!important;min-height:48px}
body.vq #cal button{font-family:var(--sk-font)}
body.vq .note{font-size:13px;color:#86868b}
