
    :root {
      color-scheme: dark;
      --bg: #101113;
      --surface: rgba(18, 20, 23, 0.96);
      --surface-strong: rgba(24, 27, 31, 0.98);
      --surface-soft: rgba(27, 30, 34, 0.96);
      --panel: rgba(24, 27, 31, 0.97);
      --panel-2: rgba(32, 35, 39, 0.98);
      --line: rgba(255, 255, 255, 0.14);
      --text: #f7fbff;
      --muted: #aeb9c8;
      --accent: #26d9ff;
      --accent-soft: rgba(38, 217, 255, 0.16);
      --green: #79f2b4;
      --yellow: #ffb347;
      --red: #ff6f61;
      --blue: #26d9ff;
      --magenta: #ff4fb8;
      --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
      --blur: blur(8px) saturate(120%);
    }
    body[data-theme="light"] {
      color-scheme: light;
      --bg: #dce6ee;
      --surface: rgba(218, 230, 238, 0.97);
      --surface-strong: rgba(232, 240, 245, 0.99);
      --surface-soft: rgba(207, 221, 230, 0.97);
      --panel: rgba(224, 234, 240, 0.98);
      --panel-2: rgba(207, 221, 230, 0.98);
      --line: rgba(16, 17, 19, 0.18);
      --text: #101113;
      --muted: #4d5e6c;
      --accent: #008eb3;
      --accent-soft: rgba(0, 142, 179, 0.12);
      --green: #0b6f43;
      --yellow: #b87500;
      --red: #c94438;
      --blue: #008eb3;
      --magenta: #c72b82;
      --shadow: 0 18px 46px rgba(16, 17, 19, 0.12);
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      min-height: 100vh;
      background:
        linear-gradient(90deg, rgba(8, 9, 11, 0.98) 0%, rgba(8, 9, 11, 0.76) 42%, rgba(16, 17, 19, 0.96) 100%),
        var(--bg);
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      letter-spacing: 0;
    }
    body[data-theme="light"] {
      background:
        linear-gradient(90deg, rgba(214, 225, 233, 0.98) 0%, rgba(198, 215, 226, 0.9) 48%, rgba(222, 234, 241, 0.98) 100%),
        var(--bg);
    }
    body::before { content: none; }
    button, input, select, textarea { font: inherit; }
    .shell { position: relative; z-index: 1; display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: rgba(8, 9, 11, 0.44); }
    body[data-theme="light"] .shell { background: rgba(202, 218, 229, 0.5); }
    .sidebar {
      position: sticky;
      top: 0;
      height: 100vh;
      padding: 22px 16px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      isolation: isolate;
      border-right: 1px solid var(--line);
      background: rgba(14, 15, 17, 0.74);
      backdrop-filter: var(--blur);
      -webkit-backdrop-filter: var(--blur);
    }
    .sidebar::before {
      content: none;
    }
    body[data-theme="light"] .sidebar { background: rgba(224, 235, 241, 0.82); }
    .brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 0; text-align: left; }
    .mark {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      display: block;
    }
    .mark img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
      filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
    }
    .brand strong { display: block; font-size: 16px; font-weight: 900; line-height: 1.15; }
    .brand span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-top: 2px; }
	    .nav { width: 100%; display: grid; gap: 10px; justify-items: stretch; }
	    .nav-group { display: grid; gap: 8px; }
	    .nav-items { display: grid; gap: 8px; overflow: hidden; }
	    .nav-items.collapsed { display: none; }
	    .nav-label {
	      width: auto;
	      margin: 0;
	      color: var(--muted);
	      font-size: 12px;
	      font-weight: 820;
	      letter-spacing: 0.08em;
	      text-transform: uppercase;
	      opacity: 0.78;
	    }
	    .nav-toggle {
	      width: 100%;
	      min-height: 40px;
	      border: 1px solid var(--line);
	      border-radius: 8px;
	      background: rgba(255, 255, 255, 0.045);
	      color: var(--text);
	      padding: 10px 12px;
	      display: flex;
	      align-items: center;
	      justify-content: space-between;
	      cursor: pointer;
	      font-size: 12px;
	      font-weight: 900;
	      letter-spacing: 0.08em;
	      text-transform: uppercase;
	      transition: background 140ms ease, border-color 140ms ease;
	    }
	    .nav-toggle:hover { background: rgba(38, 217, 255, 0.08); border-color: rgba(38, 217, 255, 0.28); }
	    .nav-toggle::after {
	      content: "⌄";
	      font-size: 16px;
	      line-height: 1;
	      color: var(--accent);
	      transition: transform 160ms ease;
	    }
	    .nav-toggle.collapsed::after { transform: rotate(-90deg); }
    .nav button[data-view] {
      position: relative;
      width: 100%;
      border: 1px solid transparent;
      border-radius: 8px;
      color: var(--muted);
      background: transparent;
      min-height: 42px;
      padding: 10px 12px;
      text-align: left;
      cursor: pointer;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.15;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 70px;
      align-items: center;
      gap: 8px;
      overflow-wrap: anywhere;
      transition: background 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
      -webkit-tap-highlight-color: transparent;
    }
    .nav button.with-counter { padding-right: 12px; }
    .nav button.with-counter.counter-visible { grid-template-columns: minmax(0, 1fr) 70px; padding-right: 34px; }
    .nav-label-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav-plan {
      min-height: 20px;
      width: 70px;
      border-radius: 999px;
      padding: 3px 7px;
      border: 1px solid var(--line);
      font-size: 9px;
      font-weight: 900;
      line-height: 1;
      white-space: nowrap;
      letter-spacing: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      justify-self: end;
    }
    .nav button.with-counter.counter-visible .nav-plan { width: 70px; }
    .nav-plan.free { color: #dfffea; border-color: rgba(121, 242, 180, 0.32); background: rgba(121, 242, 180, 0.12); }
    body[data-theme="light"] .nav-plan.free { color: #07482c; border-color: rgba(11, 111, 67, 0.34); background: rgba(11, 111, 67, 0.12); }
    .nav-plan.premium { color: #08090a; border-color: rgba(255, 179, 71, 0.54); background: linear-gradient(135deg, #ffd66b, #ffb347); gap: 5px; }
	    .nav-lock {
	      position: relative;
	      width: 9px;
	      height: 7px;
	      margin-top: 3px;
	      border-radius: 2px;
	      background: currentColor;
	      flex: 0 0 9px;
	      opacity: 0.76;
	    }
	    .nav-lock::before {
	      content: "";
	      position: absolute;
	      left: 2px;
	      bottom: 5px;
	      width: 5px;
	      height: 5px;
	      border: 1.4px solid currentColor;
	      border-bottom: 0;
	      border-radius: 5px 5px 0 0;
	    }
    .nav-plan.owner { color: var(--accent); border-color: rgba(38, 217, 255, 0.34); background: rgba(38, 217, 255, 0.1); }
    .nav-badge {
      position: absolute;
      top: 5px;
      right: 7px;
      min-width: 19px;
      height: 19px;
      border-radius: 999px;
      padding: 0 5px;
      display: inline-grid;
      place-items: center;
      background: var(--red);
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
      box-shadow: 0 3px 10px rgba(255, 111, 97, 0.35), 0 0 0 2px rgba(14, 15, 17, 0.82);
      pointer-events: none;
    }
    body[data-theme="light"] .nav-badge { box-shadow: 0 3px 10px rgba(201, 68, 56, 0.24), 0 0 0 2px rgba(255, 255, 255, 0.9); }
	    .nav-badge.hidden { display: none; }
	    .nav-badge.warn { background: var(--yellow); color: #08090a; box-shadow: 0 3px 10px rgba(255, 179, 71, 0.35), 0 0 0 2px rgba(14, 15, 17, 0.82); }
	    .nav-badge.blue { background: var(--accent); color: #08090a; box-shadow: 0 3px 10px rgba(38, 217, 255, 0.35), 0 0 0 2px rgba(14, 15, 17, 0.82); }
	    .nav-badge.setup {
	      position: static;
	      min-width: 48px;
	      height: 20px;
	      padding: 0 6px;
	      background: rgba(121, 242, 180, 0.13);
	      color: #dfffea;
	      border: 1px solid rgba(121, 242, 180, 0.34);
	      box-shadow: none;
	      white-space: nowrap;
	      font-size: 10px;
	      justify-self: end;
	    }
	    body[data-theme="light"] .nav-badge.setup { color: #07482c; background: rgba(11, 111, 67, 0.13); border-color: rgba(11, 111, 67, 0.34); box-shadow: none; }
	    .nav-badge.setup.todo { background: rgba(38, 217, 255, 0.12); color: var(--accent); border-color: rgba(38, 217, 255, 0.32); }
	    body[data-theme="light"] .nav-badge.setup.todo { color: #00657f; background: rgba(0, 142, 179, 0.12); border-color: rgba(0, 142, 179, 0.28); }
	    .nav button.setup-nav {
	      grid-template-columns: 12px minmax(0, 1fr) 42px 48px;
	      gap: 6px;
	      padding-left: 12px;
	      padding-right: 8px;
	      background: rgba(38, 217, 255, 0.07);
	      border-color: rgba(38, 217, 255, 0.22);
	      color: var(--text);
	    }
	    .nav button.setup-nav .nav-plan {
	      width: 42px;
	      min-height: 20px;
	      padding: 3px 5px;
	      font-size: 9px;
	    }
	    .nav button.setup-nav::before {
	      content: "";
	      width: 7px;
	      height: 7px;
	      border-radius: 999px;
	      background: var(--green);
	      box-shadow: 0 0 14px rgba(121, 242, 180, 0.48);
	      justify-self: center;
	    }
	    body[data-theme="light"] .nav button[data-view] { background: transparent; }
    .nav button[data-view]:hover { background: rgba(38, 217, 255, 0.08); color: var(--text); transform: translateX(2px); }
    .nav button[data-view].active {
      background: rgba(38, 217, 255, 0.11);
      color: var(--text);
      border-color: rgba(38, 217, 255, 0.34);
      box-shadow: 0 0 24px rgba(38, 217, 255, 0.1);
    }
    .nav button:active, .btn:active { transform: scale(0.985); }
    .main { min-width: 0; }
    .mobile-nav-toggle, .nav-backdrop { display: none; }
    .topbar {
      min-height: 72px;
      border: 1px solid var(--line);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 16px;
      gap: 16px;
      margin: 22px 22px 0;
      background: rgba(14, 15, 17, 0.72);
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
      backdrop-filter: var(--blur);
      -webkit-backdrop-filter: var(--blur);
      position: sticky;
      top: 16px;
      z-index: 3;
    }
    body[data-theme="light"] .topbar { background: rgba(226, 237, 243, 0.86); }
    .topbar h1 { font-size: clamp(28px, 3vw, 42px); margin: 0; font-weight: 900; line-height: 0.98; }
	    .topbar-leading { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
	    .actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
	    .topbar-copy { display: grid; gap: 4px; }
	    .tiny { font-size: 12px; }
	    .global-search {
	      width: min(260px, 32vw);
	      min-height: 42px;
	      border-radius: 8px;
	      padding: 10px 12px;
	      background: var(--surface-strong);
	    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      background: var(--surface-strong);
      color: var(--text);
      border-radius: 8px;
      min-height: 42px;
      padding: 0 14px;
      cursor: pointer;
      text-decoration: none;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      font-weight: 860;
      transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
    }
	    .btn:hover { background: var(--panel-2); border-color: rgba(38, 217, 255, 0.3); transform: translateY(-1px); }
	    .btn.primary { border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--magenta)); color: #08090a; font-weight: 900; box-shadow: 0 0 24px rgba(38, 217, 255, 0.16); }
	    .btn.warn { border-color: rgba(255, 179, 71, 0.34); color: var(--yellow); background: rgba(255, 179, 71, 0.11); }
	    .btn.danger { border-color: rgba(255, 111, 97, 0.34); color: var(--red); background: rgba(255, 111, 97, 0.1); }
    .theme-toggle {
      position: relative;
      width: 74px;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface-strong);
      color: var(--muted);
      padding: 4px;
      cursor: pointer;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
      -webkit-tap-highlight-color: transparent;
    }
    .theme-toggle:hover { background: var(--panel-2); }
    .theme-toggle:active { transform: scale(0.985); }
    .theme-toggle span {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      height: 32px;
      font-size: 16px;
      line-height: 1;
      transition: color 140ms ease;
    }
    .theme-toggle::before {
      content: "";
      position: absolute;
      top: 4px;
      left: 4px;
      width: 32px;
      height: 32px;
      border-radius: 6px;
      background: linear-gradient(135deg, var(--accent), var(--magenta));
      box-shadow: 0 6px 16px rgba(38, 217, 255, 0.26);
      transition: transform 180ms ease;
    }
    .theme-toggle[data-theme="dark"]::before { transform: translateX(32px); }
    .theme-toggle[data-theme="light"] .theme-sun,
    .theme-toggle[data-theme="dark"] .theme-moon { color: #08090a; font-weight: 900; }
    .content { padding: 16px 22px 32px; display: grid; gap: 16px; }
	    .page-context {
	      border: 1px solid var(--line);
	      border-radius: 12px;
	      background: var(--surface);
	      box-shadow: var(--shadow);
	      padding: 14px 16px;
	      display: grid;
	      grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
	      gap: 14px;
	      align-items: center;
	    }
	    .page-context-copy { display: grid; gap: 5px; }
	    .page-context-copy strong { font-size: 15px; font-weight: 900; }
	    .page-context-copy span { color: var(--muted); font-size: 12px; line-height: 1.45; }
	    .page-context-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
	    .page-context-controls select { min-width: 180px; }
	    .login-shell { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 20px 0; }
	    .login-card {
	      width: min(660px, 100%);
	      padding: 28px;
	      display: grid;
	      gap: 18px;
	      border: 1px solid rgba(38, 217, 255, 0.28);
	      border-radius: 12px;
	      background: var(--panel);
	      box-shadow: var(--shadow);
	    }
	    .login-card h2 { margin: 0; font-size: 28px; line-height: 1.08; }
	    .login-card p { margin: 0; color: var(--muted); line-height: 1.55; }
	    .login-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	    .login-step { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--surface-soft); display: grid; gap: 7px; }
	    .login-step strong { font-size: 13px; }
	    .login-step span { color: var(--muted); font-size: 12px; line-height: 1.4; }
	    .login-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
	    body.auth-required .shell { grid-template-columns: 1fr; }
	    body.auth-required .sidebar { display: none; }
	    body.auth-required #page-context,
	    body.auth-required #metrics,
	    body.auth-required #details-panel,
	    body.auth-required #global-search,
	    body.auth-required #logout-button,
	    body.auth-required #login-button,
	    body.auth-required #token-button,
	    body.auth-required .mobile-nav-toggle,
	    body.auth-required #clip-check,
	    body.auth-required #stream-check { display: none !important; }
	    body.auth-required .grid { grid-template-columns: 1fr; }
	    body.auth-required #primary-panel { border: 0; background: transparent; box-shadow: none; }
	    body.auth-required #primary-panel > .panel-head { display: none; }
	    body.auth-required #primary-panel > .panel-body { padding: 0; overflow: visible; }
    .metrics { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 14px; }
    .metric, .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: var(--shadow);
    }
	    .metric { padding: 16px; min-height: 104px; display: grid; align-content: space-between; gap: 8px; }
	    .metric span { color: var(--muted); font-size: 13px; font-weight: 800; }
	    .metric strong { display: block; margin-top: 0; font-size: 30px; line-height: 1; letter-spacing: 0; }
	    .metric:nth-child(1) { border-color: rgba(38, 217, 255, 0.26); }
	    .metric:nth-child(2) { border-color: rgba(121, 242, 180, 0.26); }
	    .metric:nth-child(3) { border-color: rgba(255, 79, 184, 0.24); }
	    .metric:nth-child(4) { border-color: rgba(255, 179, 71, 0.24); }
	    .grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
	    .panel { overflow: hidden; }
	    .panel-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(14, 15, 17, 0.38); }
	    body[data-theme="light"] .panel-head { background: rgba(205, 221, 231, 0.72); }
	    .panel-head h2 { margin: 0; font-size: 16px; font-weight: 900; }
	    .panel-body { padding: 16px 18px; overflow-x: auto; }
	    #details-panel .panel-body > .stack { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
	    #details-panel .row { border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: var(--surface-soft); display: grid; gap: 5px; }
	    #details-panel .row strong { text-align: left; }
	    #details-panel .activity-list { margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	    #details-panel .activity-item { border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: var(--surface-soft); }
	    .control-hero {
	      display: grid;
	      grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
	      gap: 14px;
	      align-items: stretch;
	    }
	    .control-card, .action-card, .stream-card, .shop-card, .event-card, .preview-embed, .ticket-column {
	      border: 1px solid var(--line);
	      border-radius: 12px;
	      background: var(--panel);
	      box-shadow: var(--shadow);
	    }
	    .control-card { padding: 20px; display: grid; gap: 16px; border-color: rgba(38, 217, 255, 0.2); }
	    .control-card h2 { margin: 0; font-size: 26px; line-height: 1.04; font-weight: 900; }
	    .control-card p { margin: 0; color: var(--muted); max-width: 760px; line-height: 1.5; }
	    .control-strip { display: flex; flex-wrap: wrap; gap: 10px; }
	    .action-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 14px; }
	    .guide-grid { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 14px; }
	    .action-card { padding: 16px; display: grid; gap: 10px; align-content: start; }
	    button.action-card { cursor: pointer; color: var(--text); text-align: left; font: inherit; }
	    button.action-card:hover { border-color: rgba(38, 217, 255, 0.45); background: var(--surface-strong); transform: translateY(-1px); }
	    .action-card strong, .stream-card strong, .shop-card strong, .event-card strong { font-size: 14px; font-weight: 900; }
	    .action-card span, .stream-card span, .shop-card span, .event-card span { color: var(--muted); font-size: 12px; line-height: 1.35; }
	    .automod-action-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	    .automod-action-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); padding: 15px; display: grid; gap: 10px; }
	    .automod-action-card.free { border-color: rgba(121, 242, 180, 0.34); background: rgba(121, 242, 180, 0.08); }
	    .automod-action-card.premium { border-color: rgba(255, 179, 71, 0.34); background: rgba(255, 179, 71, 0.08); }
	    .automod-action-card h3 { margin: 0; font-size: 15px; font-weight: 900; }
	    .automod-action-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
	    .automod-action-list { display: grid; gap: 8px; }
	    .automod-action-item { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; font-size: 12px; line-height: 1.45; }
	    .automod-action-item strong { color: var(--text); }
	    .automod-action-item span { color: var(--muted); }
	    .billing-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
	    .billing-hero h2 { margin: 0 0 7px; font-size: 24px; }
	    .billing-hero p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 720px; }
	    .billing-status { min-width: 190px; text-align: right; display: grid; gap: 5px; }
	    .billing-status strong { font-size: 18px; }
	    .pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
	    .pricing-option { border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 14px; background: var(--surface-soft); }
	    .pricing-option.recommended { border-color: rgba(38, 217, 255, 0.42); }
	    .pricing-option.introductory { border-color: rgba(255, 179, 71, 0.48); }
	    .pricing-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
	    .pricing-head h3 { margin: 0; font-size: 18px; }
	    .pricing-price { display: flex; align-items: baseline; gap: 7px; }
	    .pricing-price strong { font-size: 30px; line-height: 1; }
	    .pricing-price span, .pricing-option p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
	    .pricing-offer { display: grid; gap: 4px; padding: 11px 12px; border-left: 3px solid var(--yellow); background: rgba(255, 179, 71, 0.08); }
	    .pricing-offer strong { color: var(--text); font-size: 13px; }
	    .pricing-offer span { color: var(--muted); font-size: 12px; line-height: 1.45; }
	    body[data-theme="light"] .pricing-offer { background: rgba(174, 103, 0, 0.09); }
	    .pricing-option .btn { width: 100%; }
	    .billing-consent { display: grid; gap: 14px; margin-top: 16px; padding: 18px; border: 1px solid rgba(38, 217, 255, 0.28); border-radius: 10px; background: var(--surface-soft); }
	    .billing-consent h3 { margin: 0; font-size: 16px; }
	    .billing-consent > p { margin: -6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
	    .billing-consent-options { display: grid; gap: 10px; }
	    .billing-consent-option { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); cursor: pointer; }
	    .billing-consent-option input { margin-top: 1px; }
	    .billing-consent-option span { min-width: 0; font-size: 12px; line-height: 1.55; }
	    .billing-consent-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
	    .billing-consent-links a { color: var(--accent); font-size: 12px; font-weight: 800; text-underline-offset: 3px; }
	    .billing-faq { display: grid; gap: 8px; }
	    .billing-faq details { border-top: 1px solid var(--line); padding: 12px 0 0; }
	    .billing-faq summary { cursor: pointer; font-weight: 850; }
	    .billing-faq p { color: var(--muted); line-height: 1.55; margin: 8px 0 0; }
	    .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
	    .module-status-grid, .permission-check-grid, .limit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
	    .module-status-card, .permission-check-card, .limit-card {
	      border: 1px solid var(--line);
	      border-radius: 12px;
	      background: var(--surface-soft);
	      padding: 14px;
	      display: grid;
	      gap: 9px;
	      align-content: start;
	    }
	    .module-status-card.ready, .permission-check-card.ok { border-color: rgba(121, 242, 180, 0.34); background: rgba(121, 242, 180, 0.08); }
	    .module-status-card.todo, .permission-check-card.warn { border-color: rgba(255, 179, 71, 0.34); background: rgba(255, 179, 71, 0.08); }
	    .module-status-head, .permission-check-head, .limit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
	    .module-status-card strong, .permission-check-card strong, .limit-card strong { font-size: 14px; font-weight: 900; }
	    .module-status-card span, .permission-check-card span, .limit-card span { color: var(--muted); font-size: 12px; line-height: 1.4; }
	    .stream-card, .shop-card, .event-card { padding: 16px; display: grid; gap: 9px; min-height: 132px; }
	    .stream-card.live { border-color: rgba(121, 242, 180, 0.36); background: rgba(121, 242, 180, 0.1); box-shadow: 0 0 28px rgba(121, 242, 180, 0.08), var(--shadow); }
	    .ticket-board { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 14px; }
	    .ticket-column { padding: 14px; display: grid; gap: 10px; align-content: start; min-height: 180px; }
	    .ticket-column h3 { margin: 0; font-size: 14px; font-weight: 900; }
	    .ticket-mini { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--surface-soft); display: grid; gap: 4px; }
	    .preview-embed { padding: 14px; display: grid; gap: 10px; border-left: 4px solid var(--accent); }
	    .preview-embed h3 { margin: 0; font-size: 15px; }
	    .preview-embed p { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
	    .embed-workspace { display: grid; gap: 14px; }
	    .embed-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(190px, 1fr) auto auto; gap: 10px; align-items: center; }
	    .embed-builder-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: 14px; align-items: start; }
	    .embed-editor { min-width: 0; display: grid; gap: 10px; }
	    .embed-editor details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); overflow: hidden; }
	    .embed-editor details[open] { border-color: rgba(72, 200, 232, .34); }
	    .embed-editor summary { min-height: 52px; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-weight: 850; }
	    .embed-editor summary::-webkit-details-marker { display: none; }
	    .embed-editor summary:hover { background: var(--panel-2); }
	    .embed-section-body { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
	    .embed-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: end; }
	    .embed-form-grid .full { grid-column: 1 / -1; }
	    .embed-form-grid label, .embed-stack-label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
	    .embed-help { color: var(--muted); font-size: 11px; line-height: 1.45; }
	    .embed-markdown-tools, .embed-color-presets, .embed-actions, .embed-list-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
	    .embed-tool-button, .embed-icon-button { min-width: 34px; min-height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--text); cursor: pointer; font-weight: 800; }
	    .embed-tool-button:hover, .embed-icon-button:hover { border-color: var(--accent); background: var(--panel-2); }
	    .embed-icon-button { width: 34px; padding: 0; }
	    .embed-color-control { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
	    .embed-color-control input[type="color"] { width: 52px; min-height: 42px; padding: 4px; cursor: pointer; }
	    .embed-color-swatch { width: 26px; height: 26px; padding: 0; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; }
	    .embed-color-swatch:hover { border-color: var(--text); }
	    .embed-repeater { display: grid; gap: 9px; }
	    .embed-repeater-item { border: 1px solid var(--line); border-radius: 7px; background: var(--panel); padding: 10px; display: grid; gap: 9px; }
	    .embed-repeater-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
	    .embed-repeater-head strong { font-size: 12px; }
	    .embed-inline-check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
	    .embed-preview-panel { position: sticky; top: 84px; min-width: 0; display: grid; gap: 10px; }
	    .embed-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
	    .embed-preview-head strong { font-size: 13px; }
	    .discord-preview { border: 1px solid #29303a; border-radius: 8px; background: #313338; color: #dbdee1; padding: 16px; min-height: 240px; overflow: hidden; }
	    .discord-message { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
	    .discord-avatar { width: 40px; height: 40px; border-radius: 999px; overflow: hidden; background: #1e1f22; display: grid; place-items: center; font-weight: 900; color: #23c8e8; }
	    .discord-avatar img { width: 100%; height: 100%; object-fit: cover; }
	    .discord-message-main { min-width: 0; }
	    .discord-message-meta { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
	    .discord-message-meta strong { color: #f2f3f5; font-size: 14px; }
	    .discord-message-meta span { color: #949ba4; font-size: 11px; }
	    .discord-content { color: #dbdee1; font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 7px; }
	    .discord-embed { position: relative; max-width: 520px; overflow: hidden; border-radius: 4px; background: #2b2d31; display: grid; grid-template-columns: 4px minmax(0, 1fr); }
	    .discord-embed-accent { background: var(--embed-color, #48c8e8); }
	    .discord-embed-body { min-width: 0; padding: 12px; display: grid; gap: 8px; }
	    .discord-embed-with-thumbnail { display: grid; grid-template-columns: minmax(0, 1fr) 80px; gap: 14px; align-items: start; }
	    .discord-embed-copy { min-width: 0; display: grid; gap: 7px; }
	    .discord-author { display: flex; align-items: center; gap: 7px; color: #f2f3f5; font-size: 12px; font-weight: 700; }
	    .discord-author img, .discord-footer img { width: 20px; height: 20px; border-radius: 999px; object-fit: cover; }
	    .discord-embed-title { color: #00a8fc; font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }
	    .discord-embed-description { color: #dbdee1; font-size: 13px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
	    .discord-thumbnail { width: 80px; height: 80px; border-radius: 4px; object-fit: cover; background: #1e1f22; }
	    .discord-image { display: block; width: 100%; max-height: 300px; border-radius: 4px; object-fit: cover; background: #1e1f22; }
	    .discord-fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
	    .discord-field { grid-column: 1 / -1; min-width: 0; display: grid; gap: 3px; }
	    .discord-field.inline { grid-column: span 4; }
	    .discord-field strong { color: #f2f3f5; font-size: 12px; overflow-wrap: anywhere; }
	    .discord-field span { color: #dbdee1; font-size: 12px; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
	    .discord-footer { display: flex; align-items: center; gap: 6px; color: #b5bac1; font-size: 10px; }
	    .discord-buttons { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
	    .discord-button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 3px; background: #4e5058; color: #fff; font-size: 12px; font-weight: 700; }
	    .embed-validation { border: 1px solid var(--line); border-radius: 7px; padding: 10px; display: grid; gap: 6px; background: var(--surface-soft); }
	    .embed-validation.ok { border-color: rgba(102, 211, 155, .34); }
	    .embed-validation.warn { border-color: rgba(239, 180, 95, .38); }
	    .embed-validation.error { border-color: rgba(239, 118, 109, .4); }
	    .embed-validation strong { font-size: 12px; }
	    .embed-validation span { color: var(--muted); font-size: 11px; line-height: 1.4; }
	    .embed-counter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
	    .embed-counter { border: 1px solid var(--line); border-radius: 6px; padding: 8px; display: grid; gap: 2px; background: var(--surface-soft); }
	    .embed-counter span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
	    .embed-counter strong { font-size: 12px; }
	    .embed-publish-bar { position: sticky; bottom: 10px; z-index: 2; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
	    .embed-library { display: grid; gap: 10px; margin-top: 4px; }
	    .embed-library-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) 170px auto; gap: 9px; align-items: center; }
	    .embed-library-list { display: grid; gap: 8px; }
	    .embed-library-item { border: 1px solid var(--line); border-radius: 7px; padding: 11px; background: var(--surface-soft); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
	    .embed-library-meta { min-width: 0; display: grid; gap: 4px; }
	    .embed-library-meta strong { overflow-wrap: anywhere; }
	    .embed-library-meta span { color: var(--muted); font-size: 11px; }
	    .embed-status { display: inline-flex; width: max-content; min-height: 22px; align-items: center; padding: 2px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
	    .embed-status.sent { color: var(--green); border-color: rgba(102, 211, 155, .3); }
	    .embed-status.scheduled { color: var(--accent); border-color: rgba(72, 200, 232, .3); }
	    .embed-status.template { color: var(--yellow); border-color: rgba(239, 180, 95, .3); }
	    .embed-status.failed { color: var(--red); border-color: rgba(239, 118, 109, .34); }
	    @media (max-width: 1050px) {
	      .embed-builder-layout { grid-template-columns: 1fr; }
	      .embed-preview-panel { position: static; }
	    }
	    @media (max-width: 650px) {
	      .embed-toolbar, .embed-library-toolbar, .embed-form-grid { grid-template-columns: 1fr; }
	      .embed-form-grid .full { grid-column: auto; }
	      .embed-publish-bar, .embed-library-item { align-items: stretch; grid-template-columns: 1fr; }
	      .embed-actions, .embed-list-actions { width: 100%; }
	      .embed-actions .btn, .embed-library-item .btn { flex: 1 1 auto; }
	      .discord-field.inline { grid-column: 1 / -1; }
	      .embed-counter-grid { grid-template-columns: 1fr; }
	    }
	    .save-bar {
	      position: fixed;
	      left: 50%;
	      bottom: 18px;
	      transform: translateX(-50%);
	      z-index: 85;
	      width: min(680px, calc(100vw - 32px));
	      border: 1px solid rgba(255, 179, 71, 0.4);
	      border-radius: 12px;
	      background: rgba(255, 179, 71, 0.16);
	      color: var(--text);
	      box-shadow: var(--shadow);
	      padding: 10px 12px;
	      display: flex;
	      align-items: center;
	      justify-content: space-between;
	      gap: 12px;
	    }
	    .save-bar strong { color: var(--yellow); }
	    .save-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
	    body.has-save-bar .toast-stack { bottom: 96px; }
	    table { width: 100%; border-collapse: separate; border-spacing: 0; }
	    th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; vertical-align: middle; }
	    th { color: var(--muted); font-weight: 850; position: sticky; top: 0; z-index: 1; background: var(--panel); }
	    .table-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; white-space: nowrap; }
	    tbody tr:hover td { background: rgba(38, 217, 255, 0.035); }
	    tr:last-child td { border-bottom: 0; }
    .status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
    .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--muted); box-shadow: 0 0 0 3px rgba(174, 185, 200, 0.12); }
    .dot.live, .dot.ok { background: var(--green); }
    .dot.warn { background: var(--yellow); }
    .muted { color: var(--muted); }
	    .tag { display: inline-flex; align-items: center; min-height: 26px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--muted); background: var(--surface-soft); font-size: 12px; font-weight: 800; }
	    .tag.ok { color: #dfffea; border-color: rgba(121, 242, 180, 0.34); background: rgba(121, 242, 180, 0.12); }
	    body[data-theme="light"] .tag.ok { color: #07482c; border-color: rgba(11, 111, 67, 0.38); background: rgba(11, 111, 67, 0.14); }
	    .tag.warn { color: var(--yellow); border-color: rgba(255, 179, 71, 0.34); background: rgba(255, 179, 71, 0.1); }
	    .tag.premium { color: #08090a; border-color: rgba(255, 179, 71, 0.54); background: linear-gradient(135deg, #ffd66b, #ffb347); }
	    .tag.danger { color: var(--red); border-color: rgba(255, 111, 97, 0.34); background: rgba(255, 111, 97, 0.1); }
	    .stack { display: grid; gap: 12px; }
	    .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
	    .row:last-child { border-bottom: 0; }
	    .row strong { text-align: right; overflow-wrap: anywhere; }
	    .activity-list { display: grid; gap: 8px; }
	    .activity-item { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--line); }
	    .activity-item:last-child { border-bottom: 0; }
	    .activity-item strong { font-size: 13px; }
	    .activity-item span { color: var(--muted); font-size: 12px; }
    select, input, textarea {
      width: 100%;
      min-height: 42px;
      border-radius: 8px;
      border: 1px solid var(--line);
      background: var(--surface-soft);
      color: var(--text);
      padding: 10px 12px;
      outline: none;
      transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
    }
    select:focus, input:focus, textarea:focus { border-color: rgba(38, 217, 255, 0.72); box-shadow: 0 0 0 4px var(--accent-soft); }
    textarea { min-height: 92px; resize: vertical; }
    input[type="checkbox"] {
      appearance: none;
      width: 42px;
      min-height: 24px;
      height: 24px;
      border-radius: 999px;
      border: 0;
      padding: 0;
      background: rgba(174, 185, 200, 0.32);
      position: relative;
      cursor: pointer;
      transition: background 160ms ease;
    }
    input[type="checkbox"]::after {
      content: "";
      position: absolute;
      top: 2px;
      left: 2px;
      width: 20px;
      height: 20px;
      border-radius: 999px;
      background: #fff;
      box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
      transition: transform 160ms ease;
    }
    input[type="checkbox"]:checked { background: linear-gradient(135deg, var(--accent), var(--green)); }
    input[type="checkbox"]:checked::after { transform: translateX(18px); }
	    .member-picker { display: grid; gap: 7px; min-width: 240px; }
	    .member-picker-field { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
	    .member-picker-control { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 6px; align-items: center; }
	    .member-picker-control input { min-width: 0; }
	    .member-picker-clear { width: 38px; min-width: 38px; min-height: 42px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; }
	    .member-picker-clear:hover, .member-picker-clear:focus-visible { border-color: var(--red); color: var(--red); outline: 0; }
	    .member-picker-clear:disabled { opacity: .4; cursor: default; border-color: var(--line); color: var(--muted); }
	    .member-picker-selection, .member-picker-result { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; min-height: 44px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); }
	    .member-picker-selection.empty { grid-template-columns: 1fr; color: var(--muted); font-size: 11px; }
	    .member-picker-avatar { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; background: var(--surface-strong); }
	    .member-picker-avatar.fallback { display: grid; place-items: center; color: var(--accent); font-size: 11px; font-weight: 900; }
	    .member-picker-meta { display: grid; gap: 2px; min-width: 0; }
	    .member-picker-meta strong, .member-picker-meta small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	    .member-picker-meta strong { color: var(--text); font-size: 12px; }
	    .member-picker-meta small { color: var(--muted); font-size: 10px; }
	    .member-picker-results { display: grid; gap: 5px; padding: 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
	    .member-picker-result { width: 100%; color: var(--text); text-align: left; cursor: pointer; }
	    .member-picker-result:hover, .member-picker-result:focus-visible { border-color: var(--accent); background: var(--accent-soft); outline: 0; }
	    .member-picker-result-hint { padding: 7px 8px; color: var(--muted); font-size: 11px; }
	    .toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(190px, 1fr) auto; gap: 10px; align-items: center; }
	    .form-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 12px; align-items: end; }
    .form-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
    .manage-grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 10px; align-items: end; }
    .manage-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
    .inline-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
	    .rule-grid { display: grid; gap: 12px; }
	    .rule-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface-soft); display: grid; gap: 10px; }
	    .rule-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	    .rule-title strong { font-size: 14px; }
	    .advanced-section > .panel-head { cursor: pointer; }
	    .advanced-toggle {
	      margin-left: auto;
	      border: 1px solid var(--line);
	      border-radius: 7px;
	      min-height: 30px;
	      padding: 0 10px;
	      background: var(--surface-soft);
	      color: var(--muted);
	      cursor: pointer;
	      font-size: 11px;
	      font-weight: 850;
	    }
	    .advanced-section.collapsed > .panel-body { display: none; }
	    .setup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
	    .setup-step { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px; align-content: start; }
	    .setup-step.done { border-color: rgba(121, 242, 180, 0.36); background: rgba(121, 242, 180, 0.08); }
	    .setup-step.todo { border-color: rgba(255, 179, 71, 0.34); background: rgba(255, 179, 71, 0.08); }
	    body[data-theme="light"] .setup-step.done { border-color: rgba(11, 111, 67, 0.36); background: rgba(11, 111, 67, 0.09); }
	    .setup-step-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
	    .setup-step h3 { margin: 0; font-size: 15px; font-weight: 900; }
	    .setup-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
	    .setup-progress { height: 10px; border-radius: 999px; background: var(--surface-soft); overflow: hidden; border: 1px solid var(--line); }
	    .setup-progress span { display: block; height: 100%; width: var(--setup-progress, 0%); background: linear-gradient(135deg, var(--accent), var(--green)); border-radius: inherit; }
    .system-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 12px; }
    .system-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); padding: 15px; display: grid; gap: 8px; }
    .system-card h3 { margin: 0 0 4px; font-size: 14px; font-weight: 730; }
    .monitoring-check { border-left: 3px solid var(--line); }
    .monitoring-check.ok { border-left-color: var(--green); }
    .monitoring-check.warning { border-left-color: var(--yellow); }
    .monitoring-check.error { border-left-color: var(--red); }
    .monitoring-check.disabled, .monitoring-check.unknown { opacity: 0.78; }
    .monitoring-check-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
    .monitoring-check p { margin: 0; color: var(--muted); line-height: 1.45; }
    .monitoring-check-details { display: flex; flex-wrap: wrap; gap: 6px; }
    .monitoring-check-details span { color: var(--muted); font-size: 12px; }
    .installation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
    .installation-feature { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); padding: 13px; display: grid; gap: 7px; }
    .installation-feature span { color: var(--muted); font-size: 12px; font-weight: 800; }
    .installation-feature strong { font-size: 24px; line-height: 1; }
    .installation-server { display: flex; align-items: center; gap: 10px; min-width: 220px; }
    .installation-icon { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; background: linear-gradient(135deg, rgba(38, 217, 255, 0.18), rgba(255, 79, 184, 0.16)); border: 1px solid var(--line); overflow: hidden; color: var(--text); font-weight: 900; }
    .installation-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .installation-meta { display: grid; gap: 2px; min-width: 0; }
    .installation-meta strong, .installation-meta span { overflow-wrap: anywhere; }
    .installation-table { min-width: 1180px; }
    .error-list { display: grid; gap: 8px; }
    .error-item { border: 1px solid rgba(255, 111, 97, 0.32); border-radius: 8px; padding: 11px; color: var(--muted); background: rgba(255, 111, 97, 0.08); overflow-wrap: anywhere; }
    .filter-grid { display: grid; grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(120px, 0.8fr)) auto; gap: 8px; align-items: end; }
    .filter-grid label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
    .clip-rules-panel { overflow-x: auto; }
    .clip-rules-panel table { min-width: 1180px; }
    .clip-rules-panel th:nth-child(3), .clip-rules-panel th:nth-child(4),
    .clip-rules-panel td:nth-child(3), .clip-rules-panel td:nth-child(4) { min-width: 210px; }
    .clip-rules-panel th:nth-child(5), .clip-rules-panel th:nth-child(6), .clip-rules-panel th:nth-child(7),
    .clip-rules-panel td:nth-child(5), .clip-rules-panel td:nth-child(6), .clip-rules-panel td:nth-child(7) { min-width: 118px; }
    .clip-rules-panel th:nth-child(8), .clip-rules-panel td:nth-child(8) { min-width: 220px; }
    .clip-rules-panel select, .clip-rules-panel input { min-height: 46px; font-size: 14px; padding: 10px 12px; }
    .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 10px; }
	    .detail-section { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
    .detail-box { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--surface-soft); }
    .detail-box span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
    .detail-box strong, .detail-box div { overflow-wrap: anywhere; }
		    .notice { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 14px 16px; color: var(--muted); box-shadow: var(--shadow); }
		    .notice.success { border-color: rgba(121, 242, 180, 0.36); color: var(--green); }
		    body[data-theme="light"] .notice.success { border-color: rgba(11, 111, 67, 0.38); color: #064527; background: rgba(11, 111, 67, 0.11); }
		    .choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
		    .quiz-category-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 70px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); cursor: pointer; transition: border-color 140ms ease, background 140ms ease; }
		    .quiz-category-card:hover { border-color: var(--line-strong); background: var(--surface-strong); }
		    .quiz-category-card:has(.quiz-category-toggle:checked) { border-color: rgba(38, 217, 255, 0.46); background: rgba(38, 217, 255, 0.07); }
		    .quiz-category-copy { display: grid; min-width: 0; gap: 3px; }
		    .quiz-category-copy strong { color: var(--text); font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
		    .quiz-category-copy small { color: var(--muted); font-size: 12px; line-height: 1.3; }
		    .quiz-category-toggle { width: 42px !important; min-width: 42px; min-height: 24px !important; height: 24px !important; margin: 0; justify-self: end; }
		    .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-bottom: 12px; }
		    .stats-grid > div { display: grid; gap: 4px; padding: 12px; border-left: 2px solid var(--accent); background: var(--surface-soft); }
		    .stats-grid span { color: var(--muted); font-size: 11px; }
		    .stats-grid strong { color: var(--text); font-size: 18px; }
		    .notice.unsaved { border-color: rgba(255, 179, 71, 0.34); color: var(--yellow); background: rgba(255, 179, 71, 0.08); }
		    .error { border-color: rgba(255, 111, 97, 0.45); color: var(--red); }
	    .toast-stack {
	      position: fixed;
	      right: 22px;
	      bottom: 22px;
	      z-index: 90;
	      display: grid;
	      gap: 10px;
	      width: min(380px, calc(100vw - 32px));
	      pointer-events: none;
	    }
	    .toast {
	      border: 1px solid var(--line);
	      border-radius: 12px;
	      padding: 14px 16px;
	      color: var(--text);
	      background: var(--panel);
	      box-shadow: var(--shadow);
	      font-size: 14px;
	      font-weight: 720;
	      line-height: 1.35;
	      overflow-wrap: anywhere;
	      pointer-events: auto;
	    }
	    .toast.success { border-color: rgba(121, 242, 180, 0.46); background: rgba(121, 242, 180, 0.16); color: var(--green); }
	    body[data-theme="light"] .toast.success { border-color: rgba(11, 111, 67, 0.42); background: rgba(11, 111, 67, 0.12); color: #064527; }
	    .toast.unsaved { border-color: rgba(255, 179, 71, 0.5); background: rgba(255, 179, 71, 0.17); color: var(--yellow); }
	    .toast.error { border-color: rgba(255, 111, 97, 0.52); background: rgba(255, 111, 97, 0.16); color: var(--red); }
	    .hidden { display: none !important; }
	    @media (max-width: 1100px) {
      .shell { grid-template-columns: 1fr; }
	      .sidebar {
		        position: fixed;
		        inset: 0 auto 0 0;
		        width: min(320px, 88vw);
		        height: 100vh;
		        height: 100dvh;
	        border-right: 1px solid var(--line);
	        border-bottom: 0;
	        padding: 18px 16px;
	        align-items: stretch;
	        background: rgba(14, 15, 17, 0.74);
	        backdrop-filter: var(--blur);
	        -webkit-backdrop-filter: var(--blur);
	        transform: translateX(-105%);
	        transition: transform 180ms ease;
	        z-index: 110;
      }
	      body.nav-open .sidebar { transform: translateX(0); }
	      body.auth-required .sidebar { min-height: 100vh; }
      body[data-theme="light"] .sidebar { background: rgba(224, 235, 241, 0.82); }
      .sidebar::before { display: none; }
	      .nav-backdrop { position: fixed; inset: 0; z-index: 105; background: rgba(0, 0, 0, 0.58); border: 0; padding: 0; }
	      body.nav-open .nav-backdrop { display: block; }
	      .mobile-nav-toggle { display: inline-grid; place-items: center; width: 42px; min-width: 42px; min-height: 42px; padding: 0; font-size: 20px; }
      .brand { display: flex; align-items: center; justify-items: start; justify-content: flex-start; gap: 12px; margin-bottom: 14px; text-align: left; }
      .mark { width: 44px; height: 44px; border-radius: 8px; }
      .brand strong { display: block; font-size: 16px; line-height: 1.2; }
      .brand span { display: block; color: var(--muted); font-size: 12px; }
	      .nav { display: grid; gap: 10px; overflow: visible; padding-bottom: 20px; align-items: stretch; }
	      .nav-group { min-width: 0; }
	      .nav-label { width: auto; min-width: auto; margin: 0 2px; white-space: nowrap; align-self: center; }
	      .nav button[data-view] { width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; white-space: nowrap; text-align: left; font-size: 12px; }
	      .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	      .grid { grid-template-columns: 1fr; }
	      .control-hero { grid-template-columns: 1fr; }
	      .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	      .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	      .ticket-board { grid-template-columns: 1fr; }
	      .topbar { position: sticky; top: 10px; min-height: auto; margin: 10px 10px 0; padding: 14px; align-items: stretch; flex-direction: column; }
	      .topbar-leading { width: 100%; align-items: center; }
	      .topbar-copy { min-width: 0; }
	      .topbar h1 { font-size: 30px; }
	      .actions { width: 100%; justify-content: flex-start; }
	      .global-search { width: 100%; }
      .content { padding: 16px; }
	      .page-context { grid-template-columns: 1fr; }
	      .page-context-controls { justify-content: stretch; flex-direction: column; align-items: stretch; }
	      .login-steps { grid-template-columns: 1fr; }
	      .automod-action-guide { grid-template-columns: 1fr; }
	      .billing-hero { grid-template-columns: 1fr; }
	      .billing-status { text-align: left; }
	      .pricing-grid { grid-template-columns: 1fr; }
      .toolbar { grid-template-columns: 1fr; }
	      .form-grid { grid-template-columns: 1fr; }
	      .manage-grid { grid-template-columns: 1fr; }
	      .system-grid { grid-template-columns: 1fr; }
	      .guide-grid { grid-template-columns: 1fr; }
	      .filter-grid { grid-template-columns: 1fr; }
	      .detail-grid { grid-template-columns: 1fr; }
	      .save-bar { left: 14px; right: 14px; bottom: 14px; transform: none; width: auto; align-items: flex-start; flex-direction: column; }
	      .toast-stack { right: 14px; bottom: 14px; width: calc(100vw - 28px); }
	    }
	    @media (max-width: 560px) {
	      .content { padding: 12px 10px 24px; }
	      .metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
	      .metric { min-height: 86px; padding: 13px; }
	      .metric strong { font-size: 24px; }
	      .actions { display: grid; grid-template-columns: 1fr auto; }
	      .actions .global-search { grid-column: 1 / -1; }
	      .actions #login-button { width: 100%; }
	      .actions #logout-button { width: 100%; }
	      .actions #stream-check, .actions #clip-check { grid-column: 1 / -1; width: 100%; }
	      .login-card { padding: 20px; }
	      .login-actions { align-items: stretch; flex-direction: column; }
	      .login-actions .btn { width: 100%; }
	      .panel-head { align-items: flex-start; flex-wrap: wrap; }
	    }

    /* Minimal dashboard design: flat surfaces, compact hierarchy, low paint cost. */
    :root {
      --bg: #0c0f12;
      --surface: #151a20;
      --surface-strong: #1b2128;
      --surface-soft: #1b2128;
      --panel: #151a20;
      --panel-2: #1b2128;
      --line: #2a323b;
      --text: #f4f7f9;
      --muted: #98a4b2;
      --accent: #48c8e8;
      --accent-soft: #12333d;
      --green: #66d39b;
      --yellow: #efb45f;
      --red: #ef766d;
      --blue: #48c8e8;
      --magenta: #d66da7;
      --shadow: none;
      --blur: none;
    }
    body[data-theme="light"] {
      --bg: #e7ebef;
      --surface: #f4f6f8;
      --surface-strong: #e9edf1;
      --surface-soft: #e9edf1;
      --panel: #f4f6f8;
      --panel-2: #e9edf1;
      --line: #c9d1d8;
      --text: #15191e;
      --muted: #596673;
      --accent: #087f9e;
      --accent-soft: #cce7ee;
      --green: #20764d;
      --yellow: #966019;
      --red: #ad433d;
      --blue: #087f9e;
      --magenta: #9b4775;
      --shadow: none;
    }
    body,
    body[data-theme="light"] { background: var(--bg); }
    body::before { content: none; }
    .shell {
      grid-template-columns: 248px minmax(0, 1fr);
      background: var(--bg);
    }
    body[data-theme="light"] .shell { background: var(--bg); }

    .sidebar {
      padding: 20px 14px;
      background: #11151a;
      border-right-color: var(--line);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    body[data-theme="light"] .sidebar { background: #dce2e7; }
    .brand { min-height: 48px; gap: 11px; margin-bottom: 24px; padding: 0 7px; }
    .mark { width: 38px; height: 38px; }
    .mark img { filter: none; }
    .brand strong { font-size: 14px; font-weight: 800; }
    .brand span { font-size: 11px; font-weight: 650; }
    .nav { gap: 20px; }
    .nav-group { gap: 4px; }
    .nav-items { gap: 3px; }
    .nav-toggle {
      min-height: 46px;
      padding: 7px 8px;
      border: 1px solid transparent;
      border-radius: 6px;
      background: transparent;
      color: var(--text);
      display: grid;
      grid-template-columns: minmax(0, 1fr) 30px;
      align-items: center;
      gap: 9px;
      text-align: left;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0;
      text-transform: none;
    }
    .nav-toggle:hover,
    .nav-toggle:focus-visible {
      background: var(--surface-strong);
      border-color: var(--line);
      color: var(--text);
      outline: 0;
    }
    .nav-toggle::after { content: none; }
    .nav-toggle-copy { min-width: 0; display: grid; gap: 2px; }
    .nav-toggle-title { color: var(--text); font-size: 11px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
    .nav-toggle-hint { color: var(--muted); font-size: 9px; font-weight: 650; line-height: 1.25; }
    .collapse-indicator {
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      justify-self: end;
      border: 1px solid var(--line);
      border-radius: 6px;
      color: var(--accent);
      background: var(--surface-strong);
    }
    .collapse-chevron {
      width: 8px;
      height: 8px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg) translate(-1px, -1px);
      transition: transform 160ms ease;
    }
    [aria-expanded="false"] .collapse-chevron { transform: rotate(-45deg); }
    .nav button[data-view] {
      min-height: 39px;
      grid-template-columns: 8px minmax(0, 1fr) 58px;
      gap: 9px;
      padding: 8px 9px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 700;
      transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
    }
    .nav button[data-view]::before {
      content: "";
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: currentColor;
      opacity: .5;
      justify-self: center;
    }
    .nav button[data-view]:hover {
      color: var(--text);
      background: var(--surface-strong);
      transform: none;
    }
    .nav button[data-view].active {
      color: var(--text);
      background: var(--accent-soft);
      border-color: rgba(72, 200, 232, .34);
      box-shadow: none;
    }
    body[data-theme="light"] .nav button[data-view]:hover { color: var(--text); background: var(--surface-strong); }
    body[data-theme="light"] .nav button[data-view].active {
      color: var(--text);
      background: var(--accent-soft);
      border-color: rgba(8, 127, 158, .34);
    }
    .nav button[data-view].active::before { background: var(--accent); opacity: 1; }
    .nav-plan {
      width: 58px;
      min-height: 19px;
      padding: 2px 6px;
      font-size: 9px;
      border-radius: 999px;
    }
    .nav-plan.free {
      color: var(--green);
      border-color: rgba(102, 211, 155, .26);
      background: #153429;
    }
    body[data-theme="light"] .nav-plan.free {
      color: #20764d;
      border-color: #b2d4c1;
      background: #cfe6d9;
    }
    .nav-plan.premium,
    .tag.premium {
      color: var(--yellow);
      border-color: rgba(239, 180, 95, .3);
      background: #3b2c16;
    }
    body[data-theme="light"] .nav-plan.premium,
    body[data-theme="light"] .tag.premium {
      color: #7b4d10;
      border-color: #d7bd97;
      background: #eadcc7;
    }
    .nav-plan.owner {
      color: var(--accent);
      border-color: rgba(72, 200, 232, .28);
      background: var(--accent-soft);
    }
    .nav-lock { display: none; }
    .nav-badge { box-shadow: none; }
    .nav button.with-counter.counter-visible {
      grid-template-columns: 8px minmax(0, 1fr) 58px;
      padding-right: 30px;
    }
    .nav button.with-counter.counter-visible .nav-plan { width: 58px; }
    .nav button.setup-nav {
      grid-template-columns: 8px minmax(0, 1fr) 42px 48px;
      gap: 6px;
      padding: 8px 7px 8px 9px;
      background: var(--accent-soft);
      border-color: rgba(72, 200, 232, .3);
    }
    .nav button.setup-nav .nav-plan { width: 42px; }
    .nav button.setup-nav::before { width: 5px; height: 5px; box-shadow: none; }
    body[data-theme="light"] .nav button.setup-nav { background: var(--accent-soft); }

    .topbar {
      min-height: 68px;
      top: 0;
      margin: 0;
      padding: 12px 28px;
      border: 0;
      border-bottom: 1px solid var(--line);
      border-radius: 0;
      background: var(--bg);
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    body[data-theme="light"] .topbar { background: var(--bg); }
    .topbar h1 { font-size: 28px; line-height: 1.08; font-weight: 800; }
	    .topbar-copy { gap: 2px; }
	    .actions { gap: 7px; min-width: 0; }
	    .action-buttons { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; }
    .global-search,
    .btn,
    .theme-toggle {
      min-height: 38px;
      border-radius: 6px;
      box-shadow: none;
    }
    .global-search { width: min(280px, 26vw); padding: 0 11px; }
    .btn { padding: 0 12px; font-size: 12px; font-weight: 750; }
    .btn:hover { transform: none; }
    .btn.primary {
      color: #071316;
      border-color: var(--accent);
      background: var(--accent);
      box-shadow: none;
    }
    .theme-toggle { width: 68px; padding: 3px; }
    .theme-toggle span { height: 30px; }
    .theme-toggle::before {
      top: 3px;
      left: 3px;
      width: 30px;
      height: 30px;
      border-radius: 5px;
      background: var(--accent);
      box-shadow: none;
    }
    .theme-toggle[data-theme="dark"]::before { transform: translateX(32px); }

    .content {
      width: 100%;
      max-width: 1440px;
      margin: 0 auto;
      padding: 28px 28px 48px;
      gap: 14px;
    }
    .page-context,
    .metric,
    .panel,
    .control-card,
    .action-card,
    .stream-card,
    .shop-card,
    .event-card,
    .preview-embed,
    .ticket-column,
    .setup-step,
    .detail-section,
    .notice,
    .toast,
    .system-card,
    .installation-feature {
      border-radius: 8px;
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    .page-context {
      padding: 15px 17px;
      border-color: rgba(72, 200, 232, .34);
      background: var(--accent-soft);
    }
    .metrics {
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 12px;
    }
    .metric { min-height: 96px; padding: 15px; }
    .metric span { font-size: 11px; font-weight: 700; }
    .metric strong { margin-top: 10px; font-size: 25px; }
    .grid { gap: 14px; }
    .panel-head {
      min-height: 52px;
      padding: 12px 15px;
      background: var(--panel);
    }
    body[data-theme="light"] .panel-head { background: var(--panel); }
    .panel-head h2 { font-size: 13px; font-weight: 800; }
    .panel-body { padding: 15px; }
    .advanced-section {
      transition: border-color 140ms ease;
    }
    .advanced-section:not(.collapsed) { border-color: rgba(72, 200, 232, .4); }
    .advanced-section > .panel-head {
      min-height: 70px;
      padding: 13px 15px;
      cursor: pointer;
      transition: background 140ms ease, border-color 140ms ease;
    }
    .advanced-section > .panel-head:hover { background: var(--surface-strong); }
    .advanced-section.collapsed > .panel-head { border-bottom-color: transparent; }
    .advanced-heading { min-width: 0; flex: 1 1 auto; display: grid; gap: 5px; }
    .advanced-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .advanced-hint { color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.35; }
    .advanced-toggle {
      min-width: 118px;
      min-height: 36px;
      margin-left: auto;
      padding: 0 5px 0 11px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 9px;
      border: 1px solid rgba(72, 200, 232, .35);
      border-radius: 7px;
      background: var(--accent-soft);
      color: var(--accent);
      cursor: pointer;
      font-size: 11px;
      font-weight: 850;
    }
    .advanced-toggle:hover,
    .advanced-toggle:focus-visible { border-color: var(--accent); outline: 0; }
    .advanced-toggle .collapse-indicator {
      width: 28px;
      height: 28px;
      border-color: rgba(72, 200, 232, .26);
      background: var(--panel);
    }
    .advanced-toggle .collapse-chevron { width: 7px; height: 7px; }
    .advanced-section.collapsed > .panel-body { display: none; }
    .billing-faq details {
      padding: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: var(--surface-strong);
    }
    .billing-faq details[open] { border-color: rgba(72, 200, 232, .36); }
    .billing-faq summary {
      min-height: 56px;
      padding: 10px 11px 10px 14px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      list-style: none;
      cursor: pointer;
    }
    .billing-faq summary::-webkit-details-marker { display: none; }
    .billing-faq summary:hover { background: var(--panel-2); }
    .billing-faq details p { margin: 0; padding: 0 14px 14px; }
    .disclosure-title { color: var(--text); font-size: 12px; font-weight: 800; }
    .disclosure-action { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 10px; font-weight: 850; }
    .disclosure-action .collapse-indicator { width: 28px; height: 28px; }
    .control-card { padding: 18px; }
    .control-card h2 { font-size: 22px; }
    .action-grid,
    .guide-grid,
    .card-grid { gap: 12px; }
    .action-card,
    .stream-card,
    .shop-card,
    .event-card { padding: 14px; }
    .module-status-card,
    .permission-check-card,
    .limit-card,
    .rule-item,
    .detail-box,
    #details-panel .row,
    #details-panel .activity-item,
    .pricing-option,
    .login-step,
    .ticket-mini {
      border-radius: 6px;
      background: var(--surface-strong);
    }
    .setup-progress span { background: var(--accent); }
    .installation-icon { background: var(--surface-strong); }
    .tag { min-height: 23px; padding: 3px 8px; font-size: 10px; }
    th {
      background: var(--surface-strong);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    th, td { padding: 11px 9px; font-size: 12px; }
    input,
    select,
    textarea {
      border-radius: 6px;
      background: var(--surface-strong);
    }
    select:focus,
    input:focus,
    textarea:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
    .save-bar {
      border-radius: 8px;
      background: #3b2c16;
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    body[data-theme="light"] .save-bar { background: #eadcc7; }
    .toast { background: var(--surface); }

	    @media (max-width: 1100px) {
      .shell { grid-template-columns: 1fr; }
      .sidebar {
        width: min(280px, 86vw);
        padding: 18px 14px;
        background: #11151a;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }
      body[data-theme="light"] .sidebar { background: #dce2e7; }
      .topbar {
        top: 0;
        margin: 0;
        padding: 10px 14px;
        border-radius: 0;
      }
      .content { padding: 22px 14px 40px; }
      .actions { display: flex; }
      .global-search { width: 100%; }
    }
	    @media (max-width: 560px) {
	      .content { padding: 18px 10px 32px; }
      .metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
      .metric { min-height: 86px; padding: 12px; }
      .metric strong { font-size: 21px; }
      .topbar h1 { font-size: 25px; }
      .panel-body { padding: 12px; }
      .advanced-section > .panel-head { align-items: stretch; }
      .advanced-toggle { width: 100%; margin-left: 0; justify-content: space-between; }
      .billing-faq summary { grid-template-columns: minmax(0, 1fr); }
	      .disclosure-action { justify-content: space-between; }
	    }

    /* Pixxession website language: editorial hierarchy, warm neutrals and a compact dock. */
    :root {
      --bg: #101112;
      --surface: #191a1c;
      --surface-strong: #202124;
      --surface-soft: #202124;
      --panel: #191a1c;
      --panel-2: #232427;
      --line: #303136;
      --text: #f7f3eb;
      --muted: #aaa69f;
      --accent: #e2766b;
      --accent-soft: #38221f;
      --green: #68d5a0;
      --yellow: #f3bd62;
      --red: #ef766d;
      --blue: #42c9e6;
      --magenta: #e25a9f;
    }
    body[data-theme="light"] {
      --bg: #f3f0e8;
      --surface: #faf7f0;
      --surface-strong: #ece8df;
      --surface-soft: #ece8df;
      --panel: #faf7f0;
      --panel-2: #eee9df;
      --line: #d5cfc4;
      --text: #171717;
      --muted: #6e6962;
      --accent: #b95047;
      --accent-soft: #ead8d3;
      --green: #24754f;
      --yellow: #926019;
      --red: #b7473f;
      --blue: #087f9e;
      --magenta: #a84478;
    }
    body,
    body[data-theme="light"] { background: var(--bg); }
    .shell {
      grid-template-columns: 272px minmax(0, 1fr);
      background: var(--bg);
      transition: grid-template-columns 150ms ease;
    }
    body.sidebar-collapsed .shell { grid-template-columns: 78px minmax(0, 1fr); }
    body.auth-required.sidebar-collapsed .shell { grid-template-columns: 1fr; }

    .sidebar,
    body[data-theme="light"] .sidebar {
      padding: 22px 16px;
      color: #f7f3eb;
      background: #171717;
      border-right-color: #343434;
      scrollbar-color: #474747 transparent;
      transition: padding 150ms ease;
    }
    .brand {
      min-height: 48px;
      margin-bottom: 24px;
      padding: 0 4px;
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr) 34px;
      align-items: center;
      gap: 11px;
    }
    .mark { width: 42px; height: 42px; }
    .brand-copy { min-width: 0; }
    .brand-copy strong,
    .brand-copy span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .brand-copy strong { color: #f7f3eb; font-size: 14px; font-weight: 850; }
    .brand-copy span { color: #98938b; font-size: 10px; font-weight: 700; text-transform: uppercase; }
    .sidebar-collapse {
      width: 34px;
      height: 34px;
      padding: 0;
      border: 1px solid #3a3a3a;
      border-radius: 5px;
      color: #f7f3eb;
      background: #222222;
      display: grid;
      place-items: center;
      cursor: pointer;
    }
    .sidebar-collapse:hover,
    .sidebar-collapse:focus-visible { border-color: #68635d; background: #2a2a2a; outline: 0; }
    .sidebar-collapse-chevron {
      width: 8px;
      height: 8px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(135deg);
      transition: transform 150ms ease;
    }
    body.sidebar-collapsed .sidebar-collapse-chevron { transform: rotate(-45deg); }

    .nav { gap: 14px; }
    .nav-group { gap: 5px; }
    .nav-items { gap: 2px; }
    .nav-toggle {
      min-height: 44px;
      padding: 6px;
      grid-template-columns: 28px minmax(0, 1fr) 28px;
      gap: 7px;
      color: #f7f3eb;
      border-color: transparent;
      background: transparent;
    }
    .nav-toggle::before {
      content: attr(data-nav-symbol);
      width: 28px;
      height: 28px;
      border: 1px solid #373737;
      border-radius: 5px;
      color: #bcb7af;
      background: #202020;
      display: grid;
      place-items: center;
      font-size: 12px;
      font-weight: 850;
      line-height: 1;
    }
    .nav-toggle:hover,
    .nav-toggle:focus-visible { color: #ffffff; border-color: #3b3b3b; background: #212121; }
    .nav-toggle-title { color: #f7f3eb; font-size: 10px; font-weight: 850; }
    .nav-toggle-hint { color: #8f8a83; font-size: 8px; }
    .collapse-indicator { width: 28px; height: 28px; border-color: #3b3b3b; color: #ee7f74; background: #202020; }
    .nav button[data-view] {
      min-height: 40px;
      grid-template-columns: 7px minmax(0, 1fr) 62px;
      padding: 8px 9px;
      color: #bdb8b0;
      border-radius: 5px;
      font-size: 11px;
      font-weight: 720;
    }
    .nav button[data-view]:hover,
    body[data-theme="light"] .nav button[data-view]:hover { color: #ffffff; background: #232323; }
    .nav button[data-view].active,
    body[data-theme="light"] .nav button[data-view].active {
      color: #171717;
      border-color: #f3f0e8;
      background: #f3f0e8;
    }
    .nav button[data-view].active::before { background: #c85a50; }
    .nav-plan { width: 62px; min-height: 19px; }
    .nav-plan.free,
    body[data-theme="light"] .nav-plan.free { color: #93e8bd; border-color: #355d49; background: #183428; }
    .nav-plan.premium,
    body[data-theme="light"] .nav-plan.premium { color: #181207; border-color: #f3bd62; background: #f3bd62; }
    .nav-plan.owner { color: #8de3f3; border-color: #315a63; background: #17343b; }
    .nav button.setup-nav,
    body[data-theme="light"] .nav button.setup-nav { border-color: #315862; background: #17323a; color: #f7f3eb; }
    .nav button.setup-nav {
      grid-template-columns: 7px minmax(0, 1fr) 42px 48px;
      gap: 6px;
      padding-inline: 8px;
    }
    .nav-badge.setup,
    body[data-theme="light"] .nav-badge.setup { color: #93e8bd; border-color: #355d49; background: #183428; }
    .nav-badge.setup.todo,
    body[data-theme="light"] .nav-badge.setup.todo { color: #8de3f3; border-color: #315a63; background: #17343b; }

    body.sidebar-collapsed .sidebar { padding-inline: 10px; overflow-x: hidden; }
    body.sidebar-collapsed .brand {
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 8px;
      margin-bottom: 18px;
    }
    body.sidebar-collapsed .brand-copy { display: none; }
    body.sidebar-collapsed .mark { width: 40px; height: 40px; }
    body.sidebar-collapsed .nav { gap: 7px; }
    body.sidebar-collapsed .nav-group { display: flex; justify-content: center; }
    body.sidebar-collapsed .nav-toggle {
      width: 44px;
      min-height: 44px;
      padding: 7px;
      grid-template-columns: 1fr;
      justify-items: center;
    }
    body.sidebar-collapsed .nav-toggle-copy,
    body.sidebar-collapsed .nav-toggle .collapse-indicator,
    body.sidebar-collapsed .nav-items { display: none; }
    body.sidebar-collapsed .nav-toggle::before { border-color: transparent; background: transparent; }
    body.sidebar-collapsed .nav-group.has-active .nav-toggle {
      border-color: #f3f0e8;
      background: #f3f0e8;
    }
    body.sidebar-collapsed .nav-group.has-active .nav-toggle::before { color: #171717; }

    .topbar {
      min-height: 70px;
      padding: 13px 30px;
      border-bottom-color: var(--line);
      background: var(--bg);
    }
    body[data-theme="light"] .topbar { background: var(--bg); }
    .mobile-nav-toggle,
    .nav-backdrop { display: none; }
    .topbar h1 { font-size: 27px; font-weight: 850; }
    .topbar-copy::before {
      content: "PixxessionBot Control Center";
      color: var(--accent);
      font-size: 9px;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .global-search,
    .btn,
    .theme-toggle { border-radius: 5px; }
    .btn.primary { color: #171717; border-color: #f3f0e8; background: #f3f0e8; }
    body[data-theme="light"] .btn.primary { color: #ffffff; border-color: #171717; background: #171717; }
    .theme-toggle::before { background: #42c9e6; }

    .content { max-width: 1480px; padding: 30px 30px 52px; }
    .page-context,
    .metric,
    .panel,
    .control-card,
    .action-card,
    .stream-card,
    .shop-card,
    .event-card,
    .preview-embed,
    .ticket-column,
    .setup-step,
    .detail-section,
    .notice,
    .toast,
    .system-card,
    .installation-feature { border-radius: 6px; }
    .page-context { border-color: var(--line); background: var(--panel); }
    .page-context::before {
      content: "";
      width: 3px;
      align-self: stretch;
      border-radius: 2px;
      background: var(--accent);
      grid-row: 1;
    }
    .page-context { grid-template-columns: 3px minmax(0, 1fr) minmax(220px, 320px); }
    .metric { border-top: 2px solid var(--accent); }
    .metric:nth-child(2) { border-top-color: var(--green); }
    .metric:nth-child(3) { border-top-color: var(--magenta); }
    .metric:nth-child(4) { border-top-color: var(--yellow); }
    .metric:nth-child(5) { border-top-color: var(--blue); }
    .panel-head { background: var(--panel); }
    body[data-theme="light"] .panel-head { background: var(--panel); }
    .panel-head h2 { font-size: 14px; }
    .advanced-section:not(.collapsed) { border-color: var(--accent); }
    .advanced-toggle { border-color: var(--line); color: var(--text); background: var(--surface-strong); }
    .advanced-toggle:hover,
    .advanced-toggle:focus-visible { border-color: var(--accent); }
    input,
    select,
    textarea { border-radius: 5px; }

    .creator-xp-guide-layout {
      display: grid;
      grid-template-columns: 156px minmax(0, 1fr);
      gap: 18px;
      align-items: center;
    }
    .creator-xp-guide-thumb {
      width: 156px;
      aspect-ratio: 1;
      padding: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface-strong);
      cursor: zoom-in;
    }
    .creator-xp-guide-thumb:hover,
    .creator-xp-guide-thumb:focus-visible {
      border-color: var(--accent);
      outline: 3px solid var(--accent-soft);
      outline-offset: 2px;
    }
    .creator-xp-guide-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .creator-xp-guide-copy { min-width: 0; display: grid; gap: 9px; }
    .creator-xp-guide-copy h3 { margin: 0; color: var(--text); font-size: 17px; font-weight: 850; }
    .creator-xp-guide-copy p { max-width: 70ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .creator-xp-guide-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .creator-xp-guide-reference {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      align-items: center;
      padding: 13px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .creator-xp-guide-reference-copy { min-width: 0; display: grid; gap: 4px; }
    .creator-xp-guide-reference-title { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .creator-xp-guide-reference-title strong { color: var(--text); font-size: 13px; }
    .creator-xp-guide-reference-copy > span { color: var(--muted); font-size: 12px; line-height: 1.45; }
    .creator-xp-guide-dialog {
      width: min(920px, calc(100vw - 32px));
      max-height: calc(100dvh - 32px);
      padding: 0;
      overflow: hidden;
      border: 1px solid var(--line-strong);
      border-radius: 10px;
      background: var(--panel);
      color: var(--text);
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    }
    .creator-xp-guide-dialog::backdrop { background: rgba(5, 7, 9, 0.78); }
    .creator-xp-guide-dialog-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100dvh - 32px); }
    .creator-xp-guide-dialog-head,
    .creator-xp-guide-dialog-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 13px 15px;
      border-bottom: 1px solid var(--line);
    }
    .creator-xp-guide-dialog-head h2 { margin: 0; font-size: 15px; }
    .creator-xp-guide-dialog-body { min-height: 0; overflow: auto; padding: 16px; background: var(--surface-soft); }
    .creator-xp-guide-dialog-body img { display: block; width: min(100%, 760px); height: auto; margin: 0 auto; border-radius: 8px; }
    .creator-xp-guide-dialog-actions { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; }

    @media (max-width: 1100px) {
      .shell,
      body.sidebar-collapsed .shell { grid-template-columns: 1fr; transition: none; }
      .sidebar,
      body[data-theme="light"] .sidebar,
      body.sidebar-collapsed .sidebar { width: min(300px, 88vw); padding: 18px 14px; background: #171717; }
      .brand,
      body.sidebar-collapsed .brand {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        justify-items: stretch;
        gap: 11px;
      }
      body.sidebar-collapsed .brand-copy { display: block; }
      .sidebar-collapse { display: none; }
      .mobile-nav-toggle { display: inline-grid; }
      body.sidebar-collapsed .nav { gap: 14px; }
      body.sidebar-collapsed .nav-group { display: grid; }
      body.sidebar-collapsed .nav-toggle {
        width: 100%;
        min-height: 44px;
        padding: 6px;
        grid-template-columns: 28px minmax(0, 1fr) 28px;
        justify-items: stretch;
      }
      body.sidebar-collapsed .nav-toggle-copy { display: grid; }
      body.sidebar-collapsed .nav-toggle .collapse-indicator { display: grid; }
      body.sidebar-collapsed .nav-items { display: grid; }
      body.sidebar-collapsed .nav-items.collapsed { display: none; }
      body.sidebar-collapsed .nav-group.has-active .nav-toggle { border-color: transparent; background: transparent; }
      body.sidebar-collapsed .nav-group.has-active .nav-toggle::before { color: #bcb7af; }
      .topbar { padding: 11px 14px; }
      .content { padding: 22px 14px 40px; }
      .page-context { grid-template-columns: 3px minmax(0, 1fr); }
      .page-context-controls { grid-column: 2; }
    }

    @media (max-width: 700px) {
      .creator-xp-guide-layout { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
      .creator-xp-guide-thumb { width: 112px; }
      .creator-xp-guide-reference { grid-template-columns: 1fr; gap: 10px; }
    }
	    @media (max-width: 560px) {
	      .content { padding: 18px 10px 32px; }
	      .topbar-copy::before { display: none; }
	      .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .actions .global-search { grid-column: 1 / -1; }
      .actions .btn,
      .actions .theme-toggle { width: 100%; }
      .actions #clip-check,
      .actions #stream-check { grid-column: 1 / -1; }
      .page-context { grid-template-columns: 1fr; }
      .page-context::before { display: none; }
	      .page-context-controls { grid-column: auto; }
	      .creator-xp-guide-layout { grid-template-columns: 1fr; }
	      .creator-xp-guide-thumb { width: min(180px, 100%); }
	      .creator-xp-guide-actions .btn { flex: 1 1 150px; }
	      .creator-xp-guide-dialog-head { align-items: flex-start; }
	    }

	    /* Responsive interaction layer: preserves desktop density and improves touch layouts. */
	    @media (min-width: 1101px) and (max-width: 1440px) {
	      .topbar { align-items: flex-start; flex-wrap: wrap; }
	      .actions {
	        flex: 1 1 100%;
	        display: grid;
	        grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
	        align-items: center;
	      }
	      .global-search { width: clamp(160px, 16vw, 210px); flex: 0 1 210px; }
	      .action-buttons {
	        max-width: none;
	        overflow: visible;
	        flex-wrap: wrap;
	        justify-content: flex-start;
	        padding-bottom: 0;
	      }
	      .action-buttons > * { flex: 0 0 auto; }
	    }

	    @media (max-width: 1100px) {
	      body.nav-open { overflow: hidden; }
	      .sidebar,
	      body[data-theme="light"] .sidebar,
	      body.sidebar-collapsed .sidebar {
	        width: min(320px, 88vw);
	        height: 100vh;
	        height: 100dvh;
	        padding-top: max(18px, env(safe-area-inset-top));
	        padding-right: max(14px, env(safe-area-inset-right));
	        padding-bottom: max(18px, env(safe-area-inset-bottom));
	        padding-left: max(14px, env(safe-area-inset-left));
	        overflow-y: auto;
	        overscroll-behavior: contain;
	      }
	      .brand,
	      body.sidebar-collapsed .brand {
	        grid-template-columns: 42px minmax(0, 1fr) 44px;
	      }
	      .sidebar-collapse,
	      body.sidebar-collapsed .sidebar-collapse {
	        display: grid;
	        width: 44px;
	        height: 44px;
	      }
	      .sidebar-collapse-chevron,
	      body.sidebar-collapsed .sidebar-collapse-chevron {
	        position: relative;
	        width: 16px;
	        height: 16px;
	        border: 0;
	        transform: none;
	      }
	      .sidebar-collapse-chevron::before,
	      .sidebar-collapse-chevron::after {
	        content: "";
	        position: absolute;
	        top: 7px;
	        left: 1px;
	        width: 14px;
	        height: 2px;
	        border-radius: 2px;
	        background: currentColor;
	      }
	      .sidebar-collapse-chevron::before { transform: rotate(45deg); }
	      .sidebar-collapse-chevron::after { transform: rotate(-45deg); }
	      .topbar {
	        padding-top: max(11px, env(safe-area-inset-top));
	        padding-right: max(14px, env(safe-area-inset-right));
	        padding-left: max(14px, env(safe-area-inset-left));
	      }
	      .actions {
	        display: grid;
	        grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
	        align-items: center;
	        gap: 8px;
	      }
	      .global-search { width: 100%; min-width: 0; }
	      .action-buttons {
	        width: 100%;
	        max-width: none;
	        overflow: visible;
	        flex-wrap: wrap;
	        justify-content: flex-start;
	        padding-bottom: 0;
	      }
	      .action-buttons > * { flex: 0 0 auto; }
	      .content {
	        padding-right: max(14px, env(safe-area-inset-right));
	        padding-left: max(14px, env(safe-area-inset-left));
	      }
	      .responsive-table-container {
	        position: relative;
	        max-width: 100%;
	        overflow-x: auto;
	        overscroll-behavior-x: contain;
	        scrollbar-width: thin;
	        scrollbar-color: var(--line-strong) transparent;
	        -webkit-overflow-scrolling: touch;
	      }
	      .responsive-table-container::-webkit-scrollbar,
	      .action-buttons::-webkit-scrollbar { height: 7px; }
	      .responsive-table-container::-webkit-scrollbar-thumb,
	      .action-buttons::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--line-strong); }
	      table.responsive-table th:first-child,
	      table.responsive-table td:first-child {
	        position: sticky;
	        left: 0;
	        z-index: 2;
	        background: var(--panel);
	        box-shadow: 1px 0 0 var(--line);
	      }
	      table.responsive-table th:first-child { z-index: 3; }
	      table.responsive-table tbody tr:hover td:first-child { background: var(--surface-strong); }
	      .save-bar {
	        left: max(12px, env(safe-area-inset-left));
	        right: max(12px, env(safe-area-inset-right));
	        bottom: max(12px, env(safe-area-inset-bottom));
	        width: auto;
	        max-height: calc(100dvh - 24px);
	        overflow-y: auto;
	        align-items: center;
	        flex-direction: row;
	      }
	      body.has-save-bar .content { padding-bottom: calc(148px + env(safe-area-inset-bottom)); }
	      body.has-save-bar .toast-stack { bottom: calc(124px + env(safe-area-inset-bottom)); }
	    }

	    @media (max-width: 820px) {
	      .topbar { position: static; }
	      .actions { grid-template-columns: minmax(0, 1fr); }
	      .action-buttons { width: 100%; }
	      table.responsive-table,
	      table.responsive-table tbody,
	      table.responsive-table tr,
	      table.responsive-table td { display: block; width: 100%; box-sizing: border-box; }
	      table.responsive-table { min-width: 0 !important; border-spacing: 0; }
	      table.responsive-table thead {
	        position: absolute;
	        width: 1px;
	        height: 1px;
	        padding: 0;
	        margin: -1px;
	        overflow: hidden;
	        clip: rect(0, 0, 0, 0);
	        white-space: nowrap;
	        border: 0;
	      }
	      table.responsive-table tbody { display: grid; gap: 10px; }
	      table.responsive-table tr {
	        overflow: hidden;
	        border: 1px solid var(--line);
	        border-radius: 7px;
	        background: var(--surface-soft);
	      }
	      table.responsive-table td,
	      table.responsive-table td:first-child {
	        position: static;
	        min-width: 0 !important;
	        display: grid;
	        grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
	        align-items: center;
	        gap: 10px;
	        padding: 10px 12px;
	        border-bottom: 1px solid var(--line);
	        background: transparent;
	        box-shadow: none;
	        overflow-wrap: anywhere;
	      }
	      table.responsive-table td:last-child { border-bottom: 0; }
	      table.responsive-table td::before {
	        content: attr(data-label);
	        color: var(--muted);
	        font-size: 11px;
	        font-weight: 800;
	        line-height: 1.25;
	      }
	      table.responsive-table td.responsive-table-action {
	        display: flex;
	        justify-content: flex-end;
	        gap: 8px;
	        flex-wrap: wrap;
	      }
	      table.responsive-table td.responsive-table-action::before,
	      table.responsive-table td.responsive-table-wide::before { display: none; }
	      table.responsive-table td.responsive-table-wide { display: block; }
	      table.responsive-table td input:not([type="checkbox"]):not([type="radio"]),
	      table.responsive-table td select,
	      table.responsive-table td textarea { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
	    }

	    @media (max-width: 560px) {
	      .topbar h1 { font-size: 24px; }
	      .actions { grid-template-columns: minmax(0, 1fr); }
	      .actions .global-search { grid-column: auto; }
	      .action-buttons { width: 100%; max-width: 100%; }
	      .action-buttons {
	        overflow-x: auto;
	        overscroll-behavior-x: contain;
	        scrollbar-width: thin;
	        flex-wrap: nowrap;
	        padding-bottom: 2px;
	      }
	      .action-buttons .btn,
	      .action-buttons .theme-toggle,
	      .action-buttons #clip-check,
	      .action-buttons #stream-check { width: auto; }
	      .save-bar {
	        align-items: stretch;
	        flex-direction: column;
	        gap: 7px;
	        padding: 9px;
	      }
	      .save-bar > div:first-child { font-size: 12px; line-height: 1.25; }
	      .save-bar > div:first-child br,
	      .save-bar > div:first-child .muted { display: none; }
	      .save-bar-actions {
	        display: grid;
	        grid-template-columns: minmax(0, 1fr) auto;
	        width: 100%;
	        gap: 7px;
	      }
	      .save-bar-actions .btn { min-width: 0; padding-inline: 9px; }
	      body.has-save-bar .content { padding-bottom: calc(122px + env(safe-area-inset-bottom)); }
	      body.has-save-bar .toast-stack { bottom: calc(108px + env(safe-area-inset-bottom)); }
	    }

	    @media (max-width: 1100px), (pointer: coarse) {
	      .btn,
	      .theme-toggle,
	      .mobile-nav-toggle,
	      .sidebar-collapse,
	      .advanced-toggle,
	      .nav button[data-view] { min-height: 44px; }
	      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
	      select { min-height: 44px; }
	    }

	    @media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
	      .topbar { position: static; }
	      .save-bar { flex-direction: row; align-items: center; }
	      .save-bar > div:first-child br,
	      .save-bar > div:first-child .muted { display: none; }
	      .save-bar-actions { flex-wrap: nowrap; }
	      body.has-save-bar .content { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
	    }
	    @media (prefers-reduced-motion: reduce) {
      .shell,
      .sidebar,
      .sidebar-collapse-chevron { transition: none; }
    }
	  