/* ReatozDrive — design layer (Mars Green, same look as Govps).
 *
 * core.css provides the reset, grid, utilities, and components; this file
 * sets the palette through their --ui-* custom properties and adds the console
 * shell (rail, sidebar, topbar), widgets, and page components. No third-party
 * CSS framework is used.
 */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../vendor/figtree/figtree-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../vendor/figtree/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../vendor/jetbrains-mono/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../vendor/jetbrains-mono/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root,
[data-ui-theme="light"] {
  --gs-font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gs-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* dens-ui tokens */
  --gs-page: #e3e8e6;          /* outside the app frame */
  --gs-rail: #0f1716;          /* the icon rail column */
  --gs-ink: #0f1716;           /* foreground; ink buttons and the brand tile */
  --gs-ink-fg: #ffffff;
  --gs-panel: #f5f7f6;         /* the framed main panel ("surface") */
  --gs-surface: #ffffff;       /* cards, inputs, popovers */
  --gs-surface-muted: #f5f7f6;
  --gs-input: #cfd8d5;
  --gs-accent: #e3efeb;
  --gs-brand: #008c8d;
  --gs-highlight: #ff8a00;     /* orange: only for things that need attention */
  --gs-highlight-rgb: 255, 138, 0;
  --gs-highlight-fg: #1f1100;
  --gs-soft: #c0ebd7;
  --gs-soft-fg: #0a4a44;
  --gs-shadow-panel: 0 1px 2px rgb(15 23 22 / 0.04), 0 10px 28px -14px rgb(15 23 22 / 0.14);
  --gs-shadow-raised: 0 2px 6px rgb(15 23 22 / 0.06), 0 18px 40px -16px rgb(15 23 22 / 0.24);
  --gs-shadow-control: 0 1px 2px rgb(15 23 22 / 0.05);

  --gs-auth-glow-1: #d9ece6;
  --gs-auth-glow-2: #fbe9d4;
  --gs-auth-base: #edf0ef;
  --gs-hero-from: #0f1716;
  --gs-hero-via: #0d3b3a;
  --gs-hero-to: #00797a;
  --gs-chart-total: #0f1716;
  --gs-chart-errors: #ff8a00;
  --gs-table-head-bg: transparent;
  --gs-row-hover: #f5f7f6;
  --gs-mark-from: #008c8d;
  --gs-mark-to: #00797a;

  --ui-body-font-family: var(--gs-font-sans);
  --ui-body-font-size: 0.875rem;
  --ui-body-line-height: 1.55;
  --ui-body-bg: #edf0ef;
  --ui-body-color: #0f1716;
  --ui-body-color-rgb: 15, 23, 22;
  --ui-emphasis-color: #0f1716;
  --ui-emphasis-color-rgb: 15, 23, 22;
  --ui-secondary-color: #566361;
  --ui-secondary-color-rgb: 86, 99, 97;
  --ui-secondary-bg: #f5f7f6;
  --ui-secondary-bg-rgb: 245, 247, 246;
  --ui-tertiary-bg: #e6ebe9;
  --ui-tertiary-bg-rgb: 230, 235, 233;
  --ui-border-color: #dbe2df;
  --ui-border-color-translucent: rgba(15, 23, 22, 0.08);
  --ui-heading-color: #0f1716;

  --ui-link-color: #00797a;
  --ui-link-color-rgb: 0, 121, 122;
  --ui-link-hover-color: #005f60;
  --ui-link-hover-color-rgb: 0, 95, 96;

  --ui-primary: #00797a;
  --ui-primary-rgb: 0, 121, 122;
  --ui-primary-text-emphasis: #0a4a44;
  --ui-primary-bg-subtle: #e3efeb;
  --ui-primary-border-subtle: #c0ebd7;
  --ui-secondary: #566361;
  --ui-secondary-rgb: 86, 99, 97;
  --ui-secondary-text-emphasis: #36403f;
  --ui-secondary-bg-subtle: #e6ebe9;
  --ui-secondary-border-subtle: #dbe2df;
  --ui-success: #009267;
  --ui-success-rgb: 0, 146, 103;
  --ui-success-text-emphasis: #0a4a44;
  --ui-success-bg-subtle: #dcf3e8;
  --ui-success-border-subtle: #c0ebd7;
  --ui-info: #2d54bc;
  --ui-info-rgb: 45, 84, 188;
  --ui-info-text-emphasis: #0b3289;
  --ui-info-bg-subtle: #e7edfa;
  --ui-info-border-subtle: #cbd7f3;
  --ui-warning: #e07800;
  --ui-warning-rgb: 224, 120, 0;
  --ui-warning-text-emphasis: #8a4600;
  --ui-warning-bg-subtle: #fff1e0;
  --ui-warning-border-subtle: #ffd9a8;
  --ui-danger: #a42423;
  --ui-danger-rgb: 164, 36, 35;
  --ui-danger-text-emphasis: #8c1d1c;
  --ui-danger-bg-subtle: #fbeaea;
  --ui-danger-border-subtle: #f2c8c7;
  --ui-light: #f5f7f6;
  --ui-light-rgb: 245, 247, 246;
  --ui-dark: #0f1716;
  --ui-dark-rgb: 15, 23, 22;

  --ui-border-radius: 0.875rem;
  --ui-border-radius-sm: 0.625rem;
  --ui-border-radius-lg: 1.375rem;
  --ui-border-radius-xl: 1.75rem;
  --ui-box-shadow-sm: var(--gs-shadow-control);
  --ui-box-shadow: var(--gs-shadow-raised);
  --ui-focus-ring-color: rgba(0, 140, 141, 0.3);
  color-scheme: light;
}
[data-ui-theme="dark"] {
  --gs-page: #050505;
  --gs-rail: #1b1f1e;
  --gs-ink: #ecf2f0;
  --gs-ink-fg: #0c0b0b;
  --gs-panel: #121514;
  --gs-surface: #161918;
  --gs-surface-muted: #121514;
  --gs-input: #303736;
  --gs-accent: #1f2b29;
  --gs-highlight: #ff9a1f;
  --gs-highlight-rgb: 255, 154, 31;
  --gs-soft: #123f3a;
  --gs-soft-fg: #c0ebd7;
  --gs-shadow-panel: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -16px rgb(0 0 0 / 0.7);
  --gs-shadow-raised: 0 2px 6px rgb(0 0 0 / 0.5), 0 20px 44px -16px rgb(0 0 0 / 0.8);
  --gs-shadow-control: 0 1px 2px rgb(0 0 0 / 0.3);
  --gs-auth-glow-1: #0f2a27;
  --gs-auth-glow-2: #2a1a08;
  --gs-auth-base: #0c0b0b;
  --gs-chart-total: #ecf2f0;
  --gs-chart-errors: #ff9a1f;
  --gs-row-hover: #1b1f1e;

  --ui-body-bg: #0c0b0b;
  --ui-body-color: #ecf2f0;
  --ui-body-color-rgb: 236, 242, 240;
  --ui-emphasis-color: #ffffff;
  --ui-emphasis-color-rgb: 255, 255, 255;
  --ui-secondary-color: #9aa8a5;
  --ui-secondary-color-rgb: 154, 168, 165;
  --ui-secondary-bg: #1b1f1e;
  --ui-secondary-bg-rgb: 27, 31, 30;
  --ui-tertiary-bg: #1e2322;
  --ui-tertiary-bg-rgb: 30, 35, 34;
  --ui-border-color: #262c2b;
  --ui-border-color-translucent: rgba(255, 255, 255, 0.08);
  --ui-heading-color: #ecf2f0;

  --ui-link-color: #19a3a4;
  --ui-link-color-rgb: 25, 163, 164;
  --ui-link-hover-color: #4cc3c4;
  --ui-link-hover-color-rgb: 76, 195, 196;

  --ui-primary: #19a3a4;
  --ui-primary-rgb: 25, 163, 164;
  --ui-primary-text-emphasis: #c0ebd7;
  --ui-primary-bg-subtle: #1f2b29;
  --ui-primary-border-subtle: #123f3a;
  --ui-secondary: #9aa8a5;
  --ui-secondary-rgb: 154, 168, 165;
  --ui-secondary-text-emphasis: #c9d3d1;
  --ui-secondary-bg-subtle: #1e2322;
  --ui-secondary-border-subtle: #2c3332;
  --ui-success: #24ab7e;
  --ui-success-rgb: 36, 171, 126;
  --ui-success-text-emphasis: #c0ebd7;
  --ui-success-bg-subtle: #123f3a;
  --ui-success-border-subtle: #1a5249;
  --ui-info: #6f93ec;
  --ui-info-rgb: 111, 147, 236;
  --ui-info-text-emphasis: #bccdfa;
  --ui-info-bg-subtle: #141f40;
  --ui-info-border-subtle: #233463;
  --ui-warning: #ff9a1f;
  --ui-warning-rgb: 255, 154, 31;
  --ui-warning-text-emphasis: #ffc47d;
  --ui-warning-bg-subtle: #2b1d0b;
  --ui-warning-border-subtle: #4b3212;
  --ui-danger: #f74835;
  --ui-danger-rgb: 247, 72, 53;
  --ui-danger-text-emphasis: #ff9d91;
  --ui-danger-bg-subtle: #2c1311;
  --ui-danger-border-subtle: #4d211c;
  --ui-light: #1b1f1e;
  --ui-light-rgb: 27, 31, 30;
  --ui-dark: #ecf2f0;
  --ui-dark-rgb: 236, 242, 240;
  --ui-focus-ring-color: rgba(25, 163, 164, 0.35);
  color-scheme: dark;
}
:root,
html[data-sidebar-theme="mint"] {
  --gs-sidebar-bg: #f6f8f7;
  --gs-sidebar-solid: #f6f8f7;
  --gs-sidebar-text: rgba(15, 23, 22, 0.75);
  --gs-sidebar-text-strong: #0f1716;
  --gs-sidebar-muted: #566361;
  --gs-sidebar-label: #566361;
  --gs-sidebar-border: #dbe2df;
  --gs-sidebar-hover: rgba(255, 255, 255, 0.75);
  --gs-sidebar-active-bg: #ffffff;
  --gs-sidebar-active-shadow: 0 1px 2px rgb(15 23 22 / 0.06), 0 4px 12px -6px rgb(15 23 22 / 0.16);
  --gs-sidebar-mark-bg: #0f1716;
  --gs-sidebar-mark-fg: #ffffff;
  --gs-sidebar-card: #ffffff;
  --gs-sidebar-scroll: rgba(15, 23, 22, 0.18);
  --gs-sidebar-art-line: rgba(15, 23, 22, 0.07);
  --gs-sidebar-art-line-strong: rgba(0, 121, 122, 0.2);
  --gs-sidebar-art-dot: rgba(15, 23, 22, 0.08);
  --gs-sidebar-art-node: #00797a;
}
[data-ui-theme="dark"]:not([data-sidebar-theme]),
html[data-ui-theme="dark"][data-sidebar-theme="mint"] {
  --gs-sidebar-bg: #111413;
  --gs-sidebar-solid: #111413;
  --gs-sidebar-text: rgba(236, 242, 240, 0.72);
  --gs-sidebar-text-strong: #ecf2f0;
  --gs-sidebar-muted: #9aa8a5;
  --gs-sidebar-label: #9aa8a5;
  --gs-sidebar-border: #232928;
  --gs-sidebar-hover: rgba(28, 33, 32, 0.8);
  --gs-sidebar-active-bg: #1c2120;
  --gs-sidebar-active-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 12px -6px rgb(0 0 0 / 0.6);
  --gs-sidebar-mark-bg: #ecf2f0;
  --gs-sidebar-mark-fg: #0c0b0b;
  --gs-sidebar-card: #1c2120;
  --gs-sidebar-scroll: rgba(236, 242, 240, 0.18);
  --gs-sidebar-art-line: rgba(236, 242, 240, 0.06);
  --gs-sidebar-art-line-strong: rgba(25, 163, 164, 0.24);
  --gs-sidebar-art-dot: rgba(236, 242, 240, 0.07);
  --gs-sidebar-art-node: #19a3a4;
}
html[data-sidebar-theme="ink"],
html[data-sidebar-theme="teal"],
html[data-sidebar-theme="graphite"],
html[data-sidebar-theme="ruby"],
html[data-sidebar-theme="blue"] {
  --gs-sidebar-bg: #0f1716;
  --gs-sidebar-solid: #0f1716;
  --gs-sidebar-text: rgba(236, 242, 240, 0.66);
  --gs-sidebar-text-strong: #ecf2f0;
  --gs-sidebar-muted: #93a19e;
  --gs-sidebar-label: #7c8a87;
  --gs-sidebar-border: rgba(236, 242, 240, 0.1);
  --gs-sidebar-hover: rgba(236, 242, 240, 0.08);
  --gs-sidebar-active-bg: rgba(236, 242, 240, 0.14);
  --gs-sidebar-active-shadow: none;
  --gs-sidebar-mark-bg: #008c8d;
  --gs-sidebar-mark-fg: #ffffff;
  --gs-sidebar-card: rgba(236, 242, 240, 0.07);
  --gs-sidebar-scroll: rgba(236, 242, 240, 0.2);
  --gs-sidebar-art-line: rgba(236, 242, 240, 0.08);
  --gs-sidebar-art-line-strong: rgba(25, 163, 164, 0.35);
  --gs-sidebar-art-dot: rgba(236, 242, 240, 0.09);
  --gs-sidebar-art-node: #19a3a4;
}
html[data-sidebar-theme="teal"] {
  --gs-sidebar-bg: linear-gradient(170deg, #00797a 0%, #005556 60%, #003b3c 100%);
  --gs-sidebar-solid: #005556;
  --gs-sidebar-text: rgba(255, 255, 255, 0.74);
  --gs-sidebar-muted: #a8d8d4;
  --gs-sidebar-label: #8cc8c3;
  --gs-sidebar-border: rgba(255, 255, 255, 0.14);
  --gs-sidebar-hover: rgba(255, 255, 255, 0.1);
  --gs-sidebar-active-bg: rgba(255, 255, 255, 0.18);
  --gs-sidebar-mark-bg: #ffffff;
  --gs-sidebar-mark-fg: #00797a;
  --gs-sidebar-card: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-line: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-line-strong: rgba(192, 235, 215, 0.3);
  --gs-sidebar-art-dot: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-node: #c0ebd7;
}
html[data-sidebar-theme="graphite"] {
  --gs-sidebar-bg: #22282a;
  --gs-sidebar-solid: #22282a;
  --gs-sidebar-mark-bg: #ecf2f0;
  --gs-sidebar-mark-fg: #0f1716;
}
html[data-sidebar-theme="ruby"] {
  --gs-sidebar-bg: linear-gradient(170deg, #7a1c1f 0%, #561316 60%, #380b0d 100%);
  --gs-sidebar-solid: #561316;
  --gs-sidebar-text: rgba(255, 255, 255, 0.74);
  --gs-sidebar-muted: #e3b1b1;
  --gs-sidebar-label: #d39a9a;
  --gs-sidebar-border: rgba(255, 255, 255, 0.14);
  --gs-sidebar-hover: rgba(255, 255, 255, 0.1);
  --gs-sidebar-active-bg: rgba(255, 255, 255, 0.18);
  --gs-sidebar-mark-bg: #ffffff;
  --gs-sidebar-mark-fg: #7a1c1f;
  --gs-sidebar-card: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-line: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-line-strong: rgba(255, 196, 196, 0.3);
  --gs-sidebar-art-dot: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-node: #ffb4b4;
}
html[data-sidebar-theme="blue"] {
  --gs-sidebar-bg: linear-gradient(170deg, #1f4fa3 0%, #173a7c 60%, #0f2554 100%);
  --gs-sidebar-solid: #173a7c;
  --gs-sidebar-text: rgba(255, 255, 255, 0.76);
  --gs-sidebar-muted: #b3c6ee;
  --gs-sidebar-label: #9ab3e6;
  --gs-sidebar-border: rgba(255, 255, 255, 0.14);
  --gs-sidebar-hover: rgba(255, 255, 255, 0.1);
  --gs-sidebar-active-bg: rgba(255, 255, 255, 0.18);
  --gs-sidebar-mark-bg: #ffffff;
  --gs-sidebar-mark-fg: #1f4fa3;
  --gs-sidebar-card: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-line: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-line-strong: rgba(191, 212, 255, 0.32);
  --gs-sidebar-art-dot: rgba(255, 255, 255, 0.1);
  --gs-sidebar-art-node: #bfd4ff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ui-body-bg);
  color: var(--ui-body-color);
  font-family: var(--ui-body-font-family);
  font-size: var(--ui-body-font-size);
  line-height: var(--ui-body-line-height);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ui-heading-color);
}
h1,
h2 { font-size: 1.375rem; letter-spacing: -0.025em; }
h3 { font-size: 0.9375rem; letter-spacing: -0.01em; }
h4 { font-size: 0.9375rem; }
h5 { font-size: 0.875rem; }
p { margin-bottom: 0; }
a,
a:hover,
a:focus,
a:active { text-decoration: none; }
code,
kbd,
pre,
samp { font-family: var(--gs-font-mono); }
code { font-size: 0.75rem; background: var(--ui-tertiary-bg); padding: 1px 6px; border-radius: 6px; color: var(--ui-secondary-color); }
kbd {
  display: inline-flex;
  align-items: center;
  height: 1.25rem;
  padding: 0 0.375rem;
  border: 1px solid var(--ui-border-color);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--gs-surface);
  color: var(--ui-secondary-color);
  font-size: 0.6875rem;
  font-weight: 500;
  box-shadow: none;
}
pre { margin: 0; padding: 0.75rem 0.875rem; background: #0f1716; color: #d5e2df; border-radius: 12px; font-size: 0.75rem; overflow-x: auto; }
[hidden] { display: none !important; }
.font-monospace { font-family: var(--gs-font-mono) !important; }
svg[viewBox] {
  width: 1.0625rem;
  height: 1.0625rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.swal2-icon svg { width: auto; height: auto; }
.btn {
  --ui-btn-font-size: 0.8125rem;
  --ui-btn-font-weight: 600;
  --ui-btn-padding-y: 0.5rem;
  --ui-btn-padding-x: 1.1rem;
  --ui-btn-border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm {
  --ui-btn-font-size: 0.78rem;
  --ui-btn-padding-y: 0.32rem;
  --ui-btn-padding-x: 0.85rem;
  --ui-btn-border-radius: 999px;
}
.btn-lg {
  --ui-btn-font-size: 0.9375rem;
  --ui-btn-padding-y: 0.7rem;
  --ui-btn-padding-x: 1.6rem;
  --ui-btn-border-radius: 999px;
}
.btn-primary {
  --ui-btn-bg: var(--ui-primary);
  --ui-btn-border-color: var(--ui-primary);
  --ui-btn-hover-bg: color-mix(in srgb, var(--ui-primary) 88%, #000);
  --ui-btn-hover-border-color: color-mix(in srgb, var(--ui-primary) 88%, #000);
  --ui-btn-active-bg: color-mix(in srgb, var(--ui-primary) 80%, #000);
  --ui-btn-active-border-color: color-mix(in srgb, var(--ui-primary) 80%, #000);
  --ui-btn-disabled-bg: var(--ui-primary);
  --ui-btn-disabled-border-color: var(--ui-primary);
  --ui-btn-color: #ffffff;
  --ui-btn-hover-color: #ffffff;
  --ui-btn-active-color: #ffffff;
  --ui-btn-disabled-color: #ffffff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 1px 2px rgb(0 0 0 / 0.12);
}
[data-ui-theme="dark"] .btn-primary {
  --ui-btn-color: #031414; --ui-btn-hover-color: #031414; --ui-btn-active-color: #031414; --ui-btn-disabled-color: #031414;
}
.btn-outline-secondary,
.btn-light {
  --ui-btn-color: var(--ui-body-color);
  --ui-btn-bg: var(--gs-surface);
  --ui-btn-border-color: var(--gs-input);
  --ui-btn-hover-bg: var(--gs-accent);
  --ui-btn-hover-color: var(--ui-body-color);
  --ui-btn-hover-border-color: var(--gs-input);
  --ui-btn-active-bg: var(--gs-accent);
  --ui-btn-active-color: var(--ui-body-color);
  --ui-btn-active-border-color: var(--gs-input);
  box-shadow: var(--gs-shadow-control);
}
.btn-outline-danger {
  --ui-btn-color: var(--ui-danger);
  --ui-btn-bg: var(--gs-surface);
  --ui-btn-border-color: var(--ui-danger-border-subtle);
  --ui-btn-hover-bg: var(--ui-danger-bg-subtle);
  --ui-btn-hover-color: var(--ui-danger-text-emphasis);
  --ui-btn-hover-border-color: var(--ui-danger-border-subtle);
  --ui-btn-active-bg: var(--ui-danger-bg-subtle);
  --ui-btn-active-color: var(--ui-danger-text-emphasis);
  --ui-btn-active-border-color: var(--ui-danger-border-subtle);
}
.btn-link {
  --ui-btn-color: var(--ui-link-color);
  --ui-btn-hover-color: var(--ui-link-hover-color);
  --ui-btn-font-weight: 600;
  text-decoration: none;
}
.btn-link:hover,
.btn-link:focus,
.btn-link:active { text-decoration: none; }
.btn svg { width: 0.9375rem; height: 0.9375rem; }
.form-control,
.form-select {
  font-size: 0.875rem;
  background-color: var(--gs-surface);
  border-color: var(--gs-input);
  border-radius: 0.75rem;
  box-shadow: var(--gs-shadow-control);
}
.form-control { padding: 0.5rem 0.85rem; }
.form-control-sm,
.form-select-sm { border-radius: 0.625rem; }
.form-control:disabled,
.form-select:disabled { background-color: var(--ui-tertiary-bg); color: var(--ui-secondary-color); }
.form-control:focus,
.form-control:focus-visible,
.form-select:focus,
.form-select:focus-visible,
.form-check-input:focus,
.form-check-input:focus-visible {
  border-color: var(--gs-brand);
  outline: 0;
  box-shadow: none;
}
.form-control:focus,
.form-control:focus-visible,
.form-select:focus,
.form-select:focus-visible { background-color: var(--gs-surface); }
.form-check-input {
  --ui-form-check-bg: var(--gs-surface);
  width: 1.0625rem;
  height: 1.0625rem;
  margin-top: 0.1rem;
  border: 1.5px solid var(--gs-input);
}
.form-check-input[type="checkbox"] { border-radius: 0.3125rem; }
.form-check-input:hover { border-color: var(--ui-primary); }
.form-check-input:checked {
  background-color: var(--ui-primary);
  border-color: var(--ui-primary);
}
.form-check-input[type="checkbox"]:indeterminate {
  background-color: var(--ui-primary);
  border-color: var(--ui-primary);
}
.btn:focus-visible {
  --ui-btn-focus-box-shadow: 0 0 0 2px var(--gs-surface), 0 0 0 4px rgba(var(--ui-primary-rgb), 0.55);
  box-shadow: var(--ui-btn-focus-box-shadow);
}
.form-label { font-size: 0.8125rem; font-weight: 600; color: var(--ui-body-color); margin-bottom: 0.35rem; }
.form-text { font-size: 0.75rem; }
.form-check-label { font-size: 0.8125rem; }
.badge {
  --ui-badge-font-size: 0.72rem;
  --ui-badge-font-weight: 600;
  --ui-badge-padding-y: 0.22em;
  --ui-badge-padding-x: 0.75em;
  --ui-badge-border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.badge.text-bg-secondary { color: var(--ui-body-color) !important; background-color: var(--gs-surface) !important; border: 1px solid var(--ui-border-color); }
.badge.text-bg-success { color: var(--gs-soft-fg) !important; background-color: var(--gs-soft) !important; border: 1px solid transparent; }
.badge.text-bg-warning { color: var(--ui-warning-text-emphasis) !important; background-color: var(--ui-warning-bg-subtle) !important; border: 1px solid var(--ui-warning-border-subtle); }
.badge.text-bg-danger { color: var(--ui-danger-text-emphasis) !important; background-color: var(--ui-danger-bg-subtle) !important; border: 1px solid var(--ui-danger-border-subtle); }
.card {
  --ui-card-bg: var(--gs-surface);
  --ui-card-border-color: color-mix(in srgb, var(--ui-border-color) 60%, transparent);
  --ui-card-border-radius: var(--ui-border-radius-lg);
  --ui-card-inner-border-radius: calc(var(--ui-border-radius-lg) - 1px);
  --ui-card-spacer-y: 1.25rem;
  --ui-card-spacer-x: 1.25rem;
  --ui-card-cap-bg: transparent;
  --ui-card-cap-padding-y: 1.15rem;
  --ui-card-cap-padding-x: 1.25rem;
  box-shadow: var(--gs-shadow-panel);
}
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  border-bottom: 0;
  padding-bottom: 0.35rem;
}
.card-header > * { min-width: 0; }
.card-title { margin-bottom: 0; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.card > .table-responsive:last-child > .table:last-child { margin-bottom: 0; }
.table.table {
  --ui-table-bg: transparent;
  --ui-table-hover-bg: var(--gs-row-hover);
  --ui-table-border-color: color-mix(in srgb, var(--ui-border-color) 70%, transparent);
  margin-bottom: 0;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.table.table > thead { --ui-table-bg: var(--gs-table-head-bg); }
.table.table > thead > tr > th {
  font-family: var(--gs-font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ui-secondary-color);
  white-space: nowrap;
  padding: 0.6rem 1.25rem;
  border-bottom-color: var(--ui-border-color);
}
.table.table > tbody > tr > td { padding: 0.8rem 1.25rem; vertical-align: middle; }
.table.table > tbody > tr:last-child > td { border-bottom: 0; }
.table.table-sm > :not(caption) > * > * { padding: 0.5rem 1.25rem; font-size: 0.78rem; }
.table-responsive { border-radius: inherit; }
.table-responsive:has(> .table > tbody > tr > td[colspan] > .gs-empty) > .table { min-width: 0; }
.alert { --ui-alert-padding-y: 0.75rem; --ui-alert-padding-x: 0.9rem; --ui-alert-font-size: 0.8125rem; --ui-alert-border-radius: 1rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.alert > p { flex: 1; }
.alert--success { --ui-alert-color: var(--ui-success-text-emphasis); --ui-alert-bg: var(--ui-success-bg-subtle); --ui-alert-border-color: var(--ui-success-border-subtle); }
.alert--error,
.alert--danger { --ui-alert-color: var(--ui-danger-text-emphasis); --ui-alert-bg: var(--ui-danger-bg-subtle); --ui-alert-border-color: var(--ui-danger-border-subtle); }
.alert--warning { --ui-alert-color: var(--ui-warning-text-emphasis); --ui-alert-bg: var(--ui-warning-bg-subtle); --ui-alert-border-color: var(--ui-warning-border-subtle); }
.alert--info { --ui-alert-color: var(--ui-info-text-emphasis); --ui-alert-bg: var(--ui-info-bg-subtle); --ui-alert-border-color: var(--ui-info-border-subtle); }
.dropdown-menu {
  --ui-dropdown-bg: var(--gs-surface);
  --ui-dropdown-font-size: 0.8125rem;
  --ui-dropdown-border-color: color-mix(in srgb, var(--ui-border-color) 70%, transparent);
  --ui-dropdown-border-radius: 1rem;
  --ui-dropdown-link-hover-bg: var(--gs-accent);
  --ui-dropdown-link-active-bg: var(--ui-primary);
  box-shadow: var(--gs-shadow-raised);
  padding: 0.35rem;
}
.modal { --ui-modal-bg: var(--gs-surface); --ui-modal-border-radius: var(--ui-border-radius-xl); --ui-modal-border-color: var(--ui-border-color); }
.progress { --ui-progress-bg: var(--ui-tertiary-bg); --ui-progress-bar-bg: var(--gs-ink); --ui-progress-border-radius: 999px; }
.nav-link { --ui-nav-link-font-size: 0.85rem; }
.gs-app { min-height: 100vh; padding: 0.75rem; }
.gs-rail-col { display: none; }
.gs-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem;
  border-radius: 1.375rem;
  background: var(--gs-rail);
  color: #ecf2f0;
  box-shadow: var(--gs-shadow-raised);
}
.gs-rail-brand {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.25rem;
  border-radius: 0.875rem;
  background: var(--gs-rail-brand, var(--gs-brand));
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  order: -1;
}
.gs-rail-brand:hover { color: #ffffff; filter: brightness(1.08); }
.gs-rail-item {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 0.875rem;
  color: var(--gs-rail-icon, rgba(236, 242, 240, 0.55));
  transition: background-color 0.15s ease, color 0.15s ease;
}
.gs-rail-item:hover { background: color-mix(in srgb, var(--gs-rail-icon-active, #ecf2f0) 10%, transparent); color: var(--gs-rail-icon-active, #ecf2f0); }
.gs-rail-item:focus-visible,
.gs-rail-brand:focus-visible,
.gs-rail-prefs:focus-visible,
.gs-meter-rail:focus-visible { outline: 2px solid var(--gs-brand); outline-offset: 2px; }
.gs-rail-item svg { width: 18px; height: 18px; }
.gs-rail-item.is-active { background: var(--gs-rail-active-bg, rgba(236, 242, 240, 0.15)); color: var(--gs-rail-icon-active, #ecf2f0); }
.gs-rail-item.is-active::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  width: 4px;
  height: 1rem;
  border-radius: 999px;
  background: var(--gs-rail-marker, var(--gs-highlight));
  transform: translateY(-50%);
}
.gs-meter-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 1.375rem;
  background: var(--gs-sidebar-bg);
  border: 1px solid var(--gs-sidebar-border);
  color: var(--gs-sidebar-text-strong);
}
.gs-meter-rail:hover { color: var(--gs-sidebar-text-strong); border-color: var(--gs-input); }
.gs-meter-rail-label { font-family: var(--gs-font-mono); font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gs-sidebar-muted); }
.gs-meter-rail-total { font-family: var(--gs-font-mono); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gs-meter-rail-ticks { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; }
.gs-meter-rail-ticks > span { height: 2px; border-radius: 999px; background: color-mix(in srgb, var(--gs-sidebar-text-strong) 70%, transparent); }
.gs-meter-rail-ticks > span.is-zero { background: var(--gs-sidebar-border); }
.gs-meter-rail-ticks > span.is-current { background: var(--gs-highlight); }
.gs-rail-prefs {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-radius: 1.375rem;
  background: var(--gs-rail);
  color: var(--gs-rail-icon, rgba(236, 242, 240, 0.7));
  box-shadow: var(--gs-shadow-raised);
  cursor: pointer;
  transition: color 0.15s ease;
}
.gs-rail-prefs:hover { color: var(--gs-rail-icon-active, #ecf2f0); }
.gs-rail-prefs svg { width: 22px; height: 22px; }
.gs-rail-col > .gs-rail,
.gs-rail-col > .gs-rail-prefs { flex: none; }
.gs-rail-col > .gs-meter-rail { flex: 0 1 auto; min-height: 0; overflow: hidden; }
.gs-meter-rail-label,
.gs-meter-rail-total { flex: none; }
.gs-meter-rail-ticks { flex: 0 1 auto; min-height: 0; overflow: hidden; justify-content: flex-end; }
.gs-meter-rail-ticks > span { flex: none; }
@media (max-height: 720px) {
.gs-rail-col > .gs-meter-rail { display: none; }
}
@media (max-height: 600px) {
.gs-rail-col > .gs-rail { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; }
}
.gs-sidebar {
  --ui-offcanvas-width: 264px;
  --ui-offcanvas-bg: var(--gs-sidebar-bg);
  --ui-offcanvas-color: var(--gs-sidebar-text);
  --ui-nav-link-color: var(--gs-sidebar-text);
  --ui-nav-link-hover-color: var(--gs-sidebar-text-strong);
  --ui-nav-link-padding-y: 0;
  --ui-nav-link-padding-x: 0.75rem;
  /* `.offcanvas-lg` only supplies display:flex below lg, so the rail has to
     declare it itself or it falls back to block and the nav overflows. */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0.625rem 0.625rem;
  background: var(--gs-sidebar-bg);
  color: var(--gs-sidebar-text);
  border: 1px solid var(--gs-sidebar-border);
  border-radius: 1.75rem;
  /* The rail is exactly one viewport tall; its nav scrolls instead. */
  overflow: hidden;
}
.gs-sidebar > :not(.gs-sidebar-art) { position: relative; z-index: 1; }
.gs-sidebar-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.gs-sidebar-art svg { display: block; width: 100%; height: 100%; stroke-width: 1.3; }
.gs-sidebar-art svg > [class^="gs-sidebar-art-"] { display: none; }
html[data-sidebar-pattern="mesh"] .gs-sidebar-art-dots,
html[data-sidebar-pattern="mesh"] .gs-sidebar-art-flow,
html[data-sidebar-pattern="mesh"] .gs-sidebar-art-nodes,
html[data-sidebar-pattern="mesh"] .gs-sidebar-art-signal,
html[data-sidebar-pattern="mesh"] .gs-sidebar-art-shield { display: block; }
html[data-sidebar-pattern="grid"] .gs-sidebar-art-grid,
html[data-sidebar-pattern="grid"] .gs-sidebar-art-rings { display: block; }
html[data-sidebar-pattern="waves"] .gs-sidebar-art-waves,
html[data-sidebar-pattern="waves"] .gs-sidebar-art-signal { display: block; }
html[data-sidebar-pattern="orbit"] .gs-sidebar-art-rings,
html[data-sidebar-pattern="orbit"] .gs-sidebar-art-nodes,
html[data-sidebar-pattern="orbit"] .gs-sidebar-art-shield { display: block; }
.gs-sidebar-art-dots { fill: url(#gsSidebarArtDots); stroke: none; }
.gs-sidebar-art-dot { fill: var(--gs-sidebar-art-dot); stroke: none; }
.gs-sidebar-art-grid { fill: url(#gsSidebarArtGrid); stroke: none; }
.gs-sidebar-art-grid-line { fill: none; stroke: var(--gs-sidebar-art-line); stroke-width: 1; }
.gs-sidebar-art-rings circle {
  fill: none;
  stroke: var(--gs-sidebar-art-line);
  stroke-dasharray: 3 9;
  animation: gsArtSpin 60s linear infinite;
  transform-box: view-box;
  transform-origin: 228px 112px;
}
.gs-sidebar-art-rings circle:nth-child(2) { animation-duration: 44s; animation-direction: reverse; }
.gs-sidebar-art-rings circle:nth-child(3) { animation-duration: 30s; }
.gs-sidebar-art-waves path {
  fill: none;
  stroke: var(--gs-sidebar-art-line-strong);
  stroke-dasharray: 3 11;
  animation: gsArtFlow 18s linear infinite;
}
.gs-sidebar-art-waves path:nth-child(2n) { animation-duration: 24s; animation-direction: reverse; }
.gs-sidebar-art-waves path:nth-child(3n) { animation-duration: 30s; }
.gs-sidebar-art-beam {
  fill: none;
  stroke: var(--gs-sidebar-art-line-strong);
  stroke-dasharray: 8 14;
  animation: gsArtFlow 9s linear infinite;
}
.gs-sidebar-art-beam--slow { animation-duration: 14s; animation-direction: reverse; }
.gs-sidebar-art-nodes circle {
  fill: var(--gs-sidebar-art-node);
  stroke: none;
  opacity: 0.5;
  animation: gsArtPulse 4.2s ease-in-out infinite;
}
.gs-sidebar-art-nodes circle:nth-child(2n) { animation-delay: 1.4s; }
.gs-sidebar-art-nodes circle:nth-child(3n) { animation-delay: 2.6s; }
.gs-sidebar-art-signal path { fill: none; stroke: var(--gs-sidebar-art-line-strong); }
.gs-sidebar-art-signal circle { fill: var(--gs-sidebar-art-node); stroke: none; animation: gsArtPulse 3.4s ease-in-out infinite; }
.gs-sidebar-art-shield path { fill: none; stroke: var(--gs-sidebar-art-line-strong); }
.gs-sidebar-art-shield path:first-child { stroke: var(--gs-sidebar-art-line); }
@keyframes gsArtFlow { to { stroke-dashoffset: -220; } }
@keyframes gsArtSpin { to { transform: rotate(360deg); } }
@keyframes gsArtPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.gs-sidebar-art * { animation: none !important; }
}
.gs-sidebar .offcanvas-header { padding: 0; }
html .gs-sidebar { background-color: var(--gs-sidebar-solid) !important; }
html:is([data-sidebar-theme="ink"], [data-sidebar-theme="teal"], [data-sidebar-theme="graphite"], [data-sidebar-theme="ruby"], [data-sidebar-theme="blue"]) .gs-sidebar .btn-close,
[data-ui-theme="dark"] .gs-sidebar .btn-close { filter: invert(1) grayscale(1); }
.gs-brand { display: flex; align-items: center; gap: 0.75rem; padding: 0.25rem 0.375rem 0; color: var(--gs-sidebar-text-strong); flex: none; }
.gs-brand:hover { text-decoration: none; color: var(--gs-sidebar-text-strong); }
.gs-brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  background: var(--gs-sidebar-mark-bg, var(--gs-ink));
  color: var(--gs-sidebar-mark-fg, var(--gs-ink-fg));
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  flex: none;
}
.gs-brand-mark--sm { width: 30px; height: 30px; font-size: 0.7rem; border-radius: 0.625rem; }
.gs-brand-mark--lg { width: 52px; height: 52px; border-radius: 1rem; font-size: 1.2rem; }
.gs-brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.gs-brand-text strong { font-size: 0.875rem; font-weight: 600; }
.gs-brand-text small { color: var(--gs-sidebar-muted); font-size: 0.75rem; }
.gs-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.125rem;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 -0.25rem;
  padding: 0 0.25rem 0.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gs-sidebar-scroll) transparent;
}
.gs-nav > * { flex: none; }
.gs-nav:not(.gs-nav--footer) { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.75rem), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 1.75rem), transparent); padding-bottom: 1.25rem; }
.gs-nav::-webkit-scrollbar { width: 6px; }
.gs-nav::-webkit-scrollbar-thumb { background: var(--gs-sidebar-scroll); border-radius: 999px; }
.gs-nav::-webkit-scrollbar-track { background: transparent; }
.gs-nav-label {
  margin: 1rem 0 0;
  padding: 0 0.75rem 0.375rem;
  font-family: var(--gs-font-mono);
  font-size: 0.65625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gs-sidebar-label);
}
.gs-nav-label:first-child { margin-top: 0.25rem; }
.gs-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gs-sidebar-text);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.gs-nav .nav-link > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 0.5rem; }
.gs-nav .nav-link:hover { background-color: var(--gs-sidebar-hover); color: var(--gs-sidebar-text-strong); }
.gs-nav .nav-link:focus-visible { outline: 2px solid var(--gs-brand); outline-offset: -2px; }
.gs-nav .nav-link.active {
  background: var(--gs-sidebar-active-bg);
  color: var(--gs-sidebar-text-strong);
  font-weight: 600;
  box-shadow: var(--gs-sidebar-active-shadow);
}
.gs-nav .nav-link svg { width: 18px; height: 18px; }
.gs-sidebar-footer { display: flex; flex-direction: column; gap: 0.5rem; flex: none; }
.gs-user-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  border-radius: 1.125rem;
  background: var(--gs-sidebar-card);
  border: 1px solid var(--gs-sidebar-border);
  color: var(--gs-sidebar-text-strong);
}
.gs-user-card-link { display: flex; align-items: center; gap: 0.625rem; flex: 1; min-width: 0; color: inherit; }
.gs-user-card-link:hover { color: inherit; }
.gs-user-card-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.gs-user-card-meta strong { font-size: 0.8125rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-user-card-meta small { font-size: 0.75rem; color: var(--gs-sidebar-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-user-card .gs-icon-btn { width: 32px; height: 32px; border-color: transparent; background: transparent; box-shadow: none; color: var(--gs-sidebar-muted); }
.gs-user-card .gs-icon-btn:hover { background: var(--gs-sidebar-hover); color: var(--gs-sidebar-text-strong); }
.gs-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: calc(100vh - 1.5rem);
  padding: 0.5rem;
  border-radius: 2.125rem;
  background: var(--gs-panel);
  border: 1px solid color-mix(in srgb, var(--ui-border-color) 70%, transparent);
}
.gs-topbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 0.75rem 0.25rem;
}
.gs-topbar-title { display: flex; flex-direction: column; min-width: 0; flex: 1 1 16rem; }
.gs-topbar-crumbs { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--ui-secondary-color); }
.gs-topbar-crumbs a { color: inherit; }
.gs-topbar-crumbs a:hover { color: var(--ui-body-color); }
.gs-topbar-title h1 {
  margin: 0.4rem 0 0;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gs-topbar-sub { margin-top: 0.4rem; font-size: 0.8125rem; color: var(--ui-secondary-color); }
.gs-topbar-sub:empty { display: none; }
.gs-topbar-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; flex-wrap: wrap-reverse; justify-content: flex-end; }
.gs-topbar-page-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0.5rem; }
.gs-topbar-page-actions:empty { display: none; }
.gs-topbar-page-actions > .d-flex { justify-content: flex-end; }
.gs-topbar-tools { display: flex; align-items: center; gap: 0.5rem; }
.gs-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--gs-input);
  border-radius: 999px;
  background: var(--gs-surface);
  color: var(--ui-body-color);
  line-height: 1;
  box-shadow: var(--gs-shadow-control);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.gs-icon-btn:hover { background: var(--gs-accent); color: var(--ui-body-color); text-decoration: none; }
.gs-icon-btn:focus-visible { outline: 2px solid var(--gs-brand); outline-offset: 2px; }
.gs-icon-btn svg { width: 1.0625rem; height: 1.0625rem; }
.gs-theme-toggle .icon-sun { display: none; }
.gs-theme-toggle .icon-moon { display: block; }
[data-ui-theme="dark"] .gs-theme-toggle .icon-sun { display: block; }
[data-ui-theme="dark"] .gs-theme-toggle .icon-moon { display: none; }
.gs-theme-launcher-fill { fill: currentColor; stroke: none; }
.gs-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gs-soft);
  color: var(--gs-soft-fg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
  overflow: hidden;
}
img.gs-avatar { object-fit: cover; display: block; border: 1px solid var(--ui-border-color); }
.gs-content { flex: 1; display: flex; flex-direction: column; gap: 0.875rem; width: 100%; max-width: 1480px; margin: 0 auto; padding: 0.75rem; }
.gs-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.375rem;
  font-family: var(--gs-font-mono);
  font-size: 0.6875rem;
  color: var(--ui-secondary-color);
}
@media (min-width: 992px) {
body:has(> .gs-app) { background: var(--gs-page); }
.gs-app {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 0.75rem;
    min-height: calc(100vh - 1.5rem);
    margin: 0.75rem;
    border-radius: 2.5rem;
    background: var(--ui-body-bg);
    border: 1px solid var(--ui-border-color);
  }
.gs-sidebar { position: sticky; top: 1.5rem; height: calc(100vh - 3rem); max-height: calc(100vh - 3rem); }
.gs-main { min-height: calc(100vh - 3rem); }
}
@media (min-width: 1200px) {
.gs-app { grid-template-columns: 56px 252px minmax(0, 1fr); }
.gs-app:has(.gs-rail-col--labels) { grid-template-columns: 76px 252px minmax(0, 1fr); }
.gs-rail-col {
    position: sticky;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: calc(100vh - 3rem);
  }
}
.gs-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gs-dot--live { background: var(--gs-brand); box-shadow: 0 0 0 3px rgba(0, 140, 141, 0.18); }
.gs-auth-body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1.75rem 1.125rem;
  background:
    radial-gradient(1000px 500px at 10% -10%, var(--gs-auth-glow-1) 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 100%, var(--gs-auth-glow-2) 0%, transparent 55%),
    var(--gs-auth-base);
}
.gs-auth-theme { position: fixed; top: 1.1rem; right: 1.1rem; z-index: 10; }
.gs-auth-theme .gs-icon-btn { background: var(--gs-surface); box-shadow: var(--ui-box-shadow-sm); }
.gs-theme-dialog {
  width: min(28rem, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--ui-border-color);
  border-radius: 1rem;
  background: var(--gs-surface);
  color: var(--ui-body-color);
  box-shadow: var(--gs-shadow-raised);
}
.gs-theme-dialog::backdrop { background: rgba(12, 11, 11, 0.5); backdrop-filter: blur(2px); }
.gs-theme-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 0;
}
.gs-theme-dialog-head h2 { font-size: 1.06rem; }
.gs-theme-dialog-close {
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--ui-secondary-color);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.gs-theme-dialog-close:hover { background: var(--ui-secondary-bg); color: var(--ui-body-color); }
.gs-theme-dialog-section { padding: 1rem 1.25rem 0; }
.gs-theme-dialog-section:last-of-type { padding-bottom: 1.25rem; }
.gs-theme-dialog-label {
  margin: 0 0 0.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui-secondary-color);
}
.gs-theme-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
.gs-theme-choice {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--ui-border-color);
  border-radius: 0.625rem;
  background: var(--gs-surface);
  color: var(--ui-secondary-color);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.gs-theme-choice:hover { background: var(--ui-secondary-bg); color: var(--ui-body-color); }
.gs-theme-choice.is-active {
  border-color: var(--ui-primary);
  background: var(--ui-primary-bg-subtle);
  color: var(--ui-primary-text-emphasis);
}
.gs-theme-choice-icon { width: 1.125rem; height: 1.125rem; flex: none; }
.gs-theme-swatches { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.gs-theme-swatch {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--ui-border-color);
  border-radius: 0.625rem;
  background: linear-gradient(150deg, var(--swatch-from), var(--swatch-to));
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gs-theme-swatch:hover { transform: translateY(-1px) scale(1.05); }
.gs-theme-swatch.is-active { box-shadow: 0 0 0 2px var(--gs-surface), 0 0 0 4px var(--ui-primary); }
.gs-theme-patterns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.gs-theme-pattern {
  display: grid;
  gap: 0.3rem;
  padding: 0.3rem;
  border: 1px solid var(--ui-border-color);
  border-radius: 0.625rem;
  background: var(--gs-surface);
  color: var(--ui-secondary-color);
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.gs-theme-pattern:hover { border-color: var(--ui-secondary-color); color: var(--ui-body-color); }
.gs-theme-pattern.is-active { border-color: var(--ui-primary); color: var(--ui-primary-text-emphasis); }
.gs-theme-pattern-canvas {
  --gs-pattern-ink: color-mix(in srgb, var(--gs-sidebar-text-strong) 38%, transparent);
  position: relative;
  display: block;
  height: 2.6rem;
  border-radius: 0.5rem;
  background: var(--gs-sidebar-bg);
  border: 1px solid var(--gs-sidebar-border);
  overflow: hidden;
}
.gs-theme-pattern-canvas::after { content: ""; position: absolute; inset: 0; }
.gs-theme-pattern-canvas--mesh::after {
  background-image: radial-gradient(circle, var(--gs-pattern-ink) 1px, transparent 1.4px);
  background-size: 9px 9px;
}
.gs-theme-pattern-canvas--grid::after {
  background-image:
    linear-gradient(var(--gs-pattern-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--gs-pattern-ink) 1px, transparent 1px);
  background-size: 10px 10px, 10px 10px;
}
.gs-theme-pattern-canvas--waves::after {
  background-image: repeating-radial-gradient(circle at 50% 130%, transparent 0 8px, var(--gs-pattern-ink) 8px 9px);
}
.gs-theme-pattern-canvas--orbit::after {
  background-image:
    radial-gradient(circle at 50% 50%, transparent 0 7px, var(--gs-pattern-ink) 7px 8px, transparent 8px),
    radial-gradient(circle at 50% 50%, transparent 0 14px, var(--gs-pattern-ink) 14px 15px, transparent 15px),
    radial-gradient(circle at 50% 50%, var(--gs-sidebar-art-node) 1.5px, transparent 2px);
}
.gs-theme-pattern-name { line-height: 1.1; text-align: center; }
.gs-theme-swatch:focus-visible,
.gs-theme-choice:focus-visible,
.gs-theme-pattern:focus-visible,
.gs-theme-dialog-close:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: 2px; }
.gs-theme-dialog-hint { margin: 0.625rem 0 0; font-size: 0.72rem; color: var(--ui-secondary-color); }
.gs-auth-shell {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  width: min(1020px, 100%);
  min-height: 560px;
  background: var(--gs-surface);
  border: 1px solid var(--ui-border-color);
  border-radius: 1.625rem;
  overflow: hidden;
  box-shadow: var(--gs-shadow-raised);
}
.gs-auth-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.875rem;
  padding: 3.25rem 3rem;
  background: linear-gradient(160deg, var(--gs-hero-from) 0%, var(--gs-hero-via) 55%, var(--gs-hero-to) 100%);
  color: #d5e2df;
  overflow: hidden;
  --gs-auth-art-line: rgba(192, 235, 215, 0.16);
  --gs-auth-art-line-strong: rgba(192, 235, 215, 0.3);
  --gs-auth-art-dot: rgba(192, 235, 215, 0.14);
  --gs-auth-art-node: #c0ebd7;
}
.gs-auth-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.28), transparent 65%);
}
.gs-auth-hero h1 { font-size: 2.125rem; letter-spacing: -0.03em; color: #ffffff; margin: 0; }
.gs-auth-hero > p { color: #c0ebd7; font-size: 0.84rem; max-width: 34ch; margin: 0; }
.gs-auth-hero-list { list-style: none; margin: 0.35rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.78rem; color: #d5e2df; }
.gs-auth-hero-list li { position: relative; padding-left: 1.375rem; }
.gs-auth-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0ebd7;
  box-shadow: 0 0 0 4px rgba(192, 235, 215, 0.18);
}
.gs-auth-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.gs-auth-hero-art svg { display: block; width: 100%; height: 100%; stroke-width: 1.3; }
.gs-auth-hero > :not(.gs-auth-hero-art):not(.gs-auth-hero-version) { position: relative; z-index: 1; }
.gs-auth-art-dots { fill: url(#gsAuthArtDots); stroke: none; }
.gs-auth-art-dot { fill: var(--gs-auth-art-dot); stroke: none; }
.gs-auth-art-rings circle {
  fill: none;
  stroke: var(--gs-auth-art-line);
  stroke-dasharray: 3 10;
  animation: gsArtSpin 70s linear infinite;
  transform-box: view-box;
  transform-origin: 512px 132px;
}
.gs-auth-art-rings circle:nth-child(2) { animation-duration: 50s; animation-direction: reverse; }
.gs-auth-art-rings circle:nth-child(3) { animation-duration: 34s; }
.gs-auth-art-wave path {
  fill: none;
  stroke: var(--gs-auth-art-line-strong);
  animation: gsArtPulse 5s ease-in-out infinite;
}
.gs-auth-art-wave path:nth-child(2) { animation-delay: 0.6s; }
.gs-auth-art-wave path:nth-child(3) { animation-delay: 1.2s; }
.gs-auth-art-wave circle { fill: var(--gs-auth-art-node); stroke: none; animation: gsArtPulse 3.6s ease-in-out infinite; }
.gs-auth-art-mesh path { fill: none; stroke: var(--gs-auth-art-line); }
.gs-auth-art-mesh .gs-auth-art-flow {
  stroke: var(--gs-auth-art-line-strong);
  stroke-dasharray: 10 12;
  animation: gsArtFlow 8s linear infinite;
}
.gs-auth-art-mesh .gs-auth-art-flow--slow { animation-duration: 13s; animation-direction: reverse; }
.gs-auth-art-mesh .gs-auth-art-node {
  fill: var(--gs-auth-art-node);
  stroke: rgba(15, 23, 22, 0.55);
  stroke-width: 2;
  opacity: 0.75;
  animation: gsArtPulse 4s ease-in-out infinite;
}
.gs-auth-art-mesh .gs-auth-art-node:nth-of-type(2n) { animation-delay: 1.2s; }
.gs-auth-art-mesh .gs-auth-art-node:nth-of-type(3n) { animation-delay: 2.4s; }
.gs-auth-art-shield path { fill: none; stroke: var(--gs-auth-art-line-strong); }
.gs-auth-art-shield path:first-child { stroke: var(--gs-auth-art-line); }
.gs-auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 3rem 2.75rem; }
.gs-auth-panel-footer { margin-top: 1.75rem; text-align: center; font-size: 0.68rem; color: var(--ui-secondary-color); }
.gs-landing-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--gs-surface);
  background: color-mix(in srgb, var(--gs-surface) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ui-border-color);
}
.gs-landing-nav .gs-brand,
.gs-landing-nav .gs-brand:hover { color: var(--ui-body-color); }
.gs-landing-nav .gs-brand-text small { color: var(--ui-secondary-color); }
.gs-landing-nav-inner { max-width: 1120px; margin: 0 auto; padding: 0.875rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.gs-landing-links { display: flex; align-items: center; gap: 1.125rem; margin-left: 0.5rem; flex: 1; flex-wrap: wrap; }
.gs-landing-links a { color: var(--ui-secondary-color); font-size: 0.8125rem; font-weight: 500; }
.gs-landing-links a:hover { color: var(--ui-body-color); }
.gs-landing-actions { display: flex; align-items: center; gap: 0.5rem; }
.gs-landing { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.gs-hero { position: relative; padding: 4.5rem 0 3.5rem; text-align: center; overflow: hidden; }
.gs-hero-glow {
  position: absolute;
  inset: -30% 10% auto;
  height: 420px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 140, 141, 0.22), transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}
.gs-hero-inner { max-width: 760px; margin: 0 auto; }
.gs-hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid var(--ui-border-color); background: var(--gs-surface); color: var(--ui-secondary-color); font-size: 0.75rem; font-weight: 600; }
.gs-hero-title { margin: 1.375rem 0 0.875rem; font-size: clamp(1.875rem, 4.4vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.gs-hero-sub { margin: 0 auto; max-width: 640px; color: var(--ui-secondary-color); font-size: 0.9375rem; line-height: 1.65; }
.gs-hero-actions { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.gs-hero-facts { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.625rem; margin: 2.5rem 0 0; padding: 0; }
.gs-hero-facts li { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.75rem 1.125rem; min-width: 130px; border: 1px solid var(--ui-border-color); border-radius: 0.75rem; background: var(--gs-surface); }
.gs-hero-facts strong { font-size: 0.8125rem; }
.gs-hero-facts span { color: var(--ui-secondary-color); font-size: 0.72rem; }
.gs-section { padding: 3rem 0; }
.gs-section-head { max-width: 620px; margin-bottom: 1.625rem; }
.gs-section-head h2 { margin: 0 0 0.35rem; font-size: 1.375rem; letter-spacing: -0.01em; }
.gs-section-head p { margin: 0; color: var(--ui-secondary-color); font-size: 0.84rem; }
.gs-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.625rem;
  background: var(--ui-primary-bg-subtle);
  color: var(--ui-primary-text-emphasis);
  flex: none;
}
.gs-panel-icon svg { width: 1.1875rem; height: 1.1875rem; }
.gs-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding: 1.875rem;
  border-radius: 1.125rem;
  border: 1px solid var(--ui-border-color);
  background: var(--gs-surface);
  background: linear-gradient(135deg, color-mix(in srgb, var(--gs-brand) 14%, var(--gs-surface)), var(--gs-surface));
}
.gs-cta h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.gs-cta p { margin: 0; color: var(--ui-secondary-color); font-size: 0.8125rem; }
.gs-landing-footer { border-top: 1px solid var(--ui-border-color); background: var(--gs-surface); }
.gs-landing-footer-inner { max-width: 1120px; margin: 0 auto; padding: 1.75rem 1.5rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.gs-landing-footer-brand { display: flex; gap: 0.75rem; align-items: flex-start; max-width: 420px; }
.gs-landing-footer-brand strong { font-size: 0.84rem; }
.gs-landing-footer-brand p { margin: 0.25rem 0 0; color: var(--ui-secondary-color); font-size: 0.75rem; line-height: 1.55; }
.gs-landing-footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.gs-landing-footer-links a { color: var(--ui-secondary-color); font-size: 0.78rem; }
.gs-landing-footer-links a:hover { color: var(--ui-body-color); }
.gs-landing-footer-meta { display: flex; flex-direction: column; gap: 0.35rem; color: var(--ui-secondary-color); font-size: 0.72rem; text-align: right; }
#toast-container > div {
  border-radius: var(--ui-border-radius);
  box-shadow: var(--ui-box-shadow);
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 1;
  padding: 0.875rem 1rem 0.875rem 2.875rem;
  width: 340px;
  max-height: 45vh;
  overflow-y: auto;
  font-family: var(--gs-font-sans);
}
#toast-container > div:hover { box-shadow: var(--gs-shadow-raised); }
#toast-container > div { color: #ffffff; }
.swal2-popup.gs-swal {
  background: var(--gs-surface);
  color: var(--ui-body-color);
  border: 1px solid var(--ui-border-color);
  border-radius: var(--ui-border-radius-lg);
  box-shadow: var(--ui-box-shadow);
  font-family: inherit;
  padding: 1.5rem 1.5rem 1.25rem;
  width: min(440px, calc(100vw - 32px));
}
.swal2-popup.gs-swal .swal2-icon { width: 3rem; height: 3rem; margin: 0 auto 0.75rem; border-width: 3px; }
.swal2-popup.gs-swal .swal2-icon .swal2-icon-content { font-size: 1.7rem; }
.swal2-popup.gs-swal .swal2-html-container,
.swal2-popup.gs-swal .swal2-title { color: var(--ui-body-color); font-size: 0.875rem; line-height: 1.6; margin: 0; padding: 0 0.25rem; }
.swal2-popup.gs-swal .swal2-actions { gap: 0.5rem; margin-top: 1.125rem; width: 100%; }
.swal2-popup.gs-swal .swal2-confirm,
.swal2-popup.gs-swal .swal2-cancel { border-radius: var(--ui-border-radius-sm); font-size: 0.8125rem; font-weight: 600; margin: 0; min-width: 8.25rem; box-shadow: none; }
.swal2-popup.gs-swal .swal2-close { color: var(--ui-secondary-color); }
@media (max-width: 991.98px) {
.gs-app { padding: 0.5rem; }
.gs-main { min-height: calc(100vh - 1rem); border-radius: 1.75rem; }
.gs-sidebar { border-radius: 0 1.75rem 1.75rem 0; }
.gs-topbar-title h1 { font-size: 1.5rem; }
.gs-auth-shell { grid-template-columns: 1fr; }
.gs-auth-hero { display: none; }
.gs-auth-panel { padding: 2.25rem 1.625rem; }
.gs-landing-links { display: none; }
.gs-hero { padding: 3.25rem 0 2.5rem; }
.gs-landing-footer-meta { text-align: left; }
}
@media (max-width: 575.98px) {
.gs-footer { flex-direction: column; }
.gs-topbar { gap: 0.75rem; padding: 0.5rem 0.5rem 0; }
.gs-topbar-actions { gap: 0.375rem; margin-left: 0; }
.gs-content { padding: 0.5rem; }
.gs-hero-facts li { flex: 1 1 44%; }
.gs-cta { padding: 1.375rem; }
#toast-container > div { width: calc(100vw - 32px); }
}
.terminal {
  margin: 0;
  padding: 1rem 1.125rem 0.75rem;
  background: #0b1110;
  color: #d5e2df;
  border-top: 1px solid #1e2a28;
  font-family: var(--gs-font-mono);
  font-size: 0.78rem;
}
.swal2-popup.gs-swal .gs-form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; text-align: left; }
.swal2-popup.gs-swal .gs-form__lead { margin: 0; font-size: 0.8125rem; color: var(--ui-secondary-color); }
.swal2-popup.gs-swal .gs-form__field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; }
.swal2-popup.gs-swal .gs-form__field .swal2-input { margin: 0; width: 100%; }
.swal2-popup.gs-swal .gs-form__check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 500; }
.swal2-popup.gs-swal .gs-form__hint { margin: 0; font-size: 0.72rem; color: var(--ui-secondary-color); }
.swal2-popup.gs-swal .gs-progress { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }
.swal2-popup.gs-swal .gs-progress__track { height: 6px; border-radius: 999px; background: var(--ui-tertiary-bg); overflow: hidden; }
.swal2-popup.gs-swal .gs-progress__bar { display: block; height: 100%; border-radius: inherit; background: var(--ui-primary); transition: width 0.3s ease; }
.swal2-popup.gs-swal .gs-progress__stage { margin: 0; font-size: 0.8125rem; font-weight: 600; }
.swal2-popup.gs-swal .gs-progress__hint { margin: 0; font-size: 0.72rem; color: var(--ui-secondary-color); }
.swal2-popup.gs-swal--progress .swal2-actions { display: none; }
.alert > svg { flex: none; width: 1.0625rem; height: 1.0625rem; margin-top: 0.1rem; }
.card > :is(.terminal, .log-output, .config-output, .file-preview, .code-editor-form):last-child {
  border-bottom-left-radius: var(--ui-card-inner-border-radius);
  border-bottom-right-radius: var(--ui-card-inner-border-radius);
}
.card-header > .badge.font-monospace { max-width: min(48%, 420px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-sidebar .offcanvas-header { position: absolute; top: 1.125rem; right: 0.875rem; z-index: 3; padding: 0; }
.gs-sidebar-close { width: 2rem; height: 2rem; font-size: 1.375rem; color: var(--gs-sidebar-muted); }
.gs-sidebar-close:hover { background: color-mix(in srgb, var(--gs-sidebar-text-strong) 10%, transparent); color: var(--gs-sidebar-text-strong); }
.gs-sidebar-close:focus { outline: 0; box-shadow: none; }
.gs-sidebar-close:focus-visible { outline: 1px solid var(--gs-sidebar-text-strong); outline-offset: 1px; }
@media (max-width: 991.98px) {
.gs-sidebar .gs-brand { padding-right: 2.75rem; }
}
.gs-brand-mark--logo { padding: 0; background: transparent; box-shadow: none; object-fit: contain; }
.gs-rail-item > i { font-size: 1.05rem; line-height: 1; }
.gs-nav .nav-link > i { width: 1.125rem; flex: none; text-align: center; font-size: 0.95rem; opacity: 0.85; }
.gs-nav .nav-link.active > i { opacity: 1; }
.text-soft { color: var(--ui-secondary-color) !important; }
.fs-11 { font-size: 0.6875rem !important; }
.fs-12 { font-size: 0.75rem !important; }
.fs-13 { font-size: 0.8125rem !important; }
.fs-14 { font-size: 0.875rem !important; }
.header-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ui-secondary-color); }
.link { font-weight: 600; text-decoration: none; }
.link-sm { font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.link-primary { color: var(--ui-link-color); }
.divider { height: 1px; margin: 1rem 0; background: var(--ui-border-color); border: 0; }
.nowrap { white-space: nowrap; }
.np-block + .np-block { margin-top: 1.25rem; }
.card-bordered { border: 1px solid var(--ui-border-color); }
.card-inner { padding: 1.25rem; }
.card-inner + .card-inner { border-top: 1px solid var(--ui-border-color); }
.card-title-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.card-title-group .title,
.card-title .title { margin: 0; font-size: 0.95rem; font-weight: 600; }
.card-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.card-header h5,
.card-header h6 { font-size: 0.95rem; font-weight: 600; }
.form-group { margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group.row { align-items: flex-start; --ui-gutter-y: 0; }
.form-horizontal .col-form-label { font-size: 0.8125rem; font-weight: 600; }
.form-note { margin-top: 0.3rem; font-size: 0.75rem; color: var(--ui-secondary-color); }
.form-label-group { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; }
.form-label-group .form-label { margin-bottom: 0; }
.form-control-wrap { position: relative; }
.form-control-lg { font-size: 0.95rem; padding: 0.7rem 1rem; border-radius: 0.875rem; }
.form-text { font-size: 0.75rem; color: var(--ui-secondary-color); }
.btn-xs { --ui-btn-font-size: 0.72rem; --ui-btn-padding-y: 0.22rem; --ui-btn-padding-x: 0.6rem; --ui-btn-border-radius: 999px; }
.btn-block { display: flex; width: 100%; }
.btn > .icon,
.btn > i { font-size: 0.85em; }
.btn-group { display: inline-flex; gap: 0.25rem; }
.bg-lighter { background-color: var(--gs-surface-muted) !important; }
.bg-primary-dim,
.bg-primary-soft { color: var(--ui-primary-text-emphasis) !important; background-color: var(--ui-primary-bg-subtle) !important; }
.bg-success-soft { color: var(--gs-soft-fg) !important; background-color: var(--gs-soft) !important; }
.bg-danger-soft { color: var(--ui-danger-text-emphasis) !important; background-color: var(--ui-danger-bg-subtle) !important; }
.bg-warning-soft { color: var(--ui-warning-text-emphasis) !important; background-color: var(--ui-warning-bg-subtle) !important; }
.bg-info-soft { color: var(--ui-info-text-emphasis) !important; background-color: var(--ui-info-bg-subtle) !important; }
.bg-secondary-soft { color: var(--ui-body-color) !important; background-color: var(--ui-tertiary-bg) !important; }
.badge.bg-primary,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-warning,
.badge.bg-info,
.badge.bg-secondary,
.badge.bg-dark { color: #fff; }
.progress-bar.bg-warning { color: var(--gs-highlight-fg); }
.user-avatar,
.avatar-md { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: 50%; font-weight: 700; color: var(--gs-ink-fg); background: linear-gradient(135deg, var(--gs-mark-from), var(--gs-mark-to)); }
.user-avatar-sm { width: 2rem; height: 2rem; font-size: 0.8rem; }
.modal-header .btn-close { flex: none; margin: 0; }
.swal2-popup.gs-swal .swal2-loader { border-color: var(--ui-primary) transparent var(--ui-primary) transparent; }
.swal2-popup.gs-swal .form-group { text-align: left; }
.dt-container { font-size: 0.8125rem; }
.dt-container .dt-layout-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0 0 0.85rem; }
.dt-container .dt-layout-row.dt-layout-table { display: block; margin: 0; }
.dt-container .dt-layout-row:last-child { margin: 0.85rem 0 0; }
.dt-container .dt-layout-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.dt-container .dt-layout-cell.dt-layout-start { margin-right: auto; }
.dt-container .dt-layout-table .dt-layout-cell { display: block; overflow-x: auto; }
.dt-search label,
.dt-length label { margin: 0; font-size: 0.78rem; color: var(--ui-secondary-color); }
.dt-search input,
.dt-length select {
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ui-body-color);
  background-color: var(--gs-surface);
  border: 1px solid var(--gs-input);
  border-radius: 999px;
  box-shadow: var(--gs-shadow-control);
  padding: 0.42rem 0.95rem;
  outline: 0;
}
.dt-search input { width: min(16rem, 60vw); }
.dt-length select { padding-right: 1.75rem; margin: 0 0.35rem; }
.dt-search input:focus,
.dt-length select:focus { border-color: var(--gs-brand); }
.dt-info { color: var(--ui-secondary-color); font-size: 0.78rem; }
.dt-paging nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.dt-paging .dt-paging-button {
  min-width: 2rem;
  padding: 0.3rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ui-body-color);
  background: var(--gs-surface);
  border: 1px solid var(--ui-border-color);
  border-radius: 999px;
  cursor: pointer;
}
.dt-paging .dt-paging-button:hover:not(.disabled) { background: var(--gs-accent); }
.dt-paging .dt-paging-button.current { color: var(--gs-ink-fg); background: var(--gs-ink); border-color: var(--gs-ink); }
.dt-paging .dt-paging-button.disabled { opacity: 0.45; cursor: default; }
.dt-paging .ellipsis { padding: 0 0.25rem; color: var(--ui-secondary-color); }
table.dataTable { width: 100% !important; margin: 0 !important; border-collapse: collapse; }
table.dataTable > thead > tr > th { position: relative; white-space: nowrap; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ui-secondary-color); }
table.dataTable > thead > tr > th.dt-orderable-asc,
table.dataTable > thead > tr > th.dt-orderable-desc { cursor: pointer; padding-right: 1.4rem; }
table.dataTable > thead .dt-column-order { position: absolute; right: 0.4rem; top: 50%; width: 0.6rem; height: 0.9rem; transform: translateY(-50%); }
table.dataTable > thead .dt-column-order::before,
table.dataTable > thead .dt-column-order::after { position: absolute; left: 0; font-size: 0.55rem; line-height: 1; opacity: 0.3; }
table.dataTable > thead .dt-orderable-asc .dt-column-order::before { content: "▲"; top: 0; }
table.dataTable > thead .dt-orderable-desc .dt-column-order::after { content: "▼"; bottom: 0; }
table.dataTable > thead .dt-ordering-asc .dt-column-order::before,
table.dataTable > thead .dt-ordering-desc .dt-column-order::after { opacity: 0.9; color: var(--ui-primary); }
table.dataTable > tbody > tr > td { vertical-align: middle; }
table.dataTable td.dt-empty { padding: 2rem 1rem; text-align: center; color: var(--ui-secondary-color); }
table.dataTable th.dt-type-numeric,
table.dataTable td.dt-type-numeric { text-align: right; }
div.dt-processing { position: absolute; top: 50%; left: 50%; z-index: 5; transform: translate(-50%, -50%); padding: 0.5rem 1rem; font-size: 0.78rem; color: var(--ui-secondary-color); background: var(--gs-surface); border: 1px solid var(--ui-border-color); border-radius: 999px; box-shadow: var(--gs-shadow-raised); }
div.dt-processing > div:last-child { display: none; }
.dt-container { position: relative; }
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control { position: relative; padding-left: 1.9rem; cursor: pointer; }
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before { content: "+"; position: absolute; left: 0.5rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 1rem; height: 1rem; font-size: 0.75rem; font-weight: 700; line-height: 1; color: var(--gs-ink-fg); background: var(--ui-primary); border-radius: 50%; }
table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control::before { content: "−"; background: var(--ui-secondary); }
table.dataTable > tbody > tr.child > td.child { padding: 0.5rem 0.75rem; background: var(--gs-surface-muted); }
table.dataTable > tbody > tr.child ul.dtr-details { display: block; margin: 0; padding: 0; list-style: none; }
table.dataTable > tbody > tr.child ul.dtr-details > li { display: flex; gap: 0.75rem; padding: 0.4rem 0; border-bottom: 1px solid var(--ui-border-color); }
table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: 0; }
table.dataTable > tbody > tr.child span.dtr-title { min-width: 8rem; font-weight: 600; color: var(--ui-secondary-color); }
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-hidden,
table.dataTable.dtr-inline.collapsed > thead > tr > th.dtr-hidden { display: none; }
.np-akun-baris + .np-akun-baris { padding-top: 0.85rem; border-top: 1px dashed var(--ui-border-color); }
.gs-auth-panel .np-auth-note { font-size: 0.78rem; color: var(--ui-secondary-color); }
.gs-auth-panel .np-auth-card { width: 100%; }
.gs-auth-panel h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.25rem; }
.gs-doc { max-width: 52rem; margin: 0 auto; padding: 2.5rem 1.25rem 3.5rem; }
.gs-doc h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.6rem; }
.gs-doc h3 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.gs-doc p,
.gs-doc li { line-height: 1.7; }
.gs-doc pre { padding: 0.9rem 1rem; font-size: 0.78rem; color: #e6f2ef; background: var(--gs-ink); border-radius: 0.75rem; overflow-x: auto; }
.gs-doc code { font-family: var(--gs-font-mono); font-size: 0.85em; }
.gs-doc :not(pre) > code { padding: 0.1rem 0.35rem; background: var(--ui-tertiary-bg); border-radius: 0.35rem; color: var(--ui-body-color); }
.gs-doc table { width: 100%; margin: 0.75rem 0 1.25rem; font-size: 0.8125rem; border-collapse: collapse; }
.gs-doc th,
.gs-doc td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--ui-border-color); text-align: left; vertical-align: top; }
.gs-doc th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ui-secondary-color); }
.gs-doc-toc { padding: 1rem 1.25rem; margin-bottom: 1.5rem; background: var(--gs-surface); border: 1px solid var(--ui-border-color); border-radius: 1rem; }
.gs-doc-toc ol,
.gs-doc-toc ul { margin: 0; padding-left: 1.1rem; }
.gs-panel-icon > i { font-size: 1.05rem; }
.gs-center-card { max-width: 30rem; width: 100%; text-align: center; padding: 2rem 1.75rem; background: var(--gs-surface); border: 1px solid var(--ui-border-color); border-radius: 1.25rem; box-shadow: var(--gs-shadow-raised); }
.gs-center-card .gs-center-code { font-family: var(--gs-font-mono); font-size: 3rem; font-weight: 700; color: var(--gs-brand); line-height: 1; margin-bottom: 0.75rem; }
.form-select { padding-top: 0.5rem; padding-bottom: 0.5rem; border-radius: 0.75rem; }
.form-select-sm { padding-top: 0.3rem; padding-bottom: 0.3rem; }
.card-body h3:not(.h5):not(.h6) { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; }
.alert { display: block; }
.alert > i:first-child,
.alert > .icon:first-child { margin-right: 0.4rem; }
.alert ul,
.alert ol { margin-bottom: 0; padding-left: 1.1rem; }
.alert-dismissible { position: relative; padding-right: 2.75rem; }
.alert-dismissible .btn-close { position: absolute; top: 0.65rem; right: 0.75rem; }
pre.bg-lighter,
pre.bg-light { color: var(--ui-body-color); border: 1px solid var(--ui-border-color); }
.gs-center-card > .gs-brand-mark { display: block; margin-left: auto; margin-right: auto; }
