@import url("data:text/css,");

:root {
  --navy-950: #05121f;
  --navy-900: #07192b;
  --navy-800: #0b2842;
  --navy-700: #163b5a;
  --orange-600: #ee6800;
  --orange-500: #ff7a00;
  --orange-100: #fff0e2;
  --ink: #112033;
  --ink-soft: #344457;
  --muted: #718092;
  --line: #e2e8ed;
  --line-strong: #cdd7df;
  --canvas: #f2f5f7;
  --surface: #ffffff;
  --surface-soft: #f8fafb;
  --green: #0e9e69;
  --green-soft: #e5f7f0;
  --red: #d7443e;
  --red-soft: #feebea;
  --amber: #bd7108;
  --amber-soft: #fff4d6;
  --blue: #3478f6;
  --blue-soft: #eaf1ff;
  --sidebar-w: 268px;
  --topbar-h: 76px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-soft: 0 10px 36px rgba(14, 32, 52, .07);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 19px; height: 19px; stroke-width: 1.8; }

:focus-visible {
  outline: 3px solid rgba(255, 122, 0, .34);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--orange-500);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.brand-lockup {
  position: relative;
  height: 86px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 16px 22px 13px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup img {
  display: block;
  width: 206px;
  height: auto;
  object-fit: contain;
}

.brand-lockup > span {
  position: absolute;
  right: 20px;
  bottom: 8px;
  padding: 2px 6px;
  border: 1px solid #ffc48e;
  border-radius: 100px;
  color: var(--orange-600);
  background: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.workspace-switcher {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  margin: 15px 14px 9px;
  padding: 10px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 12px;
}

.workspace-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: var(--navy-900);
  background: var(--orange-500);
  font-size: 11px;
  font-weight: 900;
}

.workspace-switcher strong,
.workspace-switcher small,
.user-card strong,
.user-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher strong { font-size: 12px; }
.workspace-switcher small { color: #9eb0c1; font-size: 10px; }
.workspace-switcher button,
.user-card button { display: grid; padding: 0; border: 0; place-items: center; background: transparent; cursor: pointer; }
.workspace-switcher svg { width: 15px; color: #9eb0c1; }

.side-nav {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 12px 18px;
  scrollbar-width: thin;
  scrollbar-color: #cdd7df transparent;
}

.nav-group + .nav-group { margin-top: 19px; }
.nav-label {
  display: block;
  padding: 0 9px 6px;
  color: #95a2af;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.nav-item {
  position: relative;
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  color: #536275;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-item + .nav-item { margin-top: 2px; }
.nav-item svg { width: 17px; height: 17px; }
.nav-item:hover { color: var(--navy-900); background: #f2f5f7; transform: translateX(2px); }
.nav-item.is-active { color: var(--navy-900); background: #ebf0f3; font-weight: 750; }
.nav-item.is-active::before {
  content: "";
  position: absolute;
  left: -12px;
  width: 3px;
  height: 22px;
  border-radius: 0 4px 4px 0;
  background: var(--orange-500);
}

.nav-item b,
.nav-item kbd {
  min-width: 20px;
  padding: 2px 6px;
  border: 0;
  border-radius: 100px;
  color: var(--orange-600);
  background: var(--orange-100);
  font-family: inherit;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.nav-item b.soft { color: #5e6c7a; background: #edf1f4; }
.nav-item b.danger { color: var(--red); background: var(--red-soft); }
.nav-item b.success { color: var(--green); background: var(--green-soft); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa7b2; }
.status-dot.is-live { background: var(--green); box-shadow: 0 0 0 4px rgba(14, 158, 105, .1); }

.sidebar-footer {
  flex: 0 0 auto;
  padding: 10px 12px 13px;
  background: #fbfcfd;
  border-top: 1px solid var(--line);
}

.user-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 10px 7px 0;
  border-top: 1px solid var(--line);
}

.user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-800);
  font-size: 10px;
  font-weight: 800;
}

.user-card strong { font-size: 11px; }
.user-card small { color: var(--muted); font-size: 9.5px; }
.user-card button svg { width: 16px; color: var(--muted); }

.main-shell { min-height: 100vh; margin-left: var(--sidebar-w); }

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--topbar-h);
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(280px, 1.25fr) minmax(250px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 11px clamp(20px, 2.5vw, 38px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar-start { display: flex; align-items: center; gap: 10px; }
.page-identity span,
.eyebrow {
  display: block;
  color: var(--orange-600);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
}
.page-identity h1 { margin: 1px 0 0; color: var(--navy-900); font-size: 20px; line-height: 1.2; }
.mobile-menu { display: none !important; }

.global-search {
  position: relative;
  height: 43px;
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 11px 0 13px;
  background: #f2f5f7;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background 180ms ease, border-color 180ms ease;
}
.global-search:focus-within { background: #fff; border-color: #aebcc7; }
.global-search svg { width: 17px; color: #8a98a6; }
.global-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12.5px; }
.global-search input::placeholder { color: #8996a4; }
.global-search kbd { padding: 3px 6px; color: #7e8c99; background: #fff; border: 1px solid #d9e0e5; border-radius: 5px; font-family: inherit; font-size: 9px; box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 90;
  overflow: hidden;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(7, 25, 43, .16);
}
.search-results button { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.search-results button:hover { background: #f3f6f8; }
.search-results i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; color: var(--orange-600); background: var(--orange-100); }
.search-results strong, .search-results small { display: block; }
.search-results strong { font-size: 11px; }
.search-results small { color: var(--muted); font-size: 9.5px; }
.search-results em { color: var(--muted); font-size: 9px; font-style: normal; }

.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.sync-state { display: flex; align-items: center; gap: 7px; color: #607080; font-size: 10px; font-weight: 650; white-space: nowrap; }
.sync-state > i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(14, 158, 105, .1); }
.icon-button { position: relative; display: grid; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); place-items: center; border-radius: 11px; background: #fff; cursor: pointer; transition: border-color 160ms ease, transform 160ms ease; }
.icon-button:hover { border-color: #b9c5ce; transform: translateY(-1px); }
.icon-button svg { width: 18px; }
.icon-button b { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid #fff; border-radius: 10px; color: #fff; background: var(--orange-500); font-size: 8px; line-height: 13px; }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 750;
  font-size: 12px;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--orange-500); box-shadow: 0 8px 18px rgba(238, 104, 0, .16); }
.button.primary:hover { background: var(--orange-600); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.button.dark { color: #fff; background: var(--navy-900); }
.button.ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.button.compact { min-height: 40px; padding: 9px 13px; }
.button svg { width: 16px; }

.announcement {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 7px 20px;
  color: #dfeaf4;
  background: var(--navy-900);
  font-size: 10.5px;
}
.announcement span { display: flex; align-items: center; gap: 7px; }
.announcement svg { width: 14px; color: var(--orange-500); }
.announcement button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; color: #fff; background: transparent; font-weight: 750; cursor: pointer; }
.announcement button svg { width: 13px; color: #fff; }

.page-content { min-height: calc(100vh - 150px); padding: clamp(22px, 2.8vw, 40px); }
.app-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(22px, 2.8vw, 40px) 26px; color: #81909e; font-size: 10px; }
.app-footer a:hover { color: var(--orange-600); }

.command-hero {
  position: relative;
  isolation: isolate;
  min-height: 294px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-l);
  box-shadow: 0 18px 50px rgba(7, 25, 43, .13);
}
.command-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.command-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 410px;
  height: 410px;
  right: -130px;
  top: -160px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.025);
}

.hero-copy { padding: clamp(28px, 4vw, 54px); }
.hero-copy .eyebrow { color: #ffad61; }
.hero-copy h2 { max-width: 700px; margin: 9px 0 13px; font-size: clamp(30px, 4vw, 52px); line-height: 1.03; letter-spacing: -.045em; }
.hero-copy h2 em { color: var(--orange-500); font-style: normal; }
.hero-copy > p { max-width: 570px; margin: 0; color: #aec0cf; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.button.light { color: var(--navy-900); background: #fff; }
.button.line-light { color: #fff; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.22); }

.commerce-pulse {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 21px;
  padding: 22px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.pulse-head { display: flex; align-items: center; justify-content: space-between; color: #b4c3cf; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.pulse-head span { display: flex; align-items: center; gap: 7px; }
.pulse-head i { width: 7px; height: 7px; border-radius: 50%; background: #56d394; box-shadow: 0 0 0 5px rgba(86, 211, 148, .1); }
.pulse-main { display: grid; grid-template-columns: 126px 1fr; align-items: center; gap: 14px; }
.pulse-ring { position: relative; width: 126px; height: 126px; }
.pulse-ring svg { width: 126px; height: 126px; transform: rotate(-90deg); }
.pulse-ring circle { fill: none; stroke-width: 8; }
.pulse-ring .ring-bg { stroke: rgba(255,255,255,.1); }
.pulse-ring .ring-value { stroke: var(--orange-500); stroke-linecap: round; stroke-dasharray: 286; stroke-dashoffset: 62; }
.pulse-ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.pulse-ring strong { display: block; font-size: 24px; letter-spacing: -.04em; }
.pulse-ring small { color: #9fb0be; font-size: 9px; }
.pulse-copy strong { display: block; font-size: 15px; }
.pulse-copy p { margin: 4px 0 0; color: #9fb0be; font-size: 10px; }
.pulse-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 15px; border-top: 1px solid rgba(255,255,255,.12); }
.pulse-grid div { padding: 0 11px; border-right: 1px solid rgba(255,255,255,.11); }
.pulse-grid div:first-child { padding-left: 0; }
.pulse-grid div:last-child { padding-right: 0; border: 0; }
.pulse-grid strong, .pulse-grid small { display: block; }
.pulse-grid strong { font-size: 15px; }
.pulse-grid small { color: #97a9b7; font-size: 8.5px; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}
.metric-card { position: relative; min-height: 122px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 21px; }
.metric-card:not(:last-child)::after { content: ""; position: absolute; top: 23px; right: 0; bottom: 23px; width: 1px; background: var(--line); }
.metric-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--orange-600); background: var(--orange-100); }
.metric-icon.green { color: var(--green); background: var(--green-soft); }
.metric-icon.blue { color: var(--blue); background: var(--blue-soft); }
.metric-icon.red { color: var(--red); background: var(--red-soft); }
.metric-icon svg { width: 19px; }
.metric-copy small, .metric-copy strong, .metric-copy span { display: block; }
.metric-copy small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.metric-copy strong { margin-top: 1px; color: var(--navy-900); font-size: 23px; line-height: 1.2; letter-spacing: -.04em; }
.metric-copy span { margin-top: 4px; color: #667687; font-size: 9.5px; }
.trend { color: var(--green) !important; font-weight: 750; }
.trend.down { color: var(--red) !important; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(300px, .78fr); gap: 16px; margin-top: 16px; }
.panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-soft); }
.panel-head { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 2px 0 0; color: var(--navy-900); font-size: 16px; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.panel-head > a, .text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--orange-600); font-size: 10px; font-weight: 800; cursor: pointer; }
.panel-head > a svg, .text-link svg { width: 14px; }
.period-tabs { display: flex; padding: 3px; background: #f1f4f6; border-radius: 8px; }
.period-tabs button { padding: 5px 9px; border: 0; border-radius: 6px; color: #788694; background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }
.period-tabs button.is-active { color: var(--navy-900); background: #fff; box-shadow: 0 1px 4px rgba(13, 31, 50, .08); }

.sales-chart { min-height: 262px; padding: 19px 20px 16px; }
.sales-summary { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.sales-summary strong { display: block; color: var(--navy-900); font-size: 25px; letter-spacing: -.04em; }
.sales-summary span { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 9px; font-weight: 750; }
.chart-legend { display: flex; gap: 13px; color: var(--muted); font-size: 8.5px; }
.chart-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 2px; background: var(--orange-500); }
.chart-legend span:last-child i { background: #bfd0dc; }
.chart-canvas { position: relative; height: 155px; margin-top: 12px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 37px, #edf1f4 38px); }
.chart-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart-area { fill: url(#salesFill); stroke: none; }
.chart-line { fill: none; stroke: var(--orange-500); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-compare { fill: none; stroke: #b8c7d1; stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.chart-point { fill: #fff; stroke: var(--orange-500); stroke-width: 2.4; }
.chart-labels { display: flex; justify-content: space-between; margin-top: 7px; color: #8c99a6; font-size: 8px; }

.attention-list { padding: 5px 16px 11px; }
.attention-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid #edf1f4; }
.attention-item:last-child { border-bottom: 0; }
.attention-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: var(--red); background: var(--red-soft); }
.attention-icon.orange { color: var(--orange-600); background: var(--orange-100); }
.attention-icon.green { color: var(--green); background: var(--green-soft); }
.attention-icon svg { width: 17px; }
.attention-item strong, .attention-item small { display: block; }
.attention-item strong { font-size: 11px; }
.attention-item small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.attention-item button { display: grid; width: 29px; height: 29px; padding: 0; border: 1px solid var(--line); place-items: center; border-radius: 8px; background: #fff; cursor: pointer; }
.attention-item button svg { width: 14px; }

.wide-panel { margin-top: 16px; }
.data-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th { padding: 10px 16px; color: #8693a0; background: #f8fafb; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 850; letter-spacing: .09em; text-align: left; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid #edf1f4; font-size: 10.5px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background 150ms ease; }
.data-table tbody tr:hover { background: #fbfcfd; }
.order-id { color: var(--navy-800); font-weight: 850; }
.customer-cell { display: flex; align-items: center; gap: 8px; }
.mini-avatar { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--navy-900); background: #e8eef2; font-size: 9px; font-weight: 850; }
.customer-cell strong, .customer-cell small { display: block; }
.customer-cell strong { font-size: 10.5px; }
.customer-cell small { color: var(--muted); font-size: 8.5px; }
.channel-badge { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.channel-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }
.channel-badge i.blue { background: var(--blue); }
.channel-badge i.green { background: var(--green); }
.channel-badge i.purple { background: #7a59d8; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 100px; color: #576879; background: #edf1f4; font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.status-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-badge.ready, .status-badge.completed, .status-badge.active { color: var(--green); background: var(--green-soft); }
.status-badge.waiting, .status-badge.processing { color: var(--amber); background: var(--amber-soft); }
.status-badge.risk, .status-badge.cancelled { color: var(--red); background: var(--red-soft); }
.status-badge.info { color: var(--blue); background: var(--blue-soft); }
.row-menu { display: grid; width: 29px; height: 29px; padding: 0; border: 1px solid var(--line); place-items: center; border-radius: 8px; background: #fff; cursor: pointer; }
.row-menu svg { width: 14px; }

.module-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 17px;
  padding: 4px 2px;
}
.module-hero h2 { margin: 5px 0 6px; color: var(--navy-900); font-size: clamp(24px, 3vw, 36px); line-height: 1.08; letter-spacing: -.04em; }
.module-hero p { max-width: 660px; margin: 0; color: var(--muted); font-size: 12px; }
.module-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-bar { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.filter-search { position: relative; flex: 1; max-width: 360px; }
.filter-search svg { position: absolute; top: 50%; left: 10px; width: 15px; color: var(--muted); transform: translateY(-50%); }
.filter-search input { width: 100%; height: 37px; padding: 0 12px 0 34px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #fff; font-size: 10.5px; }
.filter-select { height: 37px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 9px; color: #516172; background: #fff; font-size: 10px; }
.filter-count { margin-left: auto; color: var(--muted); font-size: 9px; }

.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.summary-card { min-height: 118px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); }
.summary-card header { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.summary-card header i { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: var(--orange-600); background: var(--orange-100); }
.summary-card header svg { width: 15px; }
.summary-card > strong { display: block; margin-top: 10px; color: var(--navy-900); font-size: 23px; letter-spacing: -.04em; }
.summary-card > small { color: var(--muted); font-size: 9px; }

.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.channel-card { position: relative; min-height: 196px; overflow: hidden; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-soft); }
.channel-card.is-primary { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.channel-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.channel-logo { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--orange-600); background: var(--orange-100); font-size: 11px; font-weight: 900; }
.channel-card.is-primary .channel-logo { color: var(--navy-900); background: var(--orange-500); }
.marketplace-logo { display: flex; width: 118px; height: 42px; padding: 8px 11px; align-items: center; justify-content: center; border: 1px solid #e7ebef; border-radius: 11px; background: #fff; box-shadow: 0 6px 16px rgba(6, 29, 49, .07); }
.channel-card.is-primary .marketplace-logo { color: var(--navy-900); background: #fff; border-color: rgba(255, 255, 255, .34); }
.marketplace-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.marketplace-logo--trendyol img { max-width: 87px; max-height: 20px; }
.marketplace-logo--hepsiburada img { max-width: 105px; max-height: 24px; }
.marketplace-logo--n11 img { max-width: 94px; max-height: 31px; }
.marketplace-logo--amazon img { max-width: 82px; max-height: 28px; }
.marketplace-logo--ciceksepeti img { max-width: 108px; max-height: 28px; }
.marketplace-logo--web-store { width: 42px; padding: 0; color: var(--orange-600); background: linear-gradient(145deg, #fff2e6, #ffe5cc); border-color: #ffdec2; box-shadow: none; }
.marketplace-logo--web-store svg { width: 20px; height: 20px; stroke-width: 2.2; }
.channel-state { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 8px; font-weight: 850; }
.channel-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.channel-card.is-primary .channel-state { color: #63dea1; }
.channel-card h3 { margin: 14px 0 2px; font-size: 15px; }
.channel-card > p { margin: 0; color: var(--muted); font-size: 9.5px; }
.channel-card.is-primary > p { color: #9db0bf; }
.channel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.channel-stats div { padding-top: 9px; border-top: 1px solid var(--line); }
.channel-card.is-primary .channel-stats div { border-color: rgba(255,255,255,.12); }
.channel-stats strong, .channel-stats small { display: block; }
.channel-stats strong { font-size: 14px; }
.channel-stats small { color: var(--muted); font-size: 8px; }
.channel-card.is-primary .channel-stats small { color: #96aaba; }
.channel-card footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.channel-card footer small { color: var(--muted); font-size: 8px; }
.channel-card.is-primary footer small { color: #96aaba; }
.sync-button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 8.5px; font-weight: 800; cursor: pointer; }
.sync-button svg { width: 13px; }
.channel-card.is-primary .sync-button { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.sync-button.is-syncing svg { animation: spin .8s linear infinite; }

.stock-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(285px, .65fr); gap: 16px; }
.stock-alerts { padding: 9px 16px 14px; }
.stock-alert { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stock-alert:last-child { border-bottom: 0; }
.product-thumb { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; color: var(--navy-700); background: #edf2f5; }
.product-thumb svg { width: 19px; }
.stock-alert strong, .stock-alert small { display: block; }
.stock-alert strong { font-size: 10.5px; }
.stock-alert small { color: var(--muted); font-size: 8.5px; }
.stock-level { text-align: right; }
.stock-level strong { color: var(--red); font-size: 13px; }
.stock-level i { display: block; width: 58px; height: 4px; margin-top: 5px; overflow: hidden; border-radius: 3px; background: #edf1f4; }
.stock-level i::after { content: ""; display: block; width: var(--level, 30%); height: 100%; background: var(--red); }

.warehouse-map { min-height: 315px; padding: 18px; }
.warehouse-map > p { margin: 0 0 16px; color: var(--muted); font-size: 9px; }
.warehouse-node { position: relative; margin: 10px 0; padding: 13px 13px 13px 38px; background: #f7f9fa; border: 1px solid var(--line); border-radius: 11px; }
.warehouse-node::before { content: ""; position: absolute; left: 16px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.warehouse-node.warning::before { background: var(--orange-500); box-shadow: 0 0 0 4px var(--orange-100); }
.warehouse-node strong, .warehouse-node small { display: block; }
.warehouse-node strong { font-size: 10.5px; }
.warehouse-node small { color: var(--muted); font-size: 8.5px; }

.whatsapp-shell { height: min(690px, calc(100vh - 200px)); min-height: 530px; display: grid; grid-template-columns: 310px minmax(0, 1fr) 255px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-soft); }
.wa-sidebar, .wa-profile { background: #fbfcfd; }
.wa-sidebar { border-right: 1px solid var(--line); }
.wa-profile { border-left: 1px solid var(--line); }
.wa-head { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.wa-head h2, .wa-head h3 { margin: 0; font-size: 13px; }
.wa-head span { display: block; color: var(--muted); font-size: 8.5px; }
.wa-search { margin: 10px; }
.wa-thread-list { overflow-y: auto; height: calc(100% - 124px); }
.wa-thread { width: 100%; display: grid; grid-template-columns: 37px minmax(0, 1fr) auto; gap: 9px; padding: 11px 13px; border: 0; border-bottom: 1px solid #edf1f4; background: transparent; text-align: left; cursor: pointer; }
.wa-thread:hover, .wa-thread.is-active { background: #eef3f5; }
.wa-thread .mini-avatar { border-radius: 50%; }
.wa-thread strong, .wa-thread small { display: block; }
.wa-thread strong { font-size: 10.5px; }
.wa-thread small { max-width: 175px; overflow: hidden; color: var(--muted); font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.wa-thread time { color: #8a97a5; font-size: 7.5px; }
.wa-thread b { display: grid; width: 17px; height: 17px; margin: 4px 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 7px; }
.wa-chat { display: flex; min-width: 0; flex-direction: column; background: #f5f7f8; }
.wa-chat-head { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 15px; background: #fff; border-bottom: 1px solid var(--line); }
.wa-contact { display: flex; align-items: center; gap: 9px; }
.wa-contact strong, .wa-contact small { display: block; }
.wa-contact strong { font-size: 11px; }
.wa-contact small { color: var(--green); font-size: 8.5px; }
.wa-head-actions { display: flex; gap: 6px; }
.wa-head-actions .icon-button { width: 34px; height: 34px; border-radius: 9px; }
.wa-messages { flex: 1; overflow-y: auto; padding: 20px; background-image: radial-gradient(#dfe5e9 1px, transparent 1px); background-size: 20px 20px; }
.message-row { display: flex; margin: 9px 0; }
.message-row.out { justify-content: flex-end; }
.message-bubble { max-width: min(430px, 80%); padding: 10px 12px 7px; background: #fff; border: 1px solid var(--line); border-radius: 4px 13px 13px 13px; box-shadow: 0 3px 12px rgba(13, 31, 50, .05); font-size: 10.5px; }
.message-row.out .message-bubble { background: #dcf8e9; border-color: #c7eddc; border-radius: 13px 4px 13px 13px; }
.message-bubble p { margin: 0; }
.message-bubble time { display: block; margin-top: 4px; color: #84919e; font-size: 7.5px; text-align: right; }
.wa-composer { display: grid; grid-template-columns: 34px minmax(0, 1fr) 38px; align-items: center; gap: 8px; padding: 11px; background: #fff; border-top: 1px solid var(--line); }
.wa-composer input { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; font-size: 10.5px; }
.wa-composer button { display: grid; width: 38px; height: 38px; padding: 0; border: 0; place-items: center; border-radius: 10px; color: #fff; background: var(--green); cursor: pointer; }
.wa-composer button svg { width: 16px; }
.wa-profile { padding: 20px 16px; text-align: center; }
.wa-profile .profile-avatar { display: grid; width: 62px; height: 62px; margin: 3px auto 10px; place-items: center; border-radius: 50%; color: #fff; background: var(--navy-800); font-size: 17px; font-weight: 850; }
.wa-profile h3 { margin: 0; font-size: 13px; }
.wa-profile > p { margin: 2px 0 14px; color: var(--muted); font-size: 9px; }
.profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.profile-tags span { padding: 4px 7px; border-radius: 100px; color: var(--blue); background: var(--blue-soft); font-size: 8px; font-weight: 750; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 17px; text-align: left; }
.profile-stats div { padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.profile-stats strong, .profile-stats small { display: block; }
.profile-stats strong { font-size: 12px; }
.profile-stats small { color: var(--muted); font-size: 8px; }
.profile-note { margin-top: 14px; padding: 11px; color: #586a7a; background: var(--orange-100); border-radius: 10px; font-size: 8.5px; text-align: left; }
.profile-action { width: 100%; margin-top: 12px; }

.channel-module-hero { margin-bottom: 12px; }
.channel-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  padding: 5px;
  background: #e7edf1;
  border-radius: 12px;
}
.channel-switcher button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  color: #657585;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.channel-switcher button.is-active { color: var(--navy-900); background: #fff; box-shadow: 0 2px 10px rgba(14,32,52,.08); }
.channel-switcher button svg { width: 15px; }
.channel-switcher button b { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 9px; color: #fff; background: var(--orange-500); font-size: 7px; }
.channel-switcher > span { margin-left: auto; padding-right: 10px; color: var(--muted); font-size: 9px; }

.ai-training-banner {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 15px 18px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}
.ai-training-banner.instagram { border-left: 4px solid #d83a75; }
.ai-training-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px; color: var(--navy-900); background: var(--orange-500); }
.ai-training-mark svg { width: 22px; }
.trained-badge { display: inline-flex; align-items: center; gap: 6px; color: #56d394; font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.trained-badge > i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(86,211,148,.1); }
.ai-training-banner h3 { margin: 3px 0 2px; font-size: 14px; }
.ai-training-banner p { margin: 0; color: #98abbb; font-size: 9px; }
.ai-training-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.ai-training-stats span { min-width: 84px; padding: 0 13px; border-left: 1px solid rgba(255,255,255,.12); }
.ai-training-stats strong, .ai-training-stats small { display: block; }
.ai-training-stats strong { font-size: 15px; }
.ai-training-stats small { color: #8fa3b4; font-size: 7.5px; }

.thread-state { display: inline-flex !important; width: fit-content; margin-top: 4px; padding: 2px 5px; border-radius: 5px; color: var(--blue) !important; background: var(--blue-soft); font-size: 6.5px !important; font-style: normal; font-weight: 850; letter-spacing: .02em; }
.thread-state.handoff { color: var(--amber) !important; background: var(--amber-soft); }
.thread-state.resolved { color: var(--green) !important; background: var(--green-soft); }
.channel-avatar svg { width: 16px; }
.is-instagram .channel-avatar { color: #fff; background: #d83a75; }
.chat-context { min-height: 32px; display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-context span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 5px; color: #647486; background: #f2f5f7; font-size: 7.5px; font-weight: 750; }
.chat-context span:nth-child(2) { color: var(--orange-600); background: var(--orange-100); }
.chat-context svg { width: 11px; height: 11px; }
.message-agent { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; color: var(--orange-600); font-size: 7.5px; font-weight: 850; }
.message-agent svg { width: 11px; height: 11px; }
.message-bubble.ai-bubble { border-color: #ffd5ae; box-shadow: 0 3px 14px rgba(255,122,0,.07); }
.is-instagram .message-bubble.ai-bubble { border-color: #efd0df; }
.is-instagram .message-agent { color: #b92d67; }

.pipeline-health {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(200px, 1fr) minmax(330px, 1.2fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 14px;
  padding: 18px 20px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 15px;
}
.pipeline-health h3 { margin: 3px 0; font-size: 15px; }
.pipeline-health p { margin: 0; color: #96a9b8; font-size: 8.5px; }
.pipeline-meter { height: 8px; overflow: hidden; background: rgba(255,255,255,.1); border-radius: 8px; }
.pipeline-meter i { display: block; height: 100%; background: var(--orange-500); border-radius: inherit; }
.pipeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.pipeline-steps span { padding: 0 10px; color: #91a5b5; border-left: 1px solid rgba(255,255,255,.11); font-size: 7.5px; }
.pipeline-steps strong { display: block; color: #fff; font-size: 15px; }
.sales-kanban { align-items: start; }
.sales-column { min-height: 470px; }
.column-total { display: block; padding: 0 4px 9px; color: #607182; font-size: 10px; font-weight: 850; }
.opportunity-card > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.opportunity-card > strong { display: block; margin-top: 9px; color: var(--navy-900); font-size: 14px; }
.opportunity-score { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 900; }

.ai-studio-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 14px; }
.knowledge-list { padding: 7px 18px; }
.knowledge-list article { display: grid; grid-template-columns: 37px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.knowledge-list article > svg { padding: 9px; width: 37px; height: 37px; color: var(--orange-600); background: var(--orange-100); border-radius: 10px; }
.knowledge-list strong, .knowledge-list small { display: block; }
.knowledge-list strong { font-size: 10px; }
.knowledge-list small { color: var(--muted); font-size: 8px; }
.knowledge-list em { color: var(--green); font-size: 9px; font-style: normal; font-weight: 900; }
.assistant-rules { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 17px; }
.assistant-rules span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 7px; color: #597080; background: #f1f5f6; font-size: 8px; font-weight: 750; }
.assistant-rules svg { width: 11px; color: var(--green); }
.model-panel { padding-bottom: 18px; }
.model-panel .panel-head { border-bottom: 0; }
.model-orbit { width: 170px; height: 170px; display: grid; margin: 12px auto 18px; place-content: center; place-items: center; border: 1px solid #b8c9d5; border-radius: 50%; box-shadow: inset 0 0 0 18px #f4f7f9, inset 0 0 0 19px #dfe6eb; }
.model-orbit svg { width: 32px; height: 32px; margin-bottom: 8px; color: var(--orange-500); }
.model-orbit strong, .model-orbit small { display: block; }
.model-orbit small { color: var(--muted); font-size: 8px; }
.model-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px 16px; }
.model-stats span { padding: 8px; border-left: 1px solid var(--line); text-align: center; }
.model-stats span:first-child { border: 0; }
.model-stats strong, .model-stats small { display: block; }
.model-stats strong { font-size: 13px; }
.model-stats small { color: var(--muted); font-size: 7px; }
.model-panel > .button { width: calc(100% - 32px); margin: 0 16px; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; clip-path: inset(50%) !important; }
.ai-center-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr); overflow: hidden; margin-bottom: 14px; color: #fff; background: var(--navy-900); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; box-shadow: 0 18px 45px rgba(7,25,43,.14); }
.ai-center-hero-copy { padding: clamp(28px, 4vw, 46px); }
.ai-center-hero .eyebrow { color: #ff9a3d; }
.ai-center-hero h2 { margin: 8px 0 11px; font-size: clamp(30px, 4vw, 48px); line-height: 1.02; letter-spacing: -.05em; }
.ai-center-hero h2 em { color: var(--orange-500); font-style: normal; }
.ai-center-hero-copy > p { max-width: 700px; margin: 0; color: #b4c3cf; font-size: 12px; line-height: 1.65; }
.ai-center-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.ai-center-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: #dbe5ec; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; font-size: 8.5px; font-weight: 750; }
.ai-center-tags svg { width: 13px; color: #ff9a3d; }
.ai-team-radar { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 30px; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.1); }
.radar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.radar-head > span { display: flex; align-items: center; gap: 6px; color: #74e6ad; font-size: 7.5px; font-weight: 850; letter-spacing: .08em; }
.radar-head > span i, .ai-team-status i, .ai-chat-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(38,183,120,.12); }
.radar-head > strong { color: #fff; font-size: 10px; }
.radar-agents { display: flex; align-items: center; margin: 23px 0 20px; }
.radar-agents .ai-agent-avatar, .radar-plus { margin-left: -7px; border: 3px solid var(--navy-900); }
.radar-agents .ai-agent-avatar:first-child { margin-left: 0; }
.radar-plus { display: grid; width: 42px; height: 42px; place-items: center; color: #c3d0da; background: #183248; border-radius: 13px; font-size: 9px; font-weight: 850; }
.ai-team-radar > p { margin: 0; }
.ai-team-radar > p strong, .ai-team-radar > p small { display: block; }
.ai-team-radar > p strong { font-size: 19px; }
.ai-team-radar > p small { margin-top: 3px; color: #91a6b7; font-size: 8.5px; }

.ai-center-shell { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.58fr); gap: 14px; align-items: stretch; }
.ai-worker-panel, .ai-center-chat { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }
.ai-worker-panel { overflow: hidden; }
.ai-worker-panel > header { display: flex; min-height: 73px; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.ai-worker-panel h2 { margin: 3px 0 0; font-size: 16px; }
.ai-team-status { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 7.5px; font-weight: 850; white-space: nowrap; }
.ai-worker-list { display: grid; max-height: 720px; overflow-y: auto; gap: 7px; padding: 9px; }
.ai-worker-card { position: relative; width: 100%; display: grid; grid-template-columns: 42px minmax(0, 1fr) 15px; align-items: start; gap: 10px; padding: 12px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 12px; text-align: left; cursor: pointer; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.ai-worker-card:hover { background: #f7f9fa; border-color: var(--line); transform: translateX(2px); }
.ai-worker-card.is-active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 10px 24px rgba(7,25,43,.14); }
.ai-worker-copy { min-width: 0; }
.ai-worker-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ai-worker-title strong { font-size: 11px; }
.ai-worker-title em { color: var(--orange-600); font-size: 7px; font-style: normal; font-weight: 850; text-align: right; }
.ai-worker-card.is-active .ai-worker-title em { color: #ff9a3d; }
.ai-worker-copy p { margin: 4px 0 7px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.ai-worker-card.is-active .ai-worker-copy p { color: #a9bac7; }
.ai-worker-copy small { display: flex; align-items: center; gap: 4px; color: #80909e; font-size: 7.5px; }
.ai-worker-copy small svg { width: 11px; }
.ai-worker-card.is-active .ai-worker-copy small { color: #8fa7b8; }
.worker-arrow { align-self: center; width: 14px; color: #a4b0ba; }
.ai-worker-card.is-active .worker-arrow { color: #ff9a3d; }

.ai-agent-avatar { flex: 0 0 auto; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-size: 8px; font-weight: 900; letter-spacing: -.02em; }
.ai-agent-avatar svg { width: 19px; height: 19px; stroke-width: 2.1; }
.tone-orange { color: #9b4a00; background: #ffe0c2; }
.tone-blue { color: #1759a8; background: #dfeeff; }
.tone-green { color: #087a51; background: #d8f5e8; }
.tone-purple { color: #6543a4; background: #ebe3fb; }
.tone-pink { color: #a52c60; background: #ffe0ed; }
.tone-navy { color: #fff; background: #193b56; }
.tone-user { color: #fff; background: var(--orange-500); }

.ai-center-chat { min-height: 680px; display: flex; overflow: hidden; flex-direction: column; }
.ai-chat-head { display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.ai-chat-head > .ai-agent-avatar { width: 52px; height: 52px; border-radius: 14px; }
.ai-chat-head > .ai-agent-avatar svg { width: 23px; height: 23px; }
.ai-chat-live { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 7px; font-weight: 850; letter-spacing: .06em; }
.ai-chat-head h2 { margin: 3px 0 2px; font-size: 17px; }
.ai-chat-head h2 small { margin-left: 5px; color: var(--orange-600); font-size: 8.5px; }
.ai-chat-head p { margin: 0; color: var(--muted); font-size: 8.5px; }
.ai-agent-scope { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 9px 18px; background: #f8fafb; border-bottom: 1px solid var(--line); }
.ai-agent-scope > span { margin-right: 3px; color: #8996a1; font-size: 7px; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.ai-agent-scope b { display: inline-flex; align-items: center; gap: 3px; padding: 4px 7px; color: #4a5b69; background: #fff; border: 1px solid var(--line); border-radius: 100px; font-size: 7px; white-space: nowrap; }
.ai-agent-scope b svg { width: 10px; color: var(--green); }
.ai-center-policy { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; margin: 12px 18px 0; padding: 9px 10px; color: #526779; background: #eef4f7; border-radius: 9px; }
.ai-center-policy > svg { padding: 6px; width: 28px; height: 28px; color: var(--orange-600); background: #fff; border-radius: 8px; }
.ai-center-policy p { margin: 0; font-size: 7.8px; line-height: 1.45; }
.ai-center-messages { flex: 1; min-height: 340px; max-height: 430px; overflow-y: auto; overscroll-behavior: contain; padding: 18px; scroll-behavior: smooth; }
.ai-center-message { display: flex; max-width: 78%; align-items: flex-start; gap: 8px; margin-bottom: 15px; }
.ai-center-message > div { min-width: 0; }
.ai-center-message header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.ai-center-message header strong { color: #657586; font-size: 7.5px; }
.ai-center-message header time { color: #9da8b2; font-size: 6.5px; }
.ai-center-message p { margin: 0; padding: 10px 12px; color: #344758; background: #f2f5f7; border: 1px solid #e7ecef; border-radius: 4px 13px 13px 13px; font-size: 9.5px; line-height: 1.55; }
.ai-center-message .ai-agent-avatar { width: 32px; height: 32px; border-radius: 9px; font-size: 7px; }
.ai-center-message.is-user { margin-left: auto; justify-content: flex-end; }
.ai-center-message.is-user > div { order: 1; }
.ai-center-message.is-user > .ai-agent-avatar { order: 2; }
.ai-center-message.is-user header strong { color: var(--orange-600); }
.ai-center-message.is-user p { color: #fff; background: var(--navy-800); border-color: var(--navy-800); border-radius: 13px 4px 13px 13px; }
.ai-center-message.is-forwarded { max-width: 88%; margin: 0 auto 15px; }
.ai-center-message.is-forwarded > div { width: 100%; }
.ai-center-message.is-forwarded header { justify-content: flex-start; }
.ai-center-message.is-forwarded header strong { color: #7b65a5; }
.ai-center-message.is-forwarded p { color: #5b4a77; background: #f4effc; border-color: #e7dcf8; border-radius: 10px; font-style: italic; }
.ai-handoff-event { display: grid; grid-template-columns: 30px 14px 30px minmax(0, 1fr); align-items: center; gap: 5px; margin: 6px 0 17px; padding: 10px 12px; background: #fff8ef; border: 1px dashed #f1c996; border-radius: 11px; }
.ai-handoff-event > .ai-agent-avatar { width: 30px; height: 30px; border-radius: 9px; font-size: 6.5px; }
.ai-handoff-event > svg { width: 13px; color: var(--orange-600); }
.ai-handoff-event strong, .ai-handoff-event small { display: block; }
.ai-handoff-event strong { color: #714a21; font-size: 8px; }
.ai-handoff-event small { margin-top: 2px; color: #9a744b; font-size: 7px; }
.ai-center-prompts { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px; border-top: 1px solid var(--line); }
.ai-center-prompts button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; color: #5a6b79; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 7.5px; font-weight: 700; cursor: pointer; }
.ai-center-prompts button:hover { color: var(--orange-600); border-color: #ffc58f; background: #fff8f1; }
.ai-center-prompts svg { width: 11px; }
.ai-center-composer { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px 15px 15px; background: #fafbfc; border-top: 1px solid var(--line); }
.ai-center-composer > .ai-agent-avatar { width: 36px; height: 36px; border-radius: 10px; font-size: 7px; }
.ai-center-composer label { min-width: 0; }
.ai-center-composer input { width: 100%; height: 42px; padding: 0 12px; outline: 0; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 9.5px; }
.ai-center-composer input:focus { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(255,122,0,.1); }
.ai-center-composer button { height: 42px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; color: #fff; background: var(--orange-500); border: 0; border-radius: 10px; font-size: 8.5px; font-weight: 850; cursor: pointer; box-shadow: 0 7px 17px rgba(255,122,0,.2); }
.ai-center-composer button svg { width: 14px; }

.pricing-section { margin-top: 22px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; padding: 0 2px; }
.section-title h2 { margin: 4px 0 0; color: var(--navy-900); font-size: 20px; letter-spacing: -.025em; }
.section-title > p { margin: 0; color: var(--muted); font-size: 9px; }
.price-grid { display: grid; gap: 12px; }
.price-grid.three { grid-template-columns: repeat(3, 1fr); }
.price-grid.four { grid-template-columns: repeat(4, 1fr); }
.price-card { position: relative; min-height: 350px; display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-soft); }
.price-card.is-popular { border: 2px solid var(--orange-500); }
.price-card.enterprise { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.popular-label { position: absolute; top: -12px; left: 50%; padding: 5px 14px; border-radius: 100px; color: #fff !important; background: var(--orange-500); font-size: 7px !important; font-weight: 900; letter-spacing: .08em; transform: translateX(-50%); white-space: nowrap; }
.price-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; color: var(--orange-600); background: var(--orange-100); }
.price-icon svg { width: 19px; }
.price-card h3 { margin: 15px 0 5px; font-size: 16px; }
.price-card > strong { display: block; font-size: 23px; letter-spacing: -.035em; }
.price-card > strong small { color: var(--muted); font-size: 9px; font-weight: 600; }
.price-card > span { color: var(--muted); font-size: 9px; }
.price-card > b { display: inline-flex; width: fit-content; margin: 13px 0 9px; padding: 5px 9px; border-radius: 100px; color: var(--navy-800); background: #edf2f5; font-size: 8px; }
.price-card > p { margin: 0 0 16px; color: var(--muted); font-size: 9px; }
.price-card ul { display: grid; gap: 8px; margin: 14px 0 20px; padding: 0; list-style: none; }
.price-card li { display: flex; align-items: flex-start; gap: 6px; color: #5f6f7e; font-size: 8.5px; }
.price-card li svg { width: 12px; color: var(--green); }
.price-card > .button { width: 100%; margin-top: auto; }
.price-card.enterprise > span, .price-card.enterprise li, .price-card.enterprise > strong small { color: #9fb0be; }
.price-card.enterprise > b { color: #dce8f1; background: rgba(255,255,255,.08); }

.voice-hero { min-height: 260px; display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; color: #fff; background: var(--navy-900); border-radius: 18px; box-shadow: var(--shadow-soft); }
.voice-hero > div { padding: 30px; }
.voice-hero h2 { margin: 7px 0 0; color: var(--orange-500); font-size: 48px; line-height: 1; }
.voice-hero h2 small { color: #fff; font-size: 13px; font-weight: 600; }
.voice-hero p { margin: 8px 0 14px; color: #9eb1c0; font-size: 10px; }
.voice-meter { width: 100%; height: 7px; overflow: hidden; margin-bottom: 20px; border-radius: 7px; background: rgba(255,255,255,.1); }
.voice-meter i { display: block; height: 100%; border-radius: inherit; background: var(--orange-500); }
.voice-hero > aside { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 30px; background: rgba(255,255,255,.05); border-left: 1px solid rgba(255,255,255,.1); }
.voice-live { display: flex; align-items: center; gap: 7px; color: #56d394; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.voice-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(86,211,148,.1); }
.voice-hero aside h3 { margin: 8px 0 2px; font-size: 20px; }
.voice-wave { height: 72px; display: flex; align-items: center; gap: 4px; margin-top: 18px; }
.voice-wave i { width: 3px; min-height: 6px; border-radius: 3px; background: var(--orange-500); opacity: .85; }
.voice-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.voice-tier-grid article { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.voice-tier-grid article.is-active { border: 2px solid var(--orange-500); }
.voice-tier-grid span { color: var(--orange-600); font-size: 11px; font-weight: 850; }
.voice-tier-grid strong { display: block; margin: 9px 0 5px; font-size: 20px; }
.voice-tier-grid strong small { color: var(--muted); font-size: 8px; }
.voice-tier-grid p { margin: 0; color: var(--muted); font-size: 9px; }

.credit-wallet { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(500px, 1.2fr); gap: 20px; padding: 24px; color: #fff; background: var(--navy-900); border-radius: 18px; box-shadow: var(--shadow-soft); }
.wallet-main h2 { margin: 5px 0 3px; font-size: 20px; }
.wallet-main p { margin: 0; color: #9db0bf; font-size: 9px; }
.wallet-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.wallet-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 6px; color: #bdd0de; background: rgba(255,255,255,.07); font-size: 7.5px; }
.wallet-tags svg { width: 11px; }
.balance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.balance-grid article { display: grid; grid-template-columns: 31px minmax(0, 1fr); align-items: center; gap: 8px; padding: 13px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; }
.balance-grid article > svg { padding: 7px; width: 31px; height: 31px; color: var(--orange-500); background: rgba(255,122,0,.12); border-radius: 8px; }
.balance-grid strong, .balance-grid small { display: block; }
.balance-grid strong { font-size: 14px; }
.balance-grid small { color: #91a6b6; font-size: 7.5px; }
.balance-grid button { grid-column: 1 / -1; min-height: 29px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; color: #fff; background: rgba(255,255,255,.05); font-size: 8px; font-weight: 800; cursor: pointer; }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.token-card { position: relative; min-height: 215px; display: flex; flex-direction: column; padding: 18px; color: #fff; background: var(--navy-900); border: 1px solid var(--navy-700); border-radius: 14px; }
.token-card.is-popular { border: 2px solid var(--orange-500); }
.token-card > span { position: absolute; top: -10px; right: 14px; padding: 4px 9px; border-radius: 100px; background: var(--orange-500); font-size: 7px; font-weight: 850; }
.token-card > svg { width: 21px; color: #4bd0c9; }
.token-card h3 { margin: 16px 0 3px; color: #4bd0c9; font-size: 14px; text-transform: uppercase; }
.token-card strong { font-size: 23px; }
.token-card p { margin: 5px 0 16px; color: #92a7b6; font-size: 8.5px; }
.token-card .button { width: 100%; margin-top: auto; }
.service-price-grid { display: grid; gap: 8px; }
.service-price-grid article { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 120px; align-items: center; gap: 13px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.service-price-grid article > svg { padding: 10px; width: 42px; height: 42px; color: var(--orange-600); background: var(--orange-100); border-radius: 11px; }
.service-price-grid h3 { margin: 0 0 2px; font-size: 12px; }
.service-price-grid p { margin: 0; color: var(--muted); font-size: 8.5px; }
.service-price-grid > article > strong { font-size: 16px; white-space: nowrap; }
.service-price-grid > article > strong small { display: block; color: var(--muted); font-size: 7.5px; font-weight: 600; }
.commercial-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 13px 15px; color: #785326; background: var(--amber-soft); border: 1px solid #f1d58f; border-radius: 11px; }
.commercial-note svg { flex: 0 0 auto; width: 17px; }
.commercial-note p { margin: 0; font-size: 8.5px; }

.purchase-summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 18px 22px 0; padding: 14px; color: #fff; background: var(--navy-900); border-radius: 12px; }
.purchase-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; color: var(--navy-900); background: var(--orange-500); }
.purchase-summary small, .purchase-summary strong, .purchase-summary em { display: block; }
.purchase-summary small { color: #8fa4b5; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.purchase-summary span > strong { font-size: 12px; }
.purchase-summary em { color: #99acbb; font-size: 8px; font-style: normal; }
.purchase-summary > strong { font-size: 17px; white-space: nowrap; }
.purchase-consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 7px; color: #5d6c7b; font-size: 8.5px; }
.purchase-consent input { margin: 1px 0 0; accent-color: var(--orange-500); }
.purchase-note { display: flex; gap: 7px; margin: 0; padding: 9px 10px; color: #5f7180; background: #eef3f5; border-radius: 8px; font-size: 8px; }
.purchase-note svg { flex: 0 0 auto; width: 14px; color: var(--green); }

.kanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.kanban-column { min-height: 370px; padding: 10px; background: #e9eef1; border-radius: 13px; }
.kanban-column header { display: flex; align-items: center; justify-content: space-between; padding: 5px 4px 11px; }
.kanban-column h3 { margin: 0; font-size: 10px; }
.kanban-column header span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; background: #fff; font-size: 8px; }
.task-card { margin-bottom: 8px; padding: 12px; background: #fff; border: 1px solid #dfe5e9; border-radius: 10px; box-shadow: 0 4px 10px rgba(14, 32, 52, .04); }
.task-card .tag { display: inline-flex; padding: 3px 6px; border-radius: 100px; color: var(--orange-600); background: var(--orange-100); font-size: 7.5px; font-weight: 800; }
.task-card h4 { margin: 8px 0 5px; font-size: 10.5px; }
.task-card p { margin: 0; color: var(--muted); font-size: 8.5px; }
.task-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.task-card time { color: var(--muted); font-size: 7.5px; }
.task-card .mini-avatar { width: 24px; height: 24px; border-radius: 50%; font-size: 7px; }

.empty-view { display: grid; min-height: 360px; place-items: center; padding: 40px; text-align: center; }
.empty-view i { display: grid; width: 60px; height: 60px; margin: 0 auto 14px; place-items: center; border-radius: 17px; color: var(--orange-600); background: var(--orange-100); }
.empty-view i svg { width: 25px; }
.empty-view h3 { margin: 0 0 5px; }
.empty-view p { max-width: 450px; margin: 0 auto 17px; color: var(--muted); font-size: 10px; }

.alert-drawer,
.ai-drawer {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(410px, calc(100vw - 20px));
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -20px 0 60px rgba(7, 25, 43, .18);
  transform: translateX(105%);
  transition: transform 320ms var(--ease);
}
.alert-drawer.is-open, .ai-drawer.is-open { transform: translateX(0); }
.alert-drawer > header, .ai-drawer > header { min-height: 78px; display: flex; align-items: center; gap: 11px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.alert-drawer > header > div:first-child, .ai-drawer > header > div:nth-child(2) { flex: 1; }
.alert-drawer h2, .ai-drawer h2 { margin: 2px 0 0; font-size: 17px; }
.drawer-list { overflow-y: auto; padding: 10px 20px; }
.alert-item { display: grid; grid-template-columns: 37px minmax(0, 1fr) auto; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.alert-item > svg { padding: 9px; width: 37px; height: 37px; color: var(--blue); background: var(--blue-soft); border-radius: 10px; }
.alert-item.urgent > svg { color: var(--red); background: var(--red-soft); }
.alert-item strong, .alert-item small { display: block; }
.alert-item strong { font-size: 11px; }
.alert-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.alert-item time { color: var(--muted); font-size: 8px; }

.ai-drawer { color: #fff; background: var(--navy-900); }
.ai-drawer > header { border-color: rgba(255,255,255,.12); }
.ai-drawer .icon-button { color: #fff; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); }
.ai-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--navy-900); background: var(--orange-500); }
.ai-thread { flex: 1; overflow-y: auto; padding: 22px 20px; }
.ai-message { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; margin-bottom: 15px; }
.ai-message > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--navy-900); background: var(--orange-500); font-size: 8px; font-weight: 900; }
.ai-message p { margin: 0; padding: 11px 12px; color: #dbe6ef; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 3px 12px 12px 12px; font-size: 10.5px; }
.ai-message.user { grid-template-columns: minmax(0, 1fr) 28px; }
.ai-message.user > span { grid-column: 2; grid-row: 1; color: #fff; background: var(--navy-700); }
.ai-message.user p { grid-column: 1; grid-row: 1; background: var(--navy-700); border-color: var(--navy-700); border-radius: 12px 3px 12px 12px; }
.ai-insights { display: grid; gap: 8px; margin: 19px 0; }
.ai-insights button { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 11px; color: #fff; background: rgba(255,255,255,.05); text-align: left; cursor: pointer; }
.ai-insights button:hover { border-color: rgba(255,122,0,.5); background: rgba(255,122,0,.08); }
.ai-insights button > svg { padding: 8px; width: 36px; height: 36px; color: #ffac5c; background: rgba(255,122,0,.13); border-radius: 9px; }
.ai-insights strong, .ai-insights small { display: block; }
.ai-insights strong { font-size: 10px; }
.ai-insights small { color: #91a6b7; font-size: 8.5px; }
.ai-composer { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; padding: 15px; border-top: 1px solid rgba(255,255,255,.12); }
.ai-composer input { height: 42px; padding: 0 13px; outline: 0; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; font-size: 10px; }
.ai-composer input::placeholder { color: #8298aa; }
.ai-composer button { display: grid; width: 42px; height: 42px; padding: 0; border: 0; place-items: center; border-radius: 10px; color: var(--navy-900); background: var(--orange-500); cursor: pointer; }

.drawer-scrim, .sidebar-scrim { position: fixed; inset: 0; z-index: 110; visibility: hidden; opacity: 0; background: rgba(5, 18, 31, .48); transition: opacity 220ms ease, visibility 220ms ease; }
body.drawer-open .drawer-scrim { visibility: visible; opacity: 1; }
.sidebar-scrim { z-index: 65; }

.app-dialog {
  width: min(620px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 25px 80px rgba(5, 18, 31, .25);
}
.app-dialog::backdrop { background: rgba(5, 18, 31, .55); backdrop-filter: blur(2px); }
.app-dialog form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 22px; border-bottom: 1px solid var(--line); }
.app-dialog h2 { margin: 3px 0 2px; font-size: 20px; }
.app-dialog header p { margin: 0; color: var(--muted); font-size: 10px; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 20px 22px; }
.field { display: grid; gap: 5px; }
.field span { color: #536275; font-size: 9.5px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 11px; outline: 0; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 11px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(255,122,0,.1); }
.field textarea { resize: vertical; }
.span-2 { grid-column: span 2; }
.app-dialog form > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 15px 22px; background: #f8fafb; border-top: 1px solid var(--line); }

.toast-region { position: fixed; z-index: 180; right: 20px; bottom: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { min-width: 260px; max-width: 380px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; padding: 11px 13px; color: #fff; background: var(--navy-900); border: 1px solid rgba(255,255,255,.13); border-radius: 11px; box-shadow: 0 14px 40px rgba(7,25,43,.2); animation: toast-in 260ms var(--ease) both; }
.toast > i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--navy-900); background: var(--orange-500); }
.toast svg { width: 14px; }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 10px; }
.toast small { color: #aebdca; font-size: 8.5px; }
.toast.is-leaving { animation: toast-out 180ms ease both; }

.noscript { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 30px; color: #fff; background: var(--navy-900); text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* Penguen CRM V3 · intelligence, control and governance layers */
.intelligence-command, .approval-command, .observability-hero, .customer-command, .integration-command {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); overflow: hidden;
  margin-bottom: 16px; color: #fff; background: var(--navy-900); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; box-shadow: 0 18px 42px rgba(7,25,43,.12);
}
.intelligence-command::before, .approval-command::before, .observability-hero::before, .customer-command::before, .integration-command::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -180px; top: -180px; border: 1px solid rgba(255,122,0,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.018), 0 0 0 110px rgba(255,255,255,.012);
}
.intelligence-command > div, .approval-command > div, .observability-hero > div, .customer-command > div, .integration-command > div { position: relative; padding: 30px 34px; }
.intelligence-command .eyebrow, .approval-command .eyebrow, .observability-hero .eyebrow, .customer-command .eyebrow, .integration-command .eyebrow { color: #ff9a3d; }
.intelligence-command h2, .approval-command h2, .observability-hero h2, .customer-command h2, .integration-command h2 { margin: 6px 0 8px; font-size: clamp(25px, 3.4vw, 42px); line-height: 1.04; letter-spacing: -.045em; }
.intelligence-command p, .approval-command p, .observability-hero p, .customer-command p, .integration-command p { max-width: 730px; margin: 0; color: #b8c8d5; font-size: 11px; line-height: 1.65; }
.intelligence-command p strong, .approval-command p strong, .customer-command p strong, .integration-command p strong { color: #fff; }
.command-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.command-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: #dce7ef; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 8px; font-size: 8px; font-weight: 750; }
.command-chips svg { width: 13px; color: #ff9a3d; }
.intelligence-command > aside, .profit-pulse { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 25px 28px; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.09); }
.intelligence-command > aside small, .profit-pulse small { color: #ff9a3d; font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.intelligence-command > aside strong, .profit-pulse strong { margin: 6px 0 2px; font-size: 19px; }
.intelligence-command > aside span, .profit-pulse span { color: #aebfcc; font-size: 9px; }
.intelligence-command > aside button, .profit-pulse button, .customer-command > div > button { display: inline-flex; width: fit-content; align-items: center; gap: 6px; margin-top: 16px; padding: 9px 11px; color: #fff; background: var(--orange-500); border: 0; border-radius: 9px; font-size: 8px; font-weight: 850; cursor: pointer; }
.intelligence-command > aside button svg, .profit-pulse button svg, .customer-command > div > button svg { width: 14px; }

.forecast-panel { margin-bottom: 16px; }
.forecast-grid { padding: 5px 18px 14px; }
.forecast-row { display: grid; grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(90px, .6fr)) minmax(100px, .6fr); align-items: center; gap: 16px; min-height: 72px; border-bottom: 1px solid var(--line); }
.forecast-row:last-child { border-bottom: 0; }
.forecast-row > span:not(.forecast-product) { display: grid; gap: 2px; }
.forecast-row small { color: var(--muted); font-size: 6.5px; font-weight: 800; letter-spacing: .06em; }
.forecast-row strong { color: var(--navy-900); font-size: 9.5px; }
.forecast-product { display: flex; align-items: center; gap: 10px; }
.forecast-product > svg { width: 36px; height: 36px; padding: 9px; color: var(--orange-600); background: var(--orange-100); border-radius: 10px; }
.forecast-product > span { display: grid; }
.forecast-row .risk-text { color: var(--red); }
.forecast-bar { align-self: stretch; align-content: center; }
.forecast-bar::before { content: ""; display: block; width: 100%; height: 5px; background: #edf1f4; border-radius: 9px; }
.forecast-bar > i { display: block; width: var(--w, 20%); height: 5px; margin-top: -5px; background: var(--orange-500); border-radius: 9px; }
.forecast-bar small { margin-top: 5px; }
.transfer-list { padding: 6px 20px 14px; }
.transfer-list article { display: grid; grid-template-columns: 1fr 20px 1fr .75fr .9fr; align-items: center; gap: 8px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 8.5px; }
.transfer-list article:last-child { border-bottom: 0; }
.transfer-list svg { width: 14px; color: var(--orange-500); }
.transfer-list strong { color: var(--navy-900); }
.transfer-list small { color: var(--green); font-size: 7px; font-weight: 750; }

.automation-builder { overflow: hidden; margin-bottom: 16px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; box-shadow: 0 16px 42px rgba(7,25,43,.13); }
.automation-builder > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 25px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.automation-builder > header > div:last-child { display: flex; gap: 8px; }
.automation-builder > header .eyebrow { color: #ff9a3d; }
.automation-builder > header h2 { margin: 4px 0 2px; font-size: 19px; }
.automation-builder > header p { margin: 0; color: #9db0bf; font-size: 8px; }
.automation-builder > header .secondary { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.automation-canvas { display: flex; align-items: center; min-height: 260px; overflow-x: auto; padding: 35px 26px; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 17px 17px; }
.flow-node { display: grid; grid-template-columns: 38px minmax(110px, 1fr); flex: 0 0 175px; align-items: center; gap: 9px; padding: 14px; color: #dfe9f0; background: #0c2942; border: 1px solid #23425c; border-radius: 13px; box-shadow: 0 14px 25px rgba(0,0,0,.18); }
.flow-node > svg { width: 38px; height: 38px; padding: 10px; color: #8eb2ce; background: rgba(255,255,255,.06); border-radius: 10px; }
.flow-node span { display: grid; }
.flow-node small { color: #7e9bb1; font-size: 5.8px; font-weight: 900; letter-spacing: .09em; }
.flow-node strong { margin: 2px 0; color: #fff; font-size: 9px; }
.flow-node p { margin: 0; color: #9db0bf; font-size: 6.8px; }
.flow-node.ai { border-color: rgba(255,122,0,.7); }
.flow-node.ai > svg { color: #fff; background: var(--orange-500); }
.flow-node.approval { border-color: rgba(14,158,105,.65); }
.flow-node.approval > svg { color: #5fe0ad; }
.flow-link { display: flex; flex: 0 0 55px; align-items: center; color: #668096; }
.flow-link b { display: grid; width: 17px; height: 17px; place-items: center; color: #7d94a6; background: #102f49; border: 1px solid #2d4b62; border-radius: 50%; font-size: 6px; font-style: normal; }
.flow-link span { flex: 1; border-top: 1px dashed #526d83; }
.flow-link svg { width: 12px; }
.flow-add { display: grid; flex: 0 0 95px; place-items: center; gap: 5px; padding: 16px 8px; color: #8fa6b7; background: transparent; border: 1px dashed #486276; border-radius: 12px; font-size: 7px; font-weight: 750; cursor: pointer; }
.flow-add svg { width: 20px; }
.automation-builder > footer { display: flex; justify-content: space-between; gap: 14px; padding: 13px 24px; color: #93a8b8; background: rgba(0,0,0,.13); border-top: 1px solid rgba(255,255,255,.07); font-size: 7px; }
.automation-builder > footer span { display: inline-flex; align-items: center; gap: 6px; }
.automation-builder > footer svg { width: 13px; color: #5fe0ad; }
.automation-builder > footer strong { color: #d5e0e8; }
.automation-lower { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.template-list, .run-log { padding: 8px 18px 15px; }
.template-list button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.template-list button:last-child { border-bottom: 0; }
.template-list button > svg { width: 34px; height: 34px; padding: 9px; color: var(--orange-600); background: var(--orange-100); border-radius: 9px; }
.template-list span { display: grid; }
.template-list strong { font-size: 9px; }
.template-list small { color: var(--muted); font-size: 7px; }
.template-list em { color: var(--orange-600); font-size: 7px; font-style: normal; font-weight: 850; }
.run-log span { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.run-log span:last-child { border-bottom: 0; }
.run-log i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.run-log i.wait { background: var(--amber); }
.run-log strong { font-size: 8.5px; }
.run-log small { color: var(--muted); font-size: 7px; }

.approval-command > aside { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.09); }
.approval-command > aside > span { display: flex; flex-direction: column; justify-content: center; padding: 19px; border-bottom: 1px solid rgba(255,255,255,.08); }
.approval-command > aside > span:last-child { border-bottom: 0; }
.approval-command > aside small { color: #8ea4b5; font-size: 6px; font-weight: 850; letter-spacing: .08em; }
.approval-command > aside strong { margin-top: 4px; color: #fff; font-size: 18px; }
.approval-shell { display: grid; grid-template-columns: minmax(380px, .9fr) minmax(380px, 1.1fr); gap: 16px; align-items: start; }
.approval-queue { overflow: hidden; }
.approval-queue > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.approval-queue h2 { margin: 2px 0 0; font-size: 15px; }
.approval-filters, .segmented-control { display: inline-flex; padding: 3px; background: #eef2f5; border-radius: 8px; }
.approval-filters button, .segmented-control button { padding: 6px 8px; color: #6d7c8a; background: transparent; border: 0; border-radius: 6px; font-size: 7px; font-weight: 800; cursor: pointer; }
.approval-filters button.is-active, .segmented-control button.is-active { color: var(--navy-900); background: #fff; box-shadow: 0 2px 7px rgba(7,25,43,.08); }
.approval-list { max-height: 660px; overflow-y: auto; padding: 7px; }
.approval-item { width: 100%; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; padding: 12px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 12px; cursor: pointer; }
.approval-item:hover { background: #f7f9fa; }
.approval-item.is-active { background: #fff8f1; border-color: #ffd5af; }
.approval-item > .ai-agent-avatar { width: 42px; height: 42px; }
.approval-item > span:nth-child(2) { display: grid; min-width: 0; }
.approval-item small { color: var(--muted); font-size: 6.5px; }
.approval-item strong { margin: 2px 0; overflow: hidden; color: var(--navy-900); font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.approval-item em { color: var(--green); font-size: 7px; font-style: normal; font-weight: 750; }
.approval-item > svg { width: 14px; color: #a6b1ba; }
.approval-status { display: inline-flex; width: fit-content; padding: 5px 7px; color: var(--amber); background: var(--amber-soft); border-radius: 99px; font-size: 6px; font-weight: 850; white-space: nowrap; }
.approval-status.approved { color: var(--green); background: var(--green-soft); }
.approval-status.rejected { color: var(--red); background: var(--red-soft); }
.approval-detail { overflow: hidden; }
.approval-detail > header { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 20px; border-bottom: 1px solid var(--line); }
.approval-detail > header .ai-agent-avatar { width: 52px; height: 52px; }
.approval-detail > header small { color: var(--muted); font-size: 7px; }
.approval-detail > header h2 { margin: 3px 0 8px; color: var(--navy-900); font-size: 16px; line-height: 1.25; }
.decision-impact { display: grid; grid-template-columns: repeat(3, 1fr); background: #f8fafb; border-bottom: 1px solid var(--line); }
.decision-impact span { display: grid; gap: 3px; padding: 14px 17px; border-right: 1px solid var(--line); }
.decision-impact span:last-child { border-right: 0; }
.decision-impact small { color: var(--muted); font-size: 6px; font-weight: 850; }
.decision-impact strong { color: var(--navy-900); font-size: 10px; }
.approval-detail > section { padding: 17px 20px 0; }
.approval-detail > section > p { margin: 6px 0 0; color: var(--ink-soft); font-size: 9px; line-height: 1.6; }
.evidence-box { margin: 15px 20px 0; padding: 14px !important; background: #f5f8fa; border: 1px solid var(--line); border-radius: 11px; }
.evidence-box p { display: flex; align-items: center; gap: 7px; margin: 7px 0 0 !important; font-size: 7.5px !important; }
.evidence-box svg { width: 13px; color: var(--orange-600); }
.approval-detail > footer { display: flex; justify-content: flex-end; gap: 7px; margin-top: 17px; padding: 15px 20px; background: #fafbfc; border-top: 1px solid var(--line); }
.danger-button { color: var(--red) !important; }
.decision-complete { justify-content: flex-start !important; align-items: center; }
.decision-complete > svg { width: 30px; height: 30px; color: var(--green); }
.decision-complete span { display: grid; }
.decision-complete strong { font-size: 9px; }
.decision-complete small { color: var(--muted); font-size: 7px; }
.empty-state { display: grid; place-items: center; min-height: 250px; padding: 30px; text-align: center; }
.empty-state svg { width: 38px; height: 38px; color: var(--green); }
.empty-state strong { margin-top: 8px; }
.empty-state p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }

.profit-ledger { margin-bottom: 16px; }
.profit-lower, .observability-grid, .governance-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; margin-bottom: 16px; }
.cost-waterfall { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 9px; min-height: 220px; padding: 22px; }
.cost-waterfall span { display: flex; height: var(--bar); min-height: 44px; flex-direction: column; justify-content: flex-end; padding: 10px; color: #fff; background: var(--navy-800); border-radius: 9px 9px 3px 3px; }
.cost-waterfall span.down { background: #d9e1e7; color: var(--ink); }
.cost-waterfall span.result { background: var(--green); }
.cost-waterfall strong { font-size: 13px; }
.cost-waterfall small { font-size: 6.5px; }
.margin-alerts, .guardrail-list { padding: 8px 17px 15px; }
.margin-alerts article, .guardrail-list article { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.margin-alerts article:last-child, .guardrail-list article:last-child { border-bottom: 0; }
.margin-alerts svg, .guardrail-list svg { width: 32px; height: 32px; padding: 8px; color: var(--red); background: var(--red-soft); border-radius: 9px; }
.margin-alerts span, .guardrail-list span { display: grid; }
.margin-alerts strong, .guardrail-list strong { font-size: 8.5px; }
.margin-alerts small, .guardrail-list small { color: var(--muted); font-size: 7px; }
.margin-alerts b, .guardrail-list b { color: var(--red); font-size: 6.5px; }

.trust-score { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 24px 32px; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.09); }
.trust-score > span { display: flex; align-items: center; gap: 6px; color: #ff9a3d; font-size: 6.5px; font-weight: 850; letter-spacing: .1em; }
.trust-score > span svg { width: 15px; }
.trust-score > strong { margin: 4px 0 0; font-size: 42px; line-height: 1; }
.trust-score > strong small { color: #8da3b4; font-size: 11px; }
.trust-score p { margin-top: 8px; font-size: 8px; }
.trace-live { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 6.5px; font-weight: 850; }
.trace-live i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.trace-steps { padding: 11px 18px 16px; }
.trace-steps article { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 9px; position: relative; padding: 9px 0; }
.trace-steps article:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 34px; height: 15px; border-left: 1px dashed #ccd6de; }
.trace-steps article > i { display: grid; width: 24px; height: 24px; place-items: center; color: var(--orange-600); background: var(--orange-100); border-radius: 8px; font-size: 7px; font-style: normal; font-weight: 850; }
.trace-steps span { display: grid; }
.trace-steps strong { font-size: 8px; }
.trace-steps small { color: var(--muted); font-size: 6.5px; }
.trace-steps b { color: #758696; font-size: 6.5px; }
.trace-steps .trace-ok { color: var(--green); }
.guardrail-list svg { color: var(--green); background: var(--green-soft); }
.guardrail-list b { color: var(--green); }
.ai-cost-bars { display: grid; gap: 13px; padding: 20px; }
.ai-cost-bars span { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 10px; }
.ai-cost-bars small { color: var(--muted); font-size: 7px; }
.ai-cost-bars strong { font-size: 8px; }
.ai-cost-bars i { grid-column: 1 / -1; height: 6px; background: #edf1f4; border-radius: 9px; }
.ai-cost-bars i::after { content: ""; display: block; width: var(--w); height: 100%; background: var(--navy-700); border-radius: inherit; }

.customer-command > aside { position: relative; display: grid; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.09); }
.customer-command > aside span { display: grid; align-content: center; padding: 13px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.customer-command > aside span:last-child { border-bottom: 0; }
.customer-command > aside small { color: #8ea4b5; font-size: 6px; font-weight: 850; }
.customer-command > aside strong { color: #fff; font-size: 16px; }
.customer-segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.customer-segments button { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 11px; font-size: 8px; font-weight: 750; cursor: pointer; }
.customer-segments button strong { color: var(--navy-900); font-size: 11px; }
.customer-segments button.is-active { color: var(--orange-600); background: #fff8f1; border-color: #ffc68f; }
.customer-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr); gap: 16px; }
.customer-profile { overflow: hidden; }
.customer-profile > header { display: grid; grid-template-columns: 48px 1fr 32px; align-items: center; gap: 10px; padding: 18px; border-bottom: 1px solid var(--line); }
.profile-avatar { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; background: var(--navy-800); border-radius: 14px; font-size: 9px; font-weight: 850; }
.customer-profile header small { color: var(--orange-600); font-size: 6px; font-weight: 850; }
.customer-profile header h2 { margin: 2px 0 0; font-size: 14px; }
.customer-profile header p { margin: 0; color: var(--muted); font-size: 7px; }
.customer-profile header button { display: grid; width: 32px; height: 32px; place-items: center; background: #f3f6f8; border: 0; border-radius: 9px; }
.profile-score { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #f8fafb; border-bottom: 1px solid var(--line); }
.profile-score > span { display: grid; flex: 1; gap: 2px; }
.profile-score small { color: var(--muted); font-size: 6px; font-weight: 850; }
.profile-score strong { font-size: 10px; }
.profile-score i { width: 80%; height: 4px; background: #e5ebef; border-radius: 8px; }
.profile-score i b { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.profile-score > b { padding: 5px 8px; color: var(--green); background: var(--green-soft); border-radius: 99px; font-size: 6px; }
.next-action { display: grid; grid-template-columns: 34px 1fr; gap: 9px; margin: 14px 17px; padding: 12px; background: var(--orange-100); border: 1px solid #ffd8b5; border-radius: 11px; }
.next-action > svg { width: 34px; height: 34px; padding: 8px; color: #fff; background: var(--orange-500); border-radius: 9px; }
.next-action span { display: grid; }
.next-action small { color: var(--orange-600); font-size: 6px; font-weight: 850; }
.next-action strong { font-size: 8.5px; }
.next-action p { margin: 1px 0 0; color: #7d674f; font-size: 6.8px; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 0 17px 14px; }
.profile-facts span { display: grid; padding: 10px; background: #f7f9fa; }
.profile-facts small { color: var(--muted); font-size: 5.8px; font-weight: 850; }
.profile-facts strong { font-size: 8px; }
.consent-box { margin: 0 17px 17px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.consent-box span { display: flex; align-items: center; gap: 6px; }
.consent-box svg { width: 14px; color: var(--green); }
.consent-box strong { font-size: 8px; }
.consent-box small { display: block; margin: 4px 0 7px; color: var(--muted); font-size: 7px; }
.consent-box a { color: var(--orange-600); font-size: 7px; font-weight: 850; cursor: pointer; }
.filter-search.compact { max-width: 210px; }

.integration-command .health-ring { position: relative; display: grid; place-items: center; padding: 20px; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.09); }
.health-ring > div { display: grid; width: 120px; height: 120px; place-content: center; text-align: center; border: 9px solid rgba(255,255,255,.08); border-top-color: var(--green); border-right-color: var(--green); border-radius: 50%; transform: rotate(8deg); }
.health-ring strong, .health-ring small { transform: rotate(-8deg); }
.health-ring strong { font-size: 30px; line-height: 1; }
.health-ring small { color: #91a5b5; font-size: 6px; font-weight: 850; }
.health-ring > span { display: flex; align-items: center; gap: 5px; color: #d5e1e8; font-size: 7px; }
.health-ring > span i { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.connector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.connector-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); }
.connector-card > header { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 7px; }
.connector-icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--navy-700); background: #f0f4f7; border-radius: 11px; }
.connector-icon svg { width: 18px; }
.connector-state { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 6px; font-weight: 900; }
.connector-state i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.status-warning .connector-state { color: var(--amber); }
.status-critical .connector-state { color: var(--red); }
.status-setup .connector-state { color: #788898; }
.connector-card > div { padding: 4px 14px 10px; }
.connector-card > div small { color: var(--muted); font-size: 6.5px; }
.connector-card h3 { margin: 2px 0 0; font-size: 12px; }
.connector-card dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; background: #f8fafb; border-block: 1px solid var(--line); }
.connector-card dl div { padding: 10px; border-right: 1px solid var(--line); }
.connector-card dl div:last-child { border-right: 0; }
.connector-card dt { color: var(--muted); font-size: 5.5px; font-weight: 850; }
.connector-card dd { margin: 2px 0 0; overflow: hidden; font-size: 7px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.connector-card > footer { display: flex; gap: 5px; padding: 9px; }
.connector-card footer button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 5px; color: #586b7b; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 6.5px; font-weight: 800; cursor: pointer; }
.connector-card footer button:first-child { color: var(--orange-600); }
.connector-card footer svg { width: 11px; }
.event-stream { margin-bottom: 16px; }
.event-rows { padding: 4px 18px 12px; }
.event-rows > span { display: grid; grid-template-columns: 8px 62px 100px 1fr auto; align-items: center; gap: 10px; min-height: 42px; border-bottom: 1px solid var(--line); font-size: 7px; }
.event-rows > span:last-child { border-bottom: 0; }
.event-rows i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.event-rows i.warning { background: var(--amber); }
.event-rows i.critical { background: var(--red); }
.event-rows time, .event-rows p { color: var(--muted); }
.event-rows p { margin: 0; }
.event-rows b { font-size: 6.5px; }

.settings-tabs { display: flex; overflow-x: auto; gap: 6px; margin-bottom: 12px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.settings-tabs button { flex: 1; min-width: 120px; padding: 9px 11px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: 8px; font-weight: 800; cursor: pointer; }
.settings-tabs button.is-active { color: #fff; background: var(--navy-800); }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.policy-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-soft); }
.policy-card header { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; }
.policy-card header > svg { width: 38px; height: 38px; padding: 10px; color: var(--orange-600); background: var(--orange-100); border-radius: 10px; }
.policy-card header small { color: var(--muted); font-size: 6px; font-weight: 850; }
.policy-card header h3 { margin: 1px 0 0; font-size: 11px; }
.policy-card header b { color: var(--green); font-size: 6px; }
.policy-card > p { min-height: 48px; margin: 14px 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.policy-card > div { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.policy-card > div span { display: flex; justify-content: space-between; padding: 9px; background: #f8fafb; color: var(--muted); font-size: 7px; }
.policy-card > div strong { color: var(--navy-900); }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .5fr); gap: 16px; }
.retention-card { padding: 22px; }
.retention-card h2 { margin: 4px 0 6px; font-size: 16px; }
.retention-card > p { color: var(--muted); font-size: 8px; }
.retention-card > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 18px 0; }
.retention-card > div span { display: grid; padding: 10px; background: #f4f7f9; border-radius: 9px; }
.retention-card > div strong { font-size: 12px; }
.retention-card > div small { color: var(--muted); font-size: 6px; }
.retention-card button { width: 100%; padding: 9px; color: var(--orange-600); background: var(--orange-100); border: 0; border-radius: 8px; font-size: 7px; font-weight: 850; }
.custom-agent-cta { width: calc(100% - 20px); display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 9px; margin: 10px; padding: 11px; text-align: left; color: var(--navy-900); background: #fff8f1; border: 1px dashed #ffb975; border-radius: 11px; cursor: pointer; }
.custom-agent-cta > svg { width: 36px; height: 36px; padding: 9px; color: #fff; background: var(--orange-500); border-radius: 10px; }
.custom-agent-cta span { display: grid; }
.custom-agent-cta strong { font-size: 8px; }
.custom-agent-cta small { color: var(--muted); font-size: 6.5px; }
.custom-agent-cta b { color: var(--orange-600); font-size: 18px; }

/* Commerce OS */
.commerce-os-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .45fr); overflow: hidden; margin-bottom: 16px; color: #fff; background: var(--navy-900); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; box-shadow: 0 20px 46px rgba(7,25,43,.14); }
.commerce-os-hero::before { content: ""; position: absolute; width: 410px; height: 410px; right: -170px; top: -240px; border: 1px solid rgba(255,122,0,.22); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.018), 0 0 0 130px rgba(255,255,255,.012); }
.commerce-os-hero > div { position: relative; padding: 37px 40px; }
.commerce-os-hero .eyebrow { color: #ff9a3d; }
.commerce-os-hero h2 { margin: 7px 0 10px; font-size: clamp(32px, 4.4vw, 54px); line-height: .98; letter-spacing: -.055em; }
.commerce-os-hero h2 em { color: var(--orange-500); font-style: normal; }
.commerce-os-hero > div > p { max-width: 720px; margin: 0; color: #afc0cc; font-size: 11px; line-height: 1.65; }
.commerce-os-hero > aside { position: relative; display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 240px; padding: 25px; text-align: center; background: rgba(255,255,255,.035); border-left: 1px solid rgba(255,255,255,.08); }
.commerce-os-hero > aside > div { display: grid; width: 126px; height: 126px; place-content: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: inset 0 0 0 9px rgba(255,255,255,.025), 0 0 0 1px rgba(255,122,0,.18); }
.commerce-os-hero > aside strong { color: #fff; font-size: 38px; line-height: 1; }
.commerce-os-hero > aside small { margin-top: 4px; color: #93a8b8; font-size: 6px; font-weight: 850; letter-spacing: .1em; }
.commerce-os-hero > aside > span { display: inline-flex; align-items: center; gap: 5px; color: #d9e4eb; font-size: 7px; font-weight: 800; }
.commerce-os-hero > aside > span i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(14,158,105,.13); }
.commerce-os-hero > aside > p { margin: 0; color: #8399aa; font-size: 7px; }
.commerce-os-shell { display: grid; grid-template-columns: minmax(245px, .48fr) minmax(0, 1.52fr); gap: 14px; align-items: start; }
.os-module-rail, .os-module-workspace { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-soft); }
.os-module-rail { overflow: hidden; }
.os-module-rail > header { padding: 18px; border-bottom: 1px solid var(--line); }
.os-module-rail > header h2 { margin: 3px 0 2px; font-size: 16px; }
.os-module-rail > header p { margin: 0; color: var(--muted); font-size: 7.5px; }
.os-module-rail > div { display: grid; max-height: 790px; overflow-y: auto; gap: 3px; padding: 7px; }
.os-module-rail button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 13px; align-items: center; gap: 8px; padding: 9px; text-align: left; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.os-module-rail button:hover { background: #f6f8fa; }
.os-module-rail button.is-active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 8px 18px rgba(7,25,43,.12); }
.os-module-rail button > svg:first-child { width: 34px; height: 34px; padding: 9px; color: var(--orange-600); background: var(--orange-100); border-radius: 9px; }
.os-module-rail button.is-active > svg:first-child { color: #fff; background: var(--orange-500); }
.os-module-rail button > span { display: grid; min-width: 0; }
.os-module-rail button strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.os-module-rail button small { overflow: hidden; color: var(--muted); font-size: 5.8px; text-overflow: ellipsis; white-space: nowrap; }
.os-module-rail button.is-active small { color: #8fa7b8; }
.os-module-rail button > b { color: var(--green); font-size: 5.8px; white-space: nowrap; }
.os-module-rail button.is-active > b { color: #5fe0ad; }
.os-module-rail button > svg:last-child { width: 12px; color: #a5b0ba; }
.os-module-workspace { overflow: hidden; }
.os-module-workspace > header { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 20px; border-bottom: 1px solid var(--line); }
.os-module-icon { display: grid; width: 52px; height: 52px; place-items: center; color: #fff; background: var(--navy-800); border-radius: 15px; }
.os-module-icon svg { width: 23px; }
.os-module-workspace > header > div { min-width: 0; }
.os-module-workspace > header h2 { margin: 2px 0; color: var(--navy-900); font-size: 18px; }
.os-module-workspace > header p { max-width: 690px; margin: 0; color: var(--muted); font-size: 7.5px; line-height: 1.5; }
.os-module-status { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; color: var(--green); background: var(--green-soft); border-radius: 99px; font-size: 6px; font-weight: 850; white-space: nowrap; }
.os-module-status i { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.os-module-workspace > header .button { white-space: nowrap; }
.os-kpis { display: grid; grid-template-columns: repeat(4, 1fr); background: #f8fafb; border-bottom: 1px solid var(--line); }
.os-kpis article { display: grid; padding: 14px 17px; border-right: 1px solid var(--line); }
.os-kpis article:last-child { border-right: 0; }
.os-kpis small { color: var(--muted); font-size: 6px; font-weight: 850; letter-spacing: .06em; }
.os-kpis strong { margin: 2px 0; color: var(--navy-900); font-size: 16px; }
.os-kpis span { color: #94a2ae; font-size: 6px; }
.os-process-stage, .os-chart-stage, .os-app-stage { margin: 16px; padding: 20px; background: var(--navy-900); border-radius: 15px; color: #fff; }
.os-process-stage > .eyebrow, .os-chart-stage .eyebrow, .os-app-stage .eyebrow { color: #ff9a3d; }
.os-process-stage > h3, .os-app-stage h3 { margin: 3px 0 17px; font-size: 15px; }
.os-process-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; }
.os-process-line article { position: relative; display: grid; grid-template-columns: 36px 18px 1fr; align-items: center; gap: 7px; min-height: 86px; padding: 12px; background: #0a2137; }
.os-process-line article > i { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--orange-500); border-radius: 10px; }
.os-process-line article > i svg { width: 17px; }
.os-process-line article > b { display: grid; width: 17px; height: 17px; place-items: center; color: #8ea6b8; border: 1px solid #345069; border-radius: 50%; font-size: 6px; }
.os-process-line article > span { display: grid; }
.os-process-line strong { font-size: 8px; }
.os-process-line small { color: #8fa5b6; font-size: 6.5px; }
.os-process-stage > footer { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; margin-top: 14px; padding: 11px; color: #aebfcb; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; }
.os-process-stage > footer > svg { width: 28px; height: 28px; padding: 7px; color: #5fe0ad; background: rgba(95,224,173,.1); border-radius: 8px; }
.os-process-stage > footer span { display: grid; }
.os-process-stage > footer strong { color: #dce6ed; font-size: 7px; }
.os-process-stage > footer small { font-size: 6px; }
.os-process-stage > footer a { display: inline-flex; align-items: center; gap: 4px; color: #ff9a3d; font-size: 6.5px; font-weight: 850; cursor: pointer; }
.os-process-stage > footer a svg { width: 11px; }
.os-ledger { margin: 0 16px 16px; border-radius: 13px; box-shadow: none; }
.os-device-stage { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); align-items: center; gap: 28px; min-height: 400px; margin: 16px; padding: 25px clamp(25px, 4vw, 50px); color: #fff; background: var(--navy-900); border-radius: 15px; }
.os-device { width: 210px; min-height: 348px; justify-self: center; overflow: hidden; color: var(--ink); background: #f5f7f8; border: 7px solid #18364f; border-radius: 27px; box-shadow: 0 20px 45px rgba(0,0,0,.28); }
.os-device > header { position: relative; display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 12px; color: #fff; background: #0a2137; }
.os-device > header small { font-size: 6.5px; font-weight: 800; }
.os-device > header svg { width: 12px; }
.os-device-notch { position: absolute; width: 62px; height: 9px; left: 50%; top: 0; background: #18364f; border-radius: 0 0 8px 8px; transform: translateX(-50%); }
.os-device > main { display: grid; gap: 8px; padding: 12px; }
.os-device > main button { padding: 9px; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 7px; font-weight: 750; }
.os-device > main > b { display: block; padding: 10px; text-align: center; color: #fff; background: var(--orange-500); border-radius: 9px; font-size: 7px; }
.device-bubble { padding: 10px; color: #34495a; background: #e8edf1; border-radius: 4px 12px 12px; font-size: 7px; line-height: 1.45; }
.device-summary { display: grid; padding: 11px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.device-summary small { color: var(--muted); font-size: 5.5px; font-weight: 850; }
.device-summary strong { font-size: 9px; }
.device-summary span { color: var(--muted); font-size: 6px; }
.scanner-frame { display: grid; min-height: 150px; place-items: center; align-content: center; gap: 9px; color: var(--orange-600); background: #fff; border: 1px dashed #ffb877; border-radius: 11px; }
.scanner-frame svg { width: 58px; height: 58px; stroke-width: 1.2; }
.scanner-frame span { font-size: 6px; }
.mobile-metric { display: grid; padding: 16px 12px; color: #fff; background: var(--navy-800); border-radius: 11px; }
.mobile-metric small { color: #8ea6b8; font-size: 5.5px; }
.mobile-metric strong { font-size: 22px; }
.mobile-metric span { color: #5fe0ad; font-size: 7px; }
.mobile-priorities { display: grid; gap: 5px; }
.mobile-priorities span { display: flex; align-items: center; gap: 6px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 6.5px; font-weight: 750; }
.mobile-priorities i { width: 6px; height: 6px; background: var(--orange-500); border-radius: 50%; }
.os-device-copy > h3 { margin: 4px 0 7px; font-size: 21px; }
.os-device-copy > p { max-width: 540px; margin: 0 0 18px; color: #aebfcb; font-size: 8px; line-height: 1.6; }
.os-device-copy > div { display: grid; gap: 8px; }
.os-device-copy > div > span { display: grid; grid-template-columns: 32px 1fr; gap: 0 8px; padding: 10px; color: #dbe6ed; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; }
.os-device-copy > div svg { grid-row: span 2; width: 32px; height: 32px; padding: 8px; color: #fff; background: var(--orange-500); border-radius: 9px; }
.os-device-copy > div b { font-size: 8px; }
.os-device-copy > div small { color: #8ea5b6; font-size: 6.5px; }
.os-chart-stage { padding-bottom: 14px; }
.os-chart-stage > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.os-chart-stage h3 { margin: 3px 0 0; font-size: 15px; }
.os-chart-stage > header > span { display: inline-flex; align-items: center; gap: 5px; color: #5fe0ad; font-size: 6.5px; font-weight: 850; }
.os-chart-stage > header > span i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.os-bars { height: 190px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 10px; padding: 22px 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.os-bars > i { position: relative; height: var(--bar); min-height: 24px; background: #24445e; border-radius: 7px 7px 0 0; font-style: normal; }
.os-bars > i:nth-child(6), .os-bars > i:nth-child(7) { background: var(--orange-500); }
.os-bars b { position: absolute; top: -16px; width: 100%; text-align: center; color: #b7c7d2; font-size: 6px; }
.os-bars small { position: absolute; bottom: -17px; width: 100%; text-align: center; color: #718ca1; font-size: 6px; }
.os-chart-stage > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 26px; color: #9eb2c1; font-size: 6.5px; }
.os-chart-stage > footer span { display: flex; align-items: center; gap: 6px; }
.os-chart-stage > footer svg { width: 14px; color: #ff9a3d; }
.os-chart-stage > footer strong { color: #fff; font-size: 11px; }
.os-app-stage > header { margin-bottom: 14px; }
.os-app-stage > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.os-app-stage article { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; padding: 12px; color: var(--ink); background: #fff; border-radius: 10px; }
.os-app-stage article > svg { width: 38px; height: 38px; padding: 9px; color: var(--orange-600); background: var(--orange-100); border-radius: 10px; }
.os-app-stage article span { display: grid; }
.os-app-stage article strong { font-size: 8px; }
.os-app-stage article small { color: var(--muted); font-size: 6px; }
.os-app-stage article button { padding: 6px 8px; color: var(--orange-600); background: var(--orange-100); border: 0; border-radius: 7px; font-size: 6.5px; font-weight: 850; cursor: pointer; }

/* Pingu · fixed AI customer support */
#supportRoot { position: relative; z-index: 110; }
.penguen-mascot { display: block; width: 100%; height: 100%; background: #fff url("../img/penguen-mascot.png") center / contain no-repeat; border-radius: inherit; }
.support-launcher { position: fixed; z-index: 112; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; align-items: center; gap: 10px; width: 238px; min-height: 64px; padding: 8px 11px 8px 8px; text-align: left; color: #fff; background: var(--navy-900); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 18px 44px rgba(5,18,31,.28); cursor: pointer; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.support-launcher:hover { transform: translateY(-3px); box-shadow: 0 22px 52px rgba(5,18,31,.34); }
.support-launcher.is-open { transform: translateY(4px); opacity: 0; pointer-events: none; }
.support-launcher-mascot { position: relative; display: block; width: 48px; height: 48px; padding: 3px; background: #fff; border: 2px solid var(--orange-500); border-radius: 14px; overflow: hidden; }
.support-launcher-mascot b, .support-head-mascot b { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; background: #19bf7d; border: 2px solid #fff; border-radius: 50%; }
.support-launcher > span:nth-child(2) { display: grid; }
.support-launcher strong { font-size: 10px; }
.support-launcher small { color: #9eb1bf; font-size: 7px; }
.support-launcher > svg { width: 28px; height: 28px; padding: 6px; color: #fff; background: var(--orange-500); border-radius: 9px; }
.support-panel { position: fixed; z-index: 113; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); width: min(380px, calc(100vw - 28px)); height: min(690px, calc(100vh - 32px)); display: flex; visibility: hidden; overflow: hidden; flex-direction: column; opacity: 0; background: #fff; border: 1px solid #dce4ea; border-radius: 21px; box-shadow: 0 26px 70px rgba(5,18,31,.32); transform: translateY(18px) scale(.97); transform-origin: right bottom; transition: opacity 220ms ease, transform 250ms var(--ease), visibility 0s linear 250ms; }
.support-panel.is-open { visibility: visible; opacity: 1; transform: translateY(0) scale(1); transition-delay: 0s; }
.support-panel > header { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 34px; align-items: center; gap: 11px; min-height: 91px; padding: 15px 16px; color: #fff; background: var(--navy-900); }
.support-panel > header::after { content: ""; position: absolute; width: 120px; height: 120px; right: -60px; top: -70px; border: 1px solid rgba(255,122,0,.22); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.02); }
.support-head-mascot { position: relative; display: block; width: 58px; height: 58px; padding: 3px; background: #fff; border: 2px solid var(--orange-500); border-radius: 17px; overflow: visible; }
.support-head-mascot .penguen-mascot { overflow: hidden; }
.support-panel > header > div { display: grid; position: relative; }
.support-panel > header small { color: #ff9a3d; font-size: 6px; font-weight: 900; letter-spacing: .1em; }
.support-panel > header h2 { margin: 1px 0; font-size: 18px; }
.support-panel > header p { display: flex; align-items: center; gap: 5px; margin: 0; color: #a8bac7; font-size: 7px; }
.support-panel > header p i { width: 6px; height: 6px; background: #19bf7d; border-radius: 50%; }
.support-panel > header button { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; color: #c9d6df; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; cursor: pointer; }
.support-panel > header button svg { width: 16px; }
.support-notice { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 7px; margin: 10px 12px 0; padding: 8px 9px; color: #566b7b; background: #eef4f7; border-radius: 9px; }
.support-notice > svg { width: 27px; height: 27px; padding: 6px; color: var(--orange-600); background: #fff; border-radius: 8px; }
.support-notice p { margin: 0; font-size: 6.8px; line-height: 1.45; }
.support-thread { flex: 1; min-height: 180px; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px; background: #fbfcfd; }
.support-message { display: flex; max-width: 91%; align-items: flex-start; gap: 7px; margin-bottom: 12px; }
.support-message.is-user { margin-left: auto; justify-content: flex-end; }
.support-message-avatar { flex: 0 0 auto; display: block; width: 31px; height: 31px; padding: 2px; background: #fff; border: 1px solid #ffc184; border-radius: 9px; overflow: hidden; }
.support-message > div { display: grid; min-width: 0; }
.support-message small { margin: 0 0 3px 2px; color: #82919e; font-size: 5.5px; font-weight: 850; }
.support-message p { margin: 0; padding: 9px 10px; color: #33495a; background: #eef2f5; border: 1px solid #e2e8ed; border-radius: 4px 12px 12px; font-size: 8px; line-height: 1.55; }
.support-message.is-user p { color: #fff; background: var(--navy-800); border-color: var(--navy-800); border-radius: 12px 4px 12px 12px; }
.support-message > div > button { display: inline-flex; width: fit-content; align-items: center; gap: 4px; margin-top: 5px; padding: 6px 8px; color: var(--orange-600); background: #fff7ef; border: 1px solid #ffd5ad; border-radius: 7px; font-size: 6.5px; font-weight: 850; cursor: pointer; }
.support-message > div > button svg { width: 11px; }
.support-typing { display: flex !important; align-items: center; gap: 4px; min-height: 35px; padding: 10px 12px; background: #eef2f5; border-radius: 4px 12px 12px; }
.support-typing i { width: 5px; height: 5px; background: #8295a3; border-radius: 50%; animation: support-dot 900ms infinite ease-in-out; }
.support-typing i:nth-child(2) { animation-delay: 120ms; }
.support-typing i:nth-child(3) { animation-delay: 240ms; }
@keyframes support-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.support-prompts { display: flex; overflow-x: auto; gap: 5px; padding: 8px 11px; border-top: 1px solid var(--line); }
.support-prompts button { flex: 0 0 auto; padding: 6px 8px; color: #526879; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: 6.5px; font-weight: 750; cursor: pointer; }
.support-prompts button:hover { color: var(--orange-600); border-color: #ffc288; }
.support-composer { display: grid; grid-template-columns: minmax(0, 1fr) 39px; align-items: center; gap: 7px; padding: 9px 11px; background: #f8fafb; border-top: 1px solid var(--line); }
.support-composer input { width: 100%; height: 39px; padding: 0 11px; outline: 0; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 8px; }
.support-composer input:focus { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(255,122,0,.1); }
.support-composer button { display: grid; width: 39px; height: 39px; place-items: center; color: #fff; background: var(--orange-500); border: 0; border-radius: 10px; cursor: pointer; }
.support-composer button svg { width: 15px; }
.support-panel > footer { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 27px; color: #8a99a5; background: #f8fafb; border-top: 1px solid var(--line); font-size: 5.8px; }
.support-panel > footer svg { width: 10px; color: var(--green); }

@media (max-width: 1260px) {
  :root { --sidebar-w: 242px; }
  .topbar { grid-template-columns: minmax(160px, .65fr) minmax(250px, 1.2fr) auto; gap: 14px; padding-inline: 22px; }
  .sync-state span { display: none; }
  .metric-card { padding: 17px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2)::after { display: none; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid.four { grid-template-columns: repeat(2, 1fr); }
  .credit-wallet { grid-template-columns: 1fr; }
  .whatsapp-shell { grid-template-columns: 275px minmax(0, 1fr); }
  .wa-profile { display: none; }
  .ai-center-shell { grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr); }
  .connector-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: 1fr 1fr; }
  .commerce-os-shell { grid-template-columns: minmax(220px, .42fr) minmax(0, 1.58fr); }
  .os-module-workspace > header { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .os-module-workspace > header .button { grid-column: 2 / -1; width: fit-content; }
}

@media (max-width: 960px) {
  .sidebar { width: min(290px, calc(100vw - 48px)); transform: translateX(-102%); transition: transform 280ms var(--ease); box-shadow: 16px 0 50px rgba(5,18,31,.18); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open .sidebar-scrim { visibility: visible; opacity: 1; }
  .main-shell { margin-left: 0; }
  .mobile-menu { display: grid !important; }
  .topbar { grid-template-columns: minmax(0, .65fr) minmax(250px, 1.2fr) auto; }
  .topbar-actions .button span, .sync-state { display: none; }
  .topbar-actions .button { width: 40px; padding: 0; }
  .command-hero { grid-template-columns: 1fr; }
  .commerce-pulse { margin-top: 0; }
  .dashboard-grid, .stock-layout { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-training-banner { grid-template-columns: 52px minmax(0, 1fr); }
  .ai-training-stats { grid-column: 1 / -1; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.1); }
  .ai-studio-grid { grid-template-columns: 1fr; }
  .ai-center-shell { grid-template-columns: 1fr; }
  .ai-worker-list { grid-template-columns: 1fr 1fr; }
  .ai-worker-panel > header { min-height: 66px; }
  .ai-center-chat { min-height: 640px; }
  .price-grid.three { grid-template-columns: repeat(2, 1fr); }
  .pipeline-health { grid-template-columns: 1fr 1fr; }
  .pipeline-steps { grid-column: 1 / -1; }
  .intelligence-command, .approval-command, .observability-hero, .customer-command, .integration-command { grid-template-columns: 1fr; }
  .intelligence-command > aside, .profit-pulse, .trust-score, .customer-command > aside, .integration-command .health-ring, .approval-command > aside { border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
  .approval-command > aside { grid-template-columns: repeat(3, 1fr); }
  .approval-command > aside > span { border-right: 1px solid rgba(255,255,255,.08); border-bottom: 0; }
  .approval-shell, .customer-layout, .privacy-layout { grid-template-columns: 1fr; }
  .profit-lower, .observability-grid, .governance-grid, .automation-lower { grid-template-columns: 1fr; }
  .forecast-row { grid-template-columns: minmax(180px, 1.3fr) repeat(3, .7fr); }
  .forecast-row .forecast-bar { grid-column: 1 / -1; padding-bottom: 8px; }
  .policy-grid { grid-template-columns: 1fr; }
  .commerce-os-hero { grid-template-columns: 1fr; }
  .commerce-os-hero > aside { grid-template-columns: 126px auto; min-height: 170px; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .commerce-os-hero > aside > p { grid-column: 2; }
  .commerce-os-shell { grid-template-columns: 1fr; }
  .os-module-rail > div { display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 7px; scroll-snap-type: x mandatory; }
  .os-module-rail button { flex: 0 0 230px; scroll-snap-align: start; }
  .os-device-stage { grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr); }
}

@media (max-width: 720px) {
  :root { --topbar-h: 66px; }
  .topbar { min-height: 66px; grid-template-columns: minmax(0, 1fr) auto; padding: 9px 14px; }
  .global-search { grid-column: 1 / -1; grid-row: 2; display: none; }
  .page-identity span { font-size: 7.5px; }
  .page-identity h1 { font-size: 16px; }
  .announcement { justify-content: space-between; padding-inline: 14px; }
  .announcement span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .announcement button { flex: 0 0 auto; font-size: 0; }
  .announcement button svg { width: 16px; }
  .page-content { padding: 15px 12px 24px; }
  .app-footer { flex-direction: column; align-items: flex-start; padding-inline: 14px; }
  .command-hero { min-height: 0; border-radius: 18px; }
  .hero-copy { padding: 28px 22px; }
  .hero-copy h2 { font-size: clamp(29px, 10vw, 42px); }
  .hero-copy > p { font-size: 11px; }
  .commerce-pulse { margin: 0 12px 12px; padding: 17px; }
  .pulse-main { grid-template-columns: 105px 1fr; }
  .pulse-ring, .pulse-ring svg { width: 105px; height: 105px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 104px; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 13px; }
  .metric-icon { width: 34px; height: 34px; }
  .metric-copy strong { font-size: 18px; }
  .metric-copy span { font-size: 8px; }
  .dashboard-grid { gap: 12px; margin-top: 12px; }
  .wide-panel { margin-top: 12px; }
  .panel-head { min-height: 60px; padding: 14px; }
  .panel-head h2 { font-size: 14px; }
  .period-tabs button { padding: 4px 6px; }
  .sales-chart { padding-inline: 14px; }
  .chart-legend { display: none; }
  .module-hero { align-items: flex-start; flex-direction: column; margin-bottom: 13px; }
  .module-hero h2 { font-size: 27px; }
  .module-actions { width: 100%; justify-content: flex-start; }
  .channel-switcher { overflow-x: auto; }
  .channel-switcher > span { display: none; }
  .channel-switcher button { flex: 0 0 auto; }
  .ai-training-banner { grid-template-columns: 43px minmax(0, 1fr); padding: 13px; }
  .ai-training-mark { width: 41px; height: 41px; }
  .ai-training-banner h3 { font-size: 12px; }
  .ai-training-banner p { font-size: 7.5px; }
  .ai-training-stats span { min-width: 0; padding-inline: 8px; }
  .ai-center-hero { grid-template-columns: 1fr; border-radius: 17px; }
  .ai-center-hero-copy { padding: 26px 22px; }
  .ai-center-hero h2 { font-size: 31px; }
  .ai-center-hero-copy > p { font-size: 10px; }
  .ai-team-radar { padding: 18px 22px 21px; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .radar-agents { margin: 14px 0 12px; }
  .ai-worker-list { display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 9px; scroll-snap-type: x mandatory; }
  .ai-worker-card { min-width: 265px; scroll-snap-align: start; }
  .ai-worker-card:hover { transform: none; }
  .ai-center-chat { min-height: 0; }
  .ai-chat-head { grid-template-columns: 46px minmax(0, 1fr) 34px; padding: 14px; }
  .ai-chat-head > .ai-agent-avatar { width: 46px; height: 46px; }
  .ai-chat-head h2 { font-size: 15px; }
  .ai-chat-head h2 small { display: block; margin: 2px 0 0; }
  .ai-chat-head p { display: none; }
  .ai-agent-scope { padding-inline: 14px; }
  .ai-center-policy { margin-inline: 12px; }
  .ai-center-messages { min-height: 390px; max-height: 460px; padding: 14px 12px; }
  .ai-center-message { max-width: 90%; }
  .ai-center-prompts { flex-wrap: nowrap; overflow-x: auto; padding-inline: 12px; }
  .ai-center-prompts button { flex: 0 0 auto; }
  .ai-center-composer { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 10px 11px 12px; }
  .ai-center-composer > .ai-agent-avatar { width: 32px; height: 32px; }
  .chat-context { overflow-x: auto; }
  .chat-context span { flex: 0 0 auto; }
  .summary-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .summary-card { min-height: 103px; padding: 13px; }
  .summary-card > strong { font-size: 18px; }
  .channel-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: wrap; }
  .filter-search { flex-basis: 100%; max-width: none; }
  .filter-count { display: none; }
  .whatsapp-shell { height: calc(100vh - 160px); min-height: 560px; grid-template-columns: 1fr; }
  .wa-sidebar { display: none; }
  .wa-messages { padding: 14px 10px; }
  .kanban { margin-right: -12px; padding-right: 12px; }
  .pipeline-health { grid-template-columns: 1fr; gap: 14px; }
  .pipeline-steps { grid-column: auto; }
  .price-grid.three, .price-grid.four { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .voice-hero { grid-template-columns: 1fr; }
  .voice-hero > div, .voice-hero > aside { padding: 23px; }
  .voice-hero > aside { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .voice-tier-grid { grid-template-columns: 1fr; }
  .credit-wallet { grid-template-columns: 1fr; padding: 18px; }
  .balance-grid { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: 1fr 1fr; }
  .service-price-grid article { grid-template-columns: 40px minmax(0, 1fr); }
  .service-price-grid > article > strong, .service-price-grid article > .button { grid-column: 2; }
  .purchase-summary { grid-template-columns: 40px minmax(0, 1fr); margin-inline: 17px; }
  .purchase-summary > strong { grid-column: 2; }
  .dialog-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .app-dialog form > header, .dialog-grid { padding: 17px; }
  .app-dialog form > footer { padding: 12px 17px; }
  .intelligence-command > div, .approval-command > div, .observability-hero > div, .customer-command > div, .integration-command > div { padding: 24px 21px; }
  .intelligence-command h2, .approval-command h2, .observability-hero h2, .customer-command h2, .integration-command h2 { font-size: 29px; }
  .intelligence-command > aside, .profit-pulse, .trust-score { padding: 20px 21px; }
  .approval-command > aside { grid-template-columns: 1fr 1fr 1fr; }
  .approval-command > aside > span { padding: 14px; }
  .approval-command > aside strong { font-size: 14px; }
  .approval-shell { gap: 12px; }
  .approval-queue > header { align-items: flex-start; flex-direction: column; }
  .approval-filters { width: 100%; }
  .approval-filters button { flex: 1; }
  .approval-item { grid-template-columns: 38px minmax(0, 1fr) 14px; }
  .approval-item > .ai-agent-avatar { width: 38px; height: 38px; }
  .approval-item > .approval-status { grid-column: 2; }
  .decision-impact { grid-template-columns: 1fr; }
  .decision-impact span { border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-impact span:last-child { border-bottom: 0; }
  .approval-detail > footer { flex-wrap: wrap; }
  .approval-detail > footer .button.primary { flex: 1 0 100%; order: -1; }
  .forecast-grid { padding-inline: 13px; }
  .forecast-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px 0; }
  .forecast-row .forecast-product { grid-column: 1 / -1; }
  .forecast-row .forecast-bar { grid-column: 1 / -1; }
  .transfer-list article { grid-template-columns: 1fr 18px 1fr; }
  .transfer-list article strong, .transfer-list article small { grid-column: 1 / -1; }
  .automation-builder > header { align-items: flex-start; flex-direction: column; padding: 18px; }
  .automation-builder > header > div:last-child { width: 100%; }
  .automation-builder > header .button { flex: 1; }
  .automation-canvas { padding: 26px 18px; }
  .automation-builder > footer { align-items: flex-start; flex-direction: column; padding-inline: 18px; }
  .profit-ledger .panel-head { align-items: flex-start; flex-direction: column; }
  .cost-waterfall { grid-template-columns: repeat(5, minmax(65px, 1fr)); overflow-x: auto; padding: 16px; }
  .customer-segments { grid-template-columns: 1fr 1fr; }
  .customer-ledger .panel-head { align-items: flex-start; flex-direction: column; }
  .filter-search.compact { width: 100%; max-width: none; }
  .connector-grid { grid-template-columns: 1fr; }
  .event-rows > span { grid-template-columns: 8px 58px 1fr auto; padding-block: 7px; }
  .event-rows p { grid-column: 3 / -1; }
  .health-ring > div { width: 105px; height: 105px; }
  .settings-tabs button { flex: 0 0 auto; }
  .retention-card > div { grid-template-columns: 1fr; }
  .commerce-os-hero { border-radius: 18px; }
  .commerce-os-hero > div { padding: 27px 22px; }
  .commerce-os-hero h2 { font-size: 34px; }
  .commerce-os-hero > aside { grid-template-columns: 105px 1fr; justify-items: start; padding: 19px 22px; text-align: left; }
  .commerce-os-hero > aside > div { grid-row: 1 / span 3; width: 105px; height: 105px; text-align: center; }
  .commerce-os-hero > aside strong { font-size: 31px; }
  .os-module-rail > header { padding: 15px; }
  .os-module-rail button { flex-basis: 215px; }
  .os-module-workspace > header { grid-template-columns: 45px minmax(0, 1fr); padding: 15px; }
  .os-module-icon { width: 45px; height: 45px; border-radius: 12px; }
  .os-module-workspace > header h2 { font-size: 15px; }
  .os-module-status { grid-column: 1 / 2; justify-self: start; }
  .os-module-workspace > header .button { grid-column: 2; width: 100%; justify-content: center; }
  .os-kpis { grid-template-columns: 1fr 1fr; }
  .os-kpis article:nth-child(2) { border-right: 0; }
  .os-kpis article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .os-process-stage, .os-chart-stage, .os-app-stage { margin: 11px; padding: 15px; }
  .os-process-line { grid-template-columns: 1fr; }
  .os-process-stage > footer { grid-template-columns: 27px 1fr; }
  .os-process-stage > footer a { grid-column: 2; }
  .os-device-stage { grid-template-columns: 1fr; gap: 22px; margin: 11px; padding: 23px 18px; }
  .os-device-copy { text-align: center; }
  .os-device-copy > p { margin-inline: auto; }
  .os-device-copy > div { text-align: left; }
  .os-app-stage > div { grid-template-columns: 1fr; }
  .os-bars { gap: 6px; padding-inline: 0; }
  .os-ledger { margin: 0 11px 11px; }
  .support-launcher { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); grid-template-columns: 46px; width: 62px; min-height: 62px; padding: 7px; border-radius: 18px; }
  .support-launcher > span:nth-child(2), .support-launcher > svg { display: none; }
  .support-launcher-mascot { width: 46px; height: 46px; }
  .support-panel { left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); width: auto; height: min(690px, calc(100dvh - 16px)); border-radius: 18px; }
  .support-panel > header { min-height: 83px; padding: 12px 13px; }
  .support-head-mascot { width: 54px; height: 54px; }
  .support-thread { padding-inline: 10px; }
}

@media (max-width: 380px) {
  .topbar-actions .icon-button { display: none; }
  .metric-strip, .summary-grid { grid-template-columns: 1fr; }
  .metric-card::after { display: none; }
  .metric-card:not(:last-child), .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pulse-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .token-grid { grid-template-columns: 1fr; }
  .ai-training-stats { grid-template-columns: 1fr; gap: 6px; }
  .ai-training-stats span { border-left: 0; }
  .ai-center-tags { display: grid; grid-template-columns: 1fr; }
  .ai-center-tags span { width: fit-content; }
  .ai-center-composer { grid-template-columns: minmax(0, 1fr) 42px; }
  .ai-center-composer > .ai-agent-avatar { display: none; }
  .ai-center-composer button { width: 42px; padding: 0; justify-content: center; }
  .ai-center-composer button span { display: none; }
  .approval-command > aside { grid-template-columns: 1fr; }
  .approval-command > aside > span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .approval-item { grid-template-columns: 34px minmax(0, 1fr) 12px; padding: 9px; }
  .approval-item > .ai-agent-avatar { width: 34px; height: 34px; }
  .approval-detail > header { grid-template-columns: 42px minmax(0, 1fr); padding: 15px; }
  .approval-detail > header .ai-agent-avatar { width: 42px; height: 42px; }
  .customer-segments { grid-template-columns: 1fr; }
  .profile-facts { grid-template-columns: 1fr; }
  .connector-card dl { grid-template-columns: 1fr; }
  .connector-card dl div { border-right: 0; border-bottom: 1px solid var(--line); }
  .connector-card dl div:last-child { border-bottom: 0; }
  .commerce-os-hero h2 { font-size: 29px; }
  .commerce-os-hero > aside { grid-template-columns: 84px 1fr; }
  .commerce-os-hero > aside > div { width: 84px; height: 84px; }
  .commerce-os-hero > aside strong { font-size: 26px; }
  .os-kpis { grid-template-columns: 1fr; }
  .os-kpis article, .os-kpis article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .os-kpis article:last-child { border-bottom: 0; }
  .os-module-workspace > header .button, .os-module-status { grid-column: 1 / -1; }
  .os-chart-stage > header { flex-direction: column; }
  .os-chart-stage > footer { align-items: flex-start; flex-direction: column; }
  .os-app-stage article { grid-template-columns: 34px 1fr; }
  .os-app-stage article button { grid-column: 2; width: fit-content; }
  .support-panel > header { grid-template-columns: 50px minmax(0, 1fr) 32px; }
  .support-head-mascot { width: 50px; height: 50px; }
}

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