/* Copy of the parts of root's public/app.css that the rooms page, arcade and graph rely on: the palette, the base
   element rules, the app frame (.app > .main > .topbar + .content) and the empty/boot states. Root loads Inter from
   Google Fonts; Athanor makes no third-party requests, so it falls back to system-ui.
   Athanor adds a dark palette: theme.js sets data-theme on <html> (localStorage athanor-theme: auto|light|dark). */
:root{
  --paper:#eef1e8; --surface:#ffffff; --ink:#18201a; --moss:#4f584a; --sage:#8a9382;
  --line:#dee3d5; --evergreen:#2f5d3a; --berry:#45557f; --clay:#8a4b3a;
  --hover:#e7ebe0; --active:#e0e6d7;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --paper:#131814; --surface:#191f1a; --ink:#e3e8dc; --moss:#b2bbaa; --sage:#848f7c;
  --line:#2b342c; --evergreen:#4f9d63; --berry:#93a6d9; --clay:#df9078;
  --hover:#212922; --active:#29332a;
  color-scheme:dark;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--surface);font-size:14px;line-height:1.5}
.muted{color:var(--sage);font-size:13px}
.boot{display:grid;place-items:center;height:100%;flex:1;color:var(--sage)}
a{color:inherit;text-decoration:none}
button{font-family:inherit;font-size:14px;cursor:pointer}
input,textarea{font-family:inherit}

/* ---- main ---- */
.app{display:flex;height:100vh;overflow:hidden}
.main{flex:1;display:flex;flex-direction:column;min-width:0}
.topbar{height:46px;flex:0 0 46px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.crumbs{display:flex;align-items:center;gap:6px;color:var(--moss);font-size:13px;overflow:hidden}
.crumbs a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crumbs a:hover{color:var(--ink)}
.tb-actions{display:flex;gap:6px;flex:0 0 auto;align-items:center}
.meta{color:var(--sage);font-size:12px;margin-right:4px;white-space:nowrap}
.content{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
.empty{margin:auto;text-align:center;color:var(--sage)}
.empty h2{color:var(--moss)}

@media(max-width:720px){
  .main{width:100%;min-width:0}
  .topbar{padding:0 8px;gap:6px}
  .meta{display:none}
}
