:root{--bg:#f6f5f2;--panel:#fff;--text:#1d1d1b;--muted:#6b6a66;--border:#dcdad4;--accent:#2f6fdb;--on-accent:#fff;--online:#2e8540;--offline:#b7791f;--error:#c53030;--touch:48px;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#161615;--panel:#22221f;--text:#ecebe6;--muted:#a3a29c;--border:#3a3935;--accent:#6b9cf0;--on-accent:#10131a}}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);overscroll-behavior:none;-webkit-user-select:none;user-select:none}button{min-height:var(--touch);border:1px solid var(--border);background:var(--panel);color:var(--text);font:inherit;border-radius:8px;padding:0 16px}button.primary{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.error{color:var(--error)}.gate{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;height:100%;padding:16px;display:flex}.shell{grid-template:"tabs header""tabs content"1fr/auto 1fr;height:100%;display:grid}.header{border-bottom:1px solid var(--border);grid-area:header;align-items:center;gap:16px;padding:8px 16px;display:flex}.content{grid-area:content;padding:16px;overflow-y:auto}.tabs{border-right:1px solid var(--border);background:var(--panel);flex-direction:column;grid-area:tabs;gap:8px;padding:8px;display:flex}.tab{background:0 0;border-color:#0000;min-width:112px;font-weight:500}.tab.selected{background:var(--accent);color:var(--on-accent)}@media (orientation:portrait){.shell{grid-template:"header""content"1fr"tabs"/1fr}.tabs{border-right:none;border-top:1px solid var(--border);flex-direction:row}.tab{flex:1;min-width:0}}.clock{flex:1;align-items:baseline;gap:12px;min-width:0;display:flex}.clock .time{font-size:1.75rem;font-weight:600}.clock .date{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.status{white-space:nowrap;font-size:.875rem}.status:before{content:"";background:currentColor;border-radius:50%;width:10px;height:10px;margin-right:6px;display:inline-block}.status.online{color:var(--online)}.status.offline{color:var(--offline)}.account{position:relative}.account>button{text-overflow:ellipsis;white-space:nowrap;max-width:200px;overflow:hidden}.account .menu{z-index:1;border:1px solid var(--border);background:var(--panel);border-radius:8px;padding:8px 16px 16px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 4px 16px #00000026}.placeholder{color:var(--muted)}.placeholder h2{color:var(--text)}
