/* Platform-wide visual presets. Loaded after each module stylesheet. */
:root {
  --ponto-layout-width: 1120px;
  --ponto-layout-pad: 56px;
  --ponto-layout-gap: 16px;
}

html[data-ponto-theme="signal"] {
  --ink: #111827;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #d7deea;
  --line-strong: #bac6d8;
  --canvas: #edf2f7;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --soft: #f7f9fc;
  --backdrop: #edf2f7;
  --accent: #f97316;
  --accent-deep: #c2410c;
  --accent-soft: #fff4e8;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --orange-soft: #fff4e8;
  --blue: #2563eb;
  --teal: #0f9b96;
  --good: #087443;
  --green: #087443;
  --danger: #b42318;
  --red: #b42318;
  --navy: #101a2e;
}

html[data-ponto-theme="cobalt"] {
  --ink: #14213d;
  --ink-soft: #334a74;
  --muted: #64748b;
  --line: #c9d7f0;
  --line-strong: #9fb7df;
  --canvas: #eaf1fc;
  --surface: #ffffff;
  --surface-soft: #f4f8ff;
  --soft: #f4f8ff;
  --backdrop: #eaf1fc;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-soft: #e8f0ff;
  --orange: #2563eb;
  --orange-dark: #1d4ed8;
  --orange-soft: #e8f0ff;
  --blue: #2563eb;
  --teal: #0f766e;
  --good: #047857;
  --green: #047857;
  --danger: #be123c;
  --red: #be123c;
  --navy: #172554;
}

html[data-ponto-theme="copper"] {
  --ink: #2e2118;
  --ink-soft: #5d4030;
  --muted: #7c6658;
  --line: #e2d4c6;
  --line-strong: #cdb7a3;
  --canvas: #f5f0ea;
  --surface: #fffdf9;
  --surface-soft: #fbf5ed;
  --soft: #fbf5ed;
  --backdrop: #f5f0ea;
  --accent: #b45309;
  --accent-deep: #92400e;
  --accent-soft: #fff1df;
  --orange: #b45309;
  --orange-dark: #92400e;
  --orange-soft: #fff1df;
  --blue: #2563eb;
  --teal: #0f766e;
  --good: #26734d;
  --green: #26734d;
  --danger: #b42318;
  --red: #b42318;
  --navy: #3f2b1d;
}

html[data-ponto-theme="midnight"] {
  color-scheme: dark;
  --ink: #edf4ff;
  --ink-soft: #c2d0e5;
  --muted: #93a6c2;
  --line: #2b3c59;
  --line-strong: #405472;
  --canvas: #0b1220;
  --surface: #101a2d;
  --surface-soft: #17233a;
  --soft: #17233a;
  --backdrop: #0b1220;
  --accent: #21b8a6;
  --accent-deep: #5eead4;
  --accent-soft: #133f43;
  --orange: #21b8a6;
  --orange-dark: #5eead4;
  --orange-soft: #133f43;
  --blue: #60a5fa;
  --teal: #21b8a6;
  --good: #4ade80;
  --green: #4ade80;
  --danger: #fb7185;
  --red: #fb7185;
  --navy: #edf4ff;
}

html[data-ponto-theme="midnight"] body { background: var(--canvas); color: var(--ink); }
html[data-ponto-theme="midnight"] input,
html[data-ponto-theme="midnight"] select,
html[data-ponto-theme="midnight"] textarea { background: #17233a; color: var(--ink); border-color: var(--line-strong); }
html[data-ponto-theme="midnight"] input::placeholder,
html[data-ponto-theme="midnight"] textarea::placeholder { color: #8194af; }
html[data-ponto-theme="midnight"] .card,
html[data-ponto-theme="midnight"] .top,
html[data-ponto-theme="midnight"] .workspace-header,
html[data-ponto-theme="midnight"] .coding-header,
html[data-ponto-theme="midnight"] .app-header,
html[data-ponto-theme="midnight"] .service-card,
html[data-ponto-theme="midnight"] .request-panel,
html[data-ponto-theme="midnight"] .order-detail,
html[data-ponto-theme="midnight"] .order-list,
html[data-ponto-theme="midnight"] .module-card { background: var(--surface); color: var(--ink); }
html[data-ponto-theme="midnight"] .button,
html[data-ponto-theme="midnight"] .top a,
html[data-ponto-theme="midnight"] .nav-link { background: var(--surface-soft); color: var(--ink); border-color: var(--line-strong); }
html[data-ponto-theme="midnight"] .notice { background: #132d4c; color: #bfdbfe; border-color: #315a88; }
html[data-ponto-theme="midnight"] .notice.good { background: #123526; color: #bbf7d0; border-color: #26734d; }
html[data-ponto-theme="midnight"] .notice.error { background: #421d2a; color: #fecdd3; border-color: #9f3a50; }

html[data-ponto-layout="wide"] { --ponto-layout-width: 1320px; --ponto-layout-pad: 52px; --ponto-layout-gap: 18px; }
html[data-ponto-layout="compact"] { --ponto-layout-width: 1040px; --ponto-layout-pad: 42px; --ponto-layout-gap: 10px; }
html[data-ponto-layout="focused"] { --ponto-layout-width: 940px; --ponto-layout-pad: 40px; --ponto-layout-gap: 12px; }

/* Keep every workspace aligned to one readable column instead of a full-width canvas. */
html[data-ponto-layout] .shell,
html[data-ponto-layout] .workspace,
html[data-ponto-layout] .coding-main,
html[data-ponto-layout] .file-main,
html[data-ponto-layout] .app-main,
html[data-ponto-layout] .coding-shell {
  width: min(var(--ponto-layout-width), calc(100vw - var(--ponto-layout-pad)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
html[data-ponto-layout] .app-header {
  padding-left: max(24px, calc((100vw - var(--ponto-layout-width)) / 2));
  padding-right: max(24px, calc((100vw - var(--ponto-layout-width)) / 2));
}

html[data-ponto-layout] .coding-header {
  width: min(var(--ponto-layout-width), calc(100vw - var(--ponto-layout-pad)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* Themes change the visual language as well as the palette. */
html[data-ponto-theme="signal"] body { font-family: "Segoe UI", Arial, sans-serif; }
html[data-ponto-theme="signal"] h1,
html[data-ponto-theme="signal"] h2,
html[data-ponto-theme="signal"] h3 { font-family: "Trebuchet MS", "Segoe UI", sans-serif; }

html[data-ponto-theme="cobalt"] body { font-family: Georgia, "Times New Roman", serif; }
html[data-ponto-theme="cobalt"] button,
html[data-ponto-theme="cobalt"] input,
html[data-ponto-theme="cobalt"] select,
html[data-ponto-theme="cobalt"] textarea,
html[data-ponto-theme="cobalt"] .eyebrow,
html[data-ponto-theme="cobalt"] .nav-link,
html[data-ponto-theme="cobalt"] .service-code { font-family: "Segoe UI", Arial, sans-serif; }
html[data-ponto-theme="cobalt"] .app-header { min-height:88px; border-bottom:4px solid var(--accent); background:var(--surface); }
html[data-ponto-theme="cobalt"] .app-header .brand strong { font-size:22px; letter-spacing:.02em; }
html[data-ponto-theme="cobalt"] .app-header .brand small { font-family:"Segoe UI", Arial, sans-serif; }
html[data-ponto-theme="cobalt"] .hero-panel,
html[data-ponto-theme="cobalt"] .dashboard-card,
html[data-ponto-theme="cobalt"] .request-panel,
html[data-ponto-theme="cobalt"] .catalogue-panel,
html[data-ponto-theme="cobalt"] .form-section,
html[data-ponto-theme="cobalt"] .orders-workspace { border-radius:2px; box-shadow:0 7px 20px rgba(37,99,235,.06); }
html[data-ponto-theme="cobalt"] .button,
html[data-ponto-theme="cobalt"] input,
html[data-ponto-theme="cobalt"] select,
html[data-ponto-theme="cobalt"] textarea { border-radius:3px; }
html[data-ponto-theme="cobalt"] .service-item.active,
html[data-ponto-theme="cobalt"] .service-choice-card.selected { border-left:4px solid var(--accent); }

html[data-ponto-theme="copper"] body { font-family:"Trebuchet MS", "Segoe UI", sans-serif; }
html[data-ponto-theme="copper"] h1,
html[data-ponto-theme="copper"] h2,
html[data-ponto-theme="copper"] h3 { font-family:Georgia, "Times New Roman", serif; letter-spacing:.01em; }
html[data-ponto-theme="copper"] .app-header { min-height:86px; border-bottom:1px solid var(--line-strong); background:var(--surface); }
html[data-ponto-theme="copper"] .brand { padding-right:20px; border-right:1px solid var(--line); }
html[data-ponto-theme="copper"] .hero-panel { border-left-width:2px; border-radius:8px; }
html[data-ponto-theme="copper"] .dashboard-card,
html[data-ponto-theme="copper"] .request-panel,
html[data-ponto-theme="copper"] .catalogue-panel,
html[data-ponto-theme="copper"] .form-section { border-radius:8px; box-shadow:0 9px 24px rgba(91,61,36,.06); }
html[data-ponto-theme="copper"] .service-item { border-radius:4px; }
html[data-ponto-theme="copper"] .price-box { border-radius:2px; }

html[data-ponto-theme="midnight"] body { font-family:"Segoe UI", Arial, sans-serif; }
html[data-ponto-theme="midnight"] h1,
html[data-ponto-theme="midnight"] h2,
html[data-ponto-theme="midnight"] h3,
html[data-ponto-theme="midnight"] .brand strong { font-family:Consolas, "Courier New", monospace; letter-spacing:.01em; }
html[data-ponto-theme="midnight"] .app-header { min-height:70px; border-bottom:1px solid #405472; background:#0b1220; }
html[data-ponto-theme="midnight"] .app-header .brand,
html[data-ponto-theme="midnight"] .app-header .brand small,
html[data-ponto-theme="midnight"] .nav-link { color:#dce9fc; }
html[data-ponto-theme="midnight"] .nav-link { border-bottom-width:2px; }
html[data-ponto-theme="midnight"] .hero-panel,
html[data-ponto-theme="midnight"] .dashboard-card,
html[data-ponto-theme="midnight"] .request-panel,
html[data-ponto-theme="midnight"] .catalogue-panel,
html[data-ponto-theme="midnight"] .form-section,
html[data-ponto-theme="midnight"] .orders-workspace { border-radius:2px; box-shadow:none; }
html[data-ponto-theme="midnight"] .button,
html[data-ponto-theme="midnight"] input,
html[data-ponto-theme="midnight"] select,
html[data-ponto-theme="midnight"] textarea { border-radius:2px; }
html[data-ponto-theme="midnight"] .service-item,
html[data-ponto-theme="midnight"] .service-choice-card,
html[data-ponto-theme="midnight"] .choice-card { border-left:3px solid transparent; }
html[data-ponto-theme="midnight"] .service-item.active,
html[data-ponto-theme="midnight"] .service-choice-card.selected { border-left-color:var(--accent); }

/* Layouts deliberately alter information structure, not only the page width. */
html[data-ponto-layout="wide"] .service-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
html[data-ponto-layout="wide"] .service-choice-card { min-height:112px; }
html[data-ponto-layout="wide"] .request-layout { grid-template-columns:280px minmax(0,1fr); }

html[data-ponto-layout="compact"] .app-header { min-height:62px; }
html[data-ponto-layout="compact"] .workspace { margin-top:14px; margin-bottom:28px; }
html[data-ponto-layout="compact"] .hero-panel,
html[data-ponto-layout="compact"] .dashboard-card,
html[data-ponto-layout="compact"] .service-detail,
html[data-ponto-layout="compact"] .form-section { padding:14px; }
html[data-ponto-layout="compact"] .request-layout { grid-template-columns:220px minmax(0,1fr); gap:10px; }
html[data-ponto-layout="compact"] .catalogue-panel { padding:10px; }
html[data-ponto-layout="compact"] .service-item { padding:8px; }
html[data-ponto-layout="compact"] .service-item span:last-child,
html[data-ponto-layout="compact"] .service-choice-card small { display:none; }

html[data-ponto-layout="focused"] .request-layout { grid-template-columns:1fr; }
html[data-ponto-layout="focused"] .catalogue-panel { position:static; padding:12px; }
html[data-ponto-layout="focused"] .catalogue-panel .service-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
html[data-ponto-layout="focused"] .service-detail { padding:20px; }
html[data-ponto-layout="focused"] .hero-panel { grid-template-columns:1fr; padding:26px; }
html[data-ponto-layout="focused"] .flow-card { display:none; }
html[data-ponto-layout="focused"] .overview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
html[data-ponto-layout="compact"] .shell { padding-top: 24px; padding-bottom: 36px; }
html[data-ponto-layout="compact"] .card { padding: 16px; }
html[data-ponto-layout="compact"] .top,
html[data-ponto-layout="compact"] .workspace-header { padding: 16px 20px; }
html[data-ponto-layout="compact"] .grid,
html[data-ponto-layout="compact"] .module-grid,
html[data-ponto-layout="compact"] .profile-grid,
html[data-ponto-layout="compact"] .editor-grid { gap: 10px; }

.appearance-controls { display: grid; gap: 16px; }
.appearance-preset-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.appearance-preset { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 10px; min-height: 132px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.appearance-preset:hover { border-color: var(--accent); transform: translateY(-1px); }
.appearance-preset.selected { border: 2px solid var(--accent); box-shadow: 0 8px 18px rgba(15, 23, 42, .09); }
.appearance-preset input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.appearance-preset strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 14px; }
.appearance-preset small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35; }
.appearance-swatch { display: grid; grid-template-rows: repeat(3, 1fr); width: 40px; height: 68px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); }
.appearance-swatch i { display: block; }
.appearance-layout-select { max-width: 520px; }

@media (max-width: 1040px) { .appearance-preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .appearance-preset-grid { grid-template-columns: 1fr; } html[data-ponto-layout] .shell { width: min(100% - 24px, var(--ponto-layout-width)); } }

/*
  Structural modes. These intentionally change reading order and density rather
  than merely changing colours, so each choice feels like a different product.
*/

/* Cobalt is an editorial desk: navigation becomes a separate masthead rail and
   the service catalogue runs across the page before the working form. */
html[data-ponto-theme="cobalt"] .app-header {
  display:grid;
  grid-template-columns:minmax(260px, 1fr) auto;
  gap:0 24px;
  align-items:center;
  padding-top:18px;
  padding-bottom:0;
}
html[data-ponto-theme="cobalt"] .app-nav {
  grid-column:1 / -1;
  grid-row:2;
  display:flex;
  gap:0;
  width:100%;
  margin:18px 0 0;
  border-top:1px solid var(--line);
}
html[data-ponto-theme="cobalt"] .app-nav .nav-link {
  flex:0 0 auto;
  min-height:44px;
  padding:0 20px;
  border:0;
  border-right:1px solid var(--line);
  border-radius:0;
  background:transparent;
  font-family:"Segoe UI", Arial, sans-serif;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
html[data-ponto-theme="cobalt"] .app-nav .nav-link.active { background:var(--accent); color:#fff; }
html[data-ponto-theme="cobalt"] .workspace-view > .view-heading,
html[data-ponto-theme="cobalt"] .coding-intro {
  border-bottom:1px solid var(--line-strong);
  padding-bottom:22px;
  margin-bottom:22px;
}
html[data-ponto-theme="cobalt"] .hero-panel {
  grid-template-columns:1.65fr .7fr;
  padding:30px 0;
  border-left:0;
  border-right:0;
  border-bottom:0;
  background:transparent;
  box-shadow:none;
}
html[data-ponto-theme="cobalt"] .flow-card {
  align-self:stretch;
  padding:18px 0 18px 24px;
  border-left:2px solid var(--accent);
  background:transparent;
}
html[data-ponto-theme="cobalt"] .request-layout,
html[data-ponto-theme="cobalt"] .coding-layout {
  display:block;
}
html[data-ponto-theme="cobalt"] .catalogue-panel,
html[data-ponto-theme="cobalt"] .service-sidebar {
  position:static;
  display:grid;
  grid-template-columns:210px minmax(0, 1fr);
  gap:20px;
  margin:0 0 22px;
  padding:18px 0;
  border:0;
  border-top:3px solid var(--navy);
  border-bottom:1px solid var(--line-strong);
  background:transparent;
  box-shadow:none;
}
html[data-ponto-theme="cobalt"] .catalogue-panel .panel-heading,
html[data-ponto-theme="cobalt"] .service-sidebar .panel-heading { align-self:start; }
html[data-ponto-theme="cobalt"] .catalogue-panel .service-list,
html[data-ponto-theme="cobalt"] .service-sidebar .service-list {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}
html[data-ponto-theme="cobalt"] .service-item {
  min-height:80px;
  padding:12px;
  border:1px solid var(--line);
  border-left:1px solid var(--line);
  background:var(--surface);
}
html[data-ponto-theme="cobalt"] .service-item.active { border:2px solid var(--accent); }
html[data-ponto-theme="cobalt"] .work-panel { min-width:0; }
html[data-ponto-theme="cobalt"] .service-detail,
html[data-ponto-theme="cobalt"] .request-panel-wide {
  border-top:4px solid var(--accent);
  border-radius:0;
  box-shadow:none;
}
html[data-ponto-theme="cobalt"] .coding-header {
  display:flex;
  width:min(var(--ponto-layout-width), calc(100vw - var(--ponto-layout-pad)));
  padding:0;
  border-bottom:4px solid var(--accent);
  border-radius:0;
  box-shadow:none;
}
html[data-ponto-theme="cobalt"] .coding-intro { display:grid; grid-template-columns:1fr 240px; gap:24px; }
html[data-ponto-theme="cobalt"] .coding-intro-note { border-left:2px solid var(--accent); border-radius:0; background:transparent; }
html[data-ponto-theme="cobalt"] .module-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); }
html[data-ponto-theme="cobalt"] .module-card { border-radius:0; border-top:5px solid var(--accent); box-shadow:none; }

/* Copper is a studio workflow: one central paper sheet and a step-by-step,
   vertically stacked request rather than a control-room dashboard. */
html[data-ponto-theme="copper"] .app-header {
  width:min(var(--ponto-layout-width), calc(100vw - var(--ponto-layout-pad)));
  margin:20px auto 0;
  padding:20px 26px;
  border:1px solid var(--line-strong);
  border-top:6px solid var(--accent);
  border-radius:10px 10px 0 0;
  box-shadow:none;
}
html[data-ponto-theme="copper"] .workspace { margin-top:0; padding-top:0; }
html[data-ponto-theme="copper"] .workspace-view {
  padding:28px;
  border:1px solid var(--line-strong);
  border-top:0;
  background:var(--surface);
}
html[data-ponto-theme="copper"] .workspace-view + .workspace-view { margin-top:18px; border-top:1px solid var(--line-strong); }
html[data-ponto-theme="copper"] .hero-panel {
  display:block;
  padding:8px 0 28px;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  box-shadow:none;
}
html[data-ponto-theme="copper"] .hero-copy { max-width:700px; }
html[data-ponto-theme="copper"] .flow-card {
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:22px;
  padding:12px 0;
  border:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
}
html[data-ponto-theme="copper"] .flow-card ol { display:flex; flex-wrap:wrap; gap:12px 24px; margin:0; }
html[data-ponto-theme="copper"] .flow-card li { margin:0; font-size:12px; }
html[data-ponto-theme="copper"] .overview-grid,
html[data-ponto-theme="copper"] .dashboard-grid { grid-template-columns:1fr; }
html[data-ponto-theme="copper"] .dashboard-card { display:grid; grid-template-columns:1fr auto; align-items:end; gap:22px; border-radius:0; box-shadow:none; }
html[data-ponto-theme="copper"] .request-layout,
html[data-ponto-theme="copper"] .coding-layout { display:flex; flex-direction:column; gap:18px; }
html[data-ponto-theme="copper"] .catalogue-panel,
html[data-ponto-theme="copper"] .service-sidebar {
  position:static;
  display:block;
  padding:0 0 16px;
  border:0;
  border-bottom:2px solid var(--accent);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
html[data-ponto-theme="copper"] .catalogue-panel .panel-heading,
html[data-ponto-theme="copper"] .service-sidebar .panel-heading { display:flex; align-items:baseline; justify-content:space-between; }
html[data-ponto-theme="copper"] .catalogue-panel .service-list,
html[data-ponto-theme="copper"] .service-sidebar .service-list { display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; }
html[data-ponto-theme="copper"] .service-item {
  flex:0 1 auto;
  min-width:145px;
  padding:9px 12px;
  border-radius:999px;
  background:var(--surface-soft);
}
html[data-ponto-theme="copper"] .service-item span:last-child,
html[data-ponto-theme="copper"] .service-item small { display:none; }
html[data-ponto-theme="copper"] .service-item.active { background:var(--accent); color:#fff; border-color:var(--accent); }
html[data-ponto-theme="copper"] .service-detail,
html[data-ponto-theme="copper"] .request-panel-wide { border-radius:0; border-top:0; box-shadow:none; }
html[data-ponto-theme="copper"] .coding-header { width:min(var(--ponto-layout-width), calc(100vw - var(--ponto-layout-pad))); margin-top:20px; border-top:6px solid var(--accent); border-radius:10px 10px 0 0; box-shadow:none; }
html[data-ponto-theme="copper"] .coding-shell { margin-top:0; padding:28px; border:1px solid var(--line-strong); border-top:0; background:var(--surface); }
html[data-ponto-theme="copper"] .coding-intro { display:block; padding-bottom:20px; border-bottom:1px solid var(--line); }
html[data-ponto-theme="copper"] .coding-intro-note { margin-top:14px; background:var(--surface-soft); border-radius:0; }
html[data-ponto-theme="copper"] .module-grid { grid-template-columns:1fr; }
html[data-ponto-theme="copper"] .module-card { display:grid; grid-template-columns:120px minmax(0, 1fr) auto; align-items:center; gap:18px; border-radius:0; box-shadow:none; }
html[data-ponto-theme="copper"] .module-card ul { display:none; }

/* Midnight is intentionally a dense technician console: a dark command bar,
   compact panels and an always-visible navigation rail. */
html[data-ponto-theme="midnight"] .app-header {
  display:grid;
  grid-template-columns:260px minmax(0, 1fr) auto;
  gap:16px;
  min-height:72px;
  padding-top:0;
  padding-bottom:0;
  background:#080e19;
  border:1px solid #405472;
  border-left:5px solid var(--accent);
}
html[data-ponto-theme="midnight"] .app-nav { display:flex; align-self:stretch; gap:0; margin:0; }
html[data-ponto-theme="midnight"] .app-nav .nav-link {
  min-height:70px;
  padding:0 13px;
  border:0;
  border-left:1px solid #253751;
  border-radius:0;
  background:transparent;
  font-family:Consolas, "Courier New", monospace;
  font-size:11px;
  letter-spacing:.04em;
}
html[data-ponto-theme="midnight"] .app-nav .nav-link.active { background:#163447; color:#5eead4; }
html[data-ponto-theme="midnight"] .workspace { width:min(1440px, calc(100vw - 42px)); }
html[data-ponto-theme="midnight"] .hero-panel { grid-template-columns:1fr 320px; padding:18px; border-left:4px solid var(--accent); }
html[data-ponto-theme="midnight"] .hero-panel h1 { font-size:clamp(24px, 2vw, 34px); }
html[data-ponto-theme="midnight"] .flow-card { border-radius:0; background:#0b1524; }
html[data-ponto-theme="midnight"] .request-layout,
html[data-ponto-theme="midnight"] .coding-layout { grid-template-columns:250px minmax(0, 1fr); gap:12px; }
html[data-ponto-theme="midnight"] .catalogue-panel,
html[data-ponto-theme="midnight"] .service-sidebar { position:sticky; top:12px; max-height:calc(100vh - 30px); overflow:auto; padding:10px; background:#0c1524; }
html[data-ponto-theme="midnight"] .service-item { padding:8px 10px; border-radius:0; background:#101e31; }
html[data-ponto-theme="midnight"] .service-item.active { background:#123b45; color:#d8fff7; }
html[data-ponto-theme="midnight"] .service-detail,
html[data-ponto-theme="midnight"] .request-panel-wide { min-height:620px; border-top:2px solid var(--accent); }
html[data-ponto-theme="midnight"] .coding-header { width:min(1440px, calc(100vw - 42px)); min-height:72px; border-radius:0; border-left:5px solid var(--accent); background:#080e19; box-shadow:none; }
html[data-ponto-theme="midnight"] .coding-shell { width:min(1440px, calc(100vw - 42px)); }
html[data-ponto-theme="midnight"] .coding-intro { display:flex; align-items:end; padding:18px; border:1px solid var(--line-strong); background:#0e192a; }
html[data-ponto-theme="midnight"] .coding-intro-note { margin-left:auto; max-width:260px; border-radius:0; background:#10263a; }
html[data-ponto-theme="midnight"] .module-grid { grid-template-columns:repeat(4, minmax(0, 1fr)); gap:2px; }
html[data-ponto-theme="midnight"] .module-card { min-height:250px; border-radius:0; box-shadow:none; background:#101a2d; }
html[data-ponto-theme="midnight"] .module-card ul { font-size:12px; }

/* Signal stays operational, but has a recognisably different card-forward
   dashboard rather than inheriting one of the alternative structures. */
html[data-ponto-theme="signal"] .app-header { border-radius:12px; box-shadow:0 12px 30px rgba(15, 23, 42, .07); }
html[data-ponto-theme="signal"] .hero-panel { border-radius:12px; }
html[data-ponto-theme="signal"] .catalogue-panel { border-radius:10px; }
html[data-ponto-theme="signal"] .coding-header { border-radius:12px; box-shadow:0 12px 30px rgba(15, 23, 42, .07); }

@media (max-width: 980px) {
  html[data-ponto-theme="cobalt"] .catalogue-panel,
  html[data-ponto-theme="cobalt"] .service-sidebar { grid-template-columns:1fr; }
  html[data-ponto-theme="cobalt"] .catalogue-panel .service-list,
  html[data-ponto-theme="cobalt"] .service-sidebar .service-list { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  html[data-ponto-theme="midnight"] .app-header { grid-template-columns:1fr auto; padding-top:10px; }
  html[data-ponto-theme="midnight"] .app-nav { grid-column:1 / -1; grid-row:2; }
  html[data-ponto-theme="midnight"] .request-layout,
  html[data-ponto-theme="midnight"] .coding-layout { grid-template-columns:1fr; }
  html[data-ponto-theme="midnight"] .catalogue-panel,
  html[data-ponto-theme="midnight"] .service-sidebar { position:static; max-height:none; }
}

@media (max-width: 680px) {
  html[data-ponto-theme="cobalt"] .app-header,
  html[data-ponto-theme="midnight"] .app-header { display:flex; flex-wrap:wrap; padding:14px; }
  html[data-ponto-theme="cobalt"] .app-nav,
  html[data-ponto-theme="midnight"] .app-nav { order:3; width:100%; overflow:auto; }
  html[data-ponto-theme="cobalt"] .app-nav .nav-link,
  html[data-ponto-theme="midnight"] .app-nav .nav-link { flex:0 0 auto; }
  html[data-ponto-theme="cobalt"] .catalogue-panel .service-list,
  html[data-ponto-theme="cobalt"] .service-sidebar .service-list { grid-template-columns:1fr; }
  html[data-ponto-theme="copper"] .workspace-view,
  html[data-ponto-theme="copper"] .coding-shell { padding:18px; }
  html[data-ponto-theme="copper"] .dashboard-card,
  html[data-ponto-theme="copper"] .module-card { display:block; }
}

/* Coding portal contrast repair for the Midnight technician console.
   coding.css predates themes and contains hard-coded light surfaces. */
html[data-ponto-theme="midnight"] .coding-body,
html[data-ponto-theme="midnight"] .coding-shell,
html[data-ponto-theme="midnight"] .coding-header,
html[data-ponto-theme="midnight"] .coding-intro,
html[data-ponto-theme="midnight"] .service-sidebar,
html[data-ponto-theme="midnight"] .work-panel,
html[data-ponto-theme="midnight"] .orders-section,
html[data-ponto-theme="midnight"] .service-detail,
html[data-ponto-theme="midnight"] .order-detail { color: #edf4ff; }

html[data-ponto-theme="midnight"] .coding-brand,
html[data-ponto-theme="midnight"] .coding-brand strong,
html[data-ponto-theme="midnight"] .coding-shell h1,
html[data-ponto-theme="midnight"] .coding-shell h2,
html[data-ponto-theme="midnight"] .coding-shell h3,
html[data-ponto-theme="midnight"] .coding-shell h4,
html[data-ponto-theme="midnight"] .service-item,
html[data-ponto-theme="midnight"] .service-item strong,
html[data-ponto-theme="midnight"] .panel-heading,
html[data-ponto-theme="midnight"] .form-field label,
html[data-ponto-theme="midnight"] .checkbox-grid label,
html[data-ponto-theme="midnight"] .addon-choice,
html[data-ponto-theme="midnight"] .ncd-scope-choice,
html[data-ponto-theme="midnight"] .detail-stat strong,
html[data-ponto-theme="midnight"] .order-detail-head h3 { color: #edf4ff; }

html[data-ponto-theme="midnight"] .coding-brand small,
html[data-ponto-theme="midnight"] .coding-intro > div > p:last-child,
html[data-ponto-theme="midnight"] .service-detail p,
html[data-ponto-theme="midnight"] .service-item span:last-child,
html[data-ponto-theme="midnight"] .service-meta span,
html[data-ponto-theme="midnight"] .form-help,
html[data-ponto-theme="midnight"] .feature-options label small,
html[data-ponto-theme="midnight"] .addon-choice small,
html[data-ponto-theme="midnight"] .ncd-scope-choice small,
html[data-ponto-theme="midnight"] .detail-stat span,
html[data-ponto-theme="midnight"] .order-detail-head p { color: #b9c9df; }

html[data-ponto-theme="midnight"] .service-sidebar,
html[data-ponto-theme="midnight"] .work-panel,
html[data-ponto-theme="midnight"] .orders-section,
html[data-ponto-theme="midnight"] .service-detail,
html[data-ponto-theme="midnight"] .order-detail { background: #0e192a; border-color: #314966; }

html[data-ponto-theme="midnight"] .service-sidebar .service-item,
html[data-ponto-theme="midnight"] .service-meta > *,
html[data-ponto-theme="midnight"] .workflow-guide,
html[data-ponto-theme="midnight"] .ncd-selection,
html[data-ponto-theme="midnight"] .ncd-scope-choice,
html[data-ponto-theme="midnight"] .checkbox-grid,
html[data-ponto-theme="midnight"] .feature-options,
html[data-ponto-theme="midnight"] .addon-choice,
html[data-ponto-theme="midnight"] .detail-grid,
html[data-ponto-theme="midnight"] .detail-stat { background: #142238; border-color: #365170; color: #edf4ff; }

html[data-ponto-theme="midnight"] .service-sidebar .service-item:hover,
html[data-ponto-theme="midnight"] .service-sidebar .service-item.active { background: #e7fff8; border-color: #5eead4; color: #082b30; }
html[data-ponto-theme="midnight"] .service-sidebar .service-item.active *,
html[data-ponto-theme="midnight"] .service-sidebar .service-item:hover * { color: #082b30 !important; }
html[data-ponto-theme="midnight"] .service-sidebar .service-item.active .service-code,
html[data-ponto-theme="midnight"] .service-sidebar .service-item:hover .service-code { color: #08756d !important; }

html[data-ponto-theme="midnight"] .eyebrow,
html[data-ponto-theme="midnight"] .service-item .service-code,
html[data-ponto-theme="midnight"] .workflow-guide summary::after { color: #5eead4; }

html[data-ponto-theme="midnight"] .coding-intro-note,
html[data-ponto-theme="midnight"] .price-box,
html[data-ponto-theme="midnight"] .feature-price-summary,
html[data-ponto-theme="midnight"] .service-warning { background: #123a42; border-color: #5eead4; color: #d9fff9 !important; }
html[data-ponto-theme="midnight"] .coding-intro-note span,
html[data-ponto-theme="midnight"] .price-box strong,
html[data-ponto-theme="midnight"] .price-box span,
html[data-ponto-theme="midnight"] .price-box strong small,
html[data-ponto-theme="midnight"] .price-box strong span,
html[data-ponto-theme="midnight"] .feature-price-summary small,
html[data-ponto-theme="midnight"] .feature-price-summary del { color: #d9fff9 !important; }
html[data-ponto-theme="midnight"] .price-box strong b,
html[data-ponto-theme="midnight"] .feature-price-summary b { color: #7dd3fc; }

html[data-ponto-theme="midnight"] .workflow-guide { border-left-color: #5eead4; }
html[data-ponto-theme="midnight"] .workflow-guide summary,
html[data-ponto-theme="midnight"] .workflow-guide ol,
html[data-ponto-theme="midnight"] .workflow-guide li,
html[data-ponto-theme="midnight"] .service-eligibility,
html[data-ponto-theme="midnight"] .service-eligibility strong,
html[data-ponto-theme="midnight"] .service-eligibility span { color: #e5eefc; }
html[data-ponto-theme="midnight"] .service-eligibility { background: #112746; border-color: #5fa8ff; }
html[data-ponto-theme="midnight"] .service-eligibility strong { color: #93c5fd; }

html[data-ponto-theme="midnight"] .coding-shell input,
html[data-ponto-theme="midnight"] .coding-shell select,
html[data-ponto-theme="midnight"] .coding-shell textarea { background: #0b1524; border-color: #405a7b; color: #edf4ff; }
html[data-ponto-theme="midnight"] .coding-shell input:focus,
html[data-ponto-theme="midnight"] .coding-shell select:focus,
html[data-ponto-theme="midnight"] .coding-shell textarea:focus { border-color: #5eead4; box-shadow: 0 0 0 3px rgba(94, 234, 212, .16); }

/* Midnight admin overview: portal.css uses fixed light metric and table surfaces. */
html[data-ponto-theme="midnight"] .admin-shell .overview .stat,
html[data-ponto-theme="midnight"] .admin-shell .summary-block,
html[data-ponto-theme="midnight"] .admin-shell .table-wrap {
  background: #142238 !important;
  border-color: #3b5272 !important;
  color: #edf4ff !important;
}

html[data-ponto-theme="midnight"] .admin-shell .overview .stat {
  border-top-width: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 12px 24px rgba(0,0,0,.18);
}
html[data-ponto-theme="midnight"] .admin-shell .overview .stat:nth-child(4n + 1) { border-top-color: #60a5fa !important; }
html[data-ponto-theme="midnight"] .admin-shell .overview .stat:nth-child(4n + 2) { border-top-color: #4ade80 !important; }
html[data-ponto-theme="midnight"] .admin-shell .overview .stat:nth-child(4n + 3) { border-top-color: #5eead4 !important; }
html[data-ponto-theme="midnight"] .admin-shell .overview .stat:nth-child(4n) { border-top-color: #fbbf24 !important; }

html[data-ponto-theme="midnight"] .admin-shell .overview .stat span { color: #9fb4d1 !important; }
html[data-ponto-theme="midnight"] .admin-shell .overview .stat strong { color: #f8fbff !important; }
html[data-ponto-theme="midnight"] .admin-shell .summary-block h3,
html[data-ponto-theme="midnight"] .admin-shell .summary-block h4,
html[data-ponto-theme="midnight"] .admin-shell .summary-block strong { color: #edf4ff !important; }
html[data-ponto-theme="midnight"] .admin-shell .summary-block p,
html[data-ponto-theme="midnight"] .admin-shell .summary-block small,
html[data-ponto-theme="midnight"] .admin-shell .summary-block span { color: #b8c8dd; }

html[data-ponto-theme="midnight"] .admin-shell .table-wrap table { background: #101c30 !important; color: #e5eefc; }
html[data-ponto-theme="midnight"] .admin-shell .table-wrap thead th {
  background: #0d1728 !important;
  border-color: #3b5272 !important;
  color: #9fb4d1 !important;
}
html[data-ponto-theme="midnight"] .admin-shell .table-wrap tbody td {
  border-color: #304764 !important;
  color: #e5eefc !important;
}
html[data-ponto-theme="midnight"] .admin-shell .table-wrap tbody tr:nth-child(odd) td { background: #142238 !important; }
html[data-ponto-theme="midnight"] .admin-shell .table-wrap tbody tr:nth-child(even) td { background: #101d31 !important; }
html[data-ponto-theme="midnight"] .admin-shell .table-wrap tbody td small,
html[data-ponto-theme="midnight"] .admin-shell .table-wrap tbody td span { color: #b8c8dd !important; }
html[data-ponto-theme="midnight"] .admin-shell .summary-block .button {
  background: #112946;
  border-color: #426489;
  color: #dcecff;
}
html[data-ponto-theme="midnight"] .admin-shell .summary-block .button:hover {
  background: #153552;
  border-color: #5eead4;
  color: #eafffb;
}

/* Midnight workspace order queue: portal.css uses fixed white order rows. */
html[data-ponto-theme="midnight"] .owner-queue {
  background: #0f1b2e !important;
  border-color: #3b5272 !important;
  border-top-color: #5eead4 !important;
  color: #edf4ff !important;
}
html[data-ponto-theme="midnight"] .owner-queue-head { border-color: #304764 !important; }
html[data-ponto-theme="midnight"] .owner-queue-head h2 { color: #f8fbff !important; }
html[data-ponto-theme="midnight"] .owner-queue-head p { color: #b8c8dd !important; }

html[data-ponto-theme="midnight"] .owner-queue-metric {
  background: #172842 !important;
  border-color: #3f5878 !important;
  color: #edf4ff !important;
}
html[data-ponto-theme="midnight"] .owner-queue-metric small { color: #aebfd5 !important; }
html[data-ponto-theme="midnight"] .owner-queue-metric strong { color: #f8fbff !important; }
html[data-ponto-theme="midnight"] .owner-queue-metric.review { border-top-color: #5eead4 !important; }
html[data-ponto-theme="midnight"] .owner-queue-metric.reply { border-top-color: #60a5fa !important; }
html[data-ponto-theme="midnight"] .owner-queue-metric.progress { border-top-color: #4ade80 !important; }

html[data-ponto-theme="midnight"] .owner-queue-row {
  background: #142238 !important;
  border-color: #405a7b !important;
  color: #edf4ff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-ponto-theme="midnight"] .owner-queue-row:hover {
  background: #182d49 !important;
  border-color: #5eead4 !important;
}
html[data-ponto-theme="midnight"] .owner-queue-row-main b,
html[data-ponto-theme="midnight"] .owner-queue-row-main strong { color: #f8fbff !important; }
html[data-ponto-theme="midnight"] .owner-queue-row-main small,
html[data-ponto-theme="midnight"] .owner-queue-row-action small { color: #b8c8dd !important; }
html[data-ponto-theme="midnight"] .owner-queue-age { border-color: #405a7b !important; }
html[data-ponto-theme="midnight"] .owner-queue-age small,
html[data-ponto-theme="midnight"] .owner-queue-age time { color: #9eb0c8 !important; }
html[data-ponto-theme="midnight"] .owner-queue-age strong { color: #ffad72 !important; }
html[data-ponto-theme="midnight"] .owner-queue-age.reply strong { color: #72a8ff !important; }
html[data-ponto-theme="midnight"] .owner-queue-age.progress strong { color: #5eead4 !important; }
html[data-ponto-theme="midnight"] .owner-queue-age.waiting strong { color: #b8c8dd !important; }
html[data-ponto-theme="midnight"] .owner-queue-row-main i {
  background: #243a59 !important;
  color: #dcecff !important;
}
html[data-ponto-theme="midnight"] .owner-queue-row-action em { color: #5eead4 !important; }
html[data-ponto-theme="midnight"] .owner-queue-open {
  background: #112946 !important;
  border-color: #47678d !important;
  color: #e8f2ff !important;
}
html[data-ponto-theme="midnight"] .owner-queue-open:hover {
  background: #153a56 !important;
  border-color: #5eead4 !important;
  color: #eafffb !important;
}
html[data-ponto-theme="midnight"] .owner-queue-empty {
  background: #142238 !important;
  border-color: #47678d !important;
  color: #b8c8dd !important;
}
html[data-ponto-theme="midnight"] .owner-queue-empty strong { color: #f8fbff !important; }

/* Midnight platform settings: fixed white controls from portal.css need their own surface. */
html[data-ponto-theme="midnight"] .platform-settings-card,
html[data-ponto-theme="midnight"] .quick-catalogue-card {
  background: #142238 !important;
  border-color: #3b5272 !important;
  color: #edf4ff !important;
}
html[data-ponto-theme="midnight"] .settings-card-head h3,
html[data-ponto-theme="midnight"] .global-module-card legend { color: #f8fbff !important; }
html[data-ponto-theme="midnight"] .settings-card-head p,
html[data-ponto-theme="midnight"] .global-module-card small { color: #b8c8dd !important; }

html[data-ponto-theme="midnight"] .switch-label {
  background: #172842 !important;
  border-color: #466081 !important;
  color: #edf4ff !important;
}
html[data-ponto-theme="midnight"] .switch-label input { accent-color: #2dd4bf !important; }
html[data-ponto-theme="midnight"] .global-module-card {
  background: #101d31 !important;
  border-color: #405a7b !important;
  color: #edf4ff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-ponto-theme="midnight"] .global-module-card .module-live-switch {
  background: #123a35 !important;
  border-color: #2f8d80 !important;
  color: #e3fff8 !important;
}
html[data-ponto-theme="midnight"] .global-module-card label,
html[data-ponto-theme="midnight"] .global-module-card label:not(.switch-label) {
  color: #c8d8eb !important;
}
html[data-ponto-theme="midnight"] .global-module-card input,
html[data-ponto-theme="midnight"] .global-module-card textarea,
html[data-ponto-theme="midnight"] .platform-settings-card input,
html[data-ponto-theme="midnight"] .platform-settings-card textarea {
  background: #0b1524 !important;
  border-color: #466081 !important;
  color: #f5f9ff !important;
}
html[data-ponto-theme="midnight"] .global-module-card input:focus,
html[data-ponto-theme="midnight"] .global-module-card textarea:focus,
html[data-ponto-theme="midnight"] .platform-settings-card input:focus,
html[data-ponto-theme="midnight"] .platform-settings-card textarea:focus {
  border-color: #5eead4 !important;
  box-shadow: 0 0 0 3px rgba(94,234,212,.14) !important;
}

/* Operations Dark
   Shared version of the Coding operations language for the customer portal,
   File Service, administrator workspace and hosted Dyno module. */
html[data-ponto-theme="operations"] {
  color-scheme: dark;
  --ink: #f4f7fb;
  --ink-soft: #c7d1df;
  --muted: #8f9daf;
  --line: #29364a;
  --line-strong: #3b4c65;
  --canvas: #080b12;
  --surface: #111824;
  --surface-soft: #151e2d;
  --soft: #151e2d;
  --backdrop: #080b12;
  --bg: #080b12;
  --panel: #111824;
  --soft-line: #29364a;
  --accent: #ff7438;
  --accent-deep: #ff9d58;
  --accent-soft: #2b1d19;
  --ponto-price: #ffb37b;
  --ponto-price-soft: rgba(255,138,61,.14);
  --ponto-price-line: rgba(255,179,123,.3);
  --orange: #ff7438;
  --orange-dark: #ff9d58;
  --orange-soft: #2b1d19;
  --blue: #72a8ff;
  --blue-soft: #13233a;
  --teal: #4dd7d0;
  --teal-soft: #12302f;
  --good: #48d597;
  --green: #48d597;
  --green-soft: #112b24;
  --danger: #ff7b86;
  --red: #ff7b86;
  --navy: #f4f7fb;
  --shadow: 0 22px 56px rgba(0,0,0,.3);
}

html[data-ponto-theme="operations"] body {
  color: var(--ink);
  background:
    radial-gradient(circle at 75% -10%, rgba(77,215,208,.065), transparent 30rem),
    radial-gradient(circle at 8% 12%, rgba(114,168,255,.035), transparent 26rem),
    linear-gradient(180deg, #090d15, #080b12 58%, #0b1019) !important;
}

html[data-ponto-theme="operations"] body::before {
  height: 100%;
  z-index: -1;
  opacity: .28;
  pointer-events: none;
  background-color: transparent !important;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
}

html[data-ponto-theme="operations"] h1,
html[data-ponto-theme="operations"] h2,
html[data-ponto-theme="operations"] h3,
html[data-ponto-theme="operations"] h4,
html[data-ponto-theme="operations"] .brand strong {
  color: #f4f7fb !important;
  letter-spacing: -.02em;
}

html[data-ponto-theme="operations"] .top,
html[data-ponto-theme="operations"] .workspace-header,
html[data-ponto-theme="operations"] .app-header,
html[data-ponto-theme="operations"] .topbar {
  color: var(--ink);
  border-color: var(--line) !important;
  border-left-color: var(--line) !important;
  border-radius: 14px;
  background: rgba(13,18,28,.92) !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.035) !important;
  backdrop-filter: blur(16px);
}

html[data-ponto-theme="operations"] .app-header { border-radius: 0; }
html[data-ponto-theme="operations"] .brand small,
html[data-ponto-theme="operations"] .brand p,
html[data-ponto-theme="operations"] .topbar p { color: var(--muted) !important; }
html[data-ponto-theme="operations"] .eyebrow,
html[data-ponto-theme="operations"] .module-code,
html[data-ponto-theme="operations"] .service-code { color: #ff9d58 !important; }

html[data-ponto-theme="operations"] .card,
html[data-ponto-theme="operations"] .workspace-welcome,
html[data-ponto-theme="operations"] .module-area,
html[data-ponto-theme="operations"] .hero-panel,
html[data-ponto-theme="operations"] .dashboard-card,
html[data-ponto-theme="operations"] .request-panel,
html[data-ponto-theme="operations"] .catalogue-panel,
html[data-ponto-theme="operations"] .form-section,
html[data-ponto-theme="operations"] .orders-workspace,
html[data-ponto-theme="operations"] .admin-queue,
html[data-ponto-theme="operations"] .admin-queue-panel,
html[data-ponto-theme="operations"] .admin-file-hero,
html[data-ponto-theme="operations"] .platform-settings-card,
html[data-ponto-theme="operations"] .quick-catalogue-card,
html[data-ponto-theme="operations"] .summary-block,
html[data-ponto-theme="operations"] .table-wrap,
html[data-ponto-theme="operations"] .owner-queue,
html[data-ponto-theme="operations"] .panel,
html[data-ponto-theme="operations"] .chart-panel,
html[data-ponto-theme="operations"] .metrics {
  color: var(--ink) !important;
  border-color: var(--line) !important;
  border-radius: 12px;
  background: rgba(17,24,36,.97) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-ponto-theme="operations"] .module-card,
html[data-ponto-theme="operations"] .service-item,
html[data-ponto-theme="operations"] .service-choice-card,
html[data-ponto-theme="operations"] .choice-card,
html[data-ponto-theme="operations"] .global-module-card,
html[data-ponto-theme="operations"] .profile-grid .stat,
html[data-ponto-theme="operations"] .overview .stat,
html[data-ponto-theme="operations"] .admin-stat,
html[data-ponto-theme="operations"] .detail-stat,
html[data-ponto-theme="operations"] .request-step,
html[data-ponto-theme="operations"] .upload-slot,
html[data-ponto-theme="operations"] .vehicle-picker,
html[data-ponto-theme="operations"] .settings-grid fieldset,
html[data-ponto-theme="operations"] .security-grid article,
html[data-ponto-theme="operations"] .file-tool-row {
  color: var(--ink) !important;
  border-color: #2d3c51 !important;
  background: linear-gradient(145deg, #182333, #121a27) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-ponto-theme="operations"] .module-card:hover,
html[data-ponto-theme="operations"] .service-item:hover,
html[data-ponto-theme="operations"] .service-choice-card:hover,
html[data-ponto-theme="operations"] .choice-card:hover {
  border-color: #607491 !important;
  background: linear-gradient(145deg, #1c293b, #151e2d) !important;
}

html[data-ponto-theme="operations"] .service-item.active,
html[data-ponto-theme="operations"] .service-choice-card.selected,
html[data-ponto-theme="operations"] .request-step.active,
html[data-ponto-theme="operations"] .admin-nav button.active {
  color: #fff !important;
  border-color: #8b4d34 !important;
  background: linear-gradient(110deg, rgba(255,116,56,.12), #172231) !important;
  box-shadow: inset 3px 0 0 #ff7438 !important;
}

html[data-ponto-theme="operations"] .module-area .module-card,
html[data-ponto-theme="operations"] .module-card.active-module {
  color: var(--ink) !important;
  border-color: #304057 !important;
  border-top-color: #ff7438 !important;
  background: linear-gradient(145deg, #182333, #121a27) !important;
}
html[data-ponto-theme="operations"] .module-area .coding-module { border-top-color: #4dd7d0 !important; }
html[data-ponto-theme="operations"] .module-area .dyno-module { border-top-color: #72a8ff !important; }
html[data-ponto-theme="operations"] .module-card h3,
html[data-ponto-theme="operations"] .module-card p,
html[data-ponto-theme="operations"] .module-card li { color: #d2dbe6 !important; }
html[data-ponto-theme="operations"] .module-card strong { color: #4dd7d0 !important; }

html[data-ponto-theme="operations"] .owner-queue-row,
html[data-ponto-theme="operations"] .module-area .module-card li {
  color: #d8e1ec !important;
  border-color: #33445b !important;
  background: #121c2a !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

html[data-ponto-theme="operations"] .owner-queue-row:hover,
html[data-ponto-theme="operations"] .module-area .module-card li:hover {
  color: #fff !important;
  border-color: #566c89 !important;
  background: #182536 !important;
}

html[data-ponto-theme="operations"] .owner-queue-row-main b,
html[data-ponto-theme="operations"] .owner-queue-row-main strong {
  color: #f2f6fb !important;
}

html[data-ponto-theme="operations"] .owner-queue-row-main small,
html[data-ponto-theme="operations"] .owner-queue-row-action small {
  color: #91a0b3 !important;
}

html[data-ponto-theme="operations"] .owner-queue-age { border-color: #33445b !important; }
html[data-ponto-theme="operations"] .owner-queue-age small,
html[data-ponto-theme="operations"] .owner-queue-age time { color: #91a0b3 !important; }
html[data-ponto-theme="operations"] .owner-queue-age strong { color: #ff9d58 !important; }
html[data-ponto-theme="operations"] .owner-queue-age.reply strong { color: #72a8ff !important; }
html[data-ponto-theme="operations"] .owner-queue-age.progress strong { color: #4dd7d0 !important; }
html[data-ponto-theme="operations"] .owner-queue-age.waiting strong { color: #aeb9c8 !important; }

html[data-ponto-theme="operations"] .owner-queue-row-main i {
  color: #d9e4f0 !important;
  background: #243247 !important;
}

html[data-ponto-theme="operations"] .owner-queue-row-action em {
  color: #ff9d58 !important;
}

html[data-ponto-theme="operations"] .owner-queue-open {
  color: #e5edf6 !important;
  border-color: #40536d !important;
  background: #172334 !important;
}

html[data-ponto-theme="operations"] .owner-queue-open:hover {
  color: #fff !important;
  border-color: #ff7438 !important;
  background: #213149 !important;
}

html[data-ponto-theme="operations"] .module-area .module-card li::before {
  box-shadow: 0 0 0 3px rgba(255,255,255,.035);
}

html[data-ponto-theme="operations"] input,
html[data-ponto-theme="operations"] select,
html[data-ponto-theme="operations"] textarea,
html[data-ponto-theme="operations"] .history-search-row input {
  color: #f3f7fb !important;
  border-color: #35465e !important;
  border-radius: 8px !important;
  background: #0b121d !important;
}
html[data-ponto-theme="operations"] input::placeholder,
html[data-ponto-theme="operations"] textarea::placeholder { color: #68788d !important; }
html[data-ponto-theme="operations"] input:focus,
html[data-ponto-theme="operations"] select:focus,
html[data-ponto-theme="operations"] textarea:focus {
  outline: none !important;
  border-color: #4dd7d0 !important;
  box-shadow: 0 0 0 3px rgba(77,215,208,.11) !important;
}

html[data-ponto-theme="operations"] .button,
html[data-ponto-theme="operations"] .top a,
html[data-ponto-theme="operations"] .top-link,
html[data-ponto-theme="operations"] .history-btn,
html[data-ponto-theme="operations"] .help-btn,
html[data-ponto-theme="operations"] .language-switch,
html[data-ponto-theme="operations"] .admin-workspace-link,
html[data-ponto-theme="operations"] .user-control-link {
  color: #d3dce7 !important;
  border-color: #3a4a61 !important;
  border-radius: 8px !important;
  background: #151e2d !important;
  box-shadow: none !important;
}
html[data-ponto-theme="operations"] .button:hover,
html[data-ponto-theme="operations"] .top a:hover,
html[data-ponto-theme="operations"] .history-btn:hover {
  color: #fff !important;
  border-color: #667a97 !important;
  background: #1d293b !important;
}
html[data-ponto-theme="operations"] .button-primary,
html[data-ponto-theme="operations"] .report-btn:not(:disabled) {
  color: #17100d !important;
  border-color: #ff7438 !important;
  background: linear-gradient(135deg, #ff7438, #ff9d58) !important;
  box-shadow: 0 10px 28px rgba(255,116,56,.17) !important;
}
html[data-ponto-theme="operations"] .button.primary:not(:disabled),
html[data-ponto-theme="operations"] .button.paypal-button:not(:disabled) {
  color: #17100d !important;
  border-color: #ff7438 !important;
  background: linear-gradient(135deg, #ff7438, #ff9d58) !important;
  box-shadow: 0 10px 28px rgba(255,116,56,.2) !important;
}
html[data-ponto-theme="operations"] .button.primary:not(:disabled):hover,
html[data-ponto-theme="operations"] .button.paypal-button:not(:disabled):hover {
  color: #130c09 !important;
  border-color: #ff985c !important;
  background: linear-gradient(135deg, #ff8a4c, #ffb174) !important;
  box-shadow: 0 12px 30px rgba(255,116,56,.28) !important;
}

html[data-ponto-theme="operations"] .status-row,
html[data-ponto-theme="operations"] .notice.good,
html[data-ponto-theme="operations"] .detection-banner.detected {
  color: #a9efd0 !important;
  border-color: #285849 !important;
  background: #10251f !important;
}
html[data-ponto-theme="operations"] .notice {
  color: #bed8ff;
  border-color: #36577f;
  background: #111f32;
}
html[data-ponto-theme="operations"] .notice.error {
  color: #ffc0c6;
  border-color: #743b46;
  background: #2d171d;
}
html[data-ponto-theme="operations"] .invite-message pre {
  border-color: #36577f;
  background: #0b1522;
  color: #dceafe;
}
html[data-ponto-theme="operations"] .flow-card,
html[data-ponto-theme="operations"] .catalogue-note,
html[data-ponto-theme="operations"] .vehicle-spec,
html[data-ponto-theme="operations"] .request-count {
  color: #bcd4f6 !important;
  border-color: #345780 !important;
  background: #101b2a !important;
}
html[data-ponto-theme="operations"] .price-box,
html[data-ponto-theme="operations"] .selected-service-context,
html[data-ponto-theme="operations"] .submit-panel {
  color: #ffd2b6 !important;
  border-color: #684432 !important;
  background: #251a18 !important;
}

html[data-ponto-theme="operations"] table,
html[data-ponto-theme="operations"] thead,
html[data-ponto-theme="operations"] tbody,
html[data-ponto-theme="operations"] tr,
html[data-ponto-theme="operations"] th,
html[data-ponto-theme="operations"] td,
html[data-ponto-theme="operations"] .order-list,
html[data-ponto-theme="operations"] .admin-order-list,
html[data-ponto-theme="operations"] .order-detail,
html[data-ponto-theme="operations"] .admin-order-detail,
html[data-ponto-theme="operations"] .admin-order-list-head,
html[data-ponto-theme="operations"] .admin-order-row {
  color: #dbe4ee !important;
  border-color: #2e3c51 !important;
  background: #111824 !important;
}
html[data-ponto-theme="operations"] tbody tr:nth-child(even) td,
html[data-ponto-theme="operations"] .admin-order-row:nth-child(even) { background: #141e2c !important; }
html[data-ponto-theme="operations"] .admin-order-row:hover,
html[data-ponto-theme="operations"] .order-card:hover { background: #192536 !important; }
html[data-ponto-theme="operations"] .admin-order-list-head {
  color: #b8c4d3 !important;
  background: #0d1520 !important;
}
html[data-ponto-theme="operations"] .admin-order-number,
html[data-ponto-theme="operations"] .admin-order-vehicle strong,
html[data-ponto-theme="operations"] .admin-order-customer strong {
  color: #f1f5fa !important;
}
html[data-ponto-theme="operations"] .admin-order-row time,
html[data-ponto-theme="operations"] .admin-order-vehicle small,
html[data-ponto-theme="operations"] .admin-order-customer small {
  color: #aebaca !important;
}
html[data-ponto-theme="operations"] .admin-order-status {
  color: #a9efd0 !important;
  border-color: #285849 !important;
  background: #123126 !important;
}
html[data-ponto-theme="operations"] .admin-queue-tools .order-filter button {
  color: #b7c3d3 !important;
  border-color: #3a4b62 !important;
  background: #151f2e !important;
}
html[data-ponto-theme="operations"] .admin-queue-tools .order-filter button:hover {
  color: #fff !important;
  border-color: #607491 !important;
  background: #1a283a !important;
}
html[data-ponto-theme="operations"] .admin-queue-tools .order-filter button.active {
  color: #bcd8ff !important;
  border-color: #4d78aa !important;
  background: #132b49 !important;
}

html[data-ponto-theme="operations"] .appearance-preset {
  border-color: #35465e;
  background: #151e2d;
}
html[data-ponto-theme="operations"] .appearance-preset strong { color: #eef3f9; }
html[data-ponto-theme="operations"] .appearance-preset.selected { border-color: #ff7438; box-shadow: 0 0 0 2px rgba(255,116,56,.11); }

/* Complete the Operations surface system.
   Several older portal and administrator components use literal light
   backgrounds in portal.css. Keep every nested work surface dark here so
   labels, controls and status accents retain their intended contrast. */
html[data-ponto-theme="operations"] .file-preferences-panel,
html[data-ponto-theme="operations"] .customer-settings,
html[data-ponto-theme="operations"] .dyno-access-panel,
html[data-ponto-theme="operations"] .wallet-card {
  color: #e5edf6 !important;
  border-color: #33445b !important;
  background: #111824 !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-ponto-theme="operations"] .file-preferences-panel { border-top-color: #72a8ff !important; }
html[data-ponto-theme="operations"] .customer-settings,
html[data-ponto-theme="operations"] .wallet-card { border-top-color: #48d597 !important; }
html[data-ponto-theme="operations"] .dyno-access-panel { border-top-color: #72a8ff !important; }

html[data-ponto-theme="operations"] .favorite-makes-picker section,
html[data-ponto-theme="operations"] .plan-row,
html[data-ponto-theme="operations"] .quick-catalogue-grid > section,
html[data-ponto-theme="operations"] .file-service-option-card,
html[data-ponto-theme="operations"] .head-unit-option,
html[data-ponto-theme="operations"] .vehicle-manufacturer-entry,
html[data-ponto-theme="operations"] .vehicle-engine-card,
html[data-ponto-theme="operations"] .read-catalogue-panel,
html[data-ponto-theme="operations"] .empty-file-service-options,
html[data-ponto-theme="operations"] .empty-head-unit-catalogue,
html[data-ponto-theme="operations"] .empty-head-unit-options,
html[data-ponto-theme="operations"] .empty-read-catalogue,
html[data-ponto-theme="operations"] .schema-samples pre {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #121c2a !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

html[data-ponto-theme="operations"] .make-choice-list {
  scrollbar-color: #52647c #0d1520;
}

html[data-ponto-theme="operations"] .make-choice {
  color: #dbe4ee !important;
  border-color: #2f3f55 !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .make-choice:hover,
html[data-ponto-theme="operations"] .make-choice:focus-visible {
  color: #fff !important;
  border-color: #5b708d !important;
  background: #1b293b !important;
  outline: none;
}

html[data-ponto-theme="operations"] .make-choice.selected {
  color: #b5c4d5 !important;
  border-color: #285849 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .make-choice.selected span,
html[data-ponto-theme="operations"] .make-choice.favourite {
  color: #a9efd0 !important;
}

html[data-ponto-theme="operations"] .make-choice.favourite {
  border-color: #285849 !important;
  background: #102a25 !important;
}

html[data-ponto-theme="operations"] .file-tool-row {
  opacity: 1 !important;
  color: #e5edf6 !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .file-tool-row:has(.file-tool-enabled:not(:checked)) {
  opacity: 1 !important;
  color: #91a0b3 !important;
  border-color: #2a384b !important;
  background: #101824 !important;
}

html[data-ponto-theme="operations"] .file-tool-row:has(.file-tool-enabled:not(:checked)) > :not(.file-tool-enabled) {
  opacity: .68;
}

/* Tool settings are a quick preference list, not a form wizard. Keep the
   whole panel compact while preserving touch-friendly controls. */
html[data-ponto-theme="operations"] .file-preferences-panel {
  padding: 13px !important;
}

html[data-ponto-theme="operations"] .file-preferences-tools {
  gap: 5px;
  margin-top: 9px;
}

html[data-ponto-theme="operations"] .file-tool-row {
  grid-template-columns: auto minmax(0, 1fr) 92px auto;
  gap: 7px;
  min-height: 49px;
  padding: 6px 10px;
  border-radius: 6px;
}

html[data-ponto-theme="operations"] .file-tool-row > strong {
  font-size: 12px;
}

html[data-ponto-theme="operations"] .file-tool-row select {
  min-height: 29px;
  padding: 4px 6px;
}

html[data-ponto-theme="operations"] .file-tool-row input[type="checkbox"],
html[data-ponto-theme="operations"] .file-tool-row input[type="radio"] {
  width: 15px;
  height: 15px;
}

html[data-ponto-theme="operations"] .file-preferences-actions {
  margin-top: 9px;
}

html[data-ponto-theme="operations"] .switch-label,
html[data-ponto-theme="operations"] .working-days label {
  color: #dbe4ee !important;
  border-color: #3a4b62 !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .switch-label:hover,
html[data-ponto-theme="operations"] .working-days label:hover {
  color: #fff !important;
  border-color: #5b708d !important;
  background: #1a283a !important;
}

html[data-ponto-theme="operations"] .global-module-card .module-live-switch {
  color: #a9efd0 !important;
  border-color: #285849 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .quick-service-row {
  color: #dce5ef !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .quick-service-row:hover {
  border-color: #536984 !important;
  background: #1a283a !important;
}

html[data-ponto-theme="operations"] .overview .stat {
  color: #e5edf6 !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .schema-review,
html[data-ponto-theme="operations"] .editor-card,
html[data-ponto-theme="operations"] .service-editor {
  color: #e5edf6 !important;
  border-color: #684432 !important;
  border-top-color: #ff7438 !important;
  background: #171a22 !important;
}

html[data-ponto-theme="operations"] .customer-card {
  color: #dce5ef !important;
  border-color: #2e3c51 !important;
  border-left-color: #52627a !important;
  background: #111824 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18) !important;
}

html[data-ponto-theme="operations"] .customer-card:hover {
  border-color: #465a75 !important;
  border-left-color: #72839a !important;
}

html[data-ponto-theme="operations"] .customer-card.selected {
  border-color: #8b4a2f !important;
  border-left-color: #ff7438 !important;
  box-shadow: 0 0 0 2px rgba(255, 116, 56, .12), 0 18px 36px rgba(0, 0, 0, .25) !important;
}

html[data-ponto-theme="operations"] .customer-avatar {
  color: #bcd5ff !important;
  border-color: #365275 !important;
  background: #15263d !important;
}

html[data-ponto-theme="operations"] .customer-card-metrics,
html[data-ponto-theme="operations"] .customer-card-actions,
html[data-ponto-theme="operations"] .customer-overview-metrics span,
html[data-ponto-theme="operations"] .customer-session-panel li {
  border-color: #29364a !important;
  background: #151e2d !important;
}

html[data-ponto-theme="operations"] .customer-editor-overview > div {
  color: #dce5ef !important;
  border-color: #33445b !important;
  background: #111824 !important;
}

html[data-ponto-theme="operations"] .customer-presence.online {
  color: #9ce9c7 !important;
  border-color: #285849 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .customer-presence.offline {
  color: #9aa8ba !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .customer-card-actions .button.primary {
  color: #101722 !important;
  border-color: #ff7438 !important;
  background: #ff7438 !important;
}

html[data-ponto-theme="operations"] .icon-button {
  color: #dbe4ee !important;
  border-color: #3a4b62 !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .vehicle-type-entry,
html[data-ponto-theme="operations"] .vehicle-model-entry,
html[data-ponto-theme="operations"] .vehicle-type-entry > .vehicle-collapse-summary,
html[data-ponto-theme="operations"] .vehicle-manufacturer-entry > .vehicle-collapse-summary,
html[data-ponto-theme="operations"] .vehicle-model-entry > .vehicle-collapse-summary {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #121c2a !important;
}

html[data-ponto-theme="operations"] .vehicle-collapse-summary:hover {
  background: #182536 !important;
}

html[data-ponto-theme="operations"] .vehicle-collapse-summary strong,
html[data-ponto-theme="operations"] .vehicle-catalogue-head strong,
html[data-ponto-theme="operations"] .vehicle-level-head strong,
html[data-ponto-theme="operations"] .vehicle-engine-head strong {
  color: #e5edf6 !important;
}

html[data-ponto-theme="operations"] .vehicle-engine-card.catalogue-disabled {
  opacity: .72;
  background: #0f1723 !important;
}

html[data-ponto-theme="operations"] .catalogue-visibility.enabled,
html[data-ponto-theme="operations"] .module-chip.enabled,
html[data-ponto-theme="operations"] .module-status,
html[data-ponto-theme="operations"] .status-pill.good {
  color: #a9efd0 !important;
  border-color: #285849 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .catalogue-visibility.disabled,
html[data-ponto-theme="operations"] .module-status.planned,
html[data-ponto-theme="operations"] .status-pill {
  color: #aab6c6 !important;
  border-color: #3a4b62 !important;
  background: #1a2534 !important;
}

html[data-ponto-theme="operations"] .module-pill,
html[data-ponto-theme="operations"] .count-badge,
html[data-ponto-theme="operations"] .service-row-code,
html[data-ponto-theme="operations"] .admin-workspace-icon {
  color: #dbe4ee !important;
  border-color: #3a4b62 !important;
  background: #202c3d !important;
}

html[data-ponto-theme="operations"] .status-pill.danger {
  color: #ffc0c6 !important;
  border-color: #743b46 !important;
  background: #2d171d !important;
}

html[data-ponto-theme="operations"] .wallet-amount {
  color: #baf3d8 !important;
  border-color: #285849 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .wallet-amount span { color: #8edbb8 !important; }
html[data-ponto-theme="operations"] .wallet-amount strong { color: #48d597 !important; }

html[data-ponto-theme="operations"] .dyno-access-offer {
  color: #e5edf6 !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .dyno-access-offer strong { color: #f2f6fb !important; }
html[data-ponto-theme="operations"] .dyno-access-offer span { color: #91a0b3 !important; }
html[data-ponto-theme="operations"] .dyno-access-offer b { color: #ff9d58 !important; }
html[data-ponto-theme="operations"] .dyno-access-status {
  color: #ffcbac !important;
  border-color: #684432 !important;
  background: #251a18 !important;
}

html[data-ponto-theme="operations"] .operation-row {
  color: #dbe4ee !important;
  border-color: #2e3c51 !important;
  background: #121c2a !important;
}

html[data-ponto-theme="operations"] .operation-row:nth-child(even) {
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .operation-row:hover {
  color: #fff !important;
  background: #1a283a !important;
}

html[data-ponto-theme="operations"] .operation-row.selected {
  border-left-color: #ff7438 !important;
  background: #251a18 !important;
}

html[data-ponto-theme="operations"] .operation-row.closed {
  opacity: .76;
  background: #101824 !important;
}

html[data-ponto-theme="operations"] .operation-row-line b,
html[data-ponto-theme="operations"] .operation-row-meta strong {
  color: #f2f6fb !important;
}

html[data-ponto-theme="operations"] .operation-service { color: #cbd6e3 !important; }
html[data-ponto-theme="operations"] .operation-customer,
html[data-ponto-theme="operations"] .operation-row-meta small { color: #91a0b3 !important; }

html[data-ponto-theme="operations"] .operation-type {
  color: #bcd8ff !important;
  background: #132b49 !important;
}

html[data-ponto-theme="operations"] .operation-type.files {
  color: #ffcbac !important;
  background: #352019 !important;
}

html[data-ponto-theme="operations"] .operation-action.review,
html[data-ponto-theme="operations"] .operation-action.waiting {
  color: #ffcbac !important;
  background: #3a241b !important;
}

html[data-ponto-theme="operations"] .operation-action.customer {
  color: #ffc3cf !important;
  background: #3a1d28 !important;
}

html[data-ponto-theme="operations"] .operation-action.work {
  color: #bcd8ff !important;
  background: #132b49 !important;
}

html[data-ponto-theme="operations"] .operation-action.ready {
  color: #a9efd0 !important;
  background: #102f27 !important;
}

html[data-ponto-theme="operations"] .operation-action.closed {
  color: #b5c0ce !important;
  background: #222d3c !important;
}

html[data-ponto-theme="operations"] .operation-message.admin {
  color: #d8e8ff !important;
  border-color: #36577f !important;
  background: #111f32 !important;
}

html[data-ponto-theme="operations"] .operation-message p { color: #c6d1df !important; }
html[data-ponto-theme="operations"] .delivery-section {
  background: linear-gradient(90deg, rgba(72,213,151,.08), transparent) !important;
}

html[data-ponto-theme="operations"] .operation-files li.operation-file-row {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #111b29 !important;
}

html[data-ponto-theme="operations"] .operation-files li.is-fa { border-left-color: #72a8ff !important; }
html[data-ponto-theme="operations"] .operation-files li.is-svt { border-left-color: #4dd7d0 !important; }
html[data-ponto-theme="operations"] .operation-files li.is-second-fa { border-left-color: #ff7438 !important; }
html[data-ponto-theme="operations"] .operation-files li.is-delivery { border-left-color: #48d597 !important; }
html[data-ponto-theme="operations"] .operation-files li.is-revision { border-left-color: #a78bfa !important; }

html[data-ponto-theme="operations"] .operation-files .operation-file-kind b {
  color: #dce6f2 !important;
  background: #273448 !important;
}

html[data-ponto-theme="operations"] .operation-files .is-fa .operation-file-kind b {
  color: #c5ddff !important;
  background: #183454 !important;
}

html[data-ponto-theme="operations"] .operation-files .is-svt .operation-file-kind b {
  color: #bdf7f2 !important;
  background: #153b3a !important;
}

html[data-ponto-theme="operations"] .operation-files .is-second-fa .operation-file-kind b {
  color: #ffd0b5 !important;
  background: #3b261e !important;
}

html[data-ponto-theme="operations"] .operation-files .operation-file-copy strong { color: #f2f6fb !important; }
html[data-ponto-theme="operations"] .operation-files .operation-file-kind small,
html[data-ponto-theme="operations"] .operation-files .operation-file-copy small { color: #91a0b3 !important; }

html[data-ponto-theme="operations"] .operation-files a.operation-file-download {
  color: #eaf3ff !important;
  border-color: #456b98 !important;
  background: #183454 !important;
}

html[data-ponto-theme="operations"] .operation-files a.operation-file-download:hover {
  color: #fff !important;
  border-color: #72a8ff !important;
  background: #245b98 !important;
}

html[data-ponto-theme="operations"] .operation-file-picker {
  color: #dbe4ee !important;
  border-color: #49617e !important;
  background: #101a28 !important;
}

html[data-ponto-theme="operations"] .operation-file-picker > span b { color: #f2f6fb !important; }
html[data-ponto-theme="operations"] .operation-file-picker > span small { color: #91a0b3 !important; }
html[data-ponto-theme="operations"] .operation-file-picker input[type="file"] {
  color: #dbe4ee !important;
  border-color: #40536d !important;
  background: #0b1420 !important;
}

html[data-ponto-theme="operations"] .operation-file-picker input[type="file"]::file-selector-button {
  color: #f3f7fc !important;
  border-color: #5778a2 !important;
  background: #24456d !important;
}

html[data-ponto-theme="operations"] .operation-file-picker:hover input[type="file"]::file-selector-button {
  border-color: #72a8ff !important;
  background: #2d639f !important;
}

html[data-ponto-theme="operations"] .admin-service-row:hover {
  background: #1a283a !important;
}

/* File Service full-order workspace */
html[data-ponto-theme="operations"] .file-service-body .order-workbench-head,
html[data-ponto-theme="operations"] .file-service-body .order-overview,
html[data-ponto-theme="operations"] .file-service-body .order-panel,
html[data-ponto-theme="operations"] .file-service-body .order-performance,
html[data-ponto-theme="operations"] .file-service-body .order-admin-area .admin-controls {
  color: #e5edf6 !important;
  border-color: #33445b !important;
  background: #111824 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-workbench-head {
  border-left-color: #ff7438 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-back-button {
  color: #dbe4ee !important;
  border-color: #40536d !important;
  background: #172334 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-back-button:hover {
  color: #fff !important;
  border-color: #ff7438 !important;
  background: #213149 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-workbench-title h3,
html[data-ponto-theme="operations"] .file-service-body .order-vehicle-overview h4,
html[data-ponto-theme="operations"] .file-service-body .order-panel-heading h4,
html[data-ponto-theme="operations"] .file-service-body .order-admin-area .admin-controls h4 {
  color: #f2f6fb !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-workbench-title p,
html[data-ponto-theme="operations"] .file-service-body .order-status-stack small,
html[data-ponto-theme="operations"] .file-service-body .order-vehicle-overview p {
  color: #91a0b3 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-overview-stat {
  border-color: #33445b !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-overview-stat span,
html[data-ponto-theme="operations"] .file-service-body .order-detail-rows span,
html[data-ponto-theme="operations"] .file-service-body .performance-card > span {
  color: #91a0b3 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-overview-stat strong,
html[data-ponto-theme="operations"] .file-service-body .order-detail-rows strong {
  color: #e5edf6 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-overview-stat:last-child strong {
  color: #b79cff !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-panel-heading {
  border-color: #33445b !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-request-panel .order-detail-rows > div {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .file-service-body .performance-card {
  color: #dbe8fb !important;
  border-color: #36577f !important;
  border-left-color: #72a8ff !important;
  background: #111f32 !important;
}

html[data-ponto-theme="operations"] .file-service-body .performance-card.measured {
  color: #c5f2dc !important;
  border-color: #285849 !important;
  border-left-color: #48d597 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .file-service-body .performance-card > strong {
  color: #f2f6fb !important;
}

html[data-ponto-theme="operations"] .file-service-body .performance-card > small {
  color: #9eacbd !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .message-thread {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #0d1520 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .message,
html[data-ponto-theme="operations"] .file-order-workbench .message.admin {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .message.admin {
  border-left-color: #ff7438 !important;
  background: #251a18 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .message strong {
  color: #f4f7fb !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .message time,
html[data-ponto-theme="operations"] .file-order-workbench .message-receipt {
  color: #9eacbd !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .message p {
  color: #d0dae6 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row {
  color: #dbe4ee !important;
  border-color: #4c3b35 !important;
  border-left-color: #ff7438 !important;
  background: #1a1718 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row.file-uploaded {
  border-color: #36577f !important;
  border-left-color: #72a8ff !important;
  background: #111f32 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row.file-revision {
  border-color: #654a8d !important;
  border-left-color: #a77bf1 !important;
  background: #1a1627 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row.file-completed {
  border-color: #285849 !important;
  border-left-color: #48d597 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row-name,
html[data-ponto-theme="operations"] .file-order-workbench .file-row-name small {
  color: #aebac9 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row-heading strong {
  color: #f2f6fb !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid;
  border-radius: 6px;
  color: #eaf3ff !important;
  border-color: #456b98 !important;
  background: #183454 !important;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-row.file-completed a {
  color: #d9f8e9 !important;
  border-color: #34745c !important;
  background: #173b31 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-uploaded .file-row-heading em {
  color: #bcd8ff !important;
  background: #183454 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-revision .file-row-heading em {
  color: #dec9ff !important;
  background: #3b2a55 !important;
}

html[data-ponto-theme="operations"] .file-order-workbench .file-completed .file-row-heading em {
  color: #a9efd0 !important;
  background: #173b31 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-dyno-panel {
  border-color: #33445b !important;
  background: #111824 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-number,
html[data-ponto-theme="operations"] .file-service-body .message-count,
html[data-ponto-theme="operations"] .file-service-body .file-count {
  color: #bcd8ff !important;
  background: #183454 !important;
}

html[data-ponto-theme="operations"] .file-service-body .order-number {
  color: #ffcbac !important;
  background: #352019 !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-log-row {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-log-row.is-stock {
  border-color: #285849 !important;
  box-shadow: inset 3px 0 0 #48d597 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-log-row.quality-failed {
  border-color: #743b46 !important;
  background: #2a171b !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-log-main small,
html[data-ponto-theme="operations"] .file-service-body .form-help {
  color: #91a0b3 !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-stock-choice {
  color: #dbe4ee !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-quality-gate.passed {
  color: #a9efd0 !important;
  border-color: #285849 !important;
  background: #10251f !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-quality-gate.failed {
  color: #ffc0c6 !important;
  border-color: #743b46 !important;
  background: #2d171d !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-role-badge.is-stock,
html[data-ponto-theme="operations"] .file-service-body .dyno-log-result,
html[data-ponto-theme="operations"] .file-service-body .dyno-quality-score.passed {
  color: #a9efd0 !important;
  background: #173b31 !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-role-badge.is-mod {
  color: #ffcbac !important;
  background: #3a241b !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-quality-score.failed,
html[data-ponto-theme="operations"] .file-service-body .dyno-identity-badge {
  color: #ffc0c6 !important;
  background: #4a222b !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-quality-fixes {
  color: #ffc0c6 !important;
  border-color: #743b46 !important;
}

html[data-ponto-theme="operations"] .file-service-body .dyno-log-download { color: #8ebcff !important; }
html[data-ponto-theme="operations"] .file-service-body .dyno-log-remove { color: #ff9aa3 !important; }

html[data-ponto-theme="operations"] .operation-table-row {
  color: #dbe4ee !important;
  border-color: #2e3c51 !important;
  background: #121c2a !important;
}

html[data-ponto-theme="operations"] .operation-table-row:nth-child(odd) {
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] .operation-table-row:hover {
  color: #fff !important;
  background: #1a283a !important;
}

html[data-ponto-theme="operations"] .operation-table-row.selected {
  border-left-color: #ff7438 !important;
  background: #251a18 !important;
}

html[data-ponto-theme="operations"] .operation-table-row strong,
html[data-ponto-theme="operations"] .operation-table-total { color: #eef3f9 !important; }
html[data-ponto-theme="operations"] .operation-table-row small,
html[data-ponto-theme="operations"] .operation-table-row time { color: #91a0b3 !important; }

/* Operations Dark surface lock
   A few legacy views use ID-scoped light backgrounds. Keep the complete
   customer and administrator workspace on the same dark surface system. */
html[data-ponto-theme="operations"] #ordersView .order-search-panel,
html[data-ponto-theme="operations"] #ordersView .order-list,
html[data-ponto-theme="operations"] #ordersView .order-list-head,
html[data-ponto-theme="operations"] #ordersView .order-row,
html[data-ponto-theme="operations"] .platform-settings-card,
html[data-ponto-theme="operations"] .quick-catalogue-card,
html[data-ponto-theme="operations"] .quick-catalogue-grid > section,
html[data-ponto-theme="operations"] .global-module-card,
html[data-ponto-theme="operations"] .favorite-makes-picker section,
html[data-ponto-theme="operations"] .file-preferences-panel,
html[data-ponto-theme="operations"] .customer-settings,
html[data-ponto-theme="operations"] .settings-grid fieldset,
html[data-ponto-theme="operations"] .security-grid article,
html[data-ponto-theme="operations"] .plan-row,
html[data-ponto-theme="operations"] .vehicle-type-entry,
html[data-ponto-theme="operations"] .vehicle-manufacturer-entry,
html[data-ponto-theme="operations"] .vehicle-model-entry,
html[data-ponto-theme="operations"] .vehicle-engine-card {
  color: #dbe4ee !important;
  border-color: #33445b !important;
  background: #111824 !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-ponto-theme="operations"] #ordersView .order-search-panel {
  background: #0f1723 !important;
}

html[data-ponto-theme="operations"] #ordersView .order-list {
  background: #0d1520 !important;
}

html[data-ponto-theme="operations"] #ordersView .order-list-head {
  color: #91a0b3 !important;
  background: #172231 !important;
}

html[data-ponto-theme="operations"] #ordersView .order-row {
  color: #dbe4ee !important;
  border-bottom-color: #2e3c51 !important;
  background: #121c2a !important;
}

html[data-ponto-theme="operations"] #ordersView .order-row:nth-child(odd) {
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] #ordersView .order-row:hover {
  color: #fff !important;
  background: #1a283a !important;
}

html[data-ponto-theme="operations"] #ordersView .order-row.active {
  color: #fff !important;
  border-bottom-color: #4b352e !important;
  background: #251a18 !important;
  box-shadow: inset 3px 0 0 #ff7438 !important;
}

html[data-ponto-theme="operations"] #ordersView .order-row-id,
html[data-ponto-theme="operations"] #ordersView .order-row-vehicle,
html[data-ponto-theme="operations"] #ordersView .order-row-date {
  color: #9eacbd !important;
}

html[data-ponto-theme="operations"] #ordersView .order-row-service strong,
html[data-ponto-theme="operations"] #ordersView .order-row-price {
  color: #eef3f9 !important;
}

html[data-ponto-theme="operations"] #ordersView .order-row-status {
  color: #a9efd0 !important;
  border: 1px solid #285849 !important;
  background: #102f27 !important;
}

html[data-ponto-theme="operations"] #ordersView .order-filter button {
  color: #aab6c6 !important;
  border-color: #3a4b62 !important;
  background: #151f2e !important;
}

html[data-ponto-theme="operations"] #ordersView .order-filter button:hover {
  color: #fff !important;
  border-color: #607491 !important;
  background: #1a283a !important;
}

html[data-ponto-theme="operations"] #ordersView .order-filter button.active {
  color: #bcd8ff !important;
  border-color: #36577f !important;
  background: #132b49 !important;
}

html[data-ponto-theme="operations"] #ordersView .order-search-panel label span {
  color: #91a0b3 !important;
}

html[data-ponto-theme="operations"] .global-module-card .module-live-switch,
html[data-ponto-theme="operations"] .switch-label,
html[data-ponto-theme="operations"] .working-days label {
  color: #dbe4ee !important;
  border-color: #3a4b62 !important;
  background: #151f2e !important;
}

/* Operations workspace geometry
   This layout travels with the Operations Dark preset. Older presets retain
   the native layout of every module. */
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .shell,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .shell {
  width: min(1560px, calc(100vw - 40px));
  padding: 18px 0 56px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .workspace-header,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .top {
  min-height: 76px;
  padding: 12px 16px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .workspace-header .brand img {
  width: 104px;
  height: 45px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .workspace-header .brand strong {
  font-size: 21px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .workspace-welcome {
  position: relative;
  min-height: 238px;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .45fr);
  overflow: hidden;
  padding: 34px 38px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 89% 22%, rgba(77,215,208,.12), transparent 17rem),
    linear-gradient(125deg, #151e2d, #101722 68%) !important;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .workspace-welcome::after {
  content: "";
  position: absolute;
  top: -125px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(77,215,208,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(77,215,208,.025);
  pointer-events: none;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .welcome-copy,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .account-snapshot {
  position: relative;
  z-index: 1;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .welcome-copy h1 {
  max-width: 760px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .account-snapshot {
  align-self: center;
  min-height: 150px;
  border-color: #285849;
  background: rgba(16,37,31,.86);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .section-title {
  display: block;
  align-self: stretch;
  padding: 14px 20px 14px 4px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .section-title h2 {
  font-size: 25px;
  line-height: 1.08;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .section-title p {
  margin-top: 12px;
  font-size: 12px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .module-grid {
  align-self: start;
  gap: 12px;
  margin-top: 0;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .module-card {
  min-height: 274px;
  padding: 18px;
  border-top-width: 1px;
  border-left: 3px solid #ff7438 !important;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .coding-module {
  border-left-color: #4dd7d0 !important;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .dyno-module {
  border-left-color: #72a8ff !important;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-grid {
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 22px;
  margin-top: 16px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav {
  position: sticky;
  top: 14px;
  padding: 11px;
  border-top: 1px solid var(--line);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav > .eyebrow {
  margin: 5px 7px 2px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav h2 {
  margin: 0 7px 11px;
  font-size: 18px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav button {
  min-height: 47px;
  margin-top: 4px;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-panel {
  padding: 20px;
  overflow: hidden;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .panel-heading {
  margin: -2px 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .app-header {
  top: 10px;
  width: min(1560px, calc(100vw - 40px));
  min-height: 76px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 220px minmax(330px, 1fr) auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .brand {
  min-width: 0;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .app-nav {
  min-width: 0;
  align-self: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 1px solid #2d3b4f;
  border-radius: 9px;
  background: #0b121d;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .nav-link {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #8695a8;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .nav-link:hover,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .nav-link.active {
  color: #fff;
  border: 0;
  background: #192536;
  box-shadow: inset 0 -2px 0 #ff7438;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .header-tools {
  min-width: 0;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .workspace {
  width: min(1560px, calc(100vw - 40px));
  margin: 18px auto 52px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .hero-panel {
  min-height: 286px;
  grid-template-columns: minmax(0, 1.5fr) 330px;
  align-items: stretch;
  padding: 38px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%, rgba(77,215,208,.11), transparent 17rem),
    linear-gradient(125deg, #151e2d, #101722 68%) !important;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .hero-copy h1 {
  max-width: 730px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.03;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .flow-card {
  align-self: stretch;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .dashboard-grid {
  grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .view-heading {
  min-height: 128px;
  margin-bottom: 14px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(125deg, #151e2d, #101722);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .app-shell {
  width: min(1560px, calc(100vw - 40px));
  padding: 16px 0 52px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .topbar,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body[data-flow="upload"] .topbar {
  min-height: 78px;
  margin: 0 0 16px;
  padding: 10px 14px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .brand-block img,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body[data-flow="upload"] .brand-block img {
  width: 112px;
  height: 52px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .brand-block h1,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body[data-flow="upload"] .brand-block h1 {
  font-size: clamp(24px, 2.4vw, 34px);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .topbar p,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body[data-flow="upload"] .topbar p {
  font-size: 13px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-stage {
  width: 100%;
  min-height: 0;
  grid-template-columns: 232px minmax(0, 1fr);
  align-content: start;
  gap: 16px 22px;
  padding: 0;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-stage::before {
  display: none;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-intro {
  position: sticky;
  top: 16px;
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  margin: 0;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid #ff7438;
  border-radius: 12px;
  background: #111824;
  text-align: left;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-intro h2 {
  margin-top: 12px;
  font-size: 27px;
  line-height: 1.08;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-intro p {
  font-size: 14px;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-log-guide {
  grid-column: 2;
  grid-row: 1;
  border-color: var(--line);
  background: #111824;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-head,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-card,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-foot {
  color: #d7e0ea;
  border-color: var(--line);
  background: #111824;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-grid {
  background: var(--line);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-toggle strong {
  color: #ffb080;
  border-color: #684432;
  background: #251a18;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-head p,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-card li,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-guide-foot {
  color: #8f9daf;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-surface {
  grid-column: 2;
  grid-row: 2;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111824;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-surface > .file-drop,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-surface .mod-file-list .file-drop {
  color: #e7edf5;
  border-color: #35465e;
  background: #151e2d;
  box-shadow: inset 3px 0 0 #72a8ff;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-surface .mod-file-list .file-drop {
  box-shadow: inset 3px 0 0 #ff7438;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-surface .file-drop small,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .reference-status {
  color: #8f9daf;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-hints {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111824;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-hints div,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-overall,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-score-card,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .log-viewer-dialog {
  color: #d7e0ea;
  border-color: var(--line);
  background: #151e2d;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-heading,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-recommendations,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-actions {
  border-color: var(--line);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-score-track {
  background: #273548;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-issue {
  color: #ffcbac;
  border-color: #684432;
  background: #251a18;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-issue.danger {
  color: #ffc0c6;
  border-color: #743b46;
  background: #2d171d;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-empty {
  color: #a9efd0;
  border-color: #285849;
  background: #10251f;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .primary-btn,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .continue-btn {
  color: #17100d;
  border-color: #ff7438;
  background: linear-gradient(135deg, #ff7438, #ff9d58);
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .secondary-btn {
  color: #d3dce7;
  border-color: #3a4a61;
  background: #151e2d;
}

html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quality-stage,
html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .workspace {
  color: var(--ink);
  border-color: var(--line);
  background: #111824;
}

@media (max-width: 1180px) {
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .app-header {
    grid-template-columns: 190px minmax(300px, 1fr) auto;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .header-greeting {
    display: none;
  }
}

@media (max-width: 980px) {
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area {
    display: block;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .section-title {
    padding: 4px 0 16px;
    margin-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-grid {
    grid-template-columns: 1fr;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav {
    position: static;
    display: flex;
    gap: 5px;
    overflow-x: auto;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav > .eyebrow,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav h2 {
    display: none;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .admin-nav button {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .app-header {
    grid-template-columns: minmax(190px, 1fr) auto;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .app-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .hero-panel {
    grid-template-columns: 1fr;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-stage {
    grid-template-columns: 1fr;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-intro,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .quick-log-guide,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-surface,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-hints {
    position: static;
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .shell,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .admin-body .shell,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .workspace,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .app-shell {
    width: min(100% - 20px, 1560px);
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .workspace-welcome {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .welcome-copy h1,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .hero-copy h1 {
    font-size: 38px;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .portal-body .module-area .module-grid {
    grid-template-columns: 1fr;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .app-header {
    top: 5px;
    width: min(100% - 20px, 1560px);
    grid-template-columns: 1fr;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .header-tools {
    grid-row: 2;
    margin-left: 0;
    overflow-x: auto;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .app-nav {
    grid-row: 3;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .hero-panel {
    min-height: 0;
    padding: 24px;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .dashboard-grid,
  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .file-service-body .overview-grid {
    grid-template-columns: 1fr;
  }

  html[data-ponto-theme="operations"][data-ponto-layout="operations"] .dyno-body .upload-surface {
    grid-template-columns: 1fr;
  }
}

.header-greeting {
  align-items: center;
  color: #5d6f8f;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 38px;
  padding: 0 0.2rem;
  white-space: nowrap;
}

.balance-pill {
  align-items: center;
  background: #eef7ff;
  border: 1px solid #b8d5f4;
  border-radius: 8px;
  color: #174f94;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.balance-pill strong {
  color: #1265c5;
  font-variant-numeric: tabular-nums;
}

.balance-pill:hover {
  background: #e1f1ff;
  border-color: #5b9ee6;
}

html[data-ponto-theme="midnight"] .header-greeting {
  color: #b4c7e6;
}

html[data-ponto-theme="midnight"] .balance-pill {
  background: #172b45;
  border-color: #345579;
  color: #e2eeff;
}

html[data-ponto-theme="midnight"] .balance-pill strong {
  color: #5eead4;
}

/* Operations Dark contrast fixes.
   Keep accent-filled actions and every File Service form surface readable
   without allowing legacy white panels back into the dark workspace. */
html[data-ponto-theme="operations"] .portal-body .module-area .module-card > strong {
  color: #fff !important;
}

html[data-ponto-theme="operations"] .portal-body .module-area .files-module > strong,
html[data-ponto-theme="operations"] .portal-body .module-area .coding-module > strong,
html[data-ponto-theme="operations"] .portal-body .module-area .files-module > strong b,
html[data-ponto-theme="operations"] .portal-body .module-area .coding-module > strong b {
  color: #08111f !important;
}

html[data-ponto-theme="operations"] .portal-body .module-area .dyno-module > strong b {
  color: #fff !important;
}

html[data-ponto-theme="operations"] .file-service-body .status-row span:last-child,
html[data-ponto-theme="operations"] .file-service-body .status-row small {
  color: #8edbb8 !important;
}

html[data-ponto-theme="operations"] .file-service-body .flow-card > span,
html[data-ponto-theme="operations"] .file-service-body .flow-card li,
html[data-ponto-theme="operations"] .file-service-body .catalogue-note strong,
html[data-ponto-theme="operations"] .file-service-body .catalogue-note span {
  color: #bcd8ff !important;
}

html[data-ponto-theme="operations"] .file-service-body .additional-options-panel,
html[data-ponto-theme="operations"] .file-service-body .risk-confirmation,
html[data-ponto-theme="operations"] .file-service-body .submit-panel,
html[data-ponto-theme="operations"] .file-service-body .checkout-total {
  color: #dbe4ee !important;
  border-color: #3a4b62 !important;
  background: #111824 !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-ponto-theme="operations"] .file-service-body .additional-options-panel .section-heading,
html[data-ponto-theme="operations"] .file-service-body .checkout-note {
  border-color: #33445b !important;
}

html[data-ponto-theme="operations"] .file-service-body .service-work-section .service-choice-main small,
html[data-ponto-theme="operations"] .file-service-body .service-choice-card .service-choice-price small,
html[data-ponto-theme="operations"] .file-service-body .checkout-service > small,
html[data-ponto-theme="operations"] .file-service-body .checkout-total > span,
html[data-ponto-theme="operations"] .file-service-body .checkout-total > del,
html[data-ponto-theme="operations"] .file-service-body .checkout-note {
  color: #91a0b3 !important;
}

html[data-ponto-theme="operations"] .file-service-body .service-choice-card .service-choice-price,
html[data-ponto-theme="operations"] .file-service-body .checkout-total > strong {
  color: #ffad76 !important;
}

html[data-ponto-theme="operations"] .file-service-body .risk-confirmation strong {
  color: #ffad76 !important;
}

html[data-ponto-theme="operations"] .file-service-body .vehicle-spec span,
html[data-ponto-theme="operations"] .file-service-body .detection-banner b {
  color: #dce9f7 !important;
  border: 1px solid #344b66 !important;
  background: #172536 !important;
}

html[data-ponto-theme="operations"] .file-service-body .vehicle-spec strong {
  color: #77b8ff !important;
}

html[data-ponto-theme="operations"] .file-service-body .ecu-choice {
  color: #dce6f2 !important;
  border-color: #3a4d65 !important;
  background: #131d2b !important;
  box-shadow: none !important;
}

html[data-ponto-theme="operations"] .file-service-body .ecu-choice:hover {
  color: #fff !important;
  border-color: #6684a7 !important;
  background: #1a2a3d !important;
}

html[data-ponto-theme="operations"] .file-service-body .ecu-choice.selected {
  color: #fff !important;
  border-color: #ff8a3d !important;
  background: #2a211d !important;
  box-shadow: inset 0 0 0 1px rgba(255,138,61,.22) !important;
}

html[data-ponto-theme="operations"] .file-service-body .ecu-choice > strong {
  color: inherit !important;
}

html[data-ponto-theme="operations"] .file-service-body .ecu-choice-own {
  border-style: dashed !important;
  background: #101925 !important;
}

/* Customer-controlled information density. Critical notices, validation,
   prices and legal confirmations intentionally remain visible. */
html[data-ponto-explanations="reduced"] .portal-body .workspace-welcome .account-snapshot small,
html[data-ponto-explanations="reduced"] .portal-body .section-title p,
html[data-ponto-explanations="reduced"] .portal-body .module-card > p,
html[data-ponto-explanations="reduced"] .portal-body .module-card > ul,
html[data-ponto-explanations="reduced"] .portal-body .dyno-access-head p,
html[data-ponto-explanations="reduced"] .portal-body .wallet-card-head p,
html[data-ponto-explanations="reduced"] .portal-body .topup-form > p,
html[data-ponto-explanations="reduced"] .portal-body .account-details-head p,
html[data-ponto-explanations="reduced"] .portal-body .file-preferences-head p,
html[data-ponto-explanations="reduced"] .file-service-body .hero-copy > p:not(.eyebrow),
html[data-ponto-explanations="reduced"] .file-service-body .flow-card,
html[data-ponto-explanations="reduced"] .file-service-body .dashboard-card p,
html[data-ponto-explanations="reduced"] .file-service-body .view-heading p,
html[data-ponto-explanations="reduced"] .file-service-body .service-choice-main small,
html[data-ponto-explanations="reduced"] .file-service-body .catalogue-note span {
  display: none !important;
}

html[data-ponto-explanations="reduced"] .portal-body .module-card,
html[data-ponto-explanations="reduced"] .file-service-body .hero-panel {
  min-height: 0;
}

html[data-ponto-theme="operations"] .file-service-body .checkout-balance-warning,
html[data-ponto-theme="operations"] .file-service-body .checkout-balance-warning strong,
html[data-ponto-theme="operations"] .file-service-body .checkout-balance-warning a {
  color: #ffad76 !important;
}

/* One currency language across Operations Dark.
   Prices remain orange everywhere; green and red are reserved for state,
   availability and transaction direction. */
html[data-ponto-theme="operations"] .file-service-body .service-choice-card .service-choice-price,
html[data-ponto-theme="operations"] .file-service-body .service-choice-card .service-choice-price b,
html[data-ponto-theme="operations"] .file-service-body .checkout-total > strong,
html[data-ponto-theme="operations"] .file-service-body .summary-total > strong,
html[data-ponto-theme="operations"] .file-service-body .order-summary-panel .summary-total > strong,
html[data-ponto-theme="operations"] .file-service-body #ordersView .order-row-price,
html[data-ponto-theme="operations"] .operation-table-total,
html[data-ponto-theme="operations"] .operation-row-meta > strong,
html[data-ponto-theme="operations"] .coding-order-total,
html[data-ponto-theme="operations"] .dyno-access-offer > b {
  color: var(--ponto-price) !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(255,138,61,.12);
}

html[data-ponto-theme="operations"] .file-service-body .service-choice-card .service-choice-price {
  font-size: 13px !important;
  line-height: 1.2;
}

html[data-ponto-theme="operations"] .file-service-body #optionalWorkChoices .choice-card > b {
  min-width: 46px;
  padding: 3px 6px !important;
  color: var(--ponto-price) !important;
  border: 1px solid var(--ponto-price-line);
  border-radius: 5px;
  background: var(--ponto-price-soft) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 0 14px rgba(255,138,61,.12);
}
