/* size-guide.css — [SIZE GUIDE 2026-11-22 · Adam] "Size guide & fit": the block on a product page, the link on a Quote Board
   line, and the guide itself (a right drawer on a desktop, a bottom sheet on a phone). Loaded only while sizingMvp is on.
   Two looks, picked by the page it opens on: dark on the C3 website, light on the older pages and the customer review page.
   Gold is the one accent, for the action; crimson for "outside this chart". */
.ca-sg-block { margin: 14px 0 6px; padding: 12px 0; border-top: 1px solid rgba(128, 138, 156, .28); border-bottom: 1px solid rgba(128, 138, 156, .28); }
.ca-sg-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.ca-sg-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ca-sg-open { appearance: none; background: none; border: 0; border-bottom: 2px solid currentColor; padding: 2px 0 3px; font: inherit; font-weight: 700; color: inherit; cursor: pointer; min-height: 32px; }
.ca-sg-open:hover { opacity: .8; }
.ca-sg-open:focus-visible, .ca-sg-link:focus-visible, .ca-sg-tab:focus-visible, .ca-sg-segb:focus-visible, .ca-sg-x:focus-visible, .ca-sg-go:focus-visible, .ca-sg-in:focus-visible { outline: 2px solid #ECB71E; outline-offset: 2px; }
.ca-sg-line { margin-top: 4px; opacity: .85; }
.ca-sg-line .ca-sg-open { font-weight: 600; border-bottom-width: 1px; min-height: 28px; }

dialog.ca-sg { --sg-bg: #FFFFFF; --sg-ink: #14202B; --sg-muted: #5B6675; --sg-line: #D6DAE1; --sg-wash: #F4F5F7; --sg-on: #101E3F; --sg-err: #A3122B;
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(520px, 100vw); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0;
  background: var(--sg-bg); color: var(--sg-ink); font-family: inherit; overflow: hidden; }
dialog.ca-sg[data-theme="dark"] { --sg-bg: #0B1322; --sg-ink: #F3F5F8; --sg-muted: #A9B2C1; --sg-line: #26324A; --sg-wash: #131D31; --sg-on: #F3F5F8; --sg-err: #FF8A9B; }
dialog.ca-sg::backdrop { background: rgba(5, 9, 18, .62); }
.ca-sg-box { display: flex; flex-direction: column; height: 100%; overflow-y: auto; padding: 22px 24px 20px; }
.ca-sg-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--sg-line); }
.ca-sg-sku { margin: 0 0 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sg-muted); }
.ca-sg-title { margin: 0; font-size: 24px; line-height: 1.1; color: var(--sg-ink); }
.ca-sg-name { margin: 6px 0 0; color: var(--sg-muted); font-size: 15px; }
.ca-sg-x { appearance: none; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--sg-line); background: none; color: var(--sg-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.ca-sg-tabs { display: flex; gap: 22px; margin-top: 14px; border-bottom: 1px solid var(--sg-line); }
.ca-sg-tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 10px 0; font: inherit; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--sg-muted); cursor: pointer; }
.ca-sg-tab.on { color: var(--sg-ink); border-bottom-color: #ECB71E; }
.ca-sg-panel { padding-top: 16px; }
.ca-sg-panel[hidden] { display: none; }
.ca-sg-label { margin: 12px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-muted); }
.ca-sg-seg { display: inline-flex; border: 1px solid var(--sg-line); }
.ca-sg-segb { appearance: none; background: none; border: 0; padding: 8px 16px; font: inherit; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sg-muted); cursor: pointer; min-height: 40px; }
.ca-sg-segb.on { background: var(--sg-on); color: var(--sg-bg); }
.ca-sg-scroll { overflow-x: auto; border: 1px solid var(--sg-line); }
.ca-sg-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.ca-sg-table th, .ca-sg-table td { padding: 11px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--sg-line); color: var(--sg-ink); background: var(--sg-bg); }
.ca-sg-table thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-muted); background: var(--sg-wash); white-space: normal; line-height: 1.25; vertical-align: bottom; }
.ca-sg-table tbody tr:last-child th, .ca-sg-table tbody tr:last-child td { border-bottom: 0; }
.ca-sg-table .ca-sg-pin { position: sticky; left: 0; z-index: 1; font-weight: 700; border-right: 1px solid var(--sg-line); }   /* the size column stays put on a phone */
.ca-sg-img { display: block; max-width: 100%; height: auto; border: 1px solid var(--sg-line); background: #FFFFFF; }
.ca-sg-prompt { margin: 0 0 14px; font-size: 15px; line-height: 1.45; }
.ca-sg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.ca-sg-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sg-muted); }
.ca-sg-in { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--sg-line); background: var(--sg-bg); color: var(--sg-ink); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; }
.ca-sg-go { appearance: none; width: 100%; min-height: 46px; border: 0; background: #ECB71E; color: #14202B; font: inherit; font-weight: 700; cursor: pointer; }
.ca-sg-go:hover { background: #F0C440; }
.ca-sg-result { margin-top: 16px; }
.ca-sg-answer { margin: 0 0 4px; font-size: 20px; }
.ca-sg-answer strong { font-size: 26px; }
.ca-sg-note { margin: 0 0 10px; color: var(--sg-muted); }
.ca-sg-outside { margin: 0 0 10px; font-weight: 700; color: var(--sg-err); }
.ca-sg-acts { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ca-sg-link { appearance: none; display: inline-block; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 2px 0; font: inherit; font-weight: 600; color: var(--sg-ink); text-decoration: none; cursor: pointer; min-height: 30px; }
.ca-sg-info { margin: auto 0 0; padding-top: 18px; font-size: 13px; color: var(--sg-muted); }

@media (max-width: 640px) {
  dialog.ca-sg { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 88dvh; border-radius: 14px 14px 0 0; }
  .ca-sg-box { height: auto; max-height: 88dvh; padding: 18px 16px 18px; }
  .ca-sg-table th, .ca-sg-table td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.ca-sg[open] { animation: ca-sg-in .18s ease-out; }
  @keyframes ca-sg-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
}
