/* Choosing a Room (assets/browser/room-chooser.js): one box, one list, rows
   that open in place. One material, one accent: yellow marks the best fit
   and the one button that changes anything. */
.rc { display:flex; flex-direction:column; min-height:0; flex:1 1 auto; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; color:#eef1f4; text-align:left; letter-spacing:normal; text-transform:none; }
.rc input, .rc button { font-family:inherit; }
.rc-box { flex:0 0 auto; display:flex; align-items:center; gap:10px; min-height:50px; padding:0 14px; border:1px solid #36404b; border-radius:14px; background:#0a0e13; color:#8b96a3; }
.rc-box:focus-within { border-color:#4d8dff; box-shadow:0 0 0 3px rgba(77,141,255,.22), 0 8px 24px rgba(37,99,235,.18); color:#8fb8ff; }
.rc-box svg { flex:0 0 auto; }
.rc-input { flex:1 1 auto; min-width:0; height:48px; padding:0; border:0; outline:0; background:transparent; color:#f4f6f8; font-weight:400; font-size:16px; line-height:1.3; }
.rc-input::placeholder { color:#7d8894; }
.rc-list { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; margin:6px -6px 0; padding:0 6px 4px; scrollbar-width:thin; scrollbar-color:#36404b transparent; }
.rc p.rc-head { display:flex; align-items:baseline; gap:8px; margin:18px 0 4px; padding:0 8px; color:#8b96a3; font-weight:700; font-size:11px; line-height:1.2; letter-spacing:.09em; text-transform:uppercase; }
.rc-head small { color:#6f7a86; font-size:12px; font-weight:500; letter-spacing:0; text-transform:none; }
.rc p.rc-head-best { color:#8fb8ff; }
.rc p.rc-head-best::before { content:"✦"; color:#ffd84a; font-size:12px; letter-spacing:0; }
.rc-best { margin-top:14px; padding:2px 0 6px; border:1px solid rgba(77,141,255,.42); border-radius:14px; background:linear-gradient(160deg, rgba(59,130,246,.16), rgba(59,130,246,.04) 55%, rgba(255,107,107,.05)); box-shadow:0 10px 30px rgba(15,40,110,.28), inset 0 1px rgba(255,255,255,.05); transition:opacity .15s; }
.rc .rc-best p.rc-head { margin-top:12px; }
.rc-best.is-stale { opacity:.55; }
.rc-row { border-radius:12px; }
.rc-row + .rc-row { box-shadow:0 -1px 0 rgba(255,255,255,.055); }
.rc-row.is-open, .rc-row.is-open + .rc-row { box-shadow:none; }
.rc button.rc-row-head { display:flex; align-items:center; gap:12px; width:100%; min-height:56px; padding:9px 8px; border:0; border-radius:12px; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.rc button.rc-row-head:hover { background:rgba(255,255,255,.045); }
.rc-row-head:focus-visible, .rc-use:focus-visible, .rc-room-name:focus-visible, .rc-retry:focus-visible { outline:2px solid #6daaf9; outline-offset:1px; }
.rc-row-head:disabled { cursor:default; opacity:.6; }
.rc-copy { flex:1 1 auto; min-width:0; display:grid; gap:2px; }
.rc-name { color:#f4f6f8; font-size:15px; font-weight:650; line-height:1.3; overflow-wrap:anywhere; }
.rc-hint { color:#a3adb9; font-size:13px; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rc-row.is-open .rc-hint, .rc-best .rc-hint, .rc-build .rc-hint { white-space:normal; }
.rc-tag { display:inline-block; margin-left:4px; padding:2px 8px; border-radius:999px; background:rgba(255,255,255,.08); color:#c3cbd5; font-size:11px; font-weight:600; line-height:1.4; vertical-align:1px; white-space:nowrap; }
.rc-now { background:rgba(255,216,74,.16); color:#ffd84a; }
.rc-chev { flex:0 0 auto; width:20px; color:#6f7a86; font-size:20px; line-height:1; text-align:center; transition:transform .15s; }
.rc-row.is-open .rc-chev { transform:rotate(90deg); color:#8fb8ff; }
.rc-row.is-open { margin:4px 0; border:1px solid rgba(77,141,255,.6); background:#111a2a; box-shadow:0 12px 32px rgba(10,30,90,.4); }
.rc-row.is-open .rc button.rc-row-head:hover { background:transparent; }
.rc-detail { padding:0 12px 12px; }
.rc .rc-get, .rc .rc-name-label { display:block; margin:6px 0 6px; color:#8b96a3; font-size:12px; font-weight:600; }
.rc-parts { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; padding:0; list-style:none; }
.rc-parts li { padding:6px 10px; border:1px solid #2c353f; border-radius:9px; background:#0c1116; color:#dbe1e8; font-size:13px; line-height:1.4; }
.rc-room-name { box-sizing:border-box; width:100%; min-height:44px; margin:0 0 12px; padding:0 12px; border:1px solid #36404b; border-radius:10px; background:#0a0e13; color:#f4f6f8; font-weight:400; font-size:16px; line-height:1.3; }
.rc button.rc-use { width:100%; min-height:46px; border:0; border-radius:12px; background:linear-gradient(180deg,#5b9bff,#2f6fed); color:#fff; font-weight:700; font-size:15px; line-height:1; cursor:pointer; box-shadow:0 8px 22px rgba(47,111,237,.45), inset 0 1px rgba(255,255,255,.28); }
.rc-use:hover { filter:brightness(1.06); }
.rc-use:disabled { opacity:.5; cursor:default; filter:none; }
.rc p.rc-error { margin:0 0 10px; color:#ff9d9d; font-size:13px; line-height:1.45; }
.rc .rc-looking, .rc .rc-none { margin:16px 8px 4px; color:#a3adb9; font-size:14px; line-height:1.5; }
.rc-retry { border:0; padding:0; background:none; color:#8fb8ff; font:inherit; text-decoration:underline; cursor:pointer; }
.rc-note { margin:12px 8px 0; font-size:14px; }
.rc-note a { color:#8fb8ff; }
.rc-note p { margin:0 0 4px; }
.rc .rc-build button.rc-row-head { border:1px dashed #46515f; margin-top:6px; }
.rc-build .rc-chev { color:#ffd84a; font-size:16px; }
.rc-built { border-style:dashed !important; }
@media (prefers-reduced-motion: reduce) { .rc-chev, .rc-best { transition:none; } }
/* One dot per row says what the Room does: red runs (comes due), blue
   keeps, yellow is an idea you raise. */
.rc-dot { flex:0 0 auto; width:9px; height:9px; border-radius:50%; background:#4d8dff; box-shadow:0 0 0 3px rgba(77,141,255,.16); }
.rc-dot[data-purpose="run"] { background:#ff6b6b; box-shadow:0 0 0 3px rgba(255,107,107,.16); }
.rc-dot[data-purpose="raise"], .rc-dot[data-purpose="built"] { background:#ffd84a; box-shadow:0 0 0 3px rgba(255,216,74,.16); }
.rc-dot[data-purpose="blank"] { background:transparent; border:2px solid #8fb8ff; box-shadow:none; box-sizing:border-box; }
.rc-row.is-open .rc-dot { transform:scale(1.2); }
.rc-parts li { border-color:rgba(77,141,255,.3); }
.rc-row { transition:background .15s; }
.rc-row.is-open { animation:rc-pop .18s ease-out; }
@keyframes rc-pop { from { transform:scale(.985); opacity:.6; } to { transform:none; opacity:1; } }
@media (prefers-reduced-motion: reduce) { .rc-row.is-open { animation:none; } }
.rc .rc-all { display:block; width:100%; margin:12px 0 2px; padding:12px 14px; border:1px dashed #2f3a48; border-radius:12px; background:transparent; color:#8fb8ff; font:inherit; font-size:14px; font-weight:600; text-align:left; cursor:pointer; }
.rc .rc-all:hover, .rc .rc-all:focus-visible { border-color:#4d8dff; background:rgba(77,141,255,.08); outline:none; }
