/* Room Screen, portrait 1080×1920. DF Guide for Visual Style: Inter + Besley, charcoal and white.
   Red = in use (the guide's attention colour for room rules), white = free or open to use.
   Small corner radii: cards are rectangles, only true labels are capsules. */
:root { --bg:#231F20; --tile:#2f2a2b; --line:#3d3738; --muted:#a8a2a3; --red:#FF5447; }
* { box-sizing:border-box; margin:0; padding:0; }
html, body { width:100%; height:100%; overflow:hidden; background:var(--bg); color:#fff; font-family:Inter, system-ui, sans-serif; -webkit-font-smoothing:antialiased; }
.rs-frame { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; }
.rs-screen { width:1080px; height:1920px; flex:0 0 auto; position:relative; display:flex; flex-direction:column; transform-origin:center; }
.serif { font-family:Besley, Georgia, serif; font-style:italic; font-weight:700; }

/* header with the room photo */
.rs-photo { position:relative; height:440px; flex:0 0 auto; background:#3a3435 center/cover no-repeat; }
.rs-photo:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(35,31,32,.35) 0%, rgba(35,31,32,.55) 55%, #231F20 100%); }
.rs-top { position:absolute; left:64px; right:64px; top:44px; display:flex; justify-content:space-between; align-items:baseline; z-index:1; }
.rs-date { font-family:Besley, Georgia, serif; font-style:italic; font-weight:700; font-size:34px; }
.rs-time { font-weight:900; font-size:72px; font-variant-numeric:tabular-nums; }
.rs-name { position:absolute; left:64px; right:64px; bottom:28px; z-index:1; }
.rs-org { font-weight:800; font-size:24px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:10px; opacity:.9; }
.rs-name h1 { font-weight:900; font-size:128px; line-height:.95; text-transform:uppercase; letter-spacing:-.01em; white-space:nowrap; }
.rs-number { display:inline-block; margin-top:18px; font-weight:800; font-size:30px; border:3px solid #fff; border-radius:6px; padding:4px 16px; }

/* main */
.rs-main { flex:1 1 auto; overflow:hidden; padding:40px 64px 40px; min-height:0; }
.rs-status { border-radius:14px; padding:36px 44px 40px; background:#fff; color:#231F20; }
.rs-status.busy { background:var(--red); color:#fff; }
.rs-status .lbl { display:flex; align-items:center; gap:18px; font-weight:900; font-size:64px; letter-spacing:.02em; text-transform:uppercase; }
.rs-status .lbl i { width:28px; height:28px; border-radius:50%; background:currentColor; flex:0 0 28px; }
.rs-status .until { font-family:Besley, Georgia, serif; font-style:italic; font-weight:800; font-size:40px; margin-top:6px; line-height:1.25; }
.rs-status .title { font-weight:900; font-size:52px; line-height:1.05; text-transform:uppercase; margin-top:22px; overflow-wrap:anywhere;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.bar { height:16px; border-radius:3px; background:rgba(255,255,255,.3); margin:30px 0 12px; overflow:hidden; }
.rs-status:not(.busy) .bar { background:rgba(35,31,32,.15); }
.bar b { display:block; height:100%; background:currentColor; border-radius:3px; }
.barlab { display:flex; justify-content:space-between; font-weight:700; font-size:26px; }

h2 { font-weight:900; font-size:34px; text-transform:uppercase; margin:56px 0 16px; }
.slot { display:grid; grid-template-columns:200px 1fr; gap:24px; align-items:center; padding:22px 0; border-bottom:3px solid var(--line); }
.slot .tm { font-weight:900; font-size:34px; font-variant-numeric:tabular-nums; }
.slot .tm small { display:block; font-weight:600; font-size:22px; color:var(--muted); }
.slot .ti { font-weight:700; font-size:34px; line-height:1.15; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.slot.free .ti, .slot.none .ti { font-family:Besley, Georgia, serif; font-style:italic; font-weight:700; color:var(--muted); }
.slot.open .ti:after { content:" · open to use"; font-family:Besley, Georgia, serif; font-style:italic; color:var(--muted); font-size:26px; }

.days { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:24px; }
.day { background:var(--tile); border-radius:12px; padding:26px 28px 18px; }
.day b { display:block; font-weight:900; font-size:26px; text-transform:uppercase; margin-bottom:14px; }
.day p { font-size:23px; line-height:1.3; margin-bottom:12px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.day p em { display:block; font-style:normal; font-weight:800; font-size:19px; color:var(--muted); }
.day .more { color:var(--muted); font-weight:700; }
.rs-days:empty, .rs-today:empty { display:none; }

/* QR cards */
.rs-links { flex:0 0 auto; display:grid; grid-template-columns:1fr 1fr; gap:28px; margin:0 64px 64px; }
.rs-link { display:flex; gap:24px; align-items:center; background:var(--tile); border-radius:12px; padding:22px 26px; }
.rs-link--room { background:#fff; color:#231F20; }
.rs-link--room span { color:#5c5758; }
.rs-qr { width:150px; height:150px; flex:0 0 150px; background:#fff; border-radius:6px; padding:10px; }
.rs-link--room .rs-qr { padding:6px; }
.rs-qr svg { width:100%; height:100%; display:block; }
.rs-link b { display:block; font-weight:900; font-size:28px; line-height:1.08; text-transform:uppercase; }
.rs-link span { display:block; font-family:Besley, Georgia, serif; font-style:italic; font-weight:700; font-size:22px; color:var(--muted); margin-top:10px; line-height:1.25; }
.rs-links:has(.rs-link:only-child) { grid-template-columns:1fr; }

.rs-offline { position:absolute; left:50%; bottom:14px; transform:translateX(-50%); font-size:16px; color:var(--muted); background:var(--tile); border-radius:6px; padding:4px 14px; }
