/* sk-tokens.css and sk-motion.css are linked beside this file (base.html), each with
   its own ?v= stamp. Never @import them: /static is served immutable for 30 days,
   so an unversioned @import URL keeps whatever copy a browser cached first. */
/* Shared UI metrics for the teacher app and the welcome demo. */
:root {
  --sk-font-sans: "Inter", "Noto Sans KR", "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif;
  --sk-font-mono: var(--sk-font-sans);
  --sk-sidebar-width: 260px;
  --sk-row-height: 32px;
  --sk-label-size: 14px;
  --sk-section-size: 12px;
  --sk-icon-size: 16px;
  --sk-icon-gap: 10px;
  --sk-body-size: 15px;
  --sk-body-leading: 1.6;
  --sk-content-width: 760px;
}
body, input, select, textarea, button { font-family: var(--sk-font-sans); }
.sidebar-shell, .HollyV2_shell { font-family: var(--sk-font-sans) !important; font-weight: 400; }
.sk-rail-header { display: flex; align-items: center; gap: 4px; min-height: 52px; padding: 0 12px; flex-shrink: 0; }
.sk-rail-brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.sk-rail-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; border: 0; background: transparent; color: var(--sk-muted); cursor: pointer; }
.sk-rail-icon svg { width: var(--sk-icon-size); height: var(--sk-icon-size); stroke-width: 1.5; }
.sk-rail-icon:hover { color: var(--sk-ink); background: color-mix(in srgb, var(--sk-ink) 5%, transparent); }
.sk-rail-row { display: flex; align-items: center; gap: var(--sk-icon-gap); width: 100%; min-width: 0; min-height: var(--sk-row-height); padding: 5px 12px; border: 0; background: transparent; color: inherit; text-align: left; font: 400 var(--sk-label-size)/22px var(--sk-font-sans); cursor: pointer; text-decoration: none; }
.sk-rail-row:hover { background: color-mix(in srgb, var(--sk-ink) 5%, transparent); }
.sk-rail-section { color: var(--sk-muted); font: 400 var(--sk-section-size)/20px var(--sk-font-sans); }
.sk-recents-head { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 0 8px 4px 12px; }
.sk-recents-filter { position: absolute; z-index: 75; left: 12px; right: 12px; padding: 12px; border: 1px solid var(--sk-hair); background: var(--sk-surface); box-shadow: 0 6px 20px #0002; color: var(--sk-ink); font: 400 12px/20px var(--sk-font-sans); }
.sk-recents-filter label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sk-recents-filter select { min-width: 0; flex: 1; width: 100%; color: var(--sk-ink); background: var(--sk-paper); border: 1px solid var(--sk-hair); padding: 4px; font: inherit; }
.sk-class-list { padding-left: 26px; }
.sk-class-list .sk-rail-row { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-school-logo { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.sk-school-initial { display: grid; place-items: center; background: #111; color: #fff; font-size: 13px; }
.sk-school-name { font: 400 12px/18px var(--sk-font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-school-subtitle { color: var(--sk-muted); font: 400 11px/16px var(--sk-font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-rail-account { flex: 1; min-width: 0; gap: 8px; cursor: pointer; }
.sk-rail-account > .min-w-0 { margin-left: 0; }
.sidebar-shell [hidden] { display: none !important; }
.sk-class-toggle { list-style: none; }
.sk-class-toggle::-webkit-details-marker { display: none; }
.sk-class-toggle::after { content: '›'; margin-left: auto; color: var(--sk-muted); }
details[open] > .sk-class-toggle::after { transform: rotate(90deg); }
  .sidebar-shell .rail-footer-app { display: flex; align-items: center; gap: 4px; min-height: 58px; padding: 8px 12px !important; }
  .sidebar-shell .rail-footer-app > div { margin-bottom: 0; }
  .sidebar-shell .sk-rail-account { justify-content: flex-start; }
  .sidebar-shell .sk-rail-icons { gap: 0; flex-shrink: 0; }
  .sidebar-shell .sk-rail-icons > :is(button, a, span) { width: 26px; height: 28px; }
  .sidebar-shell .sk-rail-icons svg { width: 16px; height: 16px; }
  .sidebar-shell [data-footer-extra] { display: none; }

@media (min-width: 1024px) {
  .app-layout > .ml-80 { margin-left: var(--sk-sidebar-width) !important; }
  .sidebar-shell { --sidebar-target-w: var(--sk-sidebar-width); }
  .sidebar-shell nav { padding: 4px 8px !important; scrollbar-width: none; }
  .sidebar-shell nav::-webkit-scrollbar, .HollyV2_messages::-webkit-scrollbar { display: none; }
  .sidebar-shell nav :is(button, a, [role="button"]):not(.sk-rail-icon):not(.sk-row-archive) { min-height: var(--sk-row-height); padding-top: 5px; padding-bottom: 5px; gap: var(--sk-icon-gap); font-size: var(--sk-label-size); font-weight: 400; line-height: 22px; letter-spacing: normal; }
  .sidebar-shell nav svg { width: var(--sk-icon-size); height: var(--sk-icon-size); flex-shrink: 0; }
  .sidebar-shell svg, .sidebar-shell svg * { stroke-width: 1.5; }
  .sidebar-shell :is(.font-bold, .font-semibold, .font-medium) { font-weight: 400; }
  .sidebar-shell [aria-current="page"], .sidebar-shell .sk-chat-row .font-semibold { font-weight: 600 !important; }
  .sidebar-shell .sk-chat-row { min-height: var(--sk-row-height); font-size: 14px; }
  .sidebar-shell .sk-chat-row > span { padding-top: 5px; padding-bottom: 5px; line-height: 22px; }
  .sidebar-shell .sk-row-archive { position: absolute; right: 0; top: 2px; width: 24px; height: 28px; background: var(--sk-surface-2); opacity: 0; pointer-events: none; }
  .sidebar-shell .sk-row-archive:nth-last-child(2) { right: 24px; }
  .sidebar-shell .sk-row-archive.sk-pin { right: 48px; }
  .sidebar-shell .sk-chat-row:is(:hover, :focus-within) .sk-row-archive { opacity: 1; pointer-events: auto; }
  .sidebar-shell .sk-chat-row:is(:hover, :focus-within) > button:first-child { padding-right: 76px; }
  .sidebar-shell:has(.sk-rail-brand > [style*="display: none"]) .rail-footer-app { justify-content: center; }
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-rail-header { flex-wrap: wrap; justify-content: center; padding: 8px; }
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-rail-brand { justify-content: center; flex: 0 0 100%; }
  html[data-sk-rail="collapsed"] .sidebar-shell .rail-footer-app { justify-content: center; }
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-rail-row { justify-content: center; }
  .sidebar-shell .sk-fly-item, .sidebar-shell .sk-fly-label { font: 400 14px/32px var(--sk-font-sans); }
  .sidebar-shell .sk-fly-head { font: 400 12px/16px var(--sk-font-sans); letter-spacing: normal; text-transform: none; }
}

.app-layout :is(.font-bold, .font-semibold, .font-medium) { font-weight: 400; }
.app-layout :is(h1, h2, h3, h4) { font-weight: 600; }
.app-layout .font-display { font-family: var(--sk-font-sans); }
@media (min-width: 1024px) {
  .app-layout[data-rail-state="collapsed"] .sk-rail-header { flex-wrap: wrap; justify-content: center; }
  .app-layout[data-rail-state="collapsed"] .sk-rail-brand { flex: 0 0 100%; justify-content: center; }
  .app-layout[data-rail-state="collapsed"] .rail-footer-app { justify-content: center; }
  .sidebar-shell nav [data-recent-more] { font-size: 12px; color: var(--sk-muted); }
}
@media (min-width: 1024px) {
  .sidebar-shell nav .sk-chat-row { padding: 0 !important; }
}
@media (min-width: 1024px) {
  .app-layout .sidebar-shell { margin: 0 !important; height: 100dvh !important; box-shadow: none !important; --tw-ring-shadow: 0 0 #0000; }
  .app-layout > .ml-28 { margin-left: 5rem !important; }
}
@media (min-width: 1024px) {
  .sidebar-shell nav > .sk-staff-nav { margin-top: 0 !important; }
}
.sidebar-shell .sk-row-archive[aria-pressed="true"] { opacity: 1; pointer-events: auto; color: #FF4D00; }
.app-layout :is(.font-mono, code, kbd, pre) { font-family: var(--sk-font-sans); }

/* Compact workspace choice; Desk remains the needs-attention destination. */
.sk-mode-switch { display:flex; margin:0 12px 12px; border:1px solid var(--sk-hair); }
.sk-mode-switch button { flex:1; min-width:0; padding:4px; border:0; background:transparent; color:var(--sk-muted); font:400 12px/20px var(--sk-font-sans); cursor:pointer; }
.sk-mode-switch button + button { border-left:1px solid var(--sk-hair); }
.sk-mode-switch button[aria-pressed='true'] { background:var(--sk-surface); color:var(--sk-ink); font-weight:600; }
.sk-account-avatar { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border-radius:50%; background:var(--sk-ink); color:var(--sk-paper); font:600 13px/1 var(--sk-font-sans); }
.sk-rail-menu { position:relative; }
/* POPOVER MENUS (09-29, copied from Claude.ai's menus): one look for every
   collapsed-rail flyout. 12px radius, hairline + soft shadow, 6px inset, 32px
   rows with an 8px-radius hover fill, a small muted label for a header (no rule
   under it), no visible scrollbar. The panel sits 6px off the rail; an
   invisible bridge on the trigger (below) keeps the hover alive across the gap. */
:root { --sk-pop-bg: var(--sk-surface, #fff); --sk-pop-line: rgba(31,30,29,.14); --sk-pop-shadow: 0 4px 16px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04); --sk-pop-hover: rgba(31,30,29,.06); --sk-pop-ink: var(--sk-ink, #1f1e1d); --sk-pop-muted: var(--sk-muted, #7d7a73); }
html[data-theme="dark"] { --sk-pop-bg: #2b2a28; --sk-pop-line: rgba(255,255,255,.10); --sk-pop-shadow: 0 8px 24px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.3); --sk-pop-hover: rgba(255,255,255,.07); --sk-pop-ink: #eceae5; --sk-pop-muted: #a6a39b; }
.sk-rail-fly { position:fixed; z-index:80; width:max-content; min-width:200px; max-width:min(280px, calc(100vw - 88px)); max-height:min(420px, calc(100vh - 16px)); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; padding:6px; background:var(--sk-pop-bg); color:var(--sk-pop-ink); border:1px solid var(--sk-pop-line); border-radius:12px !important; box-shadow:var(--sk-pop-shadow); }
.sk-rail-fly::-webkit-scrollbar { display:none; }
.sk-fly-heading { padding:6px 8px 4px; margin:0; color:var(--sk-pop-muted); font:400 12px/16px var(--sk-font-sans); border:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sk-fly-note { margin:0; padding:6px 8px; font:400 14px/20px var(--sk-font-sans); color:var(--sk-pop-muted); }
.sk-rail-fly .sk-rail-row, .sidebar-shell .sk-rail-fly .sk-rail-row { display:block; width:100%; min-height:32px !important; height:32px !important; padding:0 8px !important; border:0; border-radius:8px !important; background:transparent; color:var(--sk-pop-ink) !important; font:400 14px/32px var(--sk-font-sans) !important; text-align:left; white-space:nowrap !important; overflow:hidden; text-overflow:ellipsis; }
.sk-rail-fly .sk-rail-row:is(:hover, :focus-visible) { background:var(--sk-pop-hover) !important; outline:none; }
.sidebar-shell .holly-review-desk__count { font:600 10px/16px var(--sk-font-sans); border-radius:8px; }
.sidebar-shell .is-collapsed .holly-review-desk__count { position:absolute; left:calc(50% + 3px); top:0; min-width:16px; padding:0 3px; margin:0; }
@media(min-width:1024px) {
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-staff-nav > button,
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-staff-nav > a,
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-rail-menu > button,
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-staff-nav > .relative > button { display:flex; justify-content:center; width:100%; height:32px; padding:8px 0; gap:0; }
  html[data-sk-rail="collapsed"] .sidebar-shell .rail-footer-app { flex-direction:column; gap:8px; }
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-rail-account { flex:none; }
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-mode-switch { margin:0 4px 12px; }
}
@media(min-width:1024px) {
  .app-layout[data-rail-state='collapsed'] .sidebar-shell { overflow:visible; }
  .app-layout[data-rail-state='collapsed'] .sidebar-shell nav { overflow:visible; }
  .app-layout[data-rail-state='collapsed'] .sk-rail-collapsed > .sk-rail-menu { width:100%; }
  .app-layout[data-rail-state='collapsed'] .sk-rail-menu > [data-rail],
  .app-layout[data-rail-state='collapsed'] .sk-class-toggle { height:32px; justify-content:center; padding:8px 0; }
  .app-layout[data-rail-state='collapsed'] .sk-class-toggle::after { display:none; }
  .app-layout[data-rail-state='collapsed'] .sk-mode-switch { margin:0 4px 12px; }
}
/* Identity and count are the two round exceptions to square app chrome. */
.sk-account-avatar { border-radius:50% !important; }
.sidebar-shell .holly-review-desk__count { border-radius:8px !important; }
@media(min-width:1024px) {
  html[data-sk-rail="collapsed"] .sidebar-shell, .app-layout[data-rail-state='collapsed'] .sidebar-shell { z-index:121 !important; }
  /* The bridge: the pointer crosses the rail padding + the 6px gap to a popover
     without leaving its trigger, so the menu never drops mid-reach. */
  .sk-rail-menu:has(.sk-rail-fly:not([hidden]):not([style*='display: none']))::after,
  .app-layout[data-rail-state='collapsed'] .sidebar-shell .group\/menu:hover::after { content:''; position:absolute; top:0; bottom:0; right:-22px; width:24px; }
}
.sk-demo-identity { display:flex; align-items:center; gap:10px; margin:8px 0 20px; }
.sk-demo-identity small { display:block; color:var(--sk-muted); font-size:12px; }
.sk-theme-toggle { margin-left:auto; width:28px; height:16px; padding:2px; background:var(--sk-muted); }
.sk-theme-toggle::after { content:''; display:block; width:12px; height:12px; background:var(--sk-surface); }
[aria-checked='true'] .sk-theme-toggle { background:#FF4D00; }
[aria-checked='true'] .sk-theme-toggle::after { transform:translateX(12px); }
@media(min-width:1024px) {
  .app-layout[data-rail-state='collapsed'] .rail-footer-app { flex-direction:column; gap:8px; }
  .app-layout[data-rail-state='collapsed'] .sk-rail-account { flex:none; }
}
/* The 80px rail stacks the choice so Vietnamese labels fit without clipping. */
@media(min-width:1024px) {
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-mode-switch,
  .app-layout[data-rail-state='collapsed'] .sk-mode-switch { flex-direction:column; margin:0 8px 8px; }
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-mode-switch button,
  .app-layout[data-rail-state='collapsed'] .sk-mode-switch button { padding:3px 2px; line-height:18px; }
  html[data-sk-rail="collapsed"] .sidebar-shell .sk-mode-switch button + button,
  .app-layout[data-rail-state='collapsed'] .sk-mode-switch button + button { border-left:0; border-top:1px solid var(--sk-hair); }
}

/* Semantic foregrounds: colour conveys status without sacrificing small text.
   Accent fills keep the brand orange and use dark ink (including hover). */
/* ORANGE FILLS WITH TEXT ON THEM (Chris 10-13, WCAG 2.2 AA). White on the brand
   #FF4D00 is 3.33:1 and fails for button-size text, so an orange button with a
   label fills with a deeper brand-hue orange and white text: #CC3D00 is 4.96:1
   with white (AA at any size) and 3.53:1 against the dark ground (1.4.11);
   hover/active #B83700 is 5.86:1. Same in light and dark. #FF4D00 stays the
   accent for underlines, borders, icons and the logo — never a fill behind text.
   Used by the shared sk Button primary and every orange primary built on it.
   palette.contrast.test.js computes these ratios. */
:root {
  --sk-orange-fill: #cc3d00;
  --sk-orange-fill-hover: #b83700;
  --sk-on-orange-fill: #ffffff;
}
/* SMALL ORANGE TEXT (Chris 10-13): #FF4D00 on white is 3.33:1 and fails AA for
   body-size text. Orange words, links, error lines and eyebrows on a light ground
   use --sk-orange-text: #CC3D00 (4.96:1 on white). It lifts at night, where the
   deeper orange would sink (#FF7A3D is 5.1:1 on the darkest card). Large hero
   numbers (24px+) and icons may keep the brand #FF4D00 (3:1 is enough). */
:root { --sk-orange-text: #cc3d00; }
:root[data-theme='dark'] { --sk-orange-text: #ff7a3d; }
:root {
  --sk-on-accent: #111111;
  --sk-accent-hover: #e54700;
  --sk-accent-ink: #a83200;
  --sk-ok: #167342;
  --sk-warn: #805800;
  --sk-info: #245fba;
  --sk-danger: #b91c1c;
}
:root[data-theme='dark'] {
  --sk-accent-ink: #ff9466;
  --sk-ok: #73c795;
  --sk-warn: #e6c15a;
  --sk-info: #8cb8f4;
  --sk-danger: #ff9696;
}

/* The CLOSED Holly sheet waits at translateX(100%) — flush against the right edge —
   and its -24px/48px edge shadow bled into the viewport: a grey smudge down the right
   side of every app page. The shadow belongs to the open sheet only. */
#holly-curtain[aria-hidden="true"] { box-shadow: none !important; }
/* "Go to" (10-13): the app's own pages under the Holly rows. A small muted
   heading when wide, a hairline when collapsed — both keyed off the html
   data-sk-rail stamp, so the first frame is already the final one. */
.sk-go-head { margin-top: 16px; padding: 0 12px 2px; }
.sk-go-rule { display: block; height: 1px; background: var(--sk-hair, rgba(127,127,127,.25)); }
html[data-sk-rail="collapsed"] .sidebar-shell .sk-go-head { margin: 10px 12px 6px; padding: 0; }
.sk-go-list .sk-rail-row { color: var(--sk-muted); }
.sk-go-list .sk-rail-row:hover, .sk-go-list .sk-rail-row[aria-current="page"] { color: var(--sk-ink); }

/* THE SETTINGS PANEL (Chris 10-13, the hybrid): what the rail's gear opens.
   A small sheet on the right with the key settings; never Holly's chat.
   Square, ink on surface, the one orange only on the selected swatch ring. */
.sk-settings-layer { position: fixed; inset: 0; z-index: 1100; }
.sk-settings-scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.32); }
.sk-settings-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100vw);
  display: flex; flex-direction: column; outline: none;
  background: var(--sk-surface); color: var(--sk-ink);
  border-left: 1px solid var(--sk-hair); box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18);
  font-family: var(--sk-font-sans);
}
.sk-settings-enter, .sk-settings-leave { transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
/* MORE SETTINGS, IN PLACE (Chris 10-13): the same panel widens leftward (it is
   pinned to the right edge) to the full profile sections. A short ease-out, no
   overshoot; reduced motion jumps. Full width on a phone. */
.sk-settings-panel { transition: width 220ms cubic-bezier(.2,.8,.2,1); }
.sk-settings-panel.is-wide { width: min(1040px, calc(100vw - 96px)); }
@media (max-width: 767px) { .sk-settings-panel.is-wide { width: 100vw; } }
@media (prefers-reduced-motion: reduce) { .sk-settings-panel { transition: none; } }
.sk-settings-wide { flex: 1; overflow-y: auto; padding: 20px; }
.sk-settings-wide [data-profile-sections] { max-width: none; }
.sk-settings-wide-state { padding: 20px; color: var(--sk-muted); font-size: 13px; }
.sk-settings-less { height: 36px; padding: 0 12px 0 8px; border: 1px solid var(--sk-hair); border-radius: 0;
  background: transparent; color: var(--sk-ink); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.sk-settings-less:hover { border-color: var(--sk-ink); }
.sk-settings-head h2 { flex: 1; }
.sk-settings-from { transform: translateX(100%); }
.sk-settings-to { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .sk-settings-enter, .sk-settings-leave { transition: none; } }
.sk-settings-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--sk-hair); }
.sk-settings-head h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--sk-ink); }
.sk-settings-close { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--sk-hair);
  border-radius: 0; background: transparent; color: var(--sk-ink); cursor: pointer; }
.sk-settings-close:hover { border-color: var(--sk-ink); background: var(--sk-surface-2, var(--sk-paper)); }
.sk-settings-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.sk-settings-section { padding: 16px 0; border-bottom: 1px solid var(--sk-hair); }
.sk-settings-section:last-of-type { border-bottom: 0; }
.sk-settings-label { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--sk-muted); }
.sk-settings-name { display: flex; gap: 8px; }
.sk-settings-input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--sk-hair); border-radius: 0;
  background: var(--sk-paper); color: var(--sk-ink); font-size: 14px; }
.sk-settings-input:focus { outline: 2px solid var(--sk-ink); outline-offset: -1px; }
.sk-settings-btn, .sk-settings-choice { height: 36px; padding: 0 14px; border: 1px solid var(--sk-ink); border-radius: 0;
  background: var(--sk-surface); color: var(--sk-ink); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.sk-settings-btn:hover, .sk-settings-choice:hover { background: var(--sk-ink); color: var(--sk-paper); }
.sk-settings-btn:disabled, .sk-settings-choice:disabled { opacity: 0.5; cursor: not-allowed; }
.sk-settings-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-settings-choice { border-color: var(--sk-hair); }
.sk-settings-choice[aria-pressed="true"] { background: var(--sk-ink); color: var(--sk-paper); border-color: var(--sk-ink); }
.sk-settings-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sk-settings-swatch { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px; text-align: left;
  border: 1px solid var(--sk-hair); border-radius: 0; background: transparent; color: var(--sk-ink); font-size: 13px; cursor: pointer; }
.sk-settings-swatch:hover { border-color: var(--sk-ink); }
.sk-settings-swatch[aria-checked="true"] { border-color: var(--sk-ink); box-shadow: inset 0 0 0 1px var(--sk-ink); }
/* The chip paints its own theme: the rail strip on the left, the backdrop beside it. */
.sk-settings-chip { flex: 0 0 32px; height: 24px; display: flex; border: 1px solid var(--sk-hair);
  background: var(--ht-bg, var(--sk-paper)); background-size: cover; }
.sk-settings-chip > span { width: 9px; background: var(--ht-rail-bg, var(--sk-ink)); border-right: 1px solid var(--ht-rail-hair, transparent); }
.sk-settings-swatch[aria-checked="true"] .sk-settings-chip { outline: 2px solid var(--sk-accent); outline-offset: 1px; }
.sk-settings-swlabel { min-width: 0; line-height: 1.25; }
.sk-settings-status { margin: 8px 0 0; font-size: 12.5px; color: var(--sk-muted); }
.sk-settings-status:empty { display: none; }
.sk-settings-foot { padding: 14px 20px 18px; border-top: 1px solid var(--sk-hair); }
.sk-settings-more { display: flex; align-items: center; justify-content: flex-start; gap: 10px; height: 40px; padding: 0 14px;
  border: 1px solid var(--sk-ink); color: var(--sk-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.sk-settings-more:hover { background: var(--sk-ink); color: var(--sk-paper); }
.sk-settings-layer :focus-visible { outline: 2px solid var(--sk-ink); outline-offset: 2px; }
