*{box-sizing:border-box} [hidden]{display:none!important} body{margin:0;font:13px -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;background:#f0f2f5;color:#334155}button,input{font:inherit}button{border:0;border-radius:6px;background:#2563eb;color:white;padding:9px 15px;cursor:pointer}button.secondary{background:#f1f5f9;color:#475569}button:hover{filter:brightness(.97)}input:not([type=checkbox]){width:100%;height:38px;border:1px solid #d4deec;border-radius:6px;padding:0 10px;background:#fff;color:#334155}input:focus{outline:2px solid #dbeafe;border-color:#2563eb}label{display:grid;gap:7px;color:#475569}p{color:#8291a4}.logo{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:6px;color:white;font-weight:bold;background:linear-gradient(135deg,#2563eb,#1d4ed8);font-size:18px}.layout{display:flex;min-height:100vh}.sidebar{width:200px;flex:none;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column}.brand{height:56px;display:flex;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid #f1f5f9;color:#0f172a;font-size:15px}.sidebar nav{padding:12px 8px;flex:1}.nav-active{padding:10px 12px;border-radius:6px;color:#2563eb;background:#eff6ff;font-weight:600}.side-note{padding:16px;color:#94a3b8;border-top:1px solid #f1f5f9}.workspace{flex:1;min-width:0}.topbar{height:56px;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;padding:0 24px;font-size:15px}.topbar button{font-size:12px}.content{padding:20px 24px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.metrics article{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px 16px}.metrics span{display:block;color:#64748b;font-size:12px}.metrics strong{display:block;font-size:20px;margin-top:6px;color:#0f172a}.metrics .green{color:#10b981}.metrics .red{color:#ef4444}.metrics .blue{color:#0284c7}.table-card{background:white;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #f1f5f9}.toolbar input{max-width:250px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th,td{border-bottom:1px solid #f1f5f9;padding:15px 16px}th{background:#f8fafc;color:#64748b;font-weight:500;font-size:12px}td button{padding:6px 10px;margin-right:6px}td .danger{color:#dc2626}.empty{text-align:center;padding:28px}.login-screen{min-height:100vh;display:grid;place-items:center}.login-card{width:min(380px,90vw);padding:32px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 15px 45px #1e3a5f15}.login-logo{width:44px;height:44px;margin-bottom:20px;font-size:25px}.login-card h1{font-size:22px;margin:0}.login-card form,dialog form{display:grid;gap:16px;margin-top:24px}.login-card p{font-size:12px}dialog{border:0;border-radius:12px;box-shadow:0 20px 70px #0f172a40;width:min(430px,90vw);padding:24px}dialog::backdrop{background:#172b4d66}dialog form{margin:0}dialog h2{margin:0 0 6px;font-size:18px}.check{display:flex;align-items:center}.check input{width:16px;height:16px;accent-color:#2563eb}.actions{display:flex;justify-content:flex-end;gap:8px}#notice,#dashboard-notice,#form-error{color:#c2410c}@media(max-width:760px){.sidebar{width:62px}.brand{padding:0 16px}.brand strong,.nav-active,.side-note{font-size:0}.nav-active:first-letter{font-size:18px}.content{padding:14px}.topbar{padding:0 14px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar input{max-width:170px}}

.version-controls{display:flex;align-items:center;gap:10px;font-size:12px}.version-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap}.version-controls input:not([type=checkbox]){width:95px;height:34px}.version-controls #version-status{font-size:12px;color:#64748b}
