/* Studio (studio-page.mjs; board 2026-11-07 Studio). The column is System's (system.css); the page is ours.
   Moving parts (the painting shimmer, the spinner) move by transform only, so they keep moving while the app works. */
.wl-studio-page { padding: 0 !important; overflow: hidden !important; background: var(--wl-bg); color: var(--wl-text); font-family: var(--wl-font-ui); font-size: var(--t-ui); }
body.wb-shell .wl-studio-page :is(button, [tabindex]):focus-visible { outline: 2px solid var(--wl-selection); outline-offset: 2px; }
.wl-studio-page .wl-sys-frame, .wl-studio-page .wl-sys-main { height: 100%; }
/* The Hub's Studio on smaller screens: slide-over filter panel + quick category toggle so All/Pictures/People/Places/Maps never disappear. */
.wl-sys-frame.st-hub-frame { position: relative; }
.wl-sys-frame.st-hub-frame.is-bare { grid-template-columns: minmax(0, 1fr); }
.st-hub-backdrop { display: none; }
body .wl-studio-page .st-col-toggle { display: none; }
@media (max-width: 860px) {
  body .wl-studio-page .st-col-toggle { display: inline-flex; padding: 0 10px; }
  body .wl-studio-page .st-col-toggle > span:not(.wt-glyph) { display: none; }
  .wl-sys-frame.st-hub-frame { grid-template-columns: minmax(0, 1fr); }
  .wl-sys-frame.st-hub-frame > .st-hub-backdrop {
    display: block; position: absolute; inset: 0; z-index: 14;
    background: rgb(0 0 0 / .52); backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity var(--wl-short, 180ms) var(--wl-ease, ease), visibility 0s linear var(--wl-short, 180ms);
  }
  .wl-sys-frame.st-hub-frame.is-nav-open > .st-hub-backdrop {
    opacity: 1; pointer-events: auto; visibility: visible;
    transition: opacity var(--wl-short, 180ms) var(--wl-ease, ease), visibility 0s linear 0s;
  }
  .wl-sys-frame.st-hub-frame > .wl-studio-column {
    position: absolute; top: 0; bottom: 0; left: 0; z-index: 15;
    width: min(268px, 82vw); max-width: 100%;
    background: var(--wl-frame-bg, var(--wl-surface)) !important;
    border-right: 1px solid var(--wl-sheet-line, var(--wl-line)) !important;
    box-shadow: var(--wl-elev-pop) !important;
    transform: translateX(-104%); visibility: hidden; pointer-events: none;
    transition: transform var(--wl-short, 180ms) var(--wl-ease-out, ease-out), visibility 0s linear var(--wl-short, 180ms);
  }
  .wl-sys-frame.st-hub-frame.is-nav-open > .wl-studio-column {
    transform: translateX(0); visibility: visible; pointer-events: auto;
    transition: transform var(--wl-short, 180ms) var(--wl-ease-out, ease-out), visibility 0s linear 0s;
  }
}
.wl-studio-page button { font: inherit; color: inherit; }
.wl-studio-page .wt-glyph { display: inline-grid; place-items: center; flex: none; }
.wl-studio-page svg { width: 16px; height: 16px; flex: none; }
.st-page { position: relative; display: flex; height: 100%; min-height: 0; }
.st-main { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.st-main::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--wl-bg) 94%, transparent)); pointer-events: none; z-index: 2; }

/* Top: search, sort */
.st-top { display: flex; align-items: center; gap: 8px; padding: 16px 28px 6px; flex: none; }
.st-search { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; height: var(--wl-control); padding: 0 12px; border: 1px solid var(--wl-line); border-radius: var(--r-md); background: var(--wl-inset); color: var(--wl-text-3); transition: border-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-search:focus-within { border-color: var(--wl-line-strong); outline: 2px solid var(--wl-selection); outline-offset: 2px; }
body.wb-shell .st-search input:focus-visible { outline: none; }
body .st-search input { flex: 1; min-width: 0; height: auto; border: 0; background: none; color: var(--wl-text); font: inherit; font-size: 13.5px; outline: none; box-shadow: none; padding: 0; }
.st-search input::placeholder { color: var(--wl-text-3); }
.st-count { font-family: var(--wl-font-mono); font-size: var(--t-help); color: var(--wl-text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
body .wl-studio-page .st-btn { display: inline-flex; align-items: center; gap: 7px; height: var(--wl-control); padding: 0 13px; border: 1px solid var(--wl-line-strong); border-radius: var(--r-md); background: var(--wl-surface); color: var(--wl-text-2); font-size: var(--t-ui); font-weight: 500; white-space: nowrap; box-shadow: none; cursor: pointer; transition: background-color var(--wl-quick, 120ms) var(--wl-ease, ease), color var(--wl-quick, 120ms) var(--wl-ease, ease), transform var(--wl-quick, 120ms) var(--wl-ease, ease); }
body .wl-studio-page .st-btn:hover { background: var(--wl-raised); color: var(--wl-text); }
body .wl-studio-page .st-btn:active { transform: scale(.97); }
body .wl-studio-page .st-btn svg { width: 15px; height: 15px; }
body .wl-studio-page .st-btn.is-primary { background: var(--wl-accent); border-color: transparent; color: var(--wl-on-accent); }
body .wl-studio-page .st-btn.is-primary:hover { background: color-mix(in srgb, var(--wl-accent) 84%, var(--wl-text)); color: var(--wl-on-accent); }
body .wl-studio-page .st-btn.is-danger-fill { background: var(--wl-danger); border-color: transparent; color: var(--wl-on-accent); }
body .wl-studio-page .st-btn.is-danger-fill:hover { background: color-mix(in srgb, var(--wl-danger) 84%, var(--wl-text)); color: var(--wl-on-accent); }
body .wl-studio-page .st-btn.is-small { height: 28px; padding: 0 10px; border-radius: var(--r-md); font-size: var(--t-help); }
.st-chev svg { width: 12px !important; height: 12px !important; opacity: .7; }
body .wl-studio-page .st-ib { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-sm); background: none; color: var(--wl-text-2); flex: none; box-shadow: none; cursor: pointer; transition: background-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
body .wl-studio-page .st-ib:hover:not(:disabled) { background: var(--wl-raised); color: var(--wl-text); }
body .wl-studio-page .st-ib:disabled { opacity: .35; cursor: default; }
body .wl-studio-page .st-ib.is-danger { color: var(--wl-danger); }
.st-ib-gap { width: 32px; }
.st-grow { flex: 1 1 auto; }
body .wl-studio-page .st-link, body .st-queue .st-link { display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 0; border: 0; background: none; box-shadow: none; color: var(--wl-text-2); font-size: var(--t-help); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); cursor: pointer; }

/* The grid */
.st-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 4px 28px 190px; scrollbar-gutter: stable; }
.st-group { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; }
.st-group h3 { margin: 0; color: var(--wl-text-3); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.st-group > span { color: var(--wl-text-3); font-family: var(--wl-font-mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.st-jrow { display: flex; gap: 12px; margin-bottom: 14px; }
.st-tile { position: relative; margin: 0; min-width: 0; flex: none; animation: wl-fade var(--wl-short, 220ms) var(--wl-ease-out, ease-out); }
body .wl-studio-page .st-pic { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-md); background: var(--wl-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wl-text) 6%, transparent); cursor: pointer; }
.st-pic img, .st-pic video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--wl-base, 180ms) var(--wl-ease-out, ease-out); }
.st-pic img:not([src]) { visibility: hidden; }
/* A cut-out (Remove background) shows all of itself, on the checks that say "see-through" */
.st-tile.is-cutout .st-pic, .st-picture.is-cutout img { background: repeating-conic-gradient(color-mix(in srgb, var(--wl-text) 6%, transparent) 0 25%, transparent 0 50%) 0 0 / 16px 16px, var(--wl-surface); }
.st-tile.is-cutout .st-pic img { object-fit: contain; }
body .wl-studio-page .st-pic:hover img, body .wl-studio-page .st-pic:hover video { transform: scale(1.025); }
body .wl-studio-page .st-pic:focus-visible { outline: 2px solid var(--wl-selection); outline-offset: 2px; }
.st-video-mark { position: absolute; left: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--wl-bg) 62%, transparent); color: var(--wl-text); }
.st-video-mark svg { width: 12px; height: 12px; fill: currentColor; }
body .wl-studio-page .st-more { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 28px; height: 24px; padding: 0; border: 0; border-radius: var(--r-sm); background: color-mix(in srgb, var(--wl-bg) 62%, transparent); backdrop-filter: blur(8px); color: var(--wl-text); box-shadow: none; opacity: 0; cursor: pointer; transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-tile:hover .st-more, .st-more:focus-visible, .st-more[aria-expanded="true"] { opacity: 1; }
/* A character's faces as one stack: the edges of the faces under the top one, and the count. Open, its faces follow
   it with a quiet line under each, so the set reads as one. */
.st-tile.is-stack .st-pic { box-shadow: 5px -5px 0 -1px var(--wl-surface), 5px -5px 0 0 var(--wl-line-strong), 10px -10px 0 -2px var(--wl-surface), 10px -10px 0 -1px var(--wl-line); }
.st-tile.is-stack.is-open .st-pic { box-shadow: none; outline: 2px solid var(--wl-selection); outline-offset: 2px; }
.st-stack-count { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: color-mix(in srgb, #000 62%, transparent); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
body .wl-studio-page .st-stack-fold { bottom: auto; border: 0; cursor: pointer; }
body .wl-studio-page .st-stack-fold:hover { background: color-mix(in srgb, #000 78%, transparent); }
.st-stack-count svg { width: 13px !important; height: 13px !important; }
.st-stack-word { flex: none; }
.st-tile.is-in-stack figcaption b { color: var(--wl-text-2); }
.st-tile.is-in-stack figcaption { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--wl-selection) 55%, transparent); padding-bottom: 6px; }
.st-tile figcaption { display: flex; align-items: center; gap: 6px; padding: 7px 2px 0; min-width: 0; }
.st-tile figcaption b { font-size: 12.5px; font-weight: 500; color: var(--wl-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-made-mark { color: var(--wl-text-3); }
.st-made-mark svg { width: 12px; height: 12px; }
.st-quiet { margin: 24px 0; color: var(--wl-text-3); }
.st-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 80px auto; max-width: 360px; text-align: center; }
.st-empty strong { font-size: var(--t-body); font-weight: 600; }
.st-empty p { margin: 0; color: var(--wl-text-3); font-size: var(--t-ui); line-height: 1.5; }

/* What is being made */
.st-making { margin: 14px 0 6px; padding: 12px 14px 14px; border: 1px solid color-mix(in srgb, var(--wl-selection) 38%, var(--wl-line)); border-radius: var(--r-lg); background: var(--wl-selection-soft); animation: wl-in var(--wl-base, 180ms) var(--wl-ease-out, ease-out); }
.st-making.is-done { border-color: var(--wl-line); background: var(--wl-surface); }
.st-making-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.st-making-head h3 { margin: 0; flex: none; color: var(--wl-text); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.st-making-head p { flex: 1 1 auto; min-width: 0; margin: 0; color: var(--wl-text-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-slots, .st-drafts-row { display: flex; flex-wrap: wrap; gap: 12px; }
.st-slot { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-md); background: var(--wl-surface); border: 1px dashed var(--wl-line-strong); color: var(--wl-text-3); font-size: var(--t-help); }
.st-slot > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; }
.is-painting .st-slot { border-style: solid; border-color: var(--wl-line); color: var(--wl-text-2); }
.is-painting .st-slot::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--wl-selection) 22%, transparent) 50%, transparent); animation: st-sweep 1.8s var(--wl-ease, ease) infinite; }
.is-failed .st-slot { border-style: solid; border-color: color-mix(in srgb, var(--wl-danger) 40%, var(--wl-line)); color: var(--wl-danger); }
/* Drafts (D-170): Keep and ✕ under each, what became of it once decided, and the group's note. */
.st-making-head .st-btn { flex: none; }
.st-draft-acts { display: flex; gap: 6px; margin-top: 8px; }
.st-draft-acts:empty { display: none; }
body .wl-studio-page .st-draft-acts .st-btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
body .wl-studio-page .st-draft-acts .st-btn.st-draft-x { flex: none; width: 28px; padding: 0; }
.st-kept { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; box-sizing: border-box; border: 1px solid var(--wl-line); border-radius: var(--r-md); color: var(--wl-text-2); font-size: var(--t-help); font-weight: 500; }
.st-kept svg { width: 14px; height: 14px; }
.st-slot-tile.is-kept .st-pic { outline: 2px solid color-mix(in srgb, var(--wl-success) 70%, transparent); outline-offset: 2px; }
.st-slot-tile.is-discarded .st-slot { color: var(--wl-text-3); }
.st-making .st-making-note { margin: 12px 0 0; }
.st-tile .st-draft-for { padding: 6px 2px 0; color: var(--wl-text-3); font-size: 12px; }
.st-draft-group + .st-draft-group { margin-top: 14px; }
@keyframes st-sweep { to { transform: translateX(267%); } }
.st-spin svg { animation: st-spin .9s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }

/* The bar */
.st-bar { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(780px, calc(100% - 48px)); padding: 9px 9px 9px 14px; border: 1px solid var(--wl-line-strong); border-radius: var(--r-xl); background: var(--wl-surface); box-shadow: var(--wl-elev-pop), 0 18px 40px -18px color-mix(in srgb, var(--wl-bg) 70%, transparent); z-index: 3; transition: border-color var(--wl-quick, 120ms) var(--wl-ease, ease), box-shadow var(--wl-quick, 120ms) var(--wl-ease, ease); }
/* Boris's orb (bottom right) never sits on the bar: the bar keeps clear of it on both sides, so it stays centred */
.st-main > .st-bar { width: min(780px, calc(100% - 160px)); }
/* The Hub's bar has one more pill (the project), so it is a little wider */
.st-main > .st-bar:has(.st-into-pill) { width: min(920px, calc(100% - 160px)); }
.st-bar:focus-within { border-color: color-mix(in srgb, var(--wl-selection) 55%, var(--wl-line-strong)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wl-selection) 16%, transparent), var(--wl-elev-pop); }
.st-bar-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.st-in { color: var(--wl-text-3); font-size: 11.5px; margin-right: 2px; }
/* The Hub's bar (D-170): which project it makes in, and a word that the window opens that project */
.st-into-note { display: inline-flex; align-items: center; gap: 6px; height: 24px; }
.st-into-note svg { width: 13px; height: 13px; }
.st-into-pill > span:not(.wt-glyph) { max-width: 180px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.st-ref, .st-ctx { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 4px 0 3px; border-radius: 999px; background: var(--wl-raised); color: var(--wl-text-2); font-size: 11.5px; font-weight: 500; animation: wl-fade var(--wl-short, 220ms) var(--wl-ease-out, ease-out); }
.st-ref img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
body .wl-studio-page .st-ref-x { display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: var(--wl-text-3); cursor: pointer; }
.st-ref-x svg { width: 11px !important; height: 11px !important; }
.st-ctx svg { width: 13px; height: 13px; }
/* The maker bar's + (add who or where is in it): a round button that starts its row */
body .wl-studio-page .st-bar .st-add { width: 30px; height: 30px; border: 1px solid var(--wl-line); border-radius: 50%; color: var(--wl-text-2); }
body .wl-studio-page .st-bar .st-add:hover { border-color: var(--wl-line-strong); }
.st-add svg { width: 15px; height: 15px; }
/* A shape's own outline in its chip (studio-kit.mjs shapeMark) */
.st-shape-mark { flex: none; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 2px; }
/* Who paints: the name shortens when room is short, the price never does */
.st-painter > .st-painter-name { min-width: 0; }
.st-painter > .st-price { flex: none; overflow: visible; color: var(--wl-text-2); }
.st-painter > .st-price::before { content: "·"; margin-right: 6px; color: var(--wl-text-3); }
/* The bar's row fits the bar's own width, whatever the window (a tablet with Studio's list open makes it narrow) and
   whatever the names: studio-kit.mjs fitBar measures it and takes the first step at which no words are cut, so
   nothing is squeezed or overlaps. 1 the small arrows go and the kind shows its mark; 2 the painter shows its price
   alone; 3 the shape, the style and the project show their marks and the drafts their number; 4 the painter steps out;
   5 the kind steps out; 6 Make shows its mark. Each name stays in its button's label and its menu. */
.st-bar-row > :is(.st-kind, .st-shape, .st-drafts-pill) { flex: none; }
.st-bar.fit-1 .st-bar-row > .st-pill > .st-chev,
.st-bar.fit-1 .st-bar-row > .st-kind > span:not(.wt-glyph) { display: none; }
.st-bar.fit-2 .st-painter > .st-painter-name { display: none; }
.st-bar.fit-2 .st-painter > .st-price::before { content: none; }
.st-bar.fit-3 .st-bar-row > .st-style-pill { flex: none; }
.st-bar.fit-3 .st-bar-row > :is(.st-style-pill, .st-shape, .st-into-pill) > span:not(.wt-glyph):not(.st-dot):not(.st-shape-mark),
.st-bar.fit-3 .st-drafts-pill .st-word { display: none; }
body .wl-studio-page .st-bar.fit-4 .st-bar-row > .st-painter,
body .wl-studio-page .st-bar.fit-5 .st-bar-row > .st-kind,
body .wl-studio-page .st-bar.fit-6 .st-make > span:not(.wt-glyph) { display: none; }
body .wl-studio-page .st-bar.fit-6 .st-make { padding: 0 9px; }
/* The row over the pictures fits the same way (studio-page.mjs drawTop): 1 the count goes; 2 the search's hint
   shortens to "Search pictures"; 3 sort and Select show their marks. */
.st-top.fit-1 .st-count,
.st-top.fit-3 .st-btn > span:not(.wt-glyph) { display: none; }
.st-ctx { padding: 0 9px 0 8px; max-width: 100%; }
.st-ctx > .wt-glyph { flex: none; }
.st-ctx > span:not(.wt-glyph) { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* As tall as its words, or its hint when empty (the browser sizes it), up to 160px */
body .wl-studio-page textarea.st-bar-input { display: block; width: 100%; field-sizing: content; min-height: 36px; max-height: 160px; margin: 0; padding: 6px 4px 6px 0; border: 0; background: none; box-shadow: none; outline: none; resize: none; color: var(--wl-text); font: inherit; font-size: 14px; line-height: 1.5; }
.st-bar-input::placeholder { color: var(--wl-text-3); }
body.wb-shell .wl-studio-page textarea.st-bar-input:focus-visible { outline: none; }
.st-bar-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
body .wl-studio-page .st-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 9px; border: 1px solid var(--wl-line); border-radius: var(--r-md); background: none; box-shadow: none; color: var(--wl-text-2); font-size: var(--t-help); font-weight: 500; white-space: nowrap; cursor: pointer; min-width: 0; }
body .wl-studio-page .st-pill:hover { background: var(--wl-raised); color: var(--wl-text); }
.st-pill > span:not(.wt-glyph) { overflow: hidden; text-overflow: ellipsis; }
.st-pill svg { width: 14px; height: 14px; }
body .wl-studio-page .st-pill.is-quiet { border-color: transparent; color: var(--wl-text-3); }
/* Short of room, only the painter's long name shortens; the shape and drafts stay whole */
.st-bar-row > .st-pill { flex: none; }
.st-bar-row > .st-pill.is-quiet { flex: 0 1 auto; }
.st-pill > .st-price { flex: none; margin-left: -2px; overflow: visible; }
.st-price { font-family: var(--wl-font-mono); font-variant-numeric: tabular-nums; }
body .wl-studio-page .st-make { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px 0 12px; border: 0; border-radius: var(--r-md); background: var(--wl-accent); color: var(--wl-on-accent); box-shadow: none; font-size: var(--t-ui); font-weight: 600; flex: none; cursor: pointer; transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease), transform var(--wl-quick, 120ms) var(--wl-ease, ease); }
body .wl-studio-page .st-make:hover:not(:disabled) { background: color-mix(in srgb, var(--wl-accent) 84%, var(--wl-text)); }
body .wl-studio-page .st-make:active:not(:disabled) { transform: scale(.97); }
body .wl-studio-page .st-make:disabled { opacity: .4; cursor: default; }
.st-make svg { width: 15px; height: 15px; }
.st-bar-note { display: block; margin: 6px 2px 0; color: var(--wl-danger); font-size: 12px; }

/* The column's foot */
.st-queue { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--wl-line); border-radius: var(--r-md); box-sizing: border-box; }
.st-queue-words { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-queue strong { font-size: 12.5px; font-weight: 600; color: var(--wl-text); }
.st-queue-words span { font-size: 11.5px; color: var(--wl-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-queue.is-busy { border-color: color-mix(in srgb, var(--wl-selection) 45%, var(--wl-line)); background: var(--wl-selection-soft); }
.st-queue.is-busy > .wl-sys-glyph { color: var(--wl-selection); }
.st-queue.is-busy > .wl-sys-glyph svg { animation: st-spin .9s linear infinite; }

/* An open picture */
.st-page.st-open { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr); }
.st-page.st-open::after { display: none; }
.st-stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; background: radial-gradient(80% 70% at 50% 45%, color-mix(in srgb, var(--wl-surface) 70%, var(--wl-bg)), var(--wl-bg)); animation: wl-fade var(--wl-short, 220ms) var(--wl-ease-out, ease-out); }
.st-stage-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; flex: none; }
.st-pager { display: flex; align-items: center; gap: 4px; color: var(--wl-text-2); font-family: var(--wl-font-mono); font-size: var(--t-help); font-variant-numeric: tabular-nums; }
.st-picture { flex: 1 1 auto; min-height: 0; display: grid; place-items: center; padding: 10px 40px 150px; }
.st-picture img, .st-picture video { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--wl-bg) 80%, transparent); }
.st-drafts:not([hidden]) ~ .st-bar { bottom: 16px; }
.st-stage:has(.st-drafts:not([hidden])) .st-picture { padding-bottom: 8px; }
.st-drafts { flex: none; padding: 4px 40px 150px; }
.st-drafts-head { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto 10px; }
.st-drafts-head b { font-size: 13px; font-weight: 600; }
.st-drafts-head span { flex: 1; min-width: 0; color: var(--wl-text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-drafts-row { justify-content: center; }
.st-keep { margin-top: 6px; width: 100%; justify-content: center; }
.st-drafts > .st-note { text-align: center; margin-top: 10px; }
.st-stage .st-bar { width: min(640px, calc(100% - 48px)); }
/* Boris's button floats in the window's corner: the details' foot sits above it. */
.st-details { border-left: 1px solid var(--wl-line); background: var(--wl-surface); padding: 20px 20px 84px; display: flex; flex-direction: column; min-height: 0; overflow: auto; }
.st-d-head { display: flex; align-items: flex-start; gap: 8px; }
.st-d-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.st-d-head b { font-size: var(--t-h3); font-weight: 600; overflow-wrap: anywhere; }
.st-d-head span { color: var(--wl-text-3); font-size: 12px; }
/* The name renames in place: a click makes it a field (the pencil shows on hover, always on touch). */
.st-d-head .st-d-name { flex: none; display: block; min-width: 0; }
/* A collection's name over its pictures renames the same way (studio-page.mjs drawSetHead). */
:is(.st-d-head, .st-set-head) .st-name { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% + 12px); margin: -3px -6px; padding: 3px 6px; border-radius: var(--r-sm); cursor: text; transition: background-color var(--wl-quick) var(--wl-ease); }
:is(.st-d-head, .st-set-head) .st-name:hover { background: var(--wl-raised); }
:is(.st-d-head, .st-set-head) .st-name:focus-visible { outline: 2px solid var(--wl-selection); outline-offset: 1px; }
:is(.st-d-head, .st-set-head) .st-name-pen { display: inline-flex; flex: none; color: var(--wl-text-3); opacity: 0; transition: opacity var(--wl-quick) var(--wl-ease); }
:is(.st-d-head, .st-set-head) .st-name-pen svg { width: 13px; height: 13px; }
:is(.st-d-head, .st-set-head) .st-name:is(:hover, :focus-visible) .st-name-pen { opacity: 1; }
@media (hover: none) { :is(.st-d-head, .st-set-head) .st-name-pen { opacity: .75; } }
body .wl-studio-page input.st-name-input { box-sizing: border-box; width: calc(100% + 12px); height: 32px; margin: -4px -6px; padding: 0 6px; border: 1px solid color-mix(in srgb, var(--wl-selection) 55%, var(--wl-line)); border-radius: var(--r-sm); background: var(--wl-inset); color: var(--wl-text); font: inherit; font-size: var(--t-h3); font-weight: 600; box-shadow: none; }
body .wl-studio-page input.st-name-input:focus { border-color: var(--wl-selection); outline: none; }
.st-d-group { margin: 20px 0 8px; color: var(--wl-text-3); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.st-words { margin: 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--wl-inset); border: 1px solid var(--wl-line); color: var(--wl-text-2); font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
.st-kv { display: grid; grid-template-columns: 64px 1fr; gap: 9px 10px; margin: 12px 0 0; align-items: center; }
.st-kv dt { color: var(--wl-text-3); font-size: 12px; }
.st-kv dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--wl-text-2); font-size: 12.5px; }
body .wl-studio-page .st-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 4px; border: 0; border-radius: 999px; background: var(--wl-raised); box-shadow: none; color: var(--wl-text); font-size: 12px; cursor: pointer; }
.st-chip:not(:has(img)) { padding-left: 9px; }
.st-chip img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.st-note { margin: 0; color: var(--wl-text-3); font-size: 12px; line-height: 1.5; }
.st-uses { display: flex; flex-direction: column; gap: 2px; }
body .wl-studio-page .st-uses button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; height: auto; padding: 6px 6px 6px 4px; border: 0; border-radius: var(--r-md); background: none; box-shadow: none; text-align: left; cursor: pointer; }
body .wl-studio-page .st-uses button:hover { background: var(--wl-raised); }
.st-u-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--wl-raised); color: var(--wl-text-2); flex: none; }
.st-uses button > span:not(.st-u-ic):not(.wt-glyph) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.st-uses b { font-size: 12.5px; font-weight: 500; }
.st-uses small { font-size: 11.5px; color: var(--wl-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-uses button > .wt-glyph:last-child { color: var(--wl-text-3); }
.st-uses button > .wt-glyph:last-child svg { width: 14px; height: 14px; }
.st-d-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.st-d-actions .st-btn { flex: 1; justify-content: center; }
.st-d-actions.is-second { margin-top: 8px; }
.st-d-actions .st-price { margin-left: -3px; }
.st-d-note { min-height: 18px; margin: 10px 0 0; color: var(--wl-text-2); font-size: 12.5px; display: flex; gap: 10px; align-items: center; }
.st-d-note.is-error { color: var(--wl-danger); }
.st-d-foot { display: flex; align-items: center; gap: 2px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--wl-line); }
.st-confirm { margin-top: 12px; padding: 12px; border: 1px solid color-mix(in srgb, var(--wl-danger) 40%, var(--wl-line)); border-radius: var(--r-md); background: color-mix(in srgb, var(--wl-danger) 8%, var(--wl-surface)); animation: wl-in var(--wl-base, 180ms) var(--wl-ease-out, ease-out); }
.st-confirm b { font-size: 13px; }
.st-confirm p { margin: 4px 0 10px; color: var(--wl-text-2); font-size: 12.5px; line-height: 1.5; }
.st-confirm-row { display: flex; gap: 8px; justify-content: flex-end; }

/* Who and where is in it: the game's picker (game-polish.css), outside a game */
.st-picker { --wg-line: var(--wl-line); }

/* Tablet: a narrower details column */
@media (max-width: 1100px) {
  .st-page.st-open { grid-template-columns: minmax(0, 1fr) 300px; }
  .st-picture { padding-left: 24px; padding-right: 24px; }
}
/* Phone: chips for the column, the picture over its details */
.st-chiprow { display: flex; gap: 6px; padding: 12px 16px 2px; overflow-x: auto; flex: none; scrollbar-width: none; }
body .wl-studio-page .st-chip-filter { flex: none; height: 30px; padding: 0 12px; border: 1px solid var(--wl-line); border-radius: var(--r-md); background: none; box-shadow: none; color: var(--wl-text-2); font-size: 12.5px; cursor: pointer; }
body .wl-studio-page .st-chip-filter.is-on { background: var(--wl-selection-soft); border-color: color-mix(in srgb, var(--wl-selection) 55%, transparent); color: var(--wl-text); font-weight: 600; }
@media (max-width: 720px) {
  .st-top { padding: 10px 16px 4px; }
  .st-top .st-btn > span:not(.wt-glyph) { display: none; }
  .st-count { display: none; }
  .st-d-actions .st-price { display: none; }
  .st-scroll { padding: 0 16px 200px; }
  .st-bar, .st-main > .st-bar, .st-main > .st-bar:has(.st-into-pill) { width: calc(100% - 20px); bottom: 10px; padding: 8px 8px 8px 12px; }
  /* No room beside the bar on a phone: the orb rises over it, as it does over the map's tools (the bar's
     height comes from studio-page.mjs) */
  .wl-workspace.is-page-studio:has(.st-main > .st-bar) button.wt-orbis-orb { bottom: calc(var(--st-bar-h, 150px) + 18px); }
  body .wl-studio-page .st-bar .st-add { width: 34px; height: 34px; }
  body .wl-studio-page .st-bar .st-make { padding: 0 12px 0 10px; }
  /* A little bigger to read and tap on a phone */
  .st-bar .st-bar-row { gap: 5px; }
  body .wl-studio-page .st-bar .st-bar-row > .st-pill { height: 34px; padding: 0 9px 0 10px; font-size: 13px; }
  .st-bar .st-bar-row > .st-pill svg { width: 16px; height: 16px; }
  .st-page.st-open { display: flex; flex-direction: column; overflow: auto; }
  .st-page.st-open .st-stage { flex: none; height: 62vh; }
  .st-picture { padding: 6px 16px 120px; }
  .st-drafts { padding: 4px 16px 120px; }
  .st-making-head { flex-wrap: wrap; row-gap: 8px; }
  .st-making-head h3 { flex-basis: 100%; }
  .st-making-head p { order: 2; flex-basis: 100%; }
  .st-making-head .st-btn { order: 3; }
  .st-page.st-open .st-details { border-left: 0; border-top: 1px solid var(--wl-line); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 16px; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .st-tile, .st-making, .st-stage, .st-ref, .st-confirm { animation: none; }
  .is-painting .st-slot::before, .st-spin svg, .st-queue.is-busy > .wl-sys-glyph svg { animation: none; }
  .st-pic img, .st-pic video { transition: none; }
}

/* ---- Studio rebuilt (D-168): projects, selecting, styles, Fill pictures ---- */
/* The column: projects with their covers, a hide toggle on hover in place of the count (the title bar goes back to
   the Hub) */
.st-project-mark { display: grid; place-items: center; width: 18px; height: 18px; flex: none; overflow: hidden; border-radius: var(--r-xs); background: var(--wl-raised); color: var(--wl-text-3); }
.st-project-mark img { width: 100%; height: 100%; object-fit: cover; }
.st-project-mark svg { width: 12px !important; height: 12px !important; }
.wl-studio-column .wl-sys-row:has(.st-row-eye) { position: relative; }
.st-row-eye { position: absolute; top: 50%; right: 4px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r-sm, 6px); transform: translateY(-50%); color: var(--wl-text-3); opacity: 0; transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease); cursor: pointer; }
.st-row-eye svg { width: 14px !important; height: 14px !important; }
.st-row-eye:hover { background: var(--wl-line); color: var(--wl-text); }
.wl-sys-row:is(:hover, :focus-within) > .st-row-eye, .wl-sys-row.is-hidden > .st-row-eye { opacity: 1; }
.wl-sys-row:is(:hover, :focus-within):has(.st-row-eye) > .wl-sys-badge, .wl-sys-row.is-hidden > .wl-sys-badge { visibility: hidden; }
.wl-studio-column .wl-sys-row.is-hidden { color: var(--wl-text-3); }
.wl-sys-row.is-hidden .st-project-mark { opacity: .45; }
.st-column-note { margin: 10px 10px 0; }
@media (hover: none) { .st-row-eye { opacity: 1; } .wl-sys-row:has(.st-row-eye) > .wl-sys-badge { visibility: hidden; } }

/* Small marks: a style's colours in a ring, badges */
.st-dot { width: 14px; height: 14px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wl-text) 14%, transparent); }
.st-dot.is-none { box-shadow: inset 0 0 0 1.5px var(--wl-line-strong); }
.st-dot.is-plain { background: linear-gradient(135deg, var(--wl-text-2), var(--wl-text-3)); }
.st-badge { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border: 1px solid var(--wl-line); border-radius: 999px; color: var(--wl-text-3); font-size: 11px; font-weight: 500; white-space: nowrap; }
.st-badge.is-default { border-color: transparent; background: var(--wl-selection-soft); color: var(--wl-selection); font-weight: 600; }
body .wl-studio-page .st-btn.is-danger { color: var(--wl-danger); border-color: color-mix(in srgb, var(--wl-danger) 35%, var(--wl-line)); }
body .wl-studio-page .st-btn:disabled { opacity: .45; cursor: default; transform: none; }
body .wl-studio-page .st-btn.is-primary:disabled:hover { background: var(--wl-accent); }

/* Selecting: a circle on each picture, the bar of what to do over the grid */
body .wl-studio-page .st-pick { position: absolute; top: 8px; left: 8px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 1.5px solid color-mix(in srgb, var(--wl-text) 85%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--wl-bg) 35%, transparent); color: transparent; box-shadow: 0 1px 4px color-mix(in srgb, var(--wl-bg) 40%, transparent); opacity: 0; cursor: pointer; transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease), background-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-pick svg { width: 13px !important; height: 13px !important; stroke-width: 3; }
.st-tile:hover .st-pick, .st-tile.is-selecting .st-pick, body .wl-studio-page .st-pick:focus-visible { opacity: 1; }
.st-tile.is-picked .st-pick { background: var(--wl-selection); border-color: var(--wl-selection); color: var(--wl-on-accent); }
.st-tile.is-picked .st-pic { outline: 2px solid var(--wl-selection); outline-offset: 2px; }
.st-tile.is-picked .st-pic img { transform: scale(.97); }
.st-top.is-selecting { min-height: 36px; }
.st-sel-count { font-size: 14px; font-weight: 600; margin: 0 6px 0 2px; white-space: nowrap; }
.st-sel-confirm { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.st-sel-confirm b { white-space: nowrap; }
.st-sel-confirm span { color: var(--wl-text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-from { margin-left: auto; padding-left: 6px; color: var(--wl-text-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }

/* From the Hub: every project, by project; no bar to make with */
.st-main.is-browsing::after { display: none; }
.st-main.is-browsing .st-scroll { padding-bottom: 40px; }
.st-project-head { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 12px; }
.st-scroll > .st-project-head:first-of-type { margin-top: 12px; }
.st-project-head h2 { margin: 0; font-family: var(--wl-font-title); font-size: var(--t-title-section); font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.st-project-head > span:not(.st-grow):not(.st-badge) { color: var(--wl-text-3); font-family: var(--wl-font-mono); font-size: var(--t-help); font-variant-numeric: tabular-nums; }
.st-project-head .st-badge { align-self: center; }
.st-project-head .st-link svg { width: 13px; height: 13px; }
.st-show-all { margin: -2px 0 6px; }

/* The bar's style */
.st-style-pill .st-dot { width: 13px; height: 13px; }
.st-bar-row > .st-style-pill { flex: 0 1 auto; max-width: 180px; }

/* An open picture: from another project, no bar under it */
.st-stage.is-bare .st-picture { padding-bottom: 40px; }
.st-d-from { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 10px; border-radius: var(--r-md); background: var(--wl-inset); color: var(--wl-text-2); font-size: 12.5px; }
.st-d-from > .wt-glyph { color: var(--wl-text-3); }
.st-d-from > span:not(.wt-glyph) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-use-static { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 4px; }
.st-use-static > span:not(.st-u-ic) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.st-use-static small { font-size: 11.5px; color: var(--wl-text-3); }
body .wl-studio-page .st-use-as { margin-top: 8px; width: 100%; justify-content: center; }
.st-kv .st-chip .st-dot { width: 14px; height: 14px; margin-left: -1px; }
body .wl-studio-page span.st-chip { cursor: default; }

/* ---- Pages with a title: Styles, Fill pictures ---- */
.st-sheet-scroll { padding: 22px 32px 60px; }
.st-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.st-head-titles { flex: 1; min-width: 0; }
.st-head-titles h1 { margin: 0; font-family: var(--wl-font-title); font-size: var(--t-title-page); font-weight: 400; line-height: 1.2; letter-spacing: 0; }
.st-head-titles p { margin: 6px 0 0; color: var(--wl-text-2); font-size: 13.5px; line-height: 1.5; }
.st-head-actions { display: flex; gap: 8px; flex: none; padding-top: 4px; }
.st-page-note { margin: -6px 0 14px; }
.st-main.st-styles::after, .st-main.st-fill::after { display: none; }

/* Styles: cards in sections (folders), each with its sample sheet */
.st-style-section { margin-bottom: 22px; border-radius: var(--r-xl); transition: background-color var(--wl-quick, 120ms) var(--wl-ease, ease), box-shadow var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-style-section.is-drop { background: var(--wl-selection-soft); box-shadow: 0 0 0 6px var(--wl-selection-soft), 0 0 0 7px color-mix(in srgb, var(--wl-selection) 40%, transparent); }
.st-style-section > .st-group { margin-top: 6px; }
.st-group-icon { color: var(--wl-text-3); }
.st-group-icon svg { width: 14px; height: 14px; }
body .wl-studio-page .st-group-more { width: 26px; height: 26px; margin-left: -2px; opacity: .7; }
body .wl-studio-page input.st-rename { height: 28px; width: 220px; padding: 0 8px; border: 1px solid color-mix(in srgb, var(--wl-selection) 55%, var(--wl-line)); border-radius: var(--r-sm); background: var(--wl-inset); color: var(--wl-text); font: inherit; font-size: var(--t-ui); font-weight: 600; box-shadow: none; }
.st-section-hint { margin: -4px 0 10px; }
.st-drop-hint { grid-column: 1 / -1; padding: 22px; border: 1px dashed var(--wl-line-strong); border-radius: var(--r-lg); text-align: center; }
.st-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.st-style { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--wl-line); border-radius: var(--r-lg); background: var(--wl-surface); box-shadow: var(--wl-elev-card); animation: wl-fade var(--wl-short, 220ms) var(--wl-ease-out, ease-out); transition: border-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-style[role="button"] { cursor: pointer; }
.st-style[role="button"]:hover { border-color: var(--wl-line-strong); }
.st-style:focus-visible { outline: 2px solid var(--wl-selection); outline-offset: 2px; }
.st-style.is-editing { border-color: color-mix(in srgb, var(--wl-selection) 60%, var(--wl-line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--wl-selection) 40%, transparent), var(--wl-elev-card); }
.st-style.is-dragging { opacity: .5; }
.st-sheet { display: grid; grid-template-columns: .78fr 1.42fr 1fr; gap: 2px; height: 150px; flex: none; background: var(--wl-inset); }
.st-sheet.is-single { grid-template-columns: 1fr; }
.st-sheet-cell { position: relative; display: grid; place-items: center; min-width: 0; overflow: hidden; background: var(--wl-inset); }
.st-sheet-cell img { width: 100%; height: 100%; object-fit: cover; animation: wl-fade var(--wl-short, 220ms) var(--wl-ease-out, ease-out); }
.st-sheet-cell img:not([src]) { visibility: hidden; }
.st-sheet-cell.is-painting::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--wl-selection) 22%, transparent) 50%, transparent); animation: st-sweep 1.8s var(--wl-ease, ease) infinite; }
.st-sheet-say { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--wl-text-3); font-size: 11.5px; }
.st-sheet-cell.is-failed .st-sheet-say { color: var(--wl-danger); }
.st-sheet-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--wl-text-3); font-size: 12.5px; background: repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--wl-line) 55%, transparent) 9px 10px); }
.st-style-body { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px 14px; min-width: 0; flex: 1; }
.st-style-head { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 28px; }
.st-style-head b { font-size: var(--t-title-card); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body .wl-studio-page .st-style-head .st-ib { width: 28px; height: 28px; margin-right: -6px; }
.st-look { margin: 0; color: var(--wl-text-2); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-look.is-empty { color: var(--wl-text-3); font-style: italic; }
.st-avoid { margin: 0; color: var(--wl-text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-avoid b { color: var(--wl-text-2); font-weight: 500; }
.st-style-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; min-width: 0; }
.st-swatches { display: inline-flex; flex: none; padding-left: 4px; }
.st-swatches i { width: 18px; height: 18px; margin-left: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--wl-surface); }
.st-style-meta { min-width: 0; color: var(--wl-text-3); font-size: 11.5px; line-height: 1.4; }
.st-copy-in { align-self: flex-start; margin-top: 4px; }
.st-style.is-new-card { align-items: center; justify-content: center; gap: 8px; min-height: 290px; padding: 20px; border-style: dashed; background: none; box-shadow: none; text-align: center; animation: none; }
.st-new-plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wl-raised); color: var(--wl-text-2); }
.st-style.is-new-card > b { font-size: var(--t-title-card); font-weight: 600; }
.st-new-ways { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 6px; width: min(100%, 230px); }
body .wl-studio-page .st-new-ways .st-btn { justify-content: flex-start; }
.st-style-confirm { margin-top: 0; }
.st-sheet-foot { margin-top: 8px; }

/* The panel for one style, at the page's right */
.st-page.st-with-panel:not(.st-open) { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: minmax(0, 1fr); }
.st-editor { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--wl-line); background: var(--wl-surface); animation: wl-in var(--wl-base, 180ms) var(--wl-ease-out, ease-out); z-index: 4; }
.st-editor-head { display: flex; align-items: center; gap: 8px; padding: 16px 14px 6px 20px; flex: none; }
.st-editor-head h2 { flex: 1; margin: 0; font-family: var(--wl-font-title); font-size: var(--t-title-panel); font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.st-editor-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 8px 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.st-editor-refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.st-editor-ref { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); background: var(--wl-inset); }
.st-editor-ref img { width: 100%; height: 100%; object-fit: cover; }
body .wl-studio-page .st-editor-ref-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--wl-bg) 62%, transparent); color: var(--wl-text); opacity: 0; transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-editor-ref:hover .st-editor-ref-x, body .wl-studio-page .st-editor-ref-x:focus-visible { opacity: 1; }
.st-editor-ref-x svg { width: 12px !important; height: 12px !important; }
body .wl-studio-page .st-editor-ref.is-add { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 6px; border: 1px dashed var(--wl-line-strong); background: none; box-shadow: none; color: var(--wl-text-2); font-size: 12px; cursor: pointer; text-align: center; }
body .wl-studio-page .st-editor-ref.is-add:hover { background: var(--wl-raised); color: var(--wl-text); }
.st-editor-refs:not(:has(img)) .st-editor-ref.is-add { grid-column: 1 / -1; aspect-ratio: auto; min-height: 84px; }
.st-editor-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: -6px; }
.st-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-label { color: var(--wl-text-3); font-size: 12px; font-weight: 500; }
body .wl-studio-page .st-input { width: 100%; box-sizing: border-box; margin: 0; padding: 8px 11px; border: 1px solid var(--wl-line); border-radius: var(--r-md); background: var(--wl-inset); box-shadow: none; color: var(--wl-text); font: inherit; font-size: 13.5px; line-height: 1.5; resize: vertical; transition: border-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
body .wl-studio-page input.st-input { height: var(--wl-control); }
body.wb-shell .wl-studio-page .st-input:focus-visible { border-color: var(--wl-line-strong); outline: 2px solid var(--wl-selection); outline-offset: 2px; box-shadow: none; }
body .wl-studio-page .st-input:disabled { opacity: .6; }
.st-input::placeholder { color: var(--wl-text-3); }
.st-colours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-colour { position: relative; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wl-text) 14%, transparent); }
.st-colour input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
body .wl-studio-page .st-colour-x { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--wl-raised); box-shadow: 0 0 0 2px var(--wl-surface); opacity: 0; transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-colour:hover .st-colour-x, body .wl-studio-page .st-colour-x:focus-visible { opacity: 1; }
.st-colour-x svg { width: 10px !important; height: 10px !important; }
body .wl-studio-page .st-colour-add { width: 30px; height: 30px; border: 1px dashed var(--wl-line-strong); border-radius: 50%; }
.st-use-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* Boris's orb rises over the panel's buttons */
.wl-workspace.is-page-studio:has(.st-editor) button.wt-orbis-orb { bottom: 86px; }
.st-editor-foot { display: flex; gap: 8px; padding: 12px 20px 16px; border-top: 1px solid var(--wl-line); flex: none; }
body .wl-studio-page .st-editor-foot .st-btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
.st-editor-foot .st-btn span { overflow: hidden; text-overflow: ellipsis; }
body .wl-studio-page .st-editor-foot .st-btn.is-primary { flex: 0 0 auto; }

/* Fill pictures: a sentence, then a table */
.st-fill-controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.st-fill-sentence { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-fill-word { color: var(--wl-text-3); font-size: 13.5px; }
body .wl-studio-page .st-fill-sentence .st-pill { height: 34px; padding: 0 10px 0 11px; font-size: 13px; color: var(--wl-text); background: var(--wl-surface); }
body .wl-studio-page .st-fill-sentence .st-pill:disabled { opacity: .5; cursor: default; }
.st-toggle { display: inline-flex; align-items: center; gap: 9px; margin-left: 8px; color: var(--wl-text-2); font-size: 13px; cursor: pointer; position: relative; }
.st-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-toggle-track { position: relative; width: 32px; height: 18px; flex: none; border-radius: 999px; background: var(--wl-raised); box-shadow: inset 0 0 0 1px var(--wl-line-strong); transition: background-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--wl-text-2); transition: transform var(--wl-quick, 120ms) var(--wl-ease, ease), background-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-toggle input:checked + .st-toggle-track { background: var(--wl-accent); box-shadow: none; }
.st-toggle input:checked + .st-toggle-track::after { transform: translateX(14px); background: var(--wl-on-accent); }
.st-toggle input:focus-visible + .st-toggle-track { outline: 2px solid var(--wl-selection); outline-offset: 2px; }
.st-fill-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.st-fill-counts { display: inline-flex; gap: 6px; color: var(--wl-text-3); font-size: 12.5px; }
.st-fill-counts > span + span::before { content: '·'; margin-right: 6px; }
.st-fill-counts b { color: var(--wl-text); font-family: var(--wl-font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.st-fill-note { margin: 0; }
.st-fill-table { border: 1px solid var(--wl-line); border-radius: var(--r-lg); background: var(--wl-surface); box-shadow: var(--wl-elev-card); overflow: hidden; }
.st-fill-table > .st-quiet, .st-fill-table > .st-empty { margin: 30px auto; }
.st-fill-row { display: grid; grid-template-columns: 22px minmax(150px, 220px) 58px minmax(0, 1fr) 58px 150px; align-items: center; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--wl-line); transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-fill-row:first-child { border-top: 0; }
.st-fill-row.is-head { padding-block: 9px; background: color-mix(in srgb, var(--wl-inset) 60%, transparent); color: var(--wl-text-3); font-size: 12px; font-weight: 500; }
.st-fill-row.is-off > :not(.st-check-box) { opacity: .45; }
.st-fill-row.is-kept { background: color-mix(in srgb, var(--wl-success) 6%, transparent); }
.st-check-box { width: 16px; height: 16px; margin: 0; accent-color: var(--wl-selection); cursor: pointer; }
.st-fill-file { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body .wl-studio-page .st-fill-name { display: block; height: auto; padding: 0; border: 0; background: none; box-shadow: none; color: var(--wl-text); font-size: 13.5px; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
body .wl-studio-page .st-fill-name:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.st-fill-file small { color: var(--wl-text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-fill-pic { position: relative; display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border: 1px dashed var(--wl-line-strong); border-radius: var(--r-md); color: var(--wl-text-3); box-sizing: border-box; }
.st-fill-pic:has(img) { border-style: solid; border-color: var(--wl-line); }
.st-fill-pic img { width: 100%; height: 100%; object-fit: cover; }
.st-fill-pic.is-painting { border-style: solid; border-color: var(--wl-line); }
.st-fill-pic.is-painting::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--wl-selection) 24%, transparent) 50%, transparent); animation: st-sweep 1.8s var(--wl-ease, ease) infinite; }
body .wl-studio-page .st-fill-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; box-shadow: none; cursor: zoom-in; }
.st-fill-pic.is-review { border: 2px solid color-mix(in srgb, var(--wl-selection) 70%, transparent); }
body .wl-studio-page .st-fill-words { width: 100%; box-sizing: border-box; min-height: 44px; max-height: 120px; field-sizing: content; margin: 0; padding: 6px 9px; border: 1px solid transparent; border-radius: var(--r-sm); background: none; box-shadow: none; color: var(--wl-text-2); font: inherit; font-size: 13px; line-height: 1.5; resize: none; transition: border-color var(--wl-quick, 120ms) var(--wl-ease, ease), background-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
body .wl-studio-page .st-fill-words:hover:not(:disabled) { border-color: var(--wl-line); }
body .wl-studio-page .st-fill-words:focus { outline: none; border-color: color-mix(in srgb, var(--wl-selection) 55%, var(--wl-line)); background: var(--wl-inset); color: var(--wl-text); }
.st-fill-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px; min-width: 0; }
.st-fill-say { color: var(--wl-text-3); font-size: 12.5px; }
.is-painting .st-fill-say { color: var(--wl-text-2); }
.is-failed .st-fill-say { color: var(--wl-danger); }
body .wl-studio-page .st-fill-act .st-btn.is-small { padding: 0 9px; }

/* Tablet */
@media (max-width: 1100px) {
  .st-page.st-with-panel:not(.st-open) { grid-template-columns: minmax(0, 1fr) 320px; }
  .st-sheet-scroll { padding: 18px 22px 60px; }
  .st-fill-row { grid-template-columns: 22px minmax(120px, 170px) 50px minmax(0, 1fr) 50px 120px; gap: 10px; padding: 10px 12px; }
  .st-fill-pic { width: 48px; height: 48px; }
}
/* Phone: one column of cards; the style panel over the page; each file a card */
@media (max-width: 720px) {
  .st-sheet-scroll { padding: 10px 16px 120px; }
  .st-head { flex-direction: column; gap: 10px; margin-bottom: 14px; }
  .st-head-actions { padding-top: 0; }
  .st-page.st-with-panel:not(.st-open) { display: flex; }
  .st-editor { position: absolute; inset: 0; z-index: 6; border-left: 0; }
  .st-top.is-selecting { flex-wrap: wrap; row-gap: 6px; }
  body .wl-studio-page .st-top.is-selecting .st-btn > span:not(.wt-glyph) { display: none; }
  body .wl-studio-page .st-top.is-selecting .st-btn { padding: 0 10px; }
  .st-sel-confirm span { display: none; }
  .st-fill-row.is-head { display: none; }
  .st-fill-row { grid-template-columns: 22px 48px minmax(0, 1fr) 48px; grid-template-areas: "c now file new" "c words words words" "c act act act"; gap: 8px 10px; padding: 12px; }
  .st-fill-row > .st-check-box { grid-area: c; align-self: start; margin-top: 4px; }
  .st-fill-row > .st-fill-file { grid-area: file; }
  .st-fill-row > .st-fill-pic:not(.is-new) { grid-area: now; }
  .st-fill-row > .st-fill-pic.is-new { grid-area: new; }
  .st-fill-row > .st-fill-words { grid-area: words; }
  .st-fill-row > .st-fill-act { grid-area: act; }
  .st-fill-row > .st-fill-act:empty { display: none; }
  .st-fill-pic { width: 48px; height: 48px; }
  .st-toggle { margin-left: 0; }
  .st-fill-status > .st-grow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .st-style, .st-editor, .st-sheet-cell img { animation: none; }
  .st-sheet-cell.is-painting::before, .st-fill-pic.is-painting::before { animation: none; }
  .st-pick, .st-row-eye, .st-tile.is-picked .st-pic img { transition: none; }
}

/* ---- Boris's pictures, versions, collections, a video's size, files dropped (2026-11-16) ---- */
/* Make it move: a round button at a picture's foot on hover, as ⋯ and the select circle are at its top */
body .wl-studio-page .st-tile-move { position: absolute; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--wl-bg) 62%, transparent); backdrop-filter: blur(8px); color: var(--wl-text); box-shadow: none; opacity: 0; cursor: pointer; transition: opacity var(--wl-quick, 120ms) var(--wl-ease, ease), background-color var(--wl-quick, 120ms) var(--wl-ease, ease), transform var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-tile-move svg { width: 14px !important; height: 14px !important; }
.st-tile:hover .st-tile-move, body .wl-studio-page .st-tile-move:focus-visible { opacity: 1; }
body .wl-studio-page .st-tile-move:hover { background: var(--wl-accent); color: var(--wl-on-accent); }
body .wl-studio-page .st-tile-move:active { transform: scale(.94); }
/* The collection a picture is in, quiet at its caption's end */
/* The name comes first: the collection's tag gives way when the tile is narrow. */
.st-set-tag { color: var(--wl-text-3); flex-shrink: 4; max-width: 45%; }
/* On a narrow tile the tag goes, so the name isn't cut short (a tile's width is set, so its caption can be measured);
   the collection still shows in the side column. */
.st-tile figcaption { container-type: inline-size; }
@container (max-width: 240px) { .st-set-tag { display: none; } }

/* A collection over its pictures: its name (a press renames it), then Delete collection, asked on the same line */
.st-set-head { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 10px 0 2px; }
.st-set-name { min-width: 0; }
.st-set-head h2 { margin: 0; font-family: var(--wl-font-title); font-size: var(--t-title-section); font-weight: 400; line-height: 1.3; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .wl-studio-page input.st-set-input { width: min(360px, 100%); margin: 0; font-family: var(--wl-font-title); font-size: var(--t-title-section); font-weight: 400; }
.st-set-head .st-link svg { width: 13px; height: 13px; }
.st-set-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; color: var(--wl-text-2); font-size: 12.5px; animation: wl-fade var(--wl-short, 220ms) var(--wl-ease-out, ease-out); }
/* What was just done (added to a collection, files added), under the search for a moment, with Undo when it can */
.st-said { display: flex; align-items: center; gap: 10px; flex: none; margin: 4px 28px 0; padding: 7px 12px; border: 1px solid var(--wl-line); border-radius: var(--r-md); background: var(--wl-surface); color: var(--wl-text-2); font-size: 12.5px; animation: wl-fade var(--wl-short, 220ms) var(--wl-ease-out, ease-out); }
.st-said.is-again { animation: none; }

/* By map, or by who or where: small groups side by side, each under its name */
.st-flow { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 32px; }
.st-flow-group { min-width: 0; max-width: 100%; }
.st-flow-group .st-group { margin-bottom: 10px; }
.st-flow-group .st-group h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Boris's pictures over the grid, kept, used or discarded in place */
.st-from-boris .st-more-drafts { margin-top: 12px; }

/* An open picture's versions: small pictures in a row, this one ringed */
.st-versions { display: flex; flex-wrap: wrap; gap: 8px; }
body .wl-studio-page .st-version { width: 52px; height: 52px; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-sm); background: var(--wl-inset); box-shadow: inset 0 0 0 1px var(--wl-line); cursor: pointer; transition: box-shadow var(--wl-quick, 120ms) var(--wl-ease, ease), transform var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-version img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-version img:not([src]) { visibility: hidden; }
body .wl-studio-page .st-version:hover:not(.is-current) { box-shadow: inset 0 0 0 1px var(--wl-line-strong); transform: translateY(-1px); }
body .wl-studio-page .st-version.is-current { outline: 2px solid var(--wl-selection); outline-offset: 2px; cursor: default; }
body .wl-studio-page .st-version-swap { align-self: flex-start; margin-top: 12px; }
/* The words it was made from, with Copy at their corner */
.st-words-box { position: relative; }
.st-words-box .st-words { padding-right: 40px; }
body .wl-studio-page .st-words-copy { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; color: var(--wl-text-3); }
.st-words-copy svg { width: 14px !important; height: 14px !important; }

/* A video's size in the bar: short, and never shortened */
.st-bar-row > .st-size-pill { flex: none; }

/* Files held over Studio: where they go, until they are dropped */
.st-drop { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--wl-bg) 70%, transparent); pointer-events: none; animation: wl-fade var(--wl-quick, 120ms) var(--wl-ease-out, ease-out); }
.st-drop-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 36px; border: 2px dashed color-mix(in srgb, var(--wl-selection) 60%, var(--wl-line)); border-radius: var(--r-xl); background: var(--wl-surface); box-shadow: var(--wl-elev-pop); text-align: center; }
.st-drop-box svg { width: 22px; height: 22px; color: var(--wl-selection); }
.st-drop-box strong { font-size: var(--t-body); font-weight: 600; }
.st-drop-box span { color: var(--wl-text-3); font-size: 12.5px; }
@media (max-width: 720px) {
  .st-said { margin: 4px 16px 0; }
  .st-set-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .st-said, .st-set-ask, .st-drop { animation: none; }
  .st-tile-move, .st-version { transition: none; }
}

/* ---- Music's own look (as Studio music has it): tiles in a few sizes, or a list where each track's cover, title,
   kind and length always show. The row is the grid's tile turned sideways, the same marks and the same quiet. ---- */
.st-music-list { display: flex; flex-direction: column; gap: 8px; }
.st-music-list .st-group { margin-bottom: 2px; }
.st-music-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 8px; border-radius: var(--r-md); background: var(--wl-inset); box-shadow: inset 0 0 0 1px var(--wl-line); cursor: pointer; transition: box-shadow var(--wl-quick, 120ms) var(--wl-ease, ease); }
.st-music-row:hover { box-shadow: inset 0 0 0 1px var(--wl-line-strong); }
.st-music-row.is-playing { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wl-selection) 55%, var(--wl-line)); }
.st-music-art { flex: none; display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: var(--r-sm); background: color-mix(in srgb, var(--wl-text) 6%, transparent); color: var(--wl-text-3); }
.st-music-art img { width: 100%; height: 100%; object-fit: cover; }
.st-music-art svg { width: 18px; height: 18px; }
body .wl-studio-page .st-music-play { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--wl-raised); box-shadow: inset 0 0 0 1px var(--wl-line); color: var(--wl-text-2); cursor: pointer; transition: color var(--wl-quick, 120ms) var(--wl-ease, ease), background-color var(--wl-quick, 120ms) var(--wl-ease, ease); }
body .wl-studio-page .st-music-play:hover { color: var(--wl-text); }
.st-music-row.is-playing .st-music-play { background: var(--wl-selection); box-shadow: none; color: var(--wl-bg); }
.st-music-play svg { width: 14px; height: 14px; }
.st-music-words { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.st-music-words b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.st-music-words small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--wl-text-3); font-size: 11.5px; }
.st-music-len { flex: none; color: var(--wl-text-3); font-variant-numeric: tabular-nums; font-size: 12px; }
.st-music-row > .st-ib { flex: none; color: var(--wl-text-3); }
@media (max-width: 720px) { .st-music-row { gap: 10px; } .st-music-art { width: 40px; height: 40px; } .st-music-row .st-music-len { display: none; } }
/* Tiles or List, and the tile size, pressed on in the row over the grid */
body .wl-studio-page .st-top .st-btn[aria-pressed="true"] { color: var(--wl-text); background: var(--wl-selection-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wl-selection) 40%, transparent); }
