/* The support pages (2026-11-30): the hub, the issue report, the order request and the page a
 * sent request lands on. Loaded after catalog.css and built from its palette, type, form,
 * dropzone and careers layout; only what those don't cover is here.
 */

/* ---------- header ---------- */
.support-hero h1 { font-size: clamp(56px, 9vw, 152px); max-width: 9em; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.careers-note a, .support-form + noscript a { color: var(--ink); text-decoration-color: var(--sage); text-underline-offset: 3px; }
.careers-note a:hover { color: var(--jade); }

/* ---------- hub: the two things a customer can do ---------- */
.support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px);
  padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 11vw, 160px); border-top: 1px solid var(--rule); }
.support-card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 44px); text-decoration: none; color: inherit;
  background: var(--bg-2); border: 1px solid var(--rule); border-radius: 12px; transition: border-color .3s var(--ease); }
.support-card:hover { border-color: var(--rule-2); }
.support-card h2 { font-size: clamp(40px, 4.4vw, 72px); margin-top: 20px; }
.support-card > p { color: var(--ink-2); margin: 18px 0 36px; max-width: 30em; }
.support-card .go { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--rule-2); font-size: 15px; font-weight: 500; }
.support-card .go .arr { transition: transform .25s var(--ease); }
.support-card:hover .go .arr { transform: translateX(6px); }
@media (max-width: 860px) { .support-cards { grid-template-columns: 1fr; } }

/* ---------- forms: parts ---------- */
.form .form-part { font: 800 26px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
  margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--rule); }
.form .form-part:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- order form: items and quantities ---------- */
.items { display: grid; gap: 18px; }
.item-group[hidden] { display: none; }
.item-group-name { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.item-group-name span { margin-left: 6px; opacity: .8; }
/* with the script running, only the chosen solution's list shows, so its name is redundant */
.js .item-group-name { display: none; }
.item-list { list-style: none; margin: 0; padding: 0; background: var(--bg); border: 1px solid var(--rule-2); border-radius: 12px; }
.item-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 10px 10px 10px 16px; }
.item-list li + li { border-top: 1px solid var(--rule); }
.form .item-list label { display: block; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink-2); transition: color .15s; }
.item-list li.has-qty label { color: var(--ink); }
.item-list small { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.qty { display: inline-grid; grid-template-columns: 64px; align-items: stretch; overflow: hidden;
  background: var(--panel); border: 1px solid var(--rule-2); border-radius: 999px; transition: border-color .15s; }
.js .qty { grid-template-columns: 40px 48px 40px; }
.qty:focus-within { border-color: var(--jade); }
.item-list li.has-qty .qty { border-color: var(--sage); }
.qty-btn { display: none; height: 40px; padding: 0; background: none; border: 0; color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.js .qty-btn { display: block; }
.qty-btn:hover { color: var(--jade); background: rgba(186, 200, 177, .08); }
.qty-btn:focus-visible { outline-offset: -3px; border-radius: 999px; }
.form .qty input { width: 100%; height: 40px; padding: 0; text-align: center; background: transparent; border: 0; border-radius: 0;
  font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.items.is-invalid .item-list { border-color: #c4775e; box-shadow: 0 0 0 3px rgba(196, 119, 94, .18); }

/* ---------- issue form: several files in the careers dropzone ---------- */
.support-form .dropzone-file { white-space: pre-line; word-break: break-word; }
.file-clear { justify-self: start; margin-top: 10px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--ink-2); font-size: 14px; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
.file-clear:hover { color: var(--ink); }
.file-clear[hidden] { display: none; }
.support-form .field { display: grid; }
.support-form .field .field-label { margin-bottom: 8px; }

/* ---------- received: the reference number ---------- */
.support-ref { margin-top: 32px; }
.support-ref[hidden] { display: none; }
.support-ref .label { display: block; color: var(--jade); }
.support-ref strong { display: block; margin-top: 10px; font: 800 clamp(38px, 6vw, 88px)/.95 var(--display); letter-spacing: .01em;
  color: var(--jade); overflow-wrap: anywhere; user-select: all; }

/* City, state, ZIP on one line; stacked on a phone. */
.form-row--3 { grid-template-columns: 2fr 1.2fr 1fr; }
@media (max-width: 560px) { .form-row--3 { grid-template-columns: 1fr; } }

/* The form pages have no side panel: one column at a readable width. */
.careers-body--single { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* Hub contact block: the list starts level with the heading (catalog.css spaces it for the homepage). */
.page-support .people { margin-top: 0; }
