/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
      -o-tab-size: 4;
         tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::-moz-placeholder {
    opacity: 1;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::-moz-placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    -webkit-appearance: button;
       -moz-appearance: button;
            appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .mt-24 {
    margin-top: calc(var(--spacing) * 24);
  }
  .grid {
    display: grid;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
@layer base {
  :root {
    --bg: #050811;
    --panel: #151824;
    --brand: #3a7fd5;
    --brand-light: #22304a;
    --brand-gradient-start: #3a7fd5;
    --brand-gradient-end: #9a4eff;
    --header-start: #3a7fd5;
    --header-mid: #0e2241;
    --header-end: #122b56;
    --header-border: #1e293b;
    --text: #e5ebff;
    --muted: #8e96af;
    --ok: #2fbf71;
    --warn: #f0b429;
    --danger: #e55353;
    --ring: rgba(70, 128, 220, 0.45);
    --pill: #1f2433;
    --border: #262c3b;
    --border-strong: #343b4d;
    --surface-soft: #151a26;
    --surface-hover: #1b2130;
    --radius: 14px;
    --control-h: 40px;
    --elev-1: 0 6px 18px rgba(0, 0, 0, 0.55);
    --elev-2: 0 10px 28px rgba(0, 0, 0, 0.65);
    --elev-3: 0 18px 60px rgba(0, 0, 0, 0.8);
  }
  * {
    box-sizing: border-box;
  }
  html,
  body {
    height: 100%;
  }
  body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
      Noto Sans, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(
        1100px 600px at 10% -10%,
        rgba(72, 94, 180, 0.35) 0%,
        transparent 50%
      ),
      radial-gradient(
        900px 500px at 90% 110%,
        rgba(104, 70, 170, 0.32) 0%,
        transparent 55%
      ),
      var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  h1,
  h2,
  h3 {
    letter-spacing: 0.2px;
    color: var(--text);
  }
  a {
    color: var(--brand);
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
}
@layer components {
  .app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding: 8px 10px;
    width: 100%;
  }
  .app-shell.is-nested {
    min-height: auto;
    flex: 0 0 auto;
  }
  .app-shell > .header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 26px;
    padding: 10px 14px;
    border-radius: 0 0 18px 18px;
    background: radial-gradient(900px 420px at 0% -40%, rgba(34, 211, 238, 0.18) 0%, transparent 55%),
      radial-gradient(900px 420px at 100% 140%, rgba(168, 85, 247, 0.16) 0%, transparent 60%),
      linear-gradient(135deg, rgba(5, 8, 17, 0.92) 0%, rgba(14, 34, 65, 0.90) 55%, rgba(5, 8, 17, 0.92) 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.70),
      0 0 0 1px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
  }
  .app-shell > .header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background: repeating-linear-gradient(
        to right,
        rgba(255,255,255,0.10) 0px,
        rgba(255,255,255,0.10) 1px,
        transparent 1px,
        transparent 28px
      ),
      repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.08) 0px,
        rgba(255,255,255,0.08) 1px,
        transparent 1px,
        transparent 22px
      ),
      linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.10) 45%, transparent 60%);
    mix-blend-mode: overlay;
  }
  .app-shell > .header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.10;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.10) 0px,
      rgba(255,255,255,0.10) 1px,
      transparent 1px,
      transparent 7px
    );
  }
  .app-shell > .header .title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.3px;
  }
  .app-shell > .header .subtitle {
    font-size: 0.95rem;
    opacity: 0.8;
  }
  .app-shell > .header .icon-btn {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  }
  .app-shell > .header .icon-btn:hover {
    background: rgba(30, 64, 175, 0.95);
    border-color: rgba(191, 219, 254, 0.9);
  }
  .panel > .header {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 0 8px 0;
    background: transparent;
    color: var(--text);
    box-shadow: none;
    border-radius: 0;
  }
  .panel > .header .title {
    font-size: 1.15rem;
    font-weight: 800;
  }
  .panel > .header .subtitle {
    color: var(--muted);
  }
  .header-left {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 7px 10px;
    border-radius: 14px;
    background: rgba(5, 8, 17, 0.58);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  }
  .header-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }
  .brand-wordmark {
    height: 32px;
    width: auto;
    display: block;
    margin-left: 0;
  }
  .shell-left {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 14px;
    flex: 1;
    min-height: 0;
  }
  @media (max-width: 900px) {
    .shell-left {
      grid-template-columns: 1fr;
    }
  }
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  @media (max-width: 768px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }
  .grid-landing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
  }
  .panel {
    background: var(--panel);
    border-radius: var(--radius);
    box-shadow: var(--elev-1);
    padding: 14px;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s ease, border-color 0.2s ease,
      background 0.2s ease;
    width: 100%;
    min-width: 0;
  }
  .panel:hover {
    box-shadow: var(--elev-2);
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 60%, var(--brand) 40%);
    }
  }
  .panel h2 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
  }
  .card {
    display: block;
    color: inherit;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    transition: all 0.15s ease;
  }
  .card:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 40%, var(--brand) 60%);
    }
  }
  .nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s,
      transform 0.06s;
  }
  .nav-item:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 45%, var(--brand) 55%);
    }
    transform: translateY(-1px);
  }
  .nav-item.active {
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 25%, var(--brand) 75%);
    }
    box-shadow: 0 0 0 3px var(--ring);
    background: var(--surface-soft);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(
      in oklab,
      var(--surface-soft) 60%,
      var(--brand-light) 40%
    );
    }
  }
  .input {
    width: 100%;
    height: var(--control-h);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: #060814;
    color: var(--text);
    outline: none;
    font-size: 14px;
    transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
  }
  .input::-moz-placeholder {
    color: #6d7590;
  }
  .input::placeholder {
    color: #6d7590;
  }
  .input:focus {
    box-shadow: 0 0 0 4px var(--ring);
    border-color: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--brand) 80%, white 5%);
    }
    background: #070a18;
  }
  .btn {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    height: var(--control-h);
    padding: 0 14px;
    border: 1px solid #3b4764;
    background: #1b2030;
    color: #d7e1ff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.06s ease, box-shadow 0.15s ease,
      background 0.15s ease, border-color 0.15s ease;
  }
  .btn:hover {
    box-shadow: var(--elev-1);
    background: #23293a;
  }
  .btn:active {
    transform: translateY(1px);
  }
  .btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--ring);
  }
  .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  .btn.primary {
    background: linear-gradient(
      145deg,
      var(--brand),
      var(--brand)
    );
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(
      145deg,
      color-mix(in oklab, var(--brand) 80%, white 5%),
      color-mix(in oklab, var(--brand) 80%, black 10%)
    );
    }
    color: #f8fbff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(42, 110, 203, 0.55);
    cursor: pointer;
  }
  .btn.primary:hover {
    background: linear-gradient(
      145deg,
      var(--brand),
      var(--brand)
    );
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(
      145deg,
      color-mix(in oklab, var(--brand) 90%, black 5%),
      color-mix(in oklab, var(--brand) 85%, black 10%)
    );
    }
    box-shadow: 0 8px 24px rgba(42, 110, 203, 0.75);
    cursor: pointer;
  }
  .btn.ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: #c8d2f0;
  }
  .btn.ghost:hover {
    background: #161b29;
    border-color: var(--border-strong);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border-strong) 50%, var(--brand) 50%);
    }
  }
  .btn.danger {
    background: #2c1114;
    border-color: #702731;
    color: #ffb7c0;
  }
  .btn.danger:hover {
    background: #3a151a;
    border-color: #a53340;
  }
  .pill-btn {
    border-radius: 999px;
    padding-inline: 16px;
    font-size: 13px;
  }
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 4px 8px;
    background: var(--pill);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text);
  }
  .pill.link {
    cursor: pointer;
  }
  .pill.link:hover {
    border-color: var(--border-strong);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border-strong) 40%, var(--brand) 60%);
    }
    background: #232a3a;
  }
  .pill.ok {
    background: #173424;
    border-color: #217547;
    color: #9af2c4;
  }
  .pill.warn {
    background: #3f3212;
    border-color: #8c6613;
    color: #ffe1a0;
  }
  .pill.danger {
    background: #3e171b;
    border-color: #a53340;
    color: #ffb4c0;
  }
  .badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: #1d2333;
    color: #c9d4f4;
  }
  .badge.ok {
    background: var(--ok);
    color: white;
    border-color: transparent;
  }
  .badge.danger {
    background: var(--danger);
    color: white;
    border-color: transparent;
  }
  .badge.info {
    background: var(--brand);
    color: white;
    border-color: transparent;
  }
  .prov-chip {
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
  }
  .stat-pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #b9c7ff;
    background: rgba(35, 54, 110, 0.7);
    border: 1px solid rgba(124, 162, 255, 0.5);
  }
  .prov-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(12, 178, 255, 0.12);
    border: 1px solid rgba(101, 204, 255, 0.6);
    color: #d4f3ff;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 260px);
    overflow: auto;
    padding-right: 4px;
  }
  .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    transition: background 0.15s, border-color 0.15s, transform 0.06s;
    cursor: pointer;
  }
  .item:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 40%, var(--brand) 60%);
    }
    transform: translateY(-1px);
  }
  .item .label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #ecf0ff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .item .meta {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
  }
  .users-table-wrapper {
    overflow-x: auto;
    width: 100%;
  }
  .users-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: auto;
    min-width: 0;
  }
  .users-table td {
    background: #151a26;
    border: 1px solid var(--border);
    padding: 12px 14px;
    border-left: none;
    border-right: none;
    box-shadow: var(--elev-1);
    vertical-align: middle;
    font-size: 14.5px;
  }
  .users-table tr td:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
    border-left: 1px solid var(--border);
  }
  .users-table tr td:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
    border-right: 1px solid var(--border);
  }
  .users-table th:last-child,
  .users-table td:last-child {
    white-space: nowrap;
    width: auto;
    min-width: 0;
  }
  .users-table tbody tr.user-row td {
    transition: background 120ms ease-out,
      border-color 120ms ease-out,
      box-shadow 120ms ease-out;
  }
  .users-table tbody tr.user-row:hover td {
    background: var(--surface-hover);
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 40%, var(--brand) 60%);
    }
    box-shadow: var(--elev-2);
    cursor: pointer;
  }
  .table-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
  }
  @media (max-width: 768px) {
    .users-table th:last-child,
    .users-table td:last-child {
      white-space: normal;
    }
    .table-actions {
      flex-wrap: wrap;
      justify-content: flex-start;
    }
  }
  .tabs {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: #111521;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    width: -moz-max-content;
    width: max-content;
  }
  .tab {
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    color: #cdd5f8;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
  }
  .tab:hover {
    background: #171c2c;
  }
  .tab.active {
    background: #222840;
    border-color: var(--border-strong);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border-strong) 40%, var(--brand) 60%);
    }
    box-shadow: var(--elev-1);
  }
  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
  }
  .admin-stats {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .notice-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    background: #151b29;
    box-shadow: var(--elev-1);
  }
  .notice-bar.success {
    background: #10251a;
    border-color: #217547;
  }
  .notice-bar.error {
    background: #2f1417;
    border-color: #a53340;
  }
  .notice-bar.info {
    background: #101d32;
    border-color: #365899;
  }
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 10, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 40;
  }
  .modal {
    width: 560px;
    max-width: 96vw;
    background: #151926;
    border-radius: 16px;
    box-shadow: var(--elev-3);
    border: 1px solid var(--border-strong);
    padding: 18px;
  }
  .modal h3 {
    margin: 0 0 8px;
    font-weight: 800;
    color: var(--text);
  }
  .modal .muted {
    color: var(--muted);
    font-size: 13.5px;
  }
  .empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px;
    border: 1px dashed var(--border-strong);
    border-radius: 16px;
    background: #111620;
    color: #c3cae8;
    text-align: center;
  }
  .toast {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 500;
    color: white;
    background: rgba(229, 83, 83, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    animation: fadein 0.25s ease, fadeout 0.25s ease 3.2s forwards;
  }
  .toast.info {
    background: rgba(40, 100, 220, 0.96);
  }
  .toast.success {
    background: rgba(39, 171, 109, 0.96);
  }
  .icon-btn {
    display: grid;
    place-items: center;
    height: 38px;
    width: 38px;
    margin-left: 0;
    border-radius: 10px;
    background: rgba(7, 10, 20, 0.7);
    border: 1px solid rgba(210, 225, 255, 0.3);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  }
  .icon-btn svg {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35));
  }
  .icon-btn:hover {
    transform: translateY(-1px) scale(1.05);
    background: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--brand) 70%, black 30%);
    }
    border-color: var(--brand);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--brand) 80%, white 15%);
    }
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.7);
  }
  .icon-btn.logout:hover {
    background: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--danger) 70%, black 30%);
    }
    border-color: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--danger) 70%, white 15%);
    }
  }
  .icon-btn:active {
    transform: scale(0.97);
  }
  .icon-folder::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
    background: url('data:image/svg+xml;utf8,<svg fill="%23cfd6ff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 4l2 2h8c1.1 0 2 .9 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h6z"/></svg>')
      no-repeat center / contain;
  }
  .app-icon.ext::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23c9d5ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>')
      no-repeat center / contain;
  }
  .auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: radial-gradient(
        circle at 10% 0%,
        rgba(56, 128, 187, 0.45) 0%,
        transparent 45%
      ),
      radial-gradient(
        circle at 90% 100%,
        rgba(154, 78, 255, 0.4) 0%,
        transparent 55%
      ),
      #050811;
    background-attachment: fixed;
  }
  .auth-card {
    background: rgba(16, 20, 32, 0.96);
    padding: 36px 44px;
    border-radius: 20px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    border: 1px solid rgba(150, 170, 230, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
  }
  .auth-title {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
    color: #f4f6ff;
    font-weight: 600;
    text-align: center;
  }
  .auth-subtitle {
    color: #9ca5c5;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
  .auth-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
  }
  .auth-input {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.6);
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    color: #e5ebff;
    outline: none;
  }
  .auth-input::-moz-placeholder {
    color: rgba(148, 163, 184, 0.8);
  }
  .auth-input::placeholder {
    color: rgba(148, 163, 184, 0.8);
  }
  .auth-input:focus {
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.6);
  }
  .auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f9fbff;
    background: radial-gradient(
        circle at 0% 0%,
        rgba(255, 255, 255, 0.18) 0%,
        transparent 45%
      ),
      linear-gradient(
        135deg,
        color-mix(in oklab, var(--brand) 90%, white 4%),
        color-mix(in oklab, var(--brand-gradient-end) 88%, black 6%)
      );
    background-size: 220% 220%;
    background-position: 0% 50%;
    animation: auth-btn-run 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 22px rgba(42, 110, 203, 0.35),
      0 0 0 1px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease,
      box-shadow 0.18s ease;
  }
  .auth-btn::after {
    content: "➜";
    font-size: 0.95rem;
    opacity: 0.9;
  }
  .auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(42, 110, 203, 0.55),
      0 0 0 1px rgba(0, 0, 0, 0.35);
  }
  .auth-btn:active {
    transform: translateY(0);
  }
  .auth-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--ring),
      0 10px 26px rgba(42, 110, 203, 0.6);
  }
  .auth-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: 0 6px 16px rgba(42, 110, 203, 0.3),
      0 0 0 1px rgba(0, 0, 0, 0.25);
  }
  .auth-btn:disabled::after {
    opacity: 0.65;
  }
  .auth-realms {
    margin-top: 1.4rem;
  }
  .auth-realms-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
  }
  .auth-realms-subtitle {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 0.75rem;
  }
  .auth-realms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .auth-realm-pill {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.7);
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    cursor: pointer;
    color: #e5ebff;
  }
  .auth-realm-pill:hover {
    border-color: rgba(96, 165, 250, 0.9);
    background: rgba(15, 23, 42, 0.9);
  }
  .home-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: radial-gradient(
        circle at 0% 0%,
        rgba(70, 120, 230, 0.28) 0%,
        transparent 45%
      ),
      #151824;
  }
  .home-hero .hero-left {
    flex: 1;
  }
  .home-hero .hero-right {
    display: flex;
    gap: 8px;
  }
  .hero-eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.38px;
    margin-bottom: 4px;
  }
  .hero-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
  }
  .hero-sub {
    font-size: 14px;
    color: var(--muted);
    margin-top: 2px;
  }
  .app-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 6px;
  }
  .app-provider-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    align-items: stretch;
  }
  .provider-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex: 0 0 calc((100% - (5 * 6px)) / 6);
  }
  .app-provider-card {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
    border-radius: 16px;
    background: radial-gradient(
      circle at top left,
      #1d2840 0%,
      #0b1018 52%,
      #070b11 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75),
      0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: transform 0.12s ease, box-shadow 0.15s ease,
      border-color 0.15s ease;
    cursor: pointer;
    overflow: hidden;
  }
  .app-provider-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0;
    background: radial-gradient(
      circle at 10% 0%,
      rgba(61, 124, 255, 0.42),
      transparent 60%
    );
    filter: blur(18px);
    transition: opacity 0.18s ease;
    pointer-events: none;
  }
  .app-provider-card:hover {
    transform: translateY(-2px);
    border-color: rgba(82, 145, 255, 0.6);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.85),
      0 0 0 1px rgba(130, 180, 255, 0.25);
  }
  .app-provider-card:hover::before {
    opacity: 1;
  }
  .app-provider-card.admin {
    background: radial-gradient(
      circle at top left,
      #3f2a7a 0%,
      #130b23 55%,
      #070713 100%
    );
    border-color: rgba(173, 118, 255, 0.45);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8),
      0 0 0 1px rgba(173, 118, 255, 0.18);
  }
  .app-provider-card.admin::before {
    background: radial-gradient(
      circle at 15% 0%,
      rgba(204, 140, 255, 0.5),
      transparent 62%
    );
  }
  .prov-top {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .prov-text {
    flex: 1;
    min-width: 0;
  }
  .prov-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.22px;
    color: #f5f8ff;
  }
  .prov-sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .app-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.08s ease, box-shadow 0.15s ease,
      border-color 0.15s ease, background 0.15s ease;
    background: #141926;
    border: 1px solid var(--border);
  }
  .app-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--elev-2);
    border-color: var(--border);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--border) 35%, var(--brand) 65%);
    }
    background: #181f33;
  }
  .app-head {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .app-title {
    font-weight: 800;
    font-size: 16px;
  }
  .app-desc {
    color: var(--muted);
    font-size: 14px;
  }
  .app-actions {
    display: flex;
    gap: 8px;
    margin-top: 2px;
  }
  .prov-main {
    flex: 1;
    min-width: 0;
  }
  .prov-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .prov-name {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .prov-desc {
    font-size: 13px;
    color: #9ca3af;
  }
  .prov-actions {
    display: flex;
    align-items: center;
  }
  .slate-logo {
    display: inline-block;
    height: 84px;
    width: 64px;
    border-radius: 12px;
    background-image: url("/static/logo.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.10),
      0 10px 24px rgba(0,0,0,0.55),
      0 0 18px rgba(34, 211, 238, 0.20);
  }
  .provider-logo {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease;
  }
  .provider-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
  }
  .provider-logo:hover {
    transform: scale(1.08);
  }
  .provider-logo.generic {
    background: radial-gradient(
      circle at 30% 30%,
      #2d5bff 0%,
      #1c2442 55%,
      #080b15 100%
    );
  }
  .provider-logo.generic::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 10h8M8 14h4'/%3E%3C/svg%3E");
  }
  .provider-logo.generic:hover {
    background: radial-gradient(
      circle at 30% 30%,
      #60a5fa 0%,
      #2d5bff 55%,
      #1c2442 100%
    );
  }
  .provider-logo.sp {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
  }
  .provider-logo.sp::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M26 6H6v20h20V6z' fill='white' opacity='0.9'/%3E%3Cpath d='M24 8H8v16h16V8z' fill='%230078d4'/%3E%3Cpath d='M18.5 21c-1.8 0-3.2-0.7-4-1.8l1.2-1.2c0.6 0.7 1.5 1.2 2.8 1.2 1.2 0 1.9-0.5 1.9-1.3 0-0.7-0.4-1-1.5-1.2l-1.4-0.2c-1.8-0.3-2.8-1.1-2.8-2.8 0-1.8 1.4-3 3.6-3 1.5 0 2.7 0.5 3.5 1.4l-1.1 1.1c-0.6-0.6-1.4-1-2.4-1-1.1 0-1.8 0.5-1.8 1.3 0 0.7 0.4 1 1.4 1.2l1.4 0.2c1.9 0.3 2.9 1.2 2.9 2.9 0 1.9-1.5 3.2-3.7 3.2z' fill='white'/%3E%3C/svg%3E");
    background-size: 76%;
  }
  .provider-logo.sp:hover {
    background: linear-gradient(135deg, #106ebe 0%, #0078d4 100%);
  }
  .provider-logo.admin {
    background: linear-gradient(135deg, #a855f7 0%, #4c1d95 100%);
  }
  .provider-logo.admin::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l6 2v4c0 3.3-2.4 6.4-6 7.5-3.6-1.1-6-4.2-6-7.5V6l6-2z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E");
    background-size: 72%;
  }
  .provider-logo.admin:hover {
    background: linear-gradient(135deg, #c084fc 0%, #7c3aed 100%);
  }
  .provider-logo-img {
    width: 70%;
    height: 70%;
    -o-object-fit: contain;
       object-fit: contain;
    display: block;
  }
  .ks-registry {
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 18px;
    background: radial-gradient(120% 180% at 0% 0%, rgba(59,130,246,0.12), transparent 55%),
                radial-gradient(120% 180% at 100% 100%, rgba(147,51,234,0.12), transparent 55%),
                var(--panel, #111726);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7),
      0 0 0 1px rgba(148,163,184,0.15);
  }
  .ks-registry__header {
    margin-bottom: 18px;
  }
  .ks-registry__header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text, #e5ebff);
  }
  .ks-registry__subtitle {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--muted, #9ca3c9);
  }
  .ks-registry__grid {
    display: grid;
    gap: 18px;
  }
  @media (min-width: 900px) {
    .ks-registry__grid {
      grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
      align-items: flex-start;
    }
  }
  .card-elevated {
    border-radius: 18px;
  }
  .ks-card {
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.98)
      );
    border: 1px solid rgba(148,163,184,0.25);
    box-shadow: 0 16px 40px rgba(15,23,42,0.8);
  }
  .ks-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text, #e5ebff);
    margin-bottom: 10px;
  }
  .ks-card__header {
    margin-bottom: 8px;
  }
  .ks-card__hint {
    font-size: 0.8rem;
    color: var(--muted, #9ca3c9);
  }
  .ks-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ks-form__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .ks-label span {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted, #9ca3c9);
    margin-bottom: 4px;
  }
  .ks-input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.35);
    background-color: rgba(15,23,42,0.95);
    color: var(--text, #e5ebff);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  }
  .ks-input::-moz-placeholder {
    color: rgba(148,163,184,0.6);
  }
  .ks-input::placeholder {
    color: rgba(148,163,184,0.6);
  }
  .ks-input:focus {
    border-color: var(--brand, #3a7fd5);
    box-shadow: 0 0 0 1px rgba(59,130,246,0.6);
    background-color: rgba(15,23,42,1);
  }
  .ks-form__actions {
    margin-top: 6px;
    display: flex;
    justify-content: flex-start;
  }
  .ks-form__submit {
    padding-inline: 16px;
  }
  .ks-table__wrap {
    margin-top: 6px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(30,64,175,0.6);
    background: radial-gradient(circle at top left, rgba(37,99,235,0.18), transparent 60%),
                rgba(15,23,42,0.96);
  }
  .ks-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
  }
  .ks-table thead {
    background: linear-gradient(90deg, rgba(59,130,246,0.19), rgba(76,29,149,0.2));
  }
  .ks-table th,
  .ks-table td {
    padding: 8px 10px;
    text-align: left;
  }
  .ks-table th {
    font-weight: 500;
    color: var(--muted, #a5b4fc);
    border-bottom: 1px solid rgba(30,64,175,0.55);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .ks-table tbody tr:nth-child(odd) {
    background-color: rgba(15,23,42,0.9);
  }
  .ks-table tbody tr:nth-child(even) {
    background-color: rgba(15,23,42,0.96);
  }
  .ks-table__realm {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: var(--text, #e5ebff);
  }
  .ks-table__client {
    color: var(--text, #e5ebff);
  }
  .ks-table__secret {
    text-transform: lowercase;
    color: var(--muted, #9ca3c9);
  }
  .ks-table__empty td {
    text-align: center;
    padding: 14px 10px;
    color: var(--muted, #9ca3c9);
    font-style: italic;
  }
  .section-title {
    margin: 14px 0 6px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.44px;
  }
  .view-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.2px;
  }
  .view-sub {
    font-size: 13.5px;
    letter-spacing: 0.15px;
    color: var(--muted);
  }
  .mt-24 {
    margin-top: 24px;
  }
  .center {
    text-align: center;
  }
  .ks-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 14px;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: radial-gradient(520px 180px at 0% 50%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 35%, transparent 70%),
      radial-gradient(520px 140px at 18% 0%, rgba(34, 211, 238, 0.10), transparent 62%),
      radial-gradient(720px 220px at 92% 40%, rgba(168, 85, 247, 0.16), transparent 60%),
      linear-gradient(135deg, rgba(5, 8, 17, 0.98) 0%, rgba(10, 18, 33, 0.96) 45%, rgba(14, 34, 65, 0.92) 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(0, 0, 0, 0.35);
    background-size: 220% 220%;
    background-position: 0% 50%;
    animation: ks-header-drift 14s ease-in-out infinite;
  }
  .ks-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .ks-brand::after {
    content: none !important;
    height: 26px;
    width: 1px;
    margin-left: 10px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255,255,255,0.14),
      transparent
    );
    opacity: 0.8;
  }
  .ks-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }
  .ks-logo {
    height: 84px;
    width: 64px;
    border-radius: 10px;
    background-image: url("/static/logo.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: none;
    border: none;
    background-color: transparent;
  }
  .ks-wordmark {
    height: 40px;
    width: auto;
    display: block;
    max-width: 72vw;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.55))
      drop-shadow(0 0 8px rgba(34, 211, 238, 0.22));
    background-size: 220% 220%;
    background-position: 0% 50%;
    animation: ks-header-drift 10s ease-in-out infinite;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadein {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeout {
    to {
      opacity: 0;
      transform: translateY(14px);
    }
  }
  @keyframes auth-btn-run {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  @keyframes ks-header-drift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  @media (max-width: 1200px) {
    .provider-link {
      flex-basis: calc((100% - (3 * 6px)) / 4);
    }
  }
  @media (max-width: 800px) {
    .provider-link {
      flex-basis: calc((100% - (2 * 6px)) / 3);
    }
  }
  @media (max-width: 520px) {
    .provider-link {
      flex-basis: calc((100% - (1 * 6px)) / 2);
    }
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
