:root {
  --navy: #ffffff;
  --navy2: #eef0f6;
  --action: #4f46e5;
  --action-h: #4338ca;
  --ai: #6d63ff;
  --bg: #f7f8fc;
  --card: #FFFFFF;
  --border: #e8eaf3;
  --line: #eef0f6;
  --t1: #0F172A;
  --t2: #475569;
  --t3: #94A3B8;
  --ok: #15803d;
  --warn: #b45309;
  --danger: #c0392b;
  --rise: #c0392b;
  --rise-soft: #fbecec;
  --r: 9px;
  --r-card: 12px;
  --shadow: 0 1px 2px rgba(26,34,50,.05);
  --shadow-lg: 0 16px 40px rgba(26,34,50,.12);
  --launch-primary: #4f46e5;
  --launch-ai: #6d63ff;
  --launch-cyan: #4f46e5;
  --launch-bg: #f7f8fc;
  --launch-card: #ffffff;
  --launch-border: #e8eaf3;
  --launch-text: #0F172A;
  --launch-secondary: #475569;
  --launch-muted: #94A3B8;
  --launch-success: #15803d;
  --launch-warning: #b45309;
  --launch-danger: #c0392b;
  --launch-focus: rgba(79, 70, 229, 0.16);
}

.zlShellRoot {
  background: var(--bg);
  color: var(--t1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

.zlShellRoot .top {
  align-items: center;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  color: var(--t1);
  display: flex;
  gap: 16px;
  height: 54px;
  padding: 0 18px;
}

.zlShellRoot.platform .top {
  background: var(--navy);
}

.zlShellRoot .brand {
  align-items: center;
  display: flex;
  font-weight: 600;
  gap: 9px;
}

.zlShellRoot .brandMark {
  flex: none;
  height: 30px;
  width: 30px;
}

.zlShellRoot .brand small {
  color: var(--t3);
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.zlShellRoot .sep {
  background: var(--border);
  height: 24px;
  width: 1px;
}

.zlShellRoot .acct {
  align-items: center;
  display: flex;
  gap: 10px;
}

.zlShellRoot .lab {
  color: var(--t3);
  font-size: 11px;
}

.zlShellRoot .top select {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--t1);
  font-size: 13px;
  padding: 6px 10px;
}

.zlShellRoot .period {
  align-items: center;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--t2);
  display: flex;
  font-size: 13px;
  gap: 6px;
  padding: 5px 10px;
}

.zlShellRoot .period b {
  color: var(--t1);
  font-weight: 600;
}

.zlShellRoot .spacer {
  flex: 1;
}

.zlShellRoot .org {
  color: var(--t2);
  font-size: 13px;
}

.zlShellRoot .tagp {
  background: var(--action);
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
}

/* 多工作区切换器(T24):仅多区角色可见,顶栏常驻;企业客户区用 .zoneSwitchBar 前置 */
.zoneSwitch {
  display: inline-flex;
  gap: 2px;
  margin-left: 10px;
  padding: 2px;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.zoneSwitch button {
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  color: var(--t3);
  background: transparent;
  border: 0;
  padding: 4px 11px;
  border-radius: 7px;
  cursor: pointer;
}
.zoneSwitch button.on {
  background: var(--action);
  color: #fff;
}
.zoneSwitch button:hover:not(.on) {
  color: var(--t1);
}
.zoneSwitchBar {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.zlShellRoot .search {
  align-items: center;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--t3);
  display: flex;
  font-size: 13px;
  gap: 6px;
  padding: 6px 12px;
  width: 200px;
}

.zlShellRoot .search input {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--t1);
  font-size: 13px;
  min-height: 0;
  outline: none;
  padding: 0;
  width: 100%;
}

.zlShellRoot .ico {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--t2);
  display: flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.zlShellRoot .ico:hover {
  background: var(--navy2);
  color: var(--t1);
}

.zlShellRoot .avatar {
  align-items: center;
  background: var(--action);
  border-radius: 50%;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.zlShellRoot.platform .avatar {
  background: var(--action);
}

.zlShellRoot .shell {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  height: calc(100vh - 54px);
}

.zlShellRoot .nav {
  background: var(--card);
  border-right: 1px solid var(--border);
  overflow: auto;
  padding: 8px 0;
}

.zlShellRoot .navgrp {
  color: var(--t3);
  font-size: 11px;
  letter-spacing: .5px;
  padding: 14px 16px 4px;
}

.zlShellRoot .navitem {
  align-items: center;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  color: var(--t2);
  display: flex;
  font-size: 14px;
  gap: 10px;
  padding: 9px 16px;
  text-align: left;
  width: 100%;
}

.zlShellRoot .navitem:hover {
  background: #F4F7FC;
  color: var(--t1);
}

.zlShellRoot .navitem.on {
  background: #eeedfb;
  border-left-color: var(--action);
  color: var(--action);
  font-weight: 600;
}

.zlShellRoot.platform .navitem.on {
  background: #eeedfb;
  border-left-color: var(--action);
  color: var(--action);
}

.zlShellRoot .navitem .gi {
  font-size: 15px;
  opacity: .85;
  text-align: center;
  width: 20px;
}

.zlShellRoot .navitem .badge {
  background: #FDECEC;
  border-radius: 10px;
  color: #B42318;
  font-size: 11px;
  font-weight: 500;
  margin-left: auto;
  padding: 1px 7px;
}

.zlShellRoot .navitem .badge.b {
  background: #eeedfb;
  color: var(--action-h);
}

.zlShellRoot .main {
  overflow: auto;
  padding: 18px 22px;
}

.zlShellRoot .crumb {
  color: var(--t3);
  font-size: 12px;
  margin-bottom: 2px;
}

.zlShellRoot .phead {
  align-items: flex-end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.zlShellRoot .phead h1 {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}

.zlShellRoot .phead p {
  color: var(--t2);
  font-size: 13px;
  margin: 2px 0 0;
}

.zlShellRoot .pactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zlShellRoot .btn {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--t1);
  display: inline-flex;
  font-family: inherit;
  font-size: 13px;
  gap: 6px;
  padding: 8px 14px;
}

.zlShellRoot .btn:hover {
  border-color: #c9d4e3;
}

.zlShellRoot .btn.primary {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
}

.zlShellRoot.platform .btn.primary {
  background: #7c3aed;
  border-color: #7c3aed;
}

.zlShellRoot .btn.ai {
  background: #E7F6F8;
  border-color: #bce6ec;
  color: #0E7490;
}

.zlShellRoot .btn.sm {
  font-size: 12px;
  padding: 5px 10px;
}

.zlShellRoot .btn.danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--danger);
}

.zlShellRoot .btn.danger:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

.zlShellRoot .importActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.zlShellRoot .importFileBtn {
  cursor: pointer;
}

.zlShellRoot .importDesc {
  color: var(--t2);
}

.zlShellRoot .grid {
  display: grid;
  gap: 14px;
}

.zlShellRoot .m4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.zlShellRoot .row {
  display: flex;
  gap: 14px;
}

.zlShellRoot .col {
  flex: 1;
}

.zlShellRoot .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

.zlShellRoot .pad {
  padding: 16px;
}

.zlShellRoot .metric {
  padding: 16px;
}

.zlShellRoot .metric .l {
  color: var(--t3);
  font-size: 12px;
}

.zlShellRoot .metric .v {
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  margin: 6px 0 2px;
}

.zlShellRoot .metric .d {
  color: var(--t2);
  font-size: 12px;
}

.zlShellRoot .tone-ok .v {
  color: var(--ok);
}

.zlShellRoot .tone-warn .v {
  color: var(--warn);
}

.zlShellRoot .tone-danger .v {
  color: var(--danger);
}

.zlShellRoot .tone-ai .v {
  color: #7c3aed;
}

.zlShellRoot .sechd {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
}

.zlShellRoot .sechd h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.zlShellRoot .tiny {
  color: var(--t3);
  font-size: 12px;
}

.zlShellRoot .muted {
  color: var(--t2);
}

.zlShellRoot table.t {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.zlShellRoot table.t th {
  background: #FAFBFD;
  border-bottom: 1px solid var(--border);
  color: var(--t3);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 12px;
  text-align: left;
}

.zlShellRoot table.t td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: middle;
}

.zlShellRoot table.t tr:hover td {
  background: #FAFCFF;
}

.zlShellRoot .num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.zlShellRoot .pill {
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 9px;
  white-space: nowrap;
}

.zlShellRoot .pill.ok {
  background: #EAF7EF;
  color: #15803D;
}

.zlShellRoot .pill.warn {
  background: #FEF3DC;
  color: #92610A;
}

.zlShellRoot .pill.danger {
  background: #FDECEC;
  color: #B42318;
}

.zlShellRoot .pill.info {
  background: #E8EFFC;
  color: #1E40AF;
}

.zlShellRoot .pill.gray {
  background: #EEF1F6;
  color: #4B5563;
}

.zlShellRoot .pill.ai {
  background: #F1ECFB;
  color: #5b21b6;
}

.zlShellRoot .link {
  color: var(--action);
  cursor: pointer;
}

.zlShellRoot.platform .link {
  color: #7c3aed;
}

.zlShellRoot .tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.zlShellRoot .tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--t2);
  font-size: 13px;
  margin-bottom: -1px;
  padding: 9px 14px;
}

.zlShellRoot .tabs button.on {
  border-bottom-color: var(--action);
  color: var(--t1);
  font-weight: 600;
}

.zlShellRoot .switchbtn {
  background: #cbd5e1;
  border: 0;
  border-radius: 12px;
  flex: none;
  height: 22px;
  position: relative;
  width: 40px;
}

.zlShellRoot .switchbtn.on {
  background: var(--ok);
}

.zlShellRoot .switchbtn::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 18px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: .2s;
  width: 18px;
}

.zlShellRoot .switchbtn.on::after {
  left: 20px;
}

.zlShellRoot .accountingSuite {
  display: grid;
  gap: 14px;
}

.zlShellRoot .accountingContext .metric .v {
  font-size: 22px;
}

.zlShellRoot .accountingNotice {
  color: var(--t2);
}

.zlShellRoot .accountingNotice.danger {
  color: var(--danger);
}

.zlShellRoot .accountingSteps {
  display: grid;
  gap: 10px;
}

.zlShellRoot .accountingSteps div,
.zlShellRoot .closeChecklist article {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  padding: 12px;
}

.zlShellRoot .accountingSteps b {
  align-items: center;
  background: #E8EFFC;
  border-radius: 50%;
  color: var(--action);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.zlShellRoot .accountingSteps span,
.zlShellRoot .closeChecklist span {
  color: var(--t2);
  font-size: 12px;
  grid-column: 2;
}

.zlShellRoot .voucherEditorList {
  display: grid;
  gap: 12px;
}

.zlShellRoot .voucherEditor {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  display: grid;
  gap: 12px;
  padding: 14px;
}

.zlShellRoot .voucherTitle,
.zlShellRoot .voucherActions,
.zlShellRoot .accountingFooter {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.zlShellRoot .voucherEditor label {
  color: var(--t3);
  display: grid;
  font-size: 12px;
  gap: 6px;
}

.zlShellRoot .voucherEditor input {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--t1);
  font: inherit;
  padding: 9px 10px;
}

/* T13 工作台税务 + 客户 + AI 区 */
.zlModule { display: block; }
.zlModule .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow); }
.zlModule .card.pad, .zlModule .pad { padding: 16px; }
.zlMetrics { margin-bottom: 16px; }
.aiBanner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 16px; background: #F2FAFB; border: 1px solid #bce6ec; }
.aiBannerHead { color: #0E7490; font-weight: 600; }
.zlRow { display: flex; gap: 14px; align-items: flex-start; }
.zlGrow { flex: 1; min-width: 0; }
.zlSide { width: 300px; flex: none; }
.zlNote { background: #FFF8E6; border: 1px solid #F6E2A8; color: #92610A; font-size: 12px; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.zlEmpty { padding: 40px; text-align: center; color: var(--t3); }
.zlCardActions { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.zlRiskCard { border-left: 3px solid var(--border); }
.zlRiskCard.tone-danger { border-left-color: var(--danger); }
.zlRiskCard.tone-warn { border-left-color: var(--warn); }
.zlRiskCard.tone-info { border-left-color: var(--action); }
.zlModule .kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; font-size: 13px; margin: 8px 0 0; }
.zlModule .kv dt { color: var(--t3); font-size: 12px; }
.zlModule .kv dd { margin: 0; font-weight: 500; }
@media (max-width: 920px) {
  .zlRow { flex-direction: column; }
  .zlSide { width: 100%; }
}

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

.zlShellRoot .balance {
  align-items: center;
  background: #FAFBFD;
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding: 10px 12px;
}

.zlShellRoot .balance.ok b {
  color: var(--ok);
}

.zlShellRoot .balance.bad b {
  color: var(--danger);
}

.zlShellRoot .closeChecklist {
  display: grid;
  gap: 10px;
}

.zlShellRoot .accountingFooter {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.zlShellRoot .compact article {
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: grid;
  gap: 8px;
  padding: 12px;
}

.zlShellRoot .compact p {
  color: var(--t2);
  margin: 0;
}

.zlShellRoot .compact em {
  color: var(--t3);
  font-size: 12px;
  font-style: normal;
}

.zlShellRoot .orgAdminConsole {
  display: grid;
  gap: 16px;
}

.zlShellRoot .orgAdminRow {
  align-items: stretch;
}

.zlShellRoot .orgMonthPanel {
  flex: 0 0 320px;
}

.zlShellRoot .orgMonthPanel .note,
.zlShellRoot .orgAdminConsole .note {
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--t2);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 12px;
  padding: 10px 12px;
}

.zlShellRoot .orgAdminConsole .kv {
  display: grid;
  font-size: 13px;
  gap: 9px 12px;
  grid-template-columns: 112px 1fr;
  margin: 0;
}

.zlShellRoot .orgAdminConsole .kv dt {
  color: var(--t3);
}

.zlShellRoot .orgAdminConsole .kv dd {
  color: var(--t1);
  font-weight: 600;
  margin: 0;
}

.zlShellRoot .okText {
  color: var(--ok) !important;
}

.zlShellRoot .bar {
  background: #E8EFFC;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  width: 96px;
}

.zlShellRoot .bar i {
  background: var(--action);
  display: block;
  height: 100%;
}

.zlShellRoot .compactSelect {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--t1);
  font: inherit;
  padding: 6px 8px;
}

.zlShellRoot .importDesc {
  margin: -4px 0 10px;
}

.zlShellRoot .importDrop {
  align-items: center;
  background: #FAFBFD;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-card);
  color: var(--t2);
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 138px;
  padding: 22px;
  text-align: center;
}

.zlShellRoot .importDrop strong {
  color: var(--t1);
}

.zlShellRoot .connectorCard {
  align-items: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.zlShellRoot .agentOrgItem {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto auto auto;
}

.zlShellRoot .agentOrgItem > span {
  align-items: center;
  background: #EEF4FE;
  border-radius: var(--r);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.agentLinearIcon,
.platformAgentCell .agentLinearIcon,
.agentMetricTitle .agentLinearIcon,
.agentTransparencyIcon .agentLinearIcon,
.agentOrgIcon .agentLinearIcon {
  display: block;
  flex: 0 0 auto;
  height: 24px;
  width: 24px;
}

.agentMetricTitle {
  align-items: center;
  color: var(--t1);
  display: flex;
  font-weight: 600;
  gap: 8px;
}

.platformAgentCell {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 136px;
}

.zlShellRoot .agentOrgItem p {
  color: var(--t2);
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0;
}

.zlShellRoot .agentOrgItem em,
.zlShellRoot .agentOrgItem small {
  color: var(--t3);
  display: block;
  font-size: 12px;
  font-style: normal;
}

.zlShellRoot .agentSwitch {
  align-items: center;
  color: var(--t2);
  display: flex;
  font-size: 13px;
  gap: 6px;
  white-space: nowrap;
}

/* 勾选 / 下拉 / 按钮垂直居中对齐成一条线,图标仍贴顶 */
.zlShellRoot .agentOrgItem > .agentSwitch,
.zlShellRoot .agentOrgItem > select,
.zlShellRoot .agentOrgItem > button {
  align-self: center;
}

.zlShellRoot .agentOrgItem select {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--t1);
  font: inherit;
  padding: 6px 8px;
}

@media (max-width: 1100px) {
  .zlShellRoot .voucherGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .zlShellRoot .voucherGrid,
  .zlShellRoot .accountingContext {
    grid-template-columns: 1fr;
  }

  .zlShellRoot .balance,
  .zlShellRoot .accountingFooter {
    align-items: flex-start;
    flex-direction: column;
  }
}

.zlShellRoot .toast {
  background: var(--navy);
  border-radius: 8px;
  bottom: 20px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  padding: 11px 16px;
  position: fixed;
  right: 20px;
  transform: translateY(8px);
  transition: .25s;
  z-index: 50;
}

.zlShellRoot .toast.show {
  opacity: 1;
  transform: none;
}

.zlLegacyInset {
  min-width: 0;
}

.zlLegacyInset .launchOs {
  border: 0;
  min-height: auto;
}

.zlLegacyInset .workOs,
.zlLegacyInset .devOs,
.zlLegacyInset .analyticsShell {
  background: transparent;
  display: block;
  min-height: auto;
}

.zlLegacyInset .workOsMain,
.zlLegacyInset .devOsMain,
.zlLegacyInset .analyticsMain {
  min-width: 0;
  padding: 0;
}

.zlLegacyInset .workOsGrid,
.zlLegacyInset .devOsGrid,
.zlLegacyInset .analyticsGrid {
  margin: 0;
}

.zlPlatformPlaceholder {
  display: grid;
  gap: 14px;
}

@media (max-width: 960px) {
  .zlShellRoot .top {
    flex-wrap: wrap;
    height: auto;
    min-height: 54px;
    padding: 10px 14px;
  }

  .zlShellRoot .shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .zlShellRoot .nav {
    border-bottom: 1px solid var(--border);
    border-right: 0;
    display: flex;
    overflow-x: auto;
    padding: 8px;
  }

  .zlShellRoot .navgrp {
    display: none;
  }

  .zlShellRoot .navitem {
    border-left: 0;
    border-radius: 8px;
    flex: 0 0 auto;
    width: auto;
  }

  .zlShellRoot .main {
    padding: 16px;
  }

  .zlShellRoot .m4,
  .zlShellRoot .m3,
  .zlShellRoot .m2 {
    grid-template-columns: 1fr;
  }

  .zlShellRoot .row {
    flex-direction: column;
  }
}

/* Enterprise tech styling for Dev OS workflow governance. */
.actionFeedback {
  background: linear-gradient(135deg, rgba(0, 102, 255, .08), rgba(0, 179, 190, .08));
  border: 1px solid rgba(0, 102, 255, .18);
  border-left: 3px solid #0066ff;
  border-radius: 8px;
  color: #12305c;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 11px 13px;
}

.workflowStudioShell {
  display: grid;
  gap: 16px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.workflowAgentRail {
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 10px;
}

.workflowAgentRail button {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #334155;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: left;
}

.workflowAgentRail button:hover,
.workflowAgentRail button:focus-visible,
.workflowAgentRail button.active {
  background: #f4f8ff;
  border-color: rgba(0, 102, 255, .28);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  outline: none;
}

.workflowAgentRail button span {
  color: #0066ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.workflowAgentRail button strong {
  color: #0f172a;
  font-size: 14px;
}

.workflowAgentRail button em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.workflowEditorPanel {
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.workflowEditorHero {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(0, 102, 255, .1), rgba(0, 179, 190, .06)),
    #f8fafc;
  border-bottom: 1px solid #dbe4ee;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px;
}

.workflowEditorHero span {
  color: #0066ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.workflowEditorHero h2 {
  color: #0f172a;
  font-size: 22px;
  margin: 5px 0;
}

.workflowEditorHero p {
  color: #475569;
  margin: 0;
}

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

.workflowStatusPills span {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  font-size: 12px;
  padding: 7px 10px;
  text-transform: none;
}

.workflowEditorForm {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.workflowEditorForm label {
  color: #334155;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.workflowEditorForm label.wide,
.workflowReviewToggle,
.workflowEditorActions {
  grid-column: 1 / -1;
}

.workflowEditorForm input,
.workflowEditorForm select,
.workflowEditorForm textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font: inherit;
  min-height: 40px;
  padding: 10px 11px;
}

.workflowEditorForm textarea {
  line-height: 1.5;
  resize: vertical;
}

.workflowEditorForm input:focus,
.workflowEditorForm select:focus,
.workflowEditorForm textarea:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, .14);
  outline: none;
}

.workflowReviewToggle {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  display: flex !important;
  padding: 11px 12px;
}

.workflowReviewToggle input {
  min-height: 0;
}

.workflowEditorActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workflowEditorActions button,
.workflowTestResult button {
  border-radius: 8px;
  min-height: 40px;
}

.workflowEditorActions button:disabled {
  background: #f1f5f9;
  border-color: #dbe4ee;
  color: #94a3b8;
  cursor: not-allowed;
}

.workflowTestResult {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  color: #134e4a;
  margin: 0 18px 18px;
  padding: 14px;
}

.workflowTestResult.error {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.workflowTestResult strong {
  display: block;
  margin-bottom: 5px;
}

.workflowTestResult p {
  margin: 0 0 10px;
}

.workflowTestResult div {
  display: flex;
  gap: 8px;
}

.workflowTestResult span {
  background: rgba(255, 255, 255, .8);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 9px;
}

.workflowSafetyNotes {
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.workflowSafetyNotes article {
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 13px;
}

.workflowSafetyNotes strong {
  color: #0f172a;
  display: block;
  margin-bottom: 5px;
}

.workflowSafetyNotes p {
  color: #475569;
  font-size: 13px;
  margin: 0;
}

.clientTopActions .companySelect,
.clientTopActions .userSelect {
  align-items: center;
  display: inline-flex;
  min-height: 40px;
}

.notifyButton:disabled,
.orgTreePanel button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

@media (max-width: 980px) {
  .workflowStudioShell,
  .workflowEditorForm,
  .workflowSafetyNotes {
    grid-template-columns: 1fr;
  }

  .workflowEditorHero {
    flex-direction: column;
  }

  .workflowStatusPills {
    justify-content: flex-start;
  }
}

.marketingSite {
  background:
    radial-gradient(circle at 50% 8%, rgba(30, 64, 175, 0.24), transparent 34%),
    linear-gradient(180deg, #030712 0%, #07101f 46%, #08111f 100%);
  color: #eef6ff;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.marketingSite button {
  border: 0;
}

.loginShellLanding {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 6%, rgba(30, 64, 175, 0.30), transparent 40%),
    linear-gradient(180deg, #030712 0%, #07101f 46%, #08111f 100%);
}
.loginShellLanding .marketingGlow { position: absolute; inset: 0; z-index: 0; }
.loginShellLanding .marketingParticles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.loginPanelLanding {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 392px;
  display: grid;
  gap: 22px;
  padding: 40px 34px;
  border-radius: 20px;
  color: #eef6ff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(22px);
}
.loginPanelLanding .loginBrandRow { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.loginPanelLanding .loginBrandRow .marketingLogo { width: 42px; height: 42px; filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.3)); }
.loginPanelLanding .loginBrandRow strong { font-size: 22px; color: #f8fbff; }
.loginPanelLanding h1 { font-size: 21px; margin: 0; color: #f8fbff; font-weight: 600; }
.loginPanelLanding .loginSub { color: var(--t3); font-size: 13px; margin: 6px 0 0; }
.loginPanelLanding .loginForm { display: grid; gap: 16px; }
.loginPanelLanding .loginForm label { display: grid; gap: 6px; text-align: left; }
.loginPanelLanding .loginForm label span { color: var(--t3); font-size: 13px; }
.loginPanelLanding .loginForm input {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  color: #eef6ff;
  font-size: 14px;
  padding: 11px 13px;
}
.loginPanelLanding .loginForm input::placeholder { color: #64748b; }
.loginPanelLanding .loginForm input:focus {
  border-color: #22d3ee;
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.loginPanelLanding .loginSubmit {
  margin-top: 4px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}
.loginPanelLanding .loginSubmit:disabled { opacity: 0.6; cursor: not-allowed; }
.loginPanelLanding .errorText { color: #fca5a5; font-size: 13px; margin: 0; text-align: center; }

.marketingNav {
  align-items: center;
  background: rgba(3, 7, 18, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(22px);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 76px;
  padding: 0 clamp(24px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.marketingBrand {
  align-items: center;
  color: #f8fbff;
  display: inline-flex;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
}

.marketingBrand img {
  border-radius: 12px;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.22);
  height: 42px;
  width: 42px;
}

.marketingBrand strong {
  font-size: 22px;
  letter-spacing: 0;
}

.marketingNav nav {
  align-items: center;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  padding: 5px;
}

.marketingNav nav a {
  background: transparent;
  border-radius: 999px;
  color: #b6c5d8;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 15px;
  text-decoration: none;
}

.marketingNav nav a:hover,
.marketingNav nav a:focus-visible {
  background: rgba(34, 211, 238, 0.12);
  color: #f8fbff;
  outline: none;
}

.marketingLogin {
  align-items: center;
  background: linear-gradient(135deg, #155dfc, #22d3ee);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-self: end;
  min-height: 42px;
  padding: 11px 18px;
  box-shadow: 0 14px 34px rgba(34, 211, 238, 0.18);
  text-decoration: none;
}

.marketingLogin:hover,
.marketingLogin:focus-visible,
.securitySection a:hover,
.securitySection a:focus-visible {
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  outline: none;
}

.marketingHero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 7vw, 92px) clamp(24px, 5vw, 72px) clamp(64px, 7vw, 96px);
  position: relative;
}

.marketingHero::before {
  background:
    linear-gradient(120deg, rgba(6, 182, 212, 0.08), transparent 46%),
    linear-gradient(240deg, rgba(124, 58, 237, 0.1), transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.heroCopy,
.heroSystem {
  position: relative;
  z-index: 1;
}

.heroEyebrow,
.sectionIntro span,
.workflowCopy span,
.securitySection span {
  color: #67e8f9;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.heroCopy h1 {
  color: #f8fbff;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.03;
  margin: 0;
}

.heroCopy p {
  color: #b6c5d8;
  font-size: 18px;
  line-height: 1.8;
  margin: 24px 0 0;
  max-width: 620px;
}

.heroActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.heroPrimary,
.heroSecondary {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
}

.heroPrimary {
  background: linear-gradient(135deg, #2457e6, #1fc8db);
  box-shadow: 0 16px 38px rgba(34, 211, 238, 0.18);
  color: #ffffff;
}

.heroSecondary {
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  color: #eaf3ff;
}

.trustMarks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trustMarks span {
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: #c8d7e8;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.heroSystem {
  min-height: 640px;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
}

.heroSystem::before {
  background:
    radial-gradient(ellipse at center, rgba(34, 211, 238, 0.2), transparent 38%),
    radial-gradient(ellipse at center, rgba(99, 102, 241, 0.18), transparent 58%);
  content: "";
  inset: 0;
  opacity: 0.86;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.heroSystem::after {
  background:
    linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.12), transparent),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.04) 0 1px, transparent 1px 9px);
  content: "";
  inset: 8% 0;
  opacity: 0.6;
  pointer-events: none;
  position: absolute;
  transform: perspective(800px) rotateX(58deg);
  transform-origin: center bottom;
  z-index: 0;
}

.particleHeroCanvas,
.particleHeroFallback {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.particleHeroCanvas {
  display: block;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.34));
  z-index: 1;
}

.particleHeroFallback {
  display: none;
  z-index: 1;
}

.particleHeroFallback span {
  background: rgba(34, 211, 238, 0.76);
  border-radius: 999px;
  box-shadow:
    0 0 28px rgba(34, 211, 238, 0.8),
    120px 42px 0 rgba(124, 58, 237, 0.58),
    -130px 76px 0 rgba(59, 130, 246, 0.54),
    72px -94px 0 rgba(6, 182, 212, 0.62),
    -76px -118px 0 rgba(129, 140, 248, 0.5);
  height: 7px;
  left: 50%;
  position: absolute;
  top: 48%;
  width: 7px;
}

.particleHeroFallback span:nth-child(2) {
  box-shadow:
    0 0 34px rgba(129, 140, 248, 0.72),
    94px 96px 0 rgba(34, 211, 238, 0.58),
    -112px -42px 0 rgba(59, 130, 246, 0.5),
    160px -42px 0 rgba(124, 58, 237, 0.56);
  transform: rotate(28deg) scale(1.3);
}

.particleHeroFallback span:nth-child(3) {
  box-shadow:
    0 0 30px rgba(59, 130, 246, 0.72),
    138px -18px 0 rgba(34, 211, 238, 0.5),
    -148px 18px 0 rgba(124, 58, 237, 0.54),
    12px 132px 0 rgba(6, 182, 212, 0.54);
  transform: rotate(-18deg) scale(1.6);
}

.particleHeroReduced .particleHeroCanvas,
.particleHeroStatic .particleHeroCanvas {
  display: none;
}

.particleHeroReduced .particleHeroFallback,
.particleHeroStatic .particleHeroFallback {
  display: block;
}

.particleHeroCore,
.particleHeroStatus {
  background: rgba(3, 7, 18, 0.46);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
  color: #f8fbff;
  position: absolute;
  z-index: 2;
}

.particleHeroCore {
  border-radius: 14px;
  left: 50%;
  padding: 18px 22px;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(260px, 58%);
}

.particleHeroCore span,
.particleHeroCore em,
.particleHeroStatus span {
  color: #8bdcff;
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.particleHeroCore strong {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}

.particleHeroCore em {
  color: #a7b8d0;
  margin-top: 9px;
}

.particleHeroStatus {
  border-radius: 10px;
  min-width: 170px;
  padding: 14px 16px;
}

.particleHeroStatus strong {
  display: block;
  font-size: 14px;
  margin-top: 7px;
}

.particleStatusBottom {
  bottom: 13%;
  left: 7%;
}

.systemCenter,
.agentNode,
.systemPanel {
  position: absolute;
  z-index: 1;
}

.systemCenter {
  background: #0b1220;
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
  color: #ffffff;
  left: 50%;
  padding: 22px 24px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 230px;
}

.systemCenter span,
.systemPanel span {
  color: #67e8f9;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.systemCenter strong {
  display: block;
  font-size: 22px;
  margin-top: 10px;
}

.systemCenter em {
  color: #cbd5e1;
  display: block;
  font-size: 13px;
  font-style: normal;
  margin-top: 10px;
}

.agentNode {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce6f2;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 14px;
  width: 220px;
}

.agentNode::after {
  background: linear-gradient(90deg, rgba(36, 87, 230, 0.3), rgba(6, 182, 212, 0.08));
  content: "";
  height: 1px;
  position: absolute;
  top: 50%;
  width: 72px;
}

.agentNode strong {
  color: #0f172a;
  font-size: 15px;
}

.agentNode span {
  color: #64748b;
  font-size: 12px;
  grid-column: 2;
}

.agentIcon,
.capabilityIcon {
  align-items: center;
  background: linear-gradient(145deg, #111827, #172554 45%, #2457e6);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 24px rgba(36, 87, 230, 0.22);
  color: #e0f2fe;
  display: flex;
  font-style: normal;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.nodeService {
  left: 36px;
  top: 72px;
}

.nodeService::after,
.nodeBooks::after {
  left: 100%;
}

.nodeInvoice {
  right: 36px;
  top: 92px;
}

.nodeInvoice::after,
.nodeLead::after {
  right: 100%;
}

.nodeBooks {
  bottom: 88px;
  left: 48px;
}

.nodeLead {
  bottom: 78px;
  right: 44px;
}

.systemPanel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.panelTasks {
  left: 50%;
  top: 32px;
  transform: translateX(-50%);
  width: 230px;
}

.panelTasks strong {
  color: #0f172a;
  display: block;
  font-size: 28px;
  margin-top: 8px;
}

.panelTasks p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.panelTimeline {
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
}

.panelTimeline ul {
  color: #475569;
  display: grid;
  font-size: 12px;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.panelTimeline li {
  align-items: center;
  display: flex;
  gap: 8px;
}

.panelTimeline li::before {
  background: #22d3ee;
  border-radius: 999px;
  content: "";
  height: 7px;
  width: 7px;
}

.agentSection,
.workflowSection,
.securitySection {
  margin: 0 auto;
  max-width: 1440px;
  padding: 86px clamp(24px, 5vw, 72px);
}

.agentSection {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.98), rgba(3, 7, 18, 0.98)),
    #08111f;
  max-width: none;
}

.agentSection > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1296px;
}

.sectionIntro {
  max-width: 720px;
  text-align: left;
}

.sectionIntro h2,
.workflowCopy h2,
.securitySection h2 {
  color: #f8fbff;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.15;
  margin: 0;
}

.sectionIntro p,
.workflowCopy p,
.securitySection p {
  color: #a7b8d0;
  font-size: 16px;
  line-height: 1.8;
  margin: 18px 0 0;
}

.agentGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.agentCapability {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
  min-height: 218px;
  padding: 22px;
}

.agentCapability h3 {
  color: #f8fbff;
  font-size: 20px;
  margin: 22px 0 0;
}

.agentCapability p {
  color: #a7b8d0;
  font-size: 14px;
  line-height: 1.8;
  margin: 12px 0 0;
}

.agentCapability.invoice .capabilityIcon {
  background: linear-gradient(145deg, #172554, #2457e6 50%, #06b6d4);
}

.agentCapability.ledger .capabilityIcon {
  background: linear-gradient(145deg, #111827, #4f46e5 55%, #7c3aed);
}

.agentCapability.shield .capabilityIcon {
  background: linear-gradient(145deg, #0f172a, #0f766e 50%, #22d3ee);
}

.agentCapability.tax .capabilityIcon {
  background: linear-gradient(145deg, #1e293b, #2563eb 52%, #38bdf8);
}

.agentCapability.risk .capabilityIcon {
  background: linear-gradient(145deg, #3b0a0a, #dc2626 52%, #f97316);
}

.agentCapability.collection .capabilityIcon {
  background: linear-gradient(145deg, #1f2937, #0891b2 52%, #14b8a6);
}

.agentCapability.success .capabilityIcon {
  background: linear-gradient(145deg, #052e16, #16a34a 52%, #84cc16);
}

.workflowSection {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.workflowRail {
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.workflowRail article {
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 8px;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 86px;
  padding: 18px 22px;
}

.workflowRail article:last-child {
  border-bottom: 0;
}

.workflowRail strong {
  color: #f8fbff;
}

.workflowRail span {
  color: #a7b8d0;
  font-size: 14px;
}

.securitySection {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.88)),
    #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 72px;
  padding-bottom: 48px;
  padding-top: 48px;
}

.securitySection h2 {
  color: #ffffff;
}

.securitySection p {
  color: #cbd5e1;
  max-width: 720px;
}

.securitySection a {
  align-items: center;
  background: linear-gradient(135deg, #f8fbff, #dff8ff);
  border-radius: 8px;
  color: #0b1220;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .marketingNav {
    grid-template-columns: 1fr auto;
  }

  .marketingNav nav {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
  }

  .marketingHero,
  .workflowSection {
    grid-template-columns: 1fr;
  }

  .marketingHero {
    padding-top: 48px;
  }

  .heroSystem {
    min-height: 580px;
  }

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

@media (max-width: 760px) {
  .marketingNav {
    gap: 12px;
    min-height: auto;
    padding: 14px 18px;
  }

  .marketingBrand img {
    height: 36px;
    width: 36px;
  }

  .marketingNav nav {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }

  .marketingNav nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
  }

  .marketingHero,
  .agentSection,
  .workflowSection,
  .securitySection {
    padding-left: 18px;
    padding-right: 18px;
  }

  .heroCopy h1 {
    font-size: 42px;
  }

  .heroCopy p {
    font-size: 16px;
  }

  .heroActions {
    align-items: stretch;
    flex-direction: column;
  }

  .heroPrimary,
  .heroSecondary {
    width: 100%;
  }

  .heroSystem {
    min-height: 340px;
  }

  .particleHeroCore {
    padding: 14px 16px;
    width: min(230px, 68%);
  }

  .particleHeroCore strong {
    font-size: 17px;
  }

  .particleHeroStatus {
    min-width: 134px;
    padding: 11px 12px;
  }

  .particleStatusBottom {
    bottom: 8%;
    left: 0;
  }

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

  .workflowRail article {
    grid-template-columns: 1fr;
  }

  .securitySection {
    align-items: flex-start;
    border-radius: 0;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 0;
  }
}

.launchOs {
  background:
    radial-gradient(circle at 18% -8%, rgba(36, 87, 230, 0.08), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(122, 90, 248, 0.06), transparent 28%),
    var(--launch-bg);
  color: var(--launch-text);
  min-height: 100vh;
}

.launchHeader {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--launch-border);
  backdrop-filter: blur(16px);
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
}

.launchHeader > div {
  align-items: center;
  display: flex;
  gap: 10px;
}

.launchHeader > div:first-child > span {
  background: linear-gradient(135deg, var(--launch-primary), var(--launch-ai));
  border-radius: 8px;
  color: white;
  display: grid;
  font-weight: 800;
  height: 34px;
  place-items: center;
  width: 34px;
}

.launchHeader strong,
.launchHeader small {
  display: block;
}

.launchHeader small {
  color: var(--launch-muted);
  font-size: 12px;
  margin-top: 2px;
}

.launchHeader button {
  background: #fcfcfd;
  border: 1px solid var(--launch-border);
  border-radius: 8px;
  color: var(--launch-primary);
  height: 34px;
  width: 34px;
}

.chatOsGrid {
  display: grid;
  gap: 18px;
  grid-template-columns: 260px minmax(520px, 1fr) 330px;
  height: calc(100vh - 236px);
  margin: 18px auto 0;
  max-width: 1540px;
  padding: 0 24px;
}

.chatOsHeader {
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
}

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

.systemSignal {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.systemSignal.normal {
  background: #ecfdf3;
  color: #067647;
}

.systemSignal.risk {
  background: #fffaeb;
  color: #b54708;
}

.customerAvatar {
  background: #eef4ff;
  border-radius: 999px;
  color: var(--launch-primary);
  display: grid;
  font-weight: 800;
  height: 34px;
  place-items: center;
  width: 34px;
}

.chatOsTopStatus {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 18px auto 0;
  max-width: 1492px;
  padding: 16px 18px;
}

.chatOsTopStatus span,
.businessPanelTitle span,
.taskTimelineHead span {
  color: var(--launch-primary);
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.chatOsTopStatus strong {
  color: var(--launch-text);
  display: block;
  font-size: 18px;
  margin-top: 4px;
}

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

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

.chatOsStatusSummary article {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 12px;
}

.chatOsStatusSummary article strong {
  font-size: 14px;
}

.chatOsStatus,
.chatOsBusiness {
  background: rgba(252, 252, 253, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.05);
  overflow-y: auto;
  padding: 20px;
}

.chatOsMain {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chatOsConversation {
  flex: 1;
  min-height: 0;
}

.chatOs .gptMessageList {
  height: 100%;
  min-height: 0;
  padding: 28px clamp(20px, 5vw, 72px);
}

.chatOs .gptChatFooter {
  background: white;
  border-top: 1px solid var(--launch-border);
  position: static;
}

.chatOs .chatFooterInner {
  max-width: 820px;
}

.chatOs .gptComposer {
  border: 1px solid rgba(36, 87, 230, 0.34);
  border-radius: 14px;
  box-shadow: 0 0 0 4px var(--launch-focus);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.chatOs .composerSend {
  background: linear-gradient(135deg, #2f6bff, #4fd1c5);
}

.chatAttachmentButton {
  align-items: center;
  color: var(--launch-primary);
  cursor: pointer;
  display: flex;
  font-size: 24px;
  justify-content: center;
  width: 34px;
}

.chatAttachmentButton input {
  display: none;
}

.osPanelTitle > span {
  color: var(--launch-muted);
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.osPanelTitle > strong {
  color: var(--launch-primary);
  font-size: 16px;
}

.chatStatusList {
  margin: 24px 0;
}

.chatStatusList > div {
  border-bottom: 1px solid var(--launch-border);
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
}

.chatStatusList dt {
  color: var(--launch-secondary);
  font-size: 13px;
}

.chatStatusList dd {
  color: var(--launch-primary);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.osBoundaryNote {
  background: #eef4ff;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.7;
  padding: 12px;
}

.productArchitectureStatus {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 228, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.04);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.productArchitectureStatus p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.architectureFlow {
  display: grid;
  gap: 8px;
}

.architectureFlow span {
  color: var(--launch-ai);
  display: block;
  font-size: 11px;
  font-weight: 800;
}

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

.architectureFlow span {
  background: #f8fbff;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  color: var(--launch-primary);
  padding: 7px 10px;
}

.chatOsExplanation details {
  border-bottom: 1px solid var(--launch-border);
  padding: 0 0 16px;
  margin-bottom: 16px;
}

.chatOsExplanation summary {
  color: var(--launch-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0;
}

.chatOsExplanation article {
  background: white;
  border: 1px solid var(--launch-border);
  border-radius: 8px;
  margin-top: 10px;
  padding: 12px;
}

.chatOsExplanation article.danger {
  border-color: #fecdca;
}

.chatOsExplanation article span {
  color: var(--launch-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
}

.chatOsExplanation article p,
.chatOsExplanation details > p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.workOs,
.devOs,
.analyticsShell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.workOsFull {
  display: block;
}

.workOs .workbenchSidebar,
.devOs .workbenchSidebar,
.analyticsShell .workbenchSidebar {
  background: rgba(252, 252, 253, 0.92);
  border-right: 1px solid var(--launch-border);
  min-height: 100vh;
}

.launchOs .sidebarLogo span {
  background: linear-gradient(135deg, var(--launch-primary), var(--launch-ai));
  color: #fff;
}

.launchOs .workbenchSidebar nav button {
  color: var(--launch-secondary);
}

.launchOs .workbenchSidebar nav button:hover,
.launchOs .workbenchSidebar nav button.active {
  background: #eef4ff;
  color: var(--launch-primary);
  font-weight: 800;
}

.launchOs .workbenchSidebar nav button span {
  color: var(--launch-primary);
}

.launchOs .workbenchSidebar nav button.active span {
  background: #ffffff;
  border-color: rgba(36, 87, 230, 0.32);
  color: var(--launch-primary);
}

.workOsMain,
.devOsMain,
.analyticsMain {
  min-width: 0;
  padding: 0 24px 24px;
}

.workOsQueueColumn {
  display: grid;
  gap: 14px;
  grid-area: queue;
  min-width: 0;
}

.workOsFull .workOsMain {
  margin: 0 auto;
  max-width: 1540px;
  padding: 18px 24px 28px;
}

.customerPriorityCard,
.customerTaskModel,
.chatPriorityBanner,
.opsReviewDetail,
.orgConfigFocus,
.orgTreePanel,
.orgMemberPanel,
.orgReviewPanel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--launch-border);
  border-radius: 14px;
}

.customerPriorityCard {
  margin-top: 18px;
  padding: 15px;
}

.customerPriorityCard span,
.customerTaskModel > span,
.chatPriorityBanner span,
.opsReviewMeta span,
.orgConfigFocus span,
.orgReviewPanel span {
  color: var(--launch-ai);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.customerPriorityCard strong,
.customerTaskModel strong,
.chatPriorityBanner strong,
.opsReviewMeta strong,
.orgConfigFocus strong,
.orgReviewPanel strong {
  color: var(--launch-text);
  display: block;
  font-size: 16px;
  line-height: 1.45;
  margin-top: 8px;
}

.customerPriorityCard p,
.customerTaskModel p,
.chatPriorityBanner p,
.opsReviewMeta p,
.orgConfigFocus p,
.orgReviewPanel p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0 0;
}

.customerTaskModel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
}

.taskExampleChips,
.taskCreationSteps,
.enterpriseTaskModel div,
.workQueueLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.taskExampleChips em,
.taskCreationSteps span,
.taskLifecycleSteps span,
.enterpriseTaskModel span,
.workQueueLegend span {
  background: #eef4ff;
  border: 1px solid #d6e4ff;
  border-radius: 999px;
  color: var(--launch-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  padding: 6px 10px;
}

.chatPriorityBanner button,
.orgConfigFocus button,
.orgPanelHead button {
  background: #ffffff;
  border: 1px solid var(--launch-border);
  border-radius: 12px;
  color: var(--launch-primary);
  font-weight: 800;
  min-height: 54px;
  padding: 10px 12px;
  text-align: left;
}

.chatPriorityBanner button:hover,
.orgConfigFocus button:hover,
.orgPanelHead button:hover {
  border-color: rgba(36, 87, 230, 0.42);
  box-shadow: 0 0 0 4px var(--launch-focus);
}

.chatPriorityBanner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 18px clamp(20px, 5vw, 72px) 0;
  padding: 16px 18px;
}

.chatPriorityBanner > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.taskCreationBanner {
  align-items: flex-start;
}

.orgConfigFocus button,
.orgPanelHead button {
  background: var(--launch-primary);
  border-color: var(--launch-primary);
  color: #fff;
}

.opsReviewDetail {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
}

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

.opsReviewTable div {
  background: #f8fafc;
  border: 1px solid var(--launch-border);
  border-radius: 10px;
  padding: 12px;
}

.opsReviewTable span {
  color: var(--launch-muted);
  display: block;
  font-size: 12px;
}

.opsReviewTable strong {
  color: var(--launch-text);
  display: block;
  font-size: 13px;
  margin-top: 7px;
}

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

.opsReviewStepper span {
  border-top: 2px solid var(--launch-border);
  color: var(--launch-muted);
  font-size: 12px;
  padding-top: 8px;
}

.opsReviewStepper span.active {
  border-color: var(--launch-primary);
  color: var(--launch-primary);
  font-weight: 800;
}

.orgConfigFocus {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 16px;
}

.orgConfigGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.orgTreePanel,
.orgMemberPanel {
  padding: 16px;
}

.orgTreePanel h2,
.orgMemberPanel h2 {
  color: var(--launch-text);
  font-size: 16px;
  margin: 0 0 12px;
}

.orgTreePanel button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--launch-secondary);
  display: flex;
  gap: 9px;
  min-height: 38px;
  padding: 0 10px;
  width: 100%;
}

.orgTreePanel button.active,
.orgTreePanel button:hover {
  background: #eef4ff;
  color: var(--launch-primary);
  font-weight: 800;
}

.orgTreePanel button span {
  background: #eef2ff;
  border-radius: 999px;
  display: grid;
  font-size: 11px;
  height: 22px;
  place-items: center;
  width: 22px;
}

.orgPanelHead {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

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

.orgMemberTable {
  display: grid;
}

.orgMemberTable > div {
  align-items: center;
  border-bottom: 1px solid var(--launch-border);
  display: grid;
  gap: 10px;
  grid-template-columns: 1.1fr .8fr .9fr .9fr .8fr;
  min-height: 44px;
}

.orgMemberTable .head {
  color: var(--launch-muted);
  font-size: 12px;
  font-weight: 800;
}

.orgMemberTable strong,
.orgMemberTable span {
  font-size: 13px;
}

.orgMemberTable em {
  background: #eef4ff;
  border-radius: 999px;
  color: var(--launch-primary);
  font-size: 12px;
  font-style: normal;
  justify-self: start;
  padding: 4px 8px;
}

.orgReviewPanel {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
  padding: 16px;
}

.chatTaskCards {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.chatTaskCards > span {
  color: var(--launch-ai);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.taxOsTaskCard {
  background: #ffffff;
  border: 1px solid var(--launch-border);
  border-left: 3px solid var(--launch-primary);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.taxOsTaskCard.selected {
  box-shadow: 0 0 0 4px var(--launch-focus);
}

.taxOsTaskCard.risk-high {
  border-left-color: var(--launch-danger);
}

.taxOsTaskCard.risk-medium {
  border-left-color: var(--launch-warning);
}

.taxOsTaskCard.risk-low {
  border-left-color: var(--launch-success);
}

.taxOsTaskCardHead,
.taxOsTaskMeta {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.taxOsTaskCardHead span,
.taxOsTaskCardHead em,
.taxOsTaskMeta small {
  font-size: 12px;
}

.taxOsTaskCardHead span {
  color: var(--launch-primary);
  font-weight: 800;
}

.taxOsTaskCardHead em,
.riskBadge {
  background: #eef4ff;
  border-radius: 999px;
  color: var(--launch-primary);
  font-style: normal;
  font-weight: 800;
  padding: 4px 8px;
}

.taxOsTaskCard strong {
  color: var(--launch-text);
  font-size: 14px;
  line-height: 1.4;
}

.taxOsTaskCard p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.taxOsTaskChecklist {
  color: var(--launch-secondary);
  display: grid;
  font-size: 12px;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.taxOsTaskRisk {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.taxOsTaskRisk span {
  background: #fffaeb;
  border-radius: 999px;
  color: #b54708;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 7px;
}

.taxOsTaskMeta small:first-child {
  color: var(--launch-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.taskOsStepper span {
  border-top: 2px solid var(--launch-border);
  color: var(--launch-muted);
  font-size: 12px;
  line-height: 1.35;
  padding-top: 8px;
}

.taskOsStepper i {
  background: #eef2ff;
  border-radius: 999px;
  display: inline-grid;
  font-style: normal;
  height: 20px;
  margin-right: 6px;
  place-items: center;
  width: 20px;
}

.taskOsStepper span.active {
  border-color: var(--launch-primary);
  color: var(--launch-primary);
  font-weight: 800;
}

.approvalCard {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--launch-border);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px;
}

.approvalCard span {
  color: var(--launch-ai);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.approvalCard strong {
  display: block;
  font-size: 15px;
  margin-top: 5px;
}

.approvalCard p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 5px 0 0;
}

.aiInsightPanel {
  display: grid;
  gap: 10px;
}

.aiInsightPanel h3 {
  color: var(--launch-primary);
  font-size: 14px;
  margin: 8px 0 0;
}

.aiInsightPanel article {
  background: #ffffff;
  border: 1px solid var(--launch-border);
  border-radius: 8px;
  padding: 12px;
}

.aiInsightPanel article.risk {
  border-color: #fecdca;
}

.aiInsightPanel article strong {
  display: block;
  font-size: 13px;
}

.aiInsightPanel article p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0 0;
}

.businessPanel {
  display: grid;
  gap: 16px;
}

.businessPanelTitle strong,
.taskTimelineHead strong {
  color: var(--launch-text);
  display: block;
  font-size: 16px;
  margin-top: 5px;
}

.businessHealthGauge {
  --score: 0;
  background:
    radial-gradient(circle at center, #fff 0 56%, transparent 57%),
    conic-gradient(#2f6bff calc(var(--score) * 1%), #e6eaf0 0);
  border-radius: 999px;
  display: grid;
  height: 148px;
  margin: 0 auto;
  place-items: center;
  width: 148px;
}

.businessHealthGauge > div {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  display: grid;
  height: 104px;
  place-items: center;
  text-align: center;
  width: 104px;
}

.businessHealthGauge strong {
  color: var(--launch-text);
  display: block;
  font-size: 32px;
}

.businessHealthGauge span {
  color: var(--launch-muted);
  display: block;
  font-size: 12px;
  margin-top: -18px;
}

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

.businessMetricsGrid article {
  background: #f5f7fa;
  border-radius: 12px;
  min-height: 76px;
  padding: 12px;
}

.businessMetricsGrid span {
  color: var(--launch-muted);
  display: block;
  font-size: 12px;
}

.businessMetricsGrid strong {
  color: var(--launch-text);
  display: block;
  font-size: 15px;
  margin-top: 8px;
}

.businessTrendMini {
  align-items: end;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border: 1px solid var(--launch-border);
  border-radius: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, 1fr);
  min-height: 86px;
  padding: 14px;
}

.businessTrendMini span {
  background: linear-gradient(180deg, #2f6bff, #4fd1c5);
  border-radius: 999px 999px 4px 4px;
}

.aiRiskPanel {
  display: grid;
  gap: 12px;
}

.aiRiskList {
  display: grid;
  gap: 10px;
}

.aiRiskList article {
  background: #fff;
  border: 1px solid var(--launch-border);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 10px minmax(0, 1fr);
  padding: 12px;
}

.aiRiskList article i {
  background: #4fd1c5;
  border-radius: 999px;
  height: 10px;
  margin-top: 4px;
  width: 10px;
}

.aiRiskList article.level-critical i,
.aiRiskList article.level-high i {
  background: var(--launch-danger);
}

.aiRiskList article.level-warning i,
.aiRiskList article.level-medium i {
  background: var(--launch-warning);
}

.aiRiskList strong {
  color: var(--launch-text);
  display: block;
  font-size: 13px;
}

.aiRiskList p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 5px 0 0;
}

.chatOsTimeline {
  margin: 18px auto 24px;
  max-width: 1492px;
  padding: 0 24px;
}

.taskTimeline {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.05);
  padding: 16px;
}

.taskTimeline {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 190px minmax(0, 1fr);
}

.taskTimelineTrack {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
}

.taskTimelineTrack article {
  background: #f5f7fa;
  border-radius: 12px;
  min-height: 86px;
  padding: 12px;
  position: relative;
}

.taskTimelineTrack article::after {
  background: #d0d5dd;
  content: "";
  height: 2px;
  left: calc(100% - 4px);
  position: absolute;
  top: 24px;
  width: 18px;
}

.taskTimelineTrack article:last-child::after {
  display: none;
}

.taskTimelineTrack article.active {
  background: #eef4ff;
}

.taskTimelineTrack article.active::after,
.taskTimelineTrack article.active i {
  background: var(--launch-primary);
}

.taskTimelineTrack i {
  background: #d0d5dd;
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-style: normal;
  font-weight: 800;
  height: 24px;
  place-items: center;
  width: 24px;
}

.taskTimelineTrack strong {
  color: var(--launch-text);
  display: block;
  font-size: 13px;
  margin-top: 10px;
}

.taskTimelineTrack span {
  color: var(--launch-muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.structuredAiResult {
  background: #ffffff;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.06);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.structuredAiResultHead span,
.structuredAiColumns span,
.structuredAiResult footer span {
  color: var(--launch-primary);
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.structuredAiResultHead strong {
  color: var(--launch-text);
  display: block;
  font-size: 18px;
  margin-top: 5px;
}

.structuredAiResult dl,
.structuredAiColumns {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.structuredAiResult dl {
  margin: 0;
}

.structuredAiResult dl div,
.structuredAiColumns article,
.structuredAiResult footer {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 12px;
}

.structuredAiResult dt {
  color: var(--launch-muted);
  font-size: 12px;
}

.structuredAiResult dd {
  color: var(--launch-text);
  font-size: 13px;
  font-weight: 800;
  margin: 5px 0 0;
}

.structuredAiResult ul {
  color: var(--launch-secondary);
  display: grid;
  font-size: 13px;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 18px;
}

.structuredAiColumns article.risk {
  background: #fffaeb;
}

.structuredAiResult p {
  color: var(--launch-secondary);
  font-size: 13px;
  margin: 8px 0 0;
}

.structuredAiResult footer strong {
  color: var(--launch-text);
  display: block;
  font-size: 15px;
  margin-top: 5px;
}

.bossCockpitGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  margin-bottom: 16px;
}

.bossCockpitGrid.lower {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.bossRiskList article,
.bossTaskStats article {
  border-bottom: 1px solid var(--launch-border);
  display: grid;
  gap: 5px;
  padding: 12px 0;
}

.bossRiskList article:first-child,
.bossTaskStats article:first-child {
  padding-top: 0;
}

.bossRiskList article:last-child,
.bossTaskStats article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bossRiskList span,
.bossTaskStats span {
  color: var(--launch-primary);
  font-size: 12px;
  font-weight: 800;
}

.bossRiskList p,
.bossTaskStats p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.bossTaskStats strong {
  font-size: 26px;
}

.workOsMain .workbenchHeader,
.devOsMain .workbenchHeader,
.analyticsMain .workbenchHeader {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 20px 0;
}

.workOsGrid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-areas:
    "queue ai"
    "detail detail";
  grid-template-columns: minmax(280px, 360px) minmax(420px, 1fr);
}

.workEnterpriseContext {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.5fr) 220px auto;
  margin-bottom: 18px;
  padding: 18px;
}

.workOsQueueColumn .workEnterpriseContext {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

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

.workEnterpriseContext span,
.workPanelTitle span,
.workSectionHead span {
  color: var(--launch-primary);
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.workEnterpriseContext h1,
.workEnterpriseContext strong,
.workPanelTitle strong,
.workSectionHead strong {
  color: var(--launch-text);
  display: block;
  font-size: 18px;
  margin-top: 5px;
}

.workEnterpriseContext h1 {
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 0;
}

.workEnterpriseContext p,
.workPanelTitle p {
  color: var(--launch-muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0 0;
}

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

.workEnterpriseContext dl div {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 10px;
}

.workEnterpriseContext dt {
  color: var(--launch-muted);
  font-size: 12px;
}

.workEnterpriseContext dd {
  color: var(--launch-text);
  font-size: 13px;
  font-weight: 800;
  margin: 5px 0 0;
}

.workEnterpriseSwitch {
  color: var(--launch-secondary);
  display: grid;
  font-size: 12px;
  gap: 6px;
}

.workEnterpriseSwitch select,
.workEditableGrid input,
.workSummaryEditor textarea,
.workAdminControls input {
  background: #fff;
  border: 1px solid var(--launch-border);
  border-radius: 10px;
  color: var(--launch-text);
  min-height: 40px;
  padding: 0 10px;
  width: 100%;
}

.workHeaderActions {
  display: flex;
  gap: 8px;
}

.workTaskQueue,
.workAiControl,
.workTaskExecution {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.05);
  min-width: 0;
  padding: 18px;
}

.workTaskQueue {
  grid-area: queue;
}

.workAiControl {
  display: grid;
  gap: 16px;
  grid-area: ai;
}

.workTaskExecution {
  display: grid;
  gap: 16px;
  grid-area: detail;
}

.workTaskQueueList {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.workTaskQueueItem {
  background: #fff;
  border: 1px solid var(--launch-border);
  border-left: 4px solid var(--launch-border);
  border-radius: 12px;
  display: grid;
  gap: 7px;
  padding: 12px;
  text-align: left;
}

.workTaskQueueItem.priority-urgent { border-left-color: var(--launch-danger); }
.workTaskQueueItem.priority-tax { border-left-color: var(--launch-warning); }
.workTaskQueueItem.priority-blocked { border-left-color: var(--launch-ai); }
.workTaskQueueItem.priority-normal { border-left-color: var(--launch-primary); }

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

.workTaskQueueItem.active,
.workTaskQueueItem:hover {
  border-color: rgba(47, 107, 255, 0.42);
  box-shadow: 0 0 0 4px var(--launch-focus);
}

.workTaskQueueItem span {
  color: var(--launch-primary);
  font-size: 12px;
  font-weight: 800;
}

.workTaskQueueItem strong {
  color: var(--launch-text);
  font-size: 15px;
}

.workTaskQueueItem em,
.workTaskQueueItem small,
.workTaskQueueItem p,
.workTaskQueueItem time {
  color: var(--launch-muted);
  font-size: 12px;
  font-style: normal;
  margin: 0;
}

.workTaskQueueItem p {
  line-height: 1.45;
}

.workTaskSummaryGrid,
.workDecisionGrid,
.workEditableGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workTaskSummaryGrid article,
.workDecisionGrid article,
.workAiResultBlock,
.workStepperBlock,
.workApprovalBlock,
.workRecords,
.workRiskList article,
.workKnowledgeList article {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 14px;
}

.workTaskSummaryGrid span,
.workDecisionGrid span {
  color: var(--launch-muted);
  font-size: 12px;
}

.workTaskSummaryGrid strong,
.workDecisionGrid strong {
  display: block;
  font-size: 16px;
  margin-top: 6px;
}

.workTaskSummaryGrid p,
.workDecisionGrid p,
.workAiResultBlock p,
.workRiskList p,
.workKnowledgeList p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0 0;
}

.workBusinessForm,
.workAiFacts,
.workRiskList,
.workKnowledgeList,
.workAdminControls,
.workRecords {
  display: grid;
  gap: 12px;
}

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

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

.workEditableGrid label,
.workSummaryEditor,
.workAdminControls label {
  color: var(--launch-secondary);
  display: grid;
  font-size: 12px;
  gap: 6px;
}

.workSummaryEditor textarea {
  min-height: 96px;
  padding: 10px;
  resize: vertical;
}

.workFormActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.workExecutionStepper span {
  border-top: 2px solid var(--launch-border);
  color: var(--launch-muted);
  font-size: 12px;
  line-height: 1.35;
  padding-top: 8px;
}

.workExecutionStepper i {
  background: #e6eaf0;
  border-radius: 999px;
  display: inline-grid;
  font-style: normal;
  height: 20px;
  margin-right: 6px;
  place-items: center;
  width: 20px;
}

.workExecutionStepper span.active {
  border-color: var(--launch-primary);
  color: var(--launch-primary);
  font-weight: 800;
}

.workExecutionStepper span.active i {
  background: var(--launch-primary);
  color: #fff;
}

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

.workAiFacts div {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 12px;
}

.workAiFacts dt {
  color: var(--launch-muted);
  font-size: 12px;
}

.workAiFacts dd {
  color: var(--launch-text);
  font-size: 13px;
  font-weight: 800;
  margin: 5px 0 0;
}

.workAiFacts .risk-high { color: var(--launch-danger); }
.workAiFacts .risk-medium { color: var(--launch-warning); }
.workAiFacts .risk-low { color: var(--launch-success); }

.workRiskList article,
.workKnowledgeList article {
  background: #fff;
  border: 1px solid var(--launch-border);
}

.workRecords article {
  align-items: center;
  border-top: 1px solid var(--launch-border);
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.workRecords article strong {
  font-size: 13px;
}

.workRecords article time {
  color: var(--launch-muted);
  font-size: 12px;
}

.devOsGrid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: 210px minmax(560px, 1fr) 270px;
}

.devOsGrid.noMenu {
  grid-template-columns: minmax(560px, 1fr) 270px;
}

.analyticsOs > header,
.devContent > header {
  margin-bottom: 20px;
}

.analyticsOs > header span,
.devContent > header span {
  color: var(--launch-ai);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.analyticsOs > header h1,
.devContent > header h1 {
  color: var(--launch-primary);
  font-size: 24px;
  margin: 7px 0;
}

.analyticsOs > header p,
.devContent > header p {
  color: var(--launch-secondary);
  margin: 0;
}

.analyticsKpis,
.devMetricGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.analyticsKpis article {
  background: white;
  border: 1px solid var(--launch-border);
  border-radius: 10px;
  padding: 18px;
}

.analyticsKpis span {
  color: var(--launch-secondary);
  display: block;
  font-size: 13px;
}

.analyticsKpis strong {
  color: var(--launch-primary);
  display: block;
  font-size: 24px;
  margin-top: 10px;
}

.analyticsGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: 2fr 1fr 1fr;
}

.analyticsGrid > .trendChart {
  grid-column: span 2;
}

.efficiencyDashboardPanel {
  align-content: start;
  background: #ffffff;
  border: 1px solid var(--launch-border);
  border-radius: 10px;
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  min-width: 0;
  padding: 18px;
}

.efficiencyHero {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(15, 42, 74, 0.96), rgba(36, 87, 230, 0.88)),
    var(--launch-primary);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px;
}

.efficiencyHero span,
.efficiencyMetric span,
.efficiencyNetGrid span {
  color: var(--launch-secondary);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.efficiencyHero span {
  color: rgba(255, 255, 255, 0.68);
}

.efficiencyHero h2 {
  color: #ffffff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  margin: 10px 0;
}

.efficiencyHero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 540px;
}

.efficiencyHero em {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  flex: 0 0 auto;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  padding: 7px 10px;
}

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

.efficiencyMetric,
.efficiencyNetGrid article {
  background: var(--launch-soft);
  border: 1px solid var(--launch-border);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.efficiencyMetric strong,
.efficiencyNetGrid strong {
  color: var(--launch-primary);
  display: block;
  font-size: 20px;
  line-height: 1.2;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.efficiencyMetric p,
.efficiencyNetGrid p,
.efficiencyEmptyNote,
.efficiencyState span {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.65;
  margin: 8px 0 0;
}

.efficiencyMetric.primary strong {
  color: var(--launch-primary);
}

.efficiencyMetric.success strong {
  color: var(--launch-success);
}

.efficiencyMetric.cost strong {
  color: var(--launch-warning);
}

.efficiencyMetric.time strong {
  color: var(--launch-ai);
}

.efficiencyNetGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: 0.8fr 1.2fr;
}

.efficiencyNetGrid article:last-child {
  background: #f8fbff;
  border-color: rgba(36, 87, 230, 0.16);
}

.efficiencyNetGrid article:last-child strong {
  font-size: 26px;
}

.efficiencyState {
  align-content: center;
  background: var(--launch-soft);
  border: 1px dashed var(--launch-border);
  border-radius: 8px;
  color: var(--launch-secondary);
  display: grid;
  gap: 8px;
  min-height: 220px;
  padding: 18px;
  text-align: center;
}

.efficiencyState strong {
  color: var(--launch-danger);
}

.efficiencyState button {
  background: var(--launch-primary);
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  justify-self: center;
  padding: 9px 14px;
}

.readonlyMetric {
  display: grid;
  min-height: 180px;
  place-content: center;
  text-align: center;
}

.readonlyMetric strong {
  color: var(--launch-primary);
  font-size: 32px;
}

.readonlyMetric span {
  color: var(--launch-muted);
  margin-top: 6px;
}

.agentManagementList {
  display: grid;
  gap: 10px;
}

.agentManagementList article {
  align-items: center;
  background: white;
  border: 1px solid var(--launch-border);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) auto 150px auto;
  padding: 16px;
}

.agentManagementList article span {
  color: var(--launch-ai);
  font-size: 11px;
  text-transform: uppercase;
}

.agentManagementList h2 {
  color: var(--launch-primary);
  font-size: 16px;
  margin: 4px 0;
}

.agentManagementList p {
  color: var(--launch-secondary);
  font-size: 12px;
  margin: 0;
}

.agentManagementList select,
.agentManagementList button,
.logSearch input {
  background: white;
  border: 1px solid var(--launch-border);
  border-radius: 8px;
  min-height: 38px;
  padding: 0 10px;
}

.agentManagementList button {
  background: var(--launch-primary);
  color: white;
}

.devInvocationList,
.devLogList {
  background: white;
  border: 1px solid var(--launch-border);
  border-radius: 10px;
  margin-top: 16px;
  padding: 16px;
}

.devInvocationList article,
.devLogList article {
  border-bottom: 1px solid var(--launch-border);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr auto;
  padding: 10px 0;
}

.devInvocationList span,
.devInvocationList time,
.devLogList span,
.devLogList time {
  color: var(--launch-muted);
  font-size: 12px;
}

.apiBoundaryNotice {
  background: #fffaeb;
  border: 1px solid #fedf89;
  border-radius: 8px;
  color: #93370d;
  padding: 14px;
}

.logSearch {
  color: var(--launch-secondary);
  display: grid;
  font-size: 13px;
  gap: 7px;
}

.v2AdminMenu button.active {
  background: #eef4ff;
  color: var(--launch-primary);
  font-weight: 700;
}

@media (max-width: 1320px) {
  .chatOsGrid {
    grid-template-columns: 230px minmax(420px, 1fr);
    height: auto;
  }

  .chatOsBusiness {
    grid-column: 1 / -1;
  }

  .chatOsMain {
    min-height: 680px;
  }

  .workOsGrid,
  .devOsGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workOsGrid {
    grid-template-areas:
      "queue"
      "ai"
      "detail";
  }

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

  .workEnterpriseContext dl,
  .workEditableGrid,
  .workTaskSummaryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .devOsGrid.noMenu {
    grid-template-columns: minmax(0, 1fr);
  }

  .bossCockpitGrid,
  .bossCockpitGrid.lower {
    grid-template-columns: 1fr;
  }

  .v2OpsAiPanel,
  .v2AdminAudit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .chatOsTopStatus,
  .taskTimeline {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .chatOsStatusSummary,
  .taskTimelineTrack {
    grid-template-columns: 1fr;
  }

  .chatOsGrid {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0 14px;
  }

  .chatOsTopStatus,
  .chatOsTimeline {
    padding: 0 14px;
  }

  .chatOsMain {
    flex: 1;
    min-height: 640px;
  }

  .chatOsBusiness {
    display: block;
  }

  .chatOs .gptMessageList {
    padding: 20px 14px;
  }

  .structuredAiResult dl,
  .structuredAiColumns,
  .businessMetricsGrid {
    grid-template-columns: 1fr;
  }

  .workOs,
  .devOs,
  .analyticsShell {
    display: block;
  }

  .workOs .workbenchSidebar,
  .devOs .workbenchSidebar,
  .analyticsShell .workbenchSidebar {
    min-height: auto;
  }

  .workOsGrid,
  .devOsGrid,
  .analyticsGrid {
    grid-template-columns: 1fr;
  }

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

  .workOsGrid {
    grid-template-areas:
      "queue"
      "ai"
      "detail";
  }

  .workEnterpriseContext dl,
  .workEditableGrid,
  .workDecisionGrid,
  .workTaskSummaryGrid,
  .workAiFacts {
    grid-template-columns: 1fr;
  }

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

  .workOsMain,
  .devOsMain,
  .analyticsMain {
    padding: 0 14px 20px;
  }

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

  .efficiencyHero {
    flex-direction: column;
  }

  .efficiencyMetricGrid,
  .efficiencyNetGrid {
    grid-template-columns: 1fr;
  }

  .chatPriorityBanner,
  .approvalCard,
  .orgConfigFocus {
    align-items: stretch;
    flex-direction: column;
  }

  .opsReviewTable,
  .orgConfigGrid,
  .orgReviewPanel {
    grid-template-columns: 1fr;
  }

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

  .agentManagementList article {
    grid-template-columns: 1fr;
  }
}


.enterpriseTaskModel,
.adminOperatingPanel,
.adminAiTransparency {
  display: grid;
  gap: 14px;
}

.enterpriseTaskModel strong {
  color: var(--launch-text);
}

.enterpriseTaskModel p {
  color: var(--launch-secondary);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.operatingColumns {
  align-items: stretch;
}

.adminChainList,
.agentTransparencyGrid {
  display: grid;
  gap: 12px;
}

.adminChainList article,
.agentTransparencyGrid article {
  align-items: start;
  background: #f5f7fa;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px;
}

.adminChainList i,
.agentTransparencyGrid span {
  background: var(--launch-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  font-style: normal;
  font-weight: 800;
  height: 30px;
  place-items: center;
  width: 30px;
}

.agentTransparencyGrid .agentTransparencyIcon {
  background: #eef4fe;
  color: #6db1ff;
}

.adminChainList strong,
.agentTransparencyGrid strong {
  color: var(--launch-text);
  display: block;
  font-size: 14px;
}

.adminChainList span,
.agentTransparencyGrid em {
  color: var(--launch-primary);
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  margin-top: 4px;
}

.adminChainList p,
.agentTransparencyGrid p {
  color: var(--launch-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 5px 0 0;
}

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

.aiBoundaryNote {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .agentTransparencyGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .agentTransparencyGrid {
    grid-template-columns: 1fr;
  }
}

/* Landing prototype integration: keep scoped to the unauthenticated marketing page. */
.marketingSite {
  --landing-ink: #02040a;
  --landing-accent: #6db1ff;
  --landing-text: #f2f6fc;
  --landing-muted: #7d8aa0;
  --landing-faint: #3b475c;
  --landing-glass: rgba(8, 12, 22, 0.35);
  --landing-glass-border: rgba(255, 255, 255, 0.07);
  background: var(--landing-ink);
  color: var(--landing-text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.marketingSite * {
  box-sizing: border-box;
}

.marketingGlow {
  animation: landingBreathe 10s ease-in-out infinite;
  background:
    radial-gradient(720px 560px at 20% 12%, rgba(139, 123, 255, 0.32), transparent 60%),
    radial-gradient(680px 580px at 84% 78%, rgba(52, 231, 208, 0.22), transparent 60%);
  inset: -20%;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.marketingParticles {
  display: block;
  inset: 0;
  position: fixed;
  z-index: 0;
}

.marketingVignette {
  background: radial-gradient(circle at 50% 38%, transparent 30%, rgba(2, 4, 10, 0.55) 78%, #02040a 100%);
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}

.landingGradientDef {
  position: absolute;
}

.marketingNav,
.marketingHero,
.landingSection,
.agentGrid {
  margin: 0 auto;
  max-width: 1080px;
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
  z-index: 2;
}

.marketingNav {
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  display: flex;
  gap: 24px;
  height: 78px;
  justify-content: space-between;
  left: 0;
  max-width: none;
  padding: 0 32px;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 20;
}

.marketingBrand {
  align-items: center;
  color: var(--landing-text);
  display: flex;
  gap: 11px;
  font-size: 19px;
  font-weight: 500;
  justify-self: auto;
  letter-spacing: 3px;
  text-decoration: none;
}

.marketingBrand strong {
  color: inherit;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 3px;
}

.marketingLogo {
  filter: none;
  height: 30px;
  width: 30px;
}

.landingLogoBar {
  animation: landingEq 1.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: bottom;
}

.landingLogoBar.b2 {
  animation-delay: 0.18s;
}

.landingLogoBar.b3 {
  animation-delay: 0.36s;
}

.landingLogoBar.b4 {
  animation-delay: 0.54s;
}

.marketingNav nav {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  gap: 26px;
  padding: 0;
}

.marketingNav nav a {
  background: transparent;
  border-radius: 0;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 400;
  padding: 0;
  text-decoration: none;
  transition: 0.2s;
}

.marketingNav nav a:hover,
.marketingNav nav a:focus-visible {
  background: transparent;
  color: var(--landing-text);
  outline: none;
}

.marketingLogin {
  align-items: center;
  background: var(--landing-glass);
  border: 1px solid var(--landing-glass-border);
  border-radius: 999px;
  box-shadow: none;
  color: var(--landing-text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  justify-self: auto;
  min-height: auto;
  padding: 8px 20px;
  text-decoration: none;
  transition: 0.25s;
}

.marketingLogin:hover,
.marketingLogin:focus-visible {
  background: var(--landing-glass);
  border-color: rgba(109, 177, 255, 0.5);
  box-shadow: none;
  color: var(--landing-text);
  outline: none;
}

.marketingHero {
  align-items: center;
  animation: landingRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  min-height: 100vh;
  padding: 120px 24px 80px;
  text-align: center;
}

.marketingHero::before {
  content: none;
}

.heroEyebrow {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #8aa0bd;
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 6px;
  margin-bottom: 34px;
  padding: 0;
  text-transform: none;
}

.marketingHero h1 {
  color: #e9eef7;
  font-size: 70px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0;
}

.marketingHero h1 .k {
  color: var(--landing-accent);
  font-weight: 600;
}

.marketingHero h1 .dim {
  color: #7b8aa3;
  font-weight: 300;
}

.marketingCta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}

.landingBtn {
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  justify-content: center;
  padding: 13px 30px;
  text-decoration: none;
  transition: 0.25s;
}

.landingBtn.solid {
  background: var(--landing-text);
  color: #02040a;
  font-weight: 500;
}

.landingBtn.solid:hover,
.landingBtn.solid:focus-visible {
  box-shadow: 0 0 40px rgba(109, 177, 255, 0.45);
  outline: none;
}

.landingBtn.line {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--landing-text);
}

.landingBtn.line:hover,
.landingBtn.line:focus-visible {
  background: rgba(109, 177, 255, 0.1);
  border-color: rgba(109, 177, 255, 0.6);
  color: #fff;
  outline: none;
}

.scrollHint {
  animation: landingFade 2.4s ease-in-out infinite;
  bottom: 34px;
  color: var(--landing-faint);
  font-size: 12px;
  left: 50%;
  letter-spacing: 3px;
  position: absolute;
  transform: translateX(-50%);
}

.landingSection {
  padding-bottom: 0;
  padding-top: 120px;
}

.landingSectionHead {
  margin-bottom: 64px;
}

.landingSectionHead div {
  color: var(--landing-accent);
  font-size: 13px;
  letter-spacing: 5px;
  opacity: 0.8;
}

.landingSectionHead h2 {
  color: var(--landing-text);
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 1px;
  margin: 16px 0 0;
}

.landingSectionHead h2 b {
  font-weight: 600;
}

.agentGrid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 120px;
}

.agentCapability {
  animation: landingRise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  background: var(--landing-glass);
  border: 1px solid var(--landing-glass-border);
  border-radius: 16px;
  box-shadow: none;
  min-height: 0;
  overflow: hidden;
  padding: 46px 30px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.agentCapability:hover,
.agentCapability:focus-within {
  background: rgba(12, 18, 32, 0.6);
  border-color: rgba(109, 177, 255, 0.25);
  box-shadow: none;
  transform: translateY(-3px);
}

.agentNo {
  color: var(--landing-faint);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 12px;
}

.capabilityIcon {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  display: block;
  filter: none;
  height: 30px;
  margin-bottom: 22px;
  opacity: 0.9;
  transition: 0.3s;
  width: 30px;
}

.agentCapability:hover .capabilityIcon {
  filter: drop-shadow(0 0 8px rgba(109, 177, 255, 0.5));
}

.agentCapability h3 {
  color: var(--landing-text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 0 9px;
}

.agentCapability p {
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

.agentCapability.soon {
  align-items: center;
  border-color: rgba(255, 255, 255, 0.14);
  border-style: dashed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  text-align: center;
}

.agentCapability.soon .plus {
  color: var(--landing-accent);
  filter: none;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.agentCapability.soon p {
  color: var(--landing-muted);
  font-size: 13px;
}

.landingEnd {
  padding: 140px 24px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.landingEnd h2 {
  color: var(--landing-text);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: 1px;
  margin: 0;
}

.landingEnd h2 b {
  font-weight: 600;
}

.landingDomain {
  color: var(--landing-accent);
  font-family: ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 3px;
  margin-top: 18px;
}

.landingFooter {
  border-top: 1px solid var(--landing-glass-border);
  color: var(--landing-faint);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 30px 0;
  position: relative;
  text-align: center;
  z-index: 2;
}

@keyframes landingBreathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes landingFade {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes landingRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes landingEq {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.62);
  }
}

.zlPlatformConsole {
  display: grid;
  gap: 16px;
}

.zlPlatformConsole .platformSplit {
  align-items: stretch;
  display: flex;
  gap: 14px;
}

.zlPlatformConsole .platformSide {
  max-width: 340px;
}

.zlPlatformConsole .compactSelect,
.zlPlatformConsole .tableInput,
.zlPlatformConsole input {
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--t1);
  font: inherit;
  min-height: 32px;
  padding: 6px 9px;
  width: 100%;
}

.zlPlatformConsole .tableInput {
  min-width: 220px;
}

.zlPlatformConsole .platformForm {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0;
}

.zlPlatformConsole .platformForm.compact {
  margin-bottom: 12px;
}

.zlPlatformConsole .platformForm label {
  display: grid;
  gap: 5px;
}

.zlPlatformConsole .platformForm input,
.zlPlatformConsole .platformForm select,
.zlPlatformConsole .constitutionRule input,
.zlPlatformConsole .constitutionRule textarea {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--t1);
  font: inherit;
  padding: 8px 10px;
}

.zlPlatformConsole .platformForm label.wide {
  grid-column: 1 / -1;
}

.zlPlatformConsole .platformForm span,
.zlPlatformConsole .tiny {
  color: var(--t3);
  font-size: 12px;
}

.zlPlatformConsole .agentCheckGrid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.zlPlatformConsole .agentCheckGrid label {
  align-items: center;
  background: #fafbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 7px;
  padding: 7px 9px;
}

.zlPlatformConsole .platformInlineCheck {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
}

.zlPlatformConsole .policyRow {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 11px 0;
}

.zlPlatformConsole .constitutionList {
  display: grid;
  gap: 12px;
}

.zlPlatformConsole .constitutionRule {
  background: #fafbff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.zlPlatformConsole .constitutionRule label {
  display: grid;
  gap: 5px;
}

.zlPlatformConsole .constitutionRule span {
  color: var(--t3);
  font-size: 12px;
}

.zlPlatformConsole .constitutionRule textarea {
  min-height: 92px;
  resize: vertical;
}

.zlPlatformConsole .ruleHead {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.zlPlatformConsole .policyRow p {
  color: var(--t2);
  font-size: 12px;
  margin: 2px 0 0;
}

.zlPlatformConsole .wecomPreview {
  align-items: flex-start;
  background: #f3f5f8;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
}

.zlPlatformConsole .brandLogoUpload input[type='file'] {
  border: 0;
  padding: 0;
}

.zlPlatformConsole .brandLogoBox {
  align-items: center;
  border: 1px dashed rgba(37, 99, 235, 0.45);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.zlPlatformConsole .brandLogoPreview {
  align-items: center;
  background: #eef5ff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 10px;
  color: var(--ai);
  display: flex;
  flex: none;
  font-size: 12px;
  font-weight: 700;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  width: 52px;
}

.zlPlatformConsole .brandLogoPreview img,
.zlPlatformConsole .botAvatarImg {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.zlPlatformConsole .brandLogoBox strong,
.zlPlatformConsole .brandLogoBox small,
.zlPlatformConsole .brandLogoBox em {
  display: block;
}

.zlPlatformConsole .brandLogoBox strong {
  color: var(--t1);
  font-size: 13px;
}

.zlPlatformConsole .brandLogoBox small,
.zlPlatformConsole .brandLogoBox em {
  color: var(--t2);
  font-size: 12px;
  font-style: normal;
  margin-top: 3px;
}

.zlPlatformConsole .botAvatar {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex: none;
  font-weight: 600;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.zlPlatformConsole .botAvatarImg {
  border-radius: 8px;
  flex: none;
  height: 36px;
  width: 36px;
}

.zlPlatformConsole .bubble {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 13px;
  margin-top: 4px;
  padding: 8px 10px;
}

.zlShellRoot .accountCreateForm {
  display: grid;
  gap: 12px;
}

.zlShellRoot .accountCreateForm label {
  display: grid;
  gap: 5px;
}

.zlShellRoot .accountCreateForm span,
.passwordHint {
  color: var(--t3);
  font-size: 12px;
}

.zlShellRoot .accountCreateForm input {
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--t1);
  font: inherit;
  min-height: 34px;
  padding: 7px 10px;
}

.zlShellRoot .tempCredentialCard {
  border-color: rgba(124, 58, 237, 0.28);
}

.zlShellRoot .tempCredential {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto auto auto;
}

.zlShellRoot .tempCredential p {
  color: var(--t2);
  margin: 3px 0 0;
}

.zlShellRoot .tempCredential code {
  background: #f1ecfb;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 8px;
  color: #5b21b6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  padding: 7px 10px;
}

@media (max-width: 1000px) {
  .agentGrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .zlPlatformConsole .platformSplit {
    flex-direction: column;
  }

  .zlPlatformConsole .platformSide {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .marketingHero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .marketingHero h1 {
    font-size: 46px;
  }

  .landingSection,
  .agentGrid {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .marketingNav nav {
    display: none;
  }

  .zlPlatformConsole .platformForm,
  .zlPlatformConsole .agentCheckGrid,
  .zlShellRoot .tempCredential {
    grid-template-columns: 1fr;
  }
}

/* === 企业客户端 · 浅色现代化重构(custOs · 方案A 石墨靛蓝) === */
.custOs { background: #f7f8fc; min-height: 100vh; display: flex; flex-direction: column; }
.custTop { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px 22px;
  background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid #e8eaf3; }
.custBrand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #1a2232; }
.custLogo { width: 30px; height: 30px; flex: none; }
.custBrand small { display: block; font-size: 11px; color: #9aa3b4; font-weight: 500; line-height: 1; margin-top: 2px; }
.custSep { width: 1px; height: 22px; background: #dfe1ef; }
.custOrg { font-size: 13px; color: #5a6678; padding: 6px 12px; border: 1px solid #dfe1ef; border-radius: 999px; }
.custTopSpacer { flex: 1; }
.custIconBtn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid #dfe1ef; background: #fff; color: #5a6678;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.custIconBtn:hover { background: #f7f8fc; color: #4f46e5; }
.custAvatar { width: 34px; height: 34px; border-radius: 50%; background: #4f46e5; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }

.custWrap { width: 100%; max-width: 860px; margin: 0 auto; padding: 18px 20px 0; flex: 1; display: flex; flex-direction: column; min-height: 0; }

.custPeriod { background: #fff; border: 1px solid #e8eaf3; border-radius: 14px; box-shadow: 0 1px 2px rgba(26, 34, 50, 0.04); padding: 13px 16px; margin-bottom: 14px; }
.custPeriodHd { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #5a6678; }
.custPeriodHd b { color: #1a2232; font-weight: 600; }
.custPeriodIc { color: #4f46e5; }
.custPeriodDot { color: #c2c6d6; }
.custPeriodMeta { margin-left: auto; font-size: 12.5px; color: #9aa3b4; }
.custTaxRow { display: flex; gap: 10px; margin-top: 11px; flex-wrap: wrap; }
.custTax { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #e8eaf3; border-radius: 10px; background: #fbfcff; }
.custTaxIc { width: 26px; height: 26px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.custTaxIc.ok { background: #eaf3ec; color: #15803d; }
.custTaxIc.doing { background: #eeedfb; color: #4f46e5; }
.custTaxIc.warn { background: #fbf3e6; color: #b45309; }
.custTaxNm { font-size: 13px; font-weight: 500; color: #1a2232; }
.custTaxSt { font-size: 12px; margin-top: 1px; }
.custTaxSt.ok { color: #15803d; }
.custTaxSt.doing { color: #4338ca; }
.custTaxSt.warn { color: #b45309; }
.custPeriodEmpty { margin: 8px 0 2px; font-size: 13px; color: #9aa3b4; }

.custChat { background: #fff; border: 1px solid #e8eaf3; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(26, 34, 50, 0.04), 0 12px 32px rgba(26, 34, 50, 0.06);
  display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; margin-bottom: 18px; }
.custChatHd { display: flex; align-items: center; gap: 11px; padding: 14px 20px; border-bottom: 1px solid #e8eaf3; }
.custChatId h1 { margin: 0; font-size: 15.5px; font-weight: 600; color: #1a2232; }
.custChatId p { margin: 1px 0 0; font-size: 12.5px; color: #9aa3b4; }
.custLive { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #5a6678; }
.custLive i { width: 7px; height: 7px; border-radius: 50%; background: #15803d; box-shadow: 0 0 0 3px #eaf3ec; }
.custChatBody { flex: 1; min-height: 0; overflow: auto; }
.custOs .gptMessageList { height: auto; min-height: 100%; padding: 22px clamp(16px, 4vw, 40px); }
.custOs .assistantMark { background: #eeedfb; color: #4f46e5; }

.custOs .gptChatFooter { position: static; border-top: 1px solid #e8eaf3; background: #fff; padding: 14px 16px; }
.custOs .chatFooterInner { max-width: none; }
.custOs .dbComposer { display: block; border: 1px solid #dfe1ef; border-radius: 18px; padding: 11px 13px 9px; background: #fff;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.08); }
.custOs .dbComposer:focus-within { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14); }
.custOs .dbComposer textarea { width: 100%; border: 0; border-radius: 0; box-shadow: none; outline: 0; resize: none; font: inherit; font-size: 14px; line-height: 1.55;
  background: transparent; color: #1a2232; padding: 2px 2px 9px; min-height: 24px; max-height: 120px; }
.custOs .dbBar { display: flex; align-items: center; gap: 8px; }
.custOs .dbTool { position: relative; width: 32px; height: 32px; border-radius: 10px; border: 1px solid #e8eaf3; background: #f7f8fc;
  color: #5a6678; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.custOs .dbTool:hover { color: #4f46e5; border-color: #4f46e5; }
.custOs .dbTool input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.custOs .dbGrow { flex: 1; }
.custOs .dbComposer .composerSend { width: 36px; height: 36px; border-radius: 12px; border: 0; background: #4f46e5; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none; }
.custOs .dbComposer .composerSend:hover { background: #4338ca; }
.custOs .dbComposer .composerSend:disabled { opacity: 0.5; cursor: default; }
.custOs .chatError { margin: 14px 20px 0; }

.zlPlatformConsole .linkBtn {
  border: 0;
  background: transparent;
  color: var(--action);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.zlPlatformConsole .linkBtn:hover { text-decoration: underline; }

.zlPlatformConsole .platformCostRules {
  display: grid;
  gap: 10px;
}

.zlPlatformConsole .platformCostRules form {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.zlPlatformConsole .platformCostRules label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--t2);
}

.zlPlatformConsole .platformCostRules input,
.zlPlatformConsole .platformCostRules select {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--t1);
  background: #fff;
}

.zlPlatformConsole .detailPanel,
.zlPlatformConsole .listToolbar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.zlPlatformConsole .listToolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: var(--t2);
  flex-wrap: wrap;
}

.zlPlatformConsole .listToolbar select {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
  background: #fff;
  color: var(--t1);
}

@media (max-width: 960px) {
  .zlPlatformConsole .platformCostRules form {
    grid-template-columns: 1fr 1fr;
  }
}
