.system-console{--sys-accent:#a32636;--sys-soft:#fff1f2;--sys-line:#ead5d9;color:#30262a;max-width:1400px;margin:0 auto}
.system-data-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.system-data-heading h2,.system-data-heading h3{margin:0}.system-monitor-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.system-monitor-counts button{text-align:left;border:1px solid #ead5d9;border-radius:8px;background:#fff;padding:16px;color:#705961;min-width:0}.system-monitor-counts button.active{border-color:#a32636;background:#fff1f2}.system-monitor-counts span{display:block;font-size:13px}.system-monitor-counts b{font-size:26px;margin-right:6px}.system-duplicate-group{padding:18px 0;border-top:1px solid #ead5d9}.system-duplicate-group h3{font-size:16px;margin:0 0 8px}.system-duplicate-group p{font-size:13px;overflow-wrap:anywhere}.system-data-scroll{max-width:100%;overflow:auto;border:1px solid #ead5d9;border-radius:6px}.system-data-scroll table{min-width:700px}.system-data-scroll td small{display:block;font-size:11px;color:#817177}.system-data-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px;font-size:13px}.system-data-controls{display:grid;grid-template-columns:1fr 2fr 1fr;gap:14px;margin-top:22px}.system-data-controls .field{min-width:0}.system-data-search{display:flex;gap:10px;margin:0 0 18px}.system-data-search input{min-width:0;flex:1}.system-data-search button{flex:0 0 auto}.system-spreadsheet{max-height:60vh}.system-spreadsheet table{width:max-content;min-width:100%;table-layout:fixed}.system-spreadsheet thead th{position:sticky;top:0;background:#f7eff1;z-index:2;min-width:150px}.system-spreadsheet th:first-child{position:sticky;left:0;min-width:48px;background:#f7eff1;z-index:1}.system-spreadsheet thead th:first-child{z-index:3}.system-spreadsheet th small{display:block;font-size:11px;font-weight:400;margin-top:4px}.system-console .system-spreadsheet td{padding:0;border-right:1px solid #ede5e7}.system-spreadsheet th button{border:0;background:none;font:inherit;font-weight:600;color:#705961;cursor:pointer;text-align:left}.system-console .system-data-cell{display:block;background:#fff;border:0;color:inherit;font:12px/1.6 monospace;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:200px;max-width:200px;padding:12px;cursor:pointer;border-radius:0}.system-console .system-data-cell:focus{outline:2px solid #a32636;outline-offset:-2px;background:#fff1f2}.system-data-detail{border:1px solid #ead5d9;background:#faf7f8;padding:18px;border-radius:8px;margin-top:20px}.system-data-detail h3{font-size:15px;overflow-wrap:anywhere}.system-data-detail pre,.system-schema-details pre{max-height:450px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 monospace}.system-schema-details{margin-top:20px;font-size:13px}.system-schema-details summary{cursor:pointer}.system-data-filter{overflow-wrap:anywhere;font:12px/1.6 monospace}@media(max-width:760px){.system-data-controls{grid-template-columns:minmax(0,1fr)}.system-monitor-counts{grid-template-columns:minmax(0,1fr)}.system-data-search{flex-wrap:wrap}.system-data-search input{flex-basis:100%}.system-data-pagination{gap:10px}}
.system-console .button:not(.outline),.system-login .button:not(.outline){background:#a32636;color:white;border-color:#a32636}
.system-console .button:disabled{background:#e6e0e2;color:#92868a;border-color:#e6e0e2}
.system-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.system-title h1{font-size:26px;margin:6px 0}.system-title p{margin:0;color:#78636a}.system-title small{color:#a32636;font-weight:700}
.system-nav{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--sys-line);padding-bottom:16px;margin-bottom:24px}.system-nav button{border:1px solid var(--sys-line);background:white;padding:10px 18px;border-radius:8px;color:#705961}.system-nav button.active{background:#a32636;border-color:#a32636;color:white}
.system-status-grid,.system-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.system-status{border:1px solid var(--sys-line);border-top:3px solid #a32636;border-radius:12px;background:white;padding:20px;min-width:0}.system-status h3{font-size:16px;margin:0 0 10px}.system-status p{color:#796b70;overflow-wrap:anywhere;font-size:13px}.system-status strong{font-size:14px;color:#36745c}.system-status strong.problem{color:#a32636}.system-counts>div{background:#f4eff0;padding:18px;border-radius:10px}.system-counts b{display:block;font-size:26px;margin-top:8px}.system-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.system-box{background:white;border:1px solid var(--sys-line);border-radius:12px;padding:24px;margin-bottom:20px;min-width:0}.system-box h2{font-size:18px;margin:0 0 18px}.system-box .muted{font-size:13px;color:#796b70}.system-alert{background:#fff1f2;border:1px solid #e7b8c0;border-radius:10px;padding:18px;margin-bottom:20px}.system-alert h2{font-size:16px;color:#9f2636;margin:0 0 8px}.system-alert p{margin:8px 0;overflow-wrap:anywhere}
.system-switch{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #eee6e8}.system-switch b,.system-switch small{display:block}.system-switch small{margin-top:6px;color:#796b70}.system-switch input[type=checkbox]{width:20px!important;height:20px!important;flex:0 0 20px;accent-color:#a32636;margin-top:4px}
.system-console select,.system-console input:not([type=checkbox]),.system-login input{width:100%;border:1px solid #cfbfc3;border-radius:8px;min-height:42px;padding:10px;font:inherit;background:#fff}.system-console select:disabled,.system-console input:disabled{background:#eee9eb;color:#94858b}.system-console label.field,.system-login label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.system-console .system-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.system-grants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.system-account{border:1px solid #eadfe2;border-radius:10px;margin-bottom:14px;overflow:hidden}.system-account-heading{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.system-account-heading small{display:block;color:#817177;margin-top:4px}.system-account-editor{padding:20px;background:#faf6f7;border-top:1px solid #eadfe2}
.system-terminal{background:#201c20;color:#efe1e5;border-radius:10px;padding:20px;min-height:140px;max-height:500px;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;font:13px/1.6 monospace}.system-console .system-event-table{overflow:auto}.system-console table{width:100%;border-collapse:collapse;font-size:13px}.system-console th,.system-console td{padding:13px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #ede5e7}.system-console th{color:#78636a;white-space:nowrap}.system-console td pre{max-width:650px;max-height:260px;white-space:pre-wrap;overflow:auto;font-size:12px}.system-tests{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.system-tests button{min-height:60px}
.system-modal-backdrop{position:fixed;inset:0;background:#18101599;z-index:2000;display:grid;place-items:center;padding:20px}.system-modal{background:white;border-radius:14px;padding:28px;width:min(460px,100%);max-height:90vh;overflow:auto}.system-modal h2{font-size:20px;margin:0 0 12px}.system-modal input{display:block;width:100%;margin-top:8px;border:1px solid #d5bdc3;border-radius:8px;padding:12px;font:inherit}.system-modal label{display:block;margin:18px 0}.system-modal p{color:#806570;font-size:14px}
.system-login{max-width:460px;margin:30px auto;border-top:4px solid #a32636}.system-login h1{font-size:24px}.system-login p{color:#77616b}.system-login .button{width:100%}.system-login a{display:inline-block;margin-top:18px;color:#8f2738}
.system-login label.check-label{flex-direction:row;align-items:center}.system-login input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0;accent-color:#a32636}
.system-account-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}.system-account-toolbar h2{margin:0}.system-account-create{padding:22px;border:1px solid var(--sys-line);border-radius:10px;background:#faf6f7;margin:20px 0}.system-account-create h3{font-size:16px;margin:4px 0 18px}.system-account-create .system-grants{margin-top:18px}.system-password-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.system-account-heading>div:first-child{min-width:0;max-width:100%;overflow-wrap:anywhere}
.system-console .system-spreadsheet table{max-width:none;table-layout:fixed}
.system-console .system-spreadsheet td{overflow:hidden}
.system-console .system-spreadsheet .system-data-cell{width:100%;max-width:100%;min-width:0;box-sizing:border-box;font-family:inherit;font-size:14px;font-weight:500;line-height:1.6}
.system-console .system-spreadsheet th{font-size:14px;font-weight:600}
.system-console .system-spreadsheet thead th button{font-size:14px;font-weight:600}
.system-console .system-spreadsheet thead th small{font-size:13px;line-height:1.6}
.system-console .system-data-controls label.field{font-size:14px}
.system-console .system-data-detail pre,.system-console .system-schema-details pre{font-size:14px;line-height:1.7}
.system-console .system-spreadsheet thead th{overflow:hidden}
.system-console .system-spreadsheet thead th button,.system-console .system-spreadsheet thead th small{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.system-account-create{padding:16px}.system-password-fields{grid-template-columns:1fr}}
@media(max-width:760px){.system-status-grid,.system-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.system-grants,.system-tests,.system-console .system-fields{grid-template-columns:1fr}.system-title{align-items:flex-start;flex-direction:column}.system-box{padding:18px}.system-nav button{padding:9px 12px}.system-console th,.system-console td{padding:10px 8px}.system-console .system-event-table{max-width:100%}}
