/* Shop redesign (SHOP_V2_ENABLED). Loaded by /shop-v2.js only while the flag is on: the single stylesheet for the
   v2 shop (tiles, chips, sheets, bag). Glass comes from the app's own theme tokens (--glass, --glass-strong,
   --hair, --line, --ink, --ink-2, --ink-3, --shadow), so Pearl by day and Smoke by night (and sunrise/sunset)
   follow app.css; the flat bronze primary is the mockup's (Jake-approved, Nov 15) in every theme.
   Rule 3: every tile, photo well and chip has its final size before data or images arrive. */
main#view:has(> .shop2-page) > :not(.shop2-page) { display: none !important; }
/* The page ends with the view's shared bottom inset (app.css, docs/design/bottom-gap.md); no spacer of its own. */
/* One bag: the app's floating cart button and its own badge step aside; the header bag carries the count. */
body.shop2-on #atlas-member-entry[data-shop-cart900] { display: none !important; }
.top-actions a[href="#shop"] > :not(svg):not(.shop2-badge), a.jr-bagtop > :not(svg):not(.shop2-badge) { display: none !important; }
.top-actions a[href="#shop"], a.jr-bagtop { position: relative; }
.shop2-badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #9A7650; color: #FFF8EE; font: 600 11px/18px var(--font-body); text-align: center; font-variant-numeric: tabular-nums; pointer-events: none; }
body.shop2-sheet-open #tabs, body.shop2-sheet-open #atlas-member-entry { visibility: hidden !important; pointer-events: none !important; }
body.shop2-on #atlas-member-entry { visibility: hidden !important; pointer-events: none !important; }

.shop2 {
  --s2-bronze: #9A7650; --s2-on: #FFF8EE; --s2-mongoose: #B49A7E;
  --s2-well: linear-gradient(150deg, #EEE6DB, #DCCFBE);
  --s2-r-tile: 20px; --s2-r-sheet: 28px; --s2-r-btn: 14px; --s2-btn-h: 48px;
  --s2-title: var(--f-title, "Bebas Neue"), "Arial Narrow", sans-serif;
  color: var(--ink); font: 16px/1.4 var(--font-body);
}
.shop2 *, .shop2 *::before, .shop2 *::after { box-sizing: border-box; }
.shop2 button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.shop2 button:focus-visible, .shop2 a:focus-visible, .shop2 input:focus-visible { outline: 3px solid var(--s2-bronze); outline-offset: 2px; }
.shop2 h1, .shop2 h2, .shop2 h3 { font-family: var(--s2-title); font-weight: 400; letter-spacing: .04em; margin: 0; line-height: 1; }
.shop2 p { margin: 0; }
.shop2 .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shop2-page { display: block; width: 100%; max-width: 1100px; margin: 0 auto; box-sizing: border-box; padding-bottom: 0; overflow-anchor: none; min-width: 0; }
.s2-hd { display: flex; align-items: baseline; justify-content: space-between; height: 40px; padding: 4px 0 0; }
.s2-hd h1 { font-size: 34px; }
.s2-link { background: none; border: 0; padding: 8px 0; min-height: 36px; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
/* Search + chip row: one sticky bar, fixed height. */
.s2-bar { position: sticky; top: var(--s2-stick, 0px); z-index: 3; height: 104px; margin: 0 -16px; padding: 8px 16px 0; background: var(--glass-strong); box-shadow: 0 10px 18px -14px rgba(20, 12, 6, .35); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.s2-search { display: flex; align-items: center; height: 44px; border-radius: 14px; padding: 0 14px; background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--shadow); }
.s2-search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--ink); font: 16px var(--font-body); outline: none; }
.s2-search input::placeholder { color: var(--ink-3); }
.s2-chips { display: flex; gap: 8px; height: 50px; padding: 8px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.s2-chips::-webkit-scrollbar { display: none; }
.s2-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--hair); background: var(--glass); color: var(--ink); font: 14px/1 var(--s2-title) !important; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; scroll-snap-align: start; }
.s2-chip svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.s2-chip[aria-pressed="true"] { background: var(--s2-bronze); color: var(--s2-on); border-color: transparent; }
.s2-chip[aria-pressed="true"] svg { fill: currentColor; }
.s2-sec { display: flex; align-items: baseline; justify-content: space-between; height: 46px; padding: 14px 0 8px; }
.s2-sec h2 { font-size: 22px; }
.s2-sec span { font-size: 13px; color: var(--ink-3); }
.s2-sec .s2-link { padding: 0; min-height: 0; font-size: 13px; }
.s2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .s2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .s2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
/* Tile: one card style in every theme (glass), square photo well, one add button. */
.s2-tile { position: relative; min-width: 0; border-radius: var(--s2-r-tile); overflow: hidden; background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); contain: layout paint; }
.s2-open { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; border-radius: inherit; }
.s2-ph { position: relative; aspect-ratio: 1 / 1; background: var(--s2-well); overflow: hidden; }
.s2-ph img, .s2-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s2-rx { position: absolute; left: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; background: rgba(37, 34, 32, .74); color: #F4ECE1; font: 11px/1 var(--s2-title); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.s2-rx-inline { position: static; }
.s2-fav { position: absolute; right: 6px; top: 6px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 252, 247, .66); }
.s2-fav svg { width: 16px; height: 16px; stroke: #3A322C; fill: none; stroke-width: 1.7; }
.s2-fav[aria-pressed="true"] svg { fill: var(--s2-bronze); stroke: var(--s2-bronze); }
.s2-tb { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: end; padding: 10px 12px 12px; }
.s2-tn { grid-column: 1 / -1; font-size: 15px; line-height: 1.25; height: 2.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.s2-pr { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; height: 34px; line-height: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s2-pr small { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.s2-muted { color: var(--ink-3); font-weight: 400; }
.s2-add { position: relative; z-index: 2; width: 34px; height: 34px; border-radius: 12px; border: 0; background: var(--s2-bronze); display: grid; place-items: center; }
.s2-add::before { content: ""; position: absolute; inset: -5px; }
.s2-add svg { width: 16px; height: 16px; stroke: var(--s2-on); stroke-width: 2; fill: none; }
.s2-sk .s2-ph { background: var(--s2-well); opacity: .55; }
.s2-sk .s2-tn, .s2-sk .s2-pr { border-radius: 8px; background: var(--line); }
.s2-sk .s2-pr { width: 50%; height: 18px; margin: 8px 0; }
.s2-empty { padding: 28px 4px; text-align: center; color: var(--ink-2); }
.s2-card { margin-top: 12px; padding: 18px; border-radius: 24px; background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.s2-center { align-items: stretch; text-align: center; }
/* Buttons: flat bronze primary, glass secondary, one height and radius. */
.s2-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--s2-btn-h); margin-top: 12px; border-radius: var(--s2-r-btn); border: 0; background: var(--s2-bronze); color: var(--s2-on) !important; font: 17px/1 var(--s2-title) !important; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.s2-btn.s2-ghost { background: var(--glass); border: 1px solid var(--hair); color: var(--ink) !important; }
.s2-btn[disabled] { opacity: .55; cursor: default; }
/* Sheets (product and bag): fixed, glass, never move the page under them. */
.s2-scrim { position: fixed; inset: 0; z-index: 9300; background: rgba(20, 14, 9, .42); display: flex; align-items: flex-end; justify-content: center; }
.s2-sheet { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; border-radius: var(--s2-r-sheet) var(--s2-r-sheet) 0 0; background: var(--glass-strong); border-top: 1px solid var(--hair); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(30px) saturate(1.3); backdrop-filter: blur(30px) saturate(1.3); padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); color: var(--ink); }
@media (min-width: 760px) { .s2-scrim { align-items: center; } .s2-sheet { border-radius: var(--s2-r-sheet); max-height: calc(100dvh - 96px); } }
.s2-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--ink-3); opacity: .5; margin: 0 auto 10px; }
.s2-x { position: absolute; right: 12px; top: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.s2-x svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.s2-hero { position: relative; aspect-ratio: 1 / 1; max-height: 44dvh; margin: 34px auto 0; border-radius: 20px; overflow: hidden; background: var(--s2-well); }
.s2-eye { margin-top: 14px; font: 13px/1.2 var(--s2-title); letter-spacing: .14em; text-transform: uppercase; color: var(--s2-mongoose); min-height: 16px; }
.s2-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.s2-sheet .s2-row h3 { font-size: 28px; line-height: 1.05; }
.s2-big { font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s2-vars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.s2-var { flex: 1 1 30%; min-width: 92px; min-height: 52px; border-radius: 14px; border: 1px solid var(--hair); background: var(--glass); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 14px; line-height: 1.15; padding: 6px; }
.s2-var b { font-weight: 400; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.s2-var[aria-checked="true"] { border: 1.5px solid var(--s2-bronze); background: transparent; }
.s2-var[disabled] { opacity: .5; }
.s2-desc { margin-top: 8px; color: var(--ink-2); font: 15px/1.45 var(--font-body); }
.s2-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.s2-steps li { border-radius: 14px; padding: 10px 6px; text-align: center; font-size: 13px; line-height: 1.25; background: var(--glass); border: 1px solid var(--hair); }
.s2-steps em { display: block; font-style: normal; font: 18px/1.1 var(--s2-title); color: var(--s2-bronze); letter-spacing: .05em; }
.s2-hold { margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-2); }
/* "How Rx review works": a plain text link like the shop's other links (.s2-link), never a boxed control. */
.shop2 details.s2-how { margin-top: 10px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: center; font-size: 14px; color: var(--ink-2); }
/* The desktop quick view lives inside #app main, where glass65.css boxes every <details> (!important): undo it here. */
#app main .shop2 details.s2-how { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.shop2 .s2-how summary { display: inline-block; cursor: pointer; min-height: 36px; line-height: 36px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.s2-how summary::-webkit-details-marker { display: none; }
.s2-how p { text-align: left; padding: 4px 2px 0; }
.s2-legit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: var(--ink-2); font-size: 12px; text-decoration: none; min-height: 44px; }
.s2-legit img { width: 36px; height: 36px; flex: none; }
.s2-legit span { display: flex; flex-direction: column; }
.s2-legit small { font-size: 11px; color: var(--ink-3); text-decoration: underline; }
/* Bag */
.s2-sheet[data-kind="bag"] .s2-row { padding-right: 44px; }
.s2-sheet[data-kind="bag"] .s2-row h3 { font-size: 26px; }
.s2-grp { margin-top: 12px; border-radius: 18px; padding: 4px 14px 14px; background: var(--glass); border: 1px solid var(--hair); }
.s2-gh { display: flex; justify-content: space-between; align-items: center; min-height: 36px; padding-top: 6px; font: 14px/1 var(--s2-title); letter-spacing: .1em; text-transform: uppercase; color: var(--s2-mongoose); }
.s2-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.s2-gh + .s2-line { border-top: 0; }
.s2-th { position: relative; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--s2-well); }
.s2-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.s2-ln { font-size: 14px; line-height: 1.2; min-width: 0; }
.s2-ln small { display: block; color: var(--ink-3); font-size: 12px; }
.s2-lr { text-align: right; }
.s2-stp { display: inline-flex; align-items: center; height: 36px; border-radius: 12px; border: 1px solid var(--hair); font-variant-numeric: tabular-nums; font-size: 14px; }
.s2-stp button { width: 36px; height: 36px; border: 0; background: transparent; display: grid; place-items: center; font-size: 18px; }
.s2-stp button[disabled] { opacity: .4; }
.s2-stp span { min-width: 18px; text-align: center; }
.s2-ic { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.s2-lp { margin-top: 3px; font-size: 14px; font-variant-numeric: tabular-nums; }
.s2-sum { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.s2-sum b { font-variant-numeric: tabular-nums; }
.s2-note { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
/* Toast: fixed under the header, clear of sheet buttons, the tab bar and the Atlas button. */
.s2-toast { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 9400; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--hair); box-shadow: var(--shadow); color: var(--ink); font: 15px/1.3 var(--font-body); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); pointer-events: none; }
.s2-toast[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .s2-sheet { animation: s2-up .22s ease-out; } @keyframes s2-up { from { transform: translateY(24px); opacity: .6; } } }
/* Desktop (r3c): the bar sits on the content column (same edges as the sections and tiles) with no band at rest;
   it takes the glass only while stuck under the header ([data-stuck], set by shop-v2.js; paint only). */
@media (min-width: 700px) {
  .s2-bar { margin: 0; padding: 8px 0 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0 0 18px 18px; }
  .s2-bar[data-stuck] { background: var(--glass-strong); box-shadow: 0 10px 18px -14px rgba(20, 12, 6, .35); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
}
/* Desktop tiles (r3c): the name takes the lines it needs (up to 2) and the price row sits at the tile's foot, so a
   row of one-line names has no empty line above the price; every tile in a row shares the row's height. */
@media (min-width: 1000px) {
  .s2-tile { display: flex; flex-direction: column; }
  .s2-tb { flex: 1 1 auto; grid-template-rows: auto 1fr; gap: 2px 8px; padding: 12px 14px 12px; }
  .s2-tn { height: auto; max-height: 2.5em; }
  .s2-sk .s2-tn { height: 1.25em; }
}
/* Desktop (r3f, >= 1024px; the Shop desktop concept): filter sidebar | grid | quick view. Phone is unchanged (no
   [data-mode="desk"] below 1024px). The sidebar and quick view are glass cards that stay under the header; the quick
   view shows the product sheet's own content. One tab stop per product: a tile's save and add live in the quick view. */
@media (min-width: 1024px) {
  .s2-dk { display: grid; grid-template-columns: clamp(188px, 14vw, 220px) minmax(0, 1fr) clamp(272px, 21vw, 340px); gap: 20px; align-items: start; margin-top: 12px; }
  .s2-side, .s2-qv { position: sticky; top: calc(var(--s2-stick, 0px) + 12px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    padding: 18px; border-radius: 24px; background: var(--glass); border: 1px solid var(--hair); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .shop2 .s2-sh { font: 13px/1 var(--s2-title); letter-spacing: .16em; text-transform: uppercase; color: var(--s2-mongoose); margin: 20px 0 10px; }
  .s2-side > .s2-sh:first-child, .s2-qh .s2-sh { margin: 0; }
  .s2-side .s2-search { margin: 14px 0 12px; padding: 0 12px; box-shadow: none; }
  .s2-side .s2-search input { font-size: 15px; }
  .s2-side { padding: 18px 16px; }
  .s2-opts + .s2-sh, .s2-cats + .s2-sh { margin-top: 16px; }
  .s2-opts { display: flex; flex-direction: column; gap: 4px; }
  .s2-cats + .s2-sh { padding-top: 18px; border-top: 1px solid var(--line); }
  .s2-opts + .s2-sh { padding-top: 18px; border-top: 1px solid var(--line); }
  .s2-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--hair); background: transparent; font-size: 13.5px; line-height: 1.2; text-align: left; }
  .s2-opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .s2-opt b { font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .s2-opt[aria-pressed="true"] { background: var(--s2-bronze); color: var(--s2-on); border-color: transparent; }
  .s2-opt[aria-pressed="true"] b { color: inherit; opacity: .8; }
  .s2-dgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .s2-dgrid .s2-fav, .s2-dgrid .s2-add { display: none; }
  .s2-dgrid .s2-open:focus-visible { outline-offset: -3px; }
  .s2-dgrid .s2-open[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--s2-bronze); }
  .s2-dgrid .s2-tn { font-size: 14px; }
  .s2-qh { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
  .s2-qh .s2-fav { position: static; width: 36px; height: 36px; background: transparent; border: 1px solid var(--hair); }
  .s2-qh .s2-fav svg { stroke: var(--ink); }
  .s2-qv .s2-hero { margin: 12px 0 0; max-height: none; }
  .s2-qv .s2-row { align-items: flex-start; }
  .s2-qv .s2-row h3 { font-size: 24px; line-height: 1.05; }
  .s2-qv .s2-big { font-size: 20px; }
  .s2-qv .s2-steps li { font-size: 12px; padding: 8px 4px; }
}

/* In-house store "Your orders" popup (store3; shop-v2.js, COMMERCE_SHOP_NATIVE_ENABLED only). One fixed height whatever the
   list holds (the list scrolls inside), a fixed top on desktop (never re-centred as rows load), rows in the Shop's glass. */
.s2-hd button.s2-link { cursor: pointer; font-family: inherit; }
.s2-sheet[data-kind="orders"] { height: min(640px, calc(100dvh - 48px)); }
@media (min-width: 760px) { .s2-scrim[data-kind="orders"] { align-items: flex-start; padding-top: min(12vh, 120px); } .s2-scrim[data-kind="orders"] .s2-sheet { height: min(640px, calc(100dvh - min(12vh, 120px) - 48px)); max-height: none; } }
.s2-oh { margin: 6px 52px 4px 0; font-size: 30px; line-height: 1.05; }
.s2-ord { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.s2-o { border: 1px solid var(--hair); border-radius: 18px; padding: 12px 14px; background: var(--glass); }
.s2-oskel { height: 96px; box-sizing: border-box; background: var(--s2-well, var(--glass)); }
.s2-orow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.s2-orow b { font: 15px/1.2 var(--s2-title); letter-spacing: .06em; text-transform: uppercase; }
.s2-orow span { font-variant-numeric: tabular-nums; font-size: 15px; }
.s2-ost { margin: 6px 0 0; font-size: 15px; color: var(--ink); }
.s2-olines, .s2-oid, .s2-oask, .s2-onote { margin: 4px 0 0; font: 14px/1.4 var(--font-body); color: var(--ink-2); }
.s2-oid, .s2-oask { color: var(--ink); }
.s2-o .s2-link { display: inline-block; margin-right: 16px; cursor: pointer; font-family: inherit; }
.s2-oacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Owner preview of the in-house store (store4; shop-v2.js testPill, server/store-preview-web/store-preview.js). The
   test-mode pill lives inside the fixed 40 px header row (at most two 13 px lines), so it never shifts the page. */
.s2-hd .s2-test { flex: 0 1 auto; min-width: 0; max-width: 60%; align-self: center; margin: 0 10px; padding: 0 10px; max-height: 28px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; border: 1px solid var(--s2-bronze); border-radius: 999px; background: transparent; color: var(--ink); font: 11px/13px var(--font-body); text-align: center; }
.s2-hd button.s2-test { cursor: pointer; }
.s2-sheet .s2-test { display: block; margin: 0 52px 10px 0; padding: 4px 10px; border: 1px solid var(--s2-bronze); border-radius: 12px; color: var(--ink); font: 12px/16px var(--font-body); }
.s2-f { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.s2-f label { display: flex; flex-direction: column; gap: 4px; font: 13px/1.2 var(--font-body); color: var(--ink-2); min-width: 0; }
.s2-f label.s2-wide { grid-column: 1 / -1; }
.s2-f input, .s2-f select { height: 44px; box-sizing: border-box; border: 1px solid var(--hair); border-radius: 12px; background: var(--glass); color: var(--ink); font: 16px var(--font-body); padding: 0 12px; min-width: 0; }
.s2-ferr { min-height: 40px; margin-top: 8px; font: 14px/20px var(--font-body); color: var(--ink); }
.s2-sheet[data-kind="ptools"] { height: min(640px, calc(100dvh - 48px)); }
