/* STEELLY cost calculator — app-style, mobile-first.
   The tool sits on one light "app surface" (.est-app) on the dark site page. The site theme recolours many tags,
   so every text colour inside the app comes from one variable (--c) pinned with !important. */
.est{--e-ink:#15120f;--e-ink2:#3f3a34;--e-ink3:#5c554d;--e-line:rgba(21,18,15,.10);--e-line2:rgba(21,18,15,.18);--e-bg:#fff;--e-bg2:#f6f3ee;--e-surf:#efebe4;--e-acc:#b0461a;--e-acc-t:rgba(176,70,26,.09);--e-ok:#1d7a4a;--e-err:#b3261e;--e-r:22px}
.est [hidden]{display:none!important}

/* ---------- hero (on the dark page) ---------- */
.est-head{display:flex;flex-direction:column;gap:16px;margin-bottom:18px}
.est-head h1{margin:6px 0 8px}
.est-head .lead{max-width:62ch;font-size:17px;line-height:1.6}
.est-ctl{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.est-head .est-lang,.est-head .est-mode{display:inline-flex;gap:3px;padding:4px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);max-width:100%;overflow-x:auto;scrollbar-width:none}
.est-head .est-mode::-webkit-scrollbar{display:none}
body .est .est-head :is(.est-lang,.est-mode) button{flex:none;border:0;background:none;padding:10px 16px;border-radius:12px;font:700 15px/1.1 inherit;font-family:inherit;cursor:pointer;min-height:44px;white-space:nowrap;color:rgba(255,255,255,.86)!important;-webkit-text-fill-color:rgba(255,255,255,.86)!important}
body .est .est-head :is(.est-lang,.est-mode) button.on{background:#fff;color:var(--e-ink)!important;-webkit-text-fill-color:var(--e-ink)!important;box-shadow:0 2px 8px rgba(0,0,0,.25)}
@media (min-width:900px){.est-head{flex-direction:row;justify-content:space-between;align-items:flex-end}.est-ctl{align-items:flex-end}}

/* hero banner (empty state only; tapping it opens the photo picker) */
.est-banner{display:block;margin:0 0 16px;border-radius:24px;overflow:hidden;cursor:pointer;box-shadow:0 24px 50px -24px rgba(0,0,0,.6);aspect-ratio:16/9;background:#0d1b2a}
.est-banner img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.est-banner:hover img{transform:scale(1.015)}
.est-banner:focus-visible{outline:3px solid #fff;outline-offset:3px}
.est:not(.pre) [data-pre-only]{display:none!important}
@media (min-width:900px){.est-banner{max-width:1100px;margin:0 auto 20px}}

/* ---------- the app surface ---------- */
.est-app{--c:var(--e-ink);background:var(--e-surf);border-radius:28px;padding:10px;margin:0 -12px;box-shadow:0 30px 80px -40px rgba(0,0,0,.7);font-size:16px;line-height:1.5;text-align:left}
.est-rates{--c:var(--e-ink);font-size:16px}
body .est .est-app,body .est .est-app *,body .est .est-rates,body .est .est-rates *{color:var(--c)!important;-webkit-text-fill-color:var(--c)!important;letter-spacing:normal;text-transform:none;text-shadow:none}
body .est :is(.est-app,.est-rates) :is(small,.est-hint,.est-sub,.est-lbl,dt,.muted){--c:var(--e-ink3)}
body .est .est-rates h2{font-family:inherit;font-size:19px;font-weight:800;margin:0 0 12px;display:flex;flex-direction:column;gap:4px}
body .est .est-rates .est-link{--c:var(--e-acc);border:0;background:none;padding:10px 0;font:700 15px inherit;font-family:inherit;text-decoration:underline;cursor:pointer;min-height:44px}
@media (min-width:640px){.est-app{margin:0;padding:16px}}
@media (min-width:1100px){.est-app{padding:20px}}

.est-grid{display:grid;grid-template-columns:1fr;gap:10px}
.est-card{background:var(--e-bg);border:1px solid var(--e-line);border-radius:var(--e-r);padding:18px 16px;margin:0 0 10px;box-shadow:0 1px 2px rgba(21,18,15,.05)}
.est-grid>.est-card{margin:0}
body .est .est-app .est-card h2,body .est .est-app .est-h2{font-family:inherit;font-size:19px;font-weight:800;line-height:1.3;margin:0 0 14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.est-card h2 small{font-size:14px;font-weight:600;flex-basis:100%;padding-left:40px;margin-top:-8px}
body .est .est-app .est-n{--c:#fff;display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--e-ink);font-size:14px;font-weight:800}
.est-lbl{font-size:14px;font-weight:700;margin:16px 0 8px}
.est-hint{font-size:14px;font-weight:600;margin:6px 0 0;min-height:1.3em}
body .est .est-app .est-link{--c:var(--e-acc);border:0;background:none;padding:10px 0;font:700 15px/1.3 inherit;font-family:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px}
.est :focus-visible{outline:3px solid var(--e-acc);outline-offset:2px}

/* segmented controls (iOS style) */
.est-seg,.est-tabs{display:flex;gap:3px;padding:4px;border-radius:16px;background:var(--e-surf);width:100%;overflow-x:auto;scrollbar-width:none}
.est-tabs::-webkit-scrollbar{display:none}
.est-seg button,.est-tabs button{flex:1;border:0;background:none;padding:10px 8px;border-radius:12px;font:700 15px/1.15 inherit;font-family:inherit;cursor:pointer;min-height:46px;white-space:nowrap;--c:var(--e-ink2)}
body .est .est-app :is(.est-seg,.est-tabs) .on{background:#fff;--c:var(--e-ink);box-shadow:0 1px 4px rgba(21,18,15,.16)}
.est-seg-lg button{font-size:16px;min-height:50px}

/* live drawing */
.est-viz{margin:14px 0 4px;border-radius:18px;background:linear-gradient(180deg,#eaf1f7 0%,#f6f3ee 100%);padding:10px 8px 4px;min-height:120px}
.est-viz svg{display:block;width:100%;height:auto;max-height:240px}

/* steppers */
.est-steps{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 4px}
.est-step>label{display:block;font-size:14px;font-weight:700;margin-bottom:6px}
.est-step>div{display:flex;align-items:center;gap:4px;padding:4px;border-radius:16px;background:var(--e-bg2);border:1px solid var(--e-line)}
.est-step button{flex:none;width:44px;height:44px;border-radius:12px;border:0;background:#fff;box-shadow:0 1px 3px rgba(21,18,15,.14);font-size:22px;line-height:1;cursor:pointer;touch-action:manipulation}
.est-step button:active{transform:scale(.94)}
.est-step input{flex:1;min-width:0;border:0;text-align:center;font:800 20px inherit;font-family:inherit;padding:6px 2px;background:transparent;-moz-appearance:textfield}
.est-step input::-webkit-outer-spin-button,.est-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* choice cards */
.est-gauge{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.est-gauge button{display:flex;flex-direction:column;gap:3px;text-align:left;border:1.5px solid var(--e-line2);background:#fff;border-radius:16px;padding:12px 10px;font:inherit;cursor:pointer;min-height:64px;touch-action:manipulation}
.est-gauge b{font-size:15px;font-weight:800}.est-gauge small{font-size:13px;font-weight:600}
.est-gauge .on{border-color:var(--e-acc);background:var(--e-acc-t);box-shadow:0 0 0 1.5px var(--e-acc) inset}
.est-samples{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.est-samples button{border:1px solid var(--e-line);background:var(--e-bg2);border-radius:14px;padding:12px 10px;font:700 15px/1.25 inherit;font-family:inherit;cursor:pointer;min-height:50px;touch-action:manipulation}
.est-samples button:active,.est-gauge button:active{transform:scale(.97)}

/* photo */
.est-drop{position:relative;display:grid;place-items:center;min-height:170px;border:2px dashed rgba(176,70,26,.45);border-radius:20px;overflow:hidden;background:linear-gradient(180deg,#fbf8f4,#f3eee7);text-align:center;padding:16px}
.est-drop.has-img{border-style:solid;border-color:var(--e-line2);padding:6px}
.est-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}
.est-drop img{max-width:100%;max-height:280px;border-radius:14px;object-fit:contain}
.est-drop-t{display:flex;flex-direction:column;align-items:center;gap:6px}
body .est .est-app .est-cam{--c:#fff;display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--e-acc);box-shadow:0 10px 24px -10px rgba(176,70,26,.8);margin-bottom:4px}
.est-cam svg{width:28px;height:28px}
.est-drop-t b{font-size:18px;font-weight:800}.est-drop-t small{font-size:14px;max-width:32ch}
.est-scan{position:absolute;left:0;right:0;top:0;height:3px;background:var(--e-acc);box-shadow:0 0 18px var(--e-acc);animation:estScan 1.3s ease-in-out infinite alternate;z-index:1}
@keyframes estScan{to{top:calc(100% - 3px)}}
.est-ai{margin:12px 0 0;padding:14px;border-radius:16px;background:var(--e-acc-t);font-size:15px;line-height:1.55}
.est-ai p{margin:6px 0 0}
body .est .est-app .est-err{--c:var(--e-err);margin:0;font-weight:700}
.est-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.est-tags span{font-size:13px;font-weight:700;padding:4px 10px;border-radius:999px;background:#fff;border:1px solid var(--e-line)}
.est-manual{display:block;margin-top:8px}

/* infill editor */
.est-fill-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 8px;border-radius:14px;margin:2px -8px}
.est-fill-row+.est-fill-row{border-top:1px solid var(--e-line)}
.est-fill-row>span{display:flex;flex-direction:column;font-size:15.5px;font-weight:800;line-height:1.3}
.est-fill-row>span small{font-size:13px;font-weight:600;margin-top:2px}
.est-fill-ctl{display:flex;align-items:center;gap:6px}
.est-fill-ctl button{width:42px;height:42px;border-radius:12px;border:1px solid var(--e-line2);background:#fff;font-size:20px;cursor:pointer;touch-action:manipulation}
.est-fill-ctl button:active{transform:scale(.94)}
.est-fill-ctl b{min-width:52px;text-align:center;font-size:17px;font-weight:800}
body .est .est-app .est-fill-row.on{background:var(--e-acc-t);border-top-color:transparent}
body .est .est-app .est-fill-row.on b{--c:var(--e-acc)}
body .est .est-app .est-fill-row+.est-fill-row.on,body .est .est-app .est-fill-row.on+.est-fill-row{border-top-color:transparent}

/* pipes & extras (collapsible) */
.est-more>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:44px}
.est-more>summary::-webkit-details-marker{display:none}
.est-more>summary b{font-size:19px;font-weight:800}
.est-more>summary::after{content:'';margin-left:auto;width:10px;height:10px;border-right:2.5px solid var(--e-ink);border-bottom:2.5px solid var(--e-ink);transform:rotate(45deg);transition:transform .2s}
.est-more[open]>summary::after{transform:rotate(225deg)}
.est-more>summary small{flex-basis:100%;font-size:14px;font-weight:600;padding-left:40px;order:3}
.est-more[open]>summary{margin-bottom:14px}
.est-sel{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.est-sel label,.est-rgrid label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}
.est-sel select,.est-rgrid input{border:1px solid var(--e-line2);border-radius:14px;padding:10px 12px;font:600 16px inherit;font-family:inherit;background:var(--e-bg2);min-width:0;min-height:50px}
.est-adds{display:grid;grid-template-columns:1fr;gap:4px;margin-top:12px}
.est-check{display:flex;gap:12px;align-items:center;font-size:15.5px;font-weight:600;cursor:pointer;min-height:48px;padding:0 4px;border-radius:12px}
.est-check input{width:22px;height:22px;flex:none;accent-color:var(--e-acc)}
.est-rgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.est-rates{margin:0 0 16px!important}

/* ---------- results ---------- */
body .est .est-app .est-h2{margin:10px 6px 12px;font-size:22px}
body .est .est-app .est-lang-mini{--c:var(--e-acc);margin-left:auto;border:1px solid var(--e-line2);background:#fff;border-radius:999px;padding:8px 14px;font:700 14px/1 inherit;font-family:inherit;cursor:pointer;min-height:38px}
.est-res{display:grid;grid-template-columns:1fr;gap:10px;margin:0 0 10px}
.est-grade{position:relative;display:block;width:100%;text-align:left;border:1px solid var(--e-line);border-radius:var(--e-r);padding:18px;background:#fff;cursor:pointer;font:inherit;touch-action:manipulation;transition:transform .15s}
.est-grade:active{transform:scale(.99)}
.est-grade>span{font-size:14px;font-weight:700}
.est-grade>b{display:block;font-size:34px;font-weight:800;line-height:1.1;margin:8px 0 2px;letter-spacing:-.5px!important}
.est-grade>small{font-size:14px;font-weight:600}
.est-grade dl{display:grid;grid-template-columns:1fr auto;gap:0 12px;margin:14px 0 0;font-size:14.5px}
.est-grade dt,.est-grade dd{padding:7px 0;border-top:1px solid var(--e-line);margin:0}
.est-grade dd{text-align:right;font-weight:800}
body .est .est-app .est-grade.on{background:linear-gradient(160deg,#211c17,#15120f);border-color:#15120f;--c:#fff;box-shadow:0 18px 40px -20px rgba(21,18,15,.7)}
body .est .est-app .est-grade.on :is(span,small,dt){--c:rgba(255,255,255,.78)}
body .est .est-app .est-grade.on :is(dt,dd){border-top-color:rgba(255,255,255,.14)}
body .est .est-app .est-grade em{--c:#fff;position:absolute;top:16px;right:16px;font-style:normal;font-size:13px;font-weight:800;padding:5px 10px;border-radius:999px;background:var(--e-ok)}
.est-grade em:empty{display:none}
body .est .est-app .est-note{--c:var(--e-ink2);font-size:14px;line-height:1.55;margin:0 6px 14px}
body .est .est-app .est-note a{--c:var(--e-acc);text-decoration:underline}

/* bill */
.est-bomh{display:flex;flex-direction:column;gap:12px}
body .est .est-app .est-bomh h2{margin:0}
.est-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
body .est .est-app .est-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;border-radius:14px;font:700 14.5px/1.15 inherit;font-family:inherit;background:var(--e-bg2)!important;border:1px solid var(--e-line)!important;box-shadow:none!important;background-image:none!important}
body .est .est-app .est-actions .btn-whatsapp{grid-column:1/-1;--c:#fff;background:#1f8f4e!important;border-color:#1f8f4e!important;font-size:16px;min-height:50px}
body .est .est-app .est-h3{font-size:16px;font-weight:800;margin:20px 0 8px}
.table-wrap{overflow-x:auto}
.est-bom{width:100%;border-collapse:separate;border-spacing:0;font-size:15px}
.est-bom th,.est-bom td{padding:11px 10px;border-bottom:1px solid var(--e-line);text-align:left;vertical-align:top}
body .est .est-app .est-bom thead th{--c:var(--e-ink3);background:var(--e-bg2);font-family:inherit;font-size:13px;font-weight:800;border-bottom:0}
.est-bom thead th:first-child{border-radius:12px 0 0 12px}.est-bom thead th:last-child{border-radius:0 12px 12px 0}
.est-bom td:first-child{font-weight:700}
.est-bom td:last-child,.est-bom th:last-child{text-align:right;white-space:nowrap;font-weight:800}
.est-bom td:nth-child(n+3):not(:last-child),.est-bom th:nth-child(n+3):not(:last-child){text-align:right}
.est-bom .sub td{background:var(--e-bg2)}
body .est .est-app .est-bom .tot td{--c:#fff;background:var(--e-ink);font-size:18px;font-weight:800;border:0;padding:14px 12px}
.est-bom .tot td:first-child{border-radius:14px 0 0 14px}.est-bom .tot td:last-child{border-radius:0 14px 14px 0}
.est-bom abbr{text-decoration:none}
.est-sub{display:none}
.est-sub-all{display:block;font-size:13px;font-weight:600;margin-top:3px}
.est-how{margin-top:16px;font-size:15px;line-height:1.6;background:var(--e-bg2);border-radius:16px;padding:4px 14px}
.est-how summary{cursor:pointer;font-weight:800;min-height:48px;display:flex;align-items:center}
.est-how ul{margin:0 0 12px;padding-left:18px}

/* next step */
.est-hub .est-tabs{margin-bottom:14px}
.est-tab p{margin:0 0 10px;font-size:15.5px}
.est-shops{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:6px}
.est-shop{border:1px solid var(--e-line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:3px;background:var(--e-bg2)}
.est-shop em{font-style:normal;font-weight:800}
.est-lead{margin-top:8px}
.est-lead .form-grid{display:grid;grid-template-columns:1fr;gap:12px}
.est-lead .field{display:flex;flex-direction:column;gap:6px;margin:0}
body .est .est-app .est-lead label{font-family:inherit;font-size:14px;font-weight:700;letter-spacing:normal!important;text-transform:none!important}
body .est .est-app .est-lead :is(input:not([type=checkbox]),select,textarea){width:100%;font:500 16px/1.4 inherit;font-family:inherit;border:1px solid var(--e-line2)!important;border-radius:14px!important;background:var(--e-bg2)!important;padding:12px 14px;min-height:52px;box-shadow:none}
body .est .est-app .est-lead :is(input,textarea)::placeholder{color:#8a8178!important;-webkit-text-fill-color:#8a8178!important;opacity:1}
body .est .est-app .est-lead :is(input,select,textarea):focus{outline:none;border-color:var(--e-acc)!important;box-shadow:0 0 0 3px var(--e-acc-t)}
.est-consent{font-size:14px;line-height:1.45;align-items:flex-start;padding-top:10px}
body .est .est-app .est-consent a{--c:var(--e-acc);text-decoration:underline}
.est-msg{margin-top:12px;padding:12px 14px;border-radius:14px;font-size:15px;line-height:1.5}
body .est .est-app .est-msg.ok{--c:#14532d;background:rgba(29,122,74,.1)}
body .est .est-app .est-msg.err{--c:var(--e-err);background:rgba(179,38,30,.08)}
.est-msg .btn{margin-top:10px;display:inline-flex}

/* own buttons (site .btn styles hide text on this page) */
.est-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:16px;padding:14px 22px;min-height:52px;font:800 16px/1.1 inherit;font-family:inherit;cursor:pointer;background:var(--e-ink,#15120f);color:#fff;-webkit-text-fill-color:#fff;touch-action:manipulation;background-image:none}
.est-btn:hover{background:#000}.est-btn:disabled{opacity:.6;cursor:progress}
body .est .est-app .est-btn{--c:#fff;background:var(--e-acc)}
body .est .est-app .est-btn:hover{background:#933a14}
.est-go{width:100%;margin-top:10px}
body .est .est-app .est-msg .btn-whatsapp{--c:#fff;background:#1f8f4e!important;border-color:#1f8f4e!important}

/* ---------- SEO copy + FAQ (dark page) ---------- */
.est-seo{margin-top:34px;max-width:78ch}
.est-seo h2{font-size:24px;margin:24px 0 10px}
.est-seo p{line-height:1.7;font-size:16.5px}
.est-faq{border-bottom:1px solid rgba(255,255,255,.14);padding:4px 0}
.est-faq summary{cursor:pointer;font-weight:700;min-height:52px;display:flex;align-items:center;font-size:16.5px}
.est-faq p{margin:0 0 14px;line-height:1.65}
body .est>.container>nav a,body .est .est-seo a{color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:underline;text-underline-offset:3px}

/* ---------- sticky total bar (phones) ---------- */
.est-bar{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 18px;border-radius:22px;background:rgba(21,18,15,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.1);color:#fff;box-shadow:0 18px 40px -12px rgba(0,0,0,.6);transform:translateY(160%);transition:transform .25s ease}
.est-bar.show{transform:none}
.est-bar small{display:block;font-size:12.5px;font-weight:600;color:rgba(255,255,255,.8)!important;-webkit-text-fill-color:rgba(255,255,255,.8)!important}
.est-bar b{font-size:21px;font-weight:800;color:#fff!important;-webkit-text-fill-color:#fff!important}
.est-bar-act{display:flex;align-items:center;gap:8px}
.est-bar-ico{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff}
.est-bar-ico svg{width:20px;height:20px}
.est-bar-wa{background:#1FAF55}
.est-btn-light,body .est-bar .est-btn-light{background:#fff!important;color:#15120f!important;-webkit-text-fill-color:#15120f!important;padding:10px 18px;min-height:44px;font-size:15px;border-radius:14px}
@media (max-width:360px){.est-bar-ico{width:40px;height:40px}.est-bar b{font-size:18px}}

/* ---------- empty start: only the photo card until a scan, a sample or "enter size" ---------- */
.est.pre [data-after]{display:none!important}
.est.pre .est-grid{grid-template-columns:1fr!important}
.est.pre .est-photo{max-width:760px;margin:0 auto;width:100%}
.est.pre .est-photo .est-drop{min-height:230px}
.est.pre .est-app{background:transparent;box-shadow:none;padding:0;margin:0}

/* ---------- Hindi ---------- */
.est[lang="hi"]{line-height:1.6}
.est[lang="hi"] h1,.est[lang="hi"] h2{line-height:1.35}
.est[lang="hi"] *,.est-bar[lang="hi"] *{letter-spacing:normal!important}

/* ---------- wider screens ---------- */
@media (min-width:640px){
  .est-card{padding:22px}
  .est-samples{grid-template-columns:repeat(4,1fr)}
  .est-adds{grid-template-columns:1fr 1fr}
  .est-rgrid{grid-template-columns:repeat(4,1fr)}
  .est-shops{grid-template-columns:1fr 1fr}
  .est-bomh{flex-direction:row;justify-content:space-between;align-items:center}
  .est-actions{display:flex;flex-wrap:wrap}
  body .est .est-app .est-actions .btn-whatsapp{min-height:46px;font-size:14.5px}
  .est-lead .form-grid{grid-template-columns:1fr 1fr}
  .est-lead .field-full{grid-column:1/-1}
  .est-go{width:auto;min-width:300px}
}
@media (min-width:900px){
  .est-grid{grid-template-columns:1fr 1fr}
  .est-wide{grid-column:1/-1}
  .est-sel{grid-template-columns:repeat(5,1fr)}
  .est-adds{grid-template-columns:repeat(3,1fr)}
  .est-rgrid{grid-template-columns:repeat(7,1fr)}
  .est-res{grid-template-columns:1fr 1fr}
  .est-grade>b{font-size:38px}
  .est-bar{display:none}
}

/* ---------- phones: bill rows as name + detail line + amount ---------- */
@media (max-width:560px){
  .est-bom .d{display:none}
  .est-sub{display:block;font-size:13px;font-weight:600;margin-top:3px}
  .est-bom:not(.est-cut) thead{display:none}
  .est-bom:not(.est-cut),.est-bom:not(.est-cut) tbody{display:block;width:100%}
  .est-bom:not(.est-cut) tr{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--e-line);padding:12px 4px}
  .est-bom:not(.est-cut) td{border:0;padding:0;background:none}
  .est-bom:not(.est-cut) td:first-child{flex:1;min-width:0}
  .est-bom:not(.est-cut) .sub{background:var(--e-bg2);border-radius:12px;padding:12px 10px;border:0;margin-top:6px}
  .est-bom:not(.est-cut) .tot{border-radius:16px;padding:16px 14px;border:0;margin-top:8px;background:var(--e-ink)}
  body .est .est-app .est-bom:not(.est-cut) .tot td{padding:0;background:none}
  .est-bom{font-size:14.5px}
  .est-cut th,.est-cut td{padding:10px 6px}
}
@media (max-width:420px){.est-cut td:nth-child(2),.est-cut th:nth-child(2){display:none}}
@media (prefers-reduced-motion:reduce){.est-scan{animation:none;top:50%}.est-bar{transition:none}.est-more>summary::after{transition:none}}

/* ---------- branded print slip ---------- */
.est-print-head,.est-print-meta,.est-print-foot{display:none}
@media print{
  @page{size:A4;margin:12mm}
  html,body{background:#fff!important}
  body *{visibility:hidden}
  #estBomCard,#estBomCard *{visibility:visible}
  #estBomCard{position:absolute;left:0;top:0;width:100%;margin:0;padding:0;border:0;box-shadow:none;background:#fff}
  #estBomCard *{color:#000!important;-webkit-text-fill-color:#000!important;background:transparent!important;box-shadow:none!important}
  .est-actions,.est-how,.est-bar,.est-bomh,.est-lang,.est-lang-mini{display:none!important}
  .est-print-head{display:flex!important;justify-content:space-between;align-items:center;gap:16px;border-bottom:2px solid #000;padding-bottom:10px;margin-bottom:12px}
  .eph-brand{display:flex;align-items:center;gap:12px}
  .eph-brand img{width:130px;height:auto}
  .eph-brand small{font-size:11px}
  .eph-co{text-align:right;font-size:10.5px;line-height:1.45}
  .est-print-meta{display:block!important;margin-bottom:10px}
  .est-print-meta h2{font-size:18px!important;margin:0 0 4px!important;display:block}
  .est-print-meta p{font-size:12px;margin:0 0 8px}
  .eph-tot{display:flex;gap:10px}
  .eph-tot div{flex:1;border:1px solid #000;border-radius:6px;padding:6px 8px}
  .eph-tot span{display:block;font-size:10px}
  .eph-tot b{font-size:16px}
  .est-print-foot{display:block!important;font-size:9.5px;line-height:1.45;margin-top:12px;border-top:1px solid #000;padding-top:8px}
  .est .est-h3{font-size:13px;margin:12px 0 4px}
  .est-bom{font-size:11px}
  .est-bom tr{page-break-inside:avoid}
  .est-bom th,.est-bom td{padding:4px 6px;border-bottom:1px solid #999}
  .est-sub{display:none!important}
  .est-bom .d{display:table-cell!important}
  .est-bom:not(.est-cut){display:table!important;width:100%}
  .est-bom:not(.est-cut) tbody{display:table-row-group!important}
  .est-bom:not(.est-cut) thead{display:table-header-group!important}
  .est-bom:not(.est-cut) tr{display:table-row!important}
  .est-bom:not(.est-cut) td{display:table-cell!important;padding:4px 6px!important;border-bottom:1px solid #999!important}
  .est-cut td:nth-child(2),.est-cut th:nth-child(2){display:table-cell!important}
}

/* table head: the site theme paints thead dark + mono uppercase; reset it */
body .est .est-app .est-bom thead,body .est .est-app .est-bom thead tr{background:transparent!important}
body .est .est-app .est-bom thead th{background:var(--e-bg2)!important;font-family:inherit!important;text-transform:none!important;letter-spacing:normal!important;font-size:13px!important;font-weight:800!important}
/* desktop: infill editor uses the full width in two columns */
@media (min-width:900px){
  #estFillCard{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:28px;align-items:start}
  #estFillCard>h2,#estFillCard>.est-hint{grid-column:1/-1}
  #estFillCard .est-fill-row{margin:2px 0}
  #estFillCard .est-fill-row+.est-fill-row{border-top:0}
  #estFillCard .est-fill-row:not(.on){border-bottom:1px solid var(--e-line);border-radius:0}
}/* phones: no theme zebra boxes inside the bill list */
@media (max-width:560px){
  body .est .est-app .est-bom:not(.est-cut) tr{background:transparent!important}
  body .est .est-app .est-bom:not(.est-cut) td{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
  body .est .est-app .est-bom:not(.est-cut) tr.sub{background:var(--e-bg2)!important;border-bottom:0}
  body .est .est-app .est-bom:not(.est-cut) tr.tot{background:var(--e-ink)!important}
}
/* share page + install app */
.est-appbtns{display:flex;gap:8px;flex-wrap:wrap}
body .est .est-head .est-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);font:700 15px/1 inherit;font-family:inherit;cursor:pointer;color:#fff!important;-webkit-text-fill-color:#fff!important}
body .est .est-head .est-pill *{color:inherit!important;-webkit-text-fill-color:currentColor!important}
body .est .est-head .est-pill-acc{background:#fff;border-color:#fff;color:#15120f!important;-webkit-text-fill-color:#15120f!important}
.est-pill svg{width:18px;height:18px;flex:none}
.est-keep{display:flex;flex-direction:column;gap:14px;align-items:flex-start;background:linear-gradient(135deg,#fff 0%,#f6efe7 100%)}
.est-keep[hidden]{display:none!important}
body .est .est-app .est-keep-ico{--c:#fff;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--e-ink)}
.est-keep-ico svg{width:26px;height:26px}
.est-keep-t{display:flex;flex-direction:column;gap:3px}
.est-keep-t b{font-size:18px;font-weight:800}.est-keep-t small{font-size:14.5px;font-weight:600}
.est-keep-btns{display:flex;gap:8px;flex-wrap:wrap;width:100%}
.est-keep-btns .est-btn{flex:1;min-width:140px}
body .est .est-app .est-btn.est-btn-ghost{--c:var(--e-ink);background:#fff;border:1px solid var(--e-line2)}
body .est .est-app .est-btn.est-btn-wa{--c:#fff;background:#1f8f4e;text-decoration:none}
@media (min-width:640px){.est-keep{flex-direction:row;align-items:center}.est-keep-t{flex:1}.est-keep-btns{width:auto}}
.est-dlg{border:0;border-radius:24px;padding:22px 20px 16px;width:min(420px,calc(100vw - 32px));background:#fff;box-shadow:0 30px 80px -20px rgba(0,0,0,.6)}
.est-dlg::backdrop{background:rgba(10,8,6,.6)}
body .est .est-app .est-dlg h3{font-family:inherit;font-size:20px;font-weight:800;margin:0 0 12px}
.est-dlg ol{margin:0 0 16px;padding-left:22px;font-size:16px;line-height:1.6}
.est-dlg ol li{margin-bottom:6px}
.est-dlg>.est-btn{width:100%}
.est-dlg-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:6px}
.est-dlg .est-link{display:block;margin:4px auto 0}
@media (display-mode: standalone){.est-appbtns [data-install]{display:none!important}}
html body .est .est-head .est-pill span,html body .est .est-head .est-pill svg{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .est .est-head .est-pill-acc span,html body .est .est-head .est-pill-acc svg{color:#15120f!important;-webkit-text-fill-color:#15120f!important}