/* BUILT Business · Workspace tools "Pro" layer.
   One visual system for every shop tool dialog (Warranties, Reviews, Integrations, Inventory,
   Coupons, Quote Follow-ups, Technician Earnings, Inventory Library, Connections, Time Clock,
   Job Pay, Owner Records, CSV Import). Presentation only: every control keeps its markup,
   data attributes and behavior. */
:root{
  --tp-bg:#0d0d10;--tp-panel:#131317;--tp-raise:#18181d;--tp-line:#24242a;--tp-line2:#2e2e35;
  --tp-mute:#7a7a84;--tp-text:#ececef;--tp-or:#ff7a2e;--tp-or2:#ff8a45;--tp-ok:#3ccf8e;--tp-warn:#ffc145;--tp-bad:#ff5c5c;
}
/* ---------- dialog shell ---------- */
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog){
  width:min(1280px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;
  border:1px solid var(--tp-line);border-radius:22px;background:var(--tp-bg);color:var(--tp-text);
  box-shadow:0 40px 120px rgba(0,0,0,.75);color-scheme:dark;font:inherit;
}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog)[open]{display:flex;flex-direction:column}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog)::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(6px)}
/* ---------- header ---------- */
html body :is(.bw-head,.brv-head,.shop-integrations-head,.stock-head,.coupon-head,.followup-head,.bte-head,.catalog-library-head,.catalog-connections-head,.btc-head,.bjp-head,.brr-head,.catalog-head){
  display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 28px;
  border-bottom:1px solid var(--tp-line);background:linear-gradient(180deg,#111115,#0d0d10);
}
html body :is(.bw-head,.brv-head,.shop-integrations-head,.stock-head,.coupon-head,.followup-head,.bte-head,.catalog-library-head,.catalog-connections-head,.btc-head,.bjp-head,.brr-head,.catalog-head)>div{min-width:0}
html body :is(.bw-head,.brv-head,.shop-integrations-head,.stock-head,.coupon-head,.followup-head,.bte-head,.catalog-library-head,.catalog-connections-head,.btc-head,.bjp-head,.brr-head,.catalog-head)>div>span:first-child,
html body :is(.bw-eyebrow,.brv-eyebrow,.shop-integration-eyebrow,.bte-eyebrow,.btc-eyebrow,.bjp-eyebrow,.catalog-eyebrow,.catalog-library-shop){
  display:block;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--tp-or);overflow-wrap:anywhere;
}
html body :is(.bw-head,.brv-head,.shop-integrations-head,.stock-head,.coupon-head,.followup-head,.bte-head,.catalog-library-head,.catalog-connections-head,.btc-head,.bjp-head,.brr-head,.catalog-head) h1{
  margin:4px 0 0;font-size:26px;line-height:1.15;font-weight:750;letter-spacing:-.02em;text-transform:none;color:#fff;
}
/* ---------- body / footer ---------- */
html body :is(.bw-body,.brv-body,.shop-integrations-body,.stock-body,.coupon-body,.followup-body,.bte-body,.catalog-library-body,.catalog-connections-body,.btc-body,.bjp-body,.brr-body,.catalog-body){
  flex:1;min-height:0;padding:22px 28px 24px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#2a2a30 transparent;
}
html body :is(.bw-footer,.brv-footer,.shop-integrations-footer,.btc-footer,.catalog-connection-footer){
  display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px;padding-top:16px;border-top:1px solid var(--tp-line);
}
html body :is(.bw-footer,.brv-footer,.shop-integrations-footer,.btc-footer,.catalog-connection-footer)>p{margin:0;font-size:11.5px;line-height:1.5;color:var(--tp-mute)}
html body :is(.bw-intro,.brv-intro,.shop-integrations-intro,.catalog-library-intro,.catalog-connections-intro,.brr-intro,.catalog-intro,.coupon-body>.coupon-note:first-child,.btc-clock-hint){
  margin:0 0 18px;font-size:13.5px;line-height:1.6;color:#a9a9b2;max-width:760px;
}
/* ---------- buttons ---------- */
html body :is(.bw-button,.brv-button,.shop-integration-button,.stock-button,.coupon-button,.bte-button,.catalog-library-button,.catalog-connection-button,.btc-button,.bjp-button,.brr-button,.catalog-button){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 14px;
  border:1px solid var(--tp-line2);border-radius:10px;background:var(--tp-raise);color:var(--tp-text);
  font:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer;transition:border-color .15s,background .15s,color .15s,transform .15s;
}
html body :is(.bw-button,.brv-button,.shop-integration-button,.stock-button,.coupon-button,.bte-button,.catalog-library-button,.catalog-connection-button,.btc-button,.bjp-button,.brr-button,.catalog-button):hover:not(:disabled){border-color:#4a4a52;background:#1e1e24}
html body :is(.bw-button,.brv-button,.shop-integration-button,.stock-button,.coupon-button,.bte-button,.catalog-library-button,.catalog-connection-button,.btc-button,.bjp-button,.brr-button,.catalog-button):disabled{opacity:.45;cursor:default}
html body :is(.bw-button,.brv-button,.shop-integration-button,.stock-button,.coupon-button,.bte-button,.catalog-library-button,.catalog-connection-button,.btc-button,.bjp-button,.brr-button,.catalog-button).is-primary,
html body .profit-button.profit-primary{
  background:linear-gradient(180deg,var(--tp-or2),#ff6a1a);border-color:transparent;color:#1a0d04;font-weight:750;
  box-shadow:0 12px 26px -14px rgba(255,106,26,.9),inset 0 1px 0 rgba(255,255,255,.25);
}
html body :is(.bw-button,.brv-button,.shop-integration-button,.stock-button,.coupon-button,.bte-button,.catalog-library-button,.catalog-connection-button,.btc-button,.bjp-button,.brr-button,.catalog-button).is-primary:hover:not(:disabled){filter:brightness(1.06);background:linear-gradient(180deg,var(--tp-or2),#ff6a1a);border-color:transparent;transform:translateY(-1px)}
html body .quote-followups-dialog :is(button[data-followup-action],button[data-followup-close]){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid var(--tp-line2);border-radius:10px;background:var(--tp-raise);color:var(--tp-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
html body .quote-followups-dialog :is(button[data-followup-action]).is-primary{background:linear-gradient(180deg,var(--tp-or2),#ff6a1a);border-color:transparent;color:#1a0d04;font-weight:750}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog) :is(button,input,select,textarea,a):focus-visible{outline:2px solid var(--tp-or);outline-offset:2px}
html body :is(.brv-close,.brh-icon-button){border:1px solid var(--tp-line2);border-radius:10px;background:var(--tp-raise);color:var(--tp-text)}
/* ---------- tabs ---------- */
html body :is(.bw-tabs,.btc-tabs){
  display:flex;gap:2px;width:fit-content;max-width:100%;padding:3px;margin:0 0 18px;border:1px solid var(--tp-line2);border-radius:11px;background:#0a0a0c;overflow-x:auto;scrollbar-width:none;
}
html body :is(.bw-tabs,.btc-tabs) :is(.bw-button,.btc-button){flex:0 0 auto;min-height:34px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--tp-mute);font-size:12.5px;box-shadow:none;white-space:nowrap}
html body :is(.bw-tabs,.btc-tabs) :is(.bw-button,.btc-button):hover{color:var(--tp-text);background:#17171b}
html body :is(.bw-tabs,.btc-tabs) :is(.bw-button,.btc-button)[aria-pressed=true]{background:#202026;color:#fff;box-shadow:inset 0 0 0 1px #34343c}
/* ---------- KPI strips ---------- */
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary,.brr-view-tools .brr-summary){
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;margin:0 0 18px;padding:0;
  border:1px solid var(--tp-line);border-radius:14px;background:var(--tp-panel);overflow:hidden;
}
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div{
  display:flex;flex-direction:column;justify-content:flex-start;gap:4px;padding:14px 18px;border:0;border-right:1px solid var(--tp-line);border-radius:0;background:transparent;min-width:0;
}
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div:last-child{border-right:0}
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div>span{order:-1;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--tp-mute);line-height:1.4}
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div>strong{font-size:24px;line-height:1.1;font-weight:750;letter-spacing:-.02em;color:#fff;font-variant-numeric:tabular-nums}
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div.is-attention,
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div.is-accent,
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div.is-active{background:radial-gradient(120% 140% at 0% 0%,rgba(255,122,46,.12),transparent 55%)}
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div.is-attention>strong,
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div.is-accent>strong{color:var(--tp-or2)}
html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div>span+strong+span{order:1;font-size:11.5px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--tp-mute)}
/* ---------- section headings / toolbars ---------- */
html body :is(.bw-card-heading,.bw-editor-heading,.stock-section-head,.followup-section-heading,.bte-section-head,.btc-section-heading,.catalog-library-editor-heading,.profit-section-heading){
  display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 12px;
}
html body :is(.bw-card-heading,.bw-editor-heading,.stock-section-head,.followup-section-heading,.bte-section-head,.btc-section-heading,.catalog-library-editor-heading) :is(h2,h3){margin:0;font-size:16px;font-weight:700;letter-spacing:-.01em;color:#fff}
html body :is(.bw-toolbar,.stock-toolbar,.coupon-toolbar,.bte-toolbar,.bjp-toolbar,.brr-toolbar,.bw-filters,.catalog-library-filters,.bw-search-row){
  display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0 0 16px;padding:10px;border:1px solid var(--tp-line);border-radius:14px;background:var(--tp-panel);
}
/* ---------- cards ---------- */
html body :is(.bw-card,.brv-provider,.shop-integration-card,.stock-item,.coupon-card,.followup-quote,.bte-person,.bte-record,.catalog-connection-card,.btc-person,.btc-shift,.bjp-record,.brr-record,.bw-followup,.brv-review,.btc-job,.catalog-library-editor,.bte-form,.bjp-form,.bte-section,.bjp-section,.bw-editor,.stock-catalog){
  border:1px solid var(--tp-line);border-radius:16px;background:var(--tp-panel);box-shadow:none;
}
html body :is(.bw-card,.stock-item,.coupon-card,.followup-quote,.bte-person,.bte-record,.btc-person,.btc-shift,.bjp-record,.brr-record,.bw-followup){position:relative;overflow:hidden;transition:border-color .15s,background .15s}
html body :is(.bw-card,.stock-item,.coupon-card,.followup-quote,.bte-person,.bte-record,.btc-person,.btc-shift,.bjp-record,.brr-record,.bw-followup):hover{border-color:#3a3a43;background:#15151a}
html body :is(.bw-card,.coupon-card,.followup-quote,.bte-record,.bjp-record,.brr-record,.bw-followup,.stock-item)::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--tp-or);opacity:.85}
html body :is(.bw-list,.stock-items,.coupon-list,.followup-list,.bte-records,.bjp-records,.brr-records,.btc-shifts,.btc-people,.bw-history){display:grid;gap:10px}
/* ---------- badges & status ---------- */
html body :is(.bw-badge,.stock-badge,.bte-badge,.coupon-status,.followup-status,.bte-status,.bjp-status,.brr-status,.catalog-connection-state,.btc-state,.shop-integration-badge,.brv-tag){
  display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1.5;
  background:rgba(255,122,46,.13);color:#ffa772;border:1px solid rgba(255,122,46,.3);white-space:nowrap;
}
html body :is(.bw-badge,.stock-badge,.bte-badge,.coupon-status,.followup-status,.bte-status,.bjp-status,.brr-status,.catalog-connection-state,.btc-state):is(.is-ok,.is-active,.is-connected,.is-working,.is-paid,.is-approved,.is-live){background:rgba(60,207,142,.13);color:#6ee0aa;border-color:rgba(60,207,142,.3)}
html body :is(.bw-badge,.stock-badge,.bte-badge,.coupon-status,.followup-status,.bte-status,.bjp-status,.brr-status,.catalog-connection-state,.btc-state):is(.is-warning,.is-low,.is-pending,.is-break,.is-expiring,.is-due){background:rgba(255,193,69,.12);color:#ffd27a;border-color:rgba(255,193,69,.3)}
html body :is(.bw-badge,.stock-badge,.bte-badge,.coupon-status,.followup-status,.bte-status,.bjp-status,.brr-status,.catalog-connection-state,.btc-state):is(.is-off,.is-archived,.is-void,.is-expired,.is-inactive,.is-muted,.is-disconnected,.is-cancelled){background:rgba(160,160,170,.12);color:#b4b4bc;border-color:rgba(160,160,170,.25)}
html body :is(.bw-badge,.stock-badge,.bte-badge,.coupon-status,.followup-status,.bte-status,.bjp-status,.brr-status,.catalog-connection-state,.btc-state):is(.is-error,.is-out,.is-overdue,.is-danger){background:rgba(255,92,92,.12);color:#ff9a9a;border-color:rgba(255,92,92,.3)}
/* ---------- fields ---------- */
html body :is(.bw-field,.stock-field,.bte-field,.catalog-library-field,.btc-field,.bjp-field,.brr-field,.catalog-field,.profit-field,.coupon-fields label,.followup-settings-grid label){
  display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12.5px;font-weight:650;color:#a1a1aa;line-height:1.4;
}
html body :is(.bw-fields,.stock-fields,.bte-fields,.catalog-library-fields,.btc-fields,.bjp-fields,.brr-fields,.catalog-fields,.coupon-fields,.followup-settings-grid,.profit-editor-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
html body :is(.bw-field,.stock-field,.bte-field,.catalog-library-field,.btc-field,.bjp-field,.brr-field,.catalog-field,.profit-field,.coupon-fields label,.followup-settings-grid label).is-wide,
html body :is(.bw-wide,.bte-wide,.bjp-wide,.brr-wide){grid-column:1/-1}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){
  width:100%;min-width:0;max-width:100%;min-height:44px;padding:11px 13px;border:1px solid var(--tp-line2);border-radius:11px;background:#0a0a0c;color:var(--tp-text);
  font:inherit;font-size:14px;line-height:1.45;box-shadow:none;transition:border-color .15s,box-shadow .15s;
}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog) :is(input,select,textarea):focus{outline:0;border-color:rgba(255,122,46,.6);box-shadow:0 0 0 4px rgba(255,122,46,.1)}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog) :is(input,textarea)::placeholder{color:#55555e}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog) textarea{resize:vertical;min-height:96px}
html body :is(.bw-editor-actions,.stock-edit-actions,.catalog-library-edit-actions,.bte-person-actions,.btc-clock-actions,.btc-footer-actions,.coupon-card-top .coupon-actions,.followup-actions){display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
html body :is(.bw-editor-actions,.stock-edit-actions,.catalog-library-edit-actions){margin-top:18px;padding-top:16px;border-top:1px solid var(--tp-line)}
/* ---------- notices ---------- */
html body :is(.bw-notice,.stock-notice,.bte-notice,.btc-notice,.bjp-notice,.brr-notice,.catalog-library-notice,.catalog-connection-notice,.followup-hint,.bw-note,.stock-muted,.bte-note,.bjp-note,.brr-note,.catalog-note,.catalog-library-note,.catalog-connection-note,.coupon-note){
  font-size:12.5px;line-height:1.55;color:var(--tp-mute);
}
html body :is(.bw-notice,.stock-notice,.bte-notice,.btc-notice,.bjp-notice,.brr-notice,.catalog-library-notice,.catalog-connection-notice){margin:0 0 14px;padding:11px 14px;border:1px solid rgba(255,193,69,.3);border-radius:12px;background:rgba(255,193,69,.07);color:#ffd9a1}
html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog) :is(.bw-error,.brv-message[data-tone=error],.shop-integration-error,.stock-error,.coupon-error,.bte-error,.catalog-library-error,.catalog-library-action-error,.catalog-connection-error,.btc-error,.bjp-error,.brr-error,.catalog-error):not(:empty){
  margin:0 0 14px;padding:11px 14px;border:1px solid rgba(255,92,92,.4);border-radius:12px;background:rgba(255,92,92,.08);color:#ffb4b4;font-size:13px;line-height:1.5;
}
html body :is(.btc-success){margin:0 0 14px;padding:11px 14px;border:1px solid rgba(60,207,142,.35);border-radius:12px;background:rgba(60,207,142,.08);color:#9ef0c6;font-size:13px}
html body :is(.bw-empty,.brv-empty,.stock-empty,.coupon-empty,.bte-empty,.catalog-library-empty,.btc-empty,.bjp-empty,.brr-empty){
  padding:30px;border:1px dashed var(--tp-line2);border-radius:14px;background:transparent;text-align:center;color:var(--tp-mute);font-size:13.5px;
}
/* ---------- tables ---------- */
html body :is(.catalog-library-table-wrap,.catalog-table-wrap,.brh-table-wrap){border:1px solid var(--tp-line);border-radius:14px;overflow:auto;background:var(--tp-panel)}
html body :is(.catalog-library-table,.catalog-table-wrap table,.brh-table-wrap table){width:100%;border-collapse:collapse;font-size:13px}
html body :is(.catalog-library-table,.catalog-table-wrap table,.brh-table-wrap table) thead th{position:sticky;top:0;z-index:1;padding:10px 14px;background:#111114;border-bottom:1px solid var(--tp-line);text-align:left;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--tp-mute)}
html body :is(.catalog-library-table,.catalog-table-wrap table,.brh-table-wrap table) td{padding:11px 14px;border-bottom:1px solid var(--tp-line);vertical-align:top;color:#dcdce0}
html body :is(.catalog-library-table,.catalog-table-wrap table,.brh-table-wrap table) tr:last-child td{border-bottom:0}
html body :is(.catalog-library-table,.catalog-table-wrap table,.brh-table-wrap table) tbody tr:hover td{background:rgba(255,255,255,.025)}
/* ---------- pagination ---------- */
html body :is(.bw-pagination,.stock-pagination,.catalog-library-pagination,.catalog-pagination,.profit-pagination,.coupon-dialog .coupon-pagination){display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;font-size:12.5px;color:var(--tp-mute)}
/* ---------- integrations / reviews grids ---------- */
html body :is(.shop-integration-grid,.brv-providers,.catalog-connection-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
html body :is(.shop-integration-card,.brv-provider,.catalog-connection-card){padding:20px}
html body :is(.shop-integration-icon){width:42px;height:42px;border-radius:13px;background:rgba(255,122,46,.12);border:1px solid rgba(255,122,46,.28);color:var(--tp-or);display:grid;place-items:center}
html body :is(.shop-integration-heading h2,.brv-provider-heading h2,.catalog-connection-card-head h2){font-size:17px;font-weight:750;color:#fff;margin:0}
/* ---------- time clock ---------- */
html body .btc-clock{padding:22px;border:1px solid rgba(255,122,46,.28);border-radius:18px;background:radial-gradient(120% 120% at 0% 0%,rgba(255,122,46,.12),transparent 55%),var(--tp-panel)}
html body .btc-timer{font-size:44px;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#fff;line-height:1}
html body .btc-timer-label{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--tp-or)}
html body .btc-person{display:flex;align-items:center;gap:12px;padding:12px 14px}
html body .btc-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:12px;background:#1d1d22;border:1px solid var(--tp-line2);color:#c4c4cc}
/* ---------- technician earnings / job pay money ---------- */
html body :is(.bte-record-amount,.bte-row-amount,.bjp-record-amount,.brr-amount,.bte-share-total){font-variant-numeric:tabular-nums;font-weight:750;color:#fff}
/* ---------- responsive ---------- */
@media(max-width:900px){
  html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog){width:100vw;max-height:100dvh;height:100dvh;border-radius:0;border:0;margin:0}
  html body :is(.bw-head,.brv-head,.shop-integrations-head,.stock-head,.coupon-head,.followup-head,.bte-head,.catalog-library-head,.catalog-connections-head,.btc-head,.bjp-head,.brr-head,.catalog-head){padding:14px 16px}
  html body :is(.bw-head,.brv-head,.shop-integrations-head,.stock-head,.coupon-head,.followup-head,.bte-head,.catalog-library-head,.catalog-connections-head,.btc-head,.bjp-head,.brr-head,.catalog-head) h1{font-size:21px}
  html body :is(.bw-body,.brv-body,.shop-integrations-body,.stock-body,.coupon-body,.followup-body,.bte-body,.catalog-library-body,.catalog-connections-body,.btc-body,.bjp-body,.brr-body,.catalog-body){padding:16px 14px 20px}
  html body :is(.bw-fields,.stock-fields,.bte-fields,.catalog-library-fields,.btc-fields,.bjp-fields,.brr-fields,.catalog-fields,.coupon-fields,.followup-settings-grid,.profit-editor-grid){grid-template-columns:minmax(0,1fr)}
  html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary){grid-template-columns:repeat(2,minmax(0,1fr))}
  html body :is(.bw-summary,.bte-summary,.bjp-summary,.stock-overview,.catalog-library-summary,.catalog-summary)>div{border-bottom:1px solid var(--tp-line)}
  html body .btc-timer{font-size:36px}
}

/* ---------------------------------------------------------------- fit & finish pass */
/* Team clock: the person's status is a pill with the running time beneath it, not a pill in a pill. */
html body .btc-dialog .btc-person-status,html body .btc-person-status{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:none;padding:0;border:0;background:none;box-shadow:none;min-width:0}
html body .btc-person-status>small{font:600 11.5px/1.2 "Inter",system-ui,sans-serif;color:#a1a1aa;font-variant-numeric:tabular-nums}
html body .btc-person-copy{min-width:0;flex:1 1 auto}
/* Warranties: editor heading stacks; summary tiles fill the row; search gets the full width on phones. */
html body .bw-editor-heading{display:block}
html body .bw-editor-heading .bw-eyebrow{display:block;margin-bottom:6px}
html body .bw-editor-heading h2{font-size:20px}
html body .bw-editor-heading p{margin:6px 0 0;font-size:13px;color:#a1a1aa}
html body .bw-intro,html body .bw-intro p{font-size:13.5px;line-height:1.5}
@media (max-width:640px){
  html body .bw-summary{grid-template-columns:1fr 1fr}
  html body .bw-summary>div:last-child:nth-child(odd){grid-column:1/-1}
  html body .bw-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
  html body .bw-filters .bw-search{grid-column:1/-1}
  html body .bw-filters .bw-field>span{white-space:nowrap}
  html body .bw-filters .bw-search input{width:100%;min-width:0}
}
/* My Schedule: the date range sits on its own line above the period controls on phones. */
@media (max-width:640px){
  html body .bes-dialog.bes-dialog.bes-dialog .bes-period-nav{flex-direction:column;align-items:stretch;gap:10px}
  html body .bes-dialog.bes-dialog.bes-dialog .bes-period-nav h2{order:-1;display:block;visibility:visible;opacity:1;margin:0;color:#fff;font-size:19px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body .bes-dialog.bes-dialog.bes-dialog .bes-period-actions{display:flex;width:100%}
  html body .bes-dialog.bes-dialog.bes-dialog .bes-period-actions>.bes-button{flex:1 1 0;min-width:0}
  html body .bes-dialog.bes-dialog.bes-dialog .bes-tabs{scroll-padding:16px;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
}
/* Reviews: the close control matches every other tool. */
html body .brv-close{min-width:40px;min-height:40px;border-radius:12px}
/* Pagination rows align their count with the buttons. */
html body :is(.coupon-pagination,.bw-pagination,.stock-pagination,.catalog-library-pagination){display:flex;align-items:center;gap:10px}
html body :is(.coupon-pagination,.bw-pagination,.stock-pagination,.catalog-library-pagination)>:is(span,p,output){margin:0;line-height:1;font-size:12.5px;color:#a1a1aa}

/* Phones: every tool opens as a full-screen sheet that respects the notch / Dynamic Island and the
   home indicator, so headers never sit under the status bar and nothing is stretched past the edges. */
@media (max-width:640px){
  html body :is(.bw-dialog,.brv-dialog,.shop-integrations-dialog,.stock-dialog,.coupon-dialog,.quote-followups-dialog,.bte-dialog,.catalog-library-dialog,.catalog-connections-dialog,.btc-dialog,.bjp-dialog,.brr-dialog,.catalog-dialog),
  html body .bes-dialog.bes-dialog.bes-dialog{
    width:100%;max-width:100%;height:100%;max-height:100%;margin:0;inset:0;border:0;border-radius:0;box-sizing:border-box;overflow-x:hidden;
  }
  html body :is(.bw-head,.brv-head,.shop-integrations-head,.stock-head,.coupon-head,.followup-head,.bte-head,.catalog-library-head,.catalog-connections-head,.btc-head,.bjp-head,.brr-head,.catalog-head),
  html body .bes-dialog.bes-dialog.bes-dialog .bes-head{
    padding-top:calc(env(safe-area-inset-top, 0px) + 14px);padding-left:max(18px,env(safe-area-inset-left, 0px));padding-right:max(18px,env(safe-area-inset-right, 0px));
  }
  html body .bes-dialog.bes-dialog.bes-dialog .bes-body,
  html body :is(.bw-body,.brv-body,.btc-body,.stock-body,.coupon-body,.bte-body,.bjp-body,.brr-body,.catalog-body,.catalog-library-body){
    padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 20px);max-width:100%;box-sizing:border-box;overflow-x:hidden;
  }
}
