.ac-shell {
  --ac-purple: #642b8c;
  --ac-purple-deep: #42205f;
  --ac-purple-soft: #f2eafa;
  --ac-orange: #e97b24;
  --ac-orange-soft: #fff0e4;
  --ac-navy: #172235;
  --ac-slate: #647184;
  --ac-border: #dce2e9;
  --ac-green: #268563;
  --ac-green-soft: #e8f6f0;
  --ac-red: #c94d54;
  --ac-red-soft: #fff0f1;
  --ac-shadow: 0 14px 36px rgba(23, 34, 53, .08);
  color: var(--ac-navy);
  padding-bottom: 38px;
}

.ac-shell *, .ac-shell *::before, .ac-shell *::after { box-sizing: border-box; }
.ac-shell button, .ac-shell input, .ac-shell select { font: inherit; }

.ac-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 16px;
  padding: 9px 2px 2px;
}
.ac-header > div:first-child { max-width: 850px; }
.ac-kicker, .ac-eyebrow {
  display: block;
  color: var(--ac-purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ac-header h1 {
  margin: 5px 0 7px;
  color: var(--ac-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.ac-header h1 span { color: var(--ac-purple); }
.ac-header p {
  max-width: 760px;
  margin: 0;
  color: var(--ac-slate);
  font-size: 13px;
  line-height: 1.55;
}
.ac-header-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }

.ac-boundary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(100, 43, 140, .2);
  border-radius: 12px;
  background: linear-gradient(100deg, #fbf8fe, #fff 62%);
  box-shadow: 0 5px 18px rgba(70, 35, 95, .04);
}
.ac-boundary-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--ac-purple-soft);
  color: var(--ac-purple);
}
.ac-boundary strong { display: block; margin-bottom: 2px; font-size: 12px; }
.ac-boundary p { margin: 0; color: var(--ac-slate); font-size: 11px; line-height: 1.45; }

.ac-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 5px 9px;
  border: 1px solid var(--ac-border);
  border-radius: 999px;
  background: #f7f8fa;
  color: var(--ac-slate);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}
.ac-chip i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.ac-chip.purple { border-color: rgba(100, 43, 140, .18); background: var(--ac-purple-soft); color: var(--ac-purple); }
.ac-chip.green { border-color: rgba(38, 133, 99, .18); background: var(--ac-green-soft); color: var(--ac-green); }
.ac-chip.orange { border-color: rgba(233, 123, 36, .2); background: var(--ac-orange-soft); color: #b75a14; }
.ac-chip.red { border-color: rgba(201, 77, 84, .18); background: var(--ac-red-soft); color: var(--ac-red); }

.ac-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--ac-border);
  border-radius: 9px;
  background: #fff;
  color: var(--ac-navy);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ac-btn:hover:not(:disabled) { border-color: #bdc7d3; box-shadow: 0 7px 16px rgba(23, 34, 53, .08); transform: translateY(-1px); }
.ac-btn:focus-visible, .ac-tab:focus-visible, .ac-text-btn:focus-visible, .ac-form input:focus, .ac-form select:focus { outline: 3px solid rgba(100, 43, 140, .18); outline-offset: 2px; }
.ac-btn:disabled { cursor: not-allowed; opacity: .5; }
.ac-btn.primary { border-color: var(--ac-purple); background: var(--ac-purple); color: #fff; }
.ac-btn.danger { border-color: rgba(201, 77, 84, .3); background: var(--ac-red-soft); color: #aa343b; }
.ac-btn.full { width: 100%; }
.ac-btn.small { min-height: 30px; padding: 6px 10px; font-size: 10px; }

.ac-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--ac-border);
  border-radius: 11px;
  background: #f6f8fa;
}
.ac-tab {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ac-slate);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.ac-tab:hover { color: var(--ac-navy); }
.ac-tab.active { background: #fff; color: var(--ac-purple); box-shadow: 0 3px 10px rgba(23, 34, 53, .08); }
.ac-tab span { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 99px; background: var(--ac-orange-soft); color: #b75a14; font-size: 9px; }

.ac-card, .ac-channel, .ac-metric, .ac-assistant-card {
  border: 1px solid var(--ac-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ac-shadow);
}
.ac-card { padding: 17px; }
.ac-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.ac-card-head h3 { margin: 3px 0 0; color: var(--ac-navy); font-size: 16px; letter-spacing: -.02em; }
.ac-card-head p { max-width: 660px; margin: 5px 0 0; color: var(--ac-slate); font-size: 11px; line-height: 1.45; }
.ac-text-btn { padding: 2px; border: 0; background: transparent; color: var(--ac-purple); cursor: pointer; font-size: 10px; font-weight: 750; }

.ac-hero-grid { display: grid; grid-template-columns: minmax(340px, .95fr) minmax(480px, 1.35fr); gap: 14px; }
.ac-assistant-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border-color: rgba(100, 43, 140, .24);
  background:
    radial-gradient(circle at 12% 30%, rgba(151, 78, 203, .22), transparent 24%),
    linear-gradient(135deg, #20152c, #172235 68%, #201d31);
  color: #fff;
}
.ac-assistant-card::after {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  bottom: -130px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.02), 0 0 0 58px rgba(255,255,255,.018);
  content: '';
}
.ac-orb {
  position: relative;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #b884dd, #7135a0 40%, #3d1d59 72%);
  box-shadow: 0 0 32px rgba(150, 78, 202, .35), inset 0 0 22px rgba(255,255,255,.16);
}
.ac-orb::before, .ac-orb::after, .ac-orb span, .ac-orb i { position: absolute; border-radius: 50%; content: ''; }
.ac-orb::before { inset: 13px; border: 1px solid rgba(255,255,255,.32); }
.ac-orb::after { width: 8px; height: 8px; background: #ff9b49; box-shadow: -18px 8px 0 -2px #fff, 17px 10px 0 -2px rgba(255,255,255,.7); animation: acPulse 2.4s ease-in-out infinite; }
.ac-orb span { inset: -8px; border: 1px solid rgba(184,132,221,.28); }
.ac-orb i { inset: -16px; border: 1px solid rgba(184,132,221,.12); }
@keyframes acPulse { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
.ac-assistant-copy { position: relative; z-index: 1; }
.ac-assistant-copy .ac-eyebrow { color: #d1a5ed; }
.ac-assistant-copy h2 { margin: 4px 0 8px; color: #fff; font-size: 25px; letter-spacing: -.035em; }
.ac-assistant-copy > p { margin: 0; color: #cbd1dc; font-size: 11px; line-height: 1.55; }
.ac-assistant-state { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.ac-assistant-state span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.06); color: #e6e9ee; font-size: 9px; font-weight: 700; }
.ac-assistant-state i { width: 6px; height: 6px; border-radius: 50%; background: #52d3a0; box-shadow: 0 0 7px #52d3a0; }
.ac-assistant-state i.off { background: #ff7e84; box-shadow: 0 0 7px #ff7e84; }

.ac-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ac-metric { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: start; min-height: 90px; padding: 14px; box-shadow: 0 8px 22px rgba(23,34,53,.055); }
.ac-metric-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; }
.ac-metric small { display: block; color: var(--ac-slate); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.ac-metric strong { display: block; margin-top: 2px; font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.ac-metric p { margin: 5px 0 0; color: var(--ac-slate); font-size: 9px; }
.ac-metric.green .ac-metric-icon { background: var(--ac-green-soft); color: var(--ac-green); }
.ac-metric.orange .ac-metric-icon { background: var(--ac-orange-soft); color: var(--ac-orange); }
.ac-metric.red .ac-metric-icon { background: var(--ac-red-soft); color: var(--ac-red); }
.ac-metric.purple .ac-metric-icon { background: var(--ac-purple-soft); color: var(--ac-purple); }

.ac-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ac-channel { padding: 14px; box-shadow: 0 7px 20px rgba(23,34,53,.05); }
.ac-channel > header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.ac-channel-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; }
.ac-channel-icon.voice { background: var(--ac-purple-soft); color: var(--ac-purple); }
.ac-channel-icon.sms { background: var(--ac-orange-soft); color: var(--ac-orange); }
.ac-channel-icon.email { background: #e9eefb; color: #526ca7; }
.ac-channel header strong, .ac-channel header small { display: block; }
.ac-channel header strong { font-size: 12px; }
.ac-channel header small { margin-top: 2px; color: var(--ac-slate); font-size: 9px; }
.ac-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ecaaa; }
.ac-channel-row { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid #edf0f4; color: var(--ac-slate); font-size: 9px; }
.ac-channel-row + .ac-channel-row { margin-top: 8px; }
.ac-channel-row b { color: var(--ac-navy); font-weight: 700; }

.ac-two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 14px; }
.ac-policy-summary { display: grid; gap: 9px; }
.ac-policy-summary > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 10px; border: 1px solid #edf0f4; border-radius: 10px; }
.ac-policy-summary > div > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; }
.ac-policy-summary strong { display: block; font-size: 11px; }
.ac-policy-summary p { margin: 2px 0 0; color: var(--ac-slate); font-size: 9px; line-height: 1.45; }
.ac-policy-summary .allowed > span { background: var(--ac-green-soft); color: var(--ac-green); }
.ac-policy-summary .review > span { background: var(--ac-orange-soft); color: var(--ac-orange); }
.ac-policy-summary .blocked > span { background: var(--ac-red-soft); color: var(--ac-red); }
.ac-latest { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 13px; }
.ac-latest > div { padding: 8px; border-radius: 8px; background: #f7f8fa; }
.ac-latest span, .ac-latest strong { display: block; }
.ac-latest span { color: var(--ac-slate); font-size: 8px; text-transform: uppercase; }
.ac-latest strong { margin-top: 2px; font-size: 10px; }
.ac-latest p { grid-column: 1 / -1; margin: 3px 0; color: var(--ac-navy); font-size: 10px; line-height: 1.45; }
.ac-latest small { grid-column: 1 / -1; color: var(--ac-slate); font-size: 9px; }

.ac-test-grid { display: grid; grid-template-columns: minmax(350px, .8fr) minmax(450px, 1.2fr); gap: 14px; }
.ac-form { display: grid; gap: 11px; }
.ac-form label { display: grid; gap: 5px; }
.ac-form label > span { color: #4f5c6e; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.ac-form input, .ac-form select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d7dee6;
  border-radius: 8px;
  background: #fff;
  color: var(--ac-navy);
  font-size: 11px;
}
.ac-form input[type="range"] { min-height: 22px; padding: 0; accent-color: var(--ac-purple); }
.ac-form.compact { gap: 13px; }
.ac-prompt-preview { padding: 13px; border: 1px solid rgba(100,43,140,.16); border-radius: 10px; background: #faf7fc; }
.ac-prompt-preview small { color: var(--ac-purple); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.ac-prompt-preview p { margin: 6px 0 8px; color: #33273c; font-size: 12px; font-style: italic; line-height: 1.45; }
.ac-prompt-preview span { color: var(--ac-slate); font-size: 9px; }
.ac-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 2px 0; padding: 0; list-style: none; }
.ac-flow li { display: grid; gap: 6px; align-content: start; padding: 8px 6px; border-radius: 8px; background: #f7f8fa; }
.ac-flow li > span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--ac-navy); color: #fff; font-size: 8px; font-weight: 800; }
.ac-flow strong, .ac-flow small { display: block; }
.ac-flow strong { font-size: 9px; }
.ac-flow small { margin-top: 2px; color: var(--ac-slate); font-size: 7px; line-height: 1.35; }
.ac-status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; background: #f2f4f7; color: var(--ac-slate); font-size: 8px; font-weight: 800; white-space: nowrap; }
.ac-status.demo_logged, .ac-status.approved_demo { background: var(--ac-green-soft); color: var(--ac-green); }
.ac-status.approval_required, .ac-status.awaiting_review { background: var(--ac-orange-soft); color: #b75a14; }
.ac-status.handoff_required { background: var(--ac-purple-soft); color: var(--ac-purple); }
.ac-status.blocked { background: var(--ac-red-soft); color: var(--ac-red); }
.ac-result { padding: 14px; border: 1px solid var(--ac-border); border-radius: 11px; }
.ac-result.safe { border-color: rgba(38,133,99,.24); background: linear-gradient(180deg, #f8fffb, #fff); }
.ac-result.review { border-color: rgba(233,123,36,.28); background: linear-gradient(180deg, #fffaf6, #fff); }
.ac-result.handoff { border-color: rgba(100,43,140,.24); background: linear-gradient(180deg, #fbf8fe, #fff); }
.ac-result.blocked { border-color: rgba(201,77,84,.24); background: linear-gradient(180deg, #fff8f8, #fff); }
.ac-result-title { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; margin-bottom: 13px; }
.ac-result-title > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #fff; color: var(--ac-purple); box-shadow: 0 4px 10px rgba(23,34,53,.08); }
.ac-result-title strong, .ac-result-title small { display: block; }
.ac-result-title strong { font-size: 12px; line-height: 1.45; }
.ac-result-title small { margin-top: 4px; color: var(--ac-slate); font-size: 9px; }
.ac-trace { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid #e8ecf1; border-radius: 9px; background: #e8ecf1; }
.ac-trace > div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 9px; background: #fff; }
.ac-trace span { color: var(--ac-slate); font-size: 8px; }
.ac-trace b { overflow: hidden; color: var(--ac-navy); font-size: 8px; font-weight: 750; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.ac-holds { margin-top: 10px; padding: 10px; border-radius: 8px; background: rgba(201,77,84,.07); }
.ac-holds strong { color: #a23b42; font-size: 9px; }
.ac-holds p { margin: 4px 0 0; color: #79494d; font-size: 9px; line-height: 1.4; }
.ac-empty { display: grid; min-height: 120px; place-items: center; align-content: center; gap: 6px; padding: 22px; color: var(--ac-slate); text-align: center; }
.ac-empty.tall { min-height: 360px; }
.ac-empty strong { color: var(--ac-navy); font-size: 12px; }
.ac-empty p { max-width: 370px; margin: 0; font-size: 10px; line-height: 1.5; }

.ac-approval-list { display: grid; gap: 9px; }
.ac-approval { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid #e8ecf1; border-radius: 10px; background: #fbfcfd; }
.ac-approval-channel { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--ac-purple-soft); color: var(--ac-purple); }
.ac-approval-main header { display: flex; justify-content: space-between; gap: 12px; }
.ac-approval-main header strong, .ac-approval-main header span { display: block; }
.ac-approval-main header strong { font-size: 11px; }
.ac-approval-main header div > span { margin-top: 2px; color: var(--ac-slate); font-size: 9px; }
.ac-approval-main > p { margin: 7px 0; color: #4e5b6c; font-size: 10px; line-height: 1.45; }
.ac-approval-main footer { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-approval-main footer span { padding: 3px 6px; border-radius: 5px; background: #f0f2f5; color: var(--ac-slate); font-size: 8px; }
.ac-approval-actions { display: grid; gap: 6px; }

.ac-rules-grid { display: grid; grid-template-columns: minmax(480px, 1.3fr) minmax(300px, .7fr); gap: 14px; }
.ac-stack { display: grid; gap: 14px; align-content: start; }
.ac-rule-groups { display: grid; gap: 12px; }
.ac-rule-groups > section { overflow: hidden; border: 1px solid #e8ecf1; border-radius: 10px; }
.ac-rule-groups > section > header { display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: #f7f8fa; }
.ac-rule-groups > section > header strong { font-size: 10px; }
.ac-rule-groups > section > header small { margin-left: auto; color: var(--ac-slate); font-size: 8px; }
.ac-rule-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ac-slate); }
.ac-rule-dot.allowed { background: var(--ac-green); }
.ac-rule-dot.approval_required { background: var(--ac-orange); }
.ac-rule-dot.handoff_required { background: var(--ac-purple); }
.ac-rule-dot.blocked { background: var(--ac-red); }
.ac-rule { display: flex; justify-content: space-between; gap: 14px; padding: 9px 10px; border-top: 1px solid #edf0f4; }
.ac-rule strong { font-size: 10px; }
.ac-rule p { margin: 2px 0 0; color: var(--ac-slate); font-size: 8px; line-height: 1.4; }
.ac-rule > span { align-self: center; color: var(--ac-slate); font-size: 8px; white-space: nowrap; }
.ac-stop-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ac-stop-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 8px; border-radius: 8px; background: var(--ac-red-soft); color: #824348; font-size: 9px; }

.ac-audit { position: relative; display: grid; margin-left: 5px; }
.ac-audit::before { position: absolute; top: 10px; bottom: 10px; left: 4px; width: 1px; background: #e2e6ec; content: ''; }
.ac-audit article { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 0 0 15px; }
.ac-audit-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 5px; border: 2px solid #fff; border-radius: 50%; background: var(--ac-purple); box-shadow: 0 0 0 2px rgba(100,43,140,.2); }
.ac-audit article > div { padding: 10px 11px; border: 1px solid #e8ecf1; border-radius: 9px; background: #fbfcfd; }
.ac-audit header { display: flex; justify-content: space-between; gap: 12px; }
.ac-audit header strong { font-size: 10px; }
.ac-audit time { color: var(--ac-slate); font-size: 8px; }
.ac-audit p { margin: 5px 0 7px; color: #4e5b6c; font-size: 9px; line-height: 1.45; }
.ac-audit footer { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-audit footer span { padding: 3px 6px; border-radius: 5px; background: #eef1f4; color: var(--ac-slate); font-size: 8px; }

@media (max-width: 1180px) {
  .ac-hero-grid, .ac-test-grid, .ac-rules-grid { grid-template-columns: 1fr; }
  .ac-two-col { grid-template-columns: 1fr; }
  .ac-assistant-card { min-height: 170px; }
}

@media (max-width: 820px) {
  .ac-header { align-items: flex-start; flex-direction: column; }
  .ac-header-actions { width: 100%; justify-content: space-between; }
  .ac-grid-3 { grid-template-columns: 1fr; }
  .ac-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-boundary { grid-template-columns: auto minmax(0, 1fr); }
  .ac-boundary > .ac-chip { grid-column: 2; justify-self: start; }
  .ac-approval { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .ac-approval-actions { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .ac-shell { padding-bottom: 24px; }
  .ac-header h1 { font-size: 28px; }
  .ac-header-actions { align-items: stretch; flex-direction: column; }
  .ac-boundary { grid-template-columns: 1fr; }
  .ac-boundary-icon { display: none; }
  .ac-boundary > .ac-chip { grid-column: 1; }
  .ac-assistant-card { grid-template-columns: 1fr; padding: 19px; }
  .ac-orb { width: 70px; height: 70px; }
  .ac-metrics { grid-template-columns: 1fr; }
  .ac-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-trace { grid-template-columns: 1fr; }
  .ac-latest { grid-template-columns: 1fr; }
  .ac-latest p, .ac-latest small { grid-column: 1; }
  .ac-card-head, .ac-approval-main header, .ac-audit header { align-items: flex-start; flex-direction: column; }
  .ac-approval { grid-template-columns: 1fr; }
  .ac-approval-actions { grid-column: 1; }
  .ac-rule { flex-direction: column; }
  .ac-rule > span { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-orb::after { animation: none; }
  .ac-btn { transition: none; }
}
