/* DIGI BOT FOR CUSTOMERS (Phase A 10-06; live from db37) — on top of ../digibot/digibot.css (tokens, header, tabs, pills) */
.dbc-wrap .db-h1 span{display:block}
.dbc-views{max-width:460px}
.dbc-view{display:flex;flex-direction:column;gap:14px;max-width:980px}
.dbc-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 18px;min-width:0}
.dbc-card h2{margin:0 0 10px;font-size:17px;font-weight:650;letter-spacing:-.01em}
.dbc-card h3{margin:0 0 6px;font-size:15px;font-weight:650}
.dbc-card p{margin:0 0 10px;line-height:1.5;color:var(--ink)}
.dbc-card p:last-child{margin-bottom:0}
.dbc-card ul{margin:0 0 10px;padding-left:20px;line-height:1.6}
.dbc-load{color:var(--ink2);font-size:14px;padding:12px 2px}
.dbc-muted{color:var(--ink2)}
.dbc-ok{color:var(--green)}
.dbc-fine{display:block;font-size:12.5px;color:var(--ink2);margin-top:4px}
.dbc-note{font-size:14px;color:var(--ink2);white-space:pre-line;overflow-wrap:anywhere}
.dbc-steps{margin:0 0 12px;padding-left:22px;line-height:1.6}
.dbc-steps li{margin-bottom:4px}
.dbc-signin p{color:var(--ink2)}
.dbc-intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;font-size:14.5px}
.dbc-tiers{display:flex;flex-wrap:wrap;gap:6px}
.dbc-tiers span{background:var(--fill);border-radius:980px;padding:4px 11px;font-size:13px;color:var(--ink2)}
.dbc-tiers b{color:var(--green)}
.dbc-table{width:100%;border-collapse:collapse;font-size:14px}
.dbc-table th{text-align:left;font-size:12px;font-weight:600;color:var(--ink2);padding:6px 8px;border-bottom:1px solid var(--line)}
.dbc-table td{padding:10px 8px;border-bottom:1px solid var(--hair);vertical-align:top}
.dbc-table .n{text-align:right;white-space:nowrap}
.dbc-table tr.dbc-group th{padding-top:14px;font-size:12.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink3);border-bottom:0}
.dbc-what{display:block;font-size:12.5px;color:var(--ink2);margin-top:2px;line-height:1.45}
.dbc-unit{display:block;font-size:12px;color:var(--ink2)}
.dbc-time{display:block;margin-top:3px;font-size:11.5px;font-weight:600;color:var(--ink2);white-space:nowrap}   /* db38r: a typical time for one */
.dbc-timenote{margin:10px 2px 0}
.dbc-scope{margin-top:6px}.dbc-scope b{color:var(--ink);font-weight:600}
.dbc-qty{width:74px;height:36px;text-align:right;color:var(--ink)}
.dbc-total{position:sticky;bottom:0;background:var(--card);border-top:1px solid var(--line);margin:8px -18px -16px;padding:12px 18px;border-radius:0 0 16px 16px;font-size:15px}
.dbc-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.dbc-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.dbc-tile{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.dbc-tile span{font-size:13px;color:var(--ink2)}
.dbc-tile b{font-size:26px;font-weight:650;letter-spacing:-.02em;color:var(--ink)}
.dbc-tile.main b{font-size:32px}
.dbc-tile i{font-style:normal;font-size:12.5px;color:var(--ink2)}
.dbc-warn{border:1px solid var(--orange);border-radius:12px;padding:10px 14px;font-size:14px;color:var(--ink)}
.dbc-line{margin:0 0 14px}   /* dev 10-07: production paused (dbc.js lineNote) */
.dbc-amts{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));align-items:stretch;gap:10px;margin-bottom:12px}
/* db38s: a top-up is a card — the money, the credits, the bonus */
.dbc-amt{appearance:none;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.dbc-amt:hover{border-color:var(--btn);transform:translateY(-1px);box-shadow:0 6px 16px rgba(20,40,90,.08)}
.dbc-amt:focus-visible{outline:2px solid var(--btn);outline-offset:2px}
.dbc-amt b{font-size:20px;letter-spacing:-.02em}
.dbc-amt span{font-size:13px;color:var(--ink2)}
.dbc-amt i{font-style:normal;font-size:12px;font-weight:600;color:#1f9255}
.dbc-amt.best{border-color:rgba(31,146,85,.45)}
.dbc-amt i.n,html.dark .dbc-amt i.n{color:var(--muted);font-weight:500}
.dbc-best{position:absolute;top:-9px;right:10px;padding:2px 8px;border-radius:999px;background:#1f9255;color:#fff;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.02em}
.dbc-amt.on{border-color:var(--btn);box-shadow:0 0 0 3px rgba(10,111,214,.16);background:var(--card)}
.dbc-amt.on b{color:var(--btn)}
html.dark .dbc-amt i{color:#5fd39a}
.dbc-amts .dbc-custom{grid-column:1/-1}
@media (prefers-reduced-motion:reduce){.dbc-amt:hover{transform:none}}
.dbc-custom{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--ink2)}
.dbc-custom .db-in{width:110px;height:36px;color:var(--ink)}
.dbc-get{min-height:22px;margin-bottom:10px;font-size:15px}
.dbc-paynote{margin-top:10px;font-size:14px;line-height:1.5;background:var(--fill);border-radius:12px;padding:10px 14px}
.dbc-scroll{overflow-x:auto}
.dbc-hist tr.k-grant td.n,.dbc-hist tr.k-topup td.n,.dbc-hist tr.k-release td.n{color:var(--green)}
.dbc-hist tr.k-expired td{color:var(--ink2)}
.dbc-bal{font-size:13.5px;font-weight:600;color:var(--ink);background:var(--fill);border-radius:980px;padding:5px 12px;text-decoration:none;white-space:nowrap}
.dbc-card a{color:var(--link)}
@media (max-width:640px){
  .dbc-views{max-width:none}
  .dbc-table td{padding:9px 6px}
  .dbc-qty{width:62px}
  .dbc-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}   /* one compact row on a phone, not three tall cards */
  .dbc-tile{padding:10px 12px}.dbc-tile span,.dbc-tile i{font-size:12px}
  .dbc-tile b{font-size:20px}.dbc-tile.main b{font-size:22px}
  .dbc-bal{display:none}
}

/* ── JOBS (Phase B 10-07) ── */
.dbc-jhead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dbc-jhead h2{margin:0;font-size:19px;font-weight:650}
.dbc-jlist{display:flex;flex-direction:column;gap:8px}
.dbc-job{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;text-decoration:none;color:var(--ink)}
.dbc-job b{font-size:15px;min-width:0;overflow-wrap:anywhere}
.dbc-job .dbc-muted{grid-column:1/-1;font-size:13px}
.dbc-job:hover{border-color:var(--link)}
.dbc-chip{display:inline-block;white-space:nowrap;font-size:12px;font-weight:600;border-radius:980px;padding:3px 10px;background:var(--fill);color:var(--ink2)}
.dbc-chip.act{background:var(--btn);color:#fff}
.dbc-chip.ok{background:var(--green);color:#fff}
html.dark .dbc-chip.ok{color:#0b2a12}
.dbc-chip.wait{background:var(--fill);color:var(--ink)}
.dbc-back{display:inline-block;font-size:14px;color:var(--link);text-decoration:none;margin-bottom:8px}
.dbc-jtitle{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:2px}
.dbc-jtitle h2{margin:0;font-size:20px;font-weight:650;overflow-wrap:anywhere}
.dbc-new form,.dbc-ans,.dbc-fbform{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.dbc-new label,.dbc-ans label,.dbc-fbform label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--ink2)}
.dbc-ta{height:auto;min-height:96px;padding:10px 14px;line-height:1.45;resize:vertical;font:inherit;font-size:15px;color:var(--ink)}
.dbc-files input{font-size:14px;color:var(--ink)}
.dbc-up{font-size:13px;color:var(--ink2)}
.dbc-new button[type="submit"],.dbc-ans button,.dbc-fbform button{align-self:flex-start}
.dbc-state b{font-size:16px}
.dbc-state p{margin:6px 0 0}
.dbc-state.act{border-color:var(--btn)}
.dbc-state.ok{border-color:var(--green)}
.dbc-q{margin:10px 0;padding:10px 14px;background:var(--fill);border-radius:12px;line-height:1.5}
.dbc-est h3{margin-bottom:8px}
.dbc-est tr.dbc-sum td{border-bottom:0;font-size:15px}
.dbc-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.dbc-acts .db-pill[disabled]{opacity:.5;cursor:not-allowed}
.dbc-assets .db-in{width:110px;color:var(--ink)}
.dbc-thread h3{margin-bottom:10px}
.dbc-msg{padding:12px 0;border-top:1px solid var(--hair)}
.dbc-msg:first-of-type{border-top:0;padding-top:0}
.dbc-mhead{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:13px;color:var(--ink2);margin-bottom:4px}
.dbc-mhead b{color:var(--ink);font-size:14px}
.dbc-mbody{line-height:1.55;overflow-wrap:anywhere}
.dbc-msg.studio .dbc-mhead b{color:var(--link)}
.dbc-mfiles{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.dbc-file{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px;padding:5px 10px;font-size:13px;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dbc-file[disabled]{opacity:.55;cursor:default}
@media (max-width:640px){.dbc-jtitle h2{font-size:18px}.dbc-est .dbc-table tr:not(.dbc-sum) td:nth-child(2){display:none}}
/* ── BRAIN (dev 10-07): the customer's own points ── */
.dbc-bhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.dbc-bhead h2{margin:0}
.dbc-badd,.dbc-bedit{display:flex;gap:8px;align-items:center;margin:4px 0 0}
.dbc-badd .db-in,.dbc-bedit .db-in{flex:1;min-width:0;height:38px;color:var(--ink)}
.dbc-blist{list-style:none;margin:12px 0 0;padding:0}
.dbc-card ul.dbc-blist{padding-left:0;margin:14px 0 0}   /* .dbc-card ul would take its top margin away */
.dbc-bpt{padding:10px 0;border-top:1px solid var(--hair)}
.dbc-bt{line-height:1.45;overflow-wrap:anywhere}
.dbc-bmeta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:3px;font-size:12.5px;color:var(--ink2)}
.dbc-bacts{margin-left:auto;display:inline-flex;gap:12px}
.dbc-link{border:0;background:none;padding:2px 0;font:inherit;font-size:13px;color:var(--link);cursor:pointer}
.dbc-link:hover{text-decoration:underline}
.dbc-bnew{font-size:11.5px;font-weight:700;color:#fff;background:var(--btn);border-radius:980px;padding:1px 8px}
.dbc-bpt.new .dbc-bt{font-weight:600}
.dbc-bundo{margin-top:10px;font-size:14px;background:var(--fill);border-radius:12px;padding:8px 12px}
.dbc-bempty{margin-top:12px;color:var(--ink2)}
.dbc-bline{margin:0 0 10px}
@media (max-width:640px){.dbc-bedit{flex-wrap:wrap}.dbc-bedit .db-in{flex-basis:100%}.dbc-bacts{margin-left:0}}
/* ── PHASE C (10-07): footer, the terms page, its DRAFT note ── */
.dbc-foot{margin:28px 0 8px;font-size:13px;color:var(--ink2)}
.dbc-foot a{color:var(--link)}
.dbc-terms{max-width:760px;line-height:1.6;color:var(--ink)}
.dbc-terms h1{font-size:26px;font-weight:650;letter-spacing:-.01em;margin:6px 0 4px}
.dbc-terms h2{font-size:17px;font-weight:650;margin:22px 0 6px}
.dbc-terms ul{padding-left:20px;margin:0}
.dbc-terms li{margin-bottom:6px}
.dbc-terms a{color:var(--link)}
.dbc-draft{display:inline-block;border:1px solid var(--orange);color:var(--orange);border-radius:980px;padding:3px 12px;font-size:13px;font-weight:600;margin:4px 0 6px}
/* db37h — the job's steps on the In production card (the bars are the staff page's .db-steps, from digibot.css) */
.dbc-steps{padding:10px 0 0;border:0;background:none}
.dbc-queue{margin-top:6px}
/* db37n: the side panel from the Studio Tools top bar (?embed=1) — tighter, no page chrome */
.dbc-embed .db-wrap{padding-top:8px}
.dbc-embed .db-top{padding-top:4px}
.dbc-embed .db-mark,.dbc-embed .db-brand,.dbc-embed .db-theme,.dbc-embed .db-who,.dbc-embed .dbc-views,.dbc-embed .dbc-new .dbc-back{display:none}   /* the panel has the name and the tabs */
.dbc-embed .db-top{justify-content:flex-end;min-height:0;padding-bottom:0}
/* the new-job form (owner's design 10-08): the question, one box for the brief + files, a target timeline, example jobs */
.dbc-qrow{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.dbc-qrow h2{margin:0;font-size:20px;letter-spacing:-.02em}
.dbc-qrow h2 em{font-style:normal;background:linear-gradient(90deg,#2f5bea,#1f9255);-webkit-background-clip:text;background-clip:text;color:transparent}   /* db38w */
.dbc-qsub{margin:4px 0 0;font-size:14px;color:var(--ink2)}
html.dark .dbc-qrow h2 em{background-image:linear-gradient(90deg,#8ea2ff,#5fd39a)}
.dbc-link{border:0;background:none;padding:0;font:inherit;font-size:14px;font-weight:600;color:var(--link);cursor:pointer}
.dbc-link:hover{text-decoration:underline}
.dbc-brief{border:1px solid var(--line);border-radius:14px;background:var(--card);transition:border-color .15s,box-shadow .15s}
.dbc-brief:focus-within{border-color:var(--btn);box-shadow:0 0 0 3px rgba(10,111,214,.14)}
.dbc-brief .dbc-ta{display:block;width:100%;border:0;background:none;outline:0;min-height:220px;padding:14px 16px 6px;box-sizing:border-box}
.dbc-brow{display:flex;align-items:center;gap:12px;padding:8px 10px 10px;flex-wrap:wrap}
.dbc-brow .dbc-fine{margin:0;flex:1;min-width:140px}
.dbc-count{font-size:12.5px;color:var(--ink2);font-variant-numeric:tabular-nums}
.dbc-new .dbc-add{position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:7px;padding:8px 13px;border:1px solid var(--line);border-radius:11px;background:var(--fill);font-size:14px;font-weight:600;color:var(--ink);cursor:pointer}
.dbc-new .dbc-add:hover{border-color:var(--btn)}
.dbc-new .dbc-add:focus-within{outline:2px solid var(--btn);outline-offset:2px}
.dbc-add svg{width:17px;height:17px}
.dbc-add input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.dbc-opts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.dbc-opts i{font-style:normal;color:var(--ink2);font-weight:400}
.dbc-new .dbc-go{display:flex;width:100%;justify-content:center;gap:8px;margin-top:14px;padding:14px 18px;font-size:16.5px;border-radius:12px}
.dbc-ex{margin-top:4px}
.dbc-ex h3{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500;color:var(--ink2);margin:6px 0 10px}
.dbc-ex h3::before,.dbc-ex h3::after{content:"";flex:1;height:1px;background:var(--line)}
.dbc-exg{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.dbc-exg+.dbc-exg{margin-top:10px}
.dbc-exc{display:flex;align-items:flex-start;gap:12px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);font:inherit;cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s}
.dbc-exc:hover{border-color:var(--btn);transform:translateY(-1px);box-shadow:0 6px 18px rgba(20,40,90,.08)}
.dbc-exc:focus-visible{outline:2px solid var(--btn);outline-offset:2px}
.dbc-exi{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;flex:0 0 auto}
.dbc-exi svg{width:21px;height:21px}
.dbc-exi-banner{background:#e8f0ff;color:#2f5bea}.dbc-exi-photo{background:#fdecef;color:#d63b5c}.dbc-exi-mail{background:#e7f6ee;color:#1f9255}
.dbc-exi-social{background:#f1ebff;color:#7a4ae0}.dbc-exi-video{background:#fff2e3;color:#d9741a}.dbc-exi-spark{background:#e6f7fb;color:#1592b0}
.dbc-exi-web{background:#f6f3dc;color:#7d6900}.dbc-exi-more{background:#eef0f3;color:#556070}   /* db38r: website pages · work beyond the list */
.dbc-ext{display:flex;flex-direction:column;gap:3px;min-width:0}
.dbc-ext b{font-size:14px;font-weight:650}
.dbc-ext span{font-size:13px;color:var(--ink2);line-height:1.35}
.dbc-exmore{display:block;margin:12px auto 0}
.dbc-promo{display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:14px;background:linear-gradient(90deg,rgba(10,111,214,.08),rgba(10,111,214,.04));font-size:14px;line-height:1.45}
.dbc-promo svg{width:22px;height:22px;color:var(--btn);flex:0 0 auto}
.dbc-promo span{flex:1}
.dbc-promo a{color:var(--link);font-weight:600;white-space:nowrap;text-decoration:none}
@media (max-width:560px){.dbc-opts{grid-template-columns:1fr}.dbc-promo{flex-wrap:wrap}}
/* db38c: the studio team — people for a finer finish and editable source files (custom pricing) */
.dbc-team{display:flex;gap:14px;align-items:flex-start;margin-top:14px;padding:16px 18px;border-radius:16px;border:1px solid var(--line);background:var(--card)}
.dbc-team svg{width:26px;height:26px;color:var(--btn);flex:0 0 auto;margin-top:2px}
.dbc-team div{min-width:0}
.dbc-team b{font-size:15px}
.dbc-team p{margin:6px 0 0;font-size:14px;line-height:1.5}
.dbc-team a{color:var(--link);font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.dbc-team a:hover{text-decoration:underline}
html.dark .dbc-exi{background:rgba(255,255,255,.08)}
html.dark .dbc-exi-web{color:#dcc24a}html.dark .dbc-exi-more{color:#aab3c0}
/* inv1: billing details before the first payment (asked once; ../auth/invoices.php keeps them) */
.dbc-bill{display:flex;flex-direction:column;gap:10px;margin-top:10px;background:var(--fill);border-radius:14px;padding:14px 16px}
.dbc-bill label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink2)}
.dbc-bill label[hidden]{display:none}
.dbc-bill .db-in{width:100%;max-width:360px}
.dbc-bill button{align-self:flex-start}
.dbc-where{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dbc-bill .dbc-opt{position:relative;display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--card);cursor:pointer;color:var(--ink)}
.dbc-opt input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--btn)}
.dbc-opt span{display:flex;flex-direction:column;gap:3px}
.dbc-opt b{font-size:15px}
.dbc-opt small{font-size:12.5px;color:var(--ink2);line-height:1.35}
.dbc-bill .dbc-opt:has(input:checked){border-color:var(--btn);box-shadow:0 0 0 3px rgba(0,113,227,.14)}
.dbc-opt:focus-within{outline:2px solid var(--btn);outline-offset:2px}
.dbc-cur{margin-left:10px;font-size:13px}
@media (max-width:520px){.dbc-where{grid-template-columns:1fr}}
.dbc-need{margin:10px 0 0;padding:10px 14px;border-radius:12px;background:rgba(255,159,10,.12);font-size:14px;line-height:1.45}
.dbc-need .db-pill{margin-left:6px}
.dbc-eta{display:flex;gap:10px;align-items:flex-start;margin:10px 0 4px;padding:10px 14px;border-radius:12px;background:rgba(10,111,214,.07);font-size:14.5px;line-height:1.4}
.dbc-eta>svg{width:20px;height:20px;flex:0 0 auto;color:var(--btn);margin-top:1px}
.dbc-eta .dbc-fine{margin-top:2px}
.dbc-etal{font-size:12.5px;font-weight:600;color:var(--btn);white-space:nowrap}
/* ═══ ui1 (owner 10-08: the team's Tasks layout for customer jobs, "really cool UI") — the list on the left, the job on the right ═══ */
.dbc-view#dbc-jobs{max-width:1240px}
.dbc-split{display:grid;grid-template-columns:minmax(230px,270px) minmax(0,1fr);gap:16px;align-items:start}   /* db38u: the jobs list narrower — the work gets the room */
.dbc-side{position:sticky;top:10px;max-height:calc(100vh - 20px);display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.dbc-side-h{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 14px 10px}
.dbc-side-h h2{margin:0;font-size:17px;font-weight:700;letter-spacing:-.01em}
.dbc-side-h .db-pill{padding:7px 13px;font-size:13.5px}
.dbc-search{display:flex;align-items:center;gap:8px;margin:0 12px 10px;padding:0 12px;height:38px;border:1px solid var(--line);border-radius:11px;background:var(--fill);color:var(--ink2)}
.dbc-search:focus-within{border-color:var(--btn);box-shadow:0 0 0 3px rgba(0,113,227,.14)}
.dbc-search svg{width:16px;height:16px;flex:none}
.dbc-search input{flex:1;min-width:0;border:0;background:none;outline:0;font:inherit;font-size:14px;color:var(--ink)}
.dbc-filt{display:flex;gap:6px;flex-wrap:wrap;padding:0 12px 12px;border-bottom:1px solid var(--line)}
.dbc-filt button{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:6px 10px;font:600 12.5px/1 inherit;color:var(--ink2);cursor:pointer}
.dbc-filt button span{opacity:.65;margin-left:2px}
.dbc-filt button.hot span{color:var(--orange);opacity:1}
.dbc-filt button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--card)}
.dbc-filt button[aria-pressed="true"] span{color:inherit;opacity:.75}
.dbc-lis{overflow:auto;padding:2px 6px 10px;flex:1;min-height:120px}
.dbc-mon{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ink2);padding:12px 10px 6px}
.dbc-li{position:relative;display:flex;gap:10px;align-items:flex-start;padding:10px 10px 10px 12px;border-radius:12px;text-decoration:none;color:var(--ink);transition:background .12s}
.dbc-li:hover{background:var(--fill)}
.dbc-li.on{background:rgba(0,113,227,.09)}
.dbc-li.on::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:var(--btn)}
/* 21v: a job on its way (its files are going up): a row in the list and a card with the progress */
.dbc-sendmsg{margin:6px 0 12px;font-size:15px;color:var(--ink)}
.dbc-sendbar{display:block;height:6px;margin:0 0 12px;border-radius:3px;background:var(--fill);overflow:hidden}
.dbc-sendbar i{display:block;height:100%;width:0;border-radius:3px;background:var(--btn);transition:width .25s}
.dbc-sendbar.is-wait i{width:30%;animation:dbcSendWait 1.3s ease-in-out infinite alternate}
@keyframes dbcSendWait{from{margin-left:0}to{margin-left:70%}}
@media (prefers-reduced-motion:reduce){.dbc-sendbar.is-wait i{animation:none;width:100%;opacity:.45}}
.dbc-li:focus-visible{outline:2px solid var(--btn);outline-offset:-2px}
.dbc-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;flex:none}
.g-needs{background:var(--orange)}.g-progress{background:var(--btn)}.g-delivered{background:#7a4ae0}.g-done{background:var(--green)}
.dbc-li-b{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.dbc-li-b b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dbc-li-s{font-size:12.5px;font-weight:600}
.s-needs{color:var(--orange)}.s-progress{color:var(--btn)}.s-delivered{color:#7a4ae0}.s-done{color:var(--green)}
.dbc-li-s .dbc-etal{font-size:12px}
.dbc-li-m{font-size:12px;color:var(--ink2)}
.dbc-li-flag{width:8px;height:8px;border-radius:50%;background:var(--orange);margin-top:6px;flex:none;box-shadow:0 0 0 3px rgba(182,68,0,.16)}
.dbc-none{padding:14px 10px;font-size:13.5px}
.dbc-main{min-width:0;display:flex;flex-direction:column;gap:14px}
.dbc-split .dbc-back{display:none}
.dbc-stages{display:flex;list-style:none;margin:8px 0 4px;padding:0;gap:5px}
.dbc-stages li{flex:1;position:relative;padding-top:13px;font-size:12px;font-weight:600;color:var(--ink2);text-align:left}
.dbc-stages li::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;border-radius:5px;background:var(--fill)}
.dbc-stages li.done{color:var(--ink)}.dbc-stages li.done::before{background:var(--green)}
.dbc-stages li.now{color:var(--btn)}.dbc-stages li.now::before{background:var(--btn);animation:dbcPulse 1.6s ease-in-out infinite}
.dbc-stages li.you{color:var(--orange)}.dbc-stages li.you::before{background:var(--orange);animation:none}
@keyframes dbcPulse{0%,100%{opacity:1}50%{opacity:.45}}
.dbc-stages.x{display:block}.dbc-stages.x span{display:inline-block;font-size:12.5px;font-weight:600;color:var(--ink2);background:var(--fill);border-radius:999px;padding:4px 10px}
.dbc-pick h2{font-size:21px;letter-spacing:-.02em}
.dbc-picks{display:grid;gap:8px;margin:12px 0}
.dbc-pk{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 14px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink)}
.dbc-pk:hover{border-color:var(--btn)}.dbc-pk span{font-size:13px;font-weight:600;color:var(--orange);white-space:nowrap}
.dbc-pk b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (prefers-reduced-motion:reduce){.dbc-stages li.now::before{animation:none}}
@media (max-width:860px){
  .dbc-split{grid-template-columns:minmax(0,1fr)}
  .dbc-side{position:static;max-height:none}
  .dbc-split.has-main .dbc-side{display:none}
  .dbc-split:not(.has-main):not(.empty) .dbc-main{display:none}
  .dbc-split .dbc-back{display:inline-block}
  .dbc-stages li{font-size:11px}
}
/* db38f: phase-wise builds — phase 2 on the estimate, "Start phase 2" on a delivered job */
.dbc-phase2{margin-top:14px;padding:12px 14px;border:1px dashed var(--line);border-radius:12px;background:var(--fill)}
.dbc-phase2 h4{margin:0 0 6px;font-size:14px}
.dbc-phase2.go{border-style:solid;border-color:var(--btn);background:transparent}
.dbc-phase2.go b{display:block;margin-bottom:4px}
/* db38h: the job thread in two tabs — Comms (the newest first) and Brief */
.dbc-ttabs{display:flex;gap:6px;margin:0 0 12px;padding:3px;border-radius:999px;background:var(--fill);width:max-content;max-width:100%}
.dbc-ttab{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;font-size:13.5px;padding:6px 14px;border-radius:999px;cursor:pointer}
.dbc-ttab span{display:inline-block;min-width:18px;padding:0 6px;margin-left:4px;border-radius:999px;background:var(--line);font-size:11.5px;line-height:18px;text-align:center}
.dbc-ttab.on{background:var(--card);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.dbc-ttab.on span{background:var(--btn);color:#fff}
.dbc-ttab:focus-visible{outline:2px solid var(--btn);outline-offset:2px}
.dbc-tnone{margin:4px 0 0}
/* db38i: What Digi Bot can do — the same icon chips as the example cards, read-only */
.dbc-caps{margin-top:18px}
.dbc-caps h3{margin:0 0 10px}
.dbc-capg{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.dbc-cap{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--card);min-width:0}
.dbc-cap b{display:block;font-size:14.5px;margin-bottom:3px}
.dbc-cap span span{display:block;color:var(--muted);font-size:13.5px;line-height:1.5}
.dbc-capsrc{margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--fill);font-size:13.5px;line-height:1.55}
/* db38k: attached files as chips with ×, drag and drop onto the brief / an answer */
.dbc-picked{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}
.dbc-ans .dbc-picked{padding:0}
.dbc-chipf{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;padding:4px 4px 4px 10px;border:1px solid var(--line);border-radius:999px;background:var(--fill);font-size:12.5px}
.dbc-chipn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px;font-weight:600}
.dbc-chips{color:var(--muted);white-space:nowrap}
.dbc-chipf.bad{border-color:#d93025;background:color-mix(in srgb,#d93025 10%,transparent)}
.dbc-chipf.bad .dbc-chips{color:#d93025}
.dbc-chipx{appearance:none;border:0;background:transparent;color:inherit;font:600 16px/1 inherit;width:22px;height:22px;border-radius:50%;cursor:pointer}
.dbc-chipx:hover{background:var(--line)}
.dbc-chipx:focus-visible{outline:2px solid var(--btn);outline-offset:1px}
.dbc-brief.drag,.dbc-ans.drag{border-color:var(--btn);box-shadow:0 0 0 3px color-mix(in srgb,var(--btn) 20%,transparent);background:color-mix(in srgb,var(--btn) 5%,var(--card))}
/* db38k: the balance on the Wallet tab */
.dbc-tbal{display:inline-block;margin-left:7px;padding:1px 8px;border-radius:999px;background:var(--btn);color:#fff;font-size:11.5px;font-weight:650;line-height:18px;vertical-align:1px;white-space:nowrap;font-variant-numeric:tabular-nums}
/* db38k: brief templates under the brief — a row of cards; a card shows its first lines, opens across the row (the others move down) */
/* db38s (owner 10-09, from the Codex redesign) — the templates BESIDE the brief when the main pane is wide (a sticky column), a row of compact
   chips under it when it is narrow (the side panel, phones); one opens in a small preview dialog */
.dbc-main,#dbc-jobs{container-type:inline-size}
.dbc-newgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}
.dbc-tpls h3{margin:2px 0 2px;font-size:15px;font-weight:700;color:var(--ink)}
.dbc-tpls h3::before,.dbc-tpls h3::after{content:none}
.dbc-tpls>.dbc-fine{margin:0 0 10px}
.dbc-tplg{display:flex;flex-wrap:wrap;gap:8px}
.dbc-tpl{appearance:none;display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.dbc-tpl:hover{border-color:var(--btn);box-shadow:0 4px 14px rgba(20,40,90,.08)}
.dbc-tpl:focus-visible{outline:2px solid var(--btn);outline-offset:2px}
.dbc-tpl .dbc-exi{width:30px;height:30px;border-radius:50%}.dbc-tpl .dbc-exi svg{width:16px;height:16px}
.dbc-tplt b{display:block;font-size:13.5px;font-weight:600}
.dbc-tplt span{display:none;color:var(--muted);font-size:12.5px;margin-top:2px;line-height:1.35}
.dbc-tplc{display:none;width:16px;height:16px;color:var(--muted);flex:0 0 auto;margin-left:auto}
@container (min-width:780px){
  .dbc-newgrid{grid-template-columns:minmax(0,1fr) 236px}
  .dbc-tpls{position:sticky;top:10px;max-height:calc(100vh - 20px);overflow-y:auto;scrollbar-width:thin}   /* db38u: narrow, and it stays in view */
  .dbc-tplg{flex-direction:column;flex-wrap:nowrap;gap:7px}
  .dbc-tpl{display:flex;width:100%;align-items:center;gap:9px;padding:8px 8px 8px 9px;border-radius:12px}
  .dbc-tpl:hover{transform:translateX(2px)}
  .dbc-tpl .dbc-exi{width:30px;height:30px;border-radius:9px}
  .dbc-tplt{min-width:0}.dbc-tplt b{font-size:13px;line-height:1.3}.dbc-tplt span{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dbc-tplc{display:block;align-self:center;width:14px;height:14px}
  .dbc-brief .dbc-ta{min-height:min(46vh,420px)}   /* db38u (owner: "Brief Input area we should try make bigger as much possible") */
}
.dbc-tdlg{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:16px;background:rgba(14,18,28,.42);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:dbcFade .16s ease both}
.dbc-tdbox{width:min(560px,100%);max-height:min(86vh,720px);display:flex;flex-direction:column;gap:10px;padding:18px 18px 16px;border-radius:18px;background:var(--card);color:var(--ink);box-shadow:0 24px 70px rgba(10,20,60,.3);animation:dbcRise .2s cubic-bezier(.2,.8,.2,1) both}
.dbc-tdh{display:flex;align-items:center;gap:11px}.dbc-tdh h3{flex:1;margin:0;font-size:17px}
.dbc-tdx{appearance:none;width:34px;height:34px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.dbc-tdx:hover{background:var(--fill);color:var(--ink)}
.dbc-tdbox .dbc-tplb{margin:0;padding:12px 14px;border-radius:12px;background:var(--fill);font:12.5px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink);white-space:pre-wrap;word-break:break-word;overflow:auto;min-height:0}
.dbc-tda{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
@keyframes dbcFade{from{opacity:0}to{opacity:1}}@keyframes dbcRise{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.dbc-tnote{margin:6px 0 0;font-size:13px;color:var(--ink2)}
/* db38s: the trust line under "Get an estimate" */
.dbc-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:10px 0 0;padding:0;list-style:none;font-size:13px;color:var(--ink2)}
.dbc-trust li{display:inline-flex;align-items:center;gap:5px}.dbc-trust svg{width:15px;height:15px;color:#1f9255}
html.dark .dbc-trust svg{color:#5fd39a}
@media (prefers-reduced-motion:reduce){.dbc-tdlg,.dbc-tdbox{animation:none}.dbc-tpl:hover{transform:none}}
.dbc-views{max-width:560px}   /* room for the balance on the Wallet tab */
.dbc-views button{min-width:0;flex:1 1 0}   /* db38k: every tab shares the row (an older rule made them 1 0 auto — never shrinking) */
@media (max-width:640px){
  .dbc-views button{padding:8px 6px;font-size:13.5px;gap:4px}
  .dbc-views button[data-view="wallet"]{flex:2.2 1 0}
  .dbc-tbal{margin-left:4px;padding:1px 6px;font-size:11px}
}


/* db38n: the studio's notes rendered from light formatting (rich() in dbc.js) */
.dbc-mbody.rich p,.dbc-q.rich p{margin:0 0 8px}
.dbc-mbody.rich p:last-child,.dbc-q.rich p:last-child{margin-bottom:0}
.dbc-mbody.rich ul,.dbc-mbody.rich ol,.dbc-q.rich ul,.dbc-q.rich ol{margin:0 0 8px;padding-left:22px}
.dbc-mbody.rich li,.dbc-q.rich li{margin:0 0 4px}
.dbc-mbody.rich .dbc-mh,.dbc-q.rich .dbc-mh{font-weight:600;margin-top:4px}
.dbc-mbody.rich code,.dbc-q.rich code{font:12.5px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--fill,rgba(127,127,127,.12));padding:1px 5px;border-radius:5px;overflow-wrap:anywhere}

/* db38p: why Digi Bot — the strong points (whyHtml in dbc.js) */
.dbc-why{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px 18px 16px;margin:0 0 14px;min-width:0}
.dbc-why h2{margin:0 0 12px;font-size:19px;font-weight:650;letter-spacing:-.015em}
.dbc-why h3{margin:0 0 10px;font-size:15px;font-weight:650}
.dbc-whyg{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 16px}
.dbc-whyt{display:flex;gap:10px;align-items:flex-start;min-width:0}
.dbc-whyt b{display:block;font-size:14.5px;font-weight:650;margin:1px 0 2px;color:var(--ink)}
.dbc-whyt>span>span{display:block;font-size:13.5px;line-height:1.45;color:var(--sub,var(--ink));overflow-wrap:anywhere}
.dbc-whyt>span>span b{display:inline;font-size:inherit;margin:0}
.dbc-whyi{flex:0 0 32px;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;color:var(--btn);background:color-mix(in srgb,var(--btn) 12%,transparent)}
.dbc-whyi svg{width:18px;height:18px}
.dbc-whyx{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;margin:14px 0 0;font-size:13px}
.dbc-whyx span{background:var(--fill);border-radius:980px;padding:4px 10px;color:var(--ink)}
.dbc-whyx .dbc-whyl{background:none;padding:4px 0;color:var(--sub,var(--ink));font-weight:600}
.dbc-whyc{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.dbc-why.wallet .dbc-whyc,.dbc-why.pricing .dbc-whyc{margin-top:12px}
/* db38s: the 3D Digi Bot's head as the page's mark (no blue tile behind it) */
.db-mark.dbc-mark{width:36px;height:36px;background:none;border-radius:0}
.dbc-mark img{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(40,70,200,.2))}
/* db38s: Pricing — the rough estimate stays in view beside the list (under it when the pane is narrow) */
#dbc-pricing{container-type:inline-size}
.dbc-pgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}
.dbc-pgrid>.dbc-prices{margin:0}
.dbc-sum h3{margin:0 0 8px;font-size:15px}
.dbc-card .dbc-suml{margin:0 0 8px;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px;font-size:13px}
.dbc-suml:empty{display:none}
.dbc-suml li{display:flex;justify-content:space-between;gap:10px;color:var(--ink2)}.dbc-suml li b{color:var(--ink);white-space:nowrap}
.dbc-sum .dbc-total{position:static;margin:0;padding:10px 0 0;border-top:1px solid var(--line);border-radius:0;background:none}
.dbc-sum .dbc-total>b{display:block;font-size:22px;letter-spacing:-.02em}
.dbc-suma{display:flex;align-items:center;gap:12px;margin-top:12px}
@container (min-width:860px){.dbc-pgrid{grid-template-columns:minmax(0,1fr) 280px}.dbc-sum{position:sticky;top:10px}}
@container (max-width:859px){   /* narrow: the total stays at the bottom of the screen while the list scrolls — compact (no heading, no lines) */
  .dbc-sum{position:sticky;bottom:8px;z-index:2;padding:10px 14px;box-shadow:0 -6px 22px rgba(20,40,90,.12)}
  .dbc-sum h3,.dbc-sum .dbc-suml{display:none}
  .dbc-sum .dbc-total{border-top:0;padding:0}.dbc-sum .dbc-total>b{display:inline;font-size:17px}
  .dbc-suma{margin-top:8px}
}
/* db38u: the one-time free credits */
.dbc-freeslot:empty{display:none}
.dbc-free{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:14px 16px;border-radius:16px;border:1px solid rgba(31,146,85,.35);background:linear-gradient(100deg,rgba(31,146,85,.10),rgba(47,91,234,.07))}
.dbc-freei{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:12px;background:#1f9255;color:#fff}.dbc-freei svg{width:22px;height:22px}
.dbc-freet{flex:1;min-width:0}.dbc-freet b{display:block;font-size:16.5px;letter-spacing:-.01em}.dbc-freet span{display:block;margin-top:2px;font-size:13px;color:var(--ink2)}
.dbc-free .db-pill{white-space:nowrap;background:#1f9255;border-color:#1f9255}
@media (max-width:560px){.dbc-free{flex-wrap:wrap}.dbc-free .db-pill{width:100%;justify-content:center}}
/* db40: the attach button says how big a file can be */
.dbc-addhint{margin-left:6px;font-size:11px;font-weight:400;opacity:.65}
/* db43: the two big tabs — Digi Bot (AI) and the Studio Team (people) — and the Studio Team's own cards */
.dbc-modes{display:flex;gap:10px;max-width:640px;margin:0 0 14px}
.dbc-mode{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:var(--card);color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.dbc-mode b{font-size:16px;font-weight:700}
.dbc-mode small{font-size:12.5px;color:var(--ink2)}
.dbc-mode[aria-selected="true"]{border-color:var(--btn);box-shadow:0 0 0 1px var(--btn) inset}
.dbc-mode:focus-visible{outline:2px solid var(--btn);outline-offset:2px}
.dbc-teamhome .dbc-teamk{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--btn);margin-bottom:4px}
.dbc-teamhome .dbc-trust{justify-content:flex-start;margin:12px 0}
.dbc-teamnew .dbc-flab{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;font-size:13px;color:var(--ink2)}
.dbc-teamnew .dbc-flab .db-in{font-size:15px;color:var(--ink)}
.dbc-teamnew .dbc-trow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.dbc-teamstate .dbc-ans{margin-top:12px}
.dbc-toteam{margin-top:14px;padding:12px 14px;border-radius:12px;border:1px dashed var(--line);background:var(--fill)}
/* 31h: the AI Film Maker for a brief that reads like an animated film — above Send on the form, first on a custom estimate */
.dbc-fm{margin-top:14px;padding:12px 14px;border-radius:12px;border:1px solid color-mix(in srgb,var(--btn) 32%,var(--line));background:color-mix(in srgb,var(--btn) 7%,var(--card))}
.dbc-fm p{margin:0 0 10px;font-size:14px;color:var(--ink2)}
.dbc-fm p b{color:var(--ink)}
.dbc-fm .db-pill{display:inline-flex;gap:6px;align-items:center;text-decoration:none}
.dbc-fm .dbc-fine{display:block;margin-top:8px}
.dbc-toteam p{margin:0 0 8px;font-size:14px;color:var(--ink2)}
.dbc-toteam p b{color:var(--ink)}
/* db54: upgrade a delivered Digi Bot job to the Studio Team — the carry-over row on the team's estimate */
.dbc-upgrade{margin-top:14px;padding-top:10px;border-top:1px solid var(--line)}.dbc-upgrade>.dbc-fine{margin:0}.dbc-upgrade>.dbc-fine .dbc-link{font-size:inherit}   /* db66: one quiet line, no box */
.dbc-upgrade form{margin-top:8px}.dbc-upgrade form label span{display:block;font-size:13px;font-weight:600;color:var(--ink);margin:0 0 6px}
.dbc-upgraded{margin-top:12px}
.dbc-table tr.dbc-carry td{color:var(--ink2);font-size:13px}
@media (max-width:560px){.dbc-modes{gap:8px}.dbc-mode{padding:10px 12px}.dbc-mode b{font-size:15px}.dbc-teamnew .dbc-trow{grid-template-columns:1fr}}
/* db58: a revised estimate — the tag beside its title, the card while the Studio Team works, and the "this job has an update" bar */
.dbc-revtag{display:inline-block;margin-left:6px;padding:2px 9px;border-radius:980px;background:var(--fill);font-size:12.5px;font-weight:600;color:var(--ink2);vertical-align:middle}
.dbc-rev{border-color:var(--orange)}
.dbc-fresh{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--fill);font-size:14px;color:var(--ink)}

/* ── db79 (owner 10-15: "can we improve My Jobs, Pricing, Wallet better") — the New Job look on the other three tabs ── */
.dbc-eyebrow{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--link)}
/* My Jobs: the filters in one row; the overview card */
.dbc-filt{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.dbc-filt::-webkit-scrollbar{display:none}
.dbc-filt button{flex:0 0 auto;white-space:nowrap}
.dbc-over h2{font-size:24px;font-weight:750;letter-spacing:-.02em;margin:0 0 4px}
.dbc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.dbc-stat{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,transform .15s}
.dbc-stat:hover{border-color:var(--link);transform:translateY(-1px)}
.dbc-stat:focus-visible{outline:2px solid var(--link);outline-offset:2px}
.dbc-stat b{font-size:26px;font-weight:750;letter-spacing:-.02em;line-height:1.1}
.dbc-stat span{font-size:13px;color:var(--ink2)}
.dbc-stat.s-needs b{color:var(--orange)}
.dbc-stat.s-progress b{color:var(--link)}
.dbc-stat.s-delivered b{color:var(--green)}
.dbc-stat.zero b{color:var(--ink3)}
.dbc-overa{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:4px}
.dbc-wline{font-size:14px;color:var(--ink2);text-decoration:none}
.dbc-wline b{color:var(--ink)}
.dbc-wline:hover{color:var(--link)}
.dbc-wline.low{color:var(--orange)}
/* Pricing: the head and its jump chips */
.dbc-phead{display:flex;flex-direction:column;gap:10px}
.dbc-phead h2{margin:0;font-size:clamp(22px,3vw,30px);font-weight:800;letter-spacing:-.025em;line-height:1.15;text-wrap:balance}
.dbc-facts{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--ink2)}
.dbc-facts b{color:var(--ink)}
.dbc-facts span+span::before{content:"·";margin-right:16px;color:var(--ink3)}
.dbc-jump{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.dbc-jump::-webkit-scrollbar{display:none}
.dbc-jump button{flex:0 0 auto;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font:600 13px/1 inherit;cursor:pointer;white-space:nowrap}
.dbc-jump button:hover{border-color:var(--link);color:var(--link)}
.dbc-jump button:focus-visible{outline:2px solid var(--link);outline-offset:2px}
.dbc-table tr.dbc-group{scroll-margin-top:12px}
/* Wallet: the balance card */
.dbc-balance{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px}
.dbc-balance .dbc-tiles{flex:1 1 520px;grid-template-columns:1.4fr 1fr 1fr}
.dbc-balance .dbc-tile{border:0;background:var(--fill);border-radius:14px}
.dbc-balance .dbc-tile.main{background:#e9f1fc}   /* a plain colour (the contrast checks read it) */
html.dark .dbc-balance .dbc-tile.main,.dark .dbc-balance .dbc-tile.main{background:#16283f}
.dbc-balance .dbc-tile.main b{font-size:38px;color:var(--ink)}
.dbc-baltop{flex:0 0 auto;padding:12px 24px;font-size:15px}
@media (max-width:640px){
  .dbc-stats{gap:8px}.dbc-stat{padding:10px}.dbc-stat b{font-size:21px}
  .dbc-balance{padding:12px}.dbc-balance .dbc-tiles{flex-basis:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
  .dbc-balance .dbc-tile.main b{font-size:24px}.dbc-baltop{width:100%;justify-content:center}
}
.dbc-filt{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-right:24px}   /* db79: more filters to the side */
/* db82 (owner 10-15: "we not utilizing space properly. Also near search job status icons overlapping") —
   (1) the filter row is a scroller now, and a scroller inside the jobs column (a flex column with a max height) could be squeezed
       to nothing: the pills were cut through their middle. It keeps its height. (2) The pages use the width they are given: no 980 px
       column in the middle of a wide frame; inside the Start page / top-bar frame (?embed=1) the page runs edge to edge. */
.dbc-filt{flex-shrink:0;align-items:center;padding-top:2px;padding-bottom:12px}
.dbc-filt button,.dbc-jump button{font-family:inherit;line-height:1.2}
.dbc-filt button{font-size:12.5px;font-weight:600;padding:6px 11px}
.dbc-jump button{font-size:13px;font-weight:600}
.dbc-view{max-width:none}
.dbc-embed .db-wrap{max-width:none;padding-left:14px;padding-right:14px}
.dbc-embed .dbc-split{grid-template-columns:minmax(240px,300px) minmax(0,1fr)}
.dbc-embed .dbc-view#dbc-jobs{max-width:none}   /* db82: and the jobs view (it had its own 1240 px cap) */
/* ── db85 (owner 10-16: "make sure we design well full screen page as well … #pricing") — a wide screen uses its width ──
   (1) the tab row: four equal quarters of 560 px pushed the balance on Wallet out of its tab — each tab is as wide as its words now;
   (2) the page: 1200 px was a narrow column on a 1600+ px screen; (3) Pricing: every jump chip in view (the row cut "Feedback" in
   half), a wider estimate column, readable line lengths; (4) Wallet: the top-up cards fill their card; (5) Jobs: a wider list. */
@media (min-width:641px){
  .dbc-views{width:-moz-fit-content;width:fit-content;max-width:100%}
  .dbc-views button{flex:0 0 auto;padding:9px 22px}
}
@media (min-width:1400px){
  .db-wrap.dbc-wrap{max-width:1320px;padding-left:24px;padding-right:24px}
  .dbc-split{grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:20px}
  .dbc-view#dbc-jobs{max-width:none}   /* its own 1240 px cap left a gap beside the open job on a wide page */
  .dbc-wrap .db-h1{font-size:28px}
}
@media (min-width:1680px){.db-wrap.dbc-wrap{max-width:1440px}}
.dbc-embed .db-wrap.dbc-wrap{max-width:none;padding-left:14px;padding-right:14px}
@container (min-width:860px){
  .dbc-jump{flex-wrap:wrap;overflow:visible}
  .dbc-prices .dbc-table td:first-child{padding-right:28px}
  .dbc-prices .dbc-what{max-width:84ch}
  .dbc-prices .dbc-table th.n{width:132px}
  .dbc-prices .dbc-table th.dbc-calc-h{width:96px}
}
@container (min-width:1100px){
  .dbc-pgrid{grid-template-columns:minmax(0,1fr) 340px;gap:18px}
  .dbc-sum{padding:20px 22px}
  .dbc-sum h3{font-size:17px}
  .dbc-sum .dbc-total>b{font-size:28px}
}
@container (max-width:859px){
  .dbc-jump{-webkit-mask-image:linear-gradient(90deg,#000 86%,transparent);mask-image:linear-gradient(90deg,#000 86%,transparent);padding-right:28px}
}
.dbc-sumw{display:block;margin-top:10px;padding-top:10px;border-top:1px solid var(--hair);font-size:13px;color:var(--ink2)}
.dbc-sumw b{color:var(--ink)}
@media (min-width:900px){
  .dbc-amts{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(170px,.85fr);gap:12px}
  .dbc-amts .dbc-custom{grid-column:auto;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:12px 14px;border:1.5px dashed var(--line);border-radius:14px}
  .dbc-amts .dbc-custom .db-in{width:100%}
  .dbc-amt{padding:16px 18px}
  .dbc-amt b{font-size:24px}
}

/* owner 11-01: a job charged by usage — the live cost, where it stops, stopping it, what it came to */
.dbc-meter{margin:12px 0 10px;padding:12px 14px 14px;border-radius:12px;background:var(--fill)}
.dbc-mt-tent{margin:0 0 2px!important;font-size:14.5px;line-height:1.45;color:var(--ink)}
.dbc-mt-tent b{font-size:inherit;font-weight:650}
.dbc-mt-say{margin:0 0 12px!important;font-size:14px;line-height:1.45;color:var(--ink2)}
.dbc-mt-bar{height:10px;border-radius:980px;background:var(--line);overflow:hidden}
.dbc-mt-bar i{display:block;height:100%;border-radius:980px;background:var(--link);transition:width 1.6s ease-out}
.dbc-mt-marks{position:relative;list-style:none;height:38px;margin:6px 0 0;padding:0}
.dbc-mt-marks li{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;transform:translateX(-50%);font-size:12px;line-height:1.3;color:var(--ink2);white-space:nowrap}
.dbc-mt-marks li::before{content:"";width:2px;height:6px;margin-bottom:2px;background:var(--ink2)}
.dbc-mt-marks li b{font-size:13px;font-weight:600;color:var(--ink2)}
.dbc-mt-marks li.on b,.dbc-mt-marks li.tent b{color:var(--ink)}
.dbc-mt-marks li.tent b{font-weight:700}
.dbc-mt-marks li:first-child{transform:none;align-items:flex-start}
.dbc-mt-marks li:last-child{transform:translateX(-100%);align-items:flex-end}
.dbc-mt-marks li span{font-size:11.5px}
.dbc-mt-sub{margin:4px 0 0!important;font-size:13px;color:var(--ink2)}
.dbc-ustop{margin-top:12px}
.dbc-ustop .dbc-fine b{color:var(--ink)}
.dbc-ustop-q{padding:12px 14px;border:1px solid var(--orange);border-radius:12px}
.dbc-ustop-q p{margin:6px 0 10px}
.dbc-urcpt{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:8px 0!important;color:var(--ink2);font-size:14px}
.dbc-urcpt b{font-size:22px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.dbc-urcpt em{font-style:normal;font-weight:600;color:var(--green)}
.dbc-uplan{margin:10px 0 0;font-size:14px}
.dbc-uplan summary{cursor:pointer;color:var(--ink2);font-weight:600}
.dbc-uplan ul{margin:8px 0 6px;padding-left:18px}
.dbc-utyp b{color:var(--ink);font-weight:600}
@media (prefers-reduced-motion:reduce){.dbc-mt-bar i{transition:none}}
.dbc-ustop .dbc-fine b,.dbc-ustop-q p b{font-size:inherit;font-weight:600}
/* 23e: a job's Cost tab */
.dbc-cost .dbc-cwhen{white-space:nowrap;color:var(--ink2);font-size:13px}
.dbc-cost tfoot td{border-bottom:0;padding-top:12px}
@media (max-width:640px){.dbc-cost .dbc-cwhen{white-space:normal;width:84px}}
/* levels (owner 11-18: "Good, Better, Best … a tentative cost of each selection should show" · "it should show actual spent runtime"): the quality
   control under the brief — a segmented control of real radio buttons, the same look in Get it done and AI Studio — the level on a job, the clock */
.dbc-lvl{border:0;margin:12px 0 0;padding:0;min-width:0}
.dbc-lvl-start{margin:10px 0 4px}   /* lvlstart (11-19): the quality on the Ready-to-start card */
.dbc-lvl legend{padding:0;margin:0 0 6px;font-size:12.5px;font-weight:600;color:var(--ink2)}
.dbc-lvl-seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:12px;background:var(--fill);max-width:100%}
.dbc-lvl-o{position:relative;display:inline-flex;cursor:pointer}
.dbc-lvl-o input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.dbc-lvl-o span{display:inline-flex;align-items:center;min-height:34px;padding:0 18px;border-radius:9px;font-size:14px;font-weight:550;color:var(--ink2);transition:background .15s ease,color .15s ease}
.dbc-lvl-o:hover span{color:var(--ink)}
.dbc-lvl-o input:checked+span{background:var(--card);color:var(--ink);font-weight:650;box-shadow:0 1px 3px rgba(0,0,0,.14)}
.dbc-lvl-o input:focus-visible+span{outline:2px solid var(--link);outline-offset:2px}
.dbc-lvl-say{margin:6px 0 0!important;font-size:13px;line-height:1.45;color:var(--ink2)}
.dbc-lvl-say b{color:var(--ink);font-weight:600}
.dbc-lvl-sm{margin:0}.dbc-lvl-sm .dbc-lvl-o span{min-height:30px;padding:0 14px;font-size:13px}
.dbc-plvl{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 14px;margin:0 0 10px}.dbc-plvl .dbc-fine{margin:0 0 6px;flex:1 1 220px}
.dbc-plvl .dbc-fine b{color:var(--ink);font-weight:600}
.dbc-lvtag{display:inline-block;white-space:nowrap;font-size:12px;font-weight:600;border-radius:980px;padding:3px 10px;border:1px solid var(--line);color:var(--ink2)}
.dbc-mt-now{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:0 0 12px}
.dbc-mt-now .dbc-mt-say{margin:0!important;color:var(--ink)}
.dbc-mt-clock{font-size:13px;color:var(--ink2);font-variant-numeric:tabular-nums;white-space:nowrap}
.dbc-mt-clock::before{content:"";display:inline-block;width:7px;height:7px;margin:0 6px 1px 0;border-radius:50%;background:var(--green);vertical-align:middle}
@media (prefers-reduced-motion:no-preference){.dbc-mt-clock::before{animation:dbcLvPulse 2s ease-in-out infinite}}
@keyframes dbcLvPulse{50%{opacity:.35}}
@media (max-width:640px){.dbc-lvl-seg{display:flex}.dbc-lvl-o{flex:1 1 0}.dbc-lvl-o span{justify-content:center;width:100%;padding:0 8px}}
