/* Sandra Zenamy · Studio. A calm work surface: light, roomy, system type. */
:root { --bg: #f5f5f7; --card: #fff; --ink: #1d1d1f; --quiet: #5f5f64; --line: #d9d9de; --blue: #0066d6; --green: #0b6b3a; --amber: #7a4b00; --red: #b3261e; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #6ea8ff; outline-offset: 2px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; letter-spacing: -.015em; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: #000; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.quiet { color: var(--quiet); font-weight: 500; }

.btn { min-height: 38px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: transform .1s ease-out, background .2s; }
.btn:active { transform: scale(.97); }
.btn:hover { background: #f0f0f3; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; } .btn.primary:hover { background: #0058ba; }
.btn.small { min-height: 30px; padding: 4px 12px; font-size: 13px; }
.btn.danger { color: var(--red); }
.btn:disabled { opacity: .45; cursor: default; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .row.center { justify-content: center; }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--quiet); }
.field input, .field select, input.in, select.in { min-height: 38px; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 400; color: var(--ink); min-width: 0; width: 100%; }
.card { background: var(--card); border-radius: 20px; padding: 22px; border: 1px solid #0000000d; }
.card h2, .card h3 { margin: 0 0 8px; letter-spacing: -.02em; } .card h2 { font-size: 21px; } .card h3 { font-size: 16px; }
.card p { margin: 0 0 14px; color: var(--quiet); font-size: 14.5px; line-height: 1.5; }

/* door */
.door { max-width: 880px; margin: 0 auto; padding: 28px 22px 60px; text-align: center; }
.door .brand { margin-bottom: clamp(30px, 8vh, 80px); }
.door h1 { margin: 0; font-size: clamp(44px, 8vw, 80px); letter-spacing: -.04em; line-height: 1; }
.door-lede { margin: 16px auto 34px; max-width: 520px; color: var(--quiet); font-size: clamp(17px, 2vw, 21px); line-height: 1.4; }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.door-grid .card { display: flex; flex-direction: column; gap: 4px; } .door-grid .btn { align-self: flex-start; } .door-grid .field { margin-bottom: 12px; }
.door-msg { min-height: 24px; margin-top: 18px; color: var(--red); font-weight: 600; }

/* app shell */
.top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: #f5f5f7cc; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.top-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pill { padding: 4px 11px; border-radius: 100px; font-size: 12.5px; font-weight: 650; background: #e8e8ed; color: var(--ink); white-space: nowrap; }
.pill[data-s="connected"] { background: #dff5e7; color: var(--green); } .pill[data-s="degraded"] { background: #fdeecb; color: var(--amber); } .pill[data-s="disconnected"] { background: #fde2e0; color: var(--red); } .pill[data-s="demo"] { background: #e3edff; color: #0b3f91; }
.tabs { display: flex; gap: 4px; padding: 10px 20px 0; overflow-x: auto; }
.tabs button { padding: 9px 15px; border: 0; border-radius: 100px; background: none; font-weight: 600; font-size: 14.5px; color: var(--quiet); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.work { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding: 16px 20px 80px; align-items: start; }
.panel { display: grid; gap: 16px; }
.panel > h1 { margin: 6px 0 0; font-size: 30px; letter-spacing: -.03em; }
.panel > .lede { margin: -8px 0 0; color: var(--quiet); font-size: 15px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.preview { position: sticky; top: 64px; display: grid; gap: 10px; justify-items: center; }
.phone { width: 100%; max-width: 280px; padding: 8px; border-radius: 34px; background: #111; box-shadow: 0 30px 60px -20px #0006; }
.phone > div { border-radius: 27px; background: linear-gradient(160deg, #3b2f4a, #141722); }
.preview-note { margin: 0; font-size: 12.5px; color: var(--quiet); text-align: center; min-height: 32px; }
.seg { display: inline-flex; padding: 3px; border-radius: 100px; background: #e3e3e8; }
.seg button { padding: 6px 14px; border: 0; border-radius: 100px; background: none; font-weight: 600; font-size: 13px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px #0002; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li { display: grid; grid-template-columns: 64px 84px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid #ececf0; font-size: 14px; }
.list li:first-child { border-top: 0; }
.list time { color: var(--quiet); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.badge { justify-self: start; padding: 2px 8px; border-radius: 100px; font-size: 11.5px; font-weight: 700; background: #e8e8ed; }
.badge.sim { background: #e3edff; color: #0b3f91; } .badge.live { background: #dff5e7; color: var(--green); } .badge.ran { background: #dff5e7; color: var(--green); } .badge.skipped { background: #fdeecb; color: var(--amber); } .badge.test { background: #f1e6ff; color: #5a1fa3; }
.list small { display: block; color: var(--quiet); font-size: 12.5px; margin-top: 2px; }
.scroll { max-height: 380px; overflow: auto; }
.empty { color: var(--quiet); font-size: 14px; padding: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* rules */
.rule { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #ececf0; }
.rule:first-child { border-top: 0; }
.rule b { display: block; font-size: 15px; } .rule small { color: var(--quiet); font-size: 13px; }
.switch { position: relative; width: 42px; height: 26px; border-radius: 100px; border: 0; background: #c9c9cf; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s cubic-bezier(.3,1.3,.5,1); }
.switch[aria-checked="true"] { background: #1f9d55; } .switch[aria-checked="true"]::after { transform: translateX(16px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { padding: 14px; border-radius: 16px; background: #f5f5f7; display: grid; gap: 10px; align-content: start; }
.step > strong { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--quiet); }
.action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 8px; border-radius: 12px; background: #fff; }
.action .inner { display: grid; gap: 6px; }
.check { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--ink); }

/* fx + games */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tile { padding: 14px; border-radius: 16px; background: #f5f5f7; display: grid; gap: 8px; }
.tile b { font-size: 15px; } .tile small { color: var(--quiet); font-size: 12.5px; }
.game { display: grid; gap: 10px; }
.code { display: block; padding: 10px 12px; border-radius: 10px; background: #f0f0f3; font: 13px ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; user-select: all; }
.steps-list { margin: 0; padding-left: 20px; color: var(--quiet); font-size: 14.5px; line-height: 1.6; } .steps-list b { color: var(--ink); }
table.people { width: 100%; border-collapse: collapse; font-size: 14px; } table.people td, table.people th { text-align: left; padding: 9px 6px; border-top: 1px solid #ececf0; } table.people th { border-top: 0; color: var(--quiet); font-size: 12.5px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; padding: 10px 18px; border-radius: 100px; background: #1d1d1f; color: #fff; font-size: 14px; font-weight: 600; z-index: 40; max-width: calc(100vw - 30px); }

@media (max-width: 900px) {
  .top { flex-wrap: wrap; padding: 8px 14px; } .brand { white-space: nowrap; } .pill { font-size: 11.5px; padding: 3px 9px; } .tabs, .work { padding-inline: 14px; }
  .work { grid-template-columns: 1fr; }
  .preview { position: static; order: -1; } .phone { max-width: 190px; }
  .steps { grid-template-columns: 1fr; } .door-grid { grid-template-columns: 1fr; }
  .list li { grid-template-columns: 54px minmax(0, 1fr); } .list li .badge { grid-row: 2; grid-column: 2; }
  .rule { grid-template-columns: auto minmax(0, 1fr); } .rule .row { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (prefers-contrast: more) { :root { --quiet: #3a3a3e; --line: #8a8a90; } }

/* Layout editor + touch targets */
.btn.tap, .chips .tap { min-height: 44px; min-width: 44px; }
#cmd-status[data-s="busy"] { background: #fff4d6; } #cmd-status[data-s="ok"] { background: #dff5e6; } #cmd-status[data-s="bad"] { background: #ffe1e1; color: #8a1c1c; }
.lay-status { padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.lay-status[data-s="dirty"], .lay-status[data-s="busy"] { background: #fff4d6; } .lay-status[data-s="air"] { background: #dff5e6; } .lay-status[data-s="failed"] { background: #ffe1e1; color: #8a1c1c; }
.lay-conflict { padding: 12px 14px; border-radius: 14px; background: #ffe1e1; margin-bottom: 12px; }
.lay-top { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 18px; align-items: start; margin: 14px 0 18px; }
.lay-canvas { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: repeating-conic-gradient(#d9d9de 0 25%, #c9c9cf 0 50%) 0 0 / 24px 24px; }
.lay-guides { position: absolute; inset: 0; }
.lay-grid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#ffffff55 1px, transparent 1px) 0 0 / 100% 10%, linear-gradient(90deg, #ffffff55 1px, transparent 1px) 0 0 / 10% 100%; }
.lay-frame { position: absolute; inset: 2%; pointer-events: none; border: 1px dashed #ffffffcc; border-radius: 6px; }
.lay-box { position: absolute; padding: 0; border: 2px solid #0a84ff; background: #0a84ff14; border-radius: 6px; cursor: grab; touch-action: none; min-height: 12px; }
.lay-box span { position: absolute; left: 0; top: 0; font-size: 10px; font-weight: 700; padding: 1px 5px; background: #0a84ff; color: #fff; border-radius: 0 0 5px 0; white-space: nowrap; }
.lay-box[aria-pressed="false"] { border-color: #ffffffaa; background: none; } .lay-box[aria-pressed="false"] span { background: #0008; }
.lay-box.zone.face { border-style: dashed; border-color: #ff9f0a; background: #ff9f0a22; } .lay-box.zone.face span { background: #ff9f0a; color: #000; }
.lay-box.zone.alerts { border-style: dotted; border-color: #ff7eb0; } .lay-box.zone.alerts span { background: #ff7eb0; color: #000; }
.lay-box.off { opacity: .4; } .lay-box[aria-pressed="true"] { z-index: 5; }
.lay-pad { display: grid; grid-template-columns: repeat(4, minmax(44px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.lay-side h2 { margin: 16px 0 8px; font-size: 16px; } .lay-side h3 { margin: 12px 0 4px; font-size: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; margin: 10px 0; }
.lay-warn { margin: 10px 0; padding-left: 18px; color: #8a4b00; } .lay-warn[data-n="0"] { display: none; }
.src-list { display: grid; gap: 8px; margin: 10px 0; } .src { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; min-height: 44px; } .src small { display: block; color: var(--quiet); }
@media (max-width: 900px) { .lay-top { grid-template-columns: 1fr; } .lay-canvas { max-width: 300px; margin-inline: auto; } .tabs button { min-height: 44px; } .btn { min-height: 44px; } .btn.small { min-height: 40px; } }

/* Direct card on a phone: 44 px controls, 16 px text so iOS does not zoom on focus, errors beside the buttons */
.err { margin: 8px 0 0; padding: 8px 11px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-weight: 500; }
[data-card="reader"] .field { display: block; margin-top: 10px; }
[data-card="reader"] .field > span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
[data-card="reader"] .row .btn { flex: 1 1 96px; }
@media (pointer: coarse) { [data-card="reader"] input.in, [data-card="reader"] select.in { min-height: 44px; font-size: 16px; } }

/* ===== Console look (21 nov). A dark control surface like a broadcast deck: the stage is the brightest thing on screen,
   state is read from colour (on air red, ready green, waiting amber), controls are big and quiet until touched. ===== */
:root { --bg: #0c0d10; --card: #15171c; --card2: #1c1f26; --ink: #f1f3f6; --quiet: #9199a6; --line: #262a32; --line2: #323743;
  --blue: #3d8bff; --green: #34c77b; --amber: #f2b33d; --red: #ff4d5e; --air: #ff2d55;
  --ok-bg: #12301f; --warn-bg: #36290f; --bad-bg: #3a1519; --info-bg: #142640; color-scheme: dark; }
body { background: var(--bg); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mark { background: linear-gradient(145deg, #ff2d55, #ff6a3d); box-shadow: 0 0 0 1px #ffffff1a inset; }
.top { background: #0c0d10d9; border-bottom-color: var(--line); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 0 #ffffff08 inset; }
.card p, .panel > .lede { color: var(--quiet); }
.panel > h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.card h2 { font-size: 18px; font-weight: 680; }
.btn { background: var(--card2); border-color: var(--line2); color: var(--ink); border-radius: 10px; transition: transform .12s cubic-bezier(.23,1,.32,1), background .15s, border-color .15s; }
.btn:hover { background: #242832; border-color: #3d4350; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; } .btn.primary:hover { background: #2f7af0; border-color: #2f7af0; }
.btn.danger { color: var(--red); }
.field { color: var(--quiet); }
.field input, .field select, input.in, select.in, textarea { background: #0f1115; border: 1px solid var(--line2); border-radius: 10px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, input.in:focus, select.in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #3d8bff33; }
::placeholder { color: #5d6470; }
.pill { background: var(--card2); color: var(--quiet); border: 1px solid var(--line); }
.pill[data-s="connected"] { background: var(--ok-bg); color: var(--green); border-color: #1f4a32; }
.pill[data-s="degraded"] { background: var(--warn-bg); color: var(--amber); border-color: #4d3a14; }
.pill[data-s="disconnected"] { background: var(--bad-bg); color: var(--red); border-color: #55212a; }
.pill[data-s="demo"] { background: var(--info-bg); color: #8dbbff; border-color: #22406a; }
.pill[data-s="connected"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; box-shadow: 0 0 0 3px #34c77b33; }
.tabs { gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.tabs button { position: relative; border-radius: 0; padding: 12px 14px; color: var(--quiet); transition: color .15s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: none; color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--air); }
.seg { background: var(--card2); border: 1px solid var(--line); border-radius: 10px; }
.seg button { color: var(--quiet); border-radius: 8px; }
.seg button[aria-pressed="true"] { background: #2a2e38; color: var(--ink); box-shadow: none; }
.phone { background: #000; box-shadow: 0 0 0 1px #2a2e38, 0 30px 70px -20px #000; }
.phone > div { background: radial-gradient(120% 80% at 30% 10%, #2a3140, #0d0f14 70%); }
.list li, .rule, table.people td, table.people th { border-top-color: var(--line); }
.badge { background: var(--card2); color: var(--quiet); }
.badge.sim { background: var(--info-bg); color: #8dbbff; } .badge.live, .badge.ran { background: var(--ok-bg); color: var(--green); }
.badge.skipped { background: var(--warn-bg); color: var(--amber); } .badge.test { background: #2a2433; color: #c9b8e6; }
.chips button { background: var(--card2); border-color: var(--line2); color: var(--quiet); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #0c0d10; }
.switch { background: #353a46; } .switch[aria-checked="true"] { background: var(--green); }
.step, .tile { background: var(--card2); border: 1px solid var(--line); }
.action { background: var(--card); border: 1px solid var(--line); }
.check { color: var(--ink); }
.code { background: #0f1115; border: 1px solid var(--line); color: #c6cdd8; }
.steps-list b { color: var(--ink); }
.toast { background: #f1f3f6; color: #0c0d10; box-shadow: 0 12px 30px #0008; }
.preview-note { color: var(--quiet); }
#cmd-status[data-s="busy"] { background: var(--warn-bg); } #cmd-status[data-s="ok"] { background: var(--ok-bg); } #cmd-status[data-s="bad"] { background: var(--bad-bg); color: #ffb3bb; }
.lay-status { background: var(--card); border-color: var(--line); }
.lay-status[data-s="dirty"], .lay-status[data-s="busy"] { background: var(--warn-bg); } .lay-status[data-s="air"] { background: var(--ok-bg); } .lay-status[data-s="failed"], .lay-conflict { background: var(--bad-bg); color: #ffb3bb; }
.lay-canvas { background: repeating-conic-gradient(#1b1e24 0 25%, #15171c 0 50%) 0 0 / 24px 24px; }
.lay-warn { color: var(--amber); }
.src { border-color: var(--line); }
.err { background: var(--bad-bg); color: #ffb3bb; }
@media (prefers-contrast: more) { :root { --quiet: #c2c8d2; --line: #4a505c; --line2: #5a6170; } }
/* round 2: one accent (blue) for action and selection; red is only for what is on air; every state pill carries a dot */
:root { --quiet: #a3abb8; --line2: #3a404c; }
.mark { background: #f1f3f6; color: #0c0d10; box-shadow: none; }
.tabs button { font-size: 15px; color: var(--quiet); }
.tabs button[aria-selected="true"]::after { background: var(--blue); }
.btn, .btn.small { min-height: 40px; padding: 8px 16px; font-size: 14.5px; font-weight: 620; }
.btn:not(.primary) { background: transparent; } .btn:not(.primary):hover { background: var(--card2); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; }
.pill::before, .pill[data-s="connected"]::before { content: ""; width: 7px; height: 7px; margin: 0; border-radius: 50%; background: #5d6470; box-shadow: none; flex: none; }
.pill[data-s="connected"]::before { background: var(--green); box-shadow: 0 0 0 3px #34c77b2e; }
.pill[data-s="degraded"]::before { background: var(--amber); } .pill[data-s="disconnected"]::before { background: var(--red); } .pill[data-s="demo"]::before { background: #8dbbff; }
#room-kind::before { background: var(--quiet); }
.seg button[aria-pressed="true"] { background: #2a2e38; color: var(--ink); }
.seg button:first-child[aria-pressed="true"] { background: var(--air); color: #fff; }
.list time { font-size: 12.5px; color: var(--quiet); white-space: nowrap; }
.card { background: #16181e; border-color: #2a2e37; }
.field select, select.in { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3abb8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
@media (max-width: 900px) {
  .top-right { flex-wrap: nowrap; } .top-right .pill { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .btn, .btn.small { min-height: 44px; }
}
/* round 3: "On air" is a calm label with a live dot, not a red slab; smaller page title; phone shows the controls sooner */
.seg button:first-child[aria-pressed="true"] { background: #2a2e38; color: var(--ink); }
.seg button:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #5d6470; vertical-align: 0; }
.seg button:first-child[aria-pressed="true"]::before { background: var(--air); box-shadow: 0 0 0 3px #ff2d5533; }
.panel > h1 { font-size: 22px; } .panel > .lede { font-size: 14px; }
@media (max-width: 900px) { .phone { max-width: 150px; } .preview { gap: 8px; } }
#live-pill:not([data-s="connected"]):not([data-s="disconnected"])::before { background: var(--amber); }
.card p, .panel > .lede { max-width: 74ch; }
.chips button { min-height: 34px; padding: 6px 14px; font-size: 13.5px; }
.pill { font-size: 13px; min-height: 28px; }
@media (max-width: 900px) { .top-right .pill { max-width: none; } #room-kind { max-width: 26vw; overflow: hidden; text-overflow: ellipsis; } }

/* Library */
.lib-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.lib-row:first-of-type { border-top: 0; } .lib-row b { display: block; } .lib-row small { color: var(--quiet); }
.tile .switch { flex: none; }
