/* SoEngage Admin Studio | 2026 visual layer
   Presentation only: preserves PHP routes, forms, queries and controls. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('https://cdn-uicons.flaticon.com/3.0.0/uicons-regular-rounded/css/uicons-regular-rounded.css');

:root {
  --studio-bg: #f5f6fa;
  --studio-paper: #ffffff;
  --studio-ink: #1e2130;
  --studio-subtle: #707588;
  --studio-line: #e8eaf1;
  --studio-purple: #7058f4;
  --studio-purple-dark: #563bda;
  --studio-purple-soft: #f0edff;
  --studio-mint: #55e1bc;
  --studio-sidebar: #171a27;
  --studio-radius: 18px;
  --studio-shadow: 0 10px 28px rgba(29, 30, 55, .035);
  --studio-ease: cubic-bezier(.2,.75,.25,1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  background: var(--studio-bg) !important;
  background-image: none !important;
  background-size: auto !important;
  animation: none !important;
  color: var(--studio-ink) !important;
  min-height: 100vh;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body::selection, body *::selection { background: #dbd5ff; color: #201e39; }
h1,h2,h3,h4,h5,h6,.page-title,.panel-title {
  font-family: 'Manrope','DM Sans',sans-serif;
  letter-spacing: -.035em;
  color: var(--studio-ink);
}
h1,h2,h3,h4,h5,h6 { font-weight: 800; }
p,small,.text-muted,.muted,.text-secondary,.page-subtitle,.panel-note { line-height: 1.6; }
a { text-underline-offset: 3px; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,
[role="button"]:focus-visible { outline: 3px solid rgba(112,88,244,.42) !important; outline-offset: 3px; }
button,input,select,textarea { font-family: inherit !important; }
button,.btn { font-weight: 700; }
button:disabled,.btn:disabled { cursor: not-allowed; }

/* Navigation is an intentionally calm, full-height application rail. */
.nav-bar {
  width: 238px !important;
  height: 100vh !important;
  padding: 24px 13px 20px !important;
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  display: flex !important;
  align-items: stretch !important;
  flex-direction: column !important;
  gap: 3px !important;
  background: var(--studio-sidebar) !important;
  background-image: radial-gradient(ellipse at -22% -10%,rgba(117,94,237,.18),transparent 45%) !important;
  border-right: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 0 !important;
  box-shadow: 12px 0 45px rgba(21,23,38,.055) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 9999 !important;
  scrollbar-width: thin;
  scrollbar-color: #474657 transparent;
}
.nav-bar .logo {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  width: auto !important;
  min-height: 50px;
  padding: 0 11px 0 7px !important;
  margin: 0 0 22px !important;
}
.nav-bar .logo img {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  object-fit: contain;
  border-radius: 11px !important;
  background: #fff;
  padding: 4px;
}
.nav-bar .logo::after {
  content: 'soengage';
  font-family: 'Manrope',sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.075em;
  color: #fff;
  line-height: 1;
}
.soe-nav-group {
  color: #888ca1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  padding: 0 15px;
  margin: 3px 0 12px;
  text-transform: uppercase;
}
.nav-bar .nav-item {
  position: relative !important;
  display: flex !important;
  flex: 0 0 auto;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 13px;
  margin: 1px 0 !important;
  width: 100% !important;
  min-width: 0;
  height: 43px !important;
  min-height: 43px;
  border-radius: 11px !important;
  padding: 0 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid transparent;
  color: #a5a9bc !important;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: color .22s var(--studio-ease),background-color .22s var(--studio-ease),border-color .22s var(--studio-ease) !important;
}
.nav-bar .nav-item:hover { color: #fff !important; background: #24283a !important; }
.nav-bar .nav-item.is-active {
  color: #fff !important;
  background: #343049 !important;
  border-color: rgba(184,169,255,.14);
}
.nav-bar .nav-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: #baa9ff;
  border-radius: 0 4px 4px 0;
}
.nav-bar.soe-icons-ready .nav-item img {
  display: none !important; /* Generic old colored assets are replaced by consistent vector icons. */
}
.nav-bar.soe-icons-ready .nav-item > i { display: none !important; }
.nav-bar:not(.soe-icons-ready) .nav-item img { width: 20px !important; height: 20px !important; display: block !important; object-fit: contain; }
.nav-bar:not(.soe-icons-ready) .nav-item > i { display: block !important; width: 20px; text-align: center; }
.nav-bar .soe-side-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  opacity: .89;
}
.nav-bar .soe-side-icon .fi {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  width: 20px;
  height: 20px;
  color: inherit;
}
.nav-bar .soe-side-icon .fi::before { line-height: 1; display: block; }
.nav-bar .soe-side-icon svg { width: 19px; height: 19px; stroke: currentColor; }
.nav-bar .soe-sidebar-foot { order: 1; }
.nav-bar .soe-uicons-credit {
  order: 2;
  padding: 9px 14px 2px;
  font-size: 9px;
  line-height: 1.35;
  color: #777e95;
}
.nav-bar .soe-uicons-credit a { color: #959aaf; text-decoration: none; }
.nav-bar .soe-uicons-credit a:hover { color: #e5dcff; text-decoration: underline; }
.soe-admin-workspace .fi { display: inline-flex; align-items:center; vertical-align: middle; line-height:1; }
.soe-admin-workspace .fi::before { line-height:1; }
.nav-bar .soe-nav-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soe-sidebar-foot {
  margin: auto 5px 0;
  padding: 19px 10px 0;
  border-top: 1px solid rgba(255,255,255,.11);
  color: #aeb1c0;
}
.soe-sidebar-foot .soe-sidebar-foot-label { font-size: 10px; letter-spacing: .08em; font-weight: 800; color: #f2f0ff; }
.soe-sidebar-foot .soe-sidebar-foot-caption { font-size: 10px; line-height: 1.65; color: #777d93; margin-top: 4px; }

/* Existing header opens the workspace wrapper; retain it and restyle in place. */
.soe-admin-workspace {
  box-sizing: border-box !important;
  display: block !important;
  width: calc(100% - 238px) !important;
  max-width: none !important;
  min-width: 0;
  min-height: 100vh !important;
  margin: 0 0 0 238px !important;
  padding: 0 30px 54px !important;
  background: transparent !important;
}
.soe-admin-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1100 !important;
  margin: 0 -30px 25px !important;
  padding: 10px 29px !important;
  min-height: 76px;
  display: flex;
  align-items: center;
  background: rgba(245,246,250,.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 0 !important;
  border-bottom: 1px solid var(--studio-line) !important;
  box-shadow: none !important;
}
.soe-admin-topbar > .container-fluid { max-width: none; width: 100%; }
.soe-admin-topbar .row { min-height: 50px; }
.soe-admin-topbar .form-control {
  border-radius: 11px !important;
  background: #fff !important;
  border: 1px solid var(--studio-line) !important;
  min-height: 43px;
  font-size: 12.5px;
  box-shadow: none !important;
}
.soe-admin-topbar .user-name-container {
  border-left: 0;
  padding-left: 0;
}
.soe-admin-topbar .user-name-container > a {
  min-height: 42px;
  padding: 3px 10px 3px 4px;
  background: #fff;
  border: 1px solid var(--studio-line);
  border-radius: 12px;
  color: #33364a !important;
  text-decoration: none !important;
}
.soe-admin-topbar .user-name-container img {
  background: #e9e3ff;
  object-fit: cover;
  padding: 3px !important;
  margin: 0 !important;
}
.soe-admin-topbar .user-name { max-width: 155px; font-size: 12px; font-weight: 800; color: #39354a; }
.soe-admin-topbar a[href*="logout.php"] {
  padding: 12px 13px;
  border: 1px solid var(--studio-line);
  border-radius: 11px;
  text-decoration: none !important;
  background: #fff;
  color: #706c7e !important;
  font-size: 12px;
  font-weight: 700;
}
.soe-admin-topbar a[href*="logout.php"]:hover { color: #d23c58 !important; border-color: #f0c9d2; }
.soe-mobile-wordmark { display:none; }
.soe-mobile-toggle { display:none; border:0; color:#222436; background:#fff; border-radius:10px; padding:9px 12px; font-size:19px; }

/* Shared surface language across legacy Bootstrap 5.1 and 5.3 pages. */
.soe-admin-workspace > .container,
.soe-admin-workspace > .container-fluid,
.soe-admin-workspace > .admin-shell,
.soe-admin-workspace > main {
  max-width: 1500px !important;
}
.soe-admin-workspace .container.mt-5 { margin-top: 18px !important; }
.soe-admin-workspace .container-xl,
.soe-admin-workspace .container,
.soe-admin-workspace .container-fluid { min-width: 0; }
.soe-admin-workspace .admin-shell { padding-top: 8px !important; }
.soe-admin-workspace h1,
.soe-admin-workspace .page-title { font-weight: 800 !important; letter-spacing: -.05em !important; }
.soe-admin-workspace h2 { letter-spacing: -.035em; }
.soe-admin-workspace h2.mb-4 { font-size: 25px; margin-bottom: 20px !important; }
.soe-admin-workspace .page-kicker { color: #7158e9 !important; font-size: 10px; letter-spacing: .12em; }
.soe-admin-workspace .page-subtitle { color: var(--studio-subtle) !important; }
.soe-admin-workspace .panel,
.soe-admin-workspace .panel-card,
.soe-admin-workspace .metric-card,
.soe-admin-workspace .siri-card,
.soe-admin-workspace .kpi-card,
.soe-admin-workspace .card,
.soe-admin-workspace .chat-item,
.soe-admin-workspace .receivable-box,
.soe-admin-workspace .dashboard {
  border: 1px solid var(--studio-line) !important;
  background: var(--studio-paper) !important;
  background-image: none !important;
  border-radius: var(--studio-radius) !important;
  color: var(--studio-ink) !important;
  box-shadow: var(--studio-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-clip: padding-box;
}
.soe-admin-workspace .panel,
.soe-admin-workspace .panel-card,
.soe-admin-workspace .siri-card,
.soe-admin-workspace .metric-card { overflow: visible; }
.soe-admin-workspace .panel-card { padding: 22px !important; }
.soe-admin-workspace .metric-card { padding: 21px !important; min-height: 150px; }
.soe-admin-workspace .metric-card::after { display: none !important; }
.soe-admin-workspace .metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px !important;
  background: var(--studio-purple-soft) !important;
  color: var(--studio-purple) !important;
}
.soe-admin-workspace .metric-label,
.soe-admin-workspace .metric-note,
.soe-admin-workspace .panel-note { color: var(--studio-subtle) !important; }
.soe-admin-workspace .metric-label { margin-top: 17px; font-size: 12px; }
.soe-admin-workspace .metric-value { font-family: 'Manrope',sans-serif; font-size: 30px; color:var(--studio-ink)!important; }
.soe-admin-workspace .panel-title { font-size: 16px; font-weight: 800; }
.soe-admin-workspace .panel-card .mt-4.p-3 { background: #f6f4ff !important; border: 1px solid #e9e4ff !important; }
.soe-admin-workspace .progress-track { height: 7px; background:#e9e7f5; }
.soe-admin-workspace .progress-fill { background: linear-gradient(90deg,#8069ff,#9ca7ff); }
.soe-admin-workspace .split-stat { border-bottom-color:var(--studio-line); }
.soe-admin-workspace .leader-row {
  border: 1px solid var(--studio-line) !important;
  background: #fff;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.soe-admin-workspace .leader-row:hover { border-color: #d9d2ff !important; background: #faf9ff; }
.soe-admin-workspace .leader-rank { background: #f1f2f6; border-radius: 9px; }
.soe-admin-workspace .leader-avatar { border-radius: 12px; }
.soe-admin-workspace .empty-state { background: #fafafe; border: 1px dashed #dadde9; color: var(--studio-subtle); }
.soe-admin-workspace .date-filter {
  border-radius: 12px !important;
  border:1px solid var(--studio-line) !important;
  background:#fff !important;
  box-shadow:none !important;
  min-height:45px;
}
.soe-admin-workspace .date-filter input { background: transparent !important; color:var(--studio-ink) !important; }
.soe-admin-workspace .financial-overview,.soe-admin-workspace .header h2,
.soe-admin-workspace .amount,.soe-admin-workspace .receivable-amount,
.soe-admin-workspace .receivable-label,.soe-admin-workspace .dashboard h2,
.soe-admin-workspace .dashboard h3 { color: var(--studio-ink) !important; }
.soe-admin-workspace .receivable-amount { font-size: clamp(30px,4vw,48px) !important; }
.soe-admin-workspace .receivable-label { color:var(--studio-subtle) !important; font-size:14px !important; }
.soe-admin-workspace .siri-card,.soe-admin-workspace .kpi-card { padding: 22px !important; width:100% !important; }
.soe-admin-workspace .siri-card > div:first-child { font-size: 29px !important; font-family:Manrope,sans-serif; font-weight:800; color:var(--studio-ink); }
.soe-admin-workspace .chat-item { padding:12px!important; }
.soe-admin-workspace .gradient-floating-effect { background:#fff!important;animation:none!important; }
.soe-admin-workspace .btn-circle { background:#f4f2ff!important;color:#6750da!important;border:1px solid #e4dfff!important; }
.soe-admin-workspace .btn-circle:hover { background:#ebe7ff!important; }
.soe-admin-workspace .card .card-header { background:#f9f9fc!important;border-color:var(--studio-line)!important; }
.soe-admin-workspace .alert-dashboard { background:#fff8e7!important;border-color:#f3e5b7!important; }
.soe-admin-workspace .kpi-icon { color:var(--studio-purple)!important; }
.soe-admin-workspace .kpi-card h4,.soe-admin-workspace .kpi-card h6 { color:var(--studio-ink)!important; }
.soe-admin-workspace .table-responsive .table { border-radius:0!important; }
.soe-admin-workspace .profile-pic { background:#dcd5ff!important; }

/* Data tables: compact, readable and not fragile when horizontally scrollable. */
.soe-admin-workspace .table-responsive {
  border: 1px solid var(--studio-line);
  border-radius: 16px;
  background: #fff;
  overflow-x: auto;
  box-shadow: var(--studio-shadow);
}
.soe-admin-workspace table.table { background:#fff !important; margin-bottom:0 !important; border-color:var(--studio-line)!important; width:100%; }
.soe-admin-workspace .table thead th,
.soe-admin-workspace table.table > thead > tr > th {
  background:#f6f7fb !important;
  color:#697083 !important;
  border:0 !important;
  border-bottom:1px solid var(--studio-line) !important;
  font-family:'DM Sans',sans-serif;
  font-size:10px !important;
  line-height:1.5;
  font-weight:800 !important;
  text-align:left;
  text-transform:uppercase;
  letter-spacing:.07em;
  padding:14px 15px !important;
  white-space:nowrap;
}
.soe-admin-workspace .table td,
.soe-admin-workspace table.table > tbody > tr > td {
  background:#fff !important;
  border-color:#f0f1f5 !important;
  padding:14px 15px !important;
  color:#34384b !important;
  font-size:12.5px;
  vertical-align:middle;
  text-align:left;
}
.soe-admin-workspace .table tbody tr:hover > td { background:#faf9ff !important; }
.soe-admin-workspace .table th,.soe-admin-workspace .table td { box-shadow:none!important; }
.soe-admin-workspace .table-rounded { border-radius:16px !important; box-shadow:none!important; }
.soe-admin-workspace .badge,.soe-admin-workspace .status {
  border-radius:7px !important;
  font-weight:800;
  letter-spacing:.01em;
  padding:6px 9px;
}
.soe-admin-workspace .badge.bg-success { background:#e6f7ef!important; color:#1a8060!important; }
.soe-admin-workspace .badge.bg-danger { background:#fff0f1!important; color:#ce4f5d!important; }
.soe-admin-workspace .badge.bg-warning { background:#fff4da!important; color:#916419!important; }
.soe-admin-workspace .badge.bg-info { background:#eaf5ff!important; color:#3975a7!important; }

/* Inputs and action buttons keep their native behavior and existing handlers. */
.soe-admin-workspace .form-control,
.soe-admin-workspace .form-select,
.soe-admin-workspace select,
.soe-admin-workspace textarea {
  border-radius:11px !important;
  border:1px solid #dfe2eb !important;
  background-color:#fff !important;
  color:var(--studio-ink) !important;
  box-shadow:none !important;
  font-size:12.5px;
}
.soe-admin-workspace input.form-control,
.soe-admin-workspace select.form-select { min-height:42px; }
.soe-admin-workspace input:focus,
.soe-admin-workspace select:focus,
.soe-admin-workspace textarea:focus {
  border-color:#aa9afe!important;
  box-shadow:0 0 0 3px rgba(112,88,244,.09)!important;
}
.soe-admin-workspace .form-control::placeholder { color:#979cad; }
.soe-admin-workspace .form-label,
.soe-admin-workspace label { font-size:12px; color:#53566b; font-weight:700; }
.soe-admin-workspace .btn {
  border-radius:10px !important;
  font-size:12px !important;
  padding:10px 16px;
  transition: background-color .2s,border-color .2s,color .2s,box-shadow .2s;
}
.soe-admin-workspace .btn-primary,
.soe-admin-workspace .btn-dark,
.soe-admin-workspace .btn-action {
  background:var(--studio-purple) !important;
  border-color:var(--studio-purple) !important;
  color:white!important;
  box-shadow:0 5px 13px rgba(100,79,229,.13)!important;
}
.soe-admin-workspace .btn-primary:hover,
.soe-admin-workspace .btn-dark:hover,
.soe-admin-workspace .btn-action:hover { background:var(--studio-purple-dark)!important; border-color:var(--studio-purple-dark)!important; }
.soe-admin-workspace .btn-light,.soe-admin-workspace .btn-outline-secondary {
  background:#fff !important;
  color:#62667a !important;
  border:1px solid var(--studio-line)!important;
}
.soe-admin-workspace .btn-light:hover,.soe-admin-workspace .btn-outline-secondary:hover { background:#f5f3ff!important; color:var(--studio-purple)!important; }
.soe-admin-workspace .action-btn,.soe-admin-workspace .action-circle { border-radius:10px!important; }
.soe-admin-workspace .alert { border-radius:12px; border-width:1px; }
.soe-admin-workspace .dropdown-menu,.soe-admin-workspace .modal-content,.soe-admin-workspace .popover {
  background:#fff;
  border:1px solid var(--studio-line)!important;
  border-radius:15px!important;
  box-shadow:0 18px 50px rgba(24,26,46,.11)!important;
}
.soe-admin-workspace .modal-header,.soe-admin-workspace .modal-footer { border-color:var(--studio-line); }
.soe-admin-workspace .pagination .page-link { color:var(--studio-purple); border-color:var(--studio-line); }
.soe-admin-workspace .pagination .active .page-link { background:var(--studio-purple); border-color:var(--studio-purple);color:#fff; }
.soe-admin-workspace .nav-tabs { border-color:var(--studio-line); }
.soe-admin-workspace .nav-tabs .nav-link { color:#70758a;border-radius:9px 9px 0 0; }
.soe-admin-workspace .nav-tabs .nav-link.active { color:var(--studio-purple);font-weight:800; }

/* Preserve the existing full-screen mobile menu and its JS. */
#mobile-nav { z-index:100000 !important; }
#mobile-nav > div {
  background:#f7f7fb !important;
  overflow-y:auto;
  padding:28px 23px !important;
}
#mobile-nav a {
  color:#2c2e42 !important;
  text-decoration:none!important;
  font-size:16px;
  font-weight:750;
  padding:12px 0;
}
#mobile-nav a:hover { color:var(--studio-purple)!important; }

/* Login keeps the same POST, inputs and authentication logic. */
body.soe-login-2026 {
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:clamp(48px,7vw,132px);
  padding:36px max(30px,7vw);
  min-height:100vh;
  background:#f5f6fa !important;
  overflow-x:hidden;
}
.soe-login-2026 .soe-login-visual {
  flex:1 1 470px;
  max-width:570px;
  padding:34px 16px 34px 0;
  position:relative;
  isolation:isolate;
}
.soe-login-2026 .soe-login-brand { display:flex;align-items:center;gap:12px;font:800 16px Manrope,sans-serif;letter-spacing:-.06em;margin-bottom:clamp(60px,10vh,135px); }
.soe-login-2026 .soe-login-mark { width:41px;height:41px;display:grid;place-items:center;color:white;background:#24233c;border-radius:13px;box-shadow:0 10px 23px rgba(28,30,55,.13);font-size:17px; }
.soe-login-2026 .soe-login-eyebrow { font-size:10px;font-weight:800;color:var(--studio-purple);letter-spacing:.18em;text-transform:uppercase;margin-bottom:21px; }
.soe-login-2026 .soe-login-visual h1 { font:800 clamp(46px,5.8vw,82px)/1.11 Manrope,sans-serif;letter-spacing:-.095em;margin:0 0 24px;color:#1d1d30; }
.soe-login-2026 .soe-login-visual h1 em { font-style:normal;color:var(--studio-purple); }
.soe-login-2026 .soe-login-visual p { font-size:15px;line-height:1.9;color:#77788b;max-width:375px;margin:0; }
.soe-login-2026 .soe-login-pills { display:flex;gap:10px;flex-wrap:wrap;margin-top:40px; }
.soe-login-2026 .soe-login-pills span { display:inline-flex;align-items:center;gap:8px;border:1px solid #e1e3eb;background:rgba(255,255,255,.7);border-radius:100px;padding:9px 14px;font-size:11px;font-weight:750;color:#55566b; }
.soe-login-2026 .soe-login-pills span::before { content:'';width:6px;height:6px;background:#8d78f9;border-radius:50%; }
.soe-login-2026 .soe-login-card {
  flex:0 1 436px;
  position:relative !important;
  left:auto !important;
  top:auto !important;
  margin:0 !important;
  width:min(100%,436px) !important;
  height:auto !important;
  transform:none !important;
  border:1px solid #e9e9f0 !important;
  background:#fff !important;
  box-shadow:0 25px 75px rgba(29,29,55,.075) !important;
  border-radius:24px !important;
  padding:clamp(30px,3.3vw,45px) !important;
  z-index:1;
}
.soe-login-2026 .soe-login-card .esdy-font { font:800 25px Manrope,sans-serif!important;letter-spacing:-.055em; }
.soe-login-2026 .soe-login-card center > div:nth-last-child(2) { font:800 23px Manrope,sans-serif!important; margin-top:20px!important; }
.soe-login-2026 .soe-login-card center > div:nth-last-child(1) { font-size:13px!important;color:#858598!important;margin-top:8px!important; }
.soe-login-2026 .soe-login-card form { margin-top:32px!important; }
.soe-login-2026 .soe-login-card form > div > div {
  border:1px solid #e0e2eb !important;
  border-radius:11px !important;
  padding:3px 9px !important;
  transition:border-color .2s,box-shadow .2s;
}
.soe-login-2026 .soe-login-card form > div > div:focus-within { border-color:#9b8bf5!important;box-shadow:0 0 0 4px rgba(112,88,244,.08); }
.soe-login-2026 .soe-login-card form > div > div > span:first-child { font-size:11px!important;top:-10px!important;color:#6d7187;background:#fff!important;padding:1px 6px!important; }
.soe-login-2026 .soe-login-card form input {
  background:transparent!important;
  min-height:38px;
  border:0!important;
  outline:0!important;
  color:#25253b;
  font-size:13px;
  font-weight:650;
}
.soe-login-2026 .soe-login-card form button[type="submit"] {
  background:var(--studio-purple) !important;
  border-radius:12px!important;
  height:49px!important;
  font-size:13px;
  font-weight:800;
  box-shadow:0 12px 26px rgba(112,88,244,.2);
}
.soe-login-2026 .soe-login-card form button[type="submit"]:hover { background:var(--studio-purple-dark)!important; }
.soe-login-2026 .soe-login-card .alert { background:#fff3f3;color:#b73544;border:1px solid #ffd9df;padding:10px;border-radius:10px; }

/* Editors, canvases, charts and modal transforms are deliberately left untouched. */


/* Standalone admin tools have dedicated full-width canvases; never force the sidebar into them. */
body.soe-standalone-2026 { background:#f5f6fa !important; color:#222538 !important; }
.soe-standalone-2026 .top-header {
  background:#fff !important;
  background-image:none!important;
  color:#282a3d !important;
  border-bottom:1px solid #e8eaf1 !important;
  box-shadow:0 6px 24px rgba(24,26,49,.035) !important;
}
.soe-standalone-2026 .top-header a,
.soe-standalone-2026 .top-header h1,
.soe-standalone-2026 .top-header h2,
.soe-standalone-2026 .top-header h3,
.soe-standalone-2026 .top-header h4 { color:#26283a!important; }
.soe-standalone-2026 .top-header button {
  border:1px solid #e4e4ef!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
.soe-standalone-2026 .top-header input,
.soe-standalone-2026 .top-header select {
  background:#fff!important;
  color:#252838!important;
  border:1px solid #e0e3eb!important;
  border-radius:9px!important;
}
.soe-standalone-2026 .dashboard,
.soe-standalone-2026 .receivable-box,
.soe-standalone-2026 .metric-card,
.soe-standalone-2026 .kpi-card,
.soe-standalone-2026 .siri-card,
.soe-standalone-2026 .card,
.soe-standalone-2026 .panel {
  background:#fff!important;
  background-image:none!important;
  border:1px solid #e8eaf1!important;
  border-radius:17px!important;
  box-shadow:0 10px 28px rgba(29,30,55,.035)!important;
  color:#222538!important;
}
.soe-standalone-2026 .financial-overview,
.soe-standalone-2026 .financial-overview h1,
.soe-standalone-2026 .financial-overview h2,
.soe-standalone-2026 .amount,
.soe-standalone-2026 .receivable-amount,
.soe-standalone-2026 .header h2 { color:#222538!important; }
.soe-standalone-2026 .receivable-label,
.soe-standalone-2026 .metric-label {color:#73778b!important;}
.soe-standalone-2026 .metric-value {color:#6250d5!important;}
.soe-standalone-2026 .btn-action,
.soe-standalone-2026 .btn-primary {
  background:#7058f4!important;
  border-color:#7058f4!important;
  color:#fff!important;
  border-radius:10px!important;
}
.soe-standalone-2026 .btn-circle {background:#efedff!important;border:1px solid #e3ddff!important;color:#6250d5!important;}
.soe-standalone-2026 .table-responsive {border:1px solid #e8eaf1;border-radius:14px;background:#fff;overflow-x:auto;}
.soe-standalone-2026 .table > thead th {background:#f6f7fb!important;color:#62687b!important;border-color:#e8eaf1!important;}
.soe-standalone-2026 .table > tbody td {background:#fff!important;color:#303346!important;border-color:#efeff3!important;}
.soe-standalone-2026 .form-control {border:1px solid #e1e3ec!important;border-radius:10px!important;background:#fff!important;color:#222538!important;}

/* The legacy invoice desk was dark-on-dark. Make its own controls legible on a light workspace. */
.soe-standalone-2026 .section-header,
.soe-standalone-2026 .invoice-table-container,
.soe-standalone-2026 .chat-data-container {
  background:#fff!important;
  border:1px solid #e8eaf1!important;
  color:#2c3044!important;
  box-shadow:0 9px 30px rgba(30,32,56,.035)!important;
  border-radius:16px!important;
}
.soe-standalone-2026 .section-title h5,
.soe-standalone-2026 .revenue-amount { color:#25283b!important; }
.soe-standalone-2026 .revenue-label,
.soe-standalone-2026 .revenue-status,
.soe-standalone-2026 .section-count { color:#71768b!important; }
.soe-standalone-2026 .search-box,
.soe-standalone-2026 .chat-input-box {
  background:#f8f8fc!important;
  border:1px solid #e4e6ed!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
.soe-standalone-2026 .search-box input,
.soe-standalone-2026 .chat-input-box input { color:#222538!important;background:transparent!important; }
.soe-standalone-2026 .invoice-table { color:#2c3044!important; }
.soe-standalone-2026 .invoice-table thead tr { background:#f6f7fa!important; }
.soe-standalone-2026 .invoice-table th { color:#6f7385!important;border-color:#e7e9f0!important; }
.soe-standalone-2026 .invoice-table td { color:#303447!important;border-color:#eef0f5!important; }
.soe-standalone-2026 .invoice-table tbody tr:hover { background:#f8f7ff!important;box-shadow:none!important; }
.soe-standalone-2026 .status.paid { color:#1b8061!important;background:#e7f8ef!important;border-color:#cdebdc!important; }
.soe-standalone-2026 .status.pending { color:#956618!important;background:#fff4d9!important;border-color:#f5e2b8!important; }
.soe-standalone-2026 .status.overdue { color:#c84e5f!important;background:#fff0f2!important;border-color:#f3d3d9!important; }
.soe-standalone-2026 .btn-table { background:#f0eeff!important;color:#6551cd!important; }
.soe-standalone-2026 .btn-table:hover { background:#e8e3ff!important; }
.soe-standalone-2026 .container-fluid > .row > .col-md-12 > .row > .col-md-6:first-child > div[style*="color:white"] {
  color:#222538!important;
}

/* Editor surface positioning, pan and zoom transforms are intentionally not overridden. */

@media(min-width:1500px) {
 .soe-admin-workspace { padding-right:44px!important;padding-left:44px!important; }
 .soe-admin-topbar { margin-left:-44px!important;margin-right:-44px!important;padding-left:43px!important;padding-right:43px!important; }
}
@media(max-width:1199px) {
 .nav-bar { width:216px!important; }
 .soe-admin-workspace { width:calc(100% - 216px)!important;margin-left:216px!important;padding:0 20px 42px!important; }
 .soe-admin-topbar { margin-left:-20px!important;margin-right:-20px!important;padding:10px 20px!important; }
}
@media(max-width:960px) {
 .nav-bar { display:none!important; }
 .soe-admin-workspace { width:100%!important;margin:0!important;padding:0 16px 35px!important; }
 .soe-admin-topbar { margin:-0px -16px 22px!important;padding:10px 17px!important;min-height:66px; }
 .soe-admin-topbar .row > .col-md-7 { display:none!important; }
 .soe-admin-topbar .row > .col-md-5 { display:none!important; }
 .soe-mobile-toggle { display:inline-grid;place-items:center;flex:0 0 auto;margin-right:10px; }
 .soe-mobile-wordmark { display:inline-block!important;font:800 17px Manrope,sans-serif;letter-spacing:-.065em;color:#202037; }
 .soe-admin-topbar .row { margin-left:auto; }
 .soe-admin-workspace .container.mt-5 { margin-top:10px!important; }
 .soe-admin-workspace .panel-card { padding:17px!important; }
 .soe-login-2026 .soe-login-visual { flex-basis:350px; }
}
@media(max-width:700px) {
 body.soe-login-2026 { display:block!important;padding:22px 18px 44px; }
 .soe-login-2026 .soe-login-visual { padding:4px 4px 30px;max-width:500px;margin:0 auto; }
 .soe-login-2026 .soe-login-brand { margin-bottom:30px; }
 .soe-login-2026 .soe-login-visual h1 { font-size:39px;line-height:1.12;margin-bottom:11px; }
 .soe-login-2026 .soe-login-visual p { font-size:12px; }
 .soe-login-2026 .soe-login-eyebrow,.soe-login-2026 .soe-login-pills { display:none; }
 .soe-login-2026 .soe-login-card { margin:0 auto!important;padding:29px 25px!important; }
 .soe-admin-workspace .metric-card { min-height:130px;padding:15px!important; }
 .soe-admin-workspace .metric-value { font-size:25px; }
 .soe-admin-workspace .table-responsive { border-radius:12px; }
 .soe-admin-workspace .page-title { font-size:26px; }
 .soe-admin-workspace .panel-card { border-radius:15px!important; }
}
/* Preserve invoice printing and other printable documents. */
@media print {
  .nav-bar, .soe-admin-topbar, .soe-mobile-toggle, #mobile-nav { display:none!important; }
  .soe-admin-workspace {
    width:100%!important;
    margin:0!important;
    padding:0!important;
    min-height:0!important;
    background:#fff!important;
  }
  body { background:#fff!important;box-shadow:none!important; }
  .soe-admin-workspace .invoice-paper { box-shadow:none!important; }
}

@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important; }
}
