/* GlyphSlip Desk · the check-in card in the kit's drawing (Window GSP-1a · desk-form.js · desk-bind.js) — the sealed
 * target's scene 1: steppers, the date display, ONE quiet Vehicle and parking section, kit check boxes, ONE filled key.
 * Placement only: every look is a gs-kit.css token or component (the edge token keeps each control at 3:1). */
.df-form .gs-card__title .ico { width: 22px; height: 22px; }
.df-form .gs-ico, .df-form .df-glyph { flex: none; }
.bento .card.stack.df-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.df-card > .df-head { flex-wrap: wrap; margin: 0; }
.df-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.df-col > .gs-step { justify-content: space-between; width: 100%; }
.gs-step__btn .df-glyph { width: 18px; height: 18px; }
.df-step--date .gs-step__num { padding: 0 10px; font: 700 16px/1 var(--gs-font); white-space: nowrap; }

/* the stay: the room's big field beside the dates, then nights · adults · children */
.df-room { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.df-roomf .gs-field__input { min-width: 0; }
.df-when { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.df-room > .df-when { padding-top: 24px; }
.df-dates { display: flex; align-items: center; gap: 8px; min-height: 28px; margin: 0; color: var(--gs-ink); font-size: 16px; font-weight: 700; line-height: 22px; font-variant-numeric: tabular-nums; white-space: pre-wrap; }
.df-dates .ico { width: 20px; height: 20px; } .df-day { white-space: nowrap; } /* GSP-4c r2: "Wed, Nov 18" never breaks inside itself */
.df-arrive { display: flex; }
.df-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(144px, 1fr)); gap: 12px; }
.df-help { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: auto 0 0; color: var(--gs-ink-2); font-size: 13px; line-height: 18px; } .df-how > summary { color: var(--gs-ink-2); font-size: 14px; } .df-how .sk-how__list { margin-bottom: 0; color: var(--gs-ink-2); } /* GSP-4c r3 #1: the card's ONE How it works */
.df-card > .df-foot { margin-top: auto; } body.sheet-open .df-foot { visibility: hidden; } /* GSP-6 §8 #8: no check-in key under an open sheet */
/* GSP-3 r3 #1: the sticky foot is a solid ground with a hairline top edge — no fade over any control; a control scrolled
 * into view lands above it (the scroll padding below is the foot's height) */

/* breakfast and payment: the vouchers row (its words left, the stepper right — the same on the handset), then the payment */
.df-addon { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.df-form .df-bf { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l s" "h s"; align-items: center; gap: 2px 12px; }
.df-bf > .gs-field__label { grid-area: l; align-self: end; }
.df-form .df-bf > .gs-step { grid-area: s; width: auto; min-width: 176px; }
.df-bf > .df-hint { grid-area: h; align-self: start; }
.df-pay.seg { display: flex; border: 0; border-radius: var(--gs-r2); overflow: visible; }
.df-pay.seg .gs-seg__opt { flex: 1 1 0; min-width: 0; padding: 4px 10px; background: transparent; color: var(--gs-ink-2); font-size: 14px; line-height: 18px; text-align: center; white-space: normal; }
.df-pay.seg .gs-seg__opt[aria-pressed="true"] { background: var(--gs-s3); color: var(--gs-ink); font-weight: 700; box-shadow: var(--gs-lift-2); }

/* Vehicle and parking: ONE quiet section, closed at rest */
.df-veh { border-radius: var(--gs-r2); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-edge); }
.df-veh > summary { display: flex; align-items: center; gap: 8px; min-height: var(--gs-key); padding: 0 12px; border-radius: var(--gs-r2); color: var(--gs-ink); font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.df-veh > summary::-webkit-details-marker { display: none; }
.df-veh > summary::after { content: ""; width: 8px; height: 8px; flex: none; margin: -4px 4px 0 0; border-right: 2px solid var(--gs-ink-2); border-bottom: 2px solid var(--gs-ink-2); transform: rotate(45deg); }
.df-veh[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.df-veh > summary:focus-visible { outline: 3px solid var(--gs-ring-c); }
.df-veh > summary .ico { width: 20px; height: 20px; }
.df-veh__state { margin-left: auto; color: var(--gs-ink-3); font-size: 13px; font-weight: 600; text-align: right; }
.df-veh__body { display: grid; gap: 12px; padding: 4px 12px 12px; } /* GSP-7 Step 0: the summary's 4.2 px at 320 (Optional past its box) */
.df-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.df-form .chip-btn { border-color: var(--gs-edge); background: var(--gs-s2); color: var(--gs-ink); font-size: 14px; }
.df-form .chip-btn[aria-pressed="true"] { border-color: var(--gs-hue); background: var(--gs-hue-wash); box-shadow: inset 0 0 0 1px var(--gs-hue); }

/* the kit's check box over a native box that stays underneath (invisible, the drawing's own size) */
.df-check { position: relative; align-items: flex-start; width: 100%; padding: 0; font-size: 14px; line-height: 20px; }
.df-check .gs-check__box { margin: 10px 10px 10px 0; }
.df-check__text { padding: 12px 0 6px; }
.df-native { position: absolute; z-index: 1; top: 10px; left: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.gs-check__box .df-glyph { width: 16px; height: 16px; opacity: 0; }
.gs-check[aria-checked="true"] .df-glyph, .df-check:has(.df-native:checked) .df-glyph { opacity: 1; }
.df-check:has(.df-native:checked) .gs-check__box { background: var(--gs-hue); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3); }
.df-check:has(.df-native:focus-visible) .gs-check__box { outline: 3px solid var(--gs-ring-c); }

/* the foot: the folio line and the ONE filled key, in sight while the card scrolls */
.df-foot { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 10px; margin: 0 -20px -20px; padding: calc(14px + min(0px, var(--df-snap, 0px))) 20px calc(20px + max(0px, var(--df-snap, 0px))); border-top: var(--gs-hair) solid var(--gs-line); border-radius: 0 0 var(--radius, 16px) var(--radius, 16px); background: inherit; }
@media (max-width: 640px) { .df-slip > .df-foot:not([data-docked="true"]) { position: relative; } } /* GSP-4c: in flow at rest, docked once Room sits whole above it (GSDeskForm.dock) */
.df-foot .readout { color: var(--gs-ink-2); font-size: 14px; font-weight: 600; line-height: 20px; text-wrap: pretty; } .df-item--note { flex-basis: 100%; } /* GSP-8: the parking sentence on its own line */
.df-total { display: grid; gap: 2px; min-width: 0; }
.df-sum { margin: 0; color: var(--gs-ink); font-size: 18px; font-weight: 700; line-height: 24px; font-variant-numeric: tabular-nums; }
.df-hint { color: var(--gs-ink-3); font-size: 13px; line-height: 18px; }
.df-bf[data-notes="true"] .df-hint { color: var(--gs-ok); } .df-bf > .df-hint:empty { display: none; } .df-bf:has(> .df-hint:empty) > .gs-field__label { grid-row: 1 / -1; align-self: center; } /* GSP-4c r3 #1: status green, never a cluster hue; no hint, the label centres */
.df-roomnote { color: var(--gs-look); font-weight: 600; } /* a SkyTouch read that left Room empty says so at the field */
.ck-acts > [hidden] { display: none; }
.bento #bind-submit.df-go { width: 100%; min-height: 56px; border-radius: var(--gs-r2); font-size: 18px; }
.bento #bind-submit.df-go .ico { width: 22px; height: 22px; } #bind-submit.df-go[data-wait] { flex-wrap: wrap; align-content: center; row-gap: 0; background: color-mix(in srgb, var(--gs-hue) 16%, var(--gs-s2)); color: var(--gs-ink); box-shadow: inset 0 0 0 1.5px var(--gs-hue); } #bind-submit.df-go[data-wait] .ico { color: var(--gs-hue); } #bind-submit.df-go[data-wait="room"] > .ico { display: none; } .df-go__wait { flex: 1 0 100%; color: var(--gs-ink-2); font-size: 13px; font-weight: 600; line-height: 16px; text-align: center; } .df-go__wait[hidden] { display: none; } /* GSP-4c r3 #2: waiting, tinted, it says what is missing */
.df-go .ico [stroke="#2dd4bf"] { stroke: currentColor; }
.df-go .ico [fill="#2dd4bf"] { fill: currentColor; }

/* GSP-2 · ONE slip card: the stay and its rate left, breakfast, payment and the car right at ≥ 900 px (Payment above the
 * fold at 1366 × 768), the perforated foot under both (sticky, so Check in stays in sight); a phone: the same order, one column */
.df-cols, .df-stay, .df-sell { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 900px) { .bento.df-form:not(.bento-one) { grid-template-columns: minmax(0, 1fr); align-items: start; } .df-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; } }
@media (max-width: 899px) { .df-cols, .df-stay, .df-sell { display: contents; } }
/* the slip's loudest line: the room (an em dash until one is typed), then the party, then the price line */
.df-roomsum { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--gs-ink); }
.df-roomsum__cap { color: var(--gs-ink-2); font-size: 18px; font-weight: 700; line-height: 24px; }
.df-roomsum__num { font: 700 40px/48px var(--gs-num); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.df-roomsum[data-empty="true"] .df-roomsum__num { color: var(--gs-ink-2); font: 600 16px/24px var(--gs-font); letter-spacing: 0; } /* GSP-3 r2 #12: "No room yet" in quiet ink */
.df-roomsum[data-empty="true"] .df-roomsum__cap { display: none; }
.df-slip .df-sum { font-size: 16px; font-weight: 600; line-height: 22px; } /* the party steps down under the room */ /* "Room —": still the loudest line before a room is typed */
@media (min-width: 900px) {
  .bento:not(.bento-one) .df-foot { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: center; column-gap: 32px; }
  .df-slip .df-total { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 24px; } .df-slip .df-roomsum { grid-row: 1 / span 2; }
}
.df-foot .df-item--party, .df-form .df-charges { display: none; } /* the party is its own line beside the room at ≥ 900 px; the card's cost line is a phone's */
@media (max-width: 899px) { /* GSP-4c r2: the room's line, then ONE row of facts (.gs-dots) — the party, the nights, the price line — then the key */
  .df-slip .df-total { display: block; font-size: 14px; line-height: 20px; } .df-slip .df-total > .df-sum { display: none; } .df-slip .df-foot .df-item--party { display: block; color: var(--gs-ink); }
  .df-slip > .df-foot { gap: 8px; padding-top: calc(10px + min(0px, var(--df-snap, 0px))); padding-bottom: calc(14px + max(0px, var(--df-snap, 0px))); }
}
@media (max-width: 640px) { /* GSP-4c r2 #6: the docked foot is ONE line of facts — Room 118 · 2 adults · 1 night — over Check in; what the stay costs sits in the card above it */
  .df-slip .df-total, .df-slip .df-total > .readout { font-size: 15px; line-height: 22px; } .df-slip .df-total { display: flex; flex-wrap: wrap; align-items: baseline; margin-left: -1.25em; clip-path: inset(0 0 0 1.25em); } .df-slip .df-total > .readout { display: contents; }
  .df-slip .df-total > .df-roomsum { gap: 6px; padding-left: 1.25em; } .df-slip .df-total .df-roomsum__cap { font-size: 15px; line-height: 22px; } .df-slip .df-total > .df-roomsum[data-empty="false"] > .df-roomsum__num { font-size: 26px; line-height: 30px; } .df-slip .df-foot .df-item { color: var(--gs-ink); } .df-slip .df-foot .df-item--more { display: none; } .df-slip .df-foot .df-item--fee { display: block; } /* GSP-4c r3 #4: the fee to collect stays in the dock */
  .df-slip > .df-charges { display: flex; color: var(--gs-ink-2); font-size: 14px; font-weight: 600; line-height: 20px; text-wrap: pretty; }
}
html:has(.df-slip) { scroll-padding-bottom: var(--df-dock, 176px); } /* a control scrolled into view lands above the slip's sticky foot (its measured height) */
@media (max-width: 899px) { /* judge r2 §3 #11: a scroll comes to rest with the control over the foot whole, never half under its fade */
  html:has(.df-slip) { scroll-snap-type: y proximity; }
  .df-slip :is(.df-room, .df-steps, .rc-field, .rc-head, .rc-stay, .rc-stack__foot, .rc-fee, .rc-add, .df-col, .df-veh, .df-help) { scroll-snap-align: end; }
  html:has(.df-slip) body { scroll-snap-align: start; } /* GSP-4b: the page's top is a rest too — the header and the Setup bar are never snapped out of reach on load */
}
.df-form:not(.ck-form) .df-roomf .gs-field__input:placeholder-shown, .df-roomf .gs-field__input:placeholder-shown { font: 500 16px/1 var(--gs-font); letter-spacing: 0; } /* a hint at field size, never a filled-looking room */
/* GSP-3 r3 #1: the card's Room is its first field on every width (the scan field only fills it while it is empty) */
.df-col[hidden] { display: none; } /* GSP-3 r3 #5: Payment hides while nothing ticked costs money */
@media (max-width: 420px) { .df-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .df-grid3 > :first-child { grid-column: 1 / -1; } }
/* phone type: no orphan and no split join (Slop Ban 16 · VERDICT law 20) */
.df-check__text, .df-help, .df-hint, .df-foot .readout, .rc-why, .rc-conflict, .rc-name { text-wrap: pretty; }
.rc-fee__words > .rc-why { text-wrap: balance; } /* a slip's two-line reason breaks at its middle, never inside "check-in" */
/* a tall desk screen: the two cards take the room the target gives them (the key stays in view at 1366 × 768) */
@media (min-width: 900px) and (min-height: 860px) {
  .bento:not(.bento-one) .card.stack.df-card { gap: 22px; padding: 28px 24px 24px; }
  .bento:not(.bento-one) .df-foot { margin-right: -24px; margin-bottom: -24px; margin-left: -24px; padding: calc(18px + min(0px, var(--df-snap, 0px))) 24px calc(24px + max(0px, var(--df-snap, 0px))); }
  .bento:not(.bento-one) .df-roomf .gs-field__input { height: 72px; font-size: 34px; }
  .bento.df-form:not(.bento-one) .df-roomf .gs-field__input:placeholder-shown { font: 500 16px/1 var(--gs-font); letter-spacing: 0; } /* GSP-1c r3 #10: the hint stays at the field's own size on a tall desk (1920) */
  .bento:not(.bento-one) .df-steps .gs-step, .bento:not(.bento-one) .df-addon .gs-step { min-height: 56px; }
}
@media (max-width: 520px) { .df-room, .df-addon { grid-template-columns: minmax(0, 1fr); } .df-room > .df-when { padding-top: 0; } }
.df-veh__title { white-space: nowrap; }
@media (min-width: 641px) and (max-width: 900px) { .gs-scan__input::placeholder, .gs-scan__input:placeholder-shown { font-size: 14px; } } /* GSP-4a judge r1 #5: the scan hint fits whole at 768, never an ellipsis */

/* the handset: one column, the same pieces; the Check in bar keeps the folio line inside it, so nothing is covered */
.ck-form.df-form { gap: 8px; }
.ck-form .ck-row { gap: 8px; }
.ck-form .ck-row:not(.ck-acts) { align-items: flex-start; }
.ck-form .df-roomf .gs-field__input, .ck-form .rc-field .gs-field__input { height: 44px; } /* GSP-2: the docked panel keeps Payment above its foot at 1366 × 768 */
.ck-form > .df-roomnote { margin-top: -2px; }
.ck-form .df-when { flex-flow: row wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.ck-form .ck-row > .df-col, .ck-form .ck-stay > .df-roomf { flex: 1 1 0; }
.ck-form .ck-acts .gs-key { min-height: 44px; padding: 0 12px; font-size: 14px; }
.ck-form .ck-pull { flex: 1 1 auto; }
.ck-form .df-gear .ico { width: 18px; height: 18px; }
.ck-form .df-dates { font-size: 15px; }
.ck-form .df-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ck-form .df-grid3 > :first-child { grid-column: 1 / -1; }
.ck-form .df-foot { margin: 4px -6px 0; padding: 10px 6px 12px; border: 0; border-radius: 0; background: var(--gs-s1); box-shadow: 0 -1px 0 var(--gs-line); } /* solid, a hairline above, no fade */
.ck-form #bind-submit.df-go { min-height: 48px; }
.ck-form > .df-foot { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
.ck-form .df-total { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; } .ck-form .df-roomsum__num { font-size: 32px; line-height: 38px; } /* GSP-4c #5: Room in display numerals, the price line beside it */

/* GSP-1c · the Rate card (desk-rate.js): the code field beside its name and perks, the fee band, the stacker. Kit
 * tokens only — the emerald band is --gs-ok (do not collect); the collect band is neutral (--gs-edge) with its sum in cream:
 * a cluster hue is never a status (VERDICT §4 laws 1 · 6 — GSP-4c r2 #2); orange asks (ask · unknown). */
/* the field never moves: it is pinned top-left, the result sits to its right from the input's top edge (24 px = the label) */
.rc { display: grid; grid-template-columns: 152px minmax(0, 1fr); grid-template-areas: "f h" "r r"; align-items: start; gap: 8px 14px; min-width: 0; }
.rc > .rc-field { grid-area: f; }
.rc-field .gs-field__input { font-family: var(--gs-num); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rc-field .gs-field__input:placeholder-shown { font: 500 16px/1 var(--gs-font); letter-spacing: 0; text-transform: none; }
.rc-head { grid-area: h; display: grid; align-content: start; gap: 4px; min-width: 0; padding-top: 24px; }
.rc-why--rest { display: flex; align-items: center; min-height: 48px; }
.rc-rest { grid-area: r; display: grid; gap: 8px; min-width: 0; }
.rc-rest:empty { display: none; }
.rc-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; color: var(--gs-ink); font-size: 16px; font-weight: 700; line-height: 22px; overflow-wrap: anywhere; }
.rc-code { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border-radius: var(--gs-r1); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-edge); color: var(--gs-ink); font: 700 14px/1 var(--gs-num); letter-spacing: .04em; }
.rc-why { margin: 0; color: var(--gs-ink-2); font-size: 13px; font-weight: 500; line-height: 18px; }
.rc-perks { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-name > .rc-tag { margin-right: 4px; }
.rc-head > .rc-name > .rc-tag { flex: 1 0 100%; } /* GSP-1c r3 #10: the rate's name on its own line, so its perk pills share the next row whenever they fit */
.rc-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: var(--gs-pill); background: var(--gs-s3); box-shadow: inset 0 0 0 1px var(--gs-edge); color: var(--gs-ink); font-size: 13px; font-weight: 700; line-height: 16px; white-space: nowrap; } /* a pill wraps whole, never split */
.rc-pill[data-on="true"] { background: color-mix(in srgb, var(--gs-ok) 22%, var(--gs-s2)); box-shadow: inset 0 0 0 1px var(--gs-ok); }
.rc-pill--fee[data-fee="collect"] { background: color-mix(in srgb, var(--gs-money) 10%, var(--gs-s2)); box-shadow: inset 0 0 0 1px var(--gs-money); } /* GSP-4c r3 #5: money's cream edge, never Management amber */
.rc-pill--fee[data-fee="exempt"] { background: color-mix(in srgb, var(--gs-ok) 22%, var(--gs-s2)); box-shadow: inset 0 0 0 1px var(--gs-ok); }
.rc-fee { --rc-tone: var(--gs-edge); display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; border-radius: var(--gs-r2); background: color-mix(in srgb, var(--rc-tone) 16%, var(--gs-s1)); box-shadow: inset 0 0 0 1.5px var(--rc-tone); }
.rc-fee[data-verdict="exempt"] { --rc-tone: var(--gs-ok); }
.rc-fee .ico { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--rc-tone); }
.rc-fee__words { display: grid; gap: 2px; min-width: 0; }
.rc-line { color: var(--gs-ink); font-size: 16px; font-weight: 700; line-height: 22px; font-variant-numeric: tabular-nums; }
.rc-money { color: var(--gs-money); white-space: nowrap; } /* money is cream (VERDICT law 6): the slip's sum, a pill's price, a check's price */
:is(.df-form, .rc) .gs-dots { margin-left: -1.25em; } /* GSP-4c r2: the kit's clipped run (.gs-dots--clip) keeps its pull-left here — .readout and .rd-listed set margin 0 */
.ck-form .df-foot .readout { display: grid; margin-left: 0; clip-path: none; } .ck-form .df-foot .readout > * { margin-left: 0; } .ck-form .df-foot .readout > *::before { content: none; } /* the handset: one fact a line beside the room, no dots */
.rc-nw { white-space: nowrap; } /* "Hotel Service Fee" and "$84.36 for 6 nights" each wrap whole */
.rc-pill { gap: 5px; } /* "Paid parking" and its price: the flex box drops the word space */
.rc-next { color: var(--gs-ink); font-weight: 600; }
.rc-fee[data-verdict="unknown"] { --rc-tone: var(--gs-look); } /* the third slip: orange, a status disc, no fee number */
.rc-disc { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--rc-tone); color: var(--gs-bg); font: 800 14px/1 var(--gs-font); }
.rc-fee__words > .rc-tagger { margin-top: 6px; }
html:has(.ck-form) { scroll-padding-bottom: 168px; } /* a focused control scrolls clear of the handset's sticky foot */
.rc-conflict { margin: 0; padding: 2px 0 2px 10px; border-left: 3px solid var(--gs-look); color: var(--gs-ink); font-size: 13px; line-height: 18px; }
.rc-stack { display: grid; gap: 4px; padding: 2px 0 2px 12px; border-left: 2px solid var(--gs-line); } /* ONE quiet sub-list: the stays, then their total */
.rc-stack__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding-top: 6px; border-top: 1px solid var(--gs-line); }
.rc-stack__total { color: var(--gs-ink); font-size: 14px; font-weight: 700; line-height: 20px; font-variant-numeric: tabular-nums; }.rc-stay { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; }
.rc-stay .gs-step__num { min-width: 84px; font-size: 16px; white-space: nowrap; }
.rc-stay__name { min-width: 104px; color: var(--gs-ink-2); font-size: 14px; font-weight: 600; }
.rc-stay__ctl { display: flex; align-items: center; gap: 8px; min-width: 0; } /* the stepper and its Remove share one row */
@media (max-width: 520px) { .rc-stay:has(.rc-stay__ctl) { flex-direction: column; align-items: flex-start; gap: 4px; } }
.rc-stay__fixed { color: var(--gs-ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-add { justify-self: start; }
.rc-tagger, .rr-edit, .rr-pick { display: grid; gap: 10px; min-width: 0; }
.rc-tagger > .gs-key { justify-self: start; }
.rc-tpls { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px; padding: 3px; border-radius: var(--gs-r2); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-edge); }
.rc-tpl { display: grid; gap: 2px; min-height: 44px; padding: 6px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--gs-ink-2); font: inherit; text-align: left; cursor: pointer; }
.rc-tpl__tag { color: var(--gs-ink); font-size: 14px; line-height: 18px; }
.rc-tpl__sum { font-size: 12px; line-height: 16px; }
.rc-tpl:hover { background: var(--gs-s2); }
.rc-tpl[aria-checked="true"] { background: var(--gs-s3); box-shadow: var(--gs-lift-2), inset 0 0 0 1.5px var(--gs-hue); }
.rc-tpl:focus-visible, .rr-feeseg .gs-seg__opt:focus-visible { outline: 3px solid var(--gs-ring-c); }
.rc-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-form .rc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "f" "h" "r"; }
.ck-form .rc-head { padding-top: 0; }
.ck-form .rc-why--rest { min-height: 0; }
@media (max-width: 520px) { .rc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "f" "h" "r"; } .rc-head { padding-top: 0; } .rc-why--rest { min-height: 0; } }

/* GSP-1c · Policies · Rate rules (desk-rate-rules.js) */
.rr-card { display: grid; gap: 12px; }
.rr-card > p + p { margin-top: 0; }
.rr-hsf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.rr-hsf > .gs-field { flex: 0 1 260px; }
.rr-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rr-empty { color: var(--gs-ink-2); font-size: 14px; line-height: 20px; }
.rr-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: var(--gs-r2); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-line); }
.rr-main { display: grid; gap: 6px; min-width: 0; }
.diff-row > .diff-one { grid-column: 2 / -1; } /* a rate list's change is one sentence, not Before → After columns */
.rr-overlap { margin: 0; padding: 0 0 4px 14px; color: var(--gs-ink-2); font-size: 13px; line-height: 18px; }
.rr-how { border-radius: var(--gs-r2); }
.rr-how__sum { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--gs-r2); color: var(--gs-ink-2); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
.rr-how__sum::-webkit-details-marker { display: none; }
.rr-how__sum::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.rr-how[open] > .rr-how__sum::after { margin-top: 4px; transform: rotate(-135deg); }
.rr-how__sum:focus-visible { outline: 3px solid var(--gs-ring-c); }
.rr-sub { margin: 4px 0 0; color: var(--gs-ink); font-size: 14px; font-weight: 700; line-height: 20px; }
.rr-two { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 10px; }
.rr-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 12px; }
.rr-feeseg { display: flex; }
.rr-feeseg .gs-seg__opt { flex: 1 1 0; }
.rr-card > .gs-key { justify-self: start; }
@media (max-width: 520px) { .rr-item, .rr-two { grid-template-columns: minmax(0, 1fr); } }
