:root {
  color-scheme: dark;
  --bg: #090316;
  --panel: rgba(69, 76, 100, 0.94);
  --panel-strong: rgba(41, 48, 70, 0.98);
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #fcd34d;
  --accent-strong: #fbbf24;
  --nav: #070b18;
  --nav-soft: rgba(147, 197, 253, 0.1);
  --good: #86efac;
  --warn: #fcd34d;
  --bad: #fca5a5;
  --info: #93c5fd;
  --card-left: rgba(69, 76, 100, 0.94);
  --card-center: rgba(53, 59, 83, 0.96);
  --card-right: rgba(41, 48, 70, 0.98);
  --field-bg: rgba(2, 6, 23, 0.28);
  --field-bg-strong: rgba(2, 6, 23, 0.48);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  --sidebar-width: 248px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(129, 140, 248, 0.13), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(59, 130, 246, 0.11), transparent 34%),
    linear-gradient(100deg, #090316 0%, #081024 55%, #0b1833 100%);
  color: var(--ink);
  font-family: "Inter", "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.auth-card {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--card-left) 0%, var(--card-center) 50%, var(--card-right) 100%);
  box-shadow: var(--shadow);
}

.app-shell {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: var(--sidebar-width) 8px minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.sidebar {
  min-height: 0;
  height: 100dvh;
  overflow-y: auto;
  padding: 22px;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at 30% 0%, rgba(147, 197, 253, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(7, 11, 24, 0.98), rgba(3, 7, 18, 0.98));
  color: #f8fafc;
}

.sidebar-resizer {
  z-index: 5;
  width: 8px;
  min-height: 0;
  height: 100dvh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(147, 197, 253, 0.12), rgba(147, 197, 253, 0.03)),
    transparent;
  cursor: col-resize;
}

.sidebar-resizer::after {
  content: "";
  display: block;
  width: 2px;
  height: 52px;
  margin: calc(50vh - 26px) auto 0;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.24);
}

.sidebar-resizer:hover,
.sidebar-resizer:focus-visible,
body.is-resizing-sidebar .sidebar-resizer {
  background: rgba(147, 197, 253, 0.18);
  outline: none;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #fcd34d, #93c5fd);
  color: #020617;
  font-weight: 800;
}

.brand h1,
.auth-card h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand p,
.auth-card p {
  margin: 2px 0 0;
  color: #94a3b8;
  font-size: 12px;
}

.nav-section {
  margin: 22px 0 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
  padding: 10px 12px;
  border-radius: 14px;
  color: #e2e8f0;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(147, 197, 253, 0.1);
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.16);
}

.nav-disclosure {
  margin: 22px 0 0;
}

.nav-disclosure summary {
  cursor: pointer;
  list-style-position: outside;
  margin: 0 0 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  padding: 24px 28px 28px;
}

.main > * {
  flex: 0 0 auto;
}

.main > .storage-control-page {
  flex: 1 1 auto;
}

.main > .audit-log-page {
  flex: 1 1 auto;
}

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

.topbar h2 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.topbar p {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.3;
}

.panel,
.table-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--card-left) 0%, var(--card-center) 50%, var(--card-right) 100%);
  box-shadow: var(--shadow);
}

.panel {
  padding: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  letter-spacing: -0.06em;
}

.mini-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.1);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #93c5fd, #fcd34d);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters input,
.filters select {
  width: min(240px, 100%);
}

.filters input[name="search"] {
  width: min(420px, 100%);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(252, 211, 77, 0.72);
  box-shadow: 0 0 0 2px rgba(252, 211, 77, 0.14);
  outline: none;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-row.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-row.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.password-field {
  display: flex;
  gap: 8px;
  align-items: center;
}

.password-field input {
  flex: 1 1 auto;
}

.password-toggle {
  flex: 0 0 auto;
  min-width: 62px;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1;
}

.password-hint {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}

.button,
button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgba(252, 211, 77, 0.36);
  border-radius: 6px;
  background: var(--accent);
  color: #020617;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary,
button.secondary {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.28);
  color: #e2e8f0;
}

.button.danger,
button.danger {
  background: var(--bad);
}

.button.ghost,
button.ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: #e2e8f0;
}

.external-storage-page,
.external-storage-page td {
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.5;
}

.external-storage-page .muted,
.external-storage-page label,
.external-storage-page th {
  color: #dbeafe;
  font-size: 14px;
}

.external-storage-page .section-title p,
.external-storage-page label span,
.external-storage-page p.muted {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.external-storage-page input,
.external-storage-page select,
.external-storage-page textarea {
  color: #ffffff;
  font-size: 15px;
}

.external-storage-page .section-title h3 {
  font-size: 19px;
}

.external-storage-page .metric span {
  font-size: 12px;
}

.external-storage-page .metric strong {
  font-size: 20px;
}

.external-storage-page input::placeholder,
.external-storage-page textarea::placeholder {
  color: #aebbd0;
}

.icon-button {
  min-height: 32px;
  padding: 7px 10px;
  white-space: nowrap;
}

.icon-button svg {
  flex: 0 0 auto;
}

.table-wrap {
  overflow-x: auto;
}

.storage-jobs-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.storage-jobs-log-pane {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.storage-jobs-log-pane table {
  margin: 0;
}

.storage-jobs-table {
  min-width: 1180px;
}

.storage-jobs-log-pane thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1f293f;
}

.audit-log-page {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.audit-log-page > .toolbar,
.audit-log-page > .audit-log-meta,
.audit-log-page > .audit-log-pagination {
  flex: 0 0 auto;
}

.audit-log-meta {
  padding: 0 14px 10px;
  font-size: 12px;
}

.audit-log-pane {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audit-log-pane table {
  margin: 0;
}

.audit-log-table {
  min-width: 980px;
}

.share-log-table {
  min-width: 1500px;
}

.share-log-table th,
.share-log-table td {
  white-space: nowrap;
  vertical-align: middle;
}

.share-path-cell {
  width: 1%;
  max-width: 420px;
}

.share-path-directory,
.share-path-name {
  display: block;
  width: max-content;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-path-directory {
  color: var(--muted);
  font-size: 12px;
}

.share-path-name {
  color: #f8fafc;
}

.share-note-cell {
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-log-pane thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1f293f;
}

.storage-jobs-count {
  font-size: 12px;
  white-space: nowrap;
}

.storage-jobs-pagination {
  flex: 0 0 auto;
  padding: 10px 0 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background:
    radial-gradient(circle at top right, rgba(147, 197, 253, 0.12), transparent 18rem),
    linear-gradient(90deg, var(--card-left) 0%, var(--card-center) 50%, var(--card-right) 100%);
}

.dashboard-hero > div:first-child {
  min-width: 0;
}

.dashboard-hero-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dashboard-hero-heading .eyebrow {
  margin: 0;
}

.dashboard-hero-heading span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.dashboard-hero p.muted {
  max-width: 980px;
  margin: 6px 0 0;
  line-height: 1.35;
}

.dashboard-hero h3,
.section-title h3,
.dashboard-split-list h4 {
  margin: 0;
  letter-spacing: -0.04em;
}

.dashboard-hero h3 {
  font-size: 22px;
  line-height: 1.05;
}

.dashboard-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 8px;
  width: min(680px, 52vw);
  min-width: 420px;
}

.dashboard-hero-meta div {
  display: grid;
  align-content: center;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.dashboard-hero-meta span,
.ops-stat span,
.usage-row-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-hero-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.1;
}

.dashboard-hero-meta form {
  margin: 0;
}

.dashboard-hero-meta button,
.dashboard-hero-meta .button {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
}

.storage-control-page {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.storage-control-page--jobs {
  flex: 1 1 auto;
  overflow: hidden;
}

.storage-control-page > .storage-control-strip,
.storage-control-page > .admin-tab-strip {
  flex: 0 0 auto;
}

.storage-control-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background:
    radial-gradient(circle at top right, rgba(147, 197, 253, 0.12), transparent 14rem),
    linear-gradient(90deg, var(--card-left) 0%, var(--card-center) 50%, var(--card-right) 100%);
}

.storage-control-strip .eyebrow {
  margin-bottom: 3px;
}

.storage-control-strip h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.storage-control-strip p {
  margin: 4px 0 0;
  line-height: 1.25;
}

.storage-control-strip-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr)) auto;
  gap: 8px;
  align-items: stretch;
  min-width: min(620px, 54vw);
}

.storage-control-strip-meta div {
  display: grid;
  align-content: center;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.storage-control-strip-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.storage-control-strip-meta strong {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.05;
}

.storage-control-strip-meta form {
  display: grid;
  margin: 0;
}

.storage-control-strip-meta button {
  min-height: 48px;
  padding: 8px 12px;
  white-space: nowrap;
}

.company-wizard {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 8% 20%, rgba(252, 211, 77, 0.12), transparent 34%),
    linear-gradient(90deg, var(--card-left) 0%, var(--card-center) 50%, var(--card-right) 100%);
}

.account-setup-wizard {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.wizard-rail {
  position: sticky;
  top: 0;
  display: grid;
  gap: 8px;
}

.wizard-rail a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.24);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.wizard-rail a:hover {
  border-color: rgba(252, 211, 77, 0.52);
  background: rgba(252, 211, 77, 0.1);
}

.wizard-rail-note {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 8px;
  background: rgba(147, 197, 253, 0.08);
}

.wizard-rail-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.wizard-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.wizard-panel,
.wizard-submit-panel {
  display: grid;
  gap: 18px;
}

.wizard-panel-heading,
.wizard-submit-panel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.wizard-panel-heading h3,
.wizard-submit-panel h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.wizard-panel-heading p,
.wizard-submit-panel p {
  margin: 5px 0 0;
}

.wizard-repeat-list {
  display: grid;
  gap: 14px;
}

.wizard-repeat-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.24);
}

.wizard-repeat-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.wizard-repeat-header strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.wizard-assignment-workspace {
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.5fr) minmax(280px, 0.95fr);
  min-height: 520px;
}

.wizard-assignment-workspace .access-target-card {
  min-height: 170px;
}

.wizard-submit-panel {
  align-items: center;
}

.wizard-flow {
  --wizard-page: linear-gradient(100deg, #090316 0%, #081024 55%, #0b1833 100%);
  --wizard-card: linear-gradient(90deg, rgba(69, 76, 100, 0.94) 0%, rgba(53, 59, 83, 0.96) 50%, rgba(41, 48, 70, 0.98) 100%);
  --wizard-stack: linear-gradient(90deg, rgba(56, 63, 88, 0.9) 0%, rgba(43, 50, 75, 0.95) 55%, rgba(31, 39, 60, 0.98) 100%);
  --accent: #fcd34d;
  --accent-soft: rgba(252, 211, 77, 0.1);
  --accent-ring: rgba(252, 211, 77, 0.16);
  min-height: calc(100vh - 120px);
  margin: -8px -18px 0 -26px;
  padding: 28px 30px 34px;
  overflow: auto;
  border-radius: 18px;
  background: var(--wizard-page);
  color: #f8fafc;
}

.wizard-flow-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  max-width: 1280px;
  margin: 0 0 30px;
}

.wizard-logo-lockup {
  display: flex;
  gap: 24px;
  align-items: center;
}

.wizard-logo-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(100, 116, 139, 0.25);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(20, 28, 45, 0.98), rgba(9, 14, 28, 0.98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wizard-logo-frame::before {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.16), transparent 55%);
  content: "";
}

.wizard-logo-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(12, 18, 32, 0.98), rgba(15, 23, 42, 0.96));
  color: #fcd34d;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.wizard-logo-lockup p {
  margin: 0;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wizard-logo-lockup h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wizard-logo-lockup span {
  display: block;
  margin-top: 12px;
  color: #64748b;
  font-size: 15px;
}

.wizard-top-progress {
  position: relative;
  display: flex;
  max-width: 500px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.wizard-top-progress > button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(100, 116, 139, 0.7);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
}

.wizard-top-progress > button.is-active {
  border-color: #fcd34d;
  background: #fcd34d;
  color: #020617;
  box-shadow: 0 0 28px rgba(252, 211, 77, 0.38);
}

.wizard-top-progress > button.is-done {
  border-color: rgba(252, 211, 77, 0.6);
  background: rgba(252, 211, 77, 0.1);
  color: #fde68a;
}

.wizard-top-progress > span {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 2px;
  background: rgba(71, 85, 105, 0.7);
}

.wizard-top-progress small {
  position: absolute;
  top: 48px;
  left: 0;
  margin-top: 0;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wizard-reset-button,
.wizard-muted-button,
.wizard-action-button,
.wizard-ghost-button {
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
}

.wizard-reset-button,
.wizard-muted-button,
.wizard-ghost-button {
  border: 1px solid rgba(15, 23, 42, 0.6);
  background: rgba(2, 6, 23, 0.25);
  color: #e2e8f0;
}

.wizard-reset-button {
  padding: 16px 28px;
}

.wizard-muted-button,
.wizard-ghost-button {
  padding: 12px 18px;
}

.wizard-action-button {
  border: 0;
  padding: 13px 28px;
  background: #fcd34d;
  color: #020617;
  box-shadow: 0 0 26px rgba(252, 211, 77, 0.2);
}

.wizard-action-button span {
  margin-left: 12px;
  font-size: 22px;
  line-height: 0;
}

.wizard-stage {
  position: relative;
  max-width: 1280px;
  height: 820px;
  margin: 0;
}

.wizard-active-area {
  position: absolute;
  inset: 0;
}

.wizard-card {
  --accent: #fcd34d;
  --accent-soft: rgba(252, 211, 77, 0.1);
  --accent-border: rgba(252, 211, 77, 0.55);
  --accent-ring: rgba(252, 211, 77, 0.15);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 60;
  display: none;
  width: 800px;
  height: 760px;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--wizard-card);
  box-shadow: 0 0 38px rgba(252, 211, 77, 0.12), 0 24px 54px rgba(0, 0, 0, 0.38);
}

.wizard-card.is-active {
  display: flex;
  animation: wizardCardIn 0.28s ease-out both;
}

.wizard-card.is-done {
  transform: translateX(940px) rotate(1.2deg);
  opacity: 0;
}

.wizard-card-wide {
  width: 100%;
}

.wizard-card-side {
  display: flex;
  width: 80px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 36px 12px;
  border-right: 1px solid rgba(2, 6, 23, 0.55);
  background: rgba(2, 6, 23, 0.2);
}

.wizard-card-icon,
.wizard-stack-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.wizard-card-icon {
  width: 42px;
  height: 42px;
  font-size: 22px;
  box-shadow: 0 0 0 8px var(--accent-ring), 0 14px 28px rgba(0, 0, 0, 0.22);
}

.wizard-card-number,
.wizard-stack-number {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

.wizard-card-line,
.wizard-stack-line {
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.wizard-card-side-title,
.wizard-stack-side {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-90deg);
}

.wizard-card-dot,
.wizard-stack-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px currentColor;
}

.wizard-card-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  overflow: visible;
  padding: 34px 42px;
}

.wizard-card-wide .wizard-card-content {
  overflow: hidden;
  padding: 28px;
}

.wizard-card-heading-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.wizard-card-eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-card h3 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.wizard-card-description {
  max-width: 540px;
  margin: 10px 0 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.45;
}

.wizard-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 20px;
}

.wizard-card-fields label,
.wizard-card-content label {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.wizard-card input,
.wizard-card select,
.wizard-card textarea {
  min-height: 46px;
  border: 1px solid rgba(2, 6, 23, 0.65);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.2);
  color: #fff;
  font-size: 16px;
}

.wizard-card textarea {
  min-height: 62px;
}

.wizard-card small,
.wizard-card-note,
.password-hint {
  color: #94a3b8;
}

.wizard-stack {
  position: absolute;
  top: 0;
  right: 24px;
  left: 812px;
  z-index: 20;
  display: flex;
  height: 760px;
  align-items: flex-start;
  overflow: visible;
}

.wizard-stack-card {
  --stack-depth: 1;
  --accent: #fcd34d;
  --accent-soft: rgba(252, 211, 77, 0.1);
  --accent-border: rgba(252, 211, 77, 0.28);
  position: relative;
  z-index: calc(30 - var(--stack-depth));
  display: none;
  width: clamp(48px, 5.6vw, 85px);
  height: 724px;
  margin-top: calc(14px + (var(--stack-depth) - 1) * 7px);
  margin-left: clamp(-22px, -2vw, -7px);
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--wizard-stack);
  text-align: left;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.32);
}

.wizard-stack-card.is-visible {
  display: block;
}

.wizard-stack-card:first-child {
  margin-left: 0;
}

.wizard-stack-card {
  padding: 36px 10px;
}

.wizard-stack-card > span {
  margin-inline: auto;
}

.wizard-stack-card .wizard-stack-icon {
  width: 35px;
  height: 35px;
  margin-bottom: 88px;
  font-size: 18px;
}

.wizard-stack-card .wizard-stack-number {
  display: block;
  text-align: center;
}

.wizard-stack-card .wizard-stack-line {
  display: block;
  margin: 16px auto 142px;
}

.wizard-stack-card .wizard-stack-side {
  display: block;
}

.wizard-stack-card .wizard-stack-dot {
  display: block;
  margin-top: 166px;
}

.accent-indigo {
  --accent: #a5b4fc;
  --accent-soft: rgba(165, 180, 252, 0.1);
  --accent-border: rgba(165, 180, 252, 0.5);
  --accent-ring: rgba(165, 180, 252, 0.15);
}

.accent-violet {
  --accent: #c4b5fd;
  --accent-soft: rgba(196, 181, 253, 0.1);
  --accent-border: rgba(196, 181, 253, 0.5);
  --accent-ring: rgba(196, 181, 253, 0.15);
}

.accent-blue {
  --accent: #93c5fd;
  --accent-soft: rgba(147, 197, 253, 0.1);
  --accent-border: rgba(147, 197, 253, 0.5);
  --accent-ring: rgba(147, 197, 253, 0.15);
}

.accent-slate {
  --accent: #cbd5e1;
  --accent-soft: rgba(203, 213, 225, 0.08);
  --accent-border: rgba(203, 213, 225, 0.45);
  --accent-ring: rgba(203, 213, 225, 0.12);
}

.wizard-permission-picks {
  display: block;
  margin-top: 20px;
  padding-right: 8px;
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-gutter: stable;
}

.wizard-permission-view {
  min-height: 0;
}

#wizard-permissions.is-showing-advanced-permissions .wizard-permission-picks {
  max-height: 590px;
  overflow-y: scroll;
}

#wizard-permissions:not(.is-showing-advanced-permissions) [data-advanced-hide] {
  display: none !important;
}

#wizard-permissions.is-showing-advanced-permissions [data-advanced-hide] {
  display: inline-flex;
}

.wizard-permission-basic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wizard-permission-pick label {
  display: flex;
  height: 86px;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.65);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.2);
}

.wizard-permission-pick input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
  accent-color: var(--accent);
}

.wizard-permission-pick strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.wizard-permission-pick small {
  display: block;
  margin-top: 6px;
  line-height: 1.25;
}

.advanced-permission-callout {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.65);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.18);
}

.advanced-permission-callout strong,
.wizard-inline-section-heading strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.advanced-permission-callout span {
  display: block;
  margin-top: 5px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.advanced-permission-callout .wizard-muted-button {
  flex: 0 0 auto;
}

.advanced-permission-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.wizard-inline-section-heading {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wizard-inline-section-heading strong {
  color: #fff;
  font-size: 15px;
}

.wizard-inline-section-heading span {
  color: #94a3b8;
  font-size: 12px;
}

.compact-advanced-permissions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.compact-advanced-permissions .wizard-permission-pick label {
  height: 74px;
}

.advanced-permission-disclosure {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.65);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.16);
}

.advanced-permission-disclosure summary {
  display: flex;
  cursor: pointer;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  color: #e2e8f0;
  font-weight: 900;
}

.advanced-permission-disclosure summary small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.advanced-permission-disclosure[open] summary {
  margin-bottom: 12px;
}

.wizard-repeat-list {
  max-height: none;
  overflow: visible;
  padding-right: 4px;
}

.wizard-repeat-card {
  border-color: rgba(15, 23, 42, 0.65);
  background: rgba(2, 6, 23, 0.22);
}

.wizard-account-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-account-fields .account-name-pair {
  display: grid;
  grid-template-rows: auto 46px 18px;
  align-items: start;
}

.wizard-account-fields .account-name-pair input {
  width: 100%;
  height: 46px;
}

.wizard-account-fields .account-name-pair small {
  min-height: 18px;
  line-height: 18px;
}

.optional-note {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.compact-entry-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compact-entry-list:not(.can-remove-rows) [data-remove-row],
.space-entry-list:not(.can-remove-rows) [data-remove-row] {
  display: none;
}

.compact-person-card {
  padding: 12px;
}

.compact-person-card.is-confirmed {
  border-color: rgba(134, 239, 172, 0.38);
  background: rgba(22, 163, 74, 0.08);
}

.compact-person-fields {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.admin-wizard-fields,
.user-wizard-fields {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 2fr) minmax(0, 1fr);
}

.admin-wizard-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.user-wizard-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizard-field-label-row {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wizard-password-label .password-field {
  margin-top: 0;
}

.wizard-eye-toggle {
  display: inline-grid;
  width: 34px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.22);
  color: #cbd5e1;
  font-size: 21px;
  line-height: 1;
}

.wizard-eye-toggle.is-revealed {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.inline-role-select {
  display: grid;
  min-width: 170px;
  grid-template-columns: auto minmax(110px, 1fr);
  gap: 8px;
  align-items: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-role-select select {
  min-height: 38px;
  padding-block: 6px;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}

.compact-person-fields .span-2 {
  grid-column: span 2;
}

.compact-check {
  min-height: 46px;
  align-items: center;
}

.permission-tile-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.space-entry-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.compact-space-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(180px, 0.92fr) minmax(124px, 0.56fr) auto;
  gap: 10px;
  align-items: end;
  overflow: visible;
  padding: 12px;
}

.compact-space-row:focus-within {
  z-index: 80;
}

.space-permission-field select {
  min-width: 0;
}

.compact-space-row .wizard-ghost-button {
  min-height: 46px;
  white-space: nowrap;
}

.space-menu-field {
  position: relative;
  z-index: 20;
  display: grid;
  gap: 6px;
  --space-menu-bottom-gap: 42px;
  --space-menu-top-offset: 266px;
}

.space-menu-label {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.space-nested-menu {
  position: relative;
}

.space-menu-trigger,
.space-menu-category-button,
.space-submenu-item {
  width: 100%;
  border: 1px solid rgba(2, 6, 23, 0.65);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.24);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 550;
  text-align: left;
}

.space-menu-trigger {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
}

.space-menu-trigger[aria-expanded="true"] {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.space-menu-panel {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  z-index: 120;
  display: grid;
  width: min(560px, calc(100vw - 64px));
  height: min(
    540px,
    calc(760px - var(--space-menu-top-offset) - var(--space-menu-bottom-gap)),
    calc(100vh - 220px)
  );
  grid-template-columns: minmax(160px, 0.82fr) minmax(230px, 1.18fr);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.99), rgba(30, 41, 59, 0.99));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
}

.space-menu-category-list,
.space-menu-option-list {
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  padding: 8px;
  scrollbar-gutter: stable;
}

.space-menu-category-list {
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.18);
}

.space-menu-category-button,
.space-submenu-item {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-color: transparent;
  background: transparent;
}

.space-menu-category-button + .space-menu-category-button,
.space-submenu-item + .space-submenu-item {
  margin-top: 4px;
}

.space-menu-category-button:hover,
.space-menu-category-button:focus,
.space-menu-category-button.is-active,
.space-submenu-item:hover,
.space-submenu-item:focus {
  outline: none;
  background: rgba(252, 211, 77, 0.12);
  color: #fde68a;
}

.space-submenu strong {
  display: block;
  padding: 6px 11px 10px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard-card-wide .wizard-assignment-workspace {
  grid-template-columns: 260px minmax(0, 1fr) 340px;
  height: 620px;
  min-height: 0;
  margin-top: 20px;
}

.wizard-card-wide .access-column {
  min-height: 0;
  overflow: auto;
}

.wizard-card-wide .access-target-grid {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  align-content: start;
}

.wizard-card-wide .access-target-card {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.wizard-card-wide .access-subject-card {
  min-height: 66px;
  padding: 10px 12px;
}

.wizard-card-wide .access-subject-card strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.wizard-card-wide .access-subject-card small {
  font-size: 12px;
}

.wizard-card-wide .access-avatar {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.wizard-card-wide .access-target-card.is-linked {
  border-color: rgba(252, 211, 77, 0.76);
  background: linear-gradient(145deg, rgba(252, 211, 77, 0.16), rgba(2, 6, 23, 0.22));
  box-shadow: inset 0 0 0 1px rgba(252, 211, 77, 0.2), 0 0 22px rgba(252, 211, 77, 0.12);
}

.wizard-flow-footer {
  display: flex;
  max-width: 1280px;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.wizard-flow-footer [data-wizard-cancel] {
  margin-right: auto;
}

.wizard-flow-footer [data-wizard-back] {
  margin-left: auto;
}

.wizard-flow-footer [data-wizard-next] {
  order: 3;
}

.wizard-flow-footer [data-wizard-submit] {
  order: 4;
}

.wizard-flow:not(.is-final-step) [data-wizard-submit] {
  display: none !important;
}

.wizard-flow.is-final-step [data-wizard-next] {
  display: none !important;
}

.wizard-flow-footer [disabled] {
  opacity: 0.42;
}

@keyframes wizardCardIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.company-wizard-copy h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.company-wizard-copy p {
  max-width: 420px;
  margin-bottom: 0;
  line-height: 1.55;
}

.company-wizard-form {
  display: grid;
  gap: 12px;
}

.company-wizard-steps,
.company-wizard-storage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.company-wizard label {
  gap: 6px;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
}

.company-wizard label span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.company-wizard small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.company-wizard textarea {
  min-height: 72px;
}

.company-wizard-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.company-wizard-actions strong,
.company-wizard-actions span {
  display: block;
}

.company-wizard-actions span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.metric-ops {
  min-height: 132px;
}

.metric small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.prometheus-gauges {
  margin-top: 18px;
  background:
    radial-gradient(circle at left, rgba(147, 197, 253, 0.12), transparent 22rem),
    linear-gradient(90deg, var(--card-left) 0%, var(--card-center) 50%, var(--card-right) 100%);
}

.prometheus-gauges .section-title {
  align-items: center;
  flex-wrap: wrap;
}

.prometheus-gauges .section-title p {
  max-width: 880px;
  margin: 5px 0 0;
  line-height: 1.45;
}

.gauge-source {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.gauge-source span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gauge-source strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.monitoring-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.monitoring-links span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.28);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-gauge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.status-gauge-card {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 188px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.status-gauge-ring {
  display: grid;
  width: 144px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(15, 23, 42, 1) 0 50%, transparent 51%),
    conic-gradient(var(--gauge-color) var(--gauge-value), rgba(226, 232, 240, 0.14) 0);
}

.status-gauge-ring > div {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.96);
  text-align: center;
}

.status-gauge-ring strong {
  max-width: 80px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.status-gauge-ring span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-gauge-copy {
  min-width: 0;
}

.status-gauge-copy h4 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.status-gauge-copy strong {
  display: block;
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 16px;
}

.status-gauge-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.status-gauge-copy code {
  font-size: 11px;
}

.status-gauge-bar {
  height: 14px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.14);
}

.status-gauge-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #93c5fd, #fcd34d);
}

.connected-clients-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 42, 36, 0.08);
}

.connected-clients-panel .section-title h4 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.admin-section-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-section-header h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.admin-section-header p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-section-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-tab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.admin-tab.active {
  background: rgba(252, 211, 77, 0.14);
  border-color: rgba(252, 211, 77, 0.55);
  color: #fde68a;
}

.admin-health-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
  border: 1px solid transparent;
}

.admin-health-chip-good {
  color: var(--good);
  background: rgba(39, 114, 79, 0.1);
  border-color: rgba(39, 114, 79, 0.16);
}

.admin-health-chip-warn {
  color: var(--warn);
  background: rgba(154, 100, 28, 0.1);
  border-color: rgba(154, 100, 28, 0.16);
}

.admin-health-chip-bad {
  color: var(--bad);
  background: rgba(164, 56, 56, 0.1);
  border-color: rgba(164, 56, 56, 0.16);
}

.admin-health-chip-neutral {
  color: var(--ink);
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.2);
}

.admin-empty-state {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.22);
}

.admin-empty-state strong {
  display: block;
  margin-bottom: 6px;
}

.admin-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-grid {
  display: grid;
  gap: 16px;
}

.dashboard-grid-primary {
  grid-template-columns: minmax(290px, 0.92fr) minmax(0, 1.08fr);
  margin-top: 18px;
}

.dashboard-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-alerts {
  background: linear-gradient(90deg, var(--card-left) 0%, var(--card-center) 50%, var(--card-right) 100%);
}

.alert-stack {
  display: grid;
  gap: 12px;
}

.alert-card {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.28);
}

.alert-card strong {
  display: block;
  margin-bottom: 4px;
}

.alert-card p,
.dashboard-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.alert-critical {
  border-color: rgba(164, 56, 56, 0.22);
  background: rgba(164, 56, 56, 0.08);
}

.alert-warning {
  border-color: rgba(154, 100, 28, 0.2);
  background: rgba(154, 100, 28, 0.08);
}

.alert-info {
  border-color: rgba(49, 95, 134, 0.18);
  background: rgba(49, 95, 134, 0.07);
}

.alert-good {
  border-color: rgba(39, 114, 79, 0.18);
  background: rgba(39, 114, 79, 0.08);
}

.dashboard-section {
  padding: 18px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ops-stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.ops-stat strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.dashboard-note {
  margin-top: 14px;
}

.dashboard-note.critical {
  color: var(--bad);
}

.dashboard-split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.dashboard-split-list h4 {
  margin-bottom: 8px;
  font-size: 15px;
}

.compact-table table td,
.compact-table table th {
  padding-top: 10px;
  padding-bottom: 10px;
}

.drive-table {
  table-layout: fixed;
  min-width: 1120px;
}

.drive-table th:nth-child(1) {
  width: 180px;
}

.drive-table th:nth-child(2) {
  width: 150px;
}

.drive-table th:nth-child(3) {
  width: 170px;
}

.drive-table th:nth-child(4) {
  width: 145px;
}

.drive-table th:nth-child(5),
.drive-table th:nth-child(6),
.drive-table th:nth-child(7),
.drive-table th:nth-child(9) {
  width: 112px;
}

.drive-table th:nth-child(6) {
  width: 126px;
}

.drive-table th:nth-child(8) {
  width: 161px;
}

.drive-table th:nth-child(10) {
  width: 92px;
}

.drive-device-cell,
.drive-compact-cell {
  max-width: 150px;
}

.drive-path {
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drive-raw-details {
  position: relative;
}

.drive-raw-details > summary {
  list-style: none;
  cursor: pointer;
}

.drive-raw-details > summary::-webkit-details-marker {
  display: none;
}

.drive-detail-drawer {
  position: absolute;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 14px;
  width: min(720px, 86vw);
  max-height: 72vh;
  overflow: auto;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1f293f;
  box-shadow: var(--shadow);
  text-align: left;
}

.drive-detail-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.drive-detail-header h3,
.drive-detail-section h4 {
  margin: 0;
  letter-spacing: -0.04em;
}

.drive-detail-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.drive-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
}

.drive-detail-list div {
  min-width: 0;
}

.drive-detail-list dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drive-detail-list dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.drive-detail-hero {
  align-items: center;
}

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

.drive-detail-actions form {
  margin: 0;
}

.drive-detail-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.drive-detail-card {
  display: grid;
  gap: 12px;
}

.drive-detail-card h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.drive-detail-wide {
  grid-column: 1 / -1;
}

.drive-detail-list.tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drive-detail-list.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drive-detail-raw summary {
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 800;
}

.notice.subtle {
  margin: 0;
  border-color: rgba(147, 197, 253, 0.24);
  background: rgba(147, 197, 253, 0.1);
  color: var(--ink);
}

.usage-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.usage-row-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.usage-row-copy.stacked {
  display: grid;
  justify-content: stretch;
  gap: 2px;
}

.usage-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.12);
}

.usage-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #93c5fd, var(--accent));
}

@media (max-width: 1200px) {
  .dashboard-kpis,
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .dashboard-hero-meta {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    width: min(420px, 44vw);
    min-width: 320px;
  }

  .storage-control-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .storage-control-strip-meta {
    width: 100%;
    min-width: 0;
  }

  .company-wizard,
  .status-gauge-grid,
  .dashboard-grid-primary,
  .dashboard-grid-secondary,
  .dashboard-split-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .dashboard-hero {
    flex-direction: column;
  }

  .dashboard-hero-meta {
    width: 100%;
    min-width: 0;
  }

  .storage-control-strip-meta {
    grid-template-columns: 1fr;
  }

  .storage-jobs-panel {
    height: auto;
  }

  .storage-jobs-log-pane {
    max-height: 70vh;
  }

  .company-wizard-steps,
  .company-wizard-storage,
  .dashboard-kpis,
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }

  .company-wizard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .status-gauge-card {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .status-gauge-copy {
    width: 100%;
  }

  .admin-section-header {
    flex-direction: column;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

th,
td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.badge.active,
.badge.synced,
.badge.succeeded,
.badge.created {
  background: rgba(134, 239, 172, 0.12);
  color: var(--good);
}

.badge.pending_sync,
.badge.syncing,
.badge.running,
.badge.queued,
.badge.transferring {
  background: rgba(252, 211, 77, 0.12);
  color: var(--warn);
}

.badge.idle {
  background: rgba(147, 197, 253, 0.12);
  color: var(--info);
}

.badge.online,
.badge.active {
  background: rgba(134, 239, 172, 0.12);
  color: var(--good);
}

.badge.offline {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
}

.badge.suspended,
.badge.out_of_sync,
.badge.failed,
.badge.disabled {
  background: rgba(252, 165, 165, 0.12);
  color: var(--bad);
}

.log-output {
  max-height: 520px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.56);
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.5;
}

.notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(134, 239, 172, 0.22);
  border-radius: 8px;
  background: rgba(134, 239, 172, 0.1);
  color: var(--good);
  font-weight: 700;
}

.notice.error {
  border-color: rgba(252, 165, 165, 0.24);
  background: rgba(252, 165, 165, 0.1);
  color: var(--bad);
}

.error-text {
  color: var(--bad);
  font-size: 12px;
}

.muted {
  color: var(--muted);
}

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

.section-title h3 {
  margin: 0;
}

.form-note {
  max-width: 360px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
  color: var(--muted);
  font-size: 12px;
}

.is-disabled-field {
  opacity: 0.55;
}

.is-disabled-field select {
  cursor: not-allowed;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.check-card {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
  color: var(--ink);
}

.permission-list,
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.permission-chip,
.source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.permission-chip {
  background: rgba(134, 239, 172, 0.12);
  color: var(--good);
}

.source-pill {
  background: rgba(148, 163, 184, 0.12);
  color: var(--ink);
}

.access-workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 360px;
  gap: 16px;
  margin-bottom: 18px;
}

.access-column {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
  box-shadow: var(--shadow);
}

.access-targets-column {
  background: rgba(2, 6, 23, 0.34);
}

.access-subsection + .access-subsection {
  margin-top: 18px;
}

.access-subsection-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.access-card-list {
  display: grid;
  gap: 8px;
}

.access-subject-card,
.access-target-card {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.28);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.access-subject-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
}

.access-subject-card:hover,
.access-target-card:hover,
.access-subject-card.selected,
.access-target-card.selected {
  border-color: rgba(217, 121, 53, 0.72);
  background: rgba(252, 211, 77, 0.1);
  box-shadow: 0 0 0 2px rgba(252, 211, 77, 0.12);
}

.access-target-card.is-drag-over {
  transform: translateY(-2px);
  border-color: var(--good);
  box-shadow: 0 0 0 3px rgba(39, 114, 79, 0.18);
}

.access-subject-card strong,
.access-target-card strong,
.access-detail-card strong {
  display: block;
}

.access-subject-card small,
.access-target-card small,
.access-detail-card small,
.access-member-row small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #fcd34d, #93c5fd);
  color: #020617;
  font-size: 12px;
  font-weight: 800;
}

.access-avatar.small {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 11px;
}

.access-target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 300px));
  align-content: start;
  gap: 12px;
}

.access-target-card {
  position: relative;
  display: grid;
  min-height: 178px;
  align-content: space-between;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
}

.access-target-icon {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(134, 239, 172, 0.12);
  color: var(--good);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.access-member-stack {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 0;
}

.access-member-stack span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-right: -8px;
  border: 2px solid rgba(2, 6, 23, 0.9);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.access-member-stack em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.access-detail-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
}

.access-detail-card + .access-detail-card {
  margin-top: 12px;
}

.access-detail-heading,
.access-member-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.access-detail-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.access-detail-icon {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 8px;
  background: rgba(147, 197, 253, 0.1);
  color: #bfdbfe;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.access-selection-summary {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.access-selection-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.access-member-list {
  display: none;
  gap: 8px;
}

.access-member-list.active {
  display: grid;
}

.access-member-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.access-member-row:last-child {
  border-bottom: 0;
}

.button.tiny,
button.tiny {
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.compact-permission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.access-workspace {
  grid-template-columns: 280px minmax(0, 1fr) 360px;
  padding: 16px;
  align-items: stretch;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 8%, rgba(147, 197, 253, 0.13), transparent 24rem),
    linear-gradient(100deg, #090316 0%, #081024 55%, #0b1833 100%);
  color: #fafafa;
  box-shadow: var(--shadow);
}

.access-workspace .access-column {
  border-color: rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(69, 76, 100, 0.6) 0%, rgba(41, 48, 70, 0.68) 100%);
  color: #fafafa;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.access-workspace .access-targets-column {
  background: linear-gradient(90deg, rgba(69, 76, 100, 0.6) 0%, rgba(41, 48, 70, 0.68) 100%);
}

.access-card-header {
  margin-bottom: 18px;
}

.access-card-header h3,
.access-drive-header h3 {
  margin: 0;
  color: #fafafa;
  letter-spacing: 0;
}

.access-card-header h3 {
  font-size: 20px;
}

.access-card-header p,
.access-drive-header p {
  margin: 6px 0 0;
  color: #a1a1aa;
  line-height: 1.45;
}

.access-drive-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.access-drive-header h3 {
  font-size: 30px;
}

.access-drive-header > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.34);
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 700;
}

.access-workspace .access-subsection-title {
  color: #71717a;
}

.access-workspace .access-subject-card,
.access-workspace .access-target-card,
.access-workspace .access-detail-card {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.34);
  color: #fafafa;
}

.access-workspace .access-subject-card:hover,
.access-workspace .access-target-card:hover {
  border-color: rgba(147, 197, 253, 0.42);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: none;
}

.access-workspace .access-subject-card.selected,
.access-workspace .access-target-card.selected {
  border-color: rgba(252, 211, 77, 0.56);
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 0 0 1px rgba(252, 211, 77, 0.2);
}

.access-workspace .access-target-card.is-drag-over {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.42);
}

.access-workspace .access-subject-card small,
.access-workspace .access-target-card small,
.access-workspace .access-detail-card small,
.access-workspace .access-member-row small {
  color: #71717a;
}

.access-workspace .access-avatar {
  border-radius: 999px;
  background: linear-gradient(135deg, #fcd34d, #93c5fd);
  color: #020617;
}

.access-workspace .access-target-card {
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
}

.access-target-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.access-folder-glyph {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: rgba(147, 197, 253, 0.1);
  color: #bfdbfe;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.access-workspace .access-target-icon {
  background: rgba(252, 211, 77, 0.1);
  color: #fde68a;
}

.access-workspace .access-target-card strong {
  font-size: 24px;
  line-height: 1.05;
}

.access-workspace .access-target-card small,
.access-workspace .access-detail-card small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.access-workspace .access-member-stack span {
  border-color: rgba(2, 6, 23, 0.9);
  background: rgba(148, 163, 184, 0.14);
  color: #fafafa;
}

.access-workspace .access-member-stack em,
.access-empty {
  color: #71717a;
  font-size: 13px;
}

.access-highlight-card {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  color: #bfdbfe;
  font-size: 13px;
}

.access-highlight-card strong {
  color: #dbeafe;
}

.access-workspace .access-detail-heading {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

.access-workspace .access-detail-icon {
  min-width: 44px;
  background: rgba(147, 197, 253, 0.1);
  color: #bfdbfe;
  font-size: 22px;
  font-weight: 400;
  text-transform: none;
}

.access-workspace label,
.access-workspace summary {
  color: #a1a1aa;
}

.access-workspace input,
.access-workspace select {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.34);
  color: #fafafa;
}

.access-workspace .check-card {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.28);
  color: #fafafa;
}

.access-workspace button:not(.danger) {
  border-color: rgba(252, 211, 77, 0.36);
  background: #fcd34d;
  color: #020617;
}

.access-workspace button:not(.danger):hover {
  background: #fde68a;
}

.access-workspace .access-member-row {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

.pagination {
  padding: 14px;
}

.pagination nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.pagination ul.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-flex;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.28);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.pagination a:hover {
  border-color: rgba(252, 211, 77, 0.55);
  background: rgba(252, 211, 77, 0.1);
}

.pagination .active span {
  border-color: rgba(252, 211, 77, 0.55);
  background: rgba(252, 211, 77, 0.14);
  color: #fde68a;
}

.pagination .disabled span {
  color: var(--muted);
  opacity: 0.55;
}

.pagination svg {
  width: 18px;
  height: 18px;
}

.pagination.storage-jobs-pagination {
  padding: 10px 0 0;
}

.pagination.audit-log-pagination {
  padding: 10px 14px 14px;
}

.code-block {
  overflow: auto;
  min-height: 180px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.34);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.inline-form {
  display: inline-block;
}

.block {
  display: block;
}

.span-2 {
  grid-column: span 2;
}

@media (max-width: 960px) {
  body {
    overflow: auto;
  }

  .app-shell {
    position: static;
    grid-template-columns: 1fr;
    height: auto;
    width: auto;
    overflow: visible;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .main {
    height: auto;
    overflow: visible;
  }

  .sidebar-resizer {
    display: none;
  }

  .drive-detail-page-grid,
  .drive-detail-list.tight,
  .drive-detail-list.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .grid.cols-5,
  .field-row,
  .account-setup-wizard,
  .wizard-flow-header,
  .wizard-card-fields,
  .wizard-permission-picks,
  .access-workspace,
  .permission-grid {
    grid-template-columns: 1fr;
  }

  .wizard-flow {
    margin: 0;
    padding: 22px;
    overflow: auto;
  }

  .wizard-stage,
  .wizard-active-area {
    position: static;
    height: auto;
  }

  .wizard-card,
  .wizard-card-wide {
    position: static;
    width: 100%;
    height: auto;
    min-height: 620px;
  }

  .wizard-stack {
    display: none;
  }

  .wizard-panel-heading,
  .wizard-submit-panel {
    display: grid;
  }

  .access-target-grid {
    grid-template-columns: 1fr;
  }
}
