:root{--ink:#17201c;--muted:#68736d;--faint:#8c9691;--canvas:#f4f6f3;--surface:#ffffff;--surface-2:#f8faf8;--line:#e2e8e3;--line-strong:#d3dbd5;--green:#1d6e4b;--green-soft:#e7f4ec;--lime:#dff56a;--red:#a53a3a;--red-soft:#fbebea;--amber:#a26014;--amber-soft:#fff2dc;--nav:#13231c;--shadow:0 1px 2px rgba(20,34,27,.04),0 10px 30px rgba(20,34,27,.04)}*{box-sizing:border-box}body,html{background:var(--canvas)}body{margin:0;color:var(--ink);font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}svg{width:18px;height:18px}.app-shell{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:26px 18px 18px;color:#dce8e1;background:var(--nav)}.brand{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:760;letter-spacing:-.02em}.brand small{display:block;color:#88a096;font-size:10px;font-weight:650;letter-spacing:.1em;line-height:1.2;text-transform:uppercase}.brand-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;color:var(--nav);background:var(--lime);font-weight:850}.nav{display:grid;grid-gap:4px;gap:4px;margin-top:34px}.nav-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:9px;color:#9eb1a7;font-weight:570;transition:color .15s ease,background .15s ease}.nav-link:hover{color:#fff;background:rgba(255,255,255,.06)}.nav-link[data-active]{color:#fff;background:rgba(223,245,106,.1)}.nav-link[data-active] svg{color:var(--lime)}.staff-card{display:flex;align-items:center;gap:10px;margin-top:auto;padding:12px 8px 2px;border-top:1px solid rgba(255,255,255,.09)}.avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:var(--nav);background:#b8d8c4;font-size:11px;font-weight:800}.staff-copy{min-width:0;display:grid}.staff-copy strong{overflow:hidden;color:#e8eeea;font-size:12px;text-overflow:ellipsis}.staff-copy small{color:#86998f;text-transform:capitalize}.staff-card form{margin-left:auto}.logout{width:28px;height:28px;border:0;border-radius:7px;color:#9eb1a7;background:transparent;cursor:pointer}.logout:hover{color:white;background:rgba(255,255,255,.08)}.workspace{min-width:0}.workspace main{width:min(1180px,100%);margin:0 auto;padding:44px 42px 72px}.mobile-header{display:none}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}.eyebrow{margin:0 0 6px;color:var(--green);font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}h1{margin:0;font-size:clamp(28px,3vw,38px);line-height:1.14;letter-spacing:-.045em}.lede{max-width:650px;margin:8px 0 0;color:var(--muted);font-size:15px}.header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.pill,.role-pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface-2);font-size:11px;font-weight:700;text-transform:capitalize}.pill.green{color:var(--green);border-color:#c9e2d3;background:var(--green-soft)}.pill.red{color:var(--red);border-color:#edcecc;background:var(--red-soft)}.pill.amber{color:var(--amber);border-color:#ecd5b3;background:var(--amber-soft)}.notice{display:flex;align-items:center;gap:9px;margin:-10px 0 22px;padding:11px 13px;border:1px solid #cbe2d4;border-radius:10px;color:var(--green);background:var(--green-soft);font-weight:600}.notice svg{width:16px;height:16px}.notice-error{color:var(--red);border-color:#ecccca;background:var(--red-soft)}.notice-info{color:#365e78;border-color:#cddde8;background:#eef6fb}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px}.metric-card{min-width:0;padding:19px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.metric-card .label{display:block;color:var(--muted);font-size:12px;font-weight:650}.metric-card .value{display:block;margin-top:6px;font-size:26px;font-weight:760;letter-spacing:-.04em}.metric-card .sub{display:flex;align-items:center;gap:5px;min-height:21px;margin-top:3px;color:var(--faint);font-size:11px}.trend-up{color:var(--green)}.trend-down{color:var(--red)}.content-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);grid-gap:16px;gap:16px;margin-top:16px}.panel{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.panel-pad{padding:20px}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.section-title h2{margin:0;font-size:16px;letter-spacing:-.02em}.section-title p{margin:3px 0 0;color:var(--muted);font-size:12px}.section-title a{display:inline-flex;align-items:center;gap:3px;color:var(--green);font-size:12px;font-weight:700;white-space:nowrap}.section-title a svg{width:14px;height:14px}.queue-list,.queue-row{display:grid}.queue-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:16px;gap:16px;padding:13px 20px;border-top:1px solid var(--line)}.queue-row:first-child{border-top:0}.queue-row:hover{background:var(--surface-2)}.queue-copy{min-width:0;display:flex;align-items:center;gap:12px}.count{width:34px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;color:var(--green);background:var(--green-soft);font-weight:800}.count.zero{color:var(--faint);background:#f0f3f1}.queue-copy strong{display:block;font-size:13px}.queue-copy small{display:block;margin-top:1px;color:var(--muted)}.queue-row>svg{width:16px;color:var(--faint)}.health-list{display:grid;grid-gap:13px;gap:13px}.health-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.health-row span:first-child{color:var(--muted)}.status-label{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:11px;font-weight:750;text-transform:capitalize}.status-label i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px var(--green-soft)}.status-label[data-status=degraded]{color:var(--amber)}.status-label[data-status=degraded] i{box-shadow:0 0 0 3px var(--amber-soft)}.status-label[data-status=outage]{color:var(--red)}.status-label[data-status=outage] i{box-shadow:0 0 0 3px var(--red-soft)}.status-label[data-status=unknown]{color:var(--faint)}.status-label[data-status=unknown] i{box-shadow:0 0 0 3px #eff2f0}.metric-card .value .status-label{display:inline-flex;font-size:11px;letter-spacing:0}.op-counts{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin-top:18px}.op-count{padding:12px;border-radius:10px;background:var(--surface-2)}.op-count strong{display:block;font-size:18px}.op-count span{color:var(--muted);font-size:11px}.toolbar{justify-content:space-between;margin-bottom:14px}.pagination,.toolbar{display:flex;align-items:center;gap:12px}.pagination{justify-content:flex-end;padding:12px 16px;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}.tabs{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#eef2ef}.tabs a{padding:6px 10px;border-radius:7px;color:var(--muted);font-size:12px;font-weight:650}.tabs a[data-active]{color:var(--ink);background:var(--surface);box-shadow:0 1px 3px rgba(20,34,27,.1)}.search{display:flex;align-items:center;gap:8px}input,select,textarea{width:100%;border:1px solid var(--line-strong);border-radius:9px;color:var(--ink);background:var(--surface);outline:none}input,select{height:38px;padding:0 11px}textarea{min-height:84px;padding:10px 11px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#64a181;box-shadow:0 0 0 3px rgba(48,125,84,.1)}.search input{width:min(300px,50vw)}.btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;border:1px solid var(--line-strong);border-radius:9px;color:var(--ink);background:var(--surface);cursor:pointer;font-size:12px;font-weight:720}.btn:hover{border-color:#aebbb2;background:var(--surface-2)}.btn.primary{color:white;border-color:var(--green);background:var(--green)}.btn.primary:hover{background:#185f41}.btn.danger{color:var(--red);border-color:#e7c3c1;background:var(--red-soft)}.btn.small{min-height:30px;padding:4px 9px;font-size:11px}.btn:disabled{opacity:.5;cursor:not-allowed}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th{padding:10px 16px;color:var(--faint);background:var(--surface-2);font-size:10px;font-weight:800;letter-spacing:.08em;text-align:left;text-transform:uppercase}td{padding:14px 16px;border-top:1px solid var(--line);vertical-align:top}td strong{font-size:13px}.cell-sub{display:block;max-width:520px;margin-top:2px;color:var(--muted);font-size:12px}.mono{font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.inline-audit-action{min-width:210px;display:grid;grid-gap:6px;gap:6px}.inline-audit-action input,.registry-action input{height:32px}.registry-action{min-width:235px;display:grid;grid-template-columns:auto minmax(125px,1fr);align-items:center;grid-gap:6px;gap:6px}.registry-action button,.registry-action input{grid-column:1/-1}.queue-table{table-layout:fixed}.queue-table th:first-child{width:32%}.queue-table th:nth-child(2){width:145px}.queue-subject,.queue-subject .cell-sub{min-width:0;max-width:100%}.queue-signature{overflow-wrap:anywhere;word-break:break-word}.decision-row{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;grid-gap:6px;gap:6px}.decision-row input{min-width:0;height:32px}.decision-row .btn{white-space:nowrap}.capability-note{margin:0;color:var(--muted);font-size:12px;font-style:italic}.form-panel{padding:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.field{display:grid;grid-gap:5px;gap:5px}.field.full{grid-column:1/-1}.field>span{color:var(--muted);font-size:11px;font-weight:700}.form-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px}.hint{margin:0;color:var(--muted);font-size:11px}.empty{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px;text-align:center}.empty-mark{width:38px;height:38px;display:grid;place-items:center;margin-bottom:12px;border-radius:50%;color:var(--green);background:var(--green-soft);font-size:18px}.empty strong{font-size:14px}.empty p{max-width:410px;margin:5px 0 0;color:var(--muted);font-size:12px}.error-state svg{width:34px;height:34px;margin-bottom:12px;color:var(--red)}.gate{min-height:100vh;display:grid;place-items:center;padding:30px}.gate>*{grid-area:1/1}.gate .empty{width:min(480px,100%);border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.gate .empty .brand-mark{margin-bottom:13px}.gate .empty .btn{margin-top:18px}.gate-brand{align-self:start;justify-self:start;font-size:18px;font-weight:800}.gate-brand span{color:var(--muted);font-weight:500}.auth-error{width:min(460px,calc(100% - 32px));margin:12vh auto;padding:35px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-align:center;box-shadow:var(--shadow)}.auth-error .empty-mark{margin:0 auto 12px;color:var(--red);background:var(--red-soft)}.auth-error h1{font-size:27px}.auth-error p{color:var(--muted)}.spark-panel{padding:20px}.sparkline{width:100%;height:150px;overflow:visible}.sparkline .grid{stroke:var(--line);stroke-width:1}.sparkline .area{fill:url(#areaFill)}.sparkline .line{fill:none;stroke:var(--green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-labels{display:flex;justify-content:space-between;color:var(--faint);font-size:10px}.guardrail-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.guardrail{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.guardrail[data-status=watch]{border-color:#ecd5b3}.guardrail[data-status=breach]{border-color:#e7c3c1}.guardrail-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.guardrail strong{display:block;margin-top:10px;font-size:21px}.guardrail p{margin:1px 0 0;color:var(--muted);font-size:11px}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.48fr);grid-gap:16px;gap:16px}.source-link{color:var(--green);text-decoration:underline;-webkit-text-decoration-color:#b6d3c2;text-decoration-color:#b6d3c2;text-underline-offset:2px}.lesson-body{max-width:630px;white-space:pre-wrap}.audit-meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.audit-meta span{padding:2px 5px;border-radius:4px;color:var(--muted);background:var(--surface-2);font:10px SFMono-Regular,Consolas,monospace}.checkout-page{min-height:100svh;display:flex;flex-direction:column;padding:0 24px;background:radial-gradient(circle at 14% 15%,#e7f3eb 0,transparent 34%),linear-gradient(145deg,#f8faf8,#f1f5f2)}.checkout-header{width:min(1080px,100%);min-height:76px;display:flex;align-items:center;justify-content:space-between;margin:0 auto}.checkout-brand{display:flex;align-items:center;gap:10px;font-size:18px;letter-spacing:-.02em}.checkout-brand .brand-mark{width:32px;height:32px}.checkout-close{min-height:36px;padding:7px 12px;border:1px solid var(--line-strong);border-radius:9px;color:var(--muted);background:rgba(255,255,255,.75);cursor:pointer;font:inherit;font-size:12px;font-weight:720}.checkout-close:hover{color:var(--ink);background:var(--surface)}.checkout-shell{width:min(940px,100%);display:grid;grid-template-columns:minmax(260px,.72fr) minmax(360px,1fr);align-items:center;grid-gap:clamp(36px,7vw,88px);gap:clamp(36px,7vw,88px);margin:auto;padding:56px 0}.checkout-intro .eyebrow{margin:0 0 9px;color:var(--green);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.checkout-intro h1{margin:0;font-size:clamp(38px,6vw,64px);letter-spacing:-.06em;line-height:.98}.checkout-intro>p:not(.eyebrow){max-width:400px;margin:20px 0 0;color:var(--muted);font-size:16px;line-height:1.6}.checkout-trust{display:flex;align-items:center;gap:8px;margin-top:24px;color:var(--muted);font-size:12px;font-weight:650}.checkout-trust span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:var(--green);background:var(--green-soft)}.checkout-card{min-height:440px;overflow:hidden;padding:18px;border:1px solid rgba(199,210,202,.85);border-radius:20px;background:rgba(255,255,255,.9);box-shadow:0 24px 70px rgba(20,51,34,.12)}.checkout-error,.checkout-loading{min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px;color:var(--muted);text-align:center}.checkout-loading>span{width:28px;height:28px;margin-bottom:14px;border:3px solid var(--green-soft);border-top-color:var(--green);border-radius:50%;animation:checkout-spin .8s linear infinite}.checkout-error strong{color:var(--ink);font-size:17px}.checkout-error p{max-width:310px;margin:8px 0 20px;color:var(--muted);line-height:1.55}.checkout-footer{width:min(1080px,100%);margin:0 auto;padding:18px 0 24px;color:var(--faint);font-size:11px;text-align:center}@keyframes checkout-spin{to{transform:rotate(1turn)}}@media (max-width:1050px){.guardrail-grid,.metric-grid{grid-template-columns:repeat(2,1fr)}.content-grid,.split{grid-template-columns:1fr}}@media (max-width:760px){.app-shell,.sidebar{display:block}.sidebar{position:fixed;z-index:10;top:auto;bottom:0;width:100%;height:66px;padding:6px 8px;border-top:1px solid rgba(255,255,255,.1)}.sidebar>.brand,.sidebar>.staff-card{display:none}.nav{height:100%;display:flex;align-items:center;gap:1px;margin:0;overflow-x:auto}.nav-link{min-width:64px;flex:1 0 auto;display:grid;justify-items:center;grid-gap:1px;gap:1px;padding:5px 4px;font-size:9px}.nav-link svg{width:18px;height:18px}.mobile-header{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;color:#e8eeea;background:var(--nav)}.mobile-header .brand-mark{width:29px;height:29px}.mobile-header .role-pill{color:#c5d2cb;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.06)}.workspace main{padding:27px 16px 95px}.page-header{align-items:flex-start;flex-direction:column;gap:15px}.header-actions{width:100%}.toolbar{align-items:stretch;flex-direction:column}.search input{width:100%}.guardrail-grid,.metric-grid{grid-template-columns:1fr}.metric-card .value{font-size:23px}.queue-row{padding:12px 15px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.queue-table{min-width:720px}.decision-row{grid-template-columns:1fr;align-items:stretch}.decision-row input{min-width:150px}.checkout-page{padding:0 16px}.checkout-header{min-height:64px}.checkout-shell{grid-template-columns:1fr;gap:28px;padding:28px 0 42px}.checkout-intro h1{font-size:42px}.checkout-intro>p:not(.eyebrow){margin-top:14px;font-size:14px}.checkout-trust{margin-top:17px}.checkout-card{min-height:420px;padding:10px;border-radius:16px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.sign-in-form{display:grid;grid-gap:8px;gap:8px;width:min(300px,100%);margin:12px auto 0;text-align:left}.sign-in-form label{font-weight:600}.sign-in-form input{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line-strong);border-radius:9px;color:var(--ink);background:var(--surface)}.sign-in-form input:focus{outline:2px solid var(--green);outline-offset:1px}.sign-in-form input+label{margin-top:6px}