:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #17202a;
  background: #f4f6f8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f4f6f8; }
button { font: inherit; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; display: flex; flex-direction: column; background: #102b2b; color: #eaf3f0; padding: 26px 16px 18px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px 32px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #e0b25c; color: #102b2b; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: 0; }
.brand small { color: #9db5af; font-size: 12px; margin-top: 3px; }
nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; border: 0; border-radius: 6px; padding: 12px 13px; text-align: left; color: #abc1bc; background: transparent; cursor: pointer; }
.nav-item:hover { color: #fff; background: #1a3a39; }
.nav-item.is-active { color: #102b2b; background: #d6e7df; font-weight: 700; }
.nav-icon { width: 20px; text-align: center; font-size: 17px; }
.sidebar-foot { display: flex; align-items: center; gap: 8px; margin: auto 12px 0; color: #8fa9a2; font-size: 12px; }
.environment-dot, .session-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0b25c; }
.main-column { min-width: 0; flex: 1; }
.topbar { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px clamp(24px, 5vw, 72px); background: #fff; border-bottom: 1px solid #e2e8e5; }
.eyebrow { margin: 0 0 7px; color: #6a7a78; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(22px, 2vw, 30px); letter-spacing: 0; }
.session-chip { display: flex; align-items: center; gap: 8px; color: #60716d; font-size: 13px; white-space: nowrap; }
.session-dot { background: #9aa9a5; }
.session-dot.online { background: #3f9b73; }
.content { max-width: 1080px; padding: clamp(28px, 5vw, 64px); }
.access-panel, .state-panel { max-width: 760px; display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: clamp(26px, 5vw, 48px); background: #fff; border: 1px solid #e1e8e4; border-radius: 8px; box-shadow: 0 8px 24px rgb(16 43 43 / 5%); }
.access-panel h2, .state-panel h2 { margin-bottom: 10px; font-size: 24px; }
.muted { color: #667875; line-height: 1.7; }
.status-mark, .empty-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f8e7c2; color: #8a641d; font-size: 22px; font-weight: 800; }
.empty-mark { background: #e8efed; color: #6d807a; }
.notice { display: grid; gap: 5px; margin: 24px 0; padding: 15px 17px; border-left: 3px solid #e0b25c; background: #fbfaf5; color: #52635f; font-size: 13px; line-height: 1.6; }
.notice strong { color: #263a35; }
.primary-button, .secondary-button { border: 0; border-radius: 5px; padding: 11px 16px; cursor: pointer; font-weight: 700; }
.primary-button { color: #102b2b; background: #e0b25c; }
.primary-button:hover { background: #edc878; }
.secondary-button { color: #1b4d46; background: #e1eeea; }
.helper { margin: 15px 0 0; color: #81908d; font-size: 12px; line-height: 1.6; }
.state-panel { display: block; }
.state-panel .status-mark, .state-panel .empty-mark { float: left; margin: 0 18px 12px 0; }
.state-panel .notice { clear: both; }
.spinner { width: 30px; height: 30px; margin-bottom: 22px; border: 3px solid #d9e5e1; border-top-color: #1c7163; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .app-shell { display: block; }
  .sidebar { width: 100%; min-height: auto; padding: 14px 12px; }
  .brand { padding: 0 8px 14px; }
  nav { display: flex; overflow-x: auto; }
  .nav-item { flex: 0 0 auto; padding: 9px 11px; }
  .sidebar-foot { display: none; }
  .topbar { min-height: 90px; padding: 18px 20px; }
  .content { padding: 20px; }
  .access-panel { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}
