:root{font-family:Inter,PingFang SC,HarmonyOS Sans SC,Microsoft YaHei,system-ui,sans-serif;color:#171717;background:#f7f8fa;line-height:1.55;color-scheme:light;--text: #171717;--muted: #596274;--line: #e7e8ec;--surface: #fff;--accent: #fc6b13;--action: #c34509;--action-hover: #a63803;--warm: #fff1e7;--shadow: 0 16px 42px #51361912}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.54;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input{width:100%;min-height:42px;padding:9px 12px;border:1px solid #dedfe5;border-radius:10px;background:var(--surface);color:inherit}input::placeholder{color:#6c7482}h1,h2{margin:0;letter-spacing:-.035em;line-height:1.18}h1{font-size:clamp(1.65rem,3vw,2.4rem);font-weight:730}h2{font-size:1.35rem;font-weight:700}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:70px;gap:16px;padding:12px clamp(20px,5.4vw,84px);border-bottom:1px solid var(--line);background:var(--surface)}.brand,.topbar-account{display:flex;align-items:center;gap:11px}.brand strong{font-size:1.125rem;letter-spacing:.07em}.brand-label,.topbar-account>span{color:var(--muted);font-size:.875rem}.brand-label{padding-left:11px;border-left:1px solid var(--line)}.brand-mark{display:grid;width:35px;height:35px;flex:0 0 auto;place-items:center;border-radius:11px;background:linear-gradient(145deg,#ff9754,#ed5a04);box-shadow:0 5px 15px #f4763538}.brand-mark:before{content:"";width:13px;height:13px;border:2px solid #fff;border-radius:3px 6px;transform:rotate(45deg)}.entry{min-height:100vh;background:var(--surface)}.entry-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);align-items:center;justify-items:center;gap:clamp(34px,8vw,118px);min-height:calc(100vh - 70px);padding:clamp(40px,8vw,122px) max(5.4vw,calc((100vw - 1200px)/2));background:radial-gradient(ellipse at 98% 16%,#ffdec5 0%,transparent 45%),radial-gradient(ellipse at 64% 100%,#f1eaff 0%,transparent 45%),linear-gradient(#191a2410 1px,transparent 1px) 0 0 / 44px 44px,linear-gradient(90deg,#191a2410 1px,transparent 1px) 0 0 / 44px 44px,#fff}.entry-heading{justify-self:start}.entry-heading h1{font-size:clamp(2.5rem,5vw,4.3rem);font-weight:780}.entry-heading h1 span{display:block;color:var(--action)}.entry-heading p{margin:20px 0 0;color:var(--muted);font-size:1rem}.login{display:grid;gap:10px;width:min(100%,444px);padding:clamp(25px,4vw,42px);border:1px solid #ebdfd7;border-radius:24px;background:var(--surface);box-shadow:0 24px 66px #422d2224}.login h2{margin-bottom:14px;font-size:1.65rem}.login label{color:var(--muted);font-size:.875rem;font-weight:600}.login input{min-height:46px;margin-bottom:7px}.primary,.save{border:1px solid var(--action);border-radius:10px;background:var(--action);color:#fff;padding:8px 16px;font-weight:650}.primary:not(:disabled):hover,.save:not(:disabled):hover{background:var(--action-hover)}.primary{box-shadow:0 5px 14px #cc55052d}.login .primary{min-height:46px;margin-top:8px}.workspace{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh}.workspace>.topbar{grid-column:1 / -1;align-self:start;position:sticky;top:0;z-index:2;min-height:70px;padding-inline:24px}.workspace>aside{min-width:0;border-right:1px solid var(--line);background:var(--surface);padding:24px 14px}nav{display:grid;gap:5px}nav button,.exit,.actions button:not(.save){color:var(--muted);border:1px solid transparent;border-radius:9px;padding:9px 13px;background:transparent;white-space:nowrap}nav button{text-align:left}nav button:hover,.exit:hover{background:#f4f4f6;color:var(--text)}nav button[aria-current]{border-color:#ffddc8;background:var(--warm);color:#923407;font-weight:700}.workspace{grid-template-rows:auto 1fr;align-items:stretch}.content{min-width:0;padding:34px clamp(20px,4vw,56px) 52px;background:radial-gradient(ellipse at 100% 0,#ffecdca8,transparent 480px),#f7f8fa}.section-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:24px}.search{max-width:245px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:var(--shadow)}table{border-collapse:collapse;width:100%;min-width:620px;text-align:left}td,th{padding:13px 17px;border-bottom:1px solid #eff0f3;vertical-align:middle}thead th{background:#faf9fb;color:var(--muted);font-size:.875rem}tbody tr:hover{background:#fffbf8}tbody th span,code{display:block}code{font-size:.78rem;color:var(--muted);margin-top:3px;font-weight:400}tbody td:nth-child(2){overflow-wrap:anywhere;max-width:230px}tr:last-child>*{border-bottom:0}.state{display:inline-block;border-radius:20px;background:#e8f4ed;color:#235738;padding:3px 10px}.state.inactive{background:#f0eef8;color:#58496d}.error,.success{border-radius:10px;padding:8px 12px;margin:0 0 14px;background:#fceee9;color:#8a2018}.success{background:#e8f4ed;color:#235738}.login :is(.error,.success){margin:0}.empty{text-align:center;color:var(--muted)}.editor{max-width:620px;display:grid;gap:13px;padding:20px;margin-bottom:18px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow)}.editor h2{font-size:1.13rem}.editor label:not(.check){display:grid;gap:6px}.editor fieldset{display:flex;flex-wrap:wrap;gap:12px;border:1px solid var(--line);border-radius:9px;margin:0;padding:9px 12px 12px}.check{display:inline-flex;gap:7px;align-items:center}input[type=checkbox]{width:auto;min-height:0;padding:0;accent-color:var(--action)}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.actions button:not(.save){border-color:#dedfe5;background:#fff;color:var(--text);padding:6px 10px}.actions button:not(.save):hover{background:var(--warm);border-color:#ffddc8}.audit-actions{margin:12px 0}.permission-hint{flex-basis:100%;margin:0;color:var(--muted);font-size:.88rem}@media(max-width:860px){.entry-main{grid-template-columns:1fr;justify-items:start;min-height:auto;padding-block:45px 58px}.entry-heading h1 span{display:inline}.entry-heading p{margin-top:12px}.login{width:min(100%,500px)}.workspace{grid-template-columns:158px minmax(0,1fr)}}@media(max-width:640px){.entry-main{padding-inline:22px}.entry-heading h1{font-size:clamp(1.95rem,7vw,2.6rem)}.login{border-radius:17px}.workspace{display:block}.workspace>.topbar{min-height:62px;padding-inline:14px}.brand-label,.topbar-account>span{display:none}.workspace>aside{padding:9px 12px;border:0;border-bottom:1px solid var(--line)}nav{display:flex;overflow:auto}nav button{flex:0 0 auto}.content{padding:22px 14px 40px}.section-head{margin-bottom:16px}.settings-table,.settings-table tbody{display:block;min-width:0}.settings-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.settings-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 14px;padding:12px 14px;border-bottom:1px solid var(--line)}.settings-table tbody tr:last-child{border-bottom:0}.settings-table :is(td,th){padding:0;border:0}.settings-table tbody td:nth-child(2){max-width:136px;text-align:right}.settings-table .empty{grid-column:1 / -1}}
