
    :root {
      color-scheme: dark;
      --bg: #080d1a;
      --surface: rgba(18, 30, 55, 0.55);
      --surface-hover: rgba(105, 145, 220, 0.14);
      --border: rgba(180, 205, 255, 0.16);
      --text: #edf3ff;
      --muted: #8d9bb8;
      --accent: #76a9ff;
      --glow: rgba(67, 126, 255, 0.16);
      --shadow: rgba(0, 0, 0, 0.25);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      min-height: 100vh;
      overflow-x: hidden;
      font-family: "Inter", sans-serif;
      background: var(--bg);
      color: var(--text);
      transition: background .35s, color .35s;
    }

    body.light {
      color-scheme: light;
      --bg: #edf2fc;
      --surface: rgba(255, 255, 255, 0.67);
      --surface-hover: rgba(80, 115, 190, 0.10);
      --border: rgba(60, 85, 140, 0.17);
      --text: #17233c;
      --muted: #64738e;
      --accent: #386fe0;
      --glow: rgba(70, 115, 220, 0.12);
      --shadow: rgba(35, 55, 100, 0.10);
    }

    button {
      font: inherit;
      color: inherit;
      cursor: pointer;
    }

    button:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 4px;
    }

    .ambient {
      position: fixed;
      inset: 0;
      z-index: -1;
      overflow: hidden;
      pointer-events: none;
      background:
        radial-gradient(ellipse at 75% 10%, var(--glow), transparent 45%),
        radial-gradient(ellipse at 12% 90%, rgba(80, 60, 180, .10), transparent 42%);
    }

    .ambient::after {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .15;
      background-image: radial-gradient(
        rgba(180, 205, 255, .7) .7px,
        transparent .7px
      );
      background-size: 32px 32px;
      mask-image: linear-gradient(to bottom, black, transparent 75%);
    }

    .navbar {
      position: relative;
      z-index: 10;
      width: min(1440px, calc(100% - 64px));
      min-height: 76px;
      margin: 28px auto 0;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;

      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 24px;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      box-shadow:
        0 12px 45px var(--shadow),
        inset 0 1px 0 rgba(255,255,255,.06);
    }

    .nav-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .icon-button {
      position: relative;
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      flex-shrink: 0;
      border: 1px solid transparent;
      border-radius: 16px;
      background: transparent;
      transition: .25s ease;
    }

    .icon-button:hover,
    .icon-button[aria-expanded="true"] {
      background: var(--surface-hover);
      border-color: var(--border);
      color: var(--accent);
    }

    .icon-button svg {
      width: 21px;
      height: 21px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .42em;
      white-space: nowrap;
    }

    .brand-mark {
      display: grid;
      place-items: center;
      color: var(--accent);
    }

    .brand-mark svg {
      width: 29px;
      height: 29px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.7;
    }

    .profile-button {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 5px 10px 5px 5px;
      border: 1px solid transparent;
      border-radius: 18px;
      background: transparent;
      transition: .25s ease;
    }

    .profile-button:hover,
    .profile-button[aria-expanded="true"] {
      background: var(--surface-hover);
      border-color: var(--border);
    }

    .avatar {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      background: linear-gradient(135deg, #76a9ff, #7669d9);
      color: white;
      font-size: 12px;
      font-weight: 700;
    }

    .chevron {
      width: 15px;
      height: 15px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
    }

    .menu-panel {
      position: absolute;
      top: calc(100% + 12px);
      left: 8px;
      width: 240px;
    }

    .profile-panel {
      position: absolute;
      top: calc(100% + 12px);
      right: 68px;
      width: 235px;
    }

    .settings-panel {
      position: absolute;
      top: calc(100% + 12px);
      right: 8px;
      width: 265px;
    }

    .glass-panel {
      padding: 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      box-shadow: 0 18px 55px var(--shadow);
      animation: appear .2s ease both;
    }

    .panel-heading {
      padding: 10px 10px 12px;
      color: var(--muted);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .17em;
      text-transform: uppercase;
    }

    .menu-item {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 12px;
      margin: 2px 0;
      text-align: left;
      border: 1px solid transparent;
      border-radius: 12px;
      background: transparent;
      font-size: 13px;
      transition: .2s ease;
    }

    .menu-item svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
    }

    .menu-item:hover,
    .menu-item.active {
      background: var(--surface-hover);
      border-color: var(--border);
      color: var(--accent);
    }

    .menu-divider {
      height: 1px;
      margin: 8px 4px;
      background: var(--border);
    }

    .setting-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 8px;
      font-size: 12px;
    }

    .setting-row span {
      color: var(--muted);
    }

    .switch {
      width: 36px;
      height: 21px;
      border: 0;
      border-radius: 20px;
      background: #4a5670;
      padding: 3px;
      transition: .2s;
    }

    .switch::after {
      content: "";
      display: block;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background: white;
      transition: transform .2s;
    }

    .switch[aria-checked="true"] {
      background: var(--accent);
    }

    .switch[aria-checked="true"]::after {
      transform: translateX(15px);
    }

    .hidden {
      display: none !important;
    }

    main {
      width: min(1100px, calc(100% - 48px));
      margin: 100px auto 80px;
    }

    .eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
      color: var(--accent);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: .22em;
      text-transform: uppercase;
    }

    .status-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #67e8b5;
      box-shadow: 0 0 14px #67e8b5;
    }

    h1 {
      max-width: 720px;
      font-size: clamp(42px, 7vw, 82px);
      line-height: 1.06;
      font-weight: 500;
      letter-spacing: -.065em;
    }

    h1 span {
      color: var(--accent);
    }

    .intro {
      max-width: 470px;
      margin-top: 22px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.9;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }

    .primary-button,
    .secondary-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 19px;
      border-radius: 13px;
      font-size: 12px;
      font-weight: 600;
      transition: .25s ease;
    }

    .primary-button {
      border: 1px solid transparent;
      color: #081326;
      background: var(--accent);
    }

    .primary-button:hover {
      filter: brightness(1.12);
      transform: translateY(-2px);
      box-shadow: 0 8px 28px var(--glow);
    }

    .secondary-button {
      border: 1px solid var(--border);
      background: var(--surface);
    }

    .secondary-button:hover {
      background: var(--surface-hover);
      border-color: var(--accent);
    }

    .primary-button svg,
    .secondary-button svg {
      width: 17px;
      height: 17px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
    }

    .section-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }

    .section-top h2 {
      font-size: 14px;
      font-weight: 500;
    }

    .section-top p {
      color: var(--muted);
      font-size: 11px;
    }

    .workspace {
      margin-top: 100px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .card {
      position: relative;
      min-height: 185px;
      padding: 23px;
      overflow: hidden;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      backdrop-filter: blur(18px);
      transition: .3s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(118, 169, 255, .5);
      box-shadow: 0 15px 40px var(--shadow);
    }

    .card-icon {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      margin-bottom: 24px;
      color: var(--accent);
      background: var(--surface-hover);
      border: 1px solid var(--border);
      border-radius: 13px;
    }

    .card-icon svg {
      width: 21px;
      height: 21px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
    }

    .card h3 {
      margin-bottom: 9px;
      font-size: 14px;
      font-weight: 500;
    }

    .card p {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.8;
    }

    .card-number {
      position: absolute;
      top: 25px;
      right: 24px;
      color: var(--muted);
      font-size: 10px;
      letter-spacing: .1em;
    }

    .footer {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      margin-top: 70px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
      color: var(--muted);
      font-size: 10px;
      letter-spacing: .04em;
    }

    .toast {
      position: fixed;
      z-index: 30;
      right: 24px;
      bottom: 24px;
      max-width: calc(100vw - 48px);
      padding: 15px 19px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: var(--surface);
      backdrop-filter: blur(20px);
      box-shadow: 0 12px 40px var(--shadow);
      font-size: 12px;
      animation: appear .2s ease both;
    }

    @keyframes appear {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 700px) {
      .navbar {
        width: calc(100% - 24px);
        min-height: 66px;
        margin-top: 12px;
        padding: 9px;
        gap: 5px;
        border-radius: 20px;
      }

      .nav-group { gap: 2px; }

      .icon-button {
        width: 40px;
        height: 42px;
        border-radius: 13px;
      }

      .brand {
        position: static;
        transform: none;
        gap: 6px;
        font-size: 10px;
        letter-spacing: .2em;
      }

      .brand-mark svg {
        width: 22px;
        height: 22px;
      }

      .profile-button {
        padding: 3px;
      }

      .avatar {
        width: 32px;
        height: 32px;
        border-radius: 11px;
      }

      .profile-button .chevron { display: none; }

      .right-group .icon-button {
        width: 38px;
      }

      .menu-panel {
        left: 0;
        width: min(240px, calc(100vw - 40px));
      }

      .profile-panel,
      .settings-panel {
        right: 0;
        width: min(265px, calc(100vw - 40px));
      }

      main {
        width: calc(100% - 40px);
        margin-top: 88px;
      }

      .intro { font-size: 14px; }

      .workspace { margin-top: 76px; }

      .cards { grid-template-columns: 1fr; }

      .card { min-height: 160px; }

      .footer {
        flex-direction: column;
        margin-top: 45px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
      }
    }
