:root {
  color-scheme: light;
  --ink: #151b24;
  --ink-soft: #46505f;
  --muted: #7b8492;
  --line: #e1e4e8;
  --line-strong: #cfd4db;
  --canvas: #f3f4f2;
  --paper: #ffffff;
  --paper-soft: #f8f8f6;
  --nav: #111821;
  --nav-soft: #1b2430;
  --brand: #2c8eff;
  --brand-deep: #176ed2;
  --brand-soft: #eaf3ff;
  --orange: #ff6b2c;
  --orange-soft: #fff0e8;
  --green: #12a386;
  --green-soft: #e7f7f2;
  --red: #dc4c4c;
  --red-soft: #fff0f0;
  --yellow: #c98817;
  --yellow-soft: #fff7e5;
  --violet: #7257d1;
  --violet-soft: #f1edff;
  --shadow: 0 1px 2px rgba(18, 26, 38, 0.04), 0 10px 32px rgba(18, 26, 38, 0.04);
  --radius: 8px;
  --sidebar-width: 252px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

a {
  color: inherit;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(21, 27, 36, 0.08) 0.55px, transparent 0.55px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 38%);
}

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

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  display: flex;
  width: var(--sidebar-width);
  min-height: 100vh;
  flex-direction: column;
  padding: 18px 14px 14px;
  overflow: hidden;
  color: #f7f9fc;
  background: var(--nav);
}

.sidebar::after {
  position: absolute;
  right: -48px;
  bottom: 92px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.025),
    0 0 0 58px rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 0 7px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 7px;
  background: var(--brand);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
  font-weight: 700;
}

.brand-mark::before {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  content: "";
  transform: translate(-9px, -10px);
}

.brand-mark i {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange);
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.brand-copy span {
  color: #8090a4;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.sidebar-close {
  display: none;
  color: #97a3b5;
}

.workspace-switcher {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 18px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.workspace-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 163, 134, 0.13);
}

.workspace-switcher div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.workspace-switcher small {
  color: #758196;
  font-size: 10px;
}

.workspace-switcher strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-switcher > svg {
  width: 13px;
  color: #66748a;
}

.primary-nav {
  position: relative;
  z-index: 1;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #364150 transparent;
}

.nav-section {
  margin-bottom: 16px;
}

.nav-label {
  display: block;
  padding: 0 10px 7px;
  color: #647187;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  padding: 8px 10px;
  color: #aab3c0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    color 140ms ease,
    background 140ms ease;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.nav-item.is-active {
  color: #fff;
  background: var(--nav-soft);
}

.nav-item.is-active::before {
  position: absolute;
  left: -14px;
  width: 3px;
  height: 19px;
  border-radius: 0 3px 3px 0;
  background: var(--orange);
  content: "";
}

.nav-item > svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke-width: 1.8;
}

.nav-item span {
  flex: 1;
  font-size: 12px;
  font-weight: 520;
}

.nav-item em {
  min-width: 18px;
  padding: 1px 5px;
  color: #ffc4ad;
  border-radius: 10px;
  background: rgba(255, 107, 44, 0.16);
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.sidebar-foot {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

.sidebar-help {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 10px;
  color: #cdd3dc;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: left;
}

.sidebar-help > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  color: #fff;
  border-radius: 6px;
  background: #263240;
}

.sidebar-help > span svg {
  width: 14px;
}

.sidebar-help div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.sidebar-help strong {
  font-size: 11px;
  font-weight: 560;
}

.sidebar-help small {
  color: #727f92;
  font-size: 9px;
}

.sidebar-help > svg {
  width: 12px;
  color: #778396;
}

.account-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 6px;
}

.account-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.account-copy strong {
  color: #eef2f7;
  font-size: 11px;
  font-weight: 570;
}

.account-copy small {
  color: #6f7c8f;
  font-size: 9px;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  font-weight: 650;
}

.avatar-user {
  width: 30px;
  height: 30px;
  color: #14315d;
  background: #dbe9ff;
  font-size: 11px;
}

.icon-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  padding: 0;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease;
}

.icon-button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--paper-soft);
}

.icon-button svg {
  width: 16px;
  height: 16px;
}

.icon-button-dark {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  color: #788599;
  border-color: transparent;
  background: transparent;
}

.icon-button-dark:hover {
  color: #fff;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.06);
}

.app-core {
  width: calc(100% - var(--sidebar-width));
  min-width: 0;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.topbar-left,
.topbar-actions,
.breadcrumb,
.command-trigger,
.credit-pill,
.provider-pill {
  display: flex;
  align-items: center;
}

.topbar-left {
  min-width: 0;
}

.mobile-menu {
  display: none;
  margin-right: 10px;
}

.breadcrumb {
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

.breadcrumb strong {
  overflow: hidden;
  color: var(--ink);
  font-weight: 580;
  text-overflow: ellipsis;
}

.topbar-actions {
  gap: 8px;
}

.command-trigger {
  width: 222px;
  height: 34px;
  gap: 8px;
  padding: 0 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-soft);
  cursor: pointer;
  text-align: left;
}

.command-trigger svg {
  width: 14px;
}

.command-trigger span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-trigger kbd {
  padding: 1px 5px;
  color: #8a929e;
  border: 1px solid #dfe2e7;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 9px;
}

.provider-pill {
  height: 34px;
  gap: 7px;
  padding: 0 10px;
  color: #7d6326;
  border: 1px solid #f0ddb6;
  border-radius: 6px;
  background: var(--yellow-soft);
  cursor: pointer;
  font-size: 10px;
  font-weight: 570;
  white-space: nowrap;
}

.provider-pill.is-live {
  color: #0a755f;
  border-color: #bfe7dd;
  background: var(--green-soft);
}

.provider-pill.is-demo .status-dot {
  background: var(--yellow);
}

.provider-pill.is-live .status-dot {
  background: var(--green);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(201, 136, 23, 0.12);
}

.credit-pill {
  height: 34px;
  gap: 5px;
  padding: 0 10px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 10px;
  white-space: nowrap;
}

.credit-pill svg {
  width: 13px;
  color: var(--orange);
}

.credit-pill strong {
  color: var(--ink);
  font-size: 11px;
}

.notification-button {
  position: relative;
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--orange);
}

.main-view {
  width: 100%;
  max-width: 1550px;
  margin: 0 auto;
  padding: 26px 30px 48px;
}

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

.page-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.page-kicker::before {
  width: 16px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.page-title {
  margin: 0;
  font-size: 25px;
  font-weight: 650;
  line-height: 1.25;
}

.page-description {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 570;
  white-space: nowrap;
  transition:
    transform 120ms ease,
    border-color 120ms ease,
    background 120ms ease;
}

.button:hover {
  border-color: #b8bfc8;
  background: var(--paper-soft);
}

.button:active {
  transform: translateY(1px);
}

.button svg {
  width: 14px;
  height: 14px;
}

.button-primary {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 4px 12px rgba(44, 142, 255, 0.18);
}

.button-primary:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}

.button-dark {
  color: #fff;
  border-color: var(--nav);
  background: var(--nav);
}

.button-dark:hover {
  border-color: #263344;
  background: #263344;
}

.button-ghost {
  border-color: transparent;
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--line);
  background: var(--paper-soft);
}

.button-danger {
  color: var(--red);
  border-color: #f1cccc;
  background: var(--red-soft);
}

.button-small {
  min-height: 30px;
  padding: 0 10px;
  font-size: 10px;
}

.button-block {
  width: 100%;
}

.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  color: var(--brand);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 570;
}

.text-button svg {
  width: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.stat-cell {
  position: relative;
  min-width: 0;
  padding: 16px 17px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.stat-cell::after {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cell-accent, var(--brand));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--cell-accent, var(--brand)) 11%, transparent);
  content: "";
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 520;
}

.stat-label svg {
  width: 14px;
  color: var(--cell-accent, var(--brand));
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 11px;
}

.stat-value strong {
  font-family: "DIN Alternate", "Bahnschrift", "PingFang SC", sans-serif;
  font-size: 27px;
  font-weight: 650;
  line-height: 1;
}

.stat-value span {
  color: var(--muted);
  font-size: 10px;
}

.stat-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
}

.stat-meta strong {
  color: var(--green);
  font-weight: 600;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(280px, 0.82fr);
  gap: 12px;
}

.stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid #eceef1;
}

.panel-heading {
  min-width: 0;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 620;
}

.panel-title svg {
  width: 15px;
  color: var(--muted);
}

.panel-subtitle {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.panel-body {
  padding: 16px;
}

.panel-body-flush {
  padding: 0;
}

.metric-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-soft);
}

.metric-tab {
  padding: 4px 8px;
  color: var(--muted);
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.metric-tab.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 26, 38, 0.08);
}

.flow-list {
  display: flex;
  flex-direction: column;
}

.flow-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1.15fr) minmax(85px, 0.58fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #f0f1f3;
  cursor: pointer;
}

.flow-item:last-child {
  border-bottom: 0;
}

.flow-item:hover {
  background: #fbfbfa;
}

.flow-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--flow-color, var(--brand));
  border-radius: 7px;
  background: var(--flow-bg, var(--brand-soft));
}

.flow-icon svg {
  width: 15px;
  height: 15px;
}

.flow-main {
  min-width: 0;
}

.flow-title {
  overflow: hidden;
  font-size: 11px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.flow-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.flow-meta svg {
  width: 10px;
}

.flow-owner {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 9px;
}

.mini-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: var(--avatar-ink, #14315d);
  border-radius: 50%;
  background: var(--avatar-bg, #dceaff);
  font-size: 8px;
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 570;
  white-space: nowrap;
}

.status-badge::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-badge.is-running {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.status-badge.is-waiting {
  color: var(--yellow);
  background: var(--yellow-soft);
}

.status-badge.is-review {
  color: var(--violet);
  background: var(--violet-soft);
}

.status-badge.is-done {
  color: var(--green);
  background: var(--green-soft);
}

.status-badge.is-failed {
  color: var(--red);
  background: var(--red-soft);
}

.employee-stack {
  display: flex;
  flex-direction: column;
}

.employee-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid #f0f1f3;
  cursor: pointer;
}

.employee-row:last-child {
  border-bottom: 0;
}

.employee-row:hover {
  background: #fbfbfa;
}

.agent-avatar {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--avatar-ink, #15355f);
  border-radius: 9px;
  background: var(--avatar-bg, #e2edff);
  font-size: 11px;
  font-weight: 700;
}

.agent-avatar.large {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 12px;
  font-size: 14px;
}

.agent-avatar::after {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.employee-row-main {
  min-width: 0;
  flex: 1;
}

.employee-row-main strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-row-main span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-row > svg {
  width: 12px;
  color: #a1a8b2;
}

.chart-wrap {
  padding: 6px 16px 13px;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 2px 5px;
  color: var(--muted);
  font-size: 8px;
}

.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart-legend i {
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.chart-legend span:last-child i {
  background: var(--orange);
}

.line-chart {
  display: block;
  width: 100%;
  height: 155px;
  overflow: visible;
}

.chart-grid-line {
  stroke: #e9ebee;
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.chart-area {
  fill: url("#chartArea");
}

.chart-line-primary {
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chart-line-secondary {
  fill: none;
  stroke: var(--orange);
  stroke-dasharray: 3 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.chart-dot {
  fill: #fff;
  stroke: var(--brand);
  stroke-width: 2;
}

.chart-label {
  fill: #929aa5;
  font-size: 8px;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.workflow-item {
  position: relative;
  display: flex;
  min-height: 92px;
  flex-direction: column;
  padding: 15px;
  background: #fff;
  cursor: pointer;
}

.workflow-item:hover {
  background: #fbfbfa;
}

.workflow-item > svg {
  width: 16px;
  color: var(--brand);
}

.workflow-item strong {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 590;
}

.workflow-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.workflow-item > .workflow-arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 12px;
  color: #a2a9b2;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 620;
}

.section-caption {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-chip {
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 10px;
}

.filter-chip:hover {
  border-color: var(--line-strong);
}

.filter-chip.is-active {
  color: var(--brand-deep);
  border-color: #bbd8ff;
  background: var(--brand-soft);
  font-weight: 570;
}

.search-field {
  position: relative;
  display: flex;
  min-width: 220px;
  align-items: center;
}

.search-field > svg {
  position: absolute;
  left: 10px;
  width: 14px;
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 34px;
  padding: 0 11px 0 33px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 10px;
}

.search-field input::placeholder {
  color: #9ca3ad;
}

.employee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.employee-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.employee-card:hover {
  border-color: #c7d1dc;
  box-shadow: 0 12px 28px rgba(18, 26, 38, 0.07);
  transform: translateY(-2px);
}

.employee-card-top {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.employee-card-copy {
  min-width: 0;
  flex: 1;
}

.employee-card-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 630;
}

.employee-card-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.employee-online {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 8px;
}

.employee-online::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.employee-description {
  min-height: 36px;
  margin: 13px 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.employee-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.skill-tag {
  padding: 3px 7px;
  color: #66707d;
  border-radius: 4px;
  background: #f3f5f7;
  font-size: 8px;
}

.employee-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eff0f2;
}

.employee-stat {
  color: var(--muted);
  font-size: 8px;
}

.employee-stat strong {
  color: var(--ink);
  font-size: 10px;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.kanban-column {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eceeef;
}

.kanban-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 3px 9px;
}

.kanban-head strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 620;
}

.kanban-head strong i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--column-color, var(--muted));
}

.kanban-count {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  color: #6e7783;
  border-radius: 9px;
  background: #fff;
  font-size: 8px;
}

.kanban-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.task-card {
  padding: 12px;
  border: 1px solid #e2e5e8;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.task-card:hover {
  box-shadow: 0 7px 18px rgba(18, 26, 38, 0.07);
  transform: translateY(-1px);
}

.task-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.task-type {
  color: var(--brand);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.2px;
}

.task-priority {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--priority, var(--muted));
}

.task-card h4 {
  margin: 6px 0 4px;
  font-size: 11px;
  font-weight: 590;
  line-height: 1.5;
}

.task-card p {
  display: -webkit-box;
  margin: 0 0 11px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.task-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: #edf0f2;
}

.task-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--progress-color, var(--brand));
}

.task-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.task-card-foot span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 8px;
}

.task-card-foot svg {
  width: 10px;
}

.chat-shell {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr) 226px;
  min-height: calc(100vh - 190px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-rail {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #fafaf8;
}

.chat-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  border-bottom: 1px solid #eceef0;
}

.chat-rail-head strong {
  font-size: 10px;
  font-weight: 620;
}

.chat-employee-list {
  min-height: 0;
  flex: 1;
  padding: 7px;
  overflow-y: auto;
}

.chat-employee {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.chat-employee:hover {
  background: #fff;
}

.chat-employee.is-active {
  border-color: #d9e5f5;
  background: #fff;
  box-shadow: 0 2px 8px rgba(18, 26, 38, 0.04);
}

.chat-employee .agent-avatar {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 7px;
  font-size: 9px;
}

.chat-employee .agent-avatar::after {
  width: 5px;
  height: 5px;
  border-width: 1px;
}

.chat-employee div {
  min-width: 0;
  flex: 1;
}

.chat-employee strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-employee span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: #fff;
}

.chat-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.chat-head-person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.chat-head-copy {
  min-width: 0;
}

.chat-head-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 620;
}

.chat-head-copy span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.chat-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header-badge {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  color: #0a755f;
  border-radius: 11px;
  background: var(--green-soft);
  font-size: 8px;
  font-weight: 570;
}

.chat-header-badge svg {
  width: 11px;
}

.chat-messages {
  display: flex;
  min-height: 280px;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 56px);
  overflow-y: auto;
  background:
    linear-gradient(#fff, #fff) padding-box,
    radial-gradient(circle at 1px 1px, #edf0f2 1px, transparent 0) border-box;
  background-size: auto, 18px 18px;
}

.chat-empty {
  display: flex;
  max-width: 500px;
  flex: 1;
  flex-direction: column;
  align-self: center;
  align-items: center;
  justify-content: center;
  padding: 30px 12px 10px;
  text-align: center;
}

.chat-empty-orbit {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid #dce6f5;
  border-radius: 50%;
  background: #f7faff;
}

.chat-empty-orbit::before,
.chat-empty-orbit::after {
  position: absolute;
  border: 1px solid #e5ecf5;
  border-radius: 50%;
  content: "";
}

.chat-empty-orbit::before {
  width: 86px;
  height: 86px;
}

.chat-empty-orbit::after {
  width: 108px;
  height: 108px;
}

.chat-empty-orbit svg {
  width: 25px;
  color: var(--brand);
}

.chat-empty h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 620;
}

.chat-empty p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.prompt-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.prompt-chip {
  padding: 10px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 9px;
  line-height: 1.5;
  text-align: left;
}

.prompt-chip:hover {
  color: var(--brand-deep);
  border-color: #c7dcf8;
  background: #f7fbff;
}

.message {
  display: flex;
  max-width: 88%;
  gap: 9px;
}

.message.is-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message .agent-avatar {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  border-radius: 7px;
  font-size: 8px;
}

.message .agent-avatar::after {
  display: none;
}

.message-content {
  min-width: 0;
}

.message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
}

.message.is-user .message-meta {
  justify-content: flex-end;
}

.message-meta strong {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
}

.mode-label {
  padding: 1px 5px;
  color: var(--yellow);
  border-radius: 6px;
  background: var(--yellow-soft);
  font-size: 7px;
}

.message-bubble {
  padding: 10px 12px;
  color: #36404e;
  border: 1px solid #e6e8eb;
  border-radius: 3px 8px 8px 8px;
  background: #f7f8f8;
  font-size: 10px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.message.is-user .message-bubble {
  color: #fff;
  border-color: var(--brand);
  border-radius: 8px 3px 8px 8px;
  background: var(--brand);
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.suggestion-action {
  padding: 3px 7px;
  color: var(--brand-deep);
  border: 1px solid #d6e7ff;
  border-radius: 4px;
  background: #f5f9ff;
  cursor: pointer;
  font-size: 8px;
}

.typing {
  display: flex;
  gap: 3px;
  align-items: center;
  min-height: 22px;
}

.typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1s infinite ease-in-out;
}

.typing i:nth-child(2) {
  animation-delay: 120ms;
}

.typing i:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes typing {
  0%,
  70%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat-composer-wrap {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-composer {
  padding: 8px 9px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  transition: border-color 140ms ease;
}

.chat-composer:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(44, 142, 255, 0.08);
}

.chat-composer textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  max-height: 150px;
  padding: 0;
  resize: none;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
  line-height: 1.6;
}

.chat-composer textarea::placeholder {
  color: #9ba2ac;
}

.composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.composer-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}

.composer-tool {
  display: inline-flex;
  height: 26px;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  color: var(--muted);
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-size: 8px;
}

.composer-tool:hover {
  color: var(--ink);
  background: #f3f4f5;
}

.composer-tool svg {
  width: 12px;
}

.send-button {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  cursor: pointer;
}

.send-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.send-button svg {
  width: 14px;
}

.composer-hint {
  margin-top: 5px;
  color: #a0a6ae;
  font-size: 8px;
  text-align: center;
}

.chat-context {
  min-height: 0;
  padding: 13px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: #fafaf8;
}

.context-section {
  padding: 0 0 14px;
  margin-bottom: 13px;
  border-bottom: 1px solid #e9ebee;
}

.context-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.context-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.4px;
}

.context-label svg {
  width: 12px;
}

.context-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 7px 0;
  font-size: 9px;
}

.context-stat span {
  color: var(--muted);
}

.context-stat strong {
  font-size: 10px;
  font-weight: 600;
}

.context-file {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  margin-top: 5px;
  border: 1px solid #e8eaed;
  border-radius: 5px;
  background: #fff;
  font-size: 8px;
}

.context-file svg {
  width: 12px;
  color: var(--brand);
}

.context-file span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.collection-rail {
  padding: 13px;
  border-right: 1px solid var(--line);
  background: #fafaf8;
}

.collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.collection-head strong {
  font-size: 10px;
  font-weight: 620;
}

.collection-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.collection-item {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.collection-item:hover {
  background: #fff;
}

.collection-item.is-active {
  color: var(--brand-deep);
  border-color: #d7e6f9;
  background: #fff;
}

.collection-item svg {
  width: 13px;
}

.collection-item span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-item em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.knowledge-main {
  min-width: 0;
}

.knowledge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.knowledge-title h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 620;
}

.knowledge-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-table th {
  padding: 10px 13px;
  color: var(--muted);
  border-bottom: 1px solid #eceef0;
  background: #fafaf9;
  font-size: 8px;
  font-weight: 560;
  text-align: left;
}

.doc-table td {
  padding: 11px 13px;
  border-bottom: 1px solid #f0f1f3;
  color: var(--ink-soft);
  font-size: 9px;
}

.doc-table tr:hover td {
  background: #fbfbfa;
}

.doc-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 540;
}

.doc-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: var(--doc-color, var(--brand));
  border-radius: 5px;
  background: var(--doc-bg, var(--brand-soft));
}

.doc-icon svg {
  width: 13px;
}

.doc-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
}

.doc-status::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.asset-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.asset-preview {
  position: relative;
  display: flex;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  overflow: hidden;
  color: #fff;
  background: var(--asset-bg, #182535);
}

.asset-bg-word {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(255, 255, 255, 0.09);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 74px;
  font-weight: 800;
  line-height: 1;
}

.asset-preview::before {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 26px;
  height: 2px;
  background: var(--asset-accent, var(--orange));
  content: "";
}

.asset-preview strong {
  position: relative;
  z-index: 1;
  max-width: 80%;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}

.asset-preview span {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
}

.asset-copy {
  padding: 12px;
}

.asset-copy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.asset-copy h4 {
  margin: 0;
  font-size: 10px;
  font-weight: 590;
}

.asset-format {
  padding: 2px 5px;
  color: var(--muted);
  border-radius: 3px;
  background: #f1f3f5;
  font-size: 7px;
}

.asset-copy p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 8px;
}

.asset-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 8px;
}

.asset-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.asset-meta svg {
  width: 11px;
}

.usage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 12px;
  margin-bottom: 12px;
}

.balance-panel {
  position: relative;
  min-height: 168px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius);
  background: #16263d;
  box-shadow: var(--shadow);
}

.balance-panel::after {
  position: absolute;
  top: -52px;
  right: -48px;
  width: 185px;
  height: 185px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.035),
    0 0 0 55px rgba(255, 255, 255, 0.02);
  content: "";
}

.balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a7b6ca;
  font-size: 9px;
}

.balance-top span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.balance-top svg {
  width: 13px;
}

.balance-amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 14px 0 12px;
}

.balance-amount strong {
  font-family: "DIN Alternate", "Bahnschrift", sans-serif;
  font-size: 37px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

.balance-amount span {
  color: #a7b6ca;
  font-size: 10px;
}

.balance-meta {
  display: flex;
  gap: 18px;
  color: #8ea0b6;
  font-size: 8px;
}

.balance-meta strong {
  margin-left: 4px;
  color: #d8e1ec;
  font-weight: 560;
}

.usage-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.usage-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.usage-summary-head strong {
  font-size: 12px;
  font-weight: 620;
}

.usage-summary-head span {
  color: var(--muted);
  font-size: 8px;
}

.usage-bar {
  height: 6px;
  margin: 16px 0 11px;
  overflow: hidden;
  border-radius: 3px;
  background: #edf0f3;
}

.usage-bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.usage-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.usage-row {
  padding: 8px 0;
  border-top: 1px solid #eff0f2;
}

.usage-row span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.usage-row strong {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.package-card {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.package-card:hover {
  border-color: #bfd8f8;
}

.package-card.is-featured {
  border-color: #bbd8ff;
  background: #f7fbff;
}

.package-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.package-top > svg {
  width: 14px;
  color: var(--brand);
}

.package-tag {
  padding: 2px 5px;
  color: var(--orange);
  border-radius: 3px;
  background: var(--orange-soft);
  font-size: 7px;
}

.package-card strong {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 650;
}

.package-card span {
  color: var(--muted);
  font-size: 8px;
}

.package-card .package-price {
  margin-top: auto;
  padding-top: 12px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
}

.transaction-table th,
.transaction-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eff0f2;
  font-size: 9px;
  text-align: left;
}

.transaction-table th {
  color: var(--muted);
  background: #fafaf9;
  font-size: 8px;
  font-weight: 560;
}

.transaction-table tr:last-child td {
  border-bottom: 0;
}

.transaction-amount {
  color: var(--red);
  font-weight: 600;
}

.transaction-amount.is-plus {
  color: var(--green);
}

.model-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 12px;
  margin-bottom: 12px;
}

.model-readiness {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #f0ddb6;
  border-radius: var(--radius);
  background: var(--yellow-soft);
}

.model-readiness.is-live {
  border-color: #bfe7dd;
  background: var(--green-soft);
}

.readiness-ring {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color, var(--yellow)) var(--ring-value, 8%), rgba(255, 255, 255, 0.7) 0);
}

.readiness-ring::before {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--yellow-soft);
  content: "";
}

.model-readiness.is-live .readiness-ring::before {
  background: var(--green-soft);
}

.readiness-ring strong {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.readiness-copy {
  min-width: 0;
}

.readiness-copy h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 620;
}

.readiness-copy p {
  margin: 4px 0 0;
  color: #7f6b3d;
  font-size: 9px;
  line-height: 1.65;
}

.model-readiness.is-live .readiness-copy p {
  color: #377767;
}

.env-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.env-panel h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 620;
}

.env-panel p {
  margin: 4px 0 11px;
  color: var(--muted);
  font-size: 9px;
}

.env-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid #e5e8eb;
  border-radius: 5px;
  background: #f7f8f8;
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 8px;
}

.env-code button {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  padding: 0;
  color: var(--muted);
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.env-code button:hover {
  color: var(--ink);
  background: #e9ecef;
}

.env-code svg {
  width: 11px;
}

.admin-entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #dce9f8;
  border-radius: 6px;
  background: #f5faff;
}

.admin-entry-row span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #47647d;
  font-size: 8px;
}

.admin-entry-row svg {
  width: 13px;
  flex: 0 0 13px;
}

.provider-settings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.provider-settings-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfc;
}

.provider-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.provider-settings-head strong,
.provider-settings-head span {
  display: block;
}

.provider-settings-head strong {
  font-size: 12px;
  font-weight: 620;
}

.provider-settings-head span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.provider-settings-card .field-hint {
  display: block;
}

.admin-test-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dce9f8;
  border-radius: 7px;
  background: #f5faff;
}

.admin-test-panel strong {
  font-size: 11px;
  font-weight: 620;
}

.admin-test-panel p {
  margin: 4px 0 0;
  color: #5f7284;
  font-size: 8px;
  line-height: 1.65;
}

.admin-test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.admin-test-grid .button {
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
}

.admin-test-grid .button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.model-list {
  display: flex;
  flex-direction: column;
}

.model-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1.35fr) minmax(160px, 0.95fr) minmax(110px, 0.65fr) 86px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f1f3;
}

.model-row:last-child {
  border-bottom: 0;
}

.model-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--model-color, var(--brand));
  border-radius: 7px;
  background: var(--model-bg, var(--brand-soft));
}

.model-icon svg {
  width: 16px;
}

.model-name {
  min-width: 0;
}

.model-name strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.model-name span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.model-recommend {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.model-recommend small {
  display: block;
  color: var(--muted);
  font-size: 7px;
}

.model-env {
  min-width: 0;
  overflow: hidden;
  color: #687280;
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.config-status {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 11px;
  font-size: 8px;
  font-weight: 570;
  white-space: nowrap;
}

.config-status.is-ready {
  color: var(--green);
  background: var(--green-soft);
}

.config-status.is-missing {
  color: var(--yellow);
  background: var(--yellow-soft);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.integration-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.integration-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.integration-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--integration-color, var(--brand));
  border-radius: 8px;
  background: var(--integration-bg, var(--brand-soft));
}

.integration-icon svg {
  width: 16px;
}

.integration-head-copy {
  min-width: 0;
  flex: 1;
}

.integration-head-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.integration-head-copy span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.integration-card p {
  min-height: 34px;
  margin: 12px 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.7;
}

.integration-env {
  padding: 7px 8px;
  margin-bottom: 11px;
  overflow: hidden;
  color: #737d8a;
  border-radius: 4px;
  background: #f5f6f7;
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integration-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.integration-note {
  color: var(--muted);
  font-size: 8px;
}

.empty-state {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.empty-state > svg {
  width: 28px;
  margin-bottom: 10px;
  color: #b6bdc7;
}

.empty-state strong {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 590;
}

.empty-state span {
  max-width: 300px;
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.6;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 16, 24, 0.48);
  backdrop-filter: blur(3px);
  animation: fade-in 140ms ease;
}

.modal {
  width: min(540px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(10, 16, 24, 0.28);
  animation: modal-in 180ms ease;
}

.modal-wide {
  width: min(720px, 100%);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 630;
}

.modal-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.modal-body {
  padding: 18px;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: #fafaf9;
}

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

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 570;
}

.field label span {
  color: var(--red);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  font-size: 10px;
}

.field input,
.field select {
  height: 36px;
  padding: 0 10px;
}

.field textarea {
  min-height: 92px;
  padding: 9px 10px;
  resize: vertical;
  line-height: 1.6;
}

.field-hint {
  color: var(--muted);
  font-size: 8px;
}

.employee-select-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.employee-select {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.employee-select:hover,
.employee-select.is-selected {
  border-color: #bad8ff;
  background: #f7fbff;
}

.employee-select .agent-avatar {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-radius: 6px;
  font-size: 8px;
}

.employee-select .agent-avatar::after {
  display: none;
}

.employee-select span {
  min-width: 0;
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-modal {
  width: min(620px, 100%);
}

.command-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.command-search svg {
  width: 17px;
  color: var(--muted);
}

.command-search input {
  min-width: 0;
  flex: 1;
  height: 28px;
  padding: 0;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.command-results {
  max-height: 360px;
  padding: 8px;
  overflow-y: auto;
}

.command-group-label {
  padding: 8px 9px 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.4px;
}

.command-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.command-item:hover {
  background: #f5f7fa;
}

.command-item > svg {
  width: 15px;
  color: var(--muted);
}

.command-item div {
  min-width: 0;
  flex: 1;
}

.command-item strong {
  display: block;
  font-size: 10px;
  font-weight: 560;
}

.command-item span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.command-item kbd {
  color: #8f98a3;
  font-family: inherit;
  font-size: 8px;
}

.popover {
  position: fixed;
  z-index: 90;
  width: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(18, 26, 38, 0.14);
  animation: modal-in 140ms ease;
}

.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
}

.popover-head strong {
  font-size: 11px;
  font-weight: 620;
}

.notification-list {
  padding: 5px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 8px;
  border-radius: 5px;
}

.notification-item:hover {
  background: #f7f8f9;
}

.notification-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: var(--n-color, var(--brand));
  border-radius: 6px;
  background: var(--n-bg, var(--brand-soft));
}

.notification-icon svg {
  width: 12px;
}

.notification-item strong {
  display: block;
  font-size: 9px;
  font-weight: 570;
}

.notification-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.toast-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  display: flex;
  width: min(340px, calc(100vw - 36px));
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  color: #eef3f8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: #17212e;
  box-shadow: 0 12px 30px rgba(10, 16, 24, 0.24);
  animation: toast-in 180ms ease;
  pointer-events: auto;
}

.toast.is-error {
  background: #5a2525;
}

.toast > svg {
  width: 15px;
  flex: 0 0 15px;
  color: #6fc3ff;
}

.toast.is-error > svg {
  color: #ffb5b5;
}

.toast div {
  min-width: 0;
}

.toast strong {
  display: block;
  font-size: 10px;
  font-weight: 590;
}

.toast p {
  margin: 2px 0 0;
  color: #aebac9;
  font-size: 8px;
  line-height: 1.5;
}

.sidebar-scrim {
  display: none;
}

.loading-screen {
  display: grid;
  min-height: 55vh;
  place-items: center;
}

.loading-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
}

.loading-mark .brand-mark {
  animation: breathe 1.3s infinite ease-in-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes breathe {
  50% {
    opacity: 0.62;
    transform: scale(0.96);
  }
}

@media (max-width: 1180px) {
  :root {
    --sidebar-width: 226px;
  }

  .command-trigger {
    width: 175px;
  }

  .employee-grid,
  .asset-grid,
  .integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chat-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .chat-context {
    display: none;
  }

  .model-row {
    grid-template-columns: 38px minmax(0, 1.3fr) minmax(150px, 0.9fr) 80px;
  }

  .model-env {
    display: none;
  }
}

@media (max-width: 920px) {
  :root {
    --sidebar-width: 252px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 200ms ease;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-close {
    display: inline-grid;
    color: #9ba7b8;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    visibility: hidden;
    background: rgba(10, 16, 24, 0.45);
    opacity: 0;
    transition:
      opacity 200ms ease,
      visibility 200ms ease;
  }

  body.sidebar-open .sidebar-scrim {
    visibility: visible;
    opacity: 1;
  }

  .app-core {
    width: 100%;
    margin-left: 0;
  }

  .mobile-menu {
    display: inline-grid;
  }

  .topbar {
    padding: 0 18px;
  }

  .main-view {
    padding: 22px 20px 42px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .kanban {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usage-hero,
  .model-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    min-height: 58px;
    gap: 10px;
    padding: 0 13px;
  }

  .breadcrumb > span,
  .breadcrumb > svg,
  .command-trigger,
  .provider-pill span:last-child,
  .credit-pill span,
  .topbar-avatar {
    display: none;
  }

  .provider-pill {
    width: 30px;
    height: 30px;
    justify-content: center;
    padding: 0;
  }

  .credit-pill {
    height: 30px;
  }

  .topbar .icon-button {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .main-view {
    padding: 18px 13px 34px;
  }

  .page-head {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 17px;
  }

  .page-title {
    font-size: 21px;
  }

  .page-description {
    font-size: 10px;
  }

  .page-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .stats-grid {
    gap: 7px;
  }

  .stat-cell {
    padding: 13px;
  }

  .stat-value strong {
    font-size: 23px;
  }

  .flow-item {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .flow-owner {
    display: none;
  }

  .workflow-strip,
  .employee-grid,
  .asset-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .workflow-item {
    min-height: 82px;
  }

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

  .kanban-column {
    padding: 8px;
  }

  .employee-card {
    padding: 14px;
  }

  .chat-shell {
    display: flex;
    min-height: calc(100vh - 175px);
    flex-direction: column;
  }

  .chat-rail {
    display: none;
  }

  .chat-main {
    min-height: calc(100vh - 175px);
  }

  .chat-messages {
    padding: 18px 13px;
  }

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

  .chat-empty {
    padding-top: 15px;
  }

  .message {
    max-width: 95%;
  }

  .knowledge-layout {
    display: block;
  }

  .collection-rail {
    display: none;
  }

  .knowledge-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-table th:nth-child(3),
  .doc-table td:nth-child(3),
  .doc-table th:nth-child(4),
  .doc-table td:nth-child(4) {
    display: none;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transaction-table th:nth-child(4),
  .transaction-table td:nth-child(4) {
    display: none;
  }

  .model-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 12px;
  }

  .model-recommend {
    grid-column: 2 / -1;
    font-size: 8px;
  }

  .model-env {
    display: none;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 90vh;
    border-radius: 10px 10px 0 0;
  }

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

  .field-full {
    grid-column: auto;
  }

  .admin-entry-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-test-panel,
  .admin-test-grid {
    grid-template-columns: 1fr;
  }

  .provider-settings-head {
    align-items: flex-start;
  }

  .employee-select-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toast-root {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .popover {
    right: 9px !important;
    left: 9px !important;
    width: auto;
  }
}

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