/* Generated by tools/scope-css.mjs from server/web/app.css. Do not edit by hand. */
.cs {
  --bg: #ffffff;
  --bg-2: #fafafb;
  --bg-3: #f3f3f5;
  --bg-hover: #f4f4f6;
  --bg-active: #ececef;
  --line: #ebebee;
  --line-2: #dedee3;
  --text: #16161a;
  --text-2: #55565f;
  --text-3: #70717b;
  --ink: #16161a;
  --ink-text: #ffffff;
  --accent: #2b55f0;
  --accent-soft: #edf1ff;
  --accent-line: #c9d5ff;
  --allow: #0b7a45;
  --allow-bg: #e6f5ec;
  --deny: #c62a22;
  --deny-bg: #fdebe9;
  --esc: #a85d00;
  --esc-bg: #fdf1dc;
  --ref: #55565f;
  --ref-bg: #efeff2;
  --shadow-1: 0 1px 2px rgba(18, 18, 23, .06);
  --shadow-2: 0 4px 14px -2px rgba(18, 18, 23, .10), 0 2px 4px -2px rgba(18, 18, 23, .06);
  --shadow-3: 0 24px 60px -12px rgba(18, 18, 23, .22), 0 8px 20px -8px rgba(18, 18, 23, .12);
  --r-1: 6px;
  --r-2: 8px;
  --r-3: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
.cs[data-theme="dark"] {
  --bg: #0d0d0f;
  --bg-2: #121215;
  --bg-3: #19191d;
  --bg-hover: #18181c;
  --bg-active: #212126;
  --line: #222227;
  --line-2: #303037;
  --text: #ededf1;
  --text-2: #a3a4ae;
  --text-3: #83848f;
  --ink: #ededf1;
  --ink-text: #0d0d0f;
  --accent: #7d97ff;
  --accent-soft: #171d3a;
  --accent-line: #2c3a78;
  --allow: #4cc38a;
  --allow-bg: #0f2a1d;
  --deny: #ff7a70;
  --deny-bg: #351513;
  --esc: #f0b057;
  --esc-bg: #33240c;
  --ref: #a3a4ae;
  --ref-bg: #1e1e23;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 6px 18px -2px rgba(0, 0, 0, .5);
  --shadow-3: 0 28px 70px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
.cs, .cs * { box-sizing: border-box; }
.cs {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 14px/1.5 var(--sans); font-feature-settings: "cv11", "ss03", "calt";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.cs ::selection { background: var(--accent); color: #fff; }
.cs h1, .cs h2, .cs h3, .cs p { margin: 0; }
.cs h1 { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.cs h2 { font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.cs h3 { font-size: 13px; font-weight: 550; color: var(--text-2); }
.cs a { color: inherit; text-underline-offset: 3px; }
.cs button, .cs input, .cs select, .cs textarea { font: inherit; color: inherit; }
.cs button { cursor: pointer; }
.cs :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.cs .mono { font-family: var(--mono); font-size: .92em; font-feature-settings: "zero"; letter-spacing: -.01em; }
.cs .num { font-variant-numeric: tabular-nums; }
.cs .muted { color: var(--text-2); }
.cs .faint { color: var(--text-3); }
.cs .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cs .grow { flex: 1; min-width: 0; }
.cs .row { display: flex; align-items: center; gap: 8px; }
.cs .col { display: flex; flex-direction: column; }
.cs .trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cs, .cs * { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cs .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-1); background: var(--bg); color: var(--text);
  font-weight: 500; font-size: 13px; white-space: nowrap; box-shadow: var(--shadow-1);
  transition: background .15s, border-color .15s, transform .1s var(--ease), opacity .15s;
}
.cs .btn:hover { background: var(--bg-hover); }
.cs .btn:active { transform: scale(.98); }
.cs .btn[disabled] { opacity: .5; pointer-events: none; }
.cs .btn.primary { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }
.cs .btn.primary:hover { opacity: .88; }
.cs .btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.cs[data-theme="dark"] .btn.accent { color: #0d0d0f; }
.cs .btn.accent:hover { filter: brightness(1.07); }
.cs .btn.ghost { border-color: transparent; box-shadow: none; background: transparent; color: var(--text-2); }
.cs .btn.ghost:hover { background: var(--bg-hover); color: var(--text); }
.cs .btn.danger { color: var(--deny); }
.cs .btn.danger.solid { background: var(--deny); border-color: var(--deny); color: #fff; }
.cs .btn.lg { height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--r-2); }
.cs .btn.sm { height: 26px; padding: 0 8px; font-size: 12px; }
.cs .btn.icon { width: 32px; padding: 0; }
.cs .btn.sm.icon { width: 26px; }
.cs .btn .spin { width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: cs-spin .7s linear infinite; }
@keyframes cs-spin { to { transform: rotate(360deg); } }
.cs .field { display: flex; flex-direction: column; gap: 6px; }
.cs .field > label, .cs .label { font-size: 13px; font-weight: 500; color: var(--text); }
.cs .field .hint { font-size: 12px; color: var(--text-3); }
.cs .field .err { font-size: 12px; color: var(--deny); }
.cs .input, .cs .textarea, .cs .select {
  width: 100%; height: 36px; padding: 0 10px; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--r-2); outline: none; transition: border-color .15s, box-shadow .15s;
}
.cs .textarea { height: auto; padding: 8px 10px; resize: vertical; line-height: 1.5; }
.cs .input::placeholder, .cs .textarea::placeholder { color: var(--text-3); }
.cs .input:hover, .cs .textarea:hover { border-color: var(--text-3); }
.cs .input:focus, .cs .textarea:focus, .cs .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cs .input.bad { border-color: var(--deny); }
.cs .input.lg { height: 42px; font-size: 15px; }
.cs .chip {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; border-radius: 5px;
  background: var(--bg-3); color: var(--text-2); font-size: 12px; font-family: var(--mono); white-space: nowrap;
}
.cs .chip button { all: unset; cursor: pointer; display: grid; place-items: center; opacity: .6; }
.cs .chip button:hover { opacity: 1; }
.cs .chip.esc { background: var(--esc-bg); color: var(--esc); }
.cs .chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cs .chipbox { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; min-height: 36px; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--bg); cursor: text; }
.cs .chipbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cs .chipbox input { flex: 1; min-width: 90px; border: 0; outline: 0; background: transparent; height: 22px; font-family: var(--mono); font-size: 12px; }
.cs .badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 7px; border-radius: 99px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.cs .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cs .badge.allow { color: var(--allow); background: var(--allow-bg); }
.cs .badge.deny { color: var(--deny); background: var(--deny-bg); }
.cs .badge.escalate { color: var(--esc); background: var(--esc-bg); }
.cs .badge.refused, .cs .badge.neutral { color: var(--ref); background: var(--ref-bg); }
.cs .badge.info { color: var(--accent); background: var(--accent-soft); }
.cs .kbd { font: 500 11px var(--sans); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; background: var(--bg); }
.cs .avatar { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; flex: none; letter-spacing: 0; }
.cs .avatar.lg { width: 44px; height: 44px; border-radius: 11px; font-size: 17px; }
.cs .mark { width: 22px; height: 22px; flex: none; }
.cs .wordmark { font-weight: 620; letter-spacing: -.02em; font-size: 15px; }
.cs .shell { display: grid; grid-template-columns: 236px 1fr; height: 100%; }
.cs .side { background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 10px; gap: 2px; min-height: 0; }
.cs .ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r-1); border: 0; background: transparent; text-align: left; width: 100%; margin-bottom: 8px; }
.cs .ws:hover { background: var(--bg-hover); }
.cs .ws b { font-weight: 600; font-size: 13.5px; }
.cs .nav { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 8px; border-radius: var(--r-1); color: var(--text-2); text-decoration: none; font-size: 13.5px; font-weight: 450; border: 0; background: transparent; width: 100%; text-align: left; }
.cs .nav:hover { background: var(--bg-hover); color: var(--text); }
.cs .nav.on { background: var(--bg-active); color: var(--text); font-weight: 550; }
.cs .nav .count { margin-left: auto; font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: var(--esc-bg); color: var(--esc); }
.cs .side-label { font-size: 11.5px; font-weight: 550; color: var(--text-3); padding: 14px 8px 4px; }
.cs .side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.cs .signer { margin: 8px 0 6px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--bg); font-size: 12px; color: var(--text-2); line-height: 1.45; }
.cs .signer b { color: var(--text); font-weight: 550; display: block; margin-bottom: 2px; }
.cs .main { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.cs .top { height: 52px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.cs .top h2 { font-size: 15px; }
.cs .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.cs .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--allow); box-shadow: 0 0 0 0 var(--allow); animation: cs-pulse 2.4s infinite; }
@keyframes cs-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--allow) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }
.cs .body { flex: 1; overflow: auto; min-height: 0; }
.cs .page { padding: 24px 28px 60px; max-width: 1040px; }
.cs .page.narrow { max-width: 760px; }
.cs .page > .lede { color: var(--text-2); max-width: 62ch; margin: 6px 0 22px; }
.cs .tabs { display: flex; gap: 2px; padding: 8px 20px; border-bottom: 1px solid var(--line); flex: none; align-items: center; }
.cs .tab { height: 28px; padding: 0 10px; border: 0; background: transparent; border-radius: var(--r-1); color: var(--text-2); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.cs .tab:hover { background: var(--bg-hover); color: var(--text); }
.cs .tab.on { background: var(--bg-active); color: var(--text); }
.cs .tab .n { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cs .tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.cs .tbl th { position: sticky; top: 0; z-index: 1; background: var(--bg); text-align: left; font-weight: 500; font-size: 12px; color: var(--text-3); height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cs .tbl td { height: 42px; padding: 0 12px; border-bottom: 1px solid var(--line); vertical-align: middle; max-width: 0; }
.cs .tbl th:first-child, .cs .tbl td:first-child { padding-left: 20px; }
.cs .tbl th:last-child, .cs .tbl td:last-child { padding-right: 20px; }
.cs .tbl tbody tr { cursor: pointer; transition: background .12s; }
.cs .tbl tbody tr:hover { background: var(--bg-2); }
.cs .tbl tbody tr.sel { background: var(--accent-soft); }
.cs .tbl tbody tr.new td { animation: cs-rowin .5s var(--ease); }
@keyframes cs-rowin { from { background: var(--accent-soft); opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cs .tbl .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cs .tbl .act { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.cs .tbl .act b { font-weight: 500; font-family: var(--mono); font-size: 12.5px; flex: none; }
.cs .tbl .act span { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.cs .drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); border-left: 1px solid var(--line); box-shadow: var(--shadow-3); display: flex; flex-direction: column; z-index: 5; animation: cs-drawer .26s var(--ease); }
@keyframes cs-drawer { from { transform: translateX(24px); opacity: 0; } }
.cs .drawer-head { height: 52px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); }
.cs .drawer-body { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.cs .drawer-foot { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; }
.cs .kv { display: grid; grid-template-columns: 128px 1fr; gap: 9px 12px; font-size: 13px; align-items: baseline; }
.cs .kv dt { color: var(--text-3); }
.cs .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.cs .sect { display: flex; flex-direction: column; gap: 10px; }
.cs .sect > h3 { display: flex; align-items: center; gap: 6px; }
.cs .verdict { padding: 14px; border-radius: var(--r-3); display: flex; flex-direction: column; gap: 4px; }
.cs .verdict b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.cs .verdict.allow { background: var(--allow-bg); color: var(--allow); }
.cs .verdict.deny { background: var(--deny-bg); color: var(--deny); }
.cs .verdict.escalate { background: var(--esc-bg); color: var(--esc); }
.cs .verdict.refused { background: var(--ref-bg); color: var(--ref); }
.cs .verdict span { font-size: 13px; color: var(--text); opacity: .86; }
.cs .checks { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.cs .checks li { display: flex; gap: 8px; align-items: flex-start; }
.cs .checks { list-style: none; margin: 0; padding: 0; }
.cs .checks .ok { color: var(--allow); }
.cs .checks .no { color: var(--deny); }
.cs .checks .wait { color: var(--text-3); }
.cs .card { border: 1px solid var(--line); border-radius: var(--r-3); background: var(--bg); }
.cs .card.pad { padding: 18px; }
.cs .callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-2); background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); line-height: 1.5; }
.cs .callout b { color: var(--text); font-weight: 550; }
.cs .code { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-2); padding: 12px 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; overflow: auto; white-space: pre; color: var(--text); }
.cs .code .copy { position: absolute; top: 6px; right: 6px; }
.cs .code .c { color: var(--text-3); }
.cs .empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 72px 24px; color: var(--text-2); }
.cs .empty .glyph { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-3); display: grid; place-items: center; color: var(--text-2); margin-bottom: 4px; }
.cs .empty b { color: var(--text); font-size: 15px; font-weight: 600; }
.cs .empty p { max-width: 44ch; font-size: 13.5px; }
.cs .skel { height: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--bg-3), var(--bg-hover), var(--bg-3)); background-size: 200% 100%; animation: cs-sk 1.2s linear infinite; }
@keyframes cs-sk { to { background-position: -200% 0; } }
.cs .toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 50; align-items: center; }
.cs .toast { background: var(--ink); color: var(--ink-text); padding: 9px 14px; border-radius: var(--r-2); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-2); display: flex; gap: 8px; align-items: center; animation: cs-toast .3s var(--ease); }
.cs .toast.bad { background: var(--deny); color: #fff; }
@keyframes cs-toast { from { transform: translateY(10px); opacity: 0; } }
.cs .menu { position: fixed; z-index: 40; min-width: 200px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-2); box-shadow: var(--shadow-2); padding: 4px; animation: cs-pop .14s var(--ease); }
@keyframes cs-pop { from { transform: scale(.97) translateY(-3px); opacity: 0; } }
.cs .menu button { display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 8px; border: 0; background: transparent; border-radius: 5px; font-size: 13px; text-align: left; }
.cs .menu button:hover { background: var(--bg-hover); }
.cs .menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.cs .menu .who { padding: 8px; font-size: 12px; color: var(--text-3); }
.cs .menu .who b { display: block; color: var(--text); font-size: 13px; font-weight: 550; }
.cs .passport { position: relative; width: 100%; max-width: 400px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow-3); overflow: hidden; }
.cs .passport .p-top { padding: 20px 20px 16px; display: flex; gap: 14px; align-items: center; }
.cs .passport .p-name { font-size: 18px; font-weight: 620; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.cs .passport .p-sub { font-size: 12.5px; color: var(--text-3); }
.cs .passport .p-rows { padding: 0 20px 16px; display: flex; flex-direction: column; gap: 12px; }
.cs .passport .p-row { display: flex; flex-direction: column; gap: 5px; }
.cs .passport .p-row > span { font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.cs .passport .p-row > div { font-size: 13px; }
.cs .passport .p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs .passport .p-mrz { border-top: 1px dashed var(--line-2); background: var(--bg-2); padding: 12px 20px 14px; font-family: var(--mono); font-size: 10.5px; line-height: 1.6; color: var(--text-3); letter-spacing: .04em; overflow-wrap: anywhere; min-height: 62px; }
.cs .passport .p-mrz b { color: var(--text-2); font-weight: 500; }
.cs .passport .seal { position: absolute; top: 16px; right: 16px; width: 54px; height: 54px; color: var(--allow); opacity: 0; transform: scale(1.5) rotate(-18deg); }
.cs .passport.signed .seal { opacity: 1; transform: rotate(-8deg); transition: transform .55s var(--ease), opacity .2s; }
.cs .passport.revoked .seal { color: var(--deny); }
.cs .passport.revoked { filter: saturate(.6); }
.cs .auth { min-height: 100%; display: grid; grid-template-columns: minmax(420px, 520px) 1fr; }
.cs .auth-form { padding: 32px 56px; display: flex; flex-direction: column; }
.cs .auth-form form { margin: auto 0; display: flex; flex-direction: column; gap: 16px; max-width: 380px; width: 100%; }
.cs .auth-form h1 { margin-bottom: 2px; }
.cs .auth-stage { background: var(--bg-2); border-left: 1px solid var(--line); display: grid; place-items: center; padding: 48px; overflow: hidden; position: relative; }
.cs .stage-wrap { width: min(640px, 100%); display: flex; flex-direction: column; gap: 22px; }
.cs .stage-wrap > p { font-size: 22px; line-height: 1.3; font-weight: 550; letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
.cs .feed { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow-3); overflow: hidden; }
.cs .feed-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 550; }
.cs .feed-rows { height: 336px; overflow: hidden; display: flex; flex-direction: column; }
.cs .feed-row { display: grid; grid-template-columns: 128px 118px 1fr auto; gap: 10px; align-items: center; height: 42px; flex: none; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; animation: cs-rowin .5s var(--ease); }
.cs .feed-row .t { font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs .feed-row .t span { color: var(--text-3); }
.cs .feed-row .s { color: var(--text-3); font-size: 12px; font-family: var(--mono); }
.cs .steps-mini { display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 13.5px; }
.cs .ob { min-height: 100%; display: grid; grid-template-columns: minmax(460px, 560px) 1fr; }
.cs .ob-left { display: flex; flex-direction: column; padding: 28px 56px 32px; min-height: 100%; }
.cs .ob-head { display: flex; align-items: center; gap: 10px; }
.cs .ob-prog { display: flex; gap: 5px; margin: 34px 0 30px; }
.cs .ob-prog i { height: 3px; flex: 1; border-radius: 3px; background: var(--line-2); transition: background .3s; }
.cs .ob-prog i.on { background: var(--ink); }
.cs .ob-step { display: flex; flex-direction: column; gap: 22px; animation: cs-stepin .4s var(--ease); flex: 1; }
@keyframes cs-stepin { from { opacity: 0; transform: translateY(8px); } }
.cs .ob-step > p.lede { color: var(--text-2); font-size: 15px; margin-top: -12px; max-width: 46ch; }
.cs .ob-foot { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.cs .ob-right { background: var(--bg-2); border-left: 1px solid var(--line); display: grid; place-items: center; padding: 40px; position: sticky; top: 0; height: 100%; overflow: hidden; }
.cs .picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cs .pick { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--bg); text-align: left; transition: border-color .15s, background .15s, box-shadow .15s; }
.cs .pick:hover { border-color: var(--text-3); }
.cs .pick.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.cs .pick .pi { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-3); display: grid; place-items: center; flex: none; }
.cs .pick.on .pi { background: var(--bg); color: var(--accent); }
.cs .pick b { font-size: 13.5px; font-weight: 550; display: block; }
.cs .pick span { font-size: 12px; color: var(--text-3); }
.cs .toggle-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cs .toggle-row:last-child { border-bottom: 0; }
.cs .toggle-row .mono { font-size: 12.5px; }
.cs .sw { position: relative; width: 30px; height: 18px; border-radius: 99px; background: var(--line-2); border: 0; flex: none; transition: background .18s; }
.cs .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.cs .sw[aria-checked="true"] { background: var(--ink); }
.cs[data-theme="dark"] .sw[aria-checked="true"]::after { background: #0d0d0f; }
.cs .sw[aria-checked="true"]::after { transform: translateX(12px); }
.cs .seg { display: inline-flex; padding: 2px; background: var(--bg-3); border-radius: var(--r-2); gap: 2px; }
.cs .seg button { height: 28px; padding: 0 12px; border: 0; background: transparent; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.cs .seg button.on { background: var(--bg); color: var(--text); box-shadow: var(--shadow-1); }
.cs .sim { width: min(560px, 100%); display: flex; flex-direction: column; gap: 14px; }
.cs .sim .feed-rows { height: auto; min-height: 294px; }
.cs .sim-note { font-size: 13px; color: var(--text-2); min-height: 40px; }
.cs .approve-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-2); background: var(--esc-bg); color: var(--esc); font-size: 13px; font-weight: 500; animation: cs-stepin .3s var(--ease); }
.cs .approve-bar span { color: var(--text); font-weight: 400; }
.cs .listen { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-2); font-size: 13.5px; }
.cs .listen .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--esc); animation: cs-pulse2 1.4s infinite; flex: none; }
.cs .listen.ok { border-color: var(--allow); background: var(--allow-bg); color: var(--allow); }
.cs .listen.ok .dot { background: var(--allow); animation: none; }
@keyframes cs-pulse2 { 50% { opacity: .3; } }
.cs .rule { border: 1px solid var(--line); border-radius: var(--r-3); padding: 14px; display: grid; grid-template-columns: 130px 1fr auto; gap: 10px 12px; align-items: start; background: var(--bg); }
.cs .rule .textarea { font-family: var(--mono); font-size: 12.5px; }
.cs .rule .full { grid-column: 1 / -1; }
.cs .statline { display: flex; gap: 28px; padding: 16px 0 20px; }
.cs .statline div { display: flex; flex-direction: column; }
.cs .statline b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cs .statline span { font-size: 12px; color: var(--text-3); }
@media (prefers-reduced-motion: reduce) {
  .cs, .cs *, .cs *::before, .cs *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.cs .seg { align-self: flex-start; }
.cs .code, .cs .mono, .cs .chip, .cs .passport .p-mrz { font-variant-ligatures: none; }
.cs .pick b { color: var(--text); }
.cs .sim-note { font-size: 15px; color: var(--text); line-height: 1.5; min-height: 68px; max-width: 44ch; }
.cs .sim-note b { font-weight: 600; }
.cs .approve-bar { box-shadow: 0 0 0 1px var(--esc), var(--shadow-2); }
.cs textarea, .cs input, .cs select { font-variant-ligatures: none; }
.cs .rule { grid-template-columns: 170px 1fr auto; }
.cs .select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2370717b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 14px; }
.cs .mnav { display: none; }
.cs .live.still i { animation: none; }
.cs { --canvas: #f5f5f7; }
.cs[data-theme="dark"] { --canvas: #070709; }
.cs .shell { background: var(--canvas); }
.cs .side { background: transparent; border-right: 0; padding: 10px 8px 10px 10px; }
.cs .main { margin: 8px 8px 8px 0; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-1); }
.cs .signer { background: var(--bg); box-shadow: var(--shadow-1); }
.cs .nav.on { background: var(--bg); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.cs[data-theme="dark"] .nav.on { background: var(--bg-active); }
.cs .ws:hover, .cs .nav:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.cs .top { height: 54px; }
.cs .crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cs .crumb .muted { font-weight: 450; }
.cs .crumb b { font-weight: 600; letter-spacing: -.01em; }
.cs .kbtn { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px 0 10px; margin: 0 0 10px; width: 100%; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--bg); color: var(--text-3); font-size: 13px; box-shadow: var(--shadow-1); }
.cs .kbtn:hover { border-color: var(--line-2); color: var(--text-2); }
.cs .kbtn .kbd { margin-left: auto; }
.cs .scrim { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, #0b0b0f 38%, transparent); backdrop-filter: blur(3px); display: grid; place-items: start center; padding-top: 14vh; animation: cs-fade .16s ease-out; }
@keyframes cs-fade { from { opacity: 0; } }
.cs .palette { width: min(560px, calc(100vw - 32px)); background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-3); overflow: hidden; animation: cs-pop .18s var(--ease); }
.cs .palette input { width: 100%; height: 50px; border: 0; outline: 0; background: transparent; padding: 0 18px; font-size: 15px; border-bottom: 1px solid var(--line); }
.cs .palette .list { max-height: 340px; overflow: auto; padding: 6px; }
.cs .palette .grp { font-size: 11.5px; font-weight: 550; color: var(--text-3); padding: 8px 10px 4px; }
.cs .palette .opt { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 13.5px; cursor: pointer; }
.cs .palette .opt.on { background: var(--bg-hover); }
.cs .palette .opt .hint { margin-left: auto; color: var(--text-3); font-size: 12px; }
.cs .palette .none { padding: 26px; text-align: center; color: var(--text-3); font-size: 13px; }
.cs .side-agents { display: flex; flex-direction: column; gap: 1px; min-height: 0; overflow: auto; }
.cs .sa { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: var(--r-1); border: 0; background: transparent; width: 100%; text-align: left; font-size: 13px; color: var(--text-2); }
.cs .sa:hover { background: color-mix(in srgb, var(--text) 5%, transparent); color: var(--text); }
.cs .sa .avatar { width: 18px; height: 18px; border-radius: 5px; font-size: 9px; }
.cs .sa .st { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: none; }
.cs .sa .st.live { background: var(--allow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--allow) 22%, transparent); }
.cs .sa .st.off { background: var(--deny); }
.cs .band { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.cs .band-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.cs .band-head b { font-size: 22px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.cs .band-head span { font-size: 13px; color: var(--text-3); }
.cs .band svg { display: block; width: 100%; height: 64px; overflow: visible; }
.cs .band svg rect { transition: opacity .12s; }
.cs .band svg g:hover rect { opacity: .7; }
.cs .band .axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: 5px; font-variant-numeric: tabular-nums; }
.cs .mix { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 22px; padding-bottom: 20px; }
.cs .mix button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); padding: 3px 6px; margin: -3px -6px; border-radius: 6px; }
.cs .mix button:hover, .cs .mix button.on { background: var(--bg-hover); color: var(--text); }
.cs .mix button:focus-visible { outline: 2px solid var(--accent); }
.cs .mix i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.cs .mix b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); min-width: 1.5ch; }
.cs .c-allow { background: var(--allow); fill: var(--allow); }
.cs .c-deny { background: var(--deny); fill: var(--deny); }
.cs .c-escalate { background: var(--esc); fill: var(--esc); }
.cs .c-refused { background: var(--text-3); fill: var(--text-3); }
.cs .c-admin { background: var(--line-2); fill: var(--line-2); }
.cs .tbl td.cost { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); }
.cs .tbl tbody tr td:first-child { position: relative; }
.cs .tbl tbody tr.sel td:first-child::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--accent); }
.cs .life { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cs .life li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding-bottom: 16px; font-size: 13px; }
.cs .life li:last-child { padding-bottom: 0; }
.cs .life li::before { content: ""; position: absolute; left: 10.5px; top: 20px; bottom: 0; width: 1px; background: var(--line-2); }
.cs .life li:last-child::before { display: none; }
.cs .life .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); color: var(--text-2); z-index: 1; }
.cs .life .dot svg { width: 12px; height: 12px; stroke-width: 2; }
.cs .life .dot.allow { background: var(--allow-bg); color: var(--allow); }
.cs .life .dot.deny { background: var(--deny-bg); color: var(--deny); }
.cs .life .dot.escalate { background: var(--esc-bg); color: var(--esc); }
.cs .life .dot.refused { background: var(--ref-bg); color: var(--ref); }
.cs .life .dot.wait { background: transparent; border: 1px dashed var(--line-2); }
.cs .life b { font-weight: 550; display: block; }
.cs .life p { color: var(--text-2); font-size: 12.5px; margin-top: 1px; }
.cs .life time { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs .agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; padding: 20px; }
.cs .acard { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); text-align: left; transition: border-color .15s, box-shadow .2s, transform .2s var(--ease); position: relative; overflow: hidden; }
.cs .acard:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.cs .acard.off { background: var(--bg-2); }
.cs .acard.off .avatar { filter: grayscale(1); opacity: .7; }
.cs .acard-top { display: flex; align-items: center; gap: 11px; }
.cs .acard-top .avatar { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }
.cs .acard-top b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; display: block; }
.cs .acard-top span.sub { font-size: 12px; color: var(--text-3); }
.cs .acard .chips { max-height: 48px; overflow: hidden; }
.cs .mixbar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; background: var(--bg-3); gap: 1px; }
.cs .mixbar i { height: 100%; }
.cs .acard-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cs .acard-foot b { color: var(--text-2); font-weight: 500; }
.cs .acard.new-card { border-style: dashed; align-items: center; justify-content: center; color: var(--text-2); min-height: 196px; gap: 8px; font-size: 13.5px; font-weight: 500; background: transparent; }
.cs .acard.new-card:hover { color: var(--text); background: var(--bg-2); transform: none; box-shadow: none; }
.cs .ticket { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; box-shadow: var(--shadow-1); }
.cs .ticket-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.cs .ticket-body { padding: 14px 16px; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs .ticket-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.cs .ticket .ask-line { font-family: var(--mono); font-size: 13.5px; font-variant-ligatures: none; overflow-wrap: anywhere; }
.cs .ticket .ask-line span { color: var(--text-3); }
.cs .chain { display: flex; flex-wrap: wrap; gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--bg-2); }
.cs .chain i { width: 12px; height: 12px; border-radius: 3px; opacity: 0; transform: scale(.4); animation: cs-cell .28s var(--ease) forwards; }
@keyframes cs-cell { to { opacity: 1; transform: none; } }
.cs .chain i.bad { background: var(--deny) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--deny) 25%, transparent); }
.cs .chain i.void { background: transparent !important; border: 1px dashed var(--line-2); }
.cs .chain-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); margin-top: 8px; }
.cs .chain-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cs .chain-legend i { width: 9px; height: 9px; border-radius: 2px; }
.cs .acard { font: inherit; color: inherit; cursor: pointer; }
.cs .top .btn.primary { height: 30px; }
.cs .page.pol { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cs .pol-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; }
.cs .rcard { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); transition: border-color .15s, box-shadow .2s; }
.cs .rcard:hover { border-color: var(--line-2); }
.cs .rcard.open { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.cs .rhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; border-radius: 14px; min-height: 50px; }
.cs .rhead:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.cs .rnum { width: 20px; height: 20px; border-radius: 50%; background: var(--bg-3); color: var(--text-2); font-size: 11px; font-weight: 600; display: grid; place-items: center; flex: none; font-variant-numeric: tabular-nums; }
.cs .rsent { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; }
.cs .ractions { display: flex; gap: 0; opacity: 0; transition: opacity .12s; }
.cs .rhead:hover .ractions, .cs .rcard.open .ractions, .cs .ractions:focus-within { opacity: 1; }
.cs .i.flip { transform: rotate(180deg); }
.cs .i.chev { color: var(--text-3); transition: transform .2s var(--ease); }
.cs .rcard.open .i.chev { transform: rotate(90deg); }
.cs .rbody { padding: 4px 14px 14px 44px; display: flex; flex-direction: column; gap: 14px; animation: cs-stepin .25s var(--ease); }
.cs .rline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.cs .rlabel { width: 104px; flex: none; font-size: 13px; font-weight: 550; color: var(--text); }
.cs .conds { display: flex; flex-direction: column; gap: 8px; padding-left: 114px; margin-top: -6px; }
.cs .cond { display: flex; align-items: flex-start; gap: 6px; }
.cs .cond > .select { width: 128px; flex: none; }
.cs .cond > .select + .select, .cs .cond > input + .select { width: 176px; }
.cs .cond > input.input { width: 150px; flex: none; font-size: 12.5px; }
.cs .cond .chipbox { min-height: 36px; }
.cs .money { display: flex; align-items: center; gap: 6px; }
.cs .money span { color: var(--text-3); }
.cs .money .input { width: 120px; }
.cs .rfoot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.cs .try-result { display: flex; flex-direction: column; gap: 6px; font-size: 13px; min-height: 40px; }
.cs .cond { flex-wrap: wrap; }
.cs .cond > .select { width: 118px; }
.cs .cond > .select + .select, .cs .cond > input + .select { width: 168px; }
.cs .cond > input.input { width: 132px; }
.cs .cond > .grow { flex: 1 1 190px; }
.cs .rline .input.grow { flex: 1 1 240px; width: auto; }
.cs .seg { flex-wrap: wrap; }
.cs details > summary { list-style: none; }
.cs details > summary::before { content: "+ "; color: var(--text-3); }
.cs details[open] > summary::before { content: "− "; }
.cs details[open] > summary { margin-bottom: 8px; }
