/* Glyph Slip Desk · the Channels shell (Window GSP-14 · Pillar 7A) — linked by desk-chan.js before the sheet opens,
 * after sg.css (whose .chan-* rules stay as they are: a staff slip still draws with them). Every rule here is under
 * .chan-ui — the desk's shell — so the slip's ticket list is untouched. Every key is 44 px, every word 12 px or more,
 * and nothing moves under prefers-reduced-motion. The hue is the Channels tool's own (gs.css: --sg-tool, indigo). */
#chan-sheet.sheet-right { width: min(920px, 96vw); }
.chan-ui { --chan: var(--sg-tool, #818cf8); --chan-edge: var(--gs-edge, #6d84a6); --chan-well: var(--gs-s1, #101a2c); container-type: inline-size; min-width: 0; }
.chan-shell { display: grid; gap: 12px; min-width: 0; }
.chan-main { display: grid; gap: 12px; min-width: 0; }

/* (a) The rail: a 3 × 2 grid on a narrow sheet, a sidebar from 720 px of the sheet's own width. */
.chan-ui .chan-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; min-width: 0; } /* GSP-20C (AG-GS1 §3.5): under the sidebar's width the six channels are ONE 3 × 2 grid of short words — nothing wraps to a ragged third row, nothing scrolls sideways */
.chan-ui .chan-pill { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; padding: 4px 10px; border: 0; border-radius: 10px; background: var(--chan-well); box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); font: 700 13px/1.2 var(--gs-font, system-ui, -apple-system, "Segoe UI", sans-serif); text-align: left; cursor: pointer; }
.chan-ui .chan-pill:hover:not(:disabled) { background: var(--gs-s2, #16233a); }
.chan-ui .chan-pill[aria-selected="true"] { background: color-mix(in srgb, var(--chan) 26%, #101a2c); box-shadow: inset 0 0 0 2px var(--chan); color: #fff; }
.chan-ui .chan-pill:disabled { opacity: 1; box-shadow: inset 0 0 0 1px #4f6485; color: var(--gs-ink-3, #93a4bd); cursor: not-allowed; }
.chan-ui .chan-pill:focus-visible, .chan-ui .chan-react:focus-visible, .chan-guide:focus-visible, .chan-who__tile:focus-visible, .chan-room:focus-visible .chan-room__pill, .chan-ui .chan-img:focus-visible, .chan-light__x:focus-visible { outline: 3px solid #2dd4bf; outline-offset: 2px; }
.chan-pill__tag { display: inline-flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; }
.chan-ui .chan-rail .chan-pill__tag { display: contents; } .chan-ui .chan-rail .chan-pill__tag > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); } /* in the grid the #tag is the key's read name; the short word beside it is what a person sees */
.chan-pill__short { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chan-pill__lock { width: 16px; height: 16px; flex: none; }
.chan-pill__note { display: none; font: 400 12px/1.35 var(--gs-font, system-ui, sans-serif); color: var(--gs-ink-2, #b9c5d8); }
.chan-ui .chan-pill:disabled .chan-pill__note { color: var(--gs-ink-3, #93a4bd); }
.chan-unread { position: static; flex: none; min-width: 22px; height: 22px; margin-left: auto; padding: 0 6px; border-radius: 8px; background: var(--chan); color: #0b1020; font: 800 12px/22px var(--gs-num, system-ui, sans-serif); text-align: center; font-variant-numeric: tabular-nums; }
@container (min-width: 900px) { /* GSP-24A: the sidebar from 900 px of the sheet's width; under it the ONE 44 px pill rail (the block at the end) */
  .chan-shell { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
  .chan-ui .chan-rail { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 4px; padding: 6px; border-radius: 14px; background: var(--gs-bg, #0a111e); box-shadow: inset 0 0 0 1px var(--gs-line, #24354f); }
  .chan-ui .chan-pill { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; width: 100%; padding: 8px 10px; box-shadow: none; background: transparent; }
  .chan-ui .chan-pill:disabled { box-shadow: none; }
  .chan-pill__note { display: block; grid-column: 1 / -1; white-space: normal; }
  .chan-pill__short { display: none; } .chan-ui .chan-rail .chan-pill__tag { display: inline-flex; } .chan-ui .chan-rail .chan-pill__tag > span { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; }
  .chan-unread { grid-row: 1; grid-column: 2; }
}

/* The channel's own head: its name, its one line, and the desk's ONE language menu (gs-lang.js · GSP-18A — five summary keys until then). */
.chan-ui .chan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.chan-about { display: grid; gap: 2px; min-width: 0; }
.chan-about__tag { font: 800 17px/1.2 var(--gs-font, system-ui, sans-serif); color: var(--gs-ink, #eef3fb); }
.chan-about__note { font-size: 13px; line-height: 1.35; color: var(--gs-ink-2, #b9c5d8); }
#chan-lang.chan-langs { flex: none; min-height: 0; padding: 0; border: 0; border-radius: 12px; background: var(--chan-well); box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); }

/* (c) The stream: one head a run of one author's lines; each line a bubble. */
.chan-ui .chan-feed { display: grid; gap: 14px; min-width: 0; }
.chan-empty { margin: 0; padding: 18px 4px; }
.chan-group { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.chan-ava { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.chan-ava--guide { background: #07211e; box-shadow: inset 0 0 0 1.5px #2dd4bf; color: #5eead4; }
.chan-ava .sg-clerk__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--chan-well); box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink-2, #b9c5d8); }
.chan-col { display: grid; gap: 6px; min-width: 0; justify-items: start; }
.chan-ui .chan-meta { gap: 4px 8px; font-size: 12px; line-height: 1.4; color: var(--gs-ink-2, #b9c5d8); }
.chan-name { font-size: 14px; color: var(--gs-ink, #eef3fb); }
.chan-role { padding: 1px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--chan-edge); font-weight: 600; white-space: nowrap; }
.chan-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.chan-ui .chan-card { max-width: 100%; min-width: 0; padding: 8px 12px; border: 0; border-radius: 4px 14px 14px 14px; background: var(--gs-s2, #16233a); box-shadow: inset 0 0 0 1px var(--gs-line, #24354f); }
.chan-ui .chan-card[data-lead="true"] { box-shadow: inset 0 0 0 1.5px #d4a017; }
.chan-ui .chan-card-ticket { justify-self: stretch; border-left: 0; box-shadow: inset 4px 0 0 var(--accent, #2dd4bf), inset 0 0 0 1px var(--gs-line, #24354f); padding-left: 14px; }
.chan-ui .chan-text { font-size: 15px; line-height: 1.5; color: var(--gs-ink, #eef3fb); }
.chan-ui .chan-acts .btn { min-height: 44px; padding: 4px 14px; font-size: 14px; }
.chan-ui .chan-attach img.chan-img { max-height: 180px; border-radius: 10px; border: 0; box-shadow: 0 0 0 1px var(--chan-edge); cursor: zoom-in; }
.chan-ui .chan-dl { min-height: 44px; padding: 0 14px; font-size: 13px; color: var(--gs-ink, #eef3fb); box-shadow: inset 0 0 0 1px var(--chan-edge); border: 0; }
.chan-ui .chan-foot { gap: 6px 10px; }
.chan-ui .chan-reacts { gap: 6px; }

/* (d) A reaction is a drawing, a word and a count. */
.chan-ui .chan-react { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--gs-ink-2, #b9c5d8); font: 600 13px/1 var(--gs-font, system-ui, sans-serif); cursor: pointer; }
.chan-ui .chan-react:has(.chan-react__n) { box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); } /* a quiet key until somebody used it */
.chan-ui .chan-react .ico { width: 18px; height: 18px; flex: none; }
.chan-ui .chan-react:hover:not(:disabled) { background: rgb(255 255 255 / .06); color: var(--gs-ink, #eef3fb); }
.chan-ui .chan-react[aria-pressed="true"] { background: color-mix(in srgb, var(--chan) 24%, #101a2c); box-shadow: inset 0 0 0 2px var(--chan); color: #fff; }
.chan-react__n { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gs-ink, #eef3fb); }
.chan-ui .chan-tog { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--gs-ink, #eef3fb); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.chan-asked { display: inline-flex; align-items: center; gap: 4px; margin-right: 2px; padding: 1px 8px 1px 6px; border-radius: 6px; background: #07211e; box-shadow: inset 0 0 0 1px #2dd4bf; color: #5eead4; font: 700 12px/1.5 var(--gs-font, system-ui, sans-serif); white-space: nowrap; vertical-align: baseline; }
.chan-asked .ico { width: 14px; height: 14px; flex: none; }
.chan-ui .chan-thread { gap: 8px; margin: 2px 0 0; padding-left: 12px; border-left: 2px solid var(--chan-edge); }
.chan-ui .chan-thread[hidden] { display: none; }
.chan-replies { display: grid; gap: 6px; }
.chan-ui .chan-reply { gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--chan-well); }
.chan-ui .chan-reply-envoy { border: 0; background: #07211e; box-shadow: inset 0 0 0 1.5px #2dd4bf; }

/* (e) A room in a line: a 44 px key around a small pill (the line keeps its height). */
.chan-room { display: inline-flex; align-items: center; justify-content: center; min-width: var(--bar-k, 44px); min-height: var(--bar-k, 44px); margin: calc((20px - var(--bar-k, 44px)) / 2) 0; padding: 0 2px; border: 0; background: none; color: inherit; font: inherit; vertical-align: middle; cursor: pointer; }
.chan-room__pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--chan) 22%, #101a2c); box-shadow: inset 0 0 0 1px var(--chan); color: #fff; font: 700 13px/1.4 var(--gs-num, system-ui, sans-serif); white-space: nowrap; }
.chan-room__pill .ico { width: 14px; height: 14px; flex: none; }
.chan-room:hover .chan-room__pill { background: color-mix(in srgb, var(--chan) 38%, #101a2c); }
.chan-card > .chan-room { justify-self: start; margin: -8px 0 -6px -2px; }

/* (b) The dock: Posting as, then the composer — in sight while the stream scrolls. */
.chan-dock { position: sticky; bottom: 0; z-index: 3; display: grid; gap: 6px; margin: 0 0 -8px; padding: 8px 0; background: var(--card, #16233a); box-shadow: 0 -1px 0 var(--gs-line, #24354f), 0 -12px 16px -14px rgb(0 0 0 / .7); }
.chan-as { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; line-height: 1.4; color: var(--gs-ink-2, #b9c5d8); }
.chan-as b { color: var(--gs-ink, #eef3fb); }
.chan-as__face { display: grid; place-items: center; width: 28px; height: 28px; flex: none; }
.chan-as__face .sg-clerk__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--chan-well); box-shadow: inset 0 0 0 1px var(--chan-edge); }
.chan-as__say { min-width: 0; }
.chan-as[data-kind="ask"] { padding: 2px 4px 2px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #f5b942; }
.chan-as .chan-as__key { flex: none; min-height: 44px; margin-left: auto; padding: 0 14px; font-size: 13px; }
.chan-who__cap { width: 100%; margin: 0; font: 700 14px/1.3 var(--gs-font, system-ui, sans-serif); color: var(--gs-ink, #eef3fb); }
.chan-who { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 6px; width: 100%; }
.chan-who__tile { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 0 8px; min-height: 52px; padding: 6px 10px; border: 0; border-radius: 12px; background: var(--chan-well); box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); font: inherit; text-align: left; cursor: pointer; }
.chan-who__tile:hover { background: var(--gs-s2, #16233a); box-shadow: inset 0 0 0 2px var(--chan); }
.chan-who__tile > :first-child { grid-row: 1 / span 2; }
.chan-who__name { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.chan-who__role { grid-column: 2; font-size: 12px; color: var(--gs-ink-2, #b9c5d8); }
.chan-ui .chan-compose { display: grid; grid-template-columns: minmax(0, 1fr) var(--bar-k, 44px) auto; gap: 6px; align-items: center; }
.chan-ui .chan-compose input[type="text"] { min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--chan-well); box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); font-size: 16px; }
.chan-ui .chan-compose input[type="text"]::placeholder { color: var(--gs-ink-3, #93a4bd); }
.chan-ui .chan-compose .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.chan-ui .chan-compose .chan-clip { min-width: var(--bar-k, 44px); padding: 0; }
.chan-guide-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.chan-guide { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); font: 600 13px/1 var(--gs-font, system-ui, sans-serif); cursor: pointer; }
.chan-guide .ico { width: 18px; height: 18px; flex: none; color: #5eead4; }
.chan-guide__knob { position: relative; flex: none; width: 36px; height: 20px; border-radius: 10px; background: #33415c; box-shadow: inset 0 0 0 1px var(--chan-edge); }
.chan-guide__knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #dbe4f0; transition: transform .16s ease; }
.chan-guide[aria-checked="true"] { box-shadow: inset 0 0 0 2px #2dd4bf; }
.chan-guide[aria-checked="true"] .chan-guide__knob { background: #2dd4bf; box-shadow: none; }
.chan-guide[aria-checked="true"] .chan-guide__knob::after { transform: translateX(16px); background: #06251f; }
.chan-guide__hint { font-size: 12px; line-height: 1.35; color: var(--gs-ink-2, #b9c5d8); }
/* GSP-20C (AG-GS1 §3.5): the ONE visible Tag Logbook key — the notebook drawing and its two words, 44 px, in the Logbook's amber. */
.chan-tagkey { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); font: 600 13px/1 var(--gs-font, system-ui, sans-serif); white-space: nowrap; cursor: pointer; }
.chan-tagkey .ico { width: 18px; height: 18px; flex: none; color: #f59e0b; } .chan-tagkey:hover:not(:disabled), .chan-tagkey[aria-expanded="true"] { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 2px #f59e0b; } .chan-tagkey:disabled, .chan-guide:disabled { box-shadow: inset 0 0 0 1px #4f6485; color: var(--gs-ink-3, #93a4bd); cursor: not-allowed; }
@container (max-width: 479px) { .chan-ui .chan-react { gap: 4px; padding: 0 6px; } .chan-ui .chan-reacts { gap: 2px; } }
.chan-ui .chan-file { grid-column: 1 / -1; font-size: 13px; color: var(--gs-ink, #eef3fb); }
.chan-ui .chan-compose > .chan-file.chan-held[hidden] { display: none; } /* GSP-23A (a K3 find): chan-rail.css draws the held-file chip as flex, so an EMPTY chip kept a blank 44 px row under every composer */
/* GSP-24A (AG-GS4 §5.1): the GSP-23A two-row dock is gone — the composer is ONE row at every width, Posting as rides the head strip */

/* A photo, large: Escape or a tap closes it. */
.chan-light { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgb(4 8 16 / .9); cursor: zoom-out; }
.chan-light__img { max-width: 100%; max-height: calc(100vh - 32px); border-radius: 12px; box-shadow: 0 12px 40px rgb(0 0 0 / .6); }
.chan-light__x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: var(--bar-k, 44px); height: var(--bar-k, 44px); border: 0; border-radius: 12px; background: #101a2c; box-shadow: inset 0 0 0 1px #6d84a6; color: #eef3fb; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .chan-guide__knob::after { transition: none; } }
/* GSP-23B: #radio-log — read only (no dock under it); a call: who · role · the channel it was said on · when, this desk's line, the original under it. */
.chan-ui .chan-dock[hidden], .chan-ui .chan-main > .chan-dock[hidden] { display: none; }
.chan-radio .chan-meta { flex-wrap: wrap; row-gap: 4px; }
.chan-radio__from { padding: 2px 8px; border-radius: 6px; background: var(--chan-well); box-shadow: inset 0 0 0 1px var(--chan-edge); color: var(--gs-ink, #eef3fb); font-size: 12px; font-weight: 700; }
.chan-radio__orig { margin: 4px 0 0; color: var(--gs-ink-2, #c3d0e0); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.chan-radio__badge { margin-right: 2px; font-weight: 800; }
.chan-radio__none { color: var(--gs-ink-2, #c3d0e0); font-style: italic; }

/* ── GSP-24A · AG-GS4 Pillar 3 — ONE 44 px pill rail, the head strip (#channel · Posting as … [Change]), the framed stage, ONE composer row ── */
@container (max-width: 899px) {
  .chan-ui .chan-rail { display: flex; align-items: center; gap: 3px; height: 44px; padding: 0 3px; border-radius: 11px; background: var(--gs-input, var(--chan-well)); box-shadow: inset 0 0 0 1.5px var(--gs-well-border, var(--chan-edge)), var(--gs-well-shadow, none); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .chan-ui .chan-rail::-webkit-scrollbar { display: none; }
  .chan-ui .chan-rail .chan-pill { position: relative; isolation: isolate; flex: none; gap: 5px; min-width: 44px; height: 44px; min-height: 44px; padding: 0 9px; border-radius: 9px; background: transparent; box-shadow: none; color: var(--gs-ink-2); font: 700 13px/1 var(--gs-font, system-ui, sans-serif); white-space: nowrap; }
  .chan-ui .chan-rail .chan-pill::before { content: ""; position: absolute; inset: 5px 1px; z-index: -1; border-radius: 8px; } /* the 34 px cap inside the 44 px key */
  .chan-ui .chan-rail .chan-pill:hover:not(:disabled) { background: transparent; color: var(--gs-ink); }
  .chan-ui .chan-rail .chan-pill[aria-selected="true"] { background: transparent; box-shadow: none; color: var(--gs-ink); }
  .chan-ui .chan-rail .chan-pill[aria-selected="true"]::before { background: var(--gs-keycap, var(--gs-s3)); box-shadow: inset 0 0 0 1px var(--gs-keycap-border, var(--chan-edge)), 0 1.5px 0 var(--gs-keycap-lip, rgb(0 0 0 / .3)); }
  .chan-ui .chan-rail .chan-pill:disabled { box-shadow: none; color: var(--gs-ink-3, #93a4bd); }
  .chan-ui .chan-rail .chan-pill > .ico, .chan-ui .chan-rail .chan-pill > svg { width: 16px; height: 16px; flex: none; }
  .chan-ui .chan-rail .chan-pill__short { flex: none; overflow: visible; } .chan-ui .chan-rail .chan-pill__note { display: none; }
  .chan-ui .chan-rail .chan-unread { min-width: 18px; height: 18px; margin-left: 0; padding: 0 5px; border-radius: 9px; font-size: 12px; line-height: 18px; }
  .chan-about__note { display: none; }
}
html[data-look="light"] .chan-ui .chan-rail .chan-pill[aria-selected="true"] { background: transparent; color: var(--gs-ink); } /* gs-themes.css rule 5's wash belongs to the sidebar */
.chan-ui .chan-shell, .chan-ui .chan-main { gap: 8px; }
.chan-ui .chan-head { flex-wrap: nowrap; gap: 8px; min-height: 44px; }
.chan-ui .chan-head > .chan-about { flex: none; } .chan-ui .chan-head .chan-about__tag { font-size: 15px; }
.chan-ui .chan-head > .chan-as { flex: 1 1 auto; justify-content: flex-end; flex-wrap: nowrap; gap: 6px; min-width: 0; min-height: 44px; font-size: 12px; }
.chan-ui .chan-head > .chan-as .chan-as__say { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chan-ui .chan-head > .chan-as .chan-as__key { margin-left: 0; padding: 0 10px; font-size: 12px; }
.chan-ui .chan-head > .chan-as .chan-as__face, .chan-ui .chan-head > .chan-as .chan-as__face .sg-clerk__mark { width: 24px; height: 24px; }
.chan-ui .chan-head:has(> .chan-as:is([data-kind="grid"], [data-kind="ask"])) { flex-wrap: wrap; } .chan-ui .chan-head > .chan-as:is([data-kind="grid"], [data-kind="ask"]) { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; }
.chan-ui .chan-feed { display: flex; flex-direction: column; gap: 10px; box-sizing: border-box; min-height: 300px; height: calc(100vh - 290px); height: calc(100dvh - 290px); padding: 10px 12px; border-radius: 14px; background: var(--gs-stage-bg, #0f1622); box-shadow: inset 0 0 0 1.5px var(--gs-stage-border, #2b3d59), var(--gs-stage-shadow, none); overflow-y: auto; overscroll-behavior: contain; } .chan-ui .chan-feed > * { flex: none; } /* the framed stage scrolls itself: the rail, the strip and the composer stay in sight */
.chan-ui .chan-dock { position: static; margin: 0; padding: 0; background: transparent; box-shadow: none; }
.chan-ui .chan-compose { position: relative; display: grid; grid-template-columns: var(--bar-k, 44px) minmax(0, 1fr) auto auto; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 12px; background: var(--gs-card, var(--gs-s2)); box-shadow: 0 0 0 1px var(--gs-card-border, var(--gs-line)), var(--gs-card-shadow, none); }
.chan-ui .chan-compose > :is(.chan-editing, .chan-file, .hidden) { grid-column: 1 / -1; }
.chan-ui .chan-compose .chan-guide { gap: 6px; padding: 0 10px; }
.chan-ui .chan-compose .chan-guide[aria-checked="true"] { background: var(--gs-tint, #0f2c33); color: var(--gs-accent, #2dd4bf); box-shadow: inset 0 0 0 2px var(--gs-accent, #2dd4bf); }
.chan-ui .chan-compose .chan-send { padding: 0 16px; }
@container (max-width: 380px) { .chan-ui .chan-compose .chan-guide > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .chan-ui .chan-compose .chan-guide { padding: 0; min-width: var(--bar-k, 44px); justify-content: center; } } /* a phone: the guide's drawing; "Ask Hotel Guide" stays its name */
/* a line in this desk's language over its original (chan-tr.js), and ONE Read aloud key at its end */
.chan-ui .chan-tr__main { margin: 0; } .chan-tr__sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; min-width: 0; margin-top: 2px; color: var(--gs-ink-2, #b9c5d8); font-size: 13px; line-height: 1.4; }
.chan-ui .chan-tr__sub > .chan-text { margin: 0; min-width: 0; color: var(--gs-ink-2, #b9c5d8); font-size: 13px; line-height: 1.4; }
.chan-tr__badge { font-weight: 700; white-space: nowrap; }
.chan-say { display: inline-flex; align-items: center; justify-content: center; width: var(--bar-k, 44px); height: var(--bar-k, 44px); margin: -12px -8px -12px -2px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--gs-ink-2, #b9c5d8); vertical-align: middle; cursor: pointer; }
.chan-say:hover, .chan-say[data-busy] { background: var(--gs-input, rgb(255 255 255 / .06)); color: var(--gs-accent, #2dd4bf); } .chan-say:focus-visible { outline: 3px solid #2dd4bf; outline-offset: 2px; }
.chan-radio > .chan-say { margin: 2px 0 -6px -10px; }
/* the + menu over its key: a card in both looks, Logbook note first on its amber spine */
html[data-look] .chan-pop--plus { background: var(--gs-card, #101a2c); color: var(--gs-ink, #eef3fb); box-shadow: inset 0 0 0 1.5px var(--gs-keycap-border, #6d84a6), 0 4px 0 var(--gs-keycap-lip, #080d16), 0 14px 30px -6px rgb(15 23 42 / .32); }
html[data-look] .chan-pop--plus :is(.chan-plus__item, .chan-plus__row) { color: var(--gs-ink, #eef3fb); } html[data-look] .chan-pop--plus :is(.chan-plus__item:hover, .chan-plus__row:hover) { background: var(--gs-input, rgb(255 255 255 / .08)); }
html[data-look] .chan-pop--plus :is(.chan-plus__meta, .chan-plus__cap, .chan-plus__back) { color: var(--gs-ink-2, #b9c5d8); } html[data-look] .chan-pop--plus .chan-plus__item .ico { color: var(--gs-accent, #a5b4fc); }
.chan-plus__item[data-attach="logbook"] { box-shadow: inset 3px 0 0 var(--gs-manage, #f59e0b); } html[data-look] .chan-pop--plus .chan-plus__item[data-attach="logbook"] .ico { color: var(--gs-manage, #f59e0b); }
@keyframes gs-pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-4px) scale(.98); } } html body .chan-pop[data-closing] { animation: gs-pop-out 110ms cubic-bezier(.4, 0, 1, 1) both; pointer-events: none; } /* GSP-24B: a closed panel fades in 110 ms (chan-react.js fade; reduced motion closes at once there) */
