/* Current Roque Ventures materials, shared by every console room. */
:root {color-scheme:dark;--bg:#2A303B;--bg2:#363F4C;--bg3:#3E4857;--ink:#F4F6FB;--muted:#BEC7D6;--dim:#BEC7D6;--line:rgba(244,246,251,.16);--line2:rgba(244,246,251,.24);--accent:#85A2FF;--accent-ink:#1A2437;--amber:var(--accent);--amber2:var(--accent);--amber-ink:var(--accent-ink);--paper:#F4F6FB;--body:-apple-system,BlinkMacSystemFont,'SF Pro Text',system-ui,sans-serif;--display:-apple-system,BlinkMacSystemFont,'SF Pro Display',system-ui,sans-serif;--mono:ui-monospace,'SF Mono',Menlo,monospace;--r-ctl:8px;--r-tag:6px;--t-meta:13px;--t-label:13px;--t-row:15px;--t-section:17px;--t-head:17px;--t-room:20px;--t-figure:28px;--w-row:400;--w-mid:500;--w-strong:600;--t-title:var(--t-room);--t-lede:var(--t-row);--t-small:var(--t-label);--t-mono:var(--t-meta);--t-dis:var(--t-room);--gutter:20px;}
:root[data-theme=light] {color-scheme:light;--bg:#F7F8FA;--bg2:#FFFFFF;--bg3:#EDF0F5;--ink:#182230;--muted:#475467;--dim:#475467;--line:rgba(24,34,48,.14);--line2:rgba(24,34,48,.24);--accent:#315CC7;--accent-ink:#FFFFFF;--paper:#FFFFFF;}
html,body {margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:var(--t-row);line-height:1.45;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;letter-spacing:-.003em;}
button,input,select,textarea {font:inherit;}
button,a,input,select,textarea {touch-action:manipulation;}
button,input,select {min-height:44px;}
/* Every typed field stays 16px whatever its room sets, so iOS never zooms the page on focus (the console is compact
   at 14px; a field below 16px would trip the zoom). The one !important here: room modules inject their own styles. */
input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=button],[type=submit],[type=reset]),select,textarea {font-size:16px!important;}
button {cursor:pointer;}
a {color:inherit;}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:2px solid var(--accent);outline-offset:3px;}
h1,h2,h3 {font-family:var(--display);font-weight:var(--w-strong);letter-spacing:-.01em;}
[hidden] {display:none!important;}
.rv-dialog {box-sizing:border-box;width:min(680px,calc(100% - 32px));max-height:calc(100% - 32px);margin:auto;padding:0;border:1px solid var(--line2);border-radius:12px;background:var(--bg2);color:var(--ink);}
.rv-dialog::backdrop {background:rgba(20,26,36,.7);}
.rv-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 8px 8px 20px;border-bottom:1px solid var(--line);}
.rv-dialog-head h2 {margin:0;font-size:var(--t-head);line-height:22px;min-width:0;overflow-wrap:anywhere;}
.rv-dialog-head button {flex:none;border:0;background:transparent;color:var(--ink);min-width:44px;}
.rv-dialog-body {padding:16px 20px 20px;overflow:auto;max-height:calc(100dvh - 100px);overscroll-behavior:contain;}
.rv-dialog-body > :first-child {margin-top:0;}
.rv-dialog-body > :last-child {margin-bottom:0;}
.rv-pager {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;}
.rv-pager button {border:1px solid var(--line2);border-radius:8px;padding:0 14px;background:var(--bg2);color:var(--ink);}
.rv-pager button:disabled {opacity:.5;cursor:default;}
@media(max-width:719px){:root{--gutter:16px;--t-figure:22px;}}
/* The phone: a "more" list is one full-height sheet over the page, not a card on a card. Close top right; a pager
   rides its foot. */
@media(max-width:559px){.rv-dialog{width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;border-radius:0;background:var(--bg);flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);} .rv-dialog[open]{display:flex;} .rv-dialog-head{padding:12px 4px 12px 16px;} .rv-dialog-head h2{font-size:var(--t-room);line-height:26px;} .rv-dialog-body{flex:1;max-height:none;padding:4px 16px max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;} .rv-dialog-body :has(> .rv-pager){flex:1;display:flex;flex-direction:column;} .rv-dialog-body .rv-pager{margin-top:auto;padding-top:12px;}}
@media(min-width:560px) and (max-width:719px){.rv-dialog {width:calc(100% - 32px);max-height:calc(100% - 32px);} .rv-dialog-head{padding:4px 4px 4px 16px;} .rv-dialog-body{padding:12px 16px 16px;max-height:calc(100dvh - 84px);}}

/* Product aliases for the pinned shared shell; its structure remains unchanged. */
:root {--surface:var(--bg);--surface-raised:var(--bg2);--surface-muted:var(--bg3);--ink-2:var(--muted);--line-strong:var(--line2);--font-sans:var(--body);--text-row-size:var(--t-row);--text-row-line:20px;--text-row-weight:var(--w-row);--text-title-size:var(--t-head);--text-title-line:22px;--text-title-weight:var(--w-strong);--target-min:44px;--shell-sidebar:176px;--shell-rail:52px;--shell-topbar:48px;--shell-gutter:32px;--shell-gutter-phone:16px;--radius-control:8px;--radius-container:12px;}
