:root{color-scheme:dark;font-family:Inter,system-ui,sans-serif;background:#0a111a;color:#e6edf5;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{max-width:1500px;margin:auto;padding:32px}header{display:flex;justify-content:space-between;align-items:center;gap:28px}.eyebrow{font-size:11px;letter-spacing:2px;color:#89bda6}h1{font-size:34px;letter-spacing:-1px;margin:10px 0}h2{font-size:18px;margin:0 0 14px}h3{font-size:14px;margin-top:24px}p,small,.muted{color:#92a3b8}.muted{font-size:12px}p{line-height:1.6}input,button,select,textarea{font:inherit;color:#dfe8f5;background:#172333;border:1px solid #314154;border-radius:7px;padding:10px 12px;font-size:13px}input:focus,textarea:focus,button:focus-visible{outline:2px solid #7dccad;outline-offset:2px}button{cursor:pointer;white-space:nowrap}button:hover{background:#243749}button:disabled{opacity:.4;cursor:default}.primary{background:#245a46;border-color:#3f8064}.danger{background:#3b2029;border-color:#82404b;color:#ffa8b0}#auth,.toolbar,.status-line,.section-head{display:flex;align-items:center;gap:10px}#auth{flex-wrap:wrap}.status-line{justify-content:space-between;margin:24px 0 18px;font-size:12px;color:#98b9aa}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.card,section{background:#111d2b;border:1px solid #26364a;border-radius:10px;padding:22px}.number{font-size:30px;font-weight:650;margin-top:10px;letter-spacing:-.5px}nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}nav button{background:transparent;border-color:transparent;color:#95a8bf;padding:12px 18px}nav button.active{color:#b5e7d1;background:#172e2b;border-color:#31584b}.grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;align-items:start}section{margin-bottom:18px;overflow:auto}.section-head{justify-content:space-between;align-items:baseline}.section-head h2{margin-bottom:14px}.toolbar{margin:12px 0;flex-wrap:wrap}.toolbar input{flex:1;min-width:160px}.end{justify-content:flex-end}.hint{font-size:12px;line-height:1.7}.banner{border:1px solid #3c4857;border-radius:8px;padding:16px 20px;margin-bottom:18px;color:#afbfce;background:#14202a;font-size:13px;line-height:1.65}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:12px 8px;border-bottom:1px solid #253348;vertical-align:top;line-height:1.6}th{font-weight:500;color:#90a3bb}td{overflow-wrap:anywhere}tr:last-child td{border-bottom:0}.pill{display:inline-block;border-radius:5px;background:#23354a;padding:2px 7px;font-size:11px;white-space:nowrap}.allow{color:#8ed3af}.review{color:#e6cf8d}.throttle{color:#ffb070}.block{color:#ffa0a8}.actor{padding:0;background:none;border:0;color:#9dcbe6;text-align:left;white-space:normal;overflow-wrap:anywhere}.actor:hover{background:none;color:#c0f0e1}.empty{padding:24px 0;color:#90a2b9;font-size:13px}.mono,pre{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;overflow-wrap:anywhere}pre{white-space:pre-wrap;background:#0b1420;padding:14px;border-radius:6px}.profile-name{font-size:14px;color:#d0e6f1;overflow-wrap:anywhere}.stats{display:flex;gap:16px;flex-wrap:wrap;margin:15px 0}.stats b{display:block;font-size:22px;color:#e6edf5}.stats span{font-size:11px;color:#9aafc3}.reason{padding:10px 12px;border-left:2px solid #50846e;margin:8px 0;background:#152434;font-size:12px;line-height:1.7}.chips{display:flex;flex-wrap:wrap;gap:5px}.chips .pill{margin:0}.profile-actions{padding:14px 0;border-top:1px solid #29374c;border-bottom:1px solid #29374c}details{margin:16px 0}summary{cursor:pointer;color:#a7c6d7;font-size:13px}a{color:#99d4b8}dialog{width:min(540px,94vw);border:1px solid #40546a;border-radius:14px;background:#142132;padding:28px;color:#e6edf5}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}dialog label{display:block;color:#acbdd0;font-size:12px;margin:18px 0 8px}dialog input,dialog textarea,dialog select{width:100%}dialog p{font-size:13px}#action-error{color:#ffadb4}footer{text-align:center;color:#667f99;font-size:11px;margin:28px 0}@media(max-width:1050px){header{align-items:start;flex-direction:column}.grid{grid-template-columns:1fr}.section-head{flex-wrap:wrap}.profile{min-width:0}}@media(max-width:600px){main{padding:16px}.cards{grid-template-columns:repeat(2,1fr)}h1{font-size:28px}section{padding:15px}nav button{padding:10px}#auth input{max-width:170px}}

.subject-fields{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:8px 14px;font-size:12px;line-height:1.6}.subject-fields dt{color:#90a3bb}.subject-fields dd{margin:0;overflow-wrap:anywhere}#detail>details{border:1px solid #29374c;padding:14px;border-radius:8px}h4{font-size:12px;color:#a7c6d7}

.rule-numbers{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}#rule-dialog{width:min(720px,94vw)}#rule-list button{margin:8px 5px 0 0}#rule-error{color:#ffadb4}@media(max-width:600px){.rule-numbers{grid-template-columns:1fr}}

.restriction-box{border:1px solid #6a4b39;border-radius:8px;padding:16px;margin:18px 0;background:#211f24}.restriction-box h3{margin-top:0}.restriction-item{padding:12px 0;border-top:1px solid #514139}.restriction-status{color:#ffbb91;font-size:13px}.restriction-item button{margin-top:14px}

#yaml-dialog{width:min(920px,94vw)}#yaml-source{width:100%;min-height:360px;white-space:pre;overflow:auto;line-height:1.65;tab-size:2}#yaml-result{white-space:pre-wrap;overflow-wrap:anywhere;color:#edcb91}
