*{box-sizing:border-box}body{margin:0;background:#f2f5f8;color:#203247;font:16px/1.65 system-ui,"Microsoft YaHei",sans-serif}main{max-width:1500px;margin:24px auto;padding:28px;background:#fff;border:1px solid #dce3e9;border-radius:12px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid #dce3e9}.brand{font-size:14px;letter-spacing:2px;font-weight:800;color:#087d68}header h1{display:inline;margin:0 0 0 12px;font-size:27px}header p{margin:6px 0 0;color:#556a7b}.header-actions{display:flex;gap:10px}h2{font-size:22px;margin:0 0 8px}h3{font-size:18px;margin:0 0 12px}form{display:flex;gap:16px;align-items:end;flex-wrap:wrap}form h2,form h3{width:100%}label{display:flex;flex-direction:column;gap:6px;font-weight:600}input,textarea,select{font:inherit;color:inherit;border:1px solid #aabcc9;padding:9px 11px;border-radius:6px;max-width:100%;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid #80c8ba;outline-offset:1px}button{font:inherit;font-weight:600;border:1px solid transparent;border-radius:6px;background:#087d68;color:#fff;padding:9px 16px;cursor:pointer;white-space:nowrap;min-height:44px}button:hover{filter:brightness(.95)}button.secondary{background:#fff;border-color:#bdcbd6;color:#304c60}button:disabled{opacity:.5;cursor:default}small,.hint{font-size:14px;color:#536879;font-weight:400}.hint{margin:6px 0 12px}#notice{min-height:28px;color:#a23a21;white-space:pre-wrap;margin:14px 0}#login{max-width:760px}nav{display:flex;gap:8px;background:#edf3f6;padding:7px;border-radius:9px;margin:4px 0 24px}nav button{background:transparent;color:#425b6c}nav button.active{background:#087d68;color:white}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-title p{margin:0;color:#536879}.panel{padding:20px;border:1px solid #dce3e9;border-radius:9px;background:#fff;margin-bottom:20px}.panel summary{font-size:17px;font-weight:700;cursor:pointer}.create-panel[open] summary{margin-bottom:18px}.table{overflow:auto;border:1px solid #dce3e9;border-radius:8px}table{border-collapse:collapse;width:100%;text-align:left;font-size:15px}th,td{padding:14px;border-bottom:1px solid #dce3e9;border-right:1px solid #e4eaef;vertical-align:top}th{background:#eef4f6;color:#334d5e;white-space:nowrap}tbody tr:last-child td{border-bottom:0}td button{margin:4px 6px 4px 0}td input[type=date]{width:165px}td input[type=number]{width:72px}td select{min-width:190px}.device{font-size:13px;color:#526a7b;border-top:1px solid #e7edf2;margin-top:10px;padding-top:8px;min-width:180px}#new-code{margin-top:20px}#new-code textarea{font-family:monospace;color:#075b4b}fieldset{width:100%;border:1px solid #dce3e9;border-radius:6px}legend{padding:0 6px;font-weight:600}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px 18px;margin:10px 0}.permission-grid label{display:flex;flex-direction:row;align-items:center;font-size:14px;font-weight:400;white-space:nowrap}.permission-grid input{width:18px;height:18px;accent-color:#087d68}td .permission-grid{grid-template-columns:1fr;min-width:210px}td details{margin-top:12px}td summary{cursor:pointer;font-size:14px;color:#087d68}.toolbar,.report-controls{display:flex;gap:20px;align-items:end;flex-wrap:wrap}.toolbar{margin:18px 0}.toolbar .hint{flex:1}.search{width:310px}.badge{display:inline-block;padding:3px 10px;border-radius:5px;background:#edf3f6;font-size:14px;white-space:nowrap}.good{background:#e6f5ef;color:#08664e}.warning{background:#fff1d9;color:#8c5a0a}.muted{background:#eef1f4;color:#4c6272}.report-controls label{min-width:220px}.pagination{display:flex;justify-content:center;gap:18px;align-items:center;margin:22px 0}.empty{text-align:center;padding:50px 20px;color:#526a7b;background:#f6f9fa;border-radius:8px}[hidden]{display:none!important}@media(max-width:800px){main{margin:8px;padding:16px}header{align-items:flex-start;flex-wrap:wrap}header h1{font-size:24px}.header-actions{width:100%}form label,.search{width:100%}form input{width:100%}nav{overflow:auto}.section-title{align-items:flex-start}.toolbar .hint{flex-basis:100%}.permission-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}th,td{padding:10px}}