:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #fafbfc;
  --ink: #111318;
  --ink-soft: #2a303a;
  --muted: #6b7280;
  --line: #dde1e7;
  --line-soft: #eef0f3;
  --black: #07090d;
  --black-2: #0e1219;
  --black-3: #161b24;
  --red: #cf202d;
  --red-2: #a81722;
  --green: #147a55;
  --amber: #a36712;
  --radius: 8px;
  --sidebar: 264px;
  --shadow: 0 14px 34px rgba(17, 19, 24, .08);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100svh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef1f5 0, var(--bg) 260px),
    var(--bg);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.mobile-appbar,
.mobile-scrollnav,
.mobile-tabbar {
  display: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 14px 12px;
  background:
    linear-gradient(180deg, rgba(207,32,45,.13), transparent 180px),
    var(--black);
  color: #fff;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
}
.brand-block {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), #7d1119);
  color: #fff;
  font-weight: 950;
  letter-spacing: .04em;
}
.brand-block strong {
  display: block;
  font-size: 15px;
  letter-spacing: .08em;
}
.brand-block small {
  display: block;
  color: rgba(255,255,255,.58);
  margin-top: 2px;
  font-size: 12px;
}
.side-nav {
  display: grid;
  gap: 2px;
}
.side-nav a, .logout-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border-radius: 7px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 650;
  transition: background .14s ease, color .14s ease, transform .14s ease;
}
.side-nav a:hover, .logout-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.side-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(207,32,45,.95), rgba(207,32,45,.16));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.side-nav a.active .icon { color: #fff; }
.logout-link {
  margin-top: auto;
  color: rgba(255,255,255,.54);
}

.workspace {
  min-width: 0;
  padding: 24px;
}
.workspace-head {
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.workspace-head h1 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}
.workspace-head span, .eyebrow, .muted {
  color: var(--muted);
}
.workspace-head > div:first-child > span {
  display: block;
  margin-top: 7px;
  font-size: 15px;
}
.eyebrow {
  margin: 0 0 7px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  color: #4b5563;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-chip {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 22px rgba(17, 19, 24, .05);
}
.user-chip b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--black);
  color: #fff;
  font-size: 12px;
}
.user-chip span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

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

.panel, .metric {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel {
  overflow: hidden;
}
.panel.pad {
  padding: 18px;
}
.panel-head {
  min-height: 56px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff, #fafbfc);
}
.panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
}
.metric {
  min-height: 116px;
  padding: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
}
.metric .icon {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
}
.metric span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.metric strong {
  margin-top: 3px;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
th {
  color: #7a8392;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 900;
  background: #fbfcfd;
}
td {
  color: var(--ink-soft);
  font-size: 14px;
}
tr:hover td {
  background: #fbfcfd;
}
tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef1f5;
  color: #374151;
  font-size: 12px;
  font-weight: 850;
}
.badge.red { background: #feecee; color: var(--red-2); }
.badge.green { background: #eaf7f1; color: var(--green); }
.badge.amber { background: #fff6df; color: var(--amber); }

.btn {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(207,32,45,.18);
}
.btn.secondary { background: var(--black-2); box-shadow: none; }
.btn.light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.form-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: grid;
  gap: 7px;
  color: #596273;
  font-weight: 850;
  font-size: 12px;
}
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}
textarea {
  min-height: 92px;
  padding: 10px 12px;
  resize: vertical;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(207,32,45,.13);
  border-color: var(--red);
}
.flash {
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-weight: 850;
}
.flash.success { background: #eaf7f1; color: var(--green); }
.flash.error { background: #feecee; color: var(--red-2); }

.kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding: 12px;
}
.lane {
  min-height: 250px;
  border-radius: 8px;
  padding: 10px;
  background: #f4f6f8;
  border: 1px solid #e9edf2;
}
.lane h3 {
  margin: 0 0 10px;
  font-size: 12px;
  color: #697386;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lane h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--red);
  border-radius: 99px;
}
.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 16px rgba(17, 19, 24, .04);
}
.order-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}
.order-card span {
  color: var(--muted);
  font-size: 13px;
}
.empty-state-row {
  min-height: 82px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
}

.client-shell {
  background: #07090d;
  color: #fff;
}
.client-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(207,32,45,.18), transparent 360px),
    #07090d;
}
.client-card {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 16px;
}
.client-card > section {
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.client-card input, .client-card textarea, .client-card select {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.client-card label { color: rgba(255,255,255,.72); }
.client-card h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: .96;
  margin: 0 0 14px;
  font-weight: 950;
}
.client-card h2 { margin-top: 0; }

@media (max-width: 1100px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
  }
  .side-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-4, .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-card { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .workspace { padding: 14px; }
  .workspace-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .side-nav { grid-template-columns: 1fr; }
  .grid.cols-4, .grid.cols-3, .grid.cols-2, .form-grid { grid-template-columns: 1fr; }
  .head-actions { width: 100%; justify-content: flex-start; }
  th, td { white-space: normal; }
}

/* BLACK STUDIO premium cockpit theme */
body {
  background:
    linear-gradient(180deg, #e9edf2 0, #f5f6f8 360px),
    radial-gradient(circle at 85% 12%, rgba(207,32,45,.10), transparent 320px),
    var(--bg);
}
.admin-shell {
  grid-template-columns: 292px minmax(0, 1fr);
}
.sidebar {
  padding: 16px;
  background:
    radial-gradient(circle at 20% 0, rgba(207,32,45,.24), transparent 260px),
    linear-gradient(180deg, #080b11 0, #05070a 100%);
}
.brand-block {
  min-height: 76px;
  padding: 13px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
    linear-gradient(135deg, rgba(207,32,45,.22), transparent 58%);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 28px rgba(207,32,45,.22);
}
.brand-block strong {
  font-size: 16px;
}
.brand-block small {
  color: rgba(255,255,255,.66);
}
.side-nav {
  gap: 5px;
}
.side-nav a,
.logout-link {
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid transparent;
  color: rgba(255,255,255,.66);
}
.side-nav a .icon,
.logout-link .icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 9px;
  background: rgba(255,255,255,.055);
}
.side-nav a:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}
.side-nav a.active {
  background: linear-gradient(90deg, rgba(207,32,45,.98), rgba(207,32,45,.18));
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 12px 26px rgba(207,32,45,.16);
}
.side-nav a.active .icon {
  background: rgba(255,255,255,.18);
}
.workspace {
  padding: 28px 30px 44px;
}
.workspace-head {
  min-height: 84px;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(17,19,24,.08);
}
.page-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #111318, #242b36),
    var(--black);
  color: #fff;
  box-shadow: 0 18px 34px rgba(17,19,24,.16);
}
.page-icon .icon {
  width: 25px;
  height: 25px;
}
.system-pill {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(20,122,85,.16);
  border-radius: 999px;
  background: #edf8f3;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}
.system-pill i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20,122,85,.10);
}
.ops-hero {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  margin-bottom: 16px;
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(207,32,45,.28), transparent 42%),
    radial-gradient(circle at 78% 14%, rgba(255,255,255,.10), transparent 280px),
    linear-gradient(135deg, #080b10, #171d27);
  box-shadow: 0 24px 60px rgba(17,19,24,.22);
  overflow: hidden;
}
.ops-hero h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: .96;
  letter-spacing: 0;
}
.ops-hero p {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.70);
  font-size: 15px;
  line-height: 1.55;
}
.ops-hero .eyebrow {
  color: rgba(255,255,255,.62);
}
.ops-signal {
  display: grid;
  align-content: center;
  gap: 10px;
}
.ops-signal span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  background: rgba(255,255,255,.075);
  color: rgba(255,255,255,.74);
  font-weight: 800;
}
.ops-signal b {
  font-size: 28px;
  color: #fff;
}
.metric {
  min-height: 136px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,251,252,.96));
  border-color: rgba(17,19,24,.08);
}
.metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
}
.metric .icon {
  background: linear-gradient(135deg, #10141c, #29313d);
  box-shadow: 0 12px 22px rgba(17,19,24,.14);
}
.panel {
  border-color: rgba(17,19,24,.08);
  box-shadow: 0 18px 42px rgba(17,19,24,.08);
}
.panel-head {
  min-height: 62px;
}
.panel-head h2 {
  font-size: 17px;
}
.kanban {
  grid-template-columns: repeat(5, minmax(215px, 1fr));
}
.lane {
  background:
    linear-gradient(180deg, #f6f7f9, #eef1f5);
  border-color: #e4e8ee;
}
.lane h3 {
  color: #3c4452;
}
.order-card {
  border-color: #e4e8ee;
}
.btn {
  background: linear-gradient(135deg, var(--red), #9f121c);
}
.btn.light {
  background: #fff;
}
input, select, textarea {
  background: #fbfcfd;
}
.client-hero {
  background:
    radial-gradient(circle at 18% 8%, rgba(207,32,45,.28), transparent 320px),
    linear-gradient(135deg, #07090d, #141a23);
}
.client-card > section {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(10px);
}

@media (max-width: 1100px) {
  .admin-shell { grid-template-columns: 1fr; }
  .ops-hero { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .workspace { padding: 14px; }
  .workspace-head { align-items: flex-start; }
  .page-title { align-items: flex-start; }
  .system-pill { display: none; }
  .ops-hero { padding: 18px; }
}

/* Mobile app layout */
@media (max-width: 820px) {
  html {
    background: #eef1f5;
  }
  body {
    overflow-x: hidden;
    background:
      linear-gradient(180deg, #07090d 0, #111722 168px, #eef1f5 168px, #eef1f5 100%);
  }
  .admin-shell {
    display: block;
    padding-top: calc(68px + env(safe-area-inset-top));
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .sidebar {
    display: none;
  }
  .mobile-appbar {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    right: 0;
    height: calc(62px + env(safe-area-inset-top));
    padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background:
      linear-gradient(135deg, rgba(207,32,45,.24), transparent 52%),
      #07090d;
    color: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.20);
  }
  .mobile-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 950;
    letter-spacing: .04em;
  }
  .mobile-brand b {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--red), #8e121b);
    font-size: 12px;
  }
  .mobile-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
  }
  .mobile-page {
    min-width: 0;
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 850;
  }
  .mobile-page .icon {
    width: 16px;
    height: 16px;
  }
  .mobile-scrollnav {
    position: sticky;
    z-index: 30;
    top: calc(62px + env(safe-area-inset-top));
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px 12px;
    margin-top: -6px;
    background: #111722;
    color: #fff;
    scrollbar-width: none;
  }
  .mobile-scrollnav::-webkit-scrollbar {
    display: none;
  }
  .mobile-scrollnav a {
    flex: 0 0 auto;
    height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.76);
    font-size: 12px;
    font-weight: 850;
  }
  .mobile-scrollnav a.active {
    background: var(--red);
    color: #fff;
    border-color: rgba(255,255,255,.16);
  }
  .mobile-scrollnav .icon {
    width: 16px;
    height: 16px;
  }
  .mobile-tabbar {
    position: fixed;
    z-index: 45;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 64px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(7,9,13,.94);
    color: #fff;
    box-shadow: 0 20px 44px rgba(0,0,0,.32);
    backdrop-filter: blur(12px);
  }
  .mobile-tabbar a {
    min-width: 0;
    min-height: 50px;
    display: grid;
    place-items: center;
    gap: 3px;
    border-radius: 13px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 850;
  }
  .mobile-tabbar a.active {
    background: linear-gradient(135deg, rgba(207,32,45,.95), rgba(207,32,45,.34));
    color: #fff;
  }
  .mobile-tabbar .icon {
    width: 20px;
    height: 20px;
  }
  .workspace {
    padding: 12px 12px 0;
  }
  .workspace-head {
    min-height: 0;
    display: block;
    padding: 14px 2px 12px;
    margin: 0;
    border-bottom: 0;
    color: #fff;
  }
  .page-title {
    gap: 10px;
  }
  .page-icon {
    display: none;
  }
  .workspace-head h1 {
    font-size: 24px;
    line-height: 1.08;
    color: #fff;
  }
  .workspace-head > div:first-child > span,
  .workspace-head .eyebrow {
    color: rgba(255,255,255,.70);
  }
  .head-actions {
    display: none;
  }
  .flash {
    margin: 0 0 10px;
  }
  .ops-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    margin: 0 0 12px;
    border-radius: 16px;
  }
  .ops-hero h2 {
    font-size: 31px;
  }
  .ops-hero p {
    margin-top: 10px;
    font-size: 13px;
  }
  .ops-signal {
    grid-template-columns: 1fr;
  }
  .ops-signal span {
    min-height: 48px;
    border-radius: 12px;
  }
  .ops-signal b {
    font-size: 22px;
  }
  .grid,
  .grid.cols-2,
  .grid.cols-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .metric {
    min-height: 112px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 13px;
    border-radius: 14px;
  }
  .metric .icon {
    width: 34px;
    height: 34px;
    padding: 8px;
  }
  .metric span {
    font-size: 11px;
  }
  .metric strong {
    font-size: 24px;
    word-break: break-word;
  }
  .panel {
    border-radius: 14px;
  }
  .panel.pad {
    padding: 14px;
  }
  .panel-head {
    min-height: 52px;
    padding: 12px 14px;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  .kanban {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory;
  }
  .lane {
    flex: 0 0 78vw;
    min-height: 230px;
    scroll-snap-align: start;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  label {
    font-size: 12px;
  }
  input,
  select,
  textarea {
    min-height: 48px;
    border-radius: 10px;
    font-size: 16px;
  }
  textarea {
    min-height: 104px;
  }
  .btn {
    width: 100%;
    min-height: 48px;
    border-radius: 11px;
  }
  .table-wrap {
    overflow: visible;
    background: transparent;
  }
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  thead {
    display: none;
  }
  tr {
    margin: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(17,19,24,.06);
    overflow: hidden;
  }
  td {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-soft);
    white-space: normal;
  }
  td:first-child {
    font-weight: 900;
    color: var(--ink);
    background: #fbfcfd;
  }
  td:last-child {
    border-bottom: 0;
  }
  td form {
    width: 100%;
  }
  .badge {
    min-height: 28px;
  }
  .client-shell {
    background: #07090d;
  }
  .client-hero {
    min-height: 100svh;
    align-items: start;
    padding: calc(18px + env(safe-area-inset-top)) 12px calc(22px + env(safe-area-inset-bottom));
  }
  .client-card {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .client-card > section {
    padding: 16px;
    border-radius: 16px;
  }
  .client-card h1 {
    font-size: 42px;
  }
  .client-card h2 {
    font-size: 20px;
  }
}

@media (max-width: 390px) {
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }
  .mobile-tabbar span {
    display: none;
  }
  .mobile-tabbar a {
    min-height: 48px;
  }
}

/* Enterprise SaaS cockpit layout */
.desktop-topbar,
.desktop-nav {
  display: none;
}

@media (min-width: 821px) {
  body {
    background: #eef1f7;
  }
  .admin-shell {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .desktop-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 68px;
    display: grid;
    grid-template-columns: 178px 270px minmax(280px, 1fr) auto auto auto;
    align-items: center;
    gap: 18px;
    padding: 0 40px;
    background: #202020;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.16);
  }
  .top-brand {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 25px;
    letter-spacing: -.04em;
    font-weight: 950;
  }
  .top-brand span {
    color: #f5f5f5;
  }
  .top-brand small {
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    color: #202020;
    font-size: 10px;
    letter-spacing: .12em;
  }
  .company-switch {
    min-width: 0;
    display: grid;
    gap: 2px;
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.16);
  }
  .company-switch b {
    font-size: 12px;
  }
  .company-switch span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
  }
  .global-search {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    color: #8a90a3;
  }
  .global-search .icon {
    width: 20px;
    height: 20px;
  }
  .global-search input {
    min-height: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #777f94;
    font-size: 15px;
  }
  .feature-pill,
  .menu-pill {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: #202020;
    font-weight: 900;
    white-space: nowrap;
  }
  .feature-pill {
    background: #111;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  }
  .notification-dot {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
  }
  .notification-dot i {
    position: absolute;
    right: 6px;
    top: 5px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
  }
  .desktop-nav {
    position: sticky;
    top: 68px;
    z-index: 45;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 40px;
    background: #fff;
    border-bottom: 1px solid #e2e6ee;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .desktop-nav::-webkit-scrollbar {
    display: none;
  }
  .desktop-nav a {
    flex: 0 0 auto;
    height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    color: #1f2937;
    border-bottom: 3px solid transparent;
    font-weight: 800;
    font-size: 14px;
  }
  .desktop-nav a.active {
    color: #111;
    border-bottom-color: var(--red);
  }
  .desktop-nav .icon {
    width: 16px;
    height: 16px;
    color: #99a0b3;
  }
  .workspace {
    width: min(100%, 1920px);
    margin: 0 auto;
    padding: 34px 40px 46px;
  }
  .workspace-head {
    min-height: 0;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
  }
  .page-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }
  .workspace-head h1 {
    font-size: 24px;
  }
  .workspace-head > div:first-child > span {
    font-size: 14px;
  }
  .welcome-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
  }
  .welcome-bar h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.05;
  }
  .welcome-bar span {
    display: block;
    margin-top: 6px;
    color: #364152;
    font-size: 15px;
  }
  .quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }
  .quick-actions .btn {
    width: auto;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    background: #35d084;
    color: #fff;
    box-shadow: none;
    white-space: nowrap;
  }
  .quick-actions .btn.dark {
    background: #fff;
    color: #111;
  }
  .dashboard-suite {
    display: grid;
    grid-template-columns: 1.05fr 1.38fr 1.05fr;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
  }
  .suite-card {
    min-width: 0;
    min-height: 360px;
    padding: 22px;
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(28, 36, 56, .06);
  }
  .suite-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6e9f1;
  }
  .suite-head h2 {
    margin: 0;
    font-size: 16px;
  }
  .suite-head span {
    color: #20c879;
    font-weight: 900;
    font-size: 14px;
  }
  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    padding-top: 18px;
  }
  .calendar-grid b {
    min-height: 30px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
  }
  .calendar-grid span {
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #edf0f8;
    font-weight: 750;
  }
  .calendar-grid .blank {
    background: transparent;
  }
  .calendar-grid .today {
    background: #a8aec4;
    color: #fff;
    font-weight: 950;
  }
  .calendar-note {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #e6e9f1;
    color: #111;
    font-size: 13px;
  }
  .calendar-note b {
    color: #8a00ff;
  }
  .legend-row {
    min-height: 44px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 12px;
    color: #111;
  }
  .dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 7px;
    transform: rotate(45deg);
    background: #111;
  }
  .dot.amber { background: #ffb200; }
  .dot.green { background: #35d084; }
  .dot.blue { background: #4b98ff; }
  .dot.red { background: #ff3048; }
  .dot.black { background: #111; }
  .sales-chart {
    display: grid;
    gap: 18px;
    padding-top: 10px;
  }
  .sales-chart div {
    position: relative;
    height: 18px;
    border-bottom: 1px dashed #a9b2cf;
  }
  .sales-chart span {
    position: absolute;
    left: 0;
    bottom: 4px;
    color: #8c94b2;
    font-size: 12px;
  }
  .chart-footer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
  }
  .chart-footer b:nth-child(1) { color: #ffb200; }
  .chart-footer b:nth-child(2) { color: #35d084; }
  .chart-footer b:nth-child(3) { color: #4b98ff; }
  .chart-footer b:nth-child(4) { color: #ff3048; }
  .finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding-top: 20px;
  }
  .finance-grid > div {
    min-height: 154px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
  }
  .finance-grid span {
    color: #111;
    font-size: 13px;
  }
  .finance-grid b {
    font-size: 25px;
    color: #20c879;
  }
  .finance-in { background: #eafff4; }
  .finance-out { background: #fff0f3; }
  .finance-out b { color: #ff3048; }
  .finance-wide {
    grid-column: 1 / -1;
    background: #fff9e9;
  }
  .finance-wide b { color: #ffb200; }
  .mini-panels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
  }
  .mini-panels article {
    min-height: 138px;
    padding: 20px;
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(28, 36, 56, .05);
  }
  .mini-panels h3 {
    margin: 0 0 18px;
    font-size: 16px;
  }
  .mini-panels strong {
    display: block;
    font-size: 33px;
    line-height: 1;
    color: #ffb200;
  }
  .mini-panels span {
    display: block;
    margin-top: 6px;
    color: #111;
    font-size: 13px;
  }
  .compact-metrics {
    margin-bottom: 18px;
  }
  .below-dashboard {
    margin-top: 0 !important;
  }
  .metric {
    min-height: 106px;
  }
}

@media (max-width: 1300px) and (min-width: 821px) {
  .desktop-topbar {
    grid-template-columns: 150px 210px minmax(240px, 1fr) auto;
  }
  .feature-pill,
  .notification-dot {
    display: none;
  }
  .dashboard-suite {
    grid-template-columns: 1fr;
  }
  .mini-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .desktop-topbar,
  .desktop-nav {
    display: none;
  }
  .welcome-bar {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
    color: #fff;
  }
  .welcome-bar h2 {
    margin: 0;
    font-size: 24px;
  }
  .welcome-bar span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
  }
  .quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .quick-actions .btn {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
  }
  .dashboard-suite,
  .mini-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .suite-card,
  .mini-panels article {
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .suite-card {
    min-height: auto;
  }
  .suite-head {
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
  }
  .calendar-grid {
    gap: 3px;
    padding-top: 10px;
  }
  .calendar-grid span {
    min-height: 38px;
  }
  .sales-chart {
    gap: 10px;
  }
  .finance-grid {
    grid-template-columns: 1fr;
  }
  .finance-grid > div {
    min-height: 112px;
  }
  .compact-metrics {
    margin-bottom: 12px;
  }
}

/* BLACK STUDIO own premium side-menu layout */
@media (min-width: 821px) {
  .desktop-topbar,
  .desktop-nav,
  .top-brand,
  .company-switch,
  .global-search,
  .feature-pill,
  .notification-dot,
  .menu-pill {
    display: none !important;
  }
  body {
    background:
      radial-gradient(circle at 70% 0, rgba(207,32,45,.07), transparent 360px),
      #eef1f7;
  }
  .admin-shell {
    display: grid !important;
    grid-template-columns: 304px minmax(0, 1fr) !important;
  }
  .sidebar {
    display: flex !important;
    position: sticky;
    top: 0;
    height: 100svh;
    padding: 18px;
    background:
      radial-gradient(circle at 18% 0, rgba(207,32,45,.28), transparent 250px),
      linear-gradient(180deg, #080b11, #040609);
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.08);
  }
  .brand-block {
    min-height: 76px;
    margin-bottom: 12px;
    border-radius: 14px;
  }
  .sidebar-company {
    display: grid;
    gap: 2px;
    padding: 13px 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 13px;
    background: rgba(255,255,255,.055);
  }
  .sidebar-company b {
    color: rgba(255,255,255,.58);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
  }
  .sidebar-company span {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
  }
  .side-nav {
    gap: 6px;
  }
  .side-nav a,
  .logout-link {
    min-height: 48px;
    border-radius: 12px;
  }
  .side-nav a .icon,
  .logout-link .icon {
    width: 32px;
    height: 32px;
    padding: 7px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
  }
  .side-nav a.active {
    background: linear-gradient(90deg, rgba(207,32,45,.98), rgba(207,32,45,.18));
    box-shadow: 0 12px 30px rgba(207,32,45,.18);
  }
  .workspace {
    width: min(100%, 1680px);
    max-width: none;
    margin: 0 auto;
    padding: 28px 34px 70px;
  }
  .page-dashboard .workspace-head {
    display: flex;
  }
  .workspace-head {
    min-height: 78px;
    align-items: center;
    padding: 0 0 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(28,36,56,.10);
  }
  .page-icon {
    display: grid;
  }
  .head-actions {
    display: flex;
  }
  .welcome-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    margin-bottom: 20px;
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
      #fff;
    border: 1px solid rgba(28,36,56,.08);
    box-shadow: 0 18px 42px rgba(28,36,56,.06);
  }
  .welcome-bar .eyebrow {
    display: block;
    color: var(--red);
  }
  .welcome-bar h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 950;
  }
  .welcome-bar span {
    display: block;
    margin-top: 4px;
    color: #425066;
  }
  .quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }
  .quick-actions .btn {
    width: auto;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), #9f121c);
  }
  .quick-actions .btn.dark {
    background: #10141c;
    color: #fff;
  }
  .dashboard-suite {
    display: grid;
    grid-template-columns: minmax(300px, .95fr) minmax(420px, 1.35fr) minmax(300px, .95fr);
    gap: 18px;
    margin-bottom: 18px;
  }
  .suite-card {
    min-height: 430px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(28,36,56,.08);
    background: #fff;
    box-shadow: 0 18px 42px rgba(28,36,56,.06);
  }
  .mini-panels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
  }
  .mini-panels article {
    min-height: 132px;
    border-radius: 14px;
    border: 1px solid rgba(28,36,56,.08);
    box-shadow: 0 18px 42px rgba(28,36,56,.05);
  }
  .compact-metrics {
    display: grid;
    margin-bottom: 18px;
  }
  .below-dashboard {
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
  }
}

/* Professional login screen */
.login-shell {
  min-height: 100svh;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(207,32,45,.34), transparent 330px),
    radial-gradient(circle at 80% 8%, rgba(255,255,255,.08), transparent 300px),
    linear-gradient(135deg, #07090d 0, #111722 52%, #07090d 100%);
}
.login-stage {
  min-height: 100svh;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 18px;
  padding: 40px 0;
}
.login-brand-panel,
.login-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.065);
  box-shadow: 0 34px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}
.login-brand-panel {
  min-height: 520px;
  padding: 34px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  position: relative;
}
.login-brand-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}
.login-logo b,
.login-lock {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), #8e121b);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(207,32,45,.22);
}
.login-logo span {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .08em;
}
.login-brand-panel .eyebrow,
.login-card .eyebrow {
  color: rgba(255,255,255,.56);
}
.login-brand-panel h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .96;
  letter-spacing: 0;
}
.login-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 16px;
  line-height: 1.55;
}
.login-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}
.login-metrics article {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}
.login-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}
.login-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.60);
  font-size: 12px;
  font-weight: 800;
}
.login-status {
  min-height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  margin-top: 10px;
  justify-self: stretch;
  border: 1px solid rgba(53,208,132,.20);
  border-radius: 14px;
  background: rgba(53,208,132,.10);
  color: #b8f5d8;
  font-weight: 850;
}
.login-status i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35d084;
  box-shadow: 0 0 0 7px rgba(53,208,132,.12);
}
.login-card {
  padding: 30px;
}
.login-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.login-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}
.login-form {
  display: grid;
  gap: 16px;
}
.login-form label {
  color: rgba(255,255,255,.72);
}
.login-form input {
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: #111318;
  font-weight: 800;
}
.login-form input:focus {
  outline: 4px solid rgba(207,32,45,.18);
  border-color: rgba(207,32,45,.78);
}
.login-form .btn {
  min-height: 54px;
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 18px 34px rgba(207,32,45,.22);
}
.login-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.56);
  font-size: 12px;
}
.login-foot b {
  color: #fff;
  letter-spacing: .08em;
}

@media (max-width: 860px) {
  .login-stage {
    width: min(100%, calc(100% - 24px));
    grid-template-columns: 1fr;
    align-items: start;
    padding: calc(18px + env(safe-area-inset-top)) 0 calc(18px + env(safe-area-inset-bottom));
  }
  .login-brand-panel {
    min-height: auto;
    padding: 22px;
  }
  .login-logo {
    margin-bottom: 22px;
  }
  .login-brand-panel h1 {
    font-size: 42px;
  }
  .login-copy {
    font-size: 14px;
  }
  .login-metrics {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .login-metrics article {
    min-height: 70px;
  }
  .login-status {
    margin-top: 18px;
  }
  .login-card {
    padding: 22px;
  }
}

/* Dashboard inspired by large SaaS management systems */
@media (min-width: 821px) {
  body {
    background: #edf1fb;
  }
  .page-dashboard .workspace-head {
    display: none;
  }
  .desktop-topbar {
    min-height: 68px;
    grid-template-columns: 190px 300px minmax(360px, 1fr) auto 44px auto;
    padding: 0 38px;
    background: #202020;
    border-bottom: 0;
  }
  .top-brand {
    letter-spacing: -.06em;
  }
  .top-brand strong,
  .top-brand span {
    font-size: 26px;
  }
  .top-brand small {
    margin-left: 9px;
    padding: 4px 9px;
    font-size: 9px;
    letter-spacing: .16em;
  }
  .company-switch {
    min-height: 48px;
    align-content: center;
  }
  .global-search {
    max-width: 760px;
    justify-self: center;
    width: 100%;
    height: 46px;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e4e7ef;
  }
  .feature-pill {
    height: 38px;
    padding: 0 18px;
    margin-left: -190px;
    background: #1d1d1d;
    border: 4px solid #fff;
    box-shadow: none;
  }
  .menu-pill {
    height: 40px;
    padding: 0 18px;
    font-size: 15px;
  }
  .notification-dot {
    width: 40px;
    height: 40px;
  }
  .desktop-nav {
    top: 68px;
    min-height: 45px;
    padding: 0 40px;
    gap: 12px;
    background: #fff;
  }
  .desktop-nav a {
    height: 45px;
    padding: 0;
    border-bottom: 0;
    font-size: 15px;
    font-weight: 760;
  }
  .desktop-nav a.active {
    color: #f6af00;
  }
  .desktop-nav a.active .icon {
    color: #f6af00;
  }
  .workspace {
    width: 100%;
    max-width: none;
    padding: 40px 40px 70px;
  }
  .welcome-bar {
    min-height: 84px;
    margin-bottom: 20px;
  }
  .welcome-bar .eyebrow {
    display: none;
  }
  .welcome-bar h2 {
    font-size: 24px;
    font-weight: 900;
  }
  .welcome-bar span {
    margin-top: 2px;
    color: #111;
  }
  .quick-actions {
    gap: 12px;
  }
  .quick-actions .btn {
    min-height: 52px;
    min-width: 160px;
    padding: 0 22px;
    background: #3bd184;
    border-radius: 999px;
    font-size: 15px;
  }
  .quick-actions .btn.dark {
    min-width: 52px;
    width: 52px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: #fff;
  }
  .quick-actions .btn.dark .icon {
    color: #111;
  }
  .dashboard-suite {
    grid-template-columns: 29.5% minmax(430px, 39.5%) 29.5%;
    gap: 20px;
    margin-bottom: 20px;
  }
  .suite-card {
    min-height: 485px;
    padding: 22px;
    border-radius: 8px;
    box-shadow: none;
    border: 0;
  }
  .suite-head {
    min-height: 36px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dde2ef;
  }
  .suite-head h2 {
    font-size: 16px;
    font-weight: 850;
  }
  .suite-head span {
    color: #35d084;
    font-size: 15px;
  }
  .calendar-grid {
    gap: 4px;
    padding-top: 18px;
  }
  .calendar-grid b {
    min-height: 36px;
    font-size: 13px;
  }
  .calendar-grid span {
    min-height: 52px;
    border-radius: 6px;
    background: #e9edf7;
    font-size: 16px;
    font-weight: 720;
  }
  .calendar-grid .today {
    background: #9ba2bb;
  }
  .calendar-note {
    margin-top: 8px;
  }
  .legend-row {
    justify-content: space-between;
    gap: 10px;
  }
  .sales-chart {
    gap: 20px;
  }
  .sales-chart div {
    height: 24px;
  }
  .finance-grid {
    gap: 5px;
  }
  .finance-grid > div {
    min-height: 180px;
  }
  .finance-wide {
    min-height: 180px !important;
    grid-template-columns: 1fr auto;
    place-items: center stretch !important;
    text-align: left !important;
  }
  .finance-wide b {
    text-align: right;
    font-size: 26px;
  }
  .mini-panels {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }
  .mini-panels article {
    min-height: 140px;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
  }
  .mini-panels h3 {
    padding-bottom: 16px;
    border-bottom: 1px solid #dde2ef;
    font-size: 16px;
    font-weight: 850;
  }
  .mini-panels strong {
    color: #ffb200;
    font-size: 31px;
  }
  .compact-metrics {
    display: none;
  }
  .below-dashboard {
    grid-template-columns: 1.25fr .75fr;
    gap: 20px;
  }
  .panel {
    border: 0;
    border-radius: 8px;
    box-shadow: none;
  }
  .panel-head {
    background: #fff;
  }
}
