body.woocommerce-account {
  --tv-ink:#0b1f33;
  --tv-muted:#4b5563;
  --tv-line:#d7dce2;
  --tv-soft:#f3f5f7;
  --tv-paper:#ffffff;
  --tv-accent:#13b8a6;
  --tv-accent-text:#0c7f73;
  --tv-danger:#b42318;
  --tv-success:#176b43;
  background:#f7f8fa!important;
  color:var(--tv-ink)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.6;
}

body.woocommerce-account *,
body.woocommerce-account *::before,
body.woocommerce-account *::after { box-sizing:border-box; }

body.woocommerce-account main { min-width:0; }
body.woocommerce-account .entry-title,
body.woocommerce-account h1.display-4 { display:none!important; }
body.woocommerce-account h1,
body.woocommerce-account h2,
body.woocommerce-account h3,
body.woocommerce-account p { overflow-wrap:anywhere; }
body.woocommerce-account h1,
body.woocommerce-account h2,
body.woocommerce-account h3 { color:var(--tv-ink)!important;font-weight:500!important;line-height:1.2; }
body.woocommerce-account a { color:var(--tv-accent-text);text-underline-offset:3px; }
body.woocommerce-account button,
body.woocommerce-account a,
body.woocommerce-account input,
body.woocommerce-account select,
body.woocommerce-account textarea { touch-action:manipulation!important; }
body.woocommerce-account button,
body.woocommerce-account .button,
body.woocommerce-account input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-navigation a,
body.woocommerce-account .tv-b2b-action,
body.woocommerce-account .tv-b2b-history-row__actions a,
body.woocommerce-account .tv-b2b-contact-panel a,
body.woocommerce-account .tv-b2b-noti-item__actions a,
body.woocommerce-account .tv-b2b-noti-item__actions button { min-height:44px!important; }
body.woocommerce-account :focus-visible { outline:3px solid var(--tv-accent)!important;outline-offset:3px!important; }

body.logged-in.woocommerce-account .woocommerce {
  display:grid;
  grid-template-columns:minmax(190px,220px) minmax(0,1fr);
  gap:28px 40px;
  width:min(1180px,calc(100% - 32px));
  margin:0 auto 64px!important;
  padding:0!important;
}
body.logged-in.woocommerce-account .tv-b2b-account-hero { grid-column:1/-1;background:transparent!important;border:0!important;margin:0!important; }
body.logged-in.woocommerce-account .tv-b2b-account-hero__inner { display:flex;justify-content:space-between;gap:32px;align-items:end;padding:40px 0 8px!important; }
body.logged-in.woocommerce-account .tv-b2b-account-hero h1 { margin:0 0 8px!important;font-size:clamp(1.8rem,4vw,2.7rem)!important;letter-spacing:-.03em; }
body.logged-in.woocommerce-account .tv-b2b-account-hero p { max-width:680px;margin:0!important;color:var(--tv-muted)!important; }
body.logged-in.woocommerce-account .tv-b2b-portal-eyebrow { display:block;margin-bottom:8px;color:var(--tv-muted);font-size:.78rem;font-weight:500;text-transform:uppercase;letter-spacing:.08em; }
body.logged-in.woocommerce-account .tv-b2b-status-card { min-width:220px;padding:12px 0 12px 20px;border:0!important;border-left:1px solid var(--tv-line)!important;background:transparent!important;border-radius:0!important; }
body.logged-in.woocommerce-account .tv-b2b-status-card span,
body.logged-in.woocommerce-account .tv-b2b-status-card strong,
body.logged-in.woocommerce-account .tv-b2b-status-card em { display:block;font-style:normal; }
body.logged-in.woocommerce-account .tv-b2b-status-card span { color:var(--tv-muted);font-size:.78rem; }
body.logged-in.woocommerce-account .tv-b2b-status-card strong { color:var(--tv-ink);font-weight:500; }
body.logged-in.woocommerce-account .tv-b2b-status-card em { color:var(--tv-muted);font-size:.86rem; }

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation { grid-column:1;width:100%!important;float:none!important;align-self:start;position:sticky;top:24px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { margin:0!important;padding:0!important;list-style:none;border-top:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li { margin:0!important;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a { display:flex!important;align-items:center;padding:10px 8px!important;color:var(--tv-muted)!important;text-decoration:none!important;font-size:.93rem;font-weight:400!important; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"],
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color:var(--tv-ink)!important;background:var(--tv-soft)!important;font-weight:500!important; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { margin-top:16px!important;border-top:1px solid var(--tv-line); }

body.logged-in.woocommerce-account .woocommerce-MyAccount-content { grid-column:2;width:100%!important;min-width:0;float:none!important; }
body.logged-in.woocommerce-account .tv-b2b-top-header-bar { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 32px;padding:0 0 16px;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-top-header-left,
body.logged-in.woocommerce-account .tv-b2b-top-header-right { display:flex;align-items:center;gap:12px;min-width:0; }
body.logged-in.woocommerce-account .tv-b2b-breadcrumb-parent,
body.logged-in.woocommerce-account .tv-b2b-breadcrumb-sep { color:var(--tv-muted);font-size:.82rem; }
body.logged-in.woocommerce-account .tv-b2b-breadcrumb-active { color:var(--tv-ink);font-size:.82rem;font-weight:500; }
body.logged-in.woocommerce-account .tv-b2b-header-user { display:flex;align-items:center;gap:8px;min-width:0;max-width:min(194px,32vw); }
body.logged-in.woocommerce-account .tv-b2b-user-avatar { display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;overflow:hidden;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-paper);font-weight:500;white-space:nowrap; }
body.logged-in.woocommerce-account .tv-b2b-user-name { display:block;flex:1 1 auto;min-width:0;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem; }
body.logged-in.woocommerce-account .tv-b2b-header-search-wrap { min-width:min(280px,32vw); }
body.logged-in.woocommerce-account .tv-b2b-catalog-search { position:relative; }
body.logged-in.woocommerce-account .tv-b2b-catalog-search input { width:100%;min-height:44px;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-paper);padding:8px 12px;color:var(--tv-ink);font:inherit; }
body.logged-in.woocommerce-account .tv-b2b-catalog-search__results { position:absolute;z-index:40;top:calc(100% + 4px);right:0;left:0;background:var(--tv-paper);border:1px solid var(--tv-line);border-radius:8px; }

body.logged-in.woocommerce-account .tv-b2b-header-notifications { position:relative; }
body.logged-in.woocommerce-account .tv-b2b-noti-bell { display:grid;place-items:center;width:44px;min-width:44px;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-paper);color:var(--tv-ink);cursor:pointer; }
body.logged-in.woocommerce-account .tv-b2b-noti-bell svg { width:20px;height:20px; }
body.logged-in.woocommerce-account .tv-b2b-noti-badge { position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid var(--tv-paper);border-radius:8px;background:var(--tv-danger);color:#fff;font-size:.7rem;font-weight:500; }
body.logged-in.woocommerce-account .tv-b2b-noti-panel { display:none;position:absolute;z-index:50;top:calc(100% + 8px);right:0;width:min(390px,calc(100vw - 32px));max-height:min(520px,70vh);overflow-y:auto;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-paper); }
body.logged-in.woocommerce-account .tv-b2b-header-notifications.is-open .tv-b2b-noti-panel { display:block; }
body.logged-in.woocommerce-account .tv-b2b-noti-panel__head { display:flex;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-noti-panel ul { margin:0;padding:0;list-style:none; }
body.logged-in.woocommerce-account .tv-b2b-noti-item { padding:16px;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-noti-item__copy strong { font-weight:500; }
body.logged-in.woocommerce-account .tv-b2b-noti-item__copy p { margin:4px 0 12px;color:var(--tv-muted);font-size:.86rem; }
body.logged-in.woocommerce-account .tv-b2b-noti-item__actions { display:flex;flex-wrap:wrap;gap:8px; }
body.logged-in.woocommerce-account .tv-b2b-noti-item__actions a,
body.logged-in.woocommerce-account .tv-b2b-noti-item__actions button { display:inline-flex;align-items:center;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-paper);padding:8px 12px;color:var(--tv-ink);font:inherit;font-size:.82rem;text-decoration:none;cursor:pointer; }
body.logged-in.woocommerce-account .tv-b2b-noti-empty { margin:0;padding:20px;color:var(--tv-muted); }

body.logged-in.woocommerce-account .tv-b2b-workspace-intro { display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:28px;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-workspace-intro span,
body.logged-in.woocommerce-account .tv-b2b-proforma-detail header span,
body.logged-in.woocommerce-account .tv-b2b-proforma-row__identity span { color:var(--tv-muted);font-size:.76rem;font-weight:500;text-transform:uppercase;letter-spacing:.08em; }
body.logged-in.woocommerce-account .tv-b2b-workspace-intro h2 { margin:4px 0 8px;font-size:clamp(1.55rem,3vw,2.15rem); }
body.logged-in.woocommerce-account .tv-b2b-workspace-intro p { margin:0;color:var(--tv-muted); }
body.logged-in.woocommerce-account .tv-b2b-workspace-actions,
body.logged-in.woocommerce-account .tv-b2b-contact-panel>div,
body.logged-in.woocommerce-account .tv-b2b-pagination { display:flex;flex-wrap:wrap;gap:10px; }
body.logged-in.woocommerce-account .tv-b2b-action,
body.logged-in.woocommerce-account .tv-b2b-contact-panel a,
body.logged-in.woocommerce-account .tv-b2b-pagination a { display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--tv-ink);border-radius:8px;background:transparent;padding:8px 14px;color:var(--tv-ink);font-size:.88rem;font-weight:500;text-decoration:none; }
body.logged-in.woocommerce-account .tv-b2b-action--primary { background:var(--tv-ink);color:#fff!important; }
body.logged-in.woocommerce-account .tv-b2b-action:hover,
body.logged-in.woocommerce-account .tv-b2b-contact-panel a:hover,
body.logged-in.woocommerce-account .tv-b2b-pagination a:hover { border-color:var(--tv-accent);color:var(--tv-accent-text); }
body.logged-in.woocommerce-account .tv-b2b-action--primary:hover { background:var(--tv-accent);color:#fff!important; }

body.logged-in.woocommerce-account .tv-b2b-workspace-section { padding:36px 0;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-workspace-section--endpoint { padding-top:0; }
body.logged-in.woocommerce-account .tv-b2b-section-heading { display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px; }
body.logged-in.woocommerce-account .tv-b2b-section-heading h2 { margin:0 0 5px;font-size:1.3rem; }
body.logged-in.woocommerce-account .tv-b2b-section-heading p { margin:0;color:var(--tv-muted);font-size:.92rem; }
body.logged-in.woocommerce-account .tv-b2b-section-heading>a { min-height:44px;display:inline-flex;align-items:center;font-size:.88rem; }
body.logged-in.woocommerce-account .tv-b2b-proforma-list { border-top:1px solid var(--tv-ink); }
body.logged-in.woocommerce-account .tv-b2b-proforma-row { display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(330px,2fr) auto;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-proforma-row__identity strong,
body.logged-in.woocommerce-account .tv-b2b-proforma-row__identity small { display:block; }
body.logged-in.woocommerce-account .tv-b2b-proforma-row__identity strong { margin:2px 0;font-weight:500;font-variant-numeric:tabular-nums; }
body.logged-in.woocommerce-account .tv-b2b-proforma-row__identity small { color:var(--tv-muted); }
body.logged-in.woocommerce-account .tv-b2b-proforma-row dl,
body.logged-in.woocommerce-account .tv-b2b-proforma-facts,
body.logged-in.woocommerce-account .tv-b2b-proforma-order-state dl { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0; }
body.logged-in.woocommerce-account .tv-b2b-proforma-row dt,
body.logged-in.woocommerce-account .tv-b2b-proforma-facts dt,
body.logged-in.woocommerce-account .tv-b2b-proforma-order-state dt { color:var(--tv-muted);font-size:.75rem; }
body.logged-in.woocommerce-account .tv-b2b-proforma-row dd,
body.logged-in.woocommerce-account .tv-b2b-proforma-facts dd,
body.logged-in.woocommerce-account .tv-b2b-proforma-order-state dd { margin:2px 0 0;color:var(--tv-ink);font-weight:500;font-variant-numeric:tabular-nums; }
body.logged-in.woocommerce-account .tv-b2b-proforma-empty { padding:28px 0; }
body.logged-in.woocommerce-account .tv-b2b-proforma-empty h3 { margin:0 0 6px;font-size:1.05rem; }
body.logged-in.woocommerce-account .tv-b2b-proforma-empty p { margin:0 0 16px;color:var(--tv-muted); }

body.logged-in.woocommerce-account .tv-b2b-data-guidance,
body.logged-in.woocommerce-account .tv-b2b-contact-panel { display:flex;align-items:center;justify-content:space-between;gap:24px;margin:32px 0;padding:20px;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-paper); }
body.logged-in.woocommerce-account .tv-b2b-data-guidance h2,
body.logged-in.woocommerce-account .tv-b2b-contact-panel h2 { margin:0 0 4px;font-size:1.05rem; }
body.logged-in.woocommerce-account .tv-b2b-data-guidance p,
body.logged-in.woocommerce-account .tv-b2b-contact-panel p { margin:0;color:var(--tv-muted);font-size:.9rem; }
body.logged-in.woocommerce-account .tv-b2b-contact-panel { display:block; }
body.logged-in.woocommerce-account .tv-b2b-contact-panel>div { margin-top:14px; }
body.logged-in.woocommerce-account .tv-b2b-history-list { border-top:1px solid var(--tv-ink); }
body.logged-in.woocommerce-account .tv-b2b-history-row { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-history-row>div:first-child strong,
body.logged-in.woocommerce-account .tv-b2b-history-row>div:first-child span { display:block; }
body.logged-in.woocommerce-account .tv-b2b-history-row>div:first-child strong { font-weight:500; }
body.logged-in.woocommerce-account .tv-b2b-history-row>div:first-child span { color:var(--tv-muted);font-size:.82rem; }
body.logged-in.woocommerce-account .tv-b2b-history-row__actions { display:flex;gap:8px; }
body.logged-in.woocommerce-account .tv-b2b-history-row__actions a { display:inline-flex;align-items:center;padding:7px 10px;border:1px solid var(--tv-line);border-radius:8px;color:var(--tv-ink);text-decoration:none;font-size:.84rem; }

body.logged-in.woocommerce-account .tv-b2b-proforma-detail { padding-bottom:32px;border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-back-link { display:inline-flex;align-items:center;min-height:44px;margin-bottom:18px;font-size:.88rem; }
body.logged-in.woocommerce-account .tv-b2b-proforma-detail header { display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px; }
body.logged-in.woocommerce-account .tv-b2b-proforma-detail h2 { margin:4px 0;font-size:clamp(1.5rem,3vw,2.2rem);font-variant-numeric:tabular-nums; }
body.logged-in.woocommerce-account .tv-b2b-proforma-detail header p { margin:0;color:var(--tv-muted); }
body.logged-in.woocommerce-account .tv-b2b-proforma-facts { padding:20px 0;border-top:1px solid var(--tv-ink);border-bottom:1px solid var(--tv-line); }
body.logged-in.woocommerce-account .tv-b2b-read-only-note { margin:16px 0 0;color:var(--tv-muted);font-size:.86rem; }
body.logged-in.woocommerce-account .tv-b2b-proforma-order-state { margin:0 0 28px;padding:18px;border:1px solid var(--tv-line);border-radius:8px;background:var(--tv-paper); }
body.logged-in.woocommerce-account .tv-b2b-proforma-order-state dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.logged-in.woocommerce-account .tv-b2b-pagination { justify-content:flex-end;margin-top:20px; }

body.woocommerce-account form,
body.woocommerce-account .woocommerce-address-fields { max-width:760px; }
body.woocommerce-account label { display:block;margin-bottom:6px;color:var(--tv-ink);font-size:.9rem;font-weight:500!important; }
body.woocommerce-account input.input-text,
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account input[type="text"],
body.woocommerce-account select,
body.woocommerce-account textarea { width:100%;min-height:44px;border:1px solid var(--tv-line)!important;border-radius:8px!important;background:var(--tv-paper)!important;padding:9px 11px!important;color:var(--tv-ink)!important;font:inherit!important; }
body.woocommerce-account textarea { min-height:160px;resize:vertical; }
body.woocommerce-account button.button,
body.woocommerce-account input[type="submit"] { border:1px solid var(--tv-ink)!important;border-radius:8px!important;background:var(--tv-ink)!important;padding:8px 16px!important;color:#fff!important;font:inherit!important;font-weight:500!important;cursor:pointer; }
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message { margin:0 0 24px!important;padding:16px!important;border:1px solid var(--tv-line)!important;border-radius:8px!important;background:var(--tv-paper)!important;color:var(--tv-ink)!important; }
body.woocommerce-account .woocommerce-error { border-left:3px solid var(--tv-danger)!important; }
/* WooCommerce core paints its notice icon as an absolutely-positioned glyph and expects
   ~3.5em left padding; our 16px padding override made the glyph sit ON the first word
   ("No order...", "Invalid order."). The design system does not use the glyph. */
body.woocommerce-account .woocommerce-error::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-message::before { display:none!important;content:none!important; }
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message { display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap; }
/* Account buttons (View / Browse products) were theme-default lavender-grey. */
body.woocommerce-account .woocommerce-MyAccount-content a.button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.button {
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;
  padding:0 16px;border:1px solid var(--tv-navy)!important;border-radius:8px;
  background:#fff!important;color:var(--tv-navy)!important;font-size:.84rem;font-weight:650;
  text-decoration:none;transition:background .15s ease,color .15s ease;
}
body.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.button:hover {
  background:var(--tv-navy)!important;color:#fff!important;
}
/* The core view-order prose ("Order #x was placed on ... and is currently ...") duplicates
   our order-summary header; the meta line lives there instead. */
body.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type { display:none!important; }
/* Address cards: same height, breathing room. */
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address { height:100%; }
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address address {
  min-height:150px;line-height:1.75;
}

body.logged-in.woocommerce-account .tv-b2b-bulk-order,
body.logged-in.woocommerce-account .tv-b2b-bulk-result { margin:0 0 28px;padding:0;border:0;background:transparent; }
body.logged-in.woocommerce-account .tv-b2b-bulk-order__grid { display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:24px; }
body.logged-in.woocommerce-account .tv-b2b-bulk-order__csv { padding:16px;border:1px dashed var(--tv-line);border-radius:8px;background:var(--tv-paper); }
body.logged-in.woocommerce-account .tv-b2b-bulk-order__actions { display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px; }
body.logged-in.woocommerce-account .tv-b2b-bulk-result table,
body.logged-in.woocommerce-account .tv-b2b-downloads-docs__table,
body.logged-in.woocommerce-account .woocommerce-orders-table,
body.logged-in.woocommerce-account .shop_table { width:100%;border-collapse:collapse; }
body.logged-in.woocommerce-account th { padding:10px 8px;border-bottom:1px solid var(--tv-ink);color:var(--tv-muted);font-size:.75rem;font-weight:500;text-align:left; }
body.logged-in.woocommerce-account td { padding:12px 8px;border-bottom:1px solid var(--tv-line);vertical-align:top; }

body.woocommerce-account .tv-b2b-file-hidden { position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important; }
body.woocommerce-account .tv-b2b-file-control { display:flex;flex-wrap:wrap;align-items:center;gap:10px; }
body.woocommerce-account .tv-b2b-file-control__button { min-height:44px;border:1px solid var(--tv-ink);border-radius:8px;background:var(--tv-paper);padding:8px 12px;color:var(--tv-ink);font:inherit;cursor:pointer; }
body.woocommerce-account .tv-b2b-file-control__name { color:var(--tv-muted);font-size:.84rem; }

.tv-b2b-catalog-search__results { background:#ffffff;border:1px solid #dfe7ec;border-radius:8px;box-shadow:0 16px 36px rgba(24,54,72,.09); }
.tv-b2b-catalog-search__results ul { margin:0;padding:6px;list-style:none; }
.tv-b2b-catalog-search__results li { margin:0; }
.tv-b2b-catalog-search__results a { display:block;padding:10px 12px;border-radius:6px;color:#0b1f33;text-decoration:none; }
.tv-b2b-catalog-search__results a:hover, .tv-b2b-catalog-search__results a:focus { background:#f5f8fa; }
.tv-b2b-catalog-search__results a strong { display:block;font-weight:500;line-height:1.35; }
.tv-b2b-catalog-search__results a span, .tv-b2b-catalog-search__results a small { display:block;margin-top:2px;color:#5a6472;font-size:.8rem;line-height:1.4; }
.tv-b2b-catalog-search__results li a { display:flex;flex-direction:column;gap:2px;border-radius:6px;padding:8px 10px;color:#0b1f33;text-decoration:none; }
.tv-b2b-catalog-search__results li a:hover,
.tv-b2b-catalog-search__results li a:focus-visible { background:#f5f8fa; }
.tv-b2b-catalog-search__results li a strong { font-weight:500; }
.tv-b2b-catalog-search__results li a span { color:#5f6b7c;font-size:.82rem; }
.tv-b2b-price-prompt { display:inline-flex;align-items:center;border-radius:999px;background:#f5f8fa;color:#5f6b7c;padding:4px 12px;font-size:.82rem;font-weight:500; }
.tv-b2b-price-prompt a { color:#0c7f73;text-decoration:none; }
.tv-b2b-price-prompt a:hover,
.tv-b2b-price-prompt a:focus-visible { text-decoration:underline; }

@media (max-width:900px) {
  body.logged-in.woocommerce-account .woocommerce { grid-template-columns:1fr;gap:20px;width:min(100% - 24px,760px); }
  body.logged-in.woocommerce-account .tv-b2b-account-hero,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content { grid-column:1; }
  body.logged-in.woocommerce-account .tv-b2b-account-hero__inner { align-items:start;padding-top:24px!important; }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation { position:static; }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--tv-line); }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { margin:0!important;border:0;border-bottom:1px solid var(--tv-line); }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li:nth-child(odd) { border-right:1px solid var(--tv-line); }
  body.logged-in.woocommerce-account .tv-b2b-header-search-wrap { min-width:0;flex:1; }
  body.logged-in.woocommerce-account .tv-b2b-proforma-row { grid-template-columns:1fr;gap:12px; }
  body.logged-in.woocommerce-account .tv-b2b-proforma-row dl { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.logged-in.woocommerce-account .tv-b2b-bulk-order__grid { grid-template-columns:1fr; }
}

@media (max-width:640px) {
  body.logged-in.woocommerce-account .tv-b2b-account-hero__inner,
  body.logged-in.woocommerce-account .tv-b2b-top-header-bar,
  body.logged-in.woocommerce-account .tv-b2b-workspace-intro,
  body.logged-in.woocommerce-account .tv-b2b-section-heading,
  body.logged-in.woocommerce-account .tv-b2b-data-guidance,
  body.logged-in.woocommerce-account .tv-b2b-proforma-detail header { align-items:stretch;flex-direction:column; }
  body.logged-in.woocommerce-account .tv-b2b-status-card { min-width:0;padding:12px 0 0;border-left:0!important;border-top:1px solid var(--tv-line)!important; }
  body.logged-in.woocommerce-account .tv-b2b-top-header-right { width:100%; }
  body.logged-in.woocommerce-account .tv-b2b-header-user { display:none; }
  body.logged-in.woocommerce-account .tv-b2b-workspace-actions .tv-b2b-action,
  body.logged-in.woocommerce-account .tv-b2b-proforma-detail header .tv-b2b-action { flex:1; }
  body.logged-in.woocommerce-account .tv-b2b-proforma-row dl,
  body.logged-in.woocommerce-account .tv-b2b-proforma-facts { grid-template-columns:1fr;gap:12px; }
  body.logged-in.woocommerce-account .tv-b2b-history-row { align-items:flex-start;flex-direction:column; }
  body.logged-in.woocommerce-account .tv-b2b-noti-panel { position:fixed;top:88px;right:12px;left:12px;width:auto; }
  body.logged-in.woocommerce-account .table-responsive thead,
  body.logged-in.woocommerce-account .woocommerce-orders-table thead { display:none; }
  body.logged-in.woocommerce-account .table-responsive table,
  body.logged-in.woocommerce-account .table-responsive tbody,
  body.logged-in.woocommerce-account .table-responsive tr,
  body.logged-in.woocommerce-account .table-responsive td,
  body.logged-in.woocommerce-account .woocommerce-orders-table,
  body.logged-in.woocommerce-account .woocommerce-orders-table tbody,
  body.logged-in.woocommerce-account .woocommerce-orders-table tr,
  body.logged-in.woocommerce-account .woocommerce-orders-table td { display:block;width:100%; }
  body.logged-in.woocommerce-account .table-responsive tr,
  body.logged-in.woocommerce-account .woocommerce-orders-table tr { padding:12px 0;border-bottom:1px solid var(--tv-line); }
  body.logged-in.woocommerce-account .table-responsive td,
  body.logged-in.woocommerce-account .woocommerce-orders-table td { padding:6px 0;border:0; }
}

@media (max-width:420px) {
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns:1fr; }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li:nth-child(odd) { border-right:0; }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-account *,
  body.woocommerce-account *::before,
  body.woocommerce-account *::after { scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important; }
}

/* Partner Workbench: approved Project-led app shell. */
body.logged-in.woocommerce-account header#lc-header,
body.logged-in.woocommerce-account footer#lc-footer { display:none!important; }
body.logged-in.woocommerce-account {
  background:#f4f7f8!important;
}
body.logged-in.woocommerce-account .woocommerce {
  display:grid;
  grid-template-columns:232px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  width:100%!important;
  max-width:none!important;
  min-height:100dvh;
  margin:0!important;
  padding:0!important;
  background:#f4f7f8;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail {
  display:flex;
  grid-column:1;
  grid-row:1;
  flex-direction:column;
  align-self:stretch;
  min-height:100dvh;
  padding:34px 22px 24px;
  background:#071d24;
  color:#b7cbcc;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  margin:0 10px 35px;
  color:#fff!important;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__brand strong {
  color:#fff;
  font-size:1.16rem;
  font-weight:780;
  letter-spacing:-.01em;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__mark {
  position:relative;
  width:31px;
  height:31px;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__mark::before,
body.logged-in.woocommerce-account .tv-b2b-portal-rail__mark::after {
  content:"";
  position:absolute;
  width:19px;
  height:19px;
  border:3px solid #13b8a6;
  border-radius:50%;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__mark::before { top:1px;left:0; }
body.logged-in.woocommerce-account .tv-b2b-portal-rail__mark::after { right:0;bottom:1px; }
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
  position:static;
  top:auto;
  width:100%!important;
  min-height:0;
  padding:0;
  background:transparent;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul,
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .list-group {
  display:grid;
  gap:6px;
  margin:0!important;
  padding:0!important;
  border:0;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin:0!important;
  border:0!important;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a {
  gap:11px;
  min-height:46px!important;
  padding:10px 13px!important;
  border-radius:10px;
  color:#a9c0c2!important;
  font-size:.94rem;
  font-weight:560!important;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a::before {
  content:"";
  flex:0 0 9px;
  width:9px;
  height:9px;
  border:1px solid currentColor;
  border-radius:3px;
  opacity:.68;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"],
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"]::before,
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
  border-color:#13b8a6;
  background:#13b8a6;
  opacity:1;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__account {
  margin-top:auto;
  padding:20px 10px 0;
  border-top:1px solid rgba(255,255,255,.11);
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__account a {
  display:block;
  color:inherit!important;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__account strong,
body.logged-in.woocommerce-account .tv-b2b-portal-rail__account span {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__account strong {
  color:#eff6f6;
  font-size:.88rem;
  font-weight:680;
}
body.logged-in.woocommerce-account .tv-b2b-portal-rail__account span {
  margin-top:3px;
  color:#819da0;
  font-size:.77rem;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
  grid-column:2;
  grid-row:1;
  width:100%!important;
  max-width:1320px;
  min-width:0;
  padding:42px clamp(34px,5vw,72px) 74px;
}
body.logged-in.woocommerce-account .tv-b2b-top-header-bar {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  margin:0 0 28px;
  padding:0;
  border:0;
}
body.logged-in.woocommerce-account .tv-b2b-top-header-bar.has-project-action {
  grid-template-columns:minmax(0,1fr) auto auto;
}
body.logged-in.woocommerce-account .tv-b2b-project-start {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  border:1px solid #17333c;
  border-radius:9px;
  background:#17333c;
  padding:9px 16px;
  color:#fff!important;
  font-size:.82rem;
  font-weight:760;
  line-height:1.2;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-top-header-brand { display:none; }
body.logged-in.woocommerce-account .tv-b2b-top-header-copy { min-width:0; }
body.logged-in.woocommerce-account .tv-b2b-top-header-copy h1 {
  margin:0!important;
  color:#17333c!important;
  font-size:clamp(1.9rem,3vw,2.55rem)!important;
  font-weight:720!important;
  letter-spacing:-.03em;
}
body.logged-in.woocommerce-account .tv-b2b-top-header-copy p {
  max-width:72ch;
  margin:7px 0 0;
  color:#6c7e84;
  font-size:.98rem;
  line-height:1.55;
}
body.logged-in.woocommerce-account .tv-b2b-order-breadcrumb {
  display:flex;
  align-items:center;
  gap:9px;
  color:#87969b;
  font-size:.8rem;
  font-weight:650;
}
body.logged-in.woocommerce-account .tv-b2b-order-breadcrumb a {
  color:#63767d!important;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-order-breadcrumb strong {
  color:#17333c;
  font-weight:760;
}
body.logged-in.woocommerce-account .tv-b2b-header-user {
  display:grid;
  place-items:center;
  width:44px;
  max-width:none;
  height:44px;
  border:1px solid #cfdadd;
  border-radius:50%;
  background:#fff;
  color:#17343c!important;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-user-avatar {
  display:grid;
  place-items:center;
  width:auto;
  height:auto;
  border:0;
  background:transparent;
  font-size:.82rem;
  font-weight:780;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(270px,36%);
  overflow:hidden;
  min-height:258px;
  border-radius:18px;
  background:linear-gradient(145deg,#0b2439,#0f5155);
  color:#fff;
  box-shadow:0 22px 48px rgba(10,43,52,.18);
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current--no-visual {
  grid-template-columns:minmax(0,760px);
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  padding:31px clamp(30px,4vw,46px);
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__kicker {
  display:flex;
  align-items:center;
  gap:10px;
  color:#8ddbd2;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__kicker::before {
  content:"";
  width:30px;
  height:2px;
  background:#13b8a6;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current h2 {
  max-width:22ch;
  margin:13px 0 6px!important;
  color:#fff!important;
  font-size:clamp(1.75rem,3.1vw,2.45rem)!important;
  font-weight:710!important;
  line-height:1.08;
  letter-spacing:-.035em;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__meta {
  display:flex;
  flex-wrap:wrap;
  gap:7px 16px;
  color:#9db2b6;
  font-size:.83rem;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__meta span+span {
  position:relative;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__meta span+span::before {
  content:"";
  position:absolute;
  top:50%;
  left:-9px;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#718c90;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__specs {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 0;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__specs span {
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:8px;
  color:#d8e6e7;
  font-size:.8rem;
  line-height:1.25;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current p {
  max-width:64ch;
  margin:16px 0 17px;
  color:#ccdcde;
  font-size:.94rem;
  line-height:1.55;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current .tv-b2b-action--primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 17px;
  border:1px solid #13b8a6;
  border-radius:9px;
  background:#13b8a6;
  color:#082d31!important;
  font-size:.88rem;
  font-weight:780;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__visual {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
  align-items:center;
  padding:24px 22px;
  background:
    radial-gradient(circle at 72% 16%,rgba(19,184,166,.28),transparent 46%),
    rgba(255,255,255,.025);
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__visual figure {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:180px;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  border-radius:13px;
  background:rgba(255,255,255,.08);
}
body.logged-in.woocommerce-account .tv-b2b-workbench-current__visual img {
  width:100%;
  height:180px;
  padding:10px;
  object-fit:contain;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-card {
  min-width:0;
  min-height:190px;
  padding:24px;
  border:1px solid #dbe4e6;
  border-radius:14px;
  background:#fff;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-card>header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 10px;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-card h3 {
  margin:0!important;
  color:#19353d!important;
  font-size:1rem!important;
  font-weight:720!important;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-card>header>a {
  color:#0c7f73!important;
  font-size:.8rem;
  font-weight:700;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-list {
  border-top:1px solid #e5ecee;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  min-height:66px;
  padding:12px 0;
  border-bottom:1px solid #e5ecee;
  color:inherit!important;
  text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-row:last-child { border-bottom:0; }
body.logged-in.woocommerce-account .tv-b2b-workbench-row>span,
body.logged-in.woocommerce-account .tv-b2b-workbench-row>a:first-child { min-width:0; }
body.logged-in.woocommerce-account .tv-b2b-workbench-row strong,
body.logged-in.woocommerce-account .tv-b2b-workbench-row small {
  display:block;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-row strong {
  overflow:hidden;
  color:#223c44;
  font-size:.88rem;
  font-weight:680;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-row small {
  margin-top:3px;
  color:#77878c;
  font-size:.76rem;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-row em,
body.logged-in.woocommerce-account .tv-b2b-workbench-row__document {
  padding:5px 8px;
  border-radius:999px;
  background:#e7f5f2;
  color:#0b756c!important;
  font-size:.72rem;
  font-style:normal;
  font-weight:740;
  line-height:1.3;
  text-decoration:none;
  white-space:nowrap;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-row__document.is-neutral {
  background:#eef2f4;
  color:#5f7076!important;
}
body.logged-in.woocommerce-account .tv-b2b-workbench-card__empty {
  margin:18px 0 0;
  color:#728287;
  font-size:.87rem;
}

@media (max-width:900px) {
  body.logged-in.woocommerce-account .woocommerce {
    display:block;
    width:100%!important;
    padding:0 0 calc(76px + env(safe-area-inset-bottom))!important;
  }
  body.logged-in.woocommerce-account .tv-b2b-portal-rail {
    position:fixed;
    z-index:100;
    right:0;
    bottom:0;
    left:0;
    display:block;
    width:100%;
    min-height:0;
    padding:0 8px env(safe-area-inset-bottom);
    border-top:1px solid #d4dfe1;
    background:rgba(255,255,255,.97);
    box-shadow:0 -10px 30px rgba(19,47,56,.08);
  }
  body.logged-in.woocommerce-account .tv-b2b-portal-rail__brand,
  body.logged-in.woocommerce-account .tv-b2b-portal-rail__account { display:none; }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .list-group {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li { min-width:0; }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a {
    flex-direction:column;
    justify-content:center;
    gap:5px;
    min-height:66px!important;
    padding:8px 3px!important;
    border-radius:0;
    color:#718086!important;
    font-size:.73rem;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    width:10px;
    height:10px;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"],
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background:transparent!important;
    color:#0b756c!important;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    width:100%!important;
    max-width:none;
    padding:18px 14px 34px;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-bar {
    grid-template-columns:minmax(0,1fr) auto;
    gap:14px;
    margin-bottom:17px;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-bar.has-project-action {
    grid-template-columns:minmax(0,1fr) auto;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-bar.has-project-action .tv-b2b-project-start {
    grid-column:1/-1;
    grid-row:3;
    width:100%;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-brand {
    display:flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    color:#17343c!important;
    text-decoration:none;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-brand>span {
    width:22px;
    height:22px;
    border-radius:7px 7px 11px 7px;
    background:#13b8a6;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-brand strong {
    font-size:1.02rem;
    font-weight:800;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-copy {
    grid-column:1/-1;
    grid-row:2;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-copy h1 {
    font-size:1.75rem!important;
  }
  body.logged-in.woocommerce-account .tv-b2b-top-header-copy p {
    margin-top:5px;
    font-size:.86rem;
  }
  body.logged-in.woocommerce-account .tv-b2b-header-user {
    grid-column:2;
    grid-row:1;
    width:40px;
    height:40px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current {
    display:flex;
    min-height:0;
    flex-direction:column;
    border-radius:15px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current__visual {
    order:-1;
    min-height:132px;
    padding:10px 12px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current__visual figure {
    min-height:112px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current__visual img {
    height:112px;
    padding:6px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current__copy {
    padding:19px 22px 21px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current h2 {
    max-width:none;
    margin-top:9px!important;
    font-size:1.5rem!important;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current__specs {
    margin-top:12px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current__specs span {
    padding:6px 8px;
    font-size:.75rem;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current p {
    margin:13px 0 14px;
    font-size:.82rem;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-current .tv-b2b-action--primary {
    width:100%;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-grid {
    grid-template-columns:1fr;
    gap:14px;
    margin-top:14px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-projects { order:2; }
  body.logged-in.woocommerce-account .tv-b2b-workbench-card {
    min-height:0;
    padding:18px;
    border-radius:12px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-row {
    min-height:63px;
    gap:10px;
  }
  body.logged-in.woocommerce-account .tv-b2b-workbench-row strong {
    font-size:.84rem;
  }
  body.logged-in.woocommerce-account .lia-launch {
    bottom:calc(82px + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   Account-area skin (0.6.7) — auth hero, Woo login/register,
   addresses, orders tables, catalog search in ALL auth states.
   DS v1 contrast roles: navy #0b1f33, teal fills #13b8a6 with
   navy labels, teal-text #0c7f73 on light, ondark teal #8ee5d9.
   ============================================================ */
body.woocommerce-account {
  --tv-ink:#172636; --tv-navy:#0b1f33; --tv-teal:#13b8a6; --tv-teal-text:#0c7f73;
  --tv-muted:#5f6b7c; --tv-line:#dfe7ec; --tv-soft:#f5f8fa; --tv-paper:#fff;
  --tv-grad-deep:linear-gradient(145deg,#0b2439,#0f5155);
  --tv-shadow-btn:0 10px 24px rgba(19,184,166,.24);
  --tv-shadow-panel:0 30px 70px rgba(21,53,77,.14);
}
/* --- auth hero (logged-out) --- */
body.woocommerce-account .tv-b2b-auth-hero {
  background:var(--tv-grad-deep); border-radius:0 0 18px 18px;
  padding:clamp(48px,7vw,84px) clamp(20px,5vw,64px);
  margin:0 0 36px;
}
body.woocommerce-account .tv-b2b-auth-hero__inner { max-width:760px; }
body.woocommerce-account .tv-b2b-auth-hero .tv-b2b-portal-eyebrow {
  display:inline-flex; align-items:center; gap:9px;
  text-transform:uppercase; letter-spacing:.16em; font-weight:800; font-size:12px;
  color:#8ee5d9!important; margin:0 0 14px;
}
body.woocommerce-account .tv-b2b-auth-hero h1 {
  color:#fff!important; font-size:clamp(30px,4.4vw,46px)!important; line-height:1.12;
  letter-spacing:-.015em; margin:0 0 14px;
}
body.woocommerce-account .tv-b2b-auth-hero p { color:#c8d6df!important; font-size:17px; line-height:1.6; max-width:56ch; margin:0 0 24px; }
body.woocommerce-account .tv-b2b-auth-hero__actions { display:flex; flex-wrap:wrap; gap:12px; }
body.woocommerce-account .tv-b2b-portal-button {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:46px; padding:10px 22px; border-radius:8px;
  font-weight:700; font-size:15px; text-decoration:none;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
body.woocommerce-account .tv-b2b-portal-button--primary { background:var(--tv-teal); color:var(--tv-navy); box-shadow:var(--tv-shadow-btn); }
body.woocommerce-account .tv-b2b-portal-button--primary:hover { background:#0fa996; transform:translateY(-1px); }
body.woocommerce-account .tv-b2b-portal-button--secondary { border:1px solid rgba(255,255,255,.45); color:#fff; }
body.woocommerce-account .tv-b2b-portal-button--secondary:hover { border-color:#8ee5d9; color:#8ee5d9; }
/* --- Woo login / register two-up cards --- */
body.woocommerce-account .woocommerce { max-width:1180px; margin:0 auto; padding:0 20px 72px; }
body.woocommerce-account #customer_login { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:860px){ body.woocommerce-account #customer_login { grid-template-columns:1fr; } }
body.woocommerce-account #customer_login > div { float:none; width:auto; }
body.woocommerce-account #customer_login h2 {
  font-size:14px!important; font-weight:800!important; letter-spacing:.12em; text-transform:uppercase;
  color:var(--tv-teal-text)!important; margin:0 0 14px;
}
body.woocommerce-account form.woocommerce-form-login,
body.woocommerce-account form.woocommerce-form-register,
body.woocommerce-account form.woocommerce-ResetPassword {
  border:1px solid var(--tv-line); border-radius:14px; background:var(--tv-paper);
  box-shadow:var(--tv-shadow-panel); padding:clamp(22px,3vw,34px); margin:0;
}
body.woocommerce-account .woocommerce-form-row label,
body.woocommerce-account .form-row label { font-weight:600; color:var(--tv-navy); font-size:14.5px; margin-bottom:6px; display:block; }
body.woocommerce-account .form-row .required { color:#c01f1f; text-decoration:none; }
body.woocommerce-account .woocommerce-Input--text,
body.woocommerce-account .woocommerce-Input--password,
body.woocommerce-account .woocommerce-Input--email,
body.woocommerce-account .woocommerce form .form-row input.input-text {
  width:100%; min-height:46px; border:1px solid var(--tv-line); border-radius:8px;
  background:var(--tv-paper); padding:10px 14px; font:inherit; color:var(--tv-ink);
  transition:border-color .18s ease;
}
body.woocommerce-account .woocommerce form .form-row input.input-text:focus { outline:2px solid var(--tv-navy); outline-offset:1px; border-color:var(--tv-teal); }
body.woocommerce-account button.woocommerce-button,
body.woocommerce-account button.woocommerce-Button,
body.woocommerce-account .woocommerce button.button {
  min-height:46px; padding:10px 24px; border:none; border-radius:8px;
  background:var(--tv-teal); color:var(--tv-navy); font-weight:700; font-size:15px;
  cursor:pointer; box-shadow:var(--tv-shadow-btn); transition:background .2s ease, transform .2s ease;
}
body.woocommerce-account .woocommerce button.button:hover { background:#0fa996; transform:translateY(-1px); }
body.woocommerce-account .woocommerce-form-login__rememberme { display:inline-flex; align-items:center; gap:8px; color:var(--tv-muted); margin:0 0 14px; }
body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account .woocommerce-privacy-policy-text a { color:var(--tv-teal-text); font-weight:600; }
/* --- addresses as cards --- */
body.woocommerce-account .woocommerce-Addresses { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:18px; }
@media (max-width:860px){ body.woocommerce-account .woocommerce-Addresses { grid-template-columns:1fr; } }
body.woocommerce-account .woocommerce-Address { float:none; width:auto; border:1px solid var(--tv-line); border-radius:14px; background:var(--tv-paper); padding:22px 24px; }
body.woocommerce-account .woocommerce-Address-title { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--tv-soft); padding-bottom:10px; margin-bottom:12px; }
body.woocommerce-account .woocommerce-Address-title h3 { font-size:15px; font-weight:700; color:var(--tv-navy); margin:0; }
body.woocommerce-account .woocommerce-Address-title .edit {
  font-size:13px; font-weight:700; color:var(--tv-navy);
  background:var(--tv-teal); border-radius:999px; padding:6px 14px; text-decoration:none;
}
body.woocommerce-account .woocommerce-Address-title .edit:hover { background:#0fa996; }
body.woocommerce-account .woocommerce-Address address { font-style:normal; color:var(--tv-ink); line-height:1.65; }
body.woocommerce-account .woocommerce-Address address:empty::before,
body.woocommerce-account .woocommerce i,
body.woocommerce-account .woocommerce-Address em { color:var(--tv-muted); }
/* --- generic Woo tables (orders, downloads) --- */
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account .woocommerce table.shop_table {
  width:100%; border-collapse:collapse; border:1px solid var(--tv-line); border-radius:12px; overflow:hidden;
}
body.woocommerce-account .woocommerce table.shop_table th {
  text-align:left; font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:var(--tv-teal-text); background:var(--tv-soft); padding:12px 16px; border-bottom:1px solid var(--tv-line);
}
body.woocommerce-account .woocommerce table.shop_table td { padding:12px 16px; border-bottom:1px solid var(--tv-soft); color:var(--tv-ink); }
/* --- catalog search in every auth state --- */
body.woocommerce-account .tv-b2b-catalog-search { position:relative; display:flex; gap:10px; align-items:center; max-width:560px; }
body.woocommerce-account .tv-b2b-catalog-search input {
  flex:1 1 auto; min-height:46px; border:1px solid var(--tv-line); border-radius:8px;
  background:var(--tv-paper); padding:10px 14px; color:var(--tv-ink); font:inherit;
}
body.woocommerce-account .tv-b2b-catalog-search button[type="submit"] {
  min-height:46px; padding:10px 20px; border:none; border-radius:8px;
  background:var(--tv-teal); color:var(--tv-navy); font-weight:700; font-size:14.5px;
  cursor:pointer; box-shadow:var(--tv-shadow-btn); transition:background .2s ease;
}
body.woocommerce-account .tv-b2b-catalog-search button[type="submit"]:hover { background:#0fa996; }
body.woocommerce-account .tv-b2b-catalog-search__results { position:absolute; z-index:40; top:calc(100% + 6px); right:0; left:0; }

/* ============================================================
   Auth split-screen (0.7.0) — Stripe/Linear-class two-pane:
   brand story left, focused form right; single column < 900px
   with the form first. Applies only when the toggle script has
   confirmed both forms exist (body.tv-b2b-auth-split).
   ============================================================ */
body.tv-b2b-auth-split.woocommerce-account .woocommerce {
  display:block; position:relative;
  max-width:none; padding:0 0 64px;
  min-height:calc(100vh - 120px);
}
body.tv-b2b-auth-split.woocommerce-account .tv-b2b-auth-hero {
  position:absolute; top:0; bottom:0; left:0;
  width:max(44%, 380px);
  overflow:hidden; border-radius:0; margin:0;
  display:flex; align-items:center;
  padding:clamp(48px,6vw,88px) clamp(28px,4.5vw,72px);
}
body.tv-b2b-auth-split.woocommerce-account .tv-b2b-auth-hero__inner { position:relative; z-index:1; }
body.tv-b2b-auth-split.woocommerce-account .tv-b2b-auth-hero h1 { font-size:clamp(28px,3.2vw,40px)!important; }
body.woocommerce-account .tv-b2b-auth-hero__points { list-style:none; margin:26px 0 30px; padding:0; display:flex; flex-direction:column; gap:12px; }
body.woocommerce-account .tv-b2b-auth-hero__points li {
  position:relative; padding-left:30px; color:#dce8ee!important; font-size:15.5px; line-height:1.5;
}
body.woocommerce-account .tv-b2b-auth-hero__points li::before {
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%;
  background:rgba(19,184,166,.18);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313b8a6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12.5l4.2 4L19 7'/%3E%3C/svg%3E");
  background-size:11px; background-repeat:no-repeat; background-position:center;
}
body.woocommerce-account .tv-b2b-auth-hero__mark {
  position:absolute; right:-70px; bottom:-70px; width:340px; height:340px;
  color:rgba(255,255,255,.05); pointer-events:none;
}
/* right pane: focused form column */
body.tv-b2b-auth-split.woocommerce-account .woocommerce-notices-wrapper { width:min(560px, 48%); margin:24px 0 0 calc(max(44%, 380px) + (100% - max(44%, 380px))/2 - min(560px, 48%)/2); }
body.tv-b2b-auth-split.woocommerce-account .tv-b2b-auth-tabs {
  display:flex; gap:6px; width:min(560px, 48%);
  margin:clamp(48px,9vh,96px) 0 22px calc(max(44%, 380px) + (100% - max(44%, 380px))/2 - min(560px, 48%)/2);
  padding:5px;
  background:var(--tv-soft); border:1px solid var(--tv-line); border-radius:10px;
}
body.woocommerce-account .tv-b2b-auth-tab {
  flex:1; min-height:42px!important; height:42px!important; padding:0 14px!important;
  border:none!important; border-radius:7px; background:transparent!important;
  color:var(--tv-muted)!important; font-weight:700; font-size:14.5px; cursor:pointer;
  transition:background .18s ease, color .18s ease;
  box-shadow:none!important; line-height:42px;
}
body.woocommerce-account .tv-b2b-auth-tab.is-active { background:var(--tv-paper)!important; color:var(--tv-navy)!important; box-shadow:0 4px 14px rgba(21,53,77,.10)!important; }
body.tv-b2b-auth-split.woocommerce-account #customer_login {
  display:block; width:min(560px, 48%);
  margin:0 0 0 calc(max(44%, 380px) + (100% - max(44%, 380px))/2 - min(560px, 48%)/2);
  padding:0 0 24px;
}
body.tv-b2b-auth-split.woocommerce-account #customer_login h2 { display:none!important; }
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-login,
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register {
  border:1px solid var(--tv-line); border-radius:16px;
  background:var(--tv-paper);
  box-shadow:0 18px 44px rgba(21,53,77,.08);
  padding:clamp(24px,3vw,36px);
}
/* register: two-column grid; long fields span, short pairs sit side by side */
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register {
  display:grid; grid-template-columns:1fr 1fr; column-gap:16px; row-gap:2px;
}
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register > * { grid-column:1 / -1; }
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_first_name),
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_company),
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#tv_vat_id),
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_postcode) { grid-column:1; }
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_last_name),
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_phone),
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_country),
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_city) { grid-column:2; }
body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register .woocommerce-privacy-policy-text p { font-size:13px; color:var(--tv-muted); line-height:1.55; }
@media (max-width:560px) {
  body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_company),
  body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_phone),
  body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#tv_vat_id),
  body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register p.form-row:has(#billing_country) { grid-column:1 / -1; }
  body.tv-b2b-auth-split.woocommerce-account form.woocommerce-form-register { column-gap:12px; }
}
@media (max-width:900px) {
  body.tv-b2b-auth-split.woocommerce-account .woocommerce { display:flex; flex-direction:column; min-height:0; }
  body.tv-b2b-auth-split.woocommerce-account .tv-b2b-auth-hero {
    position:relative; inset:auto; order:3; width:auto; box-sizing:border-box;
    border-radius:18px; margin:28px 20px 40px;
    padding:clamp(42px,10vw,64px) clamp(28px,8vw,44px);
  }
  body.tv-b2b-auth-split.woocommerce-account .tv-b2b-auth-tabs {
    order:1; width:auto; box-sizing:border-box; margin:28px 20px 22px;
  }
  body.tv-b2b-auth-split.woocommerce-account .woocommerce-notices-wrapper {
    order:0; width:auto; box-sizing:border-box; margin:20px 20px 0;
  }
  body.tv-b2b-auth-split.woocommerce-account #customer_login {
    order:2; width:auto; box-sizing:border-box; margin:0 20px;
  }
}
/* compact portal page header (logged-in) — less billboard, more app */
body.logged-in.woocommerce-account .tv-b2b-account-hero { padding-top:28px!important; padding-bottom:22px!important; }
body.logged-in.woocommerce-account .tv-b2b-account-hero h1 { font-size:clamp(1.5rem,3vw,2.1rem)!important; }

/* ============================================================
   Overview redesign (0.8.0) — SaaS dashboard hierarchy:
   compact head → KPI stat row → activity table → two-column
   (compact history | quick actions + contacts + guidance).
   ============================================================ */
body.logged-in.woocommerce-account .tv-b2b-ov-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:4px 0 18px; }
body.logged-in.woocommerce-account .tv-b2b-ov-head h2 { font-size:1.35rem!important; font-weight:650!important; letter-spacing:-.01em; margin:0; }
body.logged-in.woocommerce-account .tv-b2b-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:0 0 26px; }
@media (max-width:1080px){ body.logged-in.woocommerce-account .tv-b2b-kpis { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ body.logged-in.woocommerce-account .tv-b2b-kpis { grid-template-columns:1fr; } }
body.logged-in.woocommerce-account .tv-b2b-kpi {
  border:1px solid var(--tv-line); border-radius:12px; background:var(--tv-paper);
  padding:16px 18px; display:flex; flex-direction:column; gap:2px;
}
body.logged-in.woocommerce-account .tv-b2b-kpi span {
  font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--tv-accent-text);
}
body.logged-in.woocommerce-account .tv-b2b-kpi strong { font-size:1.65rem; font-weight:700; color:var(--tv-ink); line-height:1.2; }
body.logged-in.woocommerce-account .tv-b2b-kpi small { font-size:12px; color:var(--tv-muted); }
/* activity table */
body.logged-in.woocommerce-account .tv-b2b-table-wrap { overflow-x:auto; border:1px solid var(--tv-line); border-radius:12px; background:var(--tv-paper); }
body.logged-in.woocommerce-account .tv-b2b-ov-table { width:100%; border-collapse:collapse; font-size:14px; }
body.logged-in.woocommerce-account .tv-b2b-ov-table th {
  text-align:left; font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase;
  color:var(--tv-muted); background:var(--tv-soft); padding:11px 16px; border-bottom:1px solid var(--tv-line); white-space:nowrap;
}
body.logged-in.woocommerce-account .tv-b2b-ov-table td { padding:13px 16px; border-bottom:1px solid var(--tv-soft); vertical-align:middle; }
body.logged-in.woocommerce-account .tv-b2b-ov-table tbody tr:last-child td { border-bottom:none; }
body.logged-in.woocommerce-account .tv-b2b-ov-table tbody tr:hover td { background:#fafcfc; }
body.logged-in.woocommerce-account .tv-b2b-ov-table .tv-ref a { font-weight:700; color:var(--tv-ink); text-decoration:none; }
body.logged-in.woocommerce-account .tv-b2b-ov-table .tv-ref a:hover { color:var(--tv-accent-text); }
body.logged-in.woocommerce-account .tv-b2b-ov-table .tv-num { text-align:right; font-variant-numeric:tabular-nums; font-weight:650; }
body.logged-in.woocommerce-account .tv-b2b-ov-table .tv-act a { color:var(--tv-accent-text); font-weight:700; text-decoration:none; font-size:16px; }
body.logged-in.woocommerce-account .tv-b2b-status {
  display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:3px 11px;
  font-size:12px; font-weight:700; background:var(--tv-soft); color:var(--tv-ink);
}
body.logged-in.woocommerce-account .tv-b2b-status::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--tv-muted); }
body.logged-in.woocommerce-account .tv-b2b-status--ready { background:#e8f7f4; color:#0b6e63; }
body.logged-in.woocommerce-account .tv-b2b-status--ready::before { background:#13b8a6; }
body.logged-in.woocommerce-account .tv-b2b-status--in_discussion { background:#fff4e0; color:#7a4b12; }
body.logged-in.woocommerce-account .tv-b2b-status--in_discussion::before { background:#e8a33d; }
body.logged-in.woocommerce-account .tv-b2b-status--updated { background:#e9f0fb; color:#1d4fd7; }
body.logged-in.woocommerce-account .tv-b2b-status--updated::before { background:#2563eb; }
body.logged-in.woocommerce-account .tv-b2b-status--closed { background:var(--tv-soft); color:var(--tv-muted); }
/* two-column zone */
body.logged-in.woocommerce-account .tv-b2b-ov-cols { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:22px; align-items:start; margin-top:26px; }
@media (max-width:1080px){ body.logged-in.woocommerce-account .tv-b2b-ov-cols { grid-template-columns:1fr; } }
body.logged-in.woocommerce-account .tv-b2b-ov-side { display:flex; flex-direction:column; gap:16px; }
body.logged-in.woocommerce-account .tv-b2b-ov-card,
body.logged-in.woocommerce-account .tv-b2b-ov-side .tv-b2b-contact-panel,
body.logged-in.woocommerce-account .tv-b2b-ov-side .tv-b2b-data-guidance {
  border:1px solid var(--tv-line)!important; border-radius:12px!important; background:var(--tv-paper)!important;
  padding:18px 20px!important; margin:0!important; display:block!important;
}
body.logged-in.woocommerce-account .tv-b2b-ov-side h2 { font-size:12px!important; font-weight:800!important; letter-spacing:.1em; text-transform:uppercase; color:var(--tv-accent-text)!important; margin:0 0 12px!important; }
body.logged-in.woocommerce-account .tv-b2b-quick-actions nav { display:flex; flex-direction:column; }
body.logged-in.woocommerce-account .tv-b2b-quick-actions nav a {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 2px; border-bottom:1px solid var(--tv-soft);
  color:var(--tv-ink); font-weight:600; font-size:14px; text-decoration:none;
}
body.logged-in.woocommerce-account .tv-b2b-quick-actions nav a::after { content:"→"; color:var(--tv-accent-text); }
body.logged-in.woocommerce-account .tv-b2b-quick-actions nav a:last-child { border-bottom:none; }
body.logged-in.woocommerce-account .tv-b2b-quick-actions nav a:hover { color:var(--tv-accent-text); }
body.logged-in.woocommerce-account .tv-b2b-ov-side .tv-b2b-contact-panel p,
body.logged-in.woocommerce-account .tv-b2b-ov-side .tv-b2b-data-guidance p { font-size:13px; color:var(--tv-muted); margin:0 0 12px; }
/* compact history inside the two-column zone */
body.logged-in.woocommerce-account .tv-b2b-workspace-section--compact { margin:0!important; padding:0!important; border:none!important; }
body.logged-in.woocommerce-account .tv-b2b-workspace-section--compact .tv-b2b-history-list {
  border:1px solid var(--tv-line); border-radius:12px; background:var(--tv-paper); overflow:hidden;
}
body.logged-in.woocommerce-account .tv-b2b-workspace-section--compact .tv-b2b-history-row { padding:11px 16px; border-bottom:1px solid var(--tv-soft); margin:0; }
body.logged-in.woocommerce-account .tv-b2b-workspace-section--compact .tv-b2b-history-row:last-child { border-bottom:none; }

/* The portal's global link color must not repaint the site FOOTER on account
   pages - footer links take their colors by inheritance from the footer's own
   dark-surface palette (0.8.1). */
body.woocommerce-account #lc-footer a { color:inherit; }

/* My Projects */
.linker-project-portal { display:grid; gap:22px; }
.linker-project-card__ref { color:var(--tv-accent-text); font-size:10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.linker-project-portal__empty>a,
.linker-project-row__action a,
.linker-project-row__action button,
.linker-project-detail__primary a,
.linker-project-detail__primary button {
  display:inline-flex; min-height:44px; align-items:center; justify-content:center; border:1px solid var(--tv-ink);
  border-radius:9px; padding:9px 15px; background:var(--tv-ink); color:#fff!important; cursor:pointer;
  font:inherit; font-size:.82rem; font-weight:750; line-height:1.2; text-align:center; text-decoration:none;
}
.linker-project-portal__empty { padding:32px; border:1px solid var(--tv-line); border-radius:14px; background:var(--tv-paper); text-align:center; }
.linker-project-portal__empty strong { display:block; font-size:1.05rem; }
.linker-project-portal__empty p { max-width:520px; margin:7px auto 18px; color:var(--tv-muted); }
.linker-project-list { overflow:hidden; border:1px solid var(--tv-line); border-radius:14px; background:var(--tv-paper); }
.linker-project-row {
  display:grid; grid-template-columns:minmax(220px,1.35fr) minmax(180px,.8fr) auto auto; gap:18px;
  align-items:center; min-height:88px; padding:15px 17px; border-bottom:1px solid var(--tv-line);
}
.linker-project-row:last-child { border-bottom:0; }
.linker-project-row.is-current { background:#f3fbf9; }
.linker-project-row__identity { min-width:0; }
.linker-project-card__current { display:inline-flex; margin-left:7px; padding:2px 7px; border-radius:999px; background:#dff4ee; color:#096d62; font-size:9px; font-weight:800; }
.linker-project-row h3 { margin:3px 0 2px!important; overflow:hidden; font-size:1rem!important; font-weight:650!important; text-overflow:ellipsis; white-space:nowrap; }
.linker-project-row time,
.linker-project-row__scope span { display:block; color:var(--tv-muted); font-size:.72rem; }
.linker-project-row__scope { min-width:0; }
.linker-project-row__scope strong { display:block; overflow:hidden; font-size:.8rem; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.linker-project-row__state { display:inline-flex; align-items:center; gap:6px; border-radius:999px; background:#eef3f5; padding:6px 9px; color:#425a64; font-size:.69rem; font-weight:750; white-space:nowrap; }
.linker-project-row__state:before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.linker-project-row.is-current .linker-project-row__state { background:#e3f6f1; color:#08776c; }
.linker-project-row__action a,
.linker-project-row__action button { min-width:104px; border-color:var(--tv-line); background:#fff; color:var(--tv-ink)!important; }
.linker-project-detail { display:grid; gap:18px; scroll-margin-top:20px; border-top:1px solid var(--tv-line); padding-top:28px; }
.linker-project-detail__hero { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
.linker-project-detail__hero>div:first-child { min-width:0; }
.linker-project-detail__hero span { color:var(--tv-accent-text); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.linker-project-detail__hero h2 { margin:4px 0!important; font-size:clamp(1.55rem,3vw,2.2rem)!important; letter-spacing:-.025em; }
.linker-project-detail__hero p { margin:0; color:var(--tv-muted); font-size:.82rem; }
.linker-project-detail__primary { flex:0 0 auto; }
.linker-project-fact-panel { padding:0; border:1px solid var(--tv-line); border-radius:13px; background:var(--tv-paper); }
.linker-project-fact-panel>h3 { margin:0!important; padding:11px 14px; border-bottom:1px solid var(--tv-line); color:var(--tv-muted)!important; font-size:.72rem!important; letter-spacing:.08em; text-transform:uppercase; }
.linker-project-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:0; }
.linker-project-fact { min-width:0; padding:13px 14px; border-right:1px solid var(--tv-line); }
.linker-project-fact:last-child { border-right:0; }
.linker-project-facts dt { color:var(--tv-muted); font-size:9px; font-weight:750; letter-spacing:.07em; text-transform:uppercase; }
.linker-project-facts dd { display:flex; flex-wrap:wrap; align-items:center; gap:5px; margin:3px 0 0; font-size:.82rem; font-weight:650; }
.linker-project-fact__state {
  border-radius:999px; padding:2px 6px; font-size:9px; font-weight:800; text-transform:none;
}
.linker-project-fact__state.is-suggested { background:#fff4d6; color:#78530b; }
.linker-project-fact__state.is-known { background:#e8f7f1; color:#0b6e4f; }
.linker-project-fact button {
  min-height:32px!important; border:1px solid var(--tv-accent-text); border-radius:8px; padding:4px 8px;
  background:transparent; color:var(--tv-accent-text); cursor:pointer; font:inherit; font-size:10px; font-weight:750;
}
.linker-project-fact button:disabled { cursor:progress; opacity:.6; }
.linker-project-facts__more { border-top:1px solid var(--tv-line); }
.linker-project-facts__more>summary { min-height:44px; padding:10px 14px; color:var(--tv-accent-text); cursor:pointer; font-size:.78rem; font-weight:700; }
.linker-project-facts__more .linker-project-facts { border-top:1px solid var(--tv-line); }
.linker-project-solution-card { overflow:hidden; border:1px solid var(--tv-line); border-radius:14px; background:var(--tv-paper); }
.linker-project-solution-card>header { padding:16px 18px; border-bottom:1px solid var(--tv-line); }
.linker-project-solution-card>header span { color:var(--tv-accent-text); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.linker-project-solution-card>header h3 { margin:3px 0!important; font-size:1.05rem!important; font-weight:650!important; }
.linker-project-solution-card>header p,
.linker-project-solution-card__empty p { margin:0; color:var(--tv-muted); font-size:.78rem; }
.linker-project-solution-card__body { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(270px,.75fr); }
.linker-project-solution-card__products,
.linker-project-solution-card__scope { padding:18px; }
.linker-project-solution-card__scope { border-left:1px solid var(--tv-line); background:#fbfcfc; }
.linker-project-solution-card h4 { margin:0 0 10px!important; color:var(--tv-muted)!important; font-size:.68rem!important; letter-spacing:.08em; text-transform:uppercase; }
.linker-project-solution-card__products>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.linker-project-solution-product { display:grid; min-height:112px; align-content:end; padding:14px; border:1px solid var(--tv-line); border-radius:11px; background:#f7f9fa; }
.linker-project-solution-product>span { color:var(--tv-accent-text); font-size:.62rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.linker-project-solution-product>strong { margin:4px 0; font-size:.92rem; }
.linker-project-solution-product>small { display:flex; justify-content:space-between; gap:10px; color:var(--tv-muted); font-size:.68rem; }
.linker-project-solution-product>small b { color:var(--tv-ink); font-size:.78rem; font-variant-numeric:tabular-nums; }
.linker-project-solution-card__scope>div+div { margin-top:18px; }
.linker-project-solution-card__scope ul { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.linker-project-solution-card__scope li { position:relative; padding-left:13px; color:#3f555e; font-size:.73rem; }
.linker-project-solution-card__scope li:before { content:""; position:absolute; top:.55em; left:0; width:6px; height:6px; border-radius:50%; background:var(--tv-accent); }
.linker-project-solution-card__scope li strong,
.linker-project-solution-card__scope li span { display:block; }
.linker-project-solution-card__scope li span { color:var(--tv-muted); font-size:.68rem; }
.linker-project-solution-card>footer { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:13px 18px; border-top:1px solid var(--tv-line); background:#f8fafb; }
.linker-project-solution-card>footer span,
.linker-project-solution-card>footer small { display:block; color:var(--tv-muted); font-size:.7rem; }
.linker-project-solution-card>footer>strong { font-size:1.1rem; font-variant-numeric:tabular-nums; }
.linker-project-solution-card__empty { padding:24px 18px; }
.linker-project-records { overflow:hidden; border:1px solid var(--tv-line); border-radius:13px; background:var(--tv-paper); }
.linker-project-records>h3 { margin:0!important; padding:12px 15px; border-bottom:1px solid var(--tv-line); font-size:.84rem!important; font-weight:650!important; }
.linker-project-records>details+details { border-top:1px solid var(--tv-line); }
.linker-project-records>details>summary { min-height:48px; padding:12px 15px; color:var(--tv-ink); cursor:pointer; font-size:.78rem; font-weight:650; }
.linker-project-records .linker-project-detail__section,
.linker-project-records .linker-project-detail__orders { margin:0; padding:0 15px 14px; border:0; border-radius:0; background:transparent; }
.linker-project-records .linker-project-detail__section>h3,
.linker-project-records .linker-project-detail__orders>h3 { display:none; }
.linker-project-detail__section p,
.linker-project-detail__orders p { color:var(--tv-muted); line-height:1.55; }
.linker-project-versions,
.linker-project-materials,
.linker-project-detail__timeline ol { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.linker-project-versions li,
.linker-project-materials li,
.linker-project-detail__timeline li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid var(--tv-soft); }
.linker-project-versions time,
.linker-project-detail__timeline time { color:var(--tv-muted); font-size:11px; }
.linker-project-materials em,
.linker-project-versions .needs-review { color:#9b4d20; font-size:11px; font-style:normal; font-weight:750; }
.linker-project-detail__section .needs-review { color:#9b4d20; }
.linker-project-detail__section .is-complete { color:#0b6e4f; font-weight:750; }
.linker-project-detail__orders>div { display:grid; gap:0; }
.linker-project-detail__orders article { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--tv-line); }
.linker-project-detail__orders article:last-child { border-bottom:0; }
.linker-project-detail__orders article strong,
.linker-project-detail__orders article span { display:block; }
.linker-project-detail__orders article span { color:var(--tv-muted); font-size:.72rem; }
.linker-project-detail__timeline { margin-top:0; }
@media (max-width:980px) {
  .linker-project-row { grid-template-columns:minmax(0,1.25fr) minmax(150px,.75fr) auto; }
  .linker-project-row__action { grid-column:1/-1; }
  .linker-project-row__action a,
  .linker-project-row__action button { width:100%; }
  .linker-project-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .linker-project-fact:nth-child(2n) { border-right:0; }
  .linker-project-fact:nth-child(n+3) { border-top:1px solid var(--tv-line); }
  .linker-project-solution-card__body { grid-template-columns:1fr; }
  .linker-project-solution-card__scope { border-top:1px solid var(--tv-line); border-left:0; }
}
@media (max-width:620px) {
  .linker-project-row { grid-template-columns:minmax(0,1fr) auto; gap:10px 12px; padding:14px; }
  .linker-project-row h3 { overflow:visible; text-overflow:clip; white-space:normal; }
  .linker-project-row__scope { grid-column:1/-1; }
  .linker-project-row__state { grid-column:1; justify-self:start; }
  .linker-project-row__action { grid-column:2; grid-row:3; }
  .linker-project-row__action a,
  .linker-project-row__action button { width:auto; min-width:92px; }
  .linker-project-detail__hero { align-items:stretch; flex-direction:column; }
  .linker-project-detail__primary a,
  .linker-project-detail__primary button { width:100%; }
  .linker-project-facts { grid-template-columns:1fr; }
  .linker-project-fact { border-top:1px solid var(--tv-line); border-right:0; }
  .linker-project-fact:first-child { border-top:0; }
  .linker-project-solution-card__products>div { grid-template-columns:1fr; }
  .linker-project-solution-card>footer { align-items:flex-start; flex-direction:column; }
  .linker-project-detail__orders article { align-items:flex-start; flex-direction:column; }
}

/* Order detail: one real Order workspace, with Woo data and issued documents. */
body.logged-in.woocommerce-account .tv-b2b-order-workspace {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);
  gap:18px;
  align-items:start;
}
body.logged-in.woocommerce-account .tv-b2b-order-workspace>*,
body.logged-in.woocommerce-account .tv-b2b-order-summary>* { min-width:0; }
body.logged-in.woocommerce-account .tv-b2b-order-workspace>.tv-b2b-order-summary { display:contents; }
body.logged-in.woocommerce-account .tv-b2b-order-summary { display:grid;gap:16px;margin:0 0 28px; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__head { display:flex;align-items:flex-end;justify-content:space-between;gap:24px; }
body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__head { grid-column:1/-1;grid-row:1; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__head span { display:block;margin-bottom:5px;color:var(--tv-muted);font-size:.76rem;font-weight:650; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__head h2 { margin:0!important;color:var(--tv-navy);font-size:clamp(1.7rem,3vw,2.45rem)!important;letter-spacing:-.018em; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__head>strong { display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#fff7e8;padding:8px 12px;color:#8a5a16;font-size:.75rem;white-space:nowrap; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__head>strong:before { content:"";width:7px;height:7px;border-radius:999px;background:currentColor; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero { display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:15px;border:1px solid #d7e2e6;border-radius:14px;background:#fff;padding:19px 20px; }
body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__hero { grid-column:2;grid-row:3;grid-template-columns:42px minmax(0,1fr);align-items:start;min-height:100%; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-pending { border-color:#ecd8b7;background:#fffaf0; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-proforma { border-color:#c9e6e1;background:#f7fffd; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-invoice { border-color:#bedfce;background:#f3fbf6; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-adjustment { border-color:#d8d7e8;background:#f8f7fc; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__icon { display:grid;width:42px;height:42px;place-items:center;border-radius:11px;background:#e9f8f5;color:#087d73; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__icon:before {
  content:"";width:20px;height:20px;background:currentColor;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/contain no-repeat;
}
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-pending .tv-b2b-order-summary__icon { background:#fff0d5;color:#9b6419; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-pending .tv-b2b-order-summary__icon:before {
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 3"/></svg>');
  mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 3"/></svg>');
}
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-adjustment .tv-b2b-order-summary__icon { background:#eceaf7;color:#555080; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-adjustment .tv-b2b-order-summary__icon:before {
  -webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 4v5h5"/></svg>');
  mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 4v5h5"/></svg>');
}
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero.is-adjustment small { color:#555080; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero small { color:#087d73;font-size:.66rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero h3 { margin:3px 0 5px!important;color:var(--tv-navy);font-size:1.18rem!important;letter-spacing:-.008em; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__reference { display:block;margin:0 0 8px;color:#50676f;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:720;overflow-wrap:anywhere; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero p { max-width:740px;margin:0;color:var(--tv-muted);font-size:.84rem;line-height:1.55; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__hero>a,
body.logged-in.woocommerce-account .tv-b2b-order-summary__next>a { display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--tv-navy);border-radius:9px;background:var(--tv-navy);padding:0 15px;color:#fff!important;font-size:.78rem;font-weight:780;text-decoration:none;white-space:nowrap; }
body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__hero>a { grid-column:1/-1;width:100%;margin-top:4px; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__facts { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:1px solid var(--tv-line);border-radius:13px;background:var(--tv-paper);overflow:hidden; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__facts.has-project { grid-template-columns:repeat(4,minmax(0,1fr)); }
body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__facts { grid-column:1/-1;grid-row:2; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__facts>div { min-width:0;padding:15px 16px;border-right:1px solid var(--tv-soft); }
body.logged-in.woocommerce-account .tv-b2b-order-summary__facts>div:last-child { border-right:0; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__facts dt { color:var(--tv-muted);font-size:.68rem;font-weight:760;letter-spacing:.04em;text-transform:uppercase; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__facts dd { overflow:hidden;margin:5px 0 0;color:var(--tv-navy);font-size:.86rem;font-weight:720;text-overflow:ellipsis; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__facts a { color:var(--tv-accent-text)!important;text-decoration:none; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__next { display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--tv-line);border-radius:13px;background:#fff;padding:16px 18px; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__next div { display:grid;gap:3px; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__next strong { color:var(--tv-navy);font-size:.88rem; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__next span { color:var(--tv-muted);font-size:.78rem;line-height:1.5; }
body.logged-in.woocommerce-account .tv-b2b-order-summary__next>a { min-height:40px;background:#fff;color:var(--tv-navy)!important; }
body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__next { grid-column:2;grid-row:4;align-items:flex-start;flex-direction:column; }
body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__next>a { width:100%; }
body.logged-in.woocommerce-account .woocommerce-order-details {
  margin-top:28px;
  border:1px solid var(--tv-line);
  border-radius:14px;
  background:#fff;
  padding:18px 20px 20px;
  overflow:hidden;
}
body.logged-in.woocommerce-account .tv-b2b-order-workspace>.woocommerce-order-details {
  grid-column:1;
  grid-row:3/span 2;
  min-width:0;
  height:100%;
  margin:0;
}
body.logged-in.woocommerce-account .woocommerce-order-details__title,
body.logged-in.woocommerce-account .woocommerce-column__title { color:var(--tv-navy);font-size:1.15rem!important;letter-spacing:-.008em; }
body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table { margin:8px 0 0!important;border:0!important; }
body.logged-in.woocommerce-account .tv-b2b-order-workspace>.tv-b2b-order-documents {
  grid-column:1/-1;
  grid-row:5;
  margin:0;
  border-color:var(--tv-line);
  border-radius:14px;
  padding:18px 20px;
}
body.logged-in.woocommerce-account .tv-b2b-order-documents__actions a {
  min-height:40px;
  border:1px solid var(--tv-navy);
  border-radius:9px;
  padding:0 14px;
  background:#fff;
  color:var(--tv-navy)!important;
}
body.logged-in.woocommerce-account .tv-b2b-order-workspace>.woocommerce-customer-details {
  grid-column:1/-1;
  grid-row:6;
}
body.logged-in.woocommerce-account .woocommerce-customer-details address {
  border:1px solid var(--tv-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  padding:18px 20px!important;
}

@media (max-width:1120px) and (min-width:901px) {
  body.logged-in.woocommerce-account .tv-b2b-header-search-wrap { min-width:0;max-width:250px; }
  body.logged-in.woocommerce-account .tv-b2b-user-name { display:none; }
  body.logged-in.woocommerce-account .tv-b2b-header-user { flex:0 0 36px;max-width:36px; }
}
@media (max-width:980px) {
  body.logged-in.woocommerce-account .tv-b2b-order-workspace { grid-template-columns:1fr; }
  body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__head { grid-column:1;grid-row:1; }
  body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__hero { grid-column:1;grid-row:2; }
  body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__facts { grid-column:1;grid-row:3; }
  body.logged-in.woocommerce-account .tv-b2b-order-workspace>.woocommerce-order-details { grid-column:1;grid-row:4;height:auto; }
  body.logged-in.woocommerce-account .tv-b2b-order-workspace .tv-b2b-order-summary__next { grid-column:1;grid-row:5; }
  body.logged-in.woocommerce-account .tv-b2b-order-workspace>.tv-b2b-order-documents { grid-column:1;grid-row:6; }
  body.logged-in.woocommerce-account .tv-b2b-order-workspace>.woocommerce-customer-details { grid-column:1;grid-row:7; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__facts.has-project { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__facts>div:nth-child(2) { border-right:0; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__facts>div:nth-child(-n+2) { border-bottom:1px solid var(--tv-soft); }
}
@media (max-width:700px) {
  body.logged-in.woocommerce-account .tv-b2b-order-summary__head { align-items:flex-start;flex-direction:column;gap:10px; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__head>strong { margin:0; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__hero { grid-template-columns:38px minmax(0,1fr);padding:16px; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__hero>a { grid-column:1/-1;width:100%; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__facts { grid-template-columns:1fr; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__facts>div { border-right:0;border-bottom:1px solid var(--tv-soft); }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__facts>div:last-child { border-bottom:0; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__next { align-items:flex-start;flex-direction:column; }
  body.logged-in.woocommerce-account .tv-b2b-order-summary__next>a { width:100%; }
  body.logged-in.woocommerce-account .woocommerce-order-details .tv-b2b-order-timeline { display:none!important; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table thead { display:none; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table,
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tbody,
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tfoot { display:block;width:100%; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tbody tr { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px 0;border-bottom:1px solid var(--tv-soft); }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tbody td { display:block;width:auto;padding:0;border:0; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tbody .product-name { min-width:0;overflow-wrap:anywhere; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tbody .product-total { text-align:right;white-space:nowrap; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tfoot { margin-top:8px; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tfoot tr { display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,.9fr);border-bottom:1px solid var(--tv-soft); }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tfoot th,
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tfoot td { display:block;width:auto;padding:11px 8px;border:0;overflow-wrap:anywhere; }
  body.logged-in.woocommerce-account .woocommerce-order-details table.shop_table tfoot td { font-weight:720; }
}

@media (max-width:600px) {
  body.logged-in.woocommerce-account .tv-b2b-order-summary__next { padding-right:78px; }
}

/* Order status as a quiet badge, not bare prose (design audit WP12). */
body.logged-in.woocommerce-account .tv-b2b-status-badge {
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:2px 9px;
  border-radius:999px;
  background:#eef1f4;
  color:#5d6b7a;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.02em;
}
body.logged-in.woocommerce-account .tv-b2b-status-badge.is-completed,
body.logged-in.woocommerce-account .tv-b2b-status-badge.is-processing {
  background:#e0f5f1;
  color:#0c7f73;
}
body.logged-in.woocommerce-account .tv-b2b-status-badge.is-on-hold,
body.logged-in.woocommerce-account .tv-b2b-status-badge.is-pending {
  background:#fdf3e0;
  color:#8a5a14;
}
/* Let the account holder name wrap instead of mid-word ellipsis. */
body.logged-in.woocommerce-account .tv-b2b-portal-rail__account strong {
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.3;
}

/* ---- Workspace pipeline (owner ruling 2026-08-01: the Overview expresses one
   thing — where this customer stands between first brief and delivered system). */
body.logged-in.woocommerce-account .tv-b2b-flow {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
  padding:0;
  list-style:none;
}
body.logged-in.woocommerce-account .tv-b2b-flow__stage {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:14px 14px 16px;
  border:1px solid var(--tv-line);
  border-radius:12px;
  background:var(--tv-paper);
}
body.logged-in.woocommerce-account .tv-b2b-flow__stage.is-next { opacity:.62; }
body.logged-in.woocommerce-account .tv-b2b-flow__stage.is-active {
  border-color:#0f8f80;
  box-shadow:0 6px 22px rgba(15,143,128,.12);
  opacity:1;
}
body.logged-in.woocommerce-account .tv-b2b-flow__num {
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#eef1f4;
  color:#5d6b7a;
  font-size:.78rem;
  font-weight:800;
}
body.logged-in.woocommerce-account .tv-b2b-flow__stage.is-done .tv-b2b-flow__num {
  background:#e0f5f1;
  color:#0c7f73;
}
body.logged-in.woocommerce-account .tv-b2b-flow__stage.is-active .tv-b2b-flow__num {
  background:#0f8f80;
  color:#fff;
}
body.logged-in.woocommerce-account .tv-b2b-flow__stage strong {
  color:var(--tv-navy);
  font-size:.9rem;
  line-height:1.25;
}
body.logged-in.woocommerce-account .tv-b2b-flow__copy {
  color:var(--tv-muted);
  font-size:.76rem;
  line-height:1.5;
}
body.logged-in.woocommerce-account .tv-b2b-flow__action {
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  width:fit-content;
  min-height:32px;
  padding:0 12px;
  border:1px solid #0f8f80;
  border-radius:8px;
  color:#0c7f73;
  font-size:.78rem;
  font-weight:700;
  text-decoration:none;
  transition:background .15s ease,color .15s ease;
}
body.logged-in.woocommerce-account .tv-b2b-flow__action:hover {
  background:#0f8f80;
  color:#fff;
}
@media (max-width:1080px) {
  body.logged-in.woocommerce-account .tv-b2b-flow {
    display:flex;
    overflow-x:auto;
    padding-bottom:6px;
    scroll-snap-type:x proximity;
  }
  body.logged-in.woocommerce-account .tv-b2b-flow__stage {
    flex:0 0 210px;
    scroll-snap-align:start;
  }
}
