
:root {
  --spp-bg:#060b16;
  --spp-panel:#0a1121;
  --spp-panel-2:#101a2d;
  --spp-cyan:#00d4ff;
  --spp-cyan-soft:rgba(0,212,255,.12);
  --spp-text:#f8fafc;
  --spp-muted:#9fb0c7;
  --spp-line:rgba(255,255,255,.09);
  --spp-ok:#34d399;
  --spp-warn:#fbbf24;
  --spp-shadow:0 28px 90px rgba(0,0,0,.36);
}

.spp-root,
.spp-root * {
  box-sizing:border-box;
}

.spp-root {
  min-height:100vh;
  width:100%;
  margin:0!important;
  overflow-x:hidden;
  color:var(--spp-text);
  background:
    radial-gradient(circle at 12% 0%,rgba(0,212,255,.10),transparent 27rem),
    radial-gradient(circle at 90% 10%,rgba(52,211,153,.07),transparent 24rem),
    var(--spp-bg);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

.spp-root button {
  font:inherit;
}

.spp-topbar {
  position:sticky!important;
  top:0;
  z-index:9999;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  max-width:100vw;
  min-height:74px;
  padding:17px clamp(18px,3vw,42px);
  background:rgba(6,11,22,.96);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--spp-line);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}

body.admin-bar .spp-topbar {
  top:32px;
}

.spp-brand {
  display:flex;
  align-items:center;
  gap:13px;
  color:var(--spp-text);
  font-weight:900;
  letter-spacing:.4px;
  text-decoration:none!important;
}

.spp-brand:hover {
  color:var(--spp-text);
}

.spp-mark {
  width:39px;
  height:39px;
  border-radius:13px;
  display:grid;
  place-items:center;
  color:#001018;
  font-weight:1000;
  background:linear-gradient(135deg,#7de9ff,var(--spp-cyan));
  box-shadow:0 0 28px rgba(0,212,255,.22);
}

.spp-brand small {
  display:block;
  color:var(--spp-muted);
  font-size:10px;
  letter-spacing:1.5px;
  margin-top:2px;
}


.spp-nav {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1 1 auto;
  gap:6px;
  min-width:0;
}

.spp-nav a {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 10px;
  color:var(--spp-muted);
  font-size:12px;
  font-weight:800;
  text-decoration:none!important;
  white-space:nowrap;
  border-radius:10px;
}

.spp-nav a:hover,
.spp-nav a:focus-visible,
.spp-nav a.is-active {
  color:var(--spp-text);
  background:rgba(255,255,255,.055);
}

.spp-logout {
  color:#ffb4c0;
  font-size:12px;
  font-weight:800;
  text-decoration:none!important;
  white-space:nowrap;
}

.spp-logout:hover {
  color:#fff;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:115px;
}

.spp-card[id],
.spp-main[id] {
  scroll-margin-top:120px;
}

.spp-user {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--spp-muted);
  font-size:14px;
}

.spp-avatar {
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--spp-cyan-soft);
  display:grid;
  place-items:center;
  color:var(--spp-cyan);
  font-weight:800;
}

.spp-tech-banner {
  position:sticky;
  top:74px;
  z-index:9998;
  display:none;
  padding:12px 22px;
  text-align:center;
  color:#dffaff;
  font-weight:850;
  letter-spacing:.5px;
  background:linear-gradient(90deg,rgba(0,212,255,.14),rgba(52,211,153,.13));
  border-bottom:1px solid rgba(0,212,255,.35);
}

body.admin-bar .spp-tech-banner {
  top:106px;
}

.spp-tech-banner.is-visible {
  display:block;
}

.spp-live-dot {
  display:inline-block;
  width:9px;
  height:9px;
  border-radius:50%;
  margin-right:8px;
  background:var(--spp-ok);
  box-shadow:0 0 14px var(--spp-ok);
}

.spp-main {
  max-width:1260px;
  margin:0 auto;
  padding:38px 22px 70px;
}

.spp-hero {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:26px;
}

.spp-eyebrow {
  color:var(--spp-cyan);
  font-weight:850;
  font-size:12px;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.spp-root h1 {
  color:var(--spp-text);
  font-size:clamp(30px,5vw,52px);
  line-height:1.04;
  margin:8px 0;
}

.spp-root h2,
.spp-root h3,
.spp-root strong {
  color:var(--spp-text);
}

.spp-lead {
  max-width:650px;
  margin:0;
  color:var(--spp-muted);
  line-height:1.6;
}

.spp-demo {
  min-width:250px;
  padding:13px 15px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:18px;
}

.spp-demo-title {
  margin-bottom:8px;
  color:var(--spp-muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
}

.spp-switch-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
}

.spp-switch {
  width:47px;
  height:26px;
  padding:3px;
  border:0;
  border-radius:999px;
  background:#263249;
  cursor:pointer;
  transition:.2s;
}

.spp-switch span {
  display:block;
  width:20px;
  height:20px;
  border-radius:50%;
  background:white;
  transition:.2s;
}

.spp-switch.is-on {
  background:var(--spp-cyan);
}

.spp-switch.is-on span {
  transform:translateX(21px);
}

.spp-grid {
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:22px;
}

.spp-stack {
  display:grid;
  gap:22px;
}

.spp-card {
  padding:24px;
  background:linear-gradient(145deg,rgba(16,26,45,.98),rgba(10,17,33,.98));
  border:1px solid var(--spp-line);
  border-radius:28px;
  box-shadow:var(--spp-shadow);
}

.spp-card-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  margin-bottom:19px;
}

.spp-card h2 {
  margin:0 0 4px;
  font-size:20px;
}

.spp-sub {
  color:var(--spp-muted);
  font-size:13px;
}

.spp-pill {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  color:#8ff4cc;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  background:rgba(52,211,153,.10);
  border:1px solid rgba(52,211,153,.22);
  border-radius:999px;
}

.spp-install {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.spp-metric {
  padding:15px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:17px;
}

.spp-metric span {
  display:block;
  margin-bottom:6px;
  color:var(--spp-muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.spp-metric strong {
  font-size:14px;
  word-break:break-word;
}

.spp-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:17px;
}

.spp-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 15px;
  color:#dbe7f5;
  font-weight:850;
  text-decoration:none;
  border:0;
  border-radius:13px;
  cursor:pointer;
}

.spp-btn:hover {
  color:#fff;
  transform:translateY(-1px);
}

.spp-btn--primary {
  color:#001018;
  background:var(--spp-cyan);
}

.spp-btn--primary:hover {
  color:#001018;
}

.spp-btn--secondary {
  color:#9defff;
  background:var(--spp-cyan-soft);
  border:1px solid rgba(0,212,255,.20);
}

.spp-btn--ghost {
  color:#dbe7f5;
  background:rgba(255,255,255,.035);
  border:1px solid var(--spp-line);
}

.spp-request {
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:13px;
  padding:16px;
  border:1px solid var(--spp-line);
  border-radius:18px;
}

.spp-request + .spp-request {
  margin-top:11px;
}

.spp-req-icon {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:var(--spp-cyan-soft);
  border-radius:14px;
}

.spp-request h3 {
  margin:0 0 4px;
  font-size:14px;
}

.spp-request p {
  margin:0;
  color:var(--spp-muted);
  font-size:12px;
}

.spp-status {
  padding:7px 9px;
  color:var(--spp-warn);
  font-size:11px;
  font-weight:900;
  background:rgba(251,191,36,.09);
  border-radius:10px;
}

.spp-status--done {
  color:#8ff4cc;
  background:rgba(52,211,153,.09);
}

.spp-appointment {
  margin-top:4px;
  padding-left:15px;
  border-left:3px solid var(--spp-cyan);
}

.spp-date {
  margin-bottom:5px;
  font-size:18px;
  font-weight:900;
}

.spp-appointment p {
  margin:3px 0;
  color:var(--spp-muted);
  font-size:13px;
}

.spp-timeline {
  position:relative;
  padding-left:19px;
}

.spp-timeline::before {
  content:"";
  position:absolute;
  top:8px;
  bottom:8px;
  left:4px;
  width:1px;
  background:var(--spp-line);
}

.spp-event {
  position:relative;
  padding:0 0 17px 12px;
}

.spp-event:last-child {
  padding-bottom:0;
}

.spp-event::before {
  content:"";
  position:absolute;
  top:5px;
  left:-19px;
  width:9px;
  height:9px;
  background:var(--spp-cyan);
  border-radius:50%;
  box-shadow:0 0 12px rgba(0,212,255,.35);
}

.spp-event strong {
  font-size:13px;
}

.spp-event p {
  margin:4px 0 0;
  color:var(--spp-muted);
  font-size:12px;
}

.spp-quick {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.spp-quick .spp-btn {
  min-height:64px;
  justify-content:flex-start;
  text-align:left;
}

.spp-footer-note {
  margin-top:27px;
  color:var(--spp-muted);
  text-align:center;
  font-size:12px;
}

.spp-login-required {
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
  color:var(--spp-text);
  background:var(--spp-bg);
}

.spp-login-card {
  max-width:520px;
  padding:36px;
  text-align:center;
  background:var(--spp-panel-2);
  border:1px solid var(--spp-line);
  border-radius:28px;
  box-shadow:var(--spp-shadow);
}

.spp-login-mark {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin:0 auto 16px;
  color:#001018;
  font-weight:1000;
  background:var(--spp-cyan);
  border-radius:18px;
}

.spp-login-card h1 {
  margin:0 0 12px;
}

.spp-login-card p {
  margin:0 0 22px;
  color:var(--spp-muted);
}

.spp-system-message {
  margin:24px;
  padding:18px;
  border-radius:14px;
}

.spp-system-message--error {
  color:#7f1d1d;
  background:#fee2e2;
  border:1px solid #fecaca;
}

@media (max-width:900px) {
  .spp-hero {
    display:block;
  }

  .spp-demo {
    margin-top:20px;
  }

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

@media (max-width:782px) {
  body.admin-bar .spp-topbar {
    top:46px;
  }

  body.admin-bar .spp-tech-banner {
    top:111px;
  }
}

@media (max-width:560px) {
  .spp-topbar {
    min-height:65px;
    padding:13px 16px;
  }

  .spp-tech-banner {
    top:65px;
  }

  .spp-user span:first-child {
    display:none;
  }

  .spp-main {
    padding:27px 14px 50px;
  }

  .spp-card {
    padding:18px;
    border-radius:22px;
  }

  .spp-install,
  .spp-quick {
    grid-template-columns:1fr;
  }

  .spp-request {
    grid-template-columns:auto 1fr;
  }

  .spp-request .spp-status {
    grid-column:2;
    justify-self:start;
  }
}

@media (max-width:1120px) {
  .spp-topbar {
    flex-wrap:wrap;
  }

  .spp-nav {
    order:3;
    flex-basis:100%;
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:2px;
    scrollbar-width:thin;
  }
}

@media (max-width:680px) {
  .spp-user .spp-logout {
    display:none;
  }

  .spp-nav a {
    font-size:11px;
    padding:7px 9px;
  }
}


.spp-page-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:26px;
}

.spp-page-head h1 {
  margin:8px 0;
}

.spp-account-card {
  min-height:360px;
}

.spp-empty-state {
  min-height:300px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:12px;
  text-align:center;
}

.spp-empty-state h2,
.spp-empty-state p {
  margin:0;
}

.spp-empty-state p {
  max-width:540px;
  color:var(--spp-muted);
}

.spp-empty-icon {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  color:var(--spp-cyan);
  font-size:26px;
  background:var(--spp-cyan-soft);
  border-radius:18px;
}

.spp-orders-list {
  display:grid;
  gap:12px;
}

.spp-order-row {
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr auto;
  align-items:center;
  gap:18px;
  padding:16px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:17px;
}

.spp-order-label {
  display:block;
  margin-bottom:5px;
  color:var(--spp-muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.spp-order-summary {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:13px;
  margin-bottom:20px;
}

.spp-order-summary > div {
  padding:15px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:17px;
}

.spp-order-summary span {
  display:block;
  margin-bottom:6px;
  color:var(--spp-muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.spp-order-items {
  display:grid;
  gap:10px;
}

.spp-order-item {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px;
  border:1px solid var(--spp-line);
  border-radius:17px;
}

.spp-order-item p {
  margin:4px 0 0;
  color:var(--spp-muted);
  font-size:12px;
}

.spp-account-form {
  display:grid;
  gap:20px;
}

.spp-form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.spp-form-grid label {
  display:grid;
  gap:7px;
  color:var(--spp-text);
  font-weight:750;
}

.spp-form-grid label > span {
  font-size:13px;
}

.spp-form-grid input {
  width:100%;
  min-height:48px;
  padding:11px 13px;
  color:var(--spp-text);
  background:rgba(255,255,255,.035);
  border:1px solid var(--spp-line);
  border-radius:12px;
  outline:none;
}

.spp-form-grid input:focus {
  border-color:rgba(0,212,255,.65);
  box-shadow:0 0 0 3px rgba(0,212,255,.10);
}

.spp-form-grid input:disabled {
  color:var(--spp-muted);
  cursor:not-allowed;
}

.spp-form-grid small {
  color:var(--spp-muted);
  font-size:11px;
  font-weight:500;
}

.spp-notice {
  margin-bottom:18px;
  padding:14px 16px;
  border-radius:13px;
}

.spp-notice--success {
  color:#b9f9df;
  background:rgba(52,211,153,.10);
  border:1px solid rgba(52,211,153,.22);
}

.spp-notice--error {
  color:#fecdd3;
  background:rgba(251,113,133,.10);
  border:1px solid rgba(251,113,133,.22);
}

@media (max-width:900px) {
  .spp-page-head {
    align-items:flex-start;
    flex-direction:column;
  }

  .spp-order-row {
    grid-template-columns:1fr 1fr;
  }

  .spp-order-row .spp-btn {
    justify-self:start;
  }
}

@media (max-width:620px) {
  .spp-form-grid,
  .spp-order-summary,
  .spp-order-row {
    grid-template-columns:1fr;
  }
}


.spp-login-card--wide {
  width:min(520px,100%);
  max-width:520px;
  text-align:left;
}

.spp-login-card--wide .spp-login-mark {
  margin:0 0 16px;
}

.spp-login-card--wide h1 {
  margin:8px 0 10px;
  font-size:clamp(28px,5vw,40px);
}

.spp-login-card--wide > p {
  margin:0 0 22px;
  color:var(--spp-muted);
  line-height:1.6;
}

.spp-login-form {
  display:grid;
  gap:15px;
}

.spp-login-form label:not(.spp-remember) {
  display:grid;
  gap:7px;
}

.spp-login-form label > span {
  color:var(--spp-text);
  font-size:13px;
  font-weight:800;
}

.spp-login-form input[type="text"],
.spp-login-form input[type="password"] {
  width:100%;
  min-height:50px;
  padding:12px 14px;
  color:var(--spp-text);
  background:rgba(255,255,255,.035);
  border:1px solid var(--spp-line);
  border-radius:13px;
  outline:none;
}

.spp-login-form input:focus {
  border-color:rgba(0,212,255,.65);
  box-shadow:0 0 0 3px rgba(0,212,255,.10);
}

.spp-remember {
  display:flex;
  align-items:center;
  gap:9px;
  cursor:pointer;
}

.spp-remember input {
  width:17px;
  height:17px;
  accent-color:var(--spp-cyan);
}

.spp-login-submit {
  width:100%;
  min-height:50px;
  margin-top:2px;
}

.spp-forgot-link {
  display:inline-block;
  margin-top:17px;
  color:var(--spp-cyan);
  font-size:13px;
  font-weight:750;
  text-decoration:none!important;
}

.spp-forgot-link:hover {
  color:#9defff;
}

.spp-login-note {
  margin-top:22px;
  padding-top:18px;
  color:var(--spp-muted);
  font-size:12px;
  line-height:1.5;
  border-top:1px solid var(--spp-line);
}


/* =========================================================
   Smart Pro Portal v0.9.0 — consolidated visual cleanup
   ========================================================= */

.spp-root {
  font-size:16px;
  line-height:1.5;
}

.spp-root a,
.spp-root button {
  text-decoration:none!important;
}

.spp-root h1,
.spp-root h2,
.spp-root h3,
.spp-root p,
.spp-root label,
.spp-root span,
.spp-root strong {
  opacity:1;
}

.spp-topbar {
  display:grid!important;
  grid-template-columns:minmax(220px,auto) minmax(0,1fr) auto;
  align-items:center!important;
  gap:24px!important;
  width:100%!important;
  max-width:100vw!important;
  min-height:80px!important;
  padding:16px clamp(20px,3vw,48px)!important;
  background:rgba(5,10,20,.98)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 10px 34px rgba(0,0,0,.24)!important;
}

.spp-brand {
  min-width:0;
  font-size:14px!important;
  line-height:1.05;
  letter-spacing:.55px!important;
}

.spp-brand small {
  margin-top:4px!important;
  font-size:9px!important;
  line-height:1;
  letter-spacing:1.7px!important;
}

.spp-mark {
  width:42px!important;
  height:42px!important;
  flex:0 0 42px;
  border-radius:13px!important;
}

.spp-nav {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  min-width:0;
  overflow:visible!important;
  padding:0!important;
}

.spp-nav a {
  min-height:40px!important;
  padding:10px 12px!important;
  color:#a9b8cb!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  border:1px solid transparent;
  border-radius:11px!important;
}

.spp-nav a:hover,
.spp-nav a:focus-visible {
  color:#fff!important;
  background:rgba(255,255,255,.055)!important;
}

.spp-nav a.is-active {
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.05)!important;
}

.spp-user {
  min-width:0;
  justify-content:flex-end;
  gap:10px!important;
  color:#a9b8cb!important;
  font-size:13px!important;
  white-space:nowrap;
}

.spp-avatar {
  width:34px!important;
  height:34px!important;
  flex:0 0 34px;
}

.spp-logout {
  display:inline-flex!important;
  align-items:center;
  min-height:34px;
  padding:7px 10px!important;
  color:#ffb7c2!important;
  background:rgba(251,113,133,.06);
  border:1px solid rgba(251,113,133,.12);
  border-radius:10px;
}

.spp-logout:hover {
  color:#fff!important;
  background:rgba(251,113,133,.12);
}

.spp-main {
  max-width:1320px!important;
  padding:44px 28px 80px!important;
}

.spp-hero {
  align-items:flex-start!important;
  margin-bottom:32px!important;
}

.spp-root h1 {
  color:#f8fafc!important;
  font-weight:850!important;
  letter-spacing:-.025em;
}

.spp-root h2,
.spp-root h3 {
  color:#f8fafc!important;
}

.spp-lead,
.spp-sub,
.spp-event p,
.spp-request p,
.spp-appointment p,
.spp-footer-note {
  color:#a9b8cb!important;
}

.spp-card {
  border-radius:24px!important;
  border-color:rgba(255,255,255,.095)!important;
}

.spp-btn {
  min-height:44px;
  padding:11px 15px!important;
  font-size:14px!important;
  line-height:1.15!important;
  border-radius:12px!important;
  box-shadow:none!important;
}

.spp-btn--primary {
  color:#001018!important;
}

.spp-btn--secondary {
  color:#a9efff!important;
}

.spp-btn--ghost {
  color:#e2e8f0!important;
}

/* Login screen */
.spp-login-required {
  min-height:100vh!important;
  padding:42px 22px!important;
  background:
    radial-gradient(circle at 50% 20%,rgba(0,212,255,.08),transparent 26rem),
    #060b16!important;
}

.spp-login-card--wide {
  width:min(540px,100%)!important;
  max-width:540px!important;
  padding:38px!important;
  text-align:left!important;
  background:linear-gradient(145deg,#111b2f,#0c1425)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:26px!important;
  box-shadow:0 30px 90px rgba(0,0,0,.42)!important;
}

.spp-login-card--wide .spp-login-mark {
  width:56px!important;
  height:56px!important;
  margin:0 0 18px!important;
  border-radius:17px!important;
}

.spp-login-card--wide .spp-eyebrow {
  color:#00d4ff!important;
  font-size:11px!important;
  letter-spacing:1.6px!important;
}

.spp-login-card--wide h1 {
  margin:9px 0 10px!important;
  color:#f8fafc!important;
  font-size:clamp(30px,5vw,42px)!important;
  line-height:1.08!important;
}

.spp-login-card--wide > p {
  margin:0 0 24px!important;
  color:#afbed0!important;
  font-size:15px!important;
  line-height:1.65!important;
}

.spp-login-form {
  display:grid!important;
  gap:18px!important;
}

.spp-login-form label:not(.spp-remember) {
  display:grid!important;
  gap:8px!important;
  margin:0!important;
}

.spp-login-form label > span {
  display:block!important;
  margin:0!important;
  color:#dce7f5!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.25!important;
}

.spp-login-form input[type="text"],
.spp-login-form input[type="password"] {
  display:block!important;
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  padding:12px 14px!important;
  color:#f8fafc!important;
  caret-color:#00d4ff!important;
  background:#0a1324!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:13px!important;
  outline:none!important;
  box-shadow:none!important;
  -webkit-text-fill-color:#f8fafc!important;
}

.spp-login-form input[type="text"]:focus,
.spp-login-form input[type="password"]:focus {
  border-color:rgba(0,212,255,.70)!important;
  box-shadow:0 0 0 3px rgba(0,212,255,.10)!important;
}

.spp-remember {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  margin:0!important;
  color:#b5c3d4!important;
  cursor:pointer;
}

.spp-remember input {
  width:17px!important;
  height:17px!important;
  flex:0 0 17px;
  margin:0!important;
  accent-color:#00d4ff;
}

.spp-remember span {
  color:#b5c3d4!important;
  font-size:13px!important;
  font-weight:650!important;
}

.spp-login-submit {
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  transform:none!important;
  color:#001018!important;
  font-size:15px!important;
  font-weight:900!important;
}

.spp-forgot-link {
  display:block!important;
  margin-top:18px!important;
  color:#32ddff!important;
  text-align:center!important;
  font-size:13px!important;
  font-weight:800!important;
}

.spp-login-note {
  margin-top:22px!important;
  padding-top:19px!important;
  color:#a9b8cb!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1.55!important;
}

/* Account form */
.spp-form-grid label > span {
  color:#dce7f5!important;
}

.spp-form-grid input {
  color:#f8fafc!important;
  background:#0a1324!important;
  border-color:rgba(255,255,255,.13)!important;
  -webkit-text-fill-color:#f8fafc!important;
}

.spp-form-grid input:disabled {
  color:#8fa0b5!important;
  -webkit-text-fill-color:#8fa0b5!important;
}

/* Desktop/tablet responsiveness */
@media (max-width:1180px) {
  .spp-topbar {
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:14px 20px!important;
  }

  .spp-nav {
    grid-column:1 / -1!important;
    order:initial!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    padding-top:10px!important;
    border-top:1px solid rgba(255,255,255,.06);
    scrollbar-width:thin;
  }
}

@media (max-width:720px) {
  .spp-topbar {
    padding:13px 15px!important;
  }

  .spp-brand {
    font-size:12px!important;
  }

  .spp-user > span:first-child {
    display:none!important;
  }

  .spp-logout {
    display:inline-flex!important;
    padding:7px 9px!important;
    font-size:11px!important;
  }

  .spp-nav a {
    padding:9px 10px!important;
    font-size:11px!important;
  }

  .spp-main {
    padding:28px 14px 56px!important;
  }

  .spp-login-required {
    padding:22px 14px!important;
  }

  .spp-login-card--wide {
    padding:26px 22px!important;
    border-radius:22px!important;
  }
}


/* Smart Pro Portal v1.0.0 — functional section skeleton */
.spp-overview-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.spp-overview-card {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  min-height:116px;
  padding:22px;
  color:var(--spp-text)!important;
  background:linear-gradient(145deg,rgba(16,26,45,.98),rgba(10,17,33,.98));
  border:1px solid var(--spp-line);
  border-radius:22px;
  text-decoration:none!important;
  box-shadow:var(--spp-shadow);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.spp-overview-card:hover {
  color:var(--spp-text)!important;
  transform:translateY(-2px);
  border-color:rgba(0,212,255,.28);
  background:linear-gradient(145deg,rgba(18,31,53,.99),rgba(10,19,36,.99));
}

.spp-overview-icon {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  color:var(--spp-cyan)!important;
  font-size:22px;
  font-weight:900;
  background:var(--spp-cyan-soft);
  border-radius:15px;
}

.spp-overview-card strong {
  display:block;
  margin-bottom:5px;
  color:var(--spp-text)!important;
  font-size:17px;
}

.spp-overview-card small {
  display:block;
  color:var(--spp-muted)!important;
  font-size:13px;
  line-height:1.45;
}

.spp-overview-arrow {
  color:var(--spp-cyan)!important;
  font-size:22px;
  font-weight:900;
}

.spp-empty-state .spp-btn[disabled] {
  opacity:.55;
  cursor:not-allowed;
  transform:none!important;
}

@media (max-width:780px) {
  .spp-overview-grid {
    grid-template-columns:1fr;
  }
}


/* Smart Pro Portal v1.1.0 — Customer Dashboard */
.spp-dashboard-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px}
.spp-dashboard-hero h1{margin:8px 0}
.spp-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.spp-status-card{display:block;min-height:220px;padding:23px;color:var(--spp-text)!important;background:linear-gradient(145deg,rgba(16,26,45,.98),rgba(10,17,33,.98));border:1px solid var(--spp-line);border-radius:23px;text-decoration:none!important;box-shadow:var(--spp-shadow);transition:transform .18s ease,border-color .18s ease}
.spp-status-card:hover{color:var(--spp-text)!important;transform:translateY(-2px);border-color:rgba(0,212,255,.28)}
.spp-status-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.spp-status-icon{width:46px;height:46px;display:grid;place-items:center;color:var(--spp-cyan)!important;font-size:21px;font-weight:900;background:var(--spp-cyan-soft);border-radius:14px}
.spp-status-card h2{margin:0 0 8px;font-size:20px}
.spp-status-card p{min-height:48px;margin:0 0 24px;color:var(--spp-muted)!important;font-size:14px;line-height:1.55}
.spp-status-badge{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;font-size:11px;font-weight:900;white-space:nowrap;border-radius:999px}
.spp-status-badge--ok{color:#9af2cf!important;background:rgba(52,211,153,.10);border:1px solid rgba(52,211,153,.20)}
.spp-status-badge--neutral{color:#c3cfdd!important;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.spp-status-badge--info{color:#9defff!important;background:rgba(0,212,255,.10);border:1px solid rgba(0,212,255,.20)}
.spp-status-badge--warning{color:#fde68a!important;background:rgba(251,191,36,.10);border:1px solid rgba(251,191,36,.20)}
.spp-status-link{color:var(--spp-cyan)!important;font-size:13px;font-weight:850;text-decoration:none!important}
.spp-dashboard-lower{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-top:18px}
.spp-quick-panel,.spp-account-summary{min-height:220px}
.spp-dashboard-actions{display:flex;flex-wrap:wrap;gap:10px}
.spp-account-checks{display:grid;gap:10px;margin-bottom:20px}
.spp-account-checks>div{padding:13px 14px;background:rgba(255,255,255,.025);border:1px solid var(--spp-line);border-radius:14px}
.spp-account-checks span{display:block;margin-bottom:5px;color:var(--spp-muted)!important;font-size:10px;text-transform:uppercase;letter-spacing:.8px}
.spp-account-checks strong{display:block;color:var(--spp-text)!important;font-size:13px;word-break:break-word}
@media(max-width:900px){.spp-dashboard-hero{display:block}.spp-dashboard-grid,.spp-dashboard-lower{grid-template-columns:1fr}.spp-dashboard-hero .spp-demo{margin-top:20px}}
@media(max-width:560px){.spp-status-card{min-height:0;padding:19px}.spp-status-card p{min-height:0}}


/* Smart Pro Portal v1.2.0 — real installation records */
.spp-installations-list {
  display:grid;
  gap:18px;
}

.spp-installation-record {
  min-height:0;
}

.spp-installation-fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.spp-installation-fields > div {
  padding:15px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:16px;
}

.spp-installation-fields span {
  display:block;
  margin-bottom:6px;
  color:var(--spp-muted)!important;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.spp-installation-fields strong {
  color:var(--spp-text)!important;
  font-size:14px;
  word-break:break-word;
}

.spp-installation-note {
  margin-top:16px;
  padding:14px 15px;
  color:#a9b8cb;
  font-size:12px;
  line-height:1.55;
  background:rgba(0,212,255,.045);
  border:1px solid rgba(0,212,255,.10);
  border-radius:14px;
}

@media (max-width:620px) {
  .spp-installation-fields {
    grid-template-columns:1fr;
  }
}


/* Smart Pro Portal v1.3.0 — pairing code */
.spp-installation-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.spp-installation-actions form {
  margin:0;
}

.spp-pairing-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:16px;
  padding:16px;
  color:var(--spp-text);
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:16px;
}

.spp-pairing-box--success {
  background:rgba(52,211,153,.07);
  border-color:rgba(52,211,153,.22);
}

.spp-pairing-label {
  display:block;
  margin-bottom:6px;
  color:var(--spp-muted)!important;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.85px;
}

.spp-pairing-code {
  display:block;
  margin-bottom:5px;
  color:#9af2cf!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:25px!important;
  letter-spacing:2px;
}

.spp-pairing-box small {
  display:block;
  color:var(--spp-muted)!important;
  font-size:11px;
  line-height:1.5;
}

@media (max-width:620px) {
  .spp-pairing-box {
    align-items:flex-start;
    flex-direction:column;
  }
}


/* Smart Pro Portal v1.5.0 — Support Requests MVP */
.spp-request-form-card { margin-bottom:24px; }
.spp-request-form { display:grid; gap:16px; }
.spp-request-form select,
.spp-request-form textarea {
  width:100%; min-height:48px; padding:12px 13px; color:var(--spp-text);
  background:#0a1324; border:1px solid var(--spp-line); border-radius:12px; outline:none;
}
.spp-request-form textarea { min-height:110px; resize:vertical; }
.spp-request-form select:focus,
.spp-request-form textarea:focus { border-color:rgba(0,212,255,.65); box-shadow:0 0 0 3px rgba(0,212,255,.10); }
.spp-request-message-field { display:grid; gap:7px; color:var(--spp-text); font-size:13px; font-weight:800; }
.spp-request-history-section { margin-top:26px; }
.spp-request-list { display:grid; gap:14px; }
.spp-request-record { min-height:0; }
.spp-request-record-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.spp-request-record h3 { margin:5px 0 0; font-size:18px; }
.spp-request-code { color:var(--spp-cyan)!important; font-size:11px; font-weight:900; letter-spacing:.8px; }
.spp-request-message { margin:16px 0; color:#d7e0ec!important; line-height:1.6; white-space:normal; }
.spp-request-admin-note { margin:14px 0; padding:13px 14px; color:#bdefff; background:rgba(0,212,255,.06); border:1px solid rgba(0,212,255,.14); border-radius:13px; }
.spp-request-meta { display:flex; flex-wrap:wrap; gap:8px 18px; padding-top:13px; color:var(--spp-muted)!important; font-size:11px; border-top:1px solid var(--spp-line); }
@media (max-width:620px) { .spp-request-record-top { flex-direction:column; } }


/* Smart Pro Portal v1.6.0 — administrator request center */
.spp-admin-request-summary {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:16px;
}
.spp-admin-request-summary .spp-card { min-height:0; padding:18px 20px; }
.spp-admin-request-summary span { display:block; margin-bottom:8px; color:var(--spp-muted)!important; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.75px; }
.spp-admin-request-summary strong { color:var(--spp-text)!important; font-size:28px; line-height:1; }
.spp-request-admin-actions { display:flex; justify-content:flex-end; margin-top:15px; }
.spp-notice--info { color:#bdefff; background:rgba(0,212,255,.06); border-color:rgba(0,212,255,.18); }
@media (max-width:720px) { .spp-admin-request-summary { grid-template-columns:1fr; } .spp-request-admin-actions { justify-content:stretch; } .spp-request-admin-actions .spp-btn { width:100%; } }

/* Smart Pro Portal v2.0.0 — administrator follow-up queue */
.spp-followup-panel {
  margin-bottom:18px;
  padding:22px;
  border-color:rgba(251,191,36,.22);
  background:
    linear-gradient(145deg,rgba(37,30,17,.82),rgba(10,17,33,.98));
}

.spp-followup-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.spp-followup-head h2 {
  margin:5px 0 5px;
  font-size:22px;
}

.spp-followup-head p {
  margin:0;
  color:var(--spp-muted);
  font-size:13px;
  line-height:1.55;
}

.spp-followup-count {
  min-width:44px;
  min-height:44px;
  display:grid;
  place-items:center;
  padding:8px;
  color:#fde68a;
  font-size:19px;
  font-weight:950;
  background:rgba(251,191,36,.10);
  border:1px solid rgba(251,191,36,.24);
  border-radius:14px;
}

.spp-followup-list {
  display:grid;
  gap:12px;
}

.spp-followup-item {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:16px;
  background:rgba(6,11,22,.48);
  border:1px solid rgba(255,255,255,.08);
  border-radius:17px;
}

.spp-followup-title-row {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.spp-followup-title-row strong {
  display:block;
  margin-bottom:4px;
  font-size:15px;
}

.spp-followup-title-row > div > span {
  display:block;
  color:var(--spp-muted);
  font-size:12px;
}

.spp-followup-meta {
  display:flex;
  flex-wrap:wrap;
  gap:5px 13px;
  margin:11px 0 8px;
  color:#b7c4d5;
  font-size:11px;
}

.spp-followup-meta span + span::before {
  content:"•";
  margin-right:13px;
  color:rgba(255,255,255,.22);
}

.spp-followup-main p {
  margin:0;
  color:#d7e0ec;
  font-size:13px;
  line-height:1.55;
}

.spp-followup-actions {
  min-width:238px;
  display:grid;
  gap:8px;
}

.spp-followup-actions .spp-btn {
  width:100%;
  min-height:40px;
  padding:9px 12px;
  font-size:12px;
}

.spp-followup-notice,
.spp-followup-modal-notice {
  margin-bottom:13px;
  padding:11px 13px;
  font-size:12px;
  line-height:1.5;
  border-radius:12px;
}

.spp-followup-notice--info {
  color:#bdefff;
  background:rgba(0,212,255,.07);
  border:1px solid rgba(0,212,255,.18);
}

.spp-followup-notice--success {
  color:#9af2cf;
  background:rgba(52,211,153,.08);
  border:1px solid rgba(52,211,153,.20);
}

.spp-followup-notice--error {
  color:#fecaca;
  background:rgba(248,113,113,.08);
  border:1px solid rgba(248,113,113,.20);
}

html.spp-followup-modal-open,
body.spp-followup-modal-open {
  overflow:hidden !important;
  overscroll-behavior:none;
}

.spp-followup-modal {
  position:fixed;
  inset:0;
  z-index:10050;
  display:grid;
  place-items:center;
  padding:20px;
  overscroll-behavior:none;
}

.spp-followup-modal[hidden] {
  display:none;
}

.spp-followup-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(4px);
}

.spp-followup-modal-dialog {
  position:relative;
  z-index:1;
  width:min(620px,100%);
  color:var(--spp-text);
  background:#0c1424;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:0 30px 100px rgba(0,0,0,.58);
  overflow:hidden;
}

.spp-followup-modal-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px 16px;
  border-bottom:1px solid var(--spp-line);
}

.spp-followup-modal-head h2 {
  margin:5px 0 0;
  font-size:22px;
}

.spp-followup-modal-x {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0;
  color:var(--spp-muted);
  font-size:25px;
  line-height:1;
  background:rgba(255,255,255,.04);
  border:1px solid var(--spp-line);
  border-radius:11px;
  cursor:pointer;
}

.spp-followup-modal-body {
  padding:20px 22px;
}
.spp-customer-light-modal .spp-followup-modal-backdrop{background:rgba(17,24,39,.46);backdrop-filter:none}
.spp-customer-light-modal .spp-followup-modal-dialog{background:#fff;color:#102033;border:1px solid rgba(32,78,108,.16);box-shadow:0 24px 70px rgba(16,32,51,.18)}
.spp-customer-light-modal .spp-followup-modal-head h2,
.spp-customer-light-modal .spp-followup-modal-body,
.spp-customer-light-modal .spp-followup-modal-body p,
.spp-customer-light-modal .spp-followup-modal-body strong,
.spp-customer-light-modal .spp-followup-modal-body span,
.spp-customer-light-modal .spp-followup-modal-body small,
.spp-customer-light-modal .spp-mb328-facts strong,
.spp-customer-light-modal .spp-settings-compact-summary strong{color:#102033}
.spp-customer-light-modal .spp-eyebrow{color:#0e7490}
.spp-customer-light-modal .spp-followup-modal-x{background:#f4f7fb;color:#334155}
.spp-customer-light-modal .spp-mb328-facts>div{background:#f8fafc;border-color:rgba(32,78,108,.14);color:#102033}
.spp-customer-light-modal .spp-mb328-facts span,
.spp-customer-light-modal .spp-settings-compact-summary span{color:#64748b}
.spp-customer-light-modal .spp-settings-compact-summary>div{display:flex;flex-wrap:wrap;gap:6px 8px}
.spp-customer-light-modal .spp-notice{background:#f8fafc;color:#102033;border-color:rgba(32,78,108,.14)}
.spp-customer-light-modal .spp-package-compare-v1{background:#f7fafc;border-color:rgba(32,78,108,.12);box-shadow:none;color:#102033}
.spp-customer-light-modal .spp-package-compare-v1__hero h2,
.spp-customer-light-modal .spp-package-compare-v1__hero h3,
.spp-customer-light-modal .spp-package-compare-v1__hero p,
.spp-customer-light-modal .spp-package-compare-v1__card h4,
.spp-customer-light-modal .spp-package-compare-v1__price strong,
.spp-customer-light-modal .spp-package-compare-v1__annual strong,
.spp-customer-light-modal .spp-package-compare-v1__card li{color:#102033}
.spp-customer-light-modal .spp-package-compare-v1__card{background:#fff}
.spp-root--customer .spp-followup-modal-dialog{
  background:#fff;
  color:#102033;
  border:1px solid rgba(32,78,108,.16);
  box-shadow:0 24px 70px rgba(16,32,51,.18);
  max-height:min(860px,calc(100dvh - 48px));
  overflow:auto;
  overscroll-behavior:contain;
}
.spp-root--customer .spp-followup-modal-body{overflow:visible;max-height:none;color:#102033}
.spp-root--customer .spp-followup-modal-x{background:#f4f7fb;color:#334155}
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1{background:#f7fafc;border-color:rgba(32,78,108,.12);box-shadow:none;color:#102033}
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__hero h2,
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__hero h3,
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__hero p,
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__card h4,
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__price strong,
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__annual strong,
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__card li{color:#102033}
.spp-root--customer .spp-package-compare-modal .spp-package-compare-v1__card{background:#fff}
.spp-root--customer .spp-connection-first-setup{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:auto}
.spp-root--customer .spp-connection-first-setup p{margin:0;color:var(--spp-muted);font-size:13px;line-height:1.4}
.spp-root--customer .spp-customer-summary-layout>.spp-customer-installation-connection-card,
.spp-root--customer .spp-aac-customer--compact{display:flex;flex-direction:column}
.spp-root--customer .spp-aac-customer__foot{display:flex;justify-content:flex-end;margin-top:auto}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-grid,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription>[data-spp-customer-folder-subscription-target]{align-self:stretch}
.spp-root--customer #spp-folder-subscription{display:flex;flex-direction:column;height:100%}
.spp-root--customer .spp-subscription-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:auto}
.spp-root--customer .spp-subscription-toolbar .spp-sub{margin:0}

.spp-followup-modal-body > p {
  margin:0 0 18px;
  color:var(--spp-muted);
  font-size:13px;
  line-height:1.65;
}

.spp-followup-modal-body label {
  display:block;
  margin-bottom:7px;
  font-size:13px;
}

.spp-followup-modal-body textarea {
  width:100%;
  min-height:120px;
  padding:12px 13px;
  color:var(--spp-text);
  background:#08101e;
  border:1px solid var(--spp-line);
  border-radius:12px;
  resize:vertical;
  outline:none;
}

.spp-followup-modal-body textarea:focus {
  border-color:rgba(0,212,255,.55);
  box-shadow:0 0 0 3px rgba(0,212,255,.08);
}

.spp-followup-modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:15px 22px 20px;
  border-top:1px solid var(--spp-line);
}

.spp-history-resolution {
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(52,211,153,.18);
}

@media (max-width:900px) {
  .spp-followup-item {
    grid-template-columns:1fr;
  }

  .spp-followup-actions {
    min-width:0;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:680px) {
  .spp-followup-head,
  .spp-followup-title-row {
    flex-direction:column;
  }

  .spp-followup-actions {
    grid-template-columns:1fr;
  }

  .spp-followup-modal-actions {
    flex-direction:column-reverse;
  }

  .spp-followup-modal-actions .spp-btn {
    width:100%;
  }
}


/* Request workflow and customer-safe timeline — 2.1.0 */
.spp-request-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.spp-workflow-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.1;
}

.spp-workflow-badge--technician {
  color: #8bdcff;
  border-color: rgba(65, 196, 255, .28);
  background: rgba(65, 196, 255, .1);
}

.spp-workflow-badge--customer {
  color: #ffe285;
  border-color: rgba(255, 199, 59, .35);
  background: rgba(255, 199, 59, .11);
}

.spp-request-timeline {
  margin: 16px 0;
  border: 1px solid rgba(151, 171, 209, .18);
  border-radius: 14px;
  background: rgba(5, 11, 23, .28);
  overflow: hidden;
}

.spp-request-timeline > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  cursor: pointer;
  color: #f5f7ff;
  font-weight: 800;
  list-style: none;
}

.spp-request-timeline > summary::-webkit-details-marker { display: none; }
.spp-request-timeline > summary::before {
  content: '›';
  color: #55d5ff;
  font-size: 1.2rem;
  transition: transform .18s ease;
}
.spp-request-timeline[open] > summary::before { transform: rotate(90deg); }
.spp-request-timeline > summary span {
  margin-left: auto;
  color: #8fa4c7;
  font-size: .75rem;
  font-weight: 700;
}

.spp-request-timeline-list {
  padding: 4px 15px 15px;
}

.spp-request-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
}

.spp-request-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 24px;
  bottom: -8px;
  width: 2px;
  background: rgba(151, 171, 209, .18);
}

.spp-request-timeline-marker {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: #55d5ff;
  box-shadow: 0 0 0 4px #10192c;
}

.spp-request-timeline-item--session .spp-request-timeline-marker { background: #8c8cff; }
.spp-request-timeline-item--resolved .spp-request-timeline-marker { background: #53e0a1; }
.spp-request-timeline-item--internal .spp-request-timeline-marker { background: #ffbb45; }

.spp-request-timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.spp-request-timeline-head strong { color: #f4f7ff; }
.spp-request-timeline-head time,
.spp-request-timeline-item small {
  color: #8297ba;
  font-size: .75rem;
}

.spp-request-timeline-item p {
  margin: 5px 0;
  color: #cbd6ea;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  .spp-request-record-top,
  .spp-request-timeline-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .spp-request-badges { justify-content: flex-start; }
}


/* === Portal 2.2.0 · Amelia Bridge === */
.spp-page-head-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px;
}

.spp-appointment-stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:0 0 24px;
}

.spp-appointment-stats article {
  min-height:108px;
  padding:20px 22px;
  border:1px solid var(--spp-line);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(16,26,45,.96),rgba(8,15,29,.94));
  box-shadow:0 16px 42px rgba(0,0,0,.18);
}

.spp-appointment-stats span {
  display:block;
  margin-bottom:8px;
  color:var(--spp-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.spp-appointment-stats strong {
  color:var(--spp-text);
  font-size:32px;
  line-height:1;
}

.spp-appointments-section {
  margin:0 0 28px;
}

.spp-appointment-list {
  display:grid;
  gap:14px;
}

.spp-appointment-card {
  display:grid;
  grid-template-columns:104px minmax(0,1fr);
  gap:20px;
  align-items:stretch;
  padding:18px;
  border:1px solid var(--spp-line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(16,26,45,.96),rgba(8,15,29,.94));
  box-shadow:0 16px 45px rgba(0,0,0,.2);
}

.spp-appointment-card--featured {
  border-color:rgba(0,212,255,.38);
  background:
    radial-gradient(circle at 100% 0%,rgba(0,212,255,.12),transparent 25rem),
    linear-gradient(145deg,rgba(16,30,50,.98),rgba(8,15,29,.96));
  box-shadow:0 22px 60px rgba(0,0,0,.28),0 0 0 1px rgba(0,212,255,.06) inset;
}

.spp-appointment-date {
  display:flex;
  min-height:118px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,212,255,.22);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(0,212,255,.16),rgba(0,212,255,.055));
}

.spp-appointment-date span {
  color:#8eeeff;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.spp-appointment-date strong {
  margin:2px 0;
  color:#fff;
  font-size:36px;
  line-height:1;
}

.spp-appointment-date small {
  color:#c8f7ff;
  font-size:14px;
  font-weight:850;
}

.spp-appointment-content {
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
}

.spp-appointment-title-row {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.spp-appointment-kicker {
  display:block;
  margin-bottom:4px;
  color:var(--spp-cyan);
  font-size:11px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.spp-appointment-title-row h3 {
  margin:0;
  color:var(--spp-text);
  font-size:20px;
}

.spp-appointment-meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin-top:13px;
  color:#c0cce0;
  font-size:13px;
}

.spp-appointment-reason {
  margin-top:14px;
  padding:12px 14px;
  color:#dbe7f8;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}

.spp-appointment-reason strong {
  color:#fff;
}

.spp-appointment-links {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.spp-appointment-links span {
  padding:5px 9px;
  color:#9defff;
  font-size:11px;
  font-weight:850;
  border:1px solid rgba(0,212,255,.2);
  border-radius:999px;
  background:rgba(0,212,255,.07);
}

.spp-appointment-empty {
  display:flex;
  align-items:center;
  gap:18px;
  padding:24px;
}

.spp-appointment-empty > div:nth-child(2) {
  flex:1 1 auto;
}

.spp-appointment-empty h3 {
  margin:0 0 5px;
}

.spp-appointment-empty p,
.spp-appointment-history-empty p {
  margin:0;
  color:var(--spp-muted);
}

.spp-booking-panel {
  margin:0 0 32px;
  overflow:hidden;
  border:1px solid rgba(0,212,255,.24);
  border-radius:22px;
  background:rgba(12,21,38,.94);
  box-shadow:var(--spp-shadow);
}

.spp-booking-panel > summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
  cursor:pointer;
  list-style:none;
  background:linear-gradient(90deg,rgba(0,212,255,.11),rgba(52,211,153,.06));
}

.spp-booking-panel > summary::-webkit-details-marker { display:none; }
.spp-booking-panel > summary small {
  display:block;
  margin-bottom:3px;
  color:var(--spp-cyan);
  font-size:11px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.spp-booking-panel > summary strong { color:#fff; font-size:18px; }
.spp-booking-summary-action {
  color:#d7f8ff;
  font-size:12px;
  font-weight:850;
}
.spp-booking-panel[open] .spp-booking-summary-action::after { content:' · Κλείσιμο'; }

.spp-booking-intro {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px 18px;
  border-top:1px solid var(--spp-line);
}

.spp-booking-intro h2 { margin:0 0 6px; }
.spp-booking-intro p { max-width:760px; margin:0; color:var(--spp-muted); }

.spp-amelia-frame {
  margin:0 22px 24px;
  padding:22px;
  overflow:hidden;
  color:#172033;
  border-radius:18px;
  background:#edf2f7;
  box-shadow:0 16px 45px rgba(0,0,0,.24) inset;
}

.spp-amelia-frame .amelia-app-booking,
.spp-amelia-frame [class*="amelia-app"] {
  max-width:100%;
}

.spp-appointments-history {
  padding-top:4px;
}

.spp-status-badge--danger {
  color:#ffd5dc;
  background:rgba(248,113,113,.13);
  border-color:rgba(248,113,113,.28);
}

@media (max-width:760px) {
  .spp-page-head-actions { justify-content:flex-start; }
  .spp-appointment-stats { grid-template-columns:1fr; }
  .spp-appointment-card { grid-template-columns:76px minmax(0,1fr); gap:13px; padding:13px; }
  .spp-appointment-date { min-height:96px; }
  .spp-appointment-date strong { font-size:28px; }
  .spp-appointment-title-row { flex-direction:column; }
  .spp-appointment-empty { align-items:flex-start; flex-direction:column; }
  .spp-booking-intro { flex-direction:column; }
  .spp-amelia-frame { margin:0 10px 14px; padding:8px; }
}


/* Smart Pro Portal v2.3.0 — premium dashboard foundation */
.spp-dashboard-hero--premium{margin-bottom:22px}
.spp-system-state{display:inline-flex;align-items:center;gap:9px;margin-top:18px;padding:10px 13px;border:1px solid var(--spp-line);border-radius:999px;color:#dbe7f5;font-size:13px;background:rgba(255,255,255,.025)}
.spp-system-state-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8;box-shadow:0 0 12px rgba(148,163,184,.35)}
.spp-system-state--ok{border-color:rgba(52,211,153,.2);background:rgba(52,211,153,.07)}
.spp-system-state--ok .spp-system-state-dot{background:var(--spp-ok);box-shadow:0 0 14px rgba(52,211,153,.7)}
.spp-system-state--warning{border-color:rgba(251,191,36,.22);background:rgba(251,191,36,.07)}
.spp-system-state--warning .spp-system-state-dot{background:var(--spp-warn);box-shadow:0 0 14px rgba(251,191,36,.55)}
.spp-system-state--info{border-color:rgba(0,212,255,.22);background:rgba(0,212,255,.07)}
.spp-system-state--info .spp-system-state-dot{background:var(--spp-cyan);box-shadow:0 0 14px rgba(0,212,255,.55)}
.spp-dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.spp-kpi-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:112px;padding:16px;color:var(--spp-text)!important;text-decoration:none!important;background:linear-gradient(145deg,rgba(16,26,45,.94),rgba(10,17,33,.96));border:1px solid var(--spp-line);border-radius:19px;box-shadow:0 16px 42px rgba(0,0,0,.2);transition:transform .18s ease,border-color .18s ease}
.spp-kpi-card:hover{color:var(--spp-text)!important;transform:translateY(-2px);border-color:rgba(0,212,255,.25)}
.spp-kpi-icon{width:40px;height:40px;display:grid;place-items:center;color:#8ff4cc;background:rgba(52,211,153,.10);border-radius:13px;font-size:19px;font-style:normal;font-weight:900}
.spp-kpi-icon--subscription{color:#c4b5fd;background:rgba(139,92,246,.12)}
.spp-kpi-icon--request{color:#fde68a;background:rgba(251,191,36,.10)}
.spp-kpi-icon--appointment{color:#9defff;background:rgba(0,212,255,.10)}
.spp-kpi-content{min-width:0}
.spp-kpi-content small,.spp-kpi-content strong,.spp-kpi-content em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spp-kpi-content small{margin-bottom:5px;color:var(--spp-muted);font-size:10px;font-weight:850;letter-spacing:.75px;text-transform:uppercase}
.spp-kpi-content strong{color:var(--spp-text);font-size:15px}
.spp-kpi-content em{margin-top:4px;color:var(--spp-muted);font-size:11px;font-style:normal}
.spp-kpi-arrow{color:var(--spp-cyan);font-size:23px;font-weight:900}
.spp-dashboard-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:18px;align-items:start}
.spp-dashboard-primary,.spp-dashboard-sidebar{display:grid;gap:18px}
.spp-installation-overview,.spp-activity-card,.spp-subscription-card,.spp-quick-panel,.spp-account-summary{min-height:0}
.spp-installation-snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:17px}
.spp-installation-snapshot>div{padding:14px;background:rgba(255,255,255,.025);border:1px solid var(--spp-line);border-radius:15px}
.spp-installation-snapshot span{display:block;margin-bottom:6px;color:var(--spp-muted);font-size:10px;font-weight:800;letter-spacing:.65px;text-transform:uppercase}
.spp-installation-snapshot strong{display:block;font-size:13px;word-break:break-word}
.spp-help-tip{position:relative;display:inline-grid!important;place-items:center!important;width:17px;height:17px;margin:0 0 0 4px!important;color:#9defff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;vertical-align:middle;background:rgba(0,212,255,.10);border:1px solid rgba(0,212,255,.22);border-radius:50%;cursor:help;text-transform:none!important;letter-spacing:0!important}
.spp-help-tip::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 9px);z-index:50;width:260px;padding:10px 12px;color:#eaf6ff;font-size:11px;font-weight:600;line-height:1.45;text-align:left;text-transform:none;letter-spacing:0;white-space:normal;background:#0b1426;border:1px solid rgba(0,212,255,.2);border-radius:11px;box-shadow:0 15px 35px rgba(0,0,0,.4);opacity:0;pointer-events:none;transform:translate(-50%,5px);transition:.16s}
.spp-help-tip:hover::after,.spp-help-tip:focus::after{opacity:1;transform:translate(-50%,0)}
.spp-activity-list{display:grid}
.spp-activity-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--spp-line)}
.spp-activity-item:last-child{border-bottom:0;padding-bottom:0}
.spp-activity-marker{width:10px;height:10px;border-radius:50%;background:var(--spp-cyan);box-shadow:0 0 12px rgba(0,212,255,.4)}
.spp-activity-item--installation .spp-activity-marker{background:var(--spp-ok);box-shadow:0 0 12px rgba(52,211,153,.45)}
.spp-activity-item--request .spp-activity-marker{background:var(--spp-warn);box-shadow:0 0 12px rgba(251,191,36,.42)}
.spp-activity-item--order .spp-activity-marker{background:#a78bfa;box-shadow:0 0 12px rgba(167,139,250,.42)}
.spp-activity-item strong,.spp-activity-item small{display:block}
.spp-activity-item strong{font-size:13px}
.spp-activity-item small{margin-top:3px;color:var(--spp-muted);font-size:11px}
.spp-activity-item time{color:var(--spp-muted);font-size:10px;white-space:nowrap}
.spp-empty-inline{padding:17px;color:var(--spp-muted);font-size:13px;line-height:1.55;text-align:center;background:rgba(255,255,255,.022);border:1px dashed var(--spp-line);border-radius:14px}
.spp-subscription-card p{margin:0 0 16px;color:var(--spp-muted);font-size:13px;line-height:1.55}
.spp-days-remaining{display:flex;align-items:baseline;gap:8px;margin-bottom:18px;padding:13px 14px;background:rgba(139,92,246,.08);border:1px solid rgba(139,92,246,.16);border-radius:15px}
.spp-days-remaining strong{font-size:27px;color:#d8ccff}
.spp-days-remaining span{color:var(--spp-muted);font-size:12px}
.spp-quick-action-list{display:grid;gap:8px}
.spp-quick-action-list>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;color:var(--spp-text)!important;text-decoration:none!important;background:rgba(255,255,255,.025);border:1px solid var(--spp-line);border-radius:14px}
.spp-quick-action-list>a:hover{border-color:rgba(0,212,255,.22);background:rgba(0,212,255,.045)}
.spp-quick-action-list>a>span{width:34px;height:34px;display:grid;place-items:center;color:var(--spp-cyan);font-weight:900;background:var(--spp-cyan-soft);border-radius:10px}
.spp-quick-action-list strong,.spp-quick-action-list small{display:block}
.spp-quick-action-list strong{font-size:12px}
.spp-quick-action-list small{margin-top:3px;color:var(--spp-muted);font-size:10px}
.spp-quick-action-list em{color:var(--spp-cyan);font-size:19px;font-style:normal}
.spp-overview-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.spp-overview-strip article{padding:16px 18px;background:linear-gradient(145deg,rgba(16,26,45,.88),rgba(10,17,33,.9));border:1px solid var(--spp-line);border-radius:17px}
.spp-overview-strip span{display:block;margin-bottom:7px;color:var(--spp-muted);font-size:10px;font-weight:850;letter-spacing:.7px;text-transform:uppercase}
.spp-overview-strip strong{font-size:25px}
.spp-overview-strip--ok{border-color:rgba(52,211,153,.16)!important}
.spp-overview-strip--warning{border-color:rgba(251,191,36,.16)!important}
.spp-overview-strip--info{border-color:rgba(0,212,255,.16)!important}
.spp-subscription-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;margin-bottom:18px;padding:18px 20px;background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(0,212,255,.06));border:1px solid rgba(139,92,246,.2);border-radius:20px}
.spp-subscription-banner-icon{width:45px;height:45px;display:grid;place-items:center;color:#d8ccff;background:rgba(139,92,246,.14);border-radius:14px}
.spp-subscription-banner span,.spp-subscription-banner strong,.spp-subscription-banner small{display:block}
.spp-subscription-banner>div:nth-child(2)>span{margin-bottom:3px;color:var(--spp-muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.8px}
.spp-subscription-banner strong{font-size:17px}
.spp-subscription-banner small{margin-top:4px;color:var(--spp-muted);font-size:11px}
.spp-profile-summary{margin-bottom:18px;padding:18px 20px;background:linear-gradient(145deg,rgba(16,26,45,.9),rgba(10,17,33,.92));border:1px solid var(--spp-line);border-radius:20px}
.spp-profile-summary>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.spp-profile-summary span{color:var(--spp-muted);font-size:12px;font-weight:800}
.spp-profile-summary strong{font-size:22px}
.spp-progress-track{height:8px;overflow:hidden;background:rgba(255,255,255,.06);border-radius:999px}
.spp-progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--spp-cyan),var(--spp-ok));border-radius:inherit}
.spp-profile-summary small{display:block;margin-top:10px;color:var(--spp-muted);font-size:11px}
@media(max-width:1100px){.spp-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-dashboard-workspace{grid-template-columns:1fr}.spp-dashboard-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-dashboard-sidebar .spp-account-summary{grid-column:1/-1}}
@media(max-width:760px){.spp-overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-dashboard-sidebar{grid-template-columns:1fr}.spp-dashboard-sidebar .spp-account-summary{grid-column:auto}.spp-installation-snapshot{grid-template-columns:1fr}.spp-activity-item{grid-template-columns:auto minmax(0,1fr)}.spp-activity-item time{grid-column:2}.spp-subscription-banner{grid-template-columns:auto minmax(0,1fr)}.spp-subscription-banner>.spp-status-badge{grid-column:2;justify-self:start}}
@media(max-width:520px){.spp-dashboard-kpis,.spp-overview-strip{grid-template-columns:1fr}.spp-kpi-card{min-height:96px}.spp-help-tip::after{left:auto;right:-10px;transform:translateY(5px)}.spp-help-tip:hover::after,.spp-help-tip:focus::after{transform:translateY(0)}}


/* Smart Pro Portal 2.4.0 — unified customer/admin workflows */
.spp-installation-mini-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.spp-contact-watch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:10px 12px;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:rgba(15,23,42,.35)}
.spp-contact-watch p{margin:0;color:var(--spp-muted);font-size:12px;line-height:1.45}
.spp-installation-mini-summary>div{padding:12px 13px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.022)}
.spp-installation-mini-summary span{display:block;margin-bottom:5px;color:var(--spp-muted);font-size:9px;font-weight:800;letter-spacing:.65px;text-transform:uppercase}
.spp-installation-mini-summary strong{font-size:12px;line-height:1.35}
.spp-connection-settings{margin-top:10px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018)}
.spp-connection-settings>summary{padding:12px 14px;cursor:pointer;color:var(--spp-muted);font-weight:800;list-style:none}
.spp-connection-settings>summary::-webkit-details-marker{display:none}.spp-connection-settings>div{padding:0 14px 14px}.spp-connection-settings p{color:var(--spp-muted);font-size:12px;line-height:1.55}
.spp-connected-state{color:#61e5b7!important;font-weight:800}
.spp-drawer[hidden]{display:none!important}.spp-drawer{position:fixed;inset:0;z-index:999999}.spp-drawer-backdrop{position:absolute;inset:0;background:rgba(2,6,15,.74);backdrop-filter:blur(4px)}
.spp-drawer-panel{position:absolute;top:0;right:0;width:min(520px,94vw);height:100%;overflow:auto;background:#0a1222;border-left:1px solid rgba(126,153,201,.22);box-shadow:-30px 0 80px rgba(0,0,0,.45);animation:sppDrawerIn .18s ease-out}
@keyframes sppDrawerIn{from{transform:translateX(24px);opacity:.75}to{transform:none;opacity:1}}
.spp-drawer-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:18px;padding:26px 26px 20px;background:rgba(10,18,34,.96);border-bottom:1px solid var(--spp-line);backdrop-filter:blur(12px)}
.spp-drawer-head h2{margin:3px 0 5px;font-size:25px}.spp-drawer-head p{margin:0;color:var(--spp-muted)}.spp-drawer-head>button,.spp-icon-button{width:38px;height:38px;border-radius:12px;border:1px solid var(--spp-line);background:rgba(255,255,255,.04);color:#fff;font-size:24px;cursor:pointer}
.spp-drawer-body{padding:24px 26px 34px}.spp-admin-quick-form{display:grid;gap:15px}.spp-admin-quick-form label{display:grid;gap:7px}.spp-admin-quick-form label>span{font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:var(--spp-muted)}
.spp-admin-quick-form input,.spp-admin-quick-form select,.spp-admin-quick-form textarea{width:100%;padding:12px 13px;border:1px solid var(--spp-line);border-radius:12px;background:#0a1324;color:#fff}.spp-admin-quick-form textarea{resize:vertical}.spp-drawer-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:7px}.spp-drawer-open{overflow:hidden}
.spp-list-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:30px 0 16px}.spp-list-toolbar h2{margin:0}.spp-list-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.spp-list-controls input[type=search]{min-width:260px;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;background:#0a1324;color:#fff}
.spp-filter-chips{display:flex;gap:6px;flex-wrap:wrap}.spp-filter-chips button{padding:8px 11px;border:1px solid var(--spp-line);border-radius:999px;background:rgba(255,255,255,.025);color:var(--spp-muted);font-size:11px;font-weight:800;cursor:pointer}.spp-filter-chips button.is-active{background:rgba(19,204,246,.15);border-color:rgba(19,204,246,.42);color:#67e8ff}.spp-empty-filter{padding:24px;text-align:center;color:var(--spp-muted);border:1px dashed var(--spp-line);border-radius:16px}
.spp-detail-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:18px}.spp-detail-main,.spp-detail-sidebar{display:grid;align-content:start;gap:18px}.spp-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px}.spp-detail-facts>div{padding:13px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.022)}.spp-detail-facts span{display:block;margin-bottom:5px;color:var(--spp-muted);font-size:9px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}.spp-detail-facts strong{font-size:13px;word-break:break-word}
.spp-compact-list{display:grid;gap:8px}.spp-compact-list>a,.spp-compact-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.018);text-decoration:none}.spp-compact-list span{display:grid;gap:3px}.spp-compact-list strong{color:#fff;font-size:12px}.spp-compact-list small{color:var(--spp-muted);font-size:10px}.spp-compact-list em{color:var(--spp-muted);font-size:11px;font-style:normal}
.spp-placeholder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.spp-placeholder-grid>div{padding:18px;border:1px dashed rgba(126,153,201,.28);border-radius:16px;background:rgba(255,255,255,.015)}.spp-placeholder-grid strong,.spp-placeholder-grid span,.spp-placeholder-grid em{display:block}.spp-placeholder-grid span{margin:7px 0 12px;color:var(--spp-muted);font-size:12px;line-height:1.55}.spp-placeholder-grid em{color:#67e8ff;font-size:11px;font-style:normal;font-weight:800}
.spp-request-message--detail{font-size:15px;line-height:1.7}.spp-request-timeline-list--detail{max-height:none}.spp-portal-remote .sppp-remote-notice{margin:0 0 14px}.spp-portal-remote .spp-actions{margin-top:14px}
.spp-booking-panel--inline{padding:20px;border:1px solid rgba(19,204,246,.35);border-radius:20px;background:rgba(14,52,69,.68)}.spp-booking-panel--inline[hidden]{display:none}.spp-booking-panel--inline .spp-booking-intro{margin:0 0 16px}.spp-booking-panel--inline .spp-icon-button{margin-left:auto}
.spp-order-row--admin{grid-template-columns:.65fr 1.2fr .8fr .85fr .7fr auto}.spp-account-sections{display:grid;gap:16px}.spp-profile-summary--compact{margin-bottom:16px}.spp-profile-summary--compact>div:first-child{display:flex;justify-content:space-between}.spp-check-list{display:grid;gap:10px}.spp-check-list label{display:flex;align-items:flex-start;gap:12px;padding:13px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018)}.spp-check-list input{margin-top:3px}.spp-check-list span{display:grid;gap:3px}.spp-check-list small{color:var(--spp-muted)}.spp-account-security-links{display:flex;flex-wrap:wrap;gap:10px}.spp-account-security-links a,.spp-account-security-links span{padding:11px 13px;border:1px solid var(--spp-line);border-radius:12px;color:var(--spp-muted);font-size:12px;text-decoration:none}.spp-account-security-links a:hover{border-color:rgba(19,204,246,.45);color:#67e8ff}.spp-sticky-save{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:flex-end;padding:12px;border:1px solid var(--spp-line);border-radius:16px;background:rgba(8,15,29,.88);backdrop-filter:blur(12px)}
@media(max-width:1000px){.spp-detail-layout{grid-template-columns:1fr}.spp-installation-mini-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-order-row--admin{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-order-row--admin .spp-btn{grid-column:1/-1}}
@media(max-width:720px){.spp-installation-mini-summary,.spp-detail-facts,.spp-placeholder-grid{grid-template-columns:1fr}.spp-list-toolbar{align-items:stretch;flex-direction:column}.spp-list-controls{justify-content:flex-start}.spp-list-controls input[type=search]{min-width:0;width:100%}.spp-drawer-panel{width:100%}.spp-drawer-head,.spp-drawer-body{padding-left:18px;padding-right:18px}}


/* Smart Pro Portal 2.4.1 — drawer alignment and Amelia hidden-layout fix */
.spp-drawer-panel{overflow-x:hidden}
.spp-drawer-head{align-items:flex-start}
.spp-drawer-head>div{min-width:0;flex:1 1 auto}
.spp-drawer-head>button,.spp-icon-button{
  box-sizing:border-box;
  display:grid;
  place-items:center;
  flex:0 0 40px;
  width:40px;
  height:40px;
  margin:0;
  padding:0;
  line-height:1;
  text-align:center;
  align-self:flex-start;
}
.spp-admin-quick-form input,
.spp-admin-quick-form select,
.spp-admin-quick-form textarea{
  box-sizing:border-box;
  display:block;
  min-width:0;
  font:600 14px/1.4 inherit;
}
.spp-admin-quick-form input,
.spp-admin-quick-form select{min-height:48px}
.spp-admin-quick-form select{
  height:48px;
  padding:0 42px 0 14px;
  line-height:normal;
}
.spp-admin-quick-form textarea{line-height:1.55}
.spp-admin-quick-form label>span{line-height:1.35}

/* Keep Amelia measurable while the booking area is visually collapsed.
   display:none caused Amelia to initialise at zero width and corrupt the calendar layout. */
.spp-booking-panel--inline{
  box-sizing:border-box;
  width:100%;
  transition:opacity .16s ease;
}
.spp-booking-panel--inline.is-collapsed{
  max-height:0;
  margin:0;
  padding-top:0;
  padding-bottom:0;
  border-width:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  overflow:hidden;
}
.spp-booking-panel--inline:not(.is-collapsed){
  max-height:none;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.spp-amelia-frame,
.spp-amelia-frame>div,
.spp-amelia-frame .amelia-app-booking,
.spp-amelia-frame [class*="amelia-app"]{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
}

/* Smart Pro Portal 2.4.4 — admin learning/help mode */
.spp-admin-help-toggle{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:99980;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:8px 12px 8px 8px;
  color:#8fa2b8;
  font:700 12px/1.1 inherit;
  background:rgba(8,15,29,.88);
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  box-shadow:0 10px 28px rgba(0,0,0,.30);
  backdrop-filter:blur(12px);
  cursor:pointer;
  transition:transform .16s ease, color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.spp-admin-help-toggle span{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  color:#8fa2b8;
  font-size:15px;
  font-weight:950;
  background:rgba(125,211,252,.10);
  border:1px solid rgba(125,211,252,.18);
  border-radius:50%;
  box-shadow:none;
  transition:color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.spp-admin-help-toggle.is-on{
  color:#f3fcff;
  border-color:rgba(66,220,255,.72);
  background:rgba(8,31,48,.97);
  box-shadow:
    0 0 0 1px rgba(66,220,255,.10),
    0 0 22px rgba(19,204,246,.34),
    0 14px 36px rgba(0,0,0,.42);
}
.spp-admin-help-toggle.is-on span{
  color:#07131f;
  background:#7dd3fc;
  border-color:rgba(255,255,255,.46);
  box-shadow:0 0 16px rgba(125,211,252,.76);
}
.spp-admin-help-toggle:hover{transform:translateY(-1px)}
.spp-admin-help-tooltip{
  position:fixed;
  z-index:99999;
  width:min(330px,calc(100vw - 24px));
  padding:11px 13px;
  color:#eef9ff;
  font-size:12px;
  font-weight:650;
  line-height:1.5;
  text-align:left;
  background:#081426;
  border:1px solid rgba(19,204,246,.34);
  border-radius:12px;
  box-shadow:0 18px 44px rgba(0,0,0,.52);
  opacity:0;
  pointer-events:none;
  transform:translateY(5px);
  transition:opacity .13s ease,transform .13s ease;
}
.spp-admin-help-tooltip.is-visible{opacity:1;transform:translateY(0)}
body.spp-admin-help-enabled [data-spp-admin-help]{outline-offset:3px}
body.spp-admin-help-enabled [data-spp-admin-help]:focus-visible{
  outline:2px solid rgba(103,232,249,.7)!important;
}
@media(max-width:720px){
  .spp-admin-help-toggle{left:10px;bottom:10px}
  .spp-admin-help-toggle strong{display:none}
  .spp-admin-help-toggle{padding:7px}
}


/* Smart Pro Portal 2.5.0 — Admin priority dashboard */
.spp-system-state--critical{
  color:#ffe8ec;
  background:rgba(244,63,94,.10);
  border-color:rgba(244,63,94,.32);
  box-shadow:0 0 0 1px rgba(244,63,94,.04),0 12px 30px rgba(244,63,94,.08);
}
.spp-system-state--critical .spp-system-state-dot{
  background:#fb7185;
  box-shadow:0 0 15px rgba(251,113,133,.70);
}

.spp-kpi-card--success{
  border-color:rgba(52,211,153,.30)!important;
  background:linear-gradient(145deg,rgba(52,211,153,.105),rgba(10,17,33,.94))!important;
  box-shadow:inset 0 3px 0 rgba(52,211,153,.72),0 18px 42px rgba(0,0,0,.16);
}
.spp-kpi-card--success .spp-kpi-icon{
  color:#83f2c5!important;
  background:rgba(52,211,153,.13)!important;
  box-shadow:0 0 22px rgba(52,211,153,.12);
}
.spp-kpi-card--success .spp-kpi-arrow{color:#6ee7b7!important}

.spp-kpi-card--warning{
  border-color:rgba(251,146,60,.34)!important;
  background:linear-gradient(145deg,rgba(251,146,60,.115),rgba(10,17,33,.94))!important;
  box-shadow:inset 0 3px 0 rgba(251,146,60,.78),0 18px 42px rgba(0,0,0,.16);
}
.spp-kpi-card--warning .spp-kpi-icon{
  color:#fdba74!important;
  background:rgba(251,146,60,.14)!important;
  box-shadow:0 0 22px rgba(251,146,60,.14);
}
.spp-kpi-card--warning .spp-kpi-arrow{color:#fdba74!important}

.spp-kpi-card--danger{
  border-color:rgba(244,63,94,.38)!important;
  background:linear-gradient(145deg,rgba(244,63,94,.13),rgba(10,17,33,.95))!important;
  box-shadow:inset 0 3px 0 rgba(244,63,94,.86),0 18px 44px rgba(244,63,94,.07);
}
.spp-kpi-card--danger .spp-kpi-icon{
  color:#fda4af!important;
  background:rgba(244,63,94,.15)!important;
  box-shadow:0 0 24px rgba(244,63,94,.16);
}
.spp-kpi-card--danger .spp-kpi-arrow{color:#fb7185!important}

.spp-kpi-card--info{
  border-color:rgba(56,189,248,.34)!important;
  background:linear-gradient(145deg,rgba(56,189,248,.105),rgba(10,17,33,.94))!important;
  box-shadow:inset 0 3px 0 rgba(56,189,248,.78),0 18px 42px rgba(0,0,0,.16);
}
.spp-kpi-card--info .spp-kpi-icon{
  color:#7dd3fc!important;
  background:rgba(56,189,248,.13)!important;
}
.spp-kpi-card--neutral{opacity:.82}

.spp-status-badge--danger{
  color:#fecdd3;
  background:rgba(244,63,94,.12);
  border-color:rgba(244,63,94,.30);
}

.spp-admin-priority-card{min-height:0}
.spp-admin-priority-list{display:grid;gap:9px;margin-top:2px}
.spp-admin-priority-item{
  position:relative;
  display:grid;
  grid-template-columns:8px minmax(0,1fr) auto 18px;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:12px 14px;
  color:var(--spp-text)!important;
  text-decoration:none!important;
  background:rgba(255,255,255,.023);
  border:1px solid var(--spp-line);
  border-radius:15px;
  transition:transform .16s,border-color .16s,background .16s;
}
.spp-admin-priority-item:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.04);
}
.spp-admin-priority-signal{
  width:7px;
  height:42px;
  border-radius:999px;
  background:#64748b;
}
.spp-admin-priority-copy strong,
.spp-admin-priority-copy small,
.spp-admin-priority-meta b,
.spp-admin-priority-meta small{display:block}
.spp-admin-priority-copy strong{font-size:13px;line-height:1.35}
.spp-admin-priority-copy small{margin-top:4px;color:var(--spp-muted);font-size:10px}
.spp-admin-priority-meta{text-align:right}
.spp-admin-priority-meta b{
  font-size:10px;
  font-weight:950;
  letter-spacing:.55px;
  text-transform:uppercase;
}
.spp-admin-priority-meta small{
  max-width:170px;
  margin-top:4px;
  color:var(--spp-muted);
  font-size:9px;
  line-height:1.25;
}
.spp-admin-priority-arrow{font-size:22px;font-weight:900}

.spp-admin-priority-item--critical{
  border-color:rgba(244,63,94,.28);
  background:linear-gradient(90deg,rgba(244,63,94,.095),rgba(255,255,255,.018));
}
.spp-admin-priority-item--critical .spp-admin-priority-signal{
  background:#fb7185;
  box-shadow:0 0 16px rgba(251,113,133,.55);
}
.spp-admin-priority-item--critical .spp-admin-priority-meta b,
.spp-admin-priority-item--critical .spp-admin-priority-arrow{color:#fda4af}

.spp-admin-priority-item--warning{
  border-color:rgba(251,146,60,.24);
  background:linear-gradient(90deg,rgba(251,146,60,.075),rgba(255,255,255,.018));
}
.spp-admin-priority-item--warning .spp-admin-priority-signal{
  background:#fb923c;
  box-shadow:0 0 14px rgba(251,146,60,.42);
}
.spp-admin-priority-item--warning .spp-admin-priority-meta b,
.spp-admin-priority-item--warning .spp-admin-priority-arrow{color:#fdba74}

.spp-admin-priority-item--normal{
  border-color:rgba(56,189,248,.18);
}
.spp-admin-priority-item--normal .spp-admin-priority-signal{background:#38bdf8}
.spp-admin-priority-item--normal .spp-admin-priority-meta b,
.spp-admin-priority-item--normal .spp-admin-priority-arrow{color:#7dd3fc}

.spp-admin-all-clear{
  display:flex;
  align-items:center;
  gap:13px;
  padding:18px;
  color:#d9fff0;
  background:rgba(52,211,153,.075);
  border:1px solid rgba(52,211,153,.20);
  border-radius:16px;
}
.spp-admin-all-clear>span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:#06140f;
  font-size:20px;
  font-weight:1000;
  background:#6ee7b7;
  border-radius:12px;
  box-shadow:0 0 22px rgba(52,211,153,.20);
}
.spp-admin-all-clear strong,.spp-admin-all-clear small{display:block}
.spp-admin-all-clear small{margin-top:4px;color:var(--spp-muted);font-size:11px}

@media(max-width:760px){
  .spp-admin-priority-item{
    grid-template-columns:7px minmax(0,1fr) 18px;
  }
  .spp-admin-priority-meta{
    grid-column:2;
    text-align:left;
  }
  .spp-admin-priority-arrow{
    grid-column:3;
    grid-row:1/3;
  }
}


/* Smart Pro Portal 2.6.0 — Subscription Core Foundation */
.spp-subscription-core-card,
.spp-subscription-admin-card,
.spp-subscription-audit-card{border-color:rgba(56,189,248,.20)}
.spp-subscription-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}
.spp-subscription-facts>div{padding:11px 12px;background:rgba(255,255,255,.025);border:1px solid var(--spp-line);border-radius:13px}
.spp-subscription-facts span,.spp-subscription-facts strong{display:block}
.spp-subscription-facts span{color:var(--spp-muted);font-size:9px;text-transform:uppercase;letter-spacing:.5px;font-weight:800}
.spp-subscription-facts strong{margin-top:4px;font-size:12px}
.spp-subscription-entitlements{margin-top:12px;border-top:1px solid var(--spp-line);padding-top:11px}
.spp-subscription-entitlements summary{cursor:pointer;color:#bfefff;font-weight:800;font-size:11px}
.spp-subscription-entitlements>div{display:grid;gap:7px;margin-top:10px}
.spp-subscription-entitlements span{font-size:11px;color:var(--spp-muted)}
.spp-subscription-inline-status{font-weight:900}
.spp-subscription-inline-status--active{color:#6ee7b7}
.spp-subscription-inline-status--grace{color:#fdba74}
.spp-subscription-inline-status--expired,.spp-subscription-inline-status--suspended{color:#fda4af}
.spp-subscription-inline-status--pending_activation{color:#cbd5e1}
.spp-drawer-subscription-section{display:grid;gap:12px;padding:0 18px 20px}
.spp-drawer-subscription-section .spp-card{margin:0}
.spp-subscription-audit-list{display:grid;gap:9px}
.spp-subscription-audit-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 11px;background:rgba(255,255,255,.022);border:1px solid var(--spp-line);border-radius:12px}
.spp-subscription-audit-list span strong,.spp-subscription-audit-list span small{display:block}
.spp-subscription-audit-list span small{margin-top:3px;color:var(--spp-muted);font-size:9px}
.spp-subscription-audit-list p{grid-column:1/-1;margin:0;color:var(--spp-muted);font-size:10px;line-height:1.45}
@media(max-width:720px){.spp-subscription-facts{grid-template-columns:1fr}.spp-subscription-audit-list>div{grid-template-columns:1fr}.spp-subscription-audit-list .spp-status-badge{justify-self:start}}


/* =========================================================
   Smart Pro Portal 2.7.0 — Customer Portal Visual Foundation
   ========================================================= */

.spp-root--customer {
  --spp-customer-shell:1200px;
  --spp-bg:#050b16;
  --spp-panel:#0b1424;
  --spp-panel-2:#101c30;
  --spp-panel-3:#14223a;
  --spp-field:#152238;
  --spp-field-hover:#192944;
  --spp-text:#f6f8fc;
  --spp-muted:#9caac0;
  --spp-line:rgba(148,163,184,.18);
  --spp-line-strong:rgba(45,212,255,.34);
  --spp-cyan:#24d4ff;
  --spp-cyan-strong:#0bc7f2;
  --spp-cyan-soft:rgba(36,212,255,.12);
  --spp-ok:#3dd9a1;
  --spp-warn:#ffb020;
  --spp-danger:#ff5f68;
  --spp-purple:#9a78ff;
  --spp-shadow:0 22px 70px rgba(0,0,0,.32);
  background:
    radial-gradient(circle at 13% 0%,rgba(0,205,255,.10),transparent 28rem),
    radial-gradient(circle at 88% 12%,rgba(93,84,255,.07),transparent 30rem),
    var(--spp-bg);
}

.spp-root--customer[data-spp-theme="light"] {
  --spp-bg:#edf3f8;
  --spp-panel:#ffffff;
  --spp-panel-2:#f7faff;
  --spp-panel-3:#eef5fb;
  --spp-field:#f3f7fb;
  --spp-field-hover:#eaf2f8;
  --spp-text:#102033;
  --spp-muted:#5c6d80;
  --spp-line:rgba(34,65,91,.15);
  --spp-line-strong:rgba(0,156,193,.35);
  --spp-cyan:#00a9d4;
  --spp-cyan-strong:#008fb5;
  --spp-cyan-soft:rgba(0,169,212,.11);
  --spp-ok:#008c66;
  --spp-warn:#b56a00;
  --spp-danger:#cf3340;
  --spp-purple:#674bd2;
  --spp-shadow:0 18px 50px rgba(37,63,86,.12);
  background:
    radial-gradient(circle at 10% 0%,rgba(0,169,212,.10),transparent 26rem),
    radial-gradient(circle at 90% 8%,rgba(103,75,210,.06),transparent 30rem),
    var(--spp-bg);
}

.spp-topbar {
  padding:0;
}

.spp-topbar-shell {
  width:min(100%,var(--spp-customer-shell,1440px));
  min-height:74px;
  margin:0 auto;
  padding:15px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.spp-root--admin .spp-topbar-shell {
  width:min(100%,1440px);
}

.spp-root--customer .spp-topbar {
  background:color-mix(in srgb,var(--spp-bg) 92%,transparent);
  border-color:var(--spp-line);
}

.spp-root--customer .spp-main {
  width:min(100%,var(--spp-customer-shell));
  max-width:none;
  padding:34px 22px 68px;
}

.spp-root--customer .spp-brand {
  min-width:225px;
}

.spp-root--customer .spp-brand > span:last-child {
  line-height:1.05;
}

.spp-root--customer .spp-nav {
  gap:4px;
}

.spp-root--customer .spp-nav a {
  min-height:44px;
  padding:10px 14px;
  border:1px solid transparent;
  border-radius:12px;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}

.spp-root--customer .spp-nav a:hover,
.spp-root--customer .spp-nav a:focus-visible {
  color:var(--spp-text);
  background:var(--spp-field);
  border-color:var(--spp-line);
}

.spp-root--customer .spp-nav a.is-active {
  color:var(--spp-text);
  background:linear-gradient(180deg,var(--spp-field-hover),var(--spp-field));
  border-color:var(--spp-line);
  box-shadow:inset 0 -2px 0 var(--spp-cyan);
}

.spp-root--customer .spp-user {
  flex:0 0 auto;
  gap:9px;
}

.spp-root--customer .spp-user-greeting {
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
}

.spp-root--customer .spp-avatar {
  text-decoration:none;
}

.spp-theme-toggle {
  width:70px;
  height:36px;
  padding:4px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  color:var(--spp-muted);
  background:var(--spp-field);
  border:1px solid var(--spp-line);
  border-radius:999px;
  cursor:pointer;
}

.spp-theme-toggle span {
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:15px;
  transition:.18s ease;
}

.spp-root--customer[data-spp-theme="dark"] .spp-theme-toggle-moon,
.spp-root--customer[data-spp-theme="light"] .spp-theme-toggle-sun {
  color:var(--spp-text);
  background:var(--spp-panel-3);
  box-shadow:0 4px 16px rgba(0,0,0,.18);
}

.spp-root--customer .spp-dashboard-hero {
  margin:4px 0 22px;
}

.spp-root--customer .spp-dashboard-hero h1,
.spp-root--customer .spp-page-head h1 {
  max-width:850px;
  font-size:clamp(32px,4.3vw,50px);
  letter-spacing:-.035em;
}

.spp-root--customer .spp-system-state {
  max-width:100%;
}

.spp-root--customer .spp-dashboard-kpis,
.spp-root--customer .spp-overview-strip {
  gap:12px;
}

.spp-root--customer .spp-kpi-card,
.spp-root--customer .spp-overview-strip article {
  min-height:108px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--spp-panel-2) 94%,transparent),color-mix(in srgb,var(--spp-panel) 98%,transparent));
  border:1px solid var(--spp-line);
  box-shadow:0 12px 34px rgba(0,0,0,.13);
}

.spp-root--customer .spp-dashboard-kpis--persistent {
  margin:0 0 24px;
}

.spp-root--customer .spp-kpi-card:hover {
  transform:translateY(-2px);
  border-color:var(--spp-line-strong);
}

.spp-root--customer .spp-card {
  background:linear-gradient(145deg,color-mix(in srgb,var(--spp-panel-2) 96%,transparent),color-mix(in srgb,var(--spp-panel) 99%,transparent));
  border-color:var(--spp-line);
  border-radius:24px;
  box-shadow:var(--spp-shadow);
}

.spp-root--customer .spp-dashboard-workspace {
  grid-template-columns:minmax(0,1fr) 330px;
  gap:16px;
}

.spp-root--customer .spp-dashboard-primary,
.spp-root--customer .spp-dashboard-sidebar {
  gap:16px;
}

.spp-root--customer .spp-installation-overview,
.spp-root--customer .spp-activity-card,
.spp-root--customer .spp-subscription-card,
.spp-root--customer .spp-quick-panel,
.spp-root--customer .spp-account-summary {
  padding:20px;
}

.spp-root--customer .spp-installation-snapshot,
.spp-root--customer .spp-installation-fields,
.spp-root--customer .spp-detail-facts,
.spp-root--customer .spp-account-checks,
.spp-root--customer .spp-installation-mini-summary {
  gap:10px;
}

.spp-root--customer .spp-installation-snapshot > div,
.spp-root--customer .spp-installation-fields > div,
.spp-root--customer .spp-detail-facts > div,
.spp-root--customer .spp-account-checks > div,
.spp-root--customer .spp-installation-mini-summary > div,
.spp-root--customer .spp-metric {
  background:var(--spp-field);
  border:1px solid var(--spp-line);
  border-radius:15px;
}

.spp-root--customer .spp-installation-snapshot > div:hover,
.spp-root--customer .spp-installation-fields > div:hover,
.spp-root--customer .spp-detail-facts > div:hover,
.spp-root--customer .spp-installation-mini-summary > div:hover {
  background:var(--spp-field-hover);
  border-color:var(--spp-line-strong);
}

.spp-root--customer .spp-installation-record {
  padding:22px;
  border-color:var(--spp-line-strong);
}

.spp-root--customer .spp-installation-record .spp-card-head {
  margin-bottom:16px;
}

.spp-root--customer .spp-installation-actions {
  margin-top:16px;
}

.spp-root--customer .spp-btn {
  min-height:44px;
  padding:11px 16px;
  border-radius:12px;
  transition:transform .18s ease,filter .18s ease,border-color .18s ease;
}

.spp-root--customer .spp-btn--primary {
  background:linear-gradient(135deg,#4be5ff,var(--spp-cyan-strong));
  box-shadow:0 10px 26px rgba(0,190,230,.18);
}

.spp-root--customer .spp-btn--secondary,
.spp-root--customer .spp-btn--ghost,
.spp-root--customer .spp-connection-settings > summary {
  background:var(--spp-field);
  border:1px solid var(--spp-line);
  color:var(--spp-text);
}

.spp-root--customer .spp-btn--secondary:hover,
.spp-root--customer .spp-btn--ghost:hover,
.spp-root--customer .spp-connection-settings > summary:hover {
  background:var(--spp-field-hover);
  border-color:var(--spp-line-strong);
}

.spp-root--customer input,
.spp-root--customer select,
.spp-root--customer textarea,
.spp-root--customer .spp-search-box,
.spp-root--customer .spp-filter-chips button {
  color:var(--spp-text)!important;
  background:var(--spp-field)!important;
  border:1px solid var(--spp-line)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}

.spp-root--customer input::placeholder,
.spp-root--customer textarea::placeholder {
  color:color-mix(in srgb,var(--spp-muted) 78%,transparent);
}

.spp-root--customer input:focus,
.spp-root--customer select:focus,
.spp-root--customer textarea:focus,
.spp-root--customer .spp-search-box:focus-within {
  outline:none!important;
  border-color:var(--spp-cyan)!important;
  box-shadow:0 0 0 3px var(--spp-cyan-soft),inset 0 1px 0 rgba(255,255,255,.03)!important;
}

.spp-root--customer input[readonly],
.spp-root--customer input:disabled,
.spp-root--customer select:disabled,
.spp-root--customer textarea:disabled {
  opacity:.72;
  background:color-mix(in srgb,var(--spp-field) 70%,var(--spp-bg))!important;
  cursor:not-allowed;
}

.spp-root--customer .spp-status-badge--warning,
.spp-root--customer .spp-subscription-inline-status--grace {
  color:#ffc75c;
  background:rgba(255,176,32,.12);
  border-color:rgba(255,176,32,.28);
}

.spp-root--customer .spp-status-badge--danger,
.spp-root--customer .spp-status-badge--critical,
.spp-root--customer .spp-subscription-inline-status--expired,
.spp-root--customer .spp-subscription-inline-status--suspended {
  color:#ff9198;
  background:rgba(255,95,104,.11);
  border-color:rgba(255,95,104,.30);
}

.spp-root--customer .spp-status-badge--neutral,
.spp-root--customer .spp-subscription-inline-status--pending_activation {
  color:#9acbff;
  background:rgba(73,153,255,.10);
  border-color:rgba(73,153,255,.24);
}

.spp-root--customer .spp-page-head {
  align-items:center;
  margin-bottom:22px;
}

.spp-root--customer .spp-page-head-actions .spp-btn {
  min-width:190px;
}

.spp-root--customer .spp-request-record,
.spp-root--customer .spp-appointment-card,
.spp-root--customer .spp-order-row,
.spp-root--customer .spp-compact-list > a,
.spp-root--customer .spp-quick-action-list > a {
  background:var(--spp-field);
  border-color:var(--spp-line);
}

.spp-root--customer .spp-request-record:hover,
.spp-root--customer .spp-appointment-card:hover,
.spp-root--customer .spp-order-row:hover,
.spp-root--customer .spp-compact-list > a:hover,
.spp-root--customer .spp-quick-action-list > a:hover {
  background:var(--spp-field-hover);
  border-color:var(--spp-line-strong);
}

.spp-customer-coming-soon {
  min-height:360px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
}

.spp-customer-coming-soon-icon {
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  color:var(--spp-cyan);
  font-size:34px;
  background:var(--spp-cyan-soft);
  border:1px solid var(--spp-line-strong);
  border-radius:22px;
}

.spp-customer-coming-soon h2 {
  margin:8px 0 8px;
}

.spp-customer-coming-soon p {
  max-width:680px;
  margin:0;
  color:var(--spp-muted);
  line-height:1.65;
}

.spp-root--customer[data-spp-theme="light"] .spp-topbar {
  background:rgba(245,249,252,.94);
}

.spp-root--customer[data-spp-theme="light"] .spp-btn--primary {
  color:#06202a;
}

.spp-root--customer[data-spp-theme="light"] .spp-logout {
  color:#a82d3c;
}

@media (max-width:1180px) {
  .spp-root--customer .spp-brand {
    min-width:0;
  }
  .spp-root--customer .spp-user-greeting {
    display:none;
  }
  .spp-root--customer .spp-dashboard-workspace {
    grid-template-columns:1fr;
  }
  .spp-root--customer .spp-dashboard-sidebar {
    grid-template-columns:repeat(2,minmax(0,1fr));
    display:grid;
  }
}

@media (max-width:760px) {
  .spp-root--customer .spp-topbar-shell {
    padding:11px 14px;
  }
  .spp-root--customer .spp-brand > span:last-child {
    font-size:12px;
  }
  .spp-root--customer .spp-brand small {
    font-size:8px;
  }
  .spp-root--customer .spp-theme-toggle {
    width:62px;
  }
  .spp-root--customer .spp-logout {
    display:none;
  }
  .spp-root--customer .spp-main {
    padding:24px 14px 54px;
  }
  .spp-root--customer .spp-dashboard-kpis,
  .spp-root--customer .spp-overview-strip {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .spp-root--customer .spp-dashboard-sidebar {
    grid-template-columns:1fr;
  }
  .spp-root--customer .spp-installation-fields,
  .spp-root--customer .spp-installation-snapshot,
  .spp-root--customer .spp-installation-mini-summary,
  .spp-root--customer .spp-detail-facts {
    grid-template-columns:1fr;
  }
  .spp-customer-coming-soon {
    grid-template-columns:1fr;
    text-align:left;
  }
}

@media (max-width:480px) {
  .spp-root--customer .spp-dashboard-kpis,
  .spp-root--customer .spp-overview-strip {
    grid-template-columns:1fr;
  }
  .spp-root--customer .spp-kpi-card,
  .spp-root--customer .spp-overview-strip article {
    min-height:94px;
  }
  .spp-root--customer .spp-card,
  .spp-root--customer .spp-installation-record {
    padding:17px;
    border-radius:19px;
  }
}

.spp-root--customer .spp-support-tabs {
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin:-4px 0 22px;
  padding:5px;
  background:var(--spp-panel);
  border:1px solid var(--spp-line);
  border-radius:14px;
}
.spp-root--customer .spp-support-tabs a {
  min-height:38px;
  padding:8px 15px;
  display:inline-flex;
  align-items:center;
  color:var(--spp-muted);
  font-size:13px;
  font-weight:800;
  text-decoration:none!important;
  border-radius:10px;
}
.spp-root--customer .spp-support-tabs a:hover,
.spp-root--customer .spp-support-tabs a.is-active {
  color:var(--spp-text);
  background:var(--spp-field-hover);
}
.spp-root--customer .spp-support-tabs a.is-active {
  box-shadow:inset 0 -2px 0 var(--spp-cyan);
}
.spp-root--customer .spp-filter-chips button b {
  min-width:20px;
  height:20px;
  margin-left:5px;
  display:inline-grid;
  place-items:center;
  font-size:10px;
  background:var(--spp-panel-3);
  border-radius:999px;
}

.spp-root--customer .spp-account-summary {display:none;}


/* =========================================================
   Smart Pro Portal 2.7.1 — Customer Visual Correction
   Semantic Light/Dark consistency, compact secondary pages
   ========================================================= */

/* One true 1200px shell for both header and content. */
.spp-root--customer .spp-topbar-shell,
.spp-root--customer .spp-main {
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.spp-root--customer .spp-topbar-shell {box-sizing:border-box;}

/* Keep a branded dark header in both themes. */
.spp-root--customer[data-spp-theme="light"] .spp-topbar {
  background:rgba(5,12,24,.98)!important;
  border-color:rgba(148,163,184,.16)!important;
  box-shadow:0 10px 34px rgba(15,23,42,.18)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-brand,
.spp-root--customer[data-spp-theme="light"] .spp-brand:hover,
.spp-root--customer[data-spp-theme="light"] .spp-brand > span:last-child {
  color:#f7fbff!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-brand small,
.spp-root--customer[data-spp-theme="light"] .spp-user-greeting {
  color:#a9b8cb!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-nav a {color:#aebcd0!important;}
.spp-root--customer[data-spp-theme="light"] .spp-nav a:hover,
.spp-root--customer[data-spp-theme="light"] .spp-nav a:focus-visible,
.spp-root--customer[data-spp-theme="light"] .spp-nav a.is-active {
  color:#fff!important;
  background:rgba(255,255,255,.075)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-nav a.is-active {
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:inset 0 -2px 0 #24d4ff!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-avatar {
  color:#67e8ff!important;
  background:rgba(36,212,255,.12)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-logout {
  color:#ffc0ca!important;
  background:rgba(244,63,94,.08)!important;
  border-color:rgba(244,63,94,.20)!important;
}

/* Theme toggle: unmistakable active side. */
.spp-root--customer .spp-theme-toggle {
  position:relative;
  background:#101c30!important;
  border-color:rgba(148,163,184,.25)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.spp-root--customer .spp-theme-toggle span {color:#8fa2b8;}
.spp-root--customer[data-spp-theme="dark"] .spp-theme-toggle-moon,
.spp-root--customer[data-spp-theme="light"] .spp-theme-toggle-sun {
  color:#05101c!important;
  background:#f8fbff!important;
  box-shadow:0 4px 14px rgba(0,0,0,.30)!important;
}

/* Light mode typography: override legacy white !important headings. */
.spp-root--customer[data-spp-theme="light"] .spp-main,
.spp-root--customer[data-spp-theme="light"] .spp-main p,
.spp-root--customer[data-spp-theme="light"] .spp-main label,
.spp-root--customer[data-spp-theme="light"] .spp-main span,
.spp-root--customer[data-spp-theme="light"] .spp-main strong,
.spp-root--customer[data-spp-theme="light"] .spp-main small,
.spp-root--customer[data-spp-theme="light"] .spp-main em,
.spp-root--customer[data-spp-theme="light"] .spp-main time {
  color:var(--spp-text);
}
.spp-root--customer[data-spp-theme="light"] .spp-main h1,
.spp-root--customer[data-spp-theme="light"] .spp-main h2,
.spp-root--customer[data-spp-theme="light"] .spp-main h3,
.spp-root--customer[data-spp-theme="light"] .spp-dashboard-hero h1,
.spp-root--customer[data-spp-theme="light"] .spp-page-head h1,
.spp-root--customer[data-spp-theme="light"] .spp-card-head h2,
.spp-root--customer[data-spp-theme="light"] .spp-card-head h3 {
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-lead,
.spp-root--customer[data-spp-theme="light"] .spp-sub,
.spp-root--customer[data-spp-theme="light"] .spp-main .spp-muted,
.spp-root--customer[data-spp-theme="light"] .spp-kpi-content small,
.spp-root--customer[data-spp-theme="light"] .spp-kpi-content em,
.spp-root--customer[data-spp-theme="light"] .spp-customer-coming-soon p {
  color:#61758b!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-eyebrow {color:#008fb5!important;}

/* Light KPI cards: remove inherited dark gradients but retain semantic accents. */
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card,
.spp-root--customer[data-spp-theme="light"] .spp-overview-strip article {
  color:#102033!important;
  background:linear-gradient(145deg,#ffffff,#f7faff)!important;
  border-color:rgba(34,65,91,.15)!important;
  box-shadow:0 14px 34px rgba(37,63,86,.11)!important;
  opacity:1!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--success {
  background:linear-gradient(145deg,#ffffff,#f1fcf8)!important;
  border-color:rgba(0,140,102,.25)!important;
  box-shadow:inset 0 3px 0 rgba(0,140,102,.55),0 14px 34px rgba(37,63,86,.10)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--warning {
  background:linear-gradient(145deg,#ffffff,#fff8eb)!important;
  border-color:rgba(181,106,0,.25)!important;
  box-shadow:inset 0 3px 0 rgba(181,106,0,.55),0 14px 34px rgba(37,63,86,.10)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--danger {
  background:linear-gradient(145deg,#ffffff,#fff2f4)!important;
  border-color:rgba(207,51,64,.25)!important;
  box-shadow:inset 0 3px 0 rgba(207,51,64,.55),0 14px 34px rgba(37,63,86,.10)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--info {
  background:linear-gradient(145deg,#ffffff,#eefaff)!important;
  border-color:rgba(0,143,181,.25)!important;
  box-shadow:inset 0 3px 0 rgba(0,143,181,.55),0 14px 34px rgba(37,63,86,.10)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-content strong {color:#102033!important;}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-icon {box-shadow:none!important;}

/* Light cards, fields and lists. */
.spp-root--customer[data-spp-theme="light"] .spp-card,
.spp-root--customer[data-spp-theme="light"] .spp-installation-record,
.spp-root--customer[data-spp-theme="light"] .spp-customer-coming-soon,
.spp-root--customer[data-spp-theme="light"] .spp-profile-summary {
  color:#102033!important;
  background:linear-gradient(145deg,#ffffff,#fbfdff)!important;
  border-color:rgba(34,65,91,.15)!important;
  box-shadow:0 18px 48px rgba(37,63,86,.11)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-installation-snapshot > div,
.spp-root--customer[data-spp-theme="light"] .spp-installation-fields > div,
.spp-root--customer[data-spp-theme="light"] .spp-detail-facts > div,
.spp-root--customer[data-spp-theme="light"] .spp-account-checks > div,
.spp-root--customer[data-spp-theme="light"] .spp-installation-mini-summary > div,
.spp-root--customer[data-spp-theme="light"] .spp-metric,
.spp-root--customer[data-spp-theme="light"] .spp-request-record,
.spp-root--customer[data-spp-theme="light"] .spp-appointment-card,
.spp-root--customer[data-spp-theme="light"] .spp-order-row,
.spp-root--customer[data-spp-theme="light"] .spp-compact-list > a,
.spp-root--customer[data-spp-theme="light"] .spp-quick-action-list > a {
  color:#102033!important;
  background:#f3f7fb!important;
  border-color:rgba(34,65,91,.15)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-installation-snapshot span,
.spp-root--customer[data-spp-theme="light"] .spp-installation-fields span,
.spp-root--customer[data-spp-theme="light"] .spp-detail-facts span,
.spp-root--customer[data-spp-theme="light"] .spp-installation-mini-summary span {
  color:#60748a!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-installation-snapshot strong,
.spp-root--customer[data-spp-theme="light"] .spp-installation-fields strong,
.spp-root--customer[data-spp-theme="light"] .spp-detail-facts strong,
.spp-root--customer[data-spp-theme="light"] .spp-installation-mini-summary strong,
.spp-root--customer[data-spp-theme="light"] .spp-request-record h3,
.spp-root--customer[data-spp-theme="light"] .spp-quick-action-list strong {
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] input,
.spp-root--customer[data-spp-theme="light"] select,
.spp-root--customer[data-spp-theme="light"] textarea,
.spp-root--customer[data-spp-theme="light"] .spp-search-box,
.spp-root--customer[data-spp-theme="light"] .spp-filter-chips button {
  color:#102033!important;
  background:#f3f7fb!important;
  border-color:rgba(34,65,91,.18)!important;
}
.spp-root--customer[data-spp-theme="light"] input[readonly],
.spp-root--customer[data-spp-theme="light"] input:disabled,
.spp-root--customer[data-spp-theme="light"] select:disabled,
.spp-root--customer[data-spp-theme="light"] textarea:disabled {
  color:#50667c!important;
  background:#eaf1f7!important;
  border-color:rgba(34,65,91,.14)!important;
  opacity:1!important;
}
.spp-root--customer[data-spp-theme="light"] input::placeholder,
.spp-root--customer[data-spp-theme="light"] textarea::placeholder {color:#8294a6!important;}
.spp-root--customer[data-spp-theme="light"] .spp-btn--secondary,
.spp-root--customer[data-spp-theme="light"] .spp-btn--ghost,
.spp-root--customer[data-spp-theme="light"] .spp-connection-settings > summary {
  color:#173149!important;
  background:#f1f6fa!important;
  border-color:rgba(34,65,91,.19)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-profile-summary span,
.spp-root--customer[data-spp-theme="light"] .spp-profile-summary small {color:#60748a!important;}
.spp-root--customer[data-spp-theme="light"] .spp-profile-summary strong {color:#102033!important;}
.spp-root--customer[data-spp-theme="light"] .spp-progress-track {background:#dce6ef!important;}
.spp-root--customer[data-spp-theme="light"] .spp-system-state {color:#173149!important;}
.spp-root--customer[data-spp-theme="light"] .spp-days-remaining strong {color:#5337bd!important;}

/* Status badges in Light Mode. */
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--ok {
  color:#006e50!important;background:#e6f8f1!important;border-color:rgba(0,140,102,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--warning,
.spp-root--customer[data-spp-theme="light"] .spp-subscription-inline-status--grace {
  color:#8b5200!important;background:#fff3d9!important;border-color:rgba(181,106,0,.28)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--danger,
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--critical {
  color:#a52633!important;background:#ffebee!important;border-color:rgba(207,51,64,.25)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--neutral,
.spp-root--customer[data-spp-theme="light"] .spp-subscription-inline-status--pending_activation {
  color:#245b8f!important;background:#eaf4ff!important;border-color:rgba(36,91,143,.22)!important;
}

/* Consistent page rhythm and compact secondary content. */
.spp-root--customer .spp-dashboard-kpis--persistent {margin-bottom:20px;}
.spp-root--customer .spp-page-head {margin-bottom:18px;}
.spp-root--customer .spp-page-head h1 {margin-bottom:8px;}
.spp-root--customer .spp-customer-coming-soon {
  min-height:230px;
  padding:24px;
  gap:18px;
}
.spp-root--customer .spp-customer-coming-soon-icon {
  width:64px;height:64px;font-size:27px;border-radius:18px;
}

/* Customer installation list uses small counters below the shared status strip. */
.spp-installation-counters {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:-4px 0 18px;
}
.spp-installation-counters span {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 11px;
  color:var(--spp-muted);
  background:var(--spp-field);
  border:1px solid var(--spp-line);
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}
.spp-installation-counters strong {color:var(--spp-text);font-size:12px;}
.spp-installation-counters .is-online {border-color:rgba(61,217,161,.28);}
.spp-installation-counters .is-offline {border-color:rgba(255,95,104,.24);}
.spp-installation-counters .is-pending {border-color:rgba(255,176,32,.24);}
.spp-root--customer[data-spp-theme="light"] .spp-installation-counters span {
  color:#60748a;background:#f3f7fb;border-color:rgba(34,65,91,.15);
}
.spp-root--customer[data-spp-theme="light"] .spp-installation-counters strong {color:#102033;}

/* Support toolbar becomes one balanced unit. */
.spp-root--customer .spp-request-history-section {display:grid;gap:14px;}
.spp-root--customer .spp-list-toolbar {
  display:grid;
  grid-template-columns:minmax(180px,.42fr) minmax(0,1.58fr);
  align-items:end;
  gap:18px;
  margin-bottom:0;
}
.spp-root--customer .spp-list-controls {display:grid;gap:10px;}
.spp-root--customer .spp-list-controls input[type="search"] {width:100%;}
.spp-root--customer .spp-filter-chips {justify-content:flex-end;}
.spp-root--customer[data-spp-theme="light"] .spp-support-tabs {
  background:#fff;border-color:rgba(34,65,91,.15);box-shadow:0 8px 22px rgba(37,63,86,.08);
}
.spp-root--customer[data-spp-theme="light"] .spp-support-tabs a {color:#5c6f83!important;}
.spp-root--customer[data-spp-theme="light"] .spp-support-tabs a:hover,
.spp-root--customer[data-spp-theme="light"] .spp-support-tabs a.is-active {
  color:#102033!important;background:#eef5fb!important;
}

@media (max-width:900px) {
  .spp-root--customer .spp-list-toolbar {grid-template-columns:1fr;align-items:stretch;}
  .spp-root--customer .spp-filter-chips {justify-content:flex-start;}
}
@media (max-width:760px) {
  .spp-root--customer .spp-dashboard-kpis {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .spp-root--customer .spp-customer-coming-soon {grid-template-columns:1fr;min-height:0;}
}
@media (max-width:480px) {
  .spp-root--customer .spp-dashboard-kpis {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .spp-root--customer .spp-kpi-card {min-height:110px;padding:12px;grid-template-columns:auto minmax(0,1fr);}
  .spp-root--customer .spp-kpi-arrow {display:none;}
  .spp-root--customer .spp-kpi-content strong {font-size:13px;}
  .spp-root--customer .spp-kpi-content em {font-size:10px;}
}


/* =========================================================
   Smart Pro Portal 2.7.2 — Header & Light Canvas Polish
   True centered nav, title-first secondary pages, stronger Light accents
   ========================================================= */

/* True three-zone desktop header: brand | centered navigation | account. */
@media (min-width:1181px) {
  .spp-root--customer .spp-topbar-shell {
    display:grid!important;
    grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);
    align-items:center;
    gap:18px;
  }
  .spp-root--customer .spp-brand {justify-self:start;min-width:0;}
  .spp-root--customer .spp-nav {justify-self:center;flex:0 0 auto;width:auto;}
  .spp-root--customer .spp-user {justify-self:end;}
}

/* Secondary customer pages: title/description first, persistent status strip second. */
.spp-root--customer[data-spp-view]:not([data-spp-view="dashboard"]) .spp-main {
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.spp-root--customer[data-spp-view]:not([data-spp-view="dashboard"]) .spp-main > * {
  order:30;
  width:100%;
}
.spp-root--customer[data-spp-view]:not([data-spp-view="dashboard"]) .spp-main > .spp-page-head {
  order:10;
  margin:2px 0 18px;
}
.spp-root--customer[data-spp-view]:not([data-spp-view="dashboard"]) .spp-main > .spp-dashboard-kpis--persistent {
  order:20;
  margin:0 0 22px;
}
.spp-root--customer[data-spp-view]:not([data-spp-view="dashboard"]) .spp-main > .spp-support-tabs {
  align-self:flex-start;
  width:auto;
}

/* Deeper Light canvas: darker surrounding surface, white content cards. */
.spp-root--customer[data-spp-theme="light"] {
  --spp-bg:#d6e1eb;
  --spp-panel:#ffffff;
  --spp-panel-2:#ffffff;
  --spp-panel-3:#edf4f9;
  --spp-field:#eef4f8;
  --spp-field-hover:#e5eef5;
  --spp-text:#0b1f33;
  --spp-muted:#526a80;
  --spp-line:rgba(32,61,86,.20);
  --spp-line-strong:rgba(0,143,181,.48);
  --spp-cyan:#009fc9;
  --spp-cyan-strong:#007fa5;
  --spp-cyan-soft:rgba(0,159,201,.14);
  --spp-ok:#07835f;
  --spp-warn:#a85f00;
  --spp-danger:#c82e3e;
  --spp-purple:#5d43c6;
  --spp-shadow:0 20px 50px rgba(37,63,86,.16);
  background:
    radial-gradient(circle at 10% 0%,rgba(0,159,201,.12),transparent 28rem),
    radial-gradient(circle at 90% 10%,rgba(93,67,198,.08),transparent 30rem),
    linear-gradient(180deg,#dce7ef 0%,#d3dfe9 100%)!important;
}

.spp-root--customer[data-spp-theme="light"] .spp-card,
.spp-root--customer[data-spp-theme="light"] .spp-installation-record,
.spp-root--customer[data-spp-theme="light"] .spp-customer-coming-soon,
.spp-root--customer[data-spp-theme="light"] .spp-profile-summary,
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card,
.spp-root--customer[data-spp-theme="light"] .spp-overview-strip article {
  background:#ffffff!important;
  border-color:rgba(32,61,86,.19)!important;
  box-shadow:0 18px 44px rgba(37,63,86,.15)!important;
}

/* Stronger semantic KPI accents in Light Mode. */
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--success {
  background:linear-gradient(145deg,#ffffff,#edf9f5)!important;
  border-color:rgba(7,131,95,.38)!important;
  box-shadow:inset 0 4px 0 #17a77c,0 18px 44px rgba(37,63,86,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--warning {
  background:linear-gradient(145deg,#ffffff,#fff5e3)!important;
  border-color:rgba(168,95,0,.38)!important;
  box-shadow:inset 0 4px 0 #e29319,0 18px 44px rgba(37,63,86,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--danger {
  background:linear-gradient(145deg,#ffffff,#fff0f2)!important;
  border-color:rgba(200,46,62,.38)!important;
  box-shadow:inset 0 4px 0 #e65061,0 18px 44px rgba(37,63,86,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--info {
  background:linear-gradient(145deg,#ffffff,#eaf8fc)!important;
  border-color:rgba(0,127,165,.38)!important;
  box-shadow:inset 0 4px 0 #13a8d0,0 18px 44px rgba(37,63,86,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--success .spp-kpi-icon {
  color:#006f50!important;background:#d9f5eb!important;box-shadow:0 8px 18px rgba(7,131,95,.15)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--warning .spp-kpi-icon {
  color:#8c4e00!important;background:#ffebc7!important;box-shadow:0 8px 18px rgba(168,95,0,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--danger .spp-kpi-icon {
  color:#a82434!important;background:#ffe0e5!important;box-shadow:0 8px 18px rgba(200,46,62,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card--info .spp-kpi-icon {
  color:#006f91!important;background:#d8f1f8!important;box-shadow:0 8px 18px rgba(0,127,165,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-kpi-card:not(.spp-kpi-card--success):not(.spp-kpi-card--warning):not(.spp-kpi-card--danger):not(.spp-kpi-card--info) {
  border-color:rgba(0,127,165,.24)!important;
  box-shadow:inset 0 4px 0 rgba(19,168,208,.55),0 18px 44px rgba(37,63,86,.14)!important;
}

/* More confident fields and read-only information cards on the deeper canvas. */
.spp-root--customer[data-spp-theme="light"] .spp-installation-snapshot > div,
.spp-root--customer[data-spp-theme="light"] .spp-installation-fields > div,
.spp-root--customer[data-spp-theme="light"] .spp-detail-facts > div,
.spp-root--customer[data-spp-theme="light"] .spp-account-checks > div,
.spp-root--customer[data-spp-theme="light"] .spp-installation-mini-summary > div,
.spp-root--customer[data-spp-theme="light"] .spp-metric,
.spp-root--customer[data-spp-theme="light"] .spp-request-record,
.spp-root--customer[data-spp-theme="light"] .spp-appointment-card,
.spp-root--customer[data-spp-theme="light"] .spp-order-row,
.spp-root--customer[data-spp-theme="light"] .spp-compact-list > a,
.spp-root--customer[data-spp-theme="light"] .spp-quick-action-list > a {
  background:#eef4f8!important;
  border-color:rgba(32,61,86,.20)!important;
}
.spp-root--customer[data-spp-theme="light"] input,
.spp-root--customer[data-spp-theme="light"] select,
.spp-root--customer[data-spp-theme="light"] textarea,
.spp-root--customer[data-spp-theme="light"] .spp-search-box,
.spp-root--customer[data-spp-theme="light"] .spp-filter-chips button {
  background:#ffffff!important;
  border-color:rgba(32,61,86,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 3px 10px rgba(37,63,86,.05)!important;
}
.spp-root--customer[data-spp-theme="light"] input[readonly],
.spp-root--customer[data-spp-theme="light"] input:disabled,
.spp-root--customer[data-spp-theme="light"] select:disabled,
.spp-root--customer[data-spp-theme="light"] textarea:disabled {
  background:#e7eef4!important;
  border-color:rgba(32,61,86,.18)!important;
}

/* Stronger badges and links in Light Mode. */
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--ok {
  color:#006348!important;background:#d8f5e9!important;border-color:rgba(7,131,95,.34)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--warning,
.spp-root--customer[data-spp-theme="light"] .spp-subscription-inline-status--grace {
  color:#7e4700!important;background:#ffe9bf!important;border-color:rgba(168,95,0,.38)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--danger,
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--critical,
.spp-root--customer[data-spp-theme="light"] .spp-subscription-inline-status--expired,
.spp-root--customer[data-spp-theme="light"] .spp-subscription-inline-status--suspended {
  color:#9f2130!important;background:#ffdfe4!important;border-color:rgba(200,46,62,.36)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--neutral,
.spp-root--customer[data-spp-theme="light"] .spp-subscription-inline-status--pending_activation {
  color:#154f80!important;background:#dcecff!important;border-color:rgba(21,79,128,.32)!important;
}

@media (max-width:760px) {
  .spp-root--customer[data-spp-view]:not([data-spp-view="dashboard"]) .spp-main > .spp-page-head {
    margin-bottom:15px;
  }
  .spp-root--customer[data-spp-view]:not([data-spp-view="dashboard"]) .spp-main > .spp-dashboard-kpis--persistent {
    margin-bottom:18px;
  }
}


/* =========================================================
   Smart Pro Portal 2.7.3 — Customer Header Alignment & Final Polish
   Geometric nav centering, account contrast, compact support workspace
   ========================================================= */

/* Never allow header controls to create horizontal page drift. */
.spp-root--customer {
  overflow-x:clip!important;
}
.spp-root--customer .spp-topbar,
.spp-root--customer .spp-topbar-shell,
.spp-root--customer .spp-nav,
.spp-root--customer .spp-user {
  min-width:0;
}

/* Desktop: brand and account controls stay at the edges, nav is centered
   against the 1200px shell itself—not merely the remaining free space. */
@media (min-width:1281px) {
  .spp-root--customer .spp-topbar-shell {
    position:relative!important;
    display:grid!important;
    grid-template-columns:220px minmax(0,1fr) 220px!important;
    align-items:center!important;
    gap:18px!important;
    min-height:82px;
  }
  .spp-root--customer .spp-brand {
    grid-column:1;
    justify-self:start!important;
    min-width:0!important;
  }
  .spp-root--customer .spp-nav {
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;
    max-width:650px!important;
    justify-content:center!important;
    overflow:visible!important;
    white-space:nowrap;
  }
  .spp-root--customer .spp-user {
    grid-column:3;
    justify-self:end!important;
    justify-content:flex-end!important;
    width:220px!important;
    gap:9px!important;
    flex-wrap:nowrap!important;
  }
  /* The avatar already opens Account; removing the repeated greeting gives
     the toggle and logout a reliable, non-overlapping control zone. */
  .spp-root--customer .spp-user-greeting {
    display:none!important;
  }
  .spp-root--customer .spp-theme-toggle {
    flex:0 0 70px!important;
  }
  .spp-root--customer .spp-avatar {
    flex:0 0 34px!important;
  }
  .spp-root--customer .spp-logout {
    flex:0 0 auto!important;
  }
}

/* Smaller desktop/tablet: use a clean second navigation row rather than
   squeezing controls until they overlap. */
@media (min-width:761px) and (max-width:1280px) {
  .spp-root--customer .spp-topbar-shell {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px 16px!important;
  }
  .spp-root--customer .spp-brand {
    grid-column:1;
    justify-self:start;
  }
  .spp-root--customer .spp-user {
    grid-column:2;
    justify-self:end;
    flex-wrap:nowrap!important;
  }
  .spp-root--customer .spp-user-greeting {
    display:none!important;
  }
  .spp-root--customer .spp-nav {
    position:static!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    order:initial!important;
    justify-content:center!important;
    overflow-x:auto!important;
    scrollbar-width:thin;
    padding:2px 0 4px!important;
  }
}

/* Light account form: labels and values must remain clearly readable.
   This intentionally overrides legacy dark form declarations with !important. */
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-sections .spp-card-head h2 {
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-sections .spp-sub {
  color:#5a7086!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-form-grid label > span {
  color:#263e55!important;
  opacity:1!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-form-grid input {
  color:#102033!important;
  -webkit-text-fill-color:#102033!important;
  caret-color:#007fa5!important;
  background:#ffffff!important;
  border-color:rgba(32,61,86,.27)!important;
  opacity:1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(37,63,86,.06)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-form-grid input:focus {
  border-color:#009fc9!important;
  box-shadow:0 0 0 3px rgba(0,159,201,.14)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-form-grid input:disabled,
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-form-grid input[readonly] {
  color:#405a72!important;
  -webkit-text-fill-color:#405a72!important;
  background:#e5edf4!important;
  border-color:rgba(32,61,86,.20)!important;
  opacity:1!important;
  cursor:not-allowed;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-form-grid small {
  color:#5a7086!important;
}

/* Support page: remove the large dead zone and turn history controls into
   one compact workspace directly below the tabs. */
.spp-root--customer[data-spp-view="requests"] .spp-support-tabs {
  margin:-2px 0 12px!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-history-section {
  gap:10px!important;
  margin:0!important;
  padding:0!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-list-toolbar {
  grid-template-columns:minmax(190px,.38fr) minmax(0,1.62fr)!important;
  align-items:end!important;
  gap:14px!important;
  margin:0 0 10px!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-list-toolbar h2 {
  margin:0 0 4px!important;
  line-height:1.05!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-list-controls {
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  align-items:center!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-filter-chips {
  justify-content:flex-end!important;
  gap:6px!important;
  margin:0!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-list-controls input[type="search"] {
  min-height:42px!important;
  width:100%!important;
  margin:0!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-list {
  gap:12px!important;
}

@media (max-width:900px) {
  .spp-root--customer[data-spp-view="requests"] .spp-list-toolbar {
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .spp-root--customer[data-spp-view="requests"] .spp-filter-chips {
    justify-content:flex-start!important;
  }
}

@media (max-width:760px) {
  .spp-root--customer .spp-topbar-shell {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:9px 10px!important;
  }
  .spp-root--customer .spp-brand {grid-column:1;min-width:0!important;}
  .spp-root--customer .spp-user {grid-column:2;gap:7px!important;}
  .spp-root--customer .spp-user-greeting,
  .spp-root--customer .spp-logout {display:none!important;}
  .spp-root--customer .spp-nav {
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    padding-bottom:3px!important;
  }
}


/* =========================================================
   Smart Pro Portal 2.7.4 — Customer Header Collision Hotfix
   No absolute navigation; robust three-zone desktop grid
   ========================================================= */

/* The 2.7.3 absolute-centered nav could visually escape its own track and
   overlap the brand/account controls. Reset every absolute positioning value. */
@media (min-width:1281px) {
  .spp-root--customer .spp-topbar-shell {
    position:relative!important;
    display:grid!important;
    grid-template-columns:220px minmax(0,1fr) 220px!important;
    align-items:center!important;
    gap:12px!important;
    min-height:82px!important;
  }
  .spp-root--customer .spp-brand {
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    width:auto!important;
    max-width:220px!important;
    min-width:0!important;
  }
  .spp-root--customer .spp-nav {
    position:static!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    grid-column:2!important;
    grid-row:1!important;
    justify-self:stretch!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    justify-content:center!important;
    overflow:visible!important;
    white-space:normal!important;
    gap:2px!important;
    padding:0!important;
  }
  .spp-root--customer .spp-nav a {
    flex:0 0 auto!important;
    min-height:40px!important;
    padding:8px 8px!important;
    font-size:11.5px!important;
    letter-spacing:-.01em!important;
  }
  .spp-root--customer .spp-user {
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    justify-content:flex-end!important;
    width:220px!important;
    max-width:220px!important;
    min-width:220px!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
  }
  .spp-root--customer .spp-user-greeting {display:none!important;}
  .spp-root--customer .spp-theme-toggle {flex:0 0 70px!important;}
  .spp-root--customer .spp-avatar {flex:0 0 34px!important;}
  .spp-root--customer .spp-logout {
    flex:0 0 auto!important;
    font-size:11px!important;
  }
}

/* When the available desktop width becomes tighter, keep the safe second row
   instead of forcing six links between the brand and account controls. */
@media (min-width:761px) and (max-width:1280px) {
  .spp-root--customer .spp-nav {
    position:static!important;
    inset:auto!important;
    transform:none!important;
    max-width:none!important;
  }
}


/* =========================================================
   Smart Pro Portal 2.8.0 — Admin Visual & Information Foundation
   1440px operations shell, robust centered second-row navigation,
   subscription overview and Partner module foundation.
   ========================================================= */

.spp-root--admin {
  --spp-admin-shell:1440px;
}

.spp-root--admin .spp-topbar {
  min-height:118px;
  padding:0 clamp(18px,3vw,42px);
}

.spp-root--admin .spp-topbar-shell {
  width:100%;
  max-width:var(--spp-admin-shell);
  min-height:118px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(250px,1fr) auto;
  grid-template-rows:64px 46px;
  align-items:center;
  gap:0 20px;
}

.spp-root--admin .spp-brand {
  grid-column:1;
  grid-row:1;
  justify-self:start;
}

.spp-root--admin .spp-user {
  grid-column:2;
  grid-row:1;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.spp-root--admin .spp-nav--admin {
  grid-column:1 / -1;
  grid-row:2;
  justify-self:center;
  width:max-content;
  max-width:100%;
  padding:3px 8px 7px;
  gap:4px;
  overflow-x:auto;
  scrollbar-width:thin;
}

.spp-root--admin .spp-nav--admin a {
  min-height:36px;
  padding:7px 11px;
  font-size:11.5px;
}

.spp-root--admin .spp-main {
  width:min(var(--spp-admin-shell),calc(100% - 40px));
  max-width:var(--spp-admin-shell);
  margin:0 auto;
  padding-top:30px;
}

.spp-root--admin .spp-dashboard-hero {
  min-height:0;
  margin-bottom:18px;
  padding:4px 0 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:28px;
}

.spp-root--admin .spp-dashboard-hero h1 {
  margin-top:8px;
  font-size:clamp(36px,4vw,58px);
  line-height:.98;
}

.spp-root--admin .spp-dashboard-hero .spp-lead {
  max-width:820px;
}

.spp-root--admin .spp-system-state {
  margin-top:20px;
}

.spp-root--admin .spp-demo {
  min-width:290px;
}

.spp-root--admin .spp-dashboard-kpis {
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}

.spp-root--admin .spp-kpi-card {
  min-height:112px;
  padding:17px;
}

.spp-root--admin .spp-dashboard-workspace {
  grid-template-columns:minmax(0,1.72fr) minmax(330px,.78fr);
  gap:18px;
}

.spp-root--admin .spp-dashboard-sidebar {
  display:grid;
  gap:18px;
}

.spp-root--admin .spp-admin-subscription-overview,
.spp-root--admin .spp-admin-partner-teaser {
  min-height:0;
}

.spp-admin-subscription-summary-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin:14px 0 16px;
}

.spp-admin-subscription-summary-grid > div {
  padding:10px 7px;
  text-align:center;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}

.spp-admin-subscription-summary-grid span,
.spp-admin-subscription-summary-grid strong {display:block;}
.spp-admin-subscription-summary-grid span {color:var(--spp-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.5px;}
.spp-admin-subscription-summary-grid strong {margin-top:4px;font-size:18px;}
.spp-admin-subscription-summary-grid .is-active strong {color:#6ee7b7;}
.spp-admin-subscription-summary-grid .is-grace strong {color:#fbbf24;}
.spp-admin-subscription-summary-grid .is-expired strong,
.spp-admin-subscription-summary-grid .is-suspended strong {color:#fda4af;}
.spp-admin-subscription-summary-grid .is-pending strong {color:#7dd3fc;}

.spp-root--admin .spp-page-head--admin {
  margin-bottom:22px;
}

.spp-root--admin .spp-page-head--admin h1 {
  font-size:clamp(38px,4.4vw,64px);
  line-height:1;
}

.spp-admin-module-kpis,
.spp-admin-subscription-kpis {
  display:grid;
  gap:12px;
  margin-bottom:18px;
}

.spp-admin-module-kpis {grid-template-columns:repeat(3,minmax(0,1fr));}
.spp-admin-subscription-kpis {grid-template-columns:repeat(5,minmax(0,1fr));}

.spp-admin-mini-kpi,
.spp-admin-sub-kpi {
  min-height:112px;
  padding:18px 20px;
  color:var(--spp-text);
  text-decoration:none!important;
  border:1px solid var(--spp-line);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.018));
  box-shadow:0 14px 34px rgba(0,0,0,.16);
}

.spp-admin-mini-kpi span,.spp-admin-mini-kpi strong,.spp-admin-mini-kpi small,
.spp-admin-sub-kpi span,.spp-admin-sub-kpi strong {display:block;}
.spp-admin-mini-kpi span,.spp-admin-sub-kpi span {color:var(--spp-muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.7px;}
.spp-admin-mini-kpi strong,.spp-admin-sub-kpi strong {margin-top:8px;font-size:28px;line-height:1;}
.spp-admin-mini-kpi small {margin-top:7px;color:var(--spp-muted);font-size:10px;}
.spp-admin-mini-kpi--success,.spp-admin-sub-kpi--active {border-color:rgba(52,211,153,.25);}
.spp-admin-mini-kpi--warning,.spp-admin-sub-kpi--grace {border-color:rgba(251,191,36,.30);}
.spp-admin-mini-kpi--info,.spp-admin-sub-kpi--pending {border-color:rgba(56,189,248,.30);}
.spp-admin-sub-kpi--expired,.spp-admin-sub-kpi--suspended {border-color:rgba(251,113,133,.30);}
.spp-admin-sub-kpi--active strong {color:#6ee7b7;}
.spp-admin-sub-kpi--grace strong {color:#fbbf24;}
.spp-admin-sub-kpi--expired strong,.spp-admin-sub-kpi--suspended strong {color:#fda4af;}
.spp-admin-sub-kpi--pending strong {color:#7dd3fc;}

.spp-admin-table-card {padding:20px;}
.spp-admin-data-list {display:grid;gap:9px;margin-top:4px;}
.spp-admin-data-row {
  display:grid;
  align-items:center;
  gap:12px;
  padding:12px 13px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:rgba(255,255,255,.022);
}
.spp-admin-data-row--customer {grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(100px,.5fr)) auto;}
.spp-admin-data-row--subscription {grid-template-columns:minmax(170px,1.1fr) minmax(180px,1.1fr) minmax(120px,.7fr) minmax(140px,.8fr) minmax(150px,.9fr) auto;}
.spp-admin-data-row--partner {grid-template-columns:repeat(4,minmax(0,1fr));}
.spp-admin-data-row > div > span,
.spp-admin-data-row > div > strong,
.spp-admin-data-row > div > small {display:block;}
.spp-admin-data-row > div > span {color:var(--spp-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.55px;}
.spp-admin-data-row > div > strong {margin-top:4px;font-size:12px;}
.spp-admin-data-row > div > small {margin-top:3px;color:var(--spp-muted);font-size:9px;}
.spp-admin-identity {display:flex!important;align-items:center;gap:11px;}
.spp-admin-identity > span {width:38px;height:38px;display:grid!important;place-items:center;color:#001018!important;background:linear-gradient(135deg,#7de9ff,var(--spp-cyan));border-radius:12px;font-size:15px!important;}

.spp-admin-partner-foundation {padding:22px;}
.spp-admin-partner-principles {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 20px;}
.spp-admin-partner-principles > div {padding:16px;border:1px solid var(--spp-line);border-radius:15px;background:rgba(255,255,255,.022);}
.spp-admin-partner-principles span {width:30px;height:30px;display:grid;place-items:center;margin-bottom:10px;color:#001018;background:var(--spp-cyan);border-radius:10px;font-weight:950;}
.spp-admin-partner-principles strong,.spp-admin-partner-principles small {display:block;}
.spp-admin-partner-principles strong {font-size:13px;}
.spp-admin-partner-principles small {margin-top:7px;color:var(--spp-muted);font-size:10px;line-height:1.55;}

.spp-admin-settings-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.spp-admin-setting-facts {display:grid;gap:8px;margin-top:12px;}
.spp-admin-setting-facts > div {display:flex;justify-content:space-between;gap:15px;padding:11px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.022);}
.spp-admin-setting-facts span {color:var(--spp-muted);font-size:10px;}
.spp-admin-setting-facts strong {font-size:11px;}

/* Admin Light Mode keeps the dark branded two-row header and uses a denser
   operations canvas with white cards and readable navy typography. */
.spp-root--admin[data-spp-theme="light"] {
  --spp-bg:#c8d5e1;
  --spp-panel:#ffffff;
  --spp-panel-2:#edf3f8;
  --spp-text:#102033;
  --spp-muted:#587087;
  --spp-line:rgba(32,61,86,.18);
  --spp-shadow:0 22px 54px rgba(34,58,78,.15);
  background:
    radial-gradient(circle at 5% 0%,rgba(0,169,214,.15),transparent 32rem),
    radial-gradient(circle at 95% 8%,rgba(86,108,255,.10),transparent 29rem),
    var(--spp-bg);
}
.spp-root--admin[data-spp-theme="light"] .spp-topbar {background:#07101e;border-bottom-color:rgba(255,255,255,.08);}
.spp-root--admin[data-spp-theme="light"] .spp-brand,
.spp-root--admin[data-spp-theme="light"] .spp-brand:hover {color:#f8fafc;}
.spp-root--admin[data-spp-theme="light"] .spp-brand small,
.spp-root--admin[data-spp-theme="light"] .spp-user-greeting {color:#aebcd0;}
.spp-root--admin[data-spp-theme="light"] .spp-nav a {color:#aebcd0;}
.spp-root--admin[data-spp-theme="light"] .spp-nav a:hover,
.spp-root--admin[data-spp-theme="light"] .spp-nav a.is-active {color:#fff;background:rgba(255,255,255,.08);}
.spp-root--admin[data-spp-theme="light"] .spp-nav a.is-active {box-shadow:inset 0 -2px 0 var(--spp-cyan);}
.spp-root--admin[data-spp-theme="light"] .spp-card,
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card,
.spp-root--admin[data-spp-theme="light"] .spp-admin-mini-kpi,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi {background:#fff;color:#102033;box-shadow:var(--spp-shadow);}
.spp-root--admin[data-spp-theme="light"] .spp-card h1,
.spp-root--admin[data-spp-theme="light"] .spp-card h2,
.spp-root--admin[data-spp-theme="light"] .spp-card h3,
.spp-root--admin[data-spp-theme="light"] .spp-main h1,
.spp-root--admin[data-spp-theme="light"] .spp-main h2,
.spp-root--admin[data-spp-theme="light"] .spp-main h3 {color:#102033;}
.spp-root--admin[data-spp-theme="light"] .spp-sub,
.spp-root--admin[data-spp-theme="light"] .spp-lead,
.spp-root--admin[data-spp-theme="light"] .spp-main p,
.spp-root--admin[data-spp-theme="light"] .spp-main small,
.spp-root--admin[data-spp-theme="light"] .spp-main em {color:#587087;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-data-row,
.spp-root--admin[data-spp-theme="light"] .spp-admin-partner-principles > div,
.spp-root--admin[data-spp-theme="light"] .spp-admin-setting-facts > div,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid > div {background:#edf3f8;border-color:rgba(32,61,86,.16);}
.spp-root--admin[data-spp-theme="light"] input,
.spp-root--admin[data-spp-theme="light"] select,
.spp-root--admin[data-spp-theme="light"] textarea {color:#102033!important;background:#fff!important;border-color:rgba(32,61,86,.24)!important;}

@media(max-width:1260px) {
  .spp-root--admin .spp-dashboard-kpis {grid-template-columns:repeat(3,minmax(0,1fr));}
  .spp-root--admin .spp-admin-subscription-kpis {grid-template-columns:repeat(3,minmax(0,1fr));}
  .spp-admin-data-row--subscription {grid-template-columns:repeat(3,minmax(0,1fr));}
  .spp-admin-data-row--subscription .spp-btn {justify-self:start;}
}

@media(max-width:980px) {
  .spp-root--admin .spp-topbar {min-height:126px;}
  .spp-root--admin .spp-topbar-shell {grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px 54px;min-height:126px;}
  .spp-root--admin .spp-user-greeting {display:none;}
  .spp-root--admin .spp-nav--admin {justify-self:stretch;width:100%;justify-content:flex-start;}
  .spp-root--admin .spp-dashboard-workspace {grid-template-columns:1fr;}
  .spp-root--admin .spp-dashboard-sidebar {grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-admin-data-row--customer {grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(90px,.6fr));}
  .spp-admin-data-row--customer > div:nth-child(4),.spp-admin-data-row--customer .spp-btn {grid-row:2;}
  .spp-admin-partner-principles {grid-template-columns:1fr;}
}

@media(max-width:720px) {
  .spp-root--admin .spp-main {width:min(100% - 24px,var(--spp-admin-shell));padding-top:20px;}
  .spp-root--admin .spp-dashboard-hero {grid-template-columns:1fr;}
  .spp-root--admin .spp-demo {display:none;}
  .spp-root--admin .spp-dashboard-kpis,
  .spp-root--admin .spp-admin-module-kpis,
  .spp-root--admin .spp-admin-subscription-kpis,
  .spp-root--admin .spp-admin-settings-grid {grid-template-columns:1fr;}
  .spp-root--admin .spp-dashboard-sidebar {grid-template-columns:1fr;}
  .spp-admin-subscription-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-admin-data-row--customer,
  .spp-admin-data-row--subscription,
  .spp-admin-data-row--partner {grid-template-columns:1fr;}
}

.spp-root--admin .spp-theme-toggle {
  flex:0 0 70px;
}
.spp-root--admin .spp-theme-toggle span {color:#8fa2b8;}
.spp-root--admin[data-spp-theme="dark"] .spp-theme-toggle-moon,
.spp-root--admin[data-spp-theme="light"] .spp-theme-toggle-sun {
  color:#06111e;
  background:#f8fafc;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
}

/* =========================================================
   Smart Pro Portal 2.8.1 — Admin Navigation, Compact Headers
   & Shared Search/Filter Foundation
   ========================================================= */

/* Override every legacy shared navigation rule after the full stylesheet.
   The nav box is centered when it fits and becomes safely scrollable only
   when the available width is genuinely smaller than its content. */
@media (min-width:721px) {
  .spp-root--admin .spp-nav--admin {
    grid-column:1 / -1!important;
    grid-row:2!important;
    justify-self:center!important;
    align-self:center!important;
    width:max-content!important;
    max-width:100%!important;
    justify-content:flex-start!important;
    margin-inline:auto!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
  }
}

@media (max-width:720px) {
  .spp-root--admin .spp-nav--admin {
    justify-self:stretch!important;
    width:100%!important;
    max-width:100%!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    padding-inline:0!important;
  }
}

/* Compact operational page headers. The large hero remains reserved for the
   Admin dashboard; list and settings views should reveal their work area fast. */
.spp-root--admin .spp-page-head--admin {
  min-height:0;
  margin:0 0 16px;
  padding:0;
  align-items:end;
  gap:18px;
}
.spp-root--admin .spp-page-head--admin .spp-eyebrow {
  margin-bottom:5px;
  font-size:10px;
  letter-spacing:1.15px;
}
.spp-root--admin .spp-page-head--admin h1 {
  margin:0;
  font-size:clamp(28px,2.65vw,42px);
  line-height:1.04;
}
.spp-root--admin .spp-page-head--admin .spp-lead {
  max-width:820px;
  margin-top:7px;
  font-size:14px;
  line-height:1.5;
}
.spp-root--admin .spp-page-head--admin .spp-page-head-actions {
  padding-bottom:2px;
}

/* Shared Admin search/filter toolbar. */
.spp-admin-filter-toolbar {
  display:flex;
  align-items:center;
  gap:10px;
  margin:14px 0 15px;
  padding:10px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:rgba(255,255,255,.022);
}
.spp-admin-search-field {
  flex:1 1 320px;
  min-width:180px;
}
.spp-admin-filter-field {
  flex:0 1 220px;
  min-width:170px;
}
.spp-admin-search-field input,
.spp-admin-filter-field select,
.spp-root--admin [data-spp-appointment-search] {
  width:100%;
  min-height:42px;
  margin:0;
  padding:9px 12px;
  color:var(--spp-text);
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:rgba(255,255,255,.035);
  outline:none;
}
.spp-admin-search-field input:focus,
.spp-admin-filter-field select:focus,
.spp-root--admin [data-spp-appointment-search]:focus {
  border-color:var(--spp-cyan);
  box-shadow:0 0 0 3px rgba(0,201,255,.12);
}
.spp-admin-filter-count {
  flex:0 0 auto;
  min-width:62px;
  color:var(--spp-muted);
  font-size:10px;
  font-weight:850;
  text-align:right;
  white-space:nowrap;
}
.spp-admin-filter-empty {
  margin-top:12px;
  padding:18px;
  color:var(--spp-muted);
  text-align:center;
  border:1px dashed var(--spp-line);
  border-radius:14px;
}
.spp-admin-list-shell {
  display:grid;
  gap:0;
}
.spp-root--admin .spp-appointments-history .spp-list-controls {
  align-items:center;
}
.spp-root--admin [data-spp-appointment-search] {
  flex:1 1 300px;
  min-width:220px;
}

.spp-root--admin[data-spp-theme="light"] .spp-admin-filter-toolbar {
  background:#edf3f8;
  border-color:rgba(32,61,86,.16);
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-search-field input,
.spp-root--admin[data-spp-theme="light"] .spp-admin-filter-field select,
.spp-root--admin[data-spp-theme="light"] [data-spp-appointment-search] {
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(32,61,86,.22)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-filter-empty {
  color:#587087;
  background:rgba(255,255,255,.55);
  border-color:rgba(32,61,86,.18);
}

@media (max-width:980px) {
  .spp-root--admin .spp-page-head--admin {
    grid-template-columns:1fr;
  }
  .spp-admin-filter-toolbar {
    flex-wrap:wrap;
  }
  .spp-admin-filter-count {
    margin-left:auto;
  }
}

@media (max-width:620px) {
  .spp-admin-search-field,
  .spp-admin-filter-field,
  .spp-root--admin [data-spp-appointment-search] {
    flex-basis:100%;
    min-width:100%;
  }
  .spp-admin-filter-count {
    width:100%;
    text-align:left;
  }
}

/* =========================================================
   Smart Pro Portal 2.8.2 — Admin QA, Light Mode & Identity Hardening
   ========================================================= */

/* The legacy topbar grid expected direct children. The current Portal uses a
   dedicated shell, so the outer sticky bar must not constrain that shell to
   the first legacy grid column. */
.spp-root--admin .spp-topbar,
.spp-root--customer .spp-topbar {
  display:block!important;
  width:100%!important;
  padding-left:0!important;
  padding-right:0!important;
}

.spp-root--admin .spp-topbar-shell {
  box-sizing:border-box;
  padding-left:clamp(18px,3vw,42px);
  padding-right:clamp(18px,3vw,42px);
}

/* Customer identity is a true two-line block. Long usernames and emails must
   never run into each other or push the action button outside the row. */
.spp-admin-identity {
  min-width:0;
}
.spp-admin-identity > div {
  min-width:0;
}
.spp-admin-identity strong,
.spp-admin-identity small {
  display:block!important;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-admin-identity small {
  margin-top:3px;
  color:var(--spp-muted);
  font-size:9px;
}
.spp-admin-data-row .spp-btn {
  justify-self:end;
  white-space:nowrap;
}

/* Let the browser render native dropdown menus in the correct theme. */
.spp-root--admin {
  color-scheme:dark;
}
.spp-root--admin[data-spp-theme="light"] {
  color-scheme:light;
}
.spp-root--admin select option,
.spp-root--admin select optgroup {
  color:#f8fafc;
  background:#0b1426;
}
.spp-root--admin[data-spp-theme="light"] select option,
.spp-root--admin[data-spp-theme="light"] select optgroup {
  color:#102033;
  background:#ffffff;
}

/* Complete Admin Light Mode surfaces and semantic contrast. */
.spp-root--admin[data-spp-theme="light"] {
  --spp-bg:#d4e0ea;
  --spp-panel:#ffffff;
  --spp-panel-2:#eef4f8;
  --spp-text:#102033;
  --spp-muted:#536a80;
  --spp-line:rgba(30,58,82,.20);
  --spp-cyan:#008fb8;
  --spp-cyan-soft:rgba(0,143,184,.10);
  --spp-shadow:0 18px 44px rgba(37,63,86,.14);
}

.spp-root--admin[data-spp-theme="light"] .spp-overview-strip article,
.spp-root--admin[data-spp-theme="light"] .spp-installation-fields > div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-mini-summary > div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-snapshot > div,
.spp-root--admin[data-spp-theme="light"] .spp-quick-action-list > a,
.spp-root--admin[data-spp-theme="light"] .spp-empty-inline,
.spp-root--admin[data-spp-theme="light"] .spp-profile-summary,
.spp-root--admin[data-spp-theme="light"] .spp-connection-settings,
.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-item,
.spp-root--admin[data-spp-theme="light"] .spp-days-remaining {
  color:#102033!important;
  background:#eef4f8!important;
  border-color:rgba(30,58,82,.18)!important;
  box-shadow:none!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-item--critical {
  background:linear-gradient(90deg,rgba(225,29,72,.09),#eef4f8)!important;
  border-color:rgba(225,29,72,.25)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-item--warning {
  background:linear-gradient(90deg,rgba(217,119,6,.10),#eef4f8)!important;
  border-color:rgba(217,119,6,.25)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-item--normal {
  background:linear-gradient(90deg,rgba(2,132,199,.08),#eef4f8)!important;
  border-color:rgba(2,132,199,.22)!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-admin-mini-kpi--success,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--active,
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--success {
  background:linear-gradient(145deg,rgba(5,150,105,.10),#fff)!important;
  border-color:rgba(5,150,105,.32)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-mini-kpi--warning,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--grace,
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--warning {
  background:linear-gradient(145deg,rgba(217,119,6,.11),#fff)!important;
  border-color:rgba(217,119,6,.32)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-mini-kpi--info,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--pending,
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--info {
  background:linear-gradient(145deg,rgba(2,132,199,.10),#fff)!important;
  border-color:rgba(2,132,199,.30)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--expired,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--suspended,
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--danger {
  background:linear-gradient(145deg,rgba(225,29,72,.09),#fff)!important;
  border-color:rgba(225,29,72,.30)!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--active strong {color:#047857!important;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--grace strong {color:#b45309!important;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--pending strong {color:#0369a1!important;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--expired strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--suspended strong {color:#be123c!important;}

.spp-root--admin[data-spp-theme="light"] .spp-status-badge--ok,
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--success {
  color:#047857!important;
  background:#dff7ed!important;
  border-color:#9bdcc5!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--info,
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--neutral {
  color:#075985!important;
  background:#e0f2fe!important;
  border-color:#a7d8f2!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--warning {
  color:#92400e!important;
  background:#fff3d6!important;
  border-color:#efd08b!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--danger,
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--critical {
  color:#9f1239!important;
  background:#ffe4e9!important;
  border-color:#f4a9b8!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-btn--primary {
  color:#001018!important;
  background:#16c7ee!important;
  border-color:#0aa8ca!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-btn--secondary {
  color:#075985!important;
  background:#e0f5fb!important;
  border-color:#9bd7e7!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-btn--ghost {
  color:#20384e!important;
  background:#f5f8fb!important;
  border-color:rgba(30,58,82,.22)!important;
}

.spp-root--admin[data-spp-theme="light"] input::placeholder,
.spp-root--admin[data-spp-theme="light"] textarea::placeholder {
  color:#71869a!important;
  opacity:1;
}
.spp-root--admin[data-spp-theme="light"] input:disabled,
.spp-root--admin[data-spp-theme="light"] input[readonly],
.spp-root--admin[data-spp-theme="light"] textarea:disabled,
.spp-root--admin[data-spp-theme="light"] select:disabled {
  color:#61768a!important;
  background:#e6edf3!important;
  -webkit-text-fill-color:#61768a!important;
  opacity:1!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-quick-form label > span,
.spp-root--admin[data-spp-theme="light"] .spp-installation-fields span,
.spp-root--admin[data-spp-theme="light"] .spp-installation-mini-summary span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-data-row > div > span {
  color:#526b82!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-installation-fields strong,
.spp-root--admin[data-spp-theme="light"] .spp-installation-mini-summary strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-data-row strong,
.spp-root--admin[data-spp-theme="light"] .spp-quick-action-list strong {
  color:#102033!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-drawer-panel {
  color:#102033;
  background:#f7fafc;
  border-left-color:rgba(30,58,82,.20);
}
.spp-root--admin[data-spp-theme="light"] .spp-drawer-head {
  background:rgba(247,250,252,.96);
  border-bottom-color:rgba(30,58,82,.16);
}
.spp-root--admin[data-spp-theme="light"] .spp-drawer-head > button,
.spp-root--admin[data-spp-theme="light"] .spp-icon-button {
  color:#102033;
  background:#fff;
  border-color:rgba(30,58,82,.20);
}

/* WordPress admin-bar heights: keep the sticky Portal header flush below it. */
@media screen and (max-width:782px) {
  body.admin-bar .spp-topbar {
    top:46px;
  }
}

@media (max-width:980px) {
  .spp-root--admin .spp-admin-data-row .spp-btn {
    justify-self:start;
  }
}

@media (max-width:720px) {
  .spp-root--admin .spp-topbar-shell {
    padding-left:14px;
    padding-right:14px;
  }
  .spp-admin-identity strong,
  .spp-admin-identity small {
    white-space:normal;
    overflow-wrap:anywhere;
  }
}



/* =========================================================
   Smart Pro Portal 2.8.3 — Admin Light Semantic Text & Header Flush
   ========================================================= */

/* The dedicated Portal page can inherit a small block gap from the active
   WordPress theme. JavaScript measures that real gap and writes a negative
   shift so the Admin header sits exactly below the WordPress admin bar. */
.spp-root--admin {
  margin-top:var(--spp-admin-top-shift,0px)!important;
}

/* Strong semantic contrast for the complete Admin Light canvas. These rules
   intentionally come after legacy !important typography from early prototype
   versions, so older dark-only declarations cannot wash out light-mode text. */
.spp-root--admin[data-spp-theme="light"] {
  --spp-admin-text-strong:#102033;
  --spp-admin-text-body:#2b4359;
  --spp-admin-text-muted:#5b7287;
  --spp-admin-surface:#ffffff;
  --spp-admin-surface-subtle:#eef4f8;
  --spp-admin-border:rgba(30,58,82,.20);
}

.spp-root--admin[data-spp-theme="light"] .spp-main h1,
.spp-root--admin[data-spp-theme="light"] .spp-main h2,
.spp-root--admin[data-spp-theme="light"] .spp-main h3,
.spp-root--admin[data-spp-theme="light"] .spp-dashboard-hero h1,
.spp-root--admin[data-spp-theme="light"] .spp-page-head h1,
.spp-root--admin[data-spp-theme="light"] .spp-card-head h2,
.spp-root--admin[data-spp-theme="light"] .spp-card-head h3,
.spp-root--admin[data-spp-theme="light"] .spp-empty-state h2 {
  color:var(--spp-admin-text-strong)!important;
  opacity:1!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-lead,
.spp-root--admin[data-spp-theme="light"] .spp-sub,
.spp-root--admin[data-spp-theme="light"] .spp-footer-note,
.spp-root--admin[data-spp-theme="light"] .spp-event p,
.spp-root--admin[data-spp-theme="light"] .spp-request p,
.spp-root--admin[data-spp-theme="light"] .spp-appointment p,
.spp-root--admin[data-spp-theme="light"] .spp-card > p,
.spp-root--admin[data-spp-theme="light"] .spp-admin-partner-teaser > p,
.spp-root--admin[data-spp-theme="light"] .spp-empty-state p {
  color:var(--spp-admin-text-muted)!important;
  opacity:1!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-system-state,
.spp-root--admin[data-spp-theme="light"] .spp-admin-all-clear,
.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-item,
.spp-root--admin[data-spp-theme="light"] .spp-quick-action-list > a,
.spp-root--admin[data-spp-theme="light"] .spp-activity-item,
.spp-root--admin[data-spp-theme="light"] .spp-installation-record,
.spp-root--admin[data-spp-theme="light"] .spp-admin-partner-principles > div,
.spp-root--admin[data-spp-theme="light"] .spp-admin-setting-facts > div {
  color:var(--spp-admin-text-strong)!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-kpi-content strong,
.spp-root--admin[data-spp-theme="light"] .spp-activity-item strong,
.spp-root--admin[data-spp-theme="light"] .spp-quick-action-list strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-copy strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-data-row strong,
.spp-root--admin[data-spp-theme="light"] .spp-installation-fields strong,
.spp-root--admin[data-spp-theme="light"] .spp-installation-mini-summary strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-partner-principles strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-setting-facts strong {
  color:var(--spp-admin-text-strong)!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-kpi-content small,
.spp-root--admin[data-spp-theme="light"] .spp-kpi-content em,
.spp-root--admin[data-spp-theme="light"] .spp-activity-item small,
.spp-root--admin[data-spp-theme="light"] .spp-activity-item time,
.spp-root--admin[data-spp-theme="light"] .spp-quick-action-list small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-copy small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-priority-meta small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-all-clear small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-data-row small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-partner-principles small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-setting-facts span,
.spp-root--admin[data-spp-theme="light"] .spp-installation-fields span,
.spp-root--admin[data-spp-theme="light"] .spp-installation-mini-summary span,
.spp-root--admin[data-spp-theme="light"] .spp-overview-strip span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-filter-count {
  color:var(--spp-admin-text-muted)!important;
  opacity:1!important;
}

.spp-root--admin[data-spp-theme="light"] .spp-card,
.spp-root--admin[data-spp-theme="light"] .spp-installation-record,
.spp-root--admin[data-spp-theme="light"] .spp-activity-card,
.spp-root--admin[data-spp-theme="light"] .spp-quick-panel,
.spp-root--admin[data-spp-theme="light"] .spp-admin-partner-teaser,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-overview {
  border-color:var(--spp-admin-border)!important;
}

/* Keep semantic values expressive after the generic strong-text correction. */
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--active strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-active strong,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-inline-status--active {
  color:#047857!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--grace strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-grace strong,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-inline-status--grace {
  color:#a85408!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--pending strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-pending strong,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-inline-status--pending_activation {
  color:#0369a1!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--expired strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--suspended strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-expired strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-suspended strong,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-inline-status--expired,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-inline-status--suspended {
  color:#be123c!important;
}

/* Preserve branded cyan labels and links against the light operational canvas. */
.spp-root--admin[data-spp-theme="light"] .spp-eyebrow,
.spp-root--admin[data-spp-theme="light"] .spp-status-link,
.spp-root--admin[data-spp-theme="light"] .spp-kpi-arrow,
.spp-root--admin[data-spp-theme="light"] .spp-quick-action-list em {
  color:#007fa7!important;
}


/* =========================================================
   Smart Pro Portal 2.8.4 — Admin Visual & UX Completion Pass
   ========================================================= */

/* Portal-only page shell: hide any residual theme footer wrappers and keep the
   operational canvas continuous to the bottom of the viewport. */
body.smart-pro-portal-admin-page footer,
body.smart-pro-portal-admin-page #colophon,
body.smart-pro-portal-admin-page .site-footer,
body.smart-pro-portal-admin-page .site-primary-footer-wrap,
body.smart-pro-portal-admin-page .site-above-footer-wrap,
body.smart-pro-portal-admin-page .site-below-footer-wrap,
body.smart-pro-portal-admin-page .ast-builder-footer-grid-columns,
body.smart-pro-portal-admin-page .footer-widget-area {
  display:none!important;
}
body.smart-pro-portal-admin-page,
body.smart-pro-portal-admin-page #page,
body.smart-pro-portal-admin-page #content,
body.smart-pro-portal-admin-page .site-content,
body.smart-pro-portal-admin-page .site-main,
body.smart-pro-portal-admin-page article.page,
body.smart-pro-portal-admin-page .entry-content {
  background:#060b16!important;
}
.spp-root--admin {
  min-height:calc(100dvh - 32px)!important;
  display:flex;
  flex-direction:column;
}
.spp-root--admin .spp-main {flex:1 0 auto;}
.spp-root--admin .spp-footer-note {padding-bottom:8px;}

/* Shared one-line Admin header on wide desktop. Equal side tracks keep the
   navigation visually centred, matching the Customer Portal. */
.spp-root--admin .spp-user-greeting {display:none!important;}
@media (min-width:1321px) {
  .spp-root--admin .spp-topbar {min-height:84px!important;}
  .spp-root--admin .spp-topbar-shell {
    min-height:84px!important;
    display:grid!important;
    grid-template-columns:minmax(250px,1fr) auto minmax(250px,1fr)!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    gap:18px!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
  .spp-root--admin .spp-brand {grid-column:1!important;grid-row:1!important;justify-self:start!important;}
  .spp-root--admin .spp-nav--admin {
    grid-column:2!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
    width:max-content!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .spp-root--admin .spp-user {grid-column:3!important;grid-row:1!important;justify-self:end!important;}
}

/* Compact, safe two-row fallback before the single row becomes crowded. */
@media (min-width:721px) and (max-width:1320px) {
  .spp-root--admin .spp-topbar {min-height:112px!important;}
  .spp-root--admin .spp-topbar-shell {
    min-height:112px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:58px 42px!important;
    gap:0 18px!important;
    padding-top:8px!important;
    padding-bottom:7px!important;
  }
  .spp-root--admin .spp-nav--admin {
    grid-column:1 / -1!important;
    grid-row:2!important;
    justify-self:center!important;
    width:max-content!important;
    max-width:100%!important;
    padding:0!important;
    overflow-x:auto!important;
  }
}

/* Customer-style raised navigation treatment for the Admin role. */
.spp-root--admin .spp-nav--admin {gap:5px!important;}
.spp-root--admin .spp-nav--admin a {
  min-height:40px!important;
  padding:9px 12px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:transparent!important;
  box-shadow:none!important;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease!important;
}
.spp-root--admin .spp-nav--admin a:hover,
.spp-root--admin .spp-nav--admin a:focus-visible {
  transform:translateY(-1px);
  color:#fff!important;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.045))!important;
  border-color:rgba(255,255,255,.10)!important;
  box-shadow:0 7px 16px rgba(0,0,0,.18)!important;
}
.spp-root--admin .spp-nav--admin a.is-active {
  color:#fff!important;
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.065))!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.20),inset 0 -2px 0 var(--spp-cyan)!important;
}

/* Stronger but still restrained semantic signals on the five dashboard KPI. */
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card {
  border-width:1px!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16),inset 0 3px 0 rgba(125,211,252,.26)!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--success {
  border-color:rgba(52,211,153,.34)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16),inset 0 3px 0 rgba(52,211,153,.70)!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--warning {
  border-color:rgba(251,191,36,.38)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16),inset 0 3px 0 rgba(251,191,36,.76)!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--danger {
  border-color:rgba(251,113,133,.42)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16),inset 0 3px 0 rgba(251,113,133,.80)!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--info {
  border-color:rgba(56,189,248,.40)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16),inset 0 3px 0 rgba(56,189,248,.80)!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--success .spp-kpi-icon {background:rgba(52,211,153,.13)!important;}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--warning .spp-kpi-icon {background:rgba(251,191,36,.13)!important;}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--danger .spp-kpi-icon {background:rgba(251,113,133,.13)!important;}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--info .spp-kpi-icon {background:rgba(56,189,248,.14)!important;}

/* Sidebar subscription summary: full labels, larger-number-safe horizontal rows. */
.spp-admin-subscription-summary-grid {
  grid-template-columns:1fr!important;
  gap:6px!important;
  margin:14px 0 16px!important;
}
.spp-admin-subscription-summary-grid > div {
  min-height:34px;
  padding:7px 10px!important;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left!important;
}
.spp-admin-subscription-summary-grid span {
  min-width:0;
  font-size:9px!important;
  line-height:1.25;
  letter-spacing:.42px!important;
  white-space:normal;
}
.spp-admin-subscription-summary-grid strong {
  flex:0 0 auto;
  margin:0!important;
  font-size:17px!important;
  font-variant-numeric:tabular-nums;
}

/* Admin request centre — compact accordion cards with primary actions visible. */
.spp-request-record--admin {
  padding:0!important;
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.spp-request-record--admin:not(.is-collapsed) {
  border-color:rgba(0,212,255,.26)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.18)!important;
}
.spp-request-compact-bar {
  display:flex;
  align-items:stretch;
  gap:8px;
  min-width:0;
}
.spp-request-card-toggle {
  appearance:none;
  flex:1 1 auto;
  min-width:0;
  display:grid;
  grid-template-columns:20px minmax(210px,1.05fr) minmax(220px,.95fr) auto;
  align-items:center;
  gap:14px;
  padding:17px 8px 17px 20px;
  color:var(--spp-text);
  text-align:left;
  background:transparent;
  border:0;
  cursor:pointer;
}
.spp-request-card-toggle:hover {background:rgba(0,212,255,.025);}
.spp-request-card-toggle:focus-visible {outline:2px solid rgba(0,212,255,.70);outline-offset:-3px;}
.spp-request-toggle-icon {
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  color:var(--spp-cyan)!important;
  font-size:22px;
  font-weight:900;
  transition:transform .18s ease;
}
.spp-request-record--admin:not(.is-collapsed) .spp-request-toggle-icon {transform:rotate(90deg);}
.spp-request-compact-identity,
.spp-request-compact-update {display:block;min-width:0;}
.spp-request-compact-identity > strong,
.spp-request-compact-identity > small,
.spp-request-compact-update > strong,
.spp-request-compact-update > small {display:block;}
.spp-request-compact-identity > strong {
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:16px;
  line-height:1.25;
}
.spp-request-compact-identity > small,
.spp-request-compact-update > small {
  color:var(--spp-muted)!important;
  font-size:9px;
  font-weight:800;
  letter-spacing:.55px;
  text-transform:uppercase;
}
.spp-request-compact-identity > small {margin-top:4px;text-transform:none;letter-spacing:0;font-weight:600;}
.spp-request-compact-update > strong {
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--spp-text)!important;
  font-size:12px;
  font-weight:700;
}
.spp-request-card-toggle .spp-request-badges {justify-content:flex-end;align-items:center;}
.spp-request-compact-actions {
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 18px 12px 6px;
}
.spp-request-compact-actions .spp-btn {min-height:38px!important;padding:9px 12px!important;font-size:12px!important;}
.spp-request-collapsible {
  padding:0 20px 20px 54px;
  border-top:1px solid var(--spp-line);
}
.spp-request-collapsible[hidden] {display:none!important;}
.spp-request-collapsible .spp-request-message {margin-top:18px;}
.spp-request-collapsible .spp-request-meta {margin-top:4px;}

@media (max-width:1180px) {
  .spp-request-compact-bar {display:block;}
  .spp-request-card-toggle {grid-template-columns:20px minmax(200px,1fr) minmax(180px,.8fr) auto;padding-right:20px;}
  .spp-request-compact-actions {justify-content:flex-end;padding:0 20px 14px 54px;}
}
@media (max-width:820px) {
  .spp-request-card-toggle {grid-template-columns:20px minmax(0,1fr) auto;}
  .spp-request-compact-update {display:none;}
  .spp-request-collapsible {padding-left:20px;}
}
@media (max-width:620px) {
  .spp-request-card-toggle {grid-template-columns:20px minmax(0,1fr);align-items:start;}
  .spp-request-card-toggle .spp-request-badges {grid-column:2;justify-content:flex-start;}
  .spp-request-compact-actions {padding-left:20px;justify-content:stretch;flex-direction:column;}
  .spp-request-compact-actions .spp-btn {width:100%;}
}

/* Light-mode request accordion surfaces and status copy remain readable. */
.spp-root--admin[data-spp-theme="light"] .spp-request-card-toggle,
.spp-root--admin[data-spp-theme="light"] .spp-request-compact-identity > strong,
.spp-root--admin[data-spp-theme="light"] .spp-request-compact-update > strong {
  color:var(--spp-admin-text-strong)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-request-record--admin:not(.is-collapsed) {
  border-color:rgba(0,127,167,.30)!important;
}

/* =========================================================
   Smart Pro Portal 2.8.5 — Customer Support Accordion & Shell Polish
   ========================================================= */

/* Customer request history now follows the same compact, one-open-at-a-time
   interaction model as the Admin centre, while keeping customer-only actions. */
.spp-root--customer .spp-request-record--customer {
  padding:0!important;
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.spp-root--customer .spp-request-record--customer:not(.is-collapsed) {
  border-color:var(--spp-line-strong)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.18)!important;
}
.spp-root--customer .spp-request-record--customer:not(.is-collapsed) .spp-request-toggle-icon {
  transform:rotate(90deg);
}
.spp-root--customer .spp-request-compact-bar--customer .spp-request-card-toggle {
  grid-template-columns:20px minmax(200px,1fr) minmax(220px,.9fr) auto;
}
.spp-root--customer .spp-request-compact-actions--customer {
  padding-right:18px;
}
.spp-root--customer .spp-request-compact-actions--customer .spp-btn {
  white-space:nowrap;
}
.spp-root--customer .spp-request-record--customer .spp-request-message,
.spp-root--customer .spp-request-record--customer .spp-request-admin-note,
.spp-root--customer .spp-request-record--customer .spp-request-meta,
.spp-root--customer .spp-request-record--customer .spp-request-timeline > summary,
.spp-root--customer .spp-request-record--customer .spp-request-timeline-head strong,
.spp-root--customer .spp-request-record--customer .spp-request-timeline-item p {
  color:var(--spp-text)!important;
}
.spp-root--customer .spp-request-record--customer .spp-request-meta,
.spp-root--customer .spp-request-record--customer .spp-request-timeline > summary span,
.spp-root--customer .spp-request-record--customer .spp-request-timeline-head time,
.spp-root--customer .spp-request-record--customer .spp-request-timeline-item small {
  color:var(--spp-muted)!important;
}
.spp-root--customer .spp-request-record--customer .spp-request-timeline {
  background:color-mix(in srgb,var(--spp-field) 76%,transparent);
  border-color:var(--spp-line);
}
.spp-root--customer .spp-request-record--customer .spp-request-admin-note {
  background:var(--spp-cyan-soft);
  border-color:var(--spp-line-strong);
}

/* Light-mode request details use semantic customer tokens instead of legacy
   hard-coded pale text and grey surfaces. */
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-collapsible {
  color:#102033!important;
  background:#ffffff!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-card-toggle,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-compact-identity > strong,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-compact-update > strong,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-message,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-admin-note,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-timeline > summary,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-timeline-head strong,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-timeline-item p {
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-compact-identity > small,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-compact-update > small,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-meta,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-timeline > summary span,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-timeline-head time,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-timeline-item small {
  color:#5c6d80!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-timeline {
  background:#eef4f8!important;
  border-color:rgba(32,61,86,.20)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer .spp-request-admin-note {
  background:#e8f7fb!important;
  border-color:rgba(0,143,181,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer:not(.is-collapsed) {
  border-color:rgba(0,143,181,.30)!important;
  box-shadow:0 18px 46px rgba(37,63,86,.13)!important;
}

/* Remove only the empty Astra above-footer spacer on Customer Portal pages.
   The public customer footer itself remains fully visible and unchanged. */
body.smart-pro-portal-customer-page .site-above-footer-wrap,
body.smart-pro-portal-customer-page .ast-builder-grid-row-container.site-above-footer-wrap,
body.smart-pro-portal-customer-page [data-section="section-fb-above-footer"] {
  display:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}
body.smart-pro-portal-customer-page .site-primary-footer-wrap,
body.smart-pro-portal-customer-page footer {
  margin-top:0!important;
}

@media (max-width:1180px) {
  .spp-root--customer .spp-request-compact-bar--customer .spp-request-card-toggle {
    grid-template-columns:20px minmax(190px,1fr) minmax(180px,.8fr) auto;
  }
}
@media (max-width:820px) {
  .spp-root--customer .spp-request-compact-bar--customer .spp-request-card-toggle {
    grid-template-columns:20px minmax(0,1fr) auto;
  }
}
@media (max-width:620px) {
  .spp-root--customer .spp-request-compact-bar--customer .spp-request-card-toggle {
    grid-template-columns:20px minmax(0,1fr);
  }
  .spp-root--customer .spp-request-compact-actions--customer {
    padding-right:20px;
  }
}

/* =========================================================
   Smart Pro Portal 2.8.6 — Request Guard & Workflow Validation
   ========================================================= */

.spp-request-guard-notice {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.spp-request-guard-notice .spp-btn {flex:0 0 auto;}

.spp-request-validation {
  padding:10px 12px;
  border:1px solid rgba(245,158,11,.34);
  border-radius:11px;
  color:#ffd28a;
  background:rgba(245,158,11,.09);
  font-size:12px;
  font-weight:700;
  line-height:1.45;
}
.spp-root--admin[data-spp-theme="light"] .spp-request-validation {
  color:#7a4300;
  background:#fff5df;
  border-color:rgba(185,105,0,.28);
}

.spp-customer-request-update-form {
  display:grid;
  gap:13px;
}
.spp-customer-request-update-form label {
  display:grid;
  gap:7px;
}
.spp-customer-request-update-form label > span {
  color:var(--spp-muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.spp-customer-request-update-form textarea {
  width:100%;
  padding:12px 13px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  color:var(--spp-text);
  background:var(--spp-field);
  line-height:1.55;
  resize:vertical;
}

/* Neutral expanded customer header: clear state without the heavy full-blue fill. */
.spp-root--customer .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle,
.spp-root--customer .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:hover,
.spp-root--customer .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:focus,
.spp-root--customer .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:active {
  color:var(--spp-text)!important;
  background:var(--spp-field)!important;
  background:color-mix(in srgb,var(--spp-cyan-soft) 62%,var(--spp-field))!important;
  box-shadow:inset 4px 0 0 var(--spp-cyan)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:hover,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:focus,
.spp-root--customer[data-spp-theme="light"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:active {
  color:#102033!important;
  background:#e8f4f8!important;
  box-shadow:inset 4px 0 0 #1596b8!important;
}

/* Customer success confirmation must read as a real completed action in Light Mode. */
.spp-root--customer[data-spp-theme="light"] .spp-notice--success {
  color:#075f43!important;
  background:#d9f4e8!important;
  border:1px solid rgba(7,125,85,.34)!important;
  box-shadow:0 8px 22px rgba(20,110,78,.10)!important;
  font-weight:700;
}
.spp-root--customer[data-spp-theme="light"] .spp-notice--info.spp-request-guard-notice {
  color:#0d4e68!important;
  background:#e0f2f8!important;
  border:1px solid rgba(0,127,165,.30)!important;
}

@media (max-width:620px) {
  .spp-request-guard-notice {align-items:stretch;flex-direction:column;}
  .spp-request-guard-notice .spp-btn {width:100%;}
}



/* Smart Pro Portal 2.9.0 — Account Security Foundation */
.spp-auth-card{max-width:760px}.spp-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 22px;padding:5px;border:1px solid var(--spp-line);border-radius:15px;background:rgba(15,29,48,.45)}.spp-auth-tabs a{padding:11px 14px;border-radius:11px;color:var(--spp-muted);font-weight:800;text-align:center;text-decoration:none}.spp-auth-tabs a.is-active{background:linear-gradient(180deg,rgba(37,211,244,.23),rgba(18,158,191,.13));box-shadow:inset 0 1px rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.16);color:var(--spp-text)}.spp-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.spp-login-form input[type="email"]{width:100%;border:1px solid var(--spp-line);border-radius:12px;background:rgba(4,13,25,.68);color:var(--spp-text);padding:13px 14px;outline:none}.spp-login-form input[type="email"]:focus{border-color:rgba(25,204,244,.75);box-shadow:0 0 0 3px rgba(25,204,244,.12)}.spp-password-hint{display:block;margin:-5px 0 4px;color:var(--spp-muted);font-size:12px}.spp-terms{align-items:flex-start!important}.spp-terms a{color:#67e8f9}.spp-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.spp-auth-links{display:grid;gap:12px;margin-top:14px}.spp-auth-links details{border-top:1px solid var(--spp-line);padding-top:12px}.spp-auth-links summary{cursor:pointer;color:var(--spp-muted);font-size:13px}.spp-auth-links details form{display:flex;gap:8px;margin-top:10px}.spp-auth-links details input{min-width:0;flex:1;border:1px solid var(--spp-line);border-radius:11px;background:rgba(4,13,25,.68);color:var(--spp-text);padding:11px 12px}.spp-security-card{max-width:880px}.spp-security-card--challenge{max-width:590px}.spp-security-setup-grid{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:center;margin:22px 0}.spp-qr-shell{display:grid;place-items:center;min-height:250px;padding:18px;border-radius:20px;background:#fff;border:1px solid rgba(148,163,184,.36);box-shadow:0 16px 34px rgba(0,0,0,.22)}.spp-qr-shell svg{display:block;width:220px;height:220px}.spp-security-steps{display:grid;gap:14px}.spp-security-steps ol{display:grid;gap:9px;margin:0;padding-left:22px;color:var(--spp-muted)}.spp-secret-row{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(3,12,23,.48)}.spp-secret-row code{flex:1;min-width:0;overflow-wrap:anywhere;color:#a5f3fc;font-size:13px;letter-spacing:.08em}.spp-security-steps small{color:var(--spp-muted)}.spp-recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.spp-recovery-codes code{padding:12px;border:1px dashed rgba(34,211,238,.38);border-radius:12px;background:rgba(3,12,23,.48);color:#a5f3fc;text-align:center;letter-spacing:.08em}.spp-root[data-spp-theme="light"] .spp-auth-tabs{background:#e8eef5}.spp-root[data-spp-theme="light"] .spp-login-form input[type="email"],.spp-root[data-spp-theme="light"] .spp-auth-links details input{background:#fff;color:#172033}.spp-root[data-spp-theme="light"] .spp-secret-row,.spp-root[data-spp-theme="light"] .spp-recovery-codes code{background:#f3f7fb}.spp-root[data-spp-theme="light"] .spp-secret-row code,.spp-root[data-spp-theme="light"] .spp-recovery-codes code{color:#086d82}@media(max-width:720px){.spp-auth-grid,.spp-security-setup-grid,.spp-recovery-codes{grid-template-columns:1fr}.spp-security-setup-grid{gap:16px}.spp-qr-shell{min-height:230px}.spp-auth-links details form{display:grid}.spp-auth-tabs a{padding-inline:8px;font-size:12px}}


/* =========================================================
   Smart Pro Portal 2.9.1 — Customer Onboarding & Secure Access
   ========================================================= */
.spp-root--auth{
  --spp-auth-canvas:#07111f;
  --spp-auth-surface:#0e1b2e;
  --spp-auth-surface-2:#122139;
  --spp-auth-line:rgba(148,163,184,.18);
  min-height:100vh;
  color:var(--spp-text);
  background:
    radial-gradient(circle at 11% 8%,rgba(0,212,255,.12),transparent 26rem),
    radial-gradient(circle at 92% 92%,rgba(37,99,235,.10),transparent 32rem),
    var(--spp-auth-canvas);
}
.spp-root--auth[data-spp-theme="light"]{
  --spp-auth-canvas:#e8f0f6;
  --spp-auth-surface:#ffffff;
  --spp-auth-surface-2:#f2f7fb;
  --spp-auth-line:rgba(31,63,86,.16);
  color:#102033;
  background:
    radial-gradient(circle at 5% 0%,rgba(0,184,220,.12),transparent 28rem),
    radial-gradient(circle at 95% 100%,rgba(59,130,246,.10),transparent 34rem),
    var(--spp-auth-canvas);
}
.spp-auth-page{width:min(1380px,100%);min-height:100vh;margin:0 auto;padding:24px clamp(18px,3vw,44px) 20px;display:grid;grid-template-rows:auto 1fr auto;gap:24px;}
.spp-auth-public-header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:10px 2px;}
.spp-auth-brand{display:flex;align-items:center;gap:13px;color:var(--spp-text)!important;text-decoration:none!important;font-size:15px;font-weight:950;letter-spacing:.055em;line-height:1.05;}
.spp-auth-brand b{color:var(--spp-cyan);}.spp-auth-brand small{display:block;margin-top:5px;color:var(--spp-muted);font-size:9px;letter-spacing:.17em;}
.spp-auth-brand-mark,.spp-auth-panel-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;color:#00131c;background:linear-gradient(145deg,#7eeeff,#00bfe8);font-weight:1000;box-shadow:0 15px 36px rgba(0,190,231,.20);}
.spp-auth-header-actions{display:flex;align-items:center;gap:12px;}.spp-auth-header-actions>a{padding:10px 13px;border:1px solid var(--spp-auth-line);border-radius:11px;color:var(--spp-muted)!important;font-size:12px;font-weight:800;text-decoration:none!important;}
.spp-auth-layout{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(520px,1.18fr);align-items:stretch;min-height:650px;border:1px solid var(--spp-auth-line);border-radius:30px;overflow:hidden;box-shadow:0 34px 90px rgba(0,0,0,.27);}
.spp-root--auth[data-spp-theme="light"] .spp-auth-layout{box-shadow:0 28px 70px rgba(52,76,96,.16);}
.spp-auth-intro{position:relative;padding:clamp(36px,5vw,72px);background:linear-gradient(155deg,rgba(9,31,51,.98),rgba(9,22,39,.99));overflow:hidden;}
.spp-auth-intro:after{content:"";position:absolute;width:340px;height:340px;right:-170px;bottom:-175px;border-radius:50%;background:rgba(0,212,255,.10);filter:blur(2px);}
.spp-root--auth[data-spp-theme="light"] .spp-auth-intro{background:linear-gradient(155deg,#0b2137,#0b1829);}
.spp-auth-intro h1{position:relative;z-index:1;margin:10px 0 16px;color:#f8fafc;font-size:clamp(34px,4vw,58px);line-height:1.02;letter-spacing:-.035em;}.spp-auth-intro>p{position:relative;z-index:1;margin:0;max-width:600px;color:#b8c7d9;font-size:16px;line-height:1.7;}
.spp-auth-security-list{position:relative;z-index:1;display:grid;gap:12px;margin-top:34px;}.spp-auth-security-list>div{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;padding:14px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:rgba(255,255,255,.035);}.spp-auth-security-list>div>span{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:#00131c;background:#5ce5ff;font-weight:950;}.spp-auth-security-list strong{display:block;color:#f8fafc;font-size:14px;}.spp-auth-security-list small{display:block;margin-top:4px;color:#9fb1c6;font-size:12px;line-height:1.5;}
.spp-auth-trust-note{position:relative;z-index:1;margin-top:25px;padding:17px;border:1px solid rgba(52,211,153,.20);border-radius:17px;background:rgba(16,185,129,.07);}.spp-auth-trust-note strong{color:#a7f3d0;}.spp-auth-trust-note p{margin:7px 0 0;color:#b8c7d9;font-size:12px;line-height:1.55;}
.spp-auth-form-panel{padding:clamp(32px,5vw,68px);background:var(--spp-auth-surface);color:var(--spp-text);}.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel{color:#102033;}
.spp-auth-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px;}.spp-auth-panel-mark{width:48px;height:48px;border-radius:15px;}.spp-auth-step-badge{padding:8px 11px;border:1px solid rgba(0,190,231,.28);border-radius:999px;color:var(--spp-cyan);background:rgba(0,190,231,.08);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
.spp-auth-copy{margin-bottom:22px;}.spp-auth-copy h2{margin:7px 0 10px;color:var(--spp-text);font-size:clamp(29px,3.4vw,44px);line-height:1.08;letter-spacing:-.025em;}.spp-root--auth[data-spp-theme="light"] .spp-auth-copy h2{color:#102033;}.spp-auth-copy p{margin:0;color:var(--spp-muted);font-size:14px;line-height:1.65;}.spp-auth-copy--center{text-align:center;}.spp-auth-copy--center p{max-width:580px;margin-inline:auto;}
.spp-auth-tabs{width:min(440px,100%);margin:0 0 0 auto!important;}.spp-auth-tabs a{min-height:44px;display:grid;place-items:center;}
.spp-auth-mandatory{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;margin-bottom:20px;padding:14px 15px;border:1px solid rgba(245,158,11,.28);border-radius:15px;background:rgba(245,158,11,.08);}.spp-auth-mandatory>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#4c2c00;background:#fcd34d;font-weight:1000;}.spp-auth-mandatory strong{display:block;color:var(--spp-text);font-size:13px;}.spp-auth-mandatory small{display:block;margin-top:4px;color:var(--spp-muted);font-size:12px;line-height:1.5;}
.spp-auth-form-panel .spp-login-form input[type="text"],.spp-auth-form-panel .spp-login-form input[type="email"],.spp-auth-form-panel .spp-login-form input[type="password"]{min-height:52px;background:var(--spp-auth-surface-2)!important;color:var(--spp-text)!important;border-color:var(--spp-auth-line)!important;}.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel .spp-login-form input{color:#102033!important;}.spp-auth-form-panel .spp-login-form input:focus{border-color:rgba(0,190,231,.72)!important;box-shadow:0 0 0 4px rgba(0,190,231,.11)!important;}
.spp-auth-actions-stacked{display:grid;gap:15px;}.spp-auth-actions-stacked details{padding:14px;border:1px solid var(--spp-auth-line);border-radius:14px;background:var(--spp-auth-surface-2);}.spp-auth-actions-stacked summary{cursor:pointer;color:var(--spp-muted);font-size:13px;font-weight:800;}.spp-auth-actions-stacked details form{display:grid;gap:11px;margin-top:14px;}.spp-auth-actions-stacked label{display:grid;gap:7px;}.spp-auth-actions-stacked input{width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--spp-auth-line);border-radius:11px;background:var(--spp-auth-surface);color:var(--spp-text);}
.spp-auth-state-icon{display:grid;place-items:center;width:78px;height:78px;margin:6px auto 22px;border-radius:25px;color:#075985;background:#cffafe;font-size:34px;font-weight:1000;box-shadow:0 16px 35px rgba(0,190,231,.14);}.spp-auth-state-icon--success{color:#065f46;background:#d1fae5;}.spp-auth-state-icon--error{color:#9f1239;background:#ffe4e6;}
.spp-auth-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 3px;color:var(--spp-muted);font-size:11px;}.spp-auth-footer a{color:var(--spp-cyan)!important;font-weight:800;text-decoration:none!important;}
.spp-root--auth .spp-security-setup-grid{grid-template-columns:minmax(220px,270px) 1fr;}.spp-root--auth .spp-qr-shell{box-shadow:0 18px 42px rgba(0,0,0,.18);}.spp-root--auth .spp-recovery-codes code{background:var(--spp-auth-surface-2);}
.spp-customer-onboarding-empty .spp-onboarding-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;}.spp-onboarding-checks>div{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:14px;border:1px solid var(--spp-line);border-radius:15px;background:var(--spp-field);}.spp-onboarding-checks>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--spp-cyan-soft);color:var(--spp-cyan);font-weight:950;}.spp-onboarding-checks>div.is-complete>span{color:#065f46;background:#d1fae5;}.spp-onboarding-checks strong{display:block;font-size:13px;}.spp-onboarding-checks small{display:block;margin-top:4px;color:var(--spp-muted);font-size:11px;line-height:1.45;}

/* Browser autofill must preserve the active Portal theme. */
.spp-root input:-webkit-autofill,.spp-root input:-webkit-autofill:hover,.spp-root input:-webkit-autofill:focus,.spp-root input:-webkit-autofill:active{
  -webkit-text-fill-color:var(--spp-text)!important;
  caret-color:var(--spp-text)!important;
  -webkit-box-shadow:0 0 0 1000px var(--spp-field) inset!important;
  box-shadow:0 0 0 1000px var(--spp-field) inset!important;
  border-color:var(--spp-line)!important;
  transition:background-color 9999s ease-out 0s!important;
}
.spp-root--auth input:-webkit-autofill,.spp-root--auth input:-webkit-autofill:hover,.spp-root--auth input:-webkit-autofill:focus,.spp-root--auth input:-webkit-autofill:active{
  -webkit-text-fill-color:var(--spp-text)!important;
  caret-color:var(--spp-text)!important;
  -webkit-box-shadow:0 0 0 1000px var(--spp-auth-surface-2) inset!important;
  box-shadow:0 0 0 1000px var(--spp-auth-surface-2) inset!important;
}
.spp-root[data-spp-theme="light"] input:-webkit-autofill,.spp-root[data-spp-theme="light"] input:-webkit-autofill:hover,.spp-root[data-spp-theme="light"] input:-webkit-autofill:focus,.spp-root[data-spp-theme="light"] input:-webkit-autofill:active{-webkit-text-fill-color:#102033!important;caret-color:#102033!important;}
.spp-root input:autofill{color:var(--spp-text)!important;background:var(--spp-field)!important;}

@media(max-width:980px){.spp-auth-layout{grid-template-columns:1fr;}.spp-auth-intro{padding:38px;}.spp-auth-security-list{grid-template-columns:repeat(3,minmax(0,1fr));}.spp-auth-security-list>div{grid-template-columns:1fr;}.spp-auth-trust-note{display:none;}.spp-customer-onboarding-empty .spp-onboarding-checks{grid-template-columns:1fr;}}
@media(max-width:720px){.spp-auth-page{padding:14px;gap:14px;}.spp-auth-public-header{align-items:flex-start;}.spp-auth-header-actions>a{display:none;}.spp-auth-layout{border-radius:22px;}.spp-auth-intro{padding:28px 23px;}.spp-auth-intro h1{font-size:34px;}.spp-auth-intro>p{font-size:14px;}.spp-auth-security-list{grid-template-columns:1fr;gap:9px;margin-top:23px;}.spp-auth-security-list>div{grid-template-columns:36px 1fr;padding:11px;}.spp-auth-form-panel{padding:28px 21px;}.spp-auth-panel-head{align-items:flex-start;flex-direction:column;}.spp-auth-tabs{width:100%;margin:0!important;}.spp-auth-footer{align-items:flex-start;flex-direction:column;}.spp-root--auth .spp-security-setup-grid{grid-template-columns:1fr;}}
@media(max-width:480px){.spp-auth-brand{font-size:12px;}.spp-auth-brand-mark{width:44px;height:44px;border-radius:14px;}.spp-auth-intro{display:none;}.spp-auth-layout{min-height:0;}.spp-auth-form-panel{padding:24px 17px;}.spp-auth-copy h2{font-size:31px;}.spp-auth-page{grid-template-rows:auto auto auto;}.spp-auth-grid{grid-template-columns:1fr;}}


/* =========================================================
   Smart Pro Portal 2.9.2 — Access Theme Preferences & Contrast
   ========================================================= */
.spp-root--auth[data-spp-theme="dark"]{color-scheme:dark;}
.spp-root--auth[data-spp-theme="light"]{color-scheme:light;}
.spp-auth-theme-control{display:flex;align-items:center;gap:9px;}
.spp-auth-theme-label{color:var(--spp-muted);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.spp-auth-theme-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--spp-auth-line);border-radius:14px;background:var(--spp-auth-surface-2);box-shadow:inset 0 1px rgba(255,255,255,.05);}
.spp-auth-theme-picker button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--spp-muted);font:inherit;font-size:11px;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;}
.spp-auth-theme-picker button b{font-size:11px;font-weight:900;}
.spp-auth-theme-picker button:hover,.spp-auth-theme-picker button:focus-visible{color:var(--spp-text);border-color:rgba(0,190,231,.28);outline:none;}
.spp-auth-theme-picker button[aria-checked="true"]{color:#062033;background:linear-gradient(180deg,#d9f7ff,#9fe6f5);border-color:rgba(0,158,191,.34);box-shadow:0 6px 15px rgba(0,157,191,.16),inset 0 1px #fff;transform:translateY(-1px);}
.spp-root--auth[data-spp-theme="dark"] .spp-auth-theme-picker button[aria-checked="true"]{color:#f8fafc;background:linear-gradient(180deg,rgba(25,204,244,.25),rgba(16,117,147,.25));border-color:rgba(76,220,248,.40);box-shadow:0 7px 17px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.10);}

/* Explicit Light Mode typography and controls: no pale inherited text. */
.spp-root--auth[data-spp-theme="light"] .spp-auth-brand,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel h1,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel h2,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel h3,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel strong,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel label,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel label>span,
.spp-root--auth[data-spp-theme="light"] .spp-auth-mandatory strong{color:#102033!important;}
.spp-root--auth[data-spp-theme="light"] .spp-auth-copy p,
.spp-root--auth[data-spp-theme="light"] .spp-password-hint,
.spp-root--auth[data-spp-theme="light"] .spp-login-note,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked summary,
.spp-root--auth[data-spp-theme="light"] .spp-auth-footer,
.spp-root--auth[data-spp-theme="light"] .spp-auth-theme-label,
.spp-root--auth[data-spp-theme="light"] .spp-remember span{color:#526b82!important;}
.spp-root--auth[data-spp-theme="light"] .spp-eyebrow{color:#087ea0!important;}
.spp-root--auth[data-spp-theme="light"] .spp-auth-tabs a{color:#526b82!important;}
.spp-root--auth[data-spp-theme="light"] .spp-auth-tabs a.is-active{color:#102033!important;background:linear-gradient(180deg,#dff6fc,#c7e8f2)!important;border:1px solid rgba(16,122,151,.18);}
.spp-root--auth[data-spp-theme="light"] .spp-auth-mandatory small{color:#5f7184!important;}
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel .spp-login-form input,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input{background:#f2f7fb!important;color:#102033!important;border-color:rgba(31,63,86,.22)!important;caret-color:#102033!important;}
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input::placeholder,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input::placeholder{color:#7b8ea2!important;opacity:1;}
.spp-root--auth[data-spp-theme="light"] .spp-terms a,
.spp-root--auth[data-spp-theme="light"] .spp-forgot-link{color:#087ea0!important;}
.spp-root--auth[data-spp-theme="light"] input:-moz-autofill{color:#102033!important;box-shadow:0 0 0 1000px #f2f7fb inset!important;}

@media(max-width:840px){
  .spp-auth-public-header{align-items:center;}
  .spp-auth-theme-label{display:none;}
}
@media(max-width:620px){
  .spp-auth-public-header{gap:10px;}
  .spp-auth-header-actions{margin-left:auto;}
  .spp-auth-theme-picker button{padding-inline:8px;}
  .spp-auth-theme-picker button b{font-size:10px;}
}
@media(max-width:420px){
  .spp-auth-brand>span:last-child{display:none;}
  .spp-auth-theme-picker button{gap:3px;padding-inline:7px;}
  .spp-auth-theme-picker button b{font-size:9px;}
}

/* =========================================================
   Smart Pro Portal 2.9.3 — Visible Access Theme Selector
   Neutral containers prevent WordPress/theme rules for semantic header/footer
   elements from hiding the secure-access controls.
   ========================================================= */
.spp-root--auth .spp-auth-public-header{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:20!important;
  width:100%!important;
  height:auto!important;
  min-height:58px!important;
  max-height:none!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  transform:none!important;
  pointer-events:auto!important;
}
.spp-root--auth .spp-auth-header-actions,
.spp-root--auth .spp-auth-theme-control,
.spp-root--auth .spp-auth-theme-picker{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:21!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  pointer-events:auto!important;
}
.spp-root--auth .spp-auth-header-actions{align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;}
.spp-root--auth .spp-auth-theme-control{align-items:center!important;}
.spp-root--auth .spp-auth-theme-picker{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(76px,1fr))!important;
  width:min(330px,100%)!important;
  min-width:270px!important;
}
.spp-root--auth .spp-auth-theme-picker button{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.spp-root--auth .spp-auth-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  height:auto!important;
  overflow:visible!important;
}
@media(max-width:720px){
  .spp-root--auth .spp-auth-public-header{align-items:center!important;}
  .spp-root--auth .spp-auth-header-actions{width:auto!important;max-width:100%!important;}
  .spp-root--auth .spp-auth-theme-picker{min-width:250px!important;}
}
@media(max-width:560px){
  .spp-root--auth .spp-auth-public-header{gap:10px!important;}
  .spp-root--auth .spp-auth-brand>span:last-child{display:none!important;}
  .spp-root--auth .spp-auth-theme-picker{min-width:0!important;width:min(260px,calc(100vw - 92px))!important;}
  .spp-root--auth .spp-auth-theme-picker button{padding-inline:6px!important;gap:4px!important;}
  .spp-root--auth .spp-auth-theme-picker button b{font-size:9px!important;}
}
@media(max-width:390px){
  .spp-root--auth .spp-auth-theme-picker button b{display:none!important;}
  .spp-root--auth .spp-auth-theme-picker{width:150px!important;grid-template-columns:repeat(3,1fr)!important;}
  .spp-root--auth .spp-auth-theme-picker button{font-size:15px!important;min-height:36px!important;}
}


/* =========================================================
   Smart Pro Portal 2.9.4 — Onboarding UX & Security Polish
   ========================================================= */
.spp-auth-store-help{
  display:grid;
  gap:12px;
  margin:0 0 20px;
  padding:15px;
  border:1px solid rgba(0,190,231,.20);
  border-radius:16px;
  background:rgba(0,190,231,.055);
}
.spp-auth-store-copy{display:grid;gap:4px;}
.spp-auth-store-copy strong{color:var(--spp-text);font-size:13px;}
.spp-auth-store-copy small{color:var(--spp-muted);font-size:11px;line-height:1.5;}
.spp-auth-store-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.spp-auth-store-links a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:50px;
  padding:9px 12px;
  border:1px solid var(--spp-auth-line);
  border-radius:13px;
  background:var(--spp-auth-surface-2);
  color:var(--spp-text)!important;
  text-decoration:none!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04);
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.spp-auth-store-links a:hover,.spp-auth-store-links a:focus-visible{
  border-color:rgba(0,190,231,.46);
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.10),inset 0 1px rgba(255,255,255,.06);
  outline:none;
}
.spp-auth-store-links a>span{
  display:grid;
  place-items:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:10px;
  background:linear-gradient(145deg,#7eeeff,#18badd);
  color:#062033;
  font-size:13px;
  font-weight:1000;
}
.spp-auth-store-links b{display:grid;gap:1px;font-size:12px;line-height:1.2;}
.spp-auth-store-links b small{color:var(--spp-muted);font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;}
.spp-auth-store-help.is-compact{margin-top:-4px;}
.spp-auth-store-help.is-compact .spp-auth-store-copy small{font-size:10px;}

.spp-auth-recovery-view .spp-auth-copy h2{font-size:clamp(27px,3vw,39px);}
.spp-copy-status{min-height:20px;margin:-8px 0 8px;color:#6ee7b7;font-size:12px;font-weight:800;}
.spp-recovery-confirm{display:grid;gap:14px;}
.spp-recovery-confirm>label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:13px 14px;
  border:1px solid var(--spp-auth-line);
  border-radius:13px;
  background:var(--spp-auth-surface-2);
  color:var(--spp-text);
  font-size:12px;
  font-weight:800;
  line-height:1.45;
}
.spp-recovery-confirm>label input{margin-top:2px;accent-color:#18c4e6;}
.spp-recovery-confirm .spp-actions{display:flex;flex-wrap:wrap;gap:10px;}
.spp-recovery-confirm button[disabled]{opacity:.48;cursor:not-allowed;filter:saturate(.45);transform:none!important;}

/* Chromium/Safari autofill hardening for both explicit themes. */
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill:hover,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill:focus,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill:active,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill:hover,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill:focus,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill:active{
  -webkit-text-fill-color:#102033!important;
  caret-color:#102033!important;
  -webkit-box-shadow:0 0 0 1000px #f2f7fb inset!important;
  box-shadow:0 0 0 1000px #f2f7fb inset!important;
  border-color:rgba(31,63,86,.22)!important;
  background-color:#f2f7fb!important;
}
.spp-root--auth[data-spp-theme="dark"] .spp-auth-form-panel input:-webkit-autofill,
.spp-root--auth[data-spp-theme="dark"] .spp-auth-form-panel input:-webkit-autofill:hover,
.spp-root--auth[data-spp-theme="dark"] .spp-auth-form-panel input:-webkit-autofill:focus,
.spp-root--auth[data-spp-theme="dark"] .spp-auth-form-panel input:-webkit-autofill:active,
.spp-root--auth[data-spp-theme="dark"] .spp-auth-actions-stacked input:-webkit-autofill,
.spp-root--auth[data-spp-theme="dark"] .spp-auth-actions-stacked input:-webkit-autofill:hover,
.spp-root--auth[data-spp-theme="dark"] .spp-auth-actions-stacked input:-webkit-autofill:focus,
.spp-root--auth[data-spp-theme="dark"] .spp-auth-actions-stacked input:-webkit-autofill:active{
  -webkit-text-fill-color:#f8fafc!important;
  caret-color:#f8fafc!important;
  -webkit-box-shadow:0 0 0 1000px #122139 inset!important;
  box-shadow:0 0 0 1000px #122139 inset!important;
  border-color:rgba(148,163,184,.18)!important;
  background-color:#122139!important;
}
.spp-root--auth[data-spp-theme="dark"] input:-moz-autofill{color:#f8fafc!important;box-shadow:0 0 0 1000px #122139 inset!important;}

.spp-root--auth[data-spp-theme="light"] .spp-auth-store-help{background:#eef8fb;border-color:rgba(8,126,160,.18);}
.spp-root--auth[data-spp-theme="light"] .spp-auth-store-copy strong,
.spp-root--auth[data-spp-theme="light"] .spp-auth-store-links a,
.spp-root--auth[data-spp-theme="light"] .spp-recovery-confirm>label{color:#102033!important;}
.spp-root--auth[data-spp-theme="light"] .spp-auth-store-copy small,
.spp-root--auth[data-spp-theme="light"] .spp-auth-store-links b small{color:#526b82!important;}
.spp-root--auth[data-spp-theme="light"] .spp-auth-store-links a,
.spp-root--auth[data-spp-theme="light"] .spp-recovery-confirm>label{background:#f2f7fb;border-color:rgba(31,63,86,.17);}
.spp-root--auth[data-spp-theme="light"] .spp-copy-status{color:#047857;}

@media(max-width:720px){
  .spp-auth-store-links{grid-template-columns:1fr;}
  .spp-recovery-confirm .spp-actions{display:grid;}
}

/* =========================================================
   Smart Pro Portal 2.9.5 — Light Form Field Visibility Hotfix
   Legacy secure-login rules set -webkit-text-fill-color to white.
   In Light Mode that could leave typed text/password bullets invisible
   even when the normal CSS color was correctly dark.
   ========================================================= */
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel .spp-login-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]){
  color:#102033!important;
  -webkit-text-fill-color:#102033!important;
  caret-color:#102033!important;
  background:#f2f7fb!important;
  background-color:#f2f7fb!important;
  border-color:rgba(31,63,86,.22)!important;
  opacity:1!important;
  text-shadow:none!important;
}

.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel .spp-login-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"])::placeholder,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"])::placeholder{
  color:#71869a!important;
  -webkit-text-fill-color:#71869a!important;
  opacity:1!important;
}

.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel .spp-login-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):focus,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):focus{
  color:#102033!important;
  -webkit-text-fill-color:#102033!important;
  caret-color:#102033!important;
  border-color:rgba(0,158,191,.62)!important;
  box-shadow:0 0 0 4px rgba(0,158,191,.11)!important;
}

.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill:hover,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill:focus,
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-webkit-autofill:active,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill:hover,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill:focus,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-webkit-autofill:active{
  color:#102033!important;
  -webkit-text-fill-color:#102033!important;
  caret-color:#102033!important;
  -webkit-box-shadow:0 0 0 1000px #f2f7fb inset!important;
  box-shadow:0 0 0 1000px #f2f7fb inset!important;
  border-color:rgba(31,63,86,.22)!important;
  opacity:1!important;
  transition:background-color 9999s ease-out 0s!important;
}

.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:-moz-autofill,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:-moz-autofill{
  color:#102033!important;
  caret-color:#102033!important;
  box-shadow:0 0 0 1000px #f2f7fb inset!important;
}

.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input[readonly],
.spp-root--auth[data-spp-theme="light"] .spp-auth-form-panel input:disabled,
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input[readonly],
.spp-root--auth[data-spp-theme="light"] .spp-auth-actions-stacked input:disabled{
  color:#526b82!important;
  -webkit-text-fill-color:#526b82!important;
  caret-color:#526b82!important;
  background:#e8eef5!important;
  opacity:1!important;
}


/* =========================================================
   Smart Pro Portal 2.9.6 — Registration Password Guidance
   ========================================================= */
.spp-password-guide{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 12px;
  margin:-2px 0 7px;
  padding:12px 13px;
  border:1px solid var(--spp-auth-line);
  border-radius:13px;
  background:var(--spp-auth-surface-2);
}
.spp-password-guide span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--spp-muted);
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
.spp-password-guide span b{
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:50%;
  color:var(--spp-muted);
  background:rgba(148,163,184,.12);
  font-size:12px;
  line-height:1;
}
.spp-password-guide span.is-valid{color:#34d399;}
.spp-password-guide span.is-valid b{color:#064e3b;background:#a7f3d0;}
.spp-password-feedback{display:block;margin:-1px 0 8px;color:var(--spp-muted);font-size:12px;line-height:1.45;}
.spp-password-feedback.is-error{color:#fb7185;font-weight:700;}
.spp-password-feedback.is-valid{color:#34d399;font-weight:700;}
.spp-root--auth[data-spp-theme="light"] .spp-password-guide{background:#f6f9fc;border-color:rgba(31,63,86,.18);}
.spp-root--auth[data-spp-theme="light"] .spp-password-guide span{color:#526b82;}
.spp-root--auth[data-spp-theme="light"] .spp-password-guide span b{color:#526b82;background:#e4ebf2;}
.spp-root--auth[data-spp-theme="light"] .spp-password-guide span.is-valid{color:#047857;}
.spp-root--auth[data-spp-theme="light"] .spp-password-guide span.is-valid b{color:#065f46;background:#d1fae5;}
.spp-root--auth[data-spp-theme="light"] .spp-password-feedback{color:#526b82!important;}
.spp-root--auth[data-spp-theme="light"] .spp-password-feedback.is-error{color:#be123c!important;}
.spp-root--auth[data-spp-theme="light"] .spp-password-feedback.is-valid{color:#047857!important;}
.spp-root--auth[data-spp-theme="light"] .spp-notice--error{
  color:#9f1239!important;
  background:#fff1f2!important;
  border:1px solid #fda4af!important;
  box-shadow:0 8px 22px rgba(159,18,57,.08);
  font-weight:750;
}
@media(max-width:620px){
  .spp-password-guide{grid-template-columns:1fr;}
}


/* =========================================================
   Smart Pro Portal 2.9.7 — Password Visibility & Reset Parity
   ========================================================= */
.spp-root--auth .spp-password-input-wrap{
  position:relative;
  display:block;
  width:100%;
}
.spp-root--auth .spp-password-input-wrap>input{
  width:100%;
  padding-right:48px!important;
}
.spp-root--auth .spp-password-visibility{
  position:absolute;
  top:50%;
  right:9px;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:var(--spp-muted);
  cursor:pointer;
  z-index:2;
}
.spp-root--auth .spp-password-visibility:hover{
  color:var(--spp-text);
  background:color-mix(in srgb,var(--spp-cyan-soft) 55%,transparent);
}
.spp-root--auth .spp-password-visibility:focus-visible{
  outline:none;
  color:var(--spp-text);
  border-color:rgba(25,204,244,.72);
  box-shadow:0 0 0 3px rgba(25,204,244,.14);
}
.spp-root--auth .spp-password-visibility svg{
  width:20px;
  height:20px;
  display:block;
  pointer-events:none;
}
.spp-root--auth[data-spp-theme="light"] .spp-password-visibility{color:#526b82;}
.spp-root--auth[data-spp-theme="light"] .spp-password-visibility:hover,
.spp-root--auth[data-spp-theme="light"] .spp-password-visibility:focus-visible{color:#102033;}

/* =========================================================
   Smart Pro Portal 2.9.9 — Portal URL Migration Foundation (retains 2.9.8 Customer Return to Site styles)
   ========================================================= */
.spp-root--customer .spp-site-return{
  min-height:34px;
  padding:7px 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex:0 0 auto;
  border:1px solid rgba(148,163,184,.20);
  border-radius:10px;
  background:rgba(255,255,255,.045);
  color:#aebcd0!important;
  font-size:11px;
  font-weight:850;
  line-height:1;
  text-decoration:none!important;
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.spp-root--customer .spp-site-return:hover{
  color:#ffffff!important;
  background:rgba(36,212,255,.10);
  border-color:rgba(36,212,255,.34);
  transform:translateY(-1px);
}
.spp-root--customer .spp-site-return:focus-visible{
  outline:none;
  color:#ffffff!important;
  border-color:rgba(36,212,255,.72);
  box-shadow:0 0 0 3px rgba(36,212,255,.14);
}
.spp-root--customer .spp-site-return-icon{
  font-size:14px;
  line-height:1;
}

/* Keep the customer navigation geometrically centered while giving the
   new site-return action a safe control zone on wide desktop screens. */
@media (min-width:1281px){
  .spp-root--customer .spp-topbar-shell{
    grid-template-columns:280px minmax(0,1fr) 280px!important;
  }
  .spp-root--customer .spp-brand{
    max-width:280px!important;
  }
  .spp-root--customer .spp-user{
    width:280px!important;
    max-width:280px!important;
    min-width:280px!important;
  }
}

/* On compact screens keep the action explicit for assistive technology,
   but reduce it to the arrow so the brand and account controls do not collide. */
@media (max-width:760px){
  .spp-root--customer .spp-site-return{
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
    padding:0;
  }
  .spp-root--customer .spp-site-return-label{display:none!important;}
}


/* =========================================================
   Smart Pro Portal 2.10.0 — Admin Information Architecture
   ========================================================= */
@media (min-width:981px) {
  .spp-root--admin .spp-page-head--admin {
    height:96px;
    min-height:96px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    gap:20px;
    margin:0 0 16px;
    padding:0;
  }
  .spp-root--admin .spp-page-head--admin .spp-eyebrow {
    margin-bottom:4px;
    font-size:9px;
    line-height:1.2;
    letter-spacing:1.05px;
  }
  .spp-root--admin .spp-page-head--admin h1 {
    margin:0;
    font-size:30px;
    line-height:1.05;
  }
  .spp-root--admin .spp-page-head--admin .spp-lead {
    max-width:760px;
    margin:5px 0 0;
    font-size:13px;
    line-height:1.4;
  }
  .spp-root--admin .spp-page-head--admin .spp-page-head-actions {
    align-self:end;
    padding-bottom:0;
  }
}

/* Admin installations: compact by default, full record on demand. */
.spp-root--admin .spp-installations-list {
  gap:10px;
}
.spp-root--admin .spp-admin-installation-accordion {
  padding:0;
  overflow:hidden;
}
.spp-admin-installation-summary {
  width:100%;
  min-height:76px;
  display:grid;
  grid-template-columns:minmax(240px,1.55fr) minmax(110px,.55fr) minmax(150px,.8fr) minmax(120px,.65fr) auto 24px;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  color:var(--spp-text);
  font:inherit;
  text-align:left;
  background:rgba(255,255,255,.018);
  border:0;
  cursor:pointer;
  transition:background-color .18s ease,box-shadow .18s ease;
}
.spp-admin-installation-summary:hover,
.spp-admin-installation-summary:focus-visible {
  background:rgba(0,212,255,.055);
  outline:none;
}
.spp-admin-installation-accordion.is-open .spp-admin-installation-summary {
  background:rgba(0,212,255,.065);
  box-shadow:inset 0 -1px 0 rgba(0,212,255,.16);
}
.spp-admin-installation-identity,
.spp-admin-installation-meta {
  min-width:0;
}
.spp-admin-installation-identity strong,
.spp-admin-installation-identity small,
.spp-admin-installation-meta strong,
.spp-admin-installation-meta small {
  display:block;
}
.spp-admin-installation-identity strong {
  overflow:hidden;
  color:var(--spp-text);
  font-size:15px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-admin-installation-identity small {
  margin-top:5px;
  overflow:hidden;
  color:var(--spp-muted);
  font-size:10px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-admin-installation-meta small {
  color:var(--spp-muted);
  font-size:8px;
  font-weight:850;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.spp-admin-installation-meta strong {
  margin-top:5px;
  overflow:hidden;
  color:var(--spp-text);
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-admin-installation-chevron {
  display:grid;
  place-items:center;
  color:var(--spp-cyan);
  font-size:20px;
  line-height:1;
  transition:transform .18s ease;
}
.spp-admin-installation-accordion.is-open .spp-admin-installation-chevron {
  transform:rotate(180deg);
}
.spp-admin-installation-panel {
  padding:18px;
}
.spp-admin-installation-panel[hidden] {
  display:none!important;
}
.spp-admin-installation-panel .spp-installation-fields,
.spp-admin-installation-panel .spp-installation-mini-summary {
  margin-top:0;
}

/* Customer dossier. */
.spp-admin-customer-kpis {
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.spp-admin-customer-layout {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:16px;
}
.spp-admin-customer-layout > .spp-card {
  min-width:0;
}
.spp-admin-customer-profile,
.spp-admin-customer-installations-card,
.spp-admin-customer-requests-card,
.spp-admin-customer-appointments-card {
  padding:20px;
}
.spp-admin-customer-security-note {
  margin:14px 0 0;
  font-size:10px;
  line-height:1.5;
}
.spp-admin-customer-installation-list,
.spp-admin-customer-request-list,
.spp-admin-customer-appointment-list {
  display:grid;
  gap:8px;
  margin-top:14px;
}
.spp-admin-customer-installation-row {
  display:grid;
  grid-template-columns:minmax(180px,1.25fr) minmax(90px,.55fr) minmax(140px,.8fr) auto;
  align-items:center;
  gap:12px;
  padding:11px 12px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:rgba(255,255,255,.022);
}
.spp-admin-customer-installation-row > div > span,
.spp-admin-customer-installation-row > div > strong,
.spp-admin-customer-installation-row > div > small {
  display:block;
}
.spp-admin-customer-installation-row > div > span,
.spp-admin-customer-request-row span:first-child,
.spp-admin-customer-appointment-row > div > span {
  color:var(--spp-muted);
  font-size:8px;
  font-weight:850;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.spp-admin-customer-installation-row > div > strong,
.spp-admin-customer-request-row strong,
.spp-admin-customer-appointment-row strong {
  margin-top:4px;
  color:var(--spp-text);
  font-size:11px;
}
.spp-admin-customer-installation-row > div > small,
.spp-admin-customer-request-row small,
.spp-admin-customer-appointment-row small {
  margin-top:3px;
  color:var(--spp-muted);
  font-size:9px;
}
.spp-admin-customer-request-row,
.spp-admin-customer-appointment-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px;
  color:var(--spp-text);
  text-decoration:none!important;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:rgba(255,255,255,.022);
}
.spp-admin-customer-request-row:hover,
.spp-admin-customer-request-row:focus-visible {
  border-color:rgba(0,212,255,.28);
  background:rgba(0,212,255,.055);
  outline:none;
}
.spp-admin-customer-appointment-row.is-upcoming {
  border-color:rgba(0,212,255,.22);
}

.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-summary,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-installation-row,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-request-row,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-appointment-row {
  background:#f7fafc;
  border-color:rgba(32,61,86,.16);
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-summary:hover,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-summary:focus-visible,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-accordion.is-open .spp-admin-installation-summary {
  background:#e9f6fb;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-identity strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-meta strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-installation-row strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-request-row strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-appointment-row strong {
  color:#102033!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-identity small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-meta small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-installation-row span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-installation-row small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-request-row span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-request-row small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-appointment-row span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-appointment-row small {
  color:#587087!important;
}


/* Customer dossier 2.11.0 — compact summary + scalable internal tabs. */
.spp-admin-customer-tabs {
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 0 16px;
  padding:7px;
  overflow-x:auto;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:rgba(255,255,255,.018);
  scrollbar-width:thin;
}
.spp-admin-customer-tabs a {
  flex:0 0 auto;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 13px;
  color:var(--spp-muted)!important;
  text-decoration:none!important;
  border:1px solid transparent;
  border-radius:11px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.015em;
  white-space:nowrap;
  transition:color .18s ease,background-color .18s ease,border-color .18s ease;
}
.spp-admin-customer-tabs a:hover,
.spp-admin-customer-tabs a:focus-visible {
  color:var(--spp-text)!important;
  background:rgba(255,255,255,.035);
  outline:none;
}
.spp-admin-customer-tabs a.is-active {
  color:#fff!important;
  background:rgba(0,212,255,.10);
  border-color:rgba(0,212,255,.32);
  box-shadow:inset 0 -2px 0 rgba(0,212,255,.8);
}
.spp-admin-customer-tab-panel {
  min-width:0;
}
.spp-admin-customer-overview-grid {
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:16px;
}
.spp-admin-customer-overview-lower {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.spp-admin-customer-profile--compact,
.spp-admin-customer-installations-card--overview,
.spp-admin-customer-summary-card,
.spp-admin-customer-section-card {
  padding:18px;
}
.spp-admin-customer-identity-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:13px;
}
.spp-admin-customer-identity-grid > div,
.spp-admin-customer-security-grid > div,
.spp-admin-customer-placeholder-grid > div {
  min-width:0;
  padding:11px 12px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}
.spp-admin-customer-identity-grid span,
.spp-admin-customer-security-grid span,
.spp-admin-customer-placeholder-grid span,
.spp-admin-customer-subscription-row > div > span {
  display:block;
  color:var(--spp-muted);
  font-size:8px;
  font-weight:850;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.spp-admin-customer-identity-grid strong,
.spp-admin-customer-security-grid strong,
.spp-admin-customer-placeholder-grid strong,
.spp-admin-customer-subscription-row > div > strong {
  display:block;
  margin-top:4px;
  color:var(--spp-text);
  font-size:11px;
  overflow-wrap:anywhere;
}
.spp-admin-customer-security-grid small,
.spp-admin-customer-subscription-row small {
  display:block;
  margin-top:3px;
  color:var(--spp-muted);
  font-size:9px;
}
.spp-admin-customer-installation-row--compact {
  grid-template-columns:minmax(180px,1.5fr) minmax(90px,.55fr) auto;
}
.spp-admin-customer-summary-card .spp-admin-customer-request-list,
.spp-admin-customer-summary-card .spp-admin-customer-appointment-list {
  margin-top:10px;
}
.spp-admin-customer-section-card {
  min-width:0;
}
.spp-admin-customer-installation-list--full,
.spp-admin-customer-subscription-list {
  display:grid;
  gap:8px;
  margin-top:14px;
}
.spp-admin-customer-scroll-list {
  max-height:610px;
  overflow:auto;
  padding-right:3px;
}
.spp-admin-customer-appointment-groups {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:14px;
}
.spp-admin-customer-section-label {
  margin-bottom:8px;
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.6px;
  text-transform:uppercase;
}
.spp-admin-customer-subscription-row {
  display:grid;
  grid-template-columns:minmax(170px,1.25fr) minmax(150px,.9fr) minmax(120px,.72fr) minmax(95px,.55fr) auto;
  align-items:center;
  gap:12px;
  padding:11px 12px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:rgba(255,255,255,.022);
}
.spp-admin-customer-placeholder-grid,
.spp-admin-customer-security-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.spp-admin-customer-placeholder-grid p {
  margin:7px 0 0;
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.55;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-tabs {
  background:#f7fafc;
  border-color:rgba(32,61,86,.14);
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-tabs a.is-active {
  color:#102033!important;
  background:#e5f7fc;
  border-color:rgba(0,142,190,.28);
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-identity-grid > div,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-security-grid > div,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-placeholder-grid > div,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-subscription-row {
  background:#f7fafc;
  border-color:rgba(32,61,86,.16);
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-identity-grid strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-security-grid strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-placeholder-grid strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-subscription-row strong {
  color:#102033!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-identity-grid span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-security-grid span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-security-grid small,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-placeholder-grid span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-placeholder-grid p,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-subscription-row span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-subscription-row small {
  color:#587087!important;
}

@media (max-width:1150px) {
  .spp-admin-installation-summary {
    grid-template-columns:minmax(220px,1.4fr) minmax(130px,.75fr) minmax(110px,.65fr) auto 22px;
  }
  .spp-admin-installation-summary .spp-admin-installation-meta:nth-of-type(2) {
    display:none;
  }
}
@media (max-width:980px) {
  .spp-root--admin .spp-page-head--admin {
    height:auto;
    min-height:0;
  }
  .spp-admin-customer-kpis {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .spp-admin-customer-layout {
    grid-template-columns:1fr;
  }
  .spp-admin-installation-summary {
    grid-template-columns:minmax(190px,1.4fr) minmax(120px,.75fr) auto 22px;
  }
  .spp-admin-installation-summary .spp-admin-installation-meta {
    display:none;
  }
}
@media (max-width:700px) {
  .spp-admin-installation-summary {
    min-height:68px;
    grid-template-columns:minmax(0,1fr) auto 20px;
    gap:9px;
    padding:12px;
  }
  .spp-admin-installation-panel {
    padding:13px;
  }
  .spp-admin-customer-kpis {
    grid-template-columns:1fr 1fr;
  }
  .spp-admin-customer-installation-row {
    grid-template-columns:1fr auto;
  }
  .spp-admin-customer-installation-row > div:nth-child(2),
  .spp-admin-customer-installation-row > div:nth-child(3) {
    display:none;
  }
}
@media (max-width:520px) {
  .spp-admin-customer-kpis {
    grid-template-columns:1fr;
  }
  .spp-admin-customer-request-row,
  .spp-admin-customer-appointment-row {
    align-items:flex-start;
    flex-direction:column;
  }
}


@media (max-width:980px) {
  .spp-admin-customer-overview-grid,
  .spp-admin-customer-overview-lower,
  .spp-admin-customer-appointment-groups {
    grid-template-columns:1fr;
  }
  .spp-admin-customer-subscription-row {
    grid-template-columns:minmax(170px,1.2fr) minmax(140px,.9fr) minmax(105px,.7fr) auto;
  }
  .spp-admin-customer-subscription-row > div:nth-child(4) {
    display:none;
  }
}
@media (max-width:700px) {
  .spp-admin-customer-tabs {
    margin-left:-2px;
    margin-right:-2px;
    border-radius:13px;
  }
  .spp-admin-customer-identity-grid,
  .spp-admin-customer-security-grid,
  .spp-admin-customer-placeholder-grid {
    grid-template-columns:1fr;
  }
  .spp-admin-customer-installation-row--compact {
    grid-template-columns:1fr auto;
  }
  .spp-admin-customer-installation-row--compact > div:nth-child(2) {
    display:none;
  }
  .spp-admin-customer-subscription-row {
    grid-template-columns:1fr auto;
  }
  .spp-admin-customer-subscription-row > div:nth-child(2),
  .spp-admin-customer-subscription-row > div:nth-child(3),
  .spp-admin-customer-subscription-row > div:nth-child(4) {
    display:none;
  }
}

/* =========================================================
   Smart Pro Portal 2.12.0 — Subscription Safety + Light Contrast
   ========================================================= */
.spp-subscription-safety-intro{
  display:grid;
  gap:5px;
  margin:0 0 16px;
  padding:12px 14px;
  color:var(--spp-text);
  background:rgba(251,191,36,.065);
  border:1px solid rgba(251,191,36,.20);
  border-radius:13px;
}
.spp-subscription-safety-intro strong{font-size:12px;}
.spp-subscription-safety-intro span{color:var(--spp-muted);font-size:10px;line-height:1.5;}
.spp-subscription-action-guidance,
.spp-subscription-validation{
  margin-top:-5px;
  padding:9px 11px;
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.5;
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:11px;
}
.spp-subscription-validation.is-ready{
  color:#9ff4d2;
  background:rgba(52,211,153,.07);
  border-color:rgba(52,211,153,.22);
}
.spp-subscription-validation.is-error{
  color:#fecdd3;
  background:rgba(251,113,133,.07);
  border-color:rgba(251,113,133,.22);
}
.spp-subscription-source-control{display:grid;gap:9px;}
.spp-admin-quick-form .spp-subscription-source-unlock{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:3px 9px;
  padding:10px 11px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:rgba(255,255,255,.02);
  cursor:pointer;
}
.spp-admin-quick-form .spp-subscription-source-unlock input{
  grid-row:1/3;
  width:16px;
  min-height:0;
  height:16px;
  margin:2px 0 0;
  padding:0;
}
.spp-admin-quick-form .spp-subscription-source-unlock span{
  color:var(--spp-text);
  font-size:10px;
  font-weight:850;
  letter-spacing:0;
  text-transform:none;
}
.spp-admin-quick-form .spp-subscription-source-unlock small{color:var(--spp-muted);font-size:9px;line-height:1.4;}
.spp-subscription-live-warning{
  padding:11px 12px;
  color:#fde7b0;
  font-size:10px;
  line-height:1.5;
  background:rgba(245,158,11,.075);
  border:1px solid rgba(245,158,11,.24);
  border-radius:11px;
}
.spp-subscription-safety-form .spp-btn[disabled]{
  opacity:.46;
  cursor:not-allowed;
  filter:saturate(.35);
  transform:none!important;
  box-shadow:none!important;
}
.spp-subscription-confirm-modal .spp-followup-modal-backdrop{
  margin:0;
  padding:0;
  border:0;
  cursor:pointer;
}
.spp-subscription-confirm-modal .spp-followup-modal-dialog{width:min(650px,100%);}
.spp-subscription-confirm-body{display:grid;gap:14px;}
.spp-subscription-confirm-body>p{margin:0;}
.spp-subscription-confirm-summary{display:grid;gap:7px;}
.spp-subscription-confirm-summary>div{
  display:grid;
  grid-template-columns:minmax(110px,.65fr) minmax(0,1.35fr);
  gap:12px;
  align-items:start;
  padding:10px 11px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:11px;
}
.spp-subscription-confirm-summary span{color:var(--spp-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.45px;}
.spp-subscription-confirm-summary strong{font-size:11px;line-height:1.45;overflow-wrap:anywhere;}
.spp-subscription-financial-guard{
  display:grid;
  gap:4px;
  padding:11px 12px;
  background:rgba(245,158,11,.075);
  border:1px solid rgba(245,158,11,.24);
  border-radius:11px;
}
.spp-subscription-financial-guard strong{font-size:11px;}
.spp-subscription-financial-guard span,
.spp-subscription-confirm-note{color:var(--spp-muted);font-size:10px;line-height:1.5;}
.spp-subscription-confirm-body .spp-followup-modal-actions{margin:2px -22px -20px;padding-top:15px;}

/* Explicit Admin Light Mode contrast for the subscription form. */
.spp-root--admin[data-spp-theme="light"] .spp-subscription-admin-card input,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-admin-card select,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-admin-card textarea{
  color:#102033!important;
  background:#ffffff!important;
  border-color:rgba(30,58,82,.23)!important;
  -webkit-text-fill-color:#102033!important;
  opacity:1!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-admin-card input[type="date"]{color-scheme:light;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-admin-card input:disabled,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-admin-card select:disabled{
  color:#40586f!important;
  background:#edf2f6!important;
  -webkit-text-fill-color:#40586f!important;
  border-color:rgba(30,58,82,.16)!important;
  opacity:1!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-admin-card .spp-notice--info,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-grace-note{
  color:#075985!important;
  background:#e8f7fb!important;
  border:1px solid #abddea!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-safety-intro{
  color:#102033;
  background:#fff8e8;
  border-color:#ead39b;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-safety-intro span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-action-guidance{
  color:#526b82;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-action-guidance,
.spp-root--admin[data-spp-theme="light"] .spp-admin-quick-form .spp-subscription-source-unlock{
  background:#f3f7fa;
  border-color:rgba(30,58,82,.18);
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-quick-form .spp-subscription-source-unlock span{color:#102033;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-quick-form .spp-subscription-source-unlock small{color:#526b82;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-live-warning{
  color:#7c4a03;
  background:#fff7e6;
  border-color:#e7c77e;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-validation{color:#526b82;background:#f3f7fa;border-color:rgba(30,58,82,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-validation.is-ready{color:#065f46;background:#e8f7ef;border-color:#a9dcc8;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-validation.is-error{color:#9f1239;background:#fff0f3;border-color:#efb3c0;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal .spp-followup-modal-dialog{
  color:#102033;
  background:#ffffff;
  border-color:rgba(30,58,82,.20);
  box-shadow:0 30px 90px rgba(37,63,86,.28);
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal .spp-followup-modal-head,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-body .spp-followup-modal-actions{border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal .spp-followup-modal-x{color:#40586f;background:#f3f7fa;border-color:rgba(30,58,82,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-body>p,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-note,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-financial-guard span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-summary span{color:#526b82;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-summary>div{background:#f3f7fa;border-color:rgba(30,58,82,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-summary strong{color:#102033;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-financial-guard{background:#fff7e6;border-color:#e7c77e;}

@media(max-width:620px){
  .spp-subscription-confirm-summary>div{grid-template-columns:1fr;gap:4px;}
  .spp-subscription-confirm-body .spp-followup-modal-actions{flex-direction:column;}
  .spp-subscription-confirm-body .spp-followup-modal-actions .spp-btn{width:100%;}
}


/* =========================================================
   Smart Pro Portal 2.13.0 — Subscription Audit Trail + Modal Contrast
   ========================================================= */

/* The backdrop is a real button for accessibility; neutralize every external/button theme rule. */
.spp-root--admin .spp-subscription-confirm-modal .spp-followup-modal-backdrop{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  color:transparent!important;
  background:rgba(2,7,16,.80)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal .spp-followup-modal-backdrop{
  background:rgba(9,20,32,.64)!important;
}

/* The final confirmation remains intentionally high-contrast in both Portal themes. */
.spp-root--admin .spp-subscription-confirm-modal .spp-followup-modal-dialog,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal .spp-followup-modal-dialog{
  color:#f7fbff!important;
  background:#0c1424!important;
  border-color:rgba(148,163,184,.24)!important;
  box-shadow:0 30px 100px rgba(0,0,0,.58)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal .spp-followup-modal-head,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-body .spp-followup-modal-actions{border-color:rgba(148,163,184,.18)!important;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal .spp-followup-modal-x{
  color:#d9e5f2!important;
  background:#111c2e!important;
  border-color:rgba(148,163,184,.20)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-body>p,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-note,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-financial-guard span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-summary span{color:#9fb1c7!important;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-summary>div{background:rgba(255,255,255,.025)!important;border-color:rgba(148,163,184,.18)!important;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-summary strong{color:#f7fbff!important;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-financial-guard{background:rgba(245,158,11,.075)!important;border-color:rgba(245,158,11,.30)!important;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-financial-guard strong{color:#fff4cf!important;}
.spp-root--admin .spp-subscription-confirm-modal [data-spp-subscription-confirm-apply],
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal [data-spp-subscription-confirm-apply]{
  color:#03141b!important;
  -webkit-text-fill-color:#03141b!important;
  background:#22d3ee!important;
  border-color:#22d3ee!important;
  font-weight:900!important;
}
.spp-root--admin .spp-subscription-confirm-modal [data-spp-subscription-confirm-apply]:hover,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-confirm-modal [data-spp-subscription-confirm-apply]:hover{
  color:#020b10!important;
  background:#67e8f9!important;
  border-color:#67e8f9!important;
}

/* Compact, expandable subscription audit trail. */
.spp-subscription-audit-list{display:grid;gap:8px;}
.spp-subscription-audit-entry{
  overflow:hidden;
  background:rgba(255,255,255,.022);
  border:1px solid var(--spp-line);
  border-radius:13px;
}
.spp-subscription-audit-entry summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 22px;
  gap:10px;
  align-items:center;
  min-height:62px;
  padding:11px 12px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.spp-subscription-audit-entry summary::-webkit-details-marker{display:none;}
.spp-subscription-audit-entry summary:hover{background:rgba(255,255,255,.025);}
.spp-subscription-audit-summary-main{display:block;min-width:0;}
.spp-subscription-audit-summary-main strong,
.spp-subscription-audit-summary-main small{display:block;}
.spp-subscription-audit-summary-main strong{font-size:12px;line-height:1.35;}
.spp-subscription-audit-summary-main small{margin-top:4px;color:var(--spp-muted);font-size:9px;line-height:1.4;}
.spp-subscription-audit-chevron{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  color:var(--spp-muted);
  font-size:16px;
  transition:transform .18s ease,color .18s ease;
}
.spp-subscription-audit-entry[open] .spp-subscription-audit-chevron{transform:rotate(180deg);color:#67e8ff;}
.spp-subscription-audit-detail{
  display:grid;
  gap:12px;
  padding:12px;
  border-top:1px solid var(--spp-line);
  background:rgba(2,8,18,.22);
}
.spp-subscription-audit-section{display:grid;gap:8px;}
.spp-subscription-audit-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;}
.spp-subscription-audit-section-head strong{font-size:10px;text-transform:uppercase;letter-spacing:.55px;}
.spp-subscription-audit-section-head span{color:var(--spp-muted);font-size:9px;}
.spp-subscription-audit-changes{display:grid;gap:6px;}
.spp-subscription-audit-changes>div{
  display:grid;
  grid-template-columns:minmax(120px,.65fr) minmax(0,1.35fr);
  gap:12px;
  align-items:start;
  padding:9px 10px;
  background:rgba(255,255,255,.022);
  border:1px solid var(--spp-line);
  border-radius:10px;
}
.spp-subscription-audit-changes span,
.spp-subscription-audit-note span,
.spp-subscription-audit-meta span{color:var(--spp-muted);font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;}
.spp-subscription-audit-changes strong{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:10px;line-height:1.45;}
.spp-subscription-audit-changes strong em{color:var(--spp-muted);font-style:normal;font-weight:700;}
.spp-subscription-audit-changes strong b{color:#38d6f4;font-weight:900;}
.spp-subscription-audit-note{display:grid;gap:5px;padding:10px 11px;background:rgba(56,189,248,.055);border:1px solid rgba(56,189,248,.16);border-radius:10px;}
.spp-subscription-audit-note strong{font-size:10px;line-height:1.5;overflow-wrap:anywhere;}
.spp-subscription-audit-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
.spp-subscription-audit-meta>div{display:grid;gap:4px;padding:9px 10px;background:rgba(255,255,255,.018);border:1px solid var(--spp-line);border-radius:10px;}
.spp-subscription-audit-meta strong{font-size:9.5px;line-height:1.4;overflow-wrap:anywhere;}
.spp-subscription-audit-payment-note{display:grid;gap:4px;padding:10px 11px;background:rgba(245,158,11,.065);border:1px solid rgba(245,158,11,.20);border-radius:10px;}
.spp-subscription-audit-payment-note strong{font-size:9.5px;}
.spp-subscription-audit-payment-note span,
.spp-subscription-audit-nochange{color:var(--spp-muted);font-size:9px;line-height:1.5;}

.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-entry{background:#ffffff;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-entry summary:hover{background:#f7fafc;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-summary-main small,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-chevron,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-section-head span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-changes span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-note span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-meta span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-payment-note span,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-nochange{color:#526b82;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-detail{background:#f7fafc;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-changes>div,
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-meta>div{background:#ffffff;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-changes strong em{color:#526b82;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-note{background:#eef9fc;border-color:#b9e3ed;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-audit-payment-note{background:#fff8e8;border-color:#ead39b;}

@media(max-width:720px){
  .spp-subscription-audit-entry summary{grid-template-columns:minmax(0,1fr) 22px;}
  .spp-subscription-audit-entry summary .spp-status-badge{grid-column:1/2;justify-self:start;margin-top:2px;}
  .spp-subscription-audit-entry summary .spp-subscription-audit-chevron{grid-column:2;grid-row:1/3;}
  .spp-subscription-audit-changes>div{grid-template-columns:1fr;gap:4px;}
  .spp-subscription-audit-meta{grid-template-columns:1fr;}
}


/* =========================================================
   Smart Pro Portal 2.13.1 — Theme Prepaint + Auto Mode Control
   ========================================================= */

/* Three-state control replaces the old binary toggle without widening the
   account area enough to disturb the centred Portal navigation. */
.spp-theme-quick-picker{
  width:98px;
  height:36px;
  flex:0 0 98px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:center;
  gap:3px;
  padding:3px;
  background:#0d1728;
  border:1px solid rgba(148,163,184,.20);
  border-radius:999px;
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.spp-theme-quick-picker button{
  width:100%;
  height:28px;
  min-width:0;
  min-height:28px;
  margin:0;
  padding:0;
  display:grid;
  place-items:center;
  appearance:none;
  -webkit-appearance:none;
  color:#8fa2b8;
  background:transparent;
  border:0;
  border-radius:999px;
  box-shadow:none;
  cursor:pointer;
  font:inherit;
  font-size:14px;
  line-height:1;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.spp-theme-quick-picker button:hover,
.spp-theme-quick-picker button:focus-visible{
  color:#f8fafc;
  background:rgba(255,255,255,.07);
  outline:none;
}
.spp-theme-quick-picker button:focus-visible{
  box-shadow:0 0 0 2px rgba(36,212,255,.34);
}
.spp-theme-quick-picker button[aria-checked="true"]{
  color:#06111e;
  background:#f8fafc;
  box-shadow:0 4px 12px rgba(0,0,0,.20);
  transform:translateY(-1px);
}
.spp-theme-quick-picker button[data-spp-theme-choice="auto"][aria-checked="true"]{
  color:#001018;
  background:linear-gradient(180deg,#a9efff,#4bdcff);
}

/* The topbar remains intentionally dark in both Portal themes, therefore the
   compact picker uses one stable high-contrast treatment in Admin/Customer. */
.spp-root--admin[data-spp-theme="light"] .spp-theme-quick-picker,
.spp-root--customer[data-spp-theme="light"] .spp-theme-quick-picker{
  background:#0d1728;
  border-color:rgba(148,163,184,.20);
}

@media(max-width:680px){
  .spp-theme-quick-picker{
    width:88px;
    flex-basis:88px;
    height:34px;
    gap:2px;
  }
  .spp-theme-quick-picker button{
    height:26px;
    min-height:26px;
    font-size:13px;
  }
}

/* Smart Pro Technician Access 2.14.2 — isolated session-control confirmation */
.spp-admin-quick-form .spp-technician-confirm{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:3px 9px;
  padding:10px 11px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:rgba(255,255,255,.02);
  cursor:pointer;
}
.spp-admin-quick-form .spp-technician-confirm input{
  width:16px;
  min-height:0;
  height:16px;
  margin:2px 0 0;
  padding:0;
}
.spp-admin-quick-form .spp-technician-confirm span{
  color:var(--spp-text);
  font-size:10px;
  font-weight:800;
  letter-spacing:0;
  text-transform:none;
  line-height:1.45;
}

/* 2.14.3 · Technician Access multi-capability control-only UI */
.spp-tech-capability-list{display:grid;gap:10px;margin:16px 0}.spp-tech-capability-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid rgba(148,163,184,.22);border-radius:14px;background:rgba(15,23,42,.28)}.spp-tech-capability-row>div{display:grid;gap:4px;min-width:0}.spp-tech-capability-row span{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.spp-tech-capability-row strong{font-size:15px}.spp-tech-capability-row small{display:block;opacity:.74}.spp-tech-capability-row form{margin:0;flex:0 0 auto}@media(max-width:760px){.spp-tech-capability-row{align-items:stretch;flex-direction:column}.spp-tech-capability-row form,.spp-tech-capability-row .spp-btn{width:100%}}

/* 2.14.4 — Terminal permission enforcement read-only preflight */
.spp-tech-preflight-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 16px}
.spp-tech-preflight-check{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--spp-border,rgba(148,163,184,.2));border-radius:12px;background:rgba(255,255,255,.02)}
.spp-tech-preflight-check>span{font-weight:800;line-height:1}
.spp-tech-preflight-check>strong{font-size:13px;line-height:1.35}
@media (max-width:780px){.spp-tech-preflight-checks{grid-template-columns:1fr}}

/* =========================================================
   Smart Pro Portal 3.1.0 — Compact Admin Operations Home
   Admin-dashboard-only density pass. Customer Portal and
   non-dashboard Admin views keep their existing layout.
   ========================================================= */
.spp-root--admin[data-spp-view="dashboard"] .spp-main{
  padding-top:18px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero{
  grid-template-columns:minmax(0,1fr);
  gap:0;
  margin-bottom:10px;
  padding:0;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero h1{
  margin:4px 0 3px;
  font-size:clamp(28px,2.45vw,38px);
  line-height:1.03;
  letter-spacing:-.02em;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero .spp-lead{
  max-width:900px;
  margin:0;
  font-size:12.5px;
  line-height:1.45;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero .spp-eyebrow{
  font-size:9.5px;
  letter-spacing:1.1px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-system-state{
  margin-top:9px;
  padding:7px 10px;
  gap:7px;
  font-size:11.5px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-system-state-dot{
  width:7px;
  height:7px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card{
  min-height:82px;
  padding:11px 12px;
  gap:9px;
  border-radius:15px;
  box-shadow:0 10px 26px rgba(0,0,0,.15);
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card:hover{
  transform:translateY(-1px);
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-icon{
  width:34px;
  height:34px;
  border-radius:11px;
  font-size:16px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-icon--guardian{
  color:#8ff4cc;
  background:rgba(52,211,153,.10);
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-content small{
  margin-bottom:3px;
  font-size:8.5px;
  letter-spacing:.62px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-content strong{
  font-size:13px;
  line-height:1.2;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-content em{
  margin-top:3px;
  font-size:9.5px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-arrow{
  font-size:19px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-content small .spp-help-tip{
  width:14px;
  height:14px;
  margin-left:3px!important;
  font-size:8px!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-workspace{
  grid-template-columns:minmax(0,1.82fr) minmax(300px,.72fr);
  gap:12px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-primary,
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-sidebar{
  gap:12px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-workspace .spp-card{
  padding:17px 18px;
  border-radius:17px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-workspace .spp-card-head{
  gap:12px;
  margin-bottom:11px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-workspace .spp-card h2{
  font-size:18px;
  line-height:1.2;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-workspace .spp-card .spp-sub{
  font-size:10px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-priority-list{
  gap:7px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-priority-item{
  min-height:58px;
  padding:10px 11px;
  border-radius:13px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-priority-copy strong{
  font-size:11.5px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-priority-copy small,
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-priority-meta small{
  font-size:8.5px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-priority-meta b{
  font-size:8.5px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-actions{
  gap:7px;
  margin-top:10px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-actions .spp-btn{
  min-height:36px;
  padding:8px 12px;
  font-size:10px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-activity-item{
  gap:9px;
  padding:9px 0;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-activity-item strong{
  font-size:10.5px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-activity-item small,
.spp-root--admin[data-spp-view="dashboard"] .spp-activity-item time{
  font-size:8.5px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-subscription-summary-grid{
  gap:5px;
  margin:10px 0 12px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-subscription-summary-grid > div{
  padding:8px 5px;
  border-radius:10px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-subscription-summary-grid span{
  font-size:7px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-subscription-summary-grid strong{
  margin-top:3px;
  font-size:15px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-quick-action-list a{
  padding:10px 11px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-partner-teaser{
  display:none!important;
}

.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip{
  margin:0 0 12px;
  padding:10px 11px 11px;
  border:1px solid rgba(74,186,255,.14);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(8,22,39,.34),rgba(8,22,39,.12));
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 2px 8px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip__head h2{
  margin:1px 0 1px;
  font-size:15px;
  line-height:1.15;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip__head p{
  margin:0;
  color:var(--spp-muted);
  font-size:9px;
  line-height:1.35;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip__head > a{
  flex:0 0 auto;
  color:var(--spp-cyan);
  font-size:9.5px;
  font-weight:800;
  text-decoration:none;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations{
  grid-template-columns:repeat(6,minmax(0,1fr));
  margin-bottom:0;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-card{
  min-height:68px;
  padding:9px 10px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-icon{
  width:29px;
  height:29px;
  border-radius:9px;
  font-size:13px;
}

@media (min-width:1101px) and (max-width:1360px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis:not(.spp-dashboard-kpis--operations){
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:1100px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-workspace{
    grid-template-columns:1fr;
  }
}
@media (max-width:720px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip__head{align-items:flex-start;flex-direction:column;gap:5px;}
}
@media (max-width:480px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   Smart Pro Portal 3.1.1 — Admin Live Operations Refresh
   ========================================================= */
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta{
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:5px;
  color:var(--spp-muted);
  font-size:8.5px;
  line-height:1.3;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta::before{
  content:"";
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:999px;
  background:#34d399;
  box-shadow:0 0 0 3px rgba(52,211,153,.08);
}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta.is-refreshing::before{
  animation:spp-live-pulse 1s ease-in-out infinite;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta.is-error{
  color:#f59e0b;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta.is-error::before{
  background:#f59e0b;
  box-shadow:0 0 0 3px rgba(245,158,11,.08);
}
@keyframes spp-live-pulse{0%,100%{opacity:.45;transform:scale(.88)}50%{opacity:1;transform:scale(1)}}

.spp-admin-live-settings-card{grid-column:1/-1;}
.spp-admin-live-settings-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:10px;
}
.spp-admin-live-settings-form>label:not(.spp-admin-live-toggle){
  display:grid;
  gap:6px;
}
.spp-admin-live-settings-form>label>span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.45px;
}
.spp-admin-live-settings-form select{
  min-height:40px;
  padding:8px 10px;
  color:var(--spp-text);
  background:rgba(255,255,255,.025);
  border:1px solid var(--spp-line);
  border-radius:10px;
  outline:none;
}
.spp-admin-live-settings-form select:focus{
  border-color:rgba(56,189,248,.45);
  box-shadow:0 0 0 2px rgba(56,189,248,.10);
}
.spp-admin-live-toggle{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:9px;
  padding:11px 12px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}
.spp-admin-live-toggle input{
  width:17px;
  height:17px;
  margin:2px 0 0;
}
.spp-admin-live-toggle span{
  display:grid;
  gap:3px;
  text-transform:none!important;
  letter-spacing:0!important;
}
.spp-admin-live-toggle strong{font-size:11px;color:var(--spp-text);}
.spp-admin-live-toggle small{font-size:9px;line-height:1.45;color:var(--spp-muted);}
.spp-admin-live-settings-actions{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.spp-admin-live-settings-notice{
  grid-column:1/-1;
  padding:9px 10px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  font-size:9.5px;
  line-height:1.45;
}
.spp-admin-live-settings-notice--success{border-color:rgba(52,211,153,.28);background:rgba(52,211,153,.07);color:#8ff4cc;}
.spp-admin-live-settings-notice--error{border-color:rgba(251,113,133,.30);background:rgba(251,113,133,.07);color:#fecdd3;}
.spp-admin-live-settings-notice--info{border-color:rgba(56,189,248,.25);background:rgba(56,189,248,.06);color:#b9efff;}
.spp-admin-live-settings-note{
  margin:10px 0 0;
  color:var(--spp-muted);
  font-size:9px;
  line-height:1.5;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-live-settings-form select,
.spp-root--admin[data-spp-theme="light"] .spp-admin-live-toggle{
  background:#fff;
  border-color:rgba(30,58,82,.14);
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-live-settings-notice--success{color:#157347;background:#effbf5;border-color:#b8e6cf;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-live-settings-notice--error{color:#9f2841;background:#fff2f4;border-color:#f0bac6;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-live-settings-notice--info{color:#176681;background:#eef9fc;border-color:#b9e3ed;}
@media(max-width:720px){
  .spp-admin-live-settings-form{grid-template-columns:1fr;}
}


/* =========================================================
   Smart Pro Portal 3.2.1 — Installation Workspace Compact Access
   ========================================================= */
.spp-root--admin .spp-page-head--installation{height:auto;min-height:78px;margin-bottom:14px;}
.spp-root--admin .spp-page-head--installation h1{font-size:clamp(28px,2.2vw,38px);}
.spp-root--admin .spp-page-head--installation .spp-lead{margin-top:5px;}
.spp-installation-workspace{align-items:start;}
.spp-installation-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:14px;}
.spp-installation-summary-grid>div,.spp-installation-subscription-summary>div,.spp-installation-management-summary>div{padding:11px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.022);}
.spp-installation-summary-grid span,.spp-installation-subscription-summary span,.spp-installation-management-summary span{display:block;color:var(--spp-muted);font-size:8.5px;font-weight:850;letter-spacing:.55px;text-transform:uppercase;}
.spp-installation-summary-grid strong,.spp-installation-subscription-summary strong,.spp-installation-management-summary strong{display:block;margin-top:4px;font-size:12px;line-height:1.35;overflow-wrap:anywhere;}

/* Daily access: four compact capability actions, no engineering detail in the main flow. */
.spp-installation-remote-overview{padding-bottom:14px;}
.spp-installation-remote-head{margin-bottom:0;}
.spp-installation-access-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px;}
.spp-installation-access-action{display:grid;gap:5px;min-width:0;padding:13px 12px;border:1px solid rgba(81,207,255,.24);border-radius:13px;background:rgba(56,189,248,.055);color:var(--spp-text);text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease;}
.spp-installation-access-action:hover,.spp-installation-access-action:focus-visible{border-color:rgba(81,207,255,.5);background:rgba(56,189,248,.1);transform:translateY(-1px);outline:none;}
.spp-installation-access-action strong{font-size:11.5px;line-height:1.25;overflow-wrap:anywhere;}
.spp-installation-access-action>span{color:#63d7ff;font-size:9.5px;font-weight:850;}
.spp-installation-access-action.is-active{border-color:rgba(52,211,153,.34);background:rgba(52,211,153,.07);}
.spp-installation-access-action:disabled{cursor:not-allowed;opacity:.55;transform:none;}
.spp-remote-context{margin:10px 0 0;color:var(--spp-muted);font-size:13px;line-height:1.45;}
.spp-remote-capability{display:grid;gap:4px;margin-top:8px;}
.spp-remote-capability strong{font-size:13px;}
.spp-remote-capability small,.spp-remote-capability dd{color:var(--spp-muted);font-size:12px;line-height:1.4;}
.spp-remote-capability dl{display:grid;gap:2px;margin:0;}
.spp-remote-capability dl div{display:flex;justify-content:space-between;gap:12px;}
.spp-remote-capability dt{font-size:12px;}
.spp-remote-capability dd{margin:0;text-align:right;}
.spp-remote-capability>button,
.spp-remote-capability__details>button{justify-self:start;padding:0;border:0;background:transparent;color:#63d7ff;font:inherit;font-size:12px;font-weight:700;cursor:pointer;}
.spp-remote-capability.is-ok>strong{color:var(--spp-ok,#3dd9a1)}
.spp-remote-capability.is-warn>strong{color:var(--spp-warn,#ffb020)}
.spp-remote-capability.is-bad>strong{color:var(--spp-danger,#ff5f68)}
.spp-remote-capability__details{margin-top:2px}
.spp-remote-capability__details>summary{cursor:pointer;color:var(--spp-muted);font-size:12px;font-weight:700}
.spp-remote-capability__details dl{margin-top:6px}
.spp-root--admin[data-spp-theme="light"] .spp-remote-capability.is-ok>strong{color:#07835f}
.spp-root--admin[data-spp-theme="light"] .spp-remote-capability.is-warn>strong{color:#a85f00}
.spp-root--admin[data-spp-theme="light"] .spp-remote-capability.is-bad>strong{color:#c82e3e}
.spp-root--admin[data-spp-theme="light"] .spp-remote-capability__details>summary,
.spp-root--admin[data-spp-theme="light"] .spp-remote-capability__details>button{color:#17779b}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions{margin:10px 0 0;padding:12px;border:1px solid var(--spp-line);border-radius:16px;background:color-mix(in srgb,var(--spp-field) 62%,transparent)}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-customer-subscription-subsection__head{margin:0 0 8px}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-customer-subscription-subsection__head p{margin:2px 0 0;font-size:12px;line-height:1.4}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-customer-subscription-actionline{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:0;padding:10px 12px}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-customer-subscription-actionline>form,
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-customer-subscription-actionline>a.spp-btn{grid-column:1;grid-row:auto;justify-self:start}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-btn{max-width:100%;height:auto;white-space:normal;text-align:center}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-customer-cancellation-control--compact{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--spp-danger) 32%,var(--spp-line));border-radius:12px;background:color-mix(in srgb,var(--spp-danger) 7%,transparent)}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions .spp-customer-cancellation-control--compact>form{max-width:100%}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription>.spp-customer-package-live-card,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription>.spp-customer-external-url-card{min-width:0;max-width:100%;height:auto;overflow:visible}
.spp-root--customer[data-spp-view="installation"] .spp-customer-external-url-card a,
.spp-root--customer[data-spp-view="installation"] .spp-customer-package-live-card,
.spp-root--customer[data-spp-view="installation"] .spp-customer-package-live-card p,
.spp-root--customer[data-spp-view="installation"] .spp-customer-package-live-card label{overflow-wrap:anywhere}
@media(min-width:1181px){
  .spp-root.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-grid.spp-customer-installation-entitlement-grid--consolidated{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet{grid-column:1;grid-row:1;align-self:start}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription{display:contents}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription>[data-spp-customer-folder-subscription-target]{grid-column:2;grid-row:1;align-self:stretch;min-width:0;height:100%}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet{align-self:stretch}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet>.spp-card{height:100%}
  .spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-actions{grid-column:1 / -1;grid-row:2;align-self:start;min-width:0;margin:12px 0 0}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription>.spp-customer-external-url-card{grid-column:1 / -1;grid-row:3;align-self:start}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription>.spp-customer-package-live-card{grid-column:1;grid-row:3;align-self:start}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--subscription>.spp-customer-package-live-card+.spp-customer-external-url-card{grid-column:2;grid-row:3}
}
.spp-installation-ha-session{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px;padding:10px 12px;border:1px solid rgba(52,211,153,.24);border-radius:13px;background:rgba(52,211,153,.055);}
.spp-installation-ha-session[hidden]{display:none!important;}
.spp-installation-ha-session.is-warning{border-color:rgba(245,158,11,.30);background:rgba(245,158,11,.055);}
.spp-installation-ha-session-status{display:flex;align-items:center;gap:9px;min-width:0;}
.spp-installation-ha-session-status strong,.spp-installation-ha-session-status small{display:block;}
.spp-installation-ha-session-status strong{font-size:10.5px;line-height:1.35;}
.spp-installation-ha-session-status small{margin-top:2px;color:var(--spp-muted);font-size:9px;}
.spp-installation-ha-session-status [data-sppp-ha-countdown]{color:#8cf1cf;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.4px;}
.spp-installation-ha-session-dot{flex:0 0 8px;width:8px;height:8px;border-radius:999px;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.10);}
.spp-installation-ha-session.is-warning .spp-installation-ha-session-dot{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.10);}
.spp-installation-ha-stop{flex:0 0 auto;min-height:34px;padding:7px 10px;font-size:9px;}
.spp-installation-remote-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:11px;padding-top:10px;border-top:1px solid var(--spp-line);}
.spp-installation-remote-footer>span{color:var(--spp-muted);font-size:9px;line-height:1.45;}
.spp-installation-remote-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;}
.spp-installation-remote-footer-actions form{margin:0;}
/* 3.3.5 · capability-scoped recovery controls. */
.spp-installation-capability-recovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:7px;}
.spp-installation-capability-recovery{min-width:0;min-height:30px;padding:6px 9px;border:1px solid rgba(148,163,184,.20);border-radius:10px;background:rgba(255,255,255,.018);color:var(--spp-muted);font:inherit;font-size:8.5px;font-weight:800;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease;}
.spp-installation-capability-recovery:hover,.spp-installation-capability-recovery:focus-visible{border-color:rgba(81,207,255,.38);background:rgba(56,189,248,.055);color:#bfefff;outline:none;}
.spp-installation-capability-recovery:disabled{opacity:.55;cursor:wait;}
.spp-installation-capability-recovery-spacer{display:block;}
[data-sppp-capability-recovery-notice]{margin-top:8px;margin-bottom:0;}
.spp-remote-access-reset-modal .spp-followup-modal-dialog{width:min(620px,calc(100vw - 32px));}
.spp-installation-safe-reset{min-height:32px;padding:7px 10px;font-size:9px;white-space:nowrap;}
.spp-installation-safe-reset-notice{margin-top:10px;margin-bottom:0;}
.spp-installation-diagnostics-link{flex:0 0 auto;padding:0;border:0;background:none;cursor:pointer;font:inherit;}

/* Installation-scoped technical workspace: centered modal with capability tabs. */
body.spp-installation-tech-open{overflow:hidden;}
.spp-installation-tech-shell[hidden]{display:none!important;}
.spp-installation-tech-shell{position:fixed;inset:0;z-index:100200;display:grid;place-items:center;padding:20px;}
.spp-installation-tech-backdrop{position:absolute;inset:0;background:rgba(2,8,18,.78);backdrop-filter:blur(5px);}
.spp-installation-tech-panel{position:relative;z-index:1;display:grid;grid-template-rows:auto auto minmax(0,1fr);width:min(1180px,calc(100vw - 40px));height:min(86vh,900px);max-height:calc(100vh - 40px);overflow:hidden;background:#0a1221;border:1px solid rgba(148,163,184,.20);border-radius:22px;box-shadow:0 34px 110px rgba(0,0,0,.50);}
.spp-installation-tech-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px 22px 16px;background:rgba(10,18,33,.98);border-bottom:1px solid var(--spp-line);}
.spp-installation-tech-header h2{margin:3px 0 0;font-size:22px;}
.spp-installation-tech-header p{max-width:760px;margin:7px 0 0;color:var(--spp-muted);font-size:10.5px;line-height:1.55;}
.spp-installation-tech-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.03);color:var(--spp-text);font-size:24px;line-height:1;cursor:pointer;}
.spp-installation-tech-close:hover,.spp-installation-tech-close:focus-visible{border-color:rgba(81,207,255,.45);outline:none;}
.spp-installation-tech-tabs{display:flex;gap:7px;overflow-x:auto;padding:10px 14px;background:rgba(8,15,28,.96);border-bottom:1px solid var(--spp-line);scrollbar-width:thin;}
.spp-installation-tech-tab{flex:0 0 auto;min-height:36px;padding:8px 12px;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:rgba(255,255,255,.018);color:var(--spp-muted);font:inherit;font-size:9.5px;font-weight:850;white-space:nowrap;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease;}
.spp-installation-tech-tab:hover,.spp-installation-tech-tab:focus-visible{border-color:rgba(81,207,255,.34);color:#c9f3ff;outline:none;}
.spp-installation-tech-tab.is-active,.spp-installation-tech-tab[aria-selected="true"]{border-color:rgba(81,207,255,.42);background:rgba(56,189,248,.09);color:#8be6ff;box-shadow:inset 0 -2px 0 rgba(81,207,255,.72);}
.spp-installation-diagnostics-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 22px;scrollbar-gutter:stable;}
.spp-installation-diagnostic-module[hidden]{display:none!important;}
.spp-installation-diagnostic-module{min-height:100%;}
.spp-installation-diagnostic-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin:0 2px 12px;padding:0 0 10px;border-bottom:1px solid var(--spp-line);}
.spp-installation-diagnostic-panel-head strong{font-size:13px;}
.spp-installation-diagnostic-panel-head span{color:var(--spp-muted);font-size:9.5px;line-height:1.45;text-align:right;}
.spp-installation-diagnostic-module-body{display:grid;gap:12px;}
.spp-installation-diagnostic-module-body>.spp-card{margin:0;box-shadow:none;}

.spp-installation-subscription-summary,.spp-installation-management-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;}
.spp-installation-inline-details{margin-top:12px;border-top:1px solid var(--spp-line);padding-top:10px;}
.spp-installation-inline-details>summary,.spp-installation-technical-identifiers>summary{display:flex;justify-content:space-between;gap:10px;align-items:center;cursor:pointer;color:#bfefff;font-size:10px;font-weight:850;}
.spp-installation-inline-details[open]>summary>span,.spp-installation-technical-identifiers[open]>summary>span{transform:rotate(180deg);}
.spp-installation-inline-details>summary>span,.spp-installation-technical-identifiers>summary>span{transition:transform .18s ease;}
.spp-installation-inline-details-body{display:grid;gap:10px;margin-top:10px;}
.spp-installation-inline-details-body>.spp-card{box-shadow:none;margin:0;}
.spp-installation-management-workspace .spp-admin-quick-form{margin-top:0;}
.spp-installation-technical-identifiers{padding:10px 11px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.018);}
.spp-installation-technical-identifiers>div{display:grid;gap:10px;margin-top:11px;}

/* Secondary support/history now lives in the right sidebar. */
.spp-installation-support-workspace--sidebar .spp-card-head{align-items:flex-start;}
.spp-installation-support-workspace--sidebar .spp-card-head .spp-status-link{font-size:9px;white-space:nowrap;}
.spp-installation-support-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:11px;}
.spp-installation-support-summary>div{padding:9px 8px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.018);min-width:0;}
.spp-installation-support-summary span{display:block;color:var(--spp-muted);font-size:7.7px;font-weight:850;letter-spacing:.35px;text-transform:uppercase;}
.spp-installation-support-summary strong{display:block;margin-top:4px;font-size:10.5px;line-height:1.3;overflow-wrap:anywhere;}
.spp-installation-support-recent{margin-top:11px;}
.spp-installation-support-recent-label{display:block;margin-bottom:6px;color:var(--spp-muted);font-size:8px;font-weight:850;letter-spacing:.45px;text-transform:uppercase;}
.spp-installation-support-compact-list{gap:6px;}
.spp-installation-support-compact-list>a,.spp-installation-support-compact-list>div{padding:8px 9px;}
.spp-installation-support-compact-list strong{font-size:9.5px;line-height:1.35;}
.spp-installation-support-compact-list small{font-size:8px;}
.spp-installation-support-compact-list .spp-status-badge{font-size:7.5px;padding:5px 7px;}
.spp-installation-support-details .spp-installation-inline-details-body{gap:8px;}
.spp-installation-support-section{padding:9px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.014);}
.spp-installation-support-lane-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:7px;}
.spp-installation-support-lane-head strong{font-size:9.5px;}
.spp-installation-support-lane-head span{color:var(--spp-muted);font-size:8px;}

@media(max-width:1120px){
  .spp-installation-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-installation-access-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-installation-capability-recovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .spp-installation-summary-grid,.spp-installation-subscription-summary,.spp-installation-management-summary{grid-template-columns:1fr;}
  .spp-installation-access-grid{grid-template-columns:1fr 1fr;}
  .spp-installation-capability-recovery-grid{grid-template-columns:1fr 1fr;}
  .spp-installation-remote-footer{align-items:flex-start;flex-direction:column;}
  .spp-installation-remote-footer-actions{width:100%;justify-content:space-between;flex-wrap:wrap;}
  .spp-installation-ha-session{align-items:flex-start;flex-direction:column;}
  .spp-installation-support-summary{grid-template-columns:1fr;}
  .spp-installation-tech-shell{padding:10px;}
  .spp-installation-tech-panel{width:100%;height:min(92vh,900px);max-height:calc(100vh - 20px);border-radius:17px;}
  .spp-installation-tech-header{padding:16px 14px 13px;}
  .spp-installation-tech-header p{display:none;}
  .spp-installation-tech-tabs{padding:8px 10px;}
  .spp-installation-diagnostics-body{padding:10px 10px 18px;}
  .spp-installation-diagnostic-panel-head{align-items:flex-start;flex-direction:column;gap:4px;}
  .spp-installation-diagnostic-panel-head span{text-align:left;}
  .spp-root--admin .spp-page-head--installation{min-height:0;}
}

.spp-root--admin[data-spp-theme="light"] .spp-installation-summary-grid>div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-subscription-summary>div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-management-summary>div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-access-action,
.spp-root--admin[data-spp-theme="light"] .spp-installation-diagnostic-module,
.spp-root--admin[data-spp-theme="light"] .spp-installation-technical-identifiers,
.spp-root--admin[data-spp-theme="light"] .spp-installation-support-summary>div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-support-section{background:#fff;border-color:rgba(30,58,82,.15);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-backdrop{background:rgba(18,35,50,.42);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-panel{background:#f7fafc;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-header{background:rgba(247,250,252,.96);border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-close{background:#fff;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-diagnostic-module-body,
.spp-root--admin[data-spp-theme="light"] .spp-installation-inline-details,
.spp-root--admin[data-spp-theme="light"] .spp-installation-remote-footer{border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-diagnostic-panel-head span,
.spp-root--admin[data-spp-theme="light"] .spp-installation-support-lane-head span,
.spp-root--admin[data-spp-theme="light"] .spp-installation-support-recent-label,
.spp-root--admin[data-spp-theme="light"] .spp-installation-remote-footer>span{color:#526b82;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-access-action>span{color:#17779b;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-capability-recovery{background:#fff;border-color:rgba(30,58,82,.15);color:#526b82;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-capability-recovery:hover,.spp-root--admin[data-spp-theme="light"] .spp-installation-capability-recovery:focus-visible{background:#f3f9fc;color:#17779b;border-color:rgba(23,119,155,.30);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-ha-session{background:#f4fbf8;border-color:rgba(20,130,90,.20);}

/* =========================================================
   Smart Pro Portal 3.2.2 — Quick Management Modal & Binding Lock
   ========================================================= */
.spp-installation-quick-modal{
  display:grid;
  place-items:center;
  padding:24px;
}
.spp-installation-quick-modal .spp-drawer-backdrop{background:rgba(2,6,15,.78);}
.spp-installation-quick-modal-panel{
  position:relative;
  top:auto;
  right:auto;
  z-index:1;
  width:min(980px,calc(100vw - 48px));
  height:auto;
  max-height:min(86vh,820px);
  overflow:auto;
  border:1px solid rgba(126,153,201,.23);
  border-radius:22px;
  background:#0a1222;
  box-shadow:0 34px 100px rgba(0,0,0,.52);
  animation:sppQuickModalIn .18s ease-out;
}
@keyframes sppQuickModalIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
.spp-installation-quick-modal-head{padding:20px 22px 16px;border-radius:22px 22px 0 0;}
.spp-installation-quick-modal-head h2{font-size:24px;}
.spp-installation-quick-modal-body{display:grid;gap:14px;padding:16px 22px 20px;}
.spp-installation-quick-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.spp-installation-quick-context>div,
.spp-installation-quick-readonly,
.spp-installation-quick-subscription-facts>div{
  min-width:0;
  padding:10px 11px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}
.spp-installation-quick-context span,
.spp-installation-quick-readonly>span,
.spp-installation-quick-subscription-facts span{
  display:block;
  color:var(--spp-muted);
  font-size:8px;
  font-weight:850;
  letter-spacing:.45px;
  text-transform:uppercase;
}
.spp-installation-quick-context strong,
.spp-installation-quick-readonly strong,
.spp-installation-quick-subscription-facts strong{
  display:block;
  margin-top:4px;
  font-size:11.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.spp-installation-quick-context .spp-status-badge{display:inline-flex;margin-top:0;font-size:8px;}
.spp-installation-quick-modal-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px;align-items:stretch;}
.spp-installation-quick-section{display:grid;align-content:start;gap:11px;padding:14px;border:1px solid var(--spp-line);border-radius:15px;background:rgba(255,255,255,.014);}
.spp-installation-quick-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:3px;}
.spp-installation-quick-section-head h3{margin:3px 0 0;font-size:15px;line-height:1.3;}
.spp-installation-quick-section-head .spp-status-badge{flex:0 0 auto;}
.spp-installation-quick-readonly small{display:block;margin-top:4px;color:var(--spp-muted);font-size:8.5px;line-height:1.4;}
.spp-installation-quick-subscription-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.spp-installation-quick-subscription>p{margin:0;color:var(--spp-muted);font-size:9px;line-height:1.55;}
.spp-installation-quick-subscription .spp-status-link{font-size:9.5px;}
.spp-installation-quick-modal-actions{display:flex;flex-wrap:wrap;gap:9px;padding-top:12px;border-top:1px solid var(--spp-line);}
.spp-protected-binding-field[readonly]{
  cursor:text;
  border-color:rgba(52,211,153,.23)!important;
  background:rgba(52,211,153,.045)!important;
  color:#d8fff0!important;
}
.spp-installation-technical-identifiers label small{display:block;margin-top:5px;color:var(--spp-muted);font-size:8.5px;line-height:1.45;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-quick-modal-panel{background:#f8fbff;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-quick-context>div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-quick-readonly,
.spp-root--admin[data-spp-theme="light"] .spp-installation-quick-subscription-facts>div,
.spp-root--admin[data-spp-theme="light"] .spp-installation-quick-section{background:#fff;border-color:rgba(30,58,82,.13);}
.spp-root--admin[data-spp-theme="light"] .spp-protected-binding-field[readonly]{background:#effaf5!important;color:#184f37!important;border-color:#b7dfcc!important;}
@media(max-width:820px){
  .spp-installation-quick-modal{padding:12px;}
  .spp-installation-quick-modal-panel{width:100%;max-height:92vh;border-radius:18px;}
  .spp-installation-quick-modal-head{border-radius:18px 18px 0 0;}
  .spp-installation-quick-modal-grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .spp-installation-quick-context,.spp-installation-quick-subscription-facts{grid-template-columns:1fr;}
  .spp-installation-quick-modal-body{padding-left:16px;padding-right:16px;}
}

/* Smart Pro Portal 3.2.4 — Installation Edit Confirmation Layering & Dirty-State Hotfix */
.spp-installation-change-confirm-modal{z-index:1000001;}
.spp-installation-change-confirm-modal .spp-followup-modal-dialog{
  width:min(680px,100%);
  color:#f7fbff!important;
  background:#0c1424!important;
  border-color:rgba(148,163,184,.24)!important;
  box-shadow:0 30px 100px rgba(0,0,0,.62)!important;
}
.spp-installation-change-confirm-modal .spp-followup-modal-head h2{color:#f7fbff!important;}
.spp-installation-change-confirm-modal .spp-followup-modal-body>p{color:#aebed0!important;}
/* The installation confirmation may open above the 999999 Quick Management layer.
   Its backdrop is a semantic button, so fully neutralize global button/theme styling. */
.spp-installation-change-confirm-modal .spp-followup-modal-backdrop{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  color:transparent!important;
  background:rgba(2,7,16,.82)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
  cursor:pointer!important;
}

.spp-installation-change-list{display:grid;gap:8px;margin:12px 0 4px;}
.spp-installation-change-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);gap:14px;align-items:center;padding:11px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.025);}
.spp-installation-change-row strong{font-size:12px;}
.spp-installation-change-row>span{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;color:var(--spp-muted);font-size:11px;min-width:0;}
.spp-installation-change-row del,.spp-installation-change-row ins{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:7px 8px;border-radius:9px;background:rgba(255,255,255,.035);}
.spp-installation-change-row ins{color:var(--spp-text);font-weight:800;background:rgba(0,212,255,.07);}
.spp-installation-change-row b{color:var(--spp-cyan);}
.spp-installation-change-confirm-body .spp-notice{margin:12px 0 0;}
.spp-btn[data-spp-installation-save]:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.55);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-change-row{background:#f8fbfd;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-change-row del{background:#eef3f7;color:#60758a;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-change-row ins{background:#e8f8fc;color:#102033;}
@media (max-width:680px){.spp-installation-change-row{grid-template-columns:1fr}.spp-installation-change-row>span{grid-template-columns:1fr}.spp-installation-change-row b{display:none;}}


/* =========================================================
   Smart Pro Portal 3.3.6 — Remote Access UX polish
   ========================================================= */
html.spp-modal-open,html.spp-modal-open body{overflow:hidden;}
.spp-remote-access-reset-modal .spp-followup-modal-backdrop,
.spp-remote-access-reset-modal .spp-followup-modal-backdrop:hover,
.spp-remote-access-reset-modal .spp-followup-modal-backdrop:focus,
.spp-remote-access-reset-modal .spp-followup-modal-backdrop:focus-visible{
  background:rgba(2,8,18,.78)!important;
  backdrop-filter:blur(5px)!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
}
.spp-installation-remote-overview .spp-remote-notice-managed{position:relative;padding-right:42px;transition:opacity .18s ease,transform .18s ease;}
.spp-remote-notice-dismiss{position:absolute;top:8px;right:9px;display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:rgba(255,255,255,.025);color:currentColor;font:inherit;font-size:17px;line-height:1;cursor:pointer;opacity:.72;}
.spp-remote-notice-dismiss:hover,.spp-remote-notice-dismiss:focus-visible{opacity:1;border-color:rgba(81,207,255,.36);outline:none;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tabs{background:#f1f6fa;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tab{background:#fff;color:#526b82;border-color:rgba(30,58,82,.15);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tab:hover,.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tab:focus-visible{color:#17779b;border-color:rgba(23,119,155,.28);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tab.is-active,.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tab[aria-selected="true"]{background:#eaf7fb;color:#176681;border-color:rgba(23,119,155,.30);box-shadow:inset 0 -2px 0 rgba(23,119,155,.55);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-diagnostic-panel-head{border-color:rgba(30,58,82,.14);}


/* =========================================================
   Smart Pro Portal 3.3.7 — Remote Access Visual Polish & Safety Confirmations
   ========================================================= */
/* Keep diagnostics open intentionally: backdrop never closes it; X/Esc are explicit. */
.spp-installation-tech-tabs{position:relative;align-items:center;}
.spp-installation-tech-tabs-close{position:sticky;right:0;z-index:3;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;margin-left:6px;border:1px solid rgba(148,163,184,.20);border-radius:10px;background:#101a2b;color:var(--spp-text);font:inherit;font-size:21px;line-height:1;cursor:pointer;box-shadow:-12px 0 18px rgba(8,15,28,.88);}
.spp-installation-tech-tabs-close:hover,.spp-installation-tech-tabs-close:focus-visible{border-color:rgba(81,207,255,.48);color:#9cecff;outline:none;}
.spp-installation-tech-tab--deferred{margin-left:auto;}

/* One visual contract for HA / Terminal / Files active sessions. */
.spp-installation-ha-session{padding:11px 12px;}
.spp-installation-ha-session-status{flex:1 1 auto;display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;align-items:center;}
.spp-installation-ha-session-status>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;min-width:0;}
.spp-installation-ha-session-status>div>strong{min-width:0;}
.spp-installation-ha-session-status>div>small{display:flex;align-items:center;gap:8px;margin:0;color:var(--spp-muted);font-size:9px;white-space:nowrap;}
.spp-installation-ha-session-status [data-sppp-ha-countdown],
.spp-installation-ha-session-status [data-sppp-managed-countdown]{display:inline-block;min-width:70px;color:#72efc6;font-size:20px;font-weight:950;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.7px;text-align:right;}
.spp-installation-ha-session.is-warning .spp-installation-ha-session-status [data-sppp-ha-countdown],
.spp-installation-ha-session.is-warning .spp-installation-ha-session-status [data-sppp-managed-countdown]{color:#fbbf55;}

/* Stronger active visibility in Light Mode; generic white cards must not override active state. */
.spp-root--admin[data-spp-theme="light"] .spp-installation-access-action.is-active{background:#e8f8f2;border-color:rgba(12,139,94,.42);box-shadow:inset 0 0 0 1px rgba(12,139,94,.06);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-access-action.is-active strong{color:#0c5e45;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-access-action.is-active>span{color:#087c5b;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-ha-session{background:#eaf9f3;border-color:rgba(12,139,94,.35);box-shadow:inset 0 0 0 1px rgba(12,139,94,.04);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-ha-session-status strong{color:#153d32;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-ha-session-status>div>small{color:#456c61;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-ha-session-status [data-sppp-ha-countdown],
.spp-root--admin[data-spp-theme="light"] .spp-installation-ha-session-status [data-sppp-managed-countdown]{color:#087c5b;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-ha-session-dot{background:#13a875;box-shadow:0 0 0 4px rgba(19,168,117,.13);}

/* Confirmation modals use the same stable Smart Pro backdrop contract. */
.spp-capability-recovery-confirm-modal .spp-followup-modal-backdrop,
.spp-capability-recovery-confirm-modal .spp-followup-modal-backdrop:hover,
.spp-capability-recovery-confirm-modal .spp-followup-modal-backdrop:focus,
.spp-capability-recovery-confirm-modal .spp-followup-modal-backdrop:focus-visible{background:rgba(2,8,18,.78)!important;backdrop-filter:blur(5px)!important;border:0!important;box-shadow:none!important;outline:0!important;filter:none!important;}
.spp-capability-recovery-confirm-modal .spp-followup-modal-dialog{width:min(600px,calc(100vw - 32px));}

/* Diagnostics notices follow the same dismiss/auto-dismiss presentation as daily access. */
.spp-installation-tech-panel .spp-remote-notice-managed{position:relative;padding-right:42px;}

.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tabs-close{background:#fff;color:#16344a;border-color:rgba(30,58,82,.16);box-shadow:-12px 0 18px rgba(241,246,250,.94);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tabs-close:hover,.spp-root--admin[data-spp-theme="light"] .spp-installation-tech-tabs-close:focus-visible{color:#17779b;border-color:rgba(23,119,155,.30);}

@media(max-width:760px){
  .spp-installation-tech-tab--deferred{margin-left:0;}
  .spp-installation-ha-session{align-items:stretch;flex-direction:column;}
  .spp-installation-ha-session-status>div{grid-template-columns:1fr;gap:6px;}
  .spp-installation-ha-session-status>div>small{justify-content:space-between;}
  .spp-installation-ha-session-status [data-sppp-ha-countdown],.spp-installation-ha-session-status [data-sppp-managed-countdown]{font-size:18px;}
  .spp-installation-ha-stop{width:100%;}
}


/* =========================================================
   Smart Pro Portal 3.3.8 — Diagnostics Micro-Polish
   ========================================================= */
/* Optically center and enlarge the Diagnostics close glyph without changing behavior. */
.spp-installation-tech-close,
.spp-installation-tech-tabs-close{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  font-size:0!important;
  line-height:1!important;
}
.spp-installation-tech-close::before,
.spp-installation-tech-tabs-close::before{
  content:"×";
  display:block;
  color:currentColor;
  font-family:Arial,Helvetica,sans-serif;
  font-size:28px;
  font-weight:400;
  line-height:1;
  transform:translateY(-1px);
}
.spp-installation-tech-tabs-close{
  flex-basis:38px;
  width:38px;
  height:38px;
  border-radius:11px;
}

/* Recovery confirmation must look actionable immediately, not only after hover/focus. */
.spp-root--admin .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm],
.spp-root--admin[data-spp-theme="light"] .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm]{
  color:#03141b!important;
  -webkit-text-fill-color:#03141b!important;
  background:#22d3ee!important;
  border:1px solid #22d3ee!important;
  box-shadow:0 8px 24px rgba(34,211,238,.16)!important;
  opacity:1!important;
  filter:none!important;
}
.spp-root--admin .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm]:hover,
.spp-root--admin .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm]:focus-visible,
.spp-root--admin[data-spp-theme="light"] .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm]:hover,
.spp-root--admin[data-spp-theme="light"] .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm]:focus-visible{
  color:#020b10!important;
  -webkit-text-fill-color:#020b10!important;
  background:#67e8f9!important;
  border-color:#67e8f9!important;
  outline:3px solid rgba(34,211,238,.18)!important;
  outline-offset:2px;
}
.spp-root--admin .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm]:disabled,
.spp-root--admin[data-spp-theme="light"] .spp-capability-recovery-confirm-modal [data-sppp-capability-recovery-confirm]:disabled{
  color:#9aa8b5!important;
  -webkit-text-fill-color:#9aa8b5!important;
  background:#334155!important;
  border-color:#475569!important;
  box-shadow:none!important;
  opacity:.72!important;
  cursor:not-allowed!important;
}

/* =========================================================
   Smart Pro Portal 3.4.0 — Diagnostic Core Foundation
   ========================================================= */
.spp-diagnostics-foundation{display:grid;gap:18px;}
.spp-diagnostic-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.spp-diagnostic-health{display:grid;gap:7px;padding:15px 16px;border:1px solid var(--spp-line);border-radius:16px;background:rgba(255,255,255,.025);}
.spp-diagnostic-health-title{display:flex;align-items:center;gap:9px;color:var(--spp-text);}
.spp-diagnostic-health>span{color:var(--spp-text);font-size:13px;font-weight:800;}
.spp-diagnostic-health>small{color:var(--spp-muted);font-size:11px;line-height:1.45;}
.spp-diagnostic-health-dot{width:10px;height:10px;border-radius:50%;background:var(--spp-muted);box-shadow:0 0 0 4px rgba(159,176,199,.08);}
.spp-diagnostic-health--ok{border-color:rgba(52,211,153,.24);background:rgba(52,211,153,.055);}
.spp-diagnostic-health--ok .spp-diagnostic-health-dot{background:var(--spp-ok);box-shadow:0 0 14px rgba(52,211,153,.5);}
.spp-diagnostic-health--warning{border-color:rgba(251,191,36,.26);background:rgba(251,191,36,.055);}
.spp-diagnostic-health--warning .spp-diagnostic-health-dot{background:var(--spp-warn);box-shadow:0 0 14px rgba(251,191,36,.45);}
.spp-diagnostic-health--error{border-color:rgba(248,113,113,.3);background:rgba(248,113,113,.06);}
.spp-diagnostic-health--error .spp-diagnostic-health-dot{background:#f87171;box-shadow:0 0 14px rgba(248,113,113,.45);}
.spp-diagnostic-health--future{opacity:.76;border-style:dashed;}
.spp-diagnostic-health--unverified{border-color:rgba(148,163,184,.32);background:rgba(148,163,184,.07);}
.spp-diagnostic-health--unverified .spp-diagnostic-health-dot{background:#94a3b8;box-shadow:none;}
.spp-diagnostic-guardian-glance{display:grid;gap:4px;margin-top:12px;padding:12px 14px;border:1px solid rgba(148,163,184,.32);border-radius:14px;background:rgba(148,163,184,.07);}
.spp-diagnostic-guardian-glance strong{color:var(--spp-text);font-size:13px;}
.spp-diagnostic-guardian-glance span{display:block;margin-top:2px;color:var(--spp-text);font-size:13px;}
.spp-diagnostic-guardian-glance small{color:var(--spp-muted);font-size:11px;line-height:1.45;}
.spp-diagnostic-guardian-glance--quiet{border-color:rgba(52,211,153,.24);background:rgba(52,211,153,.05);}
.spp-diagnostic-guardian-glance--warning{border-color:rgba(251,191,36,.28);background:rgba(251,191,36,.06);}
.spp-diagnostic-folder-desk{display:grid;gap:10px;margin-top:0;padding:12px 14px;border:1px solid rgba(148,163,184,.32);border-radius:14px;background:rgba(148,163,184,.07);}
.spp-diagnostic-folder-desk-block{display:grid;gap:4px;}
.spp-diagnostic-folder-desk strong{color:var(--spp-text);font-size:13px;}
.spp-diagnostic-folder-desk span{color:var(--spp-text);font-size:13px;}
.spp-diagnostic-folder-desk small{color:var(--spp-muted);font-size:11px;line-height:1.45;}
.spp-diagnostic-folder-desk .spp-btn{justify-self:start;margin-top:4px;}
.spp-request-diagnostic-body-inner>.spp-diagnostic-folder-desk{margin-bottom:12px;}
.spp-diagnostic-folder-note{display:grid;gap:8px;margin-top:6px;}
.spp-diagnostic-folder-note label{display:grid;gap:4px;color:var(--spp-text);font-size:12px;}
.spp-diagnostic-folder-note textarea,.spp-diagnostic-folder-note select{width:100%;max-width:520px;border:1px solid rgba(148,163,184,.35);border-radius:10px;background:rgba(15,23,42,.35);color:var(--spp-text);padding:8px 10px;font:inherit;}
.spp-diagnostic-folder-note textarea{min-height:72px;resize:vertical;}
.spp-diagnostic-source-strip{display:flex;flex-wrap:wrap;gap:8px;}
.spp-diagnostic-source-strip span{padding:7px 10px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-muted);font-size:10px;font-weight:800;background:rgba(255,255,255,.025);}
.spp-diagnostic-source-strip span.is-future{border-style:dashed;opacity:.7;}
.spp-diagnostic-timeline-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-top:3px;}
.spp-diagnostic-timeline-head>div{display:grid;gap:4px;}
.spp-diagnostic-timeline-head strong{color:var(--spp-text);font-size:14px;}
.spp-diagnostic-timeline-head small{color:var(--spp-muted);font-size:11px;}
.spp-diagnostic-schema-state{white-space:nowrap;padding:7px 9px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-muted);font-size:10px;font-weight:850;}
.spp-diagnostic-schema-state.is-ready{color:#8ef0c7;border-color:rgba(52,211,153,.24);background:rgba(52,211,153,.06);}
.spp-diagnostic-timeline{display:grid;max-height:380px;overflow:auto;padding-right:4px;border-top:1px solid var(--spp-line);border-bottom:1px solid var(--spp-line);}
.spp-diagnostic-event{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:13px 2px;border-bottom:1px solid var(--spp-line);}
.spp-diagnostic-event:last-child{border-bottom:0;}
.spp-diagnostic-event-dot{width:9px;height:9px;margin-top:7px;border-radius:50%;background:var(--spp-cyan);box-shadow:0 0 12px rgba(0,212,255,.36);}
.spp-diagnostic-event--warning .spp-diagnostic-event-dot{background:var(--spp-warn);box-shadow:0 0 12px rgba(251,191,36,.38);}
.spp-diagnostic-event--error .spp-diagnostic-event-dot,.spp-diagnostic-event--critical .spp-diagnostic-event-dot{background:#f87171;box-shadow:0 0 12px rgba(248,113,113,.42);}
.spp-diagnostic-event-main{min-width:0;}
.spp-diagnostic-event-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;margin-bottom:5px;}
.spp-diagnostic-event-meta strong{color:var(--spp-text);font-size:11px;}
.spp-diagnostic-event-meta span{color:var(--spp-muted);font-size:10px;text-transform:uppercase;letter-spacing:.45px;}
.spp-diagnostic-event-meta time{margin-left:auto;color:var(--spp-muted);font-size:10px;white-space:nowrap;}
.spp-diagnostic-event p{margin:0;color:var(--spp-text);font-size:12px;line-height:1.5;}
.spp-diagnostic-event small{display:block;margin-top:5px;color:var(--spp-muted);font-size:9px;word-break:break-all;}
.spp-diagnostic-foundation-note{display:grid;gap:4px;padding:12px 13px;border:1px dashed var(--spp-line);border-radius:13px;background:rgba(255,255,255,.018);}
.spp-diagnostic-foundation-note strong{color:var(--spp-text);font-size:11px;}
.spp-diagnostic-foundation-note span{color:var(--spp-muted);font-size:11px;line-height:1.5;}

.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-health{background:#f8fbfd;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-health--ok{background:#f0fbf7;border-color:rgba(16,185,129,.24);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-health--warning{background:#fff9eb;border-color:rgba(217,119,6,.25);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-health--error{background:#fff3f3;border-color:rgba(220,38,38,.22);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-health--unverified{background:#f8fafc;border-color:rgba(100,116,139,.28);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-guardian-glance{background:#f8fafc;border-color:rgba(100,116,139,.28);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-guardian-glance--quiet{background:#f0fbf7;border-color:rgba(16,185,129,.24);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-guardian-glance--warning{background:#fff9eb;border-color:rgba(217,119,6,.25);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-folder-desk{background:#f8fafc;border-color:rgba(100,116,139,.28);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-folder-note textarea,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-folder-note select{background:#fff;color:#0f172a;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-strip span,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-foundation-note{background:#f8fbfd;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-schema-state.is-ready{color:#087a55;background:#ecfdf5;border-color:rgba(16,185,129,.22);}

@media(max-width:900px){
  .spp-diagnostic-health-grid{grid-template-columns:1fr;}
  .spp-diagnostic-timeline-head{align-items:flex-start;flex-direction:column;}
  .spp-diagnostic-event-meta time{margin-left:0;width:100%;}
}

/* Smart Pro Portal 3.4.2 — Runtime Source Health Detail */
.spp-diagnostic-source-section{display:grid;gap:10px;}
.spp-diagnostic-source-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;}
.spp-diagnostic-source-heading>div{display:grid;gap:3px;}
.spp-diagnostic-source-heading strong{color:var(--spp-text);font-size:13px;}
.spp-diagnostic-source-heading small{color:var(--spp-muted);font-size:10px;line-height:1.45;}
.spp-diagnostic-source-heading>span{padding:6px 9px;border:1px dashed var(--spp-line);border-radius:999px;color:var(--spp-muted);font-size:9px;font-weight:800;white-space:nowrap;opacity:.78;}
.spp-diagnostic-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.spp-diagnostic-source-card{min-width:0;display:grid;gap:7px;padding:12px 13px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.022);}
.spp-diagnostic-source-title{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;}
.spp-diagnostic-source-title strong{min-width:0;color:var(--spp-text);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.spp-diagnostic-source-title>span:last-child{padding:4px 7px;border-radius:999px;border:1px solid var(--spp-line);color:var(--spp-muted);font-size:8px;font-weight:850;white-space:nowrap;text-transform:uppercase;letter-spacing:.25px;}
.spp-diagnostic-source-dot{width:8px;height:8px;border-radius:50%;background:var(--spp-muted);box-shadow:0 0 0 3px rgba(159,176,199,.07);}
.spp-diagnostic-source-card p{margin:0;color:var(--spp-text);font-size:10px;line-height:1.45;}
.spp-diagnostic-source-card>small{color:var(--spp-muted);font-size:9px;line-height:1.4;}
.spp-diagnostic-source-card--ok{border-color:rgba(52,211,153,.2);background:rgba(52,211,153,.035);}
.spp-diagnostic-source-card--ok .spp-diagnostic-source-dot{background:var(--spp-ok);box-shadow:0 0 11px rgba(52,211,153,.45);}
.spp-diagnostic-source-card--ok .spp-diagnostic-source-title>span:last-child{color:#8ef0c7;border-color:rgba(52,211,153,.22);background:rgba(52,211,153,.055);}
.spp-diagnostic-source-card--warning{border-color:rgba(251,191,36,.22);background:rgba(251,191,36,.035);}
.spp-diagnostic-source-card--warning .spp-diagnostic-source-dot{background:var(--spp-warn);box-shadow:0 0 11px rgba(251,191,36,.4);}
.spp-diagnostic-source-card--warning .spp-diagnostic-source-title>span:last-child{color:#fbd56a;border-color:rgba(251,191,36,.24);background:rgba(251,191,36,.055);}
.spp-diagnostic-source-card--error{border-color:rgba(248,113,113,.25);background:rgba(248,113,113,.04);}
.spp-diagnostic-source-card--error .spp-diagnostic-source-dot{background:#f87171;box-shadow:0 0 11px rgba(248,113,113,.42);}
.spp-diagnostic-source-card--error .spp-diagnostic-source-title>span:last-child{color:#fca5a5;border-color:rgba(248,113,113,.25);background:rgba(248,113,113,.06);}
.spp-diagnostic-source-card--unknown,.spp-diagnostic-source-card--unmonitored{border-style:dashed;opacity:.82;}
.spp-diagnostic-source-card--unmonitored .spp-diagnostic-source-title>span:last-child,.spp-diagnostic-source-card--unknown .spp-diagnostic-source-title>span:last-child{border-style:dashed;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card{background:#f8fbfd;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card--ok{background:#f0fbf7;border-color:rgba(16,185,129,.22);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card--warning{background:#fff9eb;border-color:rgba(217,119,6,.22);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card--error{background:#fff3f3;border-color:rgba(220,38,38,.2);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card--ok .spp-diagnostic-source-title>span:last-child{color:#087a55;background:#ecfdf5;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card--warning .spp-diagnostic-source-title>span:last-child{color:#9a5a00;background:#fff8e6;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card--error .spp-diagnostic-source-title>span:last-child{color:#b42318;background:#fff1f1;}
@media (max-width:980px){.spp-diagnostic-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.spp-diagnostic-source-heading{align-items:flex-start;flex-direction:column;}.spp-diagnostic-source-grid{grid-template-columns:1fr;}}


/* Smart Pro Portal 3.4.3 — Diagnostic Timeline & Source Drill-down. */
.spp-diagnostic-source-card[role="button"]{cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;}
.spp-diagnostic-source-card[role="button"]:hover{transform:translateY(-1px);border-color:rgba(71,211,255,.25);}
.spp-diagnostic-source-card[role="button"]:focus-visible{outline:2px solid rgba(71,211,255,.75);outline-offset:2px;}
.spp-diagnostic-source-card.is-selected{border-color:rgba(71,211,255,.56)!important;box-shadow:0 0 0 2px rgba(71,211,255,.1),0 12px 30px rgba(0,0,0,.14);background:rgba(71,211,255,.055)!important;}
.spp-diagnostic-filter-panel{display:grid;gap:9px;padding:11px 12px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018);}
.spp-diagnostic-filter-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 16px;}
.spp-diagnostic-filter-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
.spp-diagnostic-filter-group>span{margin-right:2px;color:var(--spp-muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.35px;}
.spp-diagnostic-filter-group button,.spp-diagnostic-filter-status button{appearance:none;border:1px solid var(--spp-line);border-radius:999px;background:rgba(255,255,255,.025);color:var(--spp-muted);padding:6px 9px;font:inherit;font-size:9px;font-weight:800;cursor:pointer;}
.spp-diagnostic-filter-group button:hover,.spp-diagnostic-filter-status button:hover{border-color:rgba(71,211,255,.26);color:var(--spp-text);}
.spp-diagnostic-filter-group button.is-active{color:#a9efff;border-color:rgba(71,211,255,.3);background:rgba(71,211,255,.075);}
.spp-diagnostic-filter-status{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--spp-muted);font-size:9px;}
.spp-diagnostic-filter-status>span{padding:5px 8px;border:1px solid var(--spp-line);border-radius:999px;background:rgba(255,255,255,.018);}
.spp-diagnostic-filter-status button{margin-left:auto;}
.spp-diagnostic-event[hidden]{display:none!important;}
.spp-diagnostic-event-toggle{margin-top:7px;padding:0;border:0;background:transparent;color:var(--spp-cyan);font:inherit;font-size:9px;font-weight:800;cursor:pointer;}
.spp-diagnostic-event-toggle:hover{text-decoration:underline;}
.spp-diagnostic-event-detail{margin-top:9px;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018);}
.spp-diagnostic-event-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px;margin:0;}
.spp-diagnostic-event-detail dl>div{min-width:0;display:grid;gap:2px;}
.spp-diagnostic-event-detail dt{color:var(--spp-muted);font-size:8px;text-transform:uppercase;letter-spacing:.35px;}
.spp-diagnostic-event-detail dd{margin:0;color:var(--spp-text);font-size:9px;word-break:break-word;}
.spp-diagnostic-filter-empty{margin-top:8px;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-filter-panel,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-event-detail{background:#f8fbfd;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-filter-group button,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-filter-status button,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-filter-status>span{background:#fff;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-filter-group button.is-active{color:#087a8a;background:#eafaff;border-color:rgba(8,122,138,.22);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-card.is-selected{background:#eefbff!important;border-color:rgba(8,122,138,.36)!important;}
@media (max-width:760px){.spp-diagnostic-filter-row{align-items:flex-start;flex-direction:column;}.spp-diagnostic-filter-status button{margin-left:0;}.spp-diagnostic-event-detail dl{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.spp-diagnostic-event-detail dl{grid-template-columns:1fr;}}


/* Smart Pro Portal 3.4.4 — Incident Acknowledgement Foundation. */
.spp-status-badge--acknowledged{color:#c8b7ff;background:rgba(139,92,246,.11);border-color:rgba(167,139,250,.28);}
.spp-diagnostic-incident{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:14px;align-items:end;padding:13px 14px;border:1px solid rgba(251,191,36,.23);border-radius:14px;background:rgba(251,191,36,.035);}
.spp-diagnostic-incident.is-acknowledged{border-color:rgba(167,139,250,.28);background:rgba(139,92,246,.045);}
.spp-diagnostic-incident-copy{display:grid;gap:5px;min-width:0;}
.spp-diagnostic-incident-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.spp-diagnostic-incident-title strong{color:var(--spp-text);font-size:11px;}
.spp-diagnostic-incident-title span{padding:4px 7px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-warn);font-size:8px;font-weight:850;letter-spacing:.3px;}
.spp-diagnostic-incident.is-acknowledged .spp-diagnostic-incident-title span{color:#c8b7ff;border-color:rgba(167,139,250,.28);background:rgba(139,92,246,.08);}
.spp-diagnostic-incident-copy p{margin:0;color:var(--spp-text);font-size:10px;line-height:1.5;}
.spp-diagnostic-incident-copy small{color:var(--spp-muted);font-size:9px;line-height:1.45;}
.spp-diagnostic-ack-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,.55fr) auto;gap:8px;align-items:end;}
.spp-diagnostic-ack-form label{display:grid;gap:4px;min-width:0;}
.spp-diagnostic-ack-form label>span{color:var(--spp-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.3px;}
.spp-diagnostic-ack-form input,.spp-diagnostic-ack-form select{width:100%;min-height:38px;padding:8px 9px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.025);color:var(--spp-text);font:inherit;font-size:10px;}
.spp-diagnostic-ack-form--clear{display:flex;justify-content:flex-end;}
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--acknowledged{color:#6d46b8;background:#f5f0ff;border-color:rgba(109,70,184,.2);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident{background:#fff9eb;border-color:rgba(217,119,6,.2);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident.is-acknowledged{background:#f8f4ff;border-color:rgba(109,70,184,.2);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-ack-form input,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-ack-form select{background:#fff;border-color:rgba(30,58,82,.14);}
@media(max-width:980px){.spp-diagnostic-incident{grid-template-columns:1fr;}.spp-diagnostic-ack-form{grid-template-columns:1fr 1fr;}.spp-diagnostic-ack-form .spp-btn{grid-column:1/-1;justify-self:start;}}
@media(max-width:620px){.spp-diagnostic-ack-form{grid-template-columns:1fr;}.spp-diagnostic-ack-form .spp-btn{grid-column:auto;width:100%;}}

/* Smart Pro Portal 3.4.5 — Snooze & Planned Maintenance Foundation. */
.spp-status-badge--snoozed{color:#9ddcf7;background:rgba(14,165,233,.10);border-color:rgba(56,189,248,.25);}
.spp-status-badge--maintenance{color:#b7c9ff;background:rgba(59,130,246,.10);border-color:rgba(96,165,250,.26);}
.spp-diagnostic-handling-stack{display:grid;gap:10px;}
.spp-diagnostic-maintenance,.spp-diagnostic-maintenance-setup{border:1px solid rgba(96,165,250,.22);border-radius:14px;background:rgba(59,130,246,.035);}
.spp-diagnostic-maintenance{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;padding:13px 14px;}
.spp-diagnostic-maintenance .spp-diagnostic-incident-title span{color:#b7c9ff;border-color:rgba(96,165,250,.26);background:rgba(59,130,246,.08);}
.spp-diagnostic-maintenance-setup>summary{cursor:pointer;list-style:none;padding:11px 13px;color:var(--spp-text);font-size:10px;font-weight:850;}
.spp-diagnostic-maintenance-setup>summary::-webkit-details-marker{display:none;}
.spp-diagnostic-maintenance-setup>summary:after{content:'+';float:right;color:var(--spp-muted);font-size:15px;line-height:1;}
.spp-diagnostic-maintenance-setup[open]>summary:after{content:'–';}
.spp-diagnostic-maintenance-setup[open]>summary{border-bottom:1px solid var(--spp-line);}
.spp-diagnostic-maintenance-setup>small{display:block;padding:0 13px 12px;color:var(--spp-muted);font-size:9px;line-height:1.45;}
.spp-diagnostic-handling-form{display:grid;grid-template-columns:minmax(200px,1fr) minmax(110px,.45fr) auto;gap:8px;align-items:end;padding:12px 13px 8px;}
.spp-diagnostic-handling-form label{display:grid;gap:4px;min-width:0;}
.spp-diagnostic-handling-form label>span{color:var(--spp-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.3px;}
.spp-diagnostic-handling-form input,.spp-diagnostic-handling-form select{width:100%;min-height:38px;padding:8px 9px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.025);color:var(--spp-text);font:inherit;font-size:10px;}
.spp-diagnostic-incident.is-snoozed{border-color:rgba(56,189,248,.25);background:rgba(14,165,233,.04);}
.spp-diagnostic-incident.is-snoozed .spp-diagnostic-incident-title span{color:#9ddcf7;border-color:rgba(56,189,248,.25);background:rgba(14,165,233,.08);}
.spp-diagnostic-incident-actions{display:grid;gap:8px;min-width:0;}
.spp-diagnostic-snooze-form{padding:0;}
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--snoozed{color:#036f95;background:#ecfaff;border-color:rgba(3,111,149,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-status-badge--maintenance{color:#315da8;background:#f0f5ff;border-color:rgba(49,93,168,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-maintenance,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-maintenance-setup{background:#f5f8ff;border-color:rgba(49,93,168,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident.is-snoozed{background:#effbff;border-color:rgba(3,111,149,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-handling-form input,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-handling-form select{background:#fff;border-color:rgba(30,58,82,.14);}
@media(max-width:980px){.spp-diagnostic-maintenance{grid-template-columns:1fr;}.spp-diagnostic-handling-form{grid-template-columns:1fr 1fr;}.spp-diagnostic-handling-form .spp-btn{grid-column:1/-1;justify-self:start;}}
@media(max-width:620px){.spp-diagnostic-handling-form{grid-template-columns:1fr;}.spp-diagnostic-handling-form .spp-btn{grid-column:auto;width:100%;}}


/* Smart Pro Portal 3.4.6 — Incident Handling UI Polish + Reason Presets. */
.spp-diagnostic-incident{grid-template-columns:minmax(0,1fr);align-items:start;}
.spp-diagnostic-incident-actions{grid-template-columns:minmax(0,1fr);gap:10px;width:100%;}
.spp-diagnostic-ack-form:not(.spp-diagnostic-ack-form--clear),
.spp-diagnostic-handling-form{grid-template-columns:minmax(160px,.95fr) minmax(190px,1.15fr) minmax(105px,.45fr) minmax(132px,auto);gap:8px;width:100%;min-width:0;align-items:end;}
.spp-diagnostic-handling-form{padding:12px 13px 8px;}
.spp-diagnostic-snooze-form{padding:0;}
.spp-diagnostic-ack-form label,.spp-diagnostic-handling-form label{min-width:0;}
.spp-diagnostic-ack-form input,.spp-diagnostic-ack-form select,.spp-diagnostic-handling-form input,.spp-diagnostic-handling-form select{max-width:100%;min-width:0;}
.spp-diagnostic-ack-form .spp-btn,.spp-diagnostic-handling-form .spp-btn{min-width:0;max-width:100%;white-space:normal;text-align:center;justify-content:center;}
.spp-diagnostic-maintenance-setup .spp-diagnostic-handling-form{grid-template-columns:minmax(160px,.95fr) minmax(190px,1.15fr) minmax(105px,.45fr) minmax(150px,auto);}
@media(max-width:1120px){
  .spp-diagnostic-ack-form:not(.spp-diagnostic-ack-form--clear),
  .spp-diagnostic-handling-form,
  .spp-diagnostic-maintenance-setup .spp-diagnostic-handling-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .spp-diagnostic-ack-form:not(.spp-diagnostic-ack-form--clear) .spp-btn,
  .spp-diagnostic-handling-form .spp-btn{grid-column:1/-1;justify-self:start;}
}
@media(max-width:680px){
  .spp-diagnostic-ack-form:not(.spp-diagnostic-ack-form--clear),
  .spp-diagnostic-handling-form,
  .spp-diagnostic-maintenance-setup .spp-diagnostic-handling-form{grid-template-columns:minmax(0,1fr);}
  .spp-diagnostic-ack-form:not(.spp-diagnostic-ack-form--clear) .spp-btn,
  .spp-diagnostic-handling-form .spp-btn{grid-column:auto;width:100%;justify-self:stretch;}
}

/* Smart Pro Portal 3.5.0 — Incident Engine Foundation */
.spp-diagnostic-incident-engine-section{display:grid;gap:10px;}
.spp-diagnostic-incident-engine{display:grid;gap:11px;padding:13px 14px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.025);min-width:0;}
.spp-diagnostic-incident-engine--open{border-color:rgba(248,113,113,.30);background:rgba(239,68,68,.045);}
.spp-diagnostic-incident-engine--recovering{border-color:rgba(56,189,248,.28);background:rgba(14,165,233,.04);}
.spp-diagnostic-incident-engine--resolved{border-color:rgba(74,222,128,.24);background:rgba(34,197,94,.035);}
.spp-diagnostic-incident-engine--empty{border-style:dashed;background:rgba(255,255,255,.015);}
.spp-diagnostic-incident-engine-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;}
.spp-diagnostic-incident-engine-head>div{display:grid;gap:4px;min-width:0;}
.spp-diagnostic-incident-engine-head>div>span{color:var(--spp-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.35px;}
.spp-diagnostic-incident-engine-head strong{color:var(--spp-text);font-size:11px;line-height:1.45;word-break:break-word;}
.spp-diagnostic-incident-engine-state{flex:0 0 auto;padding:5px 8px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-muted);font-size:8px;font-weight:900;letter-spacing:.35px;}
.spp-diagnostic-incident-engine--open .spp-diagnostic-incident-engine-state{color:#fecaca;border-color:rgba(248,113,113,.30);background:rgba(239,68,68,.09);}
.spp-diagnostic-incident-engine--recovering .spp-diagnostic-incident-engine-state{color:#9ddcf7;border-color:rgba(56,189,248,.28);background:rgba(14,165,233,.08);}
.spp-diagnostic-incident-engine--resolved .spp-diagnostic-incident-engine-state{color:#b9f6ca;border-color:rgba(74,222,128,.24);background:rgba(34,197,94,.08);}
.spp-diagnostic-incident-engine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.spp-diagnostic-incident-engine-grid>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018);}
.spp-diagnostic-incident-engine-grid span{color:var(--spp-muted);font-size:8px;text-transform:uppercase;letter-spacing:.25px;}
.spp-diagnostic-incident-engine-grid strong{color:var(--spp-text);font-size:9px;line-height:1.4;word-break:break-word;}
.spp-diagnostic-incident-engine>small{color:var(--spp-muted);font-size:9px;line-height:1.5;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine{background:#fff;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine--open{background:#fff5f5;border-color:rgba(185,28,28,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine--recovering{background:#effaff;border-color:rgba(3,105,161,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine--resolved{background:#f2fbf5;border-color:rgba(22,101,52,.15);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine--empty{background:#f8fbfd;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine-grid>div{background:#fff;border-color:rgba(30,58,82,.10);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine--open .spp-diagnostic-incident-engine-state{color:#991b1b;background:#fff0f0;border-color:rgba(153,27,27,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine--recovering .spp-diagnostic-incident-engine-state{color:#075985;background:#eefaff;border-color:rgba(7,89,133,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine--resolved .spp-diagnostic-incident-engine-state{color:#166534;background:#effaf2;border-color:rgba(22,101,52,.15);}
@media(max-width:820px){.spp-diagnostic-incident-engine-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.spp-diagnostic-incident-engine-head{flex-direction:column;}.spp-diagnostic-incident-engine-grid{grid-template-columns:minmax(0,1fr);}.spp-diagnostic-incident-engine-state{align-self:flex-start;}}


/* Smart Pro Portal 3.5.5 — Incident Detail & Timeline Foundation */
.spp-diagnostic-incident-detail{border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.018);overflow:hidden;}
.spp-diagnostic-incident-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:11px 13px;color:var(--spp-text);font-size:10px;font-weight:850;}
.spp-diagnostic-incident-detail>summary::-webkit-details-marker{display:none;}
.spp-diagnostic-incident-detail>summary:after{content:'+';flex:0 0 auto;color:var(--spp-accent);font-size:16px;line-height:1;}
.spp-diagnostic-incident-detail[open]>summary:after{content:'−';}
.spp-diagnostic-incident-detail>summary small{margin-left:auto;color:var(--spp-muted);font-size:8px;font-weight:700;}
.spp-diagnostic-incident-detail-body{display:grid;gap:12px;padding:0 13px 13px;border-top:1px solid var(--spp-line);}
.spp-diagnostic-incident-lifecycle{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:12px;}
.spp-diagnostic-incident-lifecycle>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018);}
.spp-diagnostic-incident-lifecycle span{color:var(--spp-muted);font-size:8px;text-transform:uppercase;letter-spacing:.25px;}
.spp-diagnostic-incident-lifecycle strong{color:var(--spp-text);font-size:9px;line-height:1.4;word-break:break-word;}
.spp-diagnostic-incident-timeline-head{display:grid;gap:3px;}
.spp-diagnostic-incident-timeline-head strong{color:var(--spp-text);font-size:11px;}
.spp-diagnostic-incident-timeline-head small{color:var(--spp-muted);font-size:9px;line-height:1.45;}
.spp-diagnostic-incident-timeline{display:grid;max-height:360px;overflow:auto;padding-right:4px;border-top:1px solid var(--spp-line);border-bottom:1px solid var(--spp-line);}
.spp-diagnostic-incident-history-item{display:grid;grid-template-columns:12px minmax(0,1fr);gap:8px;padding:10px 2px;border-bottom:1px solid var(--spp-line);}
.spp-diagnostic-incident-history-item:last-child{border-bottom:0;}
.spp-diagnostic-incident-history-dot{width:7px;height:7px;margin-top:5px;border-radius:999px;background:#64748b;box-shadow:0 0 0 4px rgba(100,116,139,.08);}
.spp-diagnostic-incident-history-item--root .spp-diagnostic-incident-history-dot{background:#fb7185;box-shadow:0 0 0 4px rgba(251,113,133,.09);}
.spp-diagnostic-incident-history-item--downstream .spp-diagnostic-incident-history-dot{background:#fbbf24;box-shadow:0 0 0 4px rgba(251,191,36,.08);}
.spp-diagnostic-incident-history-item--recovery .spp-diagnostic-incident-history-dot{background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.08);}
.spp-diagnostic-incident-history-item--handling .spp-diagnostic-incident-history-dot{background:#60a5fa;box-shadow:0 0 0 4px rgba(96,165,250,.08);}
.spp-diagnostic-incident-history-main{display:grid;gap:4px;min-width:0;}
.spp-diagnostic-incident-history-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--spp-muted);font-size:8px;}
.spp-diagnostic-incident-history-meta strong{color:var(--spp-text);font-size:9px;}
.spp-diagnostic-incident-history-meta time{margin-left:auto;}
.spp-diagnostic-incident-history-main p{margin:0;color:var(--spp-text);font-size:9px;line-height:1.5;}
.spp-diagnostic-incident-history-main>small{color:var(--spp-muted);font-size:8px;overflow-wrap:anywhere;}
.spp-diagnostic-incident-relation{padding:3px 6px;border:1px solid var(--spp-line);border-radius:999px;font-size:7px!important;font-weight:850;letter-spacing:.2px;}
.spp-diagnostic-incident-relation--root{color:#fecaca;border-color:rgba(248,113,113,.28);background:rgba(239,68,68,.07);}
.spp-diagnostic-incident-relation--downstream{color:#fde68a;border-color:rgba(251,191,36,.25);background:rgba(245,158,11,.06);}
.spp-diagnostic-incident-relation--recovery{color:#bbf7d0;border-color:rgba(74,222,128,.24);background:rgba(34,197,94,.06);}
.spp-diagnostic-incident-relation--handling{color:#bfdbfe;border-color:rgba(96,165,250,.24);background:rgba(59,130,246,.06);}
.spp-diagnostic-incident.is-recovering{border-color:rgba(56,189,248,.24);background:rgba(14,165,233,.035);}
.spp-diagnostic-incident.is-recovering .spp-diagnostic-incident-title span{color:#9ddcf7;border-color:rgba(56,189,248,.28);background:rgba(14,165,233,.08);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-detail{background:#fff;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-lifecycle>div{background:#fff;border-color:rgba(30,58,82,.10);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident.is-recovering{background:#effaff;border-color:rgba(3,105,161,.16);}
@media(max-width:820px){.spp-diagnostic-incident-lifecycle{grid-template-columns:repeat(2,minmax(0,1fr));}.spp-diagnostic-incident-detail>summary{align-items:flex-start;flex-wrap:wrap;}.spp-diagnostic-incident-detail>summary small{margin-left:0;}}
@media(max-width:560px){.spp-diagnostic-incident-lifecycle{grid-template-columns:minmax(0,1fr);}.spp-diagnostic-incident-history-meta time{margin-left:0;width:100%;}}

/* Smart Pro Portal 3.5.6 — Incident Investigation Summary & Episode Analysis */
.spp-diagnostic-incident-investigation{display:grid;gap:11px;padding:11px 0 2px;border-top:1px solid var(--spp-line);}
.spp-diagnostic-incident-investigation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.spp-diagnostic-incident-investigation-grid>div{display:grid;gap:4px;min-width:0;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018);}
.spp-diagnostic-incident-investigation-grid span,.spp-diagnostic-incident-episode-grid span{color:var(--spp-muted);font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.22px;}
.spp-diagnostic-incident-investigation-grid strong,.spp-diagnostic-incident-episode-grid strong{color:var(--spp-text);font-size:9px;line-height:1.4;overflow-wrap:anywhere;}
.spp-diagnostic-incident-investigation-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 10px;border:1px dashed var(--spp-line);border-radius:10px;background:rgba(255,255,255,.012);}
.spp-diagnostic-incident-investigation-note strong{color:var(--spp-text);font-size:9px;}
.spp-diagnostic-incident-investigation-note span{color:var(--spp-muted);font-size:8px;}
.spp-diagnostic-incident-episodes{display:grid;gap:8px;}
.spp-diagnostic-incident-episodes-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;}
.spp-diagnostic-incident-episodes-head strong{color:var(--spp-text);font-size:9px;}
.spp-diagnostic-incident-episodes-head small{color:var(--spp-muted);font-size:8px;text-align:right;}
.spp-diagnostic-incident-episode{display:grid;gap:8px;padding:10px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.016);}
.spp-diagnostic-incident-episode-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.spp-diagnostic-incident-episode-head strong{color:var(--spp-text);font-size:9px;}
.spp-diagnostic-incident-episode-head span{padding:3px 6px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-muted);font-size:7px;font-weight:900;letter-spacing:.2px;}
.spp-diagnostic-incident-episode--open .spp-diagnostic-incident-episode-head span{color:#fecaca;border-color:rgba(248,113,113,.28);background:rgba(239,68,68,.07);}
.spp-diagnostic-incident-episode--recovering .spp-diagnostic-incident-episode-head span{color:#bae6fd;border-color:rgba(56,189,248,.28);background:rgba(14,165,233,.07);}
.spp-diagnostic-incident-episode--resolved .spp-diagnostic-incident-episode-head span{color:#bbf7d0;border-color:rgba(74,222,128,.24);background:rgba(34,197,94,.06);}
.spp-diagnostic-incident-episode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
.spp-diagnostic-incident-episode-grid>div{display:grid;gap:3px;min-width:0;}
.spp-diagnostic-incident-episode>small{color:var(--spp-muted);font-size:8px;line-height:1.45;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-investigation-grid>div,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-episode{background:#fff;border-color:rgba(30,58,82,.10);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-investigation-note{background:#f8fbfd;border-color:rgba(30,58,82,.12);}
@media(max-width:820px){.spp-diagnostic-incident-investigation-grid,.spp-diagnostic-incident-episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.spp-diagnostic-incident-episodes-head{align-items:flex-start;flex-direction:column;}.spp-diagnostic-incident-episodes-head small{text-align:left;}}
@media(max-width:560px){.spp-diagnostic-incident-investigation-grid,.spp-diagnostic-incident-episode-grid{grid-template-columns:minmax(0,1fr);}}

/* Smart Pro Portal 3.5.7 — Compact Investigation Workspace & Correlation Foundation */
.spp-diagnostic-investigation-workspace{gap:9px;padding-top:10px;}
.spp-diagnostic-investigation-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 1px 2px;}
.spp-diagnostic-investigation-workspace-head>div{display:grid;gap:3px;min-width:0;}
.spp-diagnostic-investigation-workspace-head strong{color:var(--spp-text);font-size:10px;}
.spp-diagnostic-investigation-workspace-head small{color:var(--spp-muted);font-size:8px;line-height:1.45;}
.spp-diagnostic-investigation-workspace-head>span{flex:0 0 auto;padding:4px 7px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-muted);font-size:7px;font-weight:850;white-space:nowrap;}
.spp-diagnostic-investigation-section{border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.012);overflow:hidden;}
.spp-diagnostic-investigation-section>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;padding:10px 11px;color:var(--spp-text);font-size:9px;font-weight:850;}
.spp-diagnostic-investigation-section>summary::-webkit-details-marker{display:none;}
.spp-diagnostic-investigation-section>summary:after{content:'+';flex:0 0 auto;color:var(--spp-accent);font-size:15px;line-height:1;}
.spp-diagnostic-investigation-section[open]>summary:after{content:'−';}
.spp-diagnostic-investigation-section>summary small{margin-left:auto;color:var(--spp-muted);font-size:8px;font-weight:700;text-align:right;overflow-wrap:anywhere;}
.spp-diagnostic-investigation-section-body{display:grid;gap:10px;padding:10px 11px 11px;border-top:1px solid var(--spp-line);}
.spp-diagnostic-correlation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.spp-diagnostic-correlation-grid>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.016);}
.spp-diagnostic-correlation-grid span{color:var(--spp-muted);font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.22px;}
.spp-diagnostic-correlation-grid strong{color:var(--spp-text);font-size:9px;line-height:1.4;overflow-wrap:anywhere;}
.spp-diagnostic-correlation-grid small{color:var(--spp-muted);font-size:8px;line-height:1.4;}
.spp-diagnostic-correlation-edges{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px 10px;border:1px dashed var(--spp-line);border-radius:10px;background:rgba(255,255,255,.01);}
.spp-diagnostic-correlation-edges>strong{color:var(--spp-text);font-size:8px;margin-right:2px;}
.spp-diagnostic-correlation-edges>span{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-text);font-size:8px;}
.spp-diagnostic-correlation-edges>span small{color:var(--spp-muted);font-size:7px;}
.spp-diagnostic-episode-correlation{display:flex;gap:6px;flex-wrap:wrap;padding-top:2px;}
.spp-diagnostic-episode-correlation>span{padding:4px 6px;border:1px dashed var(--spp-line);border-radius:8px;color:var(--spp-muted);font-size:7px;line-height:1.35;}
.spp-diagnostic-episode-correlation b{color:var(--spp-text);font-weight:850;margin-right:3px;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-investigation-section,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-correlation-grid>div{background:#fff;border-color:rgba(30,58,82,.10);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-correlation-edges{background:#f8fbfd;border-color:rgba(30,58,82,.12);}
@media(max-width:820px){.spp-diagnostic-investigation-workspace-head{flex-direction:column;}.spp-diagnostic-investigation-section>summary{align-items:flex-start;flex-wrap:wrap;}.spp-diagnostic-investigation-section>summary small{margin-left:0;text-align:left;}.spp-diagnostic-correlation-grid{grid-template-columns:minmax(0,1fr);}}

/* Smart Pro Portal 3.5.8 — Incident-bound Operator Handling Evidence */
.spp-diagnostic-operator-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.spp-diagnostic-operator-summary-grid>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.016);}
.spp-diagnostic-operator-summary-grid span{color:var(--spp-muted);font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.22px;}
.spp-diagnostic-operator-summary-grid strong{color:var(--spp-text);font-size:10px;line-height:1.35;}
.spp-diagnostic-operator-summary-grid small{color:var(--spp-muted);font-size:7px;line-height:1.35;}
.spp-diagnostic-operator-handling-list{display:grid;gap:7px;}
.spp-diagnostic-operator-handling-item{display:grid;gap:5px;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.012);}
.spp-diagnostic-operator-handling-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.spp-diagnostic-operator-handling-head strong{color:var(--spp-text);font-size:9px;}
.spp-diagnostic-operator-handling-head time{color:var(--spp-muted);font-size:8px;white-space:nowrap;}
.spp-diagnostic-operator-handling-meta{display:flex;gap:6px;flex-wrap:wrap;}
.spp-diagnostic-operator-handling-meta span{padding:3px 6px;border:1px dashed var(--spp-line);border-radius:7px;color:var(--spp-muted);font-size:7px;line-height:1.35;}
.spp-diagnostic-operator-handling-item>small{color:var(--spp-muted);font-size:8px;line-height:1.45;}
.spp-diagnostic-operator-handling-item--acknowledged{border-color:rgba(129,140,248,.25);background:rgba(99,102,241,.035);}
.spp-diagnostic-operator-handling-item--snoozed{border-color:rgba(56,189,248,.25);background:rgba(14,165,233,.035);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-operator-summary-grid>div,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-operator-handling-item{background:#fff;border-color:rgba(30,58,82,.10);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-operator-handling-item--acknowledged{background:#f7f7ff;border-color:rgba(79,70,229,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-operator-handling-item--snoozed{background:#f2fbff;border-color:rgba(3,105,161,.14);}
@media(max-width:820px){.spp-diagnostic-operator-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.spp-diagnostic-operator-summary-grid{grid-template-columns:minmax(0,1fr);}.spp-diagnostic-operator-handling-head{align-items:flex-start;flex-direction:column;}.spp-diagnostic-operator-handling-head time{white-space:normal;}}

/* Smart Pro Portal 3.5.9 — Cross-Incident Recurrence Foundation */
.spp-diagnostic-cross-recurrence-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}
.spp-diagnostic-cross-recurrence-grid>div,
.spp-diagnostic-cross-recurrence-latest,
.spp-diagnostic-cross-recurrence-item{
  border:1px solid var(--spp-border,#29344a);
  border-radius:12px;
  background:rgba(255,255,255,.018);
}
.spp-diagnostic-cross-recurrence-grid>div{padding:12px;display:flex;flex-direction:column;gap:5px}
.spp-diagnostic-cross-recurrence-grid span,
.spp-diagnostic-cross-recurrence-grid small{font-size:11px;opacity:.76}
.spp-diagnostic-cross-recurrence-grid strong{font-size:13px}
.spp-diagnostic-cross-recurrence-latest{padding:11px 12px;margin-bottom:10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.spp-diagnostic-cross-recurrence-latest small{margin-left:auto;opacity:.78}
.spp-diagnostic-cross-recurrence-list{display:grid;gap:8px}
.spp-diagnostic-cross-recurrence-item{padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center}
.spp-diagnostic-cross-recurrence-item>div{display:flex;align-items:center;gap:8px;min-width:0}
.spp-diagnostic-cross-recurrence-item>small{grid-column:1/-1;opacity:.78}
.spp-diagnostic-cross-recurrence-item.is-current{border-color:rgba(71,219,174,.38);background:rgba(71,219,174,.045)}
.spp-diagnostic-cross-recurrence-current{font-size:10px;font-weight:800;letter-spacing:.04em;padding:3px 7px;border-radius:999px;border:1px solid rgba(71,219,174,.35);color:#7ff0c9}
@media (max-width:900px){.spp-diagnostic-cross-recurrence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.spp-diagnostic-cross-recurrence-grid{grid-template-columns:1fr}.spp-diagnostic-cross-recurrence-item{grid-template-columns:1fr}.spp-diagnostic-cross-recurrence-latest small{margin-left:0;width:100%}}

/* Smart Pro Portal 3.5.10 — Cross-Incident Recurrence Trend Foundation */
.spp-diagnostic-recurrence-trend{
  margin:0 0 12px;
  padding:13px;
  border:1px solid var(--spp-border,#29344a);
  border-radius:14px;
  background:rgba(255,255,255,.018);
}
.spp-diagnostic-recurrence-trend-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}
.spp-diagnostic-recurrence-trend-head>div{display:flex;flex-direction:column;gap:4px}
.spp-diagnostic-recurrence-trend-head span{font-size:11px;letter-spacing:.03em;text-transform:uppercase;opacity:.72;font-weight:800}
.spp-diagnostic-recurrence-trend-head strong{font-size:18px;line-height:1.2}
.spp-diagnostic-recurrence-trend-head>small{font-size:11px;opacity:.72;text-align:right}
.spp-diagnostic-recurrence-trend-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.spp-diagnostic-recurrence-trend-grid>div{
  min-width:0;
  padding:10px 11px;
  border:1px solid var(--spp-border,#29344a);
  border-radius:11px;
  background:rgba(255,255,255,.014);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.spp-diagnostic-recurrence-trend-grid span{font-size:11px;opacity:.72}
.spp-diagnostic-recurrence-trend-grid strong{font-size:15px;line-height:1.25}
.spp-diagnostic-recurrence-trend-compare{
  margin-top:10px;
  padding:9px 11px;
  border:1px dashed rgba(148,163,184,.22);
  border-radius:11px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.spp-diagnostic-recurrence-trend-compare span{font-size:12px}
.spp-diagnostic-recurrence-trend-compare strong{font-size:13px}
.spp-diagnostic-recurrence-trend-compare small{font-size:11px;opacity:.72}
.spp-diagnostic-recurrence-trend--denser_recently{border-color:rgba(56,189,248,.28);background:rgba(14,165,233,.028)}
.spp-diagnostic-recurrence-trend--sparser_recently{border-color:rgba(129,140,248,.24);background:rgba(99,102,241,.022)}
.spp-diagnostic-recurrence-trend--steady{border-color:rgba(71,219,174,.24);background:rgba(71,219,174,.02)}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-recurrence-trend,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-recurrence-trend-grid>div{background:#fff;border-color:rgba(30,58,82,.10)}
@media(max-width:900px){.spp-diagnostic-recurrence-trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.spp-diagnostic-recurrence-trend-head{flex-direction:column}.spp-diagnostic-recurrence-trend-head>small{text-align:left}.spp-diagnostic-recurrence-trend-grid{grid-template-columns:1fr}.spp-diagnostic-recurrence-trend-compare{align-items:flex-start;flex-direction:column;gap:6px}}


/* 3.5.11 — recurrence family aggregate summary */
.spp-diagnostic-problem-family{
  margin:12px 0;
  padding:14px;
  border:1px solid rgba(56,189,248,.22);
  border-radius:14px;
  background:rgba(14,165,233,.022);
}
.spp-diagnostic-problem-family-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.spp-diagnostic-problem-family-head>div{display:flex;flex-direction:column;gap:4px}
.spp-diagnostic-problem-family-head span{font-size:11px;letter-spacing:.03em;text-transform:uppercase;opacity:.72;font-weight:800}
.spp-diagnostic-problem-family-head strong{font-size:18px;line-height:1.2}
.spp-diagnostic-problem-family-head>small{font-size:11px;opacity:.72;text-align:right}
.spp-diagnostic-problem-family-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.spp-diagnostic-problem-family-grid>div{
  min-width:0;
  padding:11px 12px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:12px;
  background:rgba(255,255,255,.012);
  display:flex;
  flex-direction:column;
  gap:5px;
}
.spp-diagnostic-problem-family-grid span{font-size:11px;opacity:.72}
.spp-diagnostic-problem-family-grid strong{font-size:15px;line-height:1.25}
.spp-diagnostic-problem-family-foot{
  margin-top:10px;
  padding:10px 12px;
  border:1px dashed rgba(148,163,184,.18);
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.spp-diagnostic-problem-family-foot span{font-size:12px}
.spp-diagnostic-problem-family-foot strong{font-size:13px}
.spp-diagnostic-problem-family-foot small{font-size:11px;opacity:.72;flex-basis:100%}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-problem-family,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-problem-family-grid>div{background:#fff;border-color:rgba(30,58,82,.10)}
@media(max-width:900px){.spp-diagnostic-problem-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.spp-diagnostic-problem-family-head{flex-direction:column}.spp-diagnostic-problem-family-head>small{text-align:left}.spp-diagnostic-problem-family-grid{grid-template-columns:1fr}}

/* 3.5.12 — effective diagnostic policy + attention foundation */
.spp-diagnostic-attention{
  margin:2px 0 12px;
  padding:14px;
  border:1px solid rgba(245,158,11,.24);
  border-radius:14px;
  background:rgba(245,158,11,.022);
}
.spp-diagnostic-attention-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.spp-diagnostic-attention-head>div{display:flex;flex-direction:column;gap:4px}
.spp-diagnostic-attention-head span{font-size:11px;letter-spacing:.03em;text-transform:uppercase;opacity:.72;font-weight:800}
.spp-diagnostic-attention-head strong{font-size:18px;line-height:1.2}
.spp-diagnostic-attention-head>small{font-size:11px;opacity:.72;text-align:right}
.spp-diagnostic-attention-signals{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.spp-diagnostic-attention-signals>div{
  min-width:0;
  padding:10px 11px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:11px;
  background:rgba(255,255,255,.012);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.spp-diagnostic-attention-signals>div.is-met{border-color:rgba(245,158,11,.26);background:rgba(245,158,11,.025)}
.spp-diagnostic-attention-signals span{font-size:11px;opacity:.72}
.spp-diagnostic-attention-signals strong{font-size:14px;line-height:1.2}
.spp-diagnostic-attention-signals small{font-size:10px;opacity:.68}
.spp-diagnostic-attention-foot{
  margin-top:10px;
  padding:9px 11px;
  border:1px dashed rgba(148,163,184,.18);
  border-radius:11px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.spp-diagnostic-attention-foot span{font-size:12px}
.spp-diagnostic-attention-foot strong{font-size:13px}
.spp-diagnostic-attention-foot small{font-size:11px;opacity:.72;flex-basis:100%}
.spp-diagnostic-attention--normal{border-color:rgba(71,219,174,.24);background:rgba(71,219,174,.018)}
.spp-diagnostic-attention--monitor{border-color:rgba(56,189,248,.24);background:rgba(56,189,248,.02)}
.spp-diagnostic-attention--review{border-color:rgba(245,158,11,.30);background:rgba(245,158,11,.028)}
.spp-diagnostic-policy-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.spp-diagnostic-policy-group{
  min-width:0;
  padding:12px;
  border:1px solid var(--spp-border,#29344a);
  border-radius:13px;
  background:rgba(255,255,255,.012);
}
.spp-diagnostic-policy-group>strong{display:block;font-size:12px;margin-bottom:9px}
.spp-diagnostic-policy-group>div{display:grid;gap:7px}
.spp-diagnostic-policy-group span{
  min-width:0;
  padding:8px 9px;
  border:1px solid rgba(148,163,184,.13);
  border-radius:10px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:2px 8px;
  align-items:center;
}
.spp-diagnostic-policy-group small{font-size:10px;opacity:.7}
.spp-diagnostic-policy-group b{font-size:13px;white-space:nowrap}
.spp-diagnostic-policy-group em{grid-column:1/-1;font-size:10px;opacity:.62;font-style:normal}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-attention,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-attention-signals>div,
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-group{background:#fff;border-color:rgba(30,58,82,.10)}
@media(max-width:900px){.spp-diagnostic-attention-signals,.spp-diagnostic-policy-groups{grid-template-columns:1fr}}
@media(max-width:560px){.spp-diagnostic-attention-head{flex-direction:column}.spp-diagnostic-attention-head>small{text-align:left}}

/* 3.5.13 — compact policy precedence verification harness */
.spp-diagnostic-policy-precedence-test {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(78, 179, 255, .28);
  border-radius: 16px;
  background: rgba(8, 24, 43, .38);
}
.spp-diagnostic-policy-precedence-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.spp-diagnostic-policy-precedence-head > div { display: grid; gap: 4px; }
.spp-diagnostic-policy-precedence-head span { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.spp-diagnostic-policy-precedence-head strong { font-size: 18px; line-height: 1.25; }
.spp-diagnostic-policy-precedence-head small { line-height: 1.45; opacity: .78; }
.spp-diagnostic-policy-test-state {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 999px;
  font-size: 11px !important;
  white-space: nowrap;
}
.spp-diagnostic-policy-test-state.is-active { border-color: rgba(56, 189, 248, .55); }
.spp-diagnostic-policy-precedence-chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.spp-diagnostic-policy-precedence-chain > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 12px;
  background: rgba(15, 23, 42, .28);
}
.spp-diagnostic-policy-precedence-chain > span.is-effective { border-color: rgba(34, 211, 238, .35); }
.spp-diagnostic-policy-precedence-chain small { opacity: .72; }
.spp-diagnostic-policy-precedence-chain b { font-size: 17px; }
.spp-diagnostic-policy-test-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.spp-diagnostic-policy-test-form small { opacity: .74; }
.spp-diagnostic-policy-test-feedback {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, .25);
}
.spp-diagnostic-policy-test-feedback.is-success { border-color: rgba(52, 211, 153, .38); }
.spp-diagnostic-policy-test-feedback.is-warning { border-color: rgba(251, 191, 36, .42); }
@media (max-width: 920px) {
  .spp-diagnostic-policy-precedence-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spp-diagnostic-policy-precedence-head { flex-direction: column; }
}
@media (max-width: 560px) {
  .spp-diagnostic-policy-precedence-chain { grid-template-columns: 1fr; }
}


/* 3.5.15 — compact read-only policy change audit */
.spp-diagnostic-policy-audit{margin-top:14px;border:1px solid rgba(148,163,184,.18);border-radius:14px;overflow:hidden;background:rgba(15,23,42,.18)}
.spp-diagnostic-policy-audit>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;cursor:pointer;font-weight:800;list-style:none}
.spp-diagnostic-policy-audit>summary::-webkit-details-marker{display:none}
.spp-diagnostic-policy-audit>summary small{font-size:11px;opacity:.75;font-weight:700}
.spp-diagnostic-policy-audit-body{display:grid;gap:12px;padding:0 15px 15px;border-top:1px solid rgba(148,163,184,.14)}
.spp-diagnostic-policy-audit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding-top:13px}
.spp-diagnostic-policy-audit-summary>span{display:grid;gap:4px;padding:11px 12px;border:1px solid rgba(148,163,184,.15);border-radius:12px;background:rgba(15,23,42,.28)}
.spp-diagnostic-policy-audit-summary small{font-size:10px;opacity:.7}
.spp-diagnostic-policy-audit-summary strong{font-size:15px;line-height:1.25}
.spp-diagnostic-policy-audit-list{display:grid;gap:8px}
.spp-diagnostic-policy-audit-item{display:grid;gap:7px;padding:11px 12px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:rgba(15,23,42,.22)}
.spp-diagnostic-policy-audit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.spp-diagnostic-policy-audit-head>div{display:grid;gap:3px}
.spp-diagnostic-policy-audit-head strong{font-size:13px}
.spp-diagnostic-policy-audit-head>div>span{font-size:12px;opacity:.86}
.spp-diagnostic-policy-audit-meta{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:10px;opacity:.7}
.spp-diagnostic-policy-audit-item>small{font-size:10px;line-height:1.45;opacity:.75}
.spp-diagnostic-policy-audit-state{padding:4px 7px;border:1px solid rgba(148,163,184,.22);border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.03em;white-space:nowrap}
.spp-diagnostic-policy-audit-state.is-active{border-color:rgba(34,211,238,.42)}
.spp-diagnostic-policy-audit-state.is-restored{border-color:rgba(52,211,153,.36)}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-audit,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-audit-summary>span,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-audit-item{background:#fff;border-color:rgba(30,58,82,.10)}
@media(max-width:900px){.spp-diagnostic-policy-audit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.spp-diagnostic-policy-audit-summary{grid-template-columns:1fr}.spp-diagnostic-policy-audit-head{flex-direction:column}}


/* 3.5.16 — capability-aware Admin policy editor foundation */
.spp-diagnostic-policy-editor{margin-top:14px;border:1px solid rgba(34,211,238,.22);border-radius:14px;overflow:hidden;background:rgba(8,24,43,.25)}
.spp-diagnostic-policy-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;cursor:pointer;font-weight:800;list-style:none}
.spp-diagnostic-policy-editor>summary::-webkit-details-marker{display:none}
.spp-diagnostic-policy-editor>summary small{font-size:11px;opacity:.75;font-weight:700}
.spp-diagnostic-policy-editor-body{display:grid;gap:12px;padding:0 15px 15px;border-top:1px solid rgba(148,163,184,.14)}
.spp-diagnostic-policy-editor-note{display:grid;gap:4px;padding:12px;margin-top:13px;border:1px dashed rgba(34,211,238,.24);border-radius:12px}
.spp-diagnostic-policy-editor-note span{font-size:11px;line-height:1.5;opacity:.78}
.spp-diagnostic-policy-editor-list{display:grid;gap:10px}
.spp-diagnostic-policy-editor-item{display:grid;gap:10px;padding:13px;border:1px solid rgba(148,163,184,.16);border-radius:13px;background:rgba(15,23,42,.22)}
.spp-diagnostic-policy-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.spp-diagnostic-policy-editor-head>div{display:grid;gap:3px}.spp-diagnostic-policy-editor-head strong{font-size:14px}.spp-diagnostic-policy-editor-head small{font-size:10px;opacity:.62}
.spp-diagnostic-policy-editor-head>span{padding:4px 7px;border:1px solid rgba(148,163,184,.22);border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.04em}
.spp-diagnostic-policy-editor-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.spp-diagnostic-policy-editor-values>span{display:grid;gap:3px;padding:9px 10px;border:1px solid rgba(148,163,184,.13);border-radius:10px}
.spp-diagnostic-policy-editor-values small{font-size:9px;opacity:.65}.spp-diagnostic-policy-editor-values b{font-size:15px}.spp-diagnostic-policy-editor-values em{font-size:9px;opacity:.65;font-style:normal}
.spp-diagnostic-policy-editor-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.spp-diagnostic-policy-editor-form label{display:grid;gap:4px;font-size:10px;opacity:.85}.spp-diagnostic-policy-editor-form input[type=number]{width:110px;min-height:38px;padding:7px 9px;border-radius:9px;border:1px solid rgba(148,163,184,.24);background:rgba(15,23,42,.35);color:inherit}
.spp-diagnostic-policy-editor-form>small{font-size:10px;opacity:.65}.spp-diagnostic-policy-editor-form.is-confirm{padding-top:2px}.spp-diagnostic-policy-editor-form.is-reset{padding-top:2px}
.spp-diagnostic-policy-editor-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 11px;border:1px solid rgba(34,211,238,.3);border-radius:10px;background:rgba(34,211,238,.05)}
.spp-diagnostic-policy-editor-preview>span{display:grid;gap:2px}.spp-diagnostic-policy-editor-preview small{font-size:9px;opacity:.67}.spp-diagnostic-policy-editor-preview strong{font-size:15px}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-editor,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-editor-item{background:#fff;border-color:rgba(30,58,82,.10)}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-editor-form input[type=number]{background:#fff;border-color:rgba(30,58,82,.16)}
@media(max-width:760px){.spp-diagnostic-policy-editor-values{grid-template-columns:1fr}.spp-diagnostic-policy-editor>summary{align-items:flex-start;flex-direction:column}}

/* 3.5.19 — scope-aware policy impact preview + compact policy workspace navigation */
.spp-diagnostic-policy-quicknav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border:1px solid rgba(34,211,238,.18);border-radius:12px;background:rgba(8,24,43,.22)}
.spp-diagnostic-policy-quicknav strong{font-size:11px;margin-right:2px}
.spp-diagnostic-policy-quicknav a{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid rgba(148,163,184,.18);border-radius:999px;text-decoration:none;font-size:10px;font-weight:800;color:inherit;background:rgba(15,23,42,.26)}
.spp-diagnostic-policy-quicknav a:hover{border-color:rgba(34,211,238,.42)}
.spp-diagnostic-policy-quicknav small{font-size:9px;opacity:.64;margin-left:auto}
#spp-policy-effective,#spp-policy-installation-editor,#spp-policy-global-editor,#spp-policy-verification,#spp-policy-installation-audit,#spp-policy-global-audit{scroll-margin-top:18px}
.spp-diagnostic-policy-impact-preview{display:grid;gap:9px;padding:11px 12px;border:1px solid rgba(56,189,248,.24);border-radius:11px;background:rgba(14,165,233,.045)}
.spp-diagnostic-policy-impact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.spp-diagnostic-policy-impact-head strong{font-size:12px}.spp-diagnostic-policy-impact-head span{font-size:9px;font-weight:900;letter-spacing:.04em;opacity:.72}
.spp-diagnostic-policy-impact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.spp-diagnostic-policy-impact-grid>span{display:grid;gap:3px;padding:8px 9px;border:1px solid rgba(148,163,184,.13);border-radius:9px;background:rgba(15,23,42,.18)}
.spp-diagnostic-policy-impact-grid small{font-size:9px;opacity:.65}.spp-diagnostic-policy-impact-grid b{font-size:11px;line-height:1.35}
.spp-diagnostic-policy-impact-preview p{margin:0;font-size:11px;line-height:1.5}.spp-diagnostic-policy-impact-preview>small{font-size:9px;line-height:1.45;opacity:.7}
.spp-diagnostic-policy-verification-details{margin-top:14px;border:1px solid rgba(148,163,184,.16);border-radius:14px;overflow:hidden;background:rgba(15,23,42,.16)}
.spp-diagnostic-policy-verification-details>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;cursor:pointer;list-style:none;font-weight:800}
.spp-diagnostic-policy-verification-details>summary::-webkit-details-marker{display:none}.spp-diagnostic-policy-verification-details>summary small{font-size:10px;opacity:.66}
.spp-diagnostic-policy-verification-details>.spp-diagnostic-policy-precedence-test{margin:0;border:0;border-top:1px solid rgba(148,163,184,.14);border-radius:0}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-quicknav,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-impact-preview,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-policy-verification-details{background:#fff;border-color:rgba(30,58,82,.10)}
@media(max-width:900px){.spp-diagnostic-policy-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.spp-diagnostic-policy-impact-grid{grid-template-columns:1fr}.spp-diagnostic-policy-impact-head{flex-direction:column}.spp-diagnostic-policy-quicknav small{width:100%;margin-left:0}}

/* 3.5.20 lifecycle what-if: intentionally read-only, compact, inside existing policy workspace. */
.spp-diagnostic-lifecycle-whatif{border-color:rgba(245,158,11,.20)}
.spp-diagnostic-lifecycle-whatif>summary small{color:#fbbf24}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-lifecycle-whatif{border-color:rgba(180,83,9,.16)}

/* 3.5.21 controlled lifecycle stabilization pilot */
#spp-policy-lifecycle-whatif{scroll-margin-top:18px}
.spp-diagnostic-lifecycle-pilot-guard{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 11px;border:1px dashed rgba(245,158,11,.28);border-radius:10px;background:rgba(245,158,11,.035)}
.spp-diagnostic-lifecycle-pilot-guard strong{font-size:11px}.spp-diagnostic-lifecycle-pilot-guard span{font-size:10px;font-weight:800}.spp-diagnostic-lifecycle-pilot-guard small{width:100%;font-size:9px;line-height:1.45;opacity:.7}
.spp-diagnostic-lifecycle-pilot-save{padding-top:2px}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-lifecycle-pilot-guard{background:#fff;border-color:rgba(180,83,9,.18)}

/* Smart Pro Portal 3.5.25 — Diagnostics Logs & Export Foundation. */
.spp-diagnostic-export-panel{display:grid;gap:10px;padding:13px 14px;border:1px solid rgba(71,211,255,.2);border-radius:15px;background:rgba(71,211,255,.035);}
.spp-diagnostic-export-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;}
.spp-diagnostic-export-panel-head>div{display:grid;gap:3px;min-width:0;}
.spp-diagnostic-export-panel-head strong{color:var(--spp-text);font-size:12px;}
.spp-diagnostic-export-panel-head small,.spp-diagnostic-export-note{color:var(--spp-muted);font-size:9px;line-height:1.45;}
.spp-diagnostic-download-primary{white-space:nowrap;text-decoration:none!important;}
.spp-diagnostic-export-actions{display:flex;flex-wrap:wrap;gap:7px;}
.spp-diagnostic-export-actions a,.spp-diagnostic-source-actions a,.spp-diagnostic-section-download a,.spp-diagnostic-timeline-head-actions>a,.spp-diagnostic-incident-engine-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border:1px solid rgba(71,211,255,.22);border-radius:10px;background:rgba(71,211,255,.045);color:#a9efff;font-size:9px;font-weight:850;text-decoration:none;line-height:1.2;transition:border-color .16s ease,background .16s ease,transform .16s ease;}
.spp-diagnostic-export-actions a:hover,.spp-diagnostic-source-actions a:hover,.spp-diagnostic-section-download a:hover,.spp-diagnostic-timeline-head-actions>a:hover,.spp-diagnostic-incident-engine-actions>a:hover{border-color:rgba(71,211,255,.46);background:rgba(71,211,255,.09);transform:translateY(-1px);}
.spp-diagnostic-source-actions{display:flex;justify-content:flex-end;padding-top:2px;}
.spp-diagnostic-source-actions a{min-height:26px;padding:5px 8px;font-size:8px;}
.spp-diagnostic-section-download{display:flex;justify-content:flex-end;margin-bottom:10px;}
.spp-diagnostic-timeline-head-actions,.spp-diagnostic-incident-engine-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-export-panel{background:#f2fbfe;border-color:rgba(8,122,138,.2);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-export-actions a,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-source-actions a,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-section-download a,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-timeline-head-actions>a,.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-incident-engine-actions>a{color:#086c7c;background:#effbfe;border-color:rgba(8,122,138,.22);}
@media (max-width:720px){.spp-diagnostic-export-panel-head{align-items:stretch;flex-direction:column;}.spp-diagnostic-download-primary{width:100%;}.spp-diagnostic-export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.spp-diagnostic-export-actions a{width:100%;}.spp-diagnostic-timeline-head{align-items:flex-start!important;}.spp-diagnostic-timeline-head-actions{justify-content:flex-start;}}
@media (max-width:460px){.spp-diagnostic-export-actions{grid-template-columns:1fr;}}

/* =========================================================
   Smart Pro Portal 3.5.56 — Diagnostics UX Structure Pass 1
   Structure/spacing only. No diagnostic logic or color-system changes.
   ========================================================= */
.spp-diagnostics-foundation{gap:12px;}
.spp-diagnostics-foundation>.spp-card-head{order:0;}
.spp-diagnostics-foundation>#spp-installation-health-v1{order:1;}
.spp-diagnostics-foundation>#spp-diagnostic-fresh-check{order:2;}
.spp-diagnostics-foundation>.spp-diagnostic-health-grid--overview{order:3;}
.spp-diagnostics-foundation>#spp-diagnostic-operations{order:4;}
.spp-diagnostics-foundation>[data-spp-diagnostic-ux-key="history"]{order:5;}
.spp-diagnostics-foundation>[data-spp-diagnostic-ux-key="sources"]{order:6;}
.spp-diagnostics-foundation>[data-spp-diagnostic-ux-key="incident"]{order:7;}
.spp-diagnostics-foundation>[data-spp-diagnostic-ux-key="events"]{order:8;}
.spp-diagnostics-foundation>[data-spp-diagnostic-ux-key="storage-policies"]{order:9;}
.spp-diagnostics-foundation>[data-spp-diagnostic-ux-key="context"]{order:10;}
.spp-diagnostics-foundation>[data-spp-diagnostic-ux-key="downloads"]{order:11;}
.spp-diagnostics-foundation>.spp-diagnostic-foundation-note{order:12;}

/* Compact daily-use panels. */
#spp-installation-health-v1,
.spp-diagnostic-fresh-check-panel{padding:11px 13px;gap:8px;}
#spp-installation-health-v1 .spp-diagnostic-export-panel-head,
.spp-diagnostic-fresh-check-panel .spp-diagnostic-export-panel-head{align-items:center;}
#spp-installation-health-v1 .spp-diagnostic-export-note,
.spp-diagnostic-fresh-check-panel .spp-diagnostic-export-note{margin:0;}
.spp-diagnostic-fresh-check-panel .spp-btn{min-height:38px;padding:8px 13px;}

/* Main visual dashboard: six cards stay visible, but become materially shorter. */
.spp-diagnostic-health-grid--overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-health{min-height:116px;padding:11px 12px;gap:5px;align-content:start;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-health-title{gap:7px;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-health-title strong{font-size:11px;line-height:1.25;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-health>span{font-size:11px;line-height:1.3;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-health>small{font-size:9px;line-height:1.38;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-health-dot{width:8px;height:8px;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-source-actions{margin-top:auto;padding-top:3px;}
.spp-diagnostic-health-grid--overview .spp-diagnostic-source-actions a{min-height:24px;padding:4px 7px;font-size:8px;}

/* Daily-use actions stay outside the technical Incident investigation. */
.spp-diagnostic-operations{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018);}
.spp-diagnostic-operations-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;}
.spp-diagnostic-operations-head>div{display:grid;gap:3px;min-width:0;}
.spp-diagnostic-operations-head strong{color:var(--spp-text);font-size:11px;line-height:1.3;}
.spp-diagnostic-operations-head small{color:var(--spp-muted);font-size:9px;line-height:1.4;}
.spp-diagnostic-operations-head>span{flex:0 0 auto;padding:4px 7px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-muted);font-size:8px;font-weight:850;line-height:1.2;}
.spp-diagnostic-operations .spp-diagnostic-handling-stack{gap:8px;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-operations{background:#f8fbfd;border-color:rgba(30,58,82,.12);}

/* Shared accordion shell for the diagnostic workbench. */
.spp-diagnostic-ux-details{border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018);overflow:hidden;}
.spp-diagnostic-ux-details>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 13px;cursor:pointer;list-style:none;color:var(--spp-text);}
.spp-diagnostic-ux-details>summary::-webkit-details-marker{display:none;}
.spp-diagnostic-ux-details>summary>span{font-size:11px;font-weight:850;line-height:1.3;}
.spp-diagnostic-ux-details>summary>small{color:var(--spp-muted);font-size:9px;font-weight:750;line-height:1.3;text-align:right;}
.spp-diagnostic-ux-details>summary:after{content:'+';grid-column:3;color:var(--spp-muted);font-size:15px;font-weight:800;line-height:1;}
.spp-diagnostic-ux-details[open]>summary:after{content:'–';}
.spp-diagnostic-ux-details[open]>summary{border-bottom:1px solid var(--spp-line);background:rgba(255,255,255,.014);}
.spp-diagnostic-ux-details-body{padding:10px 12px 12px;}
.spp-diagnostic-ux-details-body>.spp-diagnostic-export-panel{border-radius:12px;}
.spp-diagnostic-ux-details--downloads .spp-diagnostic-ux-details-body{padding:9px;}
.spp-diagnostic-ux-details--downloads .spp-diagnostic-export-panel{border:0;background:transparent;padding:4px;}

/* Source and event detail only expand when needed/requested. */
.spp-diagnostic-ux-details--sources[open]{border-color:rgba(251,191,36,.20);}
.spp-diagnostic-ux-details--incident[open]{border-color:rgba(71,211,255,.20);}
.spp-diagnostic-ux-details--events .spp-diagnostic-filter-panel{margin-bottom:10px;}
.spp-diagnostic-ux-details--events .spp-diagnostic-timeline{max-height:330px;}

/* Storage/retention tools are a workshop, not a permanent dashboard. */
.spp-diagnostic-health-grid--advanced{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:start;}
.spp-diagnostic-health-grid--advanced .spp-diagnostic-health{padding:11px 12px;gap:5px;border-radius:13px;}
.spp-diagnostic-health-grid--advanced .spp-diagnostic-health-title strong{font-size:10px;line-height:1.25;}
.spp-diagnostic-health-grid--advanced .spp-diagnostic-health>span{font-size:10px;line-height:1.3;}
.spp-diagnostic-health-grid--advanced .spp-diagnostic-health>small{font-size:8.5px;line-height:1.4;}
.spp-diagnostic-health-grid--advanced .spp-diagnostic-policy-editor-form{gap:6px;}
.spp-diagnostic-health-grid--advanced .spp-diagnostic-policy-editor-form input,
.spp-diagnostic-health-grid--advanced .spp-diagnostic-policy-editor-form select{min-height:34px;}
.spp-diagnostic-health-grid--advanced .spp-btn{min-height:34px;padding:7px 10px;font-size:9px;}

/* Keep technical foundation note quiet. */
.spp-diagnostic-foundation-note{padding:8px 10px;gap:2px;opacity:.76;}
.spp-diagnostic-foundation-note strong{font-size:9px;}
.spp-diagnostic-foundation-note span{font-size:9px;line-height:1.4;}

.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-ux-details{background:#f8fbfd;border-color:rgba(30,58,82,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostic-ux-details[open]>summary{background:#f5f9fc;}

@media(max-width:1100px){
  .spp-diagnostic-health-grid--overview{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-diagnostic-health-grid--advanced{grid-template-columns:1fr;}
}
@media(max-width:700px){
  .spp-diagnostic-health-grid--overview{grid-template-columns:1fr;}
  .spp-diagnostic-operations-head{align-items:stretch;flex-direction:column;}
  .spp-diagnostic-operations-head>span{align-self:flex-start;}
  .spp-diagnostic-ux-details>summary{grid-template-columns:minmax(0,1fr) auto;}
  .spp-diagnostic-ux-details>summary>small{grid-column:1/-1;text-align:left;}
  .spp-diagnostic-ux-details>summary:after{grid-column:2;grid-row:1;}
}


/* Smart Pro Portal 3.5.57 — Diagnostics Daily Actions + Return State.
   Layout-only companion styles; return-state behavior lives in portal.js. */


/* Smart Pro Portal 3.5.58 — Diagnostics Priority Placement Polish.
   UX placement + one visual action affordance only; no diagnostic logic changes. */
.spp-diagnostics-foundation>.spp-diagnostic-folder-desk{order:0;}
.spp-diagnostics-foundation>.spp-diagnostic-guardian-glance{order:1;}
.spp-diagnostics-foundation>#spp-diagnostic-operations{order:2;}
.spp-diagnostics-foundation>#spp-diagnostic-fresh-check{order:3;}
.spp-diagnostics-foundation>.spp-diagnostic-health-grid--overview{order:4;}
#spp-installation-health-v1 .spp-diagnostic-export-panel-head>a[data-spp-diagnostic-download]{
  display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;
  border:1px solid rgba(71,211,255,.22);border-radius:10px;background:rgba(71,211,255,.045);
  color:#a9efff;font-size:9px;font-weight:850;text-decoration:none;line-height:1.2;white-space:nowrap;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
#spp-installation-health-v1 .spp-diagnostic-export-panel-head>a[data-spp-diagnostic-download]:hover{
  border-color:rgba(71,211,255,.46);background:rgba(71,211,255,.09);transform:translateY(-1px);
}
.spp-root--admin[data-spp-theme="light"] #spp-installation-health-v1 .spp-diagnostic-export-panel-head>a[data-spp-diagnostic-download]{
  color:#086c7c;background:#effbfe;border-color:rgba(8,122,138,.22);
}
@media(max-width:720px){
  #spp-installation-health-v1 .spp-diagnostic-export-panel-head>a[data-spp-diagnostic-download]{width:100%;}
}

/* =========================================================
   Smart Pro Portal 3.5.59 — Admin Typography Foundation Pass 1
   Four semantic text roles for daily-use Admin surfaces.
   Typography/readability only: no layout, color-system or runtime logic changes.
   ========================================================= */
.spp-root--admin{
  --spp-type-display:clamp(30px,2.6vw,36px);
  --spp-type-heading:18px;
  --spp-type-body:14px;
  --spp-type-meta:12px;
  --spp-leading-display:1.08;
  --spp-leading-heading:1.28;
  --spp-leading-body:1.55;
  --spp-leading-meta:1.45;
}

/* Level 1 — page / workspace titles. */
.spp-root--admin .spp-dashboard-hero h1,
.spp-root--admin .spp-page-head--admin h1{
  font-size:var(--spp-type-display)!important;
  line-height:var(--spp-leading-display)!important;
  letter-spacing:-.025em;
}

/* Level 2 — card and section titles. */
.spp-root--admin .spp-card h2,
.spp-root--admin .spp-card h3,
.spp-root--admin .spp-card-head h2,
.spp-root--admin .spp-card-head h3,
.spp-root--admin .spp-drawer-head h2{
  font-size:var(--spp-type-heading)!important;
  line-height:var(--spp-leading-heading)!important;
  letter-spacing:-.012em;
}

/* Level 3 — normal reading text, controls and everyday values. */
.spp-root--admin .spp-lead,
.spp-root--admin .spp-sub,
.spp-root--admin .spp-card p,
.spp-root--admin .spp-btn,
.spp-root--admin .spp-nav--admin a,
.spp-root--admin input,
.spp-root--admin select,
.spp-root--admin textarea,
.spp-root--admin .spp-metric strong,
.spp-root--admin .spp-kpi-content strong,
.spp-root--admin .spp-installation-snapshot strong,
.spp-root--admin .spp-installation-fields strong,
.spp-root--admin .spp-installation-mini-summary strong,
.spp-root--admin .spp-detail-facts strong,
.spp-root--admin .spp-admin-data-row>div>strong,
.spp-root--admin .spp-admin-priority-copy strong,
.spp-root--admin .spp-admin-priority-meta b,
.spp-root--admin .spp-activity-item strong,
.spp-root--admin .spp-quick-action-list strong,
.spp-root--admin .spp-installation-summary-grid strong,
.spp-root--admin .spp-installation-subscription-summary strong,
.spp-root--admin .spp-installation-management-summary strong,
.spp-root--admin .spp-installation-support-summary strong,
.spp-root--admin .spp-placeholder-grid span,
.spp-root--admin .spp-compact-list strong,
.spp-root--admin .spp-compact-list em{
  font-size:var(--spp-type-body)!important;
  line-height:var(--spp-leading-body)!important;
}
.spp-root--admin .spp-lead,
.spp-root--admin .spp-sub,
.spp-root--admin .spp-card p,
.spp-root--admin .spp-placeholder-grid span{
  font-weight:500;
}

/* Level 4 — labels, support text, timestamps and badges. */
.spp-root--admin .spp-brand small,
.spp-root--admin .spp-eyebrow,
.spp-root--admin .spp-status-badge,
.spp-root--admin .spp-pill,
.spp-root--admin .spp-metric span,
.spp-root--admin .spp-kpi-content small,
.spp-root--admin .spp-kpi-content em,
.spp-root--admin .spp-installation-snapshot span,
.spp-root--admin .spp-installation-fields span,
.spp-root--admin .spp-installation-mini-summary span,
.spp-root--admin .spp-detail-facts span,
.spp-root--admin .spp-admin-data-row>div>span,
.spp-root--admin .spp-admin-data-row>div>small,
.spp-root--admin .spp-admin-priority-copy small,
.spp-root--admin .spp-admin-priority-meta small,
.spp-root--admin .spp-activity-item small,
.spp-root--admin .spp-activity-item time,
.spp-root--admin .spp-quick-action-list small,
.spp-root--admin .spp-overview-strip span,
.spp-root--admin .spp-admin-mini-kpi span,
.spp-root--admin .spp-admin-mini-kpi small,
.spp-root--admin .spp-admin-sub-kpi span,
.spp-root--admin .spp-admin-subscription-summary-grid span,
.spp-root--admin .spp-admin-filter-count,
.spp-root--admin .spp-installation-summary-grid span,
.spp-root--admin .spp-installation-subscription-summary span,
.spp-root--admin .spp-installation-management-summary span,
.spp-root--admin .spp-installation-support-summary span,
.spp-root--admin .spp-installation-remote-footer>span,
.spp-root--admin .spp-compact-list small,
.spp-root--admin .spp-placeholder-grid em{
  font-size:var(--spp-type-meta)!important;
  line-height:var(--spp-leading-meta)!important;
}

/* Large numeric summaries reuse the display tier instead of creating a fifth size. */
.spp-root--admin .spp-overview-strip strong,
.spp-root--admin .spp-admin-mini-kpi strong,
.spp-root--admin .spp-admin-sub-kpi strong{
  font-size:var(--spp-type-display)!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums;
}
.spp-root--admin .spp-admin-subscription-summary-grid strong{
  font-size:var(--spp-type-heading)!important;
  line-height:1.15!important;
  font-variant-numeric:tabular-nums;
}

/* Readability: keep secondary copy visually secondary, but not physically tiny. */
.spp-root--admin .spp-kpi-content small,
.spp-root--admin .spp-kpi-content em,
.spp-root--admin .spp-admin-data-row>div>span,
.spp-root--admin .spp-admin-data-row>div>small,
.spp-root--admin .spp-activity-item small,
.spp-root--admin .spp-activity-item time,
.spp-root--admin .spp-quick-action-list small,
.spp-root--admin .spp-installation-summary-grid span,
.spp-root--admin .spp-installation-subscription-summary span,
.spp-root--admin .spp-installation-management-summary span,
.spp-root--admin .spp-installation-support-summary span{
  opacity:.92;
}

/* Maintain usable button/control geometry after moving everyday text to 14px. */
.spp-root--admin .spp-btn{min-height:40px;padding-top:9px;padding-bottom:9px;}
.spp-root--admin input,
.spp-root--admin select,
.spp-root--admin textarea{line-height:1.4;}

/* Diagnostics & Logs was just accepted structurally. Keep its compact technical
   internals on the 3.5.58 visual baseline for now; typography there is a later polish pass. */
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-health-grid--overview .spp-diagnostic-health-title strong{font-size:11px!important;line-height:1.25!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-health-grid--overview .spp-diagnostic-health>span{font-size:11px!important;line-height:1.3!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-health-grid--overview .spp-diagnostic-health>small{font-size:9px!important;line-height:1.38!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-health-grid--overview .spp-diagnostic-source-actions a{font-size:8px!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-operations-head strong{font-size:11px!important;line-height:1.3!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-operations-head small{font-size:9px!important;line-height:1.4!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-operations-head>span{font-size:8px!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-ux-details>summary>span{font-size:11px!important;line-height:1.3!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-ux-details>summary>small{font-size:9px!important;line-height:1.3!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-foundation-note strong,
.spp-root--admin .spp-diagnostics-foundation .spp-diagnostic-foundation-note span{font-size:9px!important;}

@media(max-width:720px){
  .spp-root--admin{--spp-type-display:30px;--spp-type-heading:18px;--spp-type-body:14px;--spp-type-meta:12px;}
  .spp-root--admin .spp-btn{min-height:42px;}
}


/* =========================================================
   Smart Pro Portal 3.5.60 — Installation Full Folder Typography Pilot
   Focused readability pilot. Internal tokens only; no settings UI.
   No Diagnostics & Logs retuning and no runtime/backend behavior changes.
   ========================================================= */
.spp-root--admin .spp-page-head--installation,
.spp-root--admin .spp-installation-workspace{
  --spp-install-type-display:clamp(38px,3vw,40px);
  --spp-install-type-heading:20px;
  --spp-install-type-body:15px;
  --spp-install-type-meta:13px;
  --spp-install-copy:#d7e3f1;
  --spp-install-muted:#b5c6d9;
}

/* Page identity: keep the title strong, but make the context beneath it easier to scan. */
.spp-root--admin .spp-page-head--installation h1{
  font-size:var(--spp-install-type-display)!important;
  line-height:1.06!important;
  letter-spacing:-.026em;
}
.spp-root--admin .spp-page-head--installation .spp-eyebrow{
  color:var(--spp-cyan)!important;
  font-size:var(--spp-install-type-meta)!important;
  line-height:1.35!important;
  font-weight:900;
  letter-spacing:.09em;
}
.spp-root--admin .spp-page-head--installation .spp-lead{
  color:var(--spp-install-copy)!important;
  font-size:var(--spp-install-type-body)!important;
  line-height:1.55!important;
  font-weight:520;
}

/* Pilot scope: only the daily-use cards visible at the top of Full Folder. */
.spp-root--admin .spp-installation-live-summary .spp-card-head h2,
.spp-root--admin .spp-installation-remote-overview .spp-card-head h2,
.spp-root--admin .spp-installation-subscription-workspace .spp-card-head h2,
.spp-root--admin .spp-installation-management-workspace .spp-card-head h2{
  font-size:var(--spp-install-type-heading)!important;
  line-height:1.28!important;
  letter-spacing:-.012em;
}
.spp-root--admin .spp-installation-live-summary .spp-eyebrow,
.spp-root--admin .spp-installation-remote-overview .spp-eyebrow,
.spp-root--admin .spp-installation-subscription-workspace .spp-eyebrow,
.spp-root--admin .spp-installation-management-workspace .spp-eyebrow{
  font-size:var(--spp-install-type-meta)!important;
  line-height:1.35!important;
  font-weight:900;
}
.spp-root--admin .spp-installation-live-summary .spp-status-badge,
.spp-root--admin .spp-installation-remote-overview .spp-status-badge,
.spp-root--admin .spp-installation-subscription-workspace .spp-status-badge,
.spp-root--admin .spp-installation-management-workspace .spp-status-badge{
  font-size:12px!important;
  line-height:1.25!important;
}

/* Summary labels and values: remove the 8–12px daily-use microtype. */
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid span,
.spp-root--admin .spp-installation-subscription-workspace .spp-installation-subscription-summary span,
.spp-root--admin .spp-installation-management-workspace .spp-installation-management-summary span{
  color:var(--spp-install-muted)!important;
  font-size:var(--spp-install-type-meta)!important;
  line-height:1.38!important;
  font-weight:820;
  letter-spacing:.045em;
}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid strong,
.spp-root--admin .spp-installation-subscription-workspace .spp-installation-subscription-summary strong,
.spp-root--admin .spp-installation-management-workspace .spp-installation-management-summary strong{
  color:var(--spp-text)!important;
  font-size:var(--spp-install-type-body)!important;
  line-height:1.45!important;
  font-weight:760;
}

/* Descriptive copy: a true reading size with stronger dark-mode contrast. */
.spp-root--admin .spp-installation-subscription-workspace p,
.spp-root--admin .spp-installation-management-workspace p,
.spp-root--admin .spp-installation-subscription-workspace .spp-sub,
.spp-root--admin .spp-installation-management-workspace .spp-sub{
  color:var(--spp-install-copy)!important;
  font-size:var(--spp-install-type-body)!important;
  line-height:1.62!important;
  font-weight:520;
}
.spp-root--admin .spp-installation-subscription-workspace .spp-installation-inline-details>summary,
.spp-root--admin .spp-installation-management-workspace .spp-installation-inline-details>summary,
.spp-root--admin .spp-installation-management-workspace .spp-installation-technical-identifiers>summary{
  font-size:var(--spp-install-type-meta)!important;
  line-height:1.4!important;
}

/* Remote Access is the densest daily-use card, so make its hierarchy unmistakable. */
.spp-root--admin .spp-installation-remote-overview .spp-installation-access-action strong{
  font-size:var(--spp-install-type-body)!important;
  line-height:1.3!important;
  font-weight:760;
}
.spp-root--admin .spp-installation-remote-overview .spp-installation-access-action>span{
  font-size:var(--spp-install-type-meta)!important;
  line-height:1.35!important;
}
.spp-root--admin .spp-installation-remote-overview .spp-installation-capability-recovery{
  min-height:38px;
  padding:8px 10px;
  color:var(--spp-install-muted);
  font-size:12.5px!important;
  line-height:1.35!important;
}
.spp-root--admin .spp-installation-remote-overview .spp-installation-remote-footer>span{
  color:var(--spp-install-muted)!important;
  font-size:12.5px!important;
  line-height:1.55!important;
}
.spp-root--admin .spp-installation-remote-overview .spp-installation-remote-footer .spp-btn,
.spp-root--admin .spp-installation-remote-overview .spp-installation-diagnostics-link{
  font-size:var(--spp-install-type-body)!important;
  line-height:1.35!important;
}
.spp-root--admin .spp-installation-remote-overview .spp-installation-ha-session-status strong{
  font-size:var(--spp-install-type-body)!important;
  line-height:1.4!important;
}
.spp-root--admin .spp-installation-remote-overview .spp-installation-ha-session-status>div>small{
  color:var(--spp-install-muted)!important;
  font-size:var(--spp-install-type-meta)!important;
  line-height:1.4!important;
}

/* Form labels inside the management card use the same metadata tier. */
.spp-root--admin .spp-installation-management-workspace .spp-admin-quick-form label>span{
  color:var(--spp-install-muted)!important;
  font-size:var(--spp-install-type-meta)!important;
  line-height:1.4!important;
}

/* Light Mode equivalent: same scale, semantic contrast rather than dark-only values. */
.spp-root--admin[data-spp-theme="light"] .spp-page-head--installation,
.spp-root--admin[data-spp-theme="light"] .spp-installation-workspace{
  --spp-install-copy:#29445f;
  --spp-install-muted:#526b82;
}

@media(max-width:720px){
  .spp-root--admin .spp-page-head--installation,
  .spp-root--admin .spp-installation-workspace{
    --spp-install-type-display:34px;
    --spp-install-type-heading:19px;
    --spp-install-type-body:15px;
    --spp-install-type-meta:13px;
  }
}


/* =========================================================
   Smart Pro Portal 3.5.61 — Admin Typography & Information Hierarchy Rollout
   Shared Admin design tokens promoted from the 3.5.60 Full Folder pilot.
   Customer Portal and Diagnostics technical internals are intentionally excluded.
   ========================================================= */
.spp-root--admin{
  /* Four semantic typography roles. Future global retuning starts here. */
  --spp-type-page:clamp(36px,3vw,40px);
  --spp-type-section:20px;
  --spp-type-body:15px;
  --spp-type-meta:13px;
  --spp-type-display:var(--spp-type-page);
  --spp-type-heading:var(--spp-type-section);

  /* Information hierarchy. Action cyan stays --spp-cyan; values use a softer tint. */
  --spp-admin-info-label:#edf5fd;
  --spp-admin-info-value:#83e7fb;
  --spp-admin-copy:#cbd9e8;
  --spp-admin-muted:#adbed0;
}

/* The former installation pilot now consumes the same shared system. */
.spp-root--admin .spp-page-head--installation,
.spp-root--admin .spp-installation-workspace{
  --spp-install-type-display:var(--spp-type-page);
  --spp-install-type-heading:var(--spp-type-section);
  --spp-install-type-body:var(--spp-type-body);
  --spp-install-type-meta:var(--spp-type-meta);
  --spp-install-copy:var(--spp-admin-copy);
  --spp-install-muted:var(--spp-admin-muted);
}

/* Page/workspace identity. */
.spp-root--admin .spp-dashboard-hero h1,
.spp-root--admin .spp-page-head h1,
.spp-root--admin .spp-page-head--admin h1{
  font-size:var(--spp-type-page)!important;
  line-height:1.06!important;
  letter-spacing:-.027em;
}
.spp-root--admin .spp-page-head .spp-lead,
.spp-root--admin .spp-dashboard-hero .spp-lead{
  color:var(--spp-admin-copy)!important;
  font-size:var(--spp-type-body)!important;
  line-height:1.55!important;
}
.spp-root--admin .spp-eyebrow{
  font-size:var(--spp-type-meta)!important;
  line-height:1.35!important;
}

/* Section/card hierarchy: one shared section tier, no micro-headings. */
.spp-root--admin .spp-card h2,
.spp-root--admin .spp-card h3,
.spp-root--admin .spp-card-head h2,
.spp-root--admin .spp-card-head h3,
.spp-root--admin .spp-drawer-head h2{
  font-size:var(--spp-type-section)!important;
  line-height:1.28!important;
  letter-spacing:-.012em;
}

/* Comfortable reading copy and controls. */
.spp-root--admin .spp-card p,
.spp-root--admin .spp-sub,
.spp-root--admin .spp-lead,
.spp-root--admin .spp-btn,
.spp-root--admin input,
.spp-root--admin select,
.spp-root--admin textarea,
.spp-root--admin .spp-request-message-field,
.spp-root--admin .spp-request-message--detail{
  font-size:var(--spp-type-body)!important;
  line-height:1.55!important;
}
.spp-root--admin .spp-card p,
.spp-root--admin .spp-sub{
  color:var(--spp-admin-copy)!important;
}
.spp-root--admin .spp-btn{min-height:42px;}
.spp-root--admin .spp-nav--admin a{
  font-size:var(--spp-type-meta)!important;
  line-height:1.35!important;
}

/* Labels: readable near-white; metadata remains secondary but no longer faint. */
.spp-root--admin .spp-kpi-content small,
.spp-root--admin .spp-metric span,
.spp-root--admin .spp-overview-strip span,
.spp-root--admin .spp-admin-mini-kpi span,
.spp-root--admin .spp-admin-sub-kpi span,
.spp-root--admin .spp-admin-subscription-summary-grid span,
.spp-root--admin .spp-installation-snapshot span,
.spp-root--admin .spp-installation-fields span,
.spp-root--admin .spp-installation-mini-summary span,
.spp-root--admin .spp-detail-facts span,
.spp-root--admin .spp-admin-data-row>div>span,
.spp-root--admin .spp-installation-summary-grid span,
.spp-root--admin .spp-installation-subscription-summary span,
.spp-root--admin .spp-installation-management-summary span,
.spp-root--admin .spp-installation-support-summary span,
.spp-root--admin .spp-subscription-facts span,
.spp-root--admin .spp-subscription-confirm-summary span,
.spp-root--admin .spp-subscription-audit-meta span,
.spp-root--admin .spp-admin-request-summary span,
.spp-root--admin .spp-admin-setting-facts span,
.spp-root--admin .spp-admin-quick-form label>span{
  color:var(--spp-admin-info-label)!important;
  font-size:var(--spp-type-meta)!important;
  line-height:1.38!important;
  opacity:1!important;
}

/* Dynamic values: softer informational cyan so they stand out without looking like links. */
.spp-root--admin .spp-kpi-content strong,
.spp-root--admin .spp-metric strong,
.spp-root--admin .spp-overview-strip strong,
.spp-root--admin .spp-admin-mini-kpi strong,
.spp-root--admin .spp-installation-snapshot strong,
.spp-root--admin .spp-installation-fields strong,
.spp-root--admin .spp-installation-mini-summary strong,
.spp-root--admin .spp-detail-facts strong,
.spp-root--admin .spp-admin-data-row>div>strong,
.spp-root--admin .spp-installation-summary-grid strong,
.spp-root--admin .spp-installation-subscription-summary strong,
.spp-root--admin .spp-installation-management-summary strong,
.spp-root--admin .spp-installation-support-summary strong,
.spp-root--admin .spp-subscription-facts strong,
.spp-root--admin .spp-subscription-confirm-summary strong,
.spp-root--admin .spp-admin-setting-facts strong{
  color:var(--spp-admin-info-value)!important;
  overflow-wrap:anywhere;
}

/* Daily-use Full Folder summary cards use the agreed label -> value contrast. */
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid span,
.spp-root--admin .spp-installation-subscription-workspace .spp-installation-subscription-summary span,
.spp-root--admin .spp-installation-management-workspace .spp-installation-management-summary span{
  color:var(--spp-admin-info-label)!important;
}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid strong,
.spp-root--admin .spp-installation-subscription-workspace .spp-installation-subscription-summary strong,
.spp-root--admin .spp-installation-management-workspace .spp-installation-management-summary strong{
  color:var(--spp-admin-info-value)!important;
}

/* Secondary information: brighter than legacy muted text, still below primary/value text. */
.spp-root--admin .spp-kpi-content em,
.spp-root--admin .spp-admin-data-row>div>small,
.spp-root--admin .spp-admin-mini-kpi small,
.spp-root--admin .spp-activity-item small,
.spp-root--admin .spp-activity-item time,
.spp-root--admin .spp-quick-action-list small,
.spp-root--admin .spp-admin-priority-copy small,
.spp-root--admin .spp-admin-priority-meta small,
.spp-root--admin .spp-admin-partner-principles small,
.spp-root--admin .spp-subscription-audit-list span small,
.spp-root--admin .spp-subscription-audit-summary-main small,
.spp-root--admin .spp-subscription-audit-section-head span,
.spp-root--admin .spp-subscription-audit-nochange,
.spp-root--admin .spp-subscription-confirm-note,
.spp-root--admin .spp-installation-remote-footer>span{
  color:var(--spp-admin-muted)!important;
  font-size:var(--spp-type-meta)!important;
  line-height:1.45!important;
  opacity:1!important;
}

/* Dense operational surfaces: remove remaining 8–11px everyday microtype. */
.spp-root--admin .spp-request-code,
.spp-root--admin .spp-request-meta,
.spp-root--admin .spp-filter-chips button,
.spp-root--admin .spp-subscription-entitlements summary,
.spp-root--admin .spp-subscription-entitlements span,
.spp-root--admin .spp-subscription-safety-intro span,
.spp-root--admin .spp-subscription-confirm-note,
.spp-root--admin .spp-subscription-audit-section-head strong,
.spp-root--admin .spp-subscription-audit-changes strong,
.spp-root--admin .spp-subscription-audit-note strong,
.spp-root--admin .spp-subscription-audit-meta strong,
.spp-root--admin .spp-subscription-audit-payment-note strong,
.spp-root--admin .spp-installation-support-recent-label,
.spp-root--admin .spp-installation-support-lane-head span,
.spp-root--admin .spp-installation-quick-subscription>p,
.spp-root--admin .spp-admin-live-toggle small,
.spp-root--admin .spp-admin-quick-form .spp-subscription-source-unlock small{
  font-size:var(--spp-type-meta)!important;
  line-height:1.45!important;
}
.spp-root--admin .spp-admin-priority-copy strong,
.spp-root--admin .spp-admin-priority-meta b,
.spp-root--admin .spp-activity-item strong,
.spp-root--admin .spp-quick-action-list strong,
.spp-root--admin .spp-admin-partner-principles strong,
.spp-root--admin .spp-subscription-safety-intro strong,
.spp-root--admin .spp-subscription-confirm-summary strong,
.spp-root--admin .spp-subscription-financial-guard strong,
.spp-root--admin .spp-subscription-audit-summary-main strong,
.spp-root--admin .spp-installation-support-compact-list strong,
.spp-root--admin .spp-installation-support-lane-head strong,
.spp-root--admin .spp-admin-live-toggle strong{
  font-size:var(--spp-type-body)!important;
  line-height:1.45!important;
}
.spp-root--admin .spp-installation-support-compact-list small,
.spp-root--admin .spp-installation-support-compact-list .spp-status-badge,
.spp-root--admin .spp-installation-support-workspace--sidebar .spp-card-head .spp-status-link,
.spp-root--admin .spp-installation-quick-subscription .spp-status-link{
  font-size:var(--spp-type-meta)!important;
}

/* Statuses remain semantic and therefore override the generic information-value cyan. */
.spp-root--admin .spp-kpi-card--success .spp-kpi-content strong,
.spp-root--admin .spp-admin-mini-kpi--success strong,
.spp-root--admin .spp-admin-sub-kpi--active strong,
.spp-root--admin .spp-admin-subscription-summary-grid .is-active strong{color:#6ee7b7!important;}
.spp-root--admin .spp-kpi-card--warning .spp-kpi-content strong,
.spp-root--admin .spp-admin-mini-kpi--warning strong,
.spp-root--admin .spp-admin-sub-kpi--grace strong,
.spp-root--admin .spp-admin-subscription-summary-grid .is-grace strong{color:#fbbf24!important;}
.spp-root--admin .spp-kpi-card--danger .spp-kpi-content strong,
.spp-root--admin .spp-admin-sub-kpi--expired strong,
.spp-root--admin .spp-admin-sub-kpi--suspended strong,
.spp-root--admin .spp-admin-subscription-summary-grid .is-expired strong,
.spp-root--admin .spp-admin-subscription-summary-grid .is-suspended strong{color:#fda4af!important;}
.spp-root--admin .spp-kpi-card--info .spp-kpi-content strong,
.spp-root--admin .spp-admin-mini-kpi--info strong,
.spp-root--admin .spp-admin-sub-kpi--pending strong,
.spp-root--admin .spp-admin-subscription-summary-grid .is-pending strong{color:#7dd3fc!important;}

/* Layout safety: larger type may wrap; give compact dashboard/fact rows enough vertical air. */
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card{
  min-height:96px!important;
  padding:13px 14px!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-content small,
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-content strong,
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-content em{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
}
.spp-root--admin .spp-admin-data-row,
.spp-root--admin .spp-admin-subscription-summary-grid>div{
  min-height:42px;
}

/* Diagnostics & Logs: freeze the accepted technical typography/contrast baseline. */
.spp-root--admin .spp-diagnostics-foundation{
  --spp-type-section:18px;
  --spp-type-heading:18px;
  --spp-type-body:14px;
  --spp-type-meta:12px;
  --spp-admin-info-label:var(--spp-text);
  --spp-admin-info-value:var(--spp-text);
  --spp-admin-copy:var(--spp-muted);
  --spp-admin-muted:var(--spp-muted);
}
.spp-root--admin .spp-diagnostics-foundation p,
.spp-root--admin .spp-diagnostics-foundation .spp-sub{color:var(--spp-muted)!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-detail-facts span{color:var(--spp-muted)!important;}
.spp-root--admin .spp-diagnostics-foundation .spp-detail-facts strong{color:var(--spp-text)!important;}

/* Light Mode uses the same hierarchy with dark semantic equivalents. */
.spp-root--admin[data-spp-theme="light"]{
  --spp-admin-info-label:#20384f;
  --spp-admin-info-value:#087c98;
  --spp-admin-copy:#36536e;
  --spp-admin-muted:#5b7187;
}
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--success .spp-kpi-content strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-mini-kpi--success strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--active strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-active strong{color:#047857!important;}
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--warning .spp-kpi-content strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-mini-kpi--warning strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--grace strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-grace strong{color:#b45309!important;}
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--danger .spp-kpi-content strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--expired strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--suspended strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-expired strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-suspended strong{color:#be123c!important;}
.spp-root--admin[data-spp-theme="light"] .spp-kpi-card--info .spp-kpi-content strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-mini-kpi--info strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-sub-kpi--pending strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-subscription-summary-grid .is-pending strong{color:#0369a1!important;}

@media(max-width:720px){
  .spp-root--admin{
    --spp-type-page:32px;
    --spp-type-section:19px;
    --spp-type-body:15px;
    --spp-type-meta:13px;
  }
  .spp-root--admin .spp-page-head--installation,
  .spp-root--admin .spp-installation-workspace{
    --spp-install-type-display:var(--spp-type-page);
    --spp-install-type-heading:var(--spp-type-section);
    --spp-install-type-body:var(--spp-type-body);
    --spp-install-type-meta:var(--spp-type-meta);
  }
}

/* Smart Pro Portal 3.5.62 — Installation pairing / safe trash controls */
.spp-btn--danger{
  border:1px solid rgba(251,113,133,.48)!important;
  background:rgba(159,18,57,.18)!important;
  color:#fecdd3!important;
}
.spp-btn--danger:hover,.spp-btn--danger:focus-visible{
  border-color:rgba(251,113,133,.78)!important;
  background:rgba(190,24,93,.27)!important;
  color:#fff1f2!important;
}
.spp-installation-lifecycle-tools{display:grid;gap:12px;margin-top:14px;}
.spp-installation-quick-modal-panel>.spp-installation-lifecycle-tools{padding:0 22px 22px;margin-top:0;}
.spp-installation-lifecycle-block{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  padding:16px;border:1px solid var(--spp-line);border-radius:16px;background:rgba(255,255,255,.018);
}
.spp-installation-lifecycle-block>div:first-child{min-width:0;max-width:720px;}
.spp-installation-lifecycle-block h3{margin:3px 0 6px;font-size:16px;line-height:1.35;color:var(--spp-text);}
.spp-installation-lifecycle-block p{margin:0;color:var(--spp-muted);font-size:13px;line-height:1.55;}
.spp-installation-lifecycle-block form{flex:0 0 auto;align-self:center;margin:0;}
.spp-installation-lifecycle-block--danger{border-color:rgba(251,113,133,.24);background:rgba(127,29,29,.075);}
.spp-installation-removal-lock{display:grid;gap:5px;min-width:260px;padding:10px 12px;border-radius:12px;border:1px solid rgba(245,158,11,.22);background:rgba(245,158,11,.06);color:#fcd34d;font-size:12px;line-height:1.45;}
.spp-installation-lifecycle-details .spp-installation-lifecycle-tools{margin-top:0;}
.spp-installation-lifecycle-details .spp-pairing-box{margin:12px 0 0;}

.spp-installation-trash{margin-top:18px;}
.spp-installation-trash-details{border:1px solid var(--spp-line);border-radius:18px;background:rgba(255,255,255,.012);overflow:hidden;}
.spp-installation-trash-details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;list-style:none;}
.spp-installation-trash-details>summary::-webkit-details-marker{display:none;}
.spp-installation-trash-details>summary>span:first-child{display:grid;gap:4px;}
.spp-installation-trash-details>summary strong{font-size:16px;line-height:1.25;color:var(--spp-text);}
.spp-installation-trash-details>summary small{color:var(--spp-muted);font-size:12px;line-height:1.4;}
.spp-installation-trash-body{display:grid;gap:10px;padding:0 14px 14px;}
.spp-installation-trash-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--spp-line);border-radius:14px;background:var(--spp-card);}
.spp-installation-trash-main{display:grid;gap:3px;min-width:0;}
.spp-installation-trash-main strong{font-size:14px;color:var(--spp-text);}
.spp-installation-trash-main span{font-size:13px;color:var(--spp-info-value,#78dffc);}
.spp-installation-trash-main small{font-size:12px;color:var(--spp-muted);line-height:1.4;}
.spp-installation-trash-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-items:center;}
.spp-installation-trash-actions form{margin:0;}
.spp-installation-removal-lock--trash{grid-column:1/-1;min-width:0;}

.spp-installation-destructive-modal .spp-followup-modal-dialog{max-width:650px;}
.spp-installation-destructive-body{display:grid;gap:15px;}
.spp-installation-destructive-summary{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.02);}
.spp-installation-destructive-summary strong{font-size:16px;color:var(--spp-text);}
.spp-installation-destructive-summary span{font-size:13px;color:var(--spp-info-value,#78dffc);font-weight:700;}
.spp-installation-destructive-warning{padding:13px 14px;border:1px solid rgba(251,113,133,.28);border-radius:13px;background:rgba(127,29,29,.09);color:var(--spp-text);font-size:13px;line-height:1.55;}
.spp-installation-destructive-warning strong{display:block;margin-bottom:5px;color:#fecdd3;}
.spp-installation-destructive-warning ul{margin:0;padding-left:20px;}
.spp-installation-destructive-body label{display:grid;gap:7px;}
.spp-installation-destructive-body label>span{font-size:12px;font-weight:800;color:var(--spp-text);text-transform:none;letter-spacing:0;}
.spp-installation-destructive-body input,.spp-installation-destructive-body textarea{width:100%;}

.spp-root--admin[data-spp-theme="light"] .spp-btn--danger{background:#fff1f2!important;border-color:#fda4af!important;color:#9f1239!important;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-lifecycle-block,
.spp-root--admin[data-spp-theme="light"] .spp-installation-trash-details,
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-summary{background:#fff;border-color:rgba(30,58,82,.13);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-lifecycle-block--danger,
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-warning{background:#fff7f7;border-color:rgba(190,24,93,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-warning strong{color:#9f1239;}

@media (max-width:860px){
  .spp-installation-lifecycle-block{display:grid;grid-template-columns:1fr;}
  .spp-installation-lifecycle-block form{align-self:auto;}
  .spp-installation-trash-row{grid-template-columns:1fr;}
  .spp-installation-trash-actions{justify-content:flex-start;}
  .spp-installation-quick-modal-panel>.spp-installation-lifecycle-tools{padding-left:16px;padding-right:16px;}
}


/* Smart Pro Portal 3.5.63 — Destructive confirmation modal stacking + contrast hotfix */
.spp-installation-destructive-modal{
  z-index:1000005!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color:#f8fafc;
}
.spp-installation-destructive-modal .spp-followup-modal-backdrop,
.spp-installation-destructive-modal .spp-followup-modal-backdrop:hover,
.spp-installation-destructive-modal .spp-followup-modal-backdrop:focus,
.spp-installation-destructive-modal .spp-followup-modal-backdrop:focus-visible{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  background:rgba(2,6,15,.86)!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
  backdrop-filter:blur(7px)!important;
}
.spp-installation-destructive-modal .spp-followup-modal-dialog{
  width:min(650px,calc(100vw - 32px));
  max-height:calc(100vh - 32px);
  overflow:auto;
  background:#0a1222!important;
  color:#f8fafc!important;
  border-color:rgba(126,153,201,.26)!important;
  box-shadow:0 34px 110px rgba(0,0,0,.72)!important;
}
.spp-installation-destructive-modal .spp-followup-modal-head{
  background:#0a1222!important;
  border-color:rgba(126,153,201,.18)!important;
}
.spp-installation-destructive-modal .spp-followup-modal-head h2{
  color:#f8fafc!important;
  opacity:1!important;
}
.spp-installation-destructive-modal .spp-eyebrow{color:#00d4ff!important;}
.spp-installation-destructive-modal .spp-followup-modal-x{
  color:#c8d6e7!important;
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(126,153,201,.24)!important;
}
.spp-installation-destructive-modal .spp-followup-modal-x:hover,
.spp-installation-destructive-modal .spp-followup-modal-x:focus-visible{
  color:#fff!important;
  background:rgba(255,255,255,.085)!important;
  border-color:rgba(0,212,255,.38)!important;
}
.spp-installation-destructive-modal .spp-installation-destructive-summary{
  background:#101a2d!important;
  border-color:rgba(126,153,201,.22)!important;
}
.spp-installation-destructive-modal .spp-installation-destructive-summary strong{color:#f8fafc!important;}
.spp-installation-destructive-modal .spp-installation-destructive-summary span{color:#78dffc!important;}
.spp-installation-destructive-modal .spp-installation-destructive-warning{
  background:rgba(127,29,29,.16)!important;
  border-color:rgba(251,113,133,.34)!important;
  color:#e9f1fb!important;
}
.spp-installation-destructive-modal .spp-installation-destructive-warning strong{color:#fecdd3!important;}
.spp-installation-destructive-modal .spp-installation-destructive-body label>span{color:#f8fafc!important;}
.spp-installation-destructive-modal .spp-installation-destructive-body input,
.spp-installation-destructive-modal .spp-installation-destructive-body textarea{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%;
  padding:13px 14px!important;
  color:#f8fafc!important;
  caret-color:#00d4ff;
  background:#08101e!important;
  background-image:none!important;
  border:1px solid rgba(126,153,201,.28)!important;
  border-radius:12px!important;
  box-shadow:none!important;
  outline:none!important;
}
.spp-installation-destructive-modal .spp-installation-destructive-body input::placeholder,
.spp-installation-destructive-modal .spp-installation-destructive-body textarea::placeholder{color:#8196b2!important;opacity:1;}
.spp-installation-destructive-modal .spp-installation-destructive-body input:focus,
.spp-installation-destructive-modal .spp-installation-destructive-body textarea:focus{
  border-color:rgba(0,212,255,.64)!important;
  box-shadow:0 0 0 3px rgba(0,212,255,.10)!important;
}
.spp-installation-destructive-modal .spp-followup-modal-actions{
  border-top:1px solid rgba(126,153,201,.16);
  background:#0a1222;
}
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-followup-modal-dialog,
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-followup-modal-head,
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-followup-modal-actions{
  background:#f8fbff!important;
  color:#102235!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-followup-modal-head h2,
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-installation-destructive-summary strong,
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-installation-destructive-body label>span{color:#102235!important;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-installation-destructive-summary{background:#fff!important;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-installation-destructive-body input,
.spp-root--admin[data-spp-theme="light"] .spp-installation-destructive-modal .spp-installation-destructive-body textarea{
  color:#102235!important;
  background:#fff!important;
  border-color:rgba(30,58,82,.22)!important;
}

/* 3.5.66 — Admin Recent Activity drill-down + absolute timestamp */
.spp-root--admin .spp-activity-copy{min-width:0}
.spp-root--admin .spp-activity-more{display:inline-flex;align-items:center;margin-top:7px;color:var(--spp-cyan);font-size:12px;font-weight:800;text-decoration:none}
.spp-root--admin .spp-activity-more:hover,.spp-root--admin .spp-activity-more:focus-visible{text-decoration:underline;text-underline-offset:3px}
.spp-root--admin .spp-activity-item time{display:grid;justify-items:end;gap:3px;text-align:right;min-width:132px}
.spp-root--admin .spp-activity-item time>span{color:var(--spp-text);font-size:12px;font-weight:800;white-space:nowrap}
.spp-root--admin .spp-activity-item time>small{margin:0;color:var(--spp-muted);font-size:11px;white-space:nowrap}
@media(max-width:760px){
  .spp-root--admin .spp-activity-item time{grid-column:2;justify-items:start;text-align:left;min-width:0}
}



/* 3.5.67 — Admin Dashboard action de-duplication + Today/Next */
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-card{min-height:0;}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-list{display:grid;gap:9px;}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:11px;
  align-items:start;
  padding:12px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  color:var(--spp-text)!important;
  text-decoration:none!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-item:hover{border-color:rgba(0,212,255,.24);background:rgba(0,212,255,.045);}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-icon{
  width:34px;height:34px;display:grid;place-items:center;border-radius:10px;
  color:var(--spp-cyan);background:var(--spp-cyan-soft);font-weight:900;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-copy{min-width:0;}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-copy strong,
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-copy small,
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-copy em{display:block;}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-copy strong{font-size:var(--spp-type-body)!important;line-height:1.35!important;color:var(--spp-text)!important;}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-copy small{margin-top:3px;font-size:var(--spp-type-meta)!important;line-height:1.4!important;color:var(--spp-admin-muted)!important;}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-copy em{margin-top:4px;font-size:var(--spp-type-meta)!important;line-height:1.35!important;color:var(--spp-info-value,#67d8ff)!important;font-style:normal;font-weight:700;}
.spp-root--admin[data-spp-view="dashboard"] .spp-today-next-action{grid-column:2;margin-top:-3px;color:var(--spp-cyan);font-size:var(--spp-type-meta)!important;font-weight:800;}
.spp-root--admin[data-spp-view="dashboard"] .spp-admin-all-clear--compact{margin-top:0;}
.spp-root--admin[data-spp-theme="light"][data-spp-view="dashboard"] .spp-today-next-item{background:rgba(8,47,73,.025);}
@media (max-width:720px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-today-next-item{grid-template-columns:auto minmax(0,1fr);}
}

/* 3.5.68 — Admin Dashboard Quick Create Launcher Foundation */
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:22px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-actions{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  padding-top:4px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-create-button{
  min-height:44px;
  white-space:nowrap;
  box-shadow:0 12px 30px rgba(0,212,255,.10);
}
.spp-admin-create-launcher .spp-drawer-panel{width:min(500px,94vw);}
.spp-create-launcher-grid{display:grid;gap:12px;}
.spp-create-launcher-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:16px;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
  color:var(--spp-text)!important;
  text-decoration:none!important;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.spp-create-launcher-item:hover,.spp-create-launcher-item:focus-visible{
  border-color:rgba(0,212,255,.34);
  background:rgba(0,212,255,.055);
  transform:translateY(-1px);
  outline:none;
}
.spp-create-launcher-icon{
  width:42px;height:42px;display:grid;place-items:center;border-radius:13px;
  background:var(--spp-cyan-soft);color:var(--spp-cyan);font-size:18px;font-weight:900;
}
.spp-create-launcher-copy{min-width:0;}
.spp-create-launcher-copy strong{display:block;color:var(--spp-text);font-size:var(--spp-type-body,15px);line-height:1.3;}
.spp-create-launcher-copy small{display:block;margin-top:4px;color:var(--spp-admin-muted,var(--spp-muted));font-size:var(--spp-type-meta,13px);line-height:1.45;}
.spp-create-launcher-arrow{color:var(--spp-cyan);font-size:24px;font-weight:800;}
.spp-root--admin[data-spp-theme="light"] .spp-create-launcher-item{background:rgba(8,47,73,.025);}
@media(max-width:760px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero{grid-template-columns:1fr;gap:12px;}
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-actions{justify-content:flex-start;padding-top:0;}
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-create-button{width:100%;}
}


/* Smart Pro Portal 3.5.70 — customer rows open the dossier as one accessible target. */
.spp-admin-data-row--customer-link{color:inherit;text-decoration:none;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease;}
.spp-admin-data-row--customer-link:hover,.spp-admin-data-row--customer-link:focus-visible{color:inherit;text-decoration:none;border-color:rgba(0,212,255,.46);background:rgba(0,212,255,.055);outline:none;transform:translateY(-1px);}
.spp-admin-row-chevron{justify-self:end;color:var(--spp-cyan);font-size:24px;font-weight:850;line-height:1;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-data-row--customer-link:hover,.spp-root--admin[data-spp-theme="light"] .spp-admin-data-row--customer-link:focus-visible{background:rgba(2,132,199,.055);}


/* Smart Pro Portal 3.5.71 — Admin Customer Onboarding. */
.spp-admin-customers-head{align-items:center;}
.spp-admin-data-row--customer{grid-template-columns:minmax(230px,1.35fr) repeat(3,minmax(82px,.45fr)) minmax(150px,.75fr) 22px;}
.spp-admin-data-row--customer .spp-status-badge{display:inline-flex;margin-top:4px;white-space:normal;}
.spp-admin-customer-create-modal{z-index:1000002;}
.spp-admin-customer-create-modal .spp-followup-modal-dialog{width:min(650px,calc(100vw - 32px));}
.spp-admin-customer-create-modal .spp-followup-modal-backdrop{background:rgba(2,8,18,.80)!important;backdrop-filter:blur(6px)!important;}
.spp-admin-customer-create-modal .spp-followup-modal-body{display:grid;gap:14px;}
.spp-admin-customer-create-modal .spp-admin-quick-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.spp-admin-customer-create-modal .spp-admin-quick-form label:nth-child(3),
.spp-admin-customer-create-modal .spp-admin-quick-form label:nth-child(4),
.spp-admin-customer-create-modal .spp-followup-modal-actions{grid-column:1/-1;}
.spp-admin-customer-create-modal .spp-followup-modal-actions{margin-top:4px;}
.spp-admin-customer-no-installation{margin:0 0 16px;}
@media(max-width:1050px){.spp-admin-data-row--customer{grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(90px,.55fr));}.spp-admin-data-row--customer>div:nth-child(4),.spp-admin-data-row--customer>div:nth-child(5),.spp-admin-row-chevron{grid-row:2;}}
@media(max-width:720px){.spp-admin-data-row--customer{grid-template-columns:1fr;}.spp-admin-data-row--customer>*{grid-row:auto!important;}.spp-admin-row-chevron{justify-self:start;}.spp-admin-customer-create-modal .spp-admin-quick-form{grid-template-columns:1fr;}.spp-admin-customer-create-modal .spp-admin-quick-form label,.spp-admin-customer-create-modal .spp-followup-modal-actions{grid-column:1;}}


/* Smart Pro Portal 3.5.72 — Customer roster provenance + filters. */
.spp-root--admin .spp-admin-customer-list-kpis{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:980px){.spp-root--admin .spp-admin-customer-list-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){.spp-root--admin .spp-admin-customer-list-kpis{grid-template-columns:1fr;}}


/* Smart Pro Portal 3.5.73 — Customers / Customer Dossier cleanup.
   1) filtered Admin rows must really leave layout,
   2) Customer Dossier consumes shared Admin typography/information hierarchy,
   3) Overview navigation lives in the dossier tab bar, not duplicated card-head links. */
.spp-root--admin [data-spp-admin-filter-row][hidden]{display:none!important;}

/* Customer dossier: use the same four-role typography baseline as the rest of Admin. */
.spp-root--admin .spp-admin-customer-tabs a{
  font-size:var(--spp-type-meta)!important;
  line-height:1.35!important;
}
.spp-root--admin .spp-admin-customer-security-note,
.spp-root--admin .spp-admin-customer-placeholder-grid p{
  color:var(--spp-admin-copy)!important;
  font-size:var(--spp-type-meta)!important;
  line-height:1.5!important;
}
.spp-root--admin .spp-admin-customer-section-label{
  color:var(--spp-admin-info-label)!important;
  font-size:var(--spp-type-meta)!important;
  line-height:1.35!important;
}

/* Static labels: near-white. */
.spp-root--admin .spp-admin-customer-identity-grid span,
.spp-root--admin .spp-admin-customer-security-grid span,
.spp-root--admin .spp-admin-customer-placeholder-grid span,
.spp-root--admin .spp-admin-customer-subscription-row>div>span,
.spp-root--admin .spp-admin-customer-installation-row>div>span,
.spp-root--admin .spp-admin-customer-appointment-row>div>span{
  color:var(--spp-admin-info-label)!important;
  font-size:var(--spp-type-meta)!important;
  line-height:1.38!important;
  opacity:1!important;
}

/* Dynamic values: softer information cyan, distinct from action cyan. */
.spp-root--admin .spp-admin-customer-identity-grid strong,
.spp-root--admin .spp-admin-customer-security-grid strong,
.spp-root--admin .spp-admin-customer-placeholder-grid strong,
.spp-root--admin .spp-admin-customer-subscription-row>div>strong,
.spp-root--admin .spp-admin-customer-installation-row>div>strong,
.spp-root--admin .spp-admin-customer-appointment-row>div>strong{
  color:var(--spp-admin-info-value)!important;
  font-size:var(--spp-type-body)!important;
  line-height:1.42!important;
  overflow-wrap:anywhere;
}

/* Requests use code as the changing identifier and category/title as primary reading text. */
.spp-root--admin .spp-admin-customer-request-row span:first-child{
  color:var(--spp-admin-info-value)!important;
  font-size:var(--spp-type-meta)!important;
  line-height:1.35!important;
}
.spp-root--admin .spp-admin-customer-request-row strong{
  color:var(--spp-text)!important;
  font-size:var(--spp-type-body)!important;
  line-height:1.42!important;
}

/* Secondary metadata stays readable, never legacy 8–9px microtype. */
.spp-root--admin .spp-admin-customer-installation-row>div>small,
.spp-root--admin .spp-admin-customer-request-row small,
.spp-root--admin .spp-admin-customer-appointment-row small,
.spp-root--admin .spp-admin-customer-security-grid small,
.spp-root--admin .spp-admin-customer-subscription-row small{
  color:var(--spp-admin-muted)!important;
  font-size:var(--spp-type-meta)!important;
  line-height:1.45!important;
  opacity:1!important;
}

/* Give the larger type enough air without changing the dossier structure. */
.spp-root--admin .spp-admin-customer-identity-grid>div,
.spp-root--admin .spp-admin-customer-security-grid>div,
.spp-root--admin .spp-admin-customer-placeholder-grid>div{
  padding:13px 14px;
}
.spp-root--admin .spp-admin-customer-installation-row,
.spp-root--admin .spp-admin-customer-request-row,
.spp-root--admin .spp-admin-customer-appointment-row,
.spp-root--admin .spp-admin-customer-subscription-row{
  padding:13px 14px;
  min-height:52px;
}

/* Light Mode keeps the same semantic hierarchy. */
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-identity-grid span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-security-grid span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-placeholder-grid span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-subscription-row>div>span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-installation-row>div>span,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-appointment-row>div>span{
  color:var(--spp-admin-info-label)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-identity-grid strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-security-grid strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-placeholder-grid strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-subscription-row>div>strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-installation-row>div>strong,
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-appointment-row>div>strong{
  color:var(--spp-admin-info-value)!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-request-row strong{color:#102033!important;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-request-row span:first-child{color:var(--spp-admin-info-value)!important;}


/* =========================================================
   Smart Pro Portal 3.5.74 — Admin Request Technical Workspace
   ========================================================= */
.spp-root--admin .spp-page-head--request{margin-bottom:16px;}
.spp-root--admin .spp-request-workspace{align-items:start;}
.spp-request-system-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid var(--spp-line);}
.spp-request-system-context>div{min-width:0;padding:11px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.022);}
.spp-request-system-context span,.spp-request-flow-summary span{display:block;color:var(--spp-admin-info-label,var(--spp-text));font-size:var(--spp-type-meta,13px);line-height:1.38;font-weight:820;letter-spacing:.045em;text-transform:uppercase;}
.spp-request-system-context strong,.spp-request-flow-summary strong{display:block;margin-top:4px;color:var(--spp-admin-info-value,#83e7fb);font-size:var(--spp-type-body,15px);line-height:1.4;overflow-wrap:anywhere;}
.spp-request-system-context small{display:block;margin-top:3px;color:var(--spp-admin-muted,var(--spp-muted));font-size:var(--spp-type-meta,13px);line-height:1.4;overflow-wrap:anywhere;}
.spp-request-flow-summary{display:grid;grid-template-columns:1fr;gap:8px;margin:0 0 15px;}
.spp-request-flow-summary>div{padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.02);}
.spp-request-flow-card .spp-admin-quick-form{margin-top:0;}
.spp-request-preset-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:2px;}
.spp-request-preset-control select{min-width:0;}
.spp-request-preset-control .spp-btn{min-height:42px;padding-left:12px;padding-right:12px;white-space:nowrap;}
.spp-request-preset-help{display:block;margin-top:6px;color:var(--spp-admin-muted,var(--spp-muted));font-size:var(--spp-type-meta,13px);line-height:1.4;font-weight:500;text-transform:none;letter-spacing:0;}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview{margin:0;}
.spp-root--admin .spp-request-workspace .spp-installation-remote-footer-actions{flex-wrap:wrap;}
.spp-root--admin .spp-request-workspace .spp-request-installation-link{white-space:nowrap;}

.spp-root--admin[data-spp-theme="light"] .spp-request-system-context>div,
.spp-root--admin[data-spp-theme="light"] .spp-request-flow-summary>div{background:#f8fbfd;}

@media(max-width:1100px){
  .spp-request-system-context{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .spp-request-system-context{grid-template-columns:1fr;}
  .spp-request-preset-control{grid-template-columns:1fr;}
  .spp-request-preset-control .spp-btn{width:100%;}
  .spp-root--admin .spp-request-workspace .spp-installation-remote-footer{align-items:flex-start;flex-direction:column;}
  .spp-root--admin .spp-request-workspace .spp-installation-remote-footer-actions{justify-content:flex-start;width:100%;}
}

.spp-request-note-field{display:grid;gap:7px;}
.spp-request-note-field>label{display:block;}
.spp-root--admin .spp-request-note-field>label>span{color:var(--spp-admin-info-label)!important;font-size:var(--spp-type-meta)!important;line-height:1.38!important;font-weight:800;letter-spacing:.4px;text-transform:uppercase;}


/* =========================================================
   Smart Pro Portal 3.5.75 — Request Workspace compact flow + access gate
   ========================================================= */
.spp-root--admin .spp-request-workspace .spp-request-remote-gate{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:12px 0;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;
  font-size:var(--spp-type-meta,13px);line-height:1.35;
}
.spp-root--admin .spp-request-workspace .spp-request-remote-gate strong{font-size:var(--spp-type-body,15px);white-space:nowrap;}
.spp-root--admin .spp-request-workspace .spp-request-remote-gate span{color:var(--spp-admin-muted,var(--spp-muted));text-align:right;}
.spp-root--admin .spp-request-workspace .spp-request-remote-gate.is-locked{border-color:rgba(245,183,50,.28);background:rgba(245,183,50,.055);}
.spp-root--admin .spp-request-workspace .spp-request-remote-gate.is-locked strong{color:#ffd166;}
.spp-root--admin .spp-request-workspace .spp-request-remote-gate.is-ready{border-color:rgba(52,211,153,.28);background:rgba(52,211,153,.055);}
.spp-root--admin .spp-request-workspace .spp-request-remote-gate.is-ready strong{color:#6ee7b7;}
.spp-root--admin .spp-request-workspace .spp-installation-access-action:disabled{
  cursor:not-allowed;opacity:.48;transform:none!important;box-shadow:none!important;
}
.spp-root--admin .spp-request-workspace .spp-installation-remote-footer--request{display:block;margin-top:10px;padding-top:10px;}
.spp-root--admin .spp-request-workspace .spp-installation-remote-footer--request .spp-installation-remote-footer-actions{
  width:100%;justify-content:flex-start;gap:10px;flex-wrap:wrap;
}
.spp-root--admin .spp-request-workspace .spp-installation-remote-footer--request .spp-btn,
.spp-root--admin .spp-request-workspace .spp-installation-remote-footer--request .spp-status-link{
  min-height:38px;font-size:13px;line-height:1.25;
}
.spp-root--admin .spp-request-flow-card{position:sticky;top:16px;}
.spp-root--admin .spp-request-flow-strip{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:0 0 10px;}
.spp-root--admin .spp-request-runtime-pill{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid rgba(52,211,153,.25);border-radius:999px;background:rgba(52,211,153,.06);color:#6ee7b7;font-size:12px;font-weight:800;}
.spp-root--admin .spp-request-remote-readiness{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:9px 10px;border-radius:11px;border:1px solid var(--spp-line);font-size:12px;line-height:1.35;}
.spp-root--admin .spp-request-remote-readiness strong{font-size:13px;white-space:nowrap;}
.spp-root--admin .spp-request-remote-readiness span{color:var(--spp-admin-muted,var(--spp-muted));text-align:right;}
.spp-root--admin .spp-request-remote-readiness.is-locked{background:rgba(245,183,50,.05);border-color:rgba(245,183,50,.24);}
.spp-root--admin .spp-request-remote-readiness.is-locked strong{color:#ffd166;}
.spp-root--admin .spp-request-remote-readiness.is-ready{background:rgba(52,211,153,.05);border-color:rgba(52,211,153,.24);}
.spp-root--admin .spp-request-remote-readiness.is-ready strong{color:#6ee7b7;}
.spp-root--admin .spp-request-flow-form{display:grid;gap:11px;}
.spp-root--admin .spp-request-flow-selects{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.spp-root--admin .spp-request-preset-control{display:block;margin:0;}
.spp-root--admin .spp-request-preset-control select{width:100%;min-height:40px;}
.spp-root--admin .spp-request-note-field{gap:6px;}
.spp-root--admin .spp-request-note-field textarea{min-height:86px;resize:vertical;}
.spp-root--admin .spp-request-note-field--primary{padding:10px;border:1px solid rgba(81,207,255,.18);border-radius:12px;background:rgba(56,189,248,.035);}
.spp-root--admin .spp-request-customer-update-details{border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.018);overflow:hidden;}
.spp-root--admin .spp-request-customer-update-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;cursor:pointer;color:var(--spp-text);font-size:13px;font-weight:800;list-style:none;}
.spp-root--admin .spp-request-customer-update-details>summary::-webkit-details-marker{display:none;}
.spp-root--admin .spp-request-customer-update-details-body{padding:0 10px 10px;}
.spp-root--admin .spp-request-flow-save{width:100%;min-height:44px;}
.spp-root--admin[data-spp-theme="light"] .spp-request-note-field--primary{background:#f5fbfe;border-color:rgba(23,119,155,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-request-customer-update-details{background:#fbfdfe;}

@media(max-width:1100px){
  .spp-root--admin .spp-request-flow-card{position:static;}
  .spp-root--admin .spp-request-workspace .spp-request-remote-gate,
  .spp-root--admin .spp-request-remote-readiness{align-items:flex-start;flex-direction:column;}
  .spp-root--admin .spp-request-workspace .spp-request-remote-gate span,
  .spp-root--admin .spp-request-remote-readiness span{text-align:left;}
}
@media(max-width:720px){
  .spp-root--admin .spp-request-flow-selects{grid-template-columns:1fr;}
}

/* 3.5.76 Request completion safe cleanup */
.spp-request-completion-note{margin:10px 0 4px;font-size:13px;line-height:1.5}

/* Smart Pro Portal 3.5.77 — compact/live Request History */
.spp-request-history-head{align-items:center;gap:14px}
.spp-request-history-toggle{flex:0 0 auto;min-height:34px;padding:7px 12px;font-size:13px}
.spp-request-history-card[data-expanded="0"] [data-spp-request-history-extra]{display:none!important}
.spp-request-history-card[data-expanded="1"] .spp-request-timeline-list--detail{max-height:none}
.spp-request-history-card [data-spp-request-history-live]{color:var(--spp-info-value,#66dff7)}
@media (max-width:720px){.spp-request-history-head{align-items:flex-start;flex-direction:column}.spp-request-history-toggle{width:100%}}


/* 3.5.78 Request Diagnostic Snapshot */
.spp-request-diagnostic-modal{z-index:100120!important}
.spp-request-diagnostic-modal .spp-followup-modal-backdrop{background:rgba(2,8,18,.78);backdrop-filter:blur(5px)}
.spp-request-diagnostic-modal .spp-followup-modal-dialog{width:min(1120px,calc(100vw - 48px));max-width:1120px;max-height:min(900px,92vh);display:flex;flex-direction:column;background:var(--spp-surface,#0d1728);border-color:rgba(84,183,233,.22)}
.spp-request-diagnostic-modal .spp-followup-modal-head{flex:0 0 auto}
.spp-request-diagnostic-modal .spp-followup-modal-head p{margin:6px 0 0;color:var(--spp-text-muted,#a8bbd0);font-size:14px;max-width:800px}
.spp-request-diagnostic-modal-body{overflow:auto;padding:22px!important}
.spp-request-diagnostic-body-inner{display:grid;gap:18px}
.spp-request-diagnostic-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.spp-request-diagnostic-summary-grid>div{min-height:94px;padding:14px;border:1px solid rgba(137,173,205,.17);border-radius:14px;background:rgba(255,255,255,.018);display:flex;flex-direction:column;gap:5px}
.spp-request-diagnostic-summary-grid span:first-child,.spp-request-diagnostic-summary-grid>div>span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.045em;color:var(--spp-text-muted,#a8bbd0)}
.spp-request-diagnostic-summary-grid strong{font-size:18px;color:var(--spp-text,#f7fbff)}
.spp-request-diagnostic-summary-grid small{font-size:12px;color:var(--spp-text-muted,#a8bbd0)}
.spp-request-diagnostic-section{border:1px solid rgba(137,173,205,.15);border-radius:16px;padding:16px;background:rgba(255,255,255,.012)}
.spp-request-diagnostic-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.spp-request-diagnostic-section-head h3{margin:0;font-size:17px}.spp-request-diagnostic-section-head p{margin:4px 0 0;font-size:13px;color:var(--spp-text-muted,#a8bbd0)}
.spp-request-diagnostic-trend{font-size:12px;font-weight:800;color:#61d8ff;white-space:nowrap}
.spp-request-diagnostic-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.spp-request-diagnostic-area{padding:12px;border:1px solid rgba(137,173,205,.16);border-radius:13px;background:rgba(9,21,38,.55);display:grid;gap:7px}
.spp-request-diagnostic-area>div{display:flex;justify-content:space-between;gap:8px;align-items:center}.spp-request-diagnostic-area strong{font-size:14px}.spp-request-diagnostic-area span{font-size:12px;font-weight:800}.spp-request-diagnostic-area small{font-size:12px;color:var(--spp-text-muted,#a8bbd0)}
.spp-request-diagnostic-area--healthy{border-color:rgba(52,211,153,.26)}.spp-request-diagnostic-area--healthy span{color:#58efb8}.spp-request-diagnostic-area--attention{border-color:rgba(245,183,50,.30)}.spp-request-diagnostic-area--attention span{color:#ffd35a}.spp-request-diagnostic-area--unknown span{color:#9ab0c7}
.spp-request-diagnostic-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.spp-request-diagnostic-finding-list{margin:0;padding-left:20px;display:grid;gap:8px;color:var(--spp-text,#f7fbff);font-size:14px}
.spp-request-diagnostic-incident{margin-top:14px;padding:11px 12px;border-radius:12px;border:1px solid rgba(245,183,50,.24);display:grid;grid-template-columns:auto 1fr;gap:3px 10px}.spp-request-diagnostic-incident span{font-size:11px;text-transform:uppercase;font-weight:800;color:#ffd35a}.spp-request-diagnostic-incident strong{font-size:13px}.spp-request-diagnostic-incident small{grid-column:1/-1;color:var(--spp-text-muted,#a8bbd0)}
.spp-request-diagnostic-log{display:grid;gap:7px;max-height:210px;overflow:auto}.spp-request-diagnostic-log code{display:block;white-space:normal;overflow-wrap:anywhere;padding:9px 10px;border-radius:9px;background:rgba(1,8,18,.52);border:1px solid rgba(137,173,205,.12);font-size:12px;line-height:1.45;color:#c9d8e8}
.spp-request-diagnostic-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 16px;border-radius:15px;border:1px solid rgba(26,202,246,.24);background:rgba(14,64,81,.16)}
.spp-request-diagnostic-actions>div{display:grid;gap:4px}.spp-request-diagnostic-actions strong{font-size:15px}.spp-request-diagnostic-actions small{font-size:12px;color:var(--spp-text-muted,#a8bbd0)}
.spp-request-diagnostic-footer-actions{display:flex;flex-wrap:wrap;gap:10px}.spp-request-diagnostic-ai-note{margin:0;font-size:11px;color:var(--spp-text-muted,#8fa7c0)}
.spp-request-diagnostic-open{white-space:nowrap}
.spp-root--admin[data-spp-theme="light"] .spp-request-diagnostic-modal .spp-followup-modal-dialog{background:#f7fbff;border-color:rgba(30,58,82,.16)}
.spp-root--admin[data-spp-theme="light"] .spp-request-diagnostic-area,.spp-root--admin[data-spp-theme="light"] .spp-request-diagnostic-summary-grid>div,.spp-root--admin[data-spp-theme="light"] .spp-request-diagnostic-section{background:#fff;border-color:rgba(30,58,82,.14)}
.spp-root--admin[data-spp-theme="light"] .spp-request-diagnostic-log code{background:#edf4f8;color:#1b3145;border-color:rgba(30,58,82,.10)}
@media(max-width:900px){.spp-request-diagnostic-modal .spp-followup-modal-dialog{width:calc(100vw - 20px);max-height:94vh}.spp-request-diagnostic-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-request-diagnostic-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-request-diagnostic-two-col{grid-template-columns:1fr}.spp-request-diagnostic-actions{align-items:stretch;flex-direction:column}.spp-request-diagnostic-actions form .spp-btn{width:100%}}
@media(max-width:560px){.spp-request-diagnostic-summary-grid,.spp-request-diagnostic-area-grid{grid-template-columns:1fr}.spp-request-diagnostic-modal-body{padding:14px!important}}

/* Smart Pro Portal 3.5.79 — Request Remote Access infrastructure disclosure */
.spp-root--admin .spp-request-infrastructure-alert{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:0 0 12px;padding:11px 12px;border:1px solid rgba(245,183,50,.30);border-radius:12px;
  background:rgba(245,183,50,.055);
}
.spp-root--admin .spp-request-infrastructure-alert>div{min-width:0;display:grid;gap:3px;}
.spp-root--admin .spp-request-infrastructure-alert strong{color:#ffd166;font-size:var(--spp-type-body,15px);line-height:1.35;}
.spp-root--admin .spp-request-infrastructure-alert span{color:var(--spp-admin-muted,var(--spp-muted));font-size:var(--spp-type-meta,13px);line-height:1.45;}
.spp-root--admin .spp-request-infrastructure-alert .spp-btn{flex:0 0 auto;white-space:nowrap;}
.spp-root--admin .spp-request-infrastructure-more{position:relative;align-self:stretch;}
.spp-root--admin .spp-request-infrastructure-more>summary{
  min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;
  border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.018);
  color:var(--spp-admin-muted,var(--spp-muted));font-size:13px;font-weight:760;cursor:pointer;list-style:none;
}
.spp-root--admin .spp-request-infrastructure-more>summary::-webkit-details-marker{display:none;}
.spp-root--admin .spp-request-infrastructure-more>summary::after{content:'▾';margin-left:7px;font-size:10px;}
.spp-root--admin .spp-request-infrastructure-more[open]>summary::after{transform:rotate(180deg);}
.spp-root--admin .spp-request-infrastructure-more-menu{
  position:absolute;z-index:35;left:0;bottom:calc(100% + 7px);width:min(360px,80vw);padding:10px;
  border:1px solid var(--spp-line);border-radius:12px;background:var(--spp-surface,#0d1728);box-shadow:0 18px 42px rgba(0,0,0,.28);
}
.spp-root--admin .spp-request-infrastructure-more-menu .spp-btn{width:100%;justify-content:flex-start;text-align:left;}
.spp-root--admin .spp-request-infrastructure-more-menu small{display:block;margin-top:7px;color:var(--spp-admin-muted,var(--spp-muted));font-size:12px;line-height:1.4;}
.spp-root--admin[data-spp-theme="light"] .spp-request-infrastructure-alert{background:#fff8e8;border-color:#e4bd58;}
.spp-root--admin[data-spp-theme="light"] .spp-request-infrastructure-more>summary{background:#fbfdfe;}
.spp-root--admin[data-spp-theme="light"] .spp-request-infrastructure-more-menu{background:#fff;box-shadow:0 18px 42px rgba(15,35,55,.16);}
@media(max-width:720px){
  .spp-root--admin .spp-request-infrastructure-alert{align-items:flex-start;flex-direction:column;}
  .spp-root--admin .spp-request-infrastructure-alert .spp-btn{width:100%;}
  .spp-root--admin .spp-request-infrastructure-more{width:100%;}
  .spp-root--admin .spp-request-infrastructure-more>summary{width:100%;}
  .spp-root--admin .spp-request-infrastructure-more-menu{position:static;width:100%;margin-top:7px;}
}

/* Smart Pro Portal 3.5.80 — Support Operations Center Pass 1 */
.spp-root--admin .spp-support-ops-kpis{grid-template-columns:repeat(4,minmax(0,1fr));}
.spp-root--admin .spp-support-ops-kpis .spp-admin-mini-kpi{text-decoration:none;color:inherit;}
.spp-root--admin .spp-support-ops-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:16px;align-items:start;}
.spp-root--admin .spp-support-ops-card{min-width:0;}
.spp-root--admin .spp-support-ops-card--access{grid-column:1/2;}
.spp-root--admin .spp-support-ops-card--followup{grid-column:2/3;}
.spp-root--admin .spp-support-ops-card .spp-admin-priority-list{margin-top:2px;}
.spp-root--admin .spp-support-ops-card>.spp-status-link{display:inline-flex;margin-top:14px;}
.spp-root--admin .spp-support-upcoming-list,.spp-root--admin .spp-support-followup-list,.spp-root--admin .spp-support-access-list{display:grid;gap:9px;}
.spp-root--admin .spp-support-upcoming-row,.spp-root--admin .spp-support-followup-row,.spp-root--admin .spp-support-access-row{border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.018);}
.spp-root--admin .spp-support-upcoming-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;}
.spp-root--admin .spp-support-upcoming-row>div{display:grid;gap:4px;min-width:0;}
.spp-root--admin .spp-support-upcoming-row>div:last-child{justify-items:end;flex:0 0 auto;}
.spp-root--admin .spp-support-upcoming-row strong,.spp-root--admin .spp-support-followup-row strong,.spp-root--admin .spp-support-access-copy strong{font-size:var(--spp-type-body,15px);line-height:1.35;color:var(--spp-text);}
.spp-root--admin .spp-support-upcoming-row small,.spp-root--admin .spp-support-followup-row small,.spp-root--admin .spp-support-access-copy small{font-size:var(--spp-type-meta,13px);line-height:1.35;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-support-upcoming-row b{font-size:13px;color:var(--spp-info-value,#7ce3ff);}
.spp-root--admin .spp-support-followup-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;text-decoration:none;color:inherit;transition:border-color .15s ease,background .15s ease;}
.spp-root--admin .spp-support-followup-row:hover{border-color:rgba(34,199,246,.42);background:rgba(34,199,246,.035);}
.spp-root--admin .spp-support-followup-row>div{display:grid;gap:4px;}
.spp-root--admin .spp-support-followup-row>div:last-child{justify-items:end;}
.spp-root--admin .spp-support-access-row{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(260px,1.25fr) auto;gap:14px;align-items:center;padding:12px;}
.spp-root--admin .spp-support-access-copy{display:grid;gap:4px;min-width:0;}
.spp-root--admin .spp-support-access-capabilities{display:flex;flex-wrap:wrap;gap:7px;}
.spp-root--admin .spp-support-access-capabilities span{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid rgba(79,211,164,.25);border-radius:999px;background:rgba(79,211,164,.055);}
.spp-root--admin .spp-support-access-capabilities b{font-size:12px;color:var(--spp-text);}
.spp-root--admin .spp-support-access-capabilities em{font-size:12px;font-style:normal;font-weight:800;color:#56e2b0;}
.spp-root--admin .spp-support-access-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;}
.spp-root--admin .spp-support-card-note{margin-top:10px;color:var(--spp-admin-muted,var(--spp-muted));font-size:12px;line-height:1.45;}
.spp-root--admin[data-spp-theme="light"] .spp-support-upcoming-row,.spp-root--admin[data-spp-theme="light"] .spp-support-followup-row,.spp-root--admin[data-spp-theme="light"] .spp-support-access-row{background:#fff;}
@media(max-width:1050px){
  .spp-root--admin .spp-support-ops-grid{grid-template-columns:1fr;}
  .spp-root--admin .spp-support-ops-card--access,.spp-root--admin .spp-support-ops-card--followup{grid-column:auto;}
  .spp-root--admin .spp-support-access-row{grid-template-columns:1fr;align-items:start;}
  .spp-root--admin .spp-support-access-actions{justify-content:flex-start;}
}
@media(max-width:760px){
  .spp-root--admin .spp-support-ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--admin .spp-support-upcoming-row,.spp-root--admin .spp-support-followup-row{align-items:flex-start;flex-direction:column;}
  .spp-root--admin .spp-support-upcoming-row>div:last-child,.spp-root--admin .spp-support-followup-row>div:last-child{justify-items:start;}
}
@media(max-width:480px){.spp-root--admin .spp-support-ops-kpis{grid-template-columns:1fr;}}

/* 3.5.81 — Support navigation breadcrumb + active-access context cleanup */
.spp-root--admin .spp-admin-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px;font-size:13px;font-weight:800;line-height:1.35;color:var(--spp-muted);}
.spp-root--admin .spp-admin-breadcrumb a{color:var(--spp-cyan);text-decoration:none;}
.spp-root--admin .spp-admin-breadcrumb a:hover{text-decoration:underline;}
.spp-root--admin .spp-admin-breadcrumb span{color:var(--spp-muted);opacity:.72;}
.spp-root--admin .spp-admin-breadcrumb strong{color:var(--spp-text);font-weight:850;}
.spp-root--admin .spp-support-access-request-context{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:5px;font-size:13px;line-height:1.35;color:var(--spp-muted);}
.spp-root--admin .spp-support-access-request-context a{color:var(--spp-cyan);font-weight:850;text-decoration:none;}
.spp-root--admin .spp-support-access-request-context a:hover{text-decoration:underline;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-breadcrumb strong{color:var(--spp-text);}

/* Smart Pro Portal 3.5.82 — Customer Dossier overview balance + read-only identity expansion. */
.spp-root--admin .spp-admin-customer-overview-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.spp-root--admin .spp-admin-customer-profile--compact,
.spp-root--admin .spp-admin-customer-installations-card--overview{
  min-width:0;
}
.spp-root--admin .spp-admin-customer-more-details{
  margin-top:14px;
  border-top:1px solid var(--spp-line);
  padding-top:12px;
}
.spp-root--admin .spp-admin-customer-more-details summary{
  cursor:pointer;
  color:var(--spp-action-cyan, #28d7ff);
  font-size:var(--spp-type-meta);
  font-weight:800;
  line-height:1.4;
  list-style-position:inside;
}
.spp-root--admin .spp-admin-customer-extra-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
.spp-root--admin .spp-admin-customer-extra-grid>div{
  min-width:0;
  padding:13px 14px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}
.spp-root--admin .spp-admin-customer-extra-grid span{
  display:block;
  color:var(--spp-admin-info-label)!important;
  font-size:var(--spp-type-meta)!important;
  font-weight:850;
  line-height:1.38!important;
  letter-spacing:.35px;
  text-transform:uppercase;
}
.spp-root--admin .spp-admin-customer-extra-grid strong{
  display:block;
  margin-top:4px;
  color:var(--spp-admin-info-value)!important;
  font-size:var(--spp-type-body)!important;
  line-height:1.42!important;
  overflow-wrap:anywhere;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-customer-extra-grid>div{
  background:rgba(15,31,48,.025);
}
@media (max-width:980px){
  .spp-root--admin .spp-admin-customer-overview-grid{grid-template-columns:1fr;}
}
@media (max-width:700px){
  .spp-root--admin .spp-admin-customer-extra-grid{grid-template-columns:1fr;}
}


/* Smart Pro Portal 3.5.85 — Customer Security Overview Foundation */
.spp-root--admin .spp-admin-security-overview{display:grid;gap:16px;}
.spp-root--admin .spp-admin-security-readiness{padding:16px;border:1px solid var(--spp-line);border-radius:16px;background:rgba(255,255,255,.018);}
.spp-root--admin .spp-admin-security-readiness.is-ready{border-color:rgba(52,211,153,.24);background:rgba(52,211,153,.035);}
.spp-root--admin .spp-admin-security-readiness.needs-action{border-color:rgba(251,191,36,.27);background:rgba(251,191,36,.035);}
.spp-root--admin .spp-admin-security-readiness-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.spp-root--admin .spp-admin-security-readiness-head>div{display:grid;gap:4px;}
.spp-root--admin .spp-admin-security-readiness-head>div>span{font-size:var(--spp-type-meta,13px);font-weight:900;letter-spacing:.08em;color:var(--spp-cyan);}
.spp-root--admin .spp-admin-security-readiness-head strong{font-size:20px;line-height:1.25;color:var(--spp-text);}
.spp-root--admin .spp-admin-security-readiness-head small{font-size:var(--spp-type-meta,13px);line-height:1.45;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-admin-security-check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;}
.spp-root--admin .spp-admin-security-check-grid>div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.016);}
.spp-root--admin .spp-admin-security-check-grid>div>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;font-size:16px;font-weight:950;}
.spp-root--admin .spp-admin-security-check-grid .is-ok>span{background:rgba(52,211,153,.14);color:#6ee7b7;}
.spp-root--admin .spp-admin-security-check-grid .is-warning>span{background:rgba(251,191,36,.12);color:#fde68a;}
.spp-root--admin .spp-admin-security-check-grid strong{display:block;font-size:var(--spp-type-body,15px);color:var(--spp-text);}
.spp-root--admin .spp-admin-security-check-grid small{display:block;margin-top:2px;font-size:12px;line-height:1.35;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-admin-security-profile-note{margin-top:12px;padding-top:11px;border-top:1px solid var(--spp-line);font-size:12px;line-height:1.45;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-admin-security-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.spp-root--admin .spp-admin-security-status-grid>div{min-width:0;padding:13px 14px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.018);}
.spp-root--admin .spp-admin-security-status-grid span{display:block;color:var(--spp-admin-info-label);font-size:var(--spp-type-meta,13px);font-weight:850;text-transform:uppercase;letter-spacing:.35px;}
.spp-root--admin .spp-admin-security-status-grid strong{display:block;margin-top:5px;color:var(--spp-admin-info-value);font-size:var(--spp-type-body,15px);line-height:1.4;overflow-wrap:anywhere;}
.spp-root--admin .spp-admin-security-status-grid small{display:block;margin-top:3px;color:var(--spp-admin-muted,var(--spp-muted));font-size:12px;line-height:1.4;}
.spp-root--admin .spp-admin-security-attention{padding:14px 15px;border:1px solid rgba(251,191,36,.26);border-radius:14px;background:rgba(251,191,36,.045);}
.spp-root--admin .spp-admin-security-attention.is-attention{border-color:rgba(251,146,60,.36);background:rgba(251,146,60,.055);}
.spp-root--admin .spp-admin-security-attention strong{font-size:var(--spp-type-body,15px);color:#fde68a;}
.spp-root--admin .spp-admin-security-attention p{margin:5px 0 0;color:var(--spp-admin-muted,var(--spp-muted));font-size:var(--spp-type-meta,13px);line-height:1.5;}
.spp-root--admin .spp-admin-security-history{padding-top:2px;}
.spp-root--admin .spp-admin-security-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px;}
.spp-root--admin .spp-admin-security-history-head h3{margin:0;font-size:20px;line-height:1.3;color:var(--spp-text);}
.spp-root--admin .spp-admin-security-history-head p{margin:4px 0 0;font-size:var(--spp-type-meta,13px);color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-admin-security-history-head>span{flex:0 0 auto;padding:7px 10px;border:1px solid var(--spp-line);border-radius:999px;font-size:12px;font-weight:800;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-admin-security-event-list{display:grid;gap:8px;}
.spp-root--admin .spp-admin-security-event{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.014);}
.spp-root--admin .spp-admin-security-event-dot{width:8px;height:8px;margin-top:6px;border-radius:50%;background:#91a4ba;box-shadow:0 0 0 4px rgba(145,164,186,.08);}
.spp-root--admin .spp-admin-security-event.is-ok .spp-admin-security-event-dot{background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.08);}
.spp-root--admin .spp-admin-security-event.is-warning .spp-admin-security-event-dot{background:#fbbf24;box-shadow:0 0 0 4px rgba(251,191,36,.08);}
.spp-root--admin .spp-admin-security-event.is-info .spp-admin-security-event-dot{background:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.08);}
.spp-root--admin .spp-admin-security-event strong{display:block;font-size:var(--spp-type-body,15px);color:var(--spp-text);}
.spp-root--admin .spp-admin-security-event small{display:block;margin-top:3px;font-size:var(--spp-type-meta,13px);line-height:1.4;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-admin-security-event time{white-space:nowrap;font-size:12px;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin[data-spp-theme="light"] .spp-admin-security-readiness,.spp-root--admin[data-spp-theme="light"] .spp-admin-security-status-grid>div,.spp-root--admin[data-spp-theme="light"] .spp-admin-security-event{background:#fff;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-security-readiness.is-ready{background:#f1fbf7;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-security-readiness.needs-action{background:#fff9eb;}
@media(max-width:980px){.spp-root--admin .spp-admin-security-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.spp-root--admin .spp-admin-security-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px){.spp-root--admin .spp-admin-security-readiness-head,.spp-root--admin .spp-admin-security-history-head{flex-direction:column;}.spp-root--admin .spp-admin-security-check-grid,.spp-root--admin .spp-admin-security-status-grid{grid-template-columns:1fr;}.spp-root--admin .spp-admin-security-event{grid-template-columns:12px 1fr;}.spp-root--admin .spp-admin-security-event time{grid-column:2;}}

/* Smart Pro Portal 3.5.86 — Guardian Operations Overview */
.spp-root--admin .spp-guardian-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;}
.spp-root--admin .spp-guardian-kpi{display:grid;gap:5px;min-width:0;padding:16px 18px;border:1px solid var(--spp-line);border-radius:16px;background:rgba(255,255,255,.018);color:inherit;text-decoration:none!important;}
.spp-root--admin .spp-guardian-kpi span{font-size:var(--spp-type-meta,13px);font-weight:900;letter-spacing:.35px;text-transform:uppercase;color:var(--spp-admin-info-label,var(--spp-muted));}
.spp-root--admin .spp-guardian-kpi strong{font-size:32px;line-height:1.05;color:var(--spp-admin-info-value,#7ce3ff);}
.spp-root--admin .spp-guardian-kpi small{font-size:12px;line-height:1.4;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-guardian-kpi--ok{border-color:rgba(52,211,153,.28);background:rgba(52,211,153,.035);}
.spp-root--admin .spp-guardian-kpi--ok strong{color:#64e6b6;}
.spp-root--admin .spp-guardian-kpi--warn{border-color:rgba(251,191,36,.3);background:rgba(251,191,36,.035);}
.spp-root--admin .spp-guardian-kpi--warn strong{color:#fbbf24;}
.spp-root--admin .spp-guardian-kpi--danger{border-color:rgba(251,113,133,.32);background:rgba(251,113,133,.04);}
.spp-root--admin .spp-guardian-kpi--danger strong{color:#fb7185;}
.spp-root--admin .spp-guardian-attention-card,.spp-root--admin .spp-guardian-fleet-card{margin-bottom:16px;}
.spp-root--admin .spp-guardian-all-clear{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid rgba(52,211,153,.25);border-radius:14px;background:rgba(52,211,153,.045);}
.spp-root--admin .spp-guardian-all-clear>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#6ee7b7;color:#032217;font-size:20px;font-weight:950;}
.spp-root--admin .spp-guardian-all-clear>div{display:grid;gap:3px;}
.spp-root--admin .spp-guardian-all-clear strong{font-size:var(--spp-type-body,15px);color:var(--spp-text);}
.spp-root--admin .spp-guardian-all-clear small{font-size:var(--spp-type-meta,13px);color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-guardian-attention-list{display:grid;gap:9px;}
.spp-root--admin .spp-guardian-attention-row{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(180px,.9fr) auto;align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.016);}
.spp-root--admin .spp-guardian-attention-row>div{display:grid;gap:4px;min-width:0;}
.spp-root--admin .spp-guardian-attention-row strong{font-size:var(--spp-type-body,15px);color:var(--spp-text);}
.spp-root--admin .spp-guardian-attention-row small{font-size:12px;line-height:1.4;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-guardian-attention-actions{display:flex!important;flex-direction:row!important;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.spp-root--admin .spp-guardian-fleet-list{display:grid;gap:12px;}
.spp-root--admin .spp-guardian-installation{padding:16px;border:1px solid var(--spp-line);border-radius:16px;background:rgba(255,255,255,.014);}
.spp-root--admin .spp-guardian-installation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--spp-line);}
.spp-root--admin .spp-guardian-installation-head>div:first-child{display:grid;gap:4px;min-width:0;}
.spp-root--admin .spp-guardian-installation-head strong{font-size:18px;line-height:1.25;color:var(--spp-text);}
.spp-root--admin .spp-guardian-installation-head small{font-size:12px;line-height:1.4;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-guardian-head-status{display:grid;justify-items:end;gap:5px;flex:0 0 auto;}
.spp-root--admin .spp-guardian-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px;}
.spp-root--admin .spp-guardian-detail-grid>div,.spp-root--admin .spp-guardian-ops-strip>div:not(.spp-guardian-row-actions){min-width:0;padding:12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.016);}
.spp-root--admin .spp-guardian-detail-grid span,.spp-root--admin .spp-guardian-ops-strip span{display:block;font-size:11px;font-weight:900;letter-spacing:.35px;text-transform:uppercase;color:var(--spp-admin-info-label,var(--spp-muted));}
.spp-root--admin .spp-guardian-detail-grid strong,.spp-root--admin .spp-guardian-ops-strip strong{display:block;margin-top:4px;font-size:var(--spp-type-body,15px);line-height:1.35;color:var(--spp-admin-info-value,#7ce3ff);overflow-wrap:anywhere;}
.spp-root--admin .spp-guardian-detail-grid small,.spp-root--admin .spp-guardian-ops-strip small{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:var(--spp-admin-muted,var(--spp-muted));overflow-wrap:anywhere;}
.spp-root--admin .spp-guardian-ops-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:9px;align-items:stretch;margin-top:9px;}
.spp-root--admin .spp-guardian-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-left:4px;}
.spp-root--admin .spp-guardian-scope-note{margin-top:12px;padding:12px 14px;border:1px dashed var(--spp-line);border-radius:12px;font-size:12px;line-height:1.5;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-kpi,.spp-root--admin[data-spp-theme="light"] .spp-guardian-attention-row,.spp-root--admin[data-spp-theme="light"] .spp-guardian-installation,.spp-root--admin[data-spp-theme="light"] .spp-guardian-detail-grid>div,.spp-root--admin[data-spp-theme="light"] .spp-guardian-ops-strip>div:not(.spp-guardian-row-actions){background:#fff;}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-kpi--ok,.spp-root--admin[data-spp-theme="light"] .spp-guardian-all-clear{background:#f1fbf7;}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-kpi--warn{background:#fff9eb;}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-kpi--danger{background:#fff4f6;}
@media(max-width:1080px){
  .spp-root--admin .spp-guardian-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--admin .spp-guardian-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--admin .spp-guardian-ops-strip{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--admin .spp-guardian-row-actions{justify-content:flex-start;padding:4px 0 0;}
}
@media(max-width:760px){
  .spp-root--admin .spp-guardian-attention-row{grid-template-columns:1fr;align-items:start;}
  .spp-root--admin .spp-guardian-attention-actions{justify-content:flex-start;}
  .spp-root--admin .spp-guardian-installation-head{flex-direction:column;}
  .spp-root--admin .spp-guardian-head-status{justify-items:start;}
}
@media(max-width:560px){
  .spp-root--admin .spp-guardian-kpis,.spp-root--admin .spp-guardian-detail-grid,.spp-root--admin .spp-guardian-ops-strip{grid-template-columns:1fr;}
}


/* 3.5.87 — Smart Pro Tools Control Plane Foundation / read-only mirror. */
.spp-tools-control-mirror{display:grid;gap:14px;}
.spp-tools-control-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--spp-muted);font-size:10px;font-weight:750;}
.spp-tools-control-sections{display:grid;gap:12px;}
.spp-tools-control-sections>section{padding:14px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.014);}
.spp-tools-control-sections .spp-detail-facts{margin:10px 0 0;}
.spp-tools-control-readonly-note{margin:0;}
.spp-root--admin[data-spp-theme="light"] .spp-tools-control-sections>section{background:#f5f8fb;border-color:rgba(30,58,82,.16);}

/* 3.5.90 — Controlled Guardian Settings */
.spp-guardian-controlled-settings{display:grid;gap:12px;padding:14px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.014);}
.spp-tools-control-form{display:grid;gap:12px;}
.spp-tools-control-form .spp-detail-facts label{display:grid;gap:6px;min-width:0;padding:12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.012);}
.spp-tools-control-form .spp-detail-facts label>span{color:var(--spp-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;}
.spp-tools-control-form input[type="number"]{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:10px;background:var(--spp-field-bg,#0c1728);color:var(--spp-text);font:inherit;}
.spp-tools-control-form input[type="number"]:focus{outline:2px solid rgba(36,199,247,.35);border-color:var(--spp-accent);}
.spp-control-preview{display:grid;gap:8px;align-items:start;}
.spp-control-preview>span{display:block;}
.spp-control-preview form{margin-top:4px;}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-controlled-settings,
.spp-root--admin[data-spp-theme="light"] .spp-tools-control-form .spp-detail-facts label{background:#f5f8fb;border-color:rgba(30,58,82,.16);}


/* 3.5.91 — Guardian Monitoring Scope controlled settings */
.spp-guardian-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.spp-guardian-scope-option{display:flex;align-items:center;gap:10px;min-height:46px;padding:11px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.012);font-weight:750;}
.spp-guardian-scope-option input[type="checkbox"]{width:17px;height:17px;accent-color:var(--spp-accent);flex:0 0 auto;}
.spp-guardian-scope-option:has(input:checked){border-color:rgba(36,199,247,.34);background:rgba(36,199,247,.055);}
.spp-guardian-scope-option:has(input:disabled){opacity:.58;}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-scope-option{background:#f5f8fb;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-scope-option:has(input:checked){background:#eef9fd;border-color:rgba(16,155,205,.36);}
@media (max-width:720px){.spp-guardian-scope-grid{grid-template-columns:1fr;}}

/* 3.5.94 — Compact control-plane folds + Smart Updates Master/Test */
.spp-tools-control-fold{display:block;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.014);overflow:hidden;}
.spp-tools-control-fold+.spp-tools-control-fold{margin-top:0;}
.spp-tools-control-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:60px;padding:14px 16px;cursor:pointer;list-style:none;user-select:none;}
.spp-tools-control-summary::-webkit-details-marker{display:none;}
.spp-tools-control-summary>span:first-child{display:grid;gap:3px;min-width:0;}
.spp-tools-control-summary strong{font-size:11px;letter-spacing:.055em;color:var(--spp-accent);}
.spp-tools-control-summary small{font-size:14px;font-weight:800;color:var(--spp-text);}
.spp-tools-control-summary::after{content:'+';font-size:18px;font-weight:800;color:var(--spp-muted);margin-left:auto;}
.spp-tools-control-fold[open]>.spp-tools-control-summary::after{content:'−';}
.spp-tools-control-summary>.spp-status-badge{margin-left:8px;}
.spp-tools-control-fold-lead{padding:0 16px 12px;}
.spp-tools-control-fold>.spp-detail-facts,
.spp-tools-control-fold>.spp-actions,
.spp-tools-control-fold>.spp-tools-control-form,
.spp-tools-control-fold>.spp-empty-inline,
.spp-tools-control-fold>.spp-compact-list,
.spp-tools-control-fold>.spp-sub:not(.spp-tools-control-fold-lead){margin-left:16px;margin-right:16px;}
.spp-tools-control-fold>.spp-tools-control-form,
.spp-tools-control-fold>.spp-detail-facts,
.spp-tools-control-fold>.spp-compact-list{margin-bottom:14px;}
.spp-tools-control-fold>.spp-actions{margin-bottom:14px;}
.spp-tools-control-fold--baseline>.spp-tools-control-sections{padding:0 14px 14px;}
.spp-tools-control-form select{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:10px;background:var(--spp-field-bg,#0c1728);color:var(--spp-text);font:inherit;}
.spp-updates-test-steps{padding:0 16px 14px;}
.spp-root--admin[data-spp-theme="light"] .spp-tools-control-fold{background:#f8fafc;border-color:rgba(30,58,82,.16);}
@media(max-width:720px){.spp-tools-control-summary{align-items:flex-start;flex-wrap:wrap}.spp-tools-control-summary>.spp-status-badge{margin-left:0}.spp-tools-control-summary::after{order:3}}

/* 3.5.97 Control Plane completion/read-back status */
.spp-control-completion{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;border:1px solid rgba(56,189,248,.22);border-radius:13px;background:rgba(56,189,248,.055);color:var(--spp-text);font-size:13px;line-height:1.5}
.spp-control-completion__dot{width:9px;height:9px;flex:0 0 9px;border-radius:999px;background:#38bdf8;box-shadow:0 0 0 0 rgba(56,189,248,.32);animation:sppControlCompletionPulse 1.5s ease-out infinite}
.spp-control-completion.is-complete{border-color:rgba(52,211,153,.24);background:rgba(52,211,153,.06)}
.spp-control-completion.is-complete .spp-control-completion__dot{background:#34d399;animation:none;box-shadow:none}
.spp-control-completion.is-warning{border-color:rgba(251,191,36,.28);background:rgba(251,191,36,.065)}
.spp-control-completion.is-warning .spp-control-completion__dot{background:#fbbf24;animation:none;box-shadow:none}
@keyframes sppControlCompletionPulse{0%{box-shadow:0 0 0 0 rgba(56,189,248,.34)}70%{box-shadow:0 0 0 7px rgba(56,189,248,0)}100%{box-shadow:0 0 0 0 rgba(56,189,248,0)}}
.spp-root--admin[data-spp-theme="light"] .spp-control-completion{color:#14304a;background:#eef8fd;border-color:#b9dff2}
.spp-root--admin[data-spp-theme="light"] .spp-control-completion.is-complete{color:#155f45;background:#effbf5;border-color:#b8e6cf}
.spp-root--admin[data-spp-theme="light"] .spp-control-completion.is-warning{color:#87520a;background:#fff9eb;border-color:#edd59f}

/* Smart Pro Portal 3.6.0 — Full Installation Folder focused workspaces. */
.spp-workspace-entry-card{position:relative;overflow:hidden;}
.spp-workspace-entry-card::after{content:"";position:absolute;inset:auto -80px -100px auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.075),transparent 68%);pointer-events:none;}
.spp-workspace-entry-card .spp-card-head{align-items:flex-start;}
.spp-workspace-entry-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;}
.spp-workspace-entry-metrics>div{min-width:0;padding:12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.018);}
.spp-workspace-entry-metrics span{display:block;color:var(--spp-muted);font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.spp-workspace-entry-metrics strong{display:block;margin-top:5px;color:#74e4ff;font-size:12px;line-height:1.35;overflow-wrap:anywhere;}
.spp-workspace-entry-metrics--diagnostics>div:last-child strong{font-size:10.5px;}
.spp-workspace-entry-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:13px;border-top:1px solid var(--spp-line);}
.spp-workspace-entry-footer>span{min-width:0;color:var(--spp-muted);font-size:9.5px;line-height:1.5;}
.spp-workspace-entry-footer .spp-btn{flex:0 0 auto;}

body.spp-focused-workspace-open{overflow:hidden;}
.spp-focused-workspace[hidden]{display:none!important;}
.spp-focused-workspace{position:fixed;inset:0;z-index:100020;display:grid;place-items:center;padding:18px;}
.spp-focused-workspace__backdrop{position:absolute;inset:0;background:rgba(2,8,18,.82);backdrop-filter:blur(6px);}
.spp-focused-workspace__panel{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1220px,calc(100vw - 36px));height:min(90vh,940px);max-height:calc(100vh - 36px);overflow:hidden;border:1px solid rgba(148,163,184,.22);border-radius:22px;background:#091321;box-shadow:0 36px 120px rgba(0,0,0,.58);}
.spp-focused-workspace--technician .spp-focused-workspace__panel{grid-template-rows:auto auto minmax(0,1fr);}
.spp-focused-workspace__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid var(--spp-line);background:rgba(9,19,33,.98);}
.spp-focused-workspace__header h2{margin:3px 0 0;font-size:24px;line-height:1.15;}
.spp-focused-workspace__header p{max-width:820px;margin:7px 0 0;color:var(--spp-muted);font-size:10px;line-height:1.55;}
.spp-focused-workspace__close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.03);color:var(--spp-text);font:inherit;font-size:0;cursor:pointer;}
.spp-focused-workspace__close::before{content:"×";font-size:25px;line-height:1;}
.spp-focused-workspace__close:hover,.spp-focused-workspace__close:focus-visible{border-color:rgba(81,207,255,.48);color:#a8efff;outline:none;}
.spp-focused-workspace__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 18px 24px;scrollbar-gutter:stable;}
.spp-focused-workspace__body>.spp-card{margin:0;}

.spp-technician-tabs{display:flex;gap:8px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--spp-line);background:rgba(7,15,27,.97);}
.spp-technician-tab{flex:1 1 0;min-width:130px;min-height:38px;padding:8px 14px;border:1px solid rgba(148,163,184,.18);border-radius:9px;background:rgba(255,255,255,.025);color:var(--spp-muted);font:inherit;font-size:10.5px;font-weight:850;cursor:pointer;}
.spp-technician-tab:hover,.spp-technician-tab:focus-visible{border-color:rgba(81,207,255,.35);color:#d1f6ff;outline:none;}
.spp-technician-tab.is-active{border-color:rgba(81,207,255,.48);background:rgba(14,165,233,.18);color:#d6f8ff;box-shadow:inset 0 -2px 0 rgba(56,189,248,.68);}
.spp-technician-advanced-link{flex:0 0 auto;margin-left:8px;padding:7px 10px;border:0;background:transparent;color:#7690a7;font:inherit;font-size:9px;font-weight:750;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(118,144,167,.36);text-underline-offset:3px;}
.spp-technician-advanced-link:hover,.spp-technician-advanced-link:focus-visible,.spp-technician-advanced-link.is-active{color:#9beaff;outline:none;text-decoration-color:rgba(81,207,255,.7);}
.spp-technician-workspace .spp-tools-control-mirror{border:0;background:transparent;box-shadow:none;padding:0;}
.spp-technician-workspace .spp-tools-control-mirror>.spp-card-head{display:none;}
.spp-technician-workspace .spp-tools-control-meta{margin:0 0 12px;}
.spp-technician-workspace .spp-tools-control-readonly-note{margin-top:14px;}
.spp-technician-workspace [data-spp-tech-section][hidden]{display:none!important;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline>summary{display:none;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline{border:0;background:transparent;padding:0;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline>.spp-tools-control-sections{margin-top:0;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline>.spp-tools-control-sections>section:not(:first-child){display:none;}
.spp-technician-workspace:not([data-spp-tech-active="advanced"]) .spp-tools-control-summary span>strong{display:none;}
.spp-technician-workspace:not([data-spp-tech-active="advanced"]) .spp-tools-control-summary span>small{font-size:12px;font-weight:850;color:var(--spp-text);}
.spp-technician-workspace[data-spp-tech-active="advanced"] .spp-tools-control-meta{display:flex;}
.spp-technician-workspace:not([data-spp-tech-active="advanced"]) .spp-tools-control-readonly-note{display:none;}

.spp-diagnostics-workspace .spp-diagnostics-foundation{border:0;background:transparent;box-shadow:none;padding:0;}
.spp-diagnostics-workspace .spp-diagnostics-foundation>.spp-card-head{display:none;}
.spp-diagnostics-workspace .spp-diagnostic-foundation-note{margin-bottom:2px;}

.spp-root--admin[data-spp-theme="light"] .spp-workspace-entry-metrics>div{background:#f8fbfd;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__backdrop{background:rgba(18,35,50,.45);}
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__panel{background:#f7fafc;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__header{background:rgba(247,250,252,.98);border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-technician-tabs{background:#f1f6fa;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-technician-tab{background:#fff;color:#526b82;border-color:rgba(30,58,82,.15);}
.spp-root--admin[data-spp-theme="light"] .spp-technician-tab.is-active{background:#eaf7fb;color:#176681;border-color:rgba(23,119,155,.30);}

@media (max-width:900px){
  .spp-workspace-entry-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-focused-workspace{padding:8px;}
  .spp-focused-workspace__panel{width:100%;height:calc(100vh - 16px);max-height:calc(100vh - 16px);border-radius:16px;}
  .spp-focused-workspace__header{padding:15px 14px 12px;}
  .spp-focused-workspace__header p{display:none;}
  .spp-focused-workspace__body{padding:11px 10px 18px;}
  .spp-technician-tabs{overflow-x:auto;padding:8px 9px;}
  .spp-technician-tab{flex:0 0 auto;min-width:120px;}
  .spp-technician-advanced-link{margin-left:0;white-space:nowrap;}
}
@media (max-width:620px){
  .spp-workspace-entry-footer{align-items:stretch;flex-direction:column;}
  .spp-workspace-entry-footer .spp-btn{width:100%;}
  .spp-workspace-entry-metrics{grid-template-columns:1fr 1fr;}
}

/* Smart Pro Portal 3.6.1 — compact right-column cards + focused workspaces. */
.spp-detail-sidebar .spp-installation-subscription-workspace,
.spp-detail-sidebar .spp-installation-management-workspace,
.spp-detail-sidebar .spp-installation-support-workspace--sidebar{padding:18px;}
.spp-detail-sidebar .spp-installation-subscription-workspace .spp-card-head,
.spp-detail-sidebar .spp-installation-management-workspace .spp-card-head,
.spp-detail-sidebar .spp-installation-support-workspace--sidebar .spp-card-head{margin-bottom:12px;}
.spp-detail-sidebar .spp-installation-subscription-workspace .spp-sub,
.spp-detail-sidebar .spp-installation-management-workspace .spp-sub{font-size:10.5px;line-height:1.45;}
.spp-sidebar-workspace-entry{display:flex;justify-content:flex-end;margin-top:12px;padding-top:11px;border-top:1px solid var(--spp-line);}
.spp-sidebar-workspace-entry .spp-btn{width:100%;justify-content:center;min-height:38px;padding:8px 12px;font-size:10.5px;}
.spp-detail-sidebar .spp-installation-support-recent{margin-top:10px;}
.spp-detail-sidebar .spp-installation-support-recent .spp-compact-list>a:nth-child(n+2){display:none;}
.spp-detail-sidebar .spp-installation-support-recent-label{font-size:9px;}
.spp-detail-sidebar .spp-installation-support-summary{gap:7px;}
.spp-detail-sidebar .spp-installation-support-summary>div,
.spp-detail-sidebar .spp-installation-subscription-summary>div,
.spp-detail-sidebar .spp-installation-management-summary>div{padding:10px;}
.spp-detail-sidebar .spp-installation-support-summary span,
.spp-detail-sidebar .spp-installation-subscription-summary span,
.spp-detail-sidebar .spp-installation-management-summary span{font-size:8.5px;}
.spp-detail-sidebar .spp-installation-support-summary strong,
.spp-detail-sidebar .spp-installation-subscription-summary strong,
.spp-detail-sidebar .spp-installation-management-summary strong{font-size:11.5px;}

.spp-focused-workspace--sidebar .spp-focused-workspace__panel{width:min(1040px,calc(100vw - 36px));height:min(88vh,860px);}
.spp-sidebar-workspace-slot{width:min(940px,100%);margin:0 auto;display:grid;gap:14px;}
.spp-sidebar-workspace-slot>.spp-installation-inline-details{margin:0;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018);overflow:hidden;}
.spp-sidebar-workspace-slot>.spp-installation-inline-details>summary{padding:14px 16px;font-size:12px;font-weight:850;}
.spp-sidebar-workspace-slot>.spp-installation-inline-details>.spp-installation-inline-details-body{padding:0 16px 18px;}
.spp-sidebar-workspace-slot .spp-admin-quick-form{max-width:none;}
.spp-sidebar-workspace-slot .spp-installation-support-section{margin-top:14px;}
.spp-sidebar-workspace-slot .spp-installation-support-section:first-child{margin-top:0;}
.spp-sidebar-workspace-slot .spp-installation-support-compact-list{max-height:none;overflow:visible;}
.spp-sidebar-workspace-slot .spp-compact-list>a,
.spp-sidebar-workspace-slot .spp-compact-list>div{min-height:54px;}
.spp-sidebar-workspace-slot .spp-installation-lifecycle-tools{display:grid;gap:16px;}

.spp-root--admin[data-spp-theme="light"] .spp-sidebar-workspace-slot>.spp-installation-inline-details{background:#fff;border-color:rgba(30,58,82,.14);}

@media(max-width:900px){
  .spp-focused-workspace--sidebar .spp-focused-workspace__panel{width:100%;height:calc(100vh - 16px);max-height:calc(100vh - 16px);}
}

/* Smart Pro Portal 3.6.2 — Technician Center density & usability pass. */
@media (min-width:901px){
  .spp-focused-workspace--technician .spp-focused-workspace__panel{
    width:min(1180px,calc(100vw - 44px));
    height:min(82vh,780px);
  }
  .spp-focused-workspace--technician .spp-focused-workspace__header{padding:14px 18px 11px;}
  .spp-focused-workspace--technician .spp-focused-workspace__header h2{font-size:21px;}
  .spp-focused-workspace--technician .spp-focused-workspace__header p{margin-top:4px;font-size:9.5px;}
  .spp-focused-workspace--technician .spp-focused-workspace__body{padding:10px 14px 14px;}
  .spp-focused-workspace--technician .spp-technician-tabs{padding:7px 10px;gap:7px;}
  .spp-focused-workspace--technician .spp-technician-tab{min-height:34px;padding:6px 11px;}
  .spp-focused-workspace--technician .spp-technician-advanced-link{padding:6px 8px;}
}

.spp-technician-workspace .spp-tools-control-mirror{gap:9px;}
.spp-technician-workspace .spp-tools-control-meta{margin:0 0 6px;gap:6px 12px;font-size:8.5px;}
.spp-technician-workspace .spp-control-completion{margin-bottom:8px;padding:9px 11px;font-size:11px;}

/* General: compact summary rather than a tall card. */
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline>.spp-tools-control-sections{padding:0;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline>.spp-tools-control-sections>section:first-child{padding:10px 12px;border-radius:12px;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline>.spp-tools-control-sections>section:first-child>.spp-eyebrow{font-size:9px;margin-bottom:2px;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline .spp-detail-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:7px 0 0;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline .spp-detail-facts>div{padding:9px 10px;border-radius:10px;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline .spp-detail-facts span{margin-bottom:3px;font-size:8px;}
.spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline .spp-detail-facts strong{font-size:11.5px;}

/* Guardian: four always-visible functional cards in a dense 2×2 desktop layout. */
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-tools-control-mirror{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  gap:9px;
}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-tools-control-meta,
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-control-completion{grid-column:1/-1;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]{
  min-width:0;
  align-self:start;
  border-radius:12px;
  overflow:hidden;
}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-summary{
  min-height:0;
  padding:9px 11px 7px;
  cursor:default;
  border-bottom:1px solid rgba(148,163,184,.11);
}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-summary::after{display:none;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-summary span:first-child{display:block;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-summary small{font-size:10.5px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-summary>.spp-status-badge{font-size:8px;padding:4px 7px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-fold-lead{padding:6px 11px 4px;font-size:8.8px;line-height:1.35;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-detail-facts,
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-form,
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-actions,
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-empty-inline,
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-sub:not(.spp-tools-control-fold-lead){margin-left:10px;margin-right:10px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-detail-facts,
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-form{margin-bottom:8px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-actions{margin-bottom:8px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] .spp-detail-facts{gap:6px;margin-top:5px;margin-bottom:7px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] .spp-detail-facts>div{padding:7px 8px;border-radius:9px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] .spp-detail-facts span{margin-bottom:2px;font-size:7.8px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] .spp-detail-facts strong{font-size:10.5px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] .spp-tools-control-form{gap:6px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] .spp-tools-control-form .spp-detail-facts label{padding:7px 8px;gap:4px;border-radius:9px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] .spp-tools-control-form .spp-detail-facts label>span{font-size:7.8px;line-height:1.25;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"] input[type="number"]{width:82px;min-height:32px;padding:5px 8px;border-radius:8px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-POLICY"] .spp-tools-control-form .spp-detail-facts{grid-template-columns:repeat(3,minmax(0,1fr));}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-MASTER-TEST-POLICY"] .spp-tools-control-form .spp-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-guardian-scope-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-guardian-scope-option{min-height:32px;padding:6px 7px;border-radius:8px;gap:6px;font-size:9px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-guardian-scope-option input[type="checkbox"]{width:14px;height:14px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-tools-control-check{gap:7px;padding:7px 8px!important;border-radius:9px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-tools-control-check span strong{font-size:9.5px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-tools-control-check span small{font-size:8px;line-height:1.3;}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-actions{gap:6px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] .spp-btn{min-height:31px;padding:6px 9px;font-size:9px;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-ACTIONS"] .spp-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-ACTIONS"] .spp-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-ACTIONS"] .spp-actions form,
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-ACTIONS"] .spp-actions .spp-btn{width:100%;}
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-SCOPE"] .spp-tools-control-form>.spp-sub,
.spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-ACTIONS"]>.spp-sub:last-child{font-size:7.8px;line-height:1.3;margin-top:0;margin-bottom:8px;}

/* Automations: keep expandable families, compact the opened working area. */
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-tools-control-summary{min-height:48px;padding:10px 12px;}
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-tools-control-summary small{font-size:11px;}
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-tools-control-fold-lead{padding:0 12px 8px;font-size:9px;}
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-detail-facts,
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-tools-control-form,
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-actions,
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-empty-inline,
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-compact-list,
.spp-technician-workspace[data-spp-tech-active="automations"] [data-spp-tech-section="automations"]>.spp-sub:not(.spp-tools-control-fold-lead){margin-left:12px;margin-right:12px;}
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-detail-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:7px;margin-bottom:9px;}
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-detail-facts>div,
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-tools-control-form .spp-detail-facts label{padding:8px 9px;border-radius:9px;}
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-tools-control-form{gap:8px;margin-bottom:9px;}
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] input[type="number"],
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] input[type="time"]{width:110px;max-width:100%;min-height:34px;padding:6px 8px;}
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] select{width:min(260px,100%);min-height:34px;padding:6px 8px;}
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-actions{margin-bottom:9px;gap:7px;}
.spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-btn{min-height:32px;padding:6px 10px;font-size:9.5px;}

/* Advanced remains an engineering accordion, only slightly denser. */
.spp-technician-workspace[data-spp-tech-active="advanced"] [data-spp-tech-section="advanced"]>.spp-tools-control-summary{min-height:52px;padding:11px 13px;}

.spp-root--admin[data-spp-theme="light"] .spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-tech-section="guardian"]>.spp-tools-control-summary{border-color:rgba(30,58,82,.10);}

@media (max-width:1050px){
  .spp-technician-workspace[data-spp-tech-active="guardian"] .spp-tools-control-mirror{grid-template-columns:1fr;}
  .spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline .spp-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:720px){
  .spp-technician-workspace[data-spp-tech-active="general"] .spp-tools-control-fold--baseline .spp-detail-facts,
  .spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-POLICY"] .spp-tools-control-form .spp-detail-facts,
  .spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-MASTER-TEST-POLICY"] .spp-tools-control-form .spp-detail-facts,
  .spp-technician-workspace[data-spp-tech-active="automations"] details[open] .spp-detail-facts{grid-template-columns:1fr;}
  .spp-technician-workspace[data-spp-tech-active="guardian"] .spp-guardian-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-technician-workspace[data-spp-tech-active="guardian"] [data-spp-control-code="GUARDIAN-ACTIONS"] .spp-actions{grid-template-columns:1fr;}
}

/* Smart Pro Portal 3.6.3 — Unified Diagnostics Workspace. */
.spp-focused-workspace--diagnostics .spp-focused-workspace__panel,
.spp-focused-workspace--request-diagnostics .spp-focused-workspace__panel{
  grid-template-rows:auto auto minmax(0,1fr);
  width:min(1180px,calc(100vw - 44px));
  height:min(86vh,850px);
}
.spp-focused-workspace--diagnostics .spp-focused-workspace__header,
.spp-focused-workspace--request-diagnostics .spp-focused-workspace__header{padding:14px 18px 11px;}
.spp-focused-workspace--diagnostics .spp-focused-workspace__header h2,
.spp-focused-workspace--request-diagnostics .spp-focused-workspace__header h2{font-size:21px;}
.spp-focused-workspace--diagnostics .spp-focused-workspace__header p,
.spp-focused-workspace--request-diagnostics .spp-focused-workspace__header p{margin-top:4px;font-size:9.5px;}
.spp-focused-workspace--diagnostics .spp-focused-workspace__body,
.spp-focused-workspace--request-diagnostics .spp-focused-workspace__body{
  padding:10px 14px 14px;
  overflow-anchor:none;
}
.spp-diagnostics-tabs{display:flex;gap:7px;align-items:center;padding:7px 10px;border-bottom:1px solid var(--spp-line);background:rgba(7,15,27,.97);}
.spp-diagnostics-tab{flex:1 1 0;min-width:150px;min-height:34px;padding:6px 11px;border:1px solid rgba(148,163,184,.18);border-radius:9px;background:rgba(255,255,255,.025);color:var(--spp-muted);font:inherit;font-size:10.5px;font-weight:850;cursor:pointer;}
.spp-diagnostics-tab:hover,.spp-diagnostics-tab:focus-visible{border-color:rgba(81,207,255,.35);color:#d1f6ff;outline:none;}
.spp-diagnostics-tab.is-active{border-color:rgba(81,207,255,.48);background:rgba(14,165,233,.18);color:#d6f8ff;box-shadow:inset 0 -2px 0 rgba(56,189,248,.68);}
.spp-diagnostics-advanced-link{flex:0 0 auto;margin-left:8px;padding:6px 8px;border:0;background:transparent;color:#7690a7;font:inherit;font-size:9px;font-weight:750;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(118,144,167,.36);text-underline-offset:3px;}
.spp-diagnostics-advanced-link:hover,.spp-diagnostics-advanced-link:focus-visible,.spp-diagnostics-advanced-link.is-active{color:#9beaff;outline:none;text-decoration-color:rgba(81,207,255,.7);}
.spp-diagnostics-workspace [data-spp-diagnostics-section][hidden],
.spp-request-diagnostics-workspace [data-spp-request-diag-section][hidden]{display:none!important;}
.spp-diagnostics-workspace .spp-diagnostic-snapshot-overview{display:grid;gap:9px;margin-bottom:9px;}
.spp-diagnostics-workspace .spp-request-diagnostic-summary-grid{gap:8px;}
.spp-diagnostics-workspace .spp-request-diagnostic-summary-grid>div{min-height:68px;padding:10px 11px;border-radius:11px;}
.spp-diagnostics-workspace .spp-request-diagnostic-summary-grid span{font-size:8.5px;}
.spp-diagnostics-workspace .spp-request-diagnostic-summary-grid strong{font-size:12px;}
.spp-diagnostics-workspace .spp-request-diagnostic-section{padding:10px 11px;border-radius:12px;}
.spp-diagnostics-workspace .spp-request-diagnostic-section-head{margin-bottom:8px;}
.spp-diagnostics-workspace .spp-request-diagnostic-section-head h3{font-size:11.5px;}
.spp-diagnostics-workspace .spp-request-diagnostic-section-head p{font-size:8.7px;}
.spp-diagnostics-workspace .spp-request-diagnostic-area-grid{gap:7px;}
.spp-diagnostics-workspace .spp-request-diagnostic-area{padding:8px 9px;border-radius:10px;gap:4px;}
.spp-diagnostics-workspace .spp-request-diagnostic-area strong{font-size:10px;}
.spp-diagnostics-workspace .spp-request-diagnostic-area span{font-size:8.5px;}
.spp-diagnostics-workspace .spp-request-diagnostic-area small{font-size:8.5px;}
.spp-diagnostics-workspace .spp-request-diagnostic-two-col{gap:9px;}
.spp-diagnostics-workspace .spp-request-diagnostic-log{max-height:150px;}
.spp-diagnostics-workspace .spp-diagnostics-foundation{display:grid;gap:9px;}
.spp-diagnostics-workspace .spp-diagnostics-foundation>#spp-diagnostic-operations,
.spp-diagnostics-workspace .spp-diagnostics-foundation>#spp-diagnostic-fresh-check{margin:0;}
.spp-diagnostics-workspace .spp-diagnostic-operations{padding:9px 10px;gap:7px;}
.spp-diagnostics-workspace .spp-diagnostic-fresh-check-panel{padding:9px 11px;gap:7px;}
.spp-diagnostics-workspace .spp-diagnostic-health-grid--overview{gap:8px;}
.spp-diagnostics-workspace .spp-diagnostic-health-grid--overview .spp-diagnostic-health{min-height:102px;padding:9px 10px;}
.spp-diagnostics-workspace .spp-diagnostic-ux-details{overflow-anchor:none;}
.spp-diagnostics-workspace .spp-diagnostic-ux-details>summary{padding:9px 11px;}
.spp-diagnostics-workspace .spp-diagnostic-ux-details-body{padding:9px 10px 10px;}
.spp-request-diagnostics-workspace .spp-request-diagnostic-body-inner{display:grid;gap:10px;}
.spp-request-diagnostics-workspace .spp-request-diagnostic-summary-grid>div{min-height:78px;}
.spp-request-diagnostics-workspace .spp-request-diagnostic-actions{margin-top:0;}
.spp-request-diagnostics-workspace .spp-request-diagnostic-footer-actions{margin-top:0;}
.spp-request-diagnostics-workspace .spp-request-diagnostic-ai-note{margin-top:0;}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostics-tabs{background:#f1f6fa;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostics-tab{background:#fff;color:#526b82;border-color:rgba(30,58,82,.15);}
.spp-root--admin[data-spp-theme="light"] .spp-diagnostics-tab.is-active{background:#eaf7fb;color:#176681;border-color:rgba(23,119,155,.30);}
@media(max-width:900px){
  .spp-focused-workspace--diagnostics .spp-focused-workspace__panel,
  .spp-focused-workspace--request-diagnostics .spp-focused-workspace__panel{width:100%;height:calc(100vh - 16px);max-height:calc(100vh - 16px);}
  .spp-diagnostics-tabs{overflow-x:auto;padding:8px 9px;}
  .spp-diagnostics-tab{flex:0 0 auto;min-width:120px;}
  .spp-diagnostics-advanced-link{margin-left:0;white-space:nowrap;}
}

/* Smart Pro Portal 3.6.4 — Subscription + Installation administration workspaces. */
.spp-sidebar-tabbed-workspace{width:min(980px,100%);margin:0 auto;}
.spp-sidebar-workspace-tabs{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  margin:0 0 12px;padding:7px;border:1px solid var(--spp-line);border-radius:14px;
  background:rgba(4,15,28,.36);position:sticky;top:-1px;z-index:3;
}
.spp-sidebar-workspace-tab{
  min-height:38px;border:1px solid var(--spp-line);border-radius:10px;
  background:rgba(255,255,255,.018);color:var(--spp-muted);font:inherit;font-size:12px;
  cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.spp-sidebar-workspace-tab:hover{color:var(--spp-text);border-color:rgba(77,199,245,.28);}
.spp-sidebar-workspace-tab.is-active{
  color:var(--spp-text);background:rgba(46,149,201,.18);border-color:rgba(69,188,239,.72);
  box-shadow:inset 0 -2px 0 rgba(69,188,239,.72);
}
.spp-sidebar-workspace-panel[hidden]{display:none!important;}
.spp-sidebar-workspace-panel{display:grid;gap:12px;}

/* The server-rendered details remain the authoritative containers, but tabs replace their accordion chrome. */
.spp-sidebar-workspace-panel>.spp-sidebar-tab-section{display:block;margin:0;border:0;background:transparent;overflow:visible;}
.spp-sidebar-workspace-panel>.spp-sidebar-tab-section>summary{display:none!important;}
.spp-sidebar-workspace-panel>.spp-sidebar-tab-section>.spp-installation-inline-details-body{padding:0;}

/* Subscription: denser administration surface; irrelevant action fields are removed from layout by JS. */
[data-spp-workspace="subscription"] .spp-subscription-admin-card,
[data-spp-workspace="subscription"] .spp-subscription-audit-card{margin:0;padding:18px;border-radius:14px;}
[data-spp-workspace="subscription"] .spp-subscription-admin-card .spp-card-head,
[data-spp-workspace="subscription"] .spp-subscription-audit-card .spp-card-head{margin-bottom:12px;}
[data-spp-workspace="subscription"] .spp-subscription-safety-intro{margin-bottom:12px;padding:11px 12px;}
[data-spp-workspace="subscription"] .spp-subscription-safety-form{display:grid;gap:10px;}
[data-spp-workspace="subscription"] .spp-subscription-safety-form label{margin:0;}
[data-spp-workspace="subscription"] .spp-subscription-action-guidance,
[data-spp-workspace="subscription"] .spp-subscription-validation,
[data-spp-workspace="subscription"] .spp-subscription-grace-note{margin:0;}
[data-spp-workspace="subscription"] .spp-subscription-field-hidden{display:none!important;}
[data-spp-workspace="subscription"] .spp-subscription-audit-list{display:grid;gap:8px;}
[data-spp-workspace="subscription"] .spp-subscription-audit-entry>summary{min-height:56px;padding:10px 12px;}

/* Installation: keep everyday editing separate from pairing / protected lifecycle actions. */
[data-spp-workspace="installation-management"] .spp-sidebar-workspace-panel{gap:10px;}
[data-spp-workspace="installation-management"] .spp-admin-quick-form{display:grid;gap:11px;margin:0;}
[data-spp-workspace="installation-management"] .spp-admin-quick-form>label{margin:0;}
[data-spp-workspace="installation-management"] .spp-installation-technical-identifiers{margin-top:2px;}
[data-spp-workspace="installation-management"] .spp-installation-lifecycle-tools{gap:12px;}
[data-spp-workspace="installation-management"] .spp-installation-lifecycle-block{padding:16px;}
[data-spp-workspace="installation-management"] .spp-installation-lifecycle-block .spp-btn{min-height:40px;}

.spp-root--admin[data-spp-theme="light"] .spp-sidebar-workspace-tabs{background:#eef5f9;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-sidebar-workspace-tab{background:#fff;color:#5c7185;border-color:rgba(30,58,82,.15);}
.spp-root--admin[data-spp-theme="light"] .spp-sidebar-workspace-tab.is-active{background:#eaf7fb;color:#176681;border-color:rgba(23,119,155,.38);}

@media(max-width:700px){
  .spp-sidebar-workspace-tabs{position:static;grid-template-columns:1fr;padding:6px;}
  [data-spp-workspace="subscription"] .spp-subscription-admin-card,
  [data-spp-workspace="subscription"] .spp-subscription-audit-card{padding:14px;}
}

/* 3.6.5 — Full Installation Folder Density Pass */
.spp-root--admin .spp-installation-workspace{
  gap:12px;
}
.spp-root--admin .spp-installation-workspace>.spp-detail-main,
.spp-root--admin .spp-installation-workspace>.spp-detail-sidebar{
  gap:12px;
}
.spp-root--admin .spp-installation-live-summary{
  padding:18px 20px;
}
.spp-root--admin .spp-installation-live-summary .spp-card-head{
  margin-bottom:8px;
}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid{
  margin-top:10px;
  gap:7px;
}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid>div{
  padding:9px 10px;
  min-height:62px;
}
.spp-installation-quick-actions-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  min-width:0;
}
.spp-installation-quick-actions-grid>.spp-workspace-entry-card{
  min-width:0;
  padding:17px 18px;
}
.spp-installation-quick-actions-grid .spp-card-head{
  margin-bottom:8px;
}
.spp-installation-quick-actions-grid .spp-workspace-entry-metrics{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:9px;
}
.spp-installation-quick-actions-grid .spp-workspace-entry-metrics>div{
  padding:9px 10px;
  min-height:53px;
}
.spp-installation-quick-actions-grid .spp-workspace-entry-metrics span{
  font-size:8px;
}
.spp-installation-quick-actions-grid .spp-workspace-entry-metrics strong{
  margin-top:3px;
  font-size:11.5px;
}
.spp-installation-quick-actions-grid .spp-workspace-entry-metrics--diagnostics>div:last-child strong{
  font-size:10px;
}
.spp-installation-quick-actions-grid .spp-workspace-entry-footer{
  margin-top:9px;
  padding-top:9px;
}
.spp-workspace-entry-footer--action-only{
  justify-content:flex-end;
}
.spp-installation-quick-actions-grid .spp-workspace-entry-footer .spp-btn{
  min-height:38px;
  padding:8px 13px;
}
.spp-detail-sidebar .spp-installation-subscription-workspace,
.spp-detail-sidebar .spp-installation-management-workspace{
  padding:14px 16px;
}
.spp-detail-sidebar .spp-installation-subscription-workspace .spp-card-head,
.spp-detail-sidebar .spp-installation-management-workspace .spp-card-head{
  margin-bottom:8px;
}
.spp-detail-sidebar .spp-installation-subscription-summary,
.spp-detail-sidebar .spp-installation-management-summary{
  margin-top:8px;
  gap:6px;
}
.spp-detail-sidebar .spp-installation-subscription-summary>div,
.spp-detail-sidebar .spp-installation-management-summary>div{
  padding:8px 9px;
  min-height:50px;
}
.spp-installation-subscription-summary--dense{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.spp-installation-subscription-summary--dense strong>.spp-status-badge{
  display:inline-flex;
  margin-top:-1px;
  font-size:10px;
  line-height:1;
  padding:5px 8px;
}
.spp-detail-sidebar .spp-sidebar-workspace-entry{
  margin-top:9px;
}
.spp-detail-sidebar .spp-sidebar-workspace-entry .spp-btn{
  min-height:38px;
  padding:8px 12px;
}
.spp-detail-sidebar .spp-installation-support-recent .spp-compact-list>a:nth-child(n+2){
  display:flex;
}
.spp-detail-sidebar .spp-installation-support-recent .spp-compact-list{
  gap:6px;
}
.spp-detail-sidebar .spp-installation-support-recent .spp-compact-list>a{
  padding:9px 10px;
}
@media(max-width:1180px){
  .spp-installation-quick-actions-grid{grid-template-columns:1fr;}
}
@media(max-width:720px){
  .spp-installation-subscription-summary--dense{grid-template-columns:1fr;}
}


/* =========================================================
   Smart Pro Portal 3.6.6 — Dark Mode Design System Pilot
   Shared semantic tokens + first controlled rollout on Customers.
   No layout/backend semantics changed outside this visual pilot.
   ========================================================= */
.spp-root--admin[data-spp-theme="dark"]{
  /* Canvas + surface hierarchy */
  --spp-ds-canvas:#060c17;
  --spp-ds-surface-1:#0b1424;
  --spp-ds-surface-2:#101b2d;
  --spp-ds-surface-3:#162338;
  --spp-ds-surface-hover:#192a43;

  /* Text hierarchy */
  --spp-ds-text-strong:#f7f9fc;
  --spp-ds-text:#dce5ef;
  --spp-ds-text-muted:#9aaabd;
  --spp-ds-text-subtle:#74869c;

  /* Borders */
  --spp-ds-border:rgba(148,163,184,.14);
  --spp-ds-border-strong:rgba(125,211,252,.25);

  /* Brand + semantic accents */
  --spp-ds-primary:#42c7ee;
  --spp-ds-primary-strong:#24b6e4;
  --spp-ds-primary-soft:rgba(66,199,238,.11);
  --spp-ds-info:#60a5fa;
  --spp-ds-info-soft:rgba(96,165,250,.10);
  --spp-ds-success:#4adea2;
  --spp-ds-success-soft:rgba(74,222,162,.10);
  --spp-ds-warning:#f5c451;
  --spp-ds-warning-soft:rgba(245,196,81,.10);
  --spp-ds-danger:#fb7d93;
  --spp-ds-danger-soft:rgba(251,125,147,.10);
  --spp-ds-shadow:0 18px 44px rgba(0,0,0,.22);
}

/* Customers is the 3.6.6 approval surface. The dashboard remains the visual reference
   and all other Admin pages intentionally keep their 3.6.5 styling for now. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-main{
  color:var(--spp-ds-text);
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head--admin .spp-eyebrow{
  color:var(--spp-ds-primary)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head--admin h1{
  color:var(--spp-ds-text-strong)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head--admin .spp-lead{
  color:var(--spp-ds-text)!important;
}

/* Primary action: one clear brand action language. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head-actions .spp-btn--primary,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-create-modal .spp-btn--primary{
  min-height:42px;
  padding:10px 16px;
  color:#03131a!important;
  background:linear-gradient(180deg,#63d7f4,var(--spp-ds-primary-strong))!important;
  border:1px solid rgba(125,231,255,.62)!important;
  box-shadow:0 10px 26px rgba(36,182,228,.16),inset 0 1px 0 rgba(255,255,255,.24)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head-actions .spp-btn--primary:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-create-modal .spp-btn--primary:hover{
  background:linear-gradient(180deg,#7ae0f8,#35c4eb)!important;
  border-color:rgba(153,238,255,.78)!important;
  transform:translateY(-1px);
}

/* KPI family: same card grammar, semantic accent only where meaning exists. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis{
  gap:12px;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi{
  position:relative;
  overflow:hidden;
  min-height:108px;
  color:var(--spp-ds-text)!important;
  background:linear-gradient(145deg,var(--spp-ds-surface-2),var(--spp-ds-surface-1))!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:inset 0 3px 0 rgba(66,199,238,.72),var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi>span,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi>small{
  color:var(--spp-ds-text-muted)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi>strong{
  color:#7dddf7!important;
  text-shadow:0 0 22px rgba(66,199,238,.10);
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--success{
  border-color:rgba(74,222,162,.25)!important;
  background:linear-gradient(145deg,rgba(74,222,162,.075),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(74,222,162,.72),var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--success>strong{
  color:#71e9b8!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--warning{
  border-color:rgba(245,196,81,.27)!important;
  background:linear-gradient(145deg,rgba(245,196,81,.08),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(245,196,81,.74),var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--warning>strong{
  color:#f6d36f!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--info{
  border-color:rgba(96,165,250,.26)!important;
  background:linear-gradient(145deg,rgba(96,165,250,.075),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(96,165,250,.72),var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--info>strong{
  color:#84b9ff!important;
}

/* List shell: visibly one level above interactive rows. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-table-card{
  background:linear-gradient(155deg,var(--spp-ds-surface-1),#091221)!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-table-card .spp-card-head h2{
  color:var(--spp-ds-text-strong)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-table-card .spp-sub{
  color:var(--spp-ds-text-muted)!important;
}

/* Search/filter controls share one field language. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] [data-spp-admin-filter-root] input[type="search"],
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] [data-spp-admin-filter-root] select{
  min-height:42px;
  color:var(--spp-ds-text)!important;
  background:var(--spp-ds-surface-2)!important;
  border:1px solid var(--spp-ds-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] [data-spp-admin-filter-root] input[type="search"]:focus,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] [data-spp-admin-filter-root] select:focus{
  border-color:rgba(66,199,238,.48)!important;
  box-shadow:0 0 0 3px rgba(66,199,238,.08)!important;
  outline:none;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-filter-count{
  color:var(--spp-ds-text-muted)!important;
}

/* Interactive rows: stronger surface separation and restrained semantic values. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-list{
  gap:10px;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link{
  position:relative;
  min-height:74px;
  color:var(--spp-ds-text)!important;
  background:linear-gradient(145deg,var(--spp-ds-surface-2),rgba(16,27,45,.76))!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:inset 3px 0 0 rgba(66,199,238,.34);
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link:focus-visible{
  background:linear-gradient(145deg,var(--spp-ds-surface-hover),var(--spp-ds-surface-2))!important;
  border-color:rgba(66,199,238,.42)!important;
  box-shadow:inset 3px 0 0 var(--spp-ds-primary),0 12px 28px rgba(0,0,0,.14)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link>div>span,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link>div>small{
  color:var(--spp-ds-text-muted)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link>div>strong{
  color:var(--spp-ds-text-strong)!important;
}
/* Installations = brand/info, Online = success, Requests = warning. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link>div:nth-child(2)>strong{color:#7dddf7!important;}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link>div:nth-child(3)>strong{color:#71e9b8!important;}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link>div:nth-child(4)>strong{color:#f6d36f!important;}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-identity>span{
  color:#04131a!important;
  background:linear-gradient(145deg,#83e5f9,var(--spp-ds-primary-strong))!important;
  box-shadow:0 8px 20px rgba(36,182,228,.13);
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-row-chevron{
  color:var(--spp-ds-primary)!important;
}

/* Customer-create modal inherits the same three-surface grammar. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-create-modal .spp-followup-modal-dialog{
  background:var(--spp-ds-surface-1)!important;
  border-color:var(--spp-ds-border-strong)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-create-modal input{
  color:var(--spp-ds-text)!important;
  background:var(--spp-ds-surface-2)!important;
  border-color:var(--spp-ds-border)!important;
}


/* =========================================================
   Smart Pro Portal 3.6.7 — Dark Mode Pilot Refinement
   Customers-only correction pass: softer canvas, wider desktop
   shell, KPI symmetry and calmer action/identity emphasis.
   ========================================================= */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"]{
  --spp-ds-canvas:#091321;
  background:
    radial-gradient(circle at 12% 0%,rgba(66,199,238,.055),transparent 30rem),
    radial-gradient(circle at 90% 8%,rgba(74,222,162,.035),transparent 27rem),
    var(--spp-ds-canvas)!important;
}

/* Keep the navigation/header as the darkest layer while allowing the page canvas to breathe. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-topbar{
  background:rgba(5,10,19,.97)!important;
}

/* Use more of a wide desktop without turning the page into edge-to-edge content. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-main{
  width:min(1580px,calc(100% - 40px))!important;
  max-width:1580px!important;
}

/* Customers KPI cards now share the compact Dashboard KPI vertical rhythm. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi{
  min-height:82px!important;
  padding:11px 14px!important;
  border-radius:15px!important;
  box-shadow:inset 0 3px 0 rgba(66,199,238,.72),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi>span{
  font-size:9px!important;
  letter-spacing:.62px!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi>strong{
  margin-top:5px!important;
  font-size:26px!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi>small{
  margin-top:3px!important;
  font-size:9.5px!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--success{
  box-shadow:inset 0 3px 0 rgba(74,222,162,.72),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--warning{
  box-shadow:inset 0 3px 0 rgba(245,196,81,.74),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-customer-list-kpis .spp-admin-mini-kpi--info{
  box-shadow:inset 0 3px 0 rgba(96,165,250,.72),0 10px 26px rgba(0,0,0,.15)!important;
}

/* “Add customer” remains clear, but no longer competes with the page content. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head-actions .spp-btn--primary{
  min-height:38px!important;
  padding:8px 13px!important;
  color:#bfefff!important;
  background:linear-gradient(180deg,rgba(22,35,56,.92),rgba(12,24,40,.96))!important;
  border:1px solid rgba(66,199,238,.34)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head-actions .spp-btn--primary:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-page-head-actions .spp-btn--primary:focus-visible{
  color:#e2f8ff!important;
  background:linear-gradient(180deg,rgba(28,52,76,.96),rgba(15,34,53,.98))!important;
  border-color:rgba(66,199,238,.52)!important;
  box-shadow:0 0 0 3px rgba(66,199,238,.07)!important;
  transform:translateY(-1px);
}

/* Customer initial is an identity cue, not a primary action. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-identity>span{
  color:#8fdcf1!important;
  background:linear-gradient(145deg,rgba(66,199,238,.13),rgba(96,165,250,.07))!important;
  border:1px solid rgba(66,199,238,.20)!important;
  box-shadow:none!important;
}

@media(max-width:1620px){
  .spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-main{
    width:min(var(--spp-admin-shell),calc(100% - 40px))!important;
    max-width:var(--spp-admin-shell)!important;
  }
}

/* =========================================================
   Smart Pro Portal 3.6.8 — Main Portal Dark Mode Rollout
   Applies the approved Customers 3.6.7 visual language only to
   top-level Admin pages. Detail/sub-pages remain intentionally
   outside this pass.
   ========================================================= */

/* Top-level admin canvas: Customers is the approved reference. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
){
  --spp-ds-canvas:#091321;
  background:
    radial-gradient(circle at 12% 0%,rgba(66,199,238,.055),transparent 30rem),
    radial-gradient(circle at 90% 8%,rgba(74,222,162,.035),transparent 27rem),
    var(--spp-ds-canvas)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-topbar{
  background:rgba(5,10,19,.97)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-main{
  width:min(1580px,calc(100% - 40px))!important;
  max-width:1580px!important;
  color:var(--spp-ds-text)!important;
}

/* Shared top-level heading hierarchy. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-page-head--admin .spp-eyebrow{color:var(--spp-ds-primary)!important;}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-page-head--admin h1{color:var(--spp-ds-text-strong)!important;}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-page-head--admin .spp-lead{color:var(--spp-ds-text)!important;}

/* Calm primary page actions: visible, but not visually louder than the page state. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-page-head-actions .spp-btn--primary{
  min-height:38px!important;
  padding:8px 13px!important;
  color:#bfefff!important;
  background:linear-gradient(180deg,rgba(22,35,56,.92),rgba(12,24,40,.96))!important;
  border:1px solid rgba(66,199,238,.34)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-page-head-actions .spp-btn--primary:hover,
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-page-head-actions .spp-btn--primary:focus-visible{
  color:#e2f8ff!important;
  background:linear-gradient(180deg,rgba(28,52,76,.96),rgba(15,34,53,.98))!important;
  border-color:rgba(66,199,238,.52)!important;
  box-shadow:0 0 0 3px rgba(66,199,238,.07)!important;
  transform:translateY(-1px);
}

/* KPI family: one height/radius/typographic rhythm across main pages. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="support-center"],
  [data-spp-view="partners"]
) .spp-admin-mini-kpi,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-overview-strip article{
  min-height:82px!important;
  padding:11px 14px!important;
  border-radius:15px!important;
  color:var(--spp-ds-text)!important;
  background:linear-gradient(145deg,var(--spp-ds-surface-2),var(--spp-ds-surface-1))!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:inset 0 3px 0 rgba(66,199,238,.65),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="support-center"],
  [data-spp-view="partners"]
) .spp-admin-mini-kpi>span,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi>span,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-overview-strip article>span{
  color:var(--spp-ds-text-muted)!important;
  font-size:9px!important;
  letter-spacing:.62px!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="support-center"],
  [data-spp-view="partners"]
) .spp-admin-mini-kpi>strong,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi>strong,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-overview-strip article>strong{
  margin-top:5px!important;
  color:#7dddf7!important;
  font-size:26px!important;
  line-height:1!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="support-center"],
  [data-spp-view="partners"]
) .spp-admin-mini-kpi>small{
  margin-top:3px!important;
  color:var(--spp-ds-text-muted)!important;
  font-size:9.5px!important;
}

/* Semantic KPI accents stay subtle and meaningful. */
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="support-center"],[data-spp-view="partners"]) .spp-admin-mini-kpi--success,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi--active,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-overview-strip--ok{
  border-color:rgba(74,222,162,.25)!important;
  background:linear-gradient(145deg,rgba(74,222,162,.075),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(74,222,162,.72),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="support-center"],[data-spp-view="partners"]) .spp-admin-mini-kpi--success>strong,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi--active>strong,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-overview-strip--ok>strong{color:#71e9b8!important;}

.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="support-center"],[data-spp-view="partners"]) .spp-admin-mini-kpi--warning,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi--grace,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-overview-strip--warning{
  border-color:rgba(245,196,81,.27)!important;
  background:linear-gradient(145deg,rgba(245,196,81,.08),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(245,196,81,.74),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="support-center"],[data-spp-view="partners"]) .spp-admin-mini-kpi--warning>strong,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi--grace>strong,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-overview-strip--warning>strong{color:#f6d36f!important;}

.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="support-center"],[data-spp-view="partners"]) .spp-admin-mini-kpi--info,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi--pending{
  border-color:rgba(96,165,250,.26)!important;
  background:linear-gradient(145deg,rgba(96,165,250,.075),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(96,165,250,.72),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="support-center"],[data-spp-view="partners"]) .spp-admin-mini-kpi--info>strong,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-sub-kpi--pending>strong{color:#84b9ff!important;}

.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] :is(.spp-admin-sub-kpi--expired,.spp-admin-sub-kpi--suspended){
  border-color:rgba(251,125,147,.27)!important;
  background:linear-gradient(145deg,rgba(251,125,147,.075),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(251,125,147,.72),0 10px 26px rgba(0,0,0,.15)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] :is(.spp-admin-sub-kpi--expired,.spp-admin-sub-kpi--suspended)>strong{color:#ff9bad!important;}

/* Main section surfaces. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-card{
  background:linear-gradient(155deg,var(--spp-ds-surface-1),#091221)!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-card h2{color:var(--spp-ds-text-strong)!important;}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-card .spp-sub{color:var(--spp-ds-text-muted)!important;}

/* Shared search/filter field language. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"]
) [data-spp-admin-filter-root] input[type="search"],
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"]
) [data-spp-admin-filter-root] select{
  min-height:42px;
  color:var(--spp-ds-text)!important;
  background:var(--spp-ds-surface-2)!important;
  border:1px solid var(--spp-ds-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"]
) [data-spp-admin-filter-root] input[type="search"]:focus,
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"]
) [data-spp-admin-filter-root] select:focus{
  border-color:rgba(66,199,238,.48)!important;
  box-shadow:0 0 0 3px rgba(66,199,238,.08)!important;
  outline:none;
}

/* Customer / subscription / partner rows use one interactive surface grammar. */
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"],[data-spp-view="partners"]) .spp-admin-data-list{gap:10px;}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"],[data-spp-view="partners"]) .spp-admin-data-row{
  color:var(--spp-ds-text)!important;
  background:linear-gradient(145deg,var(--spp-ds-surface-2),rgba(16,27,45,.76))!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:inset 3px 0 0 rgba(66,199,238,.30)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"],[data-spp-view="partners"]) .spp-admin-data-row:hover{
  background:linear-gradient(145deg,var(--spp-ds-surface-hover),var(--spp-ds-surface-2))!important;
  border-color:rgba(66,199,238,.38)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"],[data-spp-view="partners"]) .spp-admin-data-row>div>span,
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"],[data-spp-view="partners"]) .spp-admin-data-row>div>small{color:var(--spp-ds-text-muted)!important;}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"],[data-spp-view="partners"]) .spp-admin-data-row>div>strong{color:var(--spp-ds-text-strong)!important;}

/* Customer initial remains a quiet identity cue. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-identity>span{
  color:#8fdcf1!important;
  background:linear-gradient(145deg,rgba(66,199,238,.13),rgba(96,165,250,.07))!important;
  border:1px solid rgba(66,199,238,.20)!important;
  box-shadow:none!important;
}

/* Installations list uses the same surface separation without changing accordion behavior. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-accordion{
  background:linear-gradient(145deg,var(--spp-ds-surface-2),rgba(16,27,45,.76))!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:inset 3px 0 0 rgba(66,199,238,.30),0 8px 22px rgba(0,0,0,.10)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-summary{
  color:var(--spp-ds-text)!important;
  background:transparent!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-summary:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-summary:focus-visible,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-accordion.is-open .spp-admin-installation-summary{
  background:rgba(66,199,238,.045)!important;
}

/* Support: bring the inner operational rows into the same three-surface system. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="support-center"] :is(.spp-support-upcoming-row,.spp-support-followup-row,.spp-support-access-row,.spp-admin-all-clear){
  background:var(--spp-ds-surface-2)!important;
  border-color:var(--spp-ds-border)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="support-center"] :is(.spp-support-upcoming-row,.spp-support-followup-row):hover{
  background:var(--spp-ds-surface-hover)!important;
  border-color:rgba(66,199,238,.38)!important;
}

/* Partner foundation and Settings facts: replace flat black/white blocks with the same layered system. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="partners"] .spp-admin-partner-principles>div,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="settings"] .spp-admin-setting-facts>div{
  background:var(--spp-ds-surface-2)!important;
  border-color:var(--spp-ds-border)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="partners"] .spp-admin-partner-principles span{
  color:#8fdcf1!important;
  background:var(--spp-ds-primary-soft)!important;
  border:1px solid rgba(66,199,238,.20)!important;
}

/* Secondary actions and row actions are restrained, consistent outlines. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-btn--secondary{
  color:#bfefff!important;
  background:rgba(66,199,238,.07)!important;
  border-color:rgba(66,199,238,.24)!important;
  box-shadow:none!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="support-center"],
  [data-spp-view="subscriptions"],
  [data-spp-view="partners"],
  [data-spp-view="settings"]
) .spp-btn--secondary:hover{
  color:#e2f8ff!important;
  background:rgba(66,199,238,.12)!important;
  border-color:rgba(66,199,238,.42)!important;
}

@media(max-width:1620px){
  .spp-root--admin[data-spp-theme="dark"]:is(
    [data-spp-view="customers"],
    [data-spp-view="installations"],
    [data-spp-view="support-center"],
    [data-spp-view="subscriptions"],
    [data-spp-view="partners"],
    [data-spp-view="settings"]
  ) .spp-main{
    width:min(var(--spp-admin-shell),calc(100% - 40px))!important;
    max-width:var(--spp-admin-shell)!important;
  }
}


/* =========================================================
   Smart Pro Portal 3.6.9 — Core Detail Dark Mode Alignment
   Extends the approved 3.6.7/3.6.8 shell geometry to the
   Admin Dashboard plus Customer and Installation detail views.
   Visual-only: no component/backend semantics changed.
   ========================================================= */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="dashboard"],
  [data-spp-view="customer"],
  [data-spp-view="installation"]
){
  --spp-ds-canvas:#091321;
  background:
    radial-gradient(circle at 12% 0%,rgba(66,199,238,.055),transparent 30rem),
    radial-gradient(circle at 90% 8%,rgba(74,222,162,.035),transparent 27rem),
    var(--spp-ds-canvas)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="dashboard"],
  [data-spp-view="customer"],
  [data-spp-view="installation"]
) .spp-topbar{
  background:rgba(5,10,19,.97)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="dashboard"],
  [data-spp-view="customer"],
  [data-spp-view="installation"]
) .spp-main{
  width:min(1580px,calc(100% - 40px))!important;
  max-width:1580px!important;
  color:var(--spp-ds-text)!important;
}

/* Detail page headings now line up with the approved main-tab hierarchy. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customer"],
  [data-spp-view="installation"]
) .spp-page-head--admin .spp-eyebrow{color:var(--spp-ds-primary)!important;}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customer"],
  [data-spp-view="installation"]
) .spp-page-head--admin h1{color:var(--spp-ds-text-strong)!important;}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customer"],
  [data-spp-view="installation"]
) .spp-page-head--admin .spp-lead{color:var(--spp-ds-text)!important;}

/* On ordinary desktop widths fall back to the established 1440px admin shell. */
@media(max-width:1620px){
  .spp-root--admin[data-spp-theme="dark"]:is(
    [data-spp-view="dashboard"],
    [data-spp-view="customer"],
    [data-spp-view="installation"]
  ) .spp-main{
    width:min(var(--spp-admin-shell),calc(100% - 40px))!important;
    max-width:var(--spp-admin-shell)!important;
  }
}

/* =========================================================
   Smart Pro Portal 3.6.10 — Admin Shell & Header Integration
   Shared wide shell, calmer sticky navigation, inline help,
   local clock and Customer Dossier geometry correction.
   ========================================================= */
.spp-root--admin{
  --spp-admin-shell:1580px;
}

/* One common wide geometry for the Admin shell and its detail pages. */
.spp-root--admin[data-spp-theme="dark"] .spp-main{
  width:min(var(--spp-admin-shell),calc(100% - 40px))!important;
  max-width:var(--spp-admin-shell)!important;
}

.spp-root--admin .spp-topbar{
  min-height:88px!important;
  padding:0 20px!important;
  background:rgba(6,13,24,.975)!important;
  border-bottom-color:rgba(148,163,184,.12)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.20)!important;
  backdrop-filter:blur(18px)!important;
}
.spp-root--admin .spp-topbar-shell{
  width:min(var(--spp-admin-shell),100%)!important;
  max-width:var(--spp-admin-shell)!important;
  margin:0 auto!important;
  min-height:88px!important;
  padding:0!important;
}

/* Quiet premium navigation: surface + cyan keyline only for the active area. */
.spp-root--admin .spp-nav--admin{gap:4px!important;}
.spp-root--admin .spp-nav--admin a{
  min-height:38px!important;
  padding:8px 11px!important;
  color:#9cadc2!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  box-shadow:none!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease!important;
}
.spp-root--admin .spp-nav--admin a:hover,
.spp-root--admin .spp-nav--admin a:focus-visible{
  transform:none!important;
  color:#e8f5fb!important;
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(148,163,184,.10)!important;
  box-shadow:none!important;
}
.spp-root--admin .spp-nav--admin a.is-active{
  color:#f7fcff!important;
  background:rgba(148,163,184,.08)!important;
  border-color:rgba(148,163,184,.16)!important;
  box-shadow:inset 0 -2px 0 #42c7ee!important;
}

/* The right side is one coherent utility cluster. */
.spp-root--admin .spp-user{
  gap:8px!important;
  min-width:0!important;
}
.spp-admin-clock{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 9px;
  color:#9fb0c4;
  font-size:11px;
  font-weight:750;
  font-variant-numeric:tabular-nums;
  letter-spacing:.15px;
  white-space:nowrap;
  border:1px solid rgba(148,163,184,.12);
  border-radius:10px;
  background:rgba(14,25,42,.55);
}
.spp-admin-help-mount{
  display:inline-flex;
  align-items:center;
  min-width:0;
}
.spp-admin-help-mount .spp-admin-help-toggle{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  min-height:34px!important;
  margin:0!important;
  padding:3px 8px 3px 5px!important;
  gap:6px!important;
  color:#9fb0c4!important;
  background:rgba(14,25,42,.55)!important;
  border:1px solid rgba(148,163,184,.12)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  transform:none!important;
}
.spp-admin-help-mount .spp-admin-help-toggle:hover{
  color:#e6f6fc!important;
  background:rgba(19,34,54,.80)!important;
  border-color:rgba(66,199,238,.25)!important;
  transform:none!important;
}
.spp-admin-help-mount .spp-admin-help-toggle span{
  width:24px!important;
  height:24px!important;
  font-size:12px!important;
  color:#8fc8d9!important;
  background:rgba(66,199,238,.08)!important;
  border-color:rgba(66,199,238,.16)!important;
  box-shadow:none!important;
}
.spp-admin-help-mount .spp-admin-help-toggle strong{
  font-size:10.5px!important;
  font-weight:800!important;
  white-space:nowrap;
}
.spp-admin-help-mount .spp-admin-help-toggle em{
  color:#71869e;
  font-size:9px;
  font-style:normal;
  font-weight:800;
  white-space:nowrap;
}
.spp-admin-help-mount .spp-admin-help-toggle.is-on{
  color:#dff9ff!important;
  background:rgba(17,43,57,.72)!important;
  border-color:rgba(66,199,238,.30)!important;
  box-shadow:none!important;
}
.spp-admin-help-mount .spp-admin-help-toggle.is-on span{
  color:#dffaff!important;
  background:rgba(66,199,238,.14)!important;
  border-color:rgba(66,199,238,.28)!important;
  box-shadow:none!important;
}
.spp-admin-help-mount .spp-admin-help-toggle.is-on em{color:#65d9f6;}

/* Keep theme/account/logout useful but visually subordinate to navigation/content. */
.spp-root--admin .spp-theme-quick-picker{
  width:90px!important;
  flex-basis:90px!important;
  height:34px!important;
  background:rgba(14,25,42,.62)!important;
  border-color:rgba(148,163,184,.14)!important;
  box-shadow:none!important;
}
.spp-root--admin .spp-theme-quick-picker button{
  height:26px!important;
  min-height:26px!important;
  font-size:12px!important;
}
.spp-root--admin .spp-avatar{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  color:#79d8ee!important;
  background:rgba(66,199,238,.09)!important;
  border:1px solid rgba(66,199,238,.12)!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
.spp-root--admin .spp-logout{
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 10px!important;
  color:#eab4c0!important;
  background:rgba(122,31,52,.08)!important;
  border:1px solid rgba(251,113,133,.15)!important;
  border-radius:10px!important;
  font-size:10.5px!important;
  box-shadow:none!important;
}
.spp-root--admin .spp-logout:hover,
.spp-root--admin .spp-logout:focus-visible{
  color:#ffdbe3!important;
  background:rgba(122,31,52,.16)!important;
  border-color:rgba(251,113,133,.28)!important;
}

/* Customer dossier KPI cards now share the approved Customers/Dashboard rhythm. */
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis .spp-admin-mini-kpi{
  min-height:82px!important;
  padding:11px 14px!important;
  border-radius:15px!important;
  box-shadow:inset 0 3px 0 rgba(66,199,238,.62),0 10px 26px rgba(0,0,0,.14)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis .spp-admin-mini-kpi>span{
  font-size:9px!important;
  letter-spacing:.62px!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis .spp-admin-mini-kpi>strong{
  margin-top:5px!important;
  font-size:26px!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis .spp-admin-mini-kpi>small{
  margin-top:3px!important;
  font-size:9.5px!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis .spp-admin-mini-kpi--success{
  box-shadow:inset 0 3px 0 rgba(74,222,162,.70),0 10px 26px rgba(0,0,0,.14)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis .spp-admin-mini-kpi--warning{
  box-shadow:inset 0 3px 0 rgba(245,196,81,.72),0 10px 26px rgba(0,0,0,.14)!important;
}

/* Wide desktop: true centred navigation with equal side tracks. */
@media(min-width:1480px){
  .spp-root--admin .spp-topbar-shell{
    display:grid!important;
    grid-template-columns:minmax(420px,1fr) auto minmax(420px,1fr)!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    gap:18px!important;
  }
  .spp-root--admin .spp-brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;}
  .spp-root--admin .spp-nav--admin{grid-column:2!important;grid-row:1!important;justify-self:center!important;width:max-content!important;max-width:none!important;overflow:visible!important;padding:0!important;}
  .spp-root--admin .spp-user{grid-column:3!important;grid-row:1!important;justify-self:end!important;}
}

/* Mid desktop/tablet: keep the same shell but let navigation breathe on row two. */
@media(min-width:721px) and (max-width:1479px){
  .spp-root--admin .spp-topbar{min-height:118px!important;}
  .spp-root--admin .spp-topbar-shell{
    min-height:118px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:62px 46px!important;
    gap:0 16px!important;
  }
  .spp-root--admin .spp-brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;}
  .spp-root--admin .spp-user{grid-column:2!important;grid-row:1!important;justify-self:end!important;}
  .spp-root--admin .spp-nav--admin{grid-column:1 / -1!important;grid-row:2!important;justify-self:center!important;width:max-content!important;max-width:100%!important;overflow-x:auto!important;padding:0!important;}
}

@media(max-width:1180px){
  .spp-admin-clock{display:none;}
  .spp-admin-help-mount .spp-admin-help-toggle em{display:none;}
}
@media(max-width:860px){
  .spp-admin-help-mount .spp-admin-help-toggle strong{display:none;}
  .spp-admin-help-mount .spp-admin-help-toggle{padding:4px!important;}
}
@media(max-width:720px){
  .spp-root--admin .spp-topbar{padding:0 12px!important;}
  .spp-root--admin .spp-topbar-shell{width:100%!important;max-width:100%!important;}
  .spp-root--admin .spp-main{width:min(100% - 24px,var(--spp-admin-shell))!important;}
  .spp-root--admin[data-spp-theme="dark"][data-spp-view="customer"] .spp-admin-customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}



/* =========================================================
   Smart Pro Portal 3.6.11 — Admin Header Two-Tier Architecture
   Keep primary navigation and global utilities separate, aligned
   to the exact same wide shell as page content.
   ========================================================= */
.spp-root--admin .spp-topbar{
  min-height:108px!important;
  padding:0!important;
}
.spp-root--admin .spp-topbar-shell{
  width:min(var(--spp-admin-shell),calc(100% - 40px))!important;
  max-width:var(--spp-admin-shell)!important;
  min-height:108px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(280px,1fr) auto minmax(280px,1fr)!important;
  grid-template-rows:70px 38px!important;
  column-gap:18px!important;
  row-gap:0!important;
  align-items:center!important;
}
.spp-root--admin .spp-brand{
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
}
.spp-root--admin .spp-nav--admin{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  width:max-content!important;
  max-width:none!important;
  overflow:visible!important;
  padding:0!important;
}
.spp-root--admin .spp-user{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
}
.spp-admin-utility-row{
  grid-column:1 / -1!important;
  grid-row:2!important;
  min-width:0;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  padding:0 2px;
  border-top:1px solid rgba(148,163,184,.09);
}
.spp-admin-utility-row .spp-admin-clock{
  min-height:28px;
  padding:0 8px;
  font-size:10.5px;
  color:#93a8be;
  background:transparent;
  border-color:rgba(148,163,184,.10);
}
.spp-admin-utility-row .spp-admin-help-toggle{
  min-height:28px!important;
  padding:2px 7px 2px 4px!important;
  background:transparent!important;
  border-color:rgba(148,163,184,.10)!important;
}
.spp-admin-utility-row .spp-admin-help-toggle span{
  width:21px!important;
  height:21px!important;
  font-size:11px!important;
}
.spp-admin-utility-row .spp-admin-help-toggle strong{font-size:10px!important;}
.spp-admin-utility-row .spp-admin-help-toggle em{font-size:8.5px!important;}

/* The page and the header use the exact same horizontal calculation. */
.spp-root--admin[data-spp-theme="dark"] .spp-main{
  width:min(var(--spp-admin-shell),calc(100% - 40px))!important;
  max-width:var(--spp-admin-shell)!important;
}

/* Mid-width desktop: navigation gets its own safe row; utilities stay separate. */
@media(min-width:721px) and (max-width:1279px){
  .spp-root--admin .spp-topbar{min-height:146px!important;}
  .spp-root--admin .spp-topbar-shell{
    min-height:146px!important;
    width:min(var(--spp-admin-shell),calc(100% - 32px))!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:62px 46px 38px!important;
    column-gap:14px!important;
  }
  .spp-root--admin .spp-brand{grid-column:1!important;grid-row:1!important;}
  .spp-root--admin .spp-user{grid-column:2!important;grid-row:1!important;}
  .spp-root--admin .spp-nav--admin{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:max-content!important;
    max-width:100%!important;
    overflow-x:auto!important;
  }
  .spp-root--admin .spp-admin-utility-row{grid-column:1 / -1!important;grid-row:3!important;}
}

@media(max-width:1180px){
  .spp-admin-utility-row .spp-admin-clock{display:inline-flex!important;}
}
@media(max-width:860px){
  .spp-admin-utility-row .spp-admin-clock{font-size:10px!important;}
}
@media(max-width:720px){
  .spp-root--admin .spp-topbar{min-height:132px!important;padding:0!important;}
  .spp-root--admin .spp-topbar-shell{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    min-height:132px!important;
    grid-template-columns:1fr auto!important;
    grid-template-rows:56px 42px 34px!important;
    column-gap:10px!important;
  }
  .spp-root--admin .spp-brand{grid-column:1!important;grid-row:1!important;}
  .spp-root--admin .spp-user{grid-column:2!important;grid-row:1!important;}
  .spp-root--admin .spp-nav--admin{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    max-width:100%!important;
    justify-self:stretch!important;
    overflow-x:auto!important;
  }
  .spp-root--admin .spp-admin-utility-row{
    grid-column:1 / -1!important;
    grid-row:3!important;
    min-height:34px!important;
  }
  .spp-root--admin[data-spp-theme="dark"] .spp-main{width:calc(100% - 24px)!important;}
  .spp-admin-utility-row .spp-admin-help-toggle strong,
  .spp-admin-utility-row .spp-admin-help-toggle em{display:none!important;}
  .spp-admin-utility-row .spp-admin-clock{font-size:9.5px!important;}
}


/* =========================================================
   Smart Pro Portal 3.6.12 — Dashboard Operational Attention
   + centred Quick Create + live-refresh state refinement.
   ========================================================= */

/* Align visible header contents to the same inner visual edge as page cards. */
.spp-root--admin .spp-topbar-shell{
  box-sizing:border-box!important;
  padding-left:18px!important;
  padding-right:18px!important;
}

/* Quick Create becomes a focused centered chooser rather than a side drawer. */
.spp-admin-create-modal{display:grid;place-items:center;padding:24px;}
.spp-admin-create-modal[hidden]{display:none!important;}
.spp-admin-create-modal .spp-drawer-backdrop{background:rgba(2,8,18,.82)!important;backdrop-filter:blur(8px)!important;}
.spp-admin-create-modal .spp-drawer-panel{
  position:relative!important;top:auto!important;right:auto!important;z-index:1;
  width:min(760px,calc(100vw - 48px))!important;height:auto!important;max-height:min(680px,calc(100vh - 48px))!important;
  overflow:auto!important;border:1px solid rgba(66,199,238,.20)!important;border-radius:22px!important;
  background:linear-gradient(180deg,#101b2c,#0b1524)!important;box-shadow:0 34px 100px rgba(0,0,0,.55)!important;
  animation:sppQuickCreateIn .16s ease-out!important;
}
.spp-admin-create-modal .spp-drawer-head{position:sticky!important;padding:20px 22px 16px!important;background:rgba(14,25,42,.96)!important;border-bottom-color:rgba(148,163,184,.12)!important;}
.spp-admin-create-modal .spp-drawer-body{padding:20px 22px 24px!important;}
.spp-admin-create-modal .spp-create-launcher-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.spp-admin-create-modal .spp-create-launcher-item{grid-template-columns:1fr;align-content:start;gap:10px;min-height:176px;padding:18px;}
.spp-admin-create-modal .spp-create-launcher-icon{width:38px;height:38px;border-radius:12px;}
.spp-admin-create-modal .spp-create-launcher-arrow{justify-self:end;margin-top:auto;}
@keyframes sppQuickCreateIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}

/* Live polling is now a small operational status pill. */
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta{
  width:max-content;max-width:100%;min-height:28px;margin-top:6px;padding:5px 9px;gap:7px;
  color:#9db2c8;font-size:9.5px;line-height:1.2;border:1px solid rgba(52,211,153,.16);
  border-radius:999px;background:rgba(52,211,153,.055);
}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta strong{color:#b9f6db;font-size:9.5px;white-space:nowrap;}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta>span:not(.spp-live-refresh-last){white-space:nowrap;}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-last{color:#7189a3;white-space:nowrap;}
.spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta.is-error{color:#f6c96b;border-color:rgba(245,196,81,.24);background:rgba(245,196,81,.065);}

/* Warning KPI may be acknowledged visually. Real status remains intact and danger states never expose this control. */
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card{position:relative;}
.spp-kpi-attention-ack{
  position:absolute;top:7px;right:28px;z-index:2;width:22px;height:22px;display:grid;place-items:center;
  color:#f4c95d;font-size:11px;font-weight:900;line-height:1;background:rgba(245,196,81,.10);
  border:1px solid rgba(245,196,81,.26);border-radius:999px;cursor:pointer;opacity:.78;
  transition:opacity .14s ease,background .14s ease,border-color .14s ease,transform .14s ease;
}
.spp-kpi-attention-ack[hidden]{display:none!important;}
.spp-kpi-attention-ack:hover,.spp-kpi-attention-ack:focus-visible{opacity:1;transform:translateY(-1px);outline:none;background:rgba(245,196,81,.17);border-color:rgba(245,196,81,.42);}
.spp-kpi-attention-ack.is-busy{opacity:.45;pointer-events:none;}
.spp-kpi-attention-ack.is-acknowledged{color:#9fb2c7;background:rgba(148,163,184,.08);border-color:rgba(148,163,184,.18);}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--warning.is-attention-acknowledged{
  border-color:rgba(148,163,184,.18)!important;
  background:linear-gradient(145deg,rgba(17,29,48,.92),rgba(10,17,33,.95))!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16),inset 0 3px 0 rgba(148,163,184,.20)!important;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--warning.is-attention-acknowledged .spp-kpi-icon{color:#a8b8ca!important;background:rgba(148,163,184,.08)!important;box-shadow:none!important;}
.spp-root--admin[data-spp-view="dashboard"] .spp-kpi-card--warning.is-attention-acknowledged .spp-kpi-arrow{color:#7f95aa!important;}

@media(max-width:760px){
  .spp-root--admin .spp-topbar-shell{padding-left:0!important;padding-right:0!important;}
  .spp-admin-create-modal{padding:12px;}
  .spp-admin-create-modal .spp-drawer-panel{width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;}
  .spp-admin-create-modal .spp-create-launcher-grid{grid-template-columns:1fr;}
  .spp-admin-create-modal .spp-create-launcher-item{min-height:0;grid-template-columns:auto minmax(0,1fr) auto;}
  .spp-root--admin[data-spp-view="dashboard"] .spp-live-refresh-meta{width:100%;border-radius:12px;flex-wrap:wrap;}
}


/* =========================================================
   Smart Pro Portal 3.6.17 — Installation Quick Management Compact Closeout
   ========================================================= */
.spp-root--admin .spp-installation-quick-modal{
  padding:14px;
}
.spp-root--admin .spp-installation-quick-modal-panel{
  width:min(1120px,calc(100vw - 28px));
  max-height:calc(100vh - 28px);
  overflow:auto;
}
.spp-root--admin .spp-installation-quick-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px 13px;
}
.spp-root--admin .spp-installation-quick-modal-head h2{font-size:22px;line-height:1.15;}
.spp-root--admin .spp-installation-quick-modal-head p{margin-top:5px;}
.spp-root--admin .spp-installation-quick-modal-head-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.spp-root--admin .spp-installation-quick-modal-head-actions>[data-spp-drawer-close]{position:static;}
.spp-root--admin .spp-installation-quick-full-link{min-height:36px;padding:8px 13px;font-size:12px;}
.spp-root--admin .spp-installation-quick-modal-body{
  gap:10px;
  padding:12px 18px 12px;
}
.spp-root--admin .spp-installation-quick-context{gap:7px;}
.spp-root--admin .spp-installation-quick-context>div{padding:8px 10px;}
.spp-root--admin .spp-installation-quick-modal-grid{gap:10px;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);}
.spp-root--admin .spp-installation-quick-section{gap:8px;padding:12px 13px;}
.spp-root--admin .spp-installation-quick-section label{gap:5px;}
.spp-root--admin .spp-installation-quick-section input{min-height:38px;padding-top:8px;padding-bottom:8px;}
.spp-root--admin .spp-installation-quick-readonly{padding:8px 10px;}
.spp-root--admin .spp-installation-quick-edit-actions{
  display:flex;
  justify-content:flex-start;
  padding-top:2px;
}
.spp-root--admin .spp-installation-quick-edit-actions .spp-btn{min-height:36px;padding:8px 13px;}
.spp-root--admin .spp-installation-quick-modal-actions{display:none!important;}
.spp-root--admin .spp-installation-quick-modal-panel>.spp-installation-lifecycle-tools{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:10px;
  padding:0 18px 16px;
}
.spp-root--admin .spp-installation-lifecycle-block{
  gap:12px;
  padding:12px 13px;
  border-radius:14px;
}
.spp-root--admin .spp-installation-lifecycle-block>div:first-child{max-width:none;}
.spp-root--admin .spp-installation-lifecycle-block h3{margin:2px 0 4px;font-size:14px;}
.spp-root--admin .spp-installation-lifecycle-block p{font-size:11px;line-height:1.45;}
.spp-root--admin .spp-installation-lifecycle-block p strong{color:var(--spp-text);}
.spp-root--admin .spp-installation-lifecycle-block--danger{
  border-color:var(--spp-line);
  background:rgba(255,255,255,.014);
  box-shadow:inset 3px 0 0 rgba(251,113,133,.42);
}
.spp-root--admin .spp-installation-lifecycle-block form .spp-btn,
.spp-root--admin .spp-installation-removal-disabled-action .spp-btn{min-height:36px;padding:8px 12px;font-size:12px;white-space:nowrap;}
.spp-root--admin .spp-installation-removal-copy{min-width:0;}
.spp-root--admin .spp-installation-removal-details{margin-top:8px;}
.spp-root--admin .spp-installation-removal-details>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:34px;
  padding:7px 9px;
  border:1px solid rgba(245,158,11,.20);
  border-radius:10px;
  background:rgba(245,158,11,.055);
  color:#fcd34d;
  cursor:pointer;
  list-style:none;
  font-size:10.5px;
  font-weight:750;
}
.spp-root--admin .spp-installation-removal-details>summary::-webkit-details-marker{display:none;}
.spp-root--admin .spp-installation-removal-details>summary small{color:#fde68a;font-size:10px;font-weight:700;white-space:nowrap;}
.spp-root--admin .spp-installation-removal-details>summary small::after{content:'Προβολή λόγων';}
.spp-root--admin .spp-installation-removal-details[open]>summary small::after{content:'Απόκρυψη';}
.spp-root--admin .spp-installation-removal-details .spp-installation-removal-lock{
  min-width:0;
  margin-top:7px;
  padding:8px 9px;
  font-size:10px;
  line-height:1.35;
}
.spp-root--admin .spp-installation-removal-disabled-action{
  display:grid;
  justify-items:end;
  align-content:center;
  gap:5px;
  flex:0 0 auto;
}
.spp-root--admin .spp-installation-removal-disabled-action small{
  max-width:175px;
  color:var(--spp-muted);
  font-size:9.5px;
  line-height:1.35;
  text-align:right;
}
.spp-root--admin .spp-installation-removal-disabled-action .spp-btn[disabled]{opacity:.48;cursor:not-allowed;filter:saturate(.72);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-lifecycle-block--danger{
  background:#fff;
  border-color:rgba(30,58,82,.13);
  box-shadow:inset 3px 0 0 rgba(190,24,93,.32);
}
.spp-root--admin[data-spp-theme="light"] .spp-installation-removal-details>summary{
  background:#fff8e8;
  border-color:rgba(180,83,9,.18);
  color:#92400e;
}
.spp-root--admin[data-spp-theme="light"] .spp-installation-removal-details>summary small{color:#a16207;}
@media(max-width:900px){
  .spp-root--admin .spp-installation-quick-modal-panel>.spp-installation-lifecycle-tools{grid-template-columns:1fr;}
}
@media(max-width:820px){
  .spp-root--admin .spp-installation-quick-modal-head{align-items:flex-start;}
  .spp-root--admin .spp-installation-quick-modal-head-actions{align-items:flex-start;}
  .spp-root--admin .spp-installation-quick-full-link{display:none;}
  .spp-root--admin .spp-installation-quick-modal-body{padding-left:14px;padding-right:14px;}
  .spp-root--admin .spp-installation-quick-modal-panel>.spp-installation-lifecycle-tools{padding-left:14px;padding-right:14px;}
}
@media(max-width:620px){
  .spp-root--admin .spp-installation-lifecycle-block{display:grid;grid-template-columns:1fr;}
  .spp-root--admin .spp-installation-lifecycle-block form{justify-self:start;}
  .spp-root--admin .spp-installation-removal-disabled-action{justify-items:start;}
  .spp-root--admin .spp-installation-removal-disabled-action small{text-align:left;}
}

/* 3.6.18 — Admin functional closeout bundle */
.spp-root--admin .spp-support-ops-shortcuts{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin:-2px 0 14px;}
.spp-root--admin .spp-request-guardian-source{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 10px;margin:14px 0 0;padding:11px 13px;border:1px solid rgba(56,189,248,.26);border-radius:12px;background:rgba(14,165,233,.06);}
.spp-root--admin .spp-request-guardian-source>span{grid-row:1/3;align-self:start;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--spp-cyan);}
.spp-root--admin .spp-request-guardian-source strong{font-size:13px;color:var(--spp-text);}
.spp-root--admin .spp-request-guardian-source small{font-size:11px;color:var(--spp-muted);}
.spp-root--admin .spp-field-help{display:block;margin-top:7px;color:var(--spp-muted);font-size:11px;line-height:1.45;}
.spp-root--admin .spp-customer-email-drawer .spp-drawer-panel{width:min(620px,94vw);}
.spp-root--admin .spp-customer-email-recipient{display:grid;gap:3px;padding:12px 13px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.025);}
.spp-root--admin .spp-customer-email-recipient>span{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--spp-muted);}
.spp-root--admin .spp-customer-email-recipient strong{color:var(--spp-text);font-size:14px;}
.spp-root--admin .spp-customer-email-recipient small{color:var(--spp-cyan);font-size:12px;overflow-wrap:anywhere;}
.spp-root--admin .spp-customer-email-confirm{grid-template-columns:auto 1fr!important;align-items:flex-start!important;gap:9px!important;padding:10px 11px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.02);}
.spp-root--admin .spp-customer-email-confirm input{width:auto!important;margin-top:2px;}
.spp-root--admin .spp-customer-email-confirm>span{font-size:12px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;color:var(--spp-text)!important;}
.spp-root--admin .spp-guardian-attention-actions form,.spp-root--admin .spp-guardian-row-actions form{display:inline-flex;margin:0;}
.spp-root--admin .spp-guardian-ack-label{display:inline-flex;align-items:center;width:max-content;padding:3px 8px;border-radius:999px;border:1px solid rgba(34,197,94,.28);background:rgba(34,197,94,.08);color:#86efac;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;}
.spp-root--admin .spp-request-infrastructure-more>summary{font-size:11px;padding-inline:10px;opacity:.78;}
.spp-root--admin .spp-request-infrastructure-more>summary:hover{opacity:1;}
@media(max-width:720px){.spp-root--admin .spp-support-ops-shortcuts{justify-content:flex-start}.spp-root--admin .spp-request-guardian-source{grid-template-columns:1fr}.spp-root--admin .spp-request-guardian-source>span{grid-row:auto}.spp-root--admin .spp-customer-email-drawer .spp-drawer-panel{width:100%;}}
.spp-root--admin .spp-request-guardian-source a{color:var(--spp-cyan);font-weight:800;text-decoration:none;}
.spp-root--admin .spp-request-guardian-source a:hover{text-decoration:underline;}

/* =========================================================
   Smart Pro Portal 3.6.19 — Support Workspace UX Consolidation
   ========================================================= */

/* Requests reuse the same Admin search/filter language as Customers,
   Installations, Guardian and Subscriptions. */
.spp-root--admin[data-spp-view="requests"] .spp-request-history-section{
  display:grid;
  gap:12px;
}
.spp-root--admin[data-spp-view="requests"] .spp-list-toolbar{
  margin:0;
  align-items:end;
}
.spp-root--admin[data-spp-view="requests"] .spp-admin-filter-toolbar{
  margin:0 0 2px;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="requests"] [data-spp-admin-filter-root] input[type="search"],
.spp-root--admin[data-spp-theme="dark"][data-spp-view="requests"] [data-spp-admin-filter-root] select{
  min-height:42px;
  color:var(--spp-ds-text,var(--spp-text))!important;
  background:var(--spp-ds-surface-2,rgba(255,255,255,.035))!important;
  border:1px solid var(--spp-ds-border,var(--spp-line))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="requests"] [data-spp-admin-filter-root] input[type="search"]:focus,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="requests"] [data-spp-admin-filter-root] select:focus{
  border-color:rgba(66,199,238,.48)!important;
  box-shadow:0 0 0 3px rgba(66,199,238,.08)!important;
  outline:none;
}

/* Admin request rows are now intentionally flat: list -> Request Folder.
   Timeline/detail exploration lives only inside the Request Workspace. */
.spp-root--admin .spp-request-record--admin.spp-request-record--flat{
  padding:0!important;
  overflow:hidden;
}
.spp-root--admin .spp-request-record--admin.spp-request-record--flat:hover{
  border-color:rgba(56,189,248,.24)!important;
  background:rgba(56,189,248,.018)!important;
}
.spp-root--admin .spp-request-compact-bar--flat{
  display:flex;
  align-items:stretch;
  gap:8px;
}
.spp-root--admin .spp-request-card-static{
  flex:1 1 auto;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(230px,1.05fr) minmax(220px,.95fr) auto;
  align-items:center;
  gap:14px;
  padding:15px 8px 15px 20px;
}
.spp-root--admin .spp-request-card-static .spp-request-badges{
  justify-content:flex-end;
  align-items:center;
}
.spp-root--admin .spp-request-record--flat .spp-request-compact-actions{
  padding:10px 16px 10px 6px;
}
.spp-root--admin .spp-request-record--flat .spp-request-compact-actions .spp-btn{
  white-space:nowrap;
}

/* Request Folder: less vertical bulk, without removing source/system context. */
.spp-root--admin .spp-request-workspace .spp-request-description-card{
  padding:18px 20px!important;
}
.spp-root--admin .spp-request-workspace .spp-request-description-card .spp-card-head{
  margin-bottom:8px!important;
}
.spp-root--admin .spp-request-workspace .spp-request-message--detail{
  margin:8px 0 0!important;
  line-height:1.5!important;
}
.spp-root--admin .spp-request-workspace .spp-request-guardian-source{
  margin-top:10px!important;
  padding:9px 11px!important;
}
.spp-root--admin .spp-request-workspace .spp-request-system-context{
  margin-top:12px!important;
}

/* Remote-access gate is a status pill now; detailed prerequisites remain encoded
   in workflow controls/title instead of consuming a full banner row. */
.spp-root--admin .spp-request-workspace .spp-request-remote-gate{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0 0 9px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.spp-root--admin .spp-request-workspace .spp-request-remote-gate strong{
  font-size:12px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
.spp-root--admin .spp-request-completion-note{
  padding:8px 10px!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.4!important;
}

/* Technical action buttons use one visual weight. */
.spp-root--admin .spp-request-workspace .spp-installation-remote-footer--request .spp-btn,
.spp-root--admin .spp-request-workspace .spp-installation-remote-footer--request .spp-status-link{
  font-weight:700!important;
}

/* Add Installation and direct Customer Email follow the Portal's centred-modal
   interaction model instead of legacy side drawers. */
.spp-root--admin .spp-installation-create-modal,
.spp-root--admin .spp-customer-email-modal{
  display:grid;
  place-items:center;
  padding:24px;
}
.spp-root--admin .spp-installation-create-modal[hidden],
.spp-root--admin .spp-customer-email-modal[hidden]{display:none!important;}
.spp-root--admin .spp-installation-create-modal .spp-drawer-backdrop,
.spp-root--admin .spp-customer-email-modal .spp-drawer-backdrop{
  background:rgba(2,8,18,.82)!important;
  backdrop-filter:blur(8px)!important;
}
.spp-root--admin .spp-installation-create-modal .spp-drawer-panel,
.spp-root--admin .spp-customer-email-modal .spp-drawer-panel{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  z-index:1;
  width:min(620px,calc(100vw - 48px))!important;
  height:auto!important;
  max-height:min(760px,calc(100vh - 48px))!important;
  overflow:auto!important;
  border:1px solid rgba(66,199,238,.20)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#101b2c,#0b1524)!important;
  box-shadow:0 34px 100px rgba(0,0,0,.55)!important;
  animation:sppQuickCreateIn .16s ease-out!important;
}
.spp-root--admin .spp-installation-create-modal .spp-drawer-head,
.spp-root--admin .spp-customer-email-modal .spp-drawer-head{
  position:sticky!important;
  top:0;
  z-index:2;
  padding:18px 20px 14px!important;
  background:rgba(14,25,42,.97)!important;
}
.spp-root--admin .spp-installation-create-modal .spp-drawer-body,
.spp-root--admin .spp-customer-email-modal .spp-drawer-body{
  padding:18px 20px 22px!important;
}

@media(max-width:1180px){
  .spp-root--admin .spp-request-compact-bar--flat{display:block;}
  .spp-root--admin .spp-request-record--flat .spp-request-compact-actions{justify-content:flex-end;padding:0 18px 14px;}
}
@media(max-width:820px){
  .spp-root--admin .spp-request-card-static{grid-template-columns:minmax(0,1fr) auto;}
  .spp-root--admin .spp-request-card-static .spp-request-compact-update{display:none;}
}
@media(max-width:620px){
  .spp-root--admin .spp-request-card-static{grid-template-columns:1fr;align-items:start;padding:14px 16px;}
  .spp-root--admin .spp-request-card-static .spp-request-badges{justify-content:flex-start;}
  .spp-root--admin .spp-request-record--flat .spp-request-compact-actions{padding:0 16px 14px;}
  .spp-root--admin .spp-request-record--flat .spp-request-compact-actions .spp-btn{width:100%;}
  .spp-root--admin .spp-installation-create-modal,
  .spp-root--admin .spp-customer-email-modal{padding:12px;}
  .spp-root--admin .spp-installation-create-modal .spp-drawer-panel,
  .spp-root--admin .spp-customer-email-modal .spp-drawer-panel{width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;}
}


/* =========================================================
   Smart Pro Portal 3.6.20 — Admin List Surface Consistency Pass
   Visual-only. Customers is the approved reference surface.
   ========================================================= */

/* One contained list-shell family across the main operational lists. */
.spp-root--admin:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) .spp-admin-table-card{
  padding:20px!important;
  border-radius:22px!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) .spp-admin-table-card{
  color:var(--spp-ds-text)!important;
  background:linear-gradient(155deg,var(--spp-ds-surface-1),#091221)!important;
  border-color:var(--spp-ds-border)!important;
  box-shadow:var(--spp-ds-shadow)!important;
}
.spp-root--admin:is(
  [data-spp-view="installations"],
  [data-spp-view="requests"]
) .spp-admin-table-card>.spp-card-head,
.spp-root--admin[data-spp-view="requests"] .spp-admin-request-list-card>.spp-list-toolbar{
  margin:0 0 12px!important;
  padding:0!important;
}
.spp-root--admin[data-spp-view="requests"] .spp-admin-request-list-card{
  display:block!important;
}
.spp-root--admin[data-spp-view="requests"] .spp-admin-request-list-card .spp-admin-filter-toolbar,
.spp-root--admin[data-spp-view="installations"] .spp-admin-installations-list-card .spp-admin-filter-toolbar{
  margin:0 0 14px!important;
}
.spp-root--admin[data-spp-view="requests"] .spp-admin-request-list-card .spp-request-list,
.spp-root--admin[data-spp-view="installations"] .spp-admin-installations-list-card .spp-installations-list{
  display:grid;
  gap:10px!important;
}

/* Search/filter bar uses one quiet nested surface across all four list views. */
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) .spp-admin-filter-toolbar{
  background:rgba(255,255,255,.022)!important;
  border-color:var(--spp-ds-border)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) [data-spp-admin-filter-root] input[type="search"],
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) [data-spp-admin-filter-root] select{
  min-height:42px;
  color:var(--spp-ds-text)!important;
  background:var(--spp-ds-surface-2)!important;
  border:1px solid var(--spp-ds-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) [data-spp-admin-filter-root] input[type="search"]:focus,
.spp-root--admin[data-spp-theme="dark"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) [data-spp-admin-filter-root] select:focus{
  border-color:rgba(66,199,238,.48)!important;
  box-shadow:0 0 0 3px rgba(66,199,238,.08)!important;
  outline:none;
}

/* Shared row surface + hover. Functionality stays view-specific. */
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"]) .spp-admin-data-row,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="requests"] .spp-request-record--admin.spp-request-record--flat,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-accordion{
  color:var(--spp-ds-text)!important;
  background:linear-gradient(145deg,var(--spp-ds-surface-2),rgba(16,27,45,.76))!important;
  border:1px solid var(--spp-ds-border)!important;
  box-shadow:inset 3px 0 0 rgba(66,199,238,.30)!important;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.spp-root--admin[data-spp-theme="dark"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"]) .spp-admin-data-row:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="requests"] .spp-request-record--admin.spp-request-record--flat:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-accordion:hover{
  background:linear-gradient(145deg,var(--spp-ds-surface-hover),var(--spp-ds-surface-2))!important;
  border-color:rgba(66,199,238,.42)!important;
  box-shadow:inset 3px 0 0 var(--spp-ds-primary),0 12px 28px rgba(0,0,0,.14)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="customers"] .spp-admin-data-row--customer-link:focus-visible{
  transform:translateY(-1px);
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="subscriptions"] .spp-admin-data-row:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="requests"] .spp-request-record--admin.spp-request-record--flat:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-accordion:hover{
  transform:none!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-summary:hover,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-summary:focus-visible{
  background:transparent!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-accordion.is-open{
  border-color:rgba(66,199,238,.34)!important;
  box-shadow:inset 3px 0 0 var(--spp-ds-primary),0 14px 30px rgba(0,0,0,.16)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="installations"] .spp-admin-installation-accordion.is-open .spp-admin-installation-summary{
  background:rgba(66,199,238,.045)!important;
}

/* Light Mode gets the same hierarchy without forcing Dark Mode colors. */
.spp-root--admin[data-spp-theme="light"]:is(
  [data-spp-view="customers"],
  [data-spp-view="installations"],
  [data-spp-view="requests"],
  [data-spp-view="subscriptions"]
) .spp-admin-table-card{
  background:#fff!important;
  border-color:rgba(32,61,86,.16)!important;
  box-shadow:var(--spp-shadow)!important;
}
.spp-root--admin[data-spp-theme="light"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"]) .spp-admin-data-row,
.spp-root--admin[data-spp-theme="light"][data-spp-view="requests"] .spp-request-record--admin.spp-request-record--flat,
.spp-root--admin[data-spp-theme="light"][data-spp-view="installations"] .spp-admin-installation-accordion{
  background:#edf3f8!important;
  border-color:rgba(32,61,86,.16)!important;
  box-shadow:inset 3px 0 0 rgba(2,132,199,.22)!important;
}
.spp-root--admin[data-spp-theme="light"]:is([data-spp-view="customers"],[data-spp-view="subscriptions"]) .spp-admin-data-row:hover,
.spp-root--admin[data-spp-theme="light"][data-spp-view="requests"] .spp-request-record--admin.spp-request-record--flat:hover,
.spp-root--admin[data-spp-theme="light"][data-spp-view="installations"] .spp-admin-installation-accordion:hover{
  background:#e6f1f8!important;
  border-color:rgba(2,132,199,.28)!important;
  box-shadow:inset 3px 0 0 rgba(2,132,199,.55),0 10px 24px rgba(34,58,78,.08)!important;
}

@media(max-width:720px){
  .spp-root--admin:is([data-spp-view="installations"],[data-spp-view="requests"]) .spp-admin-table-card{padding:16px!important;}
}

/* =========================================================
   Smart Pro Portal 3.6.21 — Request Workspace Compact Operations Pass
   ========================================================= */

/* Requests KPI cards: same semantic hierarchy as the rest of the Admin Portal. */
.spp-root--admin[data-spp-view="requests"] .spp-overview-strip article{
  position:relative;
  overflow:hidden;
  border-color:rgba(72,171,216,.24)!important;
  background:
    radial-gradient(circle at 0 0,rgba(56,189,248,.075),transparent 44%),
    linear-gradient(145deg,rgba(16,27,46,.94),rgba(10,18,33,.94))!important;
  box-shadow:inset 0 2px 0 rgba(73,197,237,.50);
}
.spp-root--admin[data-spp-view="requests"] .spp-overview-strip article>strong{color:#67ddff!important;}
.spp-root--admin[data-spp-view="requests"] .spp-overview-strip .spp-overview-strip--warning{
  border-color:rgba(245,183,50,.28)!important;
  background:
    radial-gradient(circle at 0 0,rgba(245,183,50,.085),transparent 44%),
    linear-gradient(145deg,rgba(18,27,43,.94),rgba(12,19,31,.94))!important;
  box-shadow:inset 0 2px 0 rgba(245,183,50,.55);
}
.spp-root--admin[data-spp-view="requests"] .spp-overview-strip .spp-overview-strip--warning>strong{color:#ffd166!important;}
.spp-root--admin[data-spp-view="requests"] .spp-overview-strip .spp-overview-strip--info{
  border-color:rgba(56,189,248,.28)!important;
  box-shadow:inset 0 2px 0 rgba(56,189,248,.62);
}
.spp-root--admin[data-spp-view="requests"] .spp-overview-strip .spp-overview-strip--ok{
  border-color:rgba(52,211,153,.26)!important;
  background:
    radial-gradient(circle at 0 0,rgba(52,211,153,.075),transparent 44%),
    linear-gradient(145deg,rgba(15,28,42,.94),rgba(10,20,31,.94))!important;
  box-shadow:inset 0 2px 0 rgba(52,211,153,.55);
}
.spp-root--admin[data-spp-view="requests"] .spp-overview-strip .spp-overview-strip--ok>strong{color:#6ee7b7!important;}

/* Guardian-generated Request Description: bounded findings rather than an ever-growing message wall. */
.spp-root--admin .spp-request-workspace .spp-request-message--guardian{
  margin-bottom:9px!important;
}
.spp-root--admin .spp-request-guardian-findings{
  margin-top:8px;
  border:1px solid rgba(71,190,232,.18);
  border-radius:12px;
  background:rgba(5,16,29,.34);
  overflow:hidden;
}
.spp-root--admin .spp-request-guardian-findings-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-bottom:1px solid rgba(71,190,232,.14);
}
.spp-root--admin .spp-request-guardian-findings-head>div{min-width:0;}
.spp-root--admin .spp-request-guardian-findings-head strong{
  display:block;
  color:var(--spp-text);
  font-size:12px;
  line-height:1.3;
}
.spp-root--admin .spp-request-guardian-findings-head small{
  display:block;
  margin-top:1px;
  color:var(--spp-admin-muted,var(--spp-muted));
  font-size:10px;
  line-height:1.3;
}
.spp-root--admin .spp-request-copy-all,
.spp-root--admin .spp-request-guardian-finding button{
  appearance:none;
  border:1px solid rgba(67,190,231,.24);
  border-radius:8px;
  background:rgba(56,189,248,.045);
  color:#86e7fb;
  cursor:pointer;
  font:inherit;
  font-size:10px;
  font-weight:750;
  line-height:1.2;
  padding:5px 8px;
  white-space:nowrap;
  transition:border-color .14s ease,background .14s ease,transform .14s ease;
}
.spp-root--admin .spp-request-copy-all:hover,
.spp-root--admin .spp-request-guardian-finding button:hover{
  border-color:rgba(67,190,231,.48);
  background:rgba(56,189,248,.10);
}
.spp-root--admin .spp-request-copy-all:active,
.spp-root--admin .spp-request-guardian-finding button:active{transform:translateY(1px);}
.spp-root--admin .spp-request-guardian-findings-list{
  max-height:148px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.spp-root--admin .spp-request-guardian-finding{
  display:grid;
  grid-template-columns:minmax(120px,.75fr) minmax(110px,1fr) auto;
  align-items:center;
  gap:9px;
  min-height:34px;
  padding:6px 9px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.spp-root--admin .spp-request-guardian-finding:last-child{border-bottom:0;}
.spp-root--admin .spp-request-guardian-finding code{
  min-width:0;
  overflow:hidden;
  color:#d9f7ff;
  font-family:inherit;
  font-size:11px;
  font-weight:780;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--admin .spp-request-guardian-finding>span{
  min-width:0;
  overflow:hidden;
  color:var(--spp-admin-muted,var(--spp-muted));
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--admin .spp-request-workspace .spp-request-guardian-source{
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr) auto;
  align-items:center;
  gap:7px!important;
  min-height:34px;
  margin-top:8px!important;
  padding:6px 9px!important;
  border-radius:10px!important;
}
.spp-root--admin .spp-request-workspace .spp-request-guardian-source>span{
  margin:0!important;
  font-size:9px!important;
}
.spp-root--admin .spp-request-workspace .spp-request-guardian-source>strong{
  margin:0!important;
  font-size:11px!important;
  white-space:nowrap;
}
.spp-root--admin .spp-request-workspace .spp-request-guardian-source>small{
  min-width:0;
  margin:0!important;
  overflow:hidden;
  color:var(--spp-admin-muted,var(--spp-muted));
  font-size:10px!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--admin .spp-request-workspace .spp-request-guardian-source>a{
  color:#40d9ff;
  font-size:10px;
  font-weight:780;
  white-space:nowrap;
}
.spp-root--admin .spp-request-workspace .spp-request-system-context{
  gap:8px!important;
  margin-top:10px!important;
  padding-top:10px!important;
}
.spp-root--admin .spp-request-workspace .spp-request-system-context>div{
  padding:8px 10px!important;
}

/* Request Flow: compact readiness bar + one editable preset field per note. */
.spp-root--admin .spp-request-remote-readiness{
  min-height:34px;
  margin-bottom:9px!important;
  padding:6px 9px!important;
  border-radius:10px!important;
}
.spp-root--admin .spp-request-remote-readiness strong{font-size:11px!important;}
.spp-root--admin .spp-request-remote-readiness span{font-size:10px!important;line-height:1.25!important;}
.spp-root--admin .spp-request-flow-form{gap:9px!important;}
.spp-root--admin .spp-request-note-field--primary{
  padding:8px!important;
  border-radius:10px!important;
}
.spp-root--admin .spp-request-combo{position:relative;min-width:0;}
.spp-root--admin .spp-request-combo-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 38px;
  align-items:stretch;
  min-width:0;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(4,13,25,.42);
  transition:border-color .14s ease,box-shadow .14s ease;
}
.spp-root--admin .spp-request-combo.is-open .spp-request-combo-shell,
.spp-root--admin .spp-request-combo-shell:focus-within{
  border-color:rgba(64,210,246,.48);
  box-shadow:0 0 0 3px rgba(64,210,246,.065);
}
.spp-root--admin .spp-request-combo-input{
  min-width:0!important;
  min-height:40px!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:10px 0 0 10px!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--spp-text)!important;
  font-size:12px!important;
}
.spp-root--admin .spp-request-combo-toggle{
  appearance:none;
  border:0;
  border-left:1px solid var(--spp-line);
  border-radius:0 10px 10px 0;
  background:rgba(56,189,248,.04);
  color:#66dcf8;
  cursor:pointer;
  font-size:16px;
  line-height:1;
}
.spp-root--admin .spp-request-combo-toggle:hover{background:rgba(56,189,248,.10);}
.spp-root--admin .spp-request-combo-menu{
  position:absolute;
  z-index:30;
  top:calc(100% + 5px);
  left:0;
  right:0;
  max-height:240px;
  overflow:auto;
  padding:5px;
  border:1px solid rgba(73,190,231,.23);
  border-radius:11px;
  background:#0b1627;
  box-shadow:0 18px 48px rgba(0,0,0,.38);
}
.spp-root--admin .spp-request-combo-menu[hidden]{display:none!important;}
.spp-root--admin .spp-request-combo-menu button{
  display:block;
  width:100%;
  padding:8px 9px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--spp-text);
  cursor:pointer;
  text-align:left;
}
.spp-root--admin .spp-request-combo-menu button:hover,
.spp-root--admin .spp-request-combo-menu button:focus{background:rgba(56,189,248,.085);outline:0;}
.spp-root--admin .spp-request-combo-menu strong{display:block;font-size:11px;line-height:1.3;}
.spp-root--admin .spp-request-combo-menu small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  color:var(--spp-admin-muted,var(--spp-muted));
  font-size:9px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--admin .spp-request-customer-update-details>summary{padding:8px 10px!important;}
.spp-root--admin .spp-request-customer-update-details-body{padding:0 8px 8px!important;}
.spp-root--admin .spp-request-customer-update-details-body .spp-field-help{margin-top:5px!important;font-size:9px!important;line-height:1.35!important;}
.spp-root--admin .spp-request-flow-save{min-height:40px!important;}

/* Direct customer email: a wider, shorter workspace so normal desktop use avoids needless scrolling. */
.spp-root--admin .spp-customer-email-modal .spp-drawer-panel{
  width:min(760px,calc(100vw - 48px))!important;
  max-height:min(820px,calc(100vh - 32px))!important;
}
.spp-root--admin .spp-customer-email-modal .spp-drawer-head{padding:14px 18px 11px!important;}
.spp-root--admin .spp-customer-email-modal .spp-drawer-body{padding:13px 18px 16px!important;gap:10px!important;}
.spp-root--admin .spp-customer-email-modal .spp-customer-email-recipient{padding:9px 11px!important;}
.spp-root--admin .spp-customer-email-modal textarea[name="email_message"]{min-height:132px!important;resize:vertical;}
.spp-root--admin .spp-customer-email-modal .spp-drawer-actions{margin-top:2px!important;}

.spp-root--admin[data-spp-theme="light"] .spp-request-guardian-findings,
.spp-root--admin[data-spp-theme="light"] .spp-request-combo-shell{background:#f8fbfd;}
.spp-root--admin[data-spp-theme="light"] .spp-request-combo-menu{background:#fff;box-shadow:0 18px 42px rgba(20,48,67,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-request-guardian-finding code{color:#12344a;}

@media(max-width:720px){
  .spp-root--admin .spp-request-workspace .spp-request-guardian-source{grid-template-columns:auto minmax(0,1fr);}
  .spp-root--admin .spp-request-workspace .spp-request-guardian-source>small{grid-column:1/-1;white-space:normal;}
  .spp-root--admin .spp-request-workspace .spp-request-guardian-source>a{justify-self:start;}
  .spp-root--admin .spp-request-guardian-finding{grid-template-columns:minmax(0,1fr) auto;}
  .spp-root--admin .spp-request-guardian-finding>span{grid-column:1;}
  .spp-root--admin .spp-request-guardian-finding>button{grid-column:2;grid-row:1/3;align-self:center;}
  .spp-root--admin .spp-customer-email-modal .spp-drawer-panel{width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;}
}
.spp-root--admin .spp-request-customer-update-details[open]{overflow:visible!important;}


/* =========================================================
   Smart Pro Portal 3.6.22 — Request Workspace Final Closeout
   ========================================================= */

/* Admin Request Folder: restore the information-first asymmetric desktop proportions.
 * Left = primary dossier/work area, right = compact operational helper column. */
@media(min-width:1181px){
  .spp-root--admin .spp-request-workspace{
    grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr)!important;
    gap:18px!important;
  }
}
.spp-root--admin .spp-request-workspace>.spp-detail-main,
.spp-root--admin .spp-request-workspace>.spp-detail-sidebar{
  align-content:start;
  gap:18px;
}
.spp-root--admin .spp-request-flow-card{position:static!important;}

/* Flow badges share the header row instead of consuming their own vertical row. */
.spp-root--admin .spp-request-flow-head{
  align-items:flex-start!important;
  gap:12px!important;
  margin-bottom:10px!important;
}
.spp-root--admin .spp-request-flow-head>div:first-child{min-width:0;}
.spp-root--admin .spp-request-flow-head .spp-request-flow-strip{
  flex:0 0 auto;
  justify-content:flex-end;
  margin:0!important;
  gap:6px!important;
}
.spp-root--admin .spp-request-flow-head .spp-status-badge,
.spp-root--admin .spp-request-flow-head .spp-workflow-badge,
.spp-root--admin .spp-request-flow-head .spp-request-runtime-pill{
  min-height:28px;
  padding:5px 8px;
  font-size:10px;
}

/* Both operator note fields are always visible and use the same compact surface. */
.spp-root--admin .spp-request-note-field--tools{
  gap:6px;
  padding:8px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(255,255,255,.018);
}
.spp-root--admin .spp-request-note-field--tools .spp-field-help{
  margin-top:0!important;
  font-size:9px!important;
  line-height:1.35!important;
}

/* Mouse-first combobox affordance: centred chevron with a predictable hit target. */
.spp-root--admin .spp-request-combo-shell{
  grid-template-columns:minmax(0,1fr) 42px!important;
}
.spp-root--admin .spp-request-combo-toggle{
  display:grid;
  place-items:center;
  min-width:42px;
  min-height:40px;
  padding:0!important;
}
.spp-root--admin .spp-request-combo-toggle>span{
  display:block;
  width:16px;
  line-height:1;
  text-align:center;
  transform:translateY(-1px);
}

/* Request History: bounded operational card under Request Flow. */
.spp-root--admin .spp-detail-sidebar>.spp-request-history-card{
  min-height:0;
  align-self:start;
}
.spp-root--admin .spp-detail-sidebar>.spp-request-history-card .spp-card-head{
  margin-bottom:9px;
}
.spp-root--admin .spp-detail-sidebar>.spp-request-history-card .spp-request-timeline-list--detail{
  max-height:330px!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding-right:4px;
}
.spp-root--admin .spp-detail-sidebar>.spp-request-history-card[data-expanded="1"] .spp-request-timeline-list--detail{
  max-height:330px!important;
}
.spp-root--admin .spp-detail-sidebar>.spp-request-history-card .spp-request-timeline-item{
  padding-top:10px;
  padding-bottom:10px;
}
.spp-root--admin .spp-detail-sidebar>.spp-request-history-card .spp-request-timeline-head{
  gap:8px;
}
.spp-root--admin .spp-detail-sidebar>.spp-request-history-card .spp-request-timeline-head time{
  white-space:nowrap;
}

/* Light mode parity. */
.spp-root--admin[data-spp-theme="light"] .spp-request-note-field--tools{
  background:#fbfdfe;
  border-color:rgba(30,58,82,.14);
}

@media(max-width:1180px){
  .spp-root--admin .spp-request-flow-head{
    align-items:flex-start!important;
    flex-direction:column;
  }
  .spp-root--admin .spp-request-flow-head .spp-request-flow-strip{
    justify-content:flex-start;
  }
}


/* =========================================================
   Smart Pro Portal 3.6.23 — Request Workspace Proportion & Height Balance
   ========================================================= */
@media(min-width:1181px){
  .spp-root--admin .spp-request-workspace .spp-request-description-card,
  .spp-root--admin .spp-request-workspace .spp-request-flow-card,
  .spp-root--admin .spp-request-workspace .spp-installation-remote-overview,
  .spp-root--admin .spp-request-workspace .spp-request-history-card{
    box-sizing:border-box;
  }
  .spp-root--admin .spp-request-workspace .spp-request-history-card{
    display:flex;
    flex-direction:column;
  }
  .spp-root--admin .spp-request-workspace .spp-request-history-card .spp-request-timeline-list--detail{
    flex:1 1 auto;
    min-height:0;
  }
}

/* =========================================================
   Smart Pro Portal 3.6.24 — Full Installation Folder Operational Overview
   Admin presentation-only density, typography and interaction pass.
   ========================================================= */
.spp-root--admin .spp-installation-folder-tabs{
  display:flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  margin:0 0 12px;
  padding:5px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:rgba(255,255,255,.018);
}
.spp-root--admin .spp-installation-folder-tab{
  min-height:34px;
  padding:7px 15px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:var(--spp-muted);
  font:inherit;
  font-size:10px;
  font-weight:750;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.spp-root--admin .spp-installation-folder-tab:hover,
.spp-root--admin .spp-installation-folder-tab:focus-visible{
  border-color:rgba(81,207,255,.28);
  background:rgba(56,189,248,.06);
  color:#bdefff;
  outline:none;
}
.spp-root--admin .spp-installation-folder-tab.is-active{
  border-color:rgba(81,207,255,.40);
  background:rgba(56,189,248,.11);
  color:#d7f8ff;
}
.spp-root--admin [data-spp-installation-folder-panel][hidden]{display:none!important;}
.spp-root--admin .spp-installation-folder-panel--files{max-width:none;}
.spp-root--admin .spp-installation-files-card{padding:20px;}

/* Keep the approved information hierarchy: wide operational column / narrow supporting sidebar. */
.spp-root--admin .spp-installation-workspace{
  grid-template-columns:minmax(0,1.48fr) minmax(330px,.72fr);
  gap:14px;
}
.spp-root--admin .spp-installation-workspace>.spp-detail-main,
.spp-root--admin .spp-installation-workspace>.spp-detail-sidebar{gap:12px;}

/* Softer typography inside this folder; Remote Access remains the visual reference. */
.spp-root--admin .spp-installation-workspace .spp-card-head h2,
.spp-root--admin .spp-installation-operator-hub h2{
  color:#edf5fb;
  font-size:17px;
  font-weight:720;
  letter-spacing:-.01em;
}
.spp-root--admin .spp-installation-workspace .spp-eyebrow,
.spp-root--admin .spp-installation-operator-hub .spp-eyebrow{
  color:#55d6ff;
  font-weight:800;
  letter-spacing:.08em;
}
.spp-root--admin .spp-installation-workspace .spp-sub,
.spp-root--admin .spp-installation-operator-hub .spp-sub{
  color:#8fa5b9;
  font-size:10px;
  line-height:1.45;
}
.spp-root--admin .spp-installation-workspace .spp-installation-summary-grid span,
.spp-root--admin .spp-installation-workspace .spp-installation-subscription-summary span,
.spp-root--admin .spp-installation-workspace .spp-installation-management-summary span,
.spp-root--admin .spp-installation-workspace .spp-installation-support-summary span{
  color:#8fa5b9;
  font-weight:760;
}
.spp-root--admin .spp-installation-workspace .spp-installation-summary-grid strong,
.spp-root--admin .spp-installation-workspace .spp-installation-subscription-summary strong,
.spp-root--admin .spp-installation-workspace .spp-installation-management-summary strong,
.spp-root--admin .spp-installation-workspace .spp-installation-support-summary strong{
  color:#7fe5ff;
  font-weight:720;
}

/* Live state becomes a quick scan strip instead of another information block. */
.spp-root--admin .spp-installation-live-summary{padding:14px 17px;}
.spp-root--admin .spp-installation-live-summary .spp-card-head{margin-bottom:6px;}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid{
  margin-top:7px;
  gap:6px;
}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid>div{
  min-height:48px;
  padding:7px 9px;
  border-radius:10px;
}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid span{font-size:7.8px;}
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid strong{margin-top:2px;font-size:10.8px;}

/* One daily-work hub; the existing launchers/workspaces remain authoritative underneath. */
.spp-root--admin .spp-installation-operator-hub{padding:17px 18px 15px;overflow:visible;}
.spp-root--admin .spp-installation-operator-hub__head{margin-bottom:10px;}
.spp-root--admin .spp-installation-operator-launchers{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.spp-root--admin .spp-installation-operator-launchers>.spp-workspace-entry-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:68px;
  padding:11px 12px;
  border:1px solid rgba(81,207,255,.17);
  border-radius:12px;
  background:rgba(56,189,248,.035);
  box-shadow:none;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.spp-root--admin .spp-installation-operator-launchers>.spp-workspace-entry-card::after{display:none;}
.spp-root--admin .spp-installation-operator-launchers>.spp-workspace-entry-card:hover{
  border-color:rgba(81,207,255,.34);
  background:rgba(56,189,248,.065);
  transform:translateY(-1px);
}
.spp-root--admin .spp-installation-operator-launchers .spp-card-head{
  margin:0;
  align-items:center;
  gap:8px;
}
.spp-root--admin .spp-installation-operator-launchers .spp-card-head h2{font-size:13px;font-weight:720;}
.spp-root--admin .spp-installation-operator-launchers .spp-card-head .spp-eyebrow{font-size:7.5px;}
.spp-root--admin .spp-installation-operator-launchers .spp-status-badge{font-size:7.5px;padding:5px 7px;}
.spp-root--admin .spp-installation-operator-launchers .spp-workspace-entry-metrics{display:none;}
.spp-root--admin .spp-installation-operator-launchers .spp-workspace-entry-footer{
  margin:0;
  padding:0;
  border:0;
  justify-content:flex-end;
}
.spp-root--admin .spp-installation-operator-launchers .spp-workspace-entry-footer .spp-btn{
  min-height:34px;
  padding:7px 10px;
  white-space:nowrap;
  font-size:9.5px;
}
.spp-root--admin .spp-installation-operator-remote{
  margin-top:11px;
  padding-top:11px;
  border-top:1px solid var(--spp-line);
}
.spp-root--admin .spp-installation-operator-remote>.spp-installation-remote-overview{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.spp-root--admin .spp-installation-operator-remote .spp-installation-remote-head{margin-bottom:4px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-remote-head h2{font-size:14px;font-weight:720;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-access-grid{margin-top:9px;gap:7px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-access-action{padding:10px 11px;border-radius:11px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-access-action strong{font-size:10.5px;font-weight:720;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-access-action>span{font-size:9px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-capability-recovery-grid{margin-top:6px;gap:6px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-capability-recovery{min-height:30px;padding:6px 8px;font-size:8px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-remote-footer{margin-top:8px;padding-top:8px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-remote-footer>span{font-size:8.5px;}
.spp-root--admin .spp-installation-operator-remote .spp-installation-remote-footer .spp-btn,
.spp-root--admin .spp-installation-operator-remote .spp-installation-diagnostics-link{font-size:9px;}


/* 3.6.265 — Managed External URL becomes a first-class Admin Full Folder surface. */
.spp-root--admin .spp-installation-operator-external-url{
  margin-top:11px;
  padding-top:11px;
  border-top:1px solid var(--spp-line);
}
.spp-root--admin .spp-installation-external-url-overview{
  padding:12px 13px;
  border:1px solid rgba(81,207,255,.17);
  border-radius:12px;
  background:rgba(56,189,248,.035);
}
.spp-root--admin .spp-installation-external-url-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.spp-root--admin .spp-installation-external-url-head h2{margin:2px 0 0;font-size:14px;font-weight:720;}
.spp-root--admin .spp-installation-external-url-head .spp-sub{margin-top:4px;font-size:9px;line-height:1.45;}
.spp-root--admin .spp-installation-external-url-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:10px;
}
.spp-root--admin .spp-installation-external-url-facts>div{
  min-width:0;
  padding:9px 10px;
  border:1px solid rgba(81,207,255,.12);
  border-radius:10px;
  background:rgba(5,16,30,.22);
}
.spp-root--admin .spp-installation-external-url-facts span,
.spp-root--admin .spp-installation-external-url-live span{display:block;color:var(--spp-muted);font-size:7.8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.spp-root--admin .spp-installation-external-url-facts strong{display:block;margin-top:3px;font-size:10px;line-height:1.35;overflow-wrap:anywhere;}
.spp-root--admin .spp-installation-external-url-live{
  margin-top:8px;
  padding:9px 10px;
  border-radius:10px;
  background:rgba(30,191,126,.07);
  border:1px solid rgba(30,191,126,.18);
}
.spp-root--admin .spp-installation-external-url-live a{display:block;margin-top:3px;color:#7de7ff;font-size:10px;font-weight:700;overflow-wrap:anywhere;}
.spp-root--admin .spp-installation-external-url-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:9px;flex-wrap:wrap;}
.spp-root--admin .spp-installation-external-url-actions .spp-btn{min-height:32px;padding:7px 10px;font-size:9px;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-external-url-overview{background:#f8fbfd;border-color:rgba(30,110,145,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-external-url-facts>div{background:#fff;border-color:rgba(30,110,145,.12);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-external-url-live{background:#eefaf5;border-color:rgba(29,145,97,.18);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-external-url-live a{color:#126b8b;}
@media(max-width:900px){
  .spp-root--admin .spp-installation-external-url-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .spp-root--admin .spp-installation-external-url-head{display:grid;}
  .spp-root--admin .spp-installation-external-url-facts{grid-template-columns:1fr;}
  .spp-root--admin .spp-installation-external-url-actions{justify-content:stretch;}
  .spp-root--admin .spp-installation-external-url-actions .spp-btn{width:100%;}
}

/* Right-column cards stay visually familiar but read lighter and more deliberately. */
.spp-root--admin .spp-detail-sidebar .spp-card{box-shadow:none;}
.spp-root--admin .spp-detail-sidebar .spp-card-head h2{font-size:16px;font-weight:720;}
.spp-root--admin .spp-detail-sidebar .spp-sidebar-workspace-entry .spp-btn{font-weight:700;}
.spp-root--admin .spp-detail-sidebar .spp-installation-support-compact-list>a{
  position:relative;
  cursor:pointer;
  border:1px solid transparent;
  border-radius:10px;
  transition:background .16s ease,border-color .16s ease,transform .16s ease,color .16s ease;
}
.spp-root--admin .spp-detail-sidebar .spp-installation-support-compact-list>a:hover,
.spp-root--admin .spp-detail-sidebar .spp-installation-support-compact-list>a:focus-visible{
  border-color:rgba(81,207,255,.30);
  background:rgba(56,189,248,.07);
  transform:translateY(-1px);
  outline:none;
}
.spp-root--admin .spp-detail-sidebar .spp-installation-support-compact-list>a:hover strong,
.spp-root--admin .spp-detail-sidebar .spp-installation-support-compact-list>a:focus-visible strong{color:#8eeaff;}
.spp-root--admin .spp-detail-sidebar .spp-installation-support-compact-list strong{
  color:#e8f1f8;
  font-weight:700;
}
.spp-root--admin .spp-detail-sidebar .spp-installation-support-compact-list small{color:#8fa5b9;}

.spp-root--admin[data-spp-theme="light"] .spp-installation-folder-tabs{background:#f4f8fb;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-folder-tab{color:#5b7185;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-folder-tab:hover,
.spp-root--admin[data-spp-theme="light"] .spp-installation-folder-tab:focus-visible,
.spp-root--admin[data-spp-theme="light"] .spp-installation-folder-tab.is-active{background:#eaf7fb;color:#176681;border-color:rgba(23,119,155,.28);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-workspace .spp-card-head h2,
.spp-root--admin[data-spp-theme="light"] .spp-installation-operator-hub h2{color:#17334a;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-workspace .spp-sub,
.spp-root--admin[data-spp-theme="light"] .spp-installation-operator-hub .spp-sub,
.spp-root--admin[data-spp-theme="light"] .spp-detail-sidebar .spp-installation-support-compact-list small{color:#667f93;}
.spp-root--admin[data-spp-theme="light"] .spp-installation-operator-launchers>.spp-workspace-entry-card{background:#f8fbfd;border-color:rgba(30,110,145,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-installation-operator-launchers>.spp-workspace-entry-card:hover{background:#eef9fc;border-color:rgba(23,119,155,.30);}
.spp-root--admin[data-spp-theme="light"] .spp-detail-sidebar .spp-installation-support-compact-list strong{color:#1c3a52;}
.spp-root--admin[data-spp-theme="light"] .spp-detail-sidebar .spp-installation-support-compact-list>a:hover,
.spp-root--admin[data-spp-theme="light"] .spp-detail-sidebar .spp-installation-support-compact-list>a:focus-visible{background:#edf8fc;border-color:rgba(23,119,155,.25);}
.spp-root--admin[data-spp-theme="light"] .spp-detail-sidebar .spp-installation-support-compact-list>a:hover strong,
.spp-root--admin[data-spp-theme="light"] .spp-detail-sidebar .spp-installation-support-compact-list>a:focus-visible strong{color:#126b8b;}

@media(max-width:1180px){
  .spp-root--admin .spp-installation-workspace{grid-template-columns:1fr;}
  .spp-root--admin .spp-installation-operator-launchers{grid-template-columns:1fr;}
}
@media(max-width:720px){
  .spp-root--admin .spp-installation-folder-tabs{width:100%;}
  .spp-root--admin .spp-installation-folder-tab{flex:1 1 0;}
  .spp-root--admin .spp-installation-operator-launchers>.spp-workspace-entry-card{grid-template-columns:1fr;}
  .spp-root--admin .spp-installation-operator-launchers .spp-workspace-entry-footer{justify-content:stretch;}
  .spp-root--admin .spp-installation-operator-launchers .spp-workspace-entry-footer .spp-btn{width:100%;}
}


/* Smart Pro Portal 3.6.25 — Subscription Workspace Readability & Audit Pass. */
[data-spp-workspace="subscription"] .spp-sidebar-workspace-tabs{
  background:var(--spp-panel);
  border-color:rgba(81,207,255,.16);
  box-shadow:0 8px 20px rgba(0,0,0,.22);
  isolation:isolate;
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-sidebar-workspace-tabs{
  background:#f7fbfd;
  border-color:rgba(30,58,82,.16);
  box-shadow:0 8px 18px rgba(29,55,77,.08);
}

[data-spp-workspace="subscription"] .spp-subscription-admin-card{
  display:grid;
  gap:12px;
}
[data-spp-workspace="subscription"] .spp-subscription-admin-card .spp-card-head{margin-bottom:0;}
[data-spp-workspace="subscription"] .spp-subscription-current-overview{
  display:grid;
  gap:9px;
  padding:12px 13px;
  border:1px solid rgba(81,207,255,.16);
  border-radius:12px;
  background:rgba(56,189,248,.045);
}
[data-spp-workspace="subscription"] .spp-subscription-current-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-head>div{
  min-width:0;
}
[data-spp-workspace="subscription"] .spp-subscription-current-head span,
[data-spp-workspace="subscription"] .spp-subscription-current-facts span{
  display:block;
  color:var(--spp-admin-info-label);
  font-size:10px;
  font-weight:760;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.45px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-head strong{
  display:block;
  margin-top:3px;
  color:var(--spp-admin-info-value);
  font-size:15px;
  line-height:1.3;
}
[data-spp-workspace="subscription"] .spp-subscription-current-remaining{
  text-align:right;
  flex:0 0 auto;
}
[data-spp-workspace="subscription"] .spp-subscription-current-remaining strong{
  color:#f8fafc;
  font-size:13px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-facts>div{
  min-width:0;
  padding:8px 9px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(255,255,255,.018);
}
[data-spp-workspace="subscription"] .spp-subscription-current-facts strong{
  display:block;
  margin-top:3px;
  color:#d8e9f3;
  font-size:11px;
  font-weight:700;
  line-height:1.35;
  overflow-wrap:anywhere;
}

[data-spp-workspace="subscription"] .spp-subscription-safety-intro{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:9px 11px;
  border-radius:10px;
}
[data-spp-workspace="subscription"] .spp-subscription-safety-intro strong{
  flex:0 0 auto;
  font-size:11px!important;
}
[data-spp-workspace="subscription"] .spp-subscription-safety-intro span{
  font-size:10px!important;
  line-height:1.4!important;
}
[data-spp-workspace="subscription"] .spp-subscription-safety-form{gap:9px;}
[data-spp-workspace="subscription"] .spp-subscription-action-guidance{
  padding:7px 9px;
  border-radius:9px;
  font-size:9.5px!important;
  line-height:1.4!important;
}
[data-spp-workspace="subscription"] .spp-subscription-source-control{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  align-items:stretch;
  gap:9px;
}
[data-spp-workspace="subscription"] .spp-subscription-source-unlock{
  min-height:100%;
  align-content:center;
}
[data-spp-workspace="subscription"] textarea[data-spp-subscription-note]{
  min-height:76px;
  resize:vertical;
}
[data-spp-workspace="subscription"] .spp-subscription-live-warning,
[data-spp-workspace="subscription"] .spp-subscription-grace-note{
  padding:8px 10px;
  border-radius:9px;
  font-size:10px;
  line-height:1.4;
}
[data-spp-workspace="subscription"] .spp-subscription-action-footer{
  position:sticky;
  bottom:-1px;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(190px,260px);
  align-items:center;
  gap:10px;
  padding:9px 0 1px;
  background:linear-gradient(180deg,rgba(10,17,33,0),var(--spp-panel) 32%);
}
[data-spp-workspace="subscription"] .spp-subscription-action-footer .spp-subscription-validation{
  margin:0;
  min-height:36px;
  display:flex;
  align-items:center;
}
[data-spp-workspace="subscription"] .spp-subscription-action-footer .spp-btn{
  width:100%;
  margin:0;
}

/* Audit details: keep the event readable without four heavy metadata cards. */
[data-spp-workspace="subscription"] .spp-subscription-audit-detail{
  display:grid;
  gap:10px;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-note{
  padding:10px 11px;
  border-radius:10px;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-note>span{
  display:block;
  margin-bottom:4px;
  color:var(--spp-admin-info-label);
  font-size:10px;
  font-weight:760;
  text-transform:uppercase;
  letter-spacing:.4px;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-meta--compact{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  padding:8px 10px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(255,255,255,.016);
}
[data-spp-workspace="subscription"] .spp-subscription-audit-meta--compact>span{
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  color:var(--spp-admin-muted)!important;
  font-size:10px!important;
  line-height:1.4!important;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-meta--compact strong{
  color:#d8e9f3!important;
  font-size:10px!important;
  font-weight:720;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-payment-note--compact{
  display:block;
  margin:0;
  padding:7px 9px;
  border:1px solid rgba(251,191,36,.18);
  border-radius:9px;
  background:rgba(251,191,36,.045);
}
[data-spp-workspace="subscription"] .spp-subscription-audit-payment-note--compact span{
  color:#b9c8d5!important;
  font-size:10px!important;
  line-height:1.45!important;
}

.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-overview{
  background:#f6fbfd;
  border-color:rgba(23,119,155,.16);
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-facts>div,
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-audit-meta--compact{
  background:#fff;
  border-color:rgba(30,58,82,.13);
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-remaining strong,
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-facts strong,
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-audit-meta--compact strong{
  color:#23445d!important;
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-action-footer{
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 32%);
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-audit-payment-note--compact span{
  color:#5b7185!important;
}

@media(max-width:760px){
  [data-spp-workspace="subscription"] .spp-subscription-current-head{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
  [data-spp-workspace="subscription"] .spp-subscription-current-remaining{text-align:left;}
  [data-spp-workspace="subscription"] .spp-subscription-current-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  [data-spp-workspace="subscription"] .spp-subscription-source-control{grid-template-columns:1fr;}
  [data-spp-workspace="subscription"] .spp-subscription-action-footer{
    position:static;
    grid-template-columns:1fr;
    padding-top:0;
    background:transparent!important;
  }
}

/* Smart Pro Portal 3.6.26 — shared management workspace shell + final Subscription polish. */
.spp-focused-workspace--sidebar[data-spp-protected-workspace] .spp-focused-workspace__backdrop{
  cursor:default;
}
.spp-focused-workspace--sidebar .spp-focused-workspace__header{
  padding:15px 18px 13px;
}
.spp-focused-workspace--sidebar .spp-focused-workspace__header h2{
  font-size:20px;
}
.spp-focused-workspace--sidebar .spp-focused-workspace__header p{
  max-width:900px;
  margin-top:5px;
  font-size:9.5px;
}
.spp-focused-workspace--sidebar .spp-focused-workspace__body{
  padding:12px 14px 18px;
}
.spp-management-workspace-shell{
  display:grid;
  gap:10px;
  margin:0;
  padding:16px;
  border-radius:16px;
}
.spp-management-workspace-shell>.spp-card-head,
.spp-management-workspace-head{
  margin:0;
}
.spp-management-workspace-shell>.spp-sidebar-workspace-tabs{
  position:static;
  top:auto;
  z-index:auto;
  margin:0;
  padding:5px;
  border-radius:11px;
  box-shadow:none;
  background:rgba(255,255,255,.018);
}
.spp-management-workspace-shell>.spp-sidebar-workspace-tabs .spp-sidebar-workspace-tab{
  min-height:36px;
  border-radius:8px;
  font-size:11px;
}
.spp-management-workspace-shell>.spp-sidebar-workspace-panel{
  gap:9px;
}

/* Subscription: keep one card/shell around both tabs and reduce routine vertical travel. */
[data-spp-workspace="subscription"] .spp-sidebar-tabbed-workspace,
[data-spp-workspace="installation-management"] .spp-sidebar-tabbed-workspace{
  width:min(1000px,100%);
}
[data-spp-workspace="subscription"] .spp-subscription-admin-card.spp-management-workspace-shell{
  padding:16px;
  gap:10px;
}
[data-spp-workspace="subscription"] .spp-subscription-admin-card.spp-management-workspace-shell>.spp-card-head{
  margin-bottom:0;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-card{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-card>.spp-card-head{
  margin:2px 0 8px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-overview{
  gap:7px;
  padding:10px 11px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-head strong{
  color:#6fdcf6;
}
[data-spp-workspace="subscription"] .spp-subscription-current-remaining strong{
  font-weight:820;
}
[data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-ok strong{color:#69e6b6;}
[data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-warning strong{color:#f5c84b;}
[data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-danger strong{color:#ff8b9b;}
[data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-info strong{color:#72ddf6;}
[data-spp-workspace="subscription"] .spp-subscription-current-facts{
  gap:6px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-facts>div{
  padding:7px 8px;
}
[data-spp-workspace="subscription"] .spp-subscription-current-facts strong{
  color:#79dff6;
  font-weight:720;
}
[data-spp-workspace="subscription"] .spp-subscription-safety-intro{
  padding:7px 9px;
  gap:8px;
}
[data-spp-workspace="subscription"] .spp-subscription-safety-intro strong{font-size:10px!important;}
[data-spp-workspace="subscription"] .spp-subscription-safety-intro span{font-size:9px!important;line-height:1.35!important;}
[data-spp-workspace="subscription"] .spp-subscription-safety-form{
  gap:7px;
}
[data-spp-workspace="subscription"] .spp-subscription-action-guidance{
  padding:6px 8px;
  font-size:9px!important;
  line-height:1.3!important;
}
[data-spp-workspace="subscription"] .spp-subscription-core-fields{
  display:grid;
  grid-template-columns:minmax(210px,.9fr) minmax(0,1.7fr);
  gap:9px;
  align-items:end;
}
[data-spp-workspace="subscription"] .spp-subscription-core-fields.spp-subscription-field-hidden{display:none!important;}
[data-spp-workspace="subscription"] .spp-subscription-date-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
[data-spp-workspace="subscription"] .spp-subscription-source-control{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:9px;
}
[data-spp-workspace="subscription"] .spp-subscription-source-unlock{
  min-height:48px;
  padding:7px 9px;
}
[data-spp-workspace="subscription"] .spp-subscription-source-unlock small{
  font-size:8.5px;
  line-height:1.3;
}
[data-spp-workspace="subscription"] .spp-subscription-live-warning,
[data-spp-workspace="subscription"] .spp-subscription-grace-note{
  padding:6px 8px;
  font-size:9px;
  line-height:1.3;
}
[data-spp-workspace="subscription"] .spp-subscription-final-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:9px;
  align-items:end;
}
[data-spp-workspace="subscription"] .spp-subscription-note-field{
  min-width:0;
}
[data-spp-workspace="subscription"] .spp-subscription-note-field .spp-request-combo-shell{
  min-height:42px;
}
[data-spp-workspace="subscription"] .spp-subscription-note-field .spp-request-combo-input{
  min-height:40px;
}
[data-spp-workspace="subscription"] .spp-subscription-action-footer{
  position:static;
  z-index:auto;
  display:grid;
  grid-template-columns:1fr;
  gap:5px;
  padding:0;
  background:transparent!important;
}
[data-spp-workspace="subscription"] .spp-subscription-action-footer .spp-subscription-validation{
  min-height:24px;
  padding:4px 7px;
  font-size:8.8px;
  line-height:1.25;
}
[data-spp-workspace="subscription"] .spp-subscription-action-footer .spp-btn{
  min-height:42px;
}

/* Subscription history rows share the Portal's clickable cyan edge language. */
[data-spp-workspace="subscription"] .spp-subscription-audit-entry{
  position:relative;
  overflow:hidden;
  border-left:3px solid transparent;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
[data-spp-workspace="subscription"] .spp-subscription-audit-entry:hover,
[data-spp-workspace="subscription"] .spp-subscription-audit-entry:focus-within{
  border-left-color:#20c8f3;
  background:rgba(56,189,248,.045);
  box-shadow:inset 7px 0 14px -12px rgba(32,200,243,.9);
}
[data-spp-workspace="subscription"] .spp-subscription-audit-entry>summary:focus-visible{
  outline:1px solid rgba(56,189,248,.48);
  outline-offset:-1px;
}

/* Installation Management uses the same embedded-tab workspace shell. */
[data-spp-workspace="installation-management"] .spp-installation-management-shell{
  min-height:0;
}
[data-spp-workspace="installation-management"] .spp-management-workspace-head .spp-sub{
  margin-top:4px;
  color:var(--spp-muted);
  font-size:10px;
}
[data-spp-workspace="installation-management"] .spp-sidebar-workspace-panel>.spp-sidebar-tab-section>.spp-installation-inline-details-body{
  padding:2px 0 0;
}
[data-spp-workspace="installation-management"] .spp-admin-quick-form{
  gap:9px;
}
[data-spp-workspace="installation-management"] .spp-installation-technical-identifiers{
  margin-top:0;
}
[data-spp-workspace="installation-management"] .spp-installation-lifecycle-tools{
  gap:9px;
}

.spp-root--admin[data-spp-theme="light"] .spp-management-workspace-shell>.spp-sidebar-workspace-tabs{
  background:#f3f8fb;
  border-color:rgba(30,58,82,.13);
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-head strong,
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-facts strong{
  color:#167595!important;
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-ok strong{color:#157553!important;}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-warning strong{color:#9a6504!important;}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-danger strong{color:#a13d50!important;}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-current-remaining.is-info strong{color:#167595!important;}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-audit-entry:hover,
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-audit-entry:focus-within{
  background:#eef9fc;
  border-left-color:#159ac4;
}

@media(max-width:820px){
  [data-spp-workspace="subscription"] .spp-subscription-core-fields,
  [data-spp-workspace="subscription"] .spp-subscription-final-grid,
  [data-spp-workspace="subscription"] .spp-subscription-source-control{
    grid-template-columns:1fr;
  }
  [data-spp-workspace="subscription"] .spp-subscription-date-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:620px){
  .spp-management-workspace-shell{padding:12px;}
  [data-spp-workspace="subscription"] .spp-subscription-date-grid{grid-template-columns:1fr;}
}


/* Smart Pro Portal 3.6.27 — Admin Workspace Scroll & Safety Modal Standard. */

/* The close control is a real visible button anchored to the panel, not a pseudo-only glyph. */
.spp-focused-workspace__panel{position:relative;}
.spp-focused-workspace__header{position:static;padding-right:68px;}
.spp-focused-workspace__close{
  position:absolute;
  top:13px;
  right:15px;
  z-index:40;
  width:38px;
  height:38px;
  font-size:24px;
  line-height:1;
  color:var(--spp-muted);
  background:#111d2d;
  border-color:rgba(148,163,184,.24);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.spp-focused-workspace__close::before{display:none!important;content:none!important;}
.spp-focused-workspace__close:hover,
.spp-focused-workspace__close:focus-visible{
  background:#17273a;
  border-color:rgba(74,199,243,.58);
  color:#8be8ff;
}

/* Large focused workspaces: outer shell stays fixed; the second-level card owns the scroll. */
.spp-focused-inner-surface{
  min-height:0;
  margin:12px 14px 14px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:rgba(255,255,255,.018);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015);
}
.spp-focused-inner-surface>.spp-technician-tabs,
.spp-focused-inner-surface>.spp-diagnostics-tabs{
  position:static;
  margin:0;
  border-bottom:1px solid var(--spp-line);
  background:rgba(10,22,38,.96);
}
.spp-focused-inner-scroll{
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:10px 12px 14px!important;
}
.spp-focused-workspace--technician .spp-focused-workspace__panel,
.spp-focused-workspace--diagnostics .spp-focused-workspace__panel{
  grid-template-rows:auto minmax(0,1fr)!important;
}
.spp-focused-workspace--technician>.spp-focused-workspace__panel>.spp-focused-workspace__body,
.spp-focused-workspace--diagnostics>.spp-focused-workspace__panel>.spp-focused-workspace__body{
  overflow:hidden;
}

/* Sidebar management/history workspaces use the same inner-scroll contract. */
@media(min-width:901px){
  .spp-focused-workspace--sidebar .spp-focused-workspace__body{
    min-height:0;
    display:flex;
    overflow:hidden;
    padding:12px 14px 16px;
  }
  .spp-focused-workspace--sidebar .spp-sidebar-workspace-slot{
    width:min(940px,100%);
    height:100%;
    min-height:0;
  }
  .spp-focused-workspace--sidebar .spp-management-workspace-shell{
    height:100%;
    min-height:0;
    max-height:100%;
    grid-template-rows:auto auto minmax(0,1fr);
    overflow:hidden;
  }
  .spp-focused-workspace--sidebar .spp-management-workspace-shell>.spp-sidebar-workspace-panel{
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    padding-right:4px;
  }
}
.spp-support-history-shell{
  width:min(1000px,100%);
}
.spp-support-history-shell .spp-sidebar-workspace-tabs{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.spp-support-history-shell .spp-installation-support-section{
  margin:0!important;
}
.spp-support-history-shell .spp-installation-support-compact-list{
  max-height:none;
  overflow:visible;
}
.spp-support-history-shell .spp-sidebar-workspace-panel{
  align-content:start;
}
.spp-support-history-shell .spp-compact-list>a,
.spp-support-history-shell .spp-compact-list>div{
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.spp-support-history-shell .spp-compact-list>a:hover,
.spp-support-history-shell .spp-compact-list>a:focus-visible{
  border-left-color:#20c8f3;
  background:rgba(56,189,248,.045);
  box-shadow:inset 7px 0 14px -12px rgba(32,200,243,.9);
  outline:none;
}

/* Small safety dialogs are a second canonical modal family: compact, explicit, non-accidental. */
.spp-safety-confirm-modal .spp-followup-modal-backdrop{cursor:default;}
.spp-safety-confirm-modal .spp-followup-modal-dialog{
  width:min(620px,calc(100vw - 32px));
  border-radius:20px;
}
.spp-safety-confirm-modal .spp-followup-modal-head{
  padding:18px 20px 14px;
}
.spp-safety-confirm-modal .spp-followup-modal-body{
  padding:18px 20px 20px;
}
.spp-safety-confirm-modal .spp-followup-modal-actions{
  justify-content:flex-end;
  gap:10px;
}
.spp-safety-confirm-modal .spp-followup-modal-x:hover,
.spp-safety-confirm-modal .spp-followup-modal-x:focus-visible{
  color:#8be8ff;
  border-color:rgba(74,199,243,.58);
  outline:none;
}

/* Light theme equivalents. */
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__close{
  background:#f5f9fc;
  color:#4e6478;
  border-color:rgba(30,58,82,.18);
}
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__close:hover,
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__close:focus-visible{
  background:#eaf7fb;
  color:#176681;
  border-color:rgba(23,119,155,.38);
}
.spp-root--admin[data-spp-theme="light"] .spp-focused-inner-surface{
  background:#fff;
  border-color:rgba(30,58,82,.14);
}
.spp-root--admin[data-spp-theme="light"] .spp-focused-inner-surface>.spp-technician-tabs,
.spp-root--admin[data-spp-theme="light"] .spp-focused-inner-surface>.spp-diagnostics-tabs{
  background:#f1f6fa;
  border-color:rgba(30,58,82,.14);
}
.spp-root--admin[data-spp-theme="light"] .spp-support-history-shell .spp-compact-list>a:hover,
.spp-root--admin[data-spp-theme="light"] .spp-support-history-shell .spp-compact-list>a:focus-visible{
  background:#eef9fc;
  border-left-color:#159ac4;
}

@media(max-width:900px){
  .spp-focused-inner-surface{margin:8px 9px 10px;}
  .spp-focused-workspace--sidebar .spp-focused-workspace__body{overflow-y:auto;}
  .spp-focused-workspace--sidebar .spp-management-workspace-shell{height:auto;max-height:none;overflow:visible;}
  .spp-focused-workspace--sidebar .spp-management-workspace-shell>.spp-sidebar-workspace-panel{overflow:visible;padding-right:0;}
}
@media(max-width:700px){
  .spp-support-history-shell .spp-sidebar-workspace-tabs{grid-template-columns:1fr;}
}

/* Smart Pro Portal 3.6.28 — focused-workspace close + fail-closed reset hotfix. */
.spp-focused-workspace__floating-close{
  position:absolute;
  top:13px;
  right:15px;
  z-index:120;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(148,163,184,.28);
  border-radius:11px;
  background:#111d2d;
  color:#aebdca;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
  font:inherit;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.spp-focused-workspace__floating-close:hover,
.spp-focused-workspace__floating-close:focus-visible{
  background:#17273a;
  border-color:rgba(74,199,243,.62);
  color:#8be8ff;
  outline:none;
}
/* Avoid duplicate close glyphs when the legacy outer header is visible. */
.spp-focused-workspace__header>.spp-focused-workspace__close{display:none!important;}
/* Keep visible top controls/content clear of the canonical floating X. */
.spp-focused-inner-surface>.spp-technician-tabs,
.spp-focused-inner-surface>.spp-diagnostics-tabs{padding-right:58px;}
.spp-focused-workspace--sidebar .spp-management-workspace-shell{position:relative;}
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__floating-close{
  background:#f5f9fc;
  color:#4e6478;
  border-color:rgba(30,58,82,.2);
}
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__floating-close:hover,
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__floating-close:focus-visible{
  background:#eaf7fb;
  color:#176681;
  border-color:rgba(23,119,155,.42);
}


/* =========================================================
   Smart Pro Portal 3.6.29 — Admin Modal System Final Standard
   Three canonical families: large workspace / medium action / small safety.
   ========================================================= */
.spp-modal-family--large .spp-focused-workspace__panel{grid-template-rows:auto minmax(0,1fr)!important;}
.spp-modal-family--large .spp-focused-workspace__header{display:flex!important;visibility:visible!important;opacity:1!important;min-height:72px;padding:15px 68px 13px 18px!important;align-items:center;border-bottom:1px solid var(--spp-line)!important;background:#0b1728!important;}
.spp-modal-family--large .spp-focused-workspace__header>div{min-width:0;}
.spp-modal-family--large .spp-focused-workspace__header .spp-eyebrow{display:block;margin-bottom:3px;font-size:9px;letter-spacing:.08em;}
.spp-modal-family--large .spp-focused-workspace__header h2{margin:0!important;font-size:19px!important;line-height:1.18!important;font-weight:740;}
.spp-modal-family--large .spp-focused-workspace__header p{margin:5px 0 0!important;max-width:920px;overflow:hidden;color:#91a7ba!important;font-size:9.5px!important;line-height:1.35!important;text-overflow:ellipsis;white-space:nowrap;}
.spp-modal-family--large .spp-focused-inner-surface{margin:10px 12px 12px;}
.spp-modal-family--large.spp-focused-workspace--sidebar .spp-management-workspace-head{display:none!important;}
.spp-modal-family--large.spp-focused-workspace--sidebar .spp-management-workspace-shell{padding-top:12px!important;}
.spp-modal-family--large.spp-focused-workspace--sidebar .spp-management-workspace-shell>.spp-sidebar-workspace-tabs{margin-top:0!important;}
.spp-modal-family--large.spp-focused-workspace--request-diagnostics .spp-focused-workspace__panel{grid-template-rows:auto auto minmax(0,1fr)!important;}
.spp-modal-family--large.spp-focused-workspace--request-diagnostics .spp-diagnostics-tabs{padding-right:58px;}

.spp-modal-family--medium .spp-drawer-panel,.spp-modal-family--medium .spp-followup-modal-dialog{border:1px solid rgba(98,193,232,.24)!important;border-radius:20px!important;background:#0d182a!important;box-shadow:0 30px 90px rgba(0,0,0,.52)!important;overflow:hidden;}
.spp-modal-family--medium .spp-drawer-head,.spp-modal-family--medium .spp-followup-modal-head{min-height:86px;padding:18px 20px 15px!important;border-bottom:1px solid var(--spp-line)!important;background:#101b2d!important;}
.spp-modal-family--medium .spp-drawer-head h2,.spp-modal-family--medium .spp-followup-modal-head h2{margin:3px 0 0!important;font-size:21px!important;line-height:1.18!important;font-weight:740!important;}
.spp-modal-family--medium .spp-drawer-head>button,.spp-modal-family--medium .spp-installation-quick-modal-head-actions>button,.spp-modal-family--medium .spp-followup-modal-x{display:grid!important;place-items:center;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border:1px solid rgba(148,163,184,.24)!important;border-radius:11px!important;background:#152033!important;color:#aebdca!important;font-size:20px!important;line-height:1!important;}
.spp-modal-family--medium .spp-drawer-head>button:hover,.spp-modal-family--medium .spp-drawer-head>button:focus-visible,.spp-modal-family--medium .spp-installation-quick-modal-head-actions>button:hover,.spp-modal-family--medium .spp-installation-quick-modal-head-actions>button:focus-visible,.spp-modal-family--medium .spp-followup-modal-x:hover,.spp-modal-family--medium .spp-followup-modal-x:focus-visible{border-color:rgba(74,199,243,.58)!important;background:#1a2a3f!important;color:#8be8ff!important;outline:none!important;}
.spp-modal-family--medium .spp-drawer-backdrop,.spp-modal-family--medium .spp-followup-modal-backdrop{cursor:default!important;}

.spp-customer-email-message-field{display:grid;gap:7px;min-width:0;}
.spp-customer-email-message-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.spp-customer-email-message-head>label{color:var(--spp-text);font-size:11px;font-weight:850;letter-spacing:.02em;text-transform:uppercase;}
.spp-customer-email-preset{position:relative;flex:0 0 auto;}
.spp-customer-email-preset-toggle{min-height:32px;padding:6px 10px;border:1px solid rgba(81,207,255,.22);border-radius:9px;background:rgba(56,189,248,.055);color:#9beaff;font:inherit;font-size:10px;font-weight:760;cursor:pointer;}
.spp-customer-email-preset-toggle:hover,.spp-customer-email-preset-toggle:focus-visible{background:rgba(56,189,248,.11);border-color:rgba(81,207,255,.40);outline:none;}
.spp-customer-email-preset-menu{position:absolute;z-index:80;top:calc(100% + 6px);right:0;width:min(390px,calc(100vw - 70px));max-height:260px;overflow:auto;padding:6px;border:1px solid rgba(73,190,231,.25);border-radius:12px;background:#0a1627;box-shadow:0 20px 55px rgba(0,0,0,.44);}
.spp-customer-email-preset-menu[hidden]{display:none!important;}
.spp-customer-email-preset-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:9px;background:transparent;color:var(--spp-text);text-align:left;cursor:pointer;}
.spp-customer-email-preset-menu button:hover,.spp-customer-email-preset-menu button:focus-visible{background:rgba(56,189,248,.085);outline:none;}
.spp-customer-email-preset-menu strong{display:block;font-size:11px;line-height:1.3;}
.spp-customer-email-preset-menu small{display:block;margin-top:3px;color:var(--spp-muted);font-size:9px;line-height:1.35;}

.spp-modal-family--small .spp-followup-modal-dialog{width:min(620px,calc(100vw - 32px));border-radius:20px;}
.spp-modal-family--small .spp-btn--primary{background:var(--spp-cyan)!important;color:#001018!important;border-color:transparent!important;box-shadow:0 8px 24px rgba(0,212,255,.16)!important;filter:none!important;}
.spp-modal-family--small .spp-btn--primary:hover,.spp-modal-family--small .spp-btn--primary:focus-visible{background:#69e4ff!important;color:#001018!important;box-shadow:0 10px 28px rgba(0,212,255,.24)!important;outline:none!important;}

.spp-root--admin[data-spp-theme="light"] .spp-modal-family--large .spp-focused-workspace__header{background:#f5f9fc!important;border-color:rgba(30,58,82,.14)!important;}
.spp-root--admin[data-spp-theme="light"] .spp-modal-family--large .spp-focused-workspace__header p{color:#5f768b!important;}
.spp-root--admin[data-spp-theme="light"] .spp-modal-family--medium .spp-drawer-panel,.spp-root--admin[data-spp-theme="light"] .spp-modal-family--medium .spp-followup-modal-dialog{background:#f7fafc!important;border-color:rgba(30,58,82,.16)!important;}
.spp-root--admin[data-spp-theme="light"] .spp-modal-family--medium .spp-drawer-head,.spp-root--admin[data-spp-theme="light"] .spp-modal-family--medium .spp-followup-modal-head{background:#f3f8fb!important;border-color:rgba(30,58,82,.14)!important;}
.spp-root--admin[data-spp-theme="light"] .spp-customer-email-preset-menu{background:#fff;box-shadow:0 18px 42px rgba(20,48,67,.16);}
@media(max-width:900px){.spp-modal-family--large .spp-focused-workspace__header{min-height:60px;padding:12px 58px 10px 14px!important;}.spp-modal-family--large .spp-focused-workspace__header p{white-space:normal;display:block!important;}}
@media(max-width:620px){.spp-customer-email-message-head{align-items:flex-start;flex-direction:column;}.spp-customer-email-preset{width:100%;}.spp-customer-email-preset-toggle{width:100%;}.spp-customer-email-preset-menu{left:0;right:auto;width:100%;}}

/* Smart Pro Portal 3.6.30 — Admin Audit Center Foundation */
.spp-activity-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.spp-audit-open{min-height:34px;padding:7px 11px!important;font-size:12px!important}
.spp-focused-workspace--audit .spp-focused-workspace__panel{width:min(1280px,calc(100vw - 36px));height:min(91vh,960px)}
.spp-audit-inner-surface{height:100%;min-height:0;overflow:hidden;padding:0!important}
.spp-audit-workspace{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px;padding:14px;background:#0b1626}
.spp-audit-toolbar{display:grid;grid-template-columns:minmax(260px,1.8fr) repeat(3,minmax(150px,.7fr));gap:10px;align-items:end}
.spp-audit-toolbar label{display:grid;gap:6px;min-width:0}
.spp-audit-toolbar label>span{font-size:10px;font-weight:850;letter-spacing:.055em;text-transform:uppercase;color:#a9bfd2}
.spp-audit-toolbar input,.spp-audit-toolbar select{width:100%;min-height:42px;border:1px solid rgba(148,163,184,.2);border-radius:11px;background:#0d192b;color:#eef7ff;padding:0 12px;font:inherit;font-size:13px;outline:none}
.spp-audit-toolbar input:focus,.spp-audit-toolbar select:focus{border-color:rgba(58,206,255,.58);box-shadow:0 0 0 2px rgba(58,206,255,.08)}
.spp-audit-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.spp-audit-kpis>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:9px 12px;border:1px solid rgba(148,163,184,.16);border-radius:11px;background:#101c2e}
.spp-audit-kpis span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.045em;color:#9db2c5}
.spp-audit-kpis strong{font-size:18px;color:#69e4ff}
.spp-audit-export-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px;border:1px solid rgba(148,163,184,.14);border-radius:11px;background:#0f1b2d}
.spp-audit-export-row>div:first-child{display:grid;gap:2px;min-width:0}.spp-audit-export-row strong{font-size:11px;color:#eaf5fc}.spp-audit-export-row span{font-size:9.5px;line-height:1.35;color:#7f98ad}
.spp-audit-export-actions{display:flex;gap:7px;flex:0 0 auto}.spp-audit-export-actions .spp-btn{min-height:32px;padding:6px 10px!important;font-size:10.5px!important}
.spp-audit-results{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-gutter:stable}
.spp-audit-workspace.is-loading .spp-audit-results{opacity:.55;transition:opacity .15s ease}
.spp-audit-timeline{display:grid;gap:7px}
.spp-audit-day{position:sticky;top:0;z-index:2;padding:7px 3px 3px;background:linear-gradient(#0b1626 74%,rgba(11,22,38,0));pointer-events:none}
.spp-audit-day span{display:inline-flex;padding:4px 8px;border:1px solid rgba(148,163,184,.16);border-radius:999px;background:#132034;color:#9db2c5;font-size:10px;font-weight:850}
.spp-audit-event{position:relative;display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:start;padding:11px 12px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#101b2d;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.spp-audit-event:hover{border-color:rgba(58,206,255,.32);background:#122138}
.spp-audit-event-marker{width:7px;height:7px;margin-top:6px;border-radius:50%;background:#43d8ff;box-shadow:0 0 0 3px rgba(67,216,255,.08)}
.spp-audit-event.is-warning .spp-audit-event-marker{background:#ffd35a;box-shadow:0 0 0 3px rgba(255,211,90,.08)}
.spp-audit-event.is-critical .spp-audit-event-marker{background:#ff6f88;box-shadow:0 0 0 3px rgba(255,111,136,.08)}
.spp-audit-event-main{min-width:0}
.spp-audit-event-head{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.spp-audit-category{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;color:#53d8ff}
.spp-audit-event-head strong{font-size:13px;line-height:1.35;color:#f4f8fc}
.spp-audit-event p{margin:4px 0 0;color:#b8c7d5;font-size:11.5px;line-height:1.45}
.spp-audit-context{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.spp-audit-context span{padding:3px 7px;border:1px solid rgba(148,163,184,.14);border-radius:999px;background:#0b1728;color:#91a8bb;font-size:9.5px}
.spp-audit-drilldown{display:inline-flex;margin-top:7px;color:#4fdcff;font-size:10.5px;font-weight:800;text-decoration:none}
.spp-audit-drilldown:hover{text-decoration:underline}
.spp-audit-event time{display:grid;gap:2px;min-width:74px;text-align:right;color:#adc0d1}
.spp-audit-event time strong{font-size:11px}.spp-audit-event time small{font-size:9px;color:#7f96aa;white-space:nowrap}
.spp-audit-empty{display:grid;place-items:center;min-height:180px;padding:24px;border:1px dashed rgba(148,163,184,.2);border-radius:12px;color:#9fb2c4;text-align:center}
.spp-audit-empty.is-error{border-color:rgba(255,111,136,.32);color:#ffc0cb}
.spp-audit-coverage-note{padding:8px 10px;border-top:1px solid rgba(148,163,184,.13);color:#728ba1;font-size:9.5px;line-height:1.4}
.spp-root--admin[data-spp-theme="light"] .spp-audit-workspace{background:#f7fafc}
.spp-root--admin[data-spp-theme="light"] .spp-audit-day{background:linear-gradient(#f7fafc 74%,rgba(247,250,252,0))}
.spp-root--admin[data-spp-theme="light"] .spp-audit-toolbar input,.spp-root--admin[data-spp-theme="light"] .spp-audit-toolbar select,.spp-root--admin[data-spp-theme="light"] .spp-audit-kpis>div,.spp-root--admin[data-spp-theme="light"] .spp-audit-export-row,.spp-root--admin[data-spp-theme="light"] .spp-audit-event{background:#fff;border-color:rgba(30,58,82,.14);color:#102235}
.spp-root--admin[data-spp-theme="light"] .spp-audit-event:hover{background:#f2f8fc;border-color:rgba(24,166,218,.3)}
.spp-root--admin[data-spp-theme="light"] .spp-audit-export-row strong,.spp-root--admin[data-spp-theme="light"] .spp-audit-event-head strong{color:#102235}.spp-root--admin[data-spp-theme="light"] .spp-audit-event p{color:#526b80}.spp-root--admin[data-spp-theme="light"] .spp-audit-context span{background:#f5f9fc;color:#60798d;border-color:rgba(30,58,82,.12)}
@media(max-width:980px){.spp-audit-toolbar{grid-template-columns:1fr 1fr}.spp-audit-search{grid-column:1/-1}.spp-audit-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.spp-audit-export-row{align-items:flex-start;flex-direction:column}.spp-audit-export-actions{width:100%}.spp-audit-export-actions .spp-btn{flex:1}.spp-audit-toolbar{grid-template-columns:1fr}.spp-audit-search{grid-column:auto}.spp-audit-kpis{grid-template-columns:1fr 1fr}.spp-audit-event{grid-template-columns:9px minmax(0,1fr)}.spp-audit-event time{grid-column:2;text-align:left;display:flex;gap:7px}}

/* Smart Pro Portal 3.6.32 — keep large-workspace backdrops visually inert. */
button.spp-focused-workspace__backdrop,
button.spp-focused-workspace__backdrop:hover,
button.spp-focused-workspace__backdrop:focus,
button.spp-focused-workspace__backdrop:focus-visible,
button.spp-focused-workspace__backdrop:active{
  appearance:none!important;
  -webkit-appearance:none!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
  background:rgba(2,8,18,.82)!important;
  backdrop-filter:blur(6px)!important;
}
.spp-root--admin[data-spp-theme="light"] button.spp-focused-workspace__backdrop,
.spp-root--admin[data-spp-theme="light"] button.spp-focused-workspace__backdrop:hover,
.spp-root--admin[data-spp-theme="light"] button.spp-focused-workspace__backdrop:focus,
.spp-root--admin[data-spp-theme="light"] button.spp-focused-workspace__backdrop:focus-visible,
.spp-root--admin[data-spp-theme="light"] button.spp-focused-workspace__backdrop:active{
  background:rgba(18,35,50,.45)!important;
}

/* =========================================================
   Smart Pro Portal 3.6.35 — Persistent Admin Global Search
   Centered in the second header tier, with a distinct utility strip.
   ========================================================= */
.spp-root--admin .spp-topbar{
  min-height:126px!important;
}
.spp-root--admin .spp-topbar-shell{
  min-height:126px!important;
  grid-template-rows:70px 56px!important;
}
.spp-root--admin .spp-admin-utility-row{
  position:relative;
  isolation:isolate;
  min-height:56px!important;
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) minmax(480px,760px) minmax(220px,1fr)!important;
  align-items:center!important;
  gap:16px!important;
  padding:0 2px!important;
  border-top:1px solid rgba(148,163,184,.10)!important;
  overflow:visible!important;
}
.spp-root--admin .spp-admin-utility-row::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:#0a1524;
  border-bottom:1px solid rgba(148,163,184,.08);
  pointer-events:none;
}
.spp-root--admin .spp-admin-utility-row>*{position:relative;z-index:1;}
.spp-global-search{
  grid-column:2;
  justify-self:stretch;
  width:100%;
  min-width:0;
  position:relative;
  z-index:25!important;
}
.spp-global-search__field{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  min-height:40px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:12px;
  background:#101d30;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015),0 7px 22px rgba(0,0,0,.14);
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.spp-global-search.is-open .spp-global-search__field,
.spp-global-search__field:focus-within{
  border-color:rgba(66,199,238,.46);
  background:#112136;
  box-shadow:0 0 0 2px rgba(66,199,238,.07),0 9px 26px rgba(0,0,0,.18);
}
.spp-global-search__icon{
  position:relative;
  width:15px;
  height:15px;
  flex:0 0 15px;
  margin-left:13px;
  margin-right:9px;
  border:2px solid #71cfe8;
  border-radius:50%;
  opacity:.86;
}
.spp-global-search__icon::after{
  content:"";
  position:absolute;
  right:-5px;
  bottom:-3px;
  width:6px;
  height:2px;
  border-radius:2px;
  background:#71cfe8;
  transform:rotate(45deg);
  transform-origin:center;
}
.spp-global-search__field input{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-width:0;
  height:38px;
  padding:0 84px 0 0;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#eef8ff!important;
  font:inherit;
  font-size:12.5px!important;
  font-weight:650;
  letter-spacing:.01em;
}
.spp-global-search__field input::placeholder{color:#778ca3;opacity:1;}
.spp-global-search__field input::-webkit-search-cancel-button{opacity:.55;cursor:pointer;}
.spp-global-search__shortcut{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:0 7px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:7px;
  background:#0b1626;
  color:#7f95aa;
  font-family:inherit;
  font-size:9px;
  font-weight:800;
  line-height:1;
  letter-spacing:.02em;
  cursor:default;
  user-select:none;
  pointer-events:none;
}
.spp-global-search__loader{
  position:absolute;
  right:12px;
  top:50%;
  width:14px;
  height:14px;
  margin-top:-7px;
  border:2px solid rgba(113,207,232,.22);
  border-top-color:#71cfe8;
  border-radius:50%;
  opacity:0;
  pointer-events:none;
}
.spp-global-search.is-loading .spp-global-search__shortcut{opacity:0;}
.spp-global-search.is-loading .spp-global-search__loader{opacity:1;animation:sppGlobalSearchSpin .65s linear infinite;}
@keyframes sppGlobalSearchSpin{to{transform:rotate(360deg)}}

.spp-global-search__panel{
  position:absolute;
  top:calc(100% + 8px);
  left:50%;
  transform:translateX(-50%);
  width:min(820px,calc(100vw - 44px));
  max-height:min(68vh,680px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:9px;
  border:1px solid rgba(91,190,226,.23);
  border-radius:15px;
  background:#0a1627;
  box-shadow:0 24px 72px rgba(0,0,0,.52);
}
.spp-global-search__panel[hidden]{display:none!important;}
.spp-global-search__summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:31px;
  padding:2px 5px 8px;
  border-bottom:1px solid rgba(148,163,184,.10);
}
.spp-global-search__summary span{color:#d9edf6;font-size:10px;font-weight:820;}
.spp-global-search__summary small{color:#70869b;font-size:9px;font-weight:680;}
.spp-global-search__groups{display:grid;gap:8px;padding-top:7px;}
.spp-global-search__group{
  border:1px solid rgba(148,163,184,.10);
  border-radius:11px;
  background:#0d192b;
  overflow:hidden;
}
.spp-global-search__group>header{
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:5px 9px;
  border-bottom:1px solid rgba(148,163,184,.08);
  background:#0f1d30;
}
.spp-global-search__group>header strong{
  color:#74d9f1;
  font-size:8.5px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.spp-global-search__group>header span{
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  padding:0 5px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:999px;
  color:#879db2;
  font-size:8.5px;
  font-weight:850;
}
.spp-global-search__items{display:grid;}
.spp-global-search__result{
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto 14px;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:54px;
  padding:8px 9px;
  color:inherit!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(148,163,184,.07);
  transition:background .13s ease,border-color .13s ease;
}
.spp-global-search__result:last-child{border-bottom:0;}
.spp-global-search__result:hover,
.spp-global-search__result:focus-visible{
  outline:none;
  background:rgba(66,199,238,.075);
  box-shadow:inset 3px 0 0 rgba(66,199,238,.72);
}
.spp-global-search__result-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:1px solid rgba(66,199,238,.16);
  border-radius:9px;
  background:rgba(66,199,238,.07);
  color:#73d8f1;
  font-size:10px;
  font-weight:900;
}
.spp-global-search__result-copy{display:grid;gap:2px;min-width:0;}
.spp-global-search__result-copy strong{
  min-width:0;
  overflow:hidden;
  color:#edf7fc;
  font-size:11.5px;
  font-weight:780;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-global-search__result-copy small,
.spp-global-search__result-copy em{
  min-width:0;
  overflow:hidden;
  color:#8ca1b5;
  font-size:9.5px;
  font-style:normal;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-global-search__result-copy em{color:#6f879e;font-size:9px;}
.spp-global-search__result-badge{
  max-width:150px;
  overflow:hidden;
  padding:3px 7px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:999px;
  background:#0b1626;
  color:#9eb4c7;
  font-size:8.5px;
  font-weight:780;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-global-search__result-arrow{color:#57d8f4;font-size:17px;line-height:1;opacity:.72;}
.spp-global-search__more{
  width:100%;
  min-height:35px;
  margin-top:8px;
  border:1px solid rgba(66,199,238,.18);
  border-radius:9px;
  background:rgba(66,199,238,.055);
  color:#7ee5fb;
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.spp-global-search__more:hover,.spp-global-search__more:focus-visible{outline:none;background:rgba(66,199,238,.10);border-color:rgba(66,199,238,.34);}
.spp-global-search__hint,.spp-global-search__empty{
  display:grid;
  gap:4px;
  padding:15px 16px;
  text-align:left;
}
.spp-global-search__hint strong,.spp-global-search__empty strong{color:#e8f5fb;font-size:11.5px;}
.spp-global-search__hint span,.spp-global-search__empty span{color:#7f96aa;font-size:9.5px;line-height:1.45;}
.spp-global-search__empty.is-error strong{color:#ffc3cf;}
.spp-global-search__expanded-note{padding:8px 4px 1px;color:#6d849a;font-size:8.5px;text-align:center;}
.spp-admin-utility-actions{
  grid-column:3;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.spp-root--admin .spp-admin-utility-row .spp-admin-clock{
  min-height:34px!important;
  padding:0 10px!important;
  color:#aebfd0!important;
  background:#0d1a2b!important;
  border-color:rgba(148,163,184,.14)!important;
  font-size:11.5px!important;
  font-weight:780!important;
  letter-spacing:.18px!important;
}
.spp-root--admin .spp-admin-utility-row .spp-admin-help-toggle{
  min-height:34px!important;
  background:#0d1a2b!important;
  border-color:rgba(148,163,184,.14)!important;
}

@media(min-width:721px) and (max-width:1279px){
  .spp-root--admin .spp-topbar{min-height:164px!important;}
  .spp-root--admin .spp-topbar-shell{
    min-height:164px!important;
    grid-template-rows:62px 46px 56px!important;
  }
  .spp-root--admin .spp-admin-utility-row{
    grid-template-columns:minmax(120px,1fr) minmax(420px,650px) minmax(120px,1fr)!important;
  }
  .spp-global-search__panel{width:min(760px,calc(100vw - 36px));}
}

@media(max-width:980px){
  .spp-root--admin .spp-admin-utility-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  .spp-global-search{grid-column:1;}
  .spp-admin-utility-actions{grid-column:2;}
  .spp-global-search__shortcut{display:none;}
  .spp-global-search__field input{padding-right:34px!important;}
  .spp-global-search__loader{right:11px;}
}

@media(max-width:720px){
  .spp-root--admin .spp-topbar{min-height:150px!important;}
  .spp-root--admin .spp-topbar-shell{
    min-height:150px!important;
    grid-template-rows:56px 42px 52px!important;
  }
  .spp-root--admin .spp-admin-utility-row{min-height:52px!important;}
  .spp-global-search__field{min-height:38px;}
  .spp-global-search__field input{height:36px;font-size:11px!important;}
  .spp-global-search__panel{left:0;transform:none;width:min(760px,calc(100vw - 24px));}
  .spp-global-search__result{grid-template-columns:28px minmax(0,1fr) 14px;}
  .spp-global-search__result-badge{display:none;}
}

@media(max-width:600px){
  .spp-root--admin .spp-admin-utility-row .spp-admin-clock{display:none!important;}
  .spp-admin-utility-actions{gap:0;}
  .spp-global-search__panel{width:calc(100vw - 24px);}
}

/* =========================================================
   Smart Pro Portal 3.6.36 — Global Search grouped results
   Compact quick panel + canonical full results workspace.
   ========================================================= */
.spp-global-search__panel{
  max-height:min(58vh,560px)!important;
  padding:8px!important;
}
.spp-global-search__summary{
  min-height:30px!important;
  padding:2px 6px 7px!important;
}
.spp-global-search__summary span{
  color:#e7f7fd!important;
  font-size:10.5px!important;
  font-weight:850!important;
}
.spp-global-search__summary small{
  color:#7890a6!important;
  font-size:8.8px!important;
}
.spp-global-search__groups{
  gap:6px!important;
  padding-top:6px!important;
}
.spp-global-search__group{
  border-color:rgba(120,161,188,.15)!important;
  border-radius:10px!important;
  background:#0c1829!important;
}
.spp-global-search__group>header{
  min-height:26px!important;
  padding:4px 9px!important;
  background:#12233a!important;
  border-bottom:1px solid rgba(113,207,232,.11)!important;
}
.spp-global-search__group>header strong{
  color:#77dff6!important;
  font-size:8.7px!important;
  letter-spacing:.085em!important;
}
.spp-global-search__group>header span{
  height:18px!important;
  min-width:18px!important;
  padding:0 5px!important;
  color:#9ab0c3!important;
  background:#0b1727!important;
  font-size:8px!important;
}
.spp-global-search__result{
  min-height:48px!important;
  padding:7px 9px!important;
  gap:8px!important;
}
.spp-global-search__result.is-primary{
  background:rgba(66,199,238,.055)!important;
  box-shadow:inset 3px 0 0 rgba(66,199,238,.78)!important;
}
.spp-global-search__result-title-line{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.spp-global-search__result-title-line>strong{
  flex:0 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-global-search__result-title-line>i{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:17px;
  padding:0 6px;
  border:1px solid rgba(66,199,238,.22);
  border-radius:999px;
  background:rgba(66,199,238,.08);
  color:#7ce6fb;
  font-size:7.5px;
  font-style:normal;
  font-weight:850;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.spp-global-search__relation{
  color:#74a9bd!important;
}
.spp-global-search__more{
  min-height:34px!important;
  margin-top:7px!important;
  background:#102138!important;
  border-color:rgba(66,199,238,.23)!important;
}
.spp-global-search__more:hover,.spp-global-search__more:focus-visible{
  background:#142942!important;
}

.spp-global-search-workspace .spp-focused-workspace__panel{
  width:min(1180px,calc(100vw - 42px))!important;
  max-height:min(88vh,900px)!important;
}
.spp-global-search-workspace .spp-focused-workspace__body{
  overflow:auto!important;
}
.spp-global-search-workspace__surface{
  padding:12px!important;
}
.spp-global-search-workspace .spp-global-search__summary{
  position:sticky;
  top:0;
  z-index:4;
  padding:7px 8px 9px!important;
  background:#0c1829;
}
.spp-global-search__groups--full{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px!important;
  align-items:start;
}
.spp-global-search__groups--full .spp-global-search__group--requests,
.spp-global-search__groups--full .spp-global-search__group--audit{
  grid-column:1/-1;
}
.spp-global-search__groups--full .spp-global-search__result{
  min-height:50px!important;
}
.spp-global-search-workspace .spp-global-search__expanded-note{
  padding:10px 4px 0!important;
}

@media(max-width:900px){
  .spp-global-search__groups--full{grid-template-columns:1fr;}
  .spp-global-search__groups--full .spp-global-search__group--requests,
  .spp-global-search__groups--full .spp-global-search__group--audit{grid-column:auto;}
}


/* =========================================================
   Smart Pro Portal 3.6.37 — Global Search compact group visibility
   Strong section boundaries + shorter quick-result surface.
   ========================================================= */
.spp-global-search__panel{
  max-height:min(50vh,470px)!important;
  padding:8px!important;
}
.spp-global-search__summary{
  position:sticky;
  top:-8px;
  z-index:6;
  min-height:29px!important;
  padding:3px 6px 7px!important;
  background:#0a1627!important;
}
.spp-global-search__groups{
  gap:7px!important;
  padding-top:7px!important;
}
.spp-global-search__group{
  border:1px solid rgba(113,207,232,.16)!important;
  border-radius:10px!important;
  background:#0c1829!important;
  overflow:hidden!important;
}
.spp-global-search__group-head{
  min-height:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:3px 9px!important;
  border-bottom:1px solid rgba(113,207,232,.13)!important;
  background:#13253b!important;
}
.spp-global-search__group-head strong{
  color:#7ce6fb!important;
  font-size:8.8px!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
}
.spp-global-search__group-head span{
  min-width:19px!important;
  height:18px!important;
  display:grid!important;
  place-items:center!important;
  padding:0 5px!important;
  border:1px solid rgba(113,207,232,.15)!important;
  border-radius:999px!important;
  background:#0b1727!important;
  color:#91adbf!important;
  font-size:8px!important;
  font-weight:850!important;
}
.spp-global-search__result{
  min-height:43px!important;
  padding:6px 9px!important;
  gap:8px!important;
}
.spp-global-search__result-copy small,
.spp-global-search__result-copy em{
  line-height:1.22!important;
}
.spp-global-search__more{
  position:sticky!important;
  bottom:-8px!important;
  z-index:7!important;
  min-height:34px!important;
  margin-top:7px!important;
  box-shadow:0 -8px 18px rgba(10,22,39,.94)!important;
}
/* Full-results workspace keeps the same canonical grouping, with roomier rows. */
.spp-global-search__groups--full .spp-global-search__group-head{
  min-height:27px!important;
  padding:4px 10px!important;
}
.spp-global-search__groups--full .spp-global-search__result{
  min-height:50px!important;
}


/* =========================================================
   Smart Pro Portal 3.6.38 — Global Search interaction + scroll containment
   Mouse-first field, isolated loader, inner full-results scrolling.
   ========================================================= */
.spp-global-search__field input{
  padding-right:42px!important;
}
.spp-global-search__shortcut{display:none!important;}
.spp-global-search__loader{
  right:14px!important;
}
.spp-global-search-workspace .spp-focused-workspace__body{
  overflow:hidden!important;
  min-height:0!important;
}
.spp-global-search-workspace__surface{
  height:100%!important;
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}

/* =========================================================
   Smart Pro Portal 3.6.42 — Global Search full-results grid flow
   Deterministic full-width operational sections; no cross-row overlap.
   ========================================================= */
.spp-global-search__groups--full .spp-global-search__group--subscriptions,
.spp-global-search__groups--full .spp-global-search__group--requests,
.spp-global-search__groups--full .spp-global-search__group--audit{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  position:relative!important;
  z-index:1!important;
}
.spp-global-search__groups--full .spp-global-search__group--subscriptions{
  align-self:start!important;
}
@media(max-width:900px){
  .spp-global-search__groups--full .spp-global-search__group--subscriptions,
  .spp-global-search__groups--full .spp-global-search__group--requests,
  .spp-global-search__groups--full .spp-global-search__group--audit{
    grid-column:auto!important;
  }
}



/* =========================================================
   Smart Pro Portal 3.6.43 — Global Search full-results linear section flow
   Long sections own their full intrinsic height; no interleaving/overlap.
   ========================================================= */
.spp-global-search__groups--full{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  align-content:flex-start!important;
  gap:10px!important;
}
.spp-global-search__groups--full .spp-global-search__group{
  box-sizing:border-box!important;
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  flex:none!important;
  position:relative!important;
  overflow:hidden!important;
}
.spp-global-search__groups--full .spp-global-search__group--customers,
.spp-global-search__groups--full .spp-global-search__group--installations{
  flex:1 1 calc(50% - 5px)!important;
  width:calc(50% - 5px)!important;
}
.spp-global-search__groups--full .spp-global-search__group--subscriptions,
.spp-global-search__groups--full .spp-global-search__group--requests,
.spp-global-search__groups--full .spp-global-search__group--audit{
  flex:0 0 100%!important;
  width:100%!important;
  clear:both!important;
}
.spp-global-search__groups--full .spp-global-search__items{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
.spp-global-search__groups--full .spp-global-search__result{
  width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:900px){
  .spp-global-search__groups--full .spp-global-search__group--customers,
  .spp-global-search__groups--full .spp-global-search__group--installations,
  .spp-global-search__groups--full .spp-global-search__group--subscriptions,
  .spp-global-search__groups--full .spp-global-search__group--requests,
  .spp-global-search__groups--full .spp-global-search__group--audit{
    flex:0 0 100%!important;
    width:100%!important;
  }
}


/* 3.6.44 — Guardian Operations compact operational skeleton */
.spp-root--admin .spp-guardian-kpis--compact{gap:10px;margin-bottom:12px;}
.spp-root--admin .spp-guardian-kpis--compact .spp-guardian-kpi{padding:12px 14px;border-radius:14px;}
.spp-root--admin .spp-guardian-kpis--compact .spp-guardian-kpi strong{font-size:27px;}
.spp-root--admin .spp-guardian-attention-card--operational{padding-bottom:14px;}
.spp-root--admin .spp-guardian-compatibility{margin-top:12px;padding-top:12px;border-top:1px solid var(--spp-line);display:grid;gap:8px;}
.spp-root--admin .spp-guardian-compatibility-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.spp-root--admin .spp-guardian-compatibility-head>div{display:grid;gap:2px;}
.spp-root--admin .spp-guardian-compatibility-head strong{font-size:13px;color:var(--spp-text);}
.spp-root--admin .spp-guardian-compatibility-head small{font-size:11px;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-guardian-compatibility-head>span{display:grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border-radius:999px;border:1px solid var(--spp-line);color:var(--spp-muted);font-size:11px;font-weight:900;}
.spp-root--admin .spp-guardian-compatibility-list{display:grid;gap:6px;}
.spp-root--admin .spp-guardian-compatibility-row{display:grid;grid-template-columns:minmax(190px,1fr) minmax(250px,1.25fr) auto;align-items:center;gap:12px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.012);}
.spp-root--admin .spp-guardian-compatibility-row>div{display:grid;gap:3px;min-width:0;}
.spp-root--admin .spp-guardian-compatibility-row strong{font-size:13px;color:var(--spp-text);}
.spp-root--admin .spp-guardian-compatibility-row small{font-size:11px;line-height:1.35;color:var(--spp-admin-muted,var(--spp-muted));}
.spp-root--admin .spp-guardian-fleet-list--compact{gap:8px;}
.spp-root--admin .spp-guardian-installation--compact{padding:0;overflow:hidden;border-radius:13px;}
.spp-root--admin .spp-guardian-compact-row{display:grid;grid-template-columns:minmax(210px,1.25fr) minmax(145px,.75fr) minmax(210px,1fr) auto;align-items:center;gap:12px;padding:11px 12px;}
.spp-root--admin .spp-guardian-compact-identity,.spp-root--admin .spp-guardian-compact-state,.spp-root--admin .spp-guardian-compact-signals{display:grid;gap:3px;min-width:0;}
.spp-root--admin .spp-guardian-compact-identity strong{font-size:14px;line-height:1.25;color:var(--spp-text);}
.spp-root--admin .spp-guardian-compact-identity small,.spp-root--admin .spp-guardian-compact-state small,.spp-root--admin .spp-guardian-compact-signals small{font-size:11px;line-height:1.35;color:var(--spp-admin-muted,var(--spp-muted));overflow-wrap:anywhere;}
.spp-root--admin .spp-guardian-compact-signals strong{font-size:13px;line-height:1.3;color:var(--spp-admin-info-value,#7ce3ff);}
.spp-root--admin .spp-guardian-compact-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap;}
.spp-root--admin .spp-guardian-more{border-top:1px solid var(--spp-line);background:rgba(255,255,255,.006);}
.spp-root--admin .spp-guardian-more>summary{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:34px;padding:7px 12px;cursor:pointer;list-style:none;color:var(--spp-accent);font-size:11px;font-weight:850;user-select:none;}
.spp-root--admin .spp-guardian-more>summary::-webkit-details-marker{display:none;}
.spp-root--admin .spp-guardian-more>summary::after{content:'⌄';font-size:13px;transition:transform .15s ease;}
.spp-root--admin .spp-guardian-more[open]>summary::after{transform:rotate(180deg);}
.spp-root--admin .spp-guardian-more-body{padding:0 12px 12px;}
.spp-root--admin .spp-guardian-more-body .spp-guardian-detail-grid{margin-top:0;}
.spp-root--admin[data-spp-theme="light"] .spp-guardian-compatibility-row,.spp-root--admin[data-spp-theme="light"] .spp-guardian-more{background:#fff;}
@media (max-width:1100px){
  .spp-root--admin .spp-guardian-compact-row{grid-template-columns:minmax(220px,1.25fr) minmax(140px,.75fr) minmax(180px,1fr);}
  .spp-root--admin .spp-guardian-compact-actions{grid-column:1/-1;justify-content:flex-start;padding-top:2px;}
}
@media (max-width:760px){
  .spp-root--admin .spp-guardian-compatibility-row,.spp-root--admin .spp-guardian-compact-row{grid-template-columns:1fr;align-items:start;}
  .spp-root--admin .spp-guardian-compact-actions{grid-column:auto;justify-content:flex-start;}
}

/* =========================================================
   Smart Pro Portal 3.6.45 — Admin Appointments Structure & Compact History Pass
   Admin presentation only; Amelia behavior remains unchanged.
   ========================================================= */
.spp-root--admin[data-spp-view="appointments"] .spp-page-head--admin{
  margin-bottom:14px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-overview{
  margin-bottom:14px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-overview article{
  min-height:0;
  padding:13px 16px;
  border-radius:16px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-overview span{
  margin-bottom:5px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-overview strong{
  font-size:28px;
  line-height:1;
  color:#67ddff;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-overview .spp-overview-strip--ok strong{color:#6ee7b7;}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-overview .spp-overview-strip--warning strong{color:#ffd166;}

.spp-root--admin[data-spp-view="appointments"] .spp-appointments-next-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  margin:0 0 14px;
  padding:17px 20px;
  border-radius:18px;
  background:linear-gradient(145deg,var(--spp-ds-surface-1),#091221);
  border-color:var(--spp-ds-border);
  box-shadow:var(--spp-ds-shadow);
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-next-copy h2{
  margin:2px 0 4px;
  font-size:19px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-next-copy p{
  margin:0;
  color:var(--spp-muted);
  font-size:12.5px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-primary-action{
  min-width:148px;
  justify-content:center;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-upcoming-admin{
  margin-bottom:14px;
}

.spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell{
  display:block;
  margin-top:18px;
  padding:18px!important;
  border-radius:22px!important;
  background:linear-gradient(155deg,var(--spp-ds-surface-1),#091221)!important;
  border:1px solid var(--spp-ds-border)!important;
  box-shadow:var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell>.spp-list-toolbar{
  align-items:center;
  margin:0 0 13px;
  padding:0;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell .spp-list-controls{
  align-items:center;
  gap:9px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell [data-spp-appointment-search]{
  min-height:40px;
  min-width:310px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-list--compact{
  display:grid;
  gap:8px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact{
  position:relative;
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:78px;
  padding:9px 12px 9px 10px;
  border-radius:15px;
  color:var(--spp-ds-text);
  background:linear-gradient(145deg,var(--spp-ds-surface-2),rgba(16,27,45,.76));
  border:1px solid var(--spp-ds-border);
  box-shadow:inset 3px 0 0 rgba(66,199,238,.30);
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact:hover{
  background:linear-gradient(145deg,var(--spp-ds-surface-hover),var(--spp-ds-surface-2));
  border-color:rgba(66,199,238,.42);
  box-shadow:inset 3px 0 0 var(--spp-ds-primary),0 10px 24px rgba(0,0,0,.12);
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact.spp-appointment-card--status-canceled,
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact.spp-appointment-card--status-cancelled,
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact.spp-appointment-card--status-rejected{
  box-shadow:inset 3px 0 0 rgba(251,113,133,.50);
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-date--compact{
  min-height:58px;
  border-radius:12px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-date--compact span{
  font-size:9px;
  letter-spacing:.8px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-date--compact strong{
  margin:0;
  font-size:24px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-date--compact small{
  font-size:10px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact .spp-appointment-content{
  justify-content:center;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact .spp-appointment-kicker{
  margin-bottom:2px;
  font-size:9px;
  letter-spacing:.55px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact h3{
  margin:0;
  color:var(--spp-ds-text);
  font-size:15px;
  line-height:1.25;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-meta--compact{
  gap:5px 12px;
  margin-top:5px;
  color:var(--spp-muted);
  font-size:10.5px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-meta--compact span+span::before{
  content:'·';
  margin-right:8px;
  color:rgba(148,163,184,.65);
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-reason--compact{
  margin-top:5px;
  padding:0;
  overflow:hidden;
  color:#aebdd0;
  font-size:10.5px;
  white-space:nowrap;
  text-overflow:ellipsis;
  border:0;
  background:transparent;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-row-side{
  display:flex;
  min-width:138px;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:7px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-links--compact{
  justify-content:flex-end;
  gap:5px;
  margin:0;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-links--compact span{
  padding:3px 7px;
  font-size:9px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-booking-panel--inline:not(.is-collapsed){
  margin:0 0 18px;
}

.spp-root--admin[data-spp-theme="light"][data-spp-view="appointments"] .spp-appointments-next-card,
.spp-root--admin[data-spp-theme="light"][data-spp-view="appointments"] .spp-appointments-history-shell{
  background:#fff!important;
  border-color:rgba(32,61,86,.16)!important;
}
.spp-root--admin[data-spp-theme="light"][data-spp-view="appointments"] .spp-appointment-card--compact{
  color:#102033;
  background:#edf3f8;
  border-color:rgba(32,61,86,.16);
  box-shadow:inset 3px 0 0 rgba(2,132,199,.22);
}
.spp-root--admin[data-spp-theme="light"][data-spp-view="appointments"] .spp-appointment-card--compact:hover{
  background:#e6f1f8;
  border-color:rgba(2,132,199,.28);
  box-shadow:inset 3px 0 0 rgba(2,132,199,.55),0 10px 24px rgba(34,58,78,.08);
}
.spp-root--admin[data-spp-theme="light"][data-spp-view="appointments"] .spp-appointment-card--compact h3{color:#102033;}

@media(max-width:900px){
  .spp-root--admin[data-spp-view="appointments"] .spp-appointments-next-card{grid-template-columns:1fr;}
  .spp-root--admin[data-spp-view="appointments"] .spp-appointments-primary-action{justify-self:start;}
  .spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact{grid-template-columns:58px minmax(0,1fr);}
  .spp-root--admin[data-spp-view="appointments"] .spp-appointment-row-side{grid-column:2;min-width:0;flex-direction:row;align-items:center;justify-content:space-between;}
  .spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell>.spp-list-toolbar{align-items:stretch;flex-direction:column;}
  .spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell [data-spp-appointment-search]{min-width:0;width:100%;}
}

/* =========================================================
   Smart Pro Portal 3.6.46 — Admin Appointments Workspace Alignment & Detail Foundation
   Presentation/read-only detail only. Native Amelia booking remains temporary and unchanged.
   ========================================================= */
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-head{
  align-items:end;
  margin-bottom:14px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-head .spp-page-head-actions{
  align-self:end;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-primary-action{
  min-width:0;
  border-color:rgba(76,183,232,.40)!important;
  background:rgba(18,32,50,.72)!important;
  color:#dff7ff!important;
  box-shadow:none!important;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-primary-action:hover,
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-primary-action:focus-visible{
  border-color:rgba(76,199,243,.68)!important;
  background:rgba(22,45,66,.92)!important;
  color:#89e8ff!important;
}
.spp-root--admin[data-spp-view="appointments"] .spp-admin-appointments-kpis{
  margin:0 0 14px;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi--success{
  border-color:rgba(74,222,162,.25)!important;
  background:linear-gradient(145deg,rgba(74,222,162,.075),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(74,222,162,.72),var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi--success>strong{color:#71e9b8!important;}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi--warning{
  border-color:rgba(245,196,81,.27)!important;
  background:linear-gradient(145deg,rgba(245,196,81,.08),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(245,196,81,.74),var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi--warning>strong{color:#f6d36f!important;}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi--info{
  border-color:rgba(74,199,243,.26)!important;
  background:linear-gradient(145deg,rgba(74,199,243,.07),var(--spp-ds-surface-1))!important;
  box-shadow:inset 0 3px 0 rgba(74,199,243,.68),var(--spp-ds-shadow)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi--info>strong{color:#67ddff!important;}

.spp-root--admin[data-spp-view="appointments"] .spp-appointments-upcoming-admin{
  margin:0 0 14px;
  padding:16px 18px;
  border:1px solid var(--spp-ds-border);
  border-radius:20px;
  background:linear-gradient(155deg,var(--spp-ds-surface-1),#091221);
  box-shadow:var(--spp-ds-shadow);
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-upcoming-admin>.spp-card-head{margin:0 0 12px;}

.spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell{
  margin-top:0!important;
  padding:20px!important;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell>.spp-card-head{
  margin:0 0 12px!important;
  padding:0!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-appointments-history-shell .spp-admin-filter-toolbar{
  margin:0 0 14px!important;
  background:rgba(255,255,255,.022)!important;
  border-color:var(--spp-ds-border)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-appointments-history-shell [data-spp-admin-search],
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-appointments-history-shell [data-spp-admin-filter]{
  min-height:42px;
  color:var(--spp-ds-text)!important;
  background:var(--spp-ds-surface-2)!important;
  border:1px solid var(--spp-ds-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-appointments-history-shell [data-spp-admin-search]:focus,
.spp-root--admin[data-spp-theme="dark"][data-spp-view="appointments"] .spp-appointments-history-shell [data-spp-admin-filter]:focus{
  border-color:rgba(66,199,238,.48)!important;
  box-shadow:0 0 0 3px rgba(66,199,238,.08)!important;
  outline:none!important;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact{
  cursor:pointer;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact:focus-visible{
  outline:none;
  border-color:rgba(66,199,238,.58);
  box-shadow:inset 3px 0 0 var(--spp-ds-primary),0 0 0 3px rgba(66,199,238,.09),0 12px 28px rgba(0,0,0,.14);
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-row-status{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-open-chevron{
  color:#65ddff;
  font-size:19px;
  line-height:1;
  transition:transform .16s ease,color .16s ease;
}
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact:hover .spp-appointment-open-chevron,
.spp-root--admin[data-spp-view="appointments"] .spp-appointment-card--compact:focus-visible .spp-appointment-open-chevron{
  color:#a4f0ff;
  transform:translateX(2px);
}

.spp-appointment-detail-modal .spp-followup-modal-dialog{width:min(760px,calc(100vw - 32px));}
.spp-appointment-detail-body{display:grid;gap:14px;}
.spp-appointment-detail-status{display:flex;justify-content:flex-start;}
.spp-appointment-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.spp-appointment-detail-grid>div,
.spp-appointment-detail-note{
  min-width:0;
  padding:12px 13px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:13px;
  background:rgba(255,255,255,.025);
}
.spp-appointment-detail-grid span,
.spp-appointment-detail-note>span{
  display:block;
  margin-bottom:4px;
  color:var(--spp-muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.45px;
  text-transform:uppercase;
}
.spp-appointment-detail-grid strong{display:block;color:var(--spp-ds-text);font-size:13px;line-height:1.35;word-break:break-word;}
.spp-appointment-detail-grid small{display:block;margin-top:3px;color:var(--spp-muted);font-size:11px;word-break:break-word;}
.spp-appointment-detail-note p{margin:0;color:var(--spp-ds-text);font-size:13px;line-height:1.5;white-space:pre-wrap;}
.spp-appointment-detail-context{display:flex;gap:9px;flex-wrap:wrap;}
.spp-appointment-detail-body .spp-followup-modal-actions{margin-top:2px;}
.spp-appointment-detail-modal .spp-followup-modal-backdrop,
.spp-appointment-detail-modal .spp-followup-modal-backdrop:hover,
.spp-appointment-detail-modal .spp-followup-modal-backdrop:focus,
.spp-appointment-detail-modal .spp-followup-modal-backdrop:focus-visible{
  background:rgba(2,8,18,.80)!important;
  backdrop-filter:blur(6px)!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-appointment-detail-grid>div,
.spp-root--admin[data-spp-theme="light"] .spp-appointment-detail-note{background:#fff;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-appointment-detail-grid strong,
.spp-root--admin[data-spp-theme="light"] .spp-appointment-detail-note p{color:#102033;}

@media(max-width:720px){
  .spp-appointment-detail-grid{grid-template-columns:1fr;}
  .spp-root--admin[data-spp-view="appointments"] .spp-appointments-history-shell{padding:16px!important;}
}


/* =========================================================
   Smart Pro Portal 3.6.47 — Admin Appointments Layout & Detail Density Correction
   Presentation only; Amelia booking and appointment semantics remain unchanged.
   ========================================================= */
@media (min-width:981px){
  .spp-root--admin[data-spp-view="appointments"] .spp-appointments-head{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    margin-bottom:16px!important;
  }
  .spp-root--admin[data-spp-view="appointments"] .spp-appointments-head .spp-page-head-actions{
    align-self:end!important;
    padding:0 0 2px!important;
    margin:0!important;
  }
  .spp-root--admin[data-spp-view="appointments"] .spp-admin-appointments-kpis{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
.spp-root--admin[data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi{
  min-height:104px;
  padding:15px 18px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi strong{
  margin-top:7px;
  font-size:27px;
}
.spp-root--admin[data-spp-view="appointments"] .spp-admin-appointments-kpis .spp-admin-mini-kpi small{
  margin-top:6px;
}

.spp-appointment-detail-modal .spp-followup-modal-dialog{
  width:min(820px,calc(100vw - 32px));
}
.spp-appointment-detail-modal .spp-followup-modal-head{
  padding:18px 20px 14px;
}
.spp-appointment-detail-body{
  gap:10px;
  padding:16px 20px 18px;
}
.spp-appointment-detail-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.spp-appointment-detail-grid>div,
.spp-appointment-detail-note{
  padding:10px 12px;
}
.spp-appointment-detail-grid strong{font-size:12.5px;}
.spp-appointment-detail-note p{font-size:12.5px;line-height:1.42;}
.spp-appointment-detail-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:2px;
}
.spp-appointment-detail-context{
  flex:1 1 auto;
  min-width:0;
}
.spp-appointment-detail-close-button{
  flex:0 0 auto;
  margin-left:auto;
}

@media (max-width:980px) and (min-width:721px){
  .spp-root--admin[data-spp-view="appointments"] .spp-admin-appointments-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .spp-appointment-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:720px){
  .spp-appointment-detail-grid{grid-template-columns:1fr;}
  .spp-appointment-detail-bottom{align-items:stretch;flex-direction:column;}
  .spp-appointment-detail-context{width:100%;}
  .spp-appointment-detail-close-button{width:100%;margin-left:0;}
}


/* Smart Pro Portal 3.6.48 — Smart Pro Admin calendar */
.spp-admin-appointment-create-workspace .spp-focused-workspace__panel{max-width:1180px}
.spp-admin-calendar{display:grid;gap:18px}.spp-admin-calendar__setup{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:16px;align-items:start}.spp-admin-calendar__step{display:block;margin:0 0 8px;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--spp-accent,#66d9ff)}.spp-admin-calendar__service-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.spp-admin-calendar__service{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 12px;border:1px solid var(--spp-border,#24364d);border-radius:14px;background:var(--spp-surface-2,#101b2d);color:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.spp-admin-calendar__service:hover,.spp-admin-calendar__service:focus-visible{border-color:rgba(91,210,255,.72);background:rgba(30,59,83,.72)}.spp-admin-calendar__service.is-active{border-color:rgba(91,210,255,.9);box-shadow:inset 3px 0 0 var(--spp-accent,#5fd7ff)}.spp-admin-calendar__service strong{font-size:22px;color:var(--spp-accent,#71ddff)}.spp-admin-calendar__service span{font-size:12px;line-height:1.3}.spp-admin-calendar__customer select,.spp-admin-calendar__note textarea{width:100%;border:1px solid var(--spp-border,#27384d);border-radius:12px;background:var(--spp-surface-2,#101b2d);color:inherit;padding:12px 13px}.spp-admin-calendar__main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:16px;align-items:stretch}.spp-admin-calendar__month,.spp-admin-calendar__times,.spp-admin-calendar__review{border:1px solid var(--spp-border,#26384f);border-radius:16px;background:var(--spp-surface-1,#0d1728);padding:16px}.spp-admin-calendar__month-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}.spp-admin-calendar__month-head h3,.spp-admin-calendar__times h3{margin:0;font-size:18px}.spp-admin-calendar__month-nav{display:flex;gap:6px}.spp-admin-calendar__month-nav button{width:38px;height:36px;border:1px solid var(--spp-border,#293b52);border-radius:10px;background:var(--spp-surface-2,#132036);color:inherit;cursor:pointer}.spp-admin-calendar__weekdays,.spp-admin-calendar__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.spp-admin-calendar__weekdays{margin-bottom:7px}.spp-admin-calendar__weekdays span{text-align:center;font-size:11px;font-weight:800;color:var(--spp-muted,#91a0b5)}.spp-admin-calendar__day{min-height:46px;border:1px solid var(--spp-border,#26384f);border-radius:10px;background:rgba(20,31,49,.7);color:var(--spp-muted,#8495ab);font-weight:800}.spp-admin-calendar__day.is-blank{border-color:transparent;background:transparent}button.spp-admin-calendar__day.has-slots{color:var(--spp-text,#f4f7fb);background:rgba(35,63,88,.72);cursor:pointer}button.spp-admin-calendar__day.has-slots:hover,button.spp-admin-calendar__day.has-slots:focus-visible{border-color:rgba(91,210,255,.8)}button.spp-admin-calendar__day.is-selected{background:rgba(48,156,199,.22);border-color:var(--spp-accent,#5ed8ff);box-shadow:inset 0 0 0 1px rgba(91,210,255,.2)}button.spp-admin-calendar__day.is-today{position:relative}button.spp-admin-calendar__day.is-today:after{content:"";position:absolute;left:50%;bottom:5px;width:4px;height:4px;border-radius:50%;background:var(--spp-accent,#5ed8ff);transform:translateX(-50%)}.spp-admin-calendar__loading{grid-column:1/-1;padding:44px 18px;text-align:center;color:var(--spp-muted,#91a0b5)}.spp-admin-calendar__times{display:flex;flex-direction:column;gap:14px}.spp-admin-calendar__slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start}.spp-admin-calendar__slot{min-height:42px;border:1px solid var(--spp-border,#26384f);border-radius:10px;background:var(--spp-surface-2,#132036);color:var(--spp-text,#f5f7fb);font-weight:800;cursor:pointer}.spp-admin-calendar__slot:hover,.spp-admin-calendar__slot:focus-visible,.spp-admin-calendar__slot.is-selected{border-color:var(--spp-accent,#5ed8ff);background:rgba(48,156,199,.22)}.spp-admin-calendar__review{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:14px 18px;align-items:start}.spp-admin-calendar__summary strong{display:block;font-size:15px;line-height:1.45}.spp-admin-calendar__summary small{display:block;margin-top:6px;color:var(--spp-muted,#91a0b5);line-height:1.4}.spp-admin-calendar__note span{display:block;margin-bottom:7px;font-size:12px;font-weight:800}.spp-admin-calendar__confirm{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:2px}.spp-admin-calendar__confirm label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--spp-muted,#a5b1c2)}.spp-admin-calendar__confirm .spp-btn{margin-left:auto}.spp-admin-calendar__message{grid-column:1/-1;border-radius:11px;padding:10px 12px;font-size:13px}.spp-admin-calendar__message.is-info{background:rgba(65,166,217,.12);border:1px solid rgba(65,166,217,.35)}.spp-admin-calendar__message.is-warning{background:rgba(215,170,65,.12);border:1px solid rgba(215,170,65,.35)}.spp-admin-calendar__message.is-error{background:rgba(217,76,92,.12);border:1px solid rgba(217,76,92,.38)}.spp-admin-calendar__message.is-success{background:rgba(64,190,137,.12);border:1px solid rgba(64,190,137,.38)}
@media(max-width:980px){.spp-admin-calendar__setup,.spp-admin-calendar__main,.spp-admin-calendar__review{grid-template-columns:1fr}.spp-admin-calendar__confirm{grid-column:1}}@media(max-width:640px){.spp-admin-calendar__service-options{grid-template-columns:1fr}.spp-admin-calendar__slots{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-admin-calendar__weekdays,.spp-admin-calendar__grid{gap:4px}.spp-admin-calendar__day{min-height:40px}.spp-admin-calendar__confirm .spp-btn{width:100%;margin-left:0}}



/* Smart Pro Portal 3.6.49 — Admin calendar Portal↔Amelia customer bridge state. */
.spp-admin-calendar__customer-context{display:block;margin-top:7px;font-size:12px;line-height:1.35;color:var(--spp-text-muted,#9fb0c8);}
.spp-admin-calendar__customer-context.is-linked{color:#73e3ba;}
.spp-admin-calendar__customer-context.is-missing{color:#f1c75b;}
.spp-admin-calendar__customer-context.is-warning{color:#ffb37a;}

/* 3.6.51 — Admin appointment Portal→Amelia internal bridge compatibility + installation context. */
.spp-admin-calendar__customer-stack{display:grid;gap:10px;align-self:stretch}
.spp-admin-calendar__installation select,.spp-admin-calendar__provider select{width:100%;border:1px solid var(--spp-border,#27384d);border-radius:12px;background:var(--spp-surface-2,#101b2d);color:inherit;padding:11px 13px}
.spp-admin-calendar__installation small,.spp-admin-calendar__provider small{display:block;margin-top:6px;color:var(--spp-text-muted,#9fb0c8);font-size:11px;line-height:1.35}
.spp-admin-calendar__confirm .spp-btn:disabled{opacity:.46;cursor:not-allowed;filter:saturate(.55)}

/* 3.6.52 — Admin appointment technician selection + explicit success close. */
.spp-admin-calendar__notify-note{flex-basis:100%;margin:-4px 0 2px 24px;font-size:11px;line-height:1.35;color:var(--spp-text-muted,#8fa3ba)}
.spp-admin-calendar__success-actions{grid-column:1/-1;display:flex;justify-content:flex-end;padding-top:2px}
.spp-admin-calendar__success-actions[hidden]{display:none!important}
.spp-admin-calendar.is-success .spp-admin-calendar__message.is-success{padding:12px 14px;font-weight:700}
@media(max-width:640px){.spp-admin-calendar__notify-note{margin-left:0}.spp-admin-calendar__success-actions .spp-btn{width:100%}}

/* =========================================================
   Smart Pro Portal 3.6.53 — Support Work Session Foundation
   ========================================================= */
.spp-root--admin .spp-request-work-card{
  display:grid;
  gap:12px;
}
.spp-root--admin .spp-request-work-head{
  align-items:flex-start;
  gap:12px;
  margin-bottom:0;
}
.spp-root--admin .spp-request-work-head>div:first-child{min-width:0;}
.spp-root--admin .spp-request-work-head .spp-sub{
  margin-top:3px;
  font-size:9px;
  line-height:1.35;
  letter-spacing:.015em;
}
.spp-root--admin .spp-request-work-badge{
  flex:0 0 auto;
  min-height:28px;
  padding:5px 9px;
  font-size:10px;
}
.spp-root--admin .spp-request-work-badge.is-running{
  color:#78e9bd;
  border-color:rgba(52,211,153,.34);
  background:rgba(52,211,153,.08);
}
.spp-root--admin .spp-request-work-badge.is-paused{
  color:#ffd166;
  border-color:rgba(245,183,50,.34);
  background:rgba(245,183,50,.08);
}
.spp-root--admin .spp-request-work-badge.is-idle{
  color:var(--spp-muted);
  border-color:var(--spp-line);
  background:rgba(255,255,255,.025);
}
.spp-root--admin .spp-request-work-runtime{
  display:grid;
  gap:4px;
  padding:12px 13px;
  border:1px solid rgba(81,207,255,.18);
  border-radius:12px;
  background:rgba(56,189,248,.045);
}
.spp-root--admin .spp-request-work-runtime>span,
.spp-root--admin .spp-request-work-last>span{
  color:var(--spp-muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.spp-root--admin .spp-request-work-runtime>strong{
  color:var(--spp-text);
  font-size:24px;
  line-height:1.08;
  letter-spacing:.035em;
  font-variant-numeric:tabular-nums;
}
.spp-root--admin .spp-request-work-runtime>small,
.spp-root--admin .spp-request-work-last>small,
.spp-root--admin .spp-request-work-empty>small{
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.4;
}
.spp-root--admin .spp-request-work-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.spp-root--admin .spp-request-work-actions form{margin:0;}
.spp-root--admin .spp-request-work-actions .spp-btn{min-height:36px;}
.spp-root--admin .spp-request-work-help,
.spp-root--admin .spp-request-work-policy{
  margin:0;
  padding:9px 10px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  color:var(--spp-muted);
  background:rgba(255,255,255,.018);
  font-size:9.5px;
  line-height:1.45;
}
.spp-root--admin .spp-request-work-last,
.spp-root--admin .spp-request-work-empty{
  display:grid;
  gap:4px;
  padding:10px 11px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:rgba(255,255,255,.018);
}
.spp-root--admin .spp-request-work-last>strong,
.spp-root--admin .spp-request-work-empty>strong{
  font-size:12px;
  line-height:1.4;
}
.spp-root--admin .spp-request-work-start{
  display:flex;
  justify-content:flex-end;
  margin:0;
}
.spp-root--admin[data-spp-theme="light"] .spp-request-work-runtime{
  background:rgba(14,165,233,.045);
  border-color:rgba(14,165,233,.2);
}
.spp-root--admin[data-spp-theme="light"] .spp-request-work-help,
.spp-root--admin[data-spp-theme="light"] .spp-request-work-policy,
.spp-root--admin[data-spp-theme="light"] .spp-request-work-last,
.spp-root--admin[data-spp-theme="light"] .spp-request-work-empty{
  background:#fbfdfe;
}
@media(max-width:720px){
  .spp-root--admin .spp-request-work-head{flex-direction:column;}
  .spp-root--admin .spp-request-work-actions{align-items:stretch;flex-direction:column;}
  .spp-root--admin .spp-request-work-actions form,
  .spp-root--admin .spp-request-work-actions .spp-btn,
  .spp-root--admin .spp-request-work-start,
  .spp-root--admin .spp-request-work-start .spp-btn{width:100%;}
}

/* =========================================================
   Smart Pro Portal 3.6.54 — Support Wallet & Time Policy Foundation
   ========================================================= */
.spp-root--admin .spp-support-wallet-foundation{
  display:grid;
  gap:11px;
  margin:14px 0;
  padding:13px 14px;
  border:1px solid rgba(81,207,255,.18);
  border-radius:13px;
  background:rgba(56,189,248,.035);
}
.spp-root--admin .spp-support-wallet-foundation__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.spp-root--admin .spp-support-wallet-foundation__head>div{display:grid;gap:3px;min-width:0;}
.spp-root--admin .spp-support-wallet-foundation__head>div>span{
  color:var(--spp-muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.spp-root--admin .spp-support-wallet-foundation__head>div>strong{font-size:15px;line-height:1.3;}
.spp-root--admin .spp-support-wallet-foundation__facts{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.spp-root--admin .spp-support-wallet-foundation__facts>div{
  display:grid;
  gap:4px;
  min-width:0;
  padding:9px 10px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(255,255,255,.018);
}
.spp-root--admin .spp-support-wallet-foundation__facts span,
.spp-root--admin .spp-support-time-settings-state span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.spp-root--admin .spp-support-wallet-foundation__facts strong,
.spp-root--admin .spp-support-time-settings-state strong{font-size:11px;line-height:1.35;}
.spp-root--admin .spp-support-wallet-foundation__note{
  margin:0;
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.45;
}
.spp-root--admin .spp-support-time-settings-card{grid-column:1/-1;}
.spp-root--admin .spp-support-time-settings-form{display:grid;gap:13px;margin-top:4px;}
.spp-root--admin .spp-support-time-settings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,260px));
  gap:12px;
}
.spp-root--admin .spp-support-time-settings-grid>label{display:grid;gap:7px;}
.spp-root--admin .spp-support-time-settings-grid>label>span{
  color:var(--spp-muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.03em;
}
.spp-root--admin .spp-support-time-number{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:0 11px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:var(--spp-card-alt,rgba(255,255,255,.025));
}
.spp-root--admin .spp-support-time-number input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--spp-text);
  font:inherit;
  font-weight:800;
}
.spp-root--admin .spp-support-time-number small{color:var(--spp-muted);font-size:10px;}
.spp-root--admin .spp-support-time-settings-state{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.spp-root--admin .spp-support-time-settings-state>div{
  display:grid;
  gap:4px;
  padding:10px 11px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(255,255,255,.018);
}
.spp-root--admin .spp-support-time-settings-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.spp-root--admin .spp-support-time-settings-actions>span{
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.4;
  max-width:680px;
}
.spp-root--admin[data-spp-theme="light"] .spp-support-wallet-foundation{background:rgba(14,165,233,.035);border-color:rgba(14,165,233,.2);}
.spp-root--admin[data-spp-theme="light"] .spp-support-wallet-foundation__facts>div,
.spp-root--admin[data-spp-theme="light"] .spp-support-time-settings-state>div,
.spp-root--admin[data-spp-theme="light"] .spp-support-time-number{background:#fbfdfe;}
@media(max-width:920px){
  .spp-root--admin .spp-support-wallet-foundation__facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .spp-root--admin .spp-support-wallet-foundation__head{flex-direction:column;}
  .spp-root--admin .spp-support-wallet-foundation__facts,
  .spp-root--admin .spp-support-time-settings-grid,
  .spp-root--admin .spp-support-time-settings-state{grid-template-columns:1fr;}
  .spp-root--admin .spp-support-time-settings-actions{align-items:stretch;flex-direction:column;}
  .spp-root--admin .spp-support-time-settings-actions .spp-btn{width:100%;}
}


/* =========================================================
   Smart Pro Portal 3.6.55 — Subscription Package Policy Foundation
   ========================================================= */
.spp-root--admin .spp-support-package-policy-card{grid-column:1/-1;}
.spp-root--admin .spp-support-package-policy-form{display:grid;gap:14px;margin-top:4px;}
.spp-root--admin .spp-support-package-policy-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 13px;}
.spp-root--admin .spp-support-package-policy-summary>div{display:grid;gap:4px;padding:10px 11px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018);}
.spp-root--admin .spp-support-package-policy-summary span{color:var(--spp-muted);font-size:9px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;}
.spp-root--admin .spp-support-package-policy-summary strong{font-size:11px;line-height:1.35;}
.spp-root--admin .spp-support-package-policy-summary small{color:var(--spp-muted);font-size:9px;line-height:1.4;}
.spp-root--admin .spp-support-package-policy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.spp-root--admin .spp-support-package-policy-plan{display:grid;gap:11px;padding:12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.014);}
.spp-root--admin .spp-support-package-policy-plan__head{display:grid;gap:3px;padding-bottom:7px;border-bottom:1px solid var(--spp-line);}
.spp-root--admin .spp-support-package-policy-plan__head strong{font-size:14px;}
.spp-root--admin .spp-support-package-policy-plan__head span{color:var(--spp-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;}
.spp-root--admin .spp-support-package-policy-plan>label{display:grid;gap:6px;}
.spp-root--admin .spp-support-package-policy-plan>label>span{color:var(--spp-muted);font-size:10px;font-weight:800;}
.spp-root--admin .spp-support-package-policy-toggle{grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018);}
.spp-root--admin .spp-support-package-policy-toggle input{margin-top:2px;}
.spp-root--admin .spp-support-package-policy-toggle>span{display:grid;gap:2px;color:var(--spp-text)!important;}
.spp-root--admin .spp-support-package-policy-toggle strong{font-size:10px;}
.spp-root--admin .spp-support-package-policy-toggle small{color:var(--spp-muted);font-size:9px;line-height:1.35;}
.spp-root--admin[data-spp-theme="light"] .spp-support-package-policy-summary>div,
.spp-root--admin[data-spp-theme="light"] .spp-support-package-policy-plan,
.spp-root--admin[data-spp-theme="light"] .spp-support-package-policy-toggle{background:#fbfdfe;}
@media(max-width:1080px){.spp-root--admin .spp-support-package-policy-grid{grid-template-columns:1fr;}}
@media(max-width:720px){.spp-root--admin .spp-support-package-policy-summary{grid-template-columns:1fr;}}

/* =========================================================
   Smart Pro Portal 3.6.56 — Subscription Billing Cycle & Entitlement Preview Foundation
   ========================================================= */
[data-spp-workspace="subscription"] .spp-subscription-current-facts{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
[data-spp-workspace="subscription"] .spp-subscription-core-fields{
  grid-template-columns:minmax(180px,.85fr) minmax(170px,.72fr) minmax(0,1.55fr);
}
[data-spp-workspace="subscription"] .spp-subscription-cycle-field small{
  display:block;
  margin-top:4px;
  color:var(--spp-muted);
  font-size:8.5px;
  line-height:1.3;
}
.spp-root--admin .spp-support-wallet-foundation__policy{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.spp-root--admin .spp-support-wallet-foundation__policy>div{
  display:grid;
  gap:4px;
  min-width:0;
  padding:9px 10px;
  border:1px solid rgba(81,207,255,.16);
  border-radius:10px;
  background:rgba(56,189,248,.035);
}
.spp-root--admin .spp-support-wallet-foundation__policy span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.spp-root--admin .spp-support-wallet-foundation__policy strong{
  font-size:11px;
  line-height:1.35;
}
.spp-root--admin .spp-support-wallet-foundation__policy small{
  color:var(--spp-muted);
  font-size:9px;
  line-height:1.35;
}
.spp-root--admin[data-spp-theme="light"] .spp-support-wallet-foundation__policy>div{
  background:#f7fcfe;
  border-color:rgba(14,165,233,.16);
}
@media(max-width:920px){
  [data-spp-workspace="subscription"] .spp-subscription-current-facts{grid-template-columns:repeat(3,minmax(0,1fr));}
  [data-spp-workspace="subscription"] .spp-subscription-core-fields{grid-template-columns:1fr 1fr;}
  [data-spp-workspace="subscription"] .spp-subscription-date-grid{grid-column:1/-1;}
  .spp-root--admin .spp-support-wallet-foundation__policy{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  [data-spp-workspace="subscription"] .spp-subscription-current-facts,
  [data-spp-workspace="subscription"] .spp-subscription-core-fields,
  .spp-root--admin .spp-support-wallet-foundation__policy{grid-template-columns:1fr;}
}


/* 3.6.71 — Customer Portal subscriber booking integration */
.spp-amelia-frame--subscriber { padding: 0; background: transparent; border: 0; }
.spp-amelia-frame--subscriber .spsb-shell { margin: 0; }
.spp-amelia-frame--subscriber .spsb-content { max-width: none; }

/* =========================================================
   Smart Pro Portal 3.6.85 — Customer IA Foundation
   ========================================================= */
.spp-root--customer{
  --spp-customer-shell:1200px;
}

.spp-root--customer .spp-nav--customer{
  gap:3px;
}
.spp-root--customer .spp-nav--customer a{
  padding-inline:11px;
  white-space:nowrap;
}

/* The four global status cards are now dashboard-only. Internal customer
   pages use only context-specific filters, tabs and local summaries. */
.spp-root--customer .spp-dashboard-kpis--persistent{
  display:none!important;
}

.spp-customer-expandable-list{
  display:grid;
  gap:10px;
  margin-top:6px;
}
.spp-customer-expandable-row{
  overflow:hidden;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--spp-panel-2) 96%,transparent),color-mix(in srgb,var(--spp-panel) 99%,transparent));
  box-shadow:0 12px 34px rgba(0,0,0,.12);
}
.spp-customer-expandable-row>summary{
  position:relative;
  display:grid;
  grid-template-columns:5px minmax(0,1fr) auto auto;
  gap:14px;
  align-items:center;
  min-height:72px;
  padding:14px 16px 14px 0;
  list-style:none;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease;
}
.spp-customer-expandable-row>summary::-webkit-details-marker{display:none;}
.spp-customer-expandable-row>summary:hover,
.spp-customer-expandable-row[open]>summary{
  background:color-mix(in srgb,var(--spp-field-hover) 72%,transparent);
}
.spp-customer-expandable-accent{
  align-self:stretch;
  width:5px;
  min-height:44px;
  border-radius:0 6px 6px 0;
  background:rgba(36,212,255,.28);
  box-shadow:0 0 0 rgba(36,212,255,0);
  transition:background .18s ease,box-shadow .18s ease;
}
.spp-customer-expandable-row>summary:hover .spp-customer-expandable-accent,
.spp-customer-expandable-row[open] .spp-customer-expandable-accent{
  background:var(--spp-cyan);
  box-shadow:0 0 18px rgba(36,212,255,.38);
}
.spp-customer-expandable-copy{
  min-width:0;
  display:grid;
  gap:4px;
}
.spp-customer-expandable-copy strong{
  color:var(--spp-text);
  font-size:15px;
}
.spp-customer-expandable-copy small{
  color:var(--spp-muted);
  font-size:11px;
  line-height:1.45;
}
.spp-customer-expandable-chevron{
  color:var(--spp-muted);
  font-size:16px;
  font-weight:900;
  transition:transform .18s ease,color .18s ease;
}
.spp-customer-expandable-row[open] .spp-customer-expandable-chevron{
  color:var(--spp-cyan);
  transform:rotate(180deg);
}
.spp-customer-expandable-body{
  display:grid;
  gap:14px;
  padding:16px 20px 20px 19px;
  color:var(--spp-muted);
  border-top:1px solid var(--spp-line);
  background:color-mix(in srgb,var(--spp-panel) 86%,transparent);
}
.spp-customer-expandable-body p{
  margin:0;
  max-width:780px;
  line-height:1.65;
}
.spp-customer-expandable-body .spp-btn{
  justify-self:start;
}

@media(max-width:1180px){
  .spp-root--customer .spp-nav--customer a{padding-inline:10px;}
}
@media(max-width:700px){
  .spp-customer-expandable-row>summary{
    grid-template-columns:5px minmax(0,1fr) auto;
  }
  .spp-customer-expandable-row>summary .spp-status-badge{
    grid-column:2;
    justify-self:start;
  }
  .spp-customer-expandable-chevron{
    grid-column:3;
    grid-row:1 / span 2;
  }
}

/* =========================================================
   Smart Pro Portal 3.6.86 — Customer Installations Compact Fleet View
   ========================================================= */
.spp-root--customer .spp-customer-installation-kpis{
  margin-bottom:20px;
}
.spp-root--customer .spp-customer-installation-kpis article{
  min-height:94px;
  padding:14px 16px;
}
.spp-root--customer .spp-customer-installation-kpis article>span{
  margin-bottom:5px;
}
.spp-root--customer .spp-customer-installation-kpis article>strong{
  display:block;
  font-size:24px;
  line-height:1.05;
}
.spp-root--customer .spp-customer-installation-kpis article>small{
  display:block;
  margin-top:7px;
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.3;
}
.spp-root--customer .spp-customer-installation-kpis .spp-overview-strip--danger{
  border-color:rgba(255,95,104,.24)!important;
}
.spp-root--customer .spp-customer-installation-kpis .spp-overview-strip--danger>strong{
  color:#ff9198;
}
.spp-root--customer .spp-customer-installation-kpis .spp-overview-strip--ok>strong{
  color:#6ee7b7;
}
.spp-root--customer .spp-customer-installation-kpis .spp-overview-strip--warning>strong{
  color:#ffd166;
}
.spp-root--customer .spp-customer-installation-kpis .spp-overview-strip--info>strong{
  color:#67ddff;
}

.spp-root--customer .spp-customer-installation-record{
  padding:0;
  overflow:hidden;
  border-radius:18px;
}
.spp-customer-installation-details{
  display:block;
}
.spp-customer-installation-summary{
  position:relative;
  display:grid;
  grid-template-columns:5px minmax(220px,1.35fr) minmax(170px,.9fr) minmax(120px,.65fr) minmax(145px,.8fr) auto auto;
  gap:14px;
  align-items:center;
  min-height:82px;
  padding:13px 16px 13px 0;
  list-style:none;
  cursor:pointer;
  background:color-mix(in srgb,var(--spp-panel-2) 98%,transparent);
  transition:background .18s ease,border-color .18s ease;
}
.spp-customer-installation-summary::-webkit-details-marker{display:none;}
.spp-customer-installation-summary:hover,
.spp-customer-installation-details[open]>.spp-customer-installation-summary{
  background:color-mix(in srgb,var(--spp-field-hover) 78%,transparent);
}
.spp-customer-installation-accent{
  align-self:stretch;
  width:5px;
  min-height:52px;
  border-radius:0 6px 6px 0;
  background:rgba(36,212,255,.28);
  box-shadow:0 0 0 rgba(36,212,255,0);
  transition:background .18s ease,box-shadow .18s ease;
}
.spp-customer-installation-summary:hover .spp-customer-installation-accent,
.spp-customer-installation-details[open] .spp-customer-installation-accent{
  background:var(--spp-cyan);
  box-shadow:0 0 18px rgba(36,212,255,.38);
}
.spp-customer-installation-identity,
.spp-customer-installation-meta{
  min-width:0;
  display:grid;
  gap:3px;
}
.spp-customer-installation-identity>strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:16px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-customer-installation-identity>small,
.spp-customer-installation-meta>small{
  overflow:hidden;
  color:var(--spp-muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.045em;
  line-height:1.3;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.spp-customer-installation-meta>strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:11px;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-customer-installation-meta>em{
  width:max-content;
  max-width:100%;
  overflow:hidden;
  font-size:9px;
  font-style:normal;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-customer-installation-summary>.spp-status-badge{
  justify-self:end;
  white-space:nowrap;
}
.spp-customer-installation-chevron{
  color:var(--spp-muted);
  font-size:17px;
  font-weight:900;
  transition:transform .18s ease,color .18s ease;
}
.spp-customer-installation-details[open] .spp-customer-installation-chevron{
  color:var(--spp-cyan);
  transform:rotate(180deg);
}
.spp-customer-installation-panel{
  padding:18px 20px 20px;
  border-top:1px solid var(--spp-line);
  background:color-mix(in srgb,var(--spp-panel) 88%,transparent);
}
.spp-root--customer .spp-customer-installation-panel .spp-installation-fields,
.spp-root--customer .spp-customer-installation-panel .spp-installation-mini-summary{
  margin-top:0;
}

@media(max-width:1040px){
  .spp-customer-installation-summary{
    grid-template-columns:5px minmax(220px,1.3fr) minmax(150px,.9fr) minmax(130px,.75fr) auto auto;
  }
  .spp-customer-installation-summary .spp-customer-installation-meta:nth-of-type(5){
    display:none;
  }
}
@media(max-width:820px){
  .spp-customer-installation-summary{
    grid-template-columns:5px minmax(0,1fr) auto auto;
    gap:10px 12px;
    padding-right:14px;
  }
  .spp-customer-installation-summary .spp-customer-installation-meta{
    grid-column:2;
  }
  .spp-customer-installation-summary .spp-customer-installation-meta:nth-of-type(4),
  .spp-customer-installation-summary .spp-customer-installation-meta:nth-of-type(5){
    display:none;
  }
  .spp-customer-installation-summary>.spp-status-badge{
    grid-column:3;
    grid-row:1 / span 2;
  }
  .spp-customer-installation-chevron{
    grid-column:4;
    grid-row:1 / span 2;
  }
}
@media(max-width:560px){
  .spp-root--customer .spp-customer-installation-record{border-radius:15px;}
  .spp-customer-installation-summary{
    min-height:76px;
    grid-template-columns:5px minmax(0,1fr) auto;
  }
  .spp-customer-installation-summary .spp-customer-installation-meta{display:none;}
  .spp-customer-installation-summary>.spp-status-badge{
    grid-column:2;
    grid-row:2;
    justify-self:start;
  }
  .spp-customer-installation-chevron{
    grid-column:3;
    grid-row:1 / span 2;
  }
  .spp-customer-installation-panel{padding:15px;}
}

/* =========================================================
   Smart Pro Portal 3.6.87 — Customer Subscription Compact Management View
   ========================================================= */

/* One customer list language: full-height cyan edge belongs to the row itself,
   matching the Admin operational lists rather than a detached inner strip. */
.spp-root--customer .spp-customer-expandable-row{
  border-left:3px solid rgba(36,212,255,.26);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.spp-root--customer .spp-customer-expandable-row:hover,
.spp-root--customer .spp-customer-expandable-row[open]{
  border-left-color:var(--spp-cyan);
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.95),0 12px 34px rgba(0,0,0,.12);
}
.spp-root--customer .spp-customer-expandable-row>summary{
  grid-template-columns:minmax(0,1fr) auto auto;
  padding-left:16px;
}
.spp-root--customer .spp-customer-expandable-accent{display:none!important;}

.spp-root--customer .spp-customer-installation-details{
  border-left:3px solid rgba(36,212,255,.26);
  transition:border-color .16s ease,box-shadow .16s ease;
}
.spp-root--customer .spp-customer-installation-details:hover,
.spp-root--customer .spp-customer-installation-details[open]{
  border-left-color:var(--spp-cyan);
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.95);
}
.spp-root--customer .spp-customer-installation-summary{
  grid-template-columns:minmax(220px,1.35fr) minmax(170px,.9fr) minmax(120px,.65fr) minmax(145px,.8fr) auto auto;
  padding-left:16px;
}
.spp-root--customer .spp-customer-installation-accent{display:none!important;}

.spp-root--customer .spp-customer-subscription-kpis{
  margin-bottom:20px;
}
.spp-root--customer .spp-customer-subscription-kpis article{
  min-height:90px;
  padding:14px 16px;
}
.spp-root--customer .spp-customer-subscription-kpis article>span{
  margin-bottom:5px;
}
.spp-root--customer .spp-customer-subscription-kpis article>strong{
  display:block;
  font-size:22px;
  line-height:1.08;
}
.spp-root--customer .spp-customer-subscription-kpis article>small{
  display:block;
  margin-top:7px;
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.35;
}
.spp-root--customer .spp-customer-subscription-kpis .spp-overview-strip--ok>strong{color:#6ee7b7;}
.spp-root--customer .spp-customer-subscription-kpis .spp-overview-strip--warning>strong{color:#ffd166;}
.spp-root--customer .spp-customer-subscription-kpis .spp-overview-strip--info>strong{color:#67ddff;}

.spp-root--customer .spp-customer-list-panel{
  display:grid;
  gap:14px;
  margin-bottom:20px;
  padding:16px;
  border:1px solid var(--spp-line);
  border-radius:20px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--spp-panel) 98%,transparent),color-mix(in srgb,var(--spp-panel-2) 96%,transparent));
  box-shadow:0 14px 36px rgba(0,0,0,.10);
}
.spp-root--customer .spp-customer-list-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:2px 2px 0;
}
.spp-root--customer .spp-customer-list-panel__head h2{
  margin:0;
  font-size:18px;
  line-height:1.2;
}
.spp-root--customer .spp-customer-list-panel__head p{
  margin:5px 0 0;
  color:var(--spp-muted);
  font-size:11px;
  line-height:1.5;
}

.spp-root--customer .spp-customer-subscription-list{
  display:grid;
  gap:10px;
}
.spp-root--customer .spp-customer-subscription-row{
  overflow:hidden;
  border:1px solid var(--spp-line);
  border-left:3px solid rgba(36,212,255,.26);
  border-radius:15px;
  background:color-mix(in srgb,var(--spp-panel-2) 96%,transparent);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.spp-root--customer .spp-customer-subscription-row:hover,
.spp-root--customer .spp-customer-subscription-row[open]{
  border-left-color:var(--spp-cyan);
  background:color-mix(in srgb,var(--spp-field-hover) 72%,transparent);
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.95);
}
.spp-root--customer .spp-customer-subscription-row>summary{
  display:grid;
  grid-template-columns:minmax(220px,1.25fr) minmax(190px,1fr) minmax(170px,.8fr) auto auto;
  align-items:center;
  gap:14px;
  min-height:76px;
  padding:12px 14px 12px 16px;
  list-style:none;
  cursor:pointer;
}
.spp-root--customer .spp-customer-subscription-row>summary::-webkit-details-marker{display:none;}
.spp-root--customer .spp-customer-subscription-identity,
.spp-root--customer .spp-customer-subscription-meta{
  min-width:0;
  display:grid;
  gap:3px;
}
.spp-root--customer .spp-customer-subscription-identity small,
.spp-root--customer .spp-customer-subscription-meta small{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.055em;
  line-height:1.25;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-subscription-identity strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:15px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer .spp-customer-subscription-meta strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:12px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer .spp-customer-subscription-meta em{
  overflow:hidden;
  color:var(--spp-muted);
  font-size:10px;
  font-style:normal;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer .spp-customer-row-chevron{
  color:var(--spp-muted);
  font-size:17px;
  font-weight:900;
  transition:transform .16s ease,color .16s ease;
}
.spp-root--customer .spp-customer-subscription-row[open] .spp-customer-row-chevron{
  color:var(--spp-cyan);
  transform:rotate(180deg);
}
.spp-root--customer .spp-customer-subscription-body{
  display:grid;
  gap:14px;
  padding:16px;
  border-top:1px solid var(--spp-line);
  background:color-mix(in srgb,var(--spp-panel) 90%,transparent);
}
.spp-root--customer .spp-customer-subscription-detail-line{
  padding:10px 12px;
  color:var(--spp-muted);
  font-size:11px;
  line-height:1.5;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:var(--spp-field);
}
.spp-root--customer .spp-customer-subscription-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.spp-root--customer .spp-customer-subscription-facts>div{
  min-height:66px;
  padding:10px 12px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:var(--spp-field);
}
.spp-root--customer .spp-customer-subscription-facts span{
  display:block;
  margin-bottom:5px;
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-subscription-facts strong{
  color:var(--spp-text);
  font-size:12px;
  line-height:1.3;
}
.spp-root--customer .spp-customer-subscription-actionline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-top:2px;
}
.spp-root--customer .spp-customer-subscription-actionline p{
  margin:0;
  max-width:680px;
  color:var(--spp-muted);
  font-size:11px;
  line-height:1.5;
}
.spp-root--customer .spp-customer-subscription-actionline form{flex:0 0 auto;}
.spp-root--customer .spp-customer-subscription-options{display:grid;gap:9px;}
.spp-root--customer .spp-customer-subscription-option{grid-template-columns:1fr 1fr .7fr .7fr auto;}

.spp-root--customer .spp-customer-orders-panel{gap:12px;}
.spp-root--customer .spp-customer-orders-inner{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.spp-root--customer .spp-customer-order-compact-row{
  position:relative;
  overflow:hidden;
  padding-left:18px;
  border-left:3px solid rgba(36,212,255,.26);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.spp-root--customer .spp-customer-order-compact-row:hover,
.spp-root--customer .spp-customer-order-compact-row:focus-within{
  border-left-color:var(--spp-cyan);
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.95);
}

@media(max-width:940px){
  .spp-root--customer .spp-customer-subscription-row>summary{
    grid-template-columns:minmax(200px,1.2fr) minmax(160px,1fr) auto auto;
  }
  .spp-root--customer .spp-customer-subscription-row>summary .spp-customer-subscription-meta:nth-of-type(3){display:none;}
  .spp-root--customer .spp-customer-subscription-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--customer .spp-customer-subscription-actionline{align-items:flex-start;flex-direction:column;}
}
@media(max-width:700px){
  .spp-root--customer .spp-customer-list-panel__head{flex-direction:column;}
  .spp-root--customer .spp-customer-subscription-row>summary{
    grid-template-columns:minmax(0,1fr) auto;
    gap:9px;
  }
  .spp-root--customer .spp-customer-subscription-row>summary .spp-customer-subscription-meta{grid-column:1;}
  .spp-root--customer .spp-customer-subscription-row>summary>.spp-status-badge{grid-column:1;justify-self:start;}
  .spp-root--customer .spp-customer-row-chevron{grid-column:2;grid-row:1 / span 4;}
  .spp-root--customer .spp-customer-subscription-facts{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-subscription-option{grid-template-columns:1fr 1fr;}
  .spp-root--customer .spp-customer-subscription-option form{grid-column:1/-1;}
  .spp-root--customer .spp-customer-installation-summary{
    grid-template-columns:minmax(0,1fr) auto;
  }
}


/* =========================================================
   Smart Pro Portal 3.6.88 — Customer Support Compact Workspace Pass
   ========================================================= */

/* Support stays a focused two-tab workspace. */
.spp-root--customer[data-spp-view="requests"] .spp-support-tabs,
.spp-root--customer[data-spp-view="appointments"] .spp-support-tabs{
  width:max-content;
  max-width:100%;
  margin:0 0 18px!important;
}

/* Shared framed support surfaces: same operational language as Admin lists. */
.spp-root--customer .spp-customer-support-panel{
  display:grid;
  gap:14px;
  margin:0 0 20px!important;
  padding:16px!important;
  border:1px solid var(--spp-line)!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--spp-panel) 98%,transparent),color-mix(in srgb,var(--spp-panel-2) 96%,transparent))!important;
  box-shadow:0 14px 36px rgba(0,0,0,.10)!important;
}
.spp-root--customer .spp-customer-support-panel>.spp-card-head,
.spp-root--customer .spp-customer-support-panel>.spp-list-toolbar{
  margin:0!important;
  padding:2px 2px 0!important;
}
.spp-root--customer .spp-customer-support-panel>.spp-card-head h2,
.spp-root--customer .spp-customer-support-panel>.spp-list-toolbar h2{
  margin:0!important;
  font-size:18px!important;
  line-height:1.2!important;
}
.spp-root--customer .spp-customer-support-panel>.spp-card-head .spp-sub,
.spp-root--customer .spp-customer-support-panel>.spp-list-toolbar .spp-sub{
  margin-top:5px!important;
  font-size:11px!important;
  line-height:1.5!important;
}

/* Requests: full-height cyan edge, neutral row surface, no heavy blue selected fill. */
.spp-root--customer[data-spp-view="requests"] .spp-request-history-section{
  gap:14px!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-list{
  gap:10px!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer{
  border:1px solid var(--spp-line)!important;
  border-left:3px solid rgba(36,212,255,.26)!important;
  border-radius:15px!important;
  background:color-mix(in srgb,var(--spp-panel-2) 96%,transparent)!important;
  box-shadow:none!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer:hover,
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer:not(.is-collapsed){
  border-left-color:var(--spp-cyan)!important;
  border-top-color:var(--spp-line)!important;
  border-right-color:var(--spp-line)!important;
  border-bottom-color:var(--spp-line)!important;
  background:color-mix(in srgb,var(--spp-field-hover) 66%,var(--spp-panel-2))!important;
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.95)!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer .spp-request-card-toggle,
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle,
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:hover,
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:focus,
.spp-root--customer[data-spp-view="requests"] .spp-request-record--customer:not(.is-collapsed) .spp-request-card-toggle:active{
  color:var(--spp-text)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-collapsible{
  border-top:1px solid var(--spp-line)!important;
  background:color-mix(in srgb,var(--spp-panel) 90%,transparent)!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-compact-actions--customer{
  padding-right:14px!important;
}

/* Admin-style customer search fields on long support lists. */
.spp-root--customer[data-spp-view="requests"] .spp-list-controls input[type="search"],
.spp-root--customer[data-spp-view="appointments"] .spp-list-controls input[type="search"]{
  min-height:42px!important;
  width:100%!important;
  padding:10px 13px!important;
  color:var(--spp-text)!important;
  border:1px solid var(--spp-line)!important;
  border-radius:12px!important;
  background:var(--spp-field)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-list-controls input[type="search"]:focus,
.spp-root--customer[data-spp-view="appointments"] .spp-list-controls input[type="search"]:focus{
  outline:none!important;
  border-color:rgba(36,212,255,.48)!important;
  box-shadow:0 0 0 3px rgba(36,212,255,.08)!important;
}

/* Appointments: keep local KPIs but frame the working sections. */
.spp-root--customer[data-spp-view="appointments"] .spp-overview-strip{
  margin-bottom:20px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-list{
  margin:0!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--appointments .spp-list-toolbar{
  display:grid!important;
  grid-template-columns:minmax(190px,.42fr) minmax(0,1.58fr)!important;
  align-items:end!important;
  gap:14px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--appointments .spp-list-controls{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  align-items:center!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--appointments .spp-filter-chips{
  justify-content:flex-end!important;
  gap:6px!important;
  margin:0!important;
}

/* Compact click-to-expand appointment history rows. */
.spp-root--customer .spp-customer-appointment-history-list{
  display:grid;
  gap:10px;
}
.spp-root--customer .spp-customer-appointment-row{
  overflow:hidden;
  border:1px solid var(--spp-line);
  border-left:3px solid rgba(36,212,255,.26);
  border-radius:15px;
  background:color-mix(in srgb,var(--spp-panel-2) 96%,transparent);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.spp-root--customer .spp-customer-appointment-row:hover,
.spp-root--customer .spp-customer-appointment-row[open]{
  border-left-color:var(--spp-cyan);
  background:color-mix(in srgb,var(--spp-field-hover) 66%,var(--spp-panel-2));
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.95);
}
.spp-root--customer .spp-customer-appointment-row>summary{
  display:grid;
  grid-template-columns:minmax(240px,1.25fr) minmax(190px,.95fr) minmax(125px,.62fr) auto auto;
  align-items:center;
  gap:14px;
  min-height:74px;
  padding:12px 14px 12px 16px;
  list-style:none;
  cursor:pointer;
}
.spp-root--customer .spp-customer-appointment-row>summary::-webkit-details-marker{display:none;}
.spp-root--customer .spp-customer-appointment-identity,
.spp-root--customer .spp-customer-appointment-meta{
  min-width:0;
  display:grid;
  gap:3px;
}
.spp-root--customer .spp-customer-appointment-identity small,
.spp-root--customer .spp-customer-appointment-meta small{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.055em;
  line-height:1.25;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-appointment-identity strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:15px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer .spp-customer-appointment-meta strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:12px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer .spp-customer-appointment-row[open] .spp-customer-row-chevron{
  color:var(--spp-cyan);
  transform:rotate(180deg);
}
.spp-root--customer .spp-customer-appointment-body{
  display:grid;
  gap:13px;
  padding:16px;
  border-top:1px solid var(--spp-line);
  background:color-mix(in srgb,var(--spp-panel) 90%,transparent);
}
.spp-root--customer .spp-customer-appointment-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.spp-root--customer .spp-customer-appointment-facts>div{
  min-height:64px;
  padding:10px 12px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:var(--spp-field);
}
.spp-root--customer .spp-customer-appointment-facts span,
.spp-root--customer .spp-customer-appointment-note>span{
  display:block;
  margin-bottom:5px;
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-appointment-facts strong{
  color:var(--spp-text);
  font-size:12px;
}
.spp-root--customer .spp-customer-appointment-note{
  padding:11px 12px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:var(--spp-field);
}
.spp-root--customer .spp-customer-appointment-note p{
  margin:0;
  color:var(--spp-text);
  font-size:12px;
  line-height:1.5;
}
.spp-root--customer .spp-customer-appointment-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

@media(max-width:900px){
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--appointments .spp-list-toolbar{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--appointments .spp-filter-chips{
    justify-content:flex-start!important;
  }
  .spp-root--customer .spp-customer-appointment-row>summary{
    grid-template-columns:minmax(0,1fr) auto auto;
  }
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta{
    grid-column:1;
  }
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta:nth-of-type(3){display:none;}
}
@media(max-width:620px){
  .spp-root--customer .spp-customer-support-panel{padding:13px!important;border-radius:16px!important;}
  .spp-root--customer .spp-customer-appointment-row>summary{
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
  }
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta{display:none;}
  .spp-root--customer .spp-customer-appointment-row>summary>.spp-status-badge{grid-column:1;justify-self:start;}
  .spp-root--customer .spp-customer-row-chevron{grid-column:2;grid-row:1 / span 2;}
  .spp-root--customer .spp-customer-appointment-facts{grid-template-columns:1fr;}
}

/* =========================================================
   Smart Pro Portal 3.6.89 — Customer Documents & Account Main Tabs Polish
   ========================================================= */
.spp-root--customer .spp-customer-main-frame{
  margin-top:6px;
  padding:18px;
  border:1px solid var(--spp-line);
  border-radius:20px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--spp-panel-2) 96%,transparent),color-mix(in srgb,var(--spp-panel) 99%,transparent));
  box-shadow:0 14px 36px rgba(0,0,0,.12);
}
.spp-root--customer .spp-customer-main-frame__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:0 2px 14px;
  border-bottom:1px solid var(--spp-line);
}
.spp-root--customer .spp-customer-main-frame__head h2{
  margin:0 0 4px;
  color:var(--spp-text);
  font-size:18px;
  line-height:1.2;
}
.spp-root--customer .spp-customer-main-frame__head p{
  margin:0;
  color:var(--spp-muted);
  font-size:12px;
  line-height:1.5;
}
.spp-root--customer .spp-customer-main-frame__note{
  margin-top:12px;
  padding:11px 13px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  color:var(--spp-muted);
  background:color-mix(in srgb,var(--spp-panel) 82%,transparent);
  font-size:11px;
  line-height:1.55;
}
.spp-root--customer .spp-customer-documents-frame .spp-customer-expandable-list{
  margin-top:14px;
}

.spp-root--customer[data-spp-view="account"] .spp-customer-account-frame{
  padding:16px;
}
.spp-root--customer[data-spp-view="account"] .spp-profile-summary--compact{
  margin:14px 0 0;
  padding:11px 14px;
  border-radius:14px;
  box-shadow:none;
}
.spp-root--customer[data-spp-view="account"] .spp-profile-summary--compact>div:first-child{
  margin:0;
}
.spp-root--customer[data-spp-view="account"] .spp-profile-summary--compact strong{
  display:none;
}
.spp-root--customer[data-spp-view="account"] .spp-account-sections{
  margin-top:14px;
  gap:12px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-section-card{
  padding:16px 18px;
  border-radius:16px;
  box-shadow:none;
  background:color-mix(in srgb,var(--spp-panel) 86%,transparent);
}
.spp-root--customer[data-spp-view="account"] .spp-account-section-card .spp-card-head{
  margin-bottom:12px;
  padding-bottom:11px;
  border-bottom:1px solid var(--spp-line);
}
.spp-root--customer[data-spp-view="account"] .spp-account-section-card .spp-form-grid{
  gap:11px 12px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-section-card .spp-form-grid input{
  min-height:44px;
}
.spp-root--customer[data-spp-view="account"] .spp-check-list--compact{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.spp-root--customer[data-spp-view="account"] .spp-check-list--compact label{
  min-height:74px;
  padding:11px 12px;
  border-radius:13px;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.spp-root--customer[data-spp-view="account"] .spp-check-list--compact label:hover{
  border-color:color-mix(in srgb,var(--spp-cyan) 42%,var(--spp-line));
  background:color-mix(in srgb,var(--spp-field-hover) 70%,transparent);
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-links--compact{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-links--compact a,
.spp-root--customer[data-spp-view="account"] .spp-account-security-links--compact span{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
}
.spp-root--customer[data-spp-view="account"] .spp-sticky-save{
  margin-top:2px;
  padding:10px;
  border-radius:14px;
}

.spp-root--customer[data-spp-theme="light"] .spp-customer-main-frame,
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-section-card{
  background:#f8fbfe!important;
  border-color:rgba(32,61,86,.16)!important;
  box-shadow:0 10px 30px rgba(37,63,86,.06)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-main-frame__head,
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-section-card .spp-card-head{
  border-color:rgba(32,61,86,.14)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-main-frame__head h2{
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-main-frame__head p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-main-frame__note{
  color:#60748a!important;
}

@media(max-width:820px){
  .spp-root--customer[data-spp-view="account"] .spp-check-list--compact,
  .spp-root--customer[data-spp-view="account"] .spp-account-security-links--compact{
    grid-template-columns:1fr;
  }
}
@media(max-width:700px){
  .spp-root--customer .spp-customer-main-frame{padding:13px;border-radius:16px;}
  .spp-root--customer .spp-customer-main-frame__head{align-items:flex-start;flex-direction:column;gap:9px;}
}

/* 3.6.90 — Admin Subscription Catalog & Change Policy Foundation */
.spp-subscription-catalog-card{grid-column:1/-1}
.spp-subscription-catalog-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.spp-subscription-catalog-summary>div{padding:14px 16px;border:1px solid var(--spp-border,#29405a);border-radius:14px;background:rgba(11,26,45,.46);display:flex;flex-direction:column;gap:4px;min-width:0}
.spp-subscription-catalog-summary span,.spp-subscription-catalog-plan label>span,.spp-subscription-catalog-plan__meta span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;opacity:.72;font-weight:800}
.spp-subscription-catalog-summary strong{font-size:15px}.spp-subscription-catalog-summary small{opacity:.68;line-height:1.35}
.spp-subscription-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.spp-subscription-catalog-plan{padding:16px;border:1px solid var(--spp-border,#29405a);border-radius:16px;background:rgba(11,26,45,.38);display:flex;flex-direction:column;gap:14px;min-width:0}
.spp-subscription-catalog-plan__head{display:flex;flex-direction:column;gap:10px}.spp-subscription-catalog-plan__head>div{display:flex;flex-direction:column;gap:3px}.spp-subscription-catalog-plan__head strong{font-size:16px}.spp-subscription-catalog-plan__head>div span{font-size:12px;opacity:.7}
.spp-subscription-catalog-toggle,.spp-subscription-catalog-cycle{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid var(--spp-border,#29405a);border-radius:12px;background:rgba(255,255,255,.025)}
.spp-subscription-catalog-toggle input,.spp-subscription-catalog-cycle input{margin-top:2px}
.spp-subscription-catalog-description{display:flex;flex-direction:column;gap:7px}.spp-subscription-catalog-description input,.spp-subscription-catalog-plan__meta input{width:100%}
.spp-subscription-catalog-plan__meta{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(0,1.35fr);gap:10px}.spp-subscription-catalog-plan__meta label,.spp-subscription-catalog-plan__meta>div{display:flex;flex-direction:column;gap:6px}.spp-subscription-catalog-plan__meta>div{padding:9px 11px;border:1px solid var(--spp-border,#29405a);border-radius:12px}
.spp-subscription-catalog-cycles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.spp-subscription-catalog-cycle span{display:flex;flex-direction:column;gap:3px;min-width:0}.spp-subscription-catalog-cycle strong{font-size:13px}.spp-subscription-catalog-cycle small{font-size:11px;opacity:.7;overflow-wrap:anywhere}
.spp-subscription-change-policy{margin-top:18px;border:1px solid var(--spp-border,#29405a);border-radius:16px;overflow:hidden;background:rgba(11,26,45,.35)}
.spp-subscription-change-policy__head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--spp-border,#29405a)}.spp-subscription-change-policy__head>div{display:flex;flex-direction:column;gap:3px}.spp-subscription-change-policy__head>div span{font-size:11px;opacity:.65}
.spp-subscription-change-policy__rows{display:grid;grid-template-columns:1fr 1fr}.spp-subscription-change-policy__rows>div{padding:13px 16px;border-bottom:1px solid rgba(103,137,171,.18);display:flex;flex-direction:column;gap:4px}.spp-subscription-change-policy__rows>div:nth-child(odd){border-right:1px solid rgba(103,137,171,.18)}.spp-subscription-change-policy__rows span{font-size:11px;text-transform:uppercase;letter-spacing:.05em;opacity:.68;font-weight:800}.spp-subscription-change-policy__rows strong{font-size:13px;line-height:1.45}
@media(max-width:1100px){.spp-subscription-catalog-summary,.spp-subscription-catalog-grid{grid-template-columns:1fr 1fr}.spp-subscription-catalog-grid .spp-subscription-catalog-plan:last-child{grid-column:1/-1}}
@media(max-width:720px){.spp-subscription-catalog-summary,.spp-subscription-catalog-grid,.spp-subscription-change-policy__rows,.spp-subscription-catalog-plan__meta,.spp-subscription-catalog-cycles{grid-template-columns:1fr}.spp-subscription-catalog-grid .spp-subscription-catalog-plan:last-child{grid-column:auto}.spp-subscription-change-policy__rows>div:nth-child(odd){border-right:0}}

/* =========================================================
   Smart Pro Portal 3.6.91 — Customer Subscription Tabs & Wallet Context Deep Pass
   ========================================================= */

.spp-root--customer .spp-subscription-workspace-tabs{
  margin:0 0 18px;
}
.spp-root--customer .spp-subscription-workspace-tabs a{
  min-width:150px;
  justify-content:center;
}

.spp-root--customer .spp-customer-subscription-row>summary{
  grid-template-columns:minmax(200px,1.15fr) minmax(170px,.9fr) minmax(150px,.75fr) minmax(145px,.7fr) auto auto;
}

.spp-root--customer .spp-customer-subscription-state-banner{
  margin:0;
  min-height:auto;
}

.spp-root--customer .spp-customer-subscription-subsection{
  display:grid;
  gap:10px;
  padding:13px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:color-mix(in srgb,var(--spp-panel-2) 76%,transparent);
}
.spp-root--customer .spp-customer-subscription-subsection__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.spp-root--customer .spp-customer-subscription-subsection__head h3{
  margin:0;
  color:var(--spp-text);
  font-size:14px;
  line-height:1.25;
}
.spp-root--customer .spp-customer-subscription-subsection__head p{
  margin:4px 0 0;
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.45;
}

.spp-root--customer .spp-customer-wallet-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.spp-root--customer .spp-customer-wallet-facts>div{
  min-height:64px;
  padding:10px 12px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:var(--spp-field);
}
.spp-root--customer .spp-customer-wallet-facts span,
.spp-root--customer .spp-customer-wallet-period span{
  display:block;
  margin-bottom:5px;
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.05em;
  line-height:1.25;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-wallet-facts strong,
.spp-root--customer .spp-customer-wallet-period strong{
  color:var(--spp-text);
  font-size:12px;
  line-height:1.3;
}
.spp-root--customer .spp-customer-wallet-facts__available{
  border-color:color-mix(in srgb,var(--spp-cyan) 38%,var(--spp-line))!important;
  background:color-mix(in srgb,var(--spp-cyan) 7%,var(--spp-field))!important;
}
.spp-root--customer .spp-customer-wallet-facts__available strong{
  color:#6ee7b7;
}
.spp-root--customer .spp-customer-wallet-period{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 11px;
  border-top:1px solid var(--spp-line);
}
.spp-root--customer .spp-customer-wallet-period span{margin:0;}

.spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline{
  padding-top:0;
}

@media(max-width:1040px){
  .spp-root--customer .spp-customer-subscription-row>summary{
    grid-template-columns:minmax(190px,1.15fr) minmax(150px,.85fr) minmax(135px,.7fr) auto auto;
  }
  .spp-root--customer .spp-customer-subscription-row>summary .spp-customer-subscription-meta:nth-of-type(4){display:none;}
  .spp-root--customer .spp-customer-wallet-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .spp-root--customer .spp-subscription-workspace-tabs{display:flex;width:100%;}
  .spp-root--customer .spp-subscription-workspace-tabs a{min-width:0;flex:1 1 0;text-align:center;justify-content:center;}
  .spp-root--customer .spp-customer-wallet-facts{grid-template-columns:1fr 1fr;}
  .spp-root--customer .spp-customer-wallet-period{align-items:flex-start;flex-direction:column;}
}
@media(max-width:470px){
  .spp-root--customer .spp-customer-wallet-facts{grid-template-columns:1fr;}
}

/* =========================================================
   Smart Pro Portal 3.6.93 — Customer Cancellation Undo Confirmation Hardening
   ========================================================= */
.spp-root--customer .spp-customer-subscription-kpis + .spp-subscription-workspace-tabs{
  margin:14px 0 18px;
}
.spp-root--customer .spp-customer-cancellation-control{
  border:1px solid color-mix(in srgb,#fb7185 34%,var(--spp-line));
  border-radius:12px;
  background:color-mix(in srgb,#fb7185 5%,var(--spp-field));
  overflow:hidden;
}
.spp-root--customer .spp-customer-cancellation-control>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  cursor:pointer;
  list-style:none;
}
.spp-root--customer .spp-customer-cancellation-control>summary::-webkit-details-marker{display:none;}
.spp-root--customer .spp-customer-cancellation-control>summary>span:first-child{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.spp-root--customer .spp-customer-cancellation-control>summary strong{
  color:#fecdd3;
  font-size:12px;
  line-height:1.3;
}
.spp-root--customer .spp-customer-cancellation-control>summary small{
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.4;
}
.spp-root--customer .spp-customer-cancellation-control__body{
  display:grid;
  gap:10px;
  padding:11px 12px 12px;
  border-top:1px solid color-mix(in srgb,#fb7185 24%,var(--spp-line));
}
.spp-root--customer .spp-customer-cancellation-control__body>p{
  margin:0;
  color:var(--spp-muted);
  font-size:11px;
  line-height:1.55;
}
.spp-root--customer .spp-customer-cancellation-control__body form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px 12px;
  align-items:end;
}
.spp-root--customer .spp-customer-cancellation-note{
  display:grid;
  gap:5px;
  min-width:0;
}
.spp-root--customer .spp-customer-cancellation-note>span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-cancellation-note small{
  font-weight:650;
  letter-spacing:0;
  text-transform:none;
}
.spp-root--customer .spp-customer-cancellation-note input{width:100%;}
.spp-root--customer .spp-customer-cancellation-confirm{
  grid-column:1/-1;
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:var(--spp-text);
  font-size:10px;
  line-height:1.45;
}
.spp-root--customer .spp-customer-cancellation-confirm input{margin-top:2px;}
.spp-root--customer .spp-customer-cancellation-active{
  padding:10px 12px!important;
  border:1px solid color-mix(in srgb,var(--spp-cyan) 25%,var(--spp-line));
  border-radius:12px;
  background:color-mix(in srgb,var(--spp-cyan) 4%,var(--spp-field));
}
.spp-root--customer .spp-customer-cancellation-admin-note{
  padding:10px 12px;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:var(--spp-field);
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.5;
}
@media(max-width:760px){
  .spp-root--customer .spp-customer-cancellation-control__body form{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-cancellation-control__body form .spp-btn{width:100%;}
}

/* 3.6.93 — customer cancellation undo confirmation */
.spp-root--customer .spp-customer-cancellation-revoke-modal .spp-followup-modal-body>p{margin:0;color:var(--spp-text);line-height:1.65;}


/* Smart Pro Portal 3.6.94 — customer subscription safety confirmations */
.spp-root--customer .spp-customer-cancellation-schedule-modal .spp-followup-modal-dialog,
.spp-root--customer .spp-customer-cancellation-revoke-modal .spp-followup-modal-dialog{
  width:min(560px,calc(100vw - 32px));
}
.spp-root--customer .spp-customer-cancellation-schedule-modal .spp-followup-modal-body>p,
.spp-root--customer .spp-customer-cancellation-revoke-modal .spp-followup-modal-body>p{
  color:var(--spp-text);
  line-height:1.65;
}


/* Smart Pro Portal 3.6.95 — subscription transition readiness */
.spp-subscription-catalog-summary{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.spp-subscription-readiness{
  display:block;
  margin-top:5px;
  font-size:11px;
  font-style:normal;
  line-height:1.35;
}
.spp-subscription-readiness.is-ready{color:#7ce7c5}
.spp-subscription-readiness.is-blocked{color:#d6a95f}

.spp-subscription-transition-preview{
  margin-top:14px;
  border:1px solid rgba(79,119,166,.28);
  border-radius:16px;
  padding:16px;
  background:rgba(10,24,43,.28);
}
.spp-subscription-transition-preview__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.spp-subscription-transition-preview__head>div{
  display:grid;
  gap:4px;
}
.spp-subscription-transition-preview__head span,
.spp-subscription-transition-preview__row span,
.spp-subscription-transition-preview__current span{
  color:var(--spp-muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.spp-subscription-transition-preview__head small,
.spp-subscription-transition-preview__row small,
.spp-subscription-transition-preview__current small{
  color:var(--spp-muted);
}
.spp-subscription-transition-preview__current{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(79,119,166,.22);
  border-radius:12px;
  margin-bottom:10px;
}
.spp-subscription-transition-preview__rows{
  display:grid;
  gap:8px;
  margin-bottom:12px;
}
.spp-subscription-transition-preview__row{
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(260px,1.4fr) minmax(260px,1.4fr);
  gap:12px;
  padding:11px 12px;
  border:1px solid rgba(79,119,166,.20);
  border-radius:12px;
  background:rgba(16,35,61,.32);
}
.spp-subscription-transition-preview__row>div{
  display:grid;
  gap:3px;
}
.spp-subscription-transition-preview__row strong.is-ready{color:#7ce7c5}
.spp-subscription-transition-preview__row strong.is-blocked{color:#f1c66a}
@media (max-width:1100px){
  .spp-subscription-catalog-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spp-subscription-transition-preview__row{grid-template-columns:1fr}
}


/* Smart Pro Portal 3.6.96 — same-cycle upgrade proration quote preview */
.spp-subscription-transition-preview__row.has-quote{
  grid-template-columns:minmax(180px,1fr) minmax(260px,1.4fr) minmax(260px,1.4fr);
}
.spp-subscription-transition-preview__row.has-quote .spp-subscription-proration-preview{
  grid-column:1/-1;
}
.spp-subscription-proration-preview{
  margin-top:4px;
  padding:14px;
  border:1px solid rgba(47,201,255,.26);
  border-radius:14px;
  background:rgba(7,28,48,.42);
}
.spp-subscription-proration-preview__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:12px;
}
.spp-subscription-proration-preview__head>div{display:grid;gap:3px}
.spp-subscription-proration-preview__head span,
.spp-subscription-proration-preview__facts span{
  color:var(--spp-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.045em;
}
.spp-subscription-proration-preview__head small,
.spp-subscription-proration-preview__facts small{color:var(--spp-muted)}
.spp-subscription-proration-preview__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.spp-subscription-proration-preview__facts>div{display:grid;gap:3px;padding:10px 11px;border:1px solid rgba(79,119,166,.20);border-radius:11px;background:rgba(16,35,61,.35)}
.spp-subscription-proration-preview__facts>div.is-emphasis{border-color:rgba(47,201,255,.42);background:rgba(24,65,92,.42)}
.spp-subscription-proration-preview__facts strong{font-size:15px}
@media (max-width:1100px){.spp-subscription-proration-preview__facts{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.spp-subscription-proration-preview__facts{grid-template-columns:1fr}}


/* Smart Pro Portal 3.6.97 — wallet-period proration preview */
.spp-subscription-proration-preview__facts{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media (max-width:1100px){
  .spp-subscription-proration-preview__facts{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .spp-subscription-proration-preview__facts{grid-template-columns:1fr}
}


/* Smart Pro Portal 3.6.98 — locked upgrade execution plan */
.spp-subscription-upgrade-plan{
  margin-top:12px;
  border:1px solid rgba(74,218,181,.30);
  border-radius:14px;
  padding:14px;
  background:rgba(14,46,52,.22);
}
.spp-subscription-upgrade-plan.is-stale{
  border-color:rgba(239,186,80,.32);
  background:rgba(75,52,14,.16);
}
.spp-subscription-upgrade-plan--create{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-color:rgba(47,199,238,.30);
  background:rgba(20,66,89,.18);
}
.spp-subscription-upgrade-plan--create>div{
  display:grid;
  gap:4px;
  min-width:0;
}
.spp-subscription-upgrade-plan--create>div>span,
.spp-subscription-upgrade-plan__head>div>span,
.spp-subscription-upgrade-plan__facts span{
  color:var(--spp-muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.spp-subscription-upgrade-plan--create small,
.spp-subscription-upgrade-plan__head small,
.spp-subscription-upgrade-plan__facts small{
  color:var(--spp-muted);
  line-height:1.45;
}
.spp-subscription-upgrade-plan__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.spp-subscription-upgrade-plan__head>div{
  display:grid;
  gap:4px;
}
.spp-subscription-upgrade-plan__facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.spp-subscription-upgrade-plan__facts>div{
  display:grid;
  gap:4px;
  padding:10px 11px;
  border:1px solid rgba(79,119,166,.20);
  border-radius:11px;
  background:rgba(16,35,61,.30);
}
.spp-subscription-upgrade-plan__checks{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
}
.spp-subscription-upgrade-plan__checks span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border:1px solid rgba(79,119,166,.24);
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}
.spp-subscription-upgrade-plan__checks span.is-ok{
  color:#78e9c1;
  border-color:rgba(74,218,181,.30);
  background:rgba(14,76,61,.20);
}
.spp-subscription-upgrade-plan__checks span.is-bad{
  color:#f1c66a;
  border-color:rgba(239,186,80,.30);
  background:rgba(75,52,14,.18);
}
.spp-subscription-upgrade-plan__release{
  display:flex;
  justify-content:flex-end;
  margin-top:10px;
}
@media (max-width:1100px){
  .spp-subscription-upgrade-plan__facts{grid-template-columns:1fr 1fr}
  .spp-subscription-upgrade-plan--create{align-items:flex-start;flex-direction:column}
}
@media (max-width:720px){
  .spp-subscription-upgrade-plan__facts{grid-template-columns:1fr}
}


/* 3.6.110 — read-only Feature / Entitlement Catalog foundation. */
.spp-root--admin .spp-entitlement-catalog-card{grid-column:1/-1}
.spp-root--admin .spp-entitlement-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.spp-root--admin .spp-entitlement-plan{min-width:0;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.014);overflow:hidden}
.spp-root--admin .spp-entitlement-plan__head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px;border-bottom:1px solid var(--spp-line)}
.spp-root--admin .spp-entitlement-plan__head>div{display:grid;gap:3px;min-width:0}.spp-root--admin .spp-entitlement-plan__head strong{font-size:14px}.spp-root--admin .spp-entitlement-plan__head>div span{color:var(--spp-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.spp-root--admin .spp-entitlement-plan__rows{display:grid}
.spp-root--admin .spp-entitlement-plan__row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;border-bottom:1px solid var(--spp-line)}
.spp-root--admin .spp-entitlement-plan__row:last-child{border-bottom:0}.spp-root--admin .spp-entitlement-plan__row>div{display:grid;gap:2px;min-width:0}.spp-root--admin .spp-entitlement-plan__row strong{font-size:10px;line-height:1.35}.spp-root--admin .spp-entitlement-plan__row small{color:var(--spp-muted);font-size:8px;line-height:1.35}
.spp-root--admin .spp-entitlement-mode{display:inline-flex;align-items:center;justify-content:center;max-width:120px;padding:5px 7px;border-radius:999px;border:1px solid var(--spp-line);font-size:8px;font-weight:900;line-height:1.2;text-align:center;white-space:normal}
.spp-root--admin .spp-entitlement-mode--included{border-color:rgba(44,204,135,.34);background:rgba(44,204,135,.09)}
.spp-root--admin .spp-entitlement-mode--policy{border-color:rgba(79,172,254,.34);background:rgba(79,172,254,.09)}
.spp-root--admin .spp-entitlement-mode--addon{border-color:rgba(255,183,77,.34);background:rgba(255,183,77,.09)}
.spp-root--admin .spp-entitlement-mode--none{opacity:.58}
.spp-root--admin .spp-entitlement-contract-note{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.spp-root--admin .spp-entitlement-contract-note>div{display:grid;gap:4px;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018)}
.spp-root--admin .spp-entitlement-contract-note span{color:var(--spp-muted);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.spp-root--admin .spp-entitlement-contract-note strong{font-size:10px;line-height:1.35;overflow-wrap:anywhere}
.spp-root--admin[data-spp-theme="light"] .spp-entitlement-plan,.spp-root--admin[data-spp-theme="light"] .spp-entitlement-contract-note>div{background:#fbfdfe}
@media(max-width:1180px){.spp-root--admin .spp-entitlement-plan-grid{grid-template-columns:1fr}.spp-root--admin .spp-entitlement-contract-note{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.spp-root--admin .spp-entitlement-plan__row{grid-template-columns:1fr}.spp-root--admin .spp-entitlement-mode{justify-self:start;max-width:none}.spp-root--admin .spp-entitlement-contract-note{grid-template-columns:1fr}}

/* 3.6.111 — Entitlement Catalog editable draft mapping controls only. */
.spp-root--admin .spp-entitlement-mapping-form{display:grid;gap:12px}
.spp-root--admin .spp-entitlement-mode-select{width:132px;max-width:100%;min-height:31px;padding:5px 26px 5px 8px;border:1px solid var(--spp-line);border-radius:9px;background:var(--spp-surface-2);color:var(--spp-text);font:inherit;font-size:9px;font-weight:850;line-height:1.2}
.spp-root--admin .spp-entitlement-mode-select:focus{outline:2px solid rgba(79,172,254,.28);outline-offset:1px;border-color:rgba(79,172,254,.55)}
.spp-root--admin .spp-entitlement-savebar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(79,172,254,.045)}
.spp-root--admin .spp-entitlement-savebar>div{display:grid;gap:3px;min-width:0}.spp-root--admin .spp-entitlement-savebar strong{font-size:11px}.spp-root--admin .spp-entitlement-savebar span{color:var(--spp-muted);font-size:9px;line-height:1.45}
.spp-root--admin[data-spp-theme="light"] .spp-entitlement-mode-select{background:#fff}
@media(max-width:720px){.spp-root--admin .spp-entitlement-mode-select{width:100%}.spp-root--admin .spp-entitlement-savebar{align-items:stretch;flex-direction:column}.spp-root--admin .spp-entitlement-savebar .spp-btn{width:100%}}



/* Smart Pro Portal 3.6.147 — Admin Settings information architecture cleanup. */
.spp-root--admin .spp-settings-tabs{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:7px;
  border:1px solid var(--spp-line);border-radius:16px;background:rgba(255,255,255,.018);
}
.spp-root--admin .spp-settings-tabs a{
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;
  border:1px solid transparent;border-radius:11px;color:var(--spp-muted);font-size:11px;font-weight:900;
  text-decoration:none;transition:border-color .18s ease,background .18s ease,color .18s ease;
}
.spp-root--admin .spp-settings-tabs a:hover{color:var(--spp-text);border-color:var(--spp-line);background:rgba(255,255,255,.035)}
.spp-root--admin .spp-settings-tabs a.is-active{color:var(--spp-text);border-color:rgba(79,172,254,.34);background:rgba(79,172,254,.10);box-shadow:inset 0 -2px 0 rgba(79,172,254,.7)}
.spp-root--admin .spp-settings-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 16px;padding:0 2px}
.spp-root--admin .spp-settings-section-head>div{display:grid;gap:3px}.spp-root--admin .spp-settings-section-head span{color:var(--spp-muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.spp-root--admin .spp-settings-section-head strong{font-size:18px}.spp-root--admin .spp-settings-section-head small{max-width:620px;color:var(--spp-muted);font-size:10px;line-height:1.5;text-align:right}
.spp-root--admin .spp-admin-settings-grid--single{grid-template-columns:minmax(0,1fr)}
.spp-root--admin .spp-settings-wide-card{grid-column:1/-1}
.spp-root--admin .spp-settings-compact-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.spp-root--admin .spp-settings-compact-summary>div{display:grid;gap:4px;padding:10px 11px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.018)}
.spp-root--admin .spp-settings-compact-summary span{color:var(--spp-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.spp-root--admin .spp-settings-compact-summary strong{font-size:11px}
.spp-root--admin .spp-settings-technical-link{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:11px 12px;border:1px dashed var(--spp-line);border-radius:12px}.spp-root--admin .spp-settings-technical-link>span{color:var(--spp-muted);font-size:10px;line-height:1.45}
.spp-root--admin .spp-entitlement-matrix-wrap{overflow:auto;border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.012)}
.spp-root--admin .spp-entitlement-matrix{width:100%;border-collapse:collapse;min-width:760px}
.spp-root--admin .spp-entitlement-matrix th,.spp-root--admin .spp-entitlement-matrix td{padding:9px 10px;border-bottom:1px solid var(--spp-line);vertical-align:middle;text-align:left}
.spp-root--admin .spp-entitlement-matrix thead th{position:sticky;top:0;z-index:1;background:var(--spp-panel);color:var(--spp-muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.spp-root--admin .spp-entitlement-matrix tbody tr:last-child th,.spp-root--admin .spp-entitlement-matrix tbody tr:last-child td{border-bottom:0}
.spp-root--admin .spp-entitlement-matrix tbody th{width:46%;min-width:300px}.spp-root--admin .spp-entitlement-matrix tbody th strong,.spp-root--admin .spp-entitlement-matrix tbody th small{display:block}.spp-root--admin .spp-entitlement-matrix tbody th strong{font-size:10px;line-height:1.35}.spp-root--admin .spp-entitlement-matrix tbody th small{margin-top:3px;color:var(--spp-muted);font-size:8px;line-height:1.35;font-weight:700}
.spp-root--admin .spp-entitlement-matrix td{width:18%}.spp-root--admin .spp-entitlement-matrix .spp-entitlement-mode-select{width:100%;min-width:130px}
.spp-root--admin .spp-settings-diagnostics-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:10px 12px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.018)}.spp-root--admin .spp-settings-diagnostics-toolbar span{color:var(--spp-muted);font-size:10px}
.spp-root--admin[data-spp-theme="light"] .spp-settings-tabs,.spp-root--admin[data-spp-theme="light"] .spp-settings-compact-summary>div,.spp-root--admin[data-spp-theme="light"] .spp-entitlement-matrix-wrap,.spp-root--admin[data-spp-theme="light"] .spp-settings-diagnostics-toolbar{background:#f7fafc}
.spp-root--admin[data-spp-theme="light"] .spp-entitlement-matrix thead th{background:#fff}
@media(max-width:820px){.spp-root--admin .spp-settings-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.spp-root--admin .spp-settings-section-head{align-items:flex-start;flex-direction:column}.spp-root--admin .spp-settings-section-head small{text-align:left}.spp-root--admin .spp-settings-compact-summary{grid-template-columns:1fr}.spp-root--admin .spp-settings-technical-link,.spp-root--admin .spp-settings-diagnostics-toolbar{align-items:stretch;flex-direction:column}.spp-root--admin .spp-settings-technical-link .spp-btn,.spp-root--admin .spp-settings-diagnostics-toolbar .spp-btn{width:100%}}
@media(max-width:520px){.spp-root--admin .spp-settings-tabs{grid-template-columns:1fr}}

/* Smart Pro Portal 3.6.148 — Admin Settings navigation architecture v2. */
.spp-root--admin .spp-settings-shell{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.spp-root--admin .spp-settings-rail{
  position:sticky;
  top:14px;
  display:grid;
  gap:12px;
  max-height:calc(100vh - 28px);
  overflow:auto;
  padding:12px;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:rgba(255,255,255,.018);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}
.spp-root--admin .spp-settings-rail__summary{display:grid;gap:3px;padding:2px 3px 9px;border-bottom:1px solid var(--spp-line)}
.spp-root--admin .spp-settings-rail__summary>span,.spp-root--admin .spp-settings-rail__group-head>span,.spp-root--admin .spp-settings-rail__advanced>div>span{
  color:var(--spp-muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;
}
.spp-root--admin .spp-settings-rail__summary>strong{font-size:13px;line-height:1.25}
.spp-root--admin .spp-settings-rail__summary>small,.spp-root--admin .spp-settings-rail__group-head>small,.spp-root--admin .spp-settings-rail__advanced>div>small{
  color:var(--spp-muted);font-size:8.5px;line-height:1.4;
}
.spp-root--admin .spp-settings-rail__group{display:grid;gap:7px}
.spp-root--admin .spp-settings-rail__group-head{display:grid;gap:2px;padding:0 3px}
.spp-root--admin .spp-settings-rail__group.is-current .spp-settings-rail__group-head>span{color:var(--spp-text)}
.spp-root--admin .spp-settings-rail__nav{display:grid;gap:5px}
.spp-root--admin .spp-settings-rail__nav a{
  position:relative;
  display:grid;
  gap:2px;
  min-width:0;
  padding:9px 10px 9px 12px;
  border:1px solid transparent;
  border-radius:11px;
  color:var(--spp-muted);
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.spp-root--admin .spp-settings-rail__nav a::before{
  content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;border-radius:99px;background:transparent;
}
.spp-root--admin .spp-settings-rail__nav a>span{font-size:10px;font-weight:900;line-height:1.3}
.spp-root--admin .spp-settings-rail__nav a>small{font-size:8px;line-height:1.35;color:var(--spp-muted)}
.spp-root--admin .spp-settings-rail__nav a:hover{color:var(--spp-text);border-color:var(--spp-line);background:rgba(255,255,255,.03);transform:translateX(1px)}
.spp-root--admin .spp-settings-rail__nav a.is-active{
  color:var(--spp-text);
  border-color:rgba(79,172,254,.34);
  background:rgba(79,172,254,.09);
}
.spp-root--admin .spp-settings-rail__nav a.is-active::before{background:rgba(79,172,254,.95)}
.spp-root--admin .spp-settings-rail__nav a.is-active>small{color:var(--spp-muted)}
.spp-root--admin .spp-settings-rail__advanced{
  display:grid;gap:8px;margin-top:2px;padding:10px;border:1px dashed var(--spp-line);border-radius:12px;background:rgba(255,255,255,.012);
}
.spp-root--admin .spp-settings-rail__advanced>div{display:grid;gap:2px}
.spp-root--admin .spp-settings-rail__advanced>a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid var(--spp-line);border-radius:9px;
  color:var(--spp-muted);font-size:9px;font-weight:850;text-decoration:none;background:rgba(255,255,255,.018);
}
.spp-root--admin .spp-settings-rail__advanced>a:hover{color:var(--spp-text);border-color:rgba(79,172,254,.34);background:rgba(79,172,254,.06)}
.spp-root--admin .spp-settings-workspace{min-width:0;display:grid;gap:12px}
.spp-root--admin .spp-settings-workspace-head{
  position:sticky;top:0;z-index:4;
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;
  padding:10px 12px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:color-mix(in srgb,var(--spp-panel) 94%,transparent);
  backdrop-filter:blur(14px);
}
.spp-root--admin .spp-settings-workspace-head>div{display:grid;gap:2px;min-width:0}
.spp-root--admin .spp-settings-workspace-head>div>span{color:var(--spp-accent);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.spp-root--admin .spp-settings-workspace-head h2{margin:0;font-size:18px;line-height:1.2}
.spp-root--admin .spp-settings-workspace-head p{margin:0;color:var(--spp-muted);font-size:9px;line-height:1.45}
.spp-root--admin .spp-settings-workspace-head>small{max-width:300px;color:var(--spp-muted);font-size:8.5px;line-height:1.4;text-align:right}
.spp-root--admin .spp-settings-workspace>.spp-admin-settings-grid{margin-top:0}
.spp-root--admin[data-spp-theme="light"] .spp-settings-rail,
.spp-root--admin[data-spp-theme="light"] .spp-settings-workspace-head,
.spp-root--admin[data-spp-theme="light"] .spp-settings-rail__advanced{background:#f7fafc}
.spp-root--admin[data-spp-theme="light"] .spp-settings-rail__nav a.is-active{background:#edf7ff}
@media(max-width:1100px){
  .spp-root--admin .spp-settings-shell{grid-template-columns:200px minmax(0,1fr);gap:12px}
  .spp-root--admin .spp-settings-rail{padding:10px}
}
@media(max-width:900px){
  .spp-root--admin .spp-settings-shell{grid-template-columns:1fr}
  .spp-root--admin .spp-settings-rail{position:static;max-height:none;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .spp-root--admin .spp-settings-rail__summary,.spp-root--admin .spp-settings-rail__advanced{grid-column:1/-1}
  .spp-root--admin .spp-settings-workspace-head{position:static}
}
@media(max-width:640px){
  .spp-root--admin .spp-settings-rail{grid-template-columns:1fr}
  .spp-root--admin .spp-settings-rail__summary,.spp-root--admin .spp-settings-rail__advanced{grid-column:auto}
  .spp-root--admin .spp-settings-workspace-head{align-items:flex-start;flex-direction:column}
  .spp-root--admin .spp-settings-workspace-head>small{text-align:left;max-width:none}
}

/* Smart Pro Portal 3.6.149 — compact Settings interaction architecture v3. */
.spp-root--admin .spp-settings-console{display:grid;gap:10px;min-width:0}
.spp-root--admin .spp-settings-primary-tabs,
.spp-root--admin .spp-settings-secondary-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.spp-root--admin .spp-settings-primary-tabs{
  padding:6px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018)
}
.spp-root--admin .spp-settings-primary-tabs a,
.spp-root--admin .spp-settings-secondary-tabs a{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 14px;border:1px solid transparent;border-radius:10px;
  color:var(--spp-muted);font-size:10px;font-weight:900;line-height:1;text-decoration:none;transition:.16s ease
}
.spp-root--admin .spp-settings-primary-tabs a:hover,
.spp-root--admin .spp-settings-secondary-tabs a:hover{color:var(--spp-text);background:rgba(255,255,255,.035)}
.spp-root--admin .spp-settings-primary-tabs a.is-active{color:var(--spp-text);border-color:rgba(79,172,254,.38);background:rgba(79,172,254,.10)}
.spp-root--admin .spp-settings-primary-tabs .spp-settings-primary-tabs__advanced{margin-left:auto;color:var(--spp-muted)}
.spp-root--admin .spp-settings-secondary-bar{
  display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 4px 8px;border-bottom:1px solid var(--spp-line)
}
.spp-root--admin .spp-settings-secondary-tabs a{min-height:30px;padding:6px 10px;border-radius:8px}
.spp-root--admin .spp-settings-secondary-tabs a.is-active{color:var(--spp-accent);background:rgba(79,172,254,.07)}
.spp-root--admin .spp-settings-section-context{display:flex;align-items:baseline;justify-content:flex-end;gap:8px;min-width:0;text-align:right}
.spp-root--admin .spp-settings-section-context strong{font-size:11px;white-space:nowrap}
.spp-root--admin .spp-settings-section-context span{color:var(--spp-muted);font-size:8.5px;line-height:1.35}
.spp-root--admin .spp-settings-board{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;margin-top:0!important}

.spp-root--admin .spp-setting-row{
  display:grid;grid-template-columns:minmax(280px,1.45fr) minmax(250px,.9fr) auto;align-items:center;gap:16px;
  min-height:76px;padding:12px 14px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.014)
}
.spp-root--admin .spp-setting-row--emphasis{background:linear-gradient(90deg,rgba(79,172,254,.045),rgba(255,255,255,.012) 42%)}
.spp-root--admin .spp-setting-row__content{display:grid;gap:4px;min-width:0}
.spp-root--admin .spp-setting-row__title{display:flex;align-items:center;gap:7px;min-width:0}
.spp-root--admin .spp-setting-row__title strong{font-size:12px;line-height:1.3}
.spp-root--admin .spp-setting-row__content>span{color:var(--spp-muted);font-size:9px;line-height:1.4}
.spp-root--admin .spp-setting-row__value{display:grid;gap:3px;min-width:0;padding-left:14px;border-left:1px solid var(--spp-line)}
.spp-root--admin .spp-setting-row__value strong{font-size:11px;line-height:1.35}
.spp-root--admin .spp-setting-row__value small{color:var(--spp-muted);font-size:8.5px;line-height:1.35}
.spp-root--admin .spp-setting-row__action{min-width:90px;padding:8px 12px!important}
.spp-root--admin .spp-settings-help{
  position:relative;display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border:1px solid var(--spp-line);border-radius:50%;
  background:rgba(255,255,255,.025);color:var(--spp-muted);font-size:10px;font-weight:900;line-height:1;cursor:help
}
.spp-root--admin .spp-settings-help:hover,.spp-root--admin .spp-settings-help:focus{color:var(--spp-text);border-color:rgba(79,172,254,.45);outline:none}
.spp-root--admin .spp-settings-help::after{
  content:attr(data-spp-tip);position:absolute;left:50%;bottom:calc(100% + 9px);z-index:20;width:min(300px,70vw);padding:9px 10px;border:1px solid var(--spp-line);border-radius:9px;
  background:#0a1324;color:var(--spp-text);font-size:9px;font-weight:650;line-height:1.45;text-transform:none;letter-spacing:0;box-shadow:0 14px 34px rgba(0,0,0,.28);
  opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:.15s ease
}
.spp-root--admin .spp-settings-help:hover::after,.spp-root--admin .spp-settings-help:focus::after{opacity:1;transform:translate(-50%,0)}

.spp-root--admin .spp-settings-editor .spp-drawer-panel{width:min(620px,96vw)}
.spp-root--admin .spp-settings-editor--wide .spp-drawer-panel{width:min(1040px,97vw)}
.spp-root--admin .spp-settings-editor .spp-drawer-head{padding:16px 18px 13px}
.spp-root--admin .spp-settings-editor .spp-drawer-head h2{font-size:21px}
.spp-root--admin .spp-settings-editor .spp-drawer-head p{font-size:10px}
.spp-root--admin .spp-settings-editor .spp-drawer-body{padding:14px 18px 22px}
.spp-root--admin .spp-settings-editor .spp-drawer-body>.spp-card{margin:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.spp-root--admin .spp-settings-editor .spp-drawer-body>.spp-card>.spp-card-head{display:none!important}
.spp-root--admin .spp-settings-editor .spp-support-time-settings-state,
.spp-root--admin .spp-settings-editor .spp-support-package-policy-summary,
.spp-root--admin .spp-settings-editor .spp-subscription-catalog-summary{margin:10px 0;gap:6px}
.spp-root--admin .spp-settings-editor .spp-support-time-settings-state>div,
.spp-root--admin .spp-settings-editor .spp-support-package-policy-summary>div,
.spp-root--admin .spp-settings-editor .spp-subscription-catalog-summary>div{padding:8px 9px}
.spp-root--admin .spp-settings-editor .spp-support-time-settings-actions,
.spp-root--admin .spp-settings-editor .spp-entitlement-savebar{position:sticky;bottom:0;z-index:2;margin-top:12px;padding:10px 0 0;background:linear-gradient(to bottom,transparent 0,#0a1222 22%)}
.spp-root--admin .spp-settings-editor .spp-subscription-change-policy{margin-top:12px}
.spp-root--admin .spp-settings-editor .spp-settings-technical-link{margin-top:10px}

.spp-root--admin .spp-settings-compact-card{padding:12px 14px!important}
.spp-root--admin .spp-settings-compact-card .spp-card-head{margin-bottom:8px}
.spp-root--admin .spp-settings-compact-card .spp-admin-setting-facts{gap:6px}
.spp-root--admin .spp-settings-compact-card .spp-admin-setting-facts>div{padding:8px 10px}

.spp-root--admin[data-spp-theme="light"] .spp-settings-primary-tabs,
.spp-root--admin[data-spp-theme="light"] .spp-setting-row{background:#f7fafc}
.spp-root--admin[data-spp-theme="light"] .spp-settings-help::after{background:#fff;color:#0f172a}
.spp-root--admin[data-spp-theme="light"] .spp-settings-editor .spp-support-time-settings-actions,
.spp-root--admin[data-spp-theme="light"] .spp-settings-editor .spp-entitlement-savebar{background:linear-gradient(to bottom,transparent 0,#fff 22%)}

@media(max-width:980px){
  .spp-root--admin .spp-setting-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}
  .spp-root--admin .spp-setting-row__value{grid-column:1/2;grid-row:2;padding:0;border-left:0}
  .spp-root--admin .spp-setting-row__action{grid-column:2;grid-row:1/3}
  .spp-root--admin .spp-settings-secondary-bar{align-items:flex-start;flex-direction:column;gap:7px}
  .spp-root--admin .spp-settings-section-context{text-align:left;justify-content:flex-start}
}
@media(max-width:640px){
  .spp-root--admin .spp-settings-primary-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .spp-root--admin .spp-settings-primary-tabs .spp-settings-primary-tabs__advanced{margin-left:0;grid-column:1/-1}
  .spp-root--admin .spp-settings-secondary-tabs{display:grid;grid-template-columns:1fr;width:100%}
  .spp-root--admin .spp-settings-secondary-tabs a{justify-content:flex-start}
  .spp-root--admin .spp-setting-row{grid-template-columns:1fr;gap:8px;min-height:0}
  .spp-root--admin .spp-setting-row__action{grid-column:1;grid-row:auto;width:100%}
  .spp-root--admin .spp-setting-row__value{grid-column:1;grid-row:auto}
}
\n\n/* Smart Pro Portal 3.6.150 — Settings drawer scroll ownership hotfix */\nhtml.spp-drawer-open,body.spp-drawer-open{overflow:hidden!important;overscroll-behavior:none!important}\n.spp-root--admin .spp-settings-editor .spp-drawer-panel{\n  display:flex!important;flex-direction:column!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;overscroll-behavior:contain!important\n}\n.spp-root--admin .spp-settings-editor .spp-drawer-head{flex:0 0 auto!important}\n.spp-root--admin .spp-settings-editor .spp-drawer-body{\n  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-gutter:stable\n}\n

/* Smart Pro Portal 3.6.151 — Settings long-list drawer scroll hardening */
.spp-root--admin .spp-settings-editor .spp-drawer-panel{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
}
.spp-root--admin .spp-settings-editor .spp-drawer-head{
  grid-row:1!important;
  position:relative!important;
  top:auto!important;
}
.spp-root--admin .spp-settings-editor .spp-drawer-body{
  grid-row:2!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
  padding-bottom:96px!important;
}
.spp-root--admin .spp-settings-editor--wide .spp-entitlement-matrix-wrap{
  max-height:none!important;
}

/* =========================================================
   Smart Pro Portal 3.6.157 — Customer Subscription Compact Detail Workspace v1
   Presentation only: no subscription / wallet / commerce semantics.
   ========================================================= */

.spp-root--customer .spp-customer-subscription-body{
  gap:10px;
  padding:12px;
}

.spp-root--customer .spp-customer-subscription-state-banner{
  padding:10px 14px;
  border-radius:12px;
  font-size:12px;
  line-height:1.45;
}

.spp-root--customer .spp-customer-subscription-overview-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:10px;
  align-items:stretch;
}

.spp-root--customer .spp-customer-subscription-overview-grid>.spp-customer-subscription-subsection{
  min-width:0;
  height:100%;
}

.spp-root--customer .spp-customer-subscription-summary-card,
.spp-root--customer .spp-customer-wallet-summary-card{
  padding:14px 15px;
  gap:12px;
  background:color-mix(in srgb,var(--spp-panel-2) 84%,transparent);
}

.spp-root--customer .spp-customer-subscription-compact-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 18px;
  border-top:1px solid var(--spp-line);
  border-bottom:1px solid var(--spp-line);
}
.spp-root--customer .spp-customer-subscription-compact-facts>div{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(92px,.8fr) minmax(0,1.2fr);
  align-items:baseline;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid color-mix(in srgb,var(--spp-line) 64%,transparent);
}
.spp-root--customer .spp-customer-subscription-compact-facts>div:nth-last-child(-n+2){border-bottom:0;}
.spp-root--customer .spp-customer-subscription-compact-facts>div.is-wide{
  grid-column:1/-1;
}
.spp-root--customer .spp-customer-subscription-compact-facts>div.is-wide+div{
  border-top:0;
}
.spp-root--customer .spp-customer-subscription-compact-facts span,
.spp-root--customer .spp-customer-subscription-secondary-lines span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.045em;
  line-height:1.25;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-subscription-compact-facts strong,
.spp-root--customer .spp-customer-subscription-secondary-lines strong{
  min-width:0;
  color:var(--spp-text);
  font-size:12px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-subscription-compact-facts .is-wide strong{
  font-size:13px;
}

.spp-root--customer .spp-customer-subscription-secondary-lines{
  display:grid;
  gap:6px;
  padding-top:1px;
}
.spp-root--customer .spp-customer-subscription-secondary-lines>div{
  display:grid;
  grid-template-columns:minmax(150px,.9fr) minmax(0,1.1fr);
  align-items:baseline;
  gap:12px;
  padding:0 1px;
}
.spp-root--customer .spp-customer-subscription-secondary-lines strong{
  color:color-mix(in srgb,var(--spp-text) 84%,var(--spp-muted));
  font-size:11px;
  font-weight:750;
}

.spp-root--customer .spp-customer-wallet-facts--compact{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.spp-root--customer .spp-customer-wallet-facts--compact>div{
  min-height:58px;
  padding:9px 11px;
  border-radius:10px;
}
.spp-root--customer .spp-customer-wallet-facts--compact strong{
  font-size:14px;
}
.spp-root--customer .spp-customer-wallet-summary-card .spp-customer-wallet-period{
  margin-top:auto;
  padding:8px 1px 0;
}

.spp-root--customer .spp-customer-subscription-actions{
  padding:12px 14px;
  gap:8px;
}
.spp-root--customer .spp-customer-subscription-actions>.spp-customer-subscription-subsection__head{
  padding-bottom:3px;
}
.spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 14px;
  align-items:center;
  padding:10px 12px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:color-mix(in srgb,var(--spp-field) 72%,transparent);
}
.spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline>p{
  max-width:none;
}
.spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline>p.spp-sub{
  grid-column:1;
  margin-top:-2px;
  font-size:10px;
}
.spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline>form,
.spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline>a.spp-btn{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
}
.spp-root--customer .spp-customer-subscription-inline-notice{
  margin:0;
  padding:9px 11px;
  min-height:auto;
  font-size:11px;
}

.spp-root--customer .spp-customer-cancellation-control--compact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 12px;
  border:0;
  border-top:1px solid var(--spp-line);
  border-radius:0;
  background:transparent;
}
.spp-root--customer .spp-customer-cancellation-control--compact .spp-customer-cancellation-compact-copy{
  display:grid;
  gap:2px;
  min-width:0;
}
.spp-root--customer .spp-customer-cancellation-control--compact .spp-customer-cancellation-compact-copy strong{
  color:var(--spp-text);
  font-size:11px;
  line-height:1.35;
}
.spp-root--customer .spp-customer-cancellation-control--compact .spp-customer-cancellation-compact-copy span{
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.4;
}
.spp-root--customer .spp-customer-cancellation-control--compact>form{
  flex:0 0 auto;
}
.spp-root--customer .spp-btn--danger-text{
  border-color:color-mix(in srgb,#fb7185 30%,var(--spp-line));
  color:#e85d72;
  background:color-mix(in srgb,#fb7185 5%,transparent);
}
.spp-root--customer .spp-btn--danger-text:hover,
.spp-root--customer .spp-btn--danger-text:focus-visible{
  border-color:color-mix(in srgb,#fb7185 58%,var(--spp-line));
  color:#d9465f;
  background:color-mix(in srgb,#fb7185 9%,transparent);
}
.spp-root--customer .spp-customer-cancellation-control--compact .spp-customer-cancellation-note{
  margin-top:12px;
}

@media(max-width:940px){
  .spp-root--customer .spp-customer-subscription-overview-grid{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-subscription-summary-card,
  .spp-root--customer .spp-customer-wallet-summary-card{height:auto;}
}
@media(max-width:700px){
  .spp-root--customer .spp-customer-subscription-compact-facts{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-subscription-compact-facts>div,
  .spp-root--customer .spp-customer-subscription-compact-facts>div.is-wide{grid-column:auto;}
  .spp-root--customer .spp-customer-subscription-compact-facts>div:nth-last-child(-n+2){border-bottom:1px solid color-mix(in srgb,var(--spp-line) 64%,transparent);}
  .spp-root--customer .spp-customer-subscription-compact-facts>div:last-child{border-bottom:0;}
  .spp-root--customer .spp-customer-subscription-secondary-lines>div{grid-template-columns:1fr;gap:2px;}
  .spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline>form,
  .spp-root--customer .spp-customer-subscription-actions .spp-customer-subscription-actionline>a.spp-btn{grid-column:1;grid-row:auto;justify-self:start;}
  .spp-root--customer .spp-customer-cancellation-control--compact{align-items:flex-start;flex-direction:column;}
}
@media(max-width:470px){
  .spp-root--customer .spp-customer-wallet-facts--compact{grid-template-columns:1fr 1fr;}
  .spp-root--customer .spp-customer-subscription-compact-facts>div{grid-template-columns:1fr;gap:2px;}
}
.spp-root--customer .spp-customer-cancellation-control--compact{overflow:visible;}

/* =========================================================
   Smart Pro Portal 3.6.158 — Customer Orders Compact Accordion & Documents v1
   Customer-facing presentation/read-only document integration only.
   ========================================================= */
.spp-root--customer .spp-customer-orders-accordion{
  display:grid;
  gap:9px;
}
.spp-root--customer .spp-customer-order-row{
  overflow:hidden;
  border:1px solid var(--spp-line);
  border-left:3px solid color-mix(in srgb,var(--spp-cyan) 34%,var(--spp-line));
  border-radius:14px;
  background:color-mix(in srgb,var(--spp-panel-2) 80%,transparent);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.spp-root--customer .spp-customer-order-row:hover,
.spp-root--customer .spp-customer-order-row:focus-within{
  border-left-color:var(--spp-cyan);
  box-shadow:inset 7px 0 14px -12px color-mix(in srgb,var(--spp-cyan) 88%,transparent);
}
.spp-root--customer .spp-customer-order-row>summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:minmax(150px,.78fr) minmax(240px,1.45fr) minmax(120px,.72fr) minmax(120px,.72fr) minmax(100px,.58fr) 24px;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:11px 14px;
  color:var(--spp-text);
}
.spp-root--customer .spp-customer-order-row>summary::-webkit-details-marker{display:none;}
.spp-root--customer .spp-customer-order-row>summary>div{min-width:0;}
.spp-root--customer .spp-customer-order-row>summary strong{
  display:block;
  min-width:0;
  color:var(--spp-text);
  font-size:12px;
  line-height:1.32;
  overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-order-row>summary .spp-order-label{
  margin-bottom:4px;
  font-size:8.5px;
  letter-spacing:.055em;
}
.spp-root--customer .spp-customer-order-summary-main small{
  display:block;
  margin-top:3px;
  color:var(--spp-muted);
  font-size:9.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-order-row>summary .spp-status-badge{
  width:max-content;
  max-width:100%;
  padding:5px 9px;
  font-size:9.5px;
  line-height:1.2;
}
.spp-root--customer .spp-customer-order-row>summary .spp-customer-row-chevron{
  justify-self:end;
  transition:transform .18s ease;
}
.spp-root--customer .spp-customer-order-row[open]>summary{
  border-bottom:1px solid var(--spp-line);
  background:color-mix(in srgb,var(--spp-field) 42%,transparent);
}
.spp-root--customer .spp-customer-order-row[open]>summary .spp-customer-row-chevron{transform:rotate(180deg);}
.spp-root--customer .spp-customer-order-body{
  display:grid;
  gap:9px;
  padding:10px;
}
.spp-root--customer .spp-customer-order-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:10px;
  align-items:stretch;
}
.spp-root--customer .spp-customer-order-detail-card{
  min-width:0;
  height:100%;
  padding:13px 14px;
  gap:10px;
  background:color-mix(in srgb,var(--spp-panel-2) 84%,transparent);
}
.spp-root--customer .spp-customer-order-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 16px;
  border-top:1px solid var(--spp-line);
  border-bottom:1px solid var(--spp-line);
}
.spp-root--customer .spp-customer-order-facts>div{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(88px,.8fr) minmax(0,1.2fr);
  align-items:baseline;
  gap:9px;
  padding:8px 0;
  border-bottom:1px solid color-mix(in srgb,var(--spp-line) 64%,transparent);
}
.spp-root--customer .spp-customer-order-facts>div:nth-last-child(-n+2){border-bottom:0;}
.spp-root--customer .spp-customer-order-facts>div.is-wide{grid-column:1/-1;}
.spp-root--customer .spp-customer-order-facts span{
  color:var(--spp-muted);
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.045em;
  line-height:1.25;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-order-facts strong{
  min-width:0;
  color:var(--spp-text);
  font-size:11px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-order-products{
  display:grid;
  gap:5px;
}
.spp-root--customer .spp-customer-order-products>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:7px 9px;
  border:1px solid color-mix(in srgb,var(--spp-line) 72%,transparent);
  border-radius:9px;
  background:color-mix(in srgb,var(--spp-field) 58%,transparent);
}
.spp-root--customer .spp-customer-order-products>div>span{
  display:grid;
  gap:2px;
  min-width:0;
}
.spp-root--customer .spp-customer-order-products strong{
  color:var(--spp-text);
  font-size:10.5px;
  line-height:1.35;
}
.spp-root--customer .spp-customer-order-products small{
  color:var(--spp-muted);
  font-size:9px;
}
.spp-root--customer .spp-customer-order-document-action{
  display:flex;
  align-items:center;
  gap:11px;
  padding-top:1px;
}
.spp-root--customer .spp-customer-order-document-action small,
.spp-root--customer .spp-customer-order-document-unavailable{
  color:var(--spp-muted);
  font-size:9.5px;
  line-height:1.4;
}
.spp-root--customer .spp-customer-order-context-note{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:8px 13px;
  align-items:start;
  padding:9px 11px;
  border:1px solid color-mix(in srgb,var(--spp-cyan) 18%,var(--spp-line));
  border-radius:10px;
  background:color-mix(in srgb,var(--spp-cyan) 4%,var(--spp-field));
}
.spp-root--customer .spp-customer-order-context-note strong{
  color:var(--spp-text);
  font-size:10px;
}
.spp-root--customer .spp-customer-order-context-note span{
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.45;
}
@media(max-width:1050px){
  .spp-root--customer .spp-customer-order-row>summary{
    grid-template-columns:minmax(150px,.9fr) minmax(220px,1.4fr) minmax(110px,.75fr) minmax(100px,.68fr) 24px;
  }
  .spp-root--customer .spp-customer-order-row>summary>div:nth-of-type(3){display:none;}
}
@media(max-width:820px){
  .spp-root--customer .spp-customer-order-detail-grid{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-order-row>summary{
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) auto 22px;
  }
  .spp-root--customer .spp-customer-order-row>summary>div:nth-of-type(2){display:none;}
}
@media(max-width:620px){
  .spp-root--customer .spp-customer-order-row>summary{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px 10px;
    padding:10px 12px;
  }
  .spp-root--customer .spp-customer-order-row>summary>div{grid-column:1;}
  .spp-root--customer .spp-customer-order-row>summary>div:nth-of-type(2),
  .spp-root--customer .spp-customer-order-row>summary>div:nth-of-type(3){display:none;}
  .spp-root--customer .spp-customer-order-row>summary .spp-customer-row-chevron{grid-column:2;grid-row:1 / span 3;}
  .spp-root--customer .spp-customer-order-facts{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-order-facts>div,
  .spp-root--customer .spp-customer-order-facts>div.is-wide{grid-column:auto;}
  .spp-root--customer .spp-customer-order-facts>div:nth-last-child(-n+2){border-bottom:1px solid color-mix(in srgb,var(--spp-line) 64%,transparent);}
  .spp-root--customer .spp-customer-order-facts>div:last-child{border-bottom:0;}
  .spp-root--customer .spp-customer-order-document-action,
  .spp-root--customer .spp-customer-order-products>div{align-items:flex-start;flex-direction:column;}
  .spp-root--customer .spp-customer-order-context-note{grid-template-columns:1fr;}
}

/* =========================================================
   Smart Pro Portal 3.6.159 — Customer Commerce Workspace Shell & Light Modal Polish v1
   Presentation-only shell/modal/preset/value-emphasis layer.
   ========================================================= */
.spp-root--customer .spp-customer-commerce-workspace{
  display:grid;
  gap:18px;
  padding:24px;
  border:1px solid color-mix(in srgb,var(--spp-line) 94%,transparent);
  border-radius:28px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--spp-panel) 94%,transparent),color-mix(in srgb,var(--spp-panel-2) 88%,transparent));
  box-shadow:0 22px 64px rgba(0,0,0,.12);
}
.spp-root--customer .spp-customer-commerce-workspace>.spp-page-head,
.spp-root--customer .spp-customer-commerce-workspace>.spp-customer-subscription-kpis,
.spp-root--customer .spp-customer-commerce-workspace>.spp-subscription-workspace-tabs,
.spp-root--customer .spp-customer-commerce-workspace>.spp-customer-list-panel{
  margin-top:0;
  margin-bottom:0;
}
.spp-root--customer .spp-customer-commerce-workspace__head{
  padding:3px 4px 1px;
}
.spp-root--customer .spp-customer-commerce-workspace__head h1{
  margin-bottom:7px;
}
.spp-root--customer .spp-customer-commerce-workspace>.spp-customer-list-panel{
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-commerce-workspace{
  border-color:rgba(34,65,91,.13);
  background:linear-gradient(155deg,#f8fbfe,#f2f7fb);
  box-shadow:0 22px 58px rgba(37,63,86,.11);
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-commerce-workspace>.spp-customer-list-panel{
  background:linear-gradient(145deg,#ffffff,#f9fbfd)!important;
  border-color:rgba(34,65,91,.13)!important;
  box-shadow:0 9px 24px rgba(37,63,86,.08)!important;
}

/* Compact subscription values: labels remain quiet; values gain restrained semantic emphasis. */
.spp-root--customer .spp-customer-subscription-compact-facts .is-plan strong,
.spp-root--customer .spp-customer-subscription-compact-facts .is-cycle strong{
  color:color-mix(in srgb,var(--spp-cyan) 76%,var(--spp-text));
}
.spp-root--customer .spp-customer-subscription-compact-facts .is-end strong{
  color:color-mix(in srgb,var(--spp-cyan) 52%,var(--spp-text));
}
.spp-root--customer .spp-customer-subscription-compact-facts .is-grace strong{
  color:color-mix(in srgb,var(--spp-warn) 70%,var(--spp-text));
}
.spp-root--customer .spp-customer-subscription-compact-facts .is-renewal strong{
  color:color-mix(in srgb,var(--spp-purple) 66%,var(--spp-text));
}
.spp-root--customer .spp-customer-subscription-secondary-lines .is-renewal-price strong{
  color:color-mix(in srgb,var(--spp-cyan) 64%,var(--spp-text));
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-compact-facts .is-plan strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-compact-facts .is-cycle strong{
  color:#087e9e!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-compact-facts .is-end strong{
  color:#245f82!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-compact-facts .is-grace strong{
  color:#986100!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-compact-facts .is-renewal strong{
  color:#5a50aa!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-secondary-lines .is-renewal-price strong{
  color:#087e9e!important;
}

/* Customer cancellation confirmation: neutralize the semantic button backdrop completely. */
.spp-root--customer .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop,
.spp-root--customer .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop:focus-visible,
.spp-root--customer .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop,
.spp-root--customer .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop:focus-visible{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
  transform:none!important;
  opacity:1!important;
  color:transparent!important;
  background:rgba(2,8,18,.72)!important;
  backdrop-filter:blur(4px)!important;
  cursor:pointer!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-backdrop:focus-visible,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-backdrop:focus-visible{
  background:rgba(24,45,66,.28)!important;
  backdrop-filter:blur(3px)!important;
}

/* Light-mode customer cancellation modal follows the page theme rather than the global dark modal default. */
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-dialog,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-dialog{
  color:#102033!important;
  background:#ffffff!important;
  border-color:rgba(34,65,91,.17)!important;
  box-shadow:0 30px 90px rgba(37,63,86,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-head,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-head{
  background:#f6f9fc!important;
  border-color:rgba(34,65,91,.13)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-head h2,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-head h2{
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-body,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-body{
  background:#ffffff!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-body>p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-body>p{
  color:#52687d!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-x,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-x{
  color:#5b7085!important;
  background:#eef4f8!important;
  border-color:rgba(34,65,91,.15)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-actions,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-revoke-modal .spp-followup-modal-actions{
  border-color:rgba(34,65,91,.13)!important;
  background:#fbfcfe!important;
}

/* Optional one-click cancellation reasons; they populate the existing free-text note only. */
.spp-root--customer .spp-customer-cancellation-presets{
  display:grid;
  gap:7px;
  margin:0 0 12px;
}
.spp-root--customer .spp-customer-cancellation-presets>span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-cancellation-presets>span small{
  font-weight:650;
  letter-spacing:0;
  text-transform:none;
}
.spp-root--customer .spp-customer-cancellation-presets>div{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.spp-root--customer .spp-customer-cancellation-presets button{
  min-height:32px;
  padding:6px 9px;
  border:1px solid var(--spp-line)!important;
  border-radius:999px;
  color:var(--spp-muted)!important;
  background:var(--spp-field)!important;
  font-size:9.5px;
  font-weight:760;
  line-height:1.25;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
.spp-root--customer .spp-customer-cancellation-presets button:hover,
.spp-root--customer .spp-customer-cancellation-presets button:focus-visible,
.spp-root--customer .spp-customer-cancellation-presets button.is-selected{
  border-color:color-mix(in srgb,var(--spp-cyan) 46%,var(--spp-line))!important;
  color:var(--spp-text)!important;
  background:color-mix(in srgb,var(--spp-cyan) 8%,var(--spp-field))!important;
  outline:none;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-note input{
  background:#ffffff!important;
  color:#102033!important;
  border-color:rgba(34,65,91,.18)!important;
}

@media(max-width:760px){
  .spp-root--customer .spp-customer-commerce-workspace{padding:16px;border-radius:22px;gap:15px;}
}
@media(max-width:520px){
  .spp-root--customer .spp-customer-commerce-workspace{padding:12px;border-radius:18px;}
  .spp-root--customer .spp-customer-cancellation-presets>div{display:grid;grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-cancellation-presets button{width:100%;border-radius:10px;text-align:left;}
}

/* =========================================================
   Smart Pro Portal 3.6.160 — Customer Installations Workspace & Guided Onboarding v1
   ========================================================= */
.spp-root--customer .spp-customer-installations-workspace{
  display:grid;
  gap:18px;
  padding:24px;
  border:1px solid color-mix(in srgb,var(--spp-line) 94%,transparent);
  border-radius:28px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--spp-panel) 94%,transparent),color-mix(in srgb,var(--spp-panel-2) 88%,transparent));
  box-shadow:0 22px 64px rgba(0,0,0,.12);
}
.spp-root--customer .spp-customer-installations-workspace>.spp-page-head,
.spp-root--customer .spp-customer-installations-workspace>.spp-customer-installation-kpis,
.spp-root--customer .spp-customer-installations-workspace>.spp-notice{
  margin-top:0;
  margin-bottom:0;
}
.spp-root--customer .spp-customer-installations-workspace__head{padding:3px 4px 1px;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installations-workspace{
  border-color:rgba(34,65,91,.13);
  background:linear-gradient(155deg,#f8fbfe,#f2f7fb);
  box-shadow:0 22px 58px rgba(37,63,86,.11);
}

.spp-root--customer .spp-customer-installation-panel{display:grid;gap:14px;}
.spp-root--customer .spp-customer-installation-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:14px;
}
.spp-root--customer .spp-customer-installation-info-card{
  min-width:0;
  padding:15px;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:color-mix(in srgb,var(--spp-panel-2) 94%,transparent);
}
.spp-root--customer .spp-customer-installation-info-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:11px;
  margin-bottom:2px;
  border-bottom:1px solid var(--spp-line);
}
.spp-root--customer .spp-customer-installation-info-card__head h3{
  margin:0 0 3px;
  color:var(--spp-text);
  font-size:15px;
  line-height:1.25;
}
.spp-root--customer .spp-customer-installation-info-card__head p{
  margin:0;
  color:var(--spp-muted);
  font-size:9.5px;
  line-height:1.35;
}
.spp-root--customer .spp-customer-installation-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:14px;
}
.spp-root--customer .spp-customer-installation-facts>div{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(88px,.72fr) minmax(0,1.28fr);
  gap:9px;
  align-items:center;
  min-height:47px;
  border-bottom:1px solid var(--spp-line);
}
.spp-root--customer .spp-customer-installation-facts>div:nth-last-child(-n+2){border-bottom:0;}
.spp-root--customer .spp-customer-installation-facts span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  letter-spacing:.04em;
  line-height:1.3;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-installation-facts strong{
  min-width:0;
  color:var(--spp-text);
  font-size:11.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-installation-facts .is-plan strong{
  color:color-mix(in srgb,var(--spp-cyan) 72%,var(--spp-text));
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-info-card{
  border-color:rgba(34,65,91,.14);
  background:#f7fafc;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts>div,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-info-card__head{border-color:rgba(34,65,91,.12);}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-plan strong{color:#087e9e;}

.spp-root--customer .spp-installation-actions{
  display:grid;
  gap:9px;
  margin-top:0;
}
.spp-root--customer .spp-customer-installation-primary-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
}
.spp-root--customer .spp-customer-pairing-utility{
  width:100%;
  border-top:1px solid var(--spp-line);
  padding-top:9px;
}
.spp-root--customer .spp-customer-pairing-utility>summary{
  width:max-content;
  list-style:none;
  cursor:pointer;
  color:var(--spp-muted);
  font-size:10.5px;
  font-weight:800;
}
.spp-root--customer .spp-customer-pairing-utility>summary::-webkit-details-marker{display:none;}
.spp-root--customer .spp-customer-pairing-utility>summary::after{content:'  ›';color:var(--spp-cyan);}
.spp-root--customer .spp-customer-pairing-utility[open]>summary::after{content:'  ⌄';}
.spp-root--customer .spp-customer-pairing-utility.is-relevant>summary{
  color:color-mix(in srgb,var(--spp-warn) 72%,var(--spp-text));
}
.spp-root--customer .spp-customer-pairing-utility>div{
  display:grid;
  gap:10px;
  margin-top:9px;
  padding:12px 13px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:color-mix(in srgb,var(--spp-panel-2) 90%,transparent);
}
.spp-root--customer .spp-customer-pairing-utility p{margin:0;color:var(--spp-muted);font-size:10.5px;line-height:1.45;}
.spp-root--customer .spp-customer-pairing-utility form{margin:0;}

.spp-root--customer .spp-assisted-onboarding-box{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:14px;
  align-items:center;
  padding:14px 15px;
  border:1px solid color-mix(in srgb,var(--spp-cyan) 32%,var(--spp-line));
  border-radius:16px;
  background:color-mix(in srgb,var(--spp-cyan) 7%,var(--spp-panel-2));
}
.spp-root--customer .spp-assisted-onboarding-box h3{margin:3px 0 5px;font-size:14px;line-height:1.3;}
.spp-root--customer .spp-assisted-onboarding-box p{margin:0;color:var(--spp-muted);font-size:10px;line-height:1.45;}
.spp-root--customer .spp-assisted-onboarding-actions{display:grid;gap:7px;justify-items:start;}
.spp-root--customer .spp-assisted-onboarding-actions span{color:var(--spp-muted);font-size:9px;line-height:1.4;}

/* Customer new-installation modal: choose the activation path before the actual form action. */
.spp-root--customer .spp-customer-installation-create-modal .spp-drawer-panel{
  width:min(760px,calc(100vw - 30px));
  max-height:min(88vh,820px);
  overflow:auto;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-create-modal .spp-drawer-backdrop,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-create-modal .spp-drawer-backdrop:hover,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-create-modal .spp-drawer-backdrop:focus{
  background:rgba(24,45,66,.28)!important;
  backdrop-filter:blur(3px)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-create-modal .spp-drawer-panel{
  color:#102033!important;
  background:#ffffff!important;
  border-color:rgba(34,65,91,.17)!important;
  box-shadow:0 30px 90px rgba(37,63,86,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-create-modal .spp-drawer-head{
  background:#f6f9fc!important;
  border-color:rgba(34,65,91,.13)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-create-modal .spp-drawer-head h2{color:#102033!important;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-create-modal .spp-drawer-head p{color:#63788d!important;}
.spp-root--customer .spp-customer-installation-onboarding{display:grid;gap:15px;}
.spp-root--customer .spp-customer-first-connection{display:grid;gap:12px;margin:0;padding:0;list-style:none;}
.spp-root--customer .spp-customer-first-connection li{display:grid;gap:6px;padding:12px;border:1px solid var(--spp-line);border-radius:14px;}
.spp-root--customer .spp-customer-first-connection span{color:var(--spp-cyan);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.spp-root--customer .spp-customer-first-connection p,.spp-root--customer .spp-customer-ha-manual span{margin:0;color:var(--spp-text,#e7eef8);font-size:14px;line-height:1.5;}
.spp-root--customer .spp-customer-ha-kind,.spp-root--customer .spp-customer-ha-manual{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.spp-root--customer .spp-customer-ha-manual code{padding:6px 8px;border-radius:8px;background:var(--spp-field);font-size:11px;word-break:break-all;}
.spp-root--customer .spp-customer-ha-kind .is-active{box-shadow:inset 0 0 0 1px var(--spp-cyan);}
.spp-root--customer .spp-customer-installation-onboarding__intro{display:grid;gap:4px;}
.spp-root--customer .spp-customer-installation-onboarding__intro>span{
  color:var(--spp-cyan);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.spp-root--customer .spp-customer-installation-onboarding__intro>strong{font-size:15px;line-height:1.3;}
.spp-root--customer .spp-customer-installation-onboarding__intro>p{margin:0;color:var(--spp-muted);font-size:10px;line-height:1.45;}
.spp-root--customer .spp-customer-installation-onboarding__intro--compact{margin-top:2px;}
.spp-root--customer .spp-onboarding-route-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.spp-root--customer .spp-customer-installation-route-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.spp-root--customer .spp-customer-installation-route-card{
  position:relative;
  display:grid;
  gap:6px;
  min-height:145px;
  padding:14px;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:color-mix(in srgb,var(--spp-panel-2) 92%,transparent);
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease;
}
.spp-root--customer .spp-customer-installation-route-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--spp-cyan) 42%,var(--spp-line));}
.spp-root--customer .spp-customer-installation-route-card strong{font-size:13px;line-height:1.3;}
.spp-root--customer .spp-customer-installation-route-card p{margin:0;color:var(--spp-muted);font-size:10px;line-height:1.45;}
.spp-root--customer .spp-customer-installation-route-card em{margin-top:auto;color:var(--spp-muted);font-size:9px;font-style:normal;font-weight:750;}
.spp-root--customer .spp-customer-installation-route-icon{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border:1px solid var(--spp-line);
  border-radius:9px;
  color:var(--spp-cyan);
  background:var(--spp-field);
  font-weight:900;
}
.spp-root--customer #spp-installation-route-self:checked ~ .spp-customer-installation-route-cards .spp-customer-installation-route-card--self,
.spp-root--customer #spp-installation-route-assisted:checked ~ .spp-customer-installation-route-cards .spp-customer-installation-route-card--assisted{
  border-color:color-mix(in srgb,var(--spp-cyan) 66%,var(--spp-line));
  background:color-mix(in srgb,var(--spp-cyan) 8%,var(--spp-panel-2));
  box-shadow:0 0 0 2px color-mix(in srgb,var(--spp-cyan) 13%,transparent);
}
.spp-root--customer .spp-customer-installation-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.spp-root--customer .spp-customer-installation-common-fields label{display:grid;gap:6px;}
.spp-root--customer .spp-customer-installation-common-fields label>span{font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:var(--spp-muted);}
.spp-root--customer .spp-customer-installation-common-fields input{width:100%;}
.spp-root--customer .spp-customer-installation-onboarding .spp-customer-installation-route-panel--self{display:grid;}
.spp-root--customer .spp-customer-installation-route-panel{
  display:none;
  gap:12px;
  padding:14px;
  border:1px solid var(--spp-line);
  border-radius:16px;
  background:color-mix(in srgb,var(--spp-panel-2) 90%,transparent);
}
.spp-root--customer #spp-installation-route-self:checked ~ .spp-customer-installation-common-fields ~ .spp-customer-installation-route-panel--self{display:grid;}
.spp-root--customer #spp-installation-route-assisted:checked ~ .spp-customer-installation-common-fields ~ .spp-customer-installation-route-panel--assisted{display:grid;}
.spp-root--customer .spp-customer-installation-route-panel__copy h3{margin:3px 0 5px;font-size:14px;line-height:1.3;}
.spp-root--customer .spp-customer-installation-route-panel__copy p{margin:0;color:var(--spp-muted);font-size:10px;line-height:1.45;}
.spp-root--customer .spp-customer-installation-resources{display:grid;gap:7px;}
.spp-root--customer .spp-customer-installation-resources>span{font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:var(--spp-muted);}
.spp-root--customer .spp-customer-installation-resources>div{display:flex;flex-wrap:wrap;gap:7px;}
.spp-root--customer .spp-customer-installation-resources button{
  min-height:31px;
  padding:6px 9px;
  border:1px dashed var(--spp-line);
  border-radius:999px;
  color:var(--spp-muted);
  background:transparent;
  font-size:9px;
  font-weight:750;
  opacity:.76;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-route-card,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-route-panel{
  border-color:rgba(34,65,91,.14);
  background:#f7fafc;
}
.spp-root--customer[data-spp-theme="light"] #spp-installation-route-self:checked ~ .spp-customer-installation-route-cards .spp-customer-installation-route-card--self,
.spp-root--customer[data-spp-theme="light"] #spp-installation-route-assisted:checked ~ .spp-customer-installation-route-cards .spp-customer-installation-route-card--assisted{
  border-color:rgba(8,126,158,.42);
  background:#eef9fc;
  box-shadow:0 0 0 2px rgba(8,126,158,.08);
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-common-fields input{
  color:#102033!important;
  background:#ffffff!important;
  border-color:rgba(34,65,91,.18)!important;
}

@media(max-width:900px){
  .spp-root--customer .spp-customer-installation-detail-grid{grid-template-columns:1fr;}
  .spp-root--customer .spp-assisted-onboarding-box{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .spp-root--customer .spp-customer-installations-workspace{padding:16px;border-radius:22px;gap:15px;}
  .spp-root--customer .spp-customer-installation-route-cards,
  .spp-root--customer .spp-customer-installation-field-grid{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-installation-route-card{min-height:0;}
  .spp-root--customer .spp-customer-installation-facts{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-installation-facts>div,
  .spp-root--customer .spp-customer-installation-facts>div:nth-last-child(-n+2){border-bottom:1px solid var(--spp-line);}
  .spp-root--customer .spp-customer-installation-facts>div:last-child{border-bottom:0;}
}
@media(max-width:520px){
  .spp-root--customer .spp-customer-installations-workspace{padding:12px;border-radius:18px;}
  .spp-root--customer .spp-customer-installation-primary-actions{display:grid;grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-installation-primary-actions .spp-btn{width:100%;justify-content:center;}
  .spp-root--customer .spp-customer-installation-facts>div{grid-template-columns:1fr;gap:4px;padding:8px 0;}
  .spp-root--customer .spp-customer-installation-resources>div{display:grid;grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-installation-resources button{width:100%;border-radius:10px;text-align:left;}
}


/* =========================================================
   Smart Pro Portal 3.6.161 — Customer Dashboard Multi-Installation IA & Visual Polish v1
   ========================================================= */

/* Dashboard remains intentionally freer than the task workspaces. */
.spp-root--customer[data-spp-view="dashboard"] .spp-main{padding-top:16px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome{margin:0 0 16px;padding:16px 16px 14px;border:1px solid var(--spp-line);border-radius:18px;background:var(--spp-panel);box-shadow:var(--spp-shadow)}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__copy{margin:0 0 12px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__copy h1{margin:0;font-size:26px;line-height:1.15}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__copy p{margin:6px 0 0;max-width:68ch;color:var(--spp-muted);font-size:14px;line-height:1.45}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-card{min-height:0;padding:8px 10px;border-radius:14px;background:color-mix(in srgb,var(--spp-field) 78%,var(--spp-panel));box-shadow:none;gap:8px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-content small,
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-content strong,
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-content em{white-space:normal;overflow:visible;text-overflow:unset}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-content small{font-size:12px;letter-spacing:.02em}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-content strong{font-size:16px;line-height:1.25}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-content em{font-size:13px;line-height:1.35}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome .spp-kpi-card--danger{border-color:color-mix(in srgb,var(--spp-danger) 46%,var(--spp-line));background:color-mix(in srgb,var(--spp-danger) 12%,var(--spp-panel))}
@media(max-width:1080px){
  .spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__kpis{grid-template-columns:minmax(0,1fr)}
  .spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__copy h1{font-size:22px}
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-hero{
  margin-bottom:20px;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-workspace{
  align-items:start;
}

/* Primary installation: add a compact view of the rest of the account fleet. */
.spp-root--customer .spp-dashboard-other-installations{
  display:grid;
  gap:9px;
  margin-top:17px;
  padding-top:15px;
  border-top:1px solid var(--spp-line);
}
.spp-root--customer .spp-dashboard-other-installations__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.spp-root--customer .spp-dashboard-other-installations__head>div{
  display:grid;
  gap:2px;
}
.spp-root--customer .spp-dashboard-other-installations__head strong{
  color:var(--spp-text);
  font-size:12px;
}
.spp-root--customer .spp-dashboard-other-installations__head small,
.spp-root--customer .spp-dashboard-other-installations__more{
  color:var(--spp-muted);
  font-size:9.5px;
  line-height:1.35;
}
.spp-root--customer .spp-dashboard-other-installations__head>a{
  color:var(--spp-cyan);
  font-size:10px;
  font-weight:800;
  text-decoration:none;
}
.spp-root--customer .spp-dashboard-other-installations__list{
  display:grid;
  gap:7px;
}
.spp-root--customer .spp-dashboard-other-installation{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  padding:10px 11px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:var(--spp-field);
  color:var(--spp-text);
  text-decoration:none;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.spp-root--customer .spp-dashboard-other-installation:hover{
  transform:translateY(-1px);
  border-color:var(--spp-line-strong);
  background:var(--spp-field-hover);
}
.spp-root--customer .spp-dashboard-other-installation>span:first-child{
  min-width:0;
  display:grid;
  gap:2px;
}
.spp-root--customer .spp-dashboard-other-installation strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer .spp-dashboard-other-installation small{
  overflow:hidden;
  color:var(--spp-muted);
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Right-side customer card now answers a real account-wide question: what expires next? */
.spp-root--customer .spp-customer-next-expiry-card{
  padding:20px;
}
.spp-root--customer .spp-customer-next-expiry-card__date{
  margin:8px 0 12px;
  color:color-mix(in srgb,var(--spp-cyan) 68%,var(--spp-text));
  font-size:29px;
  font-weight:950;
  line-height:1;
  letter-spacing:-.035em;
}
.spp-root--customer .spp-customer-next-expiry-card__context{
  display:grid;
  gap:3px;
  margin-bottom:16px;
  padding:12px 13px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:var(--spp-field);
}
.spp-root--customer .spp-customer-next-expiry-card__context strong{
  color:var(--spp-text);
  font-size:11.5px;
}
.spp-root--customer .spp-customer-next-expiry-card__context span,
.spp-root--customer .spp-customer-next-expiry-card>p{
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.45;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-next-expiry-card__date{
  color:#087e9e;
}

/* Installation compact cards: quiet labels, clearer values. */
.spp-root--customer .spp-customer-installation-facts .is-id strong,
.spp-root--customer .spp-customer-installation-facts .is-tools strong{
  color:color-mix(in srgb,var(--spp-cyan) 72%,var(--spp-text));
}
.spp-root--customer .spp-customer-installation-facts .is-last-seen strong,
.spp-root--customer .spp-customer-installation-facts .is-expiry strong{
  color:color-mix(in srgb,var(--spp-cyan) 48%,var(--spp-text));
}
.spp-root--customer .spp-customer-installation-facts .is-expiry.is-grace strong{
  color:color-mix(in srgb,var(--spp-warn) 72%,var(--spp-text));
}
.spp-root--customer .spp-customer-installation-facts .is-support.is-clear strong,
.spp-root--customer .spp-customer-installation-facts .is-requests.is-clear strong{
  color:color-mix(in srgb,var(--spp-ok) 68%,var(--spp-text));
}
.spp-root--customer .spp-customer-installation-facts .is-support.has-open strong,
.spp-root--customer .spp-customer-installation-facts .is-requests.has-open strong{
  color:color-mix(in srgb,var(--spp-warn) 76%,var(--spp-text));
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-id strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-tools strong{
  color:#087e9e;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-last-seen strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-expiry strong{
  color:#245f82;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-expiry.is-grace strong{
  color:#986100;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-support.is-clear strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-requests.is-clear strong{
  color:#087956;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-support.has-open strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-facts .is-requests.has-open strong{
  color:#986100;
}

/* Guided onboarding notices: readable contrast in Light Mode. */
.spp-root--customer[data-spp-theme="light"] .spp-customer-installation-route-panel .spp-notice--info{
  color:#245f82!important;
  background:#e8f7fc!important;
  border-color:rgba(8,126,158,.22)!important;
}

/* Customer cancellation destructive CTA: enough contrast without looking alarming. */
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal [data-spp-customer-cancellation-schedule-confirm]{
  color:#8f1735!important;
  background:#ffe9ef!important;
  border-color:#e98aa2!important;
  box-shadow:none!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal [data-spp-customer-cancellation-schedule-confirm]:hover,
.spp-root--customer[data-spp-theme="light"] .spp-customer-cancellation-schedule-modal [data-spp-customer-cancellation-schedule-confirm]:focus-visible{
  color:#73112a!important;
  background:#ffdce5!important;
  border-color:#d96784!important;
}

/* Connected-installation pairing confirmation follows the current customer theme. */
.spp-root--customer .spp-customer-pairing-confirm-modal .spp-followup-modal-copybox{
  margin:0 0 14px;
}
.spp-root--customer .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop,
.spp-root--customer .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop:focus-visible{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
  transform:none!important;
  opacity:1!important;
  color:transparent!important;
  background:rgba(2,8,18,.72)!important;
  backdrop-filter:blur(4px)!important;
  cursor:pointer!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop,
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-backdrop:focus-visible{
  background:rgba(24,45,66,.28)!important;
  backdrop-filter:blur(3px)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-dialog{
  color:#102033!important;
  background:#ffffff!important;
  border-color:rgba(34,65,91,.17)!important;
  box-shadow:0 30px 90px rgba(37,63,86,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-head{
  background:#f6f9fc!important;
  border-color:rgba(34,65,91,.13)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-head h2{
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-body{
  background:#ffffff!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-body p{
  color:#52687d!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-followup-modal-actions{
  border-color:rgba(34,65,91,.13)!important;
  background:#fbfcfe!important;
}

@media(max-width:760px){
  .spp-root--customer .spp-dashboard-other-installations__head{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:520px){
  .spp-root--customer .spp-dashboard-other-installation{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* =========================================================
   Smart Pro Portal 3.6.162 — Customer Support Compact Mapping & Light Contrast Polish v1
   ========================================================= */

/* Requests: clearer labeled read-only context inside the in-page expansion. */
.spp-root--customer[data-spp-view="requests"] .spp-request-meta--customer{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px!important;
  margin-top:12px!important;
  padding-top:12px!important;
  border-top:1px solid var(--spp-line)!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-meta--customer>span{
  display:grid!important;
  gap:4px;
  min-width:0;
  padding:9px 10px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:var(--spp-field);
}
.spp-root--customer[data-spp-view="requests"] .spp-request-meta--customer small{
  color:var(--spp-muted);
  font-size:8px;
  font-weight:850;
  letter-spacing:.055em;
  line-height:1.25;
  text-transform:uppercase;
}
.spp-root--customer[data-spp-view="requests"] .spp-request-meta--customer strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:10px;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="requests"] .spp-request-meta--customer strong{
  color:#245f82;
}

/* Appointment rows: service/date/installation/duration/status at a glance. */
.spp-root--customer .spp-customer-appointment-row>summary{
  grid-template-columns:minmax(220px,1.18fr) minmax(180px,.9fr) minmax(175px,.82fr) minmax(90px,.42fr) auto auto;
}
.spp-root--customer .spp-customer-appointment-facts{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-meta strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-facts strong{
  color:#245f82;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-identity strong{
  color:#102033;
}

/* Booking CTA uses plain-language action wording; subscription mechanics stay helper copy. */
.spp-root--customer[data-spp-view="appointments"] .spp-appointment-empty .spp-btn{
  white-space:nowrap;
}

/* Connected Pairing confirmation: readable Light Mode info panel. */
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-notice--info{
  color:#245f82!important;
  background:#e8f7fc!important;
  border-color:rgba(8,126,158,.24)!important;
  box-shadow:none!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-notice--info strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-notice--info p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-confirm-modal .spp-notice--info span{
  color:#245f82!important;
}

@media(max-width:1040px){
  .spp-root--customer .spp-customer-appointment-row>summary{
    grid-template-columns:minmax(0,1fr) minmax(160px,.9fr) minmax(145px,.75fr) auto auto;
  }
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta--duration{display:none;}
}
@media(max-width:900px){
  .spp-root--customer[data-spp-view="requests"] .spp-request-meta--customer{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-appointment-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .spp-root--customer .spp-customer-appointment-facts{grid-template-columns:1fr;}
}
@media(max-width:900px){
  .spp-root--customer .spp-customer-appointment-row>summary{
    grid-template-columns:minmax(0,1fr) auto auto;
  }
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta{
    grid-column:1;
  }
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta:nth-of-type(3),
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta--duration{
    display:none;
  }
}
@media(max-width:620px){
  .spp-root--customer .spp-customer-appointment-row>summary{
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
  }
  .spp-root--customer .spp-customer-appointment-row>summary .spp-customer-appointment-meta{display:none;}
  .spp-root--customer .spp-customer-appointment-row>summary>.spp-status-badge{grid-column:1;justify-self:start;}
  .spp-root--customer .spp-customer-row-chevron{grid-column:2;grid-row:1 / span 2;}
}


/* =========================================================
   Smart Pro Portal 3.6.166 — Customer Dashboard Installation Switcher + Support Requests Workspace v1
   ========================================================= */

/* Dashboard: one summary surface, selectable installation context. */
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-primary{display:contents}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace{display:grid;gap:12px;grid-column:1 / -1;width:100%}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__head h2{margin:0;font-size:20px;line-height:1.2}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__head p{margin:4px 0 0;color:var(--spp-muted);font-size:13px;line-height:1.4}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__head>a{flex:0 0 auto;font-size:13px;font-weight:750}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab{flex:0 0 auto;max-width:180px;min-height:36px;padding:7px 12px;border:1px solid var(--spp-line);border-radius:999px;background:transparent;color:var(--spp-text);font:inherit;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab.is-active{border-color:color-mix(in srgb,var(--spp-cyan) 55%,var(--spp-line));background:color-mix(in srgb,var(--spp-cyan) 14%,var(--spp-panel))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__panels{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,.62fr);gap:14px;align-items:start}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__panels[hidden]{display:none!important}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__install,
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__subscription{min-width:0;padding:12px;border:1px solid var(--spp-line);border-radius:14px;background:color-mix(in srgb,var(--spp-field) 70%,var(--spp-panel))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__install-head{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-bottom:10px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__statusline{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;max-width:100%}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-chip{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:3px 8px;border:1px solid var(--spp-line);border-radius:999px;background:color-mix(in srgb,var(--spp-panel) 80%,transparent);color:var(--spp-text);font-size:12px;line-height:1.2}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-chip b{font-size:11px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-chip.is-ok{border-color:color-mix(in srgb,var(--spp-ok) 45%,var(--spp-line));background:color-mix(in srgb,var(--spp-ok) 14%,var(--spp-panel))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-chip.is-warn{border-color:color-mix(in srgb,var(--spp-warn) 48%,var(--spp-line));background:color-mix(in srgb,var(--spp-warn) 14%,var(--spp-panel))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-chip.is-info{border-color:color-mix(in srgb,var(--spp-cyan) 42%,var(--spp-line));background:color-mix(in srgb,var(--spp-cyan) 12%,var(--spp-panel))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-installation-id{margin-top:4px;color:var(--spp-cyan-strong,var(--spp-cyan));font-size:18px;font-weight:800;letter-spacing:.02em;line-height:1.2}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__subscription .spp-card-head{margin-bottom:8px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__subscription .spp-status-badge{border-radius:999px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__subscription p{margin:8px 0 10px;color:var(--spp-muted);font-size:13px;line-height:1.4}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace .spp-installation-snapshot strong,
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace .spp-installation-snapshot span{font-size:13px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__facts>div{padding:8px 10px}
@media(max-width:860px){
  .spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__panels{grid-template-columns:minmax(0,1fr)}
  .spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__head{flex-direction:column}
}
@media(max-width:720px){
  .spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__facts{grid-template-columns:minmax(0,1fr)}
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-switcher{
  display:grid;
  gap:0;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-panel[hidden]{display:none!important;}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-panel{
  min-width:0;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector{
  display:grid;
  gap:9px;
  margin-top:17px;
  padding-top:15px;
  border-top:1px solid var(--spp-line);
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__head>div{
  display:grid;
  gap:2px;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__head strong{
  color:var(--spp-text);
  font-size:12px;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__head small{
  color:var(--spp-muted);
  font-size:9.5px;
  line-height:1.35;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__head>a{
  color:var(--spp-cyan);
  font-size:10px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__list{
  display:grid;
  gap:7px;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:48px;
  padding:9px 11px;
  color:var(--spp-text);
  text-align:left;
  border:1px solid var(--spp-line);
  border-left:3px solid transparent;
  border-radius:12px;
  background:var(--spp-field);
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__item:hover{
  border-color:color-mix(in srgb,var(--spp-cyan) 34%,var(--spp-line));
  background:var(--spp-field-hover);
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__item.is-active{
  border-left-color:var(--spp-cyan);
  background:color-mix(in srgb,var(--spp-field-hover) 72%,var(--spp-field));
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.9);
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__identity{
  display:grid;
  gap:2px;
  min-width:0;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__identity strong{
  overflow:hidden;
  color:var(--spp-text);
  font-size:11.5px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__identity small{
  overflow:hidden;
  color:var(--spp-muted);
  font-size:9px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__primary{
  padding:4px 7px;
  color:color-mix(in srgb,var(--spp-cyan) 82%,var(--spp-text));
  font-size:8px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  border:1px solid color-mix(in srgb,var(--spp-cyan) 26%,var(--spp-line));
  border-radius:999px;
  background:color-mix(in srgb,var(--spp-cyan) 8%,transparent);
}

/* Requests: one calm outer workspace, consistent with Installations / Commerce. */
.spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace{
  display:grid;
  gap:18px;
  padding:24px;
  border:1px solid color-mix(in srgb,var(--spp-line) 94%,transparent);
  border-radius:28px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--spp-panel) 94%,transparent),color-mix(in srgb,var(--spp-panel-2) 88%,transparent));
  box-shadow:0 22px 64px rgba(0,0,0,.12);
}
.spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace>.spp-page-head,
.spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace>.spp-support-tabs,
.spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace>.spp-notice,
.spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace>.spp-customer-support-panel{
  margin-top:0!important;
  margin-bottom:0!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace>.spp-page-head{
  padding:3px 4px 1px;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="requests"] .spp-customer-support-workspace{
  border-color:rgba(34,65,91,.13);
  background:linear-gradient(155deg,#f8fbfe,#f2f7fb);
  box-shadow:0 22px 58px rgba(37,63,86,.11);
}

/* Customer request filters use the Admin list-control composition. */
.spp-root--customer[data-spp-view="requests"] .spp-customer-request-filter-toolbar{
  margin:0!important;
}
.spp-root--customer[data-spp-view="requests"] .spp-customer-request-filter-toolbar .spp-admin-search-field input,
.spp-root--customer[data-spp-view="requests"] .spp-customer-request-filter-toolbar .spp-admin-filter-field select{
  color:var(--spp-text);
  background:var(--spp-field);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="requests"] .spp-customer-request-filter-toolbar{
  background:#edf3f8;
  border-color:rgba(32,61,86,.16);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="requests"] .spp-customer-request-filter-toolbar .spp-admin-search-field input,
.spp-root--customer[data-spp-theme="light"][data-spp-view="requests"] .spp-customer-request-filter-toolbar .spp-admin-filter-field select{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(32,61,86,.22)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="requests"] .spp-customer-request-filter-toolbar .spp-admin-filter-count{
  color:#587087!important;
}

/* New request is a focused customer modal instead of an inline page expansion. */
.spp-root--customer .spp-customer-request-create-modal .spp-followup-modal-dialog{
  width:min(760px,calc(100vw - 32px));
  max-height:min(820px,92vh);
  overflow:auto;
}
.spp-root--customer .spp-customer-request-create-modal .spp-followup-modal-head .spp-sub{
  margin-top:5px;
}
.spp-root--customer .spp-customer-request-create-body{
  display:grid;
  gap:15px;
}
.spp-root--customer .spp-customer-request-modal-form{
  gap:0;
}
.spp-root--customer .spp-customer-request-modal-form .spp-form-grid{
  gap:12px;
}
.spp-root--customer .spp-customer-request-modal-form .spp-request-message-field{
  margin:0;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-backdrop,
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-backdrop:focus-visible{
  background:rgba(24,45,66,.28)!important;
  backdrop-filter:blur(3px)!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-dialog{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(34,65,91,.17)!important;
  box-shadow:0 30px 90px rgba(37,63,86,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-head,
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-actions{
  border-color:rgba(34,65,91,.13)!important;
  background:#f7fafc!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-head h2,
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-request-message-field,
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-form-grid label>span{
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-request-form select,
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-request-form textarea{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(32,61,86,.22)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-create-modal .spp-followup-modal-x{
  color:#40586f!important;
  background:#f3f7fa!important;
  border-color:rgba(30,58,82,.18)!important;
}

@media(max-width:760px){
  .spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace{padding:16px;border-radius:22px;gap:15px;}
  .spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__head{align-items:flex-start;flex-direction:column;}
  .spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__item{grid-template-columns:minmax(0,1fr) auto;}
  .spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__primary{grid-column:1;justify-self:start;}
  .spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__item>.spp-status-badge{grid-column:2;grid-row:1 / span 2;}
}
@media(max-width:520px){
  .spp-root--customer[data-spp-view="requests"] .spp-customer-support-workspace{padding:12px;border-radius:18px;}
  .spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__item{grid-template-columns:1fr;align-items:flex-start;}
  .spp-root--customer[data-spp-view="dashboard"] .spp-dashboard-installation-selector__item>.spp-status-badge{grid-column:1;grid-row:auto;justify-self:start;}
  .spp-root--customer .spp-customer-request-create-modal{padding:12px;}
  .spp-root--customer .spp-customer-request-create-modal .spp-followup-modal-actions{flex-direction:column-reverse;}
  .spp-root--customer .spp-customer-request-create-modal .spp-followup-modal-actions .spp-btn{width:100%;}
}

/* =========================================================
   Smart Pro Portal 3.6.167 — Customer Appointments Workspace + Booking Modal
   ========================================================= */

/* Appointments now use the same outer customer workspace language as Requests. */
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointments-workspace{
  display:grid;
  gap:18px;
  padding:24px;
  border:1px solid color-mix(in srgb,var(--spp-line) 94%,transparent);
  border-radius:28px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--spp-panel) 94%,transparent),color-mix(in srgb,var(--spp-panel-2) 88%,transparent));
  box-shadow:0 22px 64px rgba(0,0,0,.12);
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointments-workspace>.spp-page-head,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointments-workspace>.spp-support-tabs,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointments-workspace>.spp-overview-strip,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointments-workspace>.spp-customer-support-panel{
  margin-top:0!important;
  margin-bottom:0!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointments-workspace>.spp-page-head{padding:3px 4px 1px;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-appointments-workspace{
  border-color:rgba(34,65,91,.13);
  background:linear-gradient(155deg,#f8fbfe,#f2f7fb);
  box-shadow:0 22px 58px rgba(37,63,86,.11);
}

/* Upcoming appointments follow the shared compact operational-row pattern. */
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact{
  position:relative;
  overflow:hidden;
  min-height:76px;
  padding-left:0;
  border:1px solid var(--spp-line)!important;
  border-left:3px solid rgba(36,212,255,.26)!important;
  border-radius:15px!important;
  background:color-mix(in srgb,var(--spp-panel-2) 96%,transparent)!important;
  box-shadow:none!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:hover,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:focus-visible{
  border-left-color:var(--spp-cyan)!important;
  border-top-color:var(--spp-line)!important;
  border-right-color:var(--spp-line)!important;
  border-bottom-color:var(--spp-line)!important;
  background:color-mix(in srgb,var(--spp-field-hover) 66%,var(--spp-panel-2))!important;
  box-shadow:inset 7px 0 14px -12px rgba(36,212,255,.95)!important;
  outline:none;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-date--compact{
  min-height:74px;
  align-self:stretch;
  border-radius:11px;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-row-side{
  min-width:132px;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-open-chevron{
  color:var(--spp-muted);
  transition:color .16s ease,transform .16s ease;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:hover .spp-appointment-open-chevron,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:focus-visible .spp-appointment-open-chevron{
  color:var(--spp-cyan);
  transform:translateX(2px);
}

/* Appointment history uses the Admin toolbar composition with two filters. */
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar{
  margin:0!important;
  display:grid;
  grid-template-columns:minmax(260px,1.5fr) minmax(170px,.55fr) minmax(210px,.72fr) auto;
  align-items:center;
  gap:9px;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar .spp-admin-search-field,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar .spp-admin-filter-field{
  min-width:0;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar input,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar select{
  width:100%;
  min-height:42px;
  margin:0;
  padding:9px 12px;
  color:var(--spp-text);
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:var(--spp-field);
  outline:none;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar input:focus,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar select:focus{
  border-color:rgba(36,212,255,.48);
  box-shadow:0 0 0 3px rgba(36,212,255,.08);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar{
  background:#edf3f8;
  border-color:rgba(32,61,86,.16);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar input,
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar select{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(32,61,86,.22)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar .spp-admin-filter-count{color:#587087!important;}

/* Customer appointment detail modal: compact, read-only and Portal-native. */
.spp-root--customer .spp-customer-appointment-detail-modal .spp-followup-modal-dialog{
  width:min(720px,calc(100vw - 32px));
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-detail-modal .spp-followup-modal-backdrop{
  background:rgba(24,45,66,.28)!important;
  backdrop-filter:blur(3px)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-detail-modal .spp-followup-modal-dialog{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(34,65,91,.17)!important;
  box-shadow:0 30px 90px rgba(37,63,86,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-detail-modal .spp-followup-modal-head{
  border-color:rgba(34,65,91,.13)!important;
  background:#f7fafc!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-detail-modal .spp-followup-modal-head h2{color:#102033!important;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-appointment-detail-modal .spp-followup-modal-x{
  color:#40586f!important;
  background:#f3f7fa!important;
  border-color:rgba(30,58,82,.18)!important;
}

/* Booking is a real modal, not an inline page expansion. */
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
  width:min(1120px,calc(100vw - 32px));
  max-height:min(900px,94vh);
  overflow:hidden;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{
  max-height:calc(94vh - 158px);
  overflow:auto;
  padding:18px 20px 22px;
}
.spp-root--customer .spp-customer-booking-body{display:grid;gap:16px;}
.spp-root--customer .spp-customer-booking-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.spp-root--customer .spp-customer-booking-steps span{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:9px 12px;
  color:var(--spp-muted);
  font-size:11px;
  font-weight:800;
  border:1px solid var(--spp-line);
  border-radius:12px;
  background:color-mix(in srgb,var(--spp-panel-2) 92%,transparent);
}
.spp-root--customer .spp-customer-booking-steps b{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  color:var(--spp-text);
  border:1px solid color-mix(in srgb,var(--spp-cyan) 32%,var(--spp-line));
  border-radius:999px;
  background:color-mix(in srgb,var(--spp-cyan) 9%,transparent);
}
.spp-root--customer .spp-customer-booking-modal .spp-amelia-frame--subscriber{
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-shell--subscriber-surface{
  width:100%!important;
  margin:0!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-shell--subscriber-surface .spsb-packages--hero{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card{
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)!important;
  gap:14px 18px!important;
  margin:0 0 14px!important;
  padding:16px!important;
  border:1px solid var(--spp-line)!important;
  border-radius:16px!important;
  background:color-mix(in srgb,var(--spp-panel-2) 94%,transparent)!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card__installation select{
  width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  text-overflow:clip!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card__facts{
  gap:8px!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card__facts span{
  min-width:0!important;
  padding:10px 11px!important;
  border-radius:11px!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-policy{
  margin-top:0!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-booking{
  margin:0!important;
  padding:16px!important;
  border:1px solid var(--spp-line)!important;
  border-radius:16px!important;
  background:color-mix(in srgb,var(--spp-panel) 96%,transparent)!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-booking .spsb-section__head{
  margin-bottom:12px!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-availability{
  border-radius:14px!important;
}
.spp-root--customer .spp-customer-booking-topup{
  display:grid;
  gap:12px;
  padding:15px 16px;
  border:1px solid color-mix(in srgb,#e2a949 48%,var(--spp-line));
  border-radius:15px;
  background:color-mix(in srgb,#e2a949 9%,var(--spp-panel));
}
.spp-root--customer .spp-customer-booking-topup[hidden]{display:none!important;}
.spp-root--customer .spp-customer-booking-topup>div:first-child{display:grid;gap:4px;}
.spp-root--customer .spp-customer-booking-topup strong{color:var(--spp-text);font-size:16px;}
.spp-root--customer .spp-customer-booking-topup p{margin:0;color:var(--spp-muted);font-size:11px;line-height:1.5;}
.spp-root--customer .spp-customer-booking-topup__installation[hidden]{display:none!important;}
.spp-root--customer .spp-customer-booking-topup__installation .spp-actions{margin:0;}

.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-followup-modal-backdrop{
  background:rgba(24,45,66,.28)!important;
  backdrop-filter:blur(3px)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-followup-modal-dialog{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(34,65,91,.17)!important;
  box-shadow:0 30px 90px rgba(37,63,86,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-followup-modal-head,
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-followup-modal-actions{
  border-color:rgba(34,65,91,.13)!important;
  background:#f7fafc!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-followup-modal-head h2{color:#102033!important;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-followup-modal-x{
  color:#40586f!important;
  background:#f3f7fa!important;
  border-color:rgba(30,58,82,.18)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-customer-booking-steps span{
  color:#587087;
  background:#f7fafc;
  border-color:rgba(32,61,86,.16);
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spp-customer-booking-steps b{color:#102033;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-subscriber-card,
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-booking{
  color:#102033!important;
  background:#f8fbfe!important;
  border-color:rgba(32,61,86,.15)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-subscriber-card__copy strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-subscriber-card__facts strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-booking h2{
  color:#102033!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-subscriber-card__copy p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-subscriber-card__facts small,
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-booking p{
  color:#5d7185!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-subscriber-card__installation select{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(32,61,86,.22)!important;
}

@media(max-width:980px){
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar{grid-template-columns:1fr 1fr;}
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar .spp-admin-search-field{grid-column:1/-1;}
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar .spp-admin-filter-count{grid-column:1/-1;text-align:left;}
  .spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card{grid-template-columns:1fr!important;}
  .spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card__installation,
  .spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card__facts,
  .spp-root--customer .spp-customer-booking-modal .spsb-subscriber-policy{grid-column:1!important;}
}
@media(max-width:760px){
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-appointments-workspace{padding:16px;border-radius:22px;gap:15px;}
  .spp-root--customer .spp-customer-booking-steps{grid-template-columns:1fr;}
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{padding:14px;}
}
@media(max-width:620px){
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar .spp-admin-search-field{grid-column:auto;}
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-filter-toolbar .spp-admin-filter-count{grid-column:auto;}
  .spp-root--customer .spp-customer-booking-modal{padding:10px;}
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions .spp-btn{width:100%;}
}

/* 3.6.167 booking modal: neutralize the legacy desktop split workspace inside the Portal modal. */
.spp-root--customer .spp-customer-booking-modal .spsb-content{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto!important;
  gap:14px!important;
  align-items:stretch!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-packages--hero,
.spp-root--customer .spp-customer-booking-modal .spsb-booking,
.spp-root--customer .spp-customer-booking-modal .spsb-handoff{
  grid-column:1!important;
  grid-row:auto!important;
  margin-top:0!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-handoff{
  margin:0!important;
  border-radius:16px!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-booking-modal .spsb-shell{
  --spsb-bg:#ffffff;
  --spsb-bg-2:#f7fafc;
  --spsb-card:#ffffff;
  --spsb-card-2:#f4f8fb;
  --spsb-border:rgba(32,61,86,.16);
  --spsb-border-strong:rgba(22,156,199,.48);
  --spsb-text:#102033;
  --spsb-muted:#5d7185;
  --spsb-accent:#1faed7;
  --spsb-accent-deep:#178daf;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--appointments>.spp-list-toolbar{
  display:block!important;
  grid-template-columns:none!important;
}


/* =========================================================
   Smart Pro Portal 3.6.168 — Customer booking modal polish
   Low-wallet top-up placement + overflow-safe modal shell.
   ========================================================= */
.spp-root--customer .spp-customer-booking-modal{
  padding:10px;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
  width:min(1240px,calc(100vw - 20px));
  max-width:1240px;
  max-height:min(940px,calc(100vh - 20px));
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-head,
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions{
  flex:0 0 auto;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-gutter:stable;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions{
  position:relative;
  z-index:2;
  min-height:64px;
}
.spp-root--customer .spp-customer-booking-modal .spp-amelia-frame,
.spp-root--customer .spp-customer-booking-modal .spsb-shell,
.spp-root--customer .spp-customer-booking-modal .spsb-content,
.spp-root--customer .spp-customer-booking-modal .spsb-packages--hero,
.spp-root--customer .spp-customer-booking-modal .spsb-booking,
.spp-root--customer .spp-customer-booking-modal .spsb-handoff,
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card,
.spp-root--customer .spp-customer-booking-modal .spsb-availability{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card>.spp-customer-booking-topup.is-contextual{
  grid-column:1/-1;
  margin:0!important;
  padding:10px 12px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px 16px;
  border-radius:12px;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-topup.is-contextual>div:first-child{
  gap:2px;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-topup.is-contextual strong{
  font-size:14px;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-topup.is-contextual p{
  font-size:10.5px;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-topup.is-contextual .spp-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
@media(max-width:900px){
  .spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card>.spp-customer-booking-topup.is-contextual{
    grid-template-columns:1fr;
  }
  .spp-root--customer .spp-customer-booking-modal .spp-customer-booking-topup.is-contextual .spp-actions{justify-content:flex-start;}
}
@media(max-width:620px){
  .spp-root--customer .spp-customer-booking-modal{padding:6px;}
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
    width:calc(100vw - 12px);
    max-height:calc(100vh - 12px);
  }
}

/* =========================================================
   Smart Pro Portal 3.6.171 — Customer booking modal scroll ownership hardening
   One modal-owned scroller + explicit page-scroll lock + wheel routing.
   ========================================================= */
html.spp-customer-booking-modal-open,
html.spp-customer-booking-modal-open body{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.spp-root--customer .spp-customer-booking-modal{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:none;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
  width:min(1240px,calc(100vw - 20px));
  max-width:1240px;
  height:min(940px,calc(100dvh - 20px));
  max-height:none!important;
  min-height:0;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-head,
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions{
  flex:0 0 auto!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{
  position:relative;
  flex:1 1 0!important;
  height:0!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  padding-bottom:32px;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-body,
.spp-root--customer .spp-customer-booking-modal .spp-amelia-frame--subscriber,
.spp-root--customer .spp-customer-booking-modal .spsb-shell--subscriber-surface,
.spp-root--customer .spp-customer-booking-modal .spsb-content,
.spp-root--customer .spp-customer-booking-modal .spsb-booking,
.spp-root--customer .spp-customer-booking-modal .spsb-availability,
.spp-root--customer .spp-customer-booking-modal .spsb-availability__result{
  max-height:none!important;
  overflow:visible!important;
}
@media(max-width:620px){
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
    width:calc(100vw - 12px);
    height:calc(100dvh - 12px);
    max-height:none!important;
  }
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{
    padding-bottom:24px;
  }
}

/* =========================================================
   Smart Pro Portal 3.6.172 — Customer booking modal native scroll container rebuild
   Stable Portal pattern: fixed header + one native scroll body + fixed footer.
   ========================================================= */
html.spp-customer-booking-modal-open,
html.spp-customer-booking-modal-open body{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.spp-root--customer .spp-customer-booking-modal{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:auto!important;
  padding:18px!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
  box-sizing:border-box!important;
  width:min(1180px,calc(100vw - 36px))!important;
  max-width:1180px!important;
  height:min(920px,calc(100dvh - 36px))!important;
  max-height:calc(100dvh - 36px)!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  overflow:hidden!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-head,
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions{
  min-width:0!important;
  flex:none!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  padding:18px 20px 28px!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-body,
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-body > *,
.spp-root--customer .spp-customer-booking-modal .spp-amelia-frame,
.spp-root--customer .spp-customer-booking-modal .spp-amelia-frame--subscriber,
.spp-root--customer .spp-customer-booking-modal .spsb-shell,
.spp-root--customer .spp-customer-booking-modal .spsb-shell--subscriber-surface,
.spp-root--customer .spp-customer-booking-modal .spsb-content,
.spp-root--customer .spp-customer-booking-modal .spsb-packages--hero,
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card,
.spp-root--customer .spp-customer-booking-modal .spsb-booking,
.spp-root--customer .spp-customer-booking-modal .spsb-availability,
.spp-root--customer .spp-customer-booking-modal .spsb-availability__result,
.spp-root--customer .spp-customer-booking-modal .spsb-availability__options-wrap,
.spp-root--customer .spp-customer-booking-modal .spsb-availability__options,
.spp-root--customer .spp-customer-booking-modal .spsb-handoff{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-shell,
.spp-root--customer .spp-customer-booking-modal .spsb-content,
.spp-root--customer .spp-customer-booking-modal .spsb-booking,
.spp-root--customer .spp-customer-booking-modal .spsb-availability,
.spp-root--customer .spp-customer-booking-modal .spsb-availability__result{
  max-height:none!important;
  overflow:visible!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions{
  position:relative!important;
  z-index:4!important;
  margin:0!important;
}
@media(max-width:760px){
  .spp-root--customer .spp-customer-booking-modal{padding:8px!important;}
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
    width:calc(100vw - 16px)!important;
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
  }
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{
    padding:14px 14px 24px!important;
  }
}


/* =========================================================
   Smart Pro Portal 3.6.173 — Customer Account Compact Workspace v1
   ========================================================= */
.spp-root--customer[data-spp-view="account"] .spp-customer-account-workspace{
  display:grid;
  gap:18px;
  padding:24px;
  border:1px solid color-mix(in srgb,var(--spp-line) 94%,transparent);
  border-radius:28px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--spp-panel) 94%,transparent),color-mix(in srgb,var(--spp-panel-2) 88%,transparent));
  box-shadow:0 22px 64px rgba(0,0,0,.12);
}
.spp-root--customer[data-spp-view="account"] .spp-customer-account-workspace>.spp-page-head,
.spp-root--customer[data-spp-view="account"] .spp-customer-account-workspace>.spp-notice,
.spp-root--customer[data-spp-view="account"] .spp-customer-account-workspace>.spp-customer-account-frame{
  margin-top:0!important;
  margin-bottom:0!important;
}
.spp-root--customer[data-spp-view="account"] .spp-customer-account-workspace__head{
  padding:3px 4px 1px;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-customer-account-workspace{
  border-color:rgba(34,65,91,.13);
  background:linear-gradient(155deg,#f8fbfe,#f2f7fb);
  box-shadow:0 22px 58px rgba(37,63,86,.11);
}
.spp-root--customer[data-spp-view="account"] .spp-customer-account-frame{
  padding:15px;
  border-radius:20px;
}
.spp-root--customer[data-spp-view="account"] .spp-customer-account-frame>.spp-customer-main-frame__head{
  padding:2px 2px 12px;
}
.spp-root--customer[data-spp-view="account"] .spp-profile-summary--compact{
  margin:10px 0 0;
  padding:9px 12px;
  min-height:42px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-sections--compact-v2{
  margin-top:10px;
  gap:10px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card,
.spp-root--customer[data-spp-view="account"] .spp-account-notifications-card,
.spp-root--customer[data-spp-view="account"] .spp-account-security-card{
  padding:14px 15px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card .spp-card-head,
.spp-root--customer[data-spp-view="account"] .spp-account-notifications-card .spp-card-head,
.spp-root--customer[data-spp-view="account"] .spp-account-security-card .spp-card-head{
  margin-bottom:10px;
  padding-bottom:9px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-groups{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:12px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-group{
  min-width:0;
  padding:12px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:color-mix(in srgb,var(--spp-panel-2) 72%,transparent);
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-group__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-group__head strong{
  font-size:13px;
  color:var(--spp-text);
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-group__head span{
  color:var(--spp-muted);
  font-size:10.5px;
  line-height:1.35;
  text-align:right;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card .spp-form-grid{
  gap:8px 10px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card .spp-form-grid input{
  min-height:40px;
  padding:8px 11px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card .spp-form-grid label>span{
  margin-bottom:5px;
  font-size:11px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card .spp-form-grid small{
  margin-top:4px;
  font-size:10px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-secondary-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-notification-list{
  grid-template-columns:1fr;
  gap:7px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-notification-list label{
  min-height:0;
  padding:9px 10px;
  border-radius:11px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-notification-list label span{
  gap:1px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-notification-list strong{
  font-size:12px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-notification-list small{
  font-size:10.5px;
  line-height:1.35;
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-action,
.spp-root--customer[data-spp-view="account"] .spp-account-security-status{
  min-width:0;
  min-height:58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  padding:9px 11px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:color-mix(in srgb,var(--spp-panel-2) 72%,transparent);
  text-decoration:none;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-action:hover,
.spp-root--customer[data-spp-view="account"] .spp-account-security-action:focus-visible{
  border-color:color-mix(in srgb,var(--spp-cyan) 48%,var(--spp-line));
  background:color-mix(in srgb,var(--spp-cyan) 8%,var(--spp-panel-2));
  box-shadow:inset 3px 0 0 color-mix(in srgb,var(--spp-cyan) 74%,transparent);
  transform:translateY(-1px);
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-action span,
.spp-root--customer[data-spp-view="account"] .spp-account-security-status span{
  color:var(--spp-muted);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-action strong,
.spp-root--customer[data-spp-view="account"] .spp-account-security-status strong{
  color:var(--spp-text);
  font-size:12px;
  line-height:1.35;
}
.spp-root--customer[data-spp-view="account"] .spp-account-security-note{
  margin-top:7px;
  padding:8px 10px;
  border-radius:10px;
  color:var(--spp-muted);
  background:color-mix(in srgb,var(--spp-field) 76%,transparent);
  font-size:10.5px;
  line-height:1.45;
}
.spp-root--customer[data-spp-view="account"] .spp-account-savebar{
  position:static;
  z-index:auto;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:0;
  padding:8px 10px 8px 13px;
  border-radius:12px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-savebar__hint{
  color:var(--spp-muted);
  font-size:10.5px;
  line-height:1.4;
}
.spp-root--customer[data-spp-view="account"] .spp-account-savebar .spp-btn{
  min-width:168px;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-profile-group,
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-security-action,
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-security-status{
  background:#f2f7fb!important;
  border-color:rgba(32,61,86,.14)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-security-action:hover,
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-security-action:focus-visible{
  background:#edf8fd!important;
  border-color:rgba(25,156,202,.34)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-security-note{
  background:#f2f7fb!important;
  color:#60748a!important;
}
@media(max-width:1040px){
  .spp-root--customer[data-spp-view="account"] .spp-account-profile-groups,
  .spp-root--customer[data-spp-view="account"] .spp-account-secondary-grid{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="account"] .spp-account-profile-group__head{align-items:flex-start;flex-direction:column;gap:3px;}
  .spp-root--customer[data-spp-view="account"] .spp-account-profile-group__head span{text-align:left;}
}
@media(max-width:760px){
  .spp-root--customer[data-spp-view="account"] .spp-customer-account-workspace{padding:16px;border-radius:22px;gap:15px;}
  .spp-root--customer[data-spp-view="account"] .spp-account-security-grid{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="account"] .spp-account-savebar{align-items:stretch;flex-direction:column;}
  .spp-root--customer[data-spp-view="account"] .spp-account-savebar .spp-btn{width:100%;min-width:0;}
}
@media(max-width:520px){
  .spp-root--customer[data-spp-view="account"] .spp-customer-account-workspace{padding:12px;border-radius:18px;}
  .spp-root--customer[data-spp-view="account"] .spp-customer-account-frame{padding:12px;}
}


/* =========================================================
   Smart Pro Portal 3.6.174 — Customer Operational Profile Foundation v1
   ========================================================= */
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card{
  display:grid;
  gap:10px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-card>.spp-card-head{
  margin-bottom:0;
}
.spp-root--customer[data-spp-view="account"] .spp-account-profile-group--operational{
  padding:12px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-operational-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px 10px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-operational-grid label{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.spp-root--customer[data-spp-view="account"] .spp-account-operational-grid label>span,
.spp-root--customer[data-spp-view="account"] .spp-account-form-grid--contact label>span{
  min-height:18px;
}
.spp-root--customer[data-spp-view="account"] .spp-account-operational-grid select,
.spp-root--customer[data-spp-view="account"] .spp-account-operational-grid .spp-profile-combobox>input[type="text"]{
  width:100%;
  min-width:0;
  min-height:40px;
  padding:8px 31px 8px 11px;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:var(--spp-field);
  color:var(--spp-text);
  -webkit-text-fill-color:var(--spp-text);
  font:inherit;
}
.spp-root--customer[data-spp-view="account"] .spp-account-operational-grid small,
.spp-root--customer[data-spp-view="account"] .spp-account-form-grid--contact small{
  min-height:28px;
  color:var(--spp-muted);
  font-size:9.8px;
  line-height:1.35;
}
.spp-root--customer[data-spp-view="account"] .spp-account-form-grid--contact{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
.spp-root--customer[data-spp-view="account"] .spp-account-form-grid--contact label{
  min-width:0;
  align-self:start;
}
.spp-root--customer[data-spp-view="account"] .spp-account-form-grid--contact em{
  color:var(--spp-muted);
  font-size:9px;
  font-style:normal;
  font-weight:700;
}
.spp-root--customer[data-spp-view="account"] .spp-account-operational-note{
  margin-top:9px;
  padding:8px 10px;
  border-radius:10px;
  background:color-mix(in srgb,var(--spp-field) 76%,transparent);
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.4;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-operational-grid select,
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-operational-grid .spp-profile-combobox>input[type="text"]{
  background:#fff;
  border-color:rgba(32,61,86,.18);
  color:#10233a;
  -webkit-text-fill-color:#10233a;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-operational-grid .spp-profile-combobox>input[type="text"]::placeholder{
  color:#8090a4;
  -webkit-text-fill-color:#8090a4;
  opacity:1;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="account"] .spp-account-operational-note{
  background:#f2f7fb;
  color:#60748a;
}
@media(max-width:1180px){
  .spp-root--customer[data-spp-view="account"] .spp-account-operational-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .spp-root--customer[data-spp-view="account"] .spp-account-operational-grid,
  .spp-root--customer[data-spp-view="account"] .spp-account-form-grid--contact{grid-template-columns:1fr;}
}

/* 3.6.175 — Installation Operational Profile Foundation v1 */
.spp-installation-operational-profile__form{
  display:grid;
  gap:18px;
}
.spp-installation-operational-profile__section{
  display:grid;
  gap:14px;
  padding-top:2px;
}
.spp-installation-operational-profile__section + .spp-installation-operational-profile__section{
  padding-top:16px;
  border-top:1px solid var(--spp-line);
}
.spp-installation-operational-profile__section-head{
  display:grid;
  gap:4px;
}
.spp-installation-operational-profile__section-head>strong{
  color:var(--spp-text);
  font-size:15px;
}
.spp-installation-operational-profile__section-head>span{
  color:var(--spp-muted);
  font-size:12px;
}
.spp-installation-operational-profile .spp-form-grid select,
.spp-installation-operational-profile .spp-form-grid textarea,
.spp-installation-operational-profile__notes-grid textarea{
  width:100%;
  min-width:0;
  color:var(--spp-text);
  background:rgba(255,255,255,.035);
  border:1px solid var(--spp-line);
  border-radius:12px;
  outline:none;
  font:inherit;
}
.spp-installation-operational-profile .spp-form-grid select{
  min-height:48px;
  padding:11px 13px;
}
.spp-installation-operational-profile__notes-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.spp-installation-operational-profile__notes-grid label{
  display:grid;
  gap:7px;
  color:var(--spp-text);
  font-weight:750;
}
.spp-installation-operational-profile__notes-grid label>span{
  font-size:13px;
}
.spp-installation-operational-profile__notes-grid textarea{
  min-height:110px;
  padding:12px 13px;
  resize:vertical;
}
.spp-installation-operational-profile__notes-grid small,
.spp-installation-operational-profile .spp-form-grid small{
  color:var(--spp-muted);
  font-size:11px;
  font-weight:500;
}
.spp-installation-operational-profile__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:14px;
  border-top:1px solid var(--spp-line);
}
.spp-installation-operational-profile__footer>span{
  color:var(--spp-muted);
  font-size:11px;
}
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile .spp-form-grid select,
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile .spp-form-grid textarea,
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile__notes-grid textarea{
  background:#fff;
}
@media (max-width: 860px){
  .spp-installation-operational-profile__notes-grid{grid-template-columns:1fr;}
  .spp-installation-operational-profile__placeholder{display:none;}
  .spp-installation-operational-profile__footer{align-items:stretch;flex-direction:column;}
  .spp-installation-operational-profile__footer .spp-btn{width:100%;justify-content:center;}
}

/* 3.6.176 — Installation Operational Profile Guided Inputs + Contrast Fix v1 */
.spp-installation-operational-profile .spp-form-grid input:not([type="hidden"]),
.spp-installation-operational-profile .spp-form-grid select,
.spp-installation-operational-profile .spp-form-grid textarea,
.spp-installation-operational-profile__notes-grid textarea{
  color:var(--spp-text)!important;
  -webkit-text-fill-color:var(--spp-text)!important;
  opacity:1!important;
}
.spp-installation-operational-profile .spp-form-grid input::placeholder,
.spp-installation-operational-profile__notes-grid textarea::placeholder{
  color:var(--spp-muted)!important;
  -webkit-text-fill-color:var(--spp-muted)!important;
  opacity:.78!important;
}
.spp-profile-combobox{position:relative;min-width:0;}
.spp-profile-combobox>input[type="text"]{padding-right:38px;}
.spp-profile-combobox:after{
  content:'⌕';
  position:absolute;
  top:50%;right:13px;
  transform:translateY(-50%);
  color:var(--spp-muted);
  font-size:16px;
  line-height:1;
  pointer-events:none;
}
.spp-guided-profile-field{
  display:grid;
  gap:12px;
  min-width:0;
  padding:14px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.spp-guided-profile-field__head{display:grid;gap:4px;}
.spp-guided-profile-field__head strong{color:var(--spp-text);font-size:13px;}
.spp-guided-profile-field__head strong em{font-size:10px;font-style:normal;color:var(--spp-muted);}
.spp-guided-profile-field__head span{color:var(--spp-muted);font-size:11px;line-height:1.45;}
.spp-guided-profile-choices{display:flex;flex-wrap:wrap;gap:8px;}
.spp-guided-profile-choice{position:relative;display:inline-flex!important;gap:0!important;font-weight:700!important;cursor:pointer;}
.spp-guided-profile-choice input{position:absolute;opacity:0;pointer-events:none;}
.spp-guided-profile-choice span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 10px;
  border:1px solid var(--spp-line);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:var(--spp-text);
  font-size:11px!important;
  line-height:1.2;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.spp-guided-profile-choice input:focus-visible+span{outline:2px solid rgba(0,180,230,.45);outline-offset:2px;}
.spp-guided-profile-choice input:checked+span{
  border-color:rgba(26,174,222,.58);
  background:rgba(26,174,222,.12);
  box-shadow:inset 3px 0 0 rgba(26,174,222,.75);
}
.spp-guided-profile-free{display:grid!important;gap:7px!important;color:var(--spp-text)!important;font-weight:750!important;}
.spp-guided-profile-free>span{font-size:12px!important;}
.spp-guided-profile-field>small{color:var(--spp-muted);font-size:10.5px;line-height:1.45;}
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile .spp-form-grid input:not([type="hidden"]),
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile .spp-form-grid select,
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile .spp-form-grid textarea,
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile__notes-grid textarea{
  color:#10203a!important;
  -webkit-text-fill-color:#10203a!important;
  background:#fff!important;
  border-color:rgba(32,61,86,.20)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile .spp-form-grid input::placeholder,
.spp-root--customer[data-spp-theme="light"] .spp-installation-operational-profile__notes-grid textarea::placeholder{
  color:#8091a5!important;
  -webkit-text-fill-color:#8091a5!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-guided-profile-field{background:#f7fafc;border-color:rgba(32,61,86,.14);}
.spp-root--customer[data-spp-theme="light"] .spp-guided-profile-choice span{background:#fff;color:#10203a;border-color:rgba(32,61,86,.16);}
.spp-root--customer[data-spp-theme="light"] .spp-guided-profile-choice input:checked+span{background:#eaf8fd;border-color:#7ed4ef;color:#10203a;}
@media(max-width:760px){
  .spp-guided-profile-choices{display:grid;grid-template-columns:1fr;}
  .spp-guided-profile-choice span{width:100%;border-radius:10px;}
}


/* =========================================================
   Smart Pro Portal 3.6.177 — Operator / Organization Timezone Foundation v1
   Admin settings presentation only; appointment rendering is a later milestone.
   ========================================================= */
.spp-root--admin .spp-operator-timezone-settings-form{display:grid;gap:12px}
.spp-root--admin .spp-operator-timezone-field{display:grid;gap:6px}
.spp-root--admin .spp-operator-timezone-field>span{color:var(--spp-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.45px}
.spp-root--admin .spp-operator-timezone-field input{
  width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:10px;
  background:rgba(255,255,255,.025);color:var(--spp-text);font:inherit;outline:none
}
.spp-root--admin .spp-operator-timezone-field input:focus{border-color:rgba(56,189,248,.48);box-shadow:0 0 0 2px rgba(56,189,248,.10)}
.spp-root--admin .spp-operator-timezone-field small{color:var(--spp-muted);font-size:9px;line-height:1.45}
.spp-root--admin .spp-operator-timezone-state{grid-template-columns:repeat(2,minmax(0,1fr))}
.spp-root--admin[data-spp-theme="light"] .spp-operator-timezone-field input{background:#fff;color:#0f172a}
@media(max-width:640px){.spp-root--admin .spp-operator-timezone-state{grid-template-columns:1fr}}


/* 3.6.178 — Admin appointment dual-time presentation */
.spp-appointment-meta--compact .spp-appointment-time-primary,
.spp-appointment-meta--compact .spp-appointment-time-secondary{display:inline-flex;flex-direction:column;gap:2px;min-width:0}
.spp-appointment-meta--compact .spp-appointment-time-primary small,
.spp-appointment-meta--compact .spp-appointment-time-secondary small{font-size:10px;line-height:1.25;font-weight:800;letter-spacing:.035em;color:var(--spp-text-muted,#6b7c93)}
.spp-appointment-meta--compact .spp-appointment-time-secondary{padding-left:10px;border-left:2px solid rgba(51,190,235,.28)}
.spp-appointment-detail-grid [data-spp-appointment-detail-datetime-timezone],
.spp-appointment-detail-grid [data-spp-appointment-detail-datetime-secondary-timezone]{display:block;margin-top:4px;color:var(--spp-text-muted,#6b7c93);font-size:11px;font-weight:700;overflow-wrap:anywhere}

/* Smart Pro Portal 3.6.180 — Admin installation operational profile controlled edit. */
.spp-root--admin .spp-admin-installation-profile{display:grid;gap:14px;}
.spp-root--admin .spp-admin-installation-profile__head{align-items:flex-start;}
.spp-root--admin .spp-admin-installation-profile__head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;}
.spp-root--admin .spp-admin-installation-profile__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.spp-root--admin .spp-admin-installation-profile__facts>div{display:grid;align-content:start;gap:4px;min-height:74px;padding:11px 12px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(255,255,255,.02);}
.spp-root--admin .spp-admin-installation-profile__facts span,.spp-root--admin .spp-admin-installation-profile__context span{color:var(--spp-muted);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;}
.spp-root--admin .spp-admin-installation-profile__facts strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere;}
.spp-root--admin .spp-admin-installation-profile__facts small{color:var(--spp-muted);font-size:9px;line-height:1.4;}
.spp-root--admin .spp-admin-installation-profile__timezone{border-color:rgba(74,199,243,.34)!important;background:rgba(74,199,243,.055)!important;}
.spp-root--admin .spp-admin-installation-profile__context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-top:2px;}
.spp-root--admin .spp-admin-installation-profile__context>div{display:grid;gap:5px;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;background:rgba(255,255,255,.016);}
.spp-root--admin .spp-admin-installation-profile__context strong,.spp-root--admin .spp-admin-installation-profile__context p{margin:0;font-size:10.5px;line-height:1.5;overflow-wrap:anywhere;}
.spp-root--admin .spp-admin-installation-profile__guard{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid rgba(244,188,72,.28);border-radius:13px;background:rgba(244,188,72,.07);}
.spp-root--admin .spp-admin-installation-profile__guard strong{flex:0 0 auto;color:#f4c66b;font-size:10px;}
.spp-root--admin .spp-admin-installation-profile__guard span{color:var(--spp-muted);font-size:9.5px;line-height:1.45;}
.spp-admin-installation-profile-modal{z-index:1000002;}
.spp-admin-installation-profile-modal .spp-followup-modal-dialog{width:min(980px,calc(100vw - 34px));max-height:calc(100vh - 34px);display:grid;grid-template-rows:auto minmax(0,1fr);}
.spp-admin-installation-profile-modal .spp-followup-modal-head p{margin:5px 0 0;color:var(--spp-muted);font-size:10px;line-height:1.4;}
.spp-admin-installation-profile-modal__body{overflow:auto!important;min-height:0;padding:16px 18px 18px!important;}
.spp-admin-installation-profile-modal__body form{display:grid;gap:14px;}
.spp-admin-profile-policy{display:grid;gap:4px;padding:11px 12px;border:1px solid rgba(74,199,243,.27);border-radius:12px;background:rgba(74,199,243,.055);}
.spp-admin-profile-policy strong{font-size:11px;}.spp-admin-profile-policy span{color:var(--spp-muted);font-size:9.5px;line-height:1.45;}
.spp-admin-profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.spp-admin-profile-edit-grid label,.spp-admin-profile-control label{display:grid;gap:6px;min-width:0;color:var(--spp-text);font-size:10px;font-weight:800;}
.spp-admin-profile-edit-grid input,.spp-admin-profile-edit-grid select,.spp-admin-profile-control select,.spp-admin-installation-profile-modal textarea{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:11px;background:var(--spp-field);color:var(--spp-text);font:inherit;}
.spp-admin-profile-edit-grid__wide{grid-column:1/-1;}
.spp-admin-profile-guided-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.spp-admin-profile-control{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);gap:10px;padding:12px;border:1px solid rgba(244,188,72,.28);border-radius:13px;background:rgba(244,188,72,.055);}
.spp-admin-profile-confirm{display:flex!important;align-items:flex-start!important;gap:9px!important;padding:10px 11px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.018);font-weight:650!important;line-height:1.45;}
.spp-admin-profile-confirm input{width:17px;height:17px;margin:1px 0 0;accent-color:var(--spp-cyan);}
.spp-admin-installation-profile-modal .spp-followup-modal-actions{position:sticky;bottom:-18px;z-index:2;margin:0 -18px -18px;padding:13px 18px 18px;border-top:1px solid var(--spp-line);background:var(--spp-surface-1,#0d1728);}
.spp-admin-installation-profile-modal .spp-followup-modal-backdrop{cursor:default!important;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile__facts>div,.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile__context>div,.spp-root--admin[data-spp-theme="light"] .spp-admin-profile-confirm{background:#fff;border-color:rgba(30,58,82,.14);}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile__timezone{background:#eefaff!important;border-color:#8bd8ef!important;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile-modal .spp-followup-modal-actions{background:#f7fafc;}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile-modal .spp-admin-profile-edit-grid input,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile-modal .spp-admin-profile-edit-grid select,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile-modal .spp-admin-profile-control select,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile-modal textarea{
  background:#fff!important;
  border-color:rgba(32,61,86,.20)!important;
  color:#10233a!important;
  -webkit-text-fill-color:#10233a!important;
  opacity:1!important;
}
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile-modal input::placeholder,
.spp-root--admin[data-spp-theme="light"] .spp-admin-installation-profile-modal textarea::placeholder{
  color:#7c8da1!important;
  -webkit-text-fill-color:#7c8da1!important;
  opacity:1!important;
}
@media(max-width:900px){.spp-root--admin .spp-admin-installation-profile__facts{grid-template-columns:repeat(2,minmax(0,1fr));}.spp-admin-profile-edit-grid,.spp-admin-profile-guided-grid,.spp-admin-profile-control{grid-template-columns:1fr;}.spp-admin-profile-edit-grid__wide{grid-column:auto;}}
@media(max-width:620px){.spp-root--admin .spp-admin-installation-profile__facts,.spp-root--admin .spp-admin-installation-profile__context{grid-template-columns:1fr;}.spp-root--admin .spp-admin-installation-profile__head-actions{justify-content:flex-start;}.spp-admin-installation-profile-modal .spp-followup-modal-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);}}


/* =========================================================
   Smart Pro Portal 3.6.183 — Customer Appointment Visual Foundation v1
   Shared appointment visual grammar, Customer Portal first.
   ========================================================= */
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-list--upcoming{
  gap:8px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  min-height:68px!important;
  padding:8px 11px 8px 8px!important;
  border-radius:14px!important;
  background:color-mix(in srgb,var(--spp-panel-2) 97%,transparent)!important;
  box-shadow:inset 3px 0 0 rgba(36,212,255,.20)!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact.spp-appointment-card--featured{
  background:color-mix(in srgb,var(--spp-panel-2) 97%,transparent)!important;
  box-shadow:inset 3px 0 0 rgba(36,212,255,.28)!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:hover,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:focus-visible{
  box-shadow:inset 3px 0 0 var(--spp-cyan),0 8px 20px rgba(0,0,0,.06)!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-date--compact{
  width:58px!important;
  min-height:54px!important;
  align-self:center!important;
  padding:5px 3px!important;
  border-radius:11px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-date--compact span{
  font-size:8.5px!important;
  letter-spacing:.7px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-date--compact strong{
  margin:1px 0!important;
  font-size:24px!important;
  line-height:.98!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-date--compact small{
  font-size:9.5px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact .spp-appointment-content{
  min-width:0!important;
  justify-content:center!important;
  gap:0!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact .spp-appointment-kicker{
  min-width:0!important;
  margin:0 0 2px!important;
  font-size:8.5px!important;
  letter-spacing:.55px!important;
  line-height:1.15!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact h3{
  margin:0!important;
  overflow:hidden!important;
  color:var(--spp-text)!important;
  font-size:15px!important;
  line-height:1.22!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:3px 10px!important;
  margin-top:5px!important;
  color:var(--spp-muted)!important;
  font-size:10px!important;
  line-height:1.25!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact>span{
  min-width:0!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact .spp-appointment-time-primary,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact .spp-appointment-time-secondary{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:5px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact .spp-appointment-time-primary small,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact .spp-appointment-time-secondary small{
  font-size:8.5px!important;
  line-height:1.2!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact .spp-appointment-time-secondary{
  padding-left:8px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-reason--compact{
  margin-top:4px!important;
  padding:0!important;
  overflow:hidden!important;
  color:var(--spp-muted)!important;
  font-size:9.5px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  border:0!important;
  background:transparent!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-row-side{
  display:flex!important;
  min-width:112px!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:5px!important;
  align-self:center!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-row-status{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-links--compact{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:4px!important;
  margin:0!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-links--compact span{
  padding:3px 7px!important;
  font-size:8.5px!important;
  line-height:1.15!important;
}

/* Historical rows use the same compact rhythm without changing expand/collapse behavior. */
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-history-list{
  gap:7px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-row>summary{
  min-height:60px!important;
  gap:10px!important;
  padding:9px 12px 9px 13px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-identity{
  gap:2px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-identity small,
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-meta small{
  font-size:8px!important;
  line-height:1.15!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-identity strong{
  font-size:13.5px!important;
  line-height:1.2!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-meta strong{
  font-size:10.5px!important;
  line-height:1.22!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-body{
  gap:10px!important;
  padding:12px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-facts{
  gap:7px!important;
}
.spp-root--customer[data-spp-view="appointments"] .spp-customer-appointment-facts>div{
  min-height:54px!important;
  padding:8px 10px!important;
}

/* Light theme keeps the same compact surfaces and readable hierarchy. */
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact,
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact.spp-appointment-card--featured{
  background:#f7fafc!important;
  border-color:rgba(32,61,86,.16)!important;
  box-shadow:inset 3px 0 0 rgba(2,132,199,.20)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:hover,
.spp-root--customer[data-spp-theme="light"][data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact:focus-visible{
  background:#eef6fb!important;
  border-color:rgba(2,132,199,.25)!important;
  box-shadow:inset 3px 0 0 rgba(2,132,199,.62),0 8px 20px rgba(34,58,78,.07)!important;
}

@media(max-width:900px){
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact{
    grid-template-columns:54px minmax(0,1fr)!important;
  }
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-date--compact{width:54px!important;}
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-row-side{
    grid-column:2!important;
    min-width:0!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
}
@media(max-width:620px){
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-card--compact{
    gap:9px!important;
    padding:8px!important;
  }
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact{
    gap:3px 7px!important;
  }
  .spp-root--customer[data-spp-view="appointments"] .spp-customer-support-panel--upcoming .spp-appointment-meta--compact>span:nth-last-child(-n+1){display:none!important;}
}


/* =========================================================
   Smart Pro Portal 3.6.184 — Customer Booking Modal Compact Flow v1
   Portal composition only; Support Booking keeps booking authority.
   ========================================================= */
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-head{
  padding-top:14px!important;
  padding-bottom:12px!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-head .spp-eyebrow{
  font-size:9px!important;
  line-height:1.15!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-head h2{
  margin:2px 0 2px!important;
  font-size:23px!important;
  line-height:1.12!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-head .spp-sub{
  font-size:10.5px!important;
  line-height:1.35!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-body{
  padding:10px 14px 18px!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-body{
  gap:9px!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-customer-booking-steps{
  display:none!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-subscriber-card{
  margin-bottom:9px!important;
  padding:10px 11px!important;
  border-radius:13px!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-booking{
  padding:10px 11px!important;
  border-radius:13px!important;
}
.spp-root--customer .spp-customer-booking-modal .spsb-booking .spsb-section__head{
  margin-bottom:7px!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions{
  min-height:52px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}
.spp-root--customer .spp-customer-booking-modal .spp-followup-modal-actions .spp-btn{
  min-height:36px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}
@media(min-width:1000px){
  .spp-root--customer .spp-customer-booking-modal .spp-followup-modal-dialog{
    width:min(1120px,calc(100vw - 36px))!important;
    max-width:1120px!important;
    height:min(820px,calc(100dvh - 36px))!important;
    max-height:calc(100dvh - 36px)!important;
  }
}

/* =========================================================
   Smart Pro Portal 3.6.185 — Customer Full Installation Folder Compact Workspace v1
   ========================================================= */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace{
  display:grid;
  gap:14px;
  padding:22px;
  border:1px solid color-mix(in srgb,var(--spp-line) 94%,transparent);
  border-radius:28px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--spp-panel) 95%,transparent),color-mix(in srgb,var(--spp-panel-2) 89%,transparent));
  box-shadow:0 22px 60px rgba(0,0,0,.12);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-workspace{
  border-color:rgba(34,65,91,.13);
  background:linear-gradient(155deg,#f8fbfe,#f2f7fb);
  box-shadow:0 22px 58px rgba(37,63,86,.11);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head{
  min-height:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin:0!important;
  padding:2px 4px 4px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head h1{
  margin:4px 0 2px;
  font-size:clamp(30px,3.1vw,48px);
  line-height:.98;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head .spp-lead{margin:7px 0 0;font-size:13px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head .spp-page-head-actions{padding-top:2px;}

.spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tabs{
  display:flex;
  align-items:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  margin:0;
  padding:5px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:color-mix(in srgb,var(--spp-panel-2) 82%,transparent);
  overflow-x:auto;
  scrollbar-width:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tabs::-webkit-scrollbar{display:none;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tab{
  flex:0 0 auto;
  min-height:36px;
  padding:8px 14px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:var(--spp-muted);
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tab:hover,
.spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tab:focus-visible{
  color:var(--spp-text);
  border-color:color-mix(in srgb,var(--spp-cyan) 35%,var(--spp-line));
  background:color-mix(in srgb,var(--spp-cyan) 6%,var(--spp-panel));
  outline:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tab.is-active{
  color:color-mix(in srgb,var(--spp-cyan) 74%,var(--spp-text));
  border-color:color-mix(in srgb,var(--spp-cyan) 42%,var(--spp-line));
  background:color-mix(in srgb,var(--spp-cyan) 10%,var(--spp-panel));
  box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--spp-cyan) 80%,transparent);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-installation-folder-tabs{background:#eef4f8;border-color:rgba(34,65,91,.13);}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-installation-folder-tab.is-active{color:#086f90;background:#e8f7fc;border-color:rgba(23,145,186,.26);}
.spp-root--customer[data-spp-view="installation"] [data-spp-installation-folder-panel][hidden]{display:none!important;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-panel{min-width:0;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article{
  min-width:0;
  min-height:84px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  padding:11px 12px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:color-mix(in srgb,var(--spp-panel) 92%,transparent);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-kpis article{background:#fff;border-color:rgba(34,65,91,.13);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article>span{
  color:var(--spp-muted);font-size:8.5px;font-weight:850;letter-spacing:.055em;text-transform:uppercase;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article>strong{
  min-width:0;color:var(--spp-text);font-size:13px;line-height:1.25;overflow-wrap:anywhere;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article>strong.spp-status-badge--ok,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article>strong.spp-status-badge--warning,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article>strong.spp-status-badge--danger,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article>strong.spp-status-badge--neutral{
  width:max-content;max-width:100%;padding:0;border:0;background:transparent;box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article>small{color:var(--spp-muted);font-size:9px;line-height:1.3;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-card{min-width:0;padding:15px 16px;box-shadow:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-card .spp-card-head{margin-bottom:10px;padding-bottom:9px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-card .spp-card-head h2{font-size:17px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts>div{
  min-width:0;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:color-mix(in srgb,var(--spp-field) 70%,transparent);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts span{display:block;color:var(--spp-muted);font-size:8.5px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts strong{display:block;margin-top:3px;color:var(--spp-text);font-size:11.5px;line-height:1.3;overflow-wrap:anywhere;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-actions{display:flex;justify-content:flex-start;margin-top:10px;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-overview-facts>div{background:#f2f7fb;border-color:rgba(34,65,91,.12);}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-columns>section{min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-head{min-height:26px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-head strong{font-size:11px;color:var(--spp-text);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-head a,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-head span{font-size:8.5px;color:var(--spp-muted);text-decoration:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list{gap:5px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list>a,
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list>div{min-height:44px;padding:7px 9px;border-radius:9px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list strong{font-size:9.5px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list small,
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list em{font-size:8px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list .spp-status-badge{padding:5px 7px;font-size:8px;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-grid{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:12px;align-items:start;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-column{display:grid;gap:12px;min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-column>.spp-card,
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-list-card{margin:0;padding:15px 16px;box-shadow:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-column>.spp-card .spp-card-head,
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-list-card .spp-card-head{margin-bottom:9px;padding-bottom:8px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-column>.spp-card h2,
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-list-card h2{font-size:17px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-column .spp-detail-facts{gap:7px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-column .spp-detail-facts>div{min-height:60px;padding:9px 10px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-column .spp-support-wallet-foundation__note{font-size:10px;line-height:1.45;}

.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-files-card{margin:0;box-shadow:none;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile{padding:17px 18px;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile .spp-card-head{margin-bottom:12px;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section{padding-top:13px;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__form{gap:13px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-files-card{padding:18px;}

.spp-root--customer .spp-customer-installation-folder-hint{color:var(--spp-muted);font-size:9.5px;line-height:1.35;}

.spp-root--customer .spp-customer-pairing-modal .spp-followup-modal-dialog{width:min(620px,calc(100vw - 28px));}
.spp-root--customer .spp-customer-pairing-modal .spp-followup-modal-body{display:grid;gap:12px;}
.spp-root--customer .spp-customer-pairing-modal .spp-customer-pairing-form{display:grid;gap:10px;margin:0;}
.spp-root--customer .spp-customer-pairing-modal .spp-customer-pairing-form p{margin:0;color:var(--spp-muted);font-size:10.5px;line-height:1.45;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-modal .spp-followup-modal-dialog{background:#f8fbfe!important;color:#102033!important;border-color:rgba(34,65,91,.16)!important;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-modal .spp-followup-modal-head,
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-modal .spp-followup-modal-actions{background:#f8fbfe!important;border-color:rgba(34,65,91,.12)!important;}

@media(max-width:1120px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-grid,
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-support-grid{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace{padding:16px;border-radius:22px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head{display:grid;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head .spp-page-head-actions{justify-self:start;}
  .spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tabs{width:100%;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-columns{grid-template-columns:1fr;}
}
@media(max-width:520px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace{padding:12px;border-radius:18px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis{grid-template-columns:1fr 1fr;gap:6px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article{min-height:74px;padding:9px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="installation"] .spp-installation-folder-tab{padding:8px 11px;font-size:10px;}
}


/* Smart Pro Portal 3.6.186 — Customer Full Installation Folder Information Architecture Pass v2 */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px 12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile__placeholder{display:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid label{
  min-width:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid label>span{
  font-size:11px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid input:not([type="hidden"]),
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid select{
  min-height:44px;
  padding:9px 11px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid small{
  font-size:9.5px;
  line-height:1.35;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile__section{
  gap:10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile__notes-grid{
  gap:12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-guided-profile-field{
  padding:13px 14px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:12px;
  align-items:start;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column{
  min-width:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column>.spp-card{
  margin:0;
  padding:15px 16px;
  box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column>.spp-card .spp-card-head{
  margin-bottom:9px;
  padding-bottom:8px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column>.spp-card h2{
  font-size:17px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet .spp-detail-facts{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet .spp-detail-facts>div{
  min-height:58px;
  padding:9px 10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet .spp-support-wallet-foundation__note{
  font-size:9.5px;
  line-height:1.4;
  margin:8px 0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet .spp-subscription-safety-intro{
  margin-top:10px;
  padding:11px 12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet .spp-installation-support-recent{
  margin-top:12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:start;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid>.spp-card{
  margin:0;
  min-width:0;
  padding:15px 16px;
  box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid>.spp-card .spp-card-head{
  margin-bottom:9px;
  padding-bottom:8px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid>.spp-card h2{
  font-size:17px;
}
@media(max-width:1180px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:860px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid{
    grid-template-columns:1fr;
  }
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-entitlement-column--wallet .spp-detail-facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* Smart Pro Portal 3.6.187 — Customer Full Installation Folder Health + History Polish v1 */
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile{
  padding:15px 16px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile .spp-card-head{
  margin-bottom:8px;
  padding-bottom:8px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__form{gap:9px;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section{gap:7px;padding-top:8px;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section + .spp-installation-operational-profile__section{padding-top:10px;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-head{gap:2px;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-head>strong{font-size:14px;line-height:1.3;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-head>span{font-size:10.5px;line-height:1.35;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid{gap:7px 10px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid label{gap:4px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid label>span{
  font-size:10px;
  line-height:1.25;
  font-weight:850;
  letter-spacing:.01em;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid input:not([type="hidden"]),
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid select{
  min-height:40px;
  padding:7px 10px;
  border-radius:10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-form-grid small{
  font-size:8.7px;
  line-height:1.28;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__notes-grid{gap:10px;}
.spp-root--customer[data-spp-view="installation"] .spp-guided-profile-field{padding:11px 12px;gap:9px;}
.spp-root--customer[data-spp-view="installation"] .spp-guided-profile-choices{gap:6px;}
.spp-root--customer[data-spp-view="installation"] .spp-guided-profile-choice span{min-height:31px;padding:6px 9px;font-size:10.5px!important;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-installation-operational-profile .spp-form-grid label>span{
  color:#405a72!important;
  -webkit-text-fill-color:#405a72!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-installation-operational-profile .spp-form-grid label>span em{
  color:#5f7388!important;
  -webkit-text-fill-color:#5f7388!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-installation-operational-profile .spp-form-grid small{
  color:#5d7186!important;
}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
  padding:11px 13px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:rgba(255,255,255,.022);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__summary{display:flex;align-items:center;gap:10px;min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__dot{width:10px;height:10px;flex:0 0 10px;border-radius:999px;background:#64748b;box-shadow:0 0 0 4px rgba(100,116,139,.12);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__summary strong{display:block;color:var(--spp-text);font-size:12px;line-height:1.3;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__summary small{display:block;margin-top:2px;color:var(--spp-muted);font-size:9px;line-height:1.35;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals span{display:inline-flex;align-items:center;min-height:25px;padding:5px 8px;border:1px solid var(--spp-line);border-radius:999px;color:var(--spp-muted);background:rgba(255,255,255,.025);font-size:8.5px;font-weight:800;line-height:1.15;white-space:nowrap;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--ok{border-color:rgba(16,185,129,.28);background:rgba(16,185,129,.055);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--ok .spp-customer-installation-health__dot{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.13);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--info{border-color:rgba(14,165,233,.28);background:rgba(14,165,233,.05);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--info .spp-customer-installation-health__dot{background:#0ea5e9;box-shadow:0 0 0 4px rgba(14,165,233,.13);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--warning{border-color:rgba(245,158,11,.32);background:rgba(245,158,11,.06);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--warning .spp-customer-installation-health__dot{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.14);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--danger{border-color:rgba(239,68,68,.32);background:rgba(239,68,68,.055);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health--danger .spp-customer-installation-health__dot{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.13);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals .is-ok{border-color:rgba(16,185,129,.30);color:#86efc5;background:rgba(16,185,129,.09);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals .is-info{border-color:rgba(14,165,233,.30);color:#7dd3fc;background:rgba(14,165,233,.09);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals .is-warning{border-color:rgba(245,158,11,.34);color:#fcd34d;background:rgba(245,158,11,.10);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals .is-danger{border-color:rgba(239,68,68,.34);color:#fca5a5;background:rgba(239,68,68,.09);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article{position:relative;overflow:hidden;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:transparent;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-ok:before{background:#10b981;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-info:before{background:#0ea5e9;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-warning:before{background:#f59e0b;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-danger:before{background:#ef4444;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health{background:#fff;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health--ok{background:#f3fbf7;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health--info{background:#f2faff;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health--warning{background:#fff9ed;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health--danger{background:#fff5f5;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health__signals .is-ok{color:#0d7c59;background:#eefaf4;border-color:#a7dfc9;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health__signals .is-info{color:#0876a8;background:#edf8fd;border-color:#a9def4;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health__signals .is-warning{color:#8a5200;background:#fff7e6;border-color:#f1d394;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-health__signals .is-danger{color:#b42318;background:#fff0f0;border-color:#efb5b5;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-history-card{margin:0;padding:15px 16px;box-shadow:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-list{max-width:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:11px;padding-top:10px;border-top:1px solid var(--spp-line);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-pagination>:last-child{justify-self:end;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-pagination strong{color:var(--spp-muted);font-size:9px;font-weight:800;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-wallet-history{margin-top:7px;border-top:1px solid var(--spp-line);padding-top:7px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-wallet-history>summary{cursor:pointer;list-style:none;color:var(--spp-accent);font-size:9px;font-weight:850;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-wallet-history>summary::-webkit-details-marker{display:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-wallet-history>summary:after{content:' +';}
.spp-root--customer[data-spp-view="installation"] .spp-customer-wallet-history[open]>summary:after{content:' −';}
.spp-root--customer[data-spp-view="installation"] .spp-customer-wallet-history>.spp-compact-list{margin-top:7px;}

@media(max-width:900px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health{align-items:flex-start;flex-direction:column;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals{justify-content:flex-start;}
}
@media(max-width:620px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signals span{white-space:normal;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-pagination{grid-template-columns:1fr 1fr;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-pagination strong{grid-column:1/-1;grid-row:1;text-align:center;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-pagination>:first-child{grid-column:1;grid-row:2;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-folder-history-pagination>:last-child{grid-column:2;grid-row:2;}
}

/* 3.6.188 Customer Portal Installation-First Migration Foundation v1 */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-hub-actions{
  display:flex;flex-wrap:wrap;gap:7px;margin:9px 0 12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-hub-actions .spp-btn{
  min-height:34px;padding:7px 11px;font-size:9.5px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article{
  min-width:0;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;background:var(--spp-panel);color:var(--spp-text);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights span{
  display:block;color:var(--spp-muted);font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights strong{
  display:block;margin-top:4px;color:var(--spp-text);font-size:15px;line-height:1.25;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights small{
  display:block;margin-top:3px;color:var(--spp-muted);font-size:11px;line-height:1.35;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-ok{border-color:rgba(16,185,129,.46);background:linear-gradient(180deg,rgba(16,185,129,.16),var(--spp-panel));}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-warning{border-color:rgba(245,158,11,.55);background:linear-gradient(180deg,rgba(245,158,11,.16),var(--spp-panel));}
.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-info{border-color:rgba(14,165,233,.5);background:linear-gradient(180deg,rgba(14,165,233,.16),var(--spp-panel));}
@media(max-width:900px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-rights{grid-template-columns:repeat(2,minmax(0,1fr));}
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops{
  margin:12px 0 0;padding:15px 16px;box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops .spp-card-head{
  margin-bottom:10px;padding-bottom:9px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops h2{font-size:17px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts>div{
  min-width:0;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:color-mix(in srgb,var(--spp-field) 70%,transparent);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts>div{
  background:#f4f8fb;border-color:rgba(34,65,91,.12);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts span{
  display:block;color:var(--spp-muted);font-size:8.3px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts strong{
  display:block;margin-top:3px;color:var(--spp-text);font-size:10.5px;line-height:1.3;overflow-wrap:anywhere;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops .spp-notice{margin:9px 0 0;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions{
  display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;background:color-mix(in srgb,var(--spp-panel) 92%,transparent);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-activity-actions{background:#fff;border-color:rgba(34,65,91,.13);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions>div:first-child{min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions strong{display:block;color:var(--spp-text);font-size:11px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions span{display:block;margin-top:2px;color:var(--spp-muted);font-size:9px;line-height:1.35;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions .spp-btn{min-height:32px;padding:6px 10px;font-size:9px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three .spp-customer-folder-list-card{min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three .spp-card-head{align-items:flex-start;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three .spp-card-head .spp-status-link{font-size:8.5px;white-space:nowrap;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-preview{display:grid;gap:5px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-row{
  min-width:0;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid var(--spp-line);border-radius:9px;background:color-mix(in srgb,var(--spp-field) 66%,transparent);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-folder-appointment-row{background:#f3f7fa;border-color:rgba(34,65,91,.12);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-row>span:first-child{min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-row strong{display:block;color:var(--spp-text);font-size:9.5px;line-height:1.25;overflow-wrap:anywhere;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-row small{display:block;margin-top:2px;color:var(--spp-muted);font-size:8px;line-height:1.25;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-row .spp-status-badge{flex:0 0 auto;padding:5px 7px;font-size:8px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-history{display:grid;gap:6px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail{border:1px solid var(--spp-line);border-radius:10px;background:color-mix(in srgb,var(--spp-field) 58%,transparent);overflow:hidden;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-folder-appointment-detail{background:#f7fafc;border-color:rgba(34,65,91,.12);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail>summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;min-height:48px;padding:8px 10px;cursor:pointer;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail>summary::-webkit-details-marker{display:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail>summary strong{display:block;color:var(--spp-text);font-size:10px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail>summary small{display:block;margin-top:2px;color:var(--spp-muted);font-size:8.5px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail[open] .spp-customer-row-chevron{transform:rotate(180deg);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px;border-top:1px solid var(--spp-line);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail__body>div{min-width:0;padding:8px 9px;border:1px solid var(--spp-line);border-radius:9px;background:color-mix(in srgb,var(--spp-panel) 80%,transparent);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail__body>div.is-wide{grid-column:1/-1;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail__body span{display:block;color:var(--spp-muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail__body strong{display:block;margin-top:3px;color:var(--spp-text);font-size:9.5px;line-height:1.35;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px;align-items:start;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-card{margin:0;padding:16px;box-shadow:none;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-card .spp-card-head{margin-bottom:10px;padding-bottom:9px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-card h2{font-size:17px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-empty{padding:12px;border:1px dashed var(--spp-line);border-radius:11px;background:color-mix(in srgb,var(--spp-field) 58%,transparent);}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-document-empty{background:#f6f9fc;border-color:rgba(34,65,91,.16);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-empty strong{display:block;color:var(--spp-text);font-size:11px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-empty span{display:block;margin-top:5px;color:var(--spp-muted);font-size:9.5px;line-height:1.45;}

@media(max-width:1120px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three .spp-customer-folder-list-card:last-child{grid-column:1/-1;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:800px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions{align-items:flex-start;flex-direction:column;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-actions>div:last-child{justify-content:flex-start;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--three .spp-customer-folder-list-card:last-child{grid-column:auto;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail__body{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-detail__body>div.is-wide{grid-column:auto;}
}
/* 3.6.189 Customer Full Folder Persistent Installation Context Bar v1 */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-common{
  display:grid;gap:10px;min-width:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-common .spp-customer-installation-hub-actions{
  margin:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-common .spp-customer-installation-folder-kpis{
  margin:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-common + .spp-customer-installation-folder-tabs{
  margin-top:0;
}
.spp-root--customer[data-spp-view="installation"] #spp-customer-support-wallet{
  scroll-margin-top:18px;
}

/* =========================================================
   Smart Pro Portal 3.6.191 — Customer Full Folder UX Consolidation v1
   Presentation-only consolidation around the verified installation workspace.
   ========================================================= */

/* Three persistent installation actions now form one clear primary action group. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-hub-actions{
  gap:8px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-hub-actions .spp-btn{
  min-height:38px;
  padding:8px 13px;
  border-radius:10px;
  font-size:10px;
  font-weight:800;
}

/* Semantic KPI perimeter treatment replaces the old single left stripe. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article:before{
  display:none!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article{
  border-width:1px;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-ok{
  border-color:rgba(16,185,129,.46);
  box-shadow:0 0 0 1px rgba(16,185,129,.10),0 0 18px rgba(16,185,129,.10);
  background:linear-gradient(180deg,rgba(16,185,129,.045),rgba(255,255,255,.018));
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-info{
  border-color:rgba(14,165,233,.48);
  box-shadow:0 0 0 1px rgba(14,165,233,.10),0 0 18px rgba(14,165,233,.10);
  background:linear-gradient(180deg,rgba(14,165,233,.045),rgba(255,255,255,.018));
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-warning{
  border-color:rgba(245,158,11,.50);
  box-shadow:0 0 0 1px rgba(245,158,11,.10),0 0 18px rgba(245,158,11,.09);
  background:linear-gradient(180deg,rgba(245,158,11,.045),rgba(255,255,255,.018));
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-danger{
  border-color:rgba(239,68,68,.50);
  box-shadow:0 0 0 1px rgba(239,68,68,.11),0 0 18px rgba(239,68,68,.10);
  background:linear-gradient(180deg,rgba(239,68,68,.05),rgba(255,255,255,.018));
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-ok{
  background:#fff;
  box-shadow:0 0 0 1px rgba(16,185,129,.11),0 7px 22px rgba(16,185,129,.08);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-info{
  background:#fff;
  box-shadow:0 0 0 1px rgba(14,165,233,.11),0 7px 22px rgba(14,165,233,.08);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-warning{
  background:#fff;
  box-shadow:0 0 0 1px rgba(245,158,11,.11),0 7px 22px rgba(245,158,11,.08);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-danger{
  background:#fff;
  box-shadow:0 0 0 1px rgba(239,68,68,.11),0 7px 22px rgba(239,68,68,.08);
}

/* Event rows are inspectable controls; detail stays inside the Full Folder. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-compact-list>button{
  min-height:44px;
  padding:7px 9px;
  border:1px solid var(--spp-line);
  border-radius:9px;
  background:color-mix(in srgb,var(--spp-field) 66%,transparent);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-folder-compact-list>button{
  background:#f3f7fa;
  border-color:rgba(34,65,91,.12);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-event-row{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 12px;
  align-items:center;
  gap:8px;
  appearance:none;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-event-row:hover,
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-event-row:focus-visible{
  border-color:rgba(14,165,233,.42);
  box-shadow:0 0 0 2px rgba(14,165,233,.08);
  outline:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-appointment-row{
  width:100%;
  appearance:none;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}

/* Installation profile: two compact cards + one full-width operational notes card. */
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile--split{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile--split>.spp-installation-operational-profile__head{
  margin:0 0 11px;
  padding:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__form{
  gap:12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__primary-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:12px;
  align-items:start;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card{
  min-width:0;
  margin:0;
  padding:15px 16px;
  box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card .spp-installation-operational-profile__section-head{
  margin-bottom:10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card .spp-installation-operational-profile__section-head>strong{
  font-size:13px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card .spp-installation-operational-profile__section-head>span{
  font-size:9.5px;
  line-height:1.4;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-profile-location-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-profile-access-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-profile-access-grid .is-wide{
  grid-column:1/-1;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card--notes{
  width:100%;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card--notes .spp-installation-operational-profile__notes-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card--notes .spp-guided-profile-field{
  min-height:100%;
  padding:12px 13px;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__footer{
  padding:10px 2px 0;
}

/* Operational subscription strip is now the first item in the local entitlement view. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-subscription-ops{
  margin:0 0 12px;
}

/* Four installation-scoped activity histories, balanced as a 2x2 desktop grid. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--four{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--four .spp-customer-folder-list-card{
  min-width:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--four .spp-card-head{
  align-items:flex-start;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--four .spp-card-head .spp-status-link{
  font-size:8.5px;
  white-space:nowrap;
}

/* Customer top-up modal: choices appear only on demand from the persistent + Προσθήκη χρόνου action. */
.spp-root--customer .spp-customer-topup-modal .spp-followup-modal-dialog{
  width:min(760px,calc(100vw - 28px));
}
.spp-root--customer .spp-customer-topup-modal .spp-followup-modal-body{
  display:grid;
  gap:12px;
}
.spp-root--customer .spp-customer-topup-modal__summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.spp-root--customer .spp-customer-topup-modal__summary>div,
.spp-root--customer .spp-customer-topup-options form{
  min-width:0;
  border:1px solid var(--spp-line);
  border-radius:11px;
  background:color-mix(in srgb,var(--spp-field) 70%,transparent);
}
.spp-root--customer .spp-customer-topup-modal__summary>div{
  padding:10px 11px;
}
.spp-root--customer .spp-customer-topup-modal__summary span{
  display:block;
  color:var(--spp-muted);
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-topup-modal__summary strong{
  display:block;
  margin-top:3px;
  color:var(--spp-text);
  font-size:11px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-topup-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.spp-root--customer .spp-customer-topup-options form{
  margin:0;
  padding:0;
  overflow:hidden;
}
.spp-root--customer .spp-customer-topup-option{
  width:100%;
  min-height:82px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:3px;
  padding:11px 12px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--spp-text);
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:background .15s ease,box-shadow .15s ease;
}
.spp-root--customer .spp-customer-topup-option:hover,
.spp-root--customer .spp-customer-topup-option:focus-visible{
  background:rgba(14,165,233,.08);
  box-shadow:inset 0 0 0 1px rgba(14,165,233,.28);
  outline:none;
}
.spp-root--customer .spp-customer-topup-option>span{
  color:#38bdf8;
  font-size:16px;
  font-weight:900;
  line-height:1.1;
}
.spp-root--customer .spp-customer-topup-option strong{
  font-size:12px;
  line-height:1.25;
}
.spp-root--customer .spp-customer-topup-option small{
  color:var(--spp-muted);
  font-size:8.5px;
  font-weight:650;
  line-height:1.3;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-topup-modal__summary>div,
.spp-root--customer[data-spp-theme="light"] .spp-customer-topup-options form{
  background:#f5f9fc;
  border-color:rgba(34,65,91,.12);
}

/* Shared read-only detail modal for request, appointment, support session and wallet usage inspection. */
.spp-root--customer .spp-customer-folder-detail-modal .spp-followup-modal-dialog{
  width:min(700px,calc(100vw - 28px));
}
.spp-root--customer .spp-customer-folder-detail-modal .spp-followup-modal-body{
  display:grid;
  gap:11px;
}
.spp-root--customer .spp-customer-folder-detail-status{
  display:flex;
  justify-content:flex-start;
}
.spp-root--customer .spp-customer-folder-detail-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.spp-root--customer .spp-customer-folder-detail-facts>div{
  min-width:0;
  padding:9px 10px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:color-mix(in srgb,var(--spp-field) 68%,transparent);
}
.spp-root--customer .spp-customer-folder-detail-facts span,
.spp-root--customer .spp-customer-folder-detail-description>span{
  display:block;
  color:var(--spp-muted);
  font-size:8.3px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-folder-detail-facts strong{
  display:block;
  margin-top:3px;
  color:var(--spp-text);
  font-size:10.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-folder-detail-description{
  padding:10px 11px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:color-mix(in srgb,var(--spp-field) 58%,transparent);
}
.spp-root--customer .spp-customer-folder-detail-description p{
  margin:5px 0 0;
  color:var(--spp-text);
  font-size:10.5px;
  line-height:1.5;
  white-space:pre-wrap;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-folder-detail-facts>div,
.spp-root--customer[data-spp-theme="light"] .spp-customer-folder-detail-description{
  background:#f5f9fc;
  border-color:rgba(34,65,91,.12);
}

@media(max-width:980px){
  .spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__primary-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-activity-grid--four{
    grid-template-columns:1fr;
  }
  .spp-root--customer .spp-customer-topup-modal__summary,
  .spp-root--customer .spp-customer-topup-options{
    grid-template-columns:1fr;
  }
}
@media(max-width:620px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-profile-location-grid,
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-profile-access-grid,
  .spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__section-card--notes .spp-installation-operational-profile__notes-grid,
  .spp-root--customer .spp-customer-folder-detail-facts{
    grid-template-columns:1fr;
  }
  .spp-root--customer[data-spp-view="installation"] .spp-installation-profile-access-grid .is-wide{
    grid-column:auto;
  }
}



/* =========================================================
   Smart Pro Portal 3.6.192 — Customer Contrast + Installations Workspace Tabs
   ========================================================= */

/* Account-level Installations navigation: active installations and future Studio projects are peers, not stacked cards. */
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-shortcuts .spp-btn{max-width:100%;height:auto;white-space:normal}
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tabs{
  display:inline-flex;
  align-items:center;
  gap:4px;
  width:max-content;
  max-width:100%;
  padding:4px;
  border:1px solid rgba(34,65,91,.14);
  border-radius:14px;
  background:rgba(239,246,250,.88);
  box-shadow:0 8px 22px rgba(28,55,79,.06);
}
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tab{
  min-height:36px;
  padding:8px 14px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#486279;
  font:inherit;
  font-size:10px;
  font-weight:850;
  line-height:1.2;
  cursor:pointer;
  transition:color .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tab:hover,
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tab:focus-visible{
  color:#155f88;
  background:#f8fcfe;
  outline:none;
}
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tab.is-active{
  color:#0f5f88;
  background:#fff;
  border-color:rgba(14,165,233,.28);
  box-shadow:0 2px 8px rgba(28,78,109,.08),inset 0 -2px 0 rgba(14,165,233,.56);
}
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tab-panel{
  display:grid;
  gap:12px;
  min-width:0;
}
.spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tab-panel[hidden]{display:none!important;}
.spp-root--customer[data-spp-view="installations"] .spp-customer-future-projects-card{margin:0;}

/* Customer modal backdrop is intentionally neutral and invariant on hover/focus. This prevents button-hover rules from turning the full viewport blue. */
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-backdrop,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-backdrop:hover,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-backdrop:focus,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-backdrop:focus-visible,
.spp-root--customer[data-spp-theme="light"] .spp-drawer .spp-drawer-backdrop,
.spp-root--customer[data-spp-theme="light"] .spp-drawer .spp-drawer-backdrop:hover,
.spp-root--customer[data-spp-theme="light"] .spp-drawer .spp-drawer-backdrop:focus,
.spp-root--customer[data-spp-theme="light"] .spp-drawer .spp-drawer-backdrop:focus-visible{
  background:rgba(18,35,52,.34)!important;
  backdrop-filter:blur(3px)!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-dialog,
.spp-root--customer[data-spp-theme="light"] .spp-customer-pairing-modal .spp-followup-modal-dialog,
.spp-root--customer[data-spp-theme="light"] .spp-customer-folder-detail-modal .spp-followup-modal-dialog,
.spp-root--customer[data-spp-theme="light"] .spp-customer-topup-modal .spp-followup-modal-dialog{
  color:#102033!important;
  background:#fff!important;
  border-color:rgba(34,65,91,.16)!important;
  box-shadow:0 28px 84px rgba(26,50,72,.24)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-head,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-actions{
  background:#f8fbfd!important;
  border-color:rgba(34,65,91,.12)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-head h2{color:#102033!important;}
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-head .spp-sub,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-body>p,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-customer-pairing-form p{
  color:#587188!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-x{
  color:#35546c!important;
  background:#f3f7fa!important;
  border-color:rgba(30,58,82,.18)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-x:hover,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-followup-modal-x:focus-visible{
  color:#174f70!important;
  background:#eaf3f8!important;
  border-color:rgba(14,116,160,.28)!important;
  outline:none!important;
}

/* Informational notices in customer Light Mode must remain readable, including the New Request no-charge notice. */
.spp-root--customer[data-spp-theme="light"] .spp-notice.spp-notice--info,
.spp-root--customer[data-spp-theme="light"] .spp-followup-modal .spp-notice.spp-notice--info{
  color:#185c7d!important;
  background:#e8f5fb!important;
  border-color:rgba(18,112,151,.24)!important;
  box-shadow:none!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-notice.spp-notice--info strong,
.spp-root--customer[data-spp-theme="light"] .spp-notice.spp-notice--info span,
.spp-root--customer[data-spp-theme="light"] .spp-notice.spp-notice--info p,
.spp-root--customer[data-spp-theme="light"] .spp-notice.spp-notice--info a:not(.spp-btn){
  color:#185c7d!important;
}

/* Consistent data hierarchy: dark/neutral labels, Smart Pro blue values. Scoped to fact-style information surfaces, never headings or status badges. */
.spp-root--customer[data-spp-theme="light"] :is(
  .spp-detail-facts,
  .spp-subscription-facts,
  .spp-customer-installation-subscription-ops__facts,
  .spp-customer-topup-modal__summary,
  .spp-customer-folder-detail-facts,
  .spp-account-checks,
  .spp-installation-mini-summary
) > div > span{
  color:#334d63!important;
}
.spp-root--customer[data-spp-theme="light"] :is(
  .spp-detail-facts,
  .spp-subscription-facts,
  .spp-customer-installation-subscription-ops__facts,
  .spp-customer-topup-modal__summary,
  .spp-customer-folder-detail-facts,
  .spp-account-checks,
  .spp-installation-mini-summary
) > div > strong{
  color:#21688f!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-subscription-ops__facts strong,
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-subscription-core-card .spp-subscription-facts strong,
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-support-wallet .spp-detail-facts strong{
  color:#21688f!important;
}


/* 3.6.193 — Activity status/value alignment before the shared local-detail chevron. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-event-row>span:first-child{min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-event-row>:nth-child(2){justify-self:end;text-align:right;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-event-row>.spp-status-badge{white-space:nowrap;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-folder-event-row::after{justify-self:end;}

/* Detail rows make the local-inspection behavior visually discoverable in all four Activity histories. */
.spp-root--customer[data-spp-view="installation"] [data-spp-folder-detail]{position:relative;}
.spp-root--customer[data-spp-view="installation"] [data-spp-folder-detail]::after{
  content:'›';
  flex:0 0 auto;
  margin-left:3px;
  color:#4b91b8;
  font-size:14px;
  font-weight:800;
  line-height:1;
  opacity:.72;
}
.spp-root--customer[data-spp-view="installation"] [data-spp-folder-detail]:hover::after,
.spp-root--customer[data-spp-view="installation"] [data-spp-folder-detail]:focus-visible::after{opacity:1;}

@media(max-width:760px){
  .spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tabs{display:grid;width:100%;grid-template-columns:1fr 1fr;}
  .spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tab{padding:8px 9px;}
}
@media(max-width:520px){
  .spp-root--customer[data-spp-view="installations"] .spp-customer-installations-tabs{grid-template-columns:1fr;}
}


/* 3.6.194 — Full Folder final polish: explicit combobox, consolidated subscription, modal action reset. */
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox:after{content:none!important;}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox>input[type="text"]{padding-right:42px;}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__toggle{
  position:absolute;top:50%;right:6px;z-index:3;transform:translateY(-50%);
  width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;
  border:0;border-radius:8px;background:transparent;color:#21688f;font-size:18px;font-weight:900;
  cursor:pointer;line-height:1;box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__toggle:hover,
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__toggle:focus-visible{
  background:rgba(33,104,143,.09);outline:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox.is-open .spp-profile-combobox__toggle{transform:translateY(-50%) rotate(180deg);}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__panel{
  position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:50;
  max-height:260px;overflow:auto;padding:6px;border:1px solid rgba(34,65,91,.18);
  border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(18,42,62,.18);
}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__panel[hidden]{display:none!important;}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__option{
  width:100%;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#18344b;text-align:left;cursor:pointer;
}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__option:hover,
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__option:focus-visible{background:#edf6fb;outline:none;}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__option.is-selected{background:#e2f2f9;color:#155e82;font-weight:800;}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__option span{min-width:0;overflow-wrap:anywhere;}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__option small{color:#657f94;font-size:9px;font-weight:800;}
.spp-root--customer[data-spp-view="installation"] .spp-profile-combobox__empty{padding:10px;color:#657f94;font-size:10px;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card{
  margin:0;padding:15px 16px;box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card .spp-card-head{
  align-items:flex-start;margin-bottom:10px;padding-bottom:9px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card h2{font-size:17px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__actions{
  display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__actions .spp-btn{
  min-height:32px;padding:6px 9px;font-size:9px;white-space:nowrap;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__facts{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__facts>div{
  min-width:0;min-height:58px;padding:9px 10px;border:1px solid var(--spp-line);border-radius:10px;background:var(--spp-field);color:var(--spp-text);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__facts span{
  color:var(--spp-muted);font-size:8.3px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__facts strong{
  display:block;margin-top:3px;color:var(--spp-text);font-size:10.5px;line-height:1.3;overflow-wrap:anywhere;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card .spp-notice{margin:9px 0 0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card .spp-subscription-entitlements{margin-top:10px;}

.spp-root--customer[data-spp-view="installation"] [data-spp-folder-detail-action][hidden]{display:none!important;}

.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts>div:last-child:nth-child(5){
  grid-column:1/-1;
}

@media(max-width:760px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__actions{align-items:flex-start;width:100%;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__facts{grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts>div:last-child:nth-child(5){grid-column:auto;}
}

/* =========================================================
   Smart Pro Portal 3.6.195 — Full Folder Subscriber Booking Progressive Modal v1
   Pairs with Support Booking 0.3.24; booking authority remains external.
   ========================================================= */
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive{
  padding:16px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spp-followup-modal-dialog{
  width:min(920px,calc(100vw - 32px))!important;
  max-width:920px!important;
  height:min(780px,calc(100dvh - 32px))!important;
  max-height:calc(100dvh - 32px)!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spp-followup-modal-head{
  padding:13px 16px 11px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spp-followup-modal-head h2{
  font-size:22px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spp-followup-modal-body{
  padding:10px 14px 16px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  margin:0 0 8px!important;
  padding:8px 9px!important;
  border-radius:12px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card__copy,
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card__installation{
  display:none!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card__facts{
  display:grid!important;
  grid-template-columns:1.35fr .75fr .9fr!important;
  gap:6px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card__facts span{
  min-height:44px!important;
  padding:7px 8px!important;
  border-radius:9px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card__facts small{
  font-size:7.6px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card__facts strong{
  margin-top:2px!important;
  font-size:9.8px!important;
  line-height:1.25!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-policy{
  min-height:0!important;
  margin:0!important;
  padding:7px 9px!important;
  border-radius:9px!important;
  font-size:8.5px!important;
  line-height:1.35!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-booking{
  padding:10px!important;
  border-radius:12px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-booking .spsb-section__head{
  margin-bottom:7px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-booking .spsb-section__head h2{
  margin:2px 0!important;
  font-size:19px!important;
  line-height:1.15!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-booking__legacy-note,
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-booking__time-context{
  margin:3px 0 0!important;
  font-size:9px!important;
  line-height:1.35!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__result{
  display:grid;
  gap:8px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__result[hidden]{display:none!important;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__suggested{
  min-height:42px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:2px 12px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__suggested>span{
  grid-row:1/-1!important;
  font-size:7.6px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__suggested>strong{
  font-size:11px!important;
  line-height:1.25!important;
  text-align:right!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__suggested>small{
  font-size:8px!important;
  text-align:right!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__options-wrap>span{
  display:none!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-smart-calendar--subscriber-progressive .spsb-smart-calendar__calendar,
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-smart-calendar--subscriber-progressive .spsb-smart-calendar__times{
  padding:10px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__selection{
  padding:8px 10px!important;
  border-radius:10px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-revalidation{
  margin-top:0!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-revalidation__button{
  min-height:38px!important;
  padding:8px 12px!important;
  font-size:10px!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-availability__note{
  margin:0!important;
  padding:7px 8px!important;
  font-size:8.2px!important;
  line-height:1.35!important;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spp-followup-modal-actions{
  min-height:48px!important;
  padding:7px 14px!important;
}
@media(max-width:760px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive{padding:8px!important;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spp-followup-modal-dialog{
    width:calc(100vw - 16px)!important;
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
  }
  .spp-root--customer[data-spp-view="installation"] .spp-customer-booking-modal--progressive .spsb-subscriber-card__facts{
    grid-template-columns:1fr!important;
  }
}

/* Smart Pro Portal 3.6.197 — Package capability canonical contract + Settings safety. */
.spp-settings-confirm-modal{z-index:1000005!important;}
.spp-root--admin .spp-package-action-contract{display:grid;gap:10px;margin:12px 0 14px;padding:12px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(80,190,235,.045);}
.spp-root--admin .spp-package-action-contract__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.spp-root--admin .spp-package-action-contract__head>div{display:grid;gap:3px;min-width:0;}
.spp-root--admin .spp-package-action-contract__head strong{font-size:12px;}
.spp-root--admin .spp-package-action-contract__head small{max-width:760px;color:var(--spp-muted);font-size:9px;line-height:1.45;}
.spp-root--admin .spp-package-action-contract__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.spp-root--admin .spp-package-action-contract__grid>div{display:grid;gap:7px;padding:10px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.018);}
.spp-root--admin .spp-package-action-contract__grid>div>strong{font-size:10px;line-height:1.35;}
.spp-root--admin .spp-package-action-contract__grid span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:5px;border-top:1px solid rgba(128,154,180,.12);}
.spp-root--admin .spp-package-action-contract__grid small{color:var(--spp-muted);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.spp-root--admin .spp-package-action-contract__grid b{font-size:9px;text-align:right;}
.spp-root--admin .spp-entitlement-savebar em{display:block;margin-top:4px;color:var(--spp-muted);font-size:9px;font-style:normal;font-weight:800;}
.spp-root--admin .spp-entitlement-savebar em.is-dirty{color:#f4a340;}
.spp-root--admin .spp-entitlement-reset-form{margin-top:10px;}
.spp-root--admin .spp-entitlement-resetbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px dashed rgba(148,163,184,.28);border-radius:11px;background:rgba(255,255,255,.012);}
.spp-root--admin .spp-entitlement-resetbar>div{display:grid;gap:3px;}
.spp-root--admin .spp-entitlement-resetbar strong{font-size:10px;}
.spp-root--admin .spp-entitlement-resetbar span{color:var(--spp-muted);font-size:9px;line-height:1.4;}
.spp-root--admin .spp-entitlement-resetbar .spp-btn[disabled]{opacity:.48;cursor:not-allowed;}
.spp-root--admin[data-spp-theme="light"] .spp-package-action-contract,.spp-root--admin[data-spp-theme="light"] .spp-package-action-contract__grid>div,.spp-root--admin[data-spp-theme="light"] .spp-entitlement-resetbar{background:#f8fbfd;border-color:rgba(30,58,82,.16);}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-change-policy{background:#f8fbfd!important;border-color:rgba(30,58,82,.16)!important;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-change-policy__head>div span,.spp-root--admin[data-spp-theme="light"] .spp-subscription-change-policy__rows span{color:#61788c!important;opacity:1!important;}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-change-policy__rows strong{color:#17324a!important;}
.spp-root--admin[data-spp-theme="light"] .spp-entitlement-matrix tbody th strong{color:#17324a!important;}
.spp-root--admin[data-spp-theme="light"] .spp-entitlement-matrix tbody th small{color:#63788d!important;}
@media(max-width:820px){.spp-root--admin .spp-package-action-contract__grid{grid-template-columns:1fr}.spp-root--admin .spp-entitlement-resetbar{align-items:stretch;flex-direction:column}.spp-root--admin .spp-entitlement-resetbar .spp-btn{width:100%;}}



/* Smart Pro Portal 3.6.198 — verified package-save confirmation polish. */
.spp-settings-confirm-modal .spp-followup-modal-backdrop,
.spp-settings-confirm-modal .spp-followup-modal-backdrop:hover,
.spp-settings-confirm-modal .spp-followup-modal-backdrop:focus,
.spp-settings-confirm-modal .spp-followup-modal-backdrop:focus-visible{
  background:rgba(2,8,18,.78)!important;
  backdrop-filter:blur(5px)!important;
  border:0!important;box-shadow:none!important;outline:0!important;filter:none!important;
}

/* 3.6.224 Service Delivery Operations / customer package prototype — Admin QA only */
.spp-service-delivery-ops .spp-sdov1-init-form{margin:16px 0 22px;padding:16px;border:1px solid var(--spp-line);border-radius:16px;background:rgba(255,255,255,.018)}
.spp-customer-package-prototype{display:grid;gap:16px;margin-top:24px;padding:18px;border:1px solid rgba(0,212,255,.18);border-radius:20px;background:linear-gradient(145deg,rgba(12,22,39,.96),rgba(8,16,30,.98))}
.spp-customer-package-prototype__hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(230px,.55fr);gap:16px;align-items:stretch}
.spp-customer-package-prototype__hero h3{margin:5px 0 7px;color:#fff;font-size:25px;letter-spacing:-.3px}
.spp-customer-package-prototype__hero p{margin:0;max-width:780px;color:var(--spp-muted);font-size:13px;line-height:1.6}
.spp-customer-package-prototype__package{display:grid;align-content:center;gap:5px;padding:16px 18px;border:1px solid rgba(0,212,255,.2);border-radius:16px;background:rgba(0,212,255,.055)}
.spp-customer-package-prototype__package span{color:var(--spp-muted);font-size:9px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}
.spp-customer-package-prototype__package strong{color:#fff;font-size:15px}.spp-customer-package-prototype__package em{color:#7ee8ff;font-size:11px;font-style:normal;font-weight:800}
.spp-customer-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.spp-customer-service-card{display:grid;gap:9px;min-height:168px;padding:16px;border:1px solid var(--spp-line);border-radius:17px;background:rgba(255,255,255,.022)}
.spp-customer-service-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.spp-customer-service-card__head>strong{color:#dfeaff;font-size:11px;line-height:1.35}.spp-customer-service-card__head>span{flex:none;padding:5px 8px;border-radius:999px;background:rgba(126,153,201,.09);color:#aebbd4;font-size:9px;font-weight:900;white-space:nowrap}
.spp-customer-service-card h4{margin:2px 0 0;color:#fff;font-size:17px;line-height:1.35}.spp-customer-service-card p{margin:0;color:var(--spp-muted);font-size:11px;line-height:1.55}.spp-customer-service-card>small{margin-top:auto;color:#b7c6df;font-size:10px;font-weight:800}
.spp-customer-service-card--success{border-color:rgba(52,211,153,.24)}.spp-customer-service-card--success .spp-customer-service-card__head>span{background:rgba(52,211,153,.11);color:#8ff4cc}
.spp-customer-service-card--info{border-color:rgba(0,212,255,.24)}.spp-customer-service-card--info .spp-customer-service-card__head>span{background:rgba(0,212,255,.10);color:#7ee8ff}
.spp-customer-service-card--warning{border-color:rgba(245,194,66,.24)}.spp-customer-service-card--warning .spp-customer-service-card__head>span{background:rgba(245,194,66,.10);color:#ffe088}
@media(max-width:820px){.spp-customer-package-prototype__hero,.spp-customer-service-grid{grid-template-columns:1fr}}

/* 3.6.225 Service Delivery Queue/Calendar + Customer Package Preview v2 — Admin QA only */
.spp-service-delivery-ops .spp-tools-control-check,
.spp-service-delivery-queue .spp-tools-control-check{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:10px 0!important;border:0!important;background:transparent!important}
.spp-service-delivery-ops .spp-tools-control-check>input[type="checkbox"],
.spp-service-delivery-queue .spp-tools-control-check>input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;margin:2px 0 0!important;padding:0!important;border-radius:3px!important;box-shadow:none!important;transform:none!important}
.spp-service-delivery-ops .spp-tools-control-check>span,
.spp-service-delivery-queue .spp-tools-control-check>span{display:grid!important;gap:3px!important;min-width:0!important}
.spp-service-delivery-ops .spp-tools-control-check>span strong,
.spp-service-delivery-queue .spp-tools-control-check>span strong{font-size:11px!important;line-height:1.35!important}
.spp-service-delivery-ops .spp-tools-control-check>span small,
.spp-service-delivery-queue .spp-tools-control-check>span small{font-size:10px!important;line-height:1.45!important;color:var(--spp-muted)!important}
.spp-sdqv1-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.spp-sdqv1-ops-grid>article{min-width:0;padding:17px;border:1px solid var(--spp-line);border-radius:17px;background:rgba(255,255,255,.018)}
.spp-sdqv1-ops-grid h3,.spp-sdqv1-ledger h3{margin:5px 0 8px;color:#fff;font-size:17px}.spp-sdqv1-ops-grid p{margin:0 0 10px;color:var(--spp-muted);font-size:11px;line-height:1.55}
.spp-sdqv1-empty{display:grid;gap:5px;margin-top:12px;padding:14px;border:1px solid rgba(52,211,153,.18);border-radius:14px;background:rgba(52,211,153,.045)}
.spp-sdqv1-empty strong{color:#a7f3d0;font-size:12px}.spp-sdqv1-empty span{color:var(--spp-muted);font-size:10px;line-height:1.5}
.spp-sdqv1-action-form,.spp-sdqv1-schedule-form{display:grid;gap:10px;margin-top:12px}
.spp-sdqv1-schedule-form>label:not(.spp-tools-control-check){display:grid;gap:5px}.spp-sdqv1-schedule-form>label>span{color:#dce8fb;font-size:10px;font-weight:800}
.spp-sdqv1-schedule-form select,.spp-sdqv1-schedule-form input[type="datetime-local"],.spp-sdqv1-schedule-form textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.045);color:#fff;font:inherit;box-sizing:border-box}
.spp-sdqv1-ledger{display:grid;gap:9px;margin:18px 0;padding:16px;border:1px solid var(--spp-line);border-radius:17px;background:rgba(255,255,255,.018)}.spp-sdqv1-ledger>p{margin:0;color:var(--spp-muted);font-size:11px;line-height:1.55}
.spp-sdqv1-ledger-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid rgba(126,153,201,.12)}.spp-sdqv1-ledger-row:first-of-type{border-top:0}.spp-sdqv1-ledger-row>div{display:grid;gap:3px}.spp-sdqv1-ledger-row strong{color:#fff;font-size:11px}.spp-sdqv1-ledger-row small{color:var(--spp-muted);font-size:9px}.spp-sdqv1-ledger-row>span{color:#b7c6df;font-size:9px;font-weight:800;text-transform:uppercase}
.spp-customer-package-v2{display:grid;gap:20px;margin-top:24px;padding:20px;border:1px solid rgba(0,212,255,.2);border-radius:22px;background:linear-gradient(145deg,rgba(11,21,38,.98),rgba(7,15,28,.99));box-shadow:0 18px 50px rgba(0,0,0,.14)}
.spp-customer-package-v2__hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(235px,.5fr);gap:16px;align-items:stretch}
.spp-customer-package-v2__hero h3{margin:5px 0 7px;color:#fff;font-size:27px;letter-spacing:-.4px}.spp-customer-package-v2__hero p{margin:0;max-width:780px;color:#b8c7dd;font-size:12px;line-height:1.65}
.spp-customer-package-v2__package{display:grid;align-content:center;gap:5px;padding:17px 18px;border:1px solid rgba(0,212,255,.22);border-radius:17px;background:linear-gradient(145deg,rgba(0,212,255,.07),rgba(0,212,255,.035))}.spp-customer-package-v2__package span{color:#93a9c8;font-size:9px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}.spp-customer-package-v2__package strong{color:#fff;font-size:15px;line-height:1.35}.spp-customer-package-v2__package em{color:#7ee8ff;font-size:11px;font-style:normal;font-weight:900}
.spp-customer-package-v2__section{display:grid;gap:11px;padding-top:4px}.spp-customer-package-v2__section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:0 2px}.spp-customer-package-v2__section-head>div{display:grid;gap:3px}.spp-customer-package-v2__section-head h4{margin:0;color:#fff;font-size:15px}.spp-customer-package-v2__section-head p{margin:0;color:#91a3bf;font-size:10px;line-height:1.45}.spp-customer-package-v2__section-head>span{display:grid;place-items:center;min-width:28px;height:24px;padding:0 7px;border-radius:999px;background:rgba(126,153,201,.09);color:#b7c6df;font-size:10px;font-weight:900}
.spp-customer-package-v2__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.spp-customer-package-v2__card{display:grid;gap:8px;min-height:145px;padding:16px;border:1px solid var(--spp-line);border-radius:17px;background:rgba(255,255,255,.022)}
.spp-customer-package-v2__card.is-compact{min-height:118px;background:rgba(255,255,255,.014)}
.spp-customer-package-v2__card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.spp-customer-package-v2__card-head>strong{color:#dfeaff;font-size:11px;line-height:1.35}.spp-customer-package-v2__card-head>span{flex:none;padding:5px 8px;border-radius:999px;background:rgba(126,153,201,.09);color:#aebbd4;font-size:9px;font-weight:900;white-space:nowrap}
.spp-customer-package-v2__card h5{margin:2px 0 0;color:#fff;font-size:17px;line-height:1.35}.spp-customer-package-v2__card p{margin:0;color:#aabbd3;font-size:11px;line-height:1.55}.spp-customer-package-v2__card>small{margin-top:auto;color:#b7c6df;font-size:9px;font-weight:800}
.spp-customer-package-v2__card--success{border-color:rgba(52,211,153,.24)}.spp-customer-package-v2__card--success .spp-customer-package-v2__card-head>span{background:rgba(52,211,153,.11);color:#8ff4cc}
.spp-customer-package-v2__card--info{border-color:rgba(0,212,255,.24)}.spp-customer-package-v2__card--info .spp-customer-package-v2__card-head>span{background:rgba(0,212,255,.1);color:#7ee8ff}
.spp-customer-package-v2__card--warning{border-color:rgba(245,194,66,.24)}.spp-customer-package-v2__card--warning .spp-customer-package-v2__card-head>span{background:rgba(245,194,66,.1);color:#ffe088}
.spp-customer-progress{position:relative;height:6px;margin-top:3px;overflow:hidden;border-radius:999px;background:rgba(126,153,201,.12)}.spp-customer-progress>i{display:block;height:100%;min-width:0;border-radius:999px;background:linear-gradient(90deg,rgba(0,212,255,.85),rgba(126,232,255,.95))}
.spp-customer-package-v2__gate{display:flex;align-items:flex-start;gap:8px;padding:13px 14px;border:1px solid rgba(0,212,255,.16);border-radius:14px;background:rgba(0,212,255,.045);color:#a8bfdc;font-size:10px;line-height:1.5}.spp-customer-package-v2__gate strong{flex:none;color:#7ee8ff}
@media(max-width:820px){.spp-sdqv1-ops-grid,.spp-customer-package-v2__hero,.spp-customer-package-v2__grid{grid-template-columns:1fr}.spp-sdqv1-ledger-row{align-items:flex-start;flex-direction:column}.spp-customer-package-v2__section-head{align-items:flex-start}}


/* 3.6.226 Customer Request Lifecycle + Customer Package UX v3 — Admin QA only */
.spp-sdqv1-ops-grid .spp-sdqv2-calendar{grid-column:1/-1}
.spp-sdrv1-request-form{display:grid;gap:10px;margin-top:12px}
.spp-sdrv1-request-form>label:not(.spp-tools-control-check){display:grid;gap:5px}
.spp-sdrv1-request-form>label>span{color:#dce8fb;font-size:10px;font-weight:800}
.spp-sdrv1-request-form select,.spp-sdrv1-request-form input[type="text"],.spp-sdrv1-request-form textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.045);color:#fff;font:inherit;box-sizing:border-box}
.spp-customer-package-v3__summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:-4px}
.spp-customer-package-v3__summary>span{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid rgba(126,153,201,.16);border-radius:999px;background:rgba(255,255,255,.025);color:#aebbd4;font-size:10px;font-weight:800}
.spp-customer-package-v3__summary>span strong{color:#7ee8ff;font-size:12px}
.spp-customer-package-v2__section--other .spp-customer-package-v2__grid,
.spp-customer-package-v2__section--verify .spp-customer-package-v2__grid{grid-template-columns:minmax(0,1fr)}
.spp-customer-package-v2__section--other .spp-customer-package-v2__card,
.spp-customer-package-v2__section--verify .spp-customer-package-v2__card{min-height:auto}
.spp-customer-package-v3__preview-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding:10px 12px;border:1px solid rgba(0,212,255,.18);border-radius:11px;background:rgba(0,212,255,.055);color:#8feaff;font:inherit;font-size:10px;font-weight:900;opacity:.9;cursor:not-allowed}
.spp-customer-package-v3__preview-action small{color:#91a4c2;font-size:8px;font-weight:800}
@media(max-width:820px){.spp-sdqv1-ops-grid .spp-sdqv2-calendar{grid-column:auto}.spp-customer-package-v3__summary{gap:6px}.spp-customer-package-v3__summary>span{width:100%;justify-content:space-between}}

/* 3.6.227 Request -> Work Item Handoff + Customer Package Comparison Preview v1 — Admin QA only */
.spp-sdwiv1-handoff-form{display:grid;gap:10px;margin-top:12px}
.spp-sdwiv1-handoff-form>label:not(.spp-tools-control-check){display:grid;gap:5px}
.spp-sdwiv1-handoff-form>label>span{color:#dce8fb;font-size:10px;font-weight:800}
.spp-sdwiv1-handoff-form select,.spp-sdwiv1-handoff-form textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(255,255,255,.045);color:#fff;font:inherit;box-sizing:border-box}
.spp-package-compare-v1{display:grid;gap:18px;margin-top:24px;padding:20px;border:1px solid rgba(0,212,255,.2);border-radius:22px;background:linear-gradient(145deg,rgba(9,18,33,.99),rgba(5,12,23,.99));box-shadow:0 18px 50px rgba(0,0,0,.14)}
.spp-package-compare-v1__hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.5fr);gap:16px;align-items:stretch}
.spp-package-compare-v1__hero h3{margin:5px 0 7px;color:#fff;font-size:25px;letter-spacing:-.35px}.spp-package-compare-v1__hero p{margin:0;max-width:820px;color:#b8c7dd;font-size:11px;line-height:1.62}
.spp-package-compare-v1__annual{display:grid;align-content:center;gap:5px;padding:16px 17px;border:1px solid rgba(0,212,255,.18);border-radius:16px;background:rgba(0,212,255,.045)}
.spp-package-compare-v1__annual strong{color:#fff;font-size:13px}.spp-package-compare-v1__annual span{color:#8feaff;font-size:10px;font-weight:800;line-height:1.45}
.spp-package-compare-v1__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.spp-package-compare-v1__card{position:relative;display:grid;gap:10px;min-width:0;padding:18px;border:1px solid var(--spp-line);border-radius:18px;background:rgba(255,255,255,.02)}
.spp-package-compare-v1__card.is-current{border-color:rgba(0,212,255,.46);background:linear-gradient(145deg,rgba(0,212,255,.075),rgba(255,255,255,.018));box-shadow:0 0 0 1px rgba(0,212,255,.06) inset}
.spp-package-compare-v1__current{position:absolute;top:12px;right:12px;padding:5px 8px;border-radius:999px;background:rgba(0,212,255,.12);color:#86ebff;font-size:8px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.spp-package-compare-v1__card h4{margin:2px 0 0;padding-right:88px;color:#fff;font-size:16px;line-height:1.3}
.spp-package-compare-v1__price{display:flex;align-items:flex-end;gap:5px;margin-top:4px}.spp-package-compare-v1__price strong{color:#fff;font-size:29px;line-height:1}.spp-package-compare-v1__price span{color:#aebbd4;font-size:10px;font-weight:800}
.spp-package-compare-v1__annual-price{display:flex;align-items:center;gap:5px}.spp-package-compare-v1__annual-price strong{color:#9cecff;font-size:13px}.spp-package-compare-v1__annual-price span{color:#91a3bf;font-size:9px;font-weight:800}
.spp-package-compare-v1__card ul{display:grid;gap:8px;margin:4px 0 2px;padding:0;list-style:none}
.spp-package-compare-v1__card li{position:relative;padding-left:17px;color:#c3d0e3;font-size:10px;line-height:1.48}.spp-package-compare-v1__card li:before{content:'✓';position:absolute;left:0;top:0;color:#6ce5c2;font-weight:900}
.spp-package-compare-v1__card .spp-btn{margin-top:auto;display:grid;gap:2px;justify-items:center;min-height:44px}.spp-package-compare-v1__card .spp-btn small{font-size:7px;font-weight:800;opacity:.7}
.spp-package-compare-v1__gate{display:flex;align-items:flex-start;gap:8px;padding:13px 14px;border:1px solid rgba(245,194,66,.18);border-radius:14px;background:rgba(245,194,66,.045);color:#b9c6d8;font-size:10px;line-height:1.5}.spp-package-compare-v1__gate strong{flex:none;color:#ffe088}
@media(max-width:980px){.spp-package-compare-v1__grid{grid-template-columns:1fr}.spp-package-compare-v1__card h4{padding-right:0}.spp-package-compare-v1__current{position:static;justify-self:start}}
@media(max-width:820px){.spp-package-compare-v1__hero{grid-template-columns:1fr}}

/* 3.6.228 — Package Experience separation + settlement readiness */
.spp-package-experience-v1 .spp-customer-package-v2,
.spp-package-comparison-v2 .spp-package-compare-v1{margin-top:0}
.spp-package-experience-v1__context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
.spp-package-experience-v1__context>div{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.018)}
.spp-package-experience-v1__context span{color:#91a3bf;font-size:8px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.spp-package-experience-v1__context strong{color:#fff;font-size:12px;line-height:1.4}
.spp-sdqv1-settlement{display:grid;gap:12px;margin-top:18px;padding:18px;border:1px solid rgba(0,212,255,.18);border-radius:18px;background:rgba(0,212,255,.03)}
.spp-sdqv1-settlement h3{margin:0;color:#fff;font-size:18px}.spp-sdqv1-settlement>.spp-eyebrow{margin-bottom:-4px}
.spp-sdqv1-safety-row{display:flex;flex-wrap:wrap;gap:8px}
.spp-sdqv1-safety-row span{padding:7px 9px;border:1px solid var(--spp-line);border-radius:999px;background:rgba(255,255,255,.018);color:#aebbd4;font-size:9px}
.spp-sdqv1-safety-row strong{color:#fff}
.spp-package-compare-v2__role{margin:0;color:#8feaff;font-size:10px;font-weight:900;line-height:1.4}
.spp-package-compare-v2__fit{margin:0;padding:10px 11px;border-radius:12px;background:rgba(126,153,201,.055);color:#aebbd4;font-size:9px;line-height:1.5}
@media(max-width:820px){.spp-package-experience-v1__context{grid-template-columns:1fr}}

/* 3.6.229 — Customer Portal Package Experience read-only canary */
.spp-customer-package-live-workspace{display:grid;gap:18px;margin-top:18px}
.spp-customer-package-live{display:grid;gap:20px;padding:22px;border:1px solid rgba(0,212,255,.2);border-radius:22px;background:linear-gradient(145deg,rgba(11,21,38,.98),rgba(7,15,28,.99));box-shadow:0 18px 50px rgba(0,0,0,.12)}
.spp-customer-package-live .spp-customer-package-v2__hero h2{margin:5px 0 7px;color:#fff;font-size:27px;letter-spacing:-.4px}
.spp-customer-package-live .spp-customer-package-v2__hero p{margin:0;max-width:790px;color:#b8c7dd;font-size:12px;line-height:1.65}
.spp-customer-package-live__installation{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:-7px;padding:10px 12px;border:1px solid rgba(126,153,201,.12);border-radius:13px;background:rgba(255,255,255,.018)}
.spp-customer-package-live__installation span{color:#91a3bf;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.spp-customer-package-live__installation strong{color:#fff;font-size:11px}.spp-customer-package-live__installation small{color:#7ee8ff;font-size:9px;font-weight:900}
.spp-customer-package-live .spp-customer-package-v2__section-head h3{margin:0;color:#fff;font-size:15px}
.spp-customer-package-live .spp-customer-package-v2__card h4{margin:2px 0 0;color:#fff;font-size:17px;line-height:1.35}
.spp-customer-package-live__source-note{padding:12px 14px;border:1px solid rgba(0,212,255,.14);border-radius:14px;background:rgba(0,212,255,.035);color:#a8bfdc;font-size:10px;line-height:1.55}
.spp-customer-package-live-empty,.spp-customer-package-live-unavailable{margin-top:18px}.spp-customer-package-live-unavailable{display:grid;gap:7px}.spp-customer-package-live-unavailable h2{margin:4px 0 0}.spp-customer-package-live-unavailable p{margin:0;color:var(--spp-muted)}
.spp-customer-package-live-installation{overflow:hidden;border:1px solid var(--spp-line);border-radius:18px;background:rgba(255,255,255,.018)}
.spp-customer-package-live-installation>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;cursor:pointer;list-style:none}.spp-customer-package-live-installation>summary::-webkit-details-marker{display:none}.spp-customer-package-live-installation>summary>span:first-child{display:grid;gap:2px}.spp-customer-package-live-installation>summary small{color:#7ee8ff;font-size:9px;font-weight:900}.spp-customer-package-live-installation>summary strong{color:#fff;font-size:14px}.spp-customer-package-live-installation>summary em{color:#9fb0c7;font-size:10px;font-style:normal;font-weight:800}.spp-customer-package-live-installation__body{display:grid;gap:18px;padding:0 14px 14px}
.spp-customer-package-compare-live{overflow:hidden;border:1px solid rgba(0,212,255,.16);border-radius:18px;background:rgba(255,255,255,.018)}
.spp-customer-package-compare-live>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;list-style:none}.spp-customer-package-compare-live>summary::-webkit-details-marker{display:none}.spp-customer-package-compare-live>summary>span:first-child{display:grid;gap:3px}.spp-customer-package-compare-live>summary strong{color:#fff;font-size:14px}.spp-customer-package-compare-live>summary small{color:#95a8c3;font-size:10px;line-height:1.45}.spp-customer-package-compare-live[open]>summary{border-bottom:1px solid var(--spp-line)}
.spp-customer-package-compare-live__body{display:grid;gap:18px;padding:18px;background:linear-gradient(145deg,rgba(9,18,33,.99),rgba(5,12,23,.99))}
.spp-customer-package-compare-live__state{margin-top:auto;display:grid;place-items:center;min-height:40px;padding:8px 10px;border:1px solid rgba(126,153,201,.16);border-radius:12px;background:rgba(126,153,201,.045);color:#aebbd4;font-size:10px;font-weight:900;text-align:center}.spp-package-compare-v1__card.is-current .spp-customer-package-compare-live__state{border-color:rgba(0,212,255,.26);color:#8feaff;background:rgba(0,212,255,.055)}
.spp-customer-package-compare-live__note{margin:0;padding:11px 13px;border:1px solid rgba(126,153,201,.12);border-radius:12px;color:#97a9c2;font-size:9px;line-height:1.5;background:rgba(255,255,255,.015)}
@media(max-width:820px){.spp-customer-package-live{padding:16px}.spp-customer-package-live .spp-customer-package-v2__hero{grid-template-columns:1fr}.spp-customer-package-live-installation__body{padding:0 10px 10px}.spp-customer-package-compare-live__body{padding:14px}}

.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-live__body{background:#f7fbff!important;border-color:#c9d9e8!important;box-shadow:0 14px 34px rgba(36,67,96,.08)!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live .spp-customer-package-v2__hero h2,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live .spp-customer-package-v2__section-head h3,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live .spp-customer-package-v2__card h4,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live__installation strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live-installation>summary strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-live>summary strong,
.spp-root--customer[data-spp-theme="light"] .spp-package-compare-v1__card h4,
.spp-root--customer[data-spp-theme="light"] .spp-package-compare-v1__price strong{color:#102033!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live .spp-customer-package-v2__hero p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live .spp-customer-package-v2__section-head p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live .spp-customer-package-v2__card p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live__source-note,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-live>summary small,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-live__note,
.spp-root--customer[data-spp-theme="light"] .spp-package-compare-v1__card li,
.spp-root--customer[data-spp-theme="light"] .spp-package-compare-v2__fit{color:#60748a!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-v2__package,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live__installation,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live-installation,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-live,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-v2__card,
.spp-root--customer[data-spp-theme="light"] .spp-package-compare-v1__card,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-live__state{background:#fff!important;border-color:#d5e1ec!important}
.spp-root--customer[data-spp-theme="light"] .spp-package-compare-v1__card.is-current{background:#eefbff!important;border-color:#4bc7e2!important}
.spp-root--customer[data-spp-theme="light"] .spp-package-compare-v2__fit{background:#f0f5f9!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-v3__summary>span{background:#fff!important;border-color:#d5e1ec!important;color:#60748a!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-progress{background:#dce6ef!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-live__source-note,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-live__note{background:#f1f8fc!important;border-color:#d5e5ee!important}

/* 3.6.230 — Customer Package Experience UX reorganization v1 */
.spp-customer-package-view-shell{display:grid;gap:16px}
.spp-customer-package-inner-tabs{margin:0}
.spp-customer-package-inner-tabs a{min-width:0}

.spp-customer-package-overview,
.spp-customer-package-services-compact,
.spp-customer-package-compare-panel{display:grid;gap:16px;padding:20px;border:1px solid rgba(0,212,255,.18);border-radius:20px;background:linear-gradient(145deg,rgba(11,21,38,.98),rgba(7,15,28,.99));box-shadow:0 16px 42px rgba(0,0,0,.10)}

.spp-customer-package-overview__hero,
.spp-customer-package-services-compact__head{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr);gap:14px;align-items:start}
.spp-customer-package-overview__hero h2,
.spp-customer-package-services-compact__head h2,
.spp-customer-package-compare-panel .spp-package-compare-v1__hero h2{margin:5px 0 6px;color:#fff;font-size:25px;letter-spacing:-.35px}
.spp-customer-package-overview__hero p,
.spp-customer-package-services-compact__head p{margin:0;color:#aebed4;font-size:11px;line-height:1.55}

.spp-customer-package-context{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.spp-customer-package-context.is-compact{grid-template-columns:1fr}
.spp-customer-package-context>div{display:grid;gap:4px;padding:13px 14px;border:1px solid rgba(126,153,201,.15);border-radius:14px;background:rgba(255,255,255,.018)}
.spp-customer-package-context span{color:#91a3bf;font-size:8px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.spp-customer-package-context strong{color:#fff;font-size:13px;line-height:1.35}
.spp-customer-package-context em{color:#79e5ff;font-size:10px;font-style:normal;font-weight:900}
.spp-customer-package-context small{color:#91a3bf;font-size:9px;font-weight:800}

.spp-customer-package-overview__kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.spp-customer-package-overview__kpis article{display:grid;gap:3px;padding:12px 13px;border:1px solid rgba(126,153,201,.14);border-radius:14px;background:rgba(255,255,255,.018)}
.spp-customer-package-overview__kpis span{color:#91a3bf;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.spp-customer-package-overview__kpis strong{color:#fff;font-size:22px;line-height:1}
.spp-customer-package-overview__kpis small{color:#91a3bf;font-size:8px;line-height:1.35}

.spp-customer-package-overview__focus{display:grid;gap:10px}
.spp-customer-package-overview__focus-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.spp-customer-package-overview__focus-head>div{display:grid;gap:2px}.spp-customer-package-overview__focus-head h3{margin:0;color:#fff;font-size:15px}.spp-customer-package-overview__focus-head p{margin:0;color:#91a3bf;font-size:9px}
.spp-customer-package-overview__focus-head .spp-btn{min-height:34px;padding:7px 12px;font-size:10px}
.spp-customer-package-overview__rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.spp-customer-package-overview__row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:11px 12px;border:1px solid rgba(126,153,201,.14);border-radius:13px;background:rgba(255,255,255,.015)}
.spp-customer-package-overview__row>div{display:grid;gap:2px;min-width:0}.spp-customer-package-overview__row strong{color:#dfeaff;font-size:10px}.spp-customer-package-overview__row>div span{overflow:hidden;color:#fff;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.spp-customer-package-overview__row em{flex:none;padding:4px 7px;border-radius:999px;background:rgba(126,153,201,.08);color:#aebbd4;font-size:8px;font-style:normal;font-weight:900}
.spp-customer-package-overview__row.is-success{border-color:rgba(52,211,153,.22)}.spp-customer-package-overview__row.is-success em{background:rgba(52,211,153,.10);color:#88efc7}
.spp-customer-package-overview__row.is-info{border-color:rgba(0,212,255,.22)}.spp-customer-package-overview__row.is-info em{background:rgba(0,212,255,.09);color:#7ee8ff}
.spp-customer-package-overview__row.is-warning{border-color:rgba(245,194,66,.23)}.spp-customer-package-overview__row.is-warning em{background:rgba(245,194,66,.10);color:#ffe088}
.spp-customer-package-overview__actions{display:flex;gap:10px;flex-wrap:wrap}.spp-customer-package-overview__actions .spp-btn{min-height:40px}

.spp-customer-package-services-compact__head>.spp-customer-package-context{align-self:start}
.spp-customer-service-group{display:grid;gap:8px}
.spp-customer-service-group>header{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:0 2px}.spp-customer-service-group>header>div{display:grid;gap:2px}.spp-customer-service-group>header h3{margin:0;color:#fff;font-size:14px}.spp-customer-service-group>header p{margin:0;color:#91a3bf;font-size:9px}.spp-customer-service-group>header>span{display:grid;place-items:center;min-width:25px;height:22px;padding:0 7px;border-radius:999px;background:rgba(126,153,201,.08);color:#b7c6df;font-size:9px;font-weight:900}
.spp-customer-service-list{display:grid;gap:7px}
.spp-customer-service-row{overflow:hidden;border:1px solid rgba(126,153,201,.14);border-radius:13px;background:rgba(255,255,255,.015)}
.spp-customer-service-row>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;cursor:pointer;list-style:none}.spp-customer-service-row>summary::-webkit-details-marker{display:none}
.spp-customer-service-row__identity{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(0,1.35fr);gap:12px;align-items:center;min-width:0;flex:1}
.spp-customer-service-row__identity strong{color:#dfeaff;font-size:10px}.spp-customer-service-row__identity span{overflow:hidden;color:#fff;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.spp-customer-service-row__state{display:flex;align-items:center;gap:8px;flex:none}.spp-customer-service-row__state em{padding:4px 7px;border-radius:999px;background:rgba(126,153,201,.08);color:#aebbd4;font-size:8px;font-style:normal;font-weight:900}.spp-customer-service-row__state .spp-customer-row-chevron{font-size:14px;transition:transform .15s ease}.spp-customer-service-row[open] .spp-customer-row-chevron{transform:rotate(180deg)}
.spp-customer-service-row__body{display:grid;gap:8px;padding:0 12px 12px 174px}.spp-customer-service-row__body p{margin:0;color:#aabbd3;font-size:10px;line-height:1.5}.spp-customer-service-row__body small{color:#aebbd4;font-size:8px;font-weight:850}
.spp-customer-service-row--success{border-color:rgba(52,211,153,.20)}.spp-customer-service-row--success .spp-customer-service-row__state em{background:rgba(52,211,153,.10);color:#88efc7}
.spp-customer-service-row--info{border-color:rgba(0,212,255,.20)}.spp-customer-service-row--info .spp-customer-service-row__state em{background:rgba(0,212,255,.09);color:#7ee8ff}
.spp-customer-service-row--warning{border-color:rgba(245,194,66,.22)}.spp-customer-service-row--warning .spp-customer-service-row__state em{background:rgba(245,194,66,.10);color:#ffe088}
.spp-customer-service-group--other{opacity:.88}

.spp-customer-package-compare-panel .spp-package-compare-v1__hero{margin-bottom:2px}
.spp-customer-package-compare-panel .spp-package-compare-v1__grid{align-items:stretch}
.spp-customer-package-compare-panel .spp-package-compare-v1__card{min-height:100%}

@media(max-width:980px){
  .spp-customer-package-overview__kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spp-customer-package-overview__rows{grid-template-columns:1fr}
  .spp-customer-package-overview__hero,.spp-customer-package-services-compact__head{grid-template-columns:1fr}
  .spp-customer-package-context.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .spp-customer-package-overview,.spp-customer-package-services-compact,.spp-customer-package-compare-panel{padding:14px;border-radius:17px}
  .spp-customer-package-inner-tabs{display:grid;grid-template-columns:1fr}.spp-customer-package-inner-tabs a{text-align:center}
  .spp-customer-package-overview__kpis,.spp-customer-package-context.is-compact{grid-template-columns:1fr 1fr}
  .spp-customer-package-overview__focus-head{align-items:flex-start;flex-direction:column}
  .spp-customer-service-row__identity{grid-template-columns:1fr;gap:2px}.spp-customer-service-row__identity span{white-space:normal}
  .spp-customer-service-row__body{padding:0 12px 12px}
}
@media(max-width:460px){.spp-customer-package-overview__kpis,.spp-customer-package-context.is-compact{grid-template-columns:1fr}}

.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-services-compact,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-panel{background:#f7fbff!important;border-color:#c9d9e8!important;box-shadow:0 14px 34px rgba(36,67,96,.07)!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__hero h2,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-services-compact__head h2,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-compare-panel .spp-package-compare-v1__hero h2,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-context strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__kpis strong,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__focus-head h3,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__row>div span,
.spp-root--customer[data-spp-theme="light"] .spp-customer-service-group>header h3,
.spp-root--customer[data-spp-theme="light"] .spp-customer-service-row__identity span{color:#102033!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__hero p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-services-compact__head p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__focus-head p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-service-group>header p,
.spp-root--customer[data-spp-theme="light"] .spp-customer-service-row__body p{color:#60748a!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-context>div,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__kpis article,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-overview__row,
.spp-root--customer[data-spp-theme="light"] .spp-customer-service-row{background:#fff!important;border-color:#d5e1ec!important}

/* =========================================================
   Smart Pro Portal 3.6.231 — Customer Package Installation Row Alignment
   ========================================================= */
.spp-root--customer .spp-customer-package-live-workspace--36231{
  gap:10px;
  margin-top:18px;
}
.spp-root--customer .spp-customer-package-installation-list{
  gap:10px;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-subscription-body{
  gap:12px;
  padding:14px;
}
.spp-root--customer .spp-customer-package-view-shell{
  gap:12px;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-inner-tabs{
  width:100%;
  margin:0;
  box-shadow:none;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-overview,
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-services-compact,
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-compare-panel{
  margin:0;
  padding:4px 0 0;
  border:0!important;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-overview__hero,
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-services-compact__head{
  grid-template-columns:1fr;
  gap:8px;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-overview__hero h2,
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-services-compact__head h2{
  font-size:22px;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-overview__focus-head{
  align-items:flex-start;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-overview__actions{
  display:none!important;
}
.spp-root--customer .spp-customer-package-state-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 15px;
  border:1px solid var(--spp-line);
  border-radius:14px;
  background:var(--spp-field);
}
.spp-root--customer .spp-customer-package-state-panel>div{
  display:grid;
  gap:5px;
  min-width:0;
}
.spp-root--customer .spp-customer-package-state-panel h3{
  margin:0;
  color:var(--spp-text);
  font-size:15px;
  line-height:1.3;
}
.spp-root--customer .spp-customer-package-state-panel p{
  margin:0;
  max-width:760px;
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.55;
}
.spp-root--customer .spp-customer-package-state-panel.is-warning{
  border-color:color-mix(in srgb,#f5c242 34%,var(--spp-line));
  background:color-mix(in srgb,#f5c242 5%,var(--spp-field));
}
.spp-root--customer .spp-customer-package-state-panel.is-danger{
  border-color:color-mix(in srgb,#fb7185 34%,var(--spp-line));
  background:color-mix(in srgb,#fb7185 5%,var(--spp-field));
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-installation-row .spp-customer-package-overview,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-installation-row .spp-customer-package-services-compact,
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-installation-row .spp-customer-package-compare-panel{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
@media(max-width:700px){
  .spp-root--customer .spp-customer-package-state-panel{
    align-items:stretch;
    flex-direction:column;
  }
  .spp-root--customer .spp-customer-package-state-panel .spp-btn{
    width:100%;
  }
}

/* Smart Pro Portal 3.6.264 — Subscription Management Workspace Cleanup v1. */
[data-spp-workspace="subscription"] .spp-subscription-workspace-v2>.spp-sidebar-workspace-tabs{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:6px;
}
[data-spp-workspace="subscription"] .spp-subscription-workspace-v2>.spp-sidebar-workspace-tabs .spp-sidebar-workspace-tab{
  min-width:0;
  padding:8px 7px;
  line-height:1.2;
  white-space:normal;
}
[data-spp-workspace="subscription"] .spp-subscription-workspace-intro{
  display:grid;
  gap:4px;
  padding:10px 12px;
  border:1px solid rgba(81,207,255,.14);
  border-radius:11px;
  background:rgba(81,207,255,.045);
}
[data-spp-workspace="subscription"] .spp-subscription-workspace-intro strong{
  color:var(--spp-text);
  font-size:12px;
}
[data-spp-workspace="subscription"] .spp-subscription-workspace-intro span{
  color:var(--spp-muted);
  font-size:10px;
  line-height:1.45;
}
[data-spp-workspace="subscription"] .spp-subscription-wallet-technical,
[data-spp-workspace="subscription"] .spp-subscription-wallet-checks{
  border:1px solid rgba(245,189,71,.20);
  border-radius:12px;
  background:rgba(245,189,71,.035);
  overflow:hidden;
}
[data-spp-workspace="subscription"] .spp-subscription-wallet-technical>summary,
[data-spp-workspace="subscription"] .spp-subscription-wallet-checks>summary{
  cursor:pointer;
  list-style:none;
  padding:11px 13px;
  color:var(--spp-text);
  font-size:11px;
  font-weight:700;
}
[data-spp-workspace="subscription"] .spp-subscription-wallet-technical>summary::-webkit-details-marker,
[data-spp-workspace="subscription"] .spp-subscription-wallet-checks>summary::-webkit-details-marker{display:none;}
[data-spp-workspace="subscription"] .spp-subscription-wallet-technical>summary::after,
[data-spp-workspace="subscription"] .spp-subscription-wallet-checks>summary::after{
  content:'▾';
  float:right;
  color:var(--spp-muted);
}
[data-spp-workspace="subscription"] .spp-subscription-wallet-technical[open]>summary::after,
[data-spp-workspace="subscription"] .spp-subscription-wallet-checks[open]>summary::after{content:'▴';}
[data-spp-workspace="subscription"] .spp-subscription-wallet-technical__body,
[data-spp-workspace="subscription"] .spp-subscription-wallet-checks__body{
  display:grid;
  gap:10px;
  padding:0 12px 12px;
}
[data-spp-workspace="subscription"] .spp-sidebar-workspace-panel[data-spp-sidebar-panel="services"] .spp-subscription-current-overview,
[data-spp-workspace="subscription"] .spp-sidebar-workspace-panel[data-spp-sidebar-panel="wallet"] .spp-support-wallet-foundation,
[data-spp-workspace="subscription"] .spp-sidebar-workspace-panel[data-spp-sidebar-panel="actions"] .spp-subscription-current-overview{
  margin:0;
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-workspace-intro{
  background:#f4fbfe;
  border-color:rgba(23,119,155,.16);
}
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-wallet-technical,
.spp-root--admin[data-spp-theme="light"] [data-spp-workspace="subscription"] .spp-subscription-wallet-checks{
  background:#fffaf0;
  border-color:rgba(172,121,28,.20);
}
@media(max-width:980px){
  [data-spp-workspace="subscription"] .spp-subscription-workspace-v2>.spp-sidebar-workspace-tabs{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:700px){
  [data-spp-workspace="subscription"] .spp-subscription-workspace-v2>.spp-sidebar-workspace-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Smart Pro Portal 3.6.273 — Package Settings Scope Separation v1 */
.spp-root--admin .spp-package-scope-shell{
  display:grid;gap:10px;padding:12px;border:1px solid var(--spp-line);border-radius:14px;background:rgba(255,255,255,.014);margin-bottom:3px
}
.spp-root--admin .spp-package-scope-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.spp-root--admin .spp-package-scope-tabs a{
  display:grid;gap:4px;min-width:0;padding:11px 12px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.012);color:var(--spp-muted);text-decoration:none;transition:.16s ease
}
.spp-root--admin .spp-package-scope-tabs a:hover{border-color:rgba(79,172,254,.35);background:rgba(79,172,254,.045);color:var(--spp-text)}
.spp-root--admin .spp-package-scope-tabs a.is-active{border-color:rgba(79,172,254,.52);background:rgba(79,172,254,.10);color:var(--spp-text);box-shadow:inset 3px 0 0 rgba(79,172,254,.75)}
.spp-root--admin .spp-package-scope-tabs strong{font-size:11px;line-height:1.25}
.spp-root--admin .spp-package-scope-tabs span{font-size:8.5px;line-height:1.4;color:var(--spp-muted)}
.spp-root--admin .spp-package-installation-context{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:10px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(79,172,254,.035)
}
.spp-root--admin .spp-package-installation-context label{display:grid;gap:5px;min-width:0}
.spp-root--admin .spp-package-installation-context label>span{font-size:8px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:var(--spp-muted)}
.spp-root--admin .spp-package-installation-context select{width:100%;min-height:38px}
.spp-root--admin .spp-package-installation-context>small{grid-column:1/-1;color:var(--spp-muted);font-size:8.5px;line-height:1.4}
.spp-root--admin .spp-package-scope-note{display:flex;align-items:baseline;gap:8px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.018)}
.spp-root--admin .spp-package-scope-note strong{font-size:9px;white-space:nowrap}
.spp-root--admin .spp-package-scope-note span{font-size:8.5px;line-height:1.4;color:var(--spp-muted)}
.spp-root--admin .spp-package-context-notice{margin-top:0!important}
.spp-root--admin[data-spp-theme="light"] .spp-package-scope-shell,
.spp-root--admin[data-spp-theme="light"] .spp-package-scope-tabs a{background:#f7fafc}
.spp-root--admin[data-spp-theme="light"] .spp-package-installation-context{background:#edf7ff}
@media(max-width:900px){
  .spp-root--admin .spp-package-scope-tabs{grid-template-columns:1fr}
}
@media(max-width:640px){
  .spp-root--admin .spp-package-installation-context{grid-template-columns:1fr}
  .spp-root--admin .spp-package-installation-context .spp-btn{width:100%}
  .spp-root--admin .spp-package-scope-note{align-items:flex-start;flex-direction:column}
}


/* Smart Pro Portal 3.6.274 — Admin Operations Surface Cleanup v1 */
.spp-root--admin .spp-settings-editor--centered-large .spp-drawer-panel{
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  left:50%!important;
  width:min(1180px,calc(100vw - 44px))!important;
  height:min(88dvh,920px)!important;
  max-height:calc(100dvh - 32px)!important;
  transform:translate(-50%,-50%)!important;
  border:1px solid rgba(98,193,232,.24)!important;
  border-radius:20px!important;
  box-shadow:0 34px 100px rgba(0,0,0,.58)!important;
  animation:sppSettingsCenteredModalIn .18s ease-out!important;
}
.spp-root--admin .spp-settings-editor--centered-large .spp-drawer-head{
  min-height:82px!important;
  padding:16px 20px 14px!important;
}
.spp-root--admin .spp-settings-editor--centered-large .spp-drawer-body{
  padding:16px 20px 22px!important;
  scrollbar-gutter:stable;
}
.spp-root--admin .spp-settings-editor--centered-large .spp-settings-wide-card{
  max-width:none!important;
}
@keyframes sppSettingsCenteredModalIn{
  from{opacity:0;transform:translate(-50%,calc(-50% + 10px)) scale(.992)}
  to{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
.spp-root--admin[data-spp-theme="light"] .spp-settings-editor--centered-large .spp-drawer-panel{
  box-shadow:0 30px 90px rgba(26,48,66,.28)!important;
}
@media(max-width:760px){
  .spp-root--admin .spp-settings-editor--centered-large .spp-drawer-panel{
    width:calc(100vw - 20px)!important;
    height:calc(100dvh - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:16px!important;
  }
  .spp-root--admin .spp-settings-editor--centered-large .spp-drawer-head,
  .spp-root--admin .spp-settings-editor--centered-large .spp-drawer-body{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}


/* Smart Pro Portal 3.6.275 — Παροχές & Εργασίες Compact Workspace v1 */
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-drawer-panel{
  height:min(88dvh,860px)!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-drawer-head{
  min-height:68px!important;
  padding:12px 18px 10px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-drawer-head h2{
  margin:2px 0 1px!important;
  font-size:21px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-drawer-head p{
  margin:0!important;
  font-size:9px!important;
  line-height:1.35!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-drawer-body{
  padding:10px 16px 14px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-service-delivery-queue{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-service-delivery-queue>.spp-card-head{
  display:none!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-settings-compact-summary{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:6px!important;
  margin:0 0 8px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-settings-compact-summary>div{
  gap:2px!important;
  padding:7px 8px!important;
  min-height:48px!important;
  border-radius:9px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-settings-compact-summary span{
  font-size:7px!important;
  line-height:1.2!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-settings-compact-summary strong{
  font-size:10px!important;
  line-height:1.2!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-notice{
  margin:7px 0!important;
  padding:9px 11px!important;
  border-radius:11px!important;
  font-size:10px!important;
  line-height:1.45!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:8px 0!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid>article{
  padding:10px!important;
  border-radius:12px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid .spp-sdqv2-calendar{
  grid-column:1/-1!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid h3,
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ledger h3{
  margin:3px 0 5px!important;
  font-size:13px!important;
  line-height:1.25!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid p{
  margin:0 0 6px!important;
  font-size:9px!important;
  line-height:1.4!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-eyebrow{
  font-size:8px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-empty{
  gap:3px!important;
  margin-top:6px!important;
  padding:9px 10px!important;
  border-radius:10px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-empty strong{
  font-size:10px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-empty span{
  font-size:8.5px!important;
  line-height:1.35!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-settlement{
  gap:6px!important;
  margin-top:8px!important;
  padding:10px!important;
  border-radius:12px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-settlement h3{
  font-size:13px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-safety-row{
  gap:5px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-safety-row span{
  padding:5px 7px!important;
  font-size:8px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-admin-quick-form{
  gap:7px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-tools-control-check{
  gap:7px!important;
  padding:6px 0!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-tools-control-check>span strong{
  font-size:9.5px!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-tools-control-check>span small{
  font-size:8.5px!important;
  line-height:1.35!important;
}
@media(max-width:1100px){
  .spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-settings-compact-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-settings-compact-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid{grid-template-columns:1fr!important}
  .spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-ops-grid .spp-sdqv2-calendar{grid-column:auto!important}
}

/* 3.6.276 — Παροχές → Εργασίες Operational Mapping v1 */
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping{display:grid;gap:6px;margin:0 0 7px;padding:8px;border:1px solid rgba(0,212,255,.16);border-radius:11px;background:rgba(0,212,255,.025)}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__head>div{display:flex;align-items:center;gap:8px;min-width:0}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__head strong{font-size:11px;line-height:1.25;color:#fff}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__state{flex:0 0 auto;padding:3px 6px;border:1px solid var(--spp-line);border-radius:999px;font-size:7px;font-weight:800;color:var(--spp-muted)}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__grid>article{min-width:0;padding:7px 8px;border:1px solid var(--spp-line);border-radius:9px;background:rgba(255,255,255,.018)}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__grid>article>strong{display:block;font-size:9px;line-height:1.25;color:#fff}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__grid>article>small{display:block;margin-top:2px;font-size:7.5px;line-height:1.3;color:var(--spp-muted)}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__items{display:grid;gap:3px;margin-top:5px}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__items>span{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding-top:3px;border-top:1px solid rgba(255,255,255,.055)}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__items b{min-width:0;font-size:7.6px;line-height:1.3;color:var(--spp-text)}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__items em{flex:0 0 auto;max-width:48%;font-style:normal;text-align:right;font-size:7px;line-height:1.3;color:var(--spp-cyan)}
.spp-root--admin[data-spp-theme="light"] #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__head strong,.spp-root--admin[data-spp-theme="light"] #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__grid>article>strong{color:var(--spp-text)}
@media(max-width:1100px){.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__head{align-items:flex-start;flex-direction:column}.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-sdqv1-mapping__grid{grid-template-columns:1fr}}


/* 3.6.277 — Παροχές & Εργασίες controlled operational canary */
.spp-sdqv1-canary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(245,190,70,.32);background:rgba(245,190,70,.055);border-radius:16px;margin:10px 0}
.spp-sdqv1-canary>div:first-child{display:grid;gap:4px}.spp-sdqv1-canary>div:first-child>strong{font-size:14px}.spp-sdqv1-canary>div:first-child>small{font-size:11px;line-height:1.35;opacity:.76}
.spp-sdqv1-canary__form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.spp-sdqv1-canary__form .spp-tools-control-check{margin:0;min-width:0}.spp-sdqv1-canary__form .spp-tools-control-check small{font-size:10px;line-height:1.3}.spp-sdqv1-canary__form .spp-btn{white-space:nowrap}
@media (max-width:900px){.spp-sdqv1-canary,.spp-sdqv1-canary__form{grid-template-columns:1fr}.spp-sdqv1-canary__form .spp-btn{width:100%}}

/* 3.6.278 — Persistent Operational QA + centered modal native scroll ownership */
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-drawer-panel{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  overflow:hidden!important;
}
.spp-root--admin #spp-settings-service-delivery-operations-v4 .spp-drawer-body{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
  scrollbar-gutter:stable!important;
}
.spp-sdqa-persistent{display:grid;gap:8px;margin:9px 0;padding:10px 12px;border:1px solid rgba(112,199,255,.25);border-radius:13px;background:rgba(79,172,254,.045)}
.spp-sdqa-persistent__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.spp-sdqa-persistent__head>div{display:grid;gap:3px}.spp-sdqa-persistent__head strong{font-size:12px;line-height:1.3}.spp-sdqa-persistent__head small{font-size:8.5px;line-height:1.35;color:var(--spp-muted)}
.spp-sdqa-persistent__state{flex:0 0 auto;padding:4px 7px;border:1px solid rgba(112,199,255,.25);border-radius:999px;font-size:7.5px;font-weight:900;color:var(--spp-cyan)}
.spp-sdqa-persistent__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.spp-sdqa-persistent__facts>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid var(--spp-line);border-radius:9px;background:rgba(255,255,255,.018)}.spp-sdqa-persistent__facts b{font-size:8px}.spp-sdqa-persistent__facts em{font-size:8px;font-style:normal;color:var(--spp-cyan)}
.spp-sdqa-persistent__form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.spp-sdqa-persistent__form .spp-tools-control-check{margin:0}.spp-sdqa-persistent__form .spp-btn{white-space:nowrap}
@media(max-width:900px){.spp-sdqa-persistent__facts{grid-template-columns:1fr}.spp-sdqa-persistent__form{grid-template-columns:1fr}.spp-sdqa-persistent__form .spp-btn{width:100%}}


/* =========================================================
   Smart Pro Portal 3.6.280 — Admin Home Grouped Compact KPI Bands v1
   ========================================================= */
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-status-strip{
  margin:0 0 10px;
  padding:9px 10px 10px;
  border:1px solid rgba(74,186,255,.14);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(8,22,39,.34),rgba(8,22,39,.12));
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-status-strip__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:0 2px 7px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-status-strip__head h2{
  margin:1px 0 1px;
  font-size:15px;
  line-height:1.15;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-status-strip__head p{
  margin:0;
  color:var(--spp-muted);
  font-size:9px;
  line-height:1.35;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--status{
  margin-bottom:0;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--status .spp-kpi-card,
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-card{
  min-height:62px;
  padding:8px 9px;
  gap:8px;
  border-radius:13px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--status .spp-kpi-icon,
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-icon{
  width:28px;
  height:28px;
  border-radius:9px;
  font-size:13px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--status .spp-kpi-content small,
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-content small{
  margin-bottom:2px;
  font-size:8px;
  letter-spacing:.55px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--status .spp-kpi-content strong,
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-content strong{
  font-size:12.5px;
  line-height:1.15;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--status .spp-kpi-content em,
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-content em{
  margin-top:2px;
  font-size:8.8px;
  line-height:1.25;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip{
  margin-bottom:10px;
  padding:9px 10px 10px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-operations-strip__head{
  margin-bottom:7px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-card--neutral{
  opacity:.72;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-card--warning,
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-kpis--operations .spp-kpi-card--info{
  opacity:1;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-list{margin-top:8px}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-list__head{margin:0 2px 6px;color:var(--spp-muted);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-list__rows{display:grid;gap:4px}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.9fr) auto;gap:8px;align-items:center;padding:6px 8px;border:1px solid var(--spp-line);border-radius:10px;color:inherit;text-decoration:none}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row:hover{border-color:rgba(0,212,255,.35)}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__who{min-width:0}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__who strong,
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__who small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__who strong{font-size:12px;line-height:1.2}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__who small{margin-top:1px;color:var(--spp-muted);font-size:10px}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__service{min-width:0;font-size:11px;line-height:1.25}
.spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__count{font-size:11px;font-weight:800;white-space:nowrap}
@media (max-width:720px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row{grid-template-columns:minmax(0,1fr) auto}
  .spp-root--admin[data-spp-view="dashboard"] .spp-operations-available-row__service{grid-column:1}
}
@media (max-width:720px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-status-strip__head{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
}


/* =========================================================
   Smart Pro Portal 3.6.281 — Admin Home Compact Hero Status Stack v1
   Generic system state stays live, but uses the previously empty
   right side of the dashboard hero instead of adding vertical height.
   ========================================================= */
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero--admin-compact{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,560px);
  align-items:end;
  gap:18px;
  margin-bottom:8px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero--admin-compact .spp-dashboard-hero-copy{min-width:0;}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-status{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-end;
  gap:6px;
  padding-bottom:1px;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-status .spp-system-state{
  width:max-content;
  max-width:100%;
  margin:0;
  padding:6px 10px;
  font-size:10.5px;
  line-height:1.25;
  text-align:left;
}
.spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-status .spp-live-refresh-meta{
  margin:0;
}
@media(max-width:1080px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero--admin-compact{grid-template-columns:1fr;gap:8px;}
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-status{align-items:flex-start;}
}
@media(max-width:760px){
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-status .spp-system-state,
  .spp-root--admin[data-spp-view="dashboard"] .spp-dashboard-hero-status .spp-live-refresh-meta{width:100%;}
}


/* 3.6.283 Customer included-service request surface */
.spp-customer-included-service-body{display:grid;gap:14px;}
.spp-customer-included-service-list{display:grid;gap:8px;}
.spp-customer-included-service-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--spp-border,#37516c);border-radius:12px;background:transparent;color:inherit;text-align:left;cursor:pointer;}
.spp-customer-included-service-row strong{font-size:15px;}
.spp-customer-included-service-row span{font-size:13px;}
.spp-customer-included-service-row.is-selected{box-shadow:inset 0 0 0 1px #66d9f5;}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-row{color:#f4f8ff;background:#131f32;border-color:#37516c;}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-row span{color:#bbd0e7;}
.spp-installation-operational-profile em{font-style:normal;font-size:12px;font-weight:700;}
.spp-customer-included-service-card{display:grid;gap:12px;padding:16px;border:1px solid var(--spp-border);border-radius:16px;background:var(--spp-surface-2,#101b2d);}
.spp-customer-included-service-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.spp-customer-included-service-card__head>div{display:grid;gap:4px;}
.spp-customer-included-service-card__head strong{font-size:17px;line-height:1.25;}
.spp-customer-included-service-card__head span:not(.spp-status-badge){font-size:13px;color:var(--spp-text-muted,#9fb0c8);}
.spp-customer-included-service-card p{margin:0;color:var(--spp-text-muted,#9fb0c8);line-height:1.5;}
.spp-customer-included-service-card label:not(.spp-technician-confirm){display:grid;gap:6px;}
.spp-customer-included-service-card textarea{width:100%;min-height:74px;resize:vertical;}
.spp-customer-included-service-confirm{margin:0;}
@media (max-width:760px){
  .spp-customer-included-service-row{align-items:flex-start;flex-direction:column;}
  .spp-root--admin .spp-mga433__footer.is-complete{grid-template-columns:1fr;}
}

/* 3.6.284 Customer included-service modal native scroll ownership hotfix */
html.spp-included-service-modal-open,
body.spp-included-service-modal-open{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.spp-root--customer .spp-customer-included-service-modal{
  overscroll-behavior:contain;
  touch-action:none;
}
.spp-root--customer .spp-customer-included-service-modal .spp-followup-modal-dialog{
  width:min(820px,calc(100vw - 32px));
  max-height:min(860px,calc(100vh - 32px));
  max-height:min(860px,calc(100dvh - 32px));
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden!important;
  overscroll-behavior:contain;
  touch-action:auto;
}
.spp-root--customer .spp-customer-included-service-modal .spp-followup-modal-head,
.spp-root--customer .spp-customer-included-service-modal .spp-followup-modal-actions{
  min-width:0;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-body{
  min-height:0;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  touch-action:pan-y;
}
.spp-root--customer .spp-customer-included-service-modal .spp-followup-modal-actions{
  margin:0;
  background:var(--spp-surface-1,#0d1728);
  border-top:1px solid var(--spp-line);
}
@media(max-width:620px){
  .spp-root--customer .spp-customer-included-service-modal{padding:10px;}
  .spp-root--customer .spp-customer-included-service-modal .spp-followup-modal-dialog{
    width:100%;
    max-height:calc(100vh - 20px);
    max-height:calc(100dvh - 20px);
  }
}



/* 3.6.287 Customer first package purchase surface */
.spp-customer-first-activation-offer{display:grid;gap:16px}
.spp-customer-first-activation-offer__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.spp-customer-first-activation-offer__head h3{margin:4px 0 6px}
.spp-customer-first-activation-offer__head p{margin:0;max-width:780px}
.spp-customer-first-activation-offer__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.spp-customer-first-activation-offer__card{display:grid;align-content:start;gap:14px;border:1px solid var(--spp-border,#d7e0ea);border-radius:18px;padding:18px;background:var(--spp-surface,#fff)}
.spp-customer-first-activation-offer__identity span{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.72}
.spp-customer-first-activation-offer__identity h4{margin:5px 0 7px;font-size:20px}
.spp-customer-first-activation-offer__identity p{margin:0;font-size:13px;line-height:1.45;opacity:.82}
.spp-customer-first-activation-offer__card ul{display:grid;gap:7px;margin:0;padding:0;list-style:none;font-size:13px;line-height:1.4}
.spp-customer-first-activation-offer__cycles{display:grid;gap:9px;margin-top:auto}
.spp-customer-first-activation-offer__cycle{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--spp-border,#d7e0ea);border-radius:14px;padding:11px}
.spp-customer-first-activation-offer__cycle>div{display:grid;gap:2px}
.spp-customer-first-activation-offer__cycle span{font-size:12px;font-weight:800;text-transform:uppercase;opacity:.72}
.spp-customer-first-activation-offer__cycle strong{font-size:17px}
.spp-customer-first-activation-offer__cycle small{opacity:.75}
@media (max-width:1000px){.spp-customer-first-activation-offer__grid{grid-template-columns:1fr}.spp-customer-first-activation-offer__head{display:grid}.spp-customer-first-activation-offer__cycle{grid-template-columns:1fr}.spp-customer-first-activation-offer__cycle .spp-btn{width:100%}}

/* =========================================================
   Smart Pro Portal 3.6.288 — Customer Package UX Consolidation
   ========================================================= */
.spp-customer-first-activation-canonical{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid rgba(0,212,255,.18);border-radius:16px;background:rgba(0,212,255,.045)}
.spp-customer-first-activation-canonical>div{display:grid;gap:4px;min-width:0}.spp-customer-first-activation-canonical strong{color:#fff;font-size:13px}.spp-customer-first-activation-canonical p{margin:0;color:#aebed4;font-size:10px;line-height:1.55}.spp-customer-first-activation-canonical .spp-btn{flex:none}
.spp-customer-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.spp-customer-service-card{display:grid;align-content:start;gap:9px;min-width:0;padding:14px;border:1px solid rgba(126,153,201,.14);border-radius:15px;background:rgba(255,255,255,.018)}
.spp-customer-service-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.spp-customer-service-card__head>div{display:grid;gap:3px;min-width:0}.spp-customer-service-card__head strong{color:#dfeaff;font-size:10px}.spp-customer-service-card__head span{color:#fff;font-size:12px;font-weight:850;line-height:1.35}.spp-customer-service-card__head em{flex:none;padding:4px 7px;border-radius:999px;background:rgba(126,153,201,.08);color:#aebbd4;font-size:8px;font-style:normal;font-weight:900}
.spp-customer-service-card p{margin:0;color:#aabbd3;font-size:10px;line-height:1.5}.spp-customer-service-card small{color:#aebbd4;font-size:8px;font-weight:850}.spp-customer-service-card--success{border-color:rgba(52,211,153,.20)}.spp-customer-service-card--success .spp-customer-service-card__head em{background:rgba(52,211,153,.10);color:#88efc7}.spp-customer-service-card--info{border-color:rgba(0,212,255,.20)}.spp-customer-service-card--info .spp-customer-service-card__head em{background:rgba(0,212,255,.09);color:#7ee8ff}.spp-customer-service-card--warning{border-color:rgba(245,194,66,.22)}.spp-customer-service-card--warning .spp-customer-service-card__head em{background:rgba(245,194,66,.10);color:#ffe088}
.spp-customer-service-group--additional{margin-top:4px}.spp-customer-service-group--additional .spp-customer-service-card{background:rgba(126,153,201,.025)}
@media(max-width:820px){.spp-customer-service-grid{grid-template-columns:1fr}.spp-customer-first-activation-canonical{align-items:stretch;flex-direction:column}.spp-customer-first-activation-canonical .spp-btn{width:100%;justify-content:center}}
.spp-root--customer[data-spp-theme="light"] .spp-customer-first-activation-canonical{background:#f3fbff!important;border-color:#c9e7f0!important}.spp-root--customer[data-spp-theme="light"] .spp-customer-first-activation-canonical strong{color:#102033!important}.spp-root--customer[data-spp-theme="light"] .spp-customer-first-activation-canonical p{color:#60748a!important}
.spp-root--customer[data-spp-theme="light"] .spp-customer-service-card{background:#fff!important;border-color:#d5e1ec!important}.spp-root--customer[data-spp-theme="light"] .spp-customer-service-card__head span{color:#102033!important}.spp-root--customer[data-spp-theme="light"] .spp-customer-service-card p{color:#60748a!important}


/* =========================================================
   Smart Pro Portal 3.6.289 — Customer Subscription Navigation & Action Clarity
   Global Subscription & Payments tabs remain primary. Installation package
   views use a smaller, explicitly contextual secondary navigation.
   ========================================================= */
.spp-root--customer .spp-subscription-workspace-tabs{
  width:100%;
  margin:0 0 20px;
  padding:6px;
  border-radius:15px;
}
.spp-root--customer .spp-subscription-workspace-tabs a{
  min-height:40px;
  padding:9px 18px;
  font-size:13px;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-inner-tabs{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
  width:100%;
  margin:0;
  padding:4px 6px;
  border:1px solid rgba(126,153,201,.14);
  border-radius:11px;
  background:rgba(126,153,201,.035);
  box-shadow:none;
}
.spp-root--customer .spp-customer-package-inner-tabs__context{
  flex:0 0 auto;
  margin-right:3px;
  padding:0 9px 0 4px;
  border-right:1px solid rgba(126,153,201,.18);
  color:var(--spp-muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.55px;
  line-height:30px;
  text-transform:uppercase;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-inner-tabs a{
  min-height:30px;
  padding:5px 10px;
  border:1px solid transparent;
  border-radius:8px;
  font-size:10.5px;
  font-weight:850;
  box-shadow:none;
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-inner-tabs a:hover{
  border-color:rgba(0,212,255,.14);
}
.spp-root--customer .spp-customer-package-installation-row .spp-customer-package-inner-tabs a.is-active{
  border-color:rgba(0,212,255,.24);
  background:rgba(0,212,255,.075);
  box-shadow:none;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-installation-row .spp-customer-package-inner-tabs{
  border-color:#d8e3ed!important;
  background:#f7fafc!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-inner-tabs__context{
  border-color:#d8e3ed;
  color:#728398;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-installation-row .spp-customer-package-inner-tabs a{
  color:#62758a!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-installation-row .spp-customer-package-inner-tabs a.is-active{
  color:#102033!important;
  border-color:#badbe9!important;
  background:#ecf8fd!important;
}
@media(max-width:720px){
  .spp-root--customer .spp-subscription-workspace-tabs{display:grid;grid-template-columns:1fr;margin-bottom:14px;}
  .spp-root--customer .spp-subscription-workspace-tabs a{width:100%;justify-content:flex-start;}
  .spp-root--customer .spp-customer-package-inner-tabs__context{width:100%;margin:0;padding:0 4px;border-right:0;border-bottom:1px solid rgba(126,153,201,.14);line-height:24px;}
}

/* =========================================================
   Smart Pro Portal 3.6.290 — Customer Journey Consistency
   ========================================================= */
.spp-root--customer .spp-system-state__action{
  display:inline-flex;
  align-items:center;
  margin-left:4px;
  color:var(--spp-accent);
  font-size:11px;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}
.spp-root--customer .spp-system-state__action:hover,
.spp-root--customer .spp-system-state__action:focus-visible{
  text-decoration:underline;
  text-underline-offset:3px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signal-action{
  appearance:none;
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:5px 8px;
  border:1px solid var(--spp-line);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  font:inherit;
  font-size:8.5px;
  font-weight:800;
  line-height:1.15;
  white-space:nowrap;
  cursor:pointer;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signal-action:hover,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signal-action:focus-visible{
  transform:translateY(-1px);
  outline:none;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--spp-accent) 18%,transparent);
}
.spp-root--customer .spp-customer-request-context{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px 12px;
  padding:11px 13px;
  border:1px solid var(--spp-line);
  border-radius:13px;
  background:rgba(255,255,255,.025);
}
.spp-root--customer .spp-customer-request-context>span{
  color:var(--spp-muted);
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.spp-root--customer .spp-customer-request-context>strong{
  min-width:0;
  color:var(--spp-text);
  font-size:12px;
  line-height:1.3;
}
.spp-root--customer .spp-customer-request-context>small{
  color:var(--spp-accent);
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.spp-root--customer .spp-customer-request-modal-form .spp-form-grid--single{
  grid-template-columns:1fr;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-context{
  background:#f7fafc;
  border-color:rgba(32,61,86,.16);
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-context>strong{color:#102033;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-context>span{color:#5d7186;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-request-context>small{color:#0876a8;}
@media(max-width:700px){
  .spp-root--customer .spp-system-state{align-items:flex-start;flex-wrap:wrap;border-radius:18px;}
  .spp-root--customer .spp-system-state__action{width:100%;margin-left:18px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-health__signal-action{white-space:normal;}
  .spp-root--customer .spp-customer-request-context{grid-template-columns:1fr;gap:4px;}
  .spp-root--customer .spp-customer-request-context>small{white-space:normal;}
}

/* Smart Pro Portal 3.6.291 — Standalone provisioning / Trial semantics milestone. */


/* Smart Pro Portal 3.6.315 — Managed Backup centered four-tab workspace (presentation only). */
.spp-root--admin #spp-settings-managed-backup-v1 .spp-drawer-panel{height:min(88dvh,910px)!important;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-drawer-head{min-height:68px!important;padding:12px 18px 11px!important;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-drawer-panel{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  overflow:hidden!important;
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-drawer-body{
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:0 18px 28px!important;
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-settings-wide-card{display:block;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-tabs{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;position:sticky;top:0;z-index:5;
  background:var(--spp-surface,#0d182a);border-bottom:1px solid var(--spp-line);
  padding:10px 0;margin-bottom:11px
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-tab{
  appearance:none;border:1px solid var(--spp-line);border-radius:9px;background:rgba(255,255,255,.018);
  color:var(--spp-muted);padding:9px 12px;font-size:11px;font-weight:750;cursor:pointer;line-height:1.25
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-tab[aria-selected="true"]{
  background:rgba(79,172,254,.14);color:var(--spp-text);border-color:rgba(79,172,254,.55)
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-tab:focus-visible{outline:2px solid #4facfe;outline-offset:2px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-panel[hidden]{display:none!important}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-panel{min-width:0;padding:0 0 12px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-section-head{margin:7px 0 10px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-section-head h3{font-size:15px;line-height:1.35;margin:0 0 4px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-section-head p{font-size:11px;line-height:1.5;color:var(--spp-muted);margin:0}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-facts>div{min-width:0}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-point-list{display:grid;gap:9px;margin:12px 0}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-point-row{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;
  border:1px solid var(--spp-line);border-radius:12px;padding:10px;background:rgba(255,255,255,.012)
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-point-row>div{min-width:0;display:grid;gap:5px;align-content:start}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-point-row span{font-size:9px;font-weight:800;color:var(--spp-muted);text-transform:uppercase}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-point-row strong{font-size:12px;overflow-wrap:anywhere}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-point-row small{font-size:10px;color:var(--spp-muted);line-height:1.45}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-footnote,.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-empty{font-size:10px;line-height:1.6;color:var(--spp-muted)}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-details{margin:12px 0;border:1px solid var(--spp-line);border-radius:11px;padding:11px;background:rgba(255,255,255,.012)}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-details>summary{cursor:pointer;font-size:12px;font-weight:750}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-details>summary small{font-size:10px;display:inline;color:var(--spp-muted);font-weight:450;margin-left:6px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-actions{display:grid;gap:10px}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb315-tabs{background:#f7fafc}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb315-tab{background:#fff}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb315-tab[aria-selected="true"]{background:#e7f4ff;color:#163c63}
@media(max-width:760px){
  .spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-tab{padding:9px 6px;font-size:10px}
  .spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-point-row{grid-template-columns:1fr}
}
@media(max-width:420px){.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb315-facts{grid-template-columns:1fr}}

/* Smart Pro Portal 3.6.317 — Managed Backup provider evidence & safe controls only. */
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-confirm-form{
  display:grid!important;gap:12px!important;margin:13px 0 20px!important;padding:14px!important;
  border:1px solid rgba(79,172,254,.28);border-radius:12px;background:rgba(79,172,254,.055);
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-confirm{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:12px!important;
  color:#e8f3ff!important;opacity:1!important;visibility:visible!important;
  font-size:13px!important;font-weight:600!important;line-height:1.55!important;
  letter-spacing:normal!important;text-transform:none!important;cursor:pointer;
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-confirm input[type="checkbox"]{
  appearance:auto!important;flex:0 0 19px!important;width:19px!important;height:19px!important;
  margin:1px 0 0!important;opacity:1!important;visibility:visible!important;accent-color:#60a5fa;cursor:pointer;
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-confirm span{display:block!important;opacity:1!important;color:inherit!important}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-action-row{display:flex!important;align-items:flex-start;flex-wrap:wrap;gap:10px 15px;padding-bottom:10px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-action-row>.spp-btn{max-width:100%;white-space:normal;text-align:center;min-height:39px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-action-row small{font-size:11px;line-height:1.6;color:var(--spp-muted)}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-checks>div{display:grid;gap:6px;min-width:0;padding:11px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(255,255,255,.015)}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-checks span{font-size:10px;color:var(--spp-muted)}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-checks strong{font-size:12px;color:var(--spp-text)}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-provider-state--verified{color:#86efac!important}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-provider-state--unverified,
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-provider-state--blocked{color:#fbbf24!important}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-provider-state--stale{color:#cbd5e1!important}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb317-confirm-form{background:#f0f7ff;border-color:#a7cfff}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb317-confirm{color:#153653!important}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb317-checks>div{background:#fff}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb317-provider-state--verified{color:#166534!important}
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb317-provider-state--unverified,
.spp-root--admin[data-spp-theme="light"] #spp-settings-managed-backup-v1 .spp-mb317-provider-state--blocked{color:#92400e!important}
@media(max-width:760px){
  .spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-checks{grid-template-columns:1fr}
  .spp-root--admin #spp-settings-managed-backup-v1 .spp-mb317-confirm-form{padding:11px!important}
}

/* 3.6.318 · read-only recovery source preflight, same bounded drawer/subtabs. */
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb318-recovery{margin-top:20px;padding-top:16px;border-top:1px solid var(--spp-line);padding-bottom:25px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb318-recovery .spp-mb315-section-head{margin-bottom:10px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb318-recovery .spp-notice{margin-top:10px}

/* 3.6.319 — recovery sample pilot in existing Restore Points tab; no global styles. */
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb319-range{margin-top:20px;padding-top:18px;border-top:1px solid var(--spp-line);padding-bottom:44px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb319-range .spp-mb315-section-head{margin-bottom:10px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb319-range .spp-mb315-footnote{margin-top:12px}

/* 3.6.322 — explicit, readable exact Installation ID confirmation for handoff REVIEW only. */
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb322-exact-confirm{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--spp-text);
  font-size:13px;font-weight:600;line-height:1.5;
}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb322-exact-confirm input[type="text"]{
  color:var(--spp-text)!important;background:var(--spp-surface)!important;
  border:1px solid var(--spp-line)!important;border-radius:8px;padding:9px 11px;
  min-width:220px;max-width:100%;font-size:13px!important;letter-spacing:normal;
}


/* 3.6.323 — compact, accessible review disposition controls only. */
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb323-review{margin-top:18px;padding:16px 0 26px;border-top:1px solid var(--spp-line)}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb323-review .spp-mb322-exact-confirm{align-items:flex-start;flex-direction:column;gap:6px}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb323-review select,
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb323-review textarea{box-sizing:border-box;width:100%;max-width:620px;border:1px solid var(--spp-line);border-radius:8px;background:var(--spp-surface);color:var(--spp-text);padding:10px 12px;font:inherit;line-height:1.45}


/* 3.6.328 — Managed Backup in both Full Installation Folders: compact, read-only. */
.spp-mb328-folder-card{margin-top:16px;min-width:0}
.spp-mb328-folder-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:14px}
.spp-mb328-state{display:inline-flex;align-items:center;max-width:100%;padding:7px 11px;border-radius:999px;font-weight:700;font-size:12px;line-height:1.35;background:rgba(120,134,151,.1);border:1px solid rgba(120,134,151,.35);white-space:normal}
.spp-mb328-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.spp-mb328-facts>div{display:flex;flex-direction:column;gap:6px;min-width:0;border:1px solid var(--spp-line,rgba(120,134,151,.23));border-radius:10px;padding:12px 14px}
.spp-mb328-facts span{font-size:12px;line-height:1.4;color:var(--spp-muted,#627286)}
.spp-mb328-facts strong{font-size:14px;line-height:1.55;font-weight:700;overflow-wrap:anywhere}
.spp-mb328-footer{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:13px}
.spp-mb328-footer p{margin:0;flex:1 1 330px;font-size:12px;line-height:1.65;color:var(--spp-muted,#627286)}
.spp-mb328-scan{flex-basis:100%}
@media(max-width:640px){.spp-mb328-facts{grid-template-columns:minmax(0,1fr)}.spp-mb328-folder-head{gap:10px}}

/* 3.6.604 — Admin folder Managed Backup status board. Presentation only. */
.spp-mb604-board{display:grid;gap:16px;margin-top:14px;min-width:0}
.spp-mb604-zone{min-width:0}
.spp-mb604-zone h3{margin:0 0 8px;color:var(--spp-muted,#627286);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.spp-mb604-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.spp-mb604-signal{display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px 14px;border:1px solid var(--spp-line,rgba(120,134,151,.23));border-left-width:3px;border-radius:12px;background:rgba(255,255,255,.02)}
.spp-mb604-signal small{color:var(--spp-muted,#627286);font-size:11px;line-height:1.4}
.spp-mb604-signal strong{color:var(--spp-text,#e8eef6);font-size:14px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
.spp-mb604-signal em,.spp-mb604-note,.spp-mb604-empty,.spp-mb604-cycle small,.spp-mb604-results em{color:var(--spp-muted,#627286);font-size:12px;font-style:normal;line-height:1.5}
.spp-mb604-signal--ok{border-left-color:#34d399}
.spp-mb604-signal--wait{border-left-color:#fbbf24}
.spp-mb604-signal--bad{border-left-color:#fb7185}
.spp-mb604-signal--idle{border-left-color:rgba(195,207,221,.45)}
.spp-mb604-history{display:grid;gap:8px}
.spp-mb604-cycle{display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr);gap:8px 14px;min-width:0;padding:12px 14px;border:1px solid var(--spp-line,rgba(120,134,151,.23));border-radius:12px}
.spp-mb604-cycle strong,.spp-mb604-cycle small{display:block}
.spp-mb604-results{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}
.spp-mb604-pill{display:inline-flex;align-items:center;max-width:100%;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.spp-mb604-pill--ok{color:#9af2cf;background:rgba(52,211,153,.10);border:1px solid rgba(52,211,153,.20)}
.spp-mb604-pill--wait{color:#fde68a;background:rgba(251,191,36,.10);border:1px solid rgba(251,191,36,.20)}
.spp-mb604-pill--bad{color:#fecdd3;background:rgba(251,113,133,.12);border:1px solid rgba(251,113,133,.24)}
.spp-mb604-pill--idle{color:#c3cfdd;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.spp-mb604-note,.spp-mb604-empty{margin:8px 0 0}
@media(max-width:900px){.spp-mb604-signals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.spp-mb604-signals,.spp-mb604-cycle{grid-template-columns:minmax(0,1fr)}}
.spp-root--admin[data-spp-theme="light"] .spp-mb604-pill--ok{color:#047857;background:#dff7ed;border-color:#9bdcc5}
.spp-root--admin[data-spp-theme="light"] .spp-mb604-pill--wait{color:#92400e;background:#fff3d6;border-color:#efd08b}
.spp-root--admin[data-spp-theme="light"] .spp-mb604-pill--bad{color:#9f1239;background:#ffe4e6;border-color:#fecdd3}
.spp-root--admin[data-spp-theme="light"] .spp-mb604-pill--idle{color:#475569;background:#f1f5f9;border-color:#d6dee8}

/* 3.6.605 — Backup tab: two compact cards, then one full-width Managed Backup area. */
.spp-mb605-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin-top:12px}
.spp-mb605-top>.spp-card,.spp-mb605-top>.spp-folder-nav422__files-slot{min-width:0;margin:0}
.spp-mb605-top .spp-folder-nav422__files-slot .spp-sub,
.spp-mb605-top .spp-folder-nav422__files-slot .spp-placeholder-grid span{display:block}
.spp-mb605-top .spp-folder-nav422__files-slot .spp-placeholder-grid{display:grid;gap:10px}
.spp-mb605-main{display:grid;gap:12px;margin-top:12px}
.spp-mb605-main>.spp-folder-nav410__backup-workspace,
.spp-mb605-main>.spp-folder-nav423__backup-slot{width:100%;max-width:none;margin:0!important;padding-top:0!important;border-top:0!important}
.spp-mb605-actions{display:grid;gap:12px;margin:14px 0}
.spp-mb605-actions>h3,.spp-mb605-fold>summary{margin:0;color:var(--spp-text);font-size:15px;font-weight:750}
.spp-mb605-fold{margin:12px 0;border:1px solid var(--spp-line,rgba(120,134,151,.23));border-radius:12px;padding:12px 14px}
.spp-mb605-fold>summary{cursor:pointer}
.spp-mb605-hint{margin:8px 0;color:var(--spp-muted,#627286);font-size:13px;line-height:1.5}
.spp-folder-nav423__backup-slot .spp-mb345-stats{display:none}
body.spp-folder-door-open{overflow:hidden}
dialog.spp-mb345-dialog{max-width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
dialog.spp-mb345-dialog::backdrop{background:rgba(4,10,18,.72)}
.spp-mb345-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.spp-mb345-dialog-head [data-spp-mb605-close]{margin-left:auto}
@media(max-width:800px){.spp-mb605-top{grid-template-columns:minmax(0,1fr)}}

/* 3.6.606 — customer folder: compact two-column cards and detail dialogs. */
.spp-root--customer .spp-customer-summary-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;align-items:stretch}
.spp-root--customer .spp-customer-summary-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.spp-root--customer .spp-customer-summary-side>.spp-card{flex:1 1 auto;margin:0}
.spp-root--customer .spp-customer-summary-layout>.spp-customer-installation-connection-card{margin:0;height:100%}
.spp-root--customer .spp-aac-customer--compact .spp-card-head{align-items:center}
.spp-root--customer .spp-customer-installation-folder-panel[data-spp-installation-folder-panel="services"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.spp-root--customer .spp-customer-services-grid,.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:0}
.spp-root--customer .spp-customer-service-status-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.spp-root--customer .spp-customer-service-status-card .spp-card-head{flex:1 1 auto;margin:0;align-items:center}
.spp-root--customer .spp-customer-service-status-card .spp-sub{margin:4px 0 0}
.spp-root--customer .spp-customer-service-status-card,.spp-root--customer .spp-customer-external-url-card,.spp-root--customer .spp-mb328-folder-card,.spp-root--customer #spp-folder-managed-backup-consent{margin:0;min-width:0}
.spp-root--customer .spp-home-chip.is-ok{color:#047857;background:#dff7ed;border:1px solid #9bdcc5}
.spp-root--customer .spp-customer-service-status-card:has(.is-ok){box-shadow:inset 3px 0 0 #34d399}
.spp-root--customer .spp-customer-service-status-card:has(.is-warn){box-shadow:inset 3px 0 0 #fbbf24}
.spp-root--customer .spp-mb606-glance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.spp-root--customer .spp-mb606-glance>div{min-width:0;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px}
.spp-root--customer .spp-mb606-glance span{display:block;color:var(--spp-muted);font-size:12px}
.spp-root--customer .spp-mb606-glance strong{display:block;margin-top:4px;font-size:14px;overflow-wrap:anywhere}
.spp-root--customer .spp-installation-operational-profile__primary-grid,.spp-root--customer .spp-installation-profile-location-grid,.spp-root--customer .spp-installation-profile-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.spp-folder-manage-open{background:#04b9df;color:#fff!important;border:0;font-weight:750;min-height:42px;padding:0 16px;border-radius:12px}
.spp-folder-manage-open:hover{background:#039cc0}
.spp-customer-cancellation-schedule-modal,.spp-safety-confirm-modal{z-index:10140}
.spp-root--customer .spp-customer-subscription-summary-card__actions,.spp-root--customer #spp-folder-package-includes,.spp-root--customer #spp-folder-package-catalog{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.spp-followup-modal-body{overflow:auto;max-height:calc(100dvh - 140px)}
@media(max-width:800px){
  .spp-root--customer .spp-customer-summary-layout,
  .spp-root--customer .spp-customer-services-grid,
  .spp-root--customer .spp-customer-installation-folder-panel[data-spp-installation-folder-panel="services"],
  .spp-root--customer .spp-installation-operational-profile__primary-grid,
  .spp-root--customer .spp-installation-profile-location-grid,
  .spp-root--customer .spp-installation-profile-access-grid,
  .spp-root--customer .spp-mb606-glance{grid-template-columns:minmax(0,1fr)}
}

/* Smart Pro Portal 3.6.340 — guarded recovery operator navigation, presentation only. */
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-console{margin:12px 0 16px;padding:15px;border:1px solid rgba(79,172,254,.33);border-radius:15px;background:linear-gradient(145deg,rgba(79,172,254,.07),rgba(255,255,255,.014));}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-console-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-eyebrow{display:block;color:var(--spp-muted);font-size:9px;letter-spacing:.07em;font-weight:850;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-console-head h3{margin:4px 0 5px;font-size:17px;line-height:1.25;color:var(--spp-text);}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-console-head p{margin:0;color:var(--spp-muted);font-size:11px;max-width:580px;line-height:1.55;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-console-head p strong{color:var(--spp-text);}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-console-badge{flex-shrink:0;font-size:9px;font-weight:800;letter-spacing:.035em;color:var(--spp-muted);border:1px solid var(--spp-line);padding:6px 9px;border-radius:99px;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-step{min-width:0;display:flex;flex-direction:column;gap:6px;border:1px solid var(--spp-line);border-radius:11px;background:var(--spp-surface,rgba(14,24,39,.85));padding:12px;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-step-number{font-size:9px;font-weight:850;letter-spacing:.07em;color:var(--spp-muted);}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-step>strong{font-size:12px;color:var(--spp-text);}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-step>small{font-size:10px;color:var(--spp-muted);line-height:1.5;flex:1;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-step .spp-btn{align-self:flex-start;min-height:34px;font-size:10px;white-space:normal;text-align:left;margin-top:4px;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-step .spp-btn:disabled{opacity:.55;cursor:not-allowed;}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-restorenote{font-size:10px;line-height:1.55;color:var(--spp-muted);padding-top:11px;margin-top:10px;border-top:1px solid var(--spp-line);}
.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-restorenote strong{color:var(--spp-text);}
.spp-root--admin #spp-settings-managed-backup-v1 [id^="spp-mb340-"]{scroll-margin-top:95px;}
@media(max-width:760px){.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-console-head{flex-direction:column;}.spp-root--admin #spp-settings-managed-backup-v1 .spp-mb340-grid{grid-template-columns:1fr;}}

/* 3.6.341 — Admin installation-bound backup operator workspace. */
.spp-mb341-operator{margin-top:16px;max-width:100%;min-width:0}
.spp-mb341-header{display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:16px}
.spp-mb341-header h2{margin:5px 0 8px;font-size:21px;line-height:1.3}
.spp-mb341-header p,.spp-mb341-section-head p{font-size:12px;line-height:1.5;color:var(--spp-muted);margin:0}
.spp-mb341-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.spp-mb341-overview>div{background:var(--spp-surface);border:1px solid var(--spp-line);border-radius:12px;padding:13px;display:flex;flex-direction:column;gap:6px;min-width:0}
.spp-mb341-overview span{font-size:11px;color:var(--spp-muted)}
.spp-mb341-overview strong{font-size:13px;overflow-wrap:anywhere}
.spp-mb341-section-head{margin:22px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.spp-mb341-section-head h3{font-size:17px;margin:0 0 5px}
.spp-mb341-table-scroll{overflow-x:auto;border:1px solid var(--spp-line);border-radius:12px}
.spp-mb341-table{width:100%;border-collapse:collapse;min-width:640px;font-size:12px}
.spp-mb341-table th{text-align:left;color:var(--spp-muted);background:var(--spp-surface);font-size:10px;text-transform:uppercase;letter-spacing:.03em;padding:12px}
.spp-mb341-table td{padding:12px;border-top:1px solid var(--spp-line);vertical-align:top}
.spp-mb341-table td small{display:block;color:var(--spp-muted);font-size:10px;margin-top:4px}
.spp-mb341-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.spp-mb341-operation{padding:16px;border:1px solid var(--spp-line);border-radius:13px;min-width:0;background:var(--spp-surface)}
.spp-mb341-operation--wide{grid-column:1/-1}
.spp-mb341-operation--guard{opacity:.82}
.spp-mb341-operation-title{display:flex;align-items:flex-start;gap:12px}
.spp-mb341-number{font-size:12px;font-weight:800;border:1px solid var(--spp-line);border-radius:9px;padding:8px;color:var(--spp-muted)}
.spp-mb341-operation-title h4{font-size:14px;margin:0 0 6px}
.spp-mb341-operation-title p{font-size:11px;line-height:1.55;margin:0;color:var(--spp-muted)}
.spp-mb341-operation-state{margin:13px 0;padding:9px 11px;border-radius:9px;border:1px solid var(--spp-line);font-size:11px;line-height:1.5}
.spp-mb341-form{margin:12px 0 0;border-top:1px solid var(--spp-line);padding-top:12px;display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.spp-mb341-check{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5}
.spp-mb341-check input{margin-top:3px;accent-color:var(--spp-accent,#4c9aff)}
.spp-mb341-field{display:flex;flex-direction:column;gap:5px;width:min(100%,520px);font-size:12px}
.spp-mb341-field input,.spp-mb341-field select,.spp-mb341-field textarea{width:100%;box-sizing:border-box;background:var(--spp-surface);border:1px solid var(--spp-line);border-radius:8px;color:var(--spp-text);padding:9px;font:inherit}
.spp-mb341-muted{font-size:11px;color:var(--spp-muted);line-height:1.6;margin:12px 0 0}
.spp-mb341-feedback{padding:10px 12px;border:1px solid var(--spp-line);border-radius:10px;font-size:12px}
.spp-mb341-safe-note{border-top:1px solid var(--spp-line);padding-top:13px;margin-top:18px;color:var(--spp-muted);font-size:11px;line-height:1.65}
.spp-installation-folder-panel--backup{min-width:0}
@media(max-width:960px){.spp-mb341-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.spp-mb341-actions,.spp-mb341-overview{grid-template-columns:minmax(0,1fr)}.spp-mb341-operation--wide{grid-column:auto}}

/* 3.6.342 — explicitly confirmed historical-cycle advance, backup tab only. */
.spp-mb342-cycle{border:1px solid var(--spp-line);border-radius:11px;margin-top:13px;padding:13px;background:var(--spp-surface)}
.spp-mb342-cycle>strong{font-size:12px;line-height:1.5}
.spp-mb342-cycle>p{font-size:11px;color:var(--spp-muted);line-height:1.6;margin:8px 0 0}

/* 3.6.344 — presentation-only separation of archival QA and current operator workspace */
.spp-mb344-legacy-archive{margin:14px 0 20px;border:1px solid var(--spp-border,#34445a);border-radius:12px;background:rgba(111,145,185,.045)}
.spp-mb344-legacy-archive>summary{cursor:pointer;list-style:none;padding:15px 18px;font-weight:700;line-height:1.45;outline-offset:3px}
.spp-mb344-legacy-archive>summary::-webkit-details-marker{display:none}
.spp-mb344-legacy-archive>summary:before{content:'▸';margin-right:10px;display:inline-block}
.spp-mb344-legacy-archive[open]>summary:before{content:'▾'}
.spp-mb344-legacy-archive>summary small{display:block;font-weight:400;opacity:.75;margin:4px 0 0 23px}
.spp-mb344-legacy-content{padding:0 16px 18px;overflow-wrap:anywhere}
.spp-mb344-closeout{padding:16px 18px;margin:12px 0 18px;border:1px solid rgba(68,185,141,.4);border-radius:12px;background:rgba(68,185,141,.06)}
.spp-mb344-closeout strong{display:block;font-weight:750;margin-bottom:6px}
.spp-mb344-closeout p{margin:0 0 8px;font-size:.93rem;line-height:1.5}
.spp-mb344-closeout small{display:block;opacity:.82;line-height:1.5}

/* 3.6.345 — Installation-bound Managed Backup operator interface (visual redesign). */
.spp-mb345-workspace{min-width:0;max-width:100%;padding:22px!important}
.spp-mb345-head{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.spp-mb345-eyebrow{font-size:10px;font-weight:800;letter-spacing:.09em;color:var(--spp-muted);text-transform:uppercase}
.spp-mb345-head h2{font-size:24px;line-height:1.2;margin:5px 0 7px;color:var(--spp-text)}
.spp-mb345-head p{font-size:12px;line-height:1.5;margin:0;color:var(--spp-muted)}
.spp-mb345-head p strong{color:var(--spp-text)}
.spp-mb345-status{font-size:11px;font-weight:750;padding:8px 12px;border-radius:999px;border:1px solid var(--spp-line);white-space:nowrap}
.spp-mb345-status.is-protected{color:#45c89d;border-color:rgba(69,200,157,.35);background:rgba(69,200,157,.09)}
.spp-mb345-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:19px}
.spp-mb345-stats>div{display:flex;flex-direction:column;gap:7px;min-width:0;background:var(--spp-surface);border:1px solid var(--spp-line);border-radius:12px;padding:14px}
.spp-mb345-stats span{font-size:11px;color:var(--spp-muted)}
.spp-mb345-stats strong{font-size:13px;color:var(--spp-text);line-height:1.4;overflow-wrap:anywhere}
.spp-mb345-actions-head,.spp-mb345-list-head{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:24px 0 11px;flex-wrap:wrap}
.spp-mb345-actions-head h3,.spp-mb345-list-head h3{font-size:17px;color:var(--spp-text);margin:0}
.spp-mb345-actions-head>span,.spp-mb345-list-head p,.spp-mb345-historic{font-size:11px;color:var(--spp-muted);margin:4px 0 0}
.spp-mb345-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.spp-mb345-action{display:flex;align-items:center;text-align:left;gap:10px;min-width:0;min-height:89px;padding:13px;border:1px solid var(--spp-line);border-radius:12px;background:var(--spp-surface);color:var(--spp-text);cursor:pointer;font-family:inherit;transition:border-color .15s,background .15s}
.spp-mb345-action:hover,.spp-mb345-action:focus-visible{border-color:var(--spp-accent,#5999d9);background:rgba(80,144,211,.08)}
.spp-mb345-action-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:10px;background:rgba(84,157,234,.12);color:var(--spp-text);font-size:21px;font-weight:700}
.spp-mb345-action>span:nth-child(2){flex:1;min-width:0}
.spp-mb345-action strong{display:block;font-size:13px;line-height:1.35}
.spp-mb345-action small{display:block;font-size:10px;line-height:1.5;margin-top:5px;color:var(--spp-muted)}
.spp-mb345-chevron{font-size:24px;color:var(--spp-muted)}
.spp-mb345-action--upcoming{border-style:dashed}
.spp-mb345-result{display:flex;align-items:start;gap:10px;margin:16px 0 0;padding:11px 13px;border-radius:11px;border:1px solid rgba(69,200,157,.25);background:rgba(69,200,157,.06);font-size:12px}
.spp-mb345-result>span{font-size:17px;color:#45c89d;font-weight:800}
.spp-mb345-result>div{flex:1}
.spp-mb345-result strong{display:block;margin:0 0 3px}
.spp-mb345-result small{color:var(--spp-muted);line-height:1.55}
.spp-mb345-result--warn{border-color:rgba(232,178,75,.35);background:rgba(232,178,75,.06)}
.spp-mb345-result--warn>span{color:#daa24e}
.spp-mb345-list{border:1px solid var(--spp-line);border-radius:12px;overflow:hidden}
.spp-mb345-point{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--spp-line);min-width:0}
.spp-mb345-point:last-child{border-bottom:none}
.spp-mb345-point[hidden]{display:none!important}
.spp-mb345-point-icon{height:34px;width:34px;flex:0 0 34px;display:grid;place-items:center;background:var(--spp-surface);border-radius:9px;border:1px solid var(--spp-line);font-size:16px;color:var(--spp-muted)}
.spp-mb345-point-main{flex:1;min-width:0}
.spp-mb345-point-main strong{display:block;font-size:12px;line-height:1.4;color:var(--spp-text)}
.spp-mb345-point-main small{display:block;font-size:11px;margin-top:4px;color:var(--spp-muted)}
.spp-mb345-latest{font-size:9px;margin-left:6px;padding:3px 6px;border-radius:5px;background:rgba(69,200,157,.12);color:#45c89d;white-space:nowrap}
.spp-mb345-minibtn,.spp-mb345-cancel{cursor:pointer;font:inherit;border-radius:8px;background:var(--spp-surface);border:1px solid var(--spp-line);color:var(--spp-text);font-size:11px;padding:8px 11px}
.spp-mb345-minibtn:hover,.spp-mb345-cancel:hover{border-color:var(--spp-accent,#5999d9)}
.spp-mb345-list-more{display:flex;justify-content:center;padding:11px}
.spp-mb345-list-more button{min-width:160px}
.spp-mb345-empty{padding:16px;border:1px dashed var(--spp-line);border-radius:10px;font-size:12px;color:var(--spp-muted)}
.spp-mb345-lastline{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--spp-line);margin-top:14px;padding-top:13px;color:var(--spp-muted);font-size:11px;flex-wrap:wrap}
.spp-mb345-lastline strong{color:var(--spp-text)}
.spp-mb345-inline{background:none;border:none;padding:6px;color:var(--spp-text);text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit;font-size:11px}
.spp-mb345-dialog{position:fixed;box-sizing:border-box;max-height:min(86vh,820px);width:min(650px,calc(100vw - 28px));max-width:calc(100vw - 28px);border:1px solid var(--spp-line);border-radius:15px;background:var(--spp-bg,#101b2e);color:var(--spp-text);padding:0;box-shadow:0 22px 75px rgba(0,0,0,.35);overflow:auto}
.spp-mb345-dialog:not([open]){display:none}
.spp-mb345-dialog::backdrop{background:rgba(4,10,20,.68)}
.spp-mb345-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:14px;align-items:center;background:var(--spp-bg,#101b2e);border-bottom:1px solid var(--spp-line);padding:18px 20px}
.spp-mb345-dialog-head span{color:var(--spp-muted);font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.spp-mb345-dialog-head h3{color:var(--spp-text);font-size:18px;margin:5px 0 0}
.spp-mb345-close{flex:0 0 32px;width:32px;height:32px;border:1px solid var(--spp-line);border-radius:8px;background:var(--spp-surface);color:var(--spp-text);font-size:21px;cursor:pointer}
.spp-mb345-dialog-content{padding:18px 20px;line-height:1.5}
.spp-mb345-dialog-content>p{font-size:12px;line-height:1.6;color:var(--spp-muted);margin:0 0 15px}
.spp-mb345-dialog .spp-mb341-operation{padding:14px;margin:12px 0;border-radius:10px}
.spp-mb345-dialog .spp-mb341-operation-title{display:none}
.spp-mb345-dialog .spp-mb341-operation:before{display:block;content:'ΕΛΕΓΧΟΣ & ΕΠΙΒΕΒΑΙΩΣΗ';font-size:10px;letter-spacing:.07em;color:var(--spp-muted);font-weight:700}
.spp-mb345-dialog .spp-mb341-form{width:100%}
.spp-mb345-dialog .spp-mb341-check{color:var(--spp-text)}
.spp-mb345-dialog .spp-mb341-field{color:var(--spp-text)}
.spp-mb345-dialog .spp-mb341-operation--guard{opacity:1}
.spp-mb345-dialog-foot{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--spp-line);background:var(--spp-bg,#101b2e)}
.spp-mb345-point-info{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.spp-mb345-point-info>div{padding:12px;border:1px solid var(--spp-line);background:var(--spp-surface);border-radius:8px;min-width:0}
.spp-mb345-point-info dt{font-size:11px;color:var(--spp-muted)}
.spp-mb345-point-info dd{margin:6px 0 0;overflow-wrap:anywhere;font-size:13px;font-weight:650}
.spp-mb345-point-info~p{margin-top:14px!important}
.spp-mb345-restore-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.spp-mb345-restore-choices>div{border:1px solid var(--spp-line);border-radius:9px;padding:13px;opacity:.75}
.spp-mb345-restore-choices strong,.spp-mb345-restore-choices small{display:block}
.spp-mb345-restore-choices small{font-size:11px;color:var(--spp-muted);margin-top:7px;line-height:1.55}
.spp-mb345-notice{padding:10px 12px;border:1px solid var(--spp-line);border-radius:8px;font-size:12px;margin:12px 0}
@media(max-width:980px){.spp-mb345-action-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.spp-mb345-workspace{padding:14px!important}.spp-mb345-stats,.spp-mb345-action-grid,.spp-mb345-restore-choices{grid-template-columns:1fr}.spp-mb345-point-info{grid-template-columns:1fr}.spp-mb345-point{gap:8px;padding:10px}}

/* 3.6.347: Historical exact-point HEAD form must remain hidden until a validated selection. */
.spp-mb345-dialog [data-mb347-history-form][hidden]{display:none!important}

/* 3.6.348 — selected historical backup transport assessment, read-only */
.spp-mb348-transfer-review{margin:16px 0;padding:15px;border:1px solid var(--spp-border, #34405b);border-radius:12px;background:rgba(120,146,177,.06)}
.spp-mb348-transfer-review>strong{display:block;font-size:14px;margin-bottom:8px}
.spp-mb348-transfer-review p{margin:7px 0;line-height:1.5}
.spp-mb348-checks{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.spp-mb348-checks span{display:inline-flex;border:1px solid var(--spp-border,#34405b);border-radius:8px;padding:5px 8px;font-size:12px}
.spp-mb348-transfer-review small{display:block;line-height:1.55;opacity:.85}

/* 3.6.350: A hidden historical action is never visible, even when common form CSS uses display:flex. */
.spp-mb345-dialog [data-mb349-get][hidden],
.spp-mb345-dialog [data-mb349-stage][hidden],
.spp-mb345-dialog [data-mb349-retry][hidden]{display:none!important}
/* 3.6.354 — Explicit post-import date guidance, without changing operator layout. */
.spp-mb345-workspace [data-mb354-import-date-advice][hidden]{display:none!important}
.spp-mb345-workspace [data-mb354-import-date-advice]:not([hidden]){padding:11px 13px;border:1px solid var(--spp-border,#34405b);border-radius:10px;line-height:1.55}

/* 3.6.367 Customer Studio Projects – read-only owner list */
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-list{margin:14px 0;min-width:0}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-row>span:first-child{min-width:0;overflow-wrap:anywhere}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-row strong{font-size:13px;color:inherit}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-row small{font-size:11px;line-height:1.5}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-row>.spp-status-badge{display:inline-flex;white-space:nowrap}
@media(max-width:620px){.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-row{align-items:flex-start;flex-direction:column;gap:8px}}

/* 3.6.368 – Admin Customer Studio Projects metadata-only read view */
.spp-admin-customer-studio-project-list{display:grid;gap:8px;margin:14px 0;min-width:0}
.spp-admin-customer-studio-project-row{border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;min-width:0}
.spp-admin-customer-studio-project-row>span:first-child{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.spp-admin-customer-studio-project-row strong{font-size:13px}
.spp-admin-customer-studio-project-row small{font-size:11px;line-height:1.5;opacity:.75}
.spp-admin-customer-studio-project-row>.spp-status-badge{flex-shrink:0;white-space:nowrap}
@media(max-width:620px){.spp-admin-customer-studio-project-row{align-items:flex-start;flex-direction:column;gap:8px}}

/* 3.6.369 Customer online Project handoff: compact action, same existing list. */
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-open{white-space:normal;text-align:center;font-size:12px;line-height:1.35;max-width:200px}
@media(max-width:620px){.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-actions{width:100%}.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-open{max-width:none;width:100%}}

/* 3.6.378 — Customer online projects workspace: clear start/continue and file scope. */
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 6px;padding:13px 14px;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:14px;background:var(--spp-surface-soft,rgba(100,150,185,.055))}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-tools>div{min-width:0}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-tools strong{display:block;font-size:13px;color:inherit}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-tools p{font-size:12px;line-height:1.5;margin:4px 0 0;color:var(--spp-muted,#8297a9)}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-new{flex-shrink:0;white-space:normal;text-align:center}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-guidance{margin:12px 0 16px;padding:12px 14px;border-left:3px solid #3aa7c2;background:rgba(63,157,195,.07);border-radius:10px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-guidance strong{display:block;font-size:12px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-guidance p{margin:5px 0 0;line-height:1.55;font-size:12px}
@media(max-width:680px){.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-project-tools{flex-direction:column;align-items:stretch}.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-new{width:100%}}

/* Studio Projects v3: compact read-only revision history, scoped to Customer Projects. */
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-version-details{margin:4px 4px 12px;padding:9px 12px;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:12px;background:rgba(100,150,185,.045)}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-version-details summary{cursor:pointer;font-size:12px;font-weight:700;line-height:1.5}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-version-list{display:grid;gap:5px;margin:9px 0}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-version-list>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-version-details small{font-size:11px;line-height:1.5;color:var(--spp-muted,#8297a9)}

/* 3.6.380 – Project owner management, scoped to Customer Projects only. */
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-details,
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-archived-details{margin:4px 4px 12px;padding:12px 14px;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:12px;background:var(--spp-surface-soft,rgba(100,150,185,.045))}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-details>summary,
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-archived-details>summary{cursor:pointer;font-weight:700;font-size:12px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-form{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;padding:11px;border:1px solid var(--spp-border,rgba(110,155,190,.20));border-radius:10px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-form label{font-size:12px;font-weight:700}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-form small{font-size:11px;line-height:1.5;color:var(--spp-muted,#8297a9)}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-inline{display:flex;gap:8px;flex-wrap:wrap;min-width:0;width:100%}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-inline input{min-width:0;flex:1 1 150px;padding:9px;border-radius:8px;border:1px solid var(--spp-border,#98aabb);background:var(--spp-surface,#fff);color:var(--spp-text,#142b41)}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-confirm{display:flex;gap:8px;align-items:start;font-weight:500!important}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-archived-list{display:grid;gap:9px;margin-top:12px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-archived-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:10px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-archived-row>div{display:grid;gap:4px}
.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-archived-row small{font-size:11px;color:var(--spp-muted,#8297a9)}
@media(max-width:680px){.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-manage-grid{grid-template-columns:1fr}.spp-root--customer[data-spp-view="installations"] .spp-customer-studio-archived-row{align-items:stretch;flex-direction:column}}


/* 3.6.386 — QA9 Custom Entity Card request modal contrast hotfix.
 * The customer light theme has dark inherited copy colors while this one
 * included-service card intentionally uses a dark surface. Keep the text
 * palette attached to the card, independent of the surrounding modal theme.
 * Do not affect other customer forms or the general support-request modal. */
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card{
  background:#131f32!important;
  border-color:#37516c;
  color:#f4f8ff!important;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card__head strong{
  color:#ffffff!important;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card__head > div > span:not(.spp-status-badge){
  color:#bbd0e7!important;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card > p{
  color:#d0dceb!important;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card label:not(.spp-technician-confirm) > span{
  color:#f2f7fe!important;
  font-weight:750;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-confirm > span{
  color:#edf5ff!important;
  font-size:14px;
  line-height:1.5;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-confirm input[type="checkbox"]{
  accent-color:#66d9f5;
  min-width:17px;
  min-height:17px;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card textarea{
  color:#14263a!important;
  background:#ffffff!important;
  border-color:#b7cadd!important;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card textarea::placeholder{
  color:#657b91!important;
  opacity:1;
}
.spp-root--customer .spp-customer-included-service-modal .spp-customer-included-service-card textarea:focus-visible{
  outline:2px solid #66d9f5;
  outline-offset:2px;
}

/* 3.6.389 — Admin Customer > Studies & Files: Custom Cards read-only customer aggregate. */
.spp-admin-customer-cc-readonly{margin-top:20px;padding:18px;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:17px;min-width:0}
.spp-admin-customer-cc-head,.spp-admin-customer-cc-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}
.spp-admin-customer-cc-head h3{margin:5px 0 4px;font-size:19px;color:inherit}
.spp-admin-customer-cc-head .spp-status-badge,.spp-admin-customer-cc-item-head .spp-status-badge{flex-shrink:0}
.spp-admin-customer-cc-list{display:grid;gap:12px;margin:14px 0 6px}
.spp-admin-customer-cc-item{border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:13px;padding:14px;min-width:0;background:var(--spp-surface-soft,rgba(100,150,185,.035))}
.spp-admin-customer-cc-item-head>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.spp-admin-customer-cc-item-head strong{font-size:13px;color:inherit}
.spp-admin-customer-cc-item-head small,.spp-admin-customer-cc-versions small{font-size:11px;line-height:1.5;color:var(--spp-muted,#91a4b6)}
.spp-admin-customer-cc-history{margin-top:12px;border-top:1px solid var(--spp-border,rgba(110,155,190,.25));padding-top:10px}
.spp-admin-customer-cc-history summary{cursor:pointer;font-weight:750;font-size:12px;color:inherit}
.spp-admin-customer-cc-versions{display:grid;gap:7px;margin-top:10px}
.spp-admin-customer-cc-versions>div{display:grid;gap:3px;padding:9px 11px;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:9px;overflow-wrap:anywhere}
.spp-admin-customer-cc-versions strong{font-size:12px;color:inherit}
.spp-admin-customer-cc-footnote{font-size:11px;line-height:1.6;color:var(--spp-muted,#91a4b6);margin:14px 0 0}
@media(max-width:650px){.spp-admin-customer-cc-head,.spp-admin-customer-cc-item-head{flex-direction:column;gap:10px}.spp-admin-customer-cc-readonly{padding:14px}}

/* 3.6.390 — Small Admin Customer Custom Cards management controls; desktop/mobile. */
.spp-admin-customer-cc-actions{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 0}
.spp-admin-customer-cc-actions .spp-btn{min-height:36px;font-size:12px}
.spp-admin-customer-cc-revise{margin-top:12px;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:11px;padding:11px 12px;min-width:0}
.spp-admin-customer-cc-revise>summary{cursor:pointer;font-size:12px;font-weight:800}
.spp-admin-customer-cc-revise .spp-sub{font-size:12px;margin:9px 0}
.spp-admin-customer-cc-revision-form{display:grid;gap:12px;margin:12px 0 2px}
.spp-admin-customer-cc-revision-form label:not(.spp-admin-customer-cc-confirm){display:grid;gap:6px;font-size:12px;font-weight:700}
.spp-admin-customer-cc-revision-form input[type=file],.spp-admin-customer-cc-revision-form textarea{width:100%;max-width:100%;min-width:0;border:1px solid var(--spp-border,rgba(110,155,190,.25));border-radius:9px;padding:10px;background:var(--spp-surface-soft,rgba(40,80,130,.10));color:inherit}
.spp-admin-customer-cc-confirm{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.55}
.spp-admin-customer-cc-confirm input{margin-top:4px;flex-shrink:0}
.spp-admin-customer-cc-revision-form button{justify-self:start}
.spp-admin-customer-cc-version-download{color:var(--spp-accent,#50c9f4);font-size:12px;font-weight:700;justify-self:start}
@media(max-width:650px){.spp-admin-customer-cc-revision-form button{width:100%}}


/* 3.6.404 — Admin Full Folder Navigation Foundation. Scoped to the admin installation folder. */
.spp-root--admin .spp-folder-nav404{margin:2px 0 18px;padding:18px;border:1px solid var(--spp-line);border-radius:18px;background:linear-gradient(145deg,rgba(16,50,76,.45),rgba(15,25,46,.50));color:var(--spp-text)}
.spp-root--admin .spp-folder-nav404__intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px}
.spp-root--admin .spp-folder-nav404__intro h2{margin:4px 0 6px;font-size:21px;line-height:1.22;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav404__intro p{max-width:780px;margin:0;color:var(--spp-muted);font-size:12px;line-height:1.55}
.spp-root--admin .spp-folder-nav404__phase{flex:0 0 auto;padding:7px 10px;border:1px solid var(--spp-line);border-radius:99px;color:var(--spp-muted);font-size:10px;font-weight:700;text-align:center}
.spp-root--admin .spp-folder-nav404__tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:5px;border:1px solid var(--spp-line);border-radius:13px;background:rgba(0,0,0,.12)}
.spp-root--admin .spp-folder-nav404__tab{min-height:43px;padding:8px 9px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--spp-muted);font:inherit;font-size:11px;font-weight:700;cursor:pointer;line-height:1.25}
.spp-root--admin .spp-folder-nav404__tab.is-active{border-color:rgba(69,189,235,.45);background:rgba(39,150,198,.19);color:#d7f6ff}
.spp-root--admin .spp-folder-nav404__tab:hover,.spp-root--admin .spp-folder-nav404__tab:focus-visible{border-color:rgba(69,189,235,.45);color:#d7f6ff;outline:2px solid transparent}
.spp-root--admin .spp-folder-nav404__panel{padding:17px 2px 3px}
.spp-root--admin .spp-folder-nav404__panel[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav404__panel-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:12px}
.spp-root--admin .spp-folder-nav404__panel-head strong{font-size:14px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav404__panel-head span{color:var(--spp-muted);font-size:11px}
.spp-root--admin .spp-folder-nav404__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.spp-root--admin .spp-folder-nav404__actions button{min-height:54px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;padding:11px 13px;border:1px solid rgba(61,159,201,.27);border-radius:11px;background:rgba(27,83,115,.15);color:var(--spp-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.spp-root--admin .spp-folder-nav404__actions button span{color:#75d5f3;font-size:15px}
.spp-root--admin .spp-folder-nav404__actions button:hover,.spp-root--admin .spp-folder-nav404__actions button:focus-visible{border-color:rgba(78,207,246,.65);background:rgba(40,117,153,.25);outline:2px solid transparent}
.spp-root--admin .spp-folder-nav404__notice{padding:9px 12px;border:1px solid var(--spp-line);border-radius:9px;color:var(--spp-muted);font-size:12px}
.spp-root--admin .spp-folder-nav404__legacy-head{display:flex;align-items:center;justify-content:space-between;margin:20px 0 9px;padding:0 2px;scroll-margin-top:95px}
.spp-root--admin .spp-folder-nav404__legacy-head strong{display:block;font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav404__legacy-head span{display:block;margin-top:3px;font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-admin-installation-profile,.spp-root--admin .spp-installation-operator-remote,.spp-root--admin .spp-installation-operator-external-url,.spp-root--admin .spp-installation-live-summary{scroll-margin-top:80px}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404{background:#f7fbfe}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__tabs{background:#eaf2f8}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__tab.is-active{color:#135b75;background:#dbf1fa}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__tab:hover,.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__tab:focus-visible{color:#135b75}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__actions button{background:#fff;border-color:rgba(21,103,144,.2)}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__actions button:hover,.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__actions button:focus-visible{background:#eaf7fb;border-color:#67b8d2}
@media(max-width:980px){.spp-root--admin .spp-folder-nav404__tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.spp-root--admin .spp-folder-nav404__actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.spp-root--admin .spp-folder-nav404{padding:13px}.spp-root--admin .spp-folder-nav404__intro{display:block}.spp-root--admin .spp-folder-nav404__phase{display:inline-block;margin-top:10px}.spp-root--admin .spp-folder-nav404__tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-root--admin .spp-folder-nav404__actions{grid-template-columns:1fr}.spp-root--admin .spp-folder-nav404__panel-head{display:block}.spp-root--admin .spp-folder-nav404__panel-head span{display:block;margin-top:5px}}


/* 3.6.405 — Admin Full Folder Focus Workspace v1.
 * Progressive enhancement: when JS fails the legacy view remains fully visible.
 * Do NOT style or reparent protected forms or modal nodes. */
.spp-root--admin .spp-folder-nav405__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.spp-root--admin .spp-folder-nav405__facts>div{display:flex;flex-direction:column;gap:6px;min-width:0;padding:10px 12px;background:rgba(17,66,94,.18);border:1px solid rgba(70,150,184,.2);border-radius:10px}
.spp-root--admin .spp-folder-nav405__facts small{color:var(--spp-muted);font-size:11px;line-height:1.3}
.spp-root--admin .spp-folder-nav405__facts strong{font-size:12px;color:var(--spp-text);overflow-wrap:anywhere}
.spp-root--admin .spp-folder-nav405__hint{margin:0 0 10px;color:var(--spp-muted);font-size:11px;line-height:1.5}
.spp-root--admin .spp-folder-nav405__toggle{flex:0 0 auto;border:1px solid rgba(58,165,198,.45);border-radius:10px;background:rgba(38,125,160,.14);color:var(--spp-text);font:inherit;font-size:12px;font-weight:700;min-height:40px;padding:8px 14px;cursor:pointer}
.spp-root--admin .spp-folder-nav405__toggle:hover,.spp-root--admin .spp-folder-nav405__toggle:focus-visible{border-color:rgba(72,207,241,.8);outline:2px solid transparent;background:rgba(38,125,160,.24)}
.spp-root--admin .spp-folder-nav405__legacy[hidden]{display:none!important}
.spp-root--admin.spp-folder-nav405--compact .spp-folder-nav404__legacy-head{padding:12px 14px;margin:14px 0 0;border:1px solid var(--spp-line);border-radius:12px;background:rgba(20,64,90,.10)}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav405__facts>div{background:#f1f8fc;border-color:#dce9f0}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav405__toggle{background:#fff;border-color:#aed2e0}
@media(max-width:980px){.spp-root--admin .spp-folder-nav405__facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.spp-root--admin .spp-folder-nav405__facts{grid-template-columns:repeat(2,minmax(0,1fr))}.spp-root--admin .spp-folder-nav404__legacy-head{flex-direction:column;align-items:stretch;gap:12px}.spp-root--admin .spp-folder-nav405__toggle{width:100%}}


/* 3.6.406 — Admin Management Context v1. Summary values are text-only copies of
 * already-rendered server-side values, not additional forms or state authorities. */
.spp-root--admin .spp-folder-nav406__management-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
.spp-root--admin .spp-folder-nav406__management-context[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav406__management-context>div{display:flex;min-width:0;flex-direction:column;gap:6px;padding:11px 12px;border:1px solid rgba(70,150,184,.23);border-radius:10px;background:rgba(18,63,90,.17)}
.spp-root--admin .spp-folder-nav406__management-context small{font-size:11px;color:var(--spp-muted);line-height:1.4}
.spp-root--admin .spp-folder-nav406__management-context strong{font-size:12px;line-height:1.5;color:var(--spp-text);overflow-wrap:anywhere}
.spp-root--admin .spp-folder-nav406__readback-hint{font-size:11px;line-height:1.5;color:var(--spp-muted);margin:0 0 12px}
.spp-root--admin .spp-folder-nav406__readback-hint[hidden]{display:none!important}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav406__management-context>div{background:#f2f8fc;border-color:#dbeaf2}
@media(max-width:850px){.spp-root--admin .spp-folder-nav406__management-context{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.spp-root--admin .spp-folder-nav406__management-context{grid-template-columns:1fr}}


/* 3.6.407 — technician context: read-only status from existing protected cards.
 * No duplicated action surfaces, active-grant shortcuts or live-rights semantics. */
.spp-root--admin .spp-folder-nav407__technical-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
.spp-root--admin .spp-folder-nav407__technical-context[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav407__technical-context>div{display:flex;min-width:0;flex-direction:column;gap:6px;padding:11px 12px;border:1px solid rgba(70,150,184,.23);border-radius:10px;background:rgba(18,63,90,.17)}
.spp-root--admin .spp-folder-nav407__technical-context small{font-size:11px;color:var(--spp-muted);line-height:1.4}
.spp-root--admin .spp-folder-nav407__technical-context strong{font-size:12px;line-height:1.5;color:var(--spp-text);overflow-wrap:anywhere}
.spp-root--admin .spp-folder-nav407__readback-hint{font-size:11px;line-height:1.5;color:var(--spp-muted);margin:0 0 12px}
.spp-root--admin .spp-folder-nav407__readback-hint[hidden]{display:none!important}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav407__technical-context>div{background:#f2f8fc;border-color:#dbeaf2}
@media(max-width:850px){.spp-root--admin .spp-folder-nav407__technical-context{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.spp-root--admin .spp-folder-nav407__technical-context{grid-template-columns:1fr}}


/* 3.6.408 — installation history/diagnostics context: read-only view of existing cards.
 * No duplicated queries, diagnostic runs, forms or session controls. */
.spp-root--admin .spp-folder-nav408__history-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
.spp-root--admin .spp-folder-nav408__history-context[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav408__history-context>div{display:flex;min-width:0;flex-direction:column;gap:6px;padding:11px 12px;border:1px solid rgba(70,150,184,.23);border-radius:10px;background:rgba(18,63,90,.17)}
.spp-root--admin .spp-folder-nav408__history-context small{font-size:11px;color:var(--spp-muted);line-height:1.4}
.spp-root--admin .spp-folder-nav408__history-context strong{font-size:12px;line-height:1.5;color:var(--spp-text);overflow-wrap:anywhere}
.spp-root--admin .spp-folder-nav408__readback-hint{font-size:11px;line-height:1.5;color:var(--spp-muted);margin:0 0 12px}
.spp-root--admin .spp-folder-nav408__readback-hint[hidden]{display:none!important}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav408__history-context>div{background:#f2f8fc;border-color:#dbeaf2}
@media(max-width:850px){.spp-root--admin .spp-folder-nav408__history-context{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.spp-root--admin .spp-folder-nav408__history-context{grid-template-columns:1fr}}


/* 3.6.409 — read-only Backup & Files context. The original admin cards and
 * full Backup operator workspace are left in their legacy panels. */
.spp-root--admin .spp-folder-nav409__backup-files-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 14px}
.spp-root--admin .spp-folder-nav409__backup-files-context[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav409__backup-files-context>div{display:flex;min-width:0;flex-direction:column;gap:6px;padding:11px 12px;border:1px solid rgba(70,150,184,.23);border-radius:10px;background:rgba(18,63,90,.17)}
.spp-root--admin .spp-folder-nav409__backup-files-context small{font-size:11px;color:var(--spp-muted);line-height:1.4}
.spp-root--admin .spp-folder-nav409__backup-files-context strong{font-size:12px;line-height:1.5;color:var(--spp-text);overflow-wrap:anywhere}
.spp-root--admin .spp-folder-nav409__readback-hint{font-size:11px;line-height:1.5;color:var(--spp-muted);margin:0 0 12px}
.spp-root--admin .spp-folder-nav409__readback-hint[hidden]{display:none!important}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav409__backup-files-context>div{background:#f2f8fc;border-color:#dbeaf2}
@media(max-width:1100px){.spp-root--admin .spp-folder-nav409__backup-files-context{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.spp-root--admin .spp-folder-nav409__backup-files-context{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.spp-root--admin .spp-folder-nav409__backup-files-context{grid-template-columns:1fr}}


/* 3.6.410 — first real source-node migration, read-only Managed Backup card.
 * The exact original card is moved under the correct workspace by JS; there
 * is no duplicate component. Legacy remains functional without JS. */
.spp-root--admin .spp-folder-nav410__backup-workspace{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav410__backup-workspace[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav410__moved-caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.spp-root--admin .spp-folder-nav410__moved-caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav410__moved-caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav410__backup-workspace>.spp-mb328-folder-card{margin:0}
.spp-root--admin .spp-folder-nav410__backup-workspace .spp-mb328-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:850px){.spp-root--admin .spp-folder-nav410__backup-workspace .spp-mb328-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.spp-root--admin .spp-folder-nav410__backup-workspace .spp-mb328-facts{grid-template-columns:1fr}}


/* 3.6.411 — live-node migration of the original External URL card only.
 * No credentials, grants, forms, Gateway controls or second render. */
.spp-root--admin .spp-folder-nav411__external-workspace{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav411__external-workspace[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav411__moved-caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav411__moved-caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav411__moved-caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav411__external-workspace>.spp-installation-operator-external-url{margin:0;padding:0;border:0}


/* 3.6.412 — one-to-one relocation of the original read-only Diagnostics entry card.
 * The Diagnostic workspace itself, its modal and all protected actions stay put. */
.spp-root--admin .spp-folder-nav412__diagnostics-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav412__diagnostics-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav412__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav412__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav412__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav412__diagnostics-slot>.spp-workspace-entry-card--diagnostics{margin:0;width:100%}


/* 3.6.413 — Move exactly one original Technician Center entry card into Technical work.
 * All Technician Center modal panels, protected forms and writers stay unchanged. */
.spp-root--admin .spp-folder-nav413__technician-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav413__technician-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav413__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav413__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav413__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav413__technician-slot>.spp-workspace-entry-card--technician{margin:0;width:100%}

/* 3.6.414: canonical original live status in new Overview; never show duplicate facts. */
.spp-root--admin .spp-folder-nav414__live-slot{margin:0 0 14px}
.spp-root--admin .spp-folder-nav414__live-slot[hidden],
.spp-root--admin .spp-folder-nav405__facts[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav414__live-slot>.spp-installation-live-summary{margin:0;width:100%;max-width:none}

/* 3.6.415: original Support & History summary in its canonical History area.
 * Its three-tab content remains in the existing protected workspace shell. */
.spp-root--admin .spp-folder-nav415__support-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav415__support-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav415__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav415__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav415__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav415__support-slot>.spp-installation-support-workspace--sidebar{width:100%;max-width:none;margin:0}

/* 3.6.416: same installation summary, forms/secret/lifecycle stay in original modal. */
.spp-root--admin .spp-folder-nav416__installation-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav416__installation-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav416__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav416__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav416__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav416__installation-slot>.spp-installation-management-workspace{width:100%;max-width:none;margin:0}

/* 3.6.417: original subscription entry and conditional paid-upgrade link. */
.spp-root--admin .spp-folder-nav417__subscription-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav417__subscription-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav417__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav417__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav417__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav417__subscription-slot>.spp-installation-subscription-workspace{width:100%;max-width:none;margin:0}

/* 3.6.418: one ORIGINAL customer-owned operational-profile card AND its
 * existing controlled-edit modal. Same DOM, nonce, form and event handlers. */
.spp-root--admin .spp-folder-nav418__profile-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav418__profile-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav418__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav418__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav418__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav418__profile-slot>.spp-admin-installation-profile{width:100%;max-width:none;margin:0}

/* 3.6.419 — One-to-one daily Remote Access card relocation, no new grant UI. */
.spp-root--admin .spp-folder-nav419__remote-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav419__remote-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav419__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav419__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav419__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav419__remote-slot>.spp-installation-remote-overview{margin:0;max-width:none;width:100%}


/* 3.6.420 — original secure Home Assistant handoff in Technical.
 * Hide the obsolete technician-hub shell only after strict empty-DOM checks. */
.spp-root--admin .spp-folder-nav420__handoff-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav420__handoff-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav420__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav420__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav420__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav420__handoff-slot>section[data-sppp-chreal="secure-receiver-v1"]{max-width:none;width:100%;margin:0!important}
.spp-root--admin .spp-installation-operator-hub[data-spp-folder-nav420-empty="1"]{display:none!important}

/* 3.6.422 — original installation files (read-only placeholders) in Backup & Files. */
.spp-root--admin .spp-folder-nav422__files-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav422__files-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav422__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:9px}
.spp-root--admin .spp-folder-nav422__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav422__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav422__files-slot>.spp-installation-files-card{max-width:none;width:100%;margin:0!important}

/* 3.6.423 — complete original Backup operator workspace in Backup & Files. */
.spp-root--admin .spp-folder-nav423__backup-slot{margin:16px 0 4px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-folder-nav423__backup-slot[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav423__caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.spp-root--admin .spp-folder-nav423__caption strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-folder-nav423__caption span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav423__backup-slot>.spp-mb345-workspace{width:100%;max-width:none;margin:0!important}

/* 3.6.424 — retire only empty legacy navigation chrome after strict JS proof.
 * The underlying legacy DOM is deliberately NOT hidden, removed or cloned:
 * protected technician/diagnostic overlays still live inside its Overview.
 * display:contents flattens their old empty layout without suppressing modals.
 * If any migration guard fails, this data attribute is absent and the original
 * three tabs + full-view toggle remain available as the safe fallback. */
.spp-root--admin [data-spp-folder-nav424-retired="1"] .spp-folder-nav404__legacy-head,
.spp-root--admin [data-spp-folder-nav424-retired="1"] [data-spp-folder-nav405-legacy] > .spp-installation-folder-tabs{display:none!important}
.spp-root--admin [data-spp-folder-nav424-retired="1"] [data-spp-folder-nav405-legacy],
.spp-root--admin [data-spp-folder-nav424-retired="1"] [data-spp-installation-folder-panel="overview"],
.spp-root--admin [data-spp-folder-nav424-retired="1"] [data-spp-installation-folder-panel="overview"] > .spp-installation-workspace,
.spp-root--admin [data-spp-folder-nav424-retired="1"] [data-spp-installation-folder-panel="overview"] > .spp-installation-workspace > .spp-detail-main,
.spp-root--admin [data-spp-folder-nav424-retired="1"] [data-spp-installation-folder-panel="overview"] > .spp-installation-workspace > .spp-detail-sidebar{display:contents!important;margin:0!important;padding:0!important}

/* 3.6.429 — Admin Initial Activation: read-only independent workspace. */
.spp-root--admin .spp-mga429{max-width:1120px}
.spp-root--admin .spp-mga429__summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 12px}
.spp-root--admin .spp-mga429__summary>div{padding:13px 15px;border:1px solid var(--spp-line);border-radius:11px;background:rgba(44,117,147,.08)}
.spp-root--admin .spp-mga429__summary span{display:block;font-size:11px;color:var(--spp-muted);margin-bottom:5px}
.spp-root--admin .spp-mga429__summary strong{display:block;font-size:14px;line-height:1.35;color:var(--spp-text)}
.spp-root--admin .spp-mga429__context,.spp-root--admin .spp-mga429__footnote{font-size:11px;line-height:1.6;color:var(--spp-muted);margin:9px 0}
.spp-root--admin .spp-mga429__steps{list-style:none;margin:14px 0;padding:0;display:grid;gap:8px}
.spp-root--admin .spp-mga429__stage{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--spp-line);border-radius:11px;padding:12px 14px;background:rgba(37,84,113,.06)}
.spp-root--admin .spp-mga429__number{display:flex;flex:0 0 26px;width:26px;height:26px;border-radius:50%;align-items:center;justify-content:center;border:1px solid var(--spp-line);font-size:12px;font-weight:700;color:var(--spp-text)}
.spp-root--admin .spp-mga429__stage-body{flex:1;min-width:0}
.spp-root--admin .spp-mga429__stage-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}
.spp-root--admin .spp-mga429__stage-head strong{font-size:13px;color:var(--spp-text)}
.spp-root--admin .spp-mga429__state{font-size:11px;font-weight:700;color:var(--spp-muted)}
.spp-root--admin .spp-mga429__stage--ok .spp-mga429__state{color:var(--spp-success,#43c78e)}
.spp-root--admin .spp-mga429__stage--warning .spp-mga429__state{color:var(--spp-warning,#e0a148)}
.spp-root--admin .spp-mga429__stage-body p{margin:6px 0 0;font-size:11px;line-height:1.6;color:var(--spp-muted)}
.spp-root--admin .spp-mga429__actions{display:grid;grid-template-columns:minmax(0,1fr);max-width:470px;margin-top:13px}
@media(max-width:700px){.spp-root--admin .spp-mga429__summary{grid-template-columns:1fr}}

/* 3.6.431 · Guided Activation Stage 1. Read-only action in the independent tab. */
.spp-root--admin .spp-mga431__preflight{margin-top:12px;padding:12px 13px;border:1px solid var(--spp-line);border-radius:10px;background:rgba(38,105,137,.09)}
.spp-root--admin .spp-mga431__label{display:block;font-size:12px;color:var(--spp-text)}
.spp-root--admin .spp-mga431__preflight p{font-size:11px;line-height:1.55;color:var(--spp-muted);margin:7px 0}
.spp-root--admin .spp-mga431__form{margin:10px 0 6px}
.spp-root--admin .spp-mga431__form button{min-height:38px;font-size:12px}
.spp-root--admin .spp-mga431__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.spp-root--admin .spp-mga431__facts>div{border:1px solid var(--spp-line);border-radius:8px;padding:8px 10px;min-width:0}
.spp-root--admin .spp-mga431__facts small{display:block;margin-bottom:3px;font-size:10px;color:var(--spp-muted)}
.spp-root--admin .spp-mga431__facts strong{display:block;font-size:11px;overflow-wrap:anywhere;color:var(--spp-text)}
.spp-root--admin .spp-mga431__result{padding:9px 11px;border-radius:8px;border:1px solid var(--spp-line)}
.spp-root--admin .spp-mga431__result--blocked{border-color:rgba(222,135,115,.4);color:var(--spp-text)!important}
.spp-root--admin .spp-mga431__result--ok{border-color:rgba(70,185,126,.45);color:var(--spp-text)!important}
@media(max-width:650px){.spp-root--admin .spp-mga431__facts{grid-template-columns:1fr}}

/* 3.6.432 Stage 1B — local compact guarded preparation reservation */
.spp-root--admin .spp-mga432__reservation{border-top:1px solid var(--spp-line);padding:12px 0 0;margin-top:15px}
.spp-root--admin .spp-mga432__form{display:grid;gap:9px;margin:10px 0}
.spp-root--admin .spp-mga432__form label{display:grid;gap:5px;font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-mga432__form input[type=text]{width:min(100%,340px);min-height:37px;border-radius:8px;padding:7px 10px;color:var(--spp-text);background:var(--spp-panel,#101f34);border:1px solid var(--spp-line)}
.spp-root--admin .spp-mga432__form label.spp-mga432__ack{display:flex;align-items:flex-start;gap:9px;max-width:730px;line-height:1.6}
.spp-root--admin .spp-mga432__ack input{margin-top:3px;flex-shrink:0}
.spp-root--admin .spp-mga432__form button{justify-self:start;max-width:100%;white-space:normal;min-height:39px;font-size:12px}
.spp-root--admin .spp-mga432__reservation .spp-mga432__state{font-weight:700;color:var(--spp-text)}

/* 3.6.434 · Unified Managed Guided Activation — Stage 1 real read-only Preflight.
   Remaining stages display-only. No credentials, provisioning, or duplicate labs. */
.spp-root--admin .spp-mga433{max-width:1180px;color:var(--spp-text);font-size:13px}
.spp-root--admin .spp-mga433__workspace{border:1px solid var(--spp-line);border-radius:16px;background:rgba(34,89,120,.07);padding:20px;display:grid;gap:16px}
.spp-root--admin .spp-mga433__intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.spp-root--admin .spp-mga433__intro h3{font-size:21px;margin:5px 0 6px;color:var(--spp-text)}
.spp-root--admin .spp-mga433__intro p{font-size:12px;line-height:1.6;color:var(--spp-muted);margin:0;max-width:730px}
.spp-root--admin .spp-mga433__eyebrow{display:block;color:var(--spp-cyan,#58c8f3);font-size:10px;font-weight:800;letter-spacing:.065em;text-transform:uppercase}
.spp-root--admin .spp-mga433__pill{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid rgba(81,178,228,.28);border-radius:99px;padding:8px 10px;color:var(--spp-text);font-size:11px;font-weight:700;line-height:1.25;max-width:240px;text-align:center}
.spp-root--admin .spp-mga433__pill--ready{background:rgba(32,159,116,.13);border-color:rgba(52,202,152,.35);color:var(--spp-success,#65dbaa)}
.spp-root--admin .spp-mga433__pill--pending{background:rgba(50,124,161,.10)}
.spp-root--admin .spp-mga433__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.spp-root--admin .spp-mga433__facts>div{border:1px solid var(--spp-line);border-radius:11px;padding:12px 14px;display:grid;gap:5px;min-width:0}
.spp-root--admin .spp-mga433__facts small{color:var(--spp-muted);font-size:11px}
.spp-root--admin .spp-mga433__facts strong{font-size:13px;line-height:1.35;color:var(--spp-text)}
.spp-root--admin .spp-mga433__next{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:14px;border-top:1px solid var(--spp-line)}
.spp-root--admin .spp-mga433__next-copy{display:grid;gap:4px;min-width:0}
.spp-root--admin .spp-mga433__next-copy span{font-size:11px;color:var(--spp-muted)}
.spp-root--admin .spp-mga433__next-copy strong{font-size:13px;line-height:1.4}
.spp-root--admin .spp-mga433__open,.spp-root--admin .spp-mga433__primary,.spp-root--admin .spp-mga433__secondary{font:inherit;font-size:12px;font-weight:700;border-radius:10px;min-height:43px;padding:10px 15px;cursor:pointer;color:var(--spp-text);border:1px solid rgba(75,196,235,.4);background:rgba(25,112,149,.31)}
.spp-root--admin .spp-mga433__open{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:240px}
.spp-root--admin .spp-mga433__open span{font-size:19px;color:var(--spp-cyan,#58c8f3)}
.spp-root--admin .spp-mga433__caption{font-size:11px;line-height:1.5;color:var(--spp-muted);margin:0}
.spp-root--admin .spp-mga433__overlay[hidden]{display:none!important}
.spp-root--admin .spp-mga433__overlay{position:fixed;inset:0;z-index:100080;padding:18px;display:grid;place-items:center}
.spp-root--admin .spp-mga433__backdrop{position:absolute;inset:0;background:rgba(3,9,19,.83);backdrop-filter:blur(5px);pointer-events:auto}
.spp-root--admin .spp-mga433__dialog{position:relative;z-index:1;width:min(1100px,calc(100vw - 36px));max-height:calc(100dvh - 36px);height:min(790px,calc(100dvh - 36px));display:grid;grid-template-rows:auto minmax(0,1fr);background:#0b1628;border:1px solid rgba(137,180,205,.30);box-shadow:0 30px 100px rgba(0,0,0,.58);border-radius:19px;overflow:hidden;color:#e9f6ff;outline:none}
.spp-root--admin .spp-mga433__header{padding:19px 23px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid rgba(154,190,214,.18);background:#0c1a2d}
.spp-root--admin .spp-mga433__header h2{font-size:22px;line-height:1.2;margin:5px 0;color:#f5fbff}
.spp-root--admin .spp-mga433__header p{font-size:12px;color:#a6b9c9;margin:0}
.spp-root--admin .spp-mga433__close{flex:0 0 39px;height:39px;border-radius:10px;border:1px solid rgba(150,187,209,.28);background:rgba(255,255,255,.04);color:#f2fbff;cursor:pointer;font:inherit;font-size:27px;line-height:1}
.spp-root--admin .spp-mga433__layout{min-height:0;display:grid;grid-template-columns:minmax(225px,30%) minmax(0,1fr)}
.spp-root--admin .spp-mga433__rail{display:flex;flex-direction:column;gap:5px;min-height:0;overflow-y:auto;padding:18px 13px;background:#0a1525;border-right:1px solid rgba(154,190,214,.18)}
.spp-root--admin .spp-mga433__rail-caption{display:block;font-size:10px;color:#94a9bb;letter-spacing:.06em;text-transform:uppercase;font-weight:800;margin:0 8px 10px}
.spp-root--admin .spp-mga433__step-tab{display:flex;gap:11px;align-items:center;text-align:left;min-height:51px;padding:10px 12px;border-radius:11px;border:1px solid transparent;background:transparent;color:#b8cad6;font:inherit;font-size:12px;cursor:pointer;width:100%}
.spp-root--admin .spp-mga433__step-tab.is-active{color:#f2fbff;border-color:rgba(65,187,234,.45);background:rgba(31,113,153,.23)}
.spp-root--admin .spp-mga433__step-number{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;border:1px solid rgba(145,178,201,.28);font-size:11px;font-weight:800}
.spp-root--admin .spp-mga433__step-name{font-size:12px;font-weight:650;line-height:1.4}
.spp-root--admin .spp-mga433__content{padding:24px;display:flex;flex-direction:column;min-width:0;min-height:0;overflow-y:auto;scrollbar-gutter:stable}
.spp-root--admin .spp-mga433__step-progress{display:flex;justify-content:space-between;gap:10px;color:#a5b9c9;font-size:11px;font-weight:700}
.spp-root--admin .spp-mga433__progress-bar{height:5px;overflow:hidden;border-radius:99px;margin:12px 0 27px;background:rgba(154,190,214,.15)}
.spp-root--admin .spp-mga433__progress-bar>span{display:block;height:100%;background:#4bc1eb;border-radius:99px;transition:width .2s ease}
.spp-root--admin .spp-mga433__step-content[hidden]{display:none!important}
.spp-root--admin .spp-mga433__step-content{flex:1;min-height:0}
.spp-root--admin .spp-mga433__step-kicker{font-size:11px;color:#6bcdf1;letter-spacing:.04em;font-weight:800}
.spp-root--admin .spp-mga433__step-content h3{font-size:24px;line-height:1.3;margin:7px 0 12px;color:#f3faff}
.spp-root--admin .spp-mga433__step-detail{font-size:14px;line-height:1.7;color:#bbcbd7;margin:0 0 21px}
.spp-root--admin .spp-mga433__readback{display:grid;gap:8px;padding:16px 18px;border-radius:12px;border:1px solid rgba(142,184,208,.24);background:rgba(36,109,150,.12)}
.spp-root--admin .spp-mga433__readback>span{color:#9fb8c8;font-size:11px}
.spp-root--admin .spp-mga433__readback>strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere;color:#e9f5fc}
.spp-root--admin .spp-mga433__readback>.spp-mga433__state--ok{color:#67dfb0}
.spp-root--admin .spp-mga433__readback>.spp-mga433__state--warning{color:#f1c478}
.spp-root--admin .spp-mga433__supporting{margin-top:13px;display:grid;gap:5px;padding:13px 15px;border-left:2px solid #4bbce6;background:rgba(42,114,147,.07)}
.spp-root--admin .spp-mga433__supporting>span{font-size:12px;font-weight:800;color:#d3eaf7}
.spp-root--admin .spp-mga433__supporting p{font-size:12px;line-height:1.6;color:#b6c8d4;margin:4px 0;overflow-wrap:anywhere}
.spp-root--admin .spp-mga433__read-only-note{font-size:11px;line-height:1.6;margin:20px 0;color:#9db1c1}
.spp-root--admin .spp-mga433__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:17px;margin-top:16px;border-top:1px solid rgba(154,190,214,.18)}
.spp-root--admin .spp-mga433__footer-note{font-size:10px;line-height:1.4;color:#98aebc;text-align:center}
.spp-root--admin .spp-mga433__primary{background:rgba(36,122,167,.32);white-space:nowrap;color:#e5f7ff}
.spp-root--admin .spp-mga433__secondary{background:transparent;border-color:rgba(154,190,214,.23);color:#d2e1eb}
.spp-root--admin .spp-mga433__primary:disabled,.spp-root--admin .spp-mga433__secondary:disabled{opacity:.35;cursor:not-allowed}
.spp-root--admin .spp-mga433__open:hover,.spp-root--admin .spp-mga433__primary:not(:disabled):hover,.spp-root--admin .spp-mga433__secondary:not(:disabled):hover,.spp-root--admin .spp-mga433__close:hover{border-color:#6acff0;background:rgba(40,135,182,.24)}
.spp-root--admin .spp-mga433__step-tab:hover{background:rgba(35,110,147,.13)}
.spp-root--admin .spp-mga433 button:focus-visible{outline:2px solid #6acff0;outline-offset:2px}
body.spp-mga433-open{overflow:hidden}
@media(max-width:800px){
 .spp-root--admin .spp-mga433__dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}
 .spp-root--admin .spp-mga433__overlay{padding:10px}
 .spp-root--admin .spp-mga433__layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 .spp-root--admin .spp-mga433__rail{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:7px;padding:9px;border-right:0;border-bottom:1px solid rgba(154,190,214,.18)}
 .spp-root--admin .spp-mga433__rail-caption{display:none}
 .spp-root--admin .spp-mga433__step-tab{flex:0 0 auto;width:auto;min-height:40px;padding:7px 9px;max-width:188px}
 .spp-root--admin .spp-mga433__step-name{font-size:11px}
 .spp-root--admin .spp-mga433__content{padding:17px}
 .spp-root--admin .spp-mga433__header{padding:14px 16px}
 .spp-root--admin .spp-mga433__header h2{font-size:18px}
}
@media(max-width:620px){
 .spp-root--admin .spp-mga433__workspace{padding:14px}
 .spp-root--admin .spp-mga433__intro,.spp-root--admin .spp-mga433__next{flex-direction:column;align-items:stretch}
 .spp-root--admin .spp-mga433__pill{align-self:flex-start}
 .spp-root--admin .spp-mga433__facts{grid-template-columns:1fr}
 .spp-root--admin .spp-mga433__open{min-width:0;width:100%}
 .spp-root--admin .spp-mga433__step-content h3{font-size:20px}
 .spp-root--admin .spp-mga433__step-detail{font-size:13px}
 .spp-root--admin .spp-mga433__footer-note{display:none}
 .spp-root--admin .spp-mga433__primary,.spp-root--admin .spp-mga433__secondary{min-height:39px;font-size:11px;padding:9px 11px}
}
/* The dialog intentionally uses its own dark, contrast-safe surface even when
   the admin folder is in light mode; the compact launch card follows theme. */
.spp-root--admin[data-spp-theme="light"] .spp-mga433__workspace{background:#fff;border-color:rgba(32,78,108,.18)}
.spp-root--admin[data-spp-theme="light"] .spp-mga433__facts>div{background:#f5fafd;border-color:rgba(32,78,108,.15)}
.spp-root--admin[data-spp-theme="light"] .spp-mga433__pill--pending{color:#175475;border-color:#b5d7e5;background:#eff8fc}
.spp-root--admin[data-spp-theme="light"] .spp-mga433__pill--ready{color:#146a4c;border-color:#95d6bf;background:#e8fbf2}
.spp-root--admin[data-spp-theme="light"] .spp-mga433__open{color:#145573;background:#e5f5fc;border-color:#7dbdd5}

/* 3.6.434 · Keep the single Stage 1 real action inside the final guided modal. */
.spp-root--admin .spp-mga433__stage-form{display:grid;justify-items:start;gap:9px;margin:16px 0 5px}
.spp-root--admin .spp-mga433__stage-form>.spp-mga433__primary{white-space:normal;max-width:100%;text-align:center}
.spp-root--admin .spp-mga433__form-help{font-size:11px;line-height:1.6;color:#a7bece;margin:0}
.spp-root--admin .spp-mga433__flash{font-size:12px;line-height:1.65;padding:12px 14px;margin:13px 0 0;border:1px solid rgba(216,161,111,.4);border-radius:10px;background:rgba(140,68,57,.15);color:#f3d7c8}
.spp-root--admin .spp-mga433__flash--ok{border-color:rgba(66,197,154,.45);background:rgba(35,151,112,.12);color:#a9f3d6}
@media(max-width:620px){.spp-root--admin .spp-mga433__stage-form{justify-items:stretch}}

/* 3.6.435: compact Stage 1B inside the FINAL guided modal (no lab card). */
.spp-root--admin .spp-mga435__reservation{margin-top:20px;padding-top:19px;border-top:1px solid rgba(154,190,214,.22);display:grid;gap:11px;min-width:0}
.spp-root--admin .spp-mga435__heading{display:grid;gap:5px}
.spp-root--admin .spp-mga435__heading strong{font-size:14px;color:#edf8ff}
.spp-root--admin .spp-mga435__heading span{font-size:11px;color:#95bdcf}
.spp-root--admin .spp-mga435__reservation p{font-size:12px;line-height:1.65;color:#b7cada;margin:0;overflow-wrap:anywhere}
.spp-root--admin .spp-mga435__reservation p.spp-mga433__flash{margin:2px 0;padding:12px 14px;color:#f3d7c8}
.spp-root--admin .spp-mga435__reservation p.spp-mga433__flash--ok{color:#a9f3d6}
.spp-root--admin .spp-mga435__reservation .spp-mga435__state{font-weight:700;color:#b0e5f6}
.spp-root--admin .spp-mga435__form{display:grid;gap:12px;justify-items:start;min-width:0}
.spp-root--admin .spp-mga435__form label{display:grid;gap:6px;font-size:12px;color:#cbdce8;max-width:100%}
.spp-root--admin .spp-mga435__form input[type=text]{background:#10263a;border:1px solid rgba(127,178,207,.4);border-radius:10px;padding:10px 12px;color:#f2fbff;min-height:41px;width:min(100%,340px);font-size:13px}
.spp-root--admin .spp-mga435__form .spp-mga435__ack{display:flex;gap:10px;align-items:flex-start;max-width:720px;line-height:1.55}
.spp-root--admin .spp-mga435__ack input[type=checkbox]{margin-top:4px;flex:0 0 auto;accent-color:#46b7e1}
.spp-root--admin .spp-mga435__form button{white-space:normal;text-align:left;max-width:100%}
.spp-root--admin .spp-mga435__reservation p.spp-mga435__footnote{font-size:11px;color:#98afc0}
.spp-root--admin .spp-mga435__form input:focus-visible{outline:2px solid #6acff0;outline-offset:2px}
@media(max-width:620px){.spp-root--admin .spp-mga435__form{justify-items:stretch}.spp-root--admin .spp-mga435__form button{width:100%;text-align:center}}

/* 3.6.436 · Guided Activation stage-content / navigation separation.
   The action footer is a dedicated grid row and NEVER overlays form fields. */
.spp-root--admin .spp-mga433__content{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;padding:0;scrollbar-gutter:auto;box-sizing:border-box}
.spp-root--admin .spp-mga433__scroll{min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 24px 18px;box-sizing:border-box}
.spp-root--admin .spp-mga433__step-content{flex:none;min-height:auto}
.spp-root--admin .spp-mga433__progress-bar{margin:10px 0 18px}
.spp-root--admin .spp-mga433__step-content h3{font-size:21px;line-height:1.3;margin:6px 0 9px}
.spp-root--admin .spp-mga433__step-detail{font-size:12px;line-height:1.5;margin-bottom:14px}
.spp-root--admin .spp-mga433__readback{padding:12px 14px;gap:4px}
.spp-root--admin .spp-mga433__readback>strong{font-size:14px}
.spp-root--admin .spp-mga433__supporting{margin-top:10px;padding:10px 13px;gap:4px}
.spp-root--admin .spp-mga433__supporting p{font-size:11px;line-height:1.5}
.spp-root--admin .spp-mga433__stage-form{margin:12px 0 5px;gap:6px}
.spp-root--admin .spp-mga433__form-help{font-size:11px;line-height:1.45}
.spp-root--admin .spp-mga435__reservation{margin-top:14px;padding-top:14px;gap:8px}
.spp-root--admin .spp-mga435__heading{gap:3px}
.spp-root--admin .spp-mga435__heading strong{font-size:14px}
.spp-root--admin .spp-mga435__reservation p{font-size:11px;line-height:1.5}
.spp-root--admin .spp-mga435__form{display:grid;gap:10px;justify-items:stretch;width:100%;max-width:640px}
.spp-root--admin .spp-mga435__form label{max-width:100%;min-width:0;font-size:12px}
.spp-root--admin .spp-mga435__form label span{overflow-wrap:break-word}
.spp-root--admin .spp-mga435__form input[type=text]{box-sizing:border-box;max-width:100%;width:270px;min-height:40px}
.spp-root--admin .spp-mga435__form label.spp-mga435__ack{display:flex;flex-direction:row;gap:9px;align-items:flex-start;max-width:620px;line-height:1.45;margin:0}
.spp-root--admin .spp-mga435__form label.spp-mga435__ack input[type=checkbox]{display:block;width:17px;height:17px;min-width:17px;max-width:17px;min-height:17px;margin:1px 0 0;flex:0 0 17px;position:static;float:none;opacity:1}
.spp-root--admin .spp-mga435__form label.spp-mga435__ack span{display:block;flex:1;min-width:0}
.spp-root--admin .spp-mga435__form button{justify-self:start;min-height:40px;max-width:100%;font-size:12px;padding:9px 14px;text-align:center}
.spp-root--admin .spp-mga435__form button:disabled{opacity:.45;cursor:not-allowed}
.spp-root--admin .spp-mga435__reservation p.spp-mga435__footnote{font-size:10px;color:#a8becd;line-height:1.45}
.spp-root--admin .spp-mga433__footer{box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:12px 24px;border-top:1px solid rgba(154,190,214,.24);background:#0b1628;position:relative;z-index:1;min-height:69px;min-width:0}
.spp-root--admin .spp-mga433__footer-note{max-width:100%;overflow-wrap:break-word}
.spp-root--admin .spp-mga433__footer button{position:static;float:none;max-width:100%;white-space:normal}
@media(max-width:800px){
 .spp-root--admin .spp-mga433__scroll{padding:14px 16px 16px}
 .spp-root--admin .spp-mga433__footer{padding:11px 16px;min-height:62px}
}
@media(max-width:620px){
 .spp-root--admin .spp-mga433__footer{grid-template-columns:1fr 1fr;gap:8px}
 .spp-root--admin .spp-mga433__footer-note{display:none}
 .spp-root--admin .spp-mga433__footer button{width:100%;min-width:0;padding:8px}
 .spp-root--admin .spp-mga435__form input[type=text]{width:100%;max-width:290px}
 .spp-root--admin .spp-mga435__form button{width:100%}
 .spp-root--admin .spp-mga433__step-content h3{font-size:18px}
}

/* 3.6.437 · One-shot exact MeshCentral create, only after scoped reservation.
   Kept within the final Stage 1 form, never a separate lab card. */
.spp-root--admin .spp-mga437__create{display:grid;gap:10px;padding:11px 14px;border:1px solid rgba(98,184,218,.34);border-radius:12px;background:rgba(29,81,114,.13);min-width:0}
.spp-root--admin .spp-mga437__create>strong{font-size:13px;color:#e8f7fd}
.spp-root--admin .spp-mga437__create .spp-mga435__form{margin:0}
.spp-root--admin .spp-mga437__create .spp-mga433__primary{border-color:rgba(221,165,104,.56)}
.spp-root--admin .spp-mga437__create button:disabled{opacity:.45;cursor:not-allowed}

/* 3.6.438 — Stage 1 manual group preparation: final compact guide, no writer. */
.spp-root--admin .spp-mga438__manual .spp-mga438__steps{margin:2px 0 0;padding-left:21px;display:grid;gap:9px;color:#c3d7e2;font-size:12px;line-height:1.65;list-style:decimal}
.spp-root--admin .spp-mga438__manual .spp-mga438__steps li{padding-left:4px;overflow-wrap:anywhere}
.spp-root--admin .spp-mga438__manual .spp-mga438__steps strong{color:#f2f9fc}
.spp-root--admin .spp-mga438__manual p.spp-mga438__review{border:1px solid rgba(234,161,97,.4);border-radius:10px;background:rgba(106,68,39,.18);padding:12px;color:#f4d6bd;line-height:1.55}

/* 3.6.439 · One compact, verified-workflow guide for all seven stages. */
.spp-root--admin .spp-mga439__guide{display:grid;gap:11px;margin:14px 0 17px;padding:14px 16px;border-radius:11px;background:rgba(29,64,87,.28);border:1px solid rgba(139,185,209,.17)}
.spp-root--admin .spp-mga439__guide>div{display:grid;gap:3px}
.spp-root--admin .spp-mga439__guide span{font-size:10px;font-weight:700;letter-spacing:.02em;color:#95b8cc}
.spp-root--admin .spp-mga439__guide strong{font-size:12px;color:#e5f4fc;line-height:1.55}
.spp-root--admin .spp-mga439__guide p{margin:0;font-size:12px;line-height:1.55;color:#c4d7e3;overflow-wrap:anywhere}
.spp-root--admin .spp-mga439__guide .spp-mga439__gate{border-top:1px solid rgba(139,185,209,.16);padding-top:9px}
.spp-root--admin .spp-mga439__roles{display:flex;flex-wrap:wrap;gap:7px 11px;margin:8px 0 3px}
.spp-root--admin .spp-mga439__roles span{display:inline-flex;align-items:center;gap:4px;background:rgba(38,73,99,.46);border:1px solid rgba(139,185,209,.21);padding:6px 9px;border-radius:8px;color:#d8edf9;font-size:11px}
.spp-root--admin .spp-mga439__roles code{font-size:11px;color:inherit}
@media(max-width:620px){.spp-root--admin .spp-mga439__guide{padding:12px}.spp-root--admin .spp-mga439__roles{display:grid;grid-template-columns:1fr}}

/* 3.6.440 · Guided Stage 2: reuse existing Broker-secured enrollment capture. */
.spp-root--admin .spp-mga440__capture{margin-top:14px;display:grid;gap:11px;min-width:0}
.spp-root--admin .spp-mga440__capture p{margin:0;line-height:1.6;font-size:12px;overflow-wrap:anywhere}
.spp-root--admin .spp-mga440__ready,.spp-root--admin .spp-mga440__pending,.spp-root--admin .spp-mga440__info{padding:12px 14px;border:1px solid rgba(114,180,211,.28);border-radius:11px;color:#d0e6f1;background:rgba(47,100,133,.14)}
.spp-root--admin .spp-mga440__ready{border-color:rgba(92,214,171,.33);color:#b5efd4;background:rgba(28,112,90,.14)}
.spp-root--admin .spp-mga440__subtle{color:#98b6c7;font-size:11px!important}
.spp-root--admin .spp-mga440__form{display:grid;gap:12px;justify-items:start;min-width:0}
.spp-root--admin .spp-mga440__form>label{display:grid;gap:6px;min-width:0;color:#d4e7f1;font-size:12px}
.spp-root--admin .spp-mga440__form input[type=text]{width:min(100%,320px);background:#112a3e;border:1px solid rgba(127,187,219,.44);border-radius:10px;color:#edf8fd;padding:10px 12px;font-size:13px;min-height:42px}
.spp-root--admin .spp-mga440__form label.spp-mga440__ack{display:flex;align-items:flex-start;gap:10px;max-width:670px;line-height:1.55}
.spp-root--admin .spp-mga440__ack input{margin-top:3px;flex:0 0 auto;accent-color:#55c4e8}
.spp-root--admin .spp-mga440__form button{white-space:normal;max-width:100%}
.spp-root--admin .spp-mga440__form button[disabled]{opacity:.4;cursor:not-allowed}
.spp-root--admin .spp-mga440__form input:focus-visible{outline:2px solid #65cbef;outline-offset:2px}
@media(max-width:620px){.spp-root--admin .spp-mga440__form{justify-items:stretch}.spp-root--admin .spp-mga440__form button{width:100%}}

/* 3.6.441 — Stage 3 protected preapproval uses the established Stage 2 form language. */
.spp-root--admin .spp-mga441__approval{margin-top:14px;display:grid;gap:11px;min-width:0}
.spp-root--admin .spp-mga441__approval p{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin:0}
.spp-root--admin .spp-mga441__approval .spp-mga433__flash{padding:11px 13px}
.spp-root--admin .spp-mga441__form{margin-top:3px}

/* 3.6.442 · Stage 4: compact, read-only customer pairing coordination. */
.spp-root--admin .spp-mga442__pairing{display:grid;gap:15px;margin-top:14px;min-width:0}
.spp-root--admin .spp-mga442__parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.spp-root--admin .spp-mga442__parties>div{display:grid;gap:5px;border:1px solid rgba(148,177,203,.24);border-radius:10px;background:rgba(28,53,77,.3);padding:12px 14px}
.spp-root--admin .spp-mga442__parties span,.spp-root--admin .spp-mga442__readback>span{font-size:11px;color:#a4bbcf}
.spp-root--admin .spp-mga442__parties strong{font-size:13px;line-height:1.5;color:#ecf4fc;overflow-wrap:anywhere}
.spp-root--admin .spp-mga442__pairing>p{margin:0;font-size:13px;line-height:1.6}
.spp-root--admin .spp-mga442__notice{padding:11px 14px;border-radius:10px;background:rgba(37,96,127,.22);border:1px solid rgba(66,153,190,.36);color:#d9f2fc}
.spp-root--admin .spp-mga442__readback{padding:12px 14px;border-left:2px solid #47b9e6;background:rgba(33,65,91,.25);display:grid;gap:4px}
.spp-root--admin .spp-mga442__readback strong{font-size:14px;color:#edf7ff}
.spp-root--admin .spp-mga442__readback p{font-size:12px;line-height:1.55;color:#b2c6d7;margin:0}
.spp-root--admin .spp-mga442__actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.spp-root--admin .spp-mga442__refresh{display:inline-flex;align-items:center;justify-content:center;border:1px solid #3a93bc;border-radius:10px;padding:11px 14px;color:#e5f7ff;background:#173b53;font-weight:700;font-size:13px;text-decoration:none;min-height:42px}
.spp-root--admin .spp-mga442__refresh:hover,.spp-root--admin .spp-mga442__refresh:focus-visible{background:#1b5071;color:#fff}
.spp-root--admin .spp-mga442__refresh:focus-visible{outline:2px solid #6bd5f1;outline-offset:2px}
.spp-root--admin .spp-mga442__actions span{font-size:11px;line-height:1.45;color:#aac0d1}
@media(max-width:620px){.spp-root--admin .spp-mga442__parties{grid-template-columns:1fr}.spp-root--admin .spp-mga442__refresh{width:100%}}

/* 3.6.443 — Final Stage 5 read-only First Seed status and same-modal refresh. */
.spp-root--admin .spp-mga443__first-seed{display:grid;gap:13px;margin-top:13px;min-width:0}
.spp-root--admin .spp-mga443__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.spp-root--admin .spp-mga443__facts>div{display:grid;gap:6px;padding:12px 14px;background:rgba(29,67,91,.3);border:1px solid rgba(148,177,203,.26);border-radius:10px;min-width:0}
.spp-root--admin .spp-mga443__facts span{color:#a2bed0;font-size:11px}
.spp-root--admin .spp-mga443__facts strong{color:#eff9ff;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.spp-root--admin .spp-mga443__first-seed p{margin:0;font-size:12px;line-height:1.55}
.spp-root--admin .spp-mga443__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.spp-root--admin .spp-mga443__actions span{font-size:11px;color:#aac0d1;line-height:1.4}
.spp-root--admin .spp-mga442__refresh{font:inherit;cursor:pointer}
.spp-root--admin .spp-mga442__refresh:disabled{opacity:.6;cursor:wait}
.spp-root--admin .spp-mga433__footer .spp-mga443__footer-close{appearance:none;background:transparent;color:#bad5e3;border:1px solid rgba(148,183,205,.28);font:inherit;font-size:11px;border-radius:9px;padding:9px 12px;cursor:pointer}
.spp-root--admin .spp-mga433__footer .spp-mga443__footer-close:hover,.spp-root--admin .spp-mga433__footer .spp-mga443__footer-close:focus-visible{background:rgba(50,122,161,.22);border-color:#6acff0}
.spp-root--admin .spp-mga433__footer.is-complete{grid-template-columns:1fr;justify-items:end}
.spp-root--admin .spp-mga433__footer.is-complete [data-spp-mga433-prev],
.spp-root--admin .spp-mga433__footer.is-complete [data-spp-mga443-close],
.spp-root--admin .spp-mga433__footer.is-complete [data-spp-mga433-next]{display:none}
.spp-root--admin .spp-mga433__footer.is-complete [data-spp-mga433-finish]{min-width:min(100%,240px)}
.spp-root--admin [data-spp-mga443-result]{font-size:11px;color:#a8dbe6;line-height:1.5}
@media(max-width:620px){
 .spp-root--admin .spp-mga443__facts{grid-template-columns:1fr}
 .spp-root--admin .spp-mga433__footer .spp-mga443__footer-close{padding:8px 9px;font-size:10px}
}

/* 3.6.444 · Stage 6 runtime readback inside the existing seven-stage dialog. */
.spp-root--admin .spp-mga444__runtime{display:grid;gap:13px;margin-top:13px;min-width:0}
.spp-root--admin .spp-mga444__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.spp-root--admin .spp-mga444__facts>div{display:grid;gap:6px;padding:12px 14px;border:1px solid rgba(148,177,203,.26);border-radius:10px;background:rgba(29,67,91,.3);min-width:0}
.spp-root--admin .spp-mga444__facts span{font-size:11px;color:#a2bed0}
.spp-root--admin .spp-mga444__facts strong{font-size:13px;line-height:1.4;color:#eff9ff;overflow-wrap:anywhere}
.spp-root--admin .spp-mga444__runtime p{margin:0;font-size:12px;line-height:1.55}
.spp-root--admin .spp-mga444__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.spp-root--admin .spp-mga444__actions span{font-size:11px;color:#aac0d1;line-height:1.4}
@media(max-width:620px){.spp-root--admin .spp-mga444__facts{grid-template-columns:1fr}}

/* 3.6.445 · Final Verified Binding readback. No new binding writer. */
.spp-root--admin .spp-mga445__binding{display:grid;gap:13px;margin-top:13px;min-width:0}
.spp-root--admin .spp-mga445__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.spp-root--admin .spp-mga445__facts>div{display:grid;gap:6px;padding:12px 14px;border:1px solid rgba(148,177,203,.26);border-radius:10px;background:rgba(29,67,91,.3);min-width:0}
.spp-root--admin .spp-mga445__facts span{font-size:11px;color:#a2bed0}
.spp-root--admin .spp-mga445__facts strong{font-size:13px;color:#eff9ff;line-height:1.4;overflow-wrap:anywhere}
.spp-root--admin .spp-mga445__binding p{font-size:12px;line-height:1.55;margin:0}
.spp-root--admin .spp-mga445__manual{display:grid;gap:7px;padding:12px 14px;border-left:2px solid #47b9e6;background:rgba(33,65,91,.25);min-width:0}
.spp-root--admin .spp-mga445__manual>strong{font-size:13px;color:#e6f6ff}
.spp-root--admin .spp-mga445__manual p{color:#b7d0de}
.spp-root--admin .spp-mga445__manual p strong{color:#e8f8ff}
.spp-root--admin .spp-mga445__actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.spp-root--admin .spp-mga445__actions span{font-size:11px;color:#aac0d1;line-height:1.4}
@media(max-width:620px){.spp-root--admin .spp-mga445__facts{grid-template-columns:1fr}}

/* 3.6.446 — Final human-authorized Verified Binding inside Stage 7.
   Compact native forms, retaining all existing Broker gates and permissions. */
.spp-root--admin .spp-mga446__verification{display:grid;gap:12px;min-width:0}
.spp-root--admin .spp-mga446__heading{display:grid;gap:4px}
.spp-root--admin .spp-mga446__heading strong{font-size:13px;color:#e7f7ff}
.spp-root--admin .spp-mga446__heading span{font-size:11px;color:#a8bfd2}
.spp-root--admin .spp-mga446__preview{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.spp-root--admin .spp-mga446__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.spp-root--admin .spp-mga446__facts>div{display:grid;gap:4px;padding:11px 13px;border:1px solid rgba(147,179,207,.24);border-radius:9px;background:rgba(26,58,82,.32)}
.spp-root--admin .spp-mga446__facts span{font-size:11px;color:#abc5d7}
.spp-root--admin .spp-mga446__facts strong{font-size:12px;color:#eef8ff;overflow-wrap:anywhere}
.spp-root--admin .spp-mga446__notice{padding:11px 13px;border:1px solid rgba(68,151,194,.4);background:rgba(24,76,109,.26);border-radius:9px;color:#d8ecf7;font-size:12px;line-height:1.6}
.spp-root--admin .spp-mga446__bind-form{display:grid;justify-items:start;gap:12px}
.spp-root--admin .spp-mga446__bind-form label{display:grid;gap:7px;color:#d3e5f1;max-width:100%;font-size:12px}
.spp-root--admin .spp-mga446__bind-form input[type=text]{max-width:310px;width:100%;background:#10263a;color:#eff9ff;border:1px solid rgba(136,183,211,.38);padding:11px;border-radius:9px}
.spp-root--admin .spp-mga446__bind-form label.spp-mga440__ack{display:flex;align-items:flex-start;gap:10px;line-height:1.55;max-width:680px}
.spp-root--admin .spp-mga446__bind-form input[type=checkbox]{margin-top:4px;accent-color:#50b9dd;flex:0 0 auto}
.spp-root--admin .spp-mga446__bind-form button:disabled{opacity:.5;cursor:not-allowed}
.spp-root--admin .spp-mga446__verification>p.spp-mga433__flash{margin:0}
@media(max-width:620px){.spp-root--admin .spp-mga446__facts{grid-template-columns:1fr}.spp-root--admin .spp-mga446__preview .spp-mga442__refresh{width:100%}.spp-root--admin .spp-mga446__bind-form{justify-items:stretch}}

/* 3.6.447 — guided modal closure independently of the off-screen header.
 * Positioned within the stationary content frame (outside its scrollport). */
.spp-root--admin .spp-mga433__content{position:relative}
.spp-root--admin .spp-mga447__close-visible{position:absolute;top:9px;right:12px;z-index:5;display:grid;place-items:center;width:38px;height:38px;min-width:38px;min-height:38px;margin:0;padding:0;background:#18344e;border:1px solid #6699b4;border-radius:10px;color:#f3fbff;font-size:25px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.spp-root--admin .spp-mga447__close-visible:hover,.spp-root--admin .spp-mga447__close-visible:focus-visible{background:#215676;border-color:#78dafa;outline:2px solid #78dafa;outline-offset:2px}
.spp-root--admin .spp-mga433__step-progress{padding-right:44px}
@media(max-width:620px){.spp-root--admin .spp-mga447__close-visible{top:7px;right:7px;width:35px;height:35px;min-width:35px;min-height:35px}.spp-root--admin .spp-mga433__step-progress{padding-right:43px}}

.spp-root--admin .spp-mga447__close-visible[hidden]{display:none!important}


/* 3.6.448 — Stage 7 compact, scoped to its own guided panel only.
   Explanations remain available on demand. No change to approval gates. */
.spp-root--admin [data-spp-mga433-panel="7"] .spp-mga433__step-detail{margin-bottom:8px}
.spp-root--admin [data-spp-mga433-panel="7"] .spp-mga433__readback{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:9px 12px;margin-bottom:9px}
.spp-root--admin [data-spp-mga433-panel="7"] .spp-mga433__readback>strong{font-size:13px}
.spp-root--admin .spp-mga448__guidance{margin:0 0 10px;border:1px solid rgba(148,177,203,.22);border-radius:9px;background:rgba(29,67,91,.16)}
.spp-root--admin .spp-mga448__guidance>summary{list-style:revert;cursor:pointer;padding:8px 12px;color:#c6e0ee;font-size:11px;font-weight:700}
.spp-root--admin .spp-mga448__guidance[open]>.spp-mga439__guide{margin:0 8px 8px}
.spp-root--admin .spp-mga448__guidance>summary:focus-visible{outline:2px solid #6acff0;outline-offset:2px}
.spp-root--admin .spp-mga445__binding{display:grid;gap:9px}
.spp-root--admin .spp-mga445__facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.spp-root--admin .spp-mga445__facts>div{padding:8px 10px;gap:4px}
.spp-root--admin .spp-mga445__facts strong{font-size:12px;line-height:1.35}
.spp-root--admin .spp-mga445__manual{gap:4px;padding:8px 11px}
.spp-root--admin .spp-mga446__verification{gap:8px}
.spp-root--admin .spp-mga446__heading{gap:2px}
.spp-root--admin .spp-mga446__facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.spp-root--admin .spp-mga446__facts>div{padding:8px 10px;gap:3px}
.spp-root--admin .spp-mga446__notice{padding:8px 11px;line-height:1.45}
.spp-root--admin .spp-mga446__bind-form{gap:8px}
.spp-root--admin .spp-mga446__bind-form label{gap:4px}
.spp-root--admin .spp-mga446__bind-form input[type=text]{padding:8px 10px}
.spp-root--admin .spp-mga445__actions{gap:7px}
@media(max-width:1020px){
 .spp-root--admin .spp-mga445__facts,.spp-root--admin .spp-mga446__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .spp-root--admin .spp-mga445__facts,.spp-root--admin .spp-mga446__facts{grid-template-columns:1fr}
}

/* 3.6.451 — Fact cells on the other full-folder tabs use the Overview live-summary field.
   Labels, values, borders and fill only. No layout of actions, no behavior. */
.spp-root--admin .spp-folder-nav406__management-context>div,
.spp-root--admin .spp-folder-nav407__technical-context>div,
.spp-root--admin .spp-folder-nav408__history-context>div,
.spp-root--admin .spp-folder-nav409__backup-files-context>div,
.spp-root--admin .spp-mga433__facts>div{
  min-height:48px;
  padding:7px 9px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(255,255,255,.022);
  gap:2px;
}
.spp-root--admin .spp-folder-nav406__management-context small,
.spp-root--admin .spp-folder-nav407__technical-context small,
.spp-root--admin .spp-folder-nav408__history-context small,
.spp-root--admin .spp-folder-nav409__backup-files-context small,
.spp-root--admin .spp-mga433__facts small{
  display:block;
  color:var(--spp-admin-info-label)!important;
  font-size:var(--spp-type-meta,13px)!important;
  line-height:1.38!important;
  font-weight:820;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.spp-root--admin .spp-folder-nav406__management-context strong,
.spp-root--admin .spp-folder-nav407__technical-context strong,
.spp-root--admin .spp-folder-nav408__history-context strong,
.spp-root--admin .spp-folder-nav409__backup-files-context strong,
.spp-root--admin .spp-mga433__facts strong{
  display:block;
  margin-top:2px;
  color:var(--spp-admin-info-value)!important;
  font-size:var(--spp-type-body,15px)!important;
  line-height:1.45!important;
  font-weight:760;
}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav406__management-context>div,
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav407__technical-context>div,
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav408__history-context>div,
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav409__backup-files-context>div,
.spp-root--admin[data-spp-theme="light"] .spp-mga433__facts>div{
  background:#fff;
  border-color:rgba(30,58,82,.15);
}

/* 3.6.454 — Full-folder entry cards sit two-across. Remote access and the
   backup workspace stay full width because they hold the working controls.
   Captions repeated the card title. Buttons, forms and modals are unchanged. */
.spp-root--admin .spp-folder-nav454__tiles{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:14px;
  align-items:stretch;
}
.spp-root--admin .spp-folder-nav454__tiles:not(:has(> :not([hidden]))){display:none}
.spp-root--admin .spp-folder-nav454__tiles>*{
  flex:0 1 calc(50% - 8px);
  min-width:0;
  max-width:calc(50% - 6px);
  margin:0!important;
  padding-top:0!important;
  border-top:0!important;
}
.spp-root--admin .spp-folder-nav404 [class*="folder-nav"][class*="__caption"],
.spp-root--admin .spp-folder-nav404 [class*="folder-nav"][class*="moved-caption"]{display:none!important}
.spp-root--admin .spp-folder-nav454__tiles .spp-card,
.spp-root--admin .spp-folder-nav454__tiles .spp-workspace-entry-card{
  margin:0;
  min-width:0;
  height:100%;
}
.spp-root--admin .spp-folder-nav454__tiles .spp-card-head{flex-wrap:wrap;gap:8px}
.spp-root--admin .spp-folder-nav454__tiles .spp-workspace-entry-metrics,
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-summary-grid,
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-subscription-summary,
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-management-summary,
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-support-summary{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.spp-root--admin .spp-folder-nav454__tiles .spp-workspace-entry-footer{
  flex-direction:column;
  align-items:stretch;
}
.spp-root--admin .spp-folder-nav454__tiles .spp-workspace-entry-footer .spp-btn{width:100%}
@media(max-width:760px){
  .spp-root--admin .spp-folder-nav454__tiles>*{flex-basis:100%}
}

/* 3.6.484 — Technical work: the one-time Home Assistant handoff shares a tile
   instead of spanning the row, and the laboratory tools are visible on the tab. */
.spp-root--admin .spp-folder-nav484__lab{margin:12px 0 2px}
.spp-root--admin .spp-folder-nav484__lab>strong{display:block;margin-bottom:8px;font-size:13px}
.spp-root--admin .spp-folder-nav484__lab>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.spp-root--admin .spp-folder-nav484__lab button{min-height:42px;padding:8px 10px;border:1px solid rgba(61,159,201,.27);border-radius:10px;background:rgba(27,83,115,.12);color:var(--spp-text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.spp-root--admin .spp-folder-nav484__lab button:hover,.spp-root--admin .spp-folder-nav484__lab button:focus-visible{border-color:rgba(78,207,246,.65);background:rgba(40,117,153,.22);outline:2px solid transparent}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav484__lab button{background:#fff;border-color:rgba(21,103,144,.2)}
.spp-root--admin .spp-folder-nav454__tiles .spp-folder-nav420__handoff-slot>section[data-sppp-chreal="secure-receiver-v1"]{padding:14px}
.spp-root--admin .spp-folder-nav454__tiles .spp-folder-nav420__handoff-slot>section>p.spp-sub:first-of-type{display:none}
.spp-root--admin .spp-folder-nav454__tiles .spp-folder-nav420__handoff-slot form{display:inline-block;margin:8px 8px 0 0}
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-external-url-overview{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
}
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-external-url-head{flex:1;min-width:0;align-items:center}
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-external-url-head h2{font-size:14px}
.spp-root--admin .spp-folder-nav454__tiles .spp-installation-external-url-actions{margin:0}
.spp-root--admin .spp-folder-nav406__readback-hint,
.spp-root--admin .spp-folder-nav407__readback-hint,
.spp-root--admin .spp-folder-nav408__readback-hint,
.spp-root--admin .spp-folder-nav409__readback-hint,
.spp-root--admin .spp-folder-nav407__technical-context,
.spp-root--admin .spp-folder-nav408__history-context,
.spp-root--admin .spp-folder-nav409__backup-files-context{display:none!important}
@media(max-width:760px){
  .spp-root--admin .spp-folder-nav484__lab>div{grid-template-columns:1fr 1fr}
  .spp-root--admin .spp-folder-nav454__tiles>*{flex-basis:100%;max-width:100%}
}

/* 3.6.456 — Subscription dialog keeps live status visible on every tab.
   Values are copied from the existing summary. History opens on its real entries. */
.spp-root--admin .spp-focused-workspace[data-spp-workspace="subscription"] .spp-focused-workspace__header{flex-wrap:wrap;align-items:flex-start}
.spp-root--admin .spp-subscription-live-strip{
  flex:1 0 100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:12px 0 0;
}
.spp-root--admin .spp-subscription-live-strip>div{
  min-width:0;
  padding:8px 10px;
  border:1px solid var(--spp-line);
  border-radius:10px;
  background:rgba(255,255,255,.03);
}
.spp-root--admin .spp-subscription-live-strip small{
  display:block;
  color:var(--spp-admin-info-label,var(--spp-muted));
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.spp-root--admin .spp-subscription-live-strip strong{
  display:block;
  margin-top:3px;
  font-size:13px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.spp-root--admin[data-spp-theme="light"] .spp-subscription-live-strip>div{background:#fff}
@media(max-width:720px){
  .spp-root--admin .spp-subscription-live-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 3.6.458 — Folder status row uses the admin-home card look, at a smaller size. */
.spp-root--admin .spp-folder-nav457__statuses{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:0 0 14px;
}
.spp-root--admin .spp-folder-nav457__statuses[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav457__statuses .spp-folder-nav457__card{
  min-height:64px;
  padding:9px 11px;
  gap:8px;
  border-radius:13px;
  grid-template-columns:auto minmax(0,1fr);
  cursor:default;
}
.spp-root--admin .spp-folder-nav457__statuses .spp-folder-nav457__card:hover{transform:none}
.spp-root--admin .spp-folder-nav457__statuses .spp-kpi-icon{
  width:28px;
  height:28px;
  border-radius:9px;
  font-size:13px;
}
.spp-root--admin .spp-folder-nav457__statuses .spp-kpi-content small{
  margin:0 0 2px;
  font-size:10px;
  letter-spacing:.04em;
}
.spp-root--admin .spp-folder-nav457__statuses .spp-kpi-content strong{
  font-size:13px;
  line-height:1.25;
}
.spp-root--admin .spp-folder-service-card .spp-kpi-content small,
.spp-root--admin .spp-folder-service-card .spp-kpi-content strong{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.25;
}
.spp-root--admin .spp-folder-package-card{cursor:default}
.spp-root--admin .spp-folder-package-card__take{
  justify-self:start;
  margin-top:6px;
  min-height:26px;
  padding:3px 9px;
  font-size:11px;
}
.spp-folder-package-confirm[hidden]{display:none!important}
.spp-folder-package-confirm{
  position:fixed;
  inset:0;
  z-index:100300;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(2,8,18,.62);
}
.spp-folder-package-confirm__panel{
  width:min(420px,calc(100vw - 32px));
  padding:18px 18px 16px;
  border:1px solid rgba(251,191,36,.45);
  border-radius:16px;
  background:#0c1728;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}
.spp-folder-package-confirm__panel h2{margin:0 0 8px;color:#fff;font-size:18px}
.spp-folder-package-confirm__panel p{margin:0;color:#d7e4f4;font-size:14px;line-height:1.5}
.spp-folder-package-confirm__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
@media(max-width:980px){
  .spp-root--admin .spp-folder-nav457__statuses{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .spp-root--admin .spp-folder-nav457__statuses{grid-template-columns:1fr}
}

/* 3.6.476 — customer backup facts keep a visible space between label and value. */
.spp-root--customer .spp-settings-compact-summary{display:grid;gap:8px}
.spp-root--customer .spp-settings-compact-summary>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px}

/* 3.6.487 — Activation tab: the guide and the two following jobs are one row each.
   The work itself stays in the existing popup. */
.spp-root--admin .spp-mga433__workspace{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}
.spp-root--admin .spp-mga433__intro{flex:1;min-width:0}
.spp-root--admin .spp-mga433__intro h3{margin:2px 0 0;font-size:16px}
.spp-root--admin .spp-mga433__intro p,
.spp-root--admin .spp-mga433__facts,
.spp-root--admin .spp-mga433__next-copy,
.spp-root--admin .spp-mga433__caption{display:none}
.spp-root--admin .spp-mga433__next{margin:0}
.spp-root--admin .spp-folder-door{padding:12px 14px}
.spp-root--admin .spp-folder-door__bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.spp-root--admin .spp-folder-door__bar h2{margin:2px 0 0;font-size:16px}
.spp-root--admin .spp-folder-door__bar .spp-btn{flex:0 0 auto}
.spp-root--admin .spp-folder-door>.spp-notice{margin-top:10px}
.spp-root--admin .spp-folder-door__overlay{position:fixed;inset:0;z-index:100090;display:grid;place-items:center;padding:18px}
.spp-root--admin .spp-folder-door__overlay[hidden]{display:none!important}
.spp-root--admin .spp-folder-door__backdrop{position:absolute;inset:0;background:rgba(4,10,18,.72)}
.spp-root--admin .spp-folder-door__dialog{position:relative;z-index:1;width:min(640px,calc(100vw - 36px));max-height:calc(100dvh - 36px);overflow:auto;background:#0b1628;color:#e9f6ff;border:1px solid rgba(137,180,205,.30);border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.5);outline:none}
.spp-root--admin .spp-folder-door__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(137,180,205,.22)}
.spp-root--admin .spp-folder-door__head h2{margin:0;font-size:16px}
.spp-root--admin .spp-folder-door__head button{border:0;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer}
.spp-root--admin .spp-folder-door__body{padding:16px}
.spp-root--admin[data-spp-theme="light"] .spp-folder-door__dialog{background:#fff;color:var(--spp-text);border-color:rgba(32,78,108,.18)}

/* 3.6.488 — Backup tab: three short doors. The tool stays in the popup. */
.spp-root--admin .spp-folder-nav422__files-slot>.spp-installation-files-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px!important}
.spp-root--admin .spp-folder-nav422__files-slot .spp-card-head{margin:0}
.spp-root--admin .spp-folder-nav422__files-slot .spp-sub,
.spp-root--admin .spp-folder-nav422__files-slot .spp-placeholder-grid span{display:none}
.spp-root--admin .spp-folder-nav422__files-slot .spp-placeholder-grid{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0}
.spp-root--admin .spp-folder-nav422__files-slot .spp-placeholder-grid>div{display:flex;align-items:baseline;gap:6px}
.spp-root--admin .spp-mb328-folder-card.spp-folder-door{padding:12px 14px}
.spp-root--admin .spp-mb328-folder-card.spp-folder-door .spp-mb328-folder-head{margin:0}
.spp-root--admin .spp-mb328-folder-card.spp-folder-door .spp-mb328-footer [data-spp-installation-folder-jump="backup"]{display:none}
.spp-root--admin .spp-folder-nav404,
.spp-root--admin .spp-folder-nav404__panel,
.spp-root--admin .spp-folder-nav423__backup-slot{
  overflow:visible!important;
  height:auto!important;
  max-height:none!important;
}
.spp-root--admin .spp-mb345-head,
.spp-root--admin .spp-folder-nav423__backup-slot>.spp-mb345-workspace{
  display:flex!important;
  position:static!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
  clip:auto!important;
  clip-path:none!important;
}
.spp-root--admin .spp-folder-nav423__backup-slot>.spp-mb345-workspace{flex-direction:column;align-items:stretch;padding:12px 14px!important}
.spp-root--admin .spp-mb345-head{align-items:center;justify-content:space-between;width:100%}
.spp-root--admin .spp-mb345-workspace .spp-mb345-head{margin:0}
.spp-root--admin .spp-mb345-workspace .spp-mb345-head h2{margin:2px 0 0;font-size:16px}
.spp-root--admin .spp-mb345-workspace .spp-mb345-head p{display:none}
.spp-root--admin .spp-mb345-workspace .spp-folder-door__dialog{width:min(960px,calc(100vw - 36px))}

/* 3.6.491 — History, Management and Technical rows.
   Existing open buttons stay the only door. Bulky facts stay in the DOM. */
.spp-root--admin .spp-folder-nav412__diagnostics-slot>.spp-workspace-entry-card,
.spp-root--admin .spp-folder-nav413__technician-slot>.spp-workspace-entry-card,
.spp-root--admin .spp-folder-nav415__support-slot>.spp-installation-support-workspace,
.spp-root--admin .spp-folder-nav416__installation-slot>.spp-installation-management-workspace,
.spp-root--admin .spp-folder-nav417__subscription-slot>.spp-installation-subscription-workspace,
.spp-root--admin .spp-folder-nav418__profile-slot>.spp-admin-installation-profile{
  display:flex;
  flex-flow:row wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 12px;
  height:auto;
  padding:12px 14px!important;
}
.spp-root--admin .spp-folder-nav412__diagnostics-slot .spp-card-head,
.spp-root--admin .spp-folder-nav413__technician-slot .spp-card-head,
.spp-root--admin .spp-folder-nav415__support-slot .spp-card-head,
.spp-root--admin .spp-folder-nav416__installation-slot .spp-card-head,
.spp-root--admin .spp-folder-nav417__subscription-slot .spp-card-head,
.spp-root--admin .spp-folder-nav418__profile-slot .spp-card-head{flex:1 1 180px;margin:0}
.spp-root--admin .spp-folder-nav412__diagnostics-slot .spp-card-head h2,
.spp-root--admin .spp-folder-nav413__technician-slot .spp-card-head h2,
.spp-root--admin .spp-folder-nav415__support-slot .spp-card-head h2,
.spp-root--admin .spp-folder-nav416__installation-slot .spp-card-head h2,
.spp-root--admin .spp-folder-nav417__subscription-slot .spp-card-head h2,
.spp-root--admin .spp-folder-nav418__profile-slot .spp-card-head h2{margin:2px 0 0;font-size:16px}
.spp-root--admin .spp-folder-nav412__diagnostics-slot .spp-workspace-entry-footer,
.spp-root--admin .spp-folder-nav413__technician-slot .spp-workspace-entry-footer,
.spp-root--admin .spp-folder-nav415__support-slot .spp-sidebar-workspace-entry,
.spp-root--admin .spp-folder-nav416__installation-slot .spp-sidebar-workspace-entry,
.spp-root--admin .spp-folder-nav417__subscription-slot .spp-sidebar-workspace-entry{margin:0}
.spp-root--admin .spp-folder-nav412__diagnostics-slot .spp-workspace-entry-metrics,
.spp-root--admin .spp-folder-nav413__technician-slot .spp-workspace-entry-metrics,
.spp-root--admin .spp-folder-nav415__support-slot .spp-installation-support-summary,
.spp-root--admin .spp-folder-nav415__support-slot .spp-installation-support-recent,
.spp-root--admin .spp-folder-nav416__installation-slot .spp-installation-management-summary,
.spp-root--admin .spp-folder-nav417__subscription-slot .spp-installation-subscription-summary,
.spp-root--admin .spp-folder-nav418__profile-slot .spp-admin-installation-profile__facts,
.spp-root--admin .spp-folder-nav418__profile-slot .spp-admin-installation-profile__context,
.spp-root--admin .spp-folder-nav418__profile-slot .spp-admin-installation-profile__guard,
.spp-root--admin .spp-folder-nav418__profile-slot .spp-sub{display:none}
.spp-root--admin .spp-folder-nav418__profile-slot>.spp-admin-installation-profile>.spp-notice{flex:1 0 100%}
.spp-root--admin .spp-folder-nav411__external-workspace>.spp-installation-operator-external-url{margin:0!important;padding:0!important}
.spp-root--admin .spp-folder-nav411__external-workspace .spp-installation-external-url-overview{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0!important;padding:12px 14px!important;
}
.spp-root--admin .spp-folder-nav411__external-workspace .spp-sub{display:none}
.spp-root--admin .spp-folder-nav411__external-workspace .spp-installation-external-url-head{flex:1 1 180px;margin:0}
.spp-root--admin .spp-folder-nav411__external-workspace .spp-installation-external-url-head h2{margin:2px 0 0;font-size:16px}
.spp-root--admin .spp-folder-nav411__external-workspace .spp-installation-external-url-actions{margin:0}
.spp-root--admin .spp-folder-nav420__handoff-slot>section.spp-card{
  display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0!important;padding:12px 14px!important;
}
.spp-root--admin .spp-folder-nav420__handoff-slot>section.spp-card>strong:first-child{flex:1 1 180px;font-size:16px}
.spp-root--admin .spp-folder-nav420__handoff-slot>section.spp-card>.spp-sub{display:none}
.spp-root--admin .spp-folder-nav420__handoff-slot>section.spp-card>form{margin:0}
.spp-root--admin .spp-folder-nav420__handoff-slot>section.spp-card>.spp-notice{flex:1 0 100%}
.spp-root--admin .spp-folder-nav419__remote-slot>.spp-installation-remote-overview{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 14px!important}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-folder-door__bar{flex:1 1 220px}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-folder-door__bar>div{flex:1 1 auto}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-installation-access-grid{display:grid;grid-template-columns:1fr;gap:10px;flex:1 0 100%;margin:8px 0 0}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-installation-access-action>span{display:inline}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-remote-capability{display:grid}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-installation-access-action{display:inline-flex;align-items:center;width:auto;padding:8px 12px;border-radius:10px}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-installation-access-action>span{display:none}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-installation-access-action[data-spp-installation-diagnostic-target="router-web"]{display:none}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-installation-ha-session{flex:1 0 100%;margin:8px 0 0}
.spp-root--admin .spp-folder-nav419__remote-slot .spp-folder-door__dialog{width:min(960px,calc(100vw - 36px))}

/* 3.6.493 — Overview is a glance. Editing stays on Διαχείριση. */
.spp-root--admin .spp-folder-nav404__panel[data-spp-folder-nav404-panel="overview"] .spp-folder-nav406__management-context{display:grid!important;margin:0 0 12px}
.spp-root--admin .spp-folder-nav414__live-slot>.spp-installation-live-summary{padding:12px 14px!important}
.spp-root--admin .spp-folder-nav414__live-slot .spp-card-head{margin:0}
.spp-root--admin .spp-folder-nav414__live-slot .spp-card-head h2{margin:2px 0 0;font-size:16px}
.spp-root--admin .spp-folder-nav414__live-slot .spp-installation-summary-grid{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 0 0}
.spp-root--admin .spp-folder-nav414__live-slot .spp-installation-summary-grid>div{display:flex;align-items:baseline;gap:6px;padding:0;border:0;background:transparent}
.spp-root--admin .spp-folder-nav414__live-slot .spp-installation-summary-grid span{display:inline}
.spp-root--admin .spp-folder-nav414__live-slot .spp-installation-summary-grid strong{display:inline;margin:0}
.spp-root--admin .spp-folder-nav414__live-slot .spp-contact-watch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.spp-root--admin .spp-folder-nav414__live-slot .spp-contact-watch p{margin:0;flex:1 1 180px}
.spp-root--admin .spp-folder-nav404__panel[data-spp-folder-nav404-panel="overview"] .spp-sdqv1-ledger{margin:10px 0 0;padding:12px 14px;gap:0}
.spp-root--admin .spp-folder-nav404__panel[data-spp-folder-nav404-panel="overview"] .spp-sdqv1-ledger>p,
.spp-root--admin .spp-folder-nav404__panel[data-spp-folder-nav404-panel="overview"] .spp-sdqv1-ledger>h3{display:none}
.spp-root--admin .spp-folder-nav404__panel[data-spp-folder-nav404-panel="overview"] .spp-sdqv1-ledger-row{padding:7px 0}

/* 3.6.497 — Diagnostics popup: Γενικά is the status. Areas, findings and the log stay on Διαγνωστικά. */
.spp-diagnostics-workspace .spp-focused-workspace__header p{display:none}
.spp-diagnostics-workspace #spp-diagnostic-fresh-check .spp-diagnostic-export-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
.spp-diagnostics-workspace #spp-diagnostic-fresh-check .spp-diagnostic-export-panel-head small,
.spp-diagnostics-workspace #spp-diagnostic-fresh-check .spp-diagnostic-export-note{display:none}
.spp-diagnostics-workspace #spp-diagnostic-operations .spp-diagnostic-operations-head small{display:none}
.spp-diagnostics-workspace .spp-request-diagnostic-section-head p{display:none}

/* 3.6.498 — Request folder glance: the message, four installation facts, then the three connection buttons. Evidence stays in the page for the later advanced door. */
.spp-root--admin .spp-request-description-card>.spp-notice{display:none!important}
.spp-root--admin .spp-request-description-card>.spp-request-system-context:not([aria-label="Κατάσταση σχετικής εγκατάστασης"]){display:none!important}
.spp-root--admin .spp-request-description-card>.spp-request-system-context[aria-label="Κατάσταση σχετικής εγκατάστασης"]{margin-top:12px;padding-top:12px}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview>.spp-detail-facts{display:none!important}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview>.spp-notice:not(.spp-installation-safe-reset-notice):not([data-sppp-capability-recovery-notice]):not([data-sppp-ha-direct-launch-notice]):not([data-sppp-managed-direct-notice]){display:none!important}
.spp-root--admin .spp-request-workspace .spp-installation-access-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}
.spp-root--admin .spp-request-workspace .spp-installation-access-action{display:inline-flex;align-items:center;width:auto;padding:8px 12px;border-radius:10px}
.spp-root--admin .spp-request-workspace .spp-installation-access-action[data-spp-installation-diagnostic-target="router-web"]{display:none}
.spp-root--admin .spp-request-workspace .spp-installation-capability-recovery-grid{display:none}

/* 3.6.499 — Right column: the flow stays a form. Time and history are one-line doors. */
.spp-root--admin .spp-request-flow-head .spp-sub,
.spp-root--admin .spp-request-flow-card .spp-field-help{display:none}
.spp-root--admin .spp-request-work-card.spp-folder-door{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.spp-root--admin .spp-request-work-card.spp-folder-door .spp-request-work-head{flex:1 1 220px;margin:0;align-items:center}
.spp-root--admin .spp-request-work-card.spp-folder-door .spp-request-work-head>div:first-child{flex:1 1 auto}
.spp-root--admin .spp-request-work-card.spp-folder-door .spp-request-work-head .spp-sub{display:none}
.spp-root--admin .spp-request-work-card.spp-folder-door .spp-request-work-runtime{flex:0 1 auto;margin:0;padding:8px 10px}
.spp-root--admin .spp-request-work-card.spp-folder-door .spp-request-work-runtime>strong{font-size:18px}
.spp-root--admin .spp-request-work-card.spp-folder-door .spp-request-work-actions,
.spp-root--admin .spp-request-work-card.spp-folder-door .spp-request-work-start{margin:0}
.spp-root--admin .spp-request-work-card .spp-request-work-qa{display:none}
.spp-root--admin .spp-request-work-card .spp-folder-door__dialog{width:min(960px,calc(100vw - 36px))}
.spp-root--admin .spp-request-history-card.spp-folder-door .spp-request-history-head{align-items:center;margin:0}
.spp-root--admin .spp-request-history-card.spp-folder-door .spp-request-history-toggle{display:none}
.spp-root--admin .spp-request-history-card .spp-folder-door__dialog{width:min(760px,calc(100vw - 36px))}

/* 3.6.500/501 — Request connection row: three launchers plus Email, Διαγνωστική εικόνα and Πλήρης φάκελος. Emergency reset and Υποδομή stay in Άνοιγμα. */
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview.spp-folder-door{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:12px 14px}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview.spp-folder-door .spp-installation-remote-head{flex:1 1 220px;margin:0;align-items:center}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview.spp-folder-door .spp-request-remote-gate{flex:0 1 auto;margin:0;padding:8px 10px}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview.spp-folder-door .spp-installation-access-grid{flex:1 1 100%;margin:0}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview.spp-folder-door .spp-installation-remote-footer{flex:1 1 100%;margin:0;padding:0;border:0}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview.spp-folder-door .spp-installation-remote-footer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview.spp-folder-door .spp-installation-ha-session{flex:1 0 100%;margin:8px 0 0}
.spp-root--admin .spp-request-workspace .spp-installation-remote-overview .spp-folder-door__dialog{width:min(960px,calc(100vw - 36px))}
.spp-root--admin .spp-request-advanced-evidence{display:grid;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(137,180,205,.22)}
.spp-root--admin .spp-request-advanced-evidence__title{display:block;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--spp-admin-muted,var(--spp-muted))}
.spp-root--admin .spp-request-workspace .spp-folder-door__body .spp-detail-facts,
.spp-root--admin .spp-request-workspace .spp-folder-door__body .spp-notice,
.spp-root--admin .spp-request-workspace .spp-folder-door__body .spp-installation-capability-recovery-grid,
.spp-root--admin .spp-request-workspace .spp-folder-door__body .spp-request-system-context{display:grid!important}
.spp-root--admin .spp-request-workspace .spp-folder-door__body .spp-installation-capability-recovery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}

/* 3.6.503 — Diagnostics glance: Γενικά shows live health. Fresh check / daily ops stay in Advanced. Downloads on the health cards stay out of the first look. */
.spp-diagnostics-workspace [data-spp-diagnostics-section="general"] .spp-diagnostic-source-actions{display:none}
.spp-diagnostics-workspace [data-spp-diagnostics-section="general"] .spp-diagnostic-health-grid--overview{margin:0}
.spp-diagnostics-workspace .spp-request-diagnostic-empty p{display:none}
.spp-request-diagnostics-workspace [data-spp-request-diag-section="general"] .spp-request-diagnostic-empty p{display:none}

/* 3.6.504 — Γενικά health cards open Διαγνωστικά on the matching area. */
.spp-diagnostics-workspace [data-spp-diagnostic-area]{cursor:pointer}
.spp-diagnostics-workspace [data-spp-diagnostic-area]:focus{outline:2px solid rgba(81,207,255,.55);outline-offset:2px}
.spp-diagnostics-workspace [data-spp-diagnostic-area]:hover{transform:translateY(-1px)}
.spp-diagnostic-area-focus{display:grid;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid rgba(81,207,255,.28);border-radius:14px;background:rgba(56,189,248,.06)}
.spp-diagnostic-area-focus[hidden]{display:none!important}
.spp-diagnostic-area-focus__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.spp-diagnostic-area-focus__head strong{display:block;font-size:15px}
.spp-diagnostic-area-focus__head span{display:block;margin-top:3px;color:var(--spp-admin-muted,var(--spp-muted));font-size:12px}
.spp-diagnostic-area-focus p{margin:0;color:var(--spp-admin-muted,var(--spp-muted));font-size:12px;line-height:1.4}
.spp-diagnostic-area-focus__actions{display:flex;flex-wrap:wrap;gap:8px}
.spp-diagnostic-area-focus__actions a{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid var(--spp-line);border-radius:10px;text-decoration:none}

/* 3.6.502 — Request flow is a work form: status, next step, two notes with presets, save. */
.spp-root--admin .spp-request-flow-card{padding:12px 14px}
.spp-root--admin .spp-request-flow-head{align-items:center!important;margin:0 0 10px!important}
.spp-root--admin .spp-request-flow-head h2{margin:0;font-size:16px}
.spp-root--admin .spp-request-flow-form{gap:10px}
.spp-root--admin .spp-request-flow-selects{gap:8px;margin:0}
.spp-root--admin .spp-request-flow-selects label{display:grid;gap:4px;margin:0}
.spp-root--admin .spp-request-flow-selects select{min-height:38px}
.spp-root--admin .spp-request-note-field--primary,
.spp-root--admin .spp-request-note-field--tools{padding:0;border:0;border-radius:0;background:transparent}
.spp-root--admin .spp-request-note-field{gap:5px}
.spp-root--admin .spp-request-combo-shell{min-height:38px}
.spp-root--admin .spp-request-combo-input{min-height:38px;font-size:13px}
.spp-root--admin .spp-request-combo-toggle{min-height:38px}
.spp-nav--customer .spp-install-menu{position:relative}
.spp-nav--customer .spp-install-menu>[data-spp-install-menu-open]{display:inline-flex;align-items:center;min-height:38px;padding:8px 11px;border:0;border-radius:10px;background:transparent;color:var(--spp-muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.spp-nav--customer .spp-install-menu>[data-spp-install-menu-open].is-active,.spp-nav--customer .spp-install-menu>[data-spp-install-menu-open][aria-expanded="true"]{color:var(--spp-text);background:var(--spp-field)}
.spp-root--customer .spp-brand{min-width:0}
.spp-root--customer .spp-nav a,.spp-root--customer .spp-install-menu>[data-spp-install-menu-open]{font-size:15px}
.spp-nav-caret{margin-left:6px;font-size:11px;line-height:1}
.spp-account-menu>.spp-avatar{display:inline-flex;align-items:center;gap:4px;width:auto;padding:0 10px}
.spp-customer-nav-toggle{display:none}
.spp-install-menu__panel{position:absolute;left:0;top:calc(100% + 8px);z-index:50;display:grid;grid-template-columns:minmax(210px,260px) minmax(220px,1fr);gap:10px;width:min(560px,calc(100vw - 24px));max-height:min(70vh,calc(100vh - 96px));overflow:hidden;padding:12px;border:1px solid #8aa0b8;border-radius:16px;background:#102033;color:#f4f8ff}
.spp-root.is-light-theme .spp-install-menu__panel{background:#fff;color:#102033}
.spp-install-menu__list{display:grid;align-content:start;gap:6px;min-height:0;max-height:min(52vh,calc(100vh - 180px));overflow:auto}
.spp-install-menu__list button{display:grid;gap:2px;width:100%;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:inherit;text-align:left;cursor:pointer}
.spp-install-menu__list button small{color:#9fb4c8;font-size:12px}
.spp-root.is-light-theme .spp-install-menu__list button small{color:#4d6478}
.spp-install-menu__list button.is-selected{border-color:#66d9f5;background:rgba(102,217,245,.12)}
.spp-install-menu__actions{display:grid;align-content:start;gap:6px;min-height:0;max-height:min(52vh,calc(100vh - 180px));overflow:auto}
.spp-install-menu__actions a,.spp-install-menu__all,.spp-install-menu__panel>a{display:flex;align-items:center;min-height:36px;padding:6px 10px;border:1px solid #8aa0b8;border-radius:10px;color:inherit;text-decoration:none}
.spp-install-menu__all{grid-column:1 / -1}
.spp-customer-search{position:relative}
.spp-customer-search__icon{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #8aa0b8;border-radius:999px;background:#173047;color:#f4f8ff;cursor:pointer}
.spp-root.is-light-theme .spp-customer-search__icon{background:#fff;color:#102033;border-color:#5d7690}
.spp-account-menu{position:relative}
.spp-account-menu__panel{position:absolute;right:0;top:calc(100% + 8px);z-index:60;display:grid;gap:8px;width:min(260px,calc(100vw - 24px));padding:12px;border:1px solid #8aa0b8;border-radius:14px;background:#102033;color:#f4f8ff}
.spp-root.is-light-theme .spp-account-menu__panel{background:#fff;color:#102033}
.spp-account-menu__panel a{display:flex;align-items:center;min-height:36px;padding:6px 10px;border:1px solid #8aa0b8;border-radius:10px;color:inherit;text-decoration:none}
.spp-account-menu__panel .spp-theme-quick-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.spp-account-menu__panel .spp-theme-quick-picker button{min-height:36px;border:1px solid #8aa0b8;border-radius:10px;background:transparent;color:inherit;cursor:pointer}
.spp-account-menu__panel[hidden]{display:none !important}
.spp-customer-search__panel{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(360px,calc(100vw - 24px));display:grid;gap:8px;padding:10px;border:1px solid #8aa0b8;border-radius:14px;background:#102033;color:#f4f8ff}
.spp-root.is-light-theme .spp-customer-search__panel{background:#fff;color:#102033}
.spp-customer-search__panel input{width:100%;min-height:40px;padding:8px 10px;border:1px solid #8aa0b8;border-radius:10px;background:#173047;color:#f4f8ff}
.spp-root.is-light-theme .spp-customer-search__panel input{background:#fff;color:#102033}
.spp-customer-search__hint{margin:0;font-size:13px;line-height:1.4}
.spp-customer-search__panel [role="option"],.spp-customer-search__panel button{width:100%;min-height:40px;padding:8px 10px;border:1px solid #8aa0b8;border-radius:10px;background:transparent;color:inherit;text-align:left;cursor:pointer}
.spp-customer-search__panel [data-spp-customer-search-results]{display:grid;gap:6px;max-height:50vh;overflow:auto}
@media (max-width:980px){
  .spp-customer-nav-toggle{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid #8aa0b8;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer}
  .spp-root--customer .spp-nav--customer{display:none;position:absolute;left:12px;right:12px;top:calc(100% + 8px);z-index:45;flex-direction:column;align-items:stretch;padding:10px;border:1px solid #8aa0b8;border-radius:14px;background:#102033}
  .spp-root.is-light-theme .spp-nav--customer{background:#fff;color:#102033}
  .spp-root--customer .spp-nav--customer.is-open{display:flex}
  .spp-root--customer .spp-install-menu{position:static}
}
.spp-install-menu__panel[hidden],
.spp-customer-search__panel[hidden],
[data-spp-install-actions][hidden]{display:none !important}
.spp-customer-installation-routes a,.spp-installation-return a{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border:1px solid var(--spp-line,#37516c);border-radius:999px;color:inherit;text-decoration:none}
.spp-installation-return{margin:8px 0 16px}
.spp-account-progress-list{display:grid;gap:8px}
.spp-account-progress-list a{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--spp-line,#37516c);border-radius:12px;color:inherit;text-decoration:none}
.spp-account-progress-optional{display:grid;gap:6px;margin-top:12px;color:var(--spp-text,#d7e4f2);font-size:14px}
@media (max-width:760px){.spp-customer-installation-routes a{width:100%;justify-content:flex-start}}

.spp-root--admin .spp-technician-confirm,
.spp-root--admin .spp-mga440__ack{
  color:#f4f7fb;
}
.spp-root--admin .spp-technician-confirm span,
.spp-root--admin .spp-mga440__ack span{
  color:#f4f7fb;
  font-size:14px;
  font-weight:650;
  line-height:1.45;
}
[data-spp-notice-hold] [data-spp-notice-hold-close]{
  margin-left:10px;
}

/* 3.6.577 — Customer header shell matches the portal content width. Admin header is unchanged. */
.spp-root--customer .spp-topbar{position:relative;padding:14px 16px 0;background:transparent;border:0}
.spp-root--customer .spp-topbar-shell{position:relative;width:min(100%,var(--spp-customer-shell,1200px));min-height:62px;margin:0 auto;padding:8px 12px;border:1px solid var(--spp-line);border-radius:22px;background:color-mix(in srgb,var(--spp-panel) 94%,#081018);box-shadow:0 14px 34px rgba(0,0,0,.22)}
.spp-root--customer.is-light-theme .spp-topbar-shell,
.spp-root--customer[data-spp-theme="light"] .spp-topbar-shell{background:#f4f8fc;border-color:#c5d2df;box-shadow:0 10px 28px rgba(16,32,51,.08)}
.spp-root--customer .spp-nav--customer{align-items:center;gap:2px}
.spp-root--customer .spp-nav--customer>a,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open]{min-height:38px;padding:8px 11px;border:1px solid transparent;border-radius:999px;color:var(--spp-muted);font-size:14px;font-weight:750}
.spp-root--customer .spp-nav--customer>a.is-active,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open].is-active,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open][aria-expanded="true"]{color:var(--spp-text);background:color-mix(in srgb,var(--spp-cyan) 16%,var(--spp-panel));border-color:color-mix(in srgb,var(--spp-cyan) 42%,var(--spp-line));box-shadow:none}
.spp-root--customer .spp-nav--customer>a:focus-visible,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open]:focus-visible,
.spp-root--customer .spp-theme-menu__trigger:focus-visible,
.spp-root--customer .spp-account-menu__trigger:focus-visible,
.spp-root--customer .spp-customer-nav-toggle:focus-visible{outline:2px solid var(--spp-cyan);outline-offset:2px}
.spp-theme-menu{position:relative}
.spp-theme-menu__trigger,
.spp-account-menu__trigger{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:6px 12px;border:1px solid var(--spp-line);border-radius:999px;background:transparent;color:var(--spp-text);font:inherit;font-size:14px;font-weight:750;cursor:pointer}
.spp-theme-menu__trigger span,
.spp-account-menu__mark{color:var(--spp-cyan-strong,var(--spp-cyan));font-weight:800}
.spp-account-menu__mark{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:color-mix(in srgb,var(--spp-cyan) 18%,var(--spp-panel));font-size:12px}
.spp-theme-menu__panel{position:absolute;right:0;top:calc(100% + 8px);z-index:70;display:grid;gap:6px;width:min(180px,calc(100vw - 24px));padding:8px;border:1px solid var(--spp-line);border-radius:14px;background:var(--spp-panel);color:var(--spp-text);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.spp-theme-menu__panel button{min-height:36px;padding:6px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;cursor:pointer}
.spp-theme-menu__panel button.is-active{border-color:color-mix(in srgb,var(--spp-cyan) 45%,var(--spp-line));background:color-mix(in srgb,var(--spp-cyan) 14%,var(--spp-panel))}
.spp-theme-menu__panel[hidden]{display:none !important}
.spp-customer-search__icon[hidden]{display:none !important}
.spp-root--customer.is-light-theme .spp-theme-menu__panel,
.spp-root--customer[data-spp-theme="light"] .spp-theme-menu__panel{background:#fff;color:#102033}
@media (max-width:1180px){
  .spp-root--customer .spp-customer-nav-toggle{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid var(--spp-line);border-radius:999px;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer}
  .spp-root--customer .spp-nav--customer{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:45;flex-direction:column;align-items:stretch;padding:10px;border:1px solid var(--spp-line);border-radius:16px;background:var(--spp-panel);box-shadow:0 16px 36px rgba(0,0,0,.2)}
  .spp-root--customer.is-light-theme .spp-nav--customer,
  .spp-root--customer[data-spp-theme="light"] .spp-nav--customer{background:#fff;color:#102033}
  .spp-root--customer .spp-nav--customer.is-open{display:flex}
  .spp-root--customer .spp-install-menu{position:static}
  .spp-root--customer .spp-install-menu__panel{position:static;width:100%;max-height:none;grid-template-columns:minmax(0,1fr)}
  .spp-root--customer .spp-nav--customer>a,
  .spp-root--customer .spp-install-menu>[data-spp-install-menu-open]{width:100%;justify-content:space-between}
}
@media (max-width:640px){
  .spp-root--customer .spp-topbar{padding:10px 10px 0}
  .spp-root--customer .spp-topbar-shell{gap:8px;padding:8px}
  .spp-root--customer .spp-brand small,
  .spp-root--customer .spp-brand > span:last-child{display:none}
  .spp-root--customer .spp-theme-menu__trigger{padding-inline:10px}
  .spp-root--customer .spp-account-menu__trigger{padding-inline:10px}
}

/* 3.6.505: historical Diagnostic Run overview never appears in the live General glance. */
.spp-diagnostics-workspace .spp-diagnostic-snapshot-overview[hidden]{display:none!important;}

/* 3.6.578 — Customer header correction. The unscoped dark topbar rule remains for Admin. */
.spp-root--customer .spp-topbar,
.spp-root--customer[data-spp-theme="light"] .spp-topbar,
.spp-root--customer.is-light-theme .spp-topbar{
  display:block!important;
  min-height:0!important;
  padding:8px 0 0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.spp-root--customer .spp-topbar-shell{
  width:min(calc(100% - 44px),1156px)!important;
  max-width:1156px!important;
  min-height:54px!important;
  padding:6px 10px!important;
  gap:10px;
}
.spp-root--customer[data-spp-theme="light"] .spp-topbar-shell,
.spp-root--customer.is-light-theme .spp-topbar-shell{
  background:var(--spp-panel);
  border-color:var(--spp-line);
  box-shadow:0 8px 22px rgba(16,32,51,.08);
}
.spp-root--customer[data-spp-theme="dark"] .spp-topbar-shell,
.spp-root--customer:not([data-spp-theme="light"]):not(.is-light-theme) .spp-topbar-shell{
  background:color-mix(in srgb,var(--spp-panel) 96%,#050b16);
}
.spp-root--customer[data-spp-theme="light"] .spp-brand,
.spp-root--customer[data-spp-theme="light"] .spp-brand:hover,
.spp-root--customer[data-spp-theme="light"] .spp-brand>span:last-child,
.spp-root--customer.is-light-theme .spp-brand,
.spp-root--customer.is-light-theme .spp-brand:hover,
.spp-root--customer.is-light-theme .spp-brand>span:last-child{
  color:#0b1f33!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-brand small,
.spp-root--customer.is-light-theme .spp-brand small{
  color:#3d556c!important;
}
.spp-root--customer .spp-nav--customer>a,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open]{
  color:var(--spp-text)!important;
  opacity:.82;
}
.spp-root--customer .spp-nav--customer>a:hover,
.spp-root--customer .spp-nav--customer>a:focus-visible,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open]:hover,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open]:focus-visible{
  color:var(--spp-text)!important;
  opacity:1;
  background:color-mix(in srgb,var(--spp-cyan) 12%,var(--spp-panel))!important;
  border-color:color-mix(in srgb,var(--spp-cyan) 35%,var(--spp-line))!important;
  box-shadow:none!important;
}
.spp-root--customer .spp-nav--customer>a.is-active,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open].is-active,
.spp-root--customer .spp-install-menu>[data-spp-install-menu-open][aria-expanded="true"]{
  color:var(--spp-text)!important;
  opacity:1;
  background:color-mix(in srgb,var(--spp-cyan) 18%,var(--spp-panel))!important;
  border-color:color-mix(in srgb,var(--spp-cyan) 48%,var(--spp-line))!important;
  box-shadow:none!important;
}
.spp-root--customer .spp-user{gap:8px;align-items:center}
.spp-root--customer[data-spp-theme="light"] .spp-theme-menu__trigger,
.spp-root--customer[data-spp-theme="light"] .spp-account-menu__trigger,
.spp-root--customer.is-light-theme .spp-theme-menu__trigger,
.spp-root--customer.is-light-theme .spp-account-menu__trigger{
  color:#0b1f33!important;
  background:#fff;
  border-color:rgba(32,61,86,.22);
}
.spp-root--customer .spp-install-menu__panel{
  top:calc(100% + 6px);
  z-index:80;
  align-items:start;
  gap:8px;
  width:min(520px,calc(100vw - 28px));
  padding:8px;
}
.spp-root--customer .spp-install-menu__list,
.spp-root--customer .spp-install-menu__actions{
  gap:4px;
  max-height:min(280px,calc(100vh - 150px));
}
.spp-root--customer .spp-install-menu__list button{
  min-height:36px;
  padding:6px 8px;
}
.spp-root--customer .spp-install-menu__list button.is-selected,
.spp-root--customer .spp-install-menu__list button[aria-selected="true"]{
  border-color:var(--spp-cyan);
  background:color-mix(in srgb,var(--spp-cyan) 18%,transparent);
}
.spp-root--customer .spp-install-menu__actions{align-self:start;max-height:none}
.spp-root--customer .spp-install-menu__actions a,
.spp-root--customer .spp-install-menu__all,
.spp-root--customer .spp-install-menu__panel>a{
  min-height:34px;
  padding:5px 8px;
}
.spp-root--customer[data-spp-theme="light"] .spp-install-menu__panel a,
.spp-root--customer.is-light-theme .spp-install-menu__panel a,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu__panel a:hover,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu__panel a:focus-visible,
.spp-root--customer.is-light-theme .spp-install-menu__panel a:hover,
.spp-root--customer.is-light-theme .spp-install-menu__panel a:focus-visible,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu__list button,
.spp-root--customer.is-light-theme .spp-install-menu__list button{
  color:#102033!important;
}
.spp-root--customer .spp-install-menu__list button:focus-visible,
.spp-root--customer .spp-install-menu__actions a:focus-visible,
.spp-root--customer .spp-install-menu__all:focus-visible{
  outline:2px solid var(--spp-cyan);
  outline-offset:2px;
}
@media (max-width:760px){
  .spp-root--customer .spp-topbar-shell{
    width:min(calc(100% - 28px),1156px)!important;
  }
}
.spp-customer-subscription-folder-action{display:flex;justify-content:flex-start;margin:12px 0 0}
.spp-customer-subscription-folder-action .spp-btn{min-height:38px}
@media(max-width:720px){
  .spp-customer-subscription-folder-action .spp-btn{width:100%;justify-content:center}
}
#spp-folder-subscription,
#spp-folder-package-includes,
#spp-folder-package-catalog,
#spp-folder-included-request,
#spp-folder-managed-backup-consent{scroll-margin-top:96px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-status-card .spp-card-head{align-items:flex-start}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-panel[data-spp-installation-folder-panel="services"]>.spp-card{margin-top:12px}
@media(max-width:800px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid{grid-template-columns:minmax(0,1fr)}
}

.spp-root--customer .spp-technician-confirm{
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px 10px;
  margin:8px 0 0;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;
  background:var(--spp-field);color:var(--spp-text);cursor:pointer;
}
.spp-root--customer .spp-technician-confirm:hover{border-color:color-mix(in srgb,var(--spp-cyan) 45%,var(--spp-line));}
.spp-root--customer .spp-technician-confirm:focus-within{outline:2px solid var(--spp-cyan);outline-offset:2px;}
.spp-root--customer .spp-technician-confirm:has(input:disabled){opacity:.6;cursor:not-allowed;}
.spp-root--customer .spp-technician-confirm input{
  width:16px;height:16px;margin:3px 0 0;accent-color:var(--spp-cyan);cursor:pointer;
}
.spp-root--customer .spp-technician-confirm input:disabled{cursor:not-allowed;}
.spp-root--customer .spp-technician-confirm span{
  color:var(--spp-text);font-size:13px;font-weight:650;line-height:1.45;letter-spacing:0;text-transform:none;
}
@media (min-width:1181px){
  .spp-root--customer .spp-nav--customer>a,
  .spp-root--customer .spp-install-menu>[data-spp-install-menu-open]{padding:7px 9px;font-size:13px}
}
.spp-root--customer .spp-request-collapsible .spp-request-compact-actions--customer{padding:12px 0 0}
.spp-root--customer[data-spp-theme="light"] .spp-nav--customer>a,
.spp-root--customer.is-light-theme .spp-nav--customer>a,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu>[data-spp-install-menu-open],
.spp-root--customer.is-light-theme .spp-install-menu>[data-spp-install-menu-open]{
  color:#0b1f33!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  opacity:1;
}
.spp-root--customer[data-spp-theme="light"] .spp-nav--customer>a:hover,
.spp-root--customer[data-spp-theme="light"] .spp-nav--customer>a:focus-visible,
.spp-root--customer.is-light-theme .spp-nav--customer>a:hover,
.spp-root--customer.is-light-theme .spp-nav--customer>a:focus-visible,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu>[data-spp-install-menu-open]:hover,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu>[data-spp-install-menu-open]:focus-visible,
.spp-root--customer.is-light-theme .spp-install-menu>[data-spp-install-menu-open]:hover,
.spp-root--customer.is-light-theme .spp-install-menu>[data-spp-install-menu-open]:focus-visible{
  color:#0b1f33!important;
  background:#e7f4f8!important;
  border-color:#8ec8d8!important;
  box-shadow:none!important;
  opacity:1;
}
.spp-root--customer[data-spp-theme="light"] .spp-nav--customer>a.is-active,
.spp-root--customer.is-light-theme .spp-nav--customer>a.is-active,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu>[data-spp-install-menu-open].is-active,
.spp-root--customer[data-spp-theme="light"] .spp-install-menu>[data-spp-install-menu-open][aria-expanded="true"],
.spp-root--customer.is-light-theme .spp-install-menu>[data-spp-install-menu-open].is-active,
.spp-root--customer.is-light-theme .spp-install-menu>[data-spp-install-menu-open][aria-expanded="true"]{
  color:#062033!important;
  background:#dff3f8!important;
  border-color:#0b7f9c!important;
  box-shadow:none!important;
  opacity:1;
}
.spp-root--customer .spp-subscription-entitlements summary,
.spp-root--customer .spp-subscription-secondary>summary{
  color:var(--spp-text);
  font-size:13px;
  font-weight:750;
}
.spp-root--customer[data-spp-view="installation"] .spp-subscription-secondary{margin-top:8px}
.spp-root--customer[data-spp-view="installation"] .spp-subscription-secondary>summary{cursor:pointer}
.spp-root--customer[data-spp-view="installation"] .spp-subscription-secondary .spp-customer-subscription-summary-card__facts{margin-top:8px}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage>summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  cursor:pointer;list-style:none;color:var(--spp-text);
}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage>summary::-webkit-details-marker{display:none}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage>summary h3,
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage>summary p{color:var(--spp-text)}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage>summary p{color:var(--spp-muted)}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage[open]>summary .spp-customer-row-chevron{transform:rotate(180deg)}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage__body{display:grid;gap:10px;margin-top:12px}
.spp-root--customer[data-spp-view="installation"] .spp-folder-manage-kicker{
  display:block;margin:0 0 4px;color:var(--spp-muted);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage .spp-customer-subscription-option{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage .spp-customer-subscription-option form{
  grid-column:1 / -1;justify-self:start;
}
.spp-root--customer[data-spp-view="installation"] .spp-folder-subscription-manage .spp-customer-subscription-option strong{
  color:var(--spp-text);overflow-wrap:anywhere;
}
.spp-root--customer .spp-customer-package-picker-row{
  display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(140px,.8fr) auto auto;
  align-items:center;gap:12px;min-height:68px;padding:12px 14px;cursor:default;
}
.spp-root--customer .spp-customer-package-focused .spp-installation-return{margin:0 0 12px}
@media(max-width:760px){
  .spp-root--customer .spp-customer-package-picker-row{grid-template-columns:minmax(0,1fr) auto}
}
.spp-package-compare-modal .spp-followup-modal-dialog{
  width:min(1080px,100%);
  max-height:min(90vh,920px);
  overflow:auto;
  background:var(--spp-panel);
  color:var(--spp-text);
}
.spp-package-compare-modal .spp-followup-modal-body{padding:8px 16px 18px}
.spp-package-compare-modal .spp-package-compare-v1__hero h2,
.spp-package-compare-modal .spp-package-compare-v1__card h4,
.spp-package-compare-modal .spp-package-compare-v1__price strong{color:var(--spp-text)}
.spp-package-compare-modal .spp-package-compare-v1__card li,
.spp-package-compare-modal .spp-package-compare-v2__fit,
.spp-package-compare-modal .spp-customer-package-compare-live__note{color:var(--spp-muted)}
.spp-package-compare-modal .spp-package-compare-v1__card{
  background:var(--spp-field);
  border-color:var(--spp-line);
}
.spp-package-compare-modal .spp-package-compare-v1__card.is-current{
  background:color-mix(in srgb,var(--spp-cyan) 14%,var(--spp-panel));
  border-color:color-mix(in srgb,var(--spp-cyan) 55%,var(--spp-line));
}
@media(max-width:800px){
  .spp-package-compare-modal{padding:10px}
  .spp-package-compare-modal .spp-followup-modal-dialog{max-height:calc(100vh - 20px)}
}
.spp-root--admin .spp-mga433__followup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.spp-root--admin .spp-mga433__followup>div{border:1px solid var(--spp-line);border-radius:11px;padding:10px 12px;display:grid;gap:4px;background:var(--spp-field);color:var(--spp-text)}
.spp-root--admin .spp-mga433__followup small{color:var(--spp-muted);font-size:11px}
.spp-root--admin .spp-mga433__followup strong{color:var(--spp-text);font-size:13px}
.spp-root--admin .spp-mga433__followup>p{grid-column:1 / -1;margin:0;color:var(--spp-text);font-size:13px;line-height:1.45}
@media(max-width:800px){
  .spp-root--admin .spp-mga433__followup{grid-template-columns:1fr}
}
.spp-aac-panel,.spp-aac-customer,.spp-aac-history,.spp-aac-report{margin-top:12px;color:var(--spp-text)}
.spp-customer-installation-document-grid>.spp-aac-report{grid-column:1 / -1}
.spp-aac-lines,.spp-aac-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.spp-aac-line:last-child{grid-column:1 / -1}
.spp-aac-line,.spp-aac-field{display:grid;gap:6px;min-width:0;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;background:#132033;color:var(--spp-text)}
.spp-aac-field--full{margin-top:10px}
.spp-aac-panel label,.spp-aac-panel label span,.spp-aac-panel strong,.spp-aac-sheet h1,.spp-aac-sheet h2,.spp-aac-sheet h3,.spp-aac-sheet p,.spp-aac-sheet li,.spp-aac-sheet dd,.spp-aac-customer p,.spp-aac-history,.spp-aac-report{color:var(--spp-text)!important}
.spp-aac-line small,.spp-aac-scope,.spp-aac-sheet-meta,.spp-aac-hint,.spp-aac-empty,.spp-aac-sheet dt{display:block;color:var(--spp-muted)!important;font-size:12px;line-height:1.45}
.spp-aac-panel textarea,.spp-aac-panel select{width:100%;box-sizing:border-box;field-sizing:content;min-height:44px;max-height:220px;padding:8px 10px;border:1px solid rgba(255,255,255,.18)!important;border-radius:10px;background:#0d1828!important;color:var(--spp-text)!important;-webkit-text-fill-color:var(--spp-text)!important}
.spp-aac-panel textarea::placeholder{color:var(--spp-muted)!important;opacity:1}
.spp-aac-panel select option{color:#102033;background:#fff}
.spp-aac-line.is-missing,.spp-aac-field.is-missing{border-color:rgba(251,191,36,.75)}
.spp-aac-missing{margin:12px 0 0;padding:10px 12px 10px 28px;border:1px solid rgba(251,191,36,.5);border-radius:12px;background:rgba(251,191,36,.12);color:var(--spp-text)!important}
.spp-aac-missing li{margin:4px 0;color:var(--spp-text)!important}
.spp-aac-ready{margin:12px 0 0;color:var(--spp-ok,#34d399)!important}
.spp-aac-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}
.spp-aac-confirm{display:flex;gap:8px;align-items:flex-start;color:var(--spp-text)!important}
.spp-aac-confirm span{color:var(--spp-text)!important}
.spp-aac-confirm input{margin-top:3px;accent-color:#16c7ee}
.spp-root--admin .spp-aac-panel .spp-btn--primary:disabled{opacity:1!important;cursor:not-allowed!important;filter:none!important;color:#9fb0c3!important;background:#1c2c40!important;border:1px solid #3d5168!important;box-shadow:none!important}
.spp-aac-record{margin-top:12px;border:1px solid var(--spp-line);border-radius:12px;padding:10px 12px}
.spp-aac-record summary{cursor:pointer;color:var(--spp-text)!important;font-weight:700}
.spp-aac-sheet h1{font-size:22px;margin:0 0 6px}
.spp-aac-sheet h2{font-size:16px;margin:16px 0 8px}
.spp-aac-sheet ul{margin:0;padding:0;list-style:none}

/* 3.6.600 — seven folder tabs, status under the navigation, compact workspaces. */
.spp-root--admin .spp-folder-nav404__tabs{display:flex;flex-wrap:wrap;grid-template-columns:none}
.spp-root--admin .spp-folder-nav404__tab{flex:1 1 148px;font-size:12.5px;min-height:46px}
.spp-root--admin .spp-folder-nav457__statuses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.spp-root--admin .spp-folder-nav600__entitlement-context,
.spp-root--admin .spp-folder-nav600__ledgers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.spp-root--admin .spp-folder-nav600__entitlement-context>div,
.spp-root--admin .spp-folder-nav600__ledgers>.spp-sdqv1-ledger{border:1px solid var(--spp-line);border-radius:12px;padding:10px 12px;min-width:0}
.spp-root--admin .spp-folder-nav600__ledgers{grid-template-columns:repeat(2,minmax(0,1fr))}
.spp-root--admin .spp-folder-nav600__activation{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr);gap:12px;align-items:start}
.spp-root--admin .spp-folder-nav600__activation>.spp-mga433{grid-column:1}
.spp-root--admin .spp-folder-nav600__activation>.spp-folder-door{grid-column:2}
.spp-root--admin .spp-prd-takes{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.spp-root--admin .spp-prd-take{display:flex;align-items:center;gap:8px;margin:0;padding:8px 10px;border:1px solid var(--spp-line);border-radius:10px}
.spp-root--admin .spp-prd-take span{color:var(--spp-muted);font-size:12px}
.spp-root--admin #spp-nav404-panel-technical .spp-installation-access-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.spp-root--admin [data-spp-folder-package-mount]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media(max-width:1100px){
  .spp-root--admin .spp-folder-nav457__statuses,
  .spp-root--admin .spp-folder-nav600__entitlement-context,
  .spp-root--admin [data-spp-folder-package-mount]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spp-root--admin .spp-folder-nav600__activation{grid-template-columns:1fr}
  .spp-root--admin .spp-folder-nav600__activation>.spp-mga433,
  .spp-root--admin .spp-folder-nav600__activation>.spp-folder-door{grid-column:auto}
}
@media(max-width:720px){
  .spp-root--admin .spp-folder-nav404__tab{flex-basis:calc(50% - 6px)}
  .spp-root--admin .spp-folder-nav457__statuses,
  .spp-root--admin .spp-folder-nav600__entitlement-context,
  .spp-root--admin .spp-folder-nav600__ledgers,
  .spp-root--admin [data-spp-folder-package-mount],
  .spp-root--admin #spp-nav404-panel-technical .spp-installation-access-grid{grid-template-columns:1fr}
}

/* 3.6.601 — two overview cards, readable activation, one column per entitlement. */
.spp-root--admin .spp-folder-nav601__pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.spp-root--admin .spp-folder-nav601__customer,
.spp-root--admin .spp-folder-nav601__installation{padding:14px 16px}
.spp-root--admin .spp-folder-nav601__facts,
.spp-root--admin .spp-folder-nav600__entitlement-context>div{display:grid;gap:8px}
.spp-root--admin .spp-folder-nav601__facts>div,
.spp-root--admin .spp-folder-nav600__entitlement-context>div{display:grid;gap:4px;min-width:0}
.spp-root--admin .spp-folder-nav601__facts small,
.spp-root--admin .spp-folder-nav600__entitlement-context small{display:block}
.spp-root--admin .spp-folder-nav601__installation .spp-installation-live-summary{margin-top:12px;padding:0;border:0;background:transparent;box-shadow:none}
.spp-root--admin .spp-folder-nav601__installation .spp-contact-watch{display:flex;align-items:center;justify-content:space-between;gap:8px}
.spp-root--admin .spp-folder-nav601__installation .spp-contact-watch p{margin:0;font-size:12px}
.spp-root--admin .spp-folder-nav601__installation .spp-contact-watch .spp-btn{flex:0 0 auto;min-height:32px;padding:4px 10px;font-size:12px}
.spp-root--admin #spp-nav404-panel-activation .spp-folder-nav600__activation{grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr)}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433{grid-column:1;grid-row:1 / span 2;min-width:0}
.spp-root--admin #spp-nav404-panel-activation .spp-folder-door{grid-column:2;min-width:0}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__workspace{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__intro{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 16px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__intro p,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__facts,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__caption{display:block}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__followup{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;width:100%}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__followup strong,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__facts strong{overflow-wrap:anywhere}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__next{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.spp-root--admin .spp-folder-nav601__services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.spp-root--admin .spp-folder-nav601__service{display:grid;gap:8px;min-width:0}
.spp-root--admin .spp-folder-nav601__service-body{display:grid;gap:8px;min-width:0}
.spp-root--admin .spp-folder-nav601__service-body p{margin:0;color:var(--spp-muted);font-size:12px;line-height:1.45}
@media(max-width:1100px){
  .spp-root--admin .spp-folder-nav601__services{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spp-root--admin #spp-nav404-panel-activation .spp-folder-nav600__activation{grid-template-columns:1fr}
  .spp-root--admin #spp-nav404-panel-activation .spp-mga433,
  .spp-root--admin #spp-nav404-panel-activation .spp-folder-door{grid-column:auto;grid-row:auto}
}
.spp-root--admin .spp-folder-nav602__activity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.spp-root--admin .spp-folder-nav602__activity button{display:grid;gap:4px;text-align:left;padding:10px 12px;border:1px solid var(--spp-line);border-radius:12px;background:transparent;color:var(--spp-text);cursor:pointer}
.spp-root--admin .spp-folder-nav602__activity small{color:var(--spp-muted);font-size:12px}
.spp-root--admin .spp-folder-nav602__history{display:grid;gap:14px;margin-bottom:16px}
.spp-root--admin .spp-folder-nav602__history section{border:1px solid var(--spp-line);border-radius:12px;padding:12px}
.spp-root--admin .spp-folder-nav602__history h3,.spp-root--admin .spp-folder-nav602__history h4{margin:0 0 8px}
.spp-root--admin .spp-folder-nav602__history ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.spp-root--admin .spp-folder-nav602__history li{display:grid;gap:2px}
.spp-root--admin .spp-folder-nav602__history small{color:var(--spp-muted)}
.spp-root--admin .spp-request-admin-preview{margin-top:8px}
.spp-root--admin .spp-request-admin-preview summary{cursor:pointer}
.spp-root--admin .spp-appointment-work-bridge-form{display:grid;gap:6px;max-width:280px}
.spp-root--admin .spp-appointment-work-bridge-confirm{display:flex;gap:6px;align-items:flex-start;font-size:12px;line-height:1.35}
@media(max-width:800px){
  .spp-root--admin .spp-folder-nav601__pair,
  .spp-root--admin .spp-folder-nav601__services,
  .spp-root--admin .spp-folder-nav600__entitlement-context,
  .spp-root--admin .spp-folder-nav602__activity{grid-template-columns:1fr}
}
.spp-aac-sheet li{margin:0 0 8px;padding:8px 10px;border:1px solid var(--spp-line);border-radius:10px}
.spp-aac-sheet dl{display:grid;grid-template-columns:minmax(140px,180px) 1fr;gap:6px 12px}
.spp-root--admin[data-spp-theme="light"] .spp-aac-line,.spp-root--admin[data-spp-theme="light"] .spp-aac-field{background:#fff;color:#102033}
.spp-root--admin[data-spp-theme="light"] .spp-aac-panel label,.spp-root--admin[data-spp-theme="light"] .spp-aac-panel label span,.spp-root--admin[data-spp-theme="light"] .spp-aac-panel strong,.spp-root--admin[data-spp-theme="light"] .spp-aac-confirm,.spp-root--admin[data-spp-theme="light"] .spp-aac-confirm span,.spp-root--admin[data-spp-theme="light"] .spp-aac-missing,.spp-root--admin[data-spp-theme="light"] .spp-aac-missing li{color:#102033!important}
.spp-root--admin[data-spp-theme="light"] .spp-aac-panel textarea,.spp-root--admin[data-spp-theme="light"] .spp-aac-panel select{background:#fff!important;color:#102033!important;-webkit-text-fill-color:#102033!important;border-color:rgba(32,61,86,.24)!important}
.spp-root--admin[data-spp-theme="light"] .spp-aac-panel textarea::placeholder{color:#5c6d80!important}
.spp-root--admin[data-spp-theme="light"] .spp-aac-panel .spp-btn--primary:disabled{color:#526a80!important;background:#d5dee6!important;border-color:#9aabba!important}
.spp-root--customer .spp-aac-line,.spp-root--customer .spp-aac-sheet li{background:var(--spp-field);color:var(--spp-text)}
.spp-root--customer[data-spp-theme="light"] .spp-aac-report,.spp-root--customer[data-spp-theme="light"] .spp-aac-sheet,.spp-root--customer[data-spp-theme="light"] .spp-aac-sheet h1,.spp-root--customer[data-spp-theme="light"] .spp-aac-sheet p,.spp-root--customer[data-spp-theme="light"] .spp-aac-sheet li{color:#102033!important}
@media(max-width:860px){.spp-aac-lines,.spp-aac-pair{grid-template-columns:1fr}.spp-aac-line:last-child{grid-column:auto}.spp-aac-sheet dl{grid-template-columns:1fr}}

/* 3.6.610 — Customer Full Folder bounded installation section + compact detail polish.
   Presentation only; existing forms, write handlers, security checks and authority unchanged. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space{
  display:grid;gap:14px;min-width:0;padding:18px;
  border:1px solid color-mix(in srgb,var(--spp-line) 92%,transparent);
  border-radius:23px;background:color-mix(in srgb,var(--spp-panel) 67%,transparent);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space__heading{display:grid;gap:3px;margin:0;min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space__heading .spp-eyebrow{
  color:var(--spp-cyan);font-size:10px;font-weight:850;letter-spacing:.075em;text-transform:uppercase;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space__heading h2{
  margin:0;color:var(--spp-text);font-size:clamp(17px,1.8vw,23px);line-height:1.2;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space .spp-customer-installation-folder-kpis{margin:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space .spp-installation-folder-tabs{margin:0;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-my-space{
  background:rgba(255,255,255,.62);border-color:rgba(34,65,91,.16);
  box-shadow:0 9px 26px rgba(34,65,91,.035);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
  margin-top:13px;padding:13px 14px;border:1px solid var(--spp-line);
  border-radius:12px;background:color-mix(in srgb,var(--spp-field) 68%,transparent);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box__copy{
  display:grid;gap:4px;min-width:0;flex:1 1 205px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box__copy strong{font-size:12px;color:var(--spp-text);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box__copy span{font-size:10.5px;line-height:1.4;color:var(--spp-muted);}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box .spp-customer-installation-overview-actions{margin:0;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-pairing-box{
  background:#f2f7fb;border-color:rgba(34,65,91,.14);
}
/* Show the already-available subscription period data as three balanced facts. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__period-facts{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:7px;
}
/* Two horizontal sections inside the optional notes dialog on wide screens. */
.spp-root--customer .spp-customer-profile-notes-modal .spp-followup-modal-dialog{
  width:min(1080px,calc(100vw - 40px));max-width:1080px;max-height:calc(100dvh - 36px);
  display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;
}
.spp-root--customer .spp-customer-profile-notes-modal .spp-followup-modal-body{overflow-y:auto;min-height:0;max-height:none;overscroll-behavior:contain;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-profile-notes-modal .spp-installation-operational-profile__notes-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;
}
.spp-root--customer .spp-customer-profile-notes-modal .spp-installation-operational-profile__section-card--notes{margin:0;}
/* Package inclusions: calm, legible vertical checklist rather than inline badges. */
.spp-root--customer .spp-customer-package-includes-modal .spp-followup-modal-dialog{
  width:min(670px,calc(100vw - 32px));max-width:670px;max-height:calc(100dvh - 36px);
  display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;
}
.spp-root--customer .spp-customer-package-includes-modal .spp-followup-modal-body{min-height:0;overflow-y:auto;max-height:none;overscroll-behavior:contain;padding:18px;}
.spp-root--customer .spp-customer-includes-intro{margin:0 0 12px;color:var(--spp-muted);font-size:12px;line-height:1.45;}
.spp-root--customer .spp-customer-includes-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;list-style:none;margin:0;padding:0;}
.spp-root--customer .spp-customer-includes-list li{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px;margin:0;padding:11px 12px;border:1px solid var(--spp-line);border-radius:10px;background:var(--spp-field);color:var(--spp-text);font-size:12px;line-height:1.5;overflow-wrap:anywhere;}
.spp-root--customer .spp-customer-includes-check{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:color-mix(in srgb,#10b981 16%,var(--spp-panel));color:#13a875;font-size:13px;font-weight:900;}
.spp-root--customer .spp-customer-includes-footer{display:flex;justify-content:flex-end;margin-top:14px;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-package-includes-modal .spp-followup-modal-dialog,
.spp-root--customer[data-spp-theme="light"] .spp-customer-profile-notes-modal .spp-followup-modal-dialog,
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-manage-modal .spp-followup-modal-dialog{
  color:#102033!important;background:#fff!important;border:1px solid rgba(34,65,91,.22)!important;box-shadow:0 28px 80px rgba(23,47,70,.22)!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-includes-list li{background:#f3f8fb;border-color:rgba(34,65,91,.15);color:#102033;}
/* Subscription management: readable actions and borders without modifying requests. */
.spp-root--customer .spp-customer-subscription-manage-modal .spp-followup-modal-dialog{
  width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 36px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;
}
.spp-root--customer .spp-customer-subscription-manage-modal .spp-followup-modal-body{overflow-y:auto;min-height:0;max-height:none;overscroll-behavior:contain;}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-manage-modal .spp-customer-subscription-actionline,
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-manage-modal .spp-customer-cancellation-control{
  background:#f5f9fc;border:1px solid rgba(34,65,91,.16);border-radius:12px;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-manage-modal .spp-btn--secondary,
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-manage-modal .spp-btn--ghost{
  color:#173c55!important;background:#f0f6fa!important;border-color:#a9c6d5!important;
}
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-manage-modal .spp-btn--secondary:hover,
.spp-root--customer[data-spp-theme="light"] .spp-customer-subscription-manage-modal .spp-btn--ghost:hover{background:#e0f1f8!important;border-color:#5aafcb!important;}
@media(max-width:800px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space{padding:13px;border-radius:17px;gap:10px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__period-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-profile-notes-modal .spp-installation-operational-profile__notes-grid{grid-template-columns:1fr;}
}
@media(max-width:520px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space{padding:10px;border-radius:14px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-subscription-summary-card__period-facts{grid-template-columns:minmax(0,1fr);}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box .spp-btn{width:100%;}
}

/* Service detail dialogs: restrained accessible contrast in customer Light Mode. */
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] [data-spp-installation-folder-panel="services"] .spp-followup-modal .spp-followup-modal-dialog{
  color:#102033!important;background:#fff!important;border:1px solid rgba(34,65,91,.20)!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] [data-spp-installation-folder-panel="services"] .spp-followup-modal .spp-btn--secondary,
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] [data-spp-installation-folder-panel="services"] .spp-followup-modal .spp-btn--ghost{
  color:#173c55!important;background:#f0f6fa!important;border-color:#a9c6d5!important;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] [data-spp-installation-folder-panel="services"] .spp-followup-modal .spp-btn--secondary:hover,
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] [data-spp-installation-folder-panel="services"] .spp-followup-modal .spp-btn--ghost:hover{
  background:#e0f1f8!important;border-color:#5aafcb!important;
}


/* 3.6.611 — Customer subscription dialogs: detached modal theme + focused contrast.
   Customer detail modals are moved to document.body while opened, losing the
   .spp-root--customer ancestor that normally carries theme variables and selectors.
   The JS controller now stores the resolved theme and copies its CSS variables.
   This layer applies only to those two subscription dialogs, never to the global UI. */
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-followup-modal-dialog,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-dialog{
  background:#ffffff!important;
  color:#102033!important;
  border:1px solid #cfdae4!important;
  box-shadow:0 28px 78px rgba(24,49,70,.23)!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-followup-modal-head,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-head{
  background:#f6fafd!important;
  border-bottom:1px solid #d9e5ed!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-followup-modal-head h2,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-head h2{
  color:#102033!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-eyebrow,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-eyebrow{
  color:#087a9a!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-followup-modal-body,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-body{
  background:#ffffff!important;color:#102033!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-followup-modal-x,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-x{
  background:#f1f6fa!important;color:#35536b!important;
  border:1px solid #c5d8e4!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-followup-modal-x:hover,
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-followup-modal-x:focus-visible,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-x:hover,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-x:focus-visible{
  background:#e0eef6!important;color:#174e6d!important;
  border-color:#65a9c8!important;outline:2px solid rgba(0,169,212,.2)!important;
}
/* Inclusions retain a legible single-column checklist and a clear quiet close. */
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-customer-includes-intro{
  color:#516b80!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-customer-includes-list{
  display:grid;grid-template-columns:minmax(0,1fr);gap:7px;list-style:none;margin:0;padding:0;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-customer-includes-list li{
  display:grid;grid-template-columns:22px minmax(0,1fr);gap:9px;
  padding:10px 12px;background:#f5f9fc!important;color:#17364c!important;
  border:1px solid #dce7ed!important;border-radius:11px;
  font-size:13px;line-height:1.5;overflow-wrap:anywhere;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-customer-includes-check{
  display:grid;place-items:center;width:20px;height:20px;
  border-radius:50%;background:#e1f7ed!important;color:#087b55!important;
  font-weight:850;
}
/* Subscription controls: same blue action treatment, red outline only for cancellation. */
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-subscription-actionline{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:12px;margin:0 0 12px;padding:14px 16px;
  border:1px solid #d9e6ee;border-radius:14px;background:#f5fafe;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-subscription-actionline p{
  margin:0;color:#344d63!important;line-height:1.5;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-control--compact{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:12px;margin:0 0 12px;padding:14px 16px;
  border:1px solid #e8c4c9;border-radius:14px;background:#fff9fa;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-compact-copy{
  display:grid;gap:4px;min-width:0;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-compact-copy strong{
  color:#6c2632!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-compact-copy span{
  color:#785460!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--secondary,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--ghost,
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-btn--secondary{
  color:#164c68!important;background:#e5f5fb!important;
  border:1px solid #87bed4!important;
  -webkit-text-fill-color:#164c68!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--secondary:hover,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--secondary:focus-visible,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--ghost:hover,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--ghost:focus-visible,
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-btn--secondary:hover,
.spp-customer-package-includes-modal[data-spp-detached-theme="light"] .spp-btn--secondary:focus-visible{
  color:#0f3d58!important;background:#cdeefa!important;border-color:#469cbb!important;
  -webkit-text-fill-color:#0f3d58!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--danger-text{
  color:#a52b3a!important;-webkit-text-fill-color:#a52b3a!important;
  background:#fff6f7!important;border:1px solid #cd7380!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--danger-text:hover,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn--danger-text:focus-visible{
  color:#872131!important;-webkit-text-fill-color:#872131!important;
  background:#ffe7eb!important;border-color:#b63d50!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-actions{
  background:#f9fcfe!important;border-top:1px solid #d9e5ed!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-actions .spp-btn{
  color:#164c68!important;-webkit-text-fill-color:#164c68!important;
  background:#eff6fa!important;border:1px solid #b3ccdb!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-actions .spp-btn:hover,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-followup-modal-actions .spp-btn:focus-visible{
  color:#123e57!important;-webkit-text-fill-color:#123e57!important;
  background:#e1edf4!important;border-color:#7ba9c4!important;
}
/* Respect all runtime-disabled states; legibility does not make a blocked action live. */
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-btn:disabled{
  opacity:.65!important;cursor:not-allowed!important;
}
/* Nested confirmation stays a separate protected dialog; its controls keep their
   existing confirmation and server-side permission / nonce checks. */
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-dialog{
  color:#102033!important;background:#fff!important;border-color:#cfdae4!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-schedule-modal .spp-followup-modal-head{
  background:#f6fafd!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-schedule-modal .spp-btn--danger{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:#b9354c!important;border-color:#a52a40!important;
}
/* Comparison: hide the redundant note only in this folder dialog via PHP option;
   trim white space without sacrificing readable text or mobile overflow. */
.spp-root--customer[data-spp-view="installation"] .spp-package-compare-modal .spp-followup-modal-dialog{
  width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 24px);
}
.spp-root--customer[data-spp-view="installation"] .spp-package-compare-modal .spp-followup-modal-body{
  padding:7px 12px 12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-package-compare-modal .spp-customer-package-compare-panel{
  gap:11px;padding:13px;
}
.spp-root--customer[data-spp-view="installation"] .spp-package-compare-modal .spp-package-compare-v1__card{
  gap:7px;padding:14px 15px;
}
.spp-root--customer[data-spp-view="installation"] .spp-package-compare-modal .spp-package-compare-v1__card ul{
  gap:6px;
}
@media(max-width:760px){
  .spp-customer-subscription-manage-modal[data-spp-detached-theme="light"] .spp-customer-cancellation-control--compact{align-items:flex-start;}
  .spp-root--customer[data-spp-view="installation"] .spp-package-compare-modal .spp-customer-package-compare-panel{padding:12px;}
}

/* 3.6.611 — Detached subscription modals keep responsive structure in BOTH themes. */
.spp-customer-package-includes-modal[data-spp-detached-theme] .spp-followup-modal-dialog{
  width:min(670px,calc(100vw - 32px));max-height:calc(100dvh - 36px);
  display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme] .spp-followup-modal-dialog{
  width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 36px);
  display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;
}
.spp-customer-package-includes-modal[data-spp-detached-theme] .spp-followup-modal-body,
.spp-customer-subscription-manage-modal[data-spp-detached-theme] .spp-followup-modal-body{
  min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;
}
.spp-customer-package-includes-modal[data-spp-detached-theme] .spp-customer-includes-footer{
  display:flex;justify-content:flex-end;margin-top:14px;
}
.spp-customer-package-includes-modal[data-spp-detached-theme] .spp-customer-includes-list{
  display:grid;grid-template-columns:minmax(0,1fr);gap:8px;
  margin:0;padding:0;list-style:none;
}
.spp-customer-package-includes-modal[data-spp-detached-theme] .spp-customer-includes-list li{
  display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;
  gap:9px;margin:0;padding:11px 12px;border:1px solid var(--spp-line);
  border-radius:10px;background:var(--spp-field);color:var(--spp-text);
  font-size:12px;line-height:1.5;overflow-wrap:anywhere;
}
.spp-customer-package-includes-modal[data-spp-detached-theme] .spp-customer-includes-check{
  display:grid;place-items:center;width:20px;height:20px;
  border-radius:50%;background:rgba(16,185,129,.13);
  color:#0ca46c;font-size:13px;font-weight:900;
}
/* Dark mode deliberately remains dark; the detached Light Mode fix must not
   force a light subscription dialog on users who select Dark Mode. */
.spp-customer-package-includes-modal[data-spp-detached-theme="dark"] .spp-followup-modal-dialog,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-followup-modal-dialog{
  background:#0d182a!important;color:#e7f0fc!important;
  border:1px solid #324358!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head{
  background:#111f33!important;border-color:#324358!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head h2,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head h2,
.spp-customer-package-includes-modal[data-spp-detached-theme="dark"] .spp-followup-modal-body,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-followup-modal-body,
.spp-customer-package-includes-modal[data-spp-detached-theme="dark"] .spp-followup-modal-body p,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-followup-modal-body p{
  color:#e7f0fc!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="dark"] .spp-customer-includes-list li{
  background:#132338!important;color:#e7f0fc!important;border-color:#324358!important;
}
.spp-customer-package-includes-modal[data-spp-detached-theme="dark"] .spp-customer-includes-intro{
  color:#bbcadc!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-customer-subscription-actionline,
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-customer-cancellation-control--compact{
  background:#132238!important;border:1px solid #33465c!important;
  border-radius:12px;padding:13px 15px;margin:0 0 12px;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-customer-cancellation-control--compact{
  border-color:#7b4251!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-customer-cancellation-compact-copy strong{
  color:#ffd7df!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-customer-cancellation-compact-copy span{
  color:#b6c6d9!important;
}
.spp-customer-subscription-manage-modal[data-spp-detached-theme="dark"] .spp-followup-modal-actions{
  border-color:#324358!important;background:#101e31!important;
}


/* 3.6.612 — Customer folder: common inner panel shell + compact profile heading.
   Presentation only: the existing six tab panels and their behavior stay intact. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content{
  display:grid;
  gap:14px;
  min-width:0;
  padding:15px;
  border:1px solid color-mix(in srgb,var(--spp-line) 94%,transparent);
  border-radius:18px;
  background:color-mix(in srgb,var(--spp-field) 28%,var(--spp-panel));
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-content{
  background:rgba(245,249,252,.76);
  border-color:rgba(34,65,91,.15);
}
/* Navigation and panels must share this immediate parent: the existing tab
   controller selects direct sibling panels from nav.parentElement. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content>.spp-installation-folder-tabs{justify-self:start;max-width:100%;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content>.spp-customer-installation-folder-panel{min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile--split>.spp-installation-operational-profile__head{
  margin-bottom:11px;
  padding:0 1px;
  align-items:center;
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile__compact-title{
  margin:0 0 3px;
  font-size:15px;
  font-weight:750;
  line-height:1.3;
  color:var(--spp-text);
}
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile--split>.spp-installation-operational-profile__head .spp-sub{
  margin:0;
  font-size:11.5px;
  line-height:1.5;
  color:var(--spp-muted);
}
@media(max-width:800px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content{padding:11px;border-radius:15px;}
}
@media(max-width:520px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content{padding:8px;border-radius:12px;}
}


/* 3.6.614 — Customer installation folder: stable tab-workspace height.
   Desktop scrolls inside only the active panel, while the navigation remains
   outside the scrollport. Mobile retains the natural document scroll. */
@media (min-width: 841px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content {
    height: clamp(500px, 62dvh, 615px);
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    overflow: hidden;
  }
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content > .spp-installation-folder-tabs {
    align-self: start;
  }
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content > .spp-customer-installation-folder-panel:not([hidden]) {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    overscroll-behavior-y: contain;
    padding: 1px 7px 3px 1px;
    align-content: start;
  }
}
@media (max-width: 840px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content {
    height: auto;
    overflow: visible;
    display: grid;
    grid-template-rows: auto auto;
  }
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content > .spp-customer-installation-folder-panel {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}
/* Profile fields: one horizontal card, no duplicated headings or microcopy. */
.spp-root--customer[data-spp-view="installation"] .spp-installation-operational-profile--unified {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-profile-card {
  padding: 17px 18px;
  margin: 0;
  min-width: 0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-profile-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-profile-card__head h2 {
  margin: 0 0 4px;
  color: var(--spp-text);
  font-size: 19px;
  line-height: 1.3;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-profile-card__head > div > span {
  font-size: 11px;
  line-height: 1.35;
  color: var(--spp-muted);
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-profile-required {
  color: #cf334d;
  -webkit-text-fill-color: #cf334d;
  font-weight: 850;
  font-style: normal;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields.spp-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px 12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields > label {
  min-width: 0;
  gap: 5px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields > label > span {
  color: var(--spp-text);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: 0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields input:not([type="hidden"]),
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields select {
  min-height: 41px;
  max-width: 100%;
  border-radius: 10px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields .spp-profile-notes-launch {
  min-width: 0;
  display: flex;
  align-items: end;
  padding-bottom: 1px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields .spp-profile-notes-launch > button {
  width: 100%;
  min-height: 41px;
  justify-content: center;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-profile-card .spp-installation-operational-profile__footer {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--spp-line);
}
@media (max-width: 1150px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields.spp-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields.spp-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-profile-card {padding: 13px;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-profile-card__head {align-items: flex-start;flex-wrap: wrap;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-installation-operational-profile .spp-customer-installation-profile-fields.spp-form-grid {grid-template-columns: 1fr;}
}


/* 3.6.615 — One Managed Backup customer card; no change to backup or consent runtimes. */
.spp-root--customer .spp-mb615-unified-card{display:flex;flex-direction:column;gap:12px}
.spp-root--customer .spp-mb615-unified-card .spp-mb328-folder-head{margin-bottom:0}
.spp-root--customer .spp-mb615-unified-card .spp-mb615-glance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.spp-root--customer .spp-mb615-glance>div{min-width:0;display:flex;flex-direction:column;gap:5px;padding:12px 14px;border:1px solid var(--spp-line);border-radius:12px;background:var(--spp-surface,rgba(120,134,151,.04))}
.spp-root--customer .spp-mb615-glance span{font-size:12px;color:var(--spp-muted)}
.spp-root--customer .spp-mb615-glance strong{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.spp-root--customer .spp-mb615-glance small{font-size:12px;line-height:1.45;color:var(--spp-muted)}
.spp-root--customer .spp-mb615-unified-card>[data-spp-customer-detail-open]{align-self:flex-start;margin-top:auto}
.spp-customer-light-modal .spp-mb615-consent-inline{margin-top:18px;padding-top:16px;border-top:1px solid var(--spp-line)}
.spp-customer-light-modal .spp-mb615-consent-inline>h3{font-size:17px;font-weight:750;margin:0 0 12px}
.spp-customer-light-modal .spp-mb615-consent-inline .spp-settings-compact-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0 16px}
.spp-customer-light-modal .spp-mb615-consent-inline .spp-settings-compact-summary>div{min-width:0}
.spp-customer-light-modal .spp-mb615-danger-zone{border:1px solid rgba(192,57,64,.35);border-radius:12px;padding:15px;margin:16px 0;background:rgba(192,57,64,.035)}
.spp-customer-light-modal .spp-mb615-danger-zone .spp-technician-confirm{margin-bottom:12px}
.spp-customer-light-modal .spp-mb328-facts{margin-top:0}
@media(max-width:700px){.spp-root--customer .spp-mb615-glance{grid-template-columns:minmax(0,1fr)!important}.spp-customer-light-modal .spp-mb615-consent-inline .spp-settings-compact-summary{grid-template-columns:minmax(0,1fr)}}


/* 3.6.616 — Customer Managed Backup modal + status visual polish only.
   Detached customer dialogs are temporarily appended to document.body; all
   rules use the modal's own class and resolved theme, never a root ancestor. */
.spp-mb615-unified-card[data-spp-managed-backup-folder="customer"] .spp-mb328-state{
  border-width:1px;
  border-style:solid;
  font-weight:750;
}
.spp-mb615-unified-card[data-spp-managed-backup-folder="customer"] .spp-mb616-tone--success{
  color:#096748!important;background:#e1f7ed!important;border-color:#80d5ac!important;
}
.spp-mb615-unified-card[data-spp-managed-backup-folder="customer"] .spp-mb616-tone--warning{
  color:#8a5100!important;background:#fff0d1!important;border-color:#e8b86c!important;
}
.spp-mb615-unified-card[data-spp-managed-backup-folder="customer"] .spp-mb616-tone--danger{
  color:#a62b39!important;background:#ffebed!important;border-color:#de9ca4!important;
}
.spp-mb615-unified-card[data-spp-managed-backup-folder="customer"] .spp-mb616-tone--neutral{
  color:#45556a!important;background:#edf1f5!important;border-color:#c6d0db!important;
}
.spp-root--customer[data-spp-theme="dark"] .spp-mb615-unified-card .spp-mb616-tone--success{
  color:#a0f3ce!important;background:rgba(16,146,91,.16)!important;border-color:rgba(66,211,148,.4)!important;
}
.spp-root--customer[data-spp-theme="dark"] .spp-mb615-unified-card .spp-mb616-tone--warning{
  color:#ffdc93!important;background:rgba(210,137,21,.15)!important;border-color:rgba(232,171,59,.42)!important;
}
.spp-root--customer[data-spp-theme="dark"] .spp-mb615-unified-card .spp-mb616-tone--danger{
  color:#ffb3bb!important;background:rgba(192,57,70,.16)!important;border-color:rgba(255,110,122,.42)!important;
}
.spp-root--customer[data-spp-theme="dark"] .spp-mb615-unified-card .spp-mb616-tone--neutral{
  color:#cad5e2!important;background:rgba(145,165,190,.12)!important;border-color:rgba(180,198,216,.26)!important;
}
/* Wider desktop dialog; keep a bounded internal scroll area for short screens. */
.spp-mb616-detail-modal .spp-followup-modal-dialog{
  width:min(960px,calc(100vw - 36px));
  max-width:960px;
  max-height:calc(100dvh - 32px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:19px;
}
.spp-mb616-detail-modal .spp-followup-modal-head{
  flex:none;
  padding:15px 22px 13px;
}
.spp-mb616-detail-modal .spp-followup-modal-body{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:15px 22px 18px;
}
.spp-mb616-detail-modal .spp-mb328-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0;
}
.spp-mb616-detail-modal .spp-mb328-facts>div{padding:9px 11px;gap:3px;}
.spp-mb616-detail-modal .spp-mb328-facts strong{line-height:1.4;}
.spp-mb616-detail-modal .spp-mb615-consent-inline{margin-top:12px;padding-top:12px;}
.spp-mb616-detail-modal .spp-mb615-consent-inline>h3{margin:0 0 9px;}
.spp-mb616-detail-modal .spp-mb615-consent-inline .spp-settings-compact-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:8px 0 12px;
}
.spp-mb616-detail-modal .spp-mb615-consent-inline .spp-settings-compact-summary>div{
  min-width:0;
  padding:10px 12px;
  overflow-wrap:anywhere;
}
.spp-mb616-detail-modal .spp-notice{margin:10px 0;line-height:1.48;}
.spp-mb616-detail-modal .spp-mb615-danger-zone{margin:12px 0;padding:12px 15px;}
.spp-mb616-detail-modal .spp-mb615-danger-zone .spp-technician-confirm{margin-bottom:9px;}
.spp-mb616-detail-modal .spp-followup-modal-actions{
  position:sticky;
  bottom:-18px;
  z-index:2;
  margin:12px -22px -18px;
  padding:12px 22px;
  background:#f7fafc;
  border-top:1px solid #d5e1e9;
}
/* Neutral, always-readable close control; destructive action has a clear outline. */
.spp-mb616-detail-modal .spp-followup-modal-actions .spp-btn,
.spp-mb616-detail-modal .spp-followup-modal-x{
  color:#203f57!important;
  background:#f3f8fb!important;
  border:1px solid #9bb5c8!important;
  opacity:1;
}
.spp-mb616-detail-modal .spp-followup-modal-actions .spp-btn:hover:not(:disabled),
.spp-mb616-detail-modal .spp-followup-modal-x:hover{
  color:#123b55!important;
  background:#e1f1f8!important;
  border-color:#56a8c8!important;
}
.spp-mb616-detail-modal .spp-followup-modal-actions .spp-btn:focus-visible,
.spp-mb616-detail-modal .spp-followup-modal-x:focus-visible,
.spp-mb616-detail-modal .spp-mb615-danger-zone .spp-btn:focus-visible{
  outline:2px solid #239cce!important;
  outline-offset:2px;
}
.spp-mb616-detail-modal .spp-mb615-danger-zone .spp-btn{
  color:#a52a39!important;
  background:#fff8f8!important;
  border:1px solid #d87581!important;
  box-shadow:none;
}
.spp-mb616-detail-modal .spp-mb615-danger-zone .spp-btn:hover:not(:disabled){
  color:#8a1d2c!important;
  background:#ffe8eb!important;
  border-color:#be4b5c!important;
}
.spp-mb616-detail-modal .spp-mb615-danger-zone .spp-btn:disabled,
.spp-mb616-detail-modal .spp-followup-modal-actions .spp-btn:disabled{
  color:#5f6e7e!important;
  background:#e8edf2!important;
  border-color:#bac6d1!important;
  opacity:1;
  cursor:not-allowed;
}
/* Use the resolved theme even when the modal is outside the customer root. */
.spp-mb616-detail-modal[data-spp-detached-theme="light"] .spp-followup-modal-dialog{
  background:#fff!important;color:#102033!important;border:1px solid #cbdce8!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="light"] .spp-followup-modal-head{
  background:#f8fbfd!important;border-bottom:1px solid #dae5ed!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-dialog{
  background:#111c2d!important;color:#e8f1fa!important;border:1px solid #466079!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head{
  background:#19283b!important;border-bottom:1px solid #37516b!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head h2,
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-body,
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-body :is(p,strong,small,h3){color:#e8f1fa!important;}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-mb328-facts>div,
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-settings-compact-summary>div{
  background:#1a2a3d!important;border-color:#39526a!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-mb328-facts span,
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-settings-compact-summary span{color:#b9cbdc!important;}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-notice{
  background:#20344a!important;color:#e8f1fa!important;border-color:#44617b!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-mb615-danger-zone{
  background:rgba(196,72,83,.12)!important;border-color:#9f5361!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-mb615-danger-zone .spp-technician-confirm span{color:#f2d9de!important;}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-actions{
  background:#19283b!important;border-color:#3c536b!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-actions .spp-btn,
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-x{
  color:#e0edf8!important;background:#22354b!important;border-color:#67829a!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-actions .spp-btn:hover:not(:disabled),
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-followup-modal-x:hover{
  background:#2e4b64!important;border-color:#8db9d2!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-mb615-danger-zone .spp-btn:not(:disabled){
  color:#ffc0c8!important;background:#3d202d!important;border-color:#ca7781!important;
}
.spp-mb616-detail-modal[data-spp-detached-theme="dark"] .spp-mb615-danger-zone .spp-btn:hover:not(:disabled){
  background:#56303b!important;border-color:#ed98a5!important;
}
@media(max-width:850px){
  .spp-mb616-detail-modal .spp-mb328-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .spp-mb616-detail-modal .spp-mb615-consent-inline .spp-settings-compact-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  .spp-mb616-detail-modal{padding:10px;}
  .spp-mb616-detail-modal .spp-followup-modal-dialog{width:100%;max-height:calc(100dvh - 20px);}
  .spp-mb616-detail-modal .spp-followup-modal-head{padding:13px 15px;}
  .spp-mb616-detail-modal .spp-followup-modal-body{padding:12px 15px 16px;}
  .spp-mb616-detail-modal .spp-mb328-facts,
  .spp-mb616-detail-modal .spp-mb615-consent-inline .spp-settings-compact-summary{grid-template-columns:minmax(0,1fr);}
  .spp-mb616-detail-modal .spp-followup-modal-actions{margin:12px -15px -16px;padding:10px 15px;bottom:-16px;}
}


/* 3.6.617 — Customer Full Folder > Files: four balanced cards, detailed Initial Check on demand.
   No change to customer documents, report access controls, print/download or tab scroll. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  grid-auto-flow:row;
  gap:12px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-grid > .spp-aac-report-preview{
  grid-column:auto;
  margin:0;
  padding:16px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  box-shadow:none;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-grid > .spp-customer-installation-document-card{
  min-width:0;
}
.spp-root--customer[data-spp-view="installation"] .spp-aac-report-preview .spp-card-head{margin-bottom:2px;padding-bottom:9px;}
.spp-root--customer[data-spp-view="installation"] .spp-aac-report-preview h2{font-size:17px;}
.spp-root--customer[data-spp-view="installation"] .spp-aac-report-preview__note{
  margin:0;color:var(--spp-muted);font-size:12px;line-height:1.45;
}
.spp-root--customer[data-spp-view="installation"] .spp-aac-report-preview__actions{margin-top:auto;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-files-card .spp-placeholder-grid{gap:8px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-files-card .spp-placeholder-grid>div{padding:10px 12px;border-radius:11px;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-files-card .spp-placeholder-grid span{font-size:11px;line-height:1.4;margin:5px 0 8px;}
/* The shared customer detail-modal controller attaches this dialog to body on opening. */
.spp-aac-report-modal .spp-followup-modal-dialog{
  width:min(960px,calc(100vw - 32px));max-width:960px;
  max-height:calc(100dvh - 32px);
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  background:#fff;color:#102033;
}
.spp-aac-report-modal .spp-followup-modal-body{
  min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;
  color:#102033;
}
.spp-aac-report-modal .spp-aac-sheet{color:inherit;}
.spp-aac-report-modal .spp-aac-sheet h1{display:none;}
.spp-aac-report-modal .spp-aac-sheet h2{font-size:16px;}
.spp-aac-report-modal .spp-aac-sheet li{background:#f2f6fa;border-color:#d4dfea;color:#102033!important;}
.spp-aac-report-modal[data-spp-detached-theme="light"] .spp-followup-modal-dialog,
.spp-aac-report-modal[data-spp-detached-theme="light"] .spp-followup-modal-body{background:#fff;color:#102033;}
.spp-aac-report-modal[data-spp-detached-theme="light"] .spp-aac-sheet :is(h2,p,li){color:#102033!important;}
.spp-aac-report-modal[data-spp-detached-theme="dark"] .spp-followup-modal-dialog,
.spp-aac-report-modal[data-spp-detached-theme="dark"] .spp-followup-modal-body{background:#101e31;color:#e8f1fa;border-color:#33465a;}
.spp-aac-report-modal[data-spp-detached-theme="dark"] .spp-aac-sheet :is(h2,p,li){color:#e8f1fa!important;}
.spp-aac-report-modal[data-spp-detached-theme="dark"] .spp-aac-sheet li{background:#1c2d41;border-color:#3d5066;}
.spp-aac-report-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head,
.spp-aac-report-modal[data-spp-detached-theme="dark"] .spp-followup-modal-actions{border-color:#33465a;}
.spp-aac-report-modal[data-spp-detached-theme="dark"] .spp-followup-modal-head h2{color:#e8f1fa;}
@media (max-width:800px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-document-grid{grid-template-columns:1fr;}
  .spp-aac-report-modal .spp-followup-modal-dialog{width:100%;max-height:calc(100dvh - 16px);}
  .spp-aac-report-modal .spp-followup-modal-body{padding:14px;}
}

/* 3.6.618 — Customer Services: package rights and live technical services, 4+4 compact. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-panel[data-spp-installation-folder-panel="services"]{
  display:flex;flex-direction:column;gap:14px;align-items:stretch;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-group{min-width:0;display:flex;flex-direction:column;gap:9px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-group__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-group__heading h2{margin:0;color:var(--spp-text)!important;font-size:15px;line-height:1.3}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-group__heading p{margin:2px 0 0;color:var(--spp-muted);font-size:11px;line-height:1.4}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-group__heading .spp-btn{min-height:30px;padding:5px 10px;font-size:11px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-four,
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;width:100%;margin:0;align-items:stretch;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini{
  min-width:0;min-height:113px;border:1px solid var(--spp-line);border-radius:15px;
  padding:12px;background:var(--spp-panel);display:flex;flex-direction:column;align-items:flex-start;gap:5px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini h3{font-size:12px;line-height:1.35;margin:0;color:var(--spp-text)!important;font-weight:750}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini strong{font-size:14px;line-height:1.3;color:var(--spp-text);overflow-wrap:anywhere}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini small{font-size:10.5px;line-height:1.35;color:var(--spp-muted)}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini.is-ok{border-color:rgba(16,185,129,.5)}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini.is-warning{border-color:rgba(245,158,11,.5)}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini.is-info{border-color:rgba(14,165,233,.5)}
.spp-root--customer[data-spp-view="installation"] .spp-customer-service-group__empty{padding:12px;border:1px dashed var(--spp-line);border-radius:12px;color:var(--spp-muted);font-size:12px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four>.spp-card{margin:0;min-width:0;padding:13px;min-height:145px;box-shadow:none;display:flex;flex-direction:column;gap:9px;align-items:stretch}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-card-head{margin:0;display:flex;flex-wrap:wrap;align-items:flex-start;gap:5px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-card-head>div{min-width:0;flex:1 1 120px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-card-head h2{font-size:15px;line-height:1.25;margin:1px 0}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-card-head .spp-sub{font-size:10.5px;line-height:1.35;margin:3px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-customer-service-status-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-customer-service-status-card .spp-card-head{flex:0 0 auto}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-status-badge,
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-home-chip{font-size:10px;white-space:normal;text-align:center}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-customer-service-mini__status{font-size:11px;line-height:1.35;color:var(--spp-muted);margin-top:auto}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-customer-external-url-card>[data-spp-customer-detail-open],
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-mb615-unified-card>[data-spp-customer-detail-open]{align-self:flex-start;margin-top:auto;min-height:31px;padding:5px 10px;font-size:11px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-mb615-unified-card{gap:9px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-mb618-compact-fact{min-width:0;display:flex;flex-direction:column;gap:3px;font-size:11px;line-height:1.3}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-mb618-compact-fact span,
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-mb618-compact-fact small{color:var(--spp-muted);font-size:10px}
.spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four .spp-mb618-compact-fact strong{font-size:12px;overflow-wrap:anywhere}
@media(max-width:1100px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-service-four,
  .spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .spp-root--customer[data-spp-view="installation"] .spp-customer-service-four,
  .spp-root--customer[data-spp-view="installation"] .spp-customer-services-grid--four{grid-template-columns:minmax(0,1fr)}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-service-mini{min-height:0}
}


/* 3.6.623 — Customer Full Folder: compact header indicators, natural tab height.
   Existing data sources, roles, forms and the six-tab navigation remain unchanged. */
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head {
  display:grid;
  grid-template-columns:minmax(260px, 1fr) minmax(0, 1.25fr);
  align-items:start;
  gap:12px 20px;
  padding:2px 4px 4px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-heading-copy {min-width:0;}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-return {
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-top:11px;
  padding:2px 0;
  color:var(--spp-muted);
  font-size:11.5px;
  font-weight:750;
  line-height:1.35;
  text-decoration:none;
  text-underline-offset:3px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-return:hover,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-return:focus-visible {
  color:var(--spp-cyan);
  text-decoration:underline;
  outline-offset:3px;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-header-signals {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-content:start;
  align-self:center;
  gap:7px;
  width:100%;
  min-width:0;
  margin:4px 0 0;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-header-signals span,
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-header-signals button {
  min-height:29px;
  padding:6px 10px;
  font-size:10px;
  font-weight:750;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:center;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-header-signals .spp-customer-installation-health__signal-action.is-warning {
  color:#fcd34d;
  border-color:rgba(245,158,11,.34);
  background:rgba(245,158,11,.10);
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-header-signals .spp-customer-installation-health__signal-action.is-warning {
  color:#8a5200;
  border-color:#f1d394;
  background:#fff7e6;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-attention {
  width:max-content;max-width:100%;margin:8px 0 0;
  padding:6px 10px;border-radius:10px;border:1px solid var(--spp-line);
  font-size:11px;font-weight:750;line-height:1.35;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-attention.is-warning {
  border-color:rgba(245,158,11,.5);background:rgba(245,158,11,.09);color:#fcd34d;
}
.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-attention.is-danger {
  border-color:rgba(239,68,68,.5);background:rgba(239,68,68,.09);color:#fca5a5;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-attention.is-warning {color:#875000;background:#fff7e6;}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] .spp-customer-installation-folder-attention.is-danger {color:#b42318;background:#fff0f0;}
/* Undo only the 3.6.614 bounded content scroll. Let the folder grow to fit
   the tallest tab and leave scrolling to the page, not inner panels. */
@media (min-width:841px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content {
    height:auto;
    min-height:620px;
    grid-template-rows:auto auto;
    align-content:start;
    overflow:visible;
  }
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content > .spp-customer-installation-folder-panel:not([hidden]) {
    height:auto;
    min-height:0;
    max-height:none;
    overflow:visible;
    overscroll-behavior-y:auto;
    scrollbar-gutter:auto;
    padding:0;
  }
}
@media (max-width:980px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head {grid-template-columns:1fr;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-header-signals {justify-content:flex-start;align-self:start;margin:3px 0 0;}
}
@media (max-width:840px) {
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content {height:auto;min-height:0;overflow:visible;}
  .spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content > .spp-customer-installation-folder-panel:not([hidden]) {height:auto;max-height:none;overflow:visible;}
}

/* 3.6.624 — Read-only health dots for customer installation browser tabs.
   The active selection stays cyan; the small dot reports operational health. */
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab{
  display:inline-flex;align-items:center;gap:7px;max-width:190px;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab-name{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab-health{
  flex:0 0 8px;width:8px;height:8px;border-radius:50%;
  background:#94a3b8;box-shadow:0 0 0 2px color-mix(in srgb,#94a3b8 15%,transparent);
}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab--ok .spp-home-workspace__tab-health{background:var(--spp-ok);box-shadow:0 0 0 2px color-mix(in srgb,var(--spp-ok) 19%,transparent)}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab--warning .spp-home-workspace__tab-health{background:var(--spp-warn);box-shadow:0 0 0 2px color-mix(in srgb,var(--spp-warn) 22%,transparent)}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab--danger .spp-home-workspace__tab-health{background:#e45c62;box-shadow:0 0 0 2px rgba(228,92,98,.18)}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab--ok:not(.is-active){border-color:color-mix(in srgb,var(--spp-ok) 55%,var(--spp-line))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab--warning:not(.is-active){border-color:color-mix(in srgb,var(--spp-warn) 55%,var(--spp-line))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab--danger:not(.is-active){border-color:color-mix(in srgb,#e45c62 55%,var(--spp-line))}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-workspace__tab.is-active{border-color:color-mix(in srgb,var(--spp-cyan) 55%,var(--spp-line))}

/* 3.6.629 — Activation guide as one card; management facts visible again. */
.spp-root--admin #spp-nav404-panel-activation .spp-folder-nav600__activation{display:flex;flex-direction:column;gap:12px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433{grid-column:auto;grid-row:auto;min-width:0}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__workspace{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__intro{display:flex;align-items:center;justify-content:space-between;gap:12px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__intro h3{margin:2px 0 0;font-size:16px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__intro p{margin:4px 0 0;font-size:12px;line-height:1.45;color:var(--spp-muted)}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__stage{display:grid;gap:2px;min-width:0;padding:6px 7px;border:1px solid var(--spp-line);border-radius:10px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__stage small{color:var(--spp-muted);font-size:10px}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__stage strong{font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__stage--ok{border-color:color-mix(in srgb,var(--spp-ok) 55%,var(--spp-line))}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433__stage--warning{border-color:color-mix(in srgb,var(--spp-warn) 55%,var(--spp-line))}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__stages,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__facts,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__followup,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__caption,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__next-copy{display:none}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__workspace{flex-direction:row;align-items:center;justify-content:space-between}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__intro{flex:1;min-width:0}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-open .spp-mga433__facts,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-open .spp-mga433__followup,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-open .spp-mga433__caption,
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-open .spp-mga433__next-copy{display:none}
.spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-open .spp-mga433__next{justify-content:flex-end}
.spp-root--admin #spp-nav404-panel-activation .spp-folder-nav629__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.spp-root--admin #spp-nav404-panel-activation .spp-folder-nav629__grid>*{min-width:0;grid-column:auto}
.spp-root--admin #spp-nav404-panel-activation .spp-folder-nav629__grid .spp-card,
.spp-root--admin #spp-nav404-panel-activation .spp-folder-nav629__grid .spp-folder-door,
.spp-root--admin #spp-nav404-panel-activation .spp-folder-nav629__grid [data-sppp-chreal="secure-receiver-v1"]{height:100%;margin:0!important}
.spp-root--admin #spp-nav404-panel-activation .spp-banner-token>p{margin:8px 0;color:var(--spp-muted);font-size:12px;line-height:1.45}
.spp-root--admin #spp-nav404-panel-activation .spp-banner-token form{margin-top:8px}
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav629__manage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav629__manage>*{max-width:none;flex:none}
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav417__subscription-slot{grid-column:1 / -1;max-width:none;flex-basis:auto}
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav416__installation-slot>.spp-installation-management-workspace,
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav418__profile-slot>.spp-admin-installation-profile,
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav417__subscription-slot>.spp-installation-subscription-workspace{display:flex;flex-direction:column;align-items:stretch;height:100%}
.spp-root--admin #spp-nav404-panel-management .spp-installation-management-summary,
.spp-root--admin #spp-nav404-panel-management .spp-installation-subscription-summary,
.spp-root--admin #spp-nav404-panel-management .spp-admin-installation-profile__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:1 0 auto;margin:10px 0}
.spp-root--admin #spp-nav404-panel-management .spp-installation-subscription-change{grid-column:1 / -1}
.spp-root--admin #spp-nav404-panel-management .spp-sidebar-workspace-entry{margin-top:auto}
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav418__profile-slot .spp-admin-installation-profile__context,
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav418__profile-slot .spp-admin-installation-profile__guard,
.spp-root--admin #spp-nav404-panel-management .spp-folder-nav418__profile-slot .spp-sub{display:none}
@media(max-width:900px){
  .spp-root--admin #spp-nav404-panel-activation .spp-mga433__stages,
  .spp-root--admin #spp-nav404-panel-activation .spp-folder-nav629__grid,
  .spp-root--admin #spp-nav404-panel-management .spp-folder-nav629__manage{grid-template-columns:1fr}
  .spp-root--admin #spp-nav404-panel-activation .spp-mga433.is-complete .spp-mga433__workspace{flex-direction:column;align-items:stretch}
}

/* 3.6.630 — Entitlement services in two columns, with the address visible. */
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__plan{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__plan>div{padding:8px 10px}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__services{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__card{display:grid;gap:8px;align-content:start;height:100%}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__card h2{font-size:16px}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__facts>div:last-child:nth-child(odd){grid-column:1 / -1}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__card>p{margin:0;color:var(--spp-muted);font-size:12px;line-height:1.45}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__waiting{color:var(--spp-text);font-weight:650}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.spp-root--admin #spp-nav404-panel-entitlements .spp-prd-takes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.spp-root--admin #spp-nav404-panel-entitlements .spp-prd-take{margin:0}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav411__external-workspace .spp-installation-external-url-overview{display:grid;align-items:start;justify-content:stretch;gap:8px}
.spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav411__external-workspace .spp-sub{display:block;margin:0;color:var(--spp-muted);font-size:12px;line-height:1.45}
.spp-root--admin #spp-nav404-panel-entitlements .spp-external-url__address{margin:0;padding:8px 10px;border:1px solid var(--spp-line);border-radius:10px;overflow-wrap:anywhere;font-size:13px}
.spp-root--admin #spp-nav404-panel-entitlements .spp-external-url__address--empty{color:var(--spp-muted)}
.spp-root--admin #spp-nav404-panel-entitlements .spp-installation-external-url-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:800px){
  .spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__plan,
  .spp-root--admin #spp-nav404-panel-entitlements .spp-folder-nav630__services,
  .spp-root--admin #spp-nav404-panel-entitlements .spp-prd-takes{grid-template-columns:1fr}
}

/* 3.6.628 — Overview: two status groups and four cards. */
.spp-root--admin .spp-folder-nav628__statuses{display:grid;gap:12px;margin:0 0 14px}
.spp-root--admin .spp-folder-nav628__statuses[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav628__statuses>section{display:grid;gap:6px;min-width:0}
.spp-root--admin .spp-folder-nav628__statuses>section[hidden]{display:none!important}
.spp-root--admin .spp-folder-nav628__statuses h3{margin:0;font-size:12px;font-weight:650;letter-spacing:.02em;color:var(--spp-muted)}
.spp-root--admin .spp-folder-nav628__statuses [data-spp-folder-nav628-row]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.spp-root--admin .spp-folder-nav628__statuses .spp-folder-nav457__card{min-height:64px;padding:9px 11px;gap:8px;border-radius:13px;grid-template-columns:auto minmax(0,1fr);cursor:default}
.spp-root--admin .spp-folder-nav628__statuses .spp-folder-nav457__card:hover{transform:none}
.spp-root--admin .spp-folder-nav628__statuses .spp-kpi-icon{width:28px;height:28px;border-radius:9px;font-size:13px}
.spp-root--admin .spp-folder-nav628__statuses .spp-kpi-content small{margin:0 0 2px;font-size:10px;letter-spacing:.04em}
.spp-root--admin .spp-folder-nav628__statuses .spp-kpi-content strong{font-size:13px;line-height:1.25}
.spp-root--admin .spp-folder-nav628__cards{align-items:stretch}
.spp-root--admin .spp-folder-nav628__live{min-width:0}
.spp-root--admin .spp-folder-nav628__live>.spp-installation-live-summary{height:100%;margin:0}
.spp-root--admin .spp-folder-nav628__live .spp-contact-watch{display:flex;align-items:center;justify-content:space-between;gap:8px}
.spp-root--admin .spp-folder-nav628__live .spp-contact-watch p{margin:0;font-size:12px}
.spp-root--admin .spp-folder-nav628__live .spp-contact-watch .spp-btn{flex:0 0 auto;min-height:32px;padding:4px 10px;font-size:12px}
.spp-root--admin .spp-folder-nav628__activity-card{margin:0}
.spp-root--admin .spp-folder-nav628__activity-card .spp-folder-nav602__activity{margin-top:0}
@media(max-width:1100px){
  .spp-root--admin .spp-folder-nav628__statuses [data-spp-folder-nav628-row]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .spp-root--admin .spp-folder-nav628__statuses [data-spp-folder-nav628-row]{grid-template-columns:1fr}
}

/* ==========================================================================
   Smart Pro Portal 3.6.631 — Customer Full Folder / Summary responsive polish
   Presentation-only; ported from 3.6.626 summary-refresh onto 3.6.630.
   Scope: customer installation view. The outer "Η εγκατάστασή μου" shell,
   existing six-tab navigation, natural page scroll, status semantics, and
   the current four quick-action priorities are intentionally preserved.
   This is a self-contained removable override block; no data or actions.
   ========================================================================== */
.spp-root--customer[data-spp-view="installation"] {
  --sr631-gap: 12px;
  --sr631-pad: 18px;
  --sr631-card-radius: 18px;
  --sr631-tile-radius: 12px;
  --sr631-surface: #101d32;
  --sr631-tile: #16263c;
  --sr631-line: #34465a;
  --sr631-eyebrow: #70e1ff;
  --sr631-ok: #38d9a1;
  --sr631-info: #54bdf8;
  --sr631-warn: #fbbf24;
  --sr631-danger: #fb7185;
  --sr631-neutral: #8292a8;
}
.spp-root--customer[data-spp-theme="light"][data-spp-view="installation"] {
  --sr631-surface: #ffffff;
  --sr631-tile: #f2f7fb;
  --sr631-line: #d5e0ea;
  --sr631-eyebrow: #006b8b;
  --sr631-ok: #087b59;
  --sr631-info: #0369a1;
  --sr631-warn: #995600;
  --sr631-danger: #b42318;
  --sr631-neutral: #617489;
}

/* The tab navigation and content stay inside the existing "Η εγκατάστασή μου"
   perimeter. Remove only the redundant nested panel border. Important: the
   620px minimum and natural scroll from the newer customer-folder patch remain. */
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-content {
  grid-template-columns: minmax(0, 1fr); /* fixes the 768px min-content overflow */
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-my-space {
  gap: 14px;
}

/* Package rights and six KPIs: compact connected tiles, with individual
   authoritative tone on each item (not a single all-green group). */
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis {
  display: grid;
  gap: 1px;
  background: var(--sr631-line);
  border: 1px solid var(--sr631-line);
  border-radius: 15px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  box-shadow: none;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3px;
  background: var(--sr631-surface);
  background-image: none;
  border: 0;
  border-radius: 0;
  padding: 13px 14px;
  box-shadow: inset 3px 0 0 var(--sr631-neutral);
}
/* Preserve meaning in both modes and in all warning/error states. */
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-ok,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-ok { box-shadow: inset 3px 0 0 var(--sr631-ok); }
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-info,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-info { box-shadow: inset 3px 0 0 var(--sr631-info); }
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-warning,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-warning { box-shadow: inset 3px 0 0 var(--sr631-warn); }
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-danger,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-danger { box-shadow: inset 3px 0 0 var(--sr631-danger); }
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article > span,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article > span {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--spp-muted);
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article > span::before,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article > span::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--sr631-neutral);
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-ok > span::before,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-ok > span::before {background:var(--sr631-ok)}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-info > span::before,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-info > span::before {background:var(--sr631-info)}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-warning > span::before,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-warning > span::before {background:var(--sr631-warn)}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article.is-danger > span::before,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article.is-danger > span::before {background:var(--sr631-danger)}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article > strong {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article > strong {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article > small,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article > small {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--spp-muted);
}

/* Summary cards and the first-pairing section. No action, modal, tab or
   permission controls are changed. */
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout {
  gap: 14px;
  align-items: start;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout > .spp-customer-installation-connection-card {
  height: auto;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout .spp-card {
  background: var(--sr631-surface);
  background-image: none;
  border: 1px solid var(--sr631-line);
  border-radius: var(--sr631-card-radius) !important;
  padding: var(--sr631-pad);
  box-shadow: none;
  gap: var(--sr631-gap);
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout .spp-card-head {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
  margin: 0;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout .spp-card-head h2 {
  font-size: 17px;
  line-height: 1.3;
  margin: 2px 0 0;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout .spp-eyebrow,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-head .spp-eyebrow {
  font-size: 11.5px;
  color: var(--sr631-eyebrow) !important;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout .spp-sub {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout .spp-customer-managed-activation-card > p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts {gap:10px}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts > div,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box {
  background: var(--sr631-tile);
  border: 1px solid var(--sr631-line);
  border-radius: var(--sr631-tile-radius);
  padding: 11px 13px;
  box-shadow: none;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts > div > span {
  display: block;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--spp-muted);
  margin-bottom: 2px;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-overview-facts > div > strong {
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box__copy strong {font-size:13px}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box__copy span {font-size:12px;line-height:1.45}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-aac-customer--compact {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-aac-customer--compact .spp-card-head {flex:1 1 230px}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-aac-customer__foot {margin-top:0}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-managed-activation-card {align-items:flex-start}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-managed-activation-card > .spp-card-head {width:100%}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-managed-activation-card:has(.spp-status-badge--warning) {
  border-color: var(--sr631-warn) !important;
  box-shadow: inset 3px 0 0 var(--sr631-warn);
}

/* Keep the four existing quick-action buttons equally important, as in 3.6.630.
   Normalize only space/size; do not select a primary button by child index. */
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-hub-actions {gap:8px}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-hub-actions .spp-btn {
  min-height:40px;
  padding:8px 14px;
  font-size:13px;
  border-radius:10px;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-pairing-box .spp-btn {
  min-height:40px;
  font-size:13px;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-header-signals span,
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-header-signals button {
  font-size:12px;
  padding:6px 11px;
}
.spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-workspace .spp-status-badge {font-size:12px}

/* Breakpoints: no sideways card overflow at 768px, two-column package rights
   and health tiles on phones, horizontal tab scrolling left to the base CSS. */
@media (max-width: 1180px) {
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 900px) {
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 800px) {
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-summary-layout {
    grid-template-columns:minmax(0,1fr);
  }
}
@media (max-width: 520px) {
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article,
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article {padding:12px 11px}
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-rights article > strong,
  .spp-root--customer.spp-root--customer[data-spp-view="installation"] .spp-customer-installation-folder-kpis article > strong {font-size:14px}
}
/* End Smart Pro Portal 3.6.631 customer summary refresh. */


/* ==== Smart Pro Portal 3.6.632 — Admin folder visual redesign (Claude preview adaptation).
   Note: drawers intentionally disabled; modal centering preserved.
   Dynamic history expansion controlled only in Admin history tab. ==== */
/* ==========================================================================
   Smart Pro Portal · Admin · Πλήρης φάκελος εγκατάστασης
   ΒΗΜΑ 1 — Διορθώσεις λαθών αναγνωσιμότητας (μόνο CSS)
   Κάθε κανόνας είναι scoped στο Admin Portal (.spp-root--admin).
   Δεν αλλάζει markup, PHP ή JavaScript. Για επαναφορά: διαγράφεται όλο το μπλοκ.
   ========================================================================== */

/* F1 · Dark mode — σύνδεσμοι χωρίς κλάση (π.χ. κωδικοί αιτημάτων SP-xxxxx στο
   Ιστορικό, «Άνοιγμα λογαριασμού» στην Επισκόπηση). Έπαιρναν το μπλε του
   θέματος του WordPress (#046bd2, ~3,5:1 στο σκούρο φόντο). */
.spp-root--admin[data-spp-theme="dark"] .spp-folder-nav404__panel a:not([class]) {
  color: var(--spp-cyan);
}
.spp-root--admin[data-spp-theme="dark"] .spp-folder-nav404__panel a:not([class]):hover,
.spp-root--admin[data-spp-theme="dark"] .spp-folder-nav404__panel a:not([class]):focus-visible {
  color: #a5f3fc;
}

/* F2 · Και στα δύο θέματα — υπο-επικεφαλίδες «Προγραμματισμένα / Ολοκληρωμένα /
   Ακυρωμένα» στο Ιστορικό. Έπαιρναν το σκούρο γκρι του θέματος (#1e293b),
   σχεδόν αόρατο σε dark (1,27:1). */
.spp-root--admin .spp-folder-nav602__history h4 {
  color: var(--spp-text);
}

/* F3 · Και στα δύο θέματα — κάρτα «Ζωντανή κατάσταση» (Επισκόπηση): οι
   ετικέτες των 4 στενών tiles έσπαγαν στη μέση της λέξης
   («ΕΠΙΚΟΙΝΩΝΙ-Α», «ΥΠΟΣΤΗΡΙΞΗ-Σ»). Πεζά 12px, σπάσιμο μόνο ανάμεσα σε λέξεις. */
.spp-root--admin .spp-installation-live-summary .spp-installation-summary-grid > div > span {
  font-size: 12px !important;   /* υπάρχει κανόνας με var(--spp-install-type-meta) !important */
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: .2px;
  text-transform: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* F4 · Light mode — πλαίσιο «Η αρχική τη μετράει… Παύση παρακολούθησης».
   Είχε σκούρο διαφανές φόντο για dark, που σε light έβγαινε βαριά γκρι. */
.spp-root--admin[data-spp-theme="light"] .spp-contact-watch {
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .14);
  color: var(--spp-text);
}

/* F5 · Light mode — τελίτσες κατάστασης στα chips της Επισκόπησης.
   Είχαν παστέλ χρώματα φτιαγμένα για σκούρο φόντο (αντίθεση ~1,2:1). Τα !important χρειάζονται γιατί οι παλιοί κανόνες
   .spp-kpi-card--<τόνος> .spp-kpi-icon τα έχουν ήδη. */
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav457__card .spp-kpi-icon {
  color: #475569 !important;
  background: rgba(71, 85, 105, .12) !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav457__card.spp-kpi-card--success .spp-kpi-icon {
  color: #07835f !important;
  background: rgba(7, 131, 95, .12) !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav457__card.spp-kpi-card--warning .spp-kpi-icon {
  color: #a85f00 !important;
  background: rgba(168, 95, 0, .13) !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav457__card.spp-kpi-card--danger .spp-kpi-icon {
  color: #b42318 !important;
  background: rgba(180, 35, 24, .11) !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav457__card.spp-kpi-card--info .spp-kpi-icon {
  color: #0369a1 !important;
  background: rgba(3, 105, 161, .11) !important;
}
/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 2 — Ενιαία εμφάνιση αναδυόμενων παραθύρων
   Μόνο CSS. Δεν αλλάζει markup/PHP/JS, ούτε θέση ή πλάτος των παραθύρων.
   Για επαναφορά: διαγράφεται όλο το μπλοκ.
   ========================================================================== */
.spp-root--admin {
  --spp-mdl-bg: #0c1424;
  --spp-mdl-head-bg: rgba(255,255,255,.03);
  --spp-mdl-border: rgba(148,163,184,.22);
  --spp-mdl-line: rgba(148,163,184,.16);
  --spp-mdl-shadow: 0 30px 90px rgba(0,0,0,.55);
  --spp-mdl-x-bg: rgba(255,255,255,.05);
  --spp-mdl-x-border: rgba(148,163,184,.28);
  --spp-mdl-x-color: #e2e8f0;
}
.spp-root--admin[data-spp-theme="light"] {
  --spp-mdl-bg: #ffffff;
  --spp-mdl-head-bg: #f8fafc;
  --spp-mdl-border: rgba(15,23,42,.16);
  --spp-mdl-line: rgba(15,23,42,.10);
  --spp-mdl-shadow: 0 30px 80px rgba(15,23,42,.28);
  --spp-mdl-x-bg: rgba(15,23,42,.05);
  --spp-mdl-x-border: rgba(15,23,42,.20);
  --spp-mdl-x-color: #0f172a;
}

/* M1 · Ίδιο κέλυφος: φόντο, γωνία, περίγραμμα, σκιά */
.spp-root--admin .spp-mga433__dialog,
.spp-root--admin .spp-folder-door__dialog,
.spp-root--admin .spp-followup-modal-dialog,
.spp-root--admin .spp-mb345-dialog,
.spp-root--admin .spp-installation-tech-panel,
.spp-root--admin .spp-focused-workspace__panel {
  background: var(--spp-mdl-bg) !important;
  border: 1px solid var(--spp-mdl-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--spp-mdl-shadow) !important;
}

/* M2 · Ίδια κεφαλίδα: υπόβαθρο, διαχωριστική γραμμή, τίτλος 20px */
.spp-root--admin .spp-mga433__header,
.spp-root--admin .spp-folder-door__head,
.spp-root--admin .spp-followup-modal-head,
.spp-root--admin .spp-mb345-dialog-head,
.spp-root--admin .spp-installation-tech-header,
.spp-root--admin .spp-focused-workspace__header {
  background: var(--spp-mdl-head-bg) !important;
  border-bottom: 1px solid var(--spp-mdl-line) !important;
}
.spp-root--admin .spp-mga433__header :is(h2,h3),
.spp-root--admin .spp-folder-door__head :is(h2,h3),
.spp-root--admin .spp-followup-modal-head :is(h2,h3),
.spp-root--admin .spp-mb345-dialog-head :is(h2,h3),
.spp-root--admin .spp-installation-tech-header :is(h2,h3),
.spp-root--admin .spp-focused-workspace__header :is(h2,h3) {
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: var(--spp-text) !important;
}

/* M3 · Ίδιο κουμπί κλεισίματος × */
.spp-root--admin .spp-followup-modal-x,
.spp-root--admin .spp-mb345-close,
.spp-root--admin .spp-focused-workspace__floating-close,
.spp-root--admin .spp-mga447__close-visible {
  background: var(--spp-mdl-x-bg) !important;
  border: 1px solid var(--spp-mdl-x-border) !important;
  border-radius: 11px !important;
  color: var(--spp-mdl-x-color) !important;
}
.spp-root--admin .spp-followup-modal-x:hover,
.spp-root--admin .spp-mb345-close:hover,
.spp-root--admin .spp-focused-workspace__floating-close:hover,
.spp-root--admin .spp-mga447__close-visible:hover {
  border-color: var(--spp-cyan) !important;
}

/* M4 · Γραμμή ενεργειών κάτω: ίδιο υπόβαθρο και διαχωριστής */
.spp-root--admin .spp-followup-modal-actions,
.spp-root--admin .spp-mb345-dialog-foot {
  background: var(--spp-mdl-bg) !important;
  border-top: 1px solid var(--spp-mdl-line) !important;
}

/* M5 · Παράθυρο «Λειτουργικό προφίλ»: ετικέτες 10–11px/800 -> 12px/650,
   τιμές πεδίων βάρος 800 -> 600 (πιο ήρεμη, ευανάγνωστη φόρμα) */
.spp-root--admin .spp-admin-installation-profile-modal label,
.spp-root--admin .spp-admin-installation-profile-modal label > span,
.spp-root--admin .spp-admin-installation-profile-modal fieldset legend,
.spp-root--admin .spp-admin-installation-profile-modal small {
  font-size: 12px !important; font-weight: 650 !important; letter-spacing: .2px !important;
  text-transform: none !important; line-height: 1.35 !important;
}
.spp-root--admin .spp-admin-installation-profile-modal .spp-guided-profile-choice,
.spp-root--admin .spp-admin-installation-profile-modal .spp-guided-profile-choice span {
  font-size: 13px !important; font-weight: 600 !important;
}
.spp-root--admin .spp-admin-installation-profile-modal :is(input, select, textarea) { font-weight: 600 !important; }
/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 3 — Διάταξη καρτέλας «Αντίγραφα & αρχεία»
   Μόνο CSS (grid). Δεν αλλάζει markup/PHP/JS. Επαναφορά: διαγραφή του μπλοκ.
   ========================================================================== */

/* L1 · Ζώνες πίνακα σε 12 στήλες: «Υπηρεσία» (4) δίπλα στο «Κατάσταση σήμερα» (8),
   «Ιστορικό κύκλων» σε όλο το πλάτος. Ύψος ζωνών 506px -> 319px. */
.spp-root--admin .spp-mb604-board {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 24px;
  align-items: stretch;
}
.spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(1) { grid-column: span 4; display: flex; flex-direction: column; }
.spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(1) > .spp-mb604-signals { flex: 1; grid-template-columns: 1fr; }
.spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(1) .spp-mb604-signal { height: 100%; }
.spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(2) { grid-column: span 8; }
.spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(2) > .spp-mb604-signals { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(n+3) { grid-column: 1 / -1; }
@media (max-width: 1000px) {
  .spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(1),
  .spp-root--admin .spp-mb604-board > .spp-mb604-zone:nth-child(2) { grid-column: 1 / -1; }
}

/* L2 · Ιστορικό κύκλων: από 7 ξεχωριστά κουτιά σε ένα πλαίσιο με γραμμές */
.spp-root--admin .spp-mb604-history { gap: 0 !important; border: 1px solid rgba(148,163,184,.18); border-radius: 12px; overflow: hidden; }
.spp-root--admin .spp-mb604-history > .spp-mb604-cycle {
  border: 0 !important; border-radius: 0 !important;
  border-bottom: 1px solid rgba(148,163,184,.14) !important;
  background: transparent !important; padding-block: 12px;
}
.spp-root--admin .spp-mb604-history > .spp-mb604-cycle:nth-child(even) { background: rgba(255,255,255,.025) !important; }
.spp-root--admin .spp-mb604-history > .spp-mb604-cycle:last-child { border-bottom: 0 !important; }
/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 4 — Μενού καρτελών & Επισκόπηση
   Μόνο CSS. Δεν αλλάζει markup/PHP/JS. Επαναφορά: διαγραφή του μπλοκ.
   ========================================================================== */

/* N1 · Μενού καρτελών: μία σειρά (πριν 2 σειρές, 113px -> 55px), υπογράμμιση
   στην ενεργή καρτέλα αντί για κουτιά, ίδιο πλάτος-προσαρμογή στο κείμενο. */
.spp-root--admin .spp-folder-nav404__tabs {
  display: flex !important; flex-wrap: nowrap !important; gap: 2px !important; padding: 0 4px !important;
  background: transparent !important; border: 0 !important;
  border-bottom: 1px solid rgba(148,163,184,.2) !important; border-radius: 0 !important;
  overflow-x: auto; scrollbar-width: none;
}
.spp-root--admin .spp-folder-nav404__tab {
  flex: 1 1 0 !important; min-width: max-content; width: auto !important; height: auto !important; min-height: 0 !important;
  padding: 13px 8px 12px !important; background: transparent !important; border: 0 !important;
  border-bottom: 3px solid transparent !important; border-radius: 10px 10px 0 0 !important; box-shadow: none !important;
  font-size: 13px !important; font-weight: 650 !important; color: var(--spp-muted) !important;
  white-space: nowrap !important; margin-bottom: -1px; transition: color .15s, background .15s;
}
.spp-root--admin .spp-folder-nav404__tab:hover { background: rgba(148,163,184,.08) !important; color: var(--spp-text) !important; }
.spp-root--admin .spp-folder-nav404__tab.is-active,
.spp-root--admin .spp-folder-nav404__tab[aria-selected="true"] {
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.10)) !important;
  color: var(--spp-cyan) !important; border-bottom-color: var(--spp-cyan) !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__tab.is-active,
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__tab[aria-selected="true"] {
  color: #007c99 !important; border-bottom-color: #0891b2 !important;
  background: linear-gradient(180deg, transparent, rgba(8,145,178,.09)) !important;
}

/* O1 · Επισκόπηση: πεδία «Στοιχεία πελάτη» / «Στοιχεία εγκατάστασης» σε 2 στήλες
   (ύψος καρτών ~-40%), ετικέτες 12px, τιμές 14,5px. */
.spp-root--admin .spp-folder-nav601__facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 18px !important; }
.spp-root--admin .spp-folder-nav601__facts > * { min-width: 0; overflow-wrap: break-word; }
.spp-root--admin .spp-folder-nav601__facts > div > small { font-size: 12px !important; font-weight: 600 !important; color: var(--spp-muted) !important; display: block; margin-bottom: 3px; }
.spp-root--admin .spp-folder-nav601__facts > div > strong { font-size: 14.5px !important; font-weight: 650 !important; line-height: 1.3; }
@media (max-width: 640px) { .spp-root--admin .spp-folder-nav601__facts { grid-template-columns: 1fr !important; } }
/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 5 — Συρτάρια & ενιαίες κάρτες
   Μόνο CSS. Δεν αλλάζει markup/PHP/JS. Επαναφορά: διαγραφή του μπλοκ.
   ========================================================================== */

/* D1 omitted in 3.6.632 by design: admin dialogs remain CENTERED.
   Existing modal dimensions, overlays, scrolling and close controls are preserved.
   Visual shell/header consistency (Step 2) and card design (C1 onward) remain. */

/* C1 · Ενιαίο «υλικό» καρτών στον φάκελο: ελαφρύ διαβάθμισμα, λεπτό περίγραμμα,
   πλαϊνή λωρίδα cyan, μεγαλύτερος τίτλος, διαχωριστική γραμμή κάτω από την κεφαλίδα. */
.spp-root--admin[data-spp-theme="dark"] { --spp-card-a: rgba(255,255,255,.055); --spp-card-b: rgba(255,255,255,.015); --spp-card-line: rgba(148,163,184,.18); --spp-card-shadow: 0 18px 40px -22px rgba(0,0,0,.75); }
.spp-root--admin[data-spp-theme="light"] { --spp-card-a: #fff; --spp-card-b: #f8fafc; --spp-card-line: rgba(15,23,42,.12); --spp-card-shadow: 0 14px 34px -22px rgba(15,23,42,.35); }
.spp-root--admin .spp-folder-nav404__panel > * > .spp-card,
.spp-root--admin .spp-folder-nav404__panel .spp-folder-nav601__pair > .spp-card,
.spp-root--admin .spp-folder-nav404__panel .spp-folder-nav628__live > .spp-card {
  background: linear-gradient(180deg, var(--spp-card-a), var(--spp-card-b)) !important;
  border: 1px solid var(--spp-card-line) !important; border-left: 4px solid var(--spp-cyan) !important;
  border-radius: 18px !important; box-shadow: var(--spp-card-shadow) !important; padding: 24px 26px !important;
}
.spp-root--admin .spp-folder-nav404__panel .spp-card-head { border-bottom: 1px solid var(--spp-card-line); padding-bottom: 14px; margin-bottom: 16px; }
.spp-root--admin .spp-folder-nav404__panel .spp-card-head h2,
.spp-root--admin .spp-folder-nav404__panel .spp-card-head h3 { font-size: 19px !important; font-weight: 750 !important; letter-spacing: -.1px; }

/* C2 · Πλακίδια κατάστασης Επισκόπησης: χρωματισμένα ανά τόνο, ώστε η κατάσταση
   (ΟΚ / προσοχή / πρόβλημα / πληροφορία) να φαίνεται αμέσως. */
.spp-root--admin .spp-folder-nav457__card { min-height: 78px; border-radius: 16px !important; border-width: 1px !important; }
.spp-root--admin .spp-folder-nav457__card.spp-kpi-card--success { background: linear-gradient(135deg, rgba(16,185,129,.22), rgba(16,185,129,.05)) !important; border-color: rgba(16,185,129,.55) !important; }
.spp-root--admin .spp-folder-nav457__card.spp-kpi-card--warning { background: linear-gradient(135deg, rgba(245,158,11,.24), rgba(245,158,11,.05)) !important; border-color: rgba(245,158,11,.6) !important; }
.spp-root--admin .spp-folder-nav457__card.spp-kpi-card--danger  { background: linear-gradient(135deg, rgba(239,68,68,.24), rgba(239,68,68,.05)) !important; border-color: rgba(239,68,68,.6) !important; }
.spp-root--admin .spp-folder-nav457__card.spp-kpi-card--info    { background: linear-gradient(135deg, rgba(34,211,238,.20), rgba(34,211,238,.04)) !important; border-color: rgba(34,211,238,.5) !important; }
/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 6 — Ενιαίες κάρτες στις καρτέλες
   Ενεργοποίηση, Διαχείριση, Αντίγραφα. Μόνο CSS. Επαναφορά: διαγραφή μπλοκ.
   ========================================================================== */

/* T1 · Όλες οι κάρτες πρώτου επιπέδου στον φάκελο παίρνουν το ίδιο υλικό
   (πλαϊνή λωρίδα cyan). Οι εσωτερικές κάρτες δεν επηρεάζονται. */
.spp-root--admin .spp-folder-nav404__panel .spp-card:not(.spp-card .spp-card) {
  background: linear-gradient(180deg, var(--spp-card-a), var(--spp-card-b)) !important;
  border: 1px solid var(--spp-card-line) !important; border-left: 4px solid var(--spp-cyan) !important;
  border-radius: 18px !important; box-shadow: var(--spp-card-shadow) !important;
}

/* T2 · Αρχική ενεργοποίηση */
.spp-root--admin .spp-folder-nav629__activation > .spp-mga433 > .spp-mga433__workspace {
  background: linear-gradient(180deg, var(--spp-card-a), var(--spp-card-b)) !important;
  border: 1px solid var(--spp-card-line) !important; border-left: 4px solid var(--spp-cyan) !important;
  border-radius: 18px !important; box-shadow: var(--spp-card-shadow) !important;
}
.spp-root--admin .spp-folder-nav629__grid { align-items: stretch !important; gap: 20px !important; }
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-nav420__handoff-slot { display: flex; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-nav420__handoff-slot > .spp-card {
  flex: 1; display: flex !important; flex-direction: column; align-items: flex-start; justify-content: flex-start !important; gap: 12px; padding: 24px 26px !important;
}
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-nav420__handoff-slot > .spp-card > * { margin: 0 !important; flex: 0 0 auto !important; min-height: 0 !important; }
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-nav420__handoff-slot > .spp-card > strong:first-of-type { font-size: 19px; font-weight: 750; line-height: 1.25; }
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-nav420__handoff-slot > .spp-card > p:not(.spp-sub) { font-size: 13px; font-weight: 700; letter-spacing: .3px; color: var(--spp-muted); }
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-door { padding: 18px 22px !important; }
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-door .spp-folder-door__bar { flex-wrap: wrap; gap: 12px 16px; }
.spp-root--admin .spp-folder-nav629__grid > .spp-folder-door h2 { font-size: 17px !important; }

/* T3 · Διαχείριση: χωρίς κενά μέσα στις κάρτες (488->396px, 482->349px) */
.spp-root--admin .spp-folder-nav629__manage { gap: 20px !important; align-items: stretch; }
.spp-root--admin .spp-installation-management-workspace,
.spp-root--admin .spp-admin-installation-profile,
.spp-root--admin .spp-installation-subscription-workspace { justify-content: flex-start !important; gap: 18px !important; padding: 24px 26px !important; }
.spp-root--admin .spp-installation-management-workspace > *,
.spp-root--admin .spp-admin-installation-profile > *,
.spp-root--admin .spp-installation-subscription-workspace > * { margin-block: 0 !important; flex: 0 0 auto !important; min-height: 0 !important; }
.spp-root--admin .spp-installation-management-summary,
.spp-root--admin .spp-installation-subscription-summary { min-height: 0 !important; height: auto !important; }
.spp-root--admin .spp-folder-nav629__manage > [class*="-slot"] { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; display: flex; }
.spp-root--admin .spp-folder-nav629__manage > [class*="-slot"] > .spp-card { flex: 1; }

/* T4 · Αντίγραφα & αρχεία: ίδια στάθμη και ύψος στις δύο πάνω κάρτες, μικρότεροι τίτλοι ζωνών */
.spp-root--admin .spp-mb605-top { gap: 20px !important; align-items: stretch !important; }
.spp-root--admin .spp-mb605-top > .spp-folder-nav422__files-slot { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; display: flex; }
.spp-root--admin .spp-mb605-top > .spp-folder-nav422__files-slot > .spp-card,
.spp-root--admin .spp-mb605-top > .spp-aac-history { flex: 1; height: 100%; }
.spp-root--admin .spp-mb604-zone > h3 { font-size: 13px !important; letter-spacing: 1px !important; font-weight: 750 !important; color: var(--spp-muted) !important; text-transform: uppercase; }
/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 7 — Παροχές, Τεχνική εργασία, Ιστορικό
   Μόνο CSS. Επαναφορά: διαγραφή μπλοκ.
   ========================================================================== */

/* E1 · Παροχές & δικαιώματα: ετικέτα πάνω / τιμή κάτω (πριν κολλούσαν «ΔικαίωμαΜένουν 6») */
.spp-root--admin .spp-folder-nav630__facts { gap: 14px 18px !important; }
.spp-root--admin .spp-folder-nav630__facts > div { display: flex !important; flex-direction: column; gap: 3px; min-width: 0; }
.spp-root--admin .spp-folder-nav630__facts > div > small { font-size: 12px !important; font-weight: 600 !important; color: var(--spp-muted) !important; }
.spp-root--admin .spp-folder-nav630__facts > div > strong { font-size: 15px !important; font-weight: 650 !important; line-height: 1.3; }
.spp-root--admin .spp-folder-nav630__card { gap: 14px !important; }
.spp-root--admin .spp-folder-nav630__card > p { margin: 0 !important; font-size: 14px; line-height: 1.5; color: var(--spp-muted); }
.spp-root--admin .spp-folder-nav630__card > p.spp-folder-nav630__waiting { color: var(--spp-text); font-weight: 650; }
.spp-root--admin .spp-folder-nav630__services { gap: 20px !important; }

/* TX · Τεχνική εργασία: η λωρίδα «Προχωρημένα τεχνικά εργαλεία» γίνεται κάρτα */
.spp-root--admin .spp-folder-nav484__lab {
  background: linear-gradient(180deg, var(--spp-card-a), var(--spp-card-b)) !important;
  border: 1px solid var(--spp-card-line) !important; border-radius: 18px !important; box-shadow: var(--spp-card-shadow) !important;
  padding: 22px 26px !important; margin: 0 !important; display: grid; gap: 6px;
}
.spp-root--admin .spp-folder-nav404__panel .spp-folder-nav484__lab { border-left: 4px solid var(--spp-cyan) !important; }
.spp-root--admin .spp-folder-nav484__lab > strong { font-size: 19px !important; font-weight: 750 !important; line-height: 1.25; }
.spp-root--admin .spp-folder-nav484__lab > span { display: block; font-size: 14px !important; line-height: 1.5; color: var(--spp-muted) !important; }
.spp-root--admin .spp-folder-nav484__lab > div { margin-top: 10px; gap: 12px !important; }
.spp-root--admin .spp-folder-nav484__lab button { min-height: 46px; font-size: 14px; font-weight: 650; border-radius: 12px !important; }
.spp-root--admin .spp-folder-nav419__remote-slot, .spp-root--admin .spp-folder-nav413__technician-slot { margin: 0 !important; }
.spp-root--admin .spp-folder-nav404__panel[data-spp-folder-nav404-panel="technical"] { display: grid; gap: 20px; align-content: start; }

/* H1 · Ιστορικό & διάγνωση: οι 3 ενότητες γίνονται κάρτες και οι γραμμές πίνακας
   (κωδικός | κατάσταση · ημερομηνία | περιγραφή). Ύψος 2370 -> ~1980px. */
.spp-root--admin .spp-folder-nav602__history { gap: 20px !important; }
.spp-root--admin .spp-folder-nav602__history > section {
  background: linear-gradient(180deg, var(--spp-card-a), var(--spp-card-b)) !important;
  border: 1px solid var(--spp-card-line) !important; border-left: 4px solid var(--spp-cyan) !important;
  border-radius: 18px !important; box-shadow: var(--spp-card-shadow) !important; padding: 24px 26px !important;
}
.spp-root--admin .spp-folder-nav602__history > section > h3 { font-size: 19px !important; font-weight: 750 !important; margin: 0 0 14px !important; padding-bottom: 14px; border-bottom: 1px solid var(--spp-card-line); }
.spp-root--admin .spp-folder-nav602__history > section > h4 { font-size: 12px !important; letter-spacing: 1px; text-transform: uppercase; font-weight: 750 !important; margin: 18px 0 6px !important; }
.spp-root--admin .spp-folder-nav602__history ul { gap: 0 !important; padding: 0; margin: 0; list-style: none; }
.spp-root--admin .spp-folder-nav602__history li {
  display: grid !important; grid-template-columns: minmax(92px, .6fr) minmax(210px, 1.3fr) 3fr; column-gap: 20px; align-items: baseline;
  padding: 11px 8px !important; border-bottom: 1px solid var(--spp-card-line); border-radius: 8px;
}
.spp-root--admin .spp-folder-nav602__history li:last-child { border-bottom: 0; }
.spp-root--admin .spp-folder-nav602__history li:hover { background: rgba(148,163,184,.07); }
.spp-root--admin .spp-folder-nav602__history li > a { font-weight: 700; font-size: 14.5px; }
.spp-root--admin .spp-folder-nav602__history li > span { font-size: 14px; font-weight: 600; }
.spp-root--admin .spp-folder-nav602__history li > small { font-size: 13px !important; color: var(--spp-muted) !important; min-width: 0; }
.spp-root--admin .spp-folder-nav602__history li:has(> strong:first-child) { grid-template-columns: minmax(230px, 2fr) minmax(200px, 2fr) minmax(92px, .7fr); }
.spp-root--admin .spp-folder-nav602__history li > strong { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
@media (max-width: 900px) {
  .spp-root--admin .spp-folder-nav602__history li,
  .spp-root--admin .spp-folder-nav602__history li:has(> strong:first-child) { grid-template-columns: 1fr; row-gap: 2px; }
}
/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 8 — Ιστορικό & διάγνωση: διάταξη + «Εμφάνιση όλων»
   Αιτήματα σε όλο το πλάτος, Ραντεβού και Τεχνικές συνεδρίες δίπλα-δίπλα.
   Οι λίστες δείχνουν 5 γραμμές και ανοίγουν με κουμπί (το κουμπί το προσθέτει το
   portal.js· χωρίς JS οι λίστες φαίνονται ολόκληρες). Επαναφορά: διαγραφή μπλοκ.
   ========================================================================== */
.spp-root--admin .spp-folder-nav602__history { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px !important; align-items: start; }
.spp-root--admin .spp-folder-nav602__history > section:nth-child(1) { grid-column: 1 / -1; }
.spp-root--admin .spp-folder-nav602__history > section:nth-child(n+2) li { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) auto; column-gap: 14px; }
.spp-root--admin .spp-folder-nav602__history > section:nth-child(3) li { grid-template-columns: 84px minmax(0, .8fr) minmax(0, 1.6fr); }
@media (max-width: 1000px) {
  .spp-root--admin .spp-folder-nav602__history { grid-template-columns: 1fr; }
  .spp-root--admin .spp-folder-nav602__history > section { grid-column: 1 / -1; }
}
.spp-root--admin .spp-folder-nav602__history ul.spp-more-collapsed > li:nth-child(n+6) { display: none !important; }
.spp-root--admin .spp-more-btn {
  display: block; width: 100%; margin-top: 10px; padding: 10px 14px; cursor: pointer;
  background: transparent; color: var(--spp-cyan); font: inherit; font-size: 14px; font-weight: 650;
  border: 1px dashed var(--spp-card-line); border-radius: 12px; transition: background .15s, border-color .15s;
}
.spp-root--admin .spp-more-btn:hover, .spp-root--admin .spp-more-btn:focus-visible { background: rgba(34,211,238,.08); border-color: var(--spp-cyan); }
.spp-root--admin[data-spp-theme="light"] .spp-more-btn { color: #007c99; }

/* Ραντεβού: τίτλος + ημερομηνία σε δύο σειρές, ο κωδικός δεξιά */
.spp-root--admin .spp-folder-nav602__history > section:nth-child(2) li { grid-template-columns: minmax(0, 1fr) auto !important; row-gap: 2px; align-items: center; }
.spp-root--admin .spp-folder-nav602__history > section:nth-child(2) li > strong { grid-column: 1; }
.spp-root--admin .spp-folder-nav602__history > section:nth-child(2) li > span { grid-column: 1; grid-row: 2; font-weight: 500; color: var(--spp-muted); }
.spp-root--admin .spp-folder-nav602__history > section:nth-child(2) li > a { grid-column: 2; grid-row: 1 / span 2; }
/* Στενές οθόνες: μία στήλη στις γραμμές των λιστών δεξιά-δεξιά */
@media (max-width: 1000px) {
  .spp-root--admin .spp-folder-nav602__history > section:nth-child(n+2):not(:nth-child(2)) li { grid-template-columns: 1fr; row-gap: 2px; }
}

/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 9 — Παράθυρα Αντιγράφων (mb345), κεντραρισμένα
   Ένα κουμπί × στη σωστή θέση πάνω δεξιά, το περιττό πάνω «Κλείσιμο» κρύβεται
   (παραμένει το × και το «Κλείσιμο» κάτω). Μόνο CSS. Επαναφορά: διαγραφή μπλοκ.
   ========================================================================== */
.spp-root--admin .spp-mb345-dialog-head { display: flex !important; align-items: flex-start !important; justify-content: space-between; gap: 16px; padding: 20px 24px 16px !important; }
.spp-root--admin .spp-mb345-dialog-head > div:first-child { flex: 1; min-width: 0; }
/* SAFE 3.6.633: keep all existing functional close controls visible.
   The 3.6.632 runtime injects a real [data-spp-mb605-close] button (not .spp-mb345-close).
   Do not hide it as the proposed visual-only stylesheet did. */
.spp-root--admin .spp-mb345-dialog-head > .spp-btn[data-spp-mb605-close] {
  flex: 0 0 auto;
  align-self: flex-start;
  margin: 0 !important;
  min-height: 38px;
}
.spp-root--admin .spp-mb345-dialog-head > .spp-mb345-close {
  position: static !important; flex: 0 0 auto; order: 2; width: 38px !important; height: 38px !important; min-width: 0 !important;
  padding: 0 !important; display: grid !important; place-items: center; font-size: 22px !important; line-height: 1; margin: 0 !important;
}
.spp-root--admin .spp-mb345-dialog-content { padding: 20px 24px !important; }
.spp-root--admin .spp-mb345-dialog-foot { padding: 16px 24px !important; display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }

/* Μικρά κείμενα: eyebrow 12px, small 12,5px, γραμμές ελέγχου 13px (πριν 10–11px) */
.spp-root--admin .spp-mb345-dialog-head > div:first-child > span { font-size: 12px !important; letter-spacing: .8px !important; font-weight: 700 !important; color: var(--spp-cyan) !important; }
.spp-root--admin .spp-mb345-dialog small { font-size: 12.5px !important; line-height: 1.4; }
.spp-root--admin .spp-mb345-dialog .spp-mb341-operation strong,
.spp-root--admin .spp-mb345-dialog .spp-mb341-operation b { font-size: 13px !important; }
.spp-root--admin .spp-mb345-dialog .spp-mb341-operation { font-size: 13px; line-height: 1.45; }
.spp-root--admin .spp-mb345-dialog .spp-mb341-operation :where(div, p, span, small, li) { font-size: 13px !important; }
.spp-root--admin .spp-mb345-dialog .spp-mb341-operation h4,
.spp-root--admin .spp-mb345-dialog .spp-mb341-operation h3 { font-size: 12px !important; letter-spacing: 1px; text-transform: uppercase; }

/* Αναδιπλούμενες ενότητες (<details>) μέσα στα παράθυρα: ίδιο στυλ με κάρτα, βελάκι cyan */
.spp-root--admin .spp-mb345-dialog details.spp-mb315-details { border: 1px solid var(--spp-card-line, rgba(148,163,184,.2)); border-radius: 12px; background: rgba(148,163,184,.05); padding: 0; overflow: hidden; }
.spp-root--admin .spp-mb345-dialog details.spp-mb315-details > summary { cursor: pointer; padding: 12px 16px; font-size: 14px; font-weight: 650; list-style: none; display: flex; align-items: center; gap: 10px; }
.spp-root--admin .spp-mb345-dialog details.spp-mb315-details > summary::-webkit-details-marker { display: none; }
.spp-root--admin .spp-mb345-dialog details.spp-mb315-details > summary::before { content: "›"; display: inline-block; font-size: 20px; line-height: 1; transition: transform .15s; color: var(--spp-cyan); }
.spp-root--admin .spp-mb345-dialog details.spp-mb315-details[open] > summary::before { transform: rotate(90deg); }
.spp-root--admin .spp-mb345-dialog details.spp-mb315-details[open] { padding-bottom: 14px; }
.spp-root--admin .spp-mb345-dialog details.spp-mb315-details > *:not(summary) { margin-inline: 16px; }

/* Κεφαλίδες όλων των παραθύρων: συμπαγές φόντο (πριν ημιδιαφανές — το περιεχόμενο φαινόταν
   μέσα από την κεφαλίδα όταν κυλούσε το παράθυρο). Διορθώνει το βήμα 2. */
.spp-root--admin .spp-mga433__header, .spp-root--admin .spp-folder-door__head, .spp-root--admin .spp-followup-modal-head,
.spp-root--admin .spp-mb345-dialog-head, .spp-root--admin .spp-installation-tech-header, .spp-root--admin .spp-focused-workspace__header {
  background: linear-gradient(var(--spp-mdl-head-bg), var(--spp-mdl-head-bg)), var(--spp-mdl-bg) !important;
}

/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 10 — Κουμπί GUIDE
   Στρογγυλό κουμπί κάτω δεξιά (πριν: πλαϊνό κουμπί στη μέση της οθόνης που
   κάλυπτε περιεχόμενο). Μόνο στις σελίδες Admin. Μόνο CSS. Επαναφορά: διαγραφή μπλοκ.
   ========================================================================== */
body:has(.spp-root--admin) .spg-launcher { top: auto !important; bottom: 22px !important; right: 20px !important; transform: none !important; width: 48px !important; height: 48px !important; min-width: 0 !important; padding: 0 !important; justify-content: center !important; border-radius: 50% !important; }
body:has(.spp-root--admin) .spg-launcher .spg-launcher__label { display: none !important; }
body:has(.spp-root--admin) .spg-launcher .spg-launcher__icon { margin: 0 !important; }
body:has(.spp-root--admin) .spg-launcher .spg-launcher__pulse { top: 6px; right: 6px; left: auto; }

/* ==========================================================================
   Smart Pro Portal · Admin · ΒΗΜΑ 11 — Tablet & κινητό (έλεγχος 768px και 375px)
   Μόνο CSS. Επαναφορά: διαγραφή μπλοκ.
   ========================================================================== */
/* Tablet: οι 7 καρτέλες πέφτουν σε 2 σειρές (πριν φαίνονταν μόνο οι 5) */
@media (min-width: 700px) and (max-width: 1000px) {
  .spp-root--admin .spp-folder-nav404__tabs { flex-wrap: wrap !important; overflow: visible !important; }
  .spp-root--admin .spp-folder-nav404__tab { flex: 1 1 auto !important; min-width: 0 !important; }
}
/* Κινητό: το μενού κυλάει οριζόντια με σβήσιμο στην άκρη (ένδειξη ότι υπάρχουν κι άλλες) */
@media (max-width: 699px) {
  .spp-root--admin .spp-folder-nav404__tabs {
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent);
    padding-right: 28px !important;
  }
  .spp-root--admin .spp-folder-nav630__services { grid-template-columns: minmax(0, 1fr) !important; }
  .spp-root--admin .spp-folder-nav630__services > *, .spp-root--admin .spp-folder-nav630__card { min-width: 0 !important; }
  .spp-root--admin .spp-folder-nav404__panel .spp-card-head { flex-wrap: wrap; gap: 10px; }
  .spp-root--admin .spp-folder-nav404__panel .spp-card:not(.spp-card .spp-card) { padding: 20px 18px !important; }
}
/* Τεχνική εργασία: το grid δεν επιτρέπει στις στήλες να στενέψουν (διόρθωση του βήματος 7) */
.spp-root--admin .spp-folder-nav404__panel[data-spp-folder-nav404-panel="technical"] { grid-template-columns: minmax(0, 1fr); }


/* ========================================================================
   Smart Pro Portal 3.6.634 — Admin Dialog / Form / Action Visual Polish
   Curated from Claude post-3.6.633 visual review (steps 17–21).
   Admin-only; no markup or JS changes; dialog ownership/centering stays intact.
   Scope narrowly to avoid altering authorization, dangerous actions, toggles,
   compact controls, or the customer portal.  Remove this block to revert.
   ======================================================================== */
.spp-root--admin {
  --spp-dlg-s: min(620px, calc(100vw - 24px));
  --spp-dlg-m: min(780px, calc(100vw - 24px));
  --spp-dlg-l: min(1040px, calc(100vw - 24px));
  --spp-dlg-h: min(88dvh, 860px);
}
/* Only sizing changes. Existing centered overlay, scrolling and close handlers
   remain authoritative. No reparenting or viewport-height drawers. */
.spp-root--admin .spp-folder-door__dialog {
  width: var(--spp-dlg-s) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: var(--spp-dlg-h) !important;
}
.spp-root--admin .spp-mb345-dialog {
  width: var(--spp-dlg-m) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: var(--spp-dlg-h) !important;
}
.spp-root--admin .spp-focused-workspace__panel,
.spp-root--admin .spp-mga433__dialog,
.spp-root--admin .spp-installation-tech-panel {
  width: var(--spp-dlg-l) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: var(--spp-dlg-h) !important;
}
/* Installation edit and operational profile are medium dialogs. Confirmation
   dialogs retain the existing small format rather than inheriting large sizing. */
.spp-root--admin .spp-focused-workspace[data-spp-workspace="installation-management"] .spp-focused-workspace__panel,
.spp-root--admin .spp-admin-installation-profile-modal .spp-followup-modal-dialog,
.spp-root--admin .spp-modal-family--medium .spp-followup-modal-dialog {
  width: var(--spp-dlg-m) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: var(--spp-dlg-h) !important;
}
.spp-root--admin .spp-modal-family--small .spp-followup-modal-dialog,
.spp-root--admin .spp-subscription-confirm-modal .spp-followup-modal-dialog,
.spp-root--admin .spp-installation-change-confirm-modal .spp-followup-modal-dialog,
.spp-root--admin .spp-installation-destructive-modal .spp-followup-modal-dialog {
  width: var(--spp-dlg-s) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: var(--spp-dlg-h) !important;
}
/* Remove redundant inner card chrome within focused Admin workspaces, but do
   not hide titles, descriptions, controls or protected confirmation prompts. */
.spp-root--admin .spp-sidebar-focused-workspace .spp-management-workspace-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.spp-root--admin .spp-sidebar-focused-workspace .spp-management-workspace-shell > .spp-card-head {
  min-height: 0 !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
}
/* Field typography is limited to text-entry controls. Do not turn checkbox or
   radio labels into a grid and do not restyle submit, file or hidden inputs. */
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) label:has(> :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]), select, textarea)) {
  display: grid;
  gap: 6px;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.35;
  color: var(--spp-muted);
}
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]):not([type="button"]):not([type="submit"]), select, textarea) {
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--spp-text) !important;
  border-radius: 12px !important;
}
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) textarea {
  min-height: 96px;
  line-height: 1.5;
}
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) :is(input,select,textarea):not(:disabled):not([readonly]):focus-visible {
  outline: 2px solid var(--spp-cyan) !important;
  outline-offset: 1px;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, .18) !important;
}
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) :is(input,select,textarea)::placeholder {
  color: var(--spp-muted);
  opacity: .78;
}
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) details > summary {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--spp-text);
  cursor: pointer;
}
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) .spp-btn:is([disabled],[aria-disabled="true"]) {
  opacity: .5 !important;
  cursor: not-allowed !important;
}
.spp-root--admin :is(.spp-focused-workspace__panel, .spp-mga433__dialog,
  .spp-followup-modal-dialog, .spp-folder-door__dialog, .spp-mb345-dialog,
  .spp-installation-tech-panel) .spp-btn--primary {
  min-height: 46px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 12px;
}
/* Font floor for known small dialog captions, without MutationObserver or
   inline style overrides of arbitrary DOM nodes. */
.spp-root--admin .spp-focused-workspace__header p,
.spp-root--admin .spp-focused-workspace__panel :is(.spp-eyebrow, .spp-sub, small),
.spp-root--admin .spp-followup-modal-dialog :is(.spp-eyebrow, .spp-sub, small),
.spp-root--admin .spp-folder-door__dialog :is(.spp-eyebrow, .spp-sub, small),
.spp-root--admin .spp-mb345-dialog :is(.spp-mb345-eyebrow, .spp-mb345-latest, .spp-mb345-status, small),
.spp-root--admin .spp-mga433__dialog :is(.spp-mga433__eyebrow, .spp-mga433__caption, .spp-mga433__form-help, .spp-mga433__footer-note, .spp-mga433__rail-caption, small),
.spp-root--admin .spp-installation-tech-panel :is(.spp-eyebrow, .spp-sub, small) {
  font-size: 12px !important;
  line-height: 1.4;
}
/* Light mode: improve informational contrast, without recoloring status/danger
   actions or modifying button ownership/permissions. */
.spp-root--admin[data-spp-theme="light"] .spp-folder-nav404__panel :is(.spp-eyebrow, .spp-status-link),
.spp-root--admin[data-spp-theme="light"] .spp-mga433__dialog .spp-mga433__eyebrow {
  color: #00668a !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-focused-workspace__header p {
  color: #4a5f75 !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-technician-advanced-link {
  color: #475c72 !important;
}
.spp-root--admin[data-spp-theme="light"] .spp-technician-confirm span {
  color: #102033 !important;
}
.spp-root--admin[data-spp-theme="light"] :is(.spp-mb345-latest, .spp-mb345-status.is-protected) {
  color: #0a6b4b !important;
}
/* Consistent geometry within the Full Folder only. Keep each button's semantic
   background/color (primary, destructive, confirmation, status) untouched. */
.spp-root--admin .spp-folder-nav404__panel :is(.spp-btn, .spp-mga433__open, .spp-installation-access-action):not(.spp-mb345-minibtn):not([aria-label^="Κλείσιμο"]) {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  line-height: 1.25;
}
.spp-root--admin .spp-folder-nav404__panel :is(.spp-btn, .spp-mga433__open, .spp-installation-access-action):not([disabled]):focus-visible {
  outline: 2px solid var(--spp-cyan) !important;
  outline-offset: 2px !important;
}
.spp-root--admin .spp-folder-nav404__panel .spp-btn--secondary:hover:not([disabled]),
.spp-root--admin .spp-folder-nav404__panel .spp-installation-access-action:hover:not([disabled]) {
  border-color: var(--spp-cyan) !important;
}
.spp-root--admin .spp-folder-nav404__panel .spp-mb345-minibtn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 650;
  border-radius: 10px;
}
/* No global untyped .spp-btn recoloring: ambiguous Admin buttons may carry
   destructive/safety meaning even without a formal variant class. */
/* ========================================================================
   End Smart Pro Portal 3.6.634 admin visual adjustments.
   ======================================================================== */

/* 3.6.635 · Step 22 · Admin seven-stage activation guide: compact fixed-height
   dialog with preserved header, isolated stage scroll, readable labels and a
   sticky footer. Stage 7 is the ONLY navigation view with a finish control.
   Read-only navigation never writes pairing/Verified Binding state. */
.spp-root--admin .spp-mga433__dialog{height:min(740px,88dvh)!important;grid-template-rows:auto minmax(0,1fr)!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__layout{min-height:0!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__scroll{padding:22px 28px 26px!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__step-progress{padding-right:48px!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__scroll :is(p,li,small,dd){font-size:13.5px!important;line-height:1.55!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__scroll h4{font-size:15.5px!important;line-height:1.3!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__step-tab{min-height:54px!important;border-radius:14px!important;border:1px solid transparent!important;transition:background .15s,border-color .15s}
.spp-root--admin .spp-mga433__dialog .spp-mga433__step-tab:hover{background:rgba(0,212,255,.07)!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__step-tab.is-active{border-color:rgba(0,212,255,.5)!important;box-shadow:inset 4px 0 0 var(--spp-cyan)!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__step-tab>span:last-child{font-size:13.5px!important;font-weight:650!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__rail{padding:20px 16px!important;gap:8px!important}
.spp-root--admin .spp-mga433__dialog .spp-mga433__footer{padding:16px 28px!important}
@media (max-width:700px){.spp-root--admin .spp-mga433__dialog{height:min(88dvh,760px)!important}.spp-root--admin .spp-mga433__dialog .spp-mga433__scroll{padding:16px!important}}

/* Stage 1–6: do not display the finish control, even for already-bound installs. */
.spp-root--admin .spp-mga433__footer:not(.is-complete) [data-spp-mga433-finish]{display:none!important}

/* ΑΛΛΑΓΕΣ #1 · Α — Ελάχιστο μέγεθος γραμμάτων */
.spp-root--customer :is(.spp-customer-subscription-meta,.spp-customer-subscription-identity,.spp-request-compact-update,.spp-request-compact-identity,.spp-customer-studio-manage-form,.spp-customer-studio-version-details,.spp-overview-strip,.spp-activity-item) :is(small,em,time,span:not([class*=icon]):not([class*=dot])){font-size:12px!important;line-height:1.4!important}
.spp-root--customer :is(.spp-customer-subscription-meta,.spp-request-compact-update) strong,.spp-root--customer :is(.is-cycle,.is-end,.is-grace,.is-renewal,.is-source) strong{font-size:13.5px!important;line-height:1.35!important}
.spp-root--customer :is(.is-wide,.is-cycle,.is-end,.is-grace,.is-renewal,.is-source,.is-renewal-price)>span:first-child{font-size:12px!important;letter-spacing:.5px!important}
.spp-root--customer .woocommerce-Price-amount,.spp-root--customer .woocommerce-Price-amount .woocommerce-Price-currencySymbol{font-size:inherit!important}
.spp-root--customer :is(.spp-status-badge,.spp-nav-caret,.spp-request-code,.spp-home-chip b,.spp-sub,.spp-admin-filter-count,.spp-workflow-badge):not(.spp-topbar *){font-size:12px!important}
.spp-root--customer small:not(.spp-topbar *){font-size:max(12px,.82em)!important}
.spp-root--customer :is(h2,h3)+p:not(.spp-topbar *){font-size:12.5px!important;line-height:1.5!important}
.spp-root--customer div.spp-sub,.spp-root--customer em:not(.spp-topbar *){font-size:12px!important}
.spp-root--customer .woocommerce-Price-amount{font-size:12px!important}

/* ΑΛΛΑΓΕΣ #1 · Β — Κεφαλίδα desktop */
.spp-root--customer .spp-nav a{font-size:12.5px!important}
.spp-root--customer .spp-brand small{font-size:10.5px!important;letter-spacing:1.4px!important}
.spp-root--customer .spp-nav--customer{justify-content:flex-start!important}
@media (min-width:1181px){.spp-root--customer .spp-nav--customer{justify-self:start!important}}

/* ΑΛΛΑΓΕΣ #1 · Γ — Σύνοψη: λωρίδα εγκαταστάσεων */
.spp-root--customer .spp-home-workspace__tabs{scrollbar-width:thin!important;scrollbar-color:rgba(0,124,153,.45) transparent!important;padding-bottom:10px!important;scroll-snap-type:x proximity}
.spp-root--customer .spp-home-workspace__tabs::-webkit-scrollbar{height:6px}
.spp-root--customer .spp-home-workspace__tabs::-webkit-scrollbar-thumb{background:rgba(0,124,153,.4);border-radius:6px}
.spp-root--customer .spp-home-workspace__tab{flex:0 0 auto!important;scroll-snap-align:start}

/* ΑΛΛΑΓΕΣ #1 · Δ — Μενού κλειστό σε tablet/κινητό, ανοίγει με το κουμπί */
@media (max-width:1180px){.spp-root--customer .spp-nav--customer:not(.is-open){display:none!important}.spp-root--customer .spp-nav--customer.is-open{display:flex!important}}

/* ΑΛΛΑΓΕΣ #1 · Ε — Κεφαλίδα κινητού */
@media (max-width:760px){
.spp-root--customer .spp-topbar-shell{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px 12px!important;align-items:center!important}
.spp-root--customer .spp-topbar-shell .spp-customer-nav-toggle{width:100%!important;justify-content:space-between!important;min-height:44px!important;font-size:14px!important;font-weight:700!important}
.spp-root--customer .spp-topbar-shell .spp-user{grid-column:1/-1!important;justify-self:stretch!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
.spp-root--customer .spp-topbar-shell .spp-user>*{min-width:0!important;justify-self:stretch!important}
.spp-root--customer .spp-topbar-shell .spp-user>.spp-theme-menu{grid-column:1!important;grid-row:1!important}
.spp-root--customer .spp-topbar-shell .spp-user>.spp-account-menu{grid-column:2!important;grid-row:1!important}
.spp-root--customer .spp-topbar-shell .spp-user>.spp-customer-search{grid-column:1/-1!important;grid-row:2!important}
}

/* ΑΛΛΑΓΕΣ #1 · ΣΤ — Συνδρομές στο κινητό */
@media (max-width:700px){
.spp-root--customer .spp-customer-subscription-row>summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px 14px!important;position:relative;padding-right:44px!important}
.spp-root--customer .spp-customer-subscription-row>summary>*{min-width:0!important}
.spp-root--customer .spp-customer-subscription-row>summary>:is(.spp-customer-subscription-identity,.spp-customer-subscription-meta){grid-column:1/-1!important}
.spp-root--customer .spp-customer-subscription-row>summary .spp-customer-subscription-meta :is(strong,small,span,em){white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.spp-root--customer .spp-customer-subscription-row>summary>.spp-customer-row-chevron{position:absolute!important;top:14px;right:14px;width:auto!important}
}

/* ΑΛΛΑΓΕΣ #2 · Ζ — Tablet: επικεφαλίδα σελίδας αριστερά */
@media (min-width:701px) and (max-width:1180px){
.spp-root--customer .spp-page-head{align-items:flex-start!important}
.spp-root--customer .spp-page-head>*{align-self:flex-start!important;margin-left:0!important}
}

/* ΑΛΛΑΓΕΣ #2 · Η — Tablet: κάρτες KPI & γραμμές συνδρομών */
@media (min-width:701px) and (max-width:1180px){
.spp-root--customer .spp-customer-subscription-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.spp-root--customer .spp-customer-subscription-row>summary{grid-template-columns:minmax(150px,1fr) minmax(200px,1.5fr) 130px 24px!important}
.spp-root--customer[data-spp-view="dashboard"] .spp-home-welcome__kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.spp-root--customer .spp-home-welcome__kpis>.spp-kpi-card:last-child:nth-child(odd){grid-column:1/-1!important}
}
@media (max-width:1180px){
.spp-root--customer .spp-overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.spp-root--customer .spp-overview-strip>*>span:first-child{letter-spacing:.3px!important;font-size:12px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}

/* ΑΛΛΑΓΕΣ #2 · Θ — Light θέμα: contrast */
.spp-root--customer.is-light-theme .spp-status-badge--info,
.spp-root--customer[data-spp-theme="light"] .spp-status-badge--info{color:#00506b!important;background:rgba(0,150,190,.12)!important;border-color:rgba(0,120,160,.35)!important}
.spp-root--customer.is-light-theme .spp-footer-note,
.spp-root--customer[data-spp-theme="light"] .spp-footer-note{color:#52667c!important}

/* 3.6.638 — Google button on the customer sign-in screen. */
.spp-root--auth .spp-google-signin{display:flex;width:100%;justify-content:center;margin:0 0 8px}
.spp-root--auth .spp-google-signin-note{margin:0 0 14px;color:var(--spp-muted);font-size:12px;line-height:1.45}
.spp-mfa-register-choice{border:0;margin:0 0 12px;padding:0;display:grid;gap:8px}
.spp-mfa-register-choice legend{font-size:13px;font-weight:700;margin-bottom:4px}
.spp-mfa-choice-card{margin-top:14px}
.spp-customer-withdrawal{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--spp-line)}
.spp-customer-withdrawal h3{margin:0 0 6px;font-size:15px}
.spp-customer-withdrawal p,.spp-customer-withdrawal li{color:var(--spp-muted);font-size:13px;line-height:1.45}
.spp-customer-withdrawal ul{margin:8px 0;padding-left:18px}
.spp-customer-withdrawal button:disabled{opacity:.55;cursor:not-allowed}

/* ΑΛΛΑΓΕΣ #3 · Ι — Ελάχιστο μέγεθος γραμμάτων (Εγκαταστάσεις, Παραγγελίες, Λογαριασμός, Φάκελος) */
.spp-root.spp-root--customer.spp-root--customer :is(.spp-installation-folder-tab,.spp-customer-installation-folder-attention,.spp-customer-installation-folder-return,.spp-customer-installation-folder-heading-copy a,.spp-customer-installation-folder-hint,.spp-eyebrow,.spp-help-tip,.spp-status-link,.spp-order-label,.spp-customer-order-context-note,.spp-customer-order-context-note *,.spp-support-wallet-foundation__note,.spp-account-security-note,.spp-account-operational-note,.spp-account-savebar__hint,.spp-home-chip,.spp-customer-service-mini__status,.spp-mb618-compact-fact span,.spp-sub){font-size:12px!important;line-height:1.45!important}
.spp-root.spp-root--customer.spp-root--customer .spp-installation-folder-tab{font-size:12.5px!important}
.spp-root.spp-root--customer.spp-root--customer article[class*="is-"] span,
.spp-root.spp-root--customer.spp-root--customer :is([class^="is-"],[class*=" is-"])>span:first-child,
.spp-root.spp-root--customer.spp-root--customer :is(.spp-subscription-facts,.spp-detail-facts,.spp-customer-order-facts) div>span:first-child{font-size:12px!important;letter-spacing:.4px!important}
.spp-root.spp-root--customer.spp-root--customer :is([class^="is-"],[class*=" is-"])>strong,
.spp-root.spp-root--customer.spp-root--customer :is(.spp-subscription-facts,.spp-detail-facts,.spp-customer-order-facts,.spp-customer-order-products) strong,
.spp-root.spp-root--customer.spp-root--customer .spp-customer-installation-meta strong{font-size:13px!important}

/* ΑΛΛΑΓΕΣ #3 · ΙΑ — Εγκαταστάσεις: χωρίς κόψιμο κειμένου */
@media (max-width:1180px){
.spp-root.spp-root--customer.spp-root--customer .spp-customer-installation-summary :is(.spp-customer-installation-identity small,.spp-customer-installation-meta strong){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}
}

/* ΑΛΛΑΓΕΣ #3 · ΙΒ — Σκούρο θέμα: contrast */
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-home-workspace__head a,
.spp-root.spp-root--customer.spp-root--customer[data-spp-view="dashboard"]:not(.is-light-theme) .spp-home-workspace__head>a{color:#7cc4ff!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-home-chip.is-ok,
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-home-chip.is-ok b{color:#6ee7b7!important}

/* ΑΛΛΑΓΕΣ #4 · ΙΓ — Σύνοψη κινητό: συμπαγείς κάρτες.
   Το όριο είναι 640px, γιατί από εκεί και κάτω ο παλιός κανόνας τις βάζει σε μία στήλη. */
@media (max-width:640px){
.spp-root.spp-root--customer .spp-home-welcome__kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.spp-root.spp-root--customer .spp-home-welcome__kpis>.spp-kpi-card:last-child:nth-child(odd){grid-column:1/-1!important}
.spp-root.spp-root--customer .spp-home-welcome__kpis>.spp-kpi-card{display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto auto!important;padding:12px!important;gap:8px!important;align-items:start!important}
.spp-root.spp-root--customer .spp-home-welcome__kpis .spp-kpi-icon{grid-column:1;grid-row:1;width:32px!important;height:32px!important;font-size:15px!important}
.spp-root.spp-root--customer .spp-home-welcome__kpis .spp-kpi-arrow{grid-column:2;grid-row:1}
.spp-root.spp-root--customer .spp-home-welcome__kpis .spp-kpi-content{grid-column:1/-1;grid-row:2;min-width:0}
.spp-root.spp-root--customer .spp-home-workspace__facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.spp-root.spp-root--customer .spp-home-workspace__facts>*{padding:10px 12px!important;min-width:0}
}

/* ΑΛΛΑΓΕΣ #4 · ΙΔ — Κινητό: επικεφαλίδα σελίδας */
@media (max-width:700px){
.spp-root.spp-root--customer .spp-page-head{align-items:flex-start!important;gap:14px!important}
.spp-root.spp-root--customer .spp-page-head>*{align-self:flex-start!important;margin-left:0!important}
.spp-root.spp-root--customer .spp-page-head :is(h1,h2){margin-bottom:6px!important}
.spp-root.spp-root--customer .spp-page-head p{margin-bottom:0!important}
}

/* ΑΛΛΑΓΕΣ #4 · ΙΕ — Λογαριασμός */
.spp-root.spp-root--customer.spp-root--customer :is(.spp-account-profile-group__head span,.spp-account-security-action span,.spp-account-security-status span,.spp-form-grid label>span,.spp-account-security-grid span){font-size:12px!important;line-height:1.4!important}
@media (max-width:600px){
.spp-root.spp-root--customer .spp-customer-account-workspace{padding:4px!important}
.spp-root.spp-root--customer .spp-customer-account-frame{padding:6px!important}
.spp-root.spp-root--customer .spp-customer-account-frame>.spp-card{padding:14px!important}
}

/* ΑΛΛΑΓΕΣ #4 · ΙΣΤ — Φάκελος εγκατάστασης */
.spp-root.spp-root--customer.spp-root--customer .spp-customer-folder-event-row strong{font-size:12.5px!important}
.spp-root.spp-root--customer.spp-root--customer .spp-customer-installation-overview-facts div>span:first-child{font-size:12px!important;letter-spacing:.4px!important}
@media (max-width:700px){
.spp-root.spp-root--customer.spp-root--customer .spp-customer-subscription-summary-card__actions{width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important;justify-content:flex-start!important}
.spp-root.spp-root--customer.spp-root--customer .spp-card-head:has(.spp-customer-subscription-summary-card__actions){flex-wrap:wrap!important}
}
@media (max-width:600px){
.spp-root.spp-root--customer.spp-root--customer .spp-customer-installation-hub-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.spp-root.spp-root--customer.spp-root--customer .spp-customer-installation-hub-actions>*{width:100%!important;min-width:0!important;justify-content:center!important;text-align:center!important;padding-left:8px!important;padding-right:8px!important;font-size:13px!important}
}

/* ΑΛΛΑΓΕΣ #5 · ΙΖ — Κράτηση ραντεβού */
.spp-root.spp-root--customer.spp-root--customer :is(.spsb-subscriber-card__facts strong,.spsb-availability__suggested strong,.spsb-availability__suggested span,.spsb-availability__options-wrap span,.spsb-smart-calendar__weekdays span,.spsb-smart-calendar__times-kicker,.spsb-kicker,.spsb-availability__note strong,.spsb-smart-calendar__back,.spsb-subscriber-policy,.spsb-subscriber-card__copy p,.spsb-booking__time-context,.spsb-subscriber-card__installation span,.spsb-smart-calendar__day-number,.spsb-smart-calendar__monthtitle){font-size:12px!important;line-height:1.4!important}
.spp-root.spp-root--customer.spp-root--customer .spsb-subscriber-card__facts :is(span,small){font-size:12px!important;letter-spacing:.3px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
@media (max-width:600px){
.spp-root.spp-root--customer.spp-root--customer .spsb-subscriber-card__facts{grid-template-columns:1fr 1fr!important}
.spp-root.spp-root--customer.spp-root--customer .spsb-subscriber-card__facts>*:last-child:nth-child(odd){grid-column:1/-1!important}
.spp-root.spp-root--customer.spp-root--customer .spsb-smart-calendar__day{padding:10px 0!important;min-width:0!important;width:100%!important;justify-content:center!important;text-align:center!important}
.spp-root.spp-root--customer.spp-root--customer .spsb-smart-calendar__days,.spp-root.spp-root--customer.spp-root--customer .spsb-smart-calendar__weekdays{grid-template-columns:repeat(7,minmax(0,1fr))!important}
.spp-root.spp-root--customer.spp-root--customer .spsb-smart-calendar__weekdays span{text-align:center!important}
}

/* ΑΛΛΑΓΕΣ #5 · ΙΗ — Popups: κουμπιά σε μία σειρά (κινητό) */
@media (max-width:600px){
.spp-root.spp-root--customer .spp-followup-modal-actions{display:grid!important;grid-template-columns:1fr 1.4fr!important;gap:8px!important;padding-top:12px!important;padding-bottom:12px!important}
.spp-root.spp-root--customer .spp-followup-modal-actions>*{width:100%!important;min-width:0!important}
.spp-root.spp-root--customer .spp-followup-modal-actions>:first-child{order:1!important}
.spp-root.spp-root--customer .spp-followup-modal-actions>:last-child{order:2!important}
}

/* ΑΛΛΑΓΕΣ #5 · ΙΘ — Drawer προσθήκης εγκατάστασης */
.spp-root.spp-root--customer.spp-root--customer.is-light-theme .spp-drawer [data-spp-drawer-close],
.spp-root.spp-root--customer.spp-root--customer[data-spp-theme="light"] .spp-drawer [data-spp-drawer-close]{background:#fff!important;color:#26405c!important;border:1px solid rgba(38,64,92,.22)!important;box-shadow:none!important}
.spp-root.spp-root--customer.spp-root--customer.is-light-theme .spp-drawer [data-spp-drawer-close]:hover,
.spp-root.spp-root--customer.spp-root--customer[data-spp-theme="light"] .spp-drawer [data-spp-drawer-close]:hover{background:#eef4fa!important}
.spp-root.spp-root--customer.spp-root--customer .spp-customer-ha-manual span{text-transform:none!important;font-weight:700!important;font-size:13.5px!important;line-height:1.5!important}

/* ΑΛΛΑΓΕΣ #5 · Κ — Σκούρο θέμα: ετικέτες φορμών */
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) :is(.spp-account-operational-grid label,.spp-account-profile-group label,.spp-form-grid label,.spp-customer-studio-manage-grid label){color:#dbe6f3!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-home-workspace__head a{color:#7cc4ff!important}

.spp-customer-installation-create-modal [data-spp-installation-code-submit]:disabled{opacity:.55;cursor:not-allowed}

.spp-root--customer .spp-customer-setup-modal .spp-followup-modal-dialog{
  width:min(620px,100%);
  height:min(640px,calc(100dvh - 48px));
  max-height:min(640px,calc(100dvh - 48px));
  display:flex;
  flex-direction:column;
}
.spp-root--customer .spp-customer-setup-modal form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.spp-root--customer .spp-customer-setup-modal .spp-followup-modal-body{flex:1 1 auto;min-height:0;overflow:auto}
.spp-customer-setup-modal [data-spp-setup-step][hidden]{display:none!important}
.spp-customer-setup-modal [data-spp-setup-step] strong{display:block;margin:0 0 8px;font-size:16px}
.spp-customer-setup-modal .spp-pairing-box{background:#f3fbf7;border-color:#b7e4c7}
.spp-customer-setup-modal .spp-pairing-code{color:#0f7a4a!important}
.spp-customer-setup-modal [data-spp-setup-next]:disabled,.spp-customer-setup-modal [data-spp-installation-code-submit]:disabled{opacity:.55;cursor:not-allowed}
.spp-customer-setup-modal [hidden]{display:none!important}
.spp-customer-setup-modal .spp-customer-ha-route{margin:12px 0 0;padding:12px;border:1px solid var(--spp-line);border-radius:12px}
.spp-customer-setup-modal .spp-customer-ha-route strong{display:block;margin:0 0 8px;font-size:15px}
.spp-customer-setup-modal .spp-customer-ha-route--manual{margin-top:14px}
.spp-customer-setup-modal [data-spp-ha-panel="os"]>.spp-remember{display:flex;gap:8px;align-items:flex-start;margin-top:12px}
.spp-installation-trash-folder-notice p{margin:6px 0 0}
.spp-installation-trash-folder-notice__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.spp-installation-trash-folder-notice__actions form{margin:0}
.spp-notice[data-spp-transient-notice]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.spp-notice-dismiss{flex:0 0 auto;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer}

/* 20/11 — Νέος πελάτης: ειδοποιήσεις, κράτηση χωρίς συνδρομή, καρτέλα Έργα */
.spp-root.spp-root--customer.is-light-theme .spp-notice--error,
.spp-root.spp-root--customer[data-spp-theme="light"] .spp-notice--error{color:#8a1f2f!important;background:#fdecef!important;border:1px solid rgba(190,40,60,.35)!important}
.spp-root.spp-root--customer.is-light-theme .spp-notice--warning,
.spp-root.spp-root--customer[data-spp-theme="light"] .spp-notice--warning{color:#6b4300!important;background:#fff5dd!important;border:1px solid rgba(190,130,20,.4)!important}
.spp-root.spp-root--customer.is-light-theme .spsb-subscriber-unavailable,
.spp-root.spp-root--customer[data-spp-theme="light"] .spsb-subscriber-unavailable{background:#fff!important;background-image:none!important;border:1px solid rgba(32,61,86,.18)!important;box-shadow:0 8px 24px rgba(20,45,70,.08)!important;color:#102033!important;padding:28px!important;max-width:620px!important}
.spp-root.spp-root--customer.is-light-theme .spsb-subscriber-unavailable :is(h1,h2,h3),
.spp-root.spp-root--customer[data-spp-theme="light"] .spsb-subscriber-unavailable :is(h1,h2,h3){color:#102033!important;font-size:20px!important;margin:0 0 8px!important}
.spp-root.spp-root--customer.is-light-theme .spsb-subscriber-unavailable :is(p,span,small,li),
.spp-root.spp-root--customer[data-spp-theme="light"] .spsb-subscriber-unavailable :is(p,span,small,li){color:#3d566f!important;font-size:14px!important;line-height:1.55!important}
.spp-root.spp-root--customer.is-light-theme .spsb-subscriber-unavailable :is(.spsb-kicker,.spsb-eyebrow),
.spp-root.spp-root--customer[data-spp-theme="light"] .spsb-subscriber-unavailable :is(.spsb-kicker,.spsb-eyebrow){color:#1b6f94!important}
.spp-root.spp-root--customer.is-light-theme .spsb-subscriber-unavailable :is(button,a),
.spp-root.spp-root--customer[data-spp-theme="light"] .spsb-subscriber-unavailable :is(button,a){font-size:13px!important;padding:10px 18px!important;min-height:40px!important;font-weight:800!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card{padding:0!important;overflow:hidden!important;border-radius:20px!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card>.spp-card-head{padding:22px 28px!important;margin:0!important;border-bottom:1px solid rgba(32,61,86,.14)!important;align-items:center!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card>.spp-card-head h2{font-size:22px!important;margin:2px 0 4px!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card>.spp-card-head .spp-sub{font-size:12.5px!important;line-height:1.5!important}
.spp-root.spp-root--customer .spp-customer-studio-project-tools{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:20px 28px 8px!important;margin:0!important}
.spp-root.spp-root--customer .spp-customer-studio-project-tools strong{font-size:17px!important}
.spp-root.spp-root--customer .spp-customer-studio-project-tools p{font-size:13.5px!important;margin:4px 0 0!important;color:#52667c!important}
.spp-root.spp-root--customer .spp-customer-studio-project-tools .spp-customer-studio-new{background:linear-gradient(135deg,#6fe0ff,#2a7fa8)!important;color:#06202f!important;border:0!important;padding:11px 20px!important;font-weight:800!important;white-space:nowrap!important}
.spp-root.spp-root--customer .spp-customer-studio-project-list{padding:12px 28px 4px!important;display:grid!important;gap:10px!important}
.spp-root.spp-root--customer .spp-customer-studio-project-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:16px!important;padding:16px 20px!important;border:1px solid rgba(32,61,86,.18)!important;border-left:4px solid #1b9ec4!important;border-radius:14px!important;background:#fff!important;box-shadow:0 6px 18px rgba(20,45,70,.07)!important}
.spp-root.spp-root--customer .spp-customer-studio-project-row strong{font-size:16px!important;display:block!important;margin-bottom:4px!important;color:#102033!important}
.spp-root.spp-root--customer .spp-customer-studio-project-row small{font-size:12.5px!important;color:#52667c!important}
.spp-root.spp-root--customer .spp-customer-studio-manage-details,.spp-root.spp-root--customer .spp-customer-studio-version-details{margin:-4px 0 0 18px!important;padding:0!important;border:0!important;background:none!important}
.spp-root.spp-root--customer .spp-customer-studio-manage-details>summary,.spp-root.spp-root--customer .spp-customer-studio-version-details>summary,.spp-root.spp-root--customer .spp-customer-studio-archived-details>summary{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:7px 14px!important;border:1px solid rgba(32,61,86,.22)!important;border-radius:999px!important;background:#f3f8fc!important;font-size:12.5px!important;font-weight:700!important;color:#1d4a66!important;cursor:pointer!important;list-style:none!important}
.spp-root.spp-root--customer .spp-customer-studio-manage-details>summary::-webkit-details-marker,.spp-root.spp-root--customer .spp-customer-studio-version-details>summary::-webkit-details-marker{display:none}
.spp-root.spp-root--customer .spp-customer-studio-manage-details>summary::before{content:"⚙";font-size:13px}
.spp-root.spp-root--customer .spp-customer-studio-version-details>summary::before{content:"↺";font-size:13px}
.spp-root.spp-root--customer .spp-customer-future-projects-card>.spp-notice{margin:14px 28px 4px!important}
.spp-root.spp-root--customer .spp-customer-studio-project-guidance{margin:18px 28px 0!important;padding:16px 20px!important;border:1px solid rgba(32,61,86,.16)!important;border-radius:14px!important;background:#f7fafc!important}
.spp-root.spp-root--customer .spp-customer-studio-project-guidance strong{font-size:14.5px!important;color:#102033!important}
.spp-root.spp-root--customer .spp-customer-studio-project-guidance p{font-size:13.5px!important;line-height:1.55!important;margin:6px 0 0!important;color:#3d566f!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card .spp-placeholder-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:14px 28px 26px!important;margin:0!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card .spp-placeholder-grid>div{padding:16px 20px!important;border:1px solid rgba(32,61,86,.16)!important;border-radius:14px!important;background:#fff!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card .spp-placeholder-grid strong{font-size:14.5px!important;display:block!important;margin-bottom:6px!important;color:#102033!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card .spp-placeholder-grid span{font-size:13px!important;line-height:1.5!important;display:block!important;color:#3d566f!important}
.spp-root.spp-root--customer .spp-customer-future-projects-card .spp-placeholder-grid span:last-child,
.spp-root.spp-root--customer .spp-customer-future-projects-card .spp-placeholder-grid em{margin-top:8px!important;font-weight:800!important;font-style:normal!important;color:#1b6f94!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.4px!important}
@media(max-width:720px){
  .spp-root.spp-root--customer .spp-customer-studio-project-tools{flex-direction:column!important;align-items:flex-start!important}
  .spp-root.spp-root--customer .spp-customer-studio-project-row,.spp-root.spp-root--customer .spp-customer-future-projects-card .spp-placeholder-grid{grid-template-columns:1fr!important}
}

/* 3.6.656 · Customer Projects: KPI strip fills the row, empty state without a nested frame */
.spp-root.spp-root--customer.spp-root--customer .spp-customer-projects-head~.spp-overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.spp-root.spp-root--customer.spp-root--customer .spp-customer-future-projects-card>.spp-account-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}

/* 3.6.657 · Customer polish: dark theme (Projects), orders, auth, account */

/* Έργα · σκούρο θέμα: υπότιτλος με καλή αντίθεση + κάρτες επεξήγησης σκούρες (ήταν λευκές) */
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-studio-project-tools p{color:#b4c3d6!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-studio-project-guidance{background:rgba(255,255,255,.06)!important;border:1px solid rgba(148,180,214,.22)!important;box-shadow:none!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-studio-project-guidance strong{color:#f1f6fc!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-studio-project-guidance p{color:#c5d2e2!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-future-projects-card .spp-placeholder-grid>*{background:rgba(255,255,255,.06)!important;border:1px solid rgba(148,180,214,.22)!important;box-shadow:none!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-future-projects-card .spp-placeholder-grid>* strong{color:#f1f6fc!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-future-projects-card .spp-placeholder-grid>* span{color:#c5d2e2!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-customer-future-projects-card .spp-placeholder-grid>* em{color:#7cc4ff!important}

/* Παραγγελίες · μήνυμα «δεν υπάρχει διαθέσιμο έγγραφο» 9,5px -> 12px */
.spp-root.spp-root--customer.spp-root--customer .spp-customer-order-document-unavailable{font-size:12px!important;line-height:1.45!important}

/* Σύνδεση / Δημιουργία λογαριασμού · σκούρο θέμα: «Επαλήθευση εισόδου» ήταν σχεδόν αόρατη (αντίθεση 1,2:1) */
.spp-root.spp-root--auth.spp-root--auth:not(.is-light-theme) legend{color:#dbe6f3!important}

/* Σύνδεση / Δημιουργία · υποσέλιδο 11px -> 12px (δεν έχει δοκιμαστεί ζωντανά ο συγκεκριμένος κανόνας) */
.spp-root--auth :is(.smart-footer__payment,.smart-footer__copyright){font-size:12px!important}

/* Λογαριασμός · ανοιχτό θέμα: κείμενο της μπάρας αποθήκευσης ήταν σκούρο σε σκούρο φόντο (αντίθεση ~1,1:1) */
.spp-root.spp-root--customer.spp-root--customer.is-light-theme .spp-account-savebar__hint{color:#d7e4f2!important}

/* Λογαριασμός · «Προαιρετικά στοιχεία»: λίστα δύο στηλών αντί για συνεχόμενες γραμμές (δοκιμασμένο ζωντανά) */
.spp-root.spp-root--customer.spp-root--customer .spp-account-progress-optional{display:grid!important;gap:0!important;margin-top:14px!important;font-size:13.5px!important}
.spp-root.spp-root--customer.spp-root--customer .spp-account-progress-optional>strong{display:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-account-progress-optional>span{display:grid!important;grid-template-columns:minmax(150px,220px) 1fr!important;gap:12px!important;padding:8px 0!important;border-top:1px solid rgba(38,64,92,.12)!important;line-height:1.45!important}
@media(max-width:600px){.spp-root.spp-root--customer.spp-root--customer .spp-account-progress-optional>span{grid-template-columns:1fr!important;gap:2px!important}}

/* Παραγγελίες · μία επικεφαλίδα, κουμπί στο ίδιο μέγεθος με τα άλλα, χαμηλότερη κενή κατάσταση */
.spp-root.spp-root--customer.spp-root--customer .spp-customer-orders-panel .spp-customer-list-panel__head h2{display:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-customer-orders-panel .spp-installation-return a{font-size:13px!important;padding:8px 14px!important;font-weight:700!important}
.spp-root.spp-root--customer.spp-root--customer .spp-customer-orders-panel .spp-empty-state{min-height:180px!important;padding:28px 16px!important}

/* 3.6.660 · Customer popups: dark theme, add-installation fields, button order */

/* Popup «Προσθήκη Home Assistant», βήμα 3: το κουμπί «v» του πεδίου Φιλικό όνομα δεν είχε στυλ για τον πελάτη (υπήρχε μόνο για Admin) */
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo{position:relative!important;min-width:0!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:stretch!important;min-width:0!important;border:1px solid rgba(38,64,92,.28)!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-shell:focus-within,.spp-root.spp-root--customer.spp-root--customer .spp-request-combo.is-open .spp-request-combo-shell{border-color:#1b8fb8!important;box-shadow:0 0 0 3px rgba(27,143,184,.16)!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-input{min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-toggle{appearance:none!important;width:44px!important;min-width:0!important;height:auto!important;padding:0!important;border:0!important;border-left:1px solid rgba(38,64,92,.18)!important;border-radius:0!important;background:#eef4fa!important;color:#1b6f94!important;box-shadow:none!important;cursor:pointer!important;font-size:16px!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-toggle:hover{background:#dfeaf5!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-menu{position:absolute!important;z-index:30!important;top:calc(100% + 5px)!important;left:0!important;right:0!important;max-height:240px!important;overflow:auto!important;padding:5px!important;border:1px solid rgba(38,64,92,.2)!important;border-radius:11px!important;background:#fff!important;box-shadow:0 18px 40px rgba(15,35,60,.18)!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-menu[hidden]{display:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-menu button{display:block!important;width:100%!important;padding:9px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#102033!important;text-align:left!important;box-shadow:none!important;cursor:pointer!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-menu button:hover,.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-menu button:focus{background:#eef4fa!important;outline:0!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-menu strong{display:block!important;font-size:13px!important;line-height:1.3!important;color:#102033!important}
.spp-root.spp-root--customer.spp-root--customer .spp-request-combo-menu small{display:block!important;margin-top:2px!important;font-size:12px!important;color:#52667c!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-request-combo-shell{background:rgba(4,13,25,.5)!important;border-color:rgba(148,180,214,.3)!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-request-combo-toggle{background:rgba(56,189,248,.08)!important;color:#7cc4ff!important;border-left-color:rgba(148,180,214,.25)!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-request-combo-menu{background:#0b1627!important;border-color:rgba(73,190,231,.3)!important;box-shadow:0 18px 48px rgba(0,0,0,.5)!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-request-combo-menu button{color:#e6eef8!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-request-combo-menu strong{color:#f1f6fc!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-request-combo-menu small{color:#b4c3d6!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-request-combo-menu button:hover{background:rgba(56,189,248,.12)!important}

/* Popups στο κινητό: «Πίσω» αριστερά, «Επόμενο»/κύριο κουμπί δεξιά σε όλα τα βήματα (το κρυφό κουμπί «Δημιουργία…» χαλούσε τη σειρά) */
@media (max-width:600px){
.spp-root.spp-root--customer .spp-followup-modal-actions>:is(.spp-btn--ghost,.spp-btn--secondary){order:1!important}
.spp-root.spp-root--customer .spp-followup-modal-actions>.spp-btn--primary{order:2!important}
}

/* Popup «Προσθήκη Home Assistant»: τα κουμπιά ⌄ στα πεδία Χώρα / Ζώνη ώρας ήταν μπλε προεπιλογής και έσπαγαν το πεδίο */
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox:after{content:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox>input[type="text"]{padding-right:46px!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__toggle{position:absolute!important;top:50%!important;right:6px!important;z-index:3!important;transform:translateY(-50%)!important;width:32px!important;height:32px!important;min-width:0!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#21688f!important;font-size:18px!important;font-weight:900!important;cursor:pointer!important;line-height:1!important;box-shadow:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__toggle:hover{background:rgba(33,104,143,.1)!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox.is-open .spp-profile-combobox__toggle{transform:translateY(-50%) rotate(180deg)!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__panel{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 6px)!important;z-index:50!important;max-height:240px!important;overflow:auto!important;padding:6px!important;border:1px solid rgba(34,65,91,.18)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 14px 34px rgba(18,42,62,.18)!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__panel[hidden]{display:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__option{width:100%!important;min-height:38px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:8px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#18344b!important;font-size:13px!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__option:hover,.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__option:focus-visible{background:#edf6fb!important;outline:none!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__option.is-selected{background:#e2f2f9!important;color:#155e82!important;font-weight:800!important}
.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__option small,.spp-root.spp-root--customer.spp-root--customer .spp-followup-modal-dialog .spp-profile-combobox__empty{color:#52667c!important;font-size:12px!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-profile-combobox__toggle{color:#7cc4ff!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-profile-combobox__panel{background:#0b1627!important;border-color:rgba(73,190,231,.3)!important;box-shadow:0 18px 48px rgba(0,0,0,.5)!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-profile-combobox__option{color:#e6eef8!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-profile-combobox__option:hover{background:rgba(56,189,248,.12)!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-profile-combobox__option.is-selected{background:rgba(56,189,248,.2)!important;color:#bfe6ff!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-profile-combobox__option small,.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-profile-combobox__empty{color:#b4c3d6!important}

/* ΣΚΟΥΡΟ ΘΕΜΑ · όλα τα popups του πελάτη: το παράθυρο έμενε λευκό (#fff) με ανοιχτά γράμματα (τίτλος «Προσθήκη Home Assistant» σχεδόν αόρατος) */
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog{background:#101c30!important;border:1px solid rgba(148,180,214,.22)!important;color:#e6eef8!important;box-shadow:0 24px 70px rgba(0,0,0,.6)!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog :is(.spp-followup-modal-head,.spp-followup-modal-actions){background:transparent!important;border-color:rgba(148,180,214,.2)!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog :is(p,li,small,.spp-sub){color:#c5d2e2!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog :is(h2,h3,strong){color:#f1f6fc!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog :is(label,label>span){color:#dbe6f3!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-followup-modal-x{background:rgba(255,255,255,.08)!important;color:#e6eef8!important;border:1px solid rgba(148,180,214,.3)!important;box-shadow:none!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-notice--info{background:rgba(56,189,248,.12)!important;border-color:rgba(56,189,248,.35)!important;color:#d6eefc!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-notice--warning{background:rgba(251,191,36,.12)!important;border-color:rgba(251,191,36,.4)!important;color:#fde7a8!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-notice--error{background:rgba(248,113,113,.12)!important;border-color:rgba(248,113,113,.4)!important;color:#fecaca!important}
.spp-root.spp-root--customer.spp-root--customer:not(.is-light-theme) .spp-followup-modal-dialog .spp-notice--success{background:rgba(52,211,153,.12)!important;border-color:rgba(52,211,153,.4)!important;color:#c6f6e3!important}

/* 3.6.661 — Customer nav: centred mobile "Μενού", dropdown button matches the other links */
.spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell .spp-customer-nav-toggle{justify-content:center!important;text-align:center!important;gap:8px!important}
.spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell .spp-customer-nav-toggle::after{content:"▾";font-size:11px;line-height:1;transition:transform .2s}
.spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell .spp-customer-nav-toggle[aria-expanded="true"]::after{transform:rotate(180deg)}
.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open]{min-height:40px!important;height:40px;padding:10px 12px!important;border-radius:11px!important;font-size:12.5px!important;font-weight:800!important;line-height:1.2}
.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open] .spp-nav-caret{margin-left:6px;font-size:10px}
@media (max-width:1180px){
  .spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open]{width:100%;height:auto;min-height:44px!important;padding:10px 12px!important;font-size:14px!important;justify-content:space-between}
  .spp-root.spp-root--customer.spp-root--customer .spp-install-menu__panel>p{margin:0;padding:8px 12px}
  .spp-root.spp-root--customer.spp-root--customer .spp-install-menu__panel>a{padding:10px 12px}
}
@media (min-width:1181px){
  .spp-root.spp-root--customer.spp-root--customer .spp-nav--customer{overflow:visible!important}
}

/* 3.6.662 — Customer top bar in the style of the main-site bar (dark + light variants) */
.spp-root.spp-root--customer.spp-root--customer{--nb-bg:rgba(5,14,30,.965);--nb-bg2:linear-gradient(135deg,rgba(255,255,255,.025),transparent 40%);--nb-border:rgba(46,199,255,.48);--nb-shadow:0 24px 55px rgba(0,8,24,.34),0 0 28px rgba(32,199,244,.13),inset 0 1px 0 rgba(255,255,255,.045);--nb-text:#f4f8ff;--nb-sub:#8fdcf5;--nb-link:rgba(246,250,255,.9);--nb-hover:#fff;--nb-hover-bg:rgba(255,255,255,.055);--nb-accent:#20c7f4;--nb-accent-glow:0 0 12px rgba(32,199,244,.75);--nb-btn-bg:rgba(32,199,244,.06);--nb-btn-border:rgba(32,199,244,.55);--nb-btn-text:#e9fcff;--nb-btn-hover-text:#06101d;--nb-sep:rgba(255,255,255,.085);--nb-panel:rgba(7,17,34,.984);--nb-panel-border:rgba(32,199,244,.22);--nb-panel-text:#f4f8ff}
.spp-root.spp-root--customer.spp-root--customer.is-light-theme{--nb-bg:rgba(255,255,255,.97);--nb-bg2:linear-gradient(135deg,rgba(0,159,201,.05),transparent 40%);--nb-border:rgba(0,159,201,.4);--nb-shadow:0 18px 40px rgba(16,32,51,.12),0 0 24px rgba(0,159,201,.08),inset 0 1px 0 rgba(255,255,255,.9);--nb-text:#0b1f33;--nb-sub:#3d556c;--nb-link:#0b1f33;--nb-hover:#06324a;--nb-hover-bg:rgba(0,159,201,.09);--nb-accent:#007fa3;--nb-accent-glow:0 0 10px rgba(0,159,201,.45);--nb-btn-bg:rgba(0,159,201,.06);--nb-btn-border:rgba(0,159,201,.5);--nb-btn-text:#064a63;--nb-btn-hover-text:#fff;--nb-sep:rgba(16,32,51,.1);--nb-panel:#fff;--nb-panel-border:rgba(0,159,201,.3);--nb-panel-text:#0b1f33}
.spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell{background:var(--nb-bg2),var(--nb-bg)!important;border:1px solid var(--nb-border)!important;border-radius:24px!important;box-shadow:var(--nb-shadow)!important;color:var(--nb-text)}
.spp-root.spp-root--customer.spp-root--customer .spp-brand,.spp-root.spp-root--customer.spp-root--customer .spp-brand>span:last-child{color:var(--nb-text)!important}
.spp-root.spp-root--customer.spp-root--customer .spp-brand small{color:var(--nb-sub)!important}
/* links: site style (cyan underline for the active page, soft hover) */
.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer>a,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open]{position:relative;min-height:48px!important;height:auto;padding:10px 12px!important;border:0!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;color:var(--nb-link)!important;font-size:12px!important;font-weight:760!important;letter-spacing:.025em!important;text-transform:uppercase;line-height:1!important;transition:color .2s ease,background-color .2s ease}
.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer>a:hover,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer>a:focus-visible,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open]:hover,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open]:focus-visible,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open][aria-expanded="true"]{color:var(--nb-hover)!important;background:var(--nb-hover-bg)!important;outline:none}
.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer>a.is-active,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open].is-active{color:var(--nb-accent)!important;background:transparent!important}
.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer>a.is-active::after,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open].is-active::after{content:"";position:absolute;left:14px;right:14px;bottom:1px;height:2px;border-radius:999px;background:var(--nb-accent);box-shadow:var(--nb-accent-glow)}
/* right-hand buttons: like the site's account button */
.spp-root.spp-root--customer.spp-root--customer .spp-theme-menu__trigger,.spp-root.spp-root--customer.spp-root--customer .spp-account-menu__trigger{min-height:46px!important;height:46px;padding:0 14px!important;border:1px solid var(--nb-btn-border)!important;border-radius:16px!important;background:var(--nb-btn-bg)!important;color:var(--nb-btn-text)!important;box-shadow:none!important;font-weight:760!important;transition:color .2s ease,background-color .2s ease,transform .2s ease,box-shadow .2s ease}
.spp-root.spp-root--customer.spp-root--customer .spp-theme-menu__trigger:hover,.spp-root.spp-root--customer.spp-root--customer .spp-theme-menu__trigger:focus-visible,.spp-root.spp-root--customer.spp-root--customer .spp-account-menu__trigger:hover,.spp-root.spp-root--customer.spp-root--customer .spp-account-menu__trigger:focus-visible,.spp-root.spp-root--customer.spp-root--customer .spp-theme-menu__trigger[aria-expanded="true"],.spp-root.spp-root--customer.spp-root--customer .spp-account-menu__trigger[aria-expanded="true"]{background:var(--nb-accent)!important;border-color:var(--nb-accent)!important;color:var(--nb-btn-hover-text)!important;box-shadow:0 10px 22px rgba(32,199,244,.2)!important;transform:translateY(-2px);outline:none}
.spp-root.spp-root--customer.spp-root--customer .spp-theme-menu__trigger [data-spp-theme-current]{color:inherit}
/* drop-down panels */
.spp-root.spp-root--customer.spp-root--customer .spp-install-menu__panel,.spp-root.spp-root--customer.spp-root--customer .spp-theme-menu__panel,.spp-root.spp-root--customer.spp-root--customer .spp-account-menu__panel{background:var(--nb-panel)!important;color:var(--nb-panel-text)!important;border:1px solid var(--nb-panel-border)!important;border-radius:18px!important;box-shadow:0 24px 50px rgba(0,6,18,.4),0 0 20px rgba(32,199,244,.08)!important}
/* single row like the site on wide screens */
@media (min-width:1281px){
  .spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell{grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center;column-gap:20px;padding:10px 18px 10px 20px!important;min-height:76px;border-radius:30px!important}
  .spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell>.spp-brand{grid-column:1!important;grid-row:1!important}
  .spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell>.spp-nav--customer{grid-column:2!important;grid-row:1!important;justify-self:end!important;overflow:visible!important}
  .spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell>.spp-user{grid-column:3!important;grid-row:1!important;justify-self:end}
}
/* phones and tablets: same colours for the "Μενού" bar and the opened list */
@media (max-width:1180px){
  .spp-root.spp-root--customer.spp-root--customer .spp-topbar-shell .spp-customer-nav-toggle{border:1px solid var(--nb-btn-border)!important;border-radius:16px!important;background:var(--nb-btn-bg)!important;color:var(--nb-btn-text)!important;letter-spacing:.035em;text-transform:uppercase}
  .spp-root.spp-root--customer.spp-root--customer .spp-nav--customer{background:var(--nb-panel)!important;border:1px solid var(--nb-panel-border)!important;border-radius:20px!important;box-shadow:0 24px 50px rgba(0,6,18,.4)!important;color:var(--nb-panel-text)!important}
  .spp-root.spp-root--customer.spp-root--customer .spp-nav--customer>a,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open]{min-height:52px!important;width:100%;border-radius:12px!important;font-size:13px!important;justify-content:flex-start;text-align:left}
  .spp-root.spp-root--customer.spp-root--customer .spp-nav--customer>a.is-active::after,.spp-root.spp-root--customer.spp-root--customer .spp-nav--customer .spp-install-menu>[data-spp-install-menu-open].is-active::after{left:12px;right:auto;width:28px}
}
