/* 3 Eli v13.3 (1 Oct 2026): account strip, quick-add cards, requirements, offer cards, Turnstile spacing. Uses the approved tokens. */
.acct-strip { background: var(--navy, #121a35); color: #fff; font-size: .9rem; position: relative; z-index: 5; }
.acct-strip__in { display: flex; align-items: center; gap: 8px 16px; min-height: 44px; padding-block: 4px; }
.acct-strip__home { font-weight: 700; white-space: nowrap; padding: 0 10px 0 0 !important; border-right: 1px solid rgba(255,255,255,.28); border-radius: 0 !important; }
.acct-strip__home svg { flex: none; }
.acct-strip__co { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 24ch; opacity: .85; min-width: 0; }
.acct-strip__nav { margin-left: auto; min-width: 0; }
.acct-strip__nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; justify-content: flex-end; }
.acct-strip__signout form { margin: 0; }
.acct-strip a, .acct-strip__out { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 2px; border-radius: 6px; white-space: nowrap; }
.acct-strip a:hover, .acct-strip__out:hover { text-decoration: underline; text-underline-offset: 3px; }
.acct-strip a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.acct-strip a:focus-visible, .acct-strip__out:focus-visible, .acct-strip select:focus-visible, .acct-strip .btn:focus-visible { outline: 2px solid #bdeedc; outline-offset: 2px; }
.acct-strip__out { background: none; border: 1px solid rgba(255,255,255,.45); font: inherit; cursor: pointer; padding: 0 10px; min-height: 32px; }
.acct-strip__count { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .35em; border-radius: 999px; background: #ff7b68; color: #121a35; font-weight: 700; font-size: .8rem; }
.acct-strip__title { opacity: .8; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-strip__switch form { display: flex; align-items: center; gap: 6px; margin: 0; }
.acct-strip__switch select { max-width: 200px; min-height: 32px; font-size: .85rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.4); background: #1b2550; color: #fff; padding: 0 6px; }
.acct-strip .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); min-height: 32px; }
@media (max-width: 1100px) { .acct-strip__title { display: none; } }
/* tablets and phones: two compact rows, nothing scrolls sideways or is clipped */
@media (max-width: 899px) {
  .acct-strip__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "home co out" "nav nav nav"; gap: 2px 12px; padding-block: 6px; }
  .acct-strip__home { grid-area: home; } .acct-strip__co { grid-area: co; max-width: none; font-size: .8rem; } .acct-strip__signout { grid-area: out; }
  .acct-strip__nav { grid-area: nav; margin-left: 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 2px; }
  .acct-strip__nav ul { justify-content: flex-start; gap: 0 18px; }
  .acct-strip__switch { flex-basis: 100%; }
}
@media (max-width: 420px) { .acct-strip__co { display: none; } .acct-strip__in { grid-template-columns: auto 1fr auto; grid-template-areas: "home . out" "nav nav nav"; } .acct-strip__nav ul { gap: 0 14px; } }

/* quick-add cards */
.qa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 16px 0; }
.qa-card { display: flex; flex-direction: column; border: 1px solid var(--c-line, #dce0ee); border-radius: 14px; background: #fff; overflow: hidden; scroll-margin-top: 120px; }
.qa-card .portal-product__media { display: block; aspect-ratio: 4 / 3; background: #f5f7fc; }
.qa-card .portal-product__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.qa-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.qa-body h3 { font-size: 1rem; line-height: 1.3; margin: 0; }
.qa-body p { margin: 0; }
.qa-form { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.qa-option { font-weight: 600; font-size: .9rem; }
.qa-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 2px; }
.qa-field select { width: 100%; min-height: 44px; }
.qa-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.qa-row .qa-add { flex: 1 1 140px; min-height: 44px; }
.qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--c-line, #c7cde0); border-radius: 10px; overflow: hidden; background: #fff; }
.qty-stepper input { width: 6.5ch; min-height: 44px; border: 0; text-align: center; font-size: 1rem; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; min-height: 44px; border: 0; background: #f2f4fb; font-size: 1.2rem; cursor: pointer; color: var(--navy, #121a35); }
.qty-btn:hover { background: #e6eafb; }
.qty-btn:focus-visible, .qty-stepper input:focus-visible { outline: 2px solid var(--cobalt, #3155f5); outline-offset: -2px; }
[aria-invalid="true"] { border-color: #b3261e !important; box-shadow: 0 0 0 1px #b3261e; }
.qa-status:empty { display: none; }
.qa-status { padding: 6px 8px; border-radius: 8px; }
.qa-status.is-ok { background: #e9f8f1; color: #0b5137; }
.qa-status.is-bad { background: #fdecea; color: #8c1d18; }
.qa-add.is-added { background: #0b6448; border-color: #0b6448; color: #fff; }
.portal-pdp .qty-stepper { margin-top: 2px; }

/* requirements and offers */
.req-list, .offer-cards { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.req-card, .offer-card { border: 1px dashed #c58b00; background: #fffaf0; border-radius: 12px; padding: 10px 12px; }
.req-card p, .offer-card p { margin: 2px 0; }
.offer-card { border: 1px solid var(--c-line, #dce0ee); background: #f7f9ff; }
.offer-card__kind { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #3b4a7a; font-weight: 700; }
.req-add { margin-top: 10px; }
.req-add > summary { display: inline-flex; cursor: pointer; list-style: none; }
.req-add > summary::-webkit-details-marker { display: none; }
.req-add[open] > summary { margin-bottom: 8px; }
.ts-field { margin: 12px 0; min-height: 70px; }
