/* OmniBrief cost calculator — the widget (both builds). Brand tokens come from site.css on omnibrief-ai.com;
   the owner file defines the same tokens itself. The one memorable thing is the bill: a till slip with a torn
   edge and two price columns. Everything around it stays quiet. */
.obc{--obc-r:18px;font-variant-numeric:tabular-nums}
.obc .lat{font-family:var(--lat);direction:ltr;unicode-bidi:isolate}
.obc button{font:inherit;color:inherit;cursor:pointer}

/* two ways to pay */
.obc-ways{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 22px}
.obc-way{border:1px solid var(--line);background:#fff;border-radius:var(--obc-r);padding:16px 20px;display:flex;flex-direction:column;gap:4px;line-height:1.6}
.obc-way b{font-size:17px;font-weight:800;color:var(--ink)}
.obc-way span{font-size:14.5px;color:var(--muted)}
.obc-way.plan{background:var(--lilac);border-color:transparent}
.obc-way.plan b{color:var(--purple)}

/* presets */
.obc-presets{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.obc-chip{border:2px solid var(--purple);background:var(--purple);color:#fff!important;border-radius:100px;padding:9px 18px;font-weight:700!important;font-size:15px!important;line-height:1.4}
.obc-chip:hover{background:var(--plum);border-color:var(--plum)}
.obc-chip.ghost{background:transparent;color:var(--purple)!important}
.obc-chip.ghost:hover{background:var(--lilac)}

/* items + bill */
.obc-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr);gap:32px;align-items:start}
.obc-items{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:6px 24px}
.obc-card{padding:20px 0;border-bottom:1px solid var(--line)}
.obc-card:last-child{border-bottom:0}
.obc-ch{display:flex;align-items:center;justify-content:space-between;gap:16px}
.obc-ch h3{font-size:18px;font-weight:800;line-height:1.4;margin:0}
.obc-ch p{margin:2px 0 0;font-size:14.5px;color:var(--muted);line-height:1.55}
.obc-card.on h3{color:var(--purple)}
.obc-count{min-width:40px;height:40px;border-radius:12px;background:var(--paper);display:inline-grid;place-items:center;font-weight:800;font-size:18px;flex:0 0 auto}
.obc-card.on .obc-count{background:var(--purple);color:#fff}

.obc-step{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;background:var(--paper);border-radius:100px;padding:4px}
.obc-sb{width:38px;height:38px;border-radius:50%;border:0;background:#fff;font-size:22px!important;font-weight:700;line-height:1;display:grid;place-items:center;box-shadow:0 1px 2px rgba(42,17,48,.12);transition:background .15s,color .15s}
.obc-sb:hover{background:var(--purple);color:#fff!important}
.obc-step input{width:46px;border:0;background:transparent;text-align:center;font-family:var(--lat);font-size:19px;font-weight:800;color:var(--ink);-moz-appearance:textfield;appearance:textfield;padding:0}
.obc-step input::-webkit-outer-spin-button,.obc-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.obc-card.on .obc-step{background:var(--lilac)}

/* quality — shows once the item is in the bill */
.obc-cq{display:none;margin-top:14px}
.obc-card.on .obc-cq{display:block}
.obc-q{display:inline-flex;flex-wrap:wrap;gap:4px;background:var(--paper);border-radius:100px;padding:4px}
.obc-q button{border:0;background:transparent;border-radius:100px;padding:7px 15px;font-size:14.5px!important;font-weight:700!important;color:var(--muted)!important;line-height:1.3;min-height:36px}
.obc-q button[aria-pressed=true]{background:#fff;color:var(--purple)!important;box-shadow:0 1px 3px rgba(42,17,48,.14)}
.obc-qhint{margin:8px 0 0;font-size:13.5px;color:var(--muted);line-height:1.5}

/* videos */
.obc-vrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding:12px;background:var(--paper);border-radius:16px}
.obc-vrow .obc-q{background:#fff}
.obc-vrow .obc-q button[aria-pressed=true]{background:var(--purple);color:#fff!important;box-shadow:none}
.obc-len button{min-width:42px;padding:7px 10px}
.obc-x{margin-inline-start:auto;width:36px;height:36px;border-radius:50%;border:0;background:transparent;font-size:22px!important;color:var(--muted)!important}
.obc-x:hover{background:#fff;color:var(--orange-deep)!important}
.obc-vfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}

.obc-add{border:2px dashed #CDBFD3;background:transparent;border-radius:100px;padding:8px 18px;font-weight:700!important;font-size:15px!important;color:var(--purple)!important}
.obc-add:hover{border-color:var(--purple);background:var(--lilac)}

/* the bill */
.obc-receipt{position:sticky;top:96px;background:#fff;border-radius:22px 22px 0 0;padding:24px 24px 26px;box-shadow:0 2px 6px rgba(42,17,48,.06),0 24px 60px rgba(42,17,48,.12);margin-bottom:18px}
.obc-receipt::after{content:"";position:absolute;inset-inline:0;bottom:-14px;height:14px;
  background:linear-gradient(-45deg,transparent 9px,#fff 0) 0 0/18px 14px repeat-x,linear-gradient(45deg,transparent 9px,#fff 0) 0 0/18px 14px repeat-x;
  filter:drop-shadow(0 6px 6px rgba(42,17,48,.06))}
.obc-rhead{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:2px dashed var(--line);margin-bottom:6px}
.obc-rhead h2{font-size:22px;margin:0}
.obc-empty{color:var(--muted);margin:18px 0 6px;font-size:15.5px}
.obc-rt{width:100%;border-collapse:collapse;font-size:15px}
.obc-rt th{font-size:13px;font-weight:700;color:var(--muted);padding:10px 0 6px;text-align:start}
.obc-rt th.n,.obc-rt td.n{text-align:end;white-space:nowrap;padding-inline-start:12px}
.obc-rt td{padding:9px 0;border-bottom:1px dotted #DCCFE1;vertical-align:top;line-height:1.5}
.obc-rt td b{font-size:17px;font-weight:800}
.obc-rt tfoot td{border-bottom:0;border-top:2px solid var(--ink);padding-top:14px;font-weight:800;font-size:16px}
.obc-rt tfoot td b{font-size:30px;line-height:1.1;letter-spacing:-.02em}
.obc-rt tfoot td.n:last-child b{color:var(--purple)}
.obc-rt small{font-size:12.5px;color:var(--muted);font-weight:700}
.obc-fee{margin:14px 0 0;font-size:14px;color:var(--muted);line-height:1.55}
.obc-save{margin:8px 0 0;font-size:14.5px;font-weight:700;color:var(--purple);background:var(--lilac);border-radius:12px;padding:8px 12px;line-height:1.5}
.obc-wa{margin-top:18px}
.obc-try{margin-top:10px}
.obc-receipt .btn{font-size:16px;padding:13px 20px;white-space:normal;text-align:center}
.obc-notes{list-style:none;margin:28px 0 0;padding:0;font-size:13.5px;color:var(--muted);line-height:1.6}
.obc-notes li{position:relative;padding-inline-start:16px;margin-bottom:6px}
.obc-notes li::before{content:"";position:absolute;inset-inline-start:0;top:.62em;width:6px;height:6px;border-radius:2px;background:var(--orange)}

/* price list */
.obc-list{margin-top:56px}
.obc-list h2{font-size:clamp(26px,3.2vw,36px);margin:0 0 4px}
.obc-list > p{color:var(--muted);margin:0 0 18px}
.obc-scroll{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:8px 24px}
.obc-lt{width:100%;border-collapse:collapse;font-size:15.5px}
.obc-lt th{font-size:13px;color:var(--muted);font-weight:700;text-align:start;padding:12px 0 8px}
.obc-lt th.n,.obc-lt td.n{text-align:end;padding-inline-start:18px;white-space:nowrap}
.obc-lt td{padding:12px 0;border-top:1px solid var(--line)}
.obc-lt td b{font-size:18px;font-weight:800}
.obc-lt tr td.n:last-child b{color:var(--purple)}

/* owner only */
.obc-owner{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;background:var(--plum);color:#fff;border-radius:var(--obc-r);padding:16px 20px;margin:0 0 22px}
.obc-f{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;color:#E9D4F0}
.obc-f input,.obc-f select{font:inherit;font-size:15px;font-weight:700;color:var(--ink);background:#fff;border:0;border-radius:10px;padding:8px 10px;min-width:90px}
.obc-f select{min-width:220px}
.obc-onote{flex:1 1 100%;margin:4px 0 0;font-size:13px;line-height:1.6;color:#E9D4F0;font-weight:500}
.obc-oc{display:block;font-size:12px;color:var(--muted);font-weight:600;line-height:1.4;white-space:nowrap}
.obc-oc b{font-size:12.5px!important;font-weight:800;color:#2E7D4F}
.obc .thin,.obc-oc b.thin{color:var(--orange-deep)!important}

/* phone totals bar */
.obc-bar{display:none}
@media (max-width:900px){
  .obc-grid{grid-template-columns:1fr;gap:28px}
  .obc-receipt{position:relative;top:0}
  .obc-bar{display:flex;align-items:center;gap:18px;position:fixed;inset-inline:0;bottom:0;z-index:60;background:var(--plum);color:#fff;padding:10px 20px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(42,17,48,.25)}
  .obc-bar span{display:flex;flex-direction:column;line-height:1.2}
  .obc-bar small{font-size:12px;color:#E9D4F0;font-weight:700}
  .obc-bar b{font-size:22px;font-weight:800}
  .obc-bar span + span b{color:#FFB79C}
  .obc-bar em{font-style:normal;font-size:13px;color:#E9D4F0;font-weight:700;margin-inline-start:auto}
}
@media (max-width:600px){
  .obc-ways{grid-template-columns:1fr}
  .obc-items{padding:4px 16px;border-radius:22px}
  .obc-ch{align-items:flex-start}
  .obc-ch h3{font-size:17px}
  .obc-receipt{padding:20px 16px 22px}
  .obc-rt tfoot td b{font-size:25px}
  .obc-scroll{padding:4px 14px}
  .obc-lt{font-size:14.5px}
  .obc-f select{min-width:0;width:100%}
  .obc-f{flex:1 1 40%}
}

/* the page on omnibrief-ai.com */
.lp-calculator .lp-c-hero{padding:34px 0 18px}
.lp-calculator .lp-c-hero .lead{max-width:52ch;margin-bottom:0}
.lp-calc{padding:8px 0 84px}
@media (max-width:900px){.lp-calculator.obc-has-bar .wa-fab{display:none}}
.obc-len-h{margin:12px 0 0;font-size:13.5px;color:var(--muted)}
.obc-vfoot{justify-content:flex-end}
.obc.is-owner .obc-lt{min-width:560px}
.obc-lt td:first-child{min-width:9em}
.obc-f input#obc_bal{min-width:180px}
.obc-bal{margin:10px 0 0;font-size:15px;font-weight:700;line-height:1.5;border-radius:12px;padding:8px 12px;background:#E6F4EC;color:#1F6B42}
.obc-bal.short{background:var(--peach);color:var(--orange-deep)}
