:root{font-family:Inter,system-ui,sans-serif;color:#15253b;background:#f3f6fa;line-height:1.5;--blue:#075d9b;--border:#dce5ee;--muted:#52647a}
*{box-sizing:border-box}
body{margin:0}
.wrap{width:min(1120px,calc(100% - 32px));margin-inline:auto}
.top{background:#0e243b;color:#fff;border-bottom:3px solid #19a3e0}
.brand{display:flex;align-items:center;gap:12px;min-height:62px}
.mark{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#28a9e0;color:#0e243b;font-weight:850}
.intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:34px 0 24px}
h1,h2,p{margin:0}h1{font-size:clamp(1.8rem,5vw,2.4rem);letter-spacing:-.04em;line-height:1.15;margin-bottom:7px}h2{font-size:1.15rem;line-height:1.3}
p,.hint{color:var(--muted)}
.notice{font-size:.84rem;background:#fff6dc;border:1px solid #f2dfad;color:#624500;padding:7px 11px;border-radius:7px}
.panel{background:#fff;border:1px solid var(--border);border-radius:12px;margin-bottom:20px;overflow:hidden;box-shadow:0 2px 5px #15253b06}
.panel-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px}
.panel-head p{font-size:.88rem;margin-top:4px}
.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.90rem}
th,td{padding:11px 22px;border-top:1px solid var(--border);white-space:nowrap}th{font-weight:650;background:#f5f8fb;color:#425a72}td{max-width:25rem;overflow:hidden;text-overflow:ellipsis}
.right{text-align:right}.actions{display:flex;justify-content:flex-end;gap:8px}
code{font-family:ui-monospace,Consolas,monospace;font-size:.9em}
.name{background:#edf3fa;border-radius:5px;padding:3px 6px;color:#244366}
button{font:inherit;font-size:.88rem;font-weight:630;padding:7px 12px;border-radius:7px;border:1px solid #cad8e6;background:#fff;color:#193654;cursor:pointer;white-space:nowrap}
button:hover{background:#eef5fc}button:focus-visible,a:focus-visible{outline:2px solid #0079ac;outline-offset:3px}
button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}button.primary:hover{background:#064d80}
button.danger{color:#a42636}button:disabled{opacity:.55;cursor:default}
.pages{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:11px 22px;border-top:1px solid var(--border);font-size:.84rem}.pages[hidden]{display:none}
.endpoints{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px;padding:0 22px 20px}
.endpoints>div{padding:12px 15px;border:1px solid var(--border);border-radius:8px}.endpoints p{font-size:.84rem;margin:6px 0 10px}
.api-route{display:flex;align-items:center;gap:9px}.method{font-size:.75rem;font-weight:780;border-radius:4px;background:#dff2ff;color:#064673;padding:2px 5px}a{color:#075d9b}
#status{min-height:2rem;margin-bottom:12px;font-size:.9rem}
dialog{width:min(460px,calc(100% - 32px));padding:22px;border:1px solid var(--border);border-radius:12px;color:#15253b;box-shadow:0 15px 70px #10233e55}
dialog::backdrop{background:#10233e70}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-actions{justify-content:flex-end;margin-top:15px}.icon{font-size:1.35rem;line-height:1}
label{display:block;margin-top:13px;font-size:.89rem;font-weight:640}input,select{display:block;width:100%;padding:8px 10px;margin-top:4px;border:1px solid #aebfd2;border-radius:6px;font:inherit;color:inherit;background:#fff}
.hint{font-size:.78rem;margin-top:4px}.error{font-size:.86rem;color:#a42636;margin-top:6px}.error:empty{display:none}#delete-text{margin-top:12px}
#option-values{display:block;width:100%;margin-top:4px;padding:8px 10px;border:1px solid #aebfd2;border-radius:6px;font:inherit;color:inherit;resize:vertical}
.field-options-summary{display:block;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.field-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;padding:0 22px}
.field-filters label{margin:0;min-width:0}
.field-count{font-size:.84rem;padding:10px 22px}
.fields-table{max-height:430px}
.fields-table th{position:sticky;top:0;z-index:1}
@media(max-width:600px){th,td,.panel-head,.field-filters,.field-count{padding-inline:12px}.endpoints{padding-inline:12px}.intro{padding-top:24px}}
