@import url("styles.css?v=33") layer(legacy);

@layer legacy, tokens, base, layout, components, pages, modules, responsive, accessibility;

@layer tokens {
  :root {
    --app-bg: #070a12;
    --sidebar-bg: #0b1019;
    --header-bg: rgba(8, 12, 20, 0.96);
    --surface-1: #101621;
    --surface-2: #151c29;
    --surface-3: #1b2433;
    --surface-hover: #202b3c;
    --field-bg: #0b1019;
    --text-primary: #f5f7ff;
    --text-secondary: #b6c0d1;
    --text-muted: #7f8b9f;
    --border-subtle: rgba(255, 255, 255, 0.075);
    --border-default: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.18);
    --accent: #56eaff;
    --accent-hover: #7cefff;
    --accent-soft: rgba(86, 234, 255, 0.11);
    --accent-secondary: #e04bd8;
    --accent-secondary-soft: rgba(224, 75, 216, 0.11);
    --success: #74e5a3;
    --warning: #f3d66b;
    --danger: #ff718b;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.26);
    --header-height: 64px;
    --sidebar-width: 256px;
    --sidebar-collapsed-width: 72px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
  }
}

@layer base {
  .app-shell,
  .command-palette,
  .app-drawer,
  .app-user-menu,
  .app-mobile-nav {
    color: var(--text-primary);
    font-family: "Be Vietnam Pro", system-ui, sans-serif;
    letter-spacing: 0;
  }

  .app-shell *,
  .command-palette *,
  .app-drawer *,
  .app-user-menu *,
  .app-mobile-nav * { box-sizing: border-box; }

  body.app-shell-enabled { overflow: hidden; background: var(--app-bg); }
  body.app-shell-enabled .neon-grid-bg { display: none; }
  .home-neon.auth-unlocked .app-shell .app-main {
    pointer-events: auto;
    user-select: auto;
    filter: none;
  }
}

@layer layout {
  .app-shell {
    --shell-bg: var(--app-bg);
    --shell-panel: var(--surface-1);
    --shell-line: var(--border-subtle);
    --shell-text: var(--text-primary);
    --shell-muted: var(--text-muted);
    --shell-accent: var(--accent);
    --shell-cyan: var(--accent);
    background: var(--app-bg);
  }

  .app-header {
    position: relative;
    z-index: 20;
    grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1.35fr) minmax(300px, 0.85fr);
    min-height: var(--header-height);
    padding: 0 var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--header-bg);
    box-shadow: none;
    backdrop-filter: blur(12px);
  }

  .app-shell__body {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    height: calc(100dvh - var(--header-height));
  }

  .app-sidebar {
    padding: var(--space-4) var(--space-3) var(--space-3);
    border-right: 1px solid var(--border-subtle);
    background: var(--sidebar-bg);
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
  }

  .app-main {
    position: relative;
    background: var(--app-bg);
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
  }

  .app-breadcrumb,
  .app-page-header,
  .app-workspace {
    width: min(100%, 1520px);
    margin-inline: auto;
  }

  .app-breadcrumb {
    min-height: 42px;
    padding: 0 clamp(20px, 3vw, 36px);
    border-bottom: 0;
    color: var(--text-muted);
    font-size: 12px;
  }

  .app-page-header {
    align-items: center;
    padding: var(--space-4) clamp(20px, 3vw, 36px) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
  }

  .app-workspace {
    min-height: auto;
    padding: var(--space-6) clamp(20px, 3vw, 36px) 56px;
  }

  body.app-sidebar-collapsed .app-shell__body {
    grid-template-columns: var(--sidebar-collapsed-width) minmax(0, 1fr);
  }
}

@layer components {
  .app-icon-button,
  .app-action-button,
  .app-user-button,
  .app-global-search,
  .app-sidebar button,
  .app-page-header button,
  .dashboard-quick-actions button,
  .dashboard-panel button,
  .app-item-grid button,
  .app-settings-list button,
  .command-palette button {
    border-radius: var(--radius-sm);
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
  }

  .app-icon-button {
    width: 42px;
    min-height: 42px;
    border-color: transparent;
    color: var(--text-secondary);
  }

  .app-icon-button:hover,
  .app-icon-button[aria-expanded="true"],
  .app-action-button:hover,
  .app-user-button:hover {
    background: var(--surface-2);
    color: var(--text-primary);
  }

  .app-brand { gap: var(--space-3); color: var(--text-primary); font-weight: 700; }
  .app-brand span {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(86, 234, 255, 0.55);
    border-radius: var(--radius-md);
    background: #10252e;
    color: var(--accent);
    box-shadow: 0 0 18px rgba(86, 234, 255, 0.12);
    font-weight: 800;
  }
  .app-brand strong { font-size: 14px; font-weight: 700; }

  .app-global-search {
    min-height: 42px;
    padding: 0 var(--space-3);
    border-color: var(--border-default);
    background: var(--field-bg);
    color: var(--text-muted);
    box-shadow: none;
  }
  .app-global-search:hover { border-color: var(--border-strong); background: #0e1420; }
  .app-global-search > span:first-child { color: var(--accent); }
  .app-global-search kbd,
  .command-palette kbd {
    padding: 3px 7px;
    border: 1px solid var(--border-default);
    border-radius: 5px;
    background: var(--surface-1);
    color: var(--text-muted);
    box-shadow: none;
  }

  .app-action-button {
    min-height: 40px;
    padding: 0 var(--space-3);
    border-color: rgba(86, 234, 255, 0.42);
    background: var(--accent-soft);
    color: var(--accent-hover);
    font-size: 13px;
    font-weight: 600;
  }
  .app-action-button:hover { border-color: var(--accent); background: rgba(86, 234, 255, 0.16); }

  .app-user-button { min-height: 42px; padding: 4px 7px 4px 5px; gap: var(--space-2); }
  .app-user-button span,
  .app-user-menu__profile > span {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(224, 75, 216, 0.36);
    border-radius: 50%;
    background: var(--accent-secondary-soft);
    color: #f4a8ee;
    box-shadow: none;
  }
  .app-user-button strong { max-width: 120px; font-size: 12px; font-weight: 600; }
  .app-user-button > i { color: var(--text-muted); font-style: normal; }
  .app-notification-button { position: relative; }
  .app-notification-button > i { position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border: 1px solid var(--header-bg); border-radius: 50%; background: var(--danger); }

  .app-sidebar__primary { gap: var(--space-1); }
  .app-sidebar__group { gap: 2px; }
  .app-sidebar__item {
    position: relative;
    min-height: 42px;
    padding: 0 var(--space-3);
    color: var(--text-muted);
  }
  .app-sidebar__item > span { color: #8e9aae; font-size: 17px; }
  .app-sidebar__item > b {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 550;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .app-sidebar__item > i { color: #657186; font-size: 15px; }
  .app-sidebar__item:hover { background: var(--surface-1); color: var(--text-primary); }
  .app-sidebar__item.is-active { background: var(--accent-soft); color: var(--text-primary); }
  .app-sidebar__item.is-active::before { content: ""; position: absolute; left: 0; width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--accent); }
  .app-sidebar__item.is-active > span { color: var(--accent); }
  .app-sidebar__submenu { margin: 3px 0 6px 31px; padding: 2px 0 2px 10px; border-left-color: var(--border-default); }
  .app-sidebar__subitem { min-width: 0; min-height: 34px; padding: 0 var(--space-2); overflow: hidden; color: #909bad; font-size: 12px; }
  .app-sidebar__subitem > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-sidebar__subitem:hover,
  .app-sidebar__subitem.is-active { background: var(--surface-1); color: var(--text-primary); }
  .app-sidebar__subitem--search {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 7px;
    margin: 2px 0 5px;
    border: 1px solid rgba(86, 234, 255, 0.22);
    background: rgba(86, 234, 255, 0.06);
    color: #c9f8ff;
    font-weight: 650;
  }
  .app-sidebar__subitem--search:hover { border-color: rgba(86, 234, 255, 0.56); background: rgba(86, 234, 255, 0.13); color: #fff; }
  .app-sidebar__subitem--search > b { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); color: #071018; font-size: 10px; }
  .app-sidebar__subitem--search > i { color: var(--accent); font-size: 11px; font-style: normal; }
  .app-sidebar__footer { border-top-color: var(--border-subtle); }

  .communication-search-launcher {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
    gap: var(--space-4);
    align-items: center;
    margin-bottom: var(--space-4);
    padding: var(--space-5);
    overflow: hidden;
    border: 1px solid rgba(86, 234, 255, .25);
    border-radius: var(--radius-md);
    background:
      radial-gradient(circle at 8% 15%, rgba(224, 75, 216, .17), transparent 34%),
      radial-gradient(circle at 95% 80%, rgba(86, 234, 255, .14), transparent 38%),
      var(--surface-1);
  }
  .communication-search-launcher__copy { min-width: 0; }
  .communication-search-launcher__copy > span { color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; }
  .communication-search-launcher__copy h2 { margin: 5px 0 7px; color: var(--text-primary); font-size: clamp(20px, 2.6vw, 30px); letter-spacing: 0; }
  .communication-search-launcher__copy p { max-width: 65ch; margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
  .communication-search-launcher__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .communication-search-launcher__actions button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: var(--space-2);
    align-items: center;
    min-width: 0;
    min-height: 56px;
    padding: 8px 10px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .035);
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
  }
  .communication-search-launcher__actions button:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
  .communication-search-launcher__actions button > b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); color: #071018; font-size: 12px; }
  .communication-search-launcher__actions button:last-child > b { background: #ff445f; color: #fff; }
  .communication-search-launcher__actions button > span { min-width: 0; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

  .app-page-header__eyebrow { margin-bottom: 6px; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .06em; }
  .app-page-header h1 { color: var(--text-primary); font-size: clamp(25px, 2.4vw, 32px); font-weight: 650; line-height: 1.2; }
  .app-page-header p { max-width: 72ch; margin-top: 6px; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
  .app-page-header__actions button { min-height: 40px; border-color: var(--border-default); background: var(--surface-1); color: var(--text-secondary); font-size: 12px; font-weight: 600; }
  .app-page-header__actions button:hover { border-color: var(--border-strong); background: var(--surface-2); color: var(--text-primary); }
  .app-page-header__actions .app-primary-action { border-color: rgba(86, 234, 255, 0.45); background: var(--accent-soft); color: var(--accent-hover); }

  .app-status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid rgba(116, 229, 163, .24); border-radius: 999px; background: rgba(116, 229, 163, .08); color: var(--success) !important; font-size: 10px !important; font-weight: 600 !important; text-transform: none !important; }
  .app-status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

  .command-palette {
    width: min(680px, calc(100vw - 32px));
    max-height: min(680px, calc(100dvh - 48px));
    border-color: var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  }
  .command-palette::backdrop { background: rgba(3, 6, 11, .72); backdrop-filter: blur(4px); }
  .command-palette__header { min-height: 62px; border-bottom-color: var(--border-subtle); color: var(--accent); }
  .command-palette__header input { color: var(--text-primary); font-size: 14px; }
  .command-palette__results { gap: 3px; padding: var(--space-2); }
  .command-palette__results button { min-height: 58px; border: 1px solid transparent; color: var(--text-primary); }
  .command-palette__results button:hover,
  .command-palette__results button.is-selected { border-color: rgba(86, 234, 255, .18); background: var(--accent-soft); }
  .command-palette__results button > span { color: var(--accent); font-size: 10px; font-weight: 600; }
  .command-palette__results small { color: var(--text-muted); }

  .app-drawer {
    position: fixed;
    z-index: 120;
    top: var(--header-height);
    right: 0;
    width: min(390px, 100vw);
    height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    border-left: 1px solid var(--border-default);
    background: var(--surface-1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, .28);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .app-drawer.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
  .app-drawer > header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-subtle); }
  .app-drawer > header p { margin: 0 0 2px; color: var(--accent); font-size: 10px; font-weight: 650; text-transform: uppercase; }
  .app-drawer > header h2 { margin: 0; font-size: 19px; font-weight: 650; }
  .app-drawer__toolbar { display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--border-subtle); }
  .app-drawer__toolbar button { min-height: 32px; padding: 0 10px; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); font: inherit; font-size: 11px; cursor: pointer; }
  .app-drawer__toolbar button:hover,
  .app-drawer__toolbar button.is-active { background: var(--accent-soft); color: var(--accent-hover); }
  .app-drawer__content { display: grid; gap: var(--space-2); padding: var(--space-3); }
  .app-notice { display: grid; grid-template-columns: 36px 1fr; gap: var(--space-3); padding: var(--space-3); border: 1px solid transparent; border-radius: var(--radius-md); }
  .app-notice:hover { border-color: var(--border-subtle); background: var(--surface-2); }
  .app-notice > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--surface-3); color: var(--text-secondary); font-size: 11px; font-weight: 700; }
  .app-notice--new > span { background: var(--accent-soft); color: var(--accent); }
  .app-notice strong { display: block; font-size: 13px; font-weight: 600; }
  .app-notice p { margin: 4px 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
  .app-notice time { color: var(--text-muted); font-size: 10px; }
  .app-drawer-backdrop { position: fixed; z-index: 110; inset: var(--header-height) 0 0; background: rgba(3, 6, 11, .46); }
  .app-drawer-backdrop[hidden] { display: none; }
  .app-help-search { display: grid; gap: 7px; padding: var(--space-2); color: var(--text-secondary); font-size: 12px; }
  .app-help-search input { min-height: 42px; padding: 0 var(--space-3); border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text-primary); font: inherit; }
  .app-help-link { display: grid; gap: 4px; padding: var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: transparent; color: var(--text-primary); text-align: left; font: inherit; cursor: pointer; }
  .app-help-link:hover { border-color: var(--border-strong); background: var(--surface-2); }
  .app-help-link strong { font-size: 13px; font-weight: 600; }
  .app-help-link span { color: var(--text-muted); font-size: 11px; }

  .app-user-menu {
    position: fixed;
    z-index: 130;
    top: 58px;
    right: 18px;
    display: none;
    width: 260px;
    padding: var(--space-2);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    box-shadow: var(--shadow-md);
  }
  .app-user-menu.is-open { display: grid; }
  .app-user-menu__profile { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-2) var(--space-3); margin-bottom: var(--space-1); border-bottom: 1px solid var(--border-subtle); }
  .app-user-menu__profile > span { display: grid; place-items: center; width: 38px; height: 38px; font-size: 11px; font-weight: 700; }
  .app-user-menu__profile div { display: grid; gap: 2px; min-width: 0; }
  .app-user-menu__profile strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .app-user-menu__profile small { color: var(--text-muted); font-size: 10px; }
  .app-user-menu > button { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); text-align: left; font: inherit; font-size: 12px; cursor: pointer; }
  .app-user-menu > button:hover { background: var(--surface-2); color: var(--text-primary); }
  .app-user-menu > button:last-child { margin-top: var(--space-1); border-top: 1px solid var(--border-subtle); color: var(--danger); }
  .app-mobile-nav { display: none; }
}

@layer pages {
  .dashboard-home { gap: var(--space-5); }
  .dashboard-welcome {
    min-height: 148px;
    padding: var(--space-6);
    border-color: var(--border-default);
    border-radius: var(--radius-lg);
    background: linear-gradient(110deg, rgba(86, 234, 255, .075), transparent 42%), var(--surface-1);
    box-shadow: none;
  }
  .dashboard-welcome h2 { margin: 5px 0 7px; font-size: 23px; font-weight: 650; }
  .dashboard-welcome p { color: var(--text-secondary); font-size: 13px; }
  .dashboard-clock { min-width: 190px; }
  .dashboard-clock strong { color: var(--text-primary); font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .dashboard-clock span { margin-top: 2px; color: var(--text-muted); font-size: 11px; }

  .dashboard-quick-actions { gap: var(--space-3); }
  .dashboard-quick-actions button {
    min-height: 112px;
    padding: var(--space-4);
    border-color: var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    box-shadow: none;
  }
  .dashboard-quick-actions button:hover { border-color: rgba(86, 234, 255, .32); background: var(--surface-2); transform: translateY(-2px); }
  .dashboard-quick-actions span { color: var(--accent); font-size: 18px; }
  .dashboard-quick-actions strong { font-size: 13px; font-weight: 600; }
  .dashboard-quick-actions small { color: var(--text-muted); font-size: 11px; }

  .dashboard-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: var(--space-4); }
  .dashboard-panel {
    padding: var(--space-5);
    border-color: var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    box-shadow: none;
  }
  .dashboard-panel header { margin-bottom: var(--space-4); }
  .dashboard-panel header span { color: var(--text-muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
  .dashboard-panel header strong { font-size: 14px; font-weight: 600; }
  .dashboard-panel header button { border-color: transparent; background: transparent; color: var(--accent); }
  .dashboard-panel header button:hover { background: var(--accent-soft); }
  .dashboard-list button { min-height: 64px; border-color: transparent; border-bottom-color: var(--border-subtle); border-radius: 0; background: transparent; }
  .dashboard-list button:last-child { border-bottom-color: transparent; }
  .dashboard-list button:hover { border-color: transparent; background: var(--surface-2); }
  .dashboard-panel--activity { grid-column: 1 / -1; }
  .dashboard-status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .dashboard-status-grid > div { display: grid; gap: 5px; padding: var(--space-3); border-left: 2px solid var(--border-strong); background: rgba(255,255,255,.018); }
  .dashboard-status-grid span { color: var(--text-muted); font-size: 10px; }
  .dashboard-status-grid strong { color: var(--success); font-size: 12px; font-weight: 600; }
  .dashboard-panel--guide { grid-column: 1 / -1; }
  .dashboard-panel--guide li { border-left-color: var(--accent); background: rgba(255,255,255,.018); color: var(--text-secondary); font-size: 12px; }
  .dashboard-panel--guide li::before { color: var(--accent); font-weight: 650; }

  .dashboard-home--pro { position: relative; isolation: isolate; }
  .dashboard-home--pro::before {
    content: ""; position: absolute; z-index: -1; inset: -40px -28px auto; height: 430px; pointer-events: none;
    background: radial-gradient(circle at 18% 15%, rgba(0,229,255,.12), transparent 35%), radial-gradient(circle at 78% 5%, rgba(255,59,209,.14), transparent 36%), radial-gradient(circle at 56% 85%, rgba(124,92,255,.1), transparent 36%);
    filter: blur(10px);
  }
  .dashboard-hero-pro {
    position: relative; min-height: 260px; overflow: hidden; border-color: rgba(102,232,255,.25);
    background: linear-gradient(125deg, rgba(9,19,31,.96), rgba(14,8,25,.94) 55%, rgba(7,25,30,.94));
    box-shadow: 0 24px 70px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.06);
  }
  .dashboard-hero-pro::before { content:""; position:absolute; inset:0; background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.045) 50%,transparent 70%); transform:translateX(-100%); animation:dashboard-shimmer 7s ease-in-out infinite; }
  .dashboard-hero-copy { position:relative; z-index:2; max-width:730px; }
  .dashboard-hero-copy h2 { max-width: 680px; margin: 5px 0 10px; font-size: clamp(30px,4.2vw,58px); line-height:1.04; letter-spacing:-.045em; background:linear-gradient(100deg,#fff 5%,#8defff 46%,#ff92e8 88%); -webkit-background-clip:text; color:transparent; }
  .dashboard-hero-copy > p:not(.section-kicker) { max-width: 650px; font-size: 14px; line-height:1.7; }
  .dashboard-hero-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
  .dashboard-hero-actions button { min-height:40px; padding:0 15px; border:1px solid rgba(255,255,255,.16); border-radius:10px; background:rgba(255,255,255,.045); color:#dcecff; }
  .dashboard-hero-actions button:hover { transform:translateY(-2px); border-color:rgba(92,232,255,.55); box-shadow:0 10px 26px rgba(0,229,255,.1); }
  .dashboard-hero-actions .app-primary-action { border-color:transparent; background:linear-gradient(110deg,#35dffc,#a76cff 52%,#ff52cf); color:#071017; font-weight:750; }
  .dashboard-dev-button { color:#ff8ce6 !important; }
  .dashboard-live-line { display:flex; align-items:center; gap:8px; margin-top:18px; color:#8fa2b8; font-size:10px; }
  .dashboard-live-line i { width:7px; height:7px; border-radius:50%; background:#4cf8a0; box-shadow:0 0 14px #4cf8a0; animation:dashboard-pulse 1.8s infinite; }
  .dashboard-live-line b { padding:3px 7px; border-radius:99px; background:rgba(76,248,160,.08); color:#70f5ad; }
  .dashboard-hero-orbit { position:absolute; right:120px; top:50%; width:156px; height:156px; transform:translateY(-50%); display:grid; place-items:center; border:1px solid rgba(94,230,255,.2); border-radius:50%; box-shadow:0 0 60px rgba(51,220,255,.1); }
  .dashboard-hero-orbit span { display:grid; place-items:center; width:86px; height:86px; border-radius:28px; background:linear-gradient(145deg,#38e1ff,#8c63ff 52%,#ff4dcc); color:#081018; font-size:27px; font-weight:900; box-shadow:0 20px 50px rgba(129,88,255,.3); transform:rotate(-8deg); }
  .dashboard-hero-orbit i { position:absolute; width:12px; height:12px; border-radius:50%; background:#60efff; box-shadow:0 0 14px currentColor; animation:dashboard-orbit 8s linear infinite; }
  .dashboard-hero-orbit i:nth-child(3){animation-delay:-2.7s;background:#ff5dd7}.dashboard-hero-orbit i:nth-child(4){animation-delay:-5.4s;background:#8f70ff}
  .dashboard-hero-pro .dashboard-clock { position:absolute; z-index:2; right:22px; top:18px; min-width:0; text-align:right; }
  .dashboard-hero-pro .dashboard-clock strong { font-size:18px; }
  .dashboard-metric-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
  .dashboard-metric-strip article { position:relative; overflow:hidden; padding:16px; border:1px solid var(--border-subtle); border-radius:14px; background:linear-gradient(145deg,rgba(16,23,34,.88),rgba(8,11,18,.92)); }
  .dashboard-metric-strip article::after { content:""; position:absolute; inset:auto -20px -38px auto; width:90px; height:90px; border-radius:50%; background:var(--metric-glow,#32e3ff); opacity:.09; filter:blur(4px); }
  .dashboard-metric-strip article:nth-child(2){--metric-glow:#ff4fd2}.dashboard-metric-strip article:nth-child(3){--metric-glow:#8b69ff}.dashboard-metric-strip article:nth-child(4){--metric-glow:#4cf8a0}
  .dashboard-metric-strip span,.dashboard-metric-strip small { display:block; color:#77889b; font-size:9px; }
  .dashboard-metric-strip strong { display:block; margin:5px 0 3px; color:#eefaff; font-size:24px; }
  .dashboard-category-ribbon { display:grid; grid-template-columns:repeat(6,1fr); gap:9px; }
  .dashboard-category-ribbon button { display:grid; justify-items:start; gap:3px; min-height:82px; padding:13px; border:1px solid var(--border-subtle); border-radius:13px; background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); color:#dbe8f6; text-align:left; }
  .dashboard-category-ribbon button:hover { transform:translateY(-3px); border-color:rgba(91,230,255,.38); background:linear-gradient(145deg,rgba(55,224,255,.08),rgba(255,65,207,.04)); }
  .dashboard-category-ribbon span { color:#5de9ff; font-size:17px; }.dashboard-category-ribbon b{font-size:11px}.dashboard-category-ribbon small{color:#718398;font-size:8px}
  .dashboard-focus-card { grid-column:1/-1; background:linear-gradient(135deg,rgba(10,29,35,.92),rgba(25,10,31,.9)); }
  .dashboard-focus-card textarea { width:100%; min-height:84px; resize:vertical; border:1px solid rgba(255,255,255,.13); border-radius:11px; padding:13px; background:rgba(1,4,9,.55); color:#eaf8ff; }
  .dashboard-focus-card footer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:9px; color:#76899e; font-size:9px; }
  .dashboard-focus-card footer button { border-color:transparent; background:transparent; color:#ff84d9; }
  @keyframes dashboard-shimmer{0%,70%,100%{transform:translateX(-100%)}85%{transform:translateX(100%)}}
  @keyframes dashboard-pulse{50%{opacity:.45;transform:scale(.72)}}
  @keyframes dashboard-orbit{from{transform:rotate(0) translateX(78px) rotate(0)}to{transform:rotate(360deg) translateX(78px) rotate(-360deg)}}

  @media(max-width:1100px){.dashboard-hero-orbit{opacity:.42;right:70px}.dashboard-category-ribbon{grid-template-columns:repeat(3,1fr)}}
  @media(max-width:700px){.dashboard-hero-pro{min-height:310px}.dashboard-hero-orbit{display:none}.dashboard-hero-pro .dashboard-clock{position:static;margin-top:18px;text-align:left}.dashboard-metric-strip{grid-template-columns:1fr 1fr}.dashboard-category-ribbon{grid-template-columns:1fr 1fr}}

  .app-simple-view__intro,
  .app-item-grid button,
  .app-settings-list label {
    border-color: var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    box-shadow: none;
  }
  .app-simple-view__intro { padding: var(--space-5); }
  .app-simple-view__intro h2 { font-size: 20px; font-weight: 650; }
  .app-simple-view__intro p,
  .app-item-grid p { color: var(--text-secondary); }
  .app-item-grid button:hover { border-color: rgba(86, 234, 255, .3); background: var(--surface-2); transform: translateY(-2px); }

  .app-workspace__platform .platform-toolbar,
  .app-workspace__platform .platform-console,
  .app-workspace__platform .module-row {
    border-color: var(--border-subtle);
    border-radius: var(--radius-md);
    background-color: var(--surface-1);
    box-shadow: none;
  }
  .app-workspace__platform .platform-toolbar { background: rgba(16, 22, 33, .96); backdrop-filter: blur(8px); }
}

@layer modules {
  .app-workspace__platform {
    color: var(--text-primary);
    font-size: 13px;
  }

  .app-workspace__platform :where(h2, h3, h4, p) { letter-spacing: 0; }
  .app-workspace__platform :where(h2, h3, h4) { color: var(--text-primary); font-weight: 650; }
  .app-workspace__platform p { color: var(--text-secondary); line-height: 1.6; }

  .app-workspace__platform .platform-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(5, auto);
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    padding: var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(16, 22, 33, .96);
  }
  .app-workspace__platform .module-search { min-width: 0; }
  .app-workspace__platform .module-search input {
    width: 100%;
    min-height: 40px;
    padding: 0 var(--space-3);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    background: var(--field-bg);
    color: var(--text-primary);
  }
  .app-workspace__platform .platform-filter {
    min-height: 40px;
    padding: 0 var(--space-3);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
  }
  .app-workspace__platform .platform-filter:hover { background: var(--surface-2); color: var(--text-primary); }
  .app-workspace__platform .platform-filter.active { border-color: rgba(86, 234, 255, .22); background: var(--accent-soft); color: var(--accent); }

  .app-workspace__platform .module-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
  .app-workspace__platform .module-row {
    overflow: clip;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    box-shadow: none;
  }
  .app-workspace__platform .module-row:hover { border-color: var(--border-strong); transform: none; }
  .app-workspace__platform .module-row::before,
  .app-workspace__platform .module-row::after { display: none; }

  .app-workspace__platform .module-row-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: var(--space-4);
    min-height: 94px;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-1);
  }
  .app-workspace__platform .module-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(86, 234, 255, .28);
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
  }
  .app-workspace__platform .module-row-head > div { min-width: 0; }
  .app-workspace__platform .module-row-head .project-tag {
    margin: 0 0 3px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  .app-workspace__platform .module-row-head h3 { margin: 0; font-size: 18px; line-height: 1.35; }
  .app-workspace__platform .module-row-head h3 + p { max-width: 78ch; margin: 4px 0 0; color: var(--text-muted); font-size: 12px; }
  .app-workspace__platform .module-card-fav {
    display: grid;
    place-items: center;
    width: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-muted);
    box-shadow: none;
  }
  .app-workspace__platform .module-card-fav:hover { border-color: rgba(224, 75, 216, .32); background: var(--accent-secondary-soft); color: #f2a2ec; }

  .app-workspace__platform .module-row-body {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: start;
    gap: 0;
    min-width: 0;
  }
  .app-workspace__platform .module-function-panel {
    position: sticky;
    top: 70px;
    display: grid;
    gap: var(--space-3);
    max-height: calc(100dvh - 150px);
    padding: var(--space-4);
    overflow: auto;
    border-right: 1px solid var(--border-subtle);
    background: #0d131e;
    scrollbar-width: thin;
  }
  .app-workspace__platform .module-quick-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
  .app-workspace__platform .module-quick-head .section-kicker { margin: 0 0 3px; color: var(--text-muted); font-size: 9px; }
  .app-workspace__platform .module-quick-head strong { font-size: 13px; font-weight: 600; }
  .app-workspace__platform .module-quick-head > span {
    padding: 4px 7px;
    border: 1px solid rgba(116, 229, 163, .24);
    border-radius: 999px;
    background: rgba(116, 229, 163, .07);
    color: var(--success);
    font-size: 9px;
    font-weight: 700;
  }
  .app-workspace__platform .module-quick-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--border-subtle); }
  .app-workspace__platform .module-quick-stats > span { display: grid; gap: 2px; padding: 9px 7px; background: var(--surface-1); color: var(--text-muted); font-size: 9px; text-align: center; }
  .app-workspace__platform .module-quick-stats b { color: var(--text-primary); font-size: 12px; font-weight: 650; }
  .app-workspace__platform .module-progress-card,
  .app-workspace__platform .module-playbook,
  .app-workspace__platform .module-note-card,
  .app-workspace__platform .module-activity-feed {
    padding: var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    box-shadow: none;
  }
  .app-workspace__platform .module-progress-card > div { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
  .app-workspace__platform .module-progress-card strong,
  .app-workspace__platform .module-playbook > strong,
  .app-workspace__platform .module-activity-feed > strong { font-size: 11px; font-weight: 600; }
  .app-workspace__platform .module-progress-card span { color: var(--text-muted); font-size: 9px; }
  .app-workspace__platform .module-progress-card i { display: block; height: 4px; margin-top: var(--space-2); overflow: hidden; border-radius: 4px; background: var(--surface-3); }
  .app-workspace__platform .module-progress-card i::after { content: ""; display: block; width: var(--progress); height: 100%; background: var(--accent); }

  .app-workspace__platform .module-features.full { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .app-workspace__platform .module-feature-chip,
  .app-workspace__platform .module-tool-button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
    min-height: 36px;
    padding: 7px 8px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 10px;
    text-align: left;
  }
  .app-workspace__platform .module-feature-chip:hover,
  .app-workspace__platform .module-tool-button:hover { border-color: rgba(86, 234, 255, .28); background: var(--accent-soft); color: var(--text-primary); }
  .app-workspace__platform .module-feature-chip > span,
  .app-workspace__platform .module-tool-button > span { color: var(--accent); font-size: 9px; }
  .app-workspace__platform .module-playbook { display: grid; gap: var(--space-2); }
  .app-workspace__platform .module-playbook label { display: flex; align-items: flex-start; gap: 8px; color: var(--text-secondary); font-size: 10px; line-height: 1.45; }
  .app-workspace__platform input[type="checkbox"] { accent-color: var(--accent); }
  .app-workspace__platform .module-note-card label { display: grid; gap: 6px; color: var(--text-muted); font-size: 10px; }
  .app-workspace__platform .module-note-card textarea { min-height: 72px; resize: vertical; }
  .app-workspace__platform .module-note-card > button,
  .app-workspace__platform .module-quick-actions > button { min-height: 34px; padding: 0 10px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); font: inherit; font-size: 10px; }
  .app-workspace__platform .module-note-card > button { margin-top: 8px; border-color: rgba(86, 234, 255, .28); color: var(--accent); }
  .app-workspace__platform .module-quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .app-workspace__platform .module-quick-actions > button:hover { background: var(--surface-2); color: var(--text-primary); }
  .app-workspace__platform .module-activity-feed { max-height: 116px; overflow: auto; }
  .app-workspace__platform .module-activity-feed p { margin: 6px 0 0; color: var(--text-muted); font-size: 9px; }
  .app-workspace__platform .module-row-meta { display: flex; flex-wrap: wrap; gap: 6px; padding-top: var(--space-2); border-top: 1px solid var(--border-subtle); }
  .app-workspace__platform .module-row-meta span { padding: 4px 6px; border: 0; border-radius: 4px; background: var(--surface-2); color: var(--text-muted); font-size: 8px; }

  .app-workspace__platform .module-inline-app {
    min-width: 0;
    padding: var(--space-5);
    background: var(--app-bg);
  }

  /* A module route shows one complete workspace and scrolls when its tools need room. */
  body.app-single-module .app-main { overflow-x: hidden; overflow-y: auto; }
  body.app-single-module .app-breadcrumb,
  body.app-single-module .app-page-header { display: none; }
  body.app-single-module .app-workspace {
    width: 100%; min-height: 100%; padding: 0; overflow: visible;
  }
  body.app-single-module .app-workspace__platform,
  body.app-single-module #moduleGrid {
    width: 100%; min-height: 100%; margin: 0; padding: 0; overflow: visible;
  }
  body.app-single-module .app-workspace__platform > :not(#moduleGrid) { display: none !important; }
  body.app-single-module #moduleGrid { display: block; }
  body.app-single-module #moduleGrid > .module-card[hidden] { display: none !important; }
  body.app-single-module #moduleGrid > .module-card[data-shell-active] {
    display: block; width: 100%; min-height: 100%; margin: 0; padding: 0;
    overflow: visible; border: 0; border-radius: 0; box-shadow: none;
  }
  body.app-single-module .module-card[data-shell-active] > .module-row-head,
  body.app-single-module .module-card[data-shell-active] .module-function-panel { display: none; }
  body.app-single-module .module-card[data-shell-active] > .module-row-body {
    display: block; min-height: 100%;
  }
  body.app-single-module .module-card[data-shell-active] .module-inline-app {
    display: block; width: 100%; min-height: 100%; padding: var(--space-4);
    overflow: visible; border: 0; border-radius: 0;
  }
  body.app-single-module .module-card[data-shell-active] .module-inline-app > :is(label, .module-inline-actions, .module-inline-output) { display: none; }
  body.app-single-module .module-card[data-shell-active] .module-inline-app > section {
    min-height: calc(100dvh - 96px); height: auto; overflow: visible;
  }

  /* Shared full-screen layout for the compact module workspaces (21-25). */
  body.app-single-module .suite-app {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    align-content: start;
    gap: clamp(12px, 2vh, 20px);
    width: 100%;
    min-height: calc(100dvh - 96px);
    padding: clamp(18px, 3vw, 38px);
    overflow: visible;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background:
      radial-gradient(circle at 92% 4%, rgba(86, 234, 255, .12), transparent 32%),
      linear-gradient(145deg, rgba(224, 75, 216, .08), transparent 42%),
      var(--surface-1);
  }
  body.app-single-module .suite-app > .suite-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-width: 0;
    padding: clamp(16px, 2.4vw, 28px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: linear-gradient(115deg, rgba(224, 75, 216, .13), rgba(86, 234, 255, .08));
  }
  body.app-single-module .suite-app > .suite-hero h4 { margin: 4px 0 6px; font-size: clamp(22px, 3vw, 34px); }
  body.app-single-module .suite-app > .suite-hero span { color: var(--text-secondary); }
  body.app-single-module .suite-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    align-content: start;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: visible;
  }
  body.app-single-module .suite-card-grid > :is(label, article, button) {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 5px 12px;
    min-width: 0;
    min-height: 92px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: rgba(10, 16, 25, .76);
    color: var(--text-primary);
    text-align: left;
  }
  body.app-single-module .suite-card-grid > :is(label, article, button):hover {
    border-color: rgba(86, 234, 255, .4);
    background: rgba(86, 234, 255, .06);
  }
  body.app-single-module .suite-card-grid input[type="checkbox"] {
    grid-row: 1 / 3;
    width: 20px !important;
    height: 20px;
    min-height: 20px !important;
    margin: 0;
  }
  body.app-single-module .suite-card-grid :is(small, span) { grid-column: 2; color: var(--text-muted); }
  body.app-single-module .suite-card-grid article > button { grid-column: 1 / -1; width: max-content; margin-top: 8px; }
  body.app-single-module .suite-app > :is(button, p) { justify-self: start; margin: 0; }
  body.app-single-module .suite-search { display: grid; gap: 7px; color: var(--text-secondary); }

  @media (max-width: 900px) {
    body.app-single-module .module-card[data-shell-active] .module-inline-app,
    body.app-single-module .module-card[data-shell-active] .module-inline-app > section {
      overflow: visible;
    }
    body.app-single-module .suite-app { padding: 14px; overflow: visible; }
    body.app-single-module .suite-app > .suite-hero { align-items: flex-start; flex-direction: column; }
  }
  .app-workspace__platform .module-inline-app > label {
    display: grid;
    gap: 7px;
    margin-top: var(--space-5);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 550;
  }
  .app-workspace__platform :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    outline: 0;
    background: var(--field-bg);
    color: var(--text-primary);
    font: inherit;
    font-size: 12px;
    box-shadow: none;
  }
  .app-workspace__platform :where(input, select, textarea):focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .app-workspace__platform textarea { line-height: 1.55; resize: vertical; }

  .app-workspace__platform .module-inline-actions,
  .app-workspace__platform :where(.studio-actions, .download-primary-actions, .media-card-actions, .ai-result-actions) { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
  .app-workspace__platform :where(.button, button) { box-shadow: none; letter-spacing: 0; }
  .app-workspace__platform .module-inline-actions .button,
  .app-workspace__platform :where(.studio-actions, .download-primary-actions, .media-card-actions, .ai-result-actions) .button {
    min-height: 40px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
  }
  .app-workspace__platform .button.primary { border-color: rgba(86, 234, 255, .42); background: var(--accent-soft); color: var(--accent-hover); }
  .app-workspace__platform .button.primary:hover { border-color: var(--accent); background: rgba(86, 234, 255, .16); transform: none; }
  .app-workspace__platform .button.ghost,
  .app-workspace__platform .button.secondary { border-color: var(--border-default); background: var(--surface-1); color: var(--text-secondary); }
  .app-workspace__platform .button.ghost:hover,
  .app-workspace__platform .button.secondary:hover { border-color: var(--border-strong); background: var(--surface-2); color: var(--text-primary); transform: none; }

  .app-workspace__platform .module-inline-output,
  .app-workspace__platform :where(.workspace-output, .studio-preview, .cloud-preview, .smart-preview, .api-playground) {
    max-width: 100%;
    min-height: 150px;
    margin: var(--space-4) 0 0;
    padding: var(--space-4);
    overflow: auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: #0a0f17;
    color: #c8d2e2;
    font: 11px/1.65 "Be Vietnam Pro", system-ui, sans-serif;
    white-space: pre-wrap;
    box-shadow: none;
  }

  .app-workspace__platform :where(
    .command-center-app, .ai-center-app, .downloader-workspace, .media-center-app,
    .project-center-app, .wiki-editor, .learning-center-app, .community-center-app,
    .user-dashboard-app, .admin-panel-app, .automation-app, .creator-app,
    .analytics-app, .store-app, .cloud-app, .notification-app, .api-center-app,
    .developer-app, .security-app, .smart-search-app, .module-studio-app
  ) {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .app-workspace__platform :where(
    .command-hero, .ai-center-hero, .downloader-hero, .media-center-hero,
    .project-center-hero, .wiki-hero, .learning-hero, .community-hero,
    .admin-hero, .smart-search-hero, .studio-hero
  ) {
    margin-bottom: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: linear-gradient(110deg, rgba(86, 234, 255, .06), transparent 44%), var(--surface-1);
    box-shadow: none;
  }
  .app-workspace__platform :where(.command-hero, .ai-center-hero, .downloader-hero, .media-center-hero, .project-center-hero, .wiki-hero, .learning-hero, .community-hero, .admin-hero, .smart-search-hero, .studio-hero) h3 { margin: 0; font-size: 19px; }

  .app-workspace__platform :where(
    .command-widget, .ai-pane, .ai-sidebar, .ai-context-panel, .download-preview, .download-queue,
    .media-sidebar, .media-library, .media-now-playing, .project-list-panel, .project-workspace,
    .project-pane, .wiki-sidebar, .wiki-split, .wiki-inspector, .learning-pane,
    .learning-workspace, .community-side, .community-feed, .user-pane, .admin-pane,
    .automation-workspace, .automation-results, .creator-nav, .creator-workspace,
    .creator-inspector, .analytics-grid, .store-layout, .cloud-nav, .cloud-files,
    .notification-nav, .notification-inbox, .notification-settings, .api-sidebar,
    .api-docs, .developer-nav, .developer-workspace, .security-nav, .security-workspace,
    .smart-results, .smart-preview, .studio-panel
  ) {
    min-width: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    box-shadow: none;
  }

  .app-workspace__platform :where(
    .command-grid, .ai-center-layout, .downloader-workspace, .media-layout,
    .project-dashboard, .wiki-layout, .learning-layout, .community-layout,
    .user-dashboard-layout, .admin-dashboard-grid, .automation-layout, .creator-layout,
    .analytics-grid, .store-layout, .cloud-layout, .notification-layout, .api-layout,
    .developer-layout, .security-layout, .smart-search-layout, .studio-grid
  ) { gap: var(--space-4); }

  .app-workspace__platform :where(
    .ai-tool-tabs, .ai-quick-prompts, .media-category-tabs, .project-view-tabs,
    .learning-tabs, .admin-tabs, .creator-output-tabs, .api-tabs, .wiki-mode
  ) { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-subtle); }
  .app-workspace__platform :where(.ai-tool-tabs, .ai-quick-prompts, .media-category-tabs, .project-view-tabs, .learning-tabs, .admin-tabs, .creator-output-tabs, .api-tabs, .wiki-mode) button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 10px;
  }
  .app-workspace__platform :where(.ai-tool-tabs, .ai-quick-prompts, .media-category-tabs, .project-view-tabs, .learning-tabs, .admin-tabs, .creator-output-tabs, .api-tabs, .wiki-mode) button:hover,
  .app-workspace__platform :where(.ai-tool-tabs, .media-category-tabs, .project-view-tabs, .learning-tabs, .admin-tabs, .creator-output-tabs, .api-tabs, .wiki-mode) button.active { background: var(--accent-soft); color: var(--accent); }

  .app-workspace__platform :where(.admin-metrics, .analytics-metrics, .project-metric-grid, .studio-metrics, .media-hero-stats, .project-mini-stats) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-3);
  }
  .app-workspace__platform :where(.admin-metrics, .analytics-metrics, .project-metric-grid, .studio-metrics, .media-hero-stats, .project-mini-stats) > * {
    padding: var(--space-3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    box-shadow: none;
  }

  .app-workspace__platform :where(table, .cloud-file-row, .download-history-item, .security-alert, .smart-result, .community-post, .media-card) {
    border-color: var(--border-subtle);
    background: var(--surface-1);
    box-shadow: none;
  }
  .app-workspace__platform table { width: 100%; border-collapse: collapse; font-size: 11px; }
  .app-workspace__platform :where(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); text-align: left; }
  .app-workspace__platform th { color: var(--text-muted); font-weight: 600; }

  .app-workspace__platform .chat-message .chat-bubble { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-2); box-shadow: none; }
  .app-workspace__platform .chat-message.mine .chat-bubble { border-color: rgba(86, 234, 255, .22); background: var(--accent-soft); }
  .app-workspace__platform .chat-reaction { border-color: var(--border-default); background: transparent; box-shadow: none; }

  @media (max-width: 1180px) {
    .app-workspace__platform .module-row-body { grid-template-columns: 280px minmax(0, 1fr); }
    .app-workspace__platform .platform-toolbar { grid-template-columns: minmax(220px, 1fr) repeat(3, auto); }
    .app-workspace__platform .platform-filter:nth-of-type(n+4) { display: none; }
  }

  @media (max-width: 900px) {
    .app-workspace__platform .module-row-body { grid-template-columns: 1fr; }
    .app-workspace__platform .module-function-panel { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--border-subtle); }
    .app-workspace__platform .module-features.full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  @media (max-width: 760px) {
    .app-workspace__platform .platform-toolbar { position: static; grid-template-columns: 1fr 1fr; }
    .app-workspace__platform .module-search { grid-column: 1 / -1; }
    .app-workspace__platform .platform-filter { display: block; }
    .app-workspace__platform .module-row-head { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: var(--space-3); padding: var(--space-3); }
    .app-workspace__platform .module-number,
    .app-workspace__platform .module-card-fav { width: 38px; height: 38px; min-height: 38px; }
    .app-workspace__platform .module-row-head h3 { font-size: 16px; }
    .app-workspace__platform .module-row-head h3 + p { display: none; }
    .app-workspace__platform .module-function-panel,
    .app-workspace__platform .module-inline-app { padding: var(--space-3); }
    .app-workspace__platform .module-features.full { grid-template-columns: 1fr 1fr; }
    .app-workspace__platform :where(.command-grid, .ai-center-layout, .downloader-workspace, .media-layout, .project-dashboard, .wiki-layout, .learning-layout, .community-layout, .user-dashboard-layout, .admin-dashboard-grid, .automation-layout, .creator-layout, .analytics-grid, .store-layout, .cloud-layout, .notification-layout, .api-layout, .developer-layout, .security-layout, .smart-search-layout, .studio-grid) { grid-template-columns: 1fr; }
  }
}

@layer responsive {
  @media (max-width: 1120px) {
    .app-header { grid-template-columns: minmax(190px, .7fr) minmax(260px, 1.2fr) minmax(230px, .7fr); }
    .app-shell__body { grid-template-columns: 224px minmax(0, 1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 760px) {
    :root { --header-height: 58px; }
    .app-header { grid-template-columns: auto 1fr auto; height: var(--header-height); min-height: var(--header-height); padding: 0 var(--space-3); backdrop-filter: none; }
    .app-header__actions .app-action-button,
    .app-header__actions > .app-icon-button,
    .app-user-button { display: none; }
    .app-global-search { align-self: center; justify-self: end; width: 44px; min-width: 44px; height: 42px; min-height: 42px; padding: 0; }
    .app-brand strong,
    .app-global-search > span:nth-child(2),
    .app-global-search kbd { display: none; }
    .app-shell__body,
    body.app-sidebar-collapsed .app-shell__body { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - var(--header-height)); }
    .app-sidebar { top: var(--header-height); width: min(304px, calc(100vw - 16px)); max-width: calc(100vw - 16px); padding-bottom: 80px; }
    .app-main { width: 100%; min-width: 0; }
    body:not(.app-sidebar-collapsed) .app-main { filter: none; }
    .app-breadcrumb { min-height: 36px; padding-inline: var(--space-4); }
    .app-page-header { align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-4); }
    .app-page-header h1 { font-size: 24px; }
    .app-page-header__actions { width: 100%; }
    .app-page-header__actions button { flex: 1; }
    .app-workspace { padding: var(--space-4) var(--space-4) 96px; }
    .dashboard-welcome { min-height: 0; padding: var(--space-5); }
    .dashboard-clock { min-width: 0; }
    .dashboard-quick-actions { grid-template-columns: 1fr 1fr; }
    .dashboard-quick-actions button { min-height: 104px; }
    .dashboard-status-grid { grid-template-columns: 1fr; }
    .app-drawer { top: 0; height: 100dvh; }
    .app-drawer-backdrop { inset: 0; }
    .app-user-menu { top: auto; right: var(--space-3); bottom: 76px; left: var(--space-3); width: auto; }
    .app-mobile-nav {
      position: fixed;
      z-index: 100;
      right: 0;
      bottom: 0;
      left: 0;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      min-height: 68px;
      padding: 5px 8px max(5px, env(safe-area-inset-bottom));
      border-top: 1px solid var(--border-default);
      background: rgba(11, 16, 25, .98);
    }
    .app-mobile-nav button { display: grid; place-items: center; gap: 1px; min-width: 0; min-height: 52px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); font: inherit; font-size: 9px; cursor: pointer; }
    .app-mobile-nav button > span { font-size: 17px; }
    .app-mobile-nav button.is-active { color: var(--accent); }
    .app-mobile-nav__create > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #061015; font-size: 24px !important; }
    .communication-search-launcher { grid-template-columns: 1fr; padding: var(--space-4); }
  }

  @media (max-width: 460px) {
    .dashboard-quick-actions { grid-template-columns: 1fr; }
    .dashboard-panel { padding: var(--space-4); }
    .dashboard-panel--guide ol { grid-template-columns: 1fr; }
    .communication-search-launcher__actions { grid-template-columns: 1fr; }
  }
}

@layer accessibility {
  :where(.app-shell, .command-palette, .app-drawer, .app-user-menu, .app-mobile-nav) :where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    .app-shell *,
    .command-palette *,
    .app-drawer *,
    .app-user-menu * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  }
}

@layer pages {
  body.home-neon.auth-locked > :not(.auth-gate):not(.neon-grid-bg) { display: none !important; }
  body.home-neon.auth-locked .auth-gate { display: grid !important; }
  body.home-neon.auth-locked .neon-grid-bg { display: block !important; opacity: .24; }
  .home-neon.auth-unlocked.auth-panel-open .auth-gate {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .home-neon.auth-unlocked:not(.auth-panel-open) .auth-gate {
    display: none !important;
  }
  .auth-gate-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-default);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
  }
  .auth-gate-close:hover { border-color: var(--accent); color: var(--accent); }
  .home-neon.auth-locked .auth-gate {
    grid-template-columns: minmax(300px, .9fr) minmax(480px, 640px);
    gap: clamp(32px, 6vw, 88px);
    padding: clamp(24px, 6vw, 80px);
    background:
      radial-gradient(circle at 12% 15%, rgba(224, 75, 216, .16), transparent 28%),
      radial-gradient(circle at 82% 84%, rgba(86, 234, 255, .1), transparent 30%),
      linear-gradient(135deg, #070a12, #0b0a16 55%, #07131a);
  }

  .home-neon.auth-unlocked .auth-gate {
    background: linear-gradient(120deg, rgba(86, 234, 255, .055), transparent 34%), var(--app-bg);
  }
  .home-neon.auth-locked .auth-gate-brand { gap: var(--space-4); }
  .home-neon.auth-locked .auth-gate-brand .brand-mark {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(86, 234, 255, .5);
    border-radius: var(--radius-lg);
    background: #10252e;
    color: var(--accent);
    box-shadow: 0 0 24px rgba(86, 234, 255, .13);
    font-size: 14px;
  }
  .home-neon.auth-locked .auth-gate-brand h1 {
    max-width: 680px;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.08;
    text-shadow: none;
  }
  .home-neon.auth-locked .auth-gate-brand p:not(.section-kicker) {
    max-width: 60ch;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 450;
    line-height: 1.7;
  }
  .home-neon.auth-locked .auth-gate-status {
    padding: 7px 10px;
    border: 1px solid rgba(116, 229, 163, .3);
    background: rgba(116, 229, 163, .08);
    color: var(--success);
    box-shadow: none;
    font-size: 11px;
    font-weight: 600;
  }
  .home-neon.auth-locked .auth-gate-card {
    gap: var(--space-4);
    padding: var(--space-6);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    background: rgba(16, 22, 33, .92);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42), 0 0 0 1px rgba(86, 234, 255, .04) inset;
    backdrop-filter: blur(18px);
  }
  .home-neon.auth-locked .auth-benefits { display: grid; gap: 9px; max-width: 420px; }
  .home-neon.auth-locked .auth-benefits span { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 12px; font-weight: 600; }
  .home-neon.auth-locked .auth-benefits i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(86, 234, 255, .22); border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); font-size: 9px; font-style: normal; }
  .home-neon.auth-locked .auth-card-heading { display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: center; }
  .home-neon.auth-locked .auth-card-heading > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--accent-secondary), var(--accent)); color: #071019; font-size: 12px; font-weight: 900; }
  .home-neon.auth-locked .auth-card-heading > div { display: grid; gap: 2px; }
  .home-neon.auth-locked .auth-card-heading strong { font-size: 15px; }
  .home-neon.auth-locked .auth-card-heading small { color: var(--text-muted); font-size: 10px; }
  .home-neon.auth-locked .auth-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--field-bg); }
  .home-neon.auth-locked .auth-mode-tabs button { min-height: 40px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
  .home-neon.auth-locked .auth-mode-tabs button.active { background: var(--surface-3); color: var(--text-primary); box-shadow: var(--shadow-sm); }
  .home-neon.auth-locked .auth-social-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .home-neon.auth-locked .auth-provider { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text-primary); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
  .home-neon.auth-locked .auth-provider:hover { border-color: rgba(86, 234, 255, .35); background: var(--surface-hover); }
  .home-neon.auth-locked .auth-provider b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #4285f4; font-size: 12px; }
  .home-neon.auth-locked .auth-provider--facebook b { background: #1877f2; color: #fff; }
  .home-neon.auth-locked .auth-divider { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 9px; }
  .home-neon.auth-locked .auth-divider::before,
  .home-neon.auth-locked .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-subtle); }
  .home-neon.auth-locked .auth-gate-forms { display: block; }
  .home-neon.auth-locked .auth-gate-forms form[hidden] { display: none; }
  .home-neon.auth-locked .auth-gate-forms form {
    gap: var(--space-3);
    padding: 0;
    border: 0;
    background: transparent;
  }
  .home-neon.auth-locked .auth-field { display: grid; gap: 6px; color: var(--text-secondary); font-size: 10px; font-weight: 650; }
  .home-neon.auth-locked .auth-gate-forms input[type="text"],
  .home-neon.auth-locked .auth-gate-forms input[type="email"],
  .home-neon.auth-locked .auth-gate-forms input[type="password"] {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    background: var(--field-bg);
    color: var(--text-primary);
    font-size: 13px;
  }
  .home-neon.auth-locked .auth-gate-forms input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .home-neon.auth-locked .auth-password { position: relative; display: block; }
  .home-neon.auth-locked .auth-password input { padding-right: 58px; }
  .home-neon.auth-locked .auth-password button { position: absolute; top: 50%; right: 7px; min-height: 30px; padding: 0 8px; transform: translateY(-50%); border: 0; background: transparent; color: var(--accent); font: inherit; font-size: 9px; font-weight: 750; cursor: pointer; }
  .home-neon.auth-locked .password-strength { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; color: var(--text-muted); font-size: 9px; }
  .home-neon.auth-locked .password-strength i { position: relative; height: 4px; overflow: hidden; border-radius: 3px; background: var(--surface-3); }
  .home-neon.auth-locked .password-strength i::after { content: ""; display: block; width: calc(var(--score, 0) * 20%); height: 100%; background: var(--danger); transition: width .2s ease, background .2s ease; }
  .home-neon.auth-locked .password-strength[data-score="1"] { --score: 1; }
  .home-neon.auth-locked .password-strength[data-score="2"] { --score: 2; }
  .home-neon.auth-locked .password-strength[data-score="3"] { --score: 3; }
  .home-neon.auth-locked .password-strength[data-score="4"] { --score: 4; }
  .home-neon.auth-locked .password-strength[data-score="5"] { --score: 5; }
  .home-neon.auth-locked .password-strength[data-score="3"] i::after { background: var(--warning); }
  .home-neon.auth-locked .password-strength[data-score="4"] i::after,
  .home-neon.auth-locked .password-strength[data-score="5"] i::after { background: var(--success); }
  .home-neon.auth-locked .auth-social-row .button,
  .home-neon.auth-locked .auth-gate-forms .button { min-height: 42px; border-radius: var(--radius-sm); box-shadow: none; font-size: 12px; font-weight: 600; }
  .home-neon.auth-locked .auth-gate-forms .button.primary { border-color: rgba(86, 234, 255, .45); background: var(--accent-soft); color: var(--accent-hover); }
  .home-neon.auth-locked .auth-oauth-note,
  .home-neon.auth-locked .consent-line { color: var(--text-muted); font-size: 10px; line-height: 1.55; }
  .home-neon.auth-locked .consent-line { display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: start; }
  .home-neon.auth-locked .consent-line input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--accent); }
  .home-neon.auth-locked .auth-form-note { margin: 0; color: var(--text-muted); font-size: 9px; text-align: center; }
  .home-neon.auth-locked .auth-submit:disabled { opacity: .65; cursor: wait; }
  .home-neon.auth-locked .auth-gate-status.is-error { border-color: rgba(255, 113, 139, .35); background: rgba(255, 113, 139, .08); color: var(--danger); }
  .app-workspace__platform .admin-users-toolbar { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); padding: var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-1); }
  .app-workspace__platform .admin-users-toolbar label { display: grid; gap: 6px; width: min(420px, 100%); color: var(--text-muted); font-size: 10px; font-weight: 650; }
  .app-workspace__platform .admin-users-toolbar > div { display: flex; flex-wrap: wrap; gap: 6px; }
  .app-workspace__platform .admin-users-toolbar > div span { padding: 7px 9px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 10px; }
  .app-workspace__platform .admin-users-table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
  .app-workspace__platform .admin-users-table { width: 100%; min-width: 880px; border-collapse: collapse; background: var(--surface-1); font-size: 10px; }
  .app-workspace__platform .admin-users-table :where(th, td) { padding: 11px 12px; border-bottom: 1px solid var(--border-subtle); text-align: left; vertical-align: middle; }
  .app-workspace__platform .admin-users-table th { color: var(--text-muted); background: var(--surface-2); font-size: 9px; text-transform: uppercase; }
  .app-workspace__platform .admin-user-identity { display: flex; align-items: center; gap: 9px; }
  .app-workspace__platform .admin-user-identity > span { display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
  .app-workspace__platform .admin-user-identity img { width: 100%; height: 100%; object-fit: cover; }
  .app-workspace__platform .admin-user-identity div { display: grid; gap: 2px; }
  .app-workspace__platform .admin-user-identity small { color: var(--text-muted); }
  .app-workspace__platform :where(.admin-provider, .admin-consent, .admin-online) { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); white-space: nowrap; }
  .app-workspace__platform .admin-consent.yes,
  .app-workspace__platform .admin-online.is-online { color: var(--success); }
  .app-workspace__platform .admin-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }
  .app-workspace__platform .admin-online.is-online i { background: var(--success); box-shadow: 0 0 8px var(--success); }
  .app-workspace__platform .admin-privacy-note { margin: var(--space-3) 0 0; color: var(--text-muted); font-size: 9px; }

  @media (max-width: 900px) {
    .home-neon.auth-locked .auth-gate { grid-template-columns: 1fr; align-content: start; gap: var(--space-6); padding: var(--space-6); }
    .home-neon.auth-locked .auth-gate-brand h1 { font-size: clamp(30px, 8vw, 44px); }
    .home-neon.auth-locked .auth-gate-card { max-width: 100%; }
  }

  @media (max-width: 560px) {
    .home-neon.auth-locked .auth-gate { padding: var(--space-4); }
    .home-neon.auth-locked .auth-gate-card { padding: var(--space-4); }
    .home-neon.auth-locked .auth-gate-brand { display: none; }
    .home-neon.auth-locked .auth-social-row { grid-template-columns: 1fr; }
    .app-workspace__platform .admin-users-toolbar { align-items: stretch; flex-direction: column; }
  }
}
