:root {
      --bg: #f0f0ee;
      --white: #ffffff;
      --dark: #161618;
      --mid: #3a3a3a;
      --muted: #8c8c8c;
      --border: #e2e2de;
      --accent: #e84c30;
      --accent-l: rgba(232, 76, 48, 0.1);
      --green: #16a34a;
      --green-l: rgba(22, 163, 74, 0.1);
      --blue: #1877f2;
      --blue-l: rgba(24, 119, 242, 0.1);
      --ig: #e1306c;
      --ig-l: rgba(225, 48, 108, 0.1);
      --yellow: #d97706;
      --yellow-l: rgba(217, 119, 6, 0.1);
      --purple: #7c3aed;
      --purple-l: rgba(124, 58, 237, 0.1);
    }

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

    body {
      font-family: 'Manrope', sans-serif;
      background: var(--bg);
      color: var(--dark);
      min-height: 100vh;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    .material-symbols-outlined {
      font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
      line-height: 1;
    }

    .launcher-shell {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background-color: #faf9f9;
      background-image: radial-gradient(#d5dbdc 1px, transparent 1px);
      background-size: 4px 4px;
      color: #2e3334;
      overflow: hidden;
    }

    .launcher-menubar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 60;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
      background: #eceeef;
      border-bottom: 2px solid #767c7d;
      box-shadow: 0 1px 0 #fff;
    }

    .launcher-menubar-left,
    .launcher-menubar-right {
      display: flex;
      align-items: center;
      gap: 4px;
      min-width: 0;
    }

    .launcher-brand-logo {
      width: 18px;
      height: 18px;
      display: block;
      object-fit: contain;
      margin-right: 4px;
    }

    .launcher-menu-group {
      position: relative;
    }

    .launcher-symbol {
      font-size: 18px;
    }

    .launcher-symbol-fill {
      font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    }

    .launcher-menu-link {
      border: 0;
      background: transparent;
      color: #2e3334;
      padding: 4px 12px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .launcher-menu-link.is-active,
    .launcher-menu-link:hover {
      background: #4b53bc;
      color: #fff;
    }

    .launcher-dropdown {
      position: absolute;
      top: calc(100% + 2px);
      left: 0;
      min-width: 176px;
      border: 2px solid #767c7d;
      background: #faf9f9;
      box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #767c7d, 4px 4px 0 #000;
      padding: 4px;
      z-index: 70;
    }

    .launcher-dropdown-item {
      width: 100%;
      display: block;
      border: 0;
      background: transparent;
      color: #2e3334;
      padding: 7px 10px;
      font-family: 'Public Sans', sans-serif;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-align: left;
      text-decoration: none;
      cursor: pointer;
    }

    .launcher-dropdown-item:hover {
      background: #4b53bc;
      color: #fff;
    }

    .launcher-dropdown-item.is-disabled,
    .launcher-dropdown-item:disabled {
      opacity: 0.38;
      cursor: default;
      pointer-events: none;
    }

    .launcher-clock-icon {
      font-size: 14px;
      color: #4b53bc;
    }

    .launcher-clock {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 13px;
      font-weight: 700;
    }

    .skin-switch {
      display: inline-flex;
      position: relative;
      align-items: center;
      gap: 8px;
      padding: 5px 10px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      backdrop-filter: blur(16px);
    }

    .skin-switch-label {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--muted);
      white-space: nowrap;
    }

    .skin-switch-select {
      position: relative;
      z-index: 1;
      border: 0;
      background: transparent;
      color: var(--dark);
      font-size: 12px;
      font-weight: 700;
      outline: none;
      min-width: 136px;
      cursor: pointer;
    }

    @keyframes skinGlowCold {
      0%, 100% {
        border-color: var(--border);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0), 0 0 0 rgba(255, 255, 255, 0);
      }
      45% {
        border-color: rgba(37, 99, 235, 0.62);
        background: rgba(239, 246, 255, 0.98);
        box-shadow: 0 0 0 1px rgba(219, 234, 254, 0.95), 0 0 20px rgba(37, 99, 235, 0.3);
      }
      65% {
        border-color: rgba(96, 165, 250, 0.42);
        background: rgba(248, 251, 255, 0.9);
        box-shadow: 0 0 0 1px rgba(219, 234, 254, 0.8), 0 0 12px rgba(37, 99, 235, 0.16);
      }
    }

    .launcher-desktop {
      flex: 1;
      display: flex;
      min-height: 100vh;
      padding-top: 32px;
    }

    .launcher-sidebar {
      width: 192px;
      flex: 0 0 192px;
      border-right: 2px solid #767c7d;
      background: #faf9f9;
      display: flex;
      flex-direction: column;
    }

    .launcher-drive {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 18px 16px;
      border-bottom: 2px solid #767c7d;
    }

    .launcher-drive-badge {
      width: 34px;
      height: 34px;
      border: 2px solid #767c7d;
      background: #eceeef;
      display: grid;
      place-items: center;
      color: #4b53bc;
    }

    .launcher-drive h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      line-height: 1;
    }

    .launcher-drive p {
      margin-top: 5px;
      font-family: 'Public Sans', sans-serif;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #5a6061;
    }

    .launcher-sidebar-nav {
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding: 10px 8px;
    }

    .launcher-sidebar-item {
      border: 0;
      background: transparent;
      color: #2e3334;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px;
      font-family: 'Public Sans', sans-serif;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      text-align: left;
    }

    .launcher-sidebar-item.is-active,
    .launcher-sidebar-item:hover {
      background: #4b53bc;
      color: #fff;
    }

    .launcher-sidebar-item.is-disabled,
    .launcher-sidebar-item:disabled {
      opacity: 0.38;
      cursor: default;
      pointer-events: none;
    }

    .launcher-workspace {
      position: relative;
      flex: 1;
      min-width: 0;
      overflow: hidden;
      padding: 30px 78px 34px 34px;
    }

    .launcher-window {
      position: absolute;
      width: min(100%, 960px);
      min-height: 590px;
      display: flex;
      flex-direction: column;
      border: 2px solid #767c7d;
      background: #faf9f9;
      box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #767c7d, 4px 4px 0 #000;
      touch-action: none;
    }

    .launcher-window-bar {
      height: 28px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 8px;
      border-bottom: 2px solid #767c7d;
      background: #eceeef;
      cursor: grab;
      user-select: none;
    }

    .launcher-window.is-dragging .launcher-window-bar {
      cursor: grabbing;
    }

    .launcher-window-box,
    .launcher-window-actions span {
      width: 16px;
      height: 16px;
      border: 2px solid #767c7d;
      background: #fff;
      flex: 0 0 auto;
    }

    .launcher-window-title-wrap {
      position: relative;
      flex: 1;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .launcher-window-lines {
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(0deg, #767c7d, #767c7d 1px, transparent 1px, transparent 3px);
      opacity: 0.7;
    }

    .launcher-window-title {
      position: relative;
      z-index: 1;
      padding: 0 16px;
      background: #eceeef;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.14em;
    }

    .launcher-window-actions {
      display: flex;
      gap: 4px;
    }

    .launcher-icons {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(4, minmax(90px, 1fr));
      gap: 34px 20px;
      align-content: start;
      min-height: 420px;
      padding: 34px 28px 18px;
    }

    .launcher-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      border: 0;
      background: transparent;
      color: #2e3334;
      cursor: pointer;
    }

    .launcher-icon.is-muted {
      opacity: 1;
    }

    .launcher-icon.is-disabled,
    .launcher-icon:disabled {
      opacity: 0.38;
      cursor: default;
      pointer-events: none;
    }

    .launcher-icon-art {
      width: 64px;
      height: 64px;
      display: grid;
      place-items: center;
      border: 2px solid #767c7d;
      background: #fff;
      padding: 8px;
    }

    .launcher-app-symbol {
      font-size: 38px;
      color: #fff;
      -webkit-text-stroke: 2px #767c7d;
    }

    .launcher-app-logo {
      width: 48px;
      height: 48px;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      display: block;
      image-rendering: -webkit-optimize-contrast;
    }

    .launcher-icon-label {
      padding: 0 4px;
      font-family: 'Public Sans', sans-serif;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-align: center;
    }

    .launcher-icon:not(.is-disabled):hover .launcher-icon-art,
    .launcher-icon:not(.is-disabled):focus-visible .launcher-icon-art {
      outline: none;
    }

    .launcher-icon:not(.is-disabled):hover .launcher-icon-label,
    .launcher-icon:not(.is-disabled):focus-visible .launcher-icon-label {
      color: #2e3334;
    }

    .launcher-icon.is-meta:hover .launcher-icon-art,
    .launcher-icon.is-meta:focus-visible .launcher-icon-art {
      background: linear-gradient(135deg, #e8f1ff 0%, #9dc0ff 100%);
      border-color: #4b53bc;
    }

    .launcher-icon.is-meta:hover .launcher-app-logo,
    .launcher-icon.is-meta:focus-visible .launcher-app-logo {
      filter: saturate(1.08) contrast(1.02);
    }

    .launcher-icon.is-meta:hover .launcher-app-symbol,
    .launcher-icon.is-meta:focus-visible .launcher-app-symbol {
      -webkit-text-stroke-color: #2455bb;
    }

    .launcher-icon.is-google:hover .launcher-icon-art,
    .launcher-icon.is-google:focus-visible .launcher-icon-art {
      background: linear-gradient(135deg, #fff6d5 0%, #fbbc05 38%, #ea4335 100%);
      border-color: #767c7d;
    }

    .launcher-icon.is-google:hover .launcher-app-logo,
    .launcher-icon.is-google:focus-visible .launcher-app-logo {
      filter: saturate(1.08) contrast(1.02);
    }

    .launcher-icon.is-google:hover .launcher-app-symbol,
    .launcher-icon.is-google:focus-visible .launcher-app-symbol {
      -webkit-text-stroke-color: #2b56c4;
    }

    .launcher-icon.is-files:hover .launcher-icon-art,
    .launcher-icon.is-files:focus-visible .launcher-icon-art {
      background: linear-gradient(135deg, #fffdf0 0%, #efe2ad 100%);
      border-color: #9e874a;
    }

    .launcher-icon.is-files:hover .launcher-app-symbol,
    .launcher-icon.is-files:focus-visible .launcher-app-symbol {
      -webkit-text-stroke-color: #866d2d;
    }

    .launcher-icon.is-utilities:hover .launcher-icon-art,
    .launcher-icon.is-utilities:focus-visible .launcher-icon-art {
      background: linear-gradient(135deg, #eef7f1 0%, #b8d9c4 100%);
      border-color: #6d9278;
    }

    .launcher-icon.is-utilities:hover .launcher-app-symbol,
    .launcher-icon.is-utilities:focus-visible .launcher-app-symbol {
      -webkit-text-stroke-color: #567764;
    }

    .launcher-icon.is-tickets:hover .launcher-icon-art,
    .launcher-icon.is-tickets:focus-visible .launcher-icon-art {
      background: linear-gradient(135deg, #fff5e6 0%, #f0b15a 100%);
      border-color: #a86b1f;
    }

    .launcher-icon.is-tickets:hover .launcher-app-symbol,
    .launcher-icon.is-tickets:focus-visible .launcher-app-symbol {
      -webkit-text-stroke-color: #8b5b18;
    }

    .launcher-note {
      border-top: 2px solid #767c7d;
      background: #eceeef;
      padding: 8px 14px;
      min-height: 58px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
    }

    .launcher-note-title {
      font-family: 'Public Sans', sans-serif;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #5a6061;
    }

    .launcher-note p {
      font-family: 'Public Sans', sans-serif;
      font-size: 11px;
      line-height: 1.4;
    }

    .launcher-window-footer {
      height: 20px;
      border-top: 2px solid #767c7d;
      background: #eceeef;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px;
    }

    .launcher-footer-count {
      font-family: 'Public Sans', sans-serif;
      font-size: 9px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #5a6061;
    }

    .launcher-footer-corner {
      width: 10px;
      height: 10px;
      border-right: 2px solid #767c7d;
      border-bottom: 2px solid #767c7d;
    }

    .launcher-desktop-icons {
      position: absolute;
      top: 78px;
      right: 24px;
      display: flex;
      flex-direction: column;
      gap: 22px;
      align-items: center;
    }

    .launcher-desktop-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      border: 0;
      background: transparent;
      color: #2e3334;
      cursor: pointer;
    }

    .launcher-desktop-svg {
      width: 56px;
      height: 56px;
      display: block;
    }

    .launcher-desktop-item span:last-child {
      background: #faf9f9;
      padding: 0 4px;
      font-family: 'Public Sans', sans-serif;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #2e3334;
    }

    .launcher-desktop-item:hover .launcher-desktop-svg path,
    .launcher-desktop-item:hover .launcher-desktop-svg circle,
    .launcher-desktop-item:focus-visible .launcher-desktop-svg path,
    .launcher-desktop-item:focus-visible .launcher-desktop-svg circle {
      transition: stroke 0.08s linear, fill 0.08s linear;
    }

    .launcher-desktop-item.is-reports:hover .launcher-desktop-svg path[stroke="#767c7d"],
    .launcher-desktop-item.is-reports:hover .launcher-desktop-svg circle[stroke="#767c7d"],
    .launcher-desktop-item.is-reports:focus-visible .launcher-desktop-svg path[stroke="#767c7d"],
    .launcher-desktop-item.is-reports:focus-visible .launcher-desktop-svg circle[stroke="#767c7d"] {
      stroke: #8b7441;
    }

    .launcher-desktop-item.is-disk:hover .launcher-desktop-svg path[stroke="#767c7d"],
    .launcher-desktop-item.is-disk:hover .launcher-desktop-svg circle[stroke="#767c7d"],
    .launcher-desktop-item.is-disk:focus-visible .launcher-desktop-svg path[stroke="#767c7d"],
    .launcher-desktop-item.is-disk:focus-visible .launcher-desktop-svg circle[stroke="#767c7d"] {
      stroke: #56626d;
    }

    .launcher-desktop-item.is-reports:hover .launcher-desktop-item span:last-child,
    .launcher-desktop-item.is-reports:focus-visible .launcher-desktop-item span:last-child {
      color: #6d5828;
    }

    .launcher-desktop-item.is-disk:hover .launcher-desktop-item span:last-child,
    .launcher-desktop-item.is-disk:focus-visible .launcher-desktop-item span:last-child {
      color: #44505c;
    }

    .launcher-dialog-backdrop {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(46, 51, 52, 0.16);
    }

    .launcher-dialog {
      width: min(100%, 420px);
      border: 2px solid #767c7d;
      background: #faf9f9;
      box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #767c7d, 4px 4px 0 #000;
    }

    .launcher-dialog-titlebar {
      height: 28px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 8px;
      border-bottom: 2px solid #767c7d;
      background: #eceeef;
    }

    .launcher-dialog-body {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 18px 18px 10px;
    }

    .launcher-dialog-glyph {
      width: 42px;
      height: 42px;
      border: 2px solid #767c7d;
      background: #eceeef;
      box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #b9babc;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
    }

    .launcher-dialog-icon {
      font-size: 26px;
      color: #4b53bc;
    }

    .launcher-dialog-heading {
      margin-bottom: 6px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 16px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .launcher-dialog-text {
      font-family: 'Public Sans', sans-serif;
      font-size: 12px;
      line-height: 1.55;
    }

    .launcher-dialog-actions {
      display: flex;
      justify-content: flex-end;
      padding: 0 18px 16px;
    }

    .launcher-dialog-btn {
      min-width: 78px;
      border: 2px solid #767c7d;
      background: #eceeef;
      color: #2e3334;
      padding: 7px 16px;
      font-family: 'Public Sans', sans-serif;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #b9babc;
      cursor: pointer;
    }

    .launcher-dialog-btn.is-primary {
      position: relative;
      min-width: 92px;
      background: #4b53bc;
      color: #fff;
      border-color: #2f3691;
      box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.35), inset -1px -1px 0 rgba(0, 0, 0, 0.22);
    }

    .launcher-dialog-btn.is-primary::after {
      content: '';
      position: absolute;
      inset: 3px;
      border: 1px dashed rgba(255, 255, 255, 0.85);
      pointer-events: none;
    }

    .shell {
      display: grid;
      grid-template-columns: 224px 1fr;
      min-height: 100vh;
    }

    /* Sidebar */
    .sidebar {
      background: var(--dark);
      padding: 28px 18px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
    }

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

    .logo-mark {
      width: 34px;
      height: 34px;
      background: var(--accent);
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      font-weight: 900;
      color: #fff;
    }

    .logo-name {
      font-size: 13px;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
    }

    .logo-sub {
      font-size: 9px;
      color: rgba(255, 255, 255, 0.35);
      font-weight: 500;
    }

    .nav-section {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .nav-label {
      font-size: 9px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.25);
      font-weight: 700;
      margin-bottom: 6px;
      padding: 0 10px;
    }

    .nav-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.45);
      cursor: pointer;
      transition: all 0.15s;
      user-select: none;
    }

    .nav-item:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.06);
    }

    .nav-item.active {
      color: #fff;
      background: var(--accent);
    }

    .filter-box {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 12px;
      padding: 16px;
      margin-top: auto;
    }

    .filter-box-title {
      font-size: 9px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.3);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 12px;
    }

    .filter-group {
      margin-bottom: 10px;
    }

    .filter-group:last-child {
      margin-bottom: 0;
    }

    .filter-label {
      font-size: 9px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.3);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 5px;
    }

    .filter-select {
      width: 100%;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 7px;
      padding: 7px 10px;
      font-size: 11px;
      font-weight: 600;
      color: #fff;
      font-family: 'Manrope', sans-serif;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 10px center;
    }

    .filter-select:focus {
      outline: none;
      border-color: var(--accent);
    }

    .filter-select option {
      background: #1a1a1a;
      color: #fff;
    }

    .filter-reset {
      width: 100%;
      margin-top: 10px;
      padding: 7px;
      border-radius: 7px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: transparent;
      color: rgba(255, 255, 255, 0.35);
      font-family: 'Manrope', sans-serif;
      font-size: 10px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.15s;
      letter-spacing: 0.05em;
    }

    .filter-reset:hover {
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
    }

    .topbar-btn-ghost {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--mid);
    }

    .topbar-btn-ghost:hover {
      background: #f6f6f3;
      color: var(--dark);
    }

    /* Main */
    .main {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .topbar {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 0 32px;
      height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 20;
    }

    .tab-label {
      font-size: 14px;
      font-weight: 800;
      color: var(--dark);
    }

    .topbar-r {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .topbar-company-switch {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border: 1px solid var(--border);
      background: var(--bg);
      border-radius: 999px;
    }

    .company-switch-label {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .company-switch-select {
      min-width: 190px;
      border: 0;
      background: transparent;
      color: var(--dark);
      font-size: 12px;
      font-weight: 700;
      outline: none;
      padding-right: 4px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 700;
    }

    .chip-dark {
      background: var(--dark);
      color: #fff;
    }

    .chip-accent {
      background: var(--accent-l);
      color: var(--accent);
    }

    .chip-green {
      background: var(--green-l);
      color: var(--green);
    }

    .chip-blue {
      background: var(--blue-l);
      color: var(--blue);
    }

    .chip-purple {
      background: var(--purple-l);
      color: var(--purple);
    }

    .topbar-btn {
      border: 1px solid var(--border);
      background: var(--white);
      color: var(--mid);
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      padding: 6px 12px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .topbar-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-l);
    }

    .content {
      padding: 32px 36px;
      display: flex;
      flex-direction: column;
      gap: 36px;
    }

    .screen {
      display: none;
    }

    .screen.active {
      display: flex;
      flex-direction: column;
      gap: 36px;
    }

    .screen-content {
      display: flex;
      flex-direction: column;
      gap: 36px;
    }

    /* Loading/Error/Empty */
    .loading {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 60px;
      flex-direction: column;
      gap: 12px;
    }

    .spinner {
      width: 32px;
      height: 32px;
      border: 3px solid var(--border);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg)
      }
    }

    .loading-text {
      font-size: 12px;
      color: var(--muted);
      font-weight: 600;
    }

    .error-box {
      background: #fff5f5;
      border: 1px solid #fecaca;
      border-radius: 12px;
      padding: 20px;
      font-size: 12px;
      color: #dc2626;
      font-weight: 600;
    }

    .empty-box {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 48px;
      text-align: center;
    }

    .empty-box-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }

    .empty-box-text {
      font-size: 13px;
      font-weight: 700;
      color: var(--mid);
      margin-bottom: 4px;
    }

    .empty-box-sub {
      font-size: 11px;
      color: var(--muted);
    }

    /* Card */
    .card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
    }

    .card-head {
      padding: 24px 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border);
    }

    .card-title {
      font-size: 14px;
      font-weight: 800;
    }

    .card-body {
      padding: 28px 28px;
    }

    /* Hero */
    .hero {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--accent-l);
      color: var(--accent);
      border-radius: 20px;
      padding: 4px 12px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .hero-eyebrow::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
    }

    h1 {
      font-size: clamp(28px, 4vw, 46px);
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 0.95;
    }

    h1 .dim {
      color: var(--muted);
      font-weight: 400;
    }

    /* KPIs */
    .kpis {
      display: grid;
      gap: 24px;
    }

    .kpis-5 {
      grid-template-columns: repeat(5, 1fr);
    }

    .kpis-4 {
      grid-template-columns: repeat(4, 1fr);
    }

    .kpis-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    .kpi {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 20px;
      position: relative;
      transition: transform 0.18s, box-shadow 0.18s;
    }

    .kpi:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .kpi.dark {
      background: var(--dark);
      border-color: transparent;
    }

    .kpi-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      margin-bottom: 14px;
    }

    .kpi-val {
      font-size: 26px;
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 1;
      margin-bottom: 4px;
    }

    .kpi.dark .kpi-val {
      color: #fff;
    }

    .kpi-name {
      font-size: 10px;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .kpi.dark .kpi-name {
      color: rgba(255, 255, 255, 0.35);
    }

    /* Pill */
    .pill {
      padding: 3px 9px;
      border-radius: 20px;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .pill-dark {
      background: var(--dark);
      color: #fff;
    }

    .pill-green {
      background: var(--green-l);
      color: var(--green);
    }

    .pill-orange {
      background: var(--accent-l);
      color: var(--accent);
    }

    .pill-blue {
      background: var(--blue-l);
      color: var(--blue);
    }

    .pill-purple {
      background: var(--purple-l);
      color: var(--purple);
    }

    /* Plat badge */
    .plat {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 8px;
      border-radius: 5px;
      font-size: 9px;
      font-weight: 700;
    }

    .plat.ig {
      background: var(--ig-l);
      color: var(--ig);
    }

    .plat.fb {
      background: var(--blue-l);
      color: var(--blue);
    }

    .plat.ok {
      background: var(--green-l);
      color: var(--green);
    }

    .plat.warn {
      background: var(--yellow-l);
      color: var(--yellow);
    }

    .plat.dark {
      background: rgba(0, 0, 0, 0.06);
      color: var(--mid);
    }

    /* Table */
    .tbl-wrap {
      overflow-x: auto;
    }

    .tbl {
      width: 100%;
      border-collapse: collapse;
    }

    .tbl th {
      padding: 8px 14px;
      text-align: left;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }

    .tbl td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
      font-size: 12px;
      white-space: nowrap;
    }

    .tbl tr:last-child td {
      border-bottom: none;
    }

    /* Gráficos Interativos */
    .svg-elem {
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: crosshair;
    }

    .svg-elem:hover {
      opacity: 0.85;
      filter: brightness(1.1);
    }

    .svg-elem.bar {
      transform-origin: bottom;
    }

    .svg-elem.bar:hover {
      transform: scaleY(1.02);
    }

    .tbl tr:hover td {
      background: var(--bg);
    }

    .tbl th[onclick] {
      cursor: pointer;
      user-select: none;
      transition: background 0.2s, color 0.2s;
    }

    .tbl th[onclick]:hover {
      background: rgba(0, 0, 0, 0.03);
    }

    .tbl th.active-sort {
      color: var(--accent);
      background: rgba(0, 0, 0, 0.02);
    }

    .tbl td:nth-child(even),
    .tbl th:nth-child(even) {
      background: rgba(0, 0, 0, 0.015);
    }

    .n {
      font-weight: 700;
    }

    .n.or {
      color: var(--accent);
    }

    .n.gr {
      color: var(--green);
    }

    .n.bl {
      color: var(--blue);
    }

    .n.pu {
      color: var(--purple);
    }

    /* Bars */
    .bar-inline {
      height: 4px;
      background: var(--border);
      border-radius: 2px;
      overflow: hidden;
      margin-top: 5px;
    }

    .bar-inline-f {
      height: 100%;
      border-radius: 2px;
      transition: width 0.8s ease;
    }

    .comp-item {
      margin-bottom: 16px;
    }

    .comp-item:last-child {
      margin-bottom: 0;
    }

    .comp-head {
      display: flex;
      justify-content: space-between;
      margin-bottom: 6px;
    }

    .comp-name {
      font-size: 11px;
      font-weight: 700;
    }

    .comp-val {
      font-size: 11px;
      font-weight: 800;
    }

    .comp-bar {
      height: 6px;
      background: var(--border);
      border-radius: 3px;
      overflow: hidden;
    }

    .comp-fill {
      height: 100%;
      border-radius: 3px;
      transition: width 0.8s ease;
    }

    /* Grid */
    .grid2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .grid3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 24px;
    }

    .grid4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    /* Conv cards */
    .conv-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px;
      position: relative;
      overflow: hidden;
    }

    .conv-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
    }

    .conv-card.c1::before {
      background: var(--accent);
    }

    .conv-card.c2::before {
      background: var(--green);
    }

    .conv-card.c3::before {
      background: var(--blue);
    }

    .conv-card.c4::before {
      background: var(--purple);
    }

    .conv-label {
      font-size: 10px;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
    }

    .conv-val {
      font-size: 40px;
      font-weight: 900;
      letter-spacing: -0.04em;
      line-height: 1;
    }

    .conv-card.c1 .conv-val {
      color: var(--accent);
    }

    .conv-card.c2 .conv-val {
      color: var(--green);
    }

    .conv-card.c3 .conv-val {
      color: var(--blue);
    }

    .conv-card.c4 .conv-val {
      color: var(--purple);
    }

    .conv-sub {
      font-size: 11px;
      color: var(--muted);
      margin-top: 4px;
    }

    .conv-detail {
      margin-top: 12px;
      border-top: 1px solid var(--border);
      padding-top: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .cdr {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
    }

    .cdr span:first-child {
      color: var(--muted);
    }

    .cdr span:last-child {
      font-weight: 700;
    }

    /* Sum grid */
    .sum-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
    }

    .sum-cell {
      background: var(--white);
      padding: 24px 28px;
    }

    .sum-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .sum-val {
      font-size: 20px;
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    /* IA Summary */
    .ai-summary-card {
      border-color: #ffd7cc;
      box-shadow: 0 10px 30px rgba(232, 76, 48, 0.08);
    }

    .ai-head {
      gap: 16px;
      align-items: flex-start;
    }

    .ai-head-sub {
      margin-top: 5px;
      font-size: 11px;
      color: var(--muted);
      font-weight: 600;
    }

    .ai-head-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .ai-mode-toggle {
      display: inline-flex;
      background: #fff6f3;
      border: 1px solid #ffd8ce;
      border-radius: 999px;
      padding: 3px;
      gap: 4px;
    }

    .ai-mode-btn {
      border: none;
      background: transparent;
      color: #b55d4a;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-radius: 999px;
      padding: 8px 12px;
      cursor: pointer;
      transition: all 0.16s ease;
    }

    .ai-mode-btn.active {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 4px 14px rgba(232, 76, 48, 0.3);
    }

    .ai-body {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .ai-highlight {
      background: linear-gradient(125deg, #fff4f0 0%, #fff 68%);
      border: 1px solid #ffd8cd;
      border-radius: 12px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .ai-highlight-title {
      font-size: 15px;
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    .ai-highlight p {
      font-size: 12px;
      line-height: 1.6;
      color: var(--mid);
    }

    .ai-meta-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .ai-metrics-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .ai-metric-cell {
      background: #fff;
      border: 1px solid #ffd9cf;
      border-radius: 10px;
      padding: 12px;
      min-width: 0;
    }

    .ai-metric-label {
      font-size: 9px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 7px;
    }

    .ai-metric-main {
      font-size: 17px;
      font-weight: 900;
      letter-spacing: -0.02em;
      margin-bottom: 5px;
    }

    .ai-metric-delta {
      font-size: 10px;
      font-weight: 700;
      display: inline-flex;
      padding: 3px 7px;
      border-radius: 99px;
    }

    .ai-metric-delta.up {
      color: var(--green);
      background: var(--green-l);
    }

    .ai-metric-delta.down {
      color: #dc2626;
      background: rgba(220, 38, 38, 0.1);
    }

    .ai-columns {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .ai-list-block {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px;
    }

    .ai-list-title {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 10px;
    }

    .ai-list-block ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .ai-list-block li {
      font-size: 11px;
      line-height: 1.45;
      color: var(--mid);
      padding-left: 12px;
      position: relative;
    }

    .ai-list-block li::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
      position: absolute;
      left: 0;
      top: 7px;
    }

    /* Rank */
    .rank-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
    }

    .rank-item:last-child {
      border-bottom: none;
    }

    .rank-num {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 900;
      flex-shrink: 0;
    }

    .rank-info {
      flex: 1;
      min-width: 0;
    }

    .rank-name {
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rank-sub {
      font-size: 10px;
      color: var(--muted);
      margin-top: 2px;
    }

    .rank-val {
      font-size: 15px;
      font-weight: 900;
      flex-shrink: 0;
    }

    /* Chart */
    .chart-area {
      position: relative;
    }

    svg.chart {
      width: 100%;
      overflow: visible;
    }

    .tooltip {
      position: absolute;
      background: var(--dark);
      color: #fff;
      border-radius: 8px;
      padding: 7px 12px;
      font-size: 10px;
      font-weight: 600;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.15s;
      white-space: nowrap;
      z-index: 50;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    }

    /* Active filter strip */
    .filter-strip {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      flex-wrap: wrap;
    }

    .filter-strip-label {
      font-size: 9px;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      flex-shrink: 0;
    }

    .filter-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 10px;
      font-weight: 700;
    }

    .filter-tag.t-plat {
      background: var(--green-l);
      color: var(--green);
    }

    .filter-tag.t-camp {
      background: var(--blue-l);
      color: var(--blue);
    }

    .filter-tag.t-tipo {
      background: var(--purple-l);
      color: var(--purple);
    }

    .filter-tag.t-dia {
      background: var(--accent-l);
      color: var(--accent);
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(10px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .screen.active>* {
      animation: fadeUp 0.3s ease both;
    }

    .screen.active>*:nth-child(2) {
      animation-delay: .05s
    }

    .screen.active>*:nth-child(3) {
      animation-delay: .1s
    }

    .screen.active>*:nth-child(4) {
      animation-delay: .15s
    }

    .screen.active>*:nth-child(5) {
      animation-delay: .2s
    }

    .screen.active>*:nth-child(6) {
      animation-delay: .25s
    }

@media (max-width: 1080px) {
  .ai-metrics-grid {
    grid-template-columns: 1fr;
  }

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

  .sum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .content {
    padding: 20px 16px;
    gap: 24px;
  }

  .screen.active {
    gap: 24px;
  }

  .grid2,
  .grid3,
  .grid4 {
    grid-template-columns: 1fr;
  }

  .card-head {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .card-body {
    padding: 18px 16px;
  }

  .hero {
    align-items: flex-start;
  }

  .ai-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ai-mode-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .ai-mode-btn {
    flex: 1;
    text-align: center;
  }

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

  .sum-cell {
    padding: 16px;
  }
}
/* Login Overlay */
#login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 127, 0, 0.2), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(255, 127, 0, 0.12), transparent 44%),
    #050505;
  align-items: center;
  justify-content: center;
  display: flex;
  padding: 22px;
}

.login-layout {
  width: 100%;
  max-width: 980px;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48);
}

.login-brand {
  position: relative;
  padding: 48px;
  background:
    linear-gradient(135deg, #0f0f0f 0%, #111 30%, #181818 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}

.login-brand-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 127, 0, 0.4) 0%, rgba(255, 127, 0, 0) 72%);
  top: -80px;
  right: -70px;
  pointer-events: none;
}

.login-brand-logo {
  width: min(100%, 300px);
  display: block;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
}

.login-brand-copy h1 {
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.login-brand-copy p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.login-box {
  background: #ffffff;
  padding: 52px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-box h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #111;
}

.login-sub {
  margin: 0 0 24px;
  font-size: 13px;
  color: #666;
}

.login-box input {
  padding: 12px 14px;
  border: 1px solid #dadad6;
  border-radius: 10px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: #fafaf8;
}

.login-box input:focus {
  border-color: #ff7f00;
  box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.13);
  background: #fff;
}

.login-box button {
  margin-top: 6px;
  background: linear-gradient(90deg, #ff7f00, #ff9d29);
  color: #111;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (max-width: 980px) {
  .launcher-desktop {
    flex-direction: column;
  }

  .launcher-sidebar {
    width: 100%;
    flex-basis: auto;
    border-right: 0;
    border-bottom: 2px solid #767c7d;
  }

  .launcher-workspace {
    padding: 28px 22px 30px;
  }

  .launcher-window {
    min-height: 520px;
  }

  .launcher-icons {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
  }

  .launcher-desktop-icons {
    display: none;
  }
}

@media (max-width: 720px) {
  .launcher-menubar {
    height: auto;
    padding: 10px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .launcher-menubar-left,
  .launcher-menubar-right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .launcher-icons {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
    gap: 18px 12px;
    padding: 22px 16px 14px;
  }

  .launcher-workspace {
    padding: 16px;
  }

  .launcher-window {
    min-height: 0;
  }

  .launcher-window-title {
    padding: 0 8px;
  }

  .login-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .login-brand {
    min-height: 220px;
    padding: 30px;
  }

  .login-box {
    padding: 34px 24px;
  }
}

.login-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 127, 0, 0.36);
}

#login-error {
  color: #b91c1c;
  font-size: 12px;
  margin-top: 12px;
  text-align: left;
  display: none;
}

body[data-skin="modern"] {
  --bg: #f4f7fb;
  --white: #ffffff;
  --dark: #172033;
  --mid: #41506a;
  --muted: #75819a;
  --border: #dbe4f0;
  --accent: #2563eb;
  --accent-l: rgba(37, 99, 235, 0.12);
  --green: #16a34a;
  --green-l: rgba(22, 163, 74, 0.12);
  --blue: #2563eb;
  --blue-l: rgba(37, 99, 235, 0.12);
  --ig: #d946ef;
  --ig-l: rgba(217, 70, 239, 0.1);
  --yellow: #ea580c;
  --yellow-l: rgba(234, 88, 12, 0.12);
  --purple: #7c3aed;
  --purple-l: rgba(124, 58, 237, 0.12);
}

body[data-skin="modern"] .launcher-shell {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

body[data-skin="modern"] .launcher-menubar,
body[data-skin="modern"] .launcher-sidebar,
body[data-skin="modern"] .launcher-window,
body[data-skin="modern"] .launcher-dialog {
  border-color: #d6e0ec;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.12);
}

body[data-skin="modern"] .launcher-menubar {
  height: 56px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(24px);
  border-bottom-width: 1px;
}

body[data-skin="modern"] .launcher-menu-link,
body[data-skin="modern"] .launcher-clock,
body[data-skin="modern"] .launcher-drive h2,
body[data-skin="modern"] .launcher-drive p {
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body[data-skin="modern"] .launcher-menu-link {
  padding: 8px 14px;
  border-radius: 999px;
}

body[data-skin="modern"] .launcher-menu-link.is-active,
body[data-skin="modern"] .launcher-menu-link:hover,
body[data-skin="modern"] .launcher-dropdown-item:hover,
body[data-skin="modern"] .launcher-sidebar-item.is-active,
body[data-skin="modern"] .launcher-sidebar-item:hover {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
}

body[data-skin="modern"] .launcher-dropdown {
  border-width: 1px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 40px rgba(23, 32, 51, 0.18);
}

body[data-skin="modern"] .launcher-sidebar {
  width: 228px;
  flex-basis: 228px;
  margin: 18px 0 18px 18px;
  border-width: 1px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px);
}

body[data-skin="modern"] .launcher-drive,
body[data-skin="modern"] .launcher-window-bar,
body[data-skin="modern"] .launcher-window-footer {
  border-color: #d6e0ec;
}

body[data-skin="modern"] .launcher-drive-badge,
body[data-skin="modern"] .launcher-window-box,
body[data-skin="modern"] .launcher-window-actions span {
  border-width: 1px;
  border-color: #d6e0ec;
  border-radius: 10px;
}

body[data-skin="modern"] .launcher-workspace {
  padding: 84px 78px 40px 34px;
}

body[data-skin="modern"] .launcher-window {
  border-width: 1px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
}

body[data-skin="modern"] .launcher-window-bar {
  height: 56px;
  background: rgba(248, 251, 255, 0.92);
}

body[data-skin="modern"] .launcher-window-title {
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

body[data-skin="modern"] .launcher-window-lines {
  background: linear-gradient(90deg, transparent, rgba(117, 129, 154, 0.18), transparent);
}

body[data-skin="modern"] .launcher-icon-art,
body[data-skin="modern"] .launcher-desktop-item span,
body[data-skin="modern"] .launcher-note,
body[data-skin="modern"] .topbar-company-switch,
body[data-skin="modern"] .skin-switch {
  border-color: #d6e0ec;
}

body[data-skin="modern"] .launcher-icon-art,
body[data-skin="modern"] .launcher-note {
  border-width: 1px;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(23, 32, 51, 0.08);
}

body[data-skin="modern"] .launcher-icon:hover .launcher-icon-art {
  transform: translateY(-2px);
}

body[data-skin="modern"] .shell {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

body[data-skin="modern"] .sidebar {
  background: linear-gradient(180deg, #16233d 0%, #1f3154 100%);
  box-shadow: 18px 0 40px rgba(15, 23, 42, 0.12);
}

body[data-skin="modern"] .filter-box {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

body[data-skin="modern"] .topbar {
  height: 72px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px);
  border-bottom-color: #dbe4f0;
}

body[data-skin="modern"] .topbar-company-switch,
body[data-skin="modern"] .skin-switch,
body[data-skin="modern"] .topbar-btn,
body[data-skin="modern"] .chip,
body[data-skin="modern"] .card,
body[data-skin="modern"] .empty-box,
body[data-skin="modern"] .error-box {
  border-radius: 18px;
}

body[data-skin="modern"] .topbar-btn,
body[data-skin="modern"] .topbar-company-switch,
body[data-skin="modern"] .skin-switch,
body[data-skin="modern"] .card,
body[data-skin="modern"] .empty-box {
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

body[data-skin="modern"] .card-head {
  background: rgba(248, 251, 255, 0.78);
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .login-brand {
    padding: 28px;
    min-height: 220px;
  }

  .login-brand-logo {
    width: min(100%, 240px);
  }

  .login-box {
    padding: 30px 24px;
  }
}
