:root{--text-secondary:#3e515b;--text-muted:#495d67;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#192c34;background:#f5f7f8;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:6px;padding:10px 14px;background:#eef2f3;color:#2b424c}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(.96)}.shell{display:flex;min-height:100vh}aside{width:230px;background:#102e35;color:#d9e7e9;padding:32px 23px;position:fixed;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:30px;color:#6de0ba;text-decoration:none}.brand span{font-size:24px;letter-spacing:3px;color:white;font-weight:700}.brand small{display:block;font-size:8px;letter-spacing:1.3px;margin-top:6px;color:#c0d3d7}nav{display:grid;gap:8px;margin-top:36px}nav :is(button,a){text-align:left;background:transparent;color:#b6cbd0;padding:14px}nav :is(button,a).active{background:#21464d;color:#8de5c8;border-left:3px solid #79dfbd}.aside-bottom{margin-top:auto;font-size:11px;color:#b9ced3;line-height:2;letter-spacing:1px}main{margin-left:230px;padding:30px 42px;width:calc(100% - 230px);max-width:1800px}header{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;min-height:35px;border-bottom:1px solid #dce4e6;padding-bottom:20px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--text-secondary);font-weight:600}.title{display:flex;align-items:center;justify-content:space-between;margin:34px 0 24px}h1{font-size:30px;letter-spacing:-1px;font-weight:650;margin:12px 0}p{color:var(--text-secondary);line-height:1.7}.pill{color:#168364;background:#e3f3eb;padding:8px 13px;border-radius:20px;font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.panel{background:white;border:1px solid #dfe7ea;border-radius:9px}.metrics .panel{padding:21px}.metrics span{display:block;font-size:12px;color:var(--text-secondary)}.metrics strong{display:block;font-size:27px;margin-top:13px;font-weight:500;letter-spacing:-.5px}label{display:flex;flex-direction:column;gap:9px;color:var(--text-secondary);font-size:12px}input,select{background:#fff;border:1px solid #d5dfe2;border-radius:5px;padding:10px 11px;color:#243a43;min-width:0;max-width:100%;outline:none}input:focus,select:focus{border-color:#21a482;box-shadow:0 0 0 2px #20a08015}.form-row{display:flex;gap:14px;padding:22px;align-items:end;flex-wrap:wrap}.form-row label{width:130px}.form-row .grow{flex:1;min-width:200px}.primary{background:#168c70;color:white;white-space:nowrap}.hint{font-size:12px;margin:14px 2px 22px}.table-wrap{overflow:auto}.value{white-space:normal;min-width:220px;overflow-wrap:anywhere;max-width:420px}.tag{display:inline-block;background:#eff5f4;color:#387c6f;border-radius:4px;padding:4px 8px;font-size:11px}.danger{color:#bd5d5d;background:transparent;padding:5px;font-size:12px}.quiet{background:transparent;color:var(--text-secondary)}.alert{padding:15px;background:#fff0ed;color:#ad4a3e;border-radius:6px;margin-top:15px}.notice{border-left:3px solid #dfb46a;background:#faf1e3;color:#95703a;padding:17px;margin-bottom:20px;font-size:12px;line-height:1.7}.empty{text-align:center;color:var(--text-muted);padding:42px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-head span{font-size:11px;color:var(--text-muted)}.chart{padding:22px;margin-bottom:22px}.bars{height:120px;display:flex;align-items:end;gap:4px;padding:15px 0}.bars>div{background:#57baa0;flex:1;max-width:30px;border-radius:3px 3px 0 0}.rcodes{display:flex;gap:10px;flex-wrap:wrap}footer{display:flex;justify-content:space-between;margin-top:40px;padding-top:20px;border-top:1px solid #dce4e6;font-size:10px;letter-spacing:1px;color:var(--text-muted)}@media(max-width:1000px){aside{width:180px;padding:25px 16px}main{margin-left:180px;width:calc(100% - 180px);padding:24px}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.shell{display:block}aside{position:static;width:100%;height:auto;padding:20px}.aside-bottom{display:none}nav{display:flex;margin-top:18px}nav :is(button,a){flex:1;text-align:center;padding:10px}.brand small{display:none}main{margin:0;width:100%;padding:20px}.title{gap:10px}.pill{font-size:10px;white-space:nowrap}.metrics{gap:10px}.metrics .panel{padding:14px}.metrics strong{font-size:23px}.form-row{padding:16px}.form-row label{flex:1;min-width:100px}.section-head{flex-wrap:wrap}footer span{letter-spacing:0}}

.geo-note{font-size:12px;color:var(--text-secondary);line-height:1.8;margin-bottom:18px}.geo-note a{color:#168c70}.geo-cell{white-space:normal;min-width:170px;max-width:260px;line-height:1.6;overflow-wrap:anywhere}.geo-cell .tag{margin-bottom:4px}.muted{color:var(--text-muted);font-size:11px}

.asn-cell{white-space:nowrap;overflow-wrap:normal;max-width:none}.asn-cell .tag{margin-bottom:0}

.refresh-tools,.toolbar,.pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.toolbar{margin:20px 0;align-items:end}.toolbar .search-label{flex:1;min-width:200px}.toolbar label{min-width:130px}.pagination{justify-content:flex-end;margin:18px 0}.pagination label{flex-direction:row;align-items:center}.success{padding:14px 18px;border:1px solid #bce4d5;background:#eaf8f1;color:#176e53;border-radius:6px;margin-top:15px}.unhealthy,.tag.bad{background:#fff0e9;color:#b4573c}.metrics small{font-size:13px;letter-spacing:0}.metrics p{font-size:11px;margin:12px 0 0}.split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:22px}.rankings>.panel,.info-panel,.query-detail{padding:22px}h3{font-size:14px;margin:0 0 18px;font-weight:600}.rank{display:flex;gap:14px;justify-content:space-between;align-items:center;margin-top:12px;font-size:12px;overflow-wrap:anywhere}.rank>span:first-child{min-width:0}.rank strong{font-weight:500;color:#168c70}.rankings .rank>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}dl{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px 12px;font-size:12px;margin:20px 0 6px}dt{color:var(--text-secondary)}dd{margin:0;overflow-wrap:anywhere;line-height:1.6}.counter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:24px}.counter-grid span{display:block;font-size:12px;color:var(--text-secondary)}.counter-grid strong{display:block;font-size:24px;font-weight:500;margin-top:10px}.runtime-charts svg{display:block;width:100%;height:110px;overflow:visible}.runtime-charts .chart{margin-bottom:0}.runtime-charts p{font-size:11px}.geo-status{margin-top:22px}.query-detail{margin-top:18px}.query-detail button{margin-top:12px}.editing{background:#effaf6}.query-filters label{width:118px}.bars{overflow:hidden}.bars>div{min-width:1px}.geo-status .rank{justify-content:flex-start}.geo-status .rank>span:first-child{width:110px}button:focus-visible,a:focus-visible{outline:2px solid #168c70;outline-offset:3px}input[type=number]{width:100%}
@media(max-width:1100px){.split-grid{grid-template-columns:1fr}.counter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){nav{flex-wrap:wrap}nav :is(button,a){flex:1 0 40%}.refresh-tools{gap:4px}.eyebrow{letter-spacing:1px;font-size:9px}.toolbar label{flex:1}.pagination{justify-content:center;font-size:12px;gap:8px}dl{grid-template-columns:105px minmax(0,1fr)}.counter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.info-panel,.query-detail,.rankings>.panel{padding:18px}.geo-status .rank{flex-wrap:wrap}.metrics strong{font-size:21px}}
.database-info{margin-bottom:22px}.database-details{margin-bottom:0}.database-counts{border-top:1px solid #edf1f2;padding-top:22px}.database-counts small{font-size:12px;color:var(--text-secondary);font-weight:400}.database-info>.hint{margin-bottom:0}.database-info .section-head h3{margin-bottom:0}

.statistics-scope{padding:18px 22px;margin-bottom:22px}.statistics-scope>span{display:block;font-size:12px;color:var(--text-secondary);margin-top:10px}.statistics-scope p{font-size:12px;margin-bottom:0}.statistics-heading{margin:30px 0 20px}.statistics-heading h3{margin:0}.statistics-breakdowns{margin-top:22px}.distribution-row{display:grid;grid-template-columns:110px minmax(30px,1fr) 55px 55px;align-items:center;gap:12px;width:100%;padding:10px 0;background:transparent;text-align:left;font-size:12px;border-radius:0}.distribution-name{overflow-wrap:anywhere}.distribution-row strong{text-align:right;font-weight:500}.distribution-row>.muted{text-align:right}.distribution-track{display:block;height:7px;background:#eef3f4;border-radius:4px;overflow:hidden}.distribution-track>span{display:block;height:100%;background:#57baa0;border-radius:4px}.latency-panel{margin-bottom:22px}.rank-button{width:100%;padding:8px 0;background:transparent;text-align:left;border-radius:0}.rank-button strong{white-space:nowrap}.chart-axis{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--text-secondary)}.bars>div.zero{background:#dfe8e9}.statistics-heading+ .metrics{margin-bottom:22px}@media(max-width:650px){.distribution-row{grid-template-columns:85px minmax(20px,1fr) 35px 45px;gap:6px}.statistics-scope{padding:16px}.chart-axis{font-size:9px}.statistics-scope>span{line-height:1.7}.statistics-rankings .rank>span{max-width:65%}}

section>.runtime-charts{margin-bottom:22px}

.asn-cell.source-asn{white-space:normal;width:170px;min-width:140px;max-width:190px;line-height:1.5}.asn-org{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.5;margin-top:6px}.ecs-asn{white-space:normal;max-width:230px}.query-dialog{width:min(1080px,calc(100vw - 48px));max-height:calc(100dvh - 48px);border:1px solid #dfe7ea;border-radius:12px;padding:28px;color:#192c34;background:#fff;box-shadow:0 18px 70px #102e3533;overflow:auto}.query-dialog::backdrop{background:#102e3580}.detail-top{display:flex;justify-content:space-between;align-items:start;gap:16px}.detail-top h2{margin:10px 0;font-size:24px;overflow-wrap:anywhere}.detail-top p{font-size:12px;margin:0 0 16px;overflow-wrap:anywhere}.detail-tabs{display:flex;gap:8px;border-bottom:1px solid #dfe7ea;padding:12px 0;margin-bottom:22px}.detail-tabs button{background:transparent}.detail-tabs button.active{background:#e5f5ee;color:#168364}.detail-overview dl{margin-bottom:24px;grid-template-columns:160px minmax(0,1fr)}.packet-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0 24px}.packet-view pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8f9;border:1px solid #e5ecee;border-radius:6px;padding:14px;font-size:12px;line-height:1.65;font-family:ui-monospace,monospace;max-width:100%;overflow:auto}.packet-view h3{margin-top:26px}.packet-view h4{font-size:12px;font-weight:600;margin:18px 0 8px}.packet-flags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.packet-flags .tag{background:#f1f4f5;color:var(--text-muted)}.packet-flags .enabled{background:#e3f5ed;color:#168364}.packet-table{white-space:normal;table-layout:fixed}.packet-table td{overflow-wrap:anywhere}.packet-table th:first-child{width:50%}.resource-record{border:1px solid #e3e9eb;border-radius:8px;padding:16px;margin-bottom:12px}.resource-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;overflow-wrap:anywhere;font-size:12px}.resource-title strong{font-weight:500;max-width:100%}.packet-empty{padding:14px;background:#f8fafb;border-radius:6px;color:var(--text-muted);font-size:12px}.packet-view summary{cursor:pointer;font-size:12px;color:var(--text-secondary);padding:12px 0;overflow-wrap:anywhere}.edns-option>strong{font-size:12px;font-weight:500}.packet-hex pre{white-space:pre;overflow-x:auto}.packet-header dd{font-family:ui-monospace,monospace}.packet-header{margin-bottom:20px}@media(max-width:650px){.query-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:18px}.detail-top h2{font-size:20px}.detail-top>button{flex-shrink:0;padding:8px}.detail-overview dl,.packet-view dl{grid-template-columns:110px minmax(0,1fr);gap:12px}.packet-toolbar{gap:8px}.packet-toolbar button{font-size:12px}.resource-record{padding:12px}.packet-view pre{padding:10px;font-size:11px}}

.forwarding-form{margin-bottom:24px}.forwarding-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:28px}.upstream-editor{display:grid;grid-template-columns:1fr 1.4fr 100px auto;align-items:end;gap:14px;margin:16px 0}.forwarding-form .section-head{margin-top:20px}.forwarding-form h3{margin:0}.preset-buttons{display:flex;flex-wrap:wrap;gap:8px}.preset-buttons button{font-size:12px}.allowed-clients{margin-top:24px}.allowed-clients textarea{font:inherit;line-height:1.6;resize:vertical;border:1px solid #d5dfe2;border-radius:6px;padding:12px;color:#243a43;width:100%}.upstream-cell{white-space:normal;min-width:160px;max-width:210px;overflow-wrap:anywhere;line-height:1.6}.upstream-trace summary{cursor:pointer;font-size:12px;padding:12px 0;color:var(--text-secondary)}.upstream-trace>article>h3{overflow-wrap:anywhere}.upstream-trace .resource-record h3{font-size:13px}.forwarding-options label{min-width:0}.statistics-breakdowns .distribution-name{font-size:11px}@media(max-width:650px){.forwarding-options{grid-template-columns:1fr}.upstream-editor{grid-template-columns:1fr 1fr}.upstream-editor>button{justify-self:end}.upstream-editor label{min-width:0}}

.console-topbar{margin-bottom:24px;gap:18px;align-items:center;min-height:54px}.topbar-context{font-size:12px;color:var(--text-secondary)}.console-topbar .refresh-tools{margin-left:auto}.runtime-subnav{display:flex;flex-wrap:wrap;gap:4px;margin:0;min-width:0}.runtime-subnav :is(button,a){padding:10px 12px;color:var(--text-secondary);background:transparent;border:0;border-radius:6px;font-size:12px;white-space:nowrap;flex:none;text-align:center}.runtime-subnav :is(button,a).active{color:#14765c;background:#e3f3eb;border:0}.runtime-panel{min-width:0}.runtime-panel>.alert{margin:0 0 20px}.runtime-panel .metrics p{overflow-wrap:anywhere}.runtime-panel .runtime-charts{margin:0}.runtime-section-head{margin:24px 0 16px}.runtime-section-head h3{margin:0}.code-languages{display:flex;gap:22px;flex-wrap:wrap}.code-languages>div{display:flex;align-items:center;gap:10px}.code-languages strong{font-size:12px;font-weight:500}.code-path{white-space:normal;overflow-wrap:anywhere;min-width:200px;max-width:360px}.code-line-track{width:110px}.database-summary{margin-bottom:20px}.database-summary-title{margin:0;padding:18px 22px;color:var(--text-secondary);font-size:12px;font-weight:500}.schema-panel>summary{padding:18px 22px;cursor:pointer;color:var(--text-secondary);font-size:12px}.database-summary .database-info{border:0;border-top:1px solid #edf1f2;margin:0}.database-cell{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schema-fields{display:flex;flex-wrap:wrap;gap:12px;padding:0 22px 22px}.schema-fields>span{padding:8px 12px;background:#f5f8f9;border-radius:5px;color:var(--text-secondary);font-size:11px}.schema-fields strong{color:#2b424c;margin-right:8px;font-weight:500}.operation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.operation-grid article{display:flex;flex-direction:column;align-items:start}.operation-grid p{font-size:12px;line-height:1.8;flex:1;margin:0 0 20px}.operation-result{margin-top:24px}.operation-result h3{margin:0}.operation-result pre,.database-dialog pre{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;background:#f5f8f9;padding:14px;border-radius:6px}.diagnostic-checks{display:grid;gap:12px;margin:20px 0;font-size:12px}.diagnostic-checks>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.diagnostic-checks strong{font-weight:500}.database-dialog dl{grid-template-columns:180px minmax(0,1fr)}.database-dialog dt small{display:block;font-size:10px;margin-top:6px}.database-dialog pre{margin:0;max-height:260px;overflow:auto}.runtime-panel .split-grid>*{min-width:0}@media(max-width:1250px){.console-topbar .refresh-tools{width:100%;justify-content:flex-end}.operation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.console-topbar{gap:12px}.runtime-subnav{width:100%;gap:4px}.runtime-subnav :is(button,a){padding:10px 9px;font-size:11px;flex:1 0 auto}.console-topbar .refresh-tools{justify-content:space-between;gap:4px}.console-topbar .refresh-tools>.muted{font-size:10px}.console-topbar .refresh-tools>button{font-size:11px;padding:8px}.operation-grid{grid-template-columns:1fr}.code-languages{gap:14px}.code-languages>div{width:100%}.database-dialog dl{grid-template-columns:100px minmax(0,1fr)}.runtime-section-head{flex-wrap:wrap}.runtime-panel .table-wrap{max-width:100%}.schema-fields{padding:0 16px 16px}}

.operation-json{margin-top:18px}.operation-json>summary{cursor:pointer;color:var(--text-secondary);font-size:12px;padding:10px 0}
.code-view-tools{justify-content:flex-start}.view-switch{display:flex;gap:4px;padding:4px;background:#edf2f2;border-radius:7px}.view-switch button{background:transparent;font-size:12px}.view-switch button.active{background:#fff;color:#14765c;box-shadow:0 1px 3px #102e3512}.code-tree-path{min-width:260px;max-width:500px;white-space:normal;overflow-wrap:anywhere}.code-tree-path>div{display:flex;align-items:center}.code-tree-toggle{display:block;text-align:left;background:transparent;color:#2d5058;font-family:inherit;font-size:12px;white-space:normal;overflow-wrap:anywhere}.code-tree-toggle:focus-visible{outline:2px solid #168c70;outline-offset:2px}.code-tree-toggle>span{color:#168c70}.code-tree-file{display:block}.code-tree-file>span{color:var(--text-muted);display:inline-block;width:24px}.code-directory{background:#f6faf9}.code-directory td{font-weight:600}.code-statistics{min-width:0}.code-statistics .table-wrap{max-width:100%}@media(max-width:650px){.code-tree-path{min-width:200px}.code-view-tools{gap:8px}.code-view-tools>span{width:100%}.code-view-tools button{padding:9px 10px}}

.query-logs .query-log-row{cursor:pointer;transition:background .12s}.query-logs .query-log-row:hover{background:#f1f9f6}.query-logs .query-log-row:focus-visible{outline:2px solid #168c70;outline-offset:-2px;background:#edf8f3}.query-logs .log-time{font-size:11px;white-space:nowrap}.query-logs .log-location{font-family:inherit;white-space:normal;min-width:100px;max-width:145px;line-height:1.6;overflow-wrap:anywhere}.query-logs .log-domain{white-space:normal;min-width:140px;max-width:235px;overflow-wrap:anywhere;line-height:1.6}.query-logs .log-ecs{white-space:normal;min-width:110px;max-width:165px;overflow-wrap:anywhere;line-height:1.6}.query-logs .log-ecs small{display:block;color:var(--text-muted);font:11px/1.6 Inter,"PingFang SC","Microsoft YaHei",sans-serif;margin-top:4px}.query-logs .log-duration small{font-size:10px;color:var(--text-muted)}.query-logs .log-sizes{font-size:11px;font-variant-numeric:tabular-nums}.query-logs .log-action{font-family:inherit;font-size:11px}@media(max-width:650px){.query-logs .log-domain{min-width:130px}}

.query-logs .log-upstream{min-width:140px;max-width:190px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.query-logs .log-upstream small{display:block;font-size:10px;color:var(--text-muted);margin-top:4px}

input::placeholder,textarea::placeholder{color:var(--text-muted);opacity:1}

nav a{display:block;text-decoration:none;border:0;border-radius:6px;font:inherit;cursor:pointer}nav a:focus-visible{outline:2px solid #79dfbd;outline-offset:2px}

.dig-form fieldset{border:0;padding:0;margin:0;min-width:0}.dig-inputs{display:grid;grid-template-columns:150px minmax(180px,2fr) 110px minmax(140px,1.3fr) 80px;gap:16px;align-items:start}.dig-presets button{font-size:12px;padding:8px 11px}.dig-flags{display:flex;flex-wrap:wrap;gap:18px 24px}.dig-flags label{flex-direction:row;align-items:center;gap:8px}.dig-flags input{accent-color:#168c70}.dig-form .toolbar:last-child{margin-bottom:0}.dig-result,.dig-history{margin-top:24px;min-width:0}.dig-result h3,.dig-history h3{margin:0}.dig-result .dig-output,.history-result .dig-output,.dig-command pre{background:#f5f8f9;border:1px solid #e3e9eb;border-radius:6px;padding:18px;font:12px/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:640px;tab-size:4}.dig-tabs{flex-wrap:wrap}.dig-tabs button{font-size:12px}.dig-history-link{font-family:inherit;text-align:left;padding:0;color:#14765c;overflow-wrap:anywhere;white-space:normal}.dig-result dl{margin-bottom:20px}.dig-command{margin:20px 0}.toolbox-panel{min-width:0}.dig-form input:disabled{background:#f3f6f6;color:var(--text-muted)}
@media(max-width:1150px){.dig-inputs{grid-template-columns:repeat(3,minmax(0,1fr))}.dig-domain{grid-column:span 2}}@media(max-width:650px){.dig-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dig-domain{grid-column:span 2;grid-row:1}.dig-flags{gap:16px}.dig-result .refresh-tools{gap:6px}.dig-result button{font-size:11px;padding:8px}.dig-result .dig-output{padding:12px;font-size:11px}.dig-form .toolbar{gap:10px}.dig-result dl{grid-template-columns:95px minmax(0,1fr)}}

.zone-settings{padding:20px 22px;margin-bottom:20px}.zone-settings>summary{cursor:pointer;color:var(--text-secondary);font-size:13px;font-weight:600}.zone-settings>.form-row{padding:8px 0 0}.zone-settings>.form-row>label:nth-child(-n+2){min-width:200px;flex:2}

.dig-config-section{border-top:1px solid #e3e9eb;padding-top:22px;margin-top:24px}.dig-form fieldset>.dig-config-section:first-child{border-top:0;padding-top:0;margin-top:0}.dig-config-section h3{margin:0 0 18px}.dig-config-section>.section-head h3{margin:0}.dig-config-section>.section-head{margin-bottom:18px}.dig-config-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:18px 0}.dig-span-two{grid-column:span 2}.dig-pem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}.dig-form textarea{background:#fff;border:1px solid #d5dfe2;border-radius:5px;padding:11px;color:#243a43;max-width:100%;width:100%;min-width:0;resize:vertical;line-height:1.7;font:12px/1.7 ui-monospace,monospace}.dig-form textarea:focus{outline:2px solid #20a08025;border-color:#21a482}.dig-form :is(input,select,textarea):disabled{background:#f3f6f6;color:var(--text-muted)}.dig-native-editor{display:grid;grid-template-columns:1.4fr 1fr 1.3fr auto auto;gap:14px;align-items:end;margin:20px 0}.dig-native-disable{flex-direction:row;align-items:center;padding:10px 0;white-space:nowrap}.dig-native-reference{max-height:260px;border:1px solid #e3e9eb;border-radius:6px}.dig-native-reference th{position:sticky;top:0;z-index:1}.dig-native-reference td:last-child{white-space:normal;min-width:220px;font-family:inherit;line-height:1.6}.dig-native-reference button{font-family:ui-monospace,monospace;text-align:left}.dig-submit{border-top:1px solid #e3e9eb;padding-top:22px}.dig-result .dig-command h3{font-size:12px;color:var(--text-secondary)}.dig-config-section .hint:last-child{margin-bottom:0}.dig-native-editor input[type=checkbox]{width:auto;accent-color:#168c70}
@media(max-width:1150px){.dig-config-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dig-native-editor{grid-template-columns:repeat(3,minmax(0,1fr))}.dig-pem-grid{grid-template-columns:1fr}.dig-native-disable{align-self:center}.dig-native-editor>button{justify-self:start}}@media(max-width:650px){.dig-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dig-native-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.dig-config-grid label,.dig-pem-grid label{min-width:0}.dig-config-section>.section-head{align-items:start;flex-wrap:wrap}.dig-native-editor>label:first-child{grid-column:span 2}.dig-config-section{padding-top:18px;margin-top:20px}.dig-native-reference{max-height:220px}.dig-submit .muted{width:100%;line-height:1.7}}

.scenario-detail{padding:22px;margin:20px 0;min-width:0}.scenario-detail h3{overflow-wrap:anywhere}.scenario-command{display:flex;align-items:center;gap:16px;margin:20px 0}.scenario-command code{overflow-wrap:anywhere;flex:1;background:#f5f8f9;padding:12px}.scenario-checkbox{display:flex;flex-direction:row;align-items:center;gap:8px}.scenario-checkbox input{width:auto}.scenario-detail .packet-view{min-width:0}

.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}
.login-card{width:min(100%,420px);padding:32px;margin:0;border:1px solid #dbe3e6;border-radius:14px;background:#fff}
.login-card .brand{margin-bottom:32px}.login-card .brand span{color:#193d46}.login-card .brand small{color:#536c75}.login-card h1{font-size:24px;margin:0 0 12px}
.login-card form{display:grid;gap:12px;margin-top:28px}.login-card input{width:100%;padding:12px}
.login-card button{padding:12px}.login-card #login-error{color:#ef7272;min-height:1.5em;margin:0}

.process-manager{min-width:0}.process-manager>.alert{margin:0 0 20px}.process-name{min-width:150px;max-width:260px;white-space:nowrap;overflow-wrap:normal}.process-actions{display:flex;align-items:center;gap:8px}.process-actions button{white-space:nowrap}.process-history>summary{padding:18px 22px;cursor:pointer;font-size:12px;color:var(--text-secondary)}.process-history>.hint{margin:16px 22px}.process-result{white-space:normal;overflow-wrap:anywhere}.process-dialog{width:min(760px,calc(100vw - 32px))}.process-dialog dl{margin-bottom:24px}


.analytics-ranking{margin:20px 0;padding:22px;min-width:0}
.analytics-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.analytics-ranking .toolbar{flex-wrap:wrap}.analytics-ranking .table-wrap{margin:0}
.analytics-ranking table{min-width:1040px}.analytics-ranking th{white-space:nowrap}
.analytics-identity{min-width:230px;max-width:360px;overflow-wrap:anywhere}

.analytics-extra-metrics .metric-link{display:block;padding:0;margin-top:12px;color:#176953;background:transparent;text-align:left;font-size:28px;font-weight:700}
.analytics-extra-metrics small{font-size:12px;font-weight:400}.analytics-extra-metrics .traffic-value{font-size:20px;overflow-wrap:anywhere}
@media(max-width:700px){.analytics-ranking{padding:14px}.analytics-ranking .section-head{align-items:flex-start;gap:8px;flex-direction:column}.analytics-ranking .toolbar{align-items:stretch}.analytics-ranking .toolbar label{flex:1;min-width:130px}}


.records-panel{min-width:0}.record-editor,.record-import,.record-audit{padding:22px;margin:20px 0}.record-editor .section-head,.record-import .section-head,.record-audit .section-head{margin-top:0}.record-editor .form-row{padding:0;border:0;box-shadow:none;margin:18px 0}.record-editor label,.record-import>label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--text-secondary)}.records-panel textarea{width:100%;resize:vertical;padding:12px;border:1px solid #d9e2e5;border-radius:6px;background:#fff;color:#192c34;font:13px/1.7 ui-monospace,monospace}.record-ttl-presets{display:flex;flex-direction:column;gap:8px;font-size:12px}.record-ttl-presets button{font-size:12px;padding:10px;margin-right:5px}.record-rdata{display:flex;flex-direction:column;gap:10px;background:#f5f8f9;padding:14px;border-radius:6px}.record-rdata code,.record-values code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.record-rdata code{max-height:180px;overflow:auto}.record-owner{min-width:180px;max-width:280px;white-space:normal;overflow-wrap:anywhere}.record-values{min-width:240px;max-width:540px}.record-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.record-selection{padding:14px;background:#eef4f3;border-radius:6px}.record-selection label{font-size:12px;display:flex;align-items:center;gap:8px}.record-selection input[type=number]{width:110px}.record-table input[type=checkbox]{width:16px;height:16px;accent-color:#168c70}.record-issues{padding-left:20px;line-height:1.9;font-size:12px;overflow-wrap:anywhere;max-height:320px;overflow:auto}.record-preview{max-height:360px;overflow:auto;margin-bottom:20px}.record-import>.toolbar,.record-editor>.toolbar:last-child{margin-bottom:0}.record-editor .section-head label{min-width:200px}.records-panel>.section-head h3{margin:0}.records-panel .section-head{flex-wrap:wrap;gap:12px}@media(max-width:700px){.record-editor,.record-import,.record-audit{padding:16px}.record-editor .form-row>label{width:100%}.record-selection{align-items:center}.record-selection button{font-size:11px;padding:8px}.record-table{min-width:900px}.records-panel>.section-head .refresh-tools{flex-wrap:wrap}}

.record-probe{padding:22px;margin:20px 0}.record-probe .form-row{padding:0;border:0;box-shadow:none}.record-probe pre{background:#f5f8f9;padding:16px;border-radius:6px;font:12px/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:520px;overflow:auto}

.record-values code{display:block;max-height:180px;overflow:auto}.record-probe .section-head h3{margin:0}

.scenario-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.scenario-overview button{text-align:left;background:white;border:1px solid #dce4e6;padding:16px}.scenario-overview strong,.scenario-overview span{display:block}.scenario-overview span{font-size:12px;margin-top:8px;color:var(--text-secondary)}.scenario-overview button.active{border-color:#168c70;background:#edf8f4}.scenario-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}.scenario-taxonomy{position:sticky;top:16px;width:auto;height:auto;max-height:calc(100vh - 32px);overflow:auto;background:white;color:inherit;display:block;padding:10px;border:1px solid #dce4e6;border-radius:8px}.scenario-taxonomy ul{list-style:none;margin:0;padding:0}.scenario-taxonomy ul ul{padding-left:12px;border-left:1px solid #e1e8ea;margin-left:7px}.scenario-taxonomy button{width:100%;display:flex;justify-content:space-between;gap:8px;text-align:left;padding:9px 7px;background:transparent;font-size:12px;white-space:normal}.scenario-taxonomy small{white-space:nowrap;color:var(--text-secondary);font-size:10px}.scenario-taxonomy button.active{background:#e5f5ee;color:#126d54}.scenario-content{min-width:0}.scenario-breadcrumb{font-size:12px}.scenario-domain{display:block;overflow-wrap:anywhere;color:#176e58}.scenario-assessment{padding:14px;background:#e7f5ee;border-radius:6px}.scenario-assessment.bad{background:#fcefeb}.scenario-assessment p{margin:6px 0}.scenario-batch,.scenario-capabilities{padding:16px;margin:18px 0}.scenario-batch>summary,.scenario-capabilities>summary{cursor:pointer;font-weight:600}.scenario-detail .toolbar input[type=number]{max-width:120px}
@media(max-width:1100px){.scenario-layout{grid-template-columns:190px minmax(0,1fr)}}@media(max-width:800px){.scenario-layout{grid-template-columns:minmax(0,1fr)}.scenario-taxonomy{position:static;max-height:300px}.scenario-overview{grid-template-columns:1fr}.scenario-overview button{padding:12px}}

.console-topbar .refresh-timestamp{display:inline-block;min-width:calc(3em + 9ch);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}

.resource-group{border:1px solid #dce4e6;border-radius:8px;margin:22px 0;padding:16px;min-width:0}.resource-group legend{font-weight:600;padding:0 8px}.resource-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}.resource-fields small{line-height:1.5;color:var(--text-secondary)}.resource-group .hint{margin-top:0}.resource-settings .toolbar{margin-bottom:0}

.database-page{display:grid;gap:22px;min-width:0}.database-page>section{min-width:0;margin:0}.database-page .section-head h3{margin:0}.database-page .section-head{flex-wrap:wrap}.database-page h4{margin:0;font-size:12px;font-weight:600;color:var(--text-secondary)}.database-page .database-details{margin:22px 0;gap:28px}.database-page .database-details>div{min-width:0}.database-page .database-details dl{margin:16px 0 0;gap:12px}.database-retention{border-top:1px solid #edf1f2;padding-top:20px}.database-page .database-counts{border:0;padding:0;margin-top:18px;gap:20px}.database-page .database-counts strong{font-size:22px;font-variant-numeric:tabular-nums}.database-page .database-summary>.hint{margin-bottom:0}.database-section-head{padding:20px 22px;border-bottom:1px solid #edf1f2}.database-page .toolbar{margin:20px 22px}.database-browser>.hint{margin:0 22px 18px}.database-loading{padding:0 22px 16px;font-size:12px}.database-result-head{padding:0 22px 16px}.database-browser>.pagination{padding:0 22px;margin:18px 0}.database-page .table-wrap{border-top:1px solid #edf1f2;border-bottom:1px solid #edf1f2}
@media(max-width:650px){.database-page{gap:16px}.database-section-head{padding:16px}.database-page .toolbar{margin:16px}.database-browser>.hint{margin:0 16px 16px}.database-result-head{padding:0 16px 14px}.database-browser>.pagination{padding:0 16px}.database-page .database-details{gap:22px}.database-page .database-counts{gap:18px 12px}.database-page .database-counts strong{font-size:20px}}

.resource-shared-context{margin-top:20px}.resource-link{color:#137c64;text-decoration:underline;font-size:12px}
.dig-native-reference{max-height:620px}.dig-native-reference td:first-child{font-family:ui-monospace,monospace;white-space:nowrap}.dig-native-reference td:nth-child(2){min-width:125px}.dig-native-reference td:nth-child(3){min-width:230px}.dig-native-reference :is(input,select){width:100%;min-width:0}.dig-native-reference textarea{min-width:230px}.dig-native-editor{grid-template-columns:minmax(220px,420px)}

 .resolution-config{min-width:0}.resolution-config>.section-head{align-items:center}.resolution-workspace{display:block}.response-workspace,.authoritative-resources{min-width:0}.authoritative-resources .zone-settings{padding:22px;margin:0 0 20px}.authoritative-resources .zone-settings fieldset{border:0;border-top:1px solid #e5ebed;padding:16px 0;margin:18px 0}.authoritative-resources .zone-settings legend{padding-right:10px;font-size:12px;color:var(--text-secondary)}.authoritative-resources .zone-settings label{display:flex;flex-direction:column;gap:8px;margin:0 0 16px;font-size:12px;color:var(--text-secondary)}.authoritative-resources .zone-settings input{width:100%;min-width:0}.response-filters{flex-wrap:wrap}.response-filters>label{min-width:110px}.response-table{min-width:780px}.response-table .response-name{min-width:175px;max-width:270px;overflow-wrap:anywhere}.response-table small{display:block;margin-top:6px;color:var(--text-secondary)}.response-table .value{max-width:340px;white-space:normal;overflow-wrap:anywhere}.response-editor{padding:22px;margin:20px 0}.response-editor>label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.response-editor textarea{width:100%;padding:12px;resize:vertical;border:1px solid #d9e2e5;border-radius:6px;font:13px/1.6 monospace}.resolution-config .scenario-detail{margin-top:20px}@media(max-width:650px){.response-editor,.authoritative-resources .zone-settings{padding:16px}.resolution-config>.section-head{flex-wrap:wrap;gap:12px}.response-filters>label{min-width:100px;flex:1}.response-filters>.grow{flex-basis:100%}}

.authoritative-resources .zone-settings form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.authoritative-resources .zone-settings form>button{grid-column:1/-1;justify-self:start}.authoritative-resources .zone-settings fieldset{min-width:0}@media(max-width:650px){.authoritative-resources .zone-settings form{display:block}}

/* Scenario taxonomy: disclosure navigation with a separate selection action. */
.resolution-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.scenario-category-tree{display:flex;flex-direction:column;margin:0;color:#192c34;position:sticky;top:20px;padding:18px;max-height:calc(100vh - 120px);overflow:hidden;min-width:0}
.category-tree-header{flex:none}.category-tree-scroll{min-height:0;overflow:auto}
.scenario-category-tree .section-head h3{margin:0}.category-tree-tools{display:flex;gap:8px;margin:14px 0}.scenario-category-tree .category-tree-tools button{padding:6px 8px;font-size:11px;color:var(--text-secondary);background:#eef2f3}
.scenario-category-tree ul{list-style:none;padding:0;margin:0}.scenario-category-tree li>ul{margin-left:12px;padding-left:8px;border-left:1px solid #e1e9e7}
.scenario-category-row{display:flex;align-items:stretch;min-width:0;border-radius:5px;margin:3px 0}
.scenario-category-tree button{font-size:12px}.scenario-category-tree .category-disclosure,.category-leaf{width:24px;flex:0 0 24px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--text-secondary)}
.scenario-category-tree .category-select{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;padding:9px 6px;border:0;background:transparent;text-align:left;color:inherit;white-space:normal}
.category-select>span:first-child{overflow-wrap:anywhere}.category-count{font-size:11px;color:var(--text-secondary);font-variant-numeric:tabular-nums;flex-shrink:0}
.scenario-category-tree .category-all{display:flex;justify-content:space-between;width:100%;padding:10px 8px;margin-bottom:10px;text-align:left;border:0;background:transparent}
.scenario-category-row:hover,.scenario-category-tree .category-all:hover{background:#f3f7f5}.scenario-category-row.selected,.scenario-category-tree .category-all.selected{background:#e8f5ef;color:#137c64;font-weight:600}
@media(max-width:1100px){.resolution-workspace{grid-template-columns:240px minmax(0,1fr);gap:16px}}
@media(max-width:800px){.resolution-workspace{grid-template-columns:minmax(0,1fr)}.scenario-category-tree{position:static;max-height:360px}.scenario-category-tree button{flex:initial}.scenario-category-tree .category-select{flex:1}.scenario-category-tree .category-disclosure{flex:0 0 24px}}

.history-result{border-top:1px solid #e5ebed;margin-top:24px;padding-top:20px;min-width:0}.history-result>label{display:flex;flex-direction:column;gap:8px}.history-result select{max-width:100%}.dig-history>.section-head{flex-wrap:wrap;gap:12px}.dig-history .value{max-width:300px;overflow-wrap:anywhere;white-space:normal}

.history-result>.section-head{flex-wrap:wrap;align-items:flex-start;gap:12px}.history-result>.section-head h3{flex:1 1 220px;min-width:0;overflow-wrap:anywhere;line-height:1.6}.history-result>.section-head button{flex:none;white-space:nowrap}.history-result .dig-output{max-width:100%;min-width:0}.history-result select{width:100%;min-width:0}

.dig-switch-reference{max-width:100%;overflow:auto}.dig-switch-reference table{min-width:760px;table-layout:fixed;width:100%}.dig-switch-reference th:nth-child(1){width:19%}.dig-switch-reference th:nth-child(2){width:20%}.dig-switch-reference th:nth-child(3){width:34%}.dig-switch-reference th:nth-child(4){width:27%}.dig-switch-reference td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.dig-switch-reference :is(input,select,textarea){width:100%;min-width:0;max-width:100%}.dig-switch-reference textarea{font:12px/1.6 ui-monospace,monospace;padding:10px;border:1px solid #d5dfe2;border-radius:5px;resize:vertical}.dig-switch-reference td>label+label{margin-top:12px}.dig-switch-reference td>label{min-width:0}.dig-switch-reference td:first-child{font-family:ui-monospace,monospace}

.dig-preview{margin-top:24px;min-width:0}.dig-preview h3{margin:0}.dig-preview-command{min-width:0;margin-top:16px}.dig-preview-command pre{max-width:100%;margin:10px 0 0;padding:14px;background:#f5f8f9;border:1px solid #e3e9eb;border-radius:6px;font:12px/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:240px}.dig-preview>.section-head{flex-wrap:wrap}.dig-preview-command .section-head{gap:10px}.dig-preview button{font-size:12px}

/* Keep both dig parameter tables aligned; scrolling is confined to narrow screens. */
.dig-native-reference table{width:100%;min-width:760px;table-layout:fixed}
.dig-native-reference th:nth-child(1){width:19%}
.dig-native-reference th:nth-child(2){width:20%}
.dig-native-reference th:nth-child(3){width:34%}
.dig-native-reference th:nth-child(4){width:27%}
.dig-native-reference td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.dig-native-reference td:first-child{white-space:normal}
.dig-native-reference td:nth-child(3),.dig-native-reference textarea{min-width:0}
.dig-native-reference textarea{width:100%;max-width:100%}
.systemd-manager{min-width:0}.systemd-manager>.alert{margin-bottom:20px}.systemd-table{min-width:950px}.systemd-table td:nth-child(2){white-space:normal;min-width:180px;max-width:340px;overflow-wrap:anywhere}.systemd-dialog{width:min(960px,calc(100vw - 32px))}.systemd-dialog dd{overflow-wrap:anywhere}.systemd-logs{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;background:#f5f8f9;border:1px solid #e3e9eb;border-radius:6px;padding:16px;font:12px/1.7 ui-monospace,monospace}

.dns-servers{min-width:0}.dns-servers>.section-head{flex-wrap:wrap;gap:12px}.dns-servers>.section-head .toolbar{margin:0}.dns-server-editor,.dns-server-probe{padding:22px;margin:20px 0}.dns-server-note{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:12px;color:var(--text-secondary)}.dns-server-delete{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dns-servers>.toolbar{flex-wrap:wrap}.dns-servers>.toolbar>label{min-width:140px}.dns-server-table{min-width:1120px}.dns-server-table th,.dns-server-table td{white-space:nowrap;vertical-align:middle}.dns-server-table .dns-server-name{min-width:120px;max-width:240px;overflow:hidden;text-overflow:ellipsis}.dns-server-inline-note{margin-left:8px}.dns-server-table td:nth-child(2){min-width:150px}.dns-server-table strong{font-weight:500}.dns-server-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.dns-server-latency{font-variant-numeric:tabular-nums}.dns-server-actions{display:inline-flex;align-items:center;gap:2px;flex-wrap:nowrap;white-space:nowrap}.dns-server-table .dns-server-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:26px;padding:4px 6px;border:0;border-radius:6px;background:transparent;color:#286e5b;font-family:inherit;font-size:12px;line-height:18px;text-decoration:none;white-space:nowrap;box-sizing:border-box}.dns-server-actions :is(button,a):hover:not(:disabled){border:0;background:#e7f3ee;color:#126d54}.dns-server-actions button:disabled{color:var(--text-muted);background:transparent;opacity:.5}@media(max-width:650px){.dns-server-editor,.dns-server-probe{padding:16px}.dns-server-probe .form-row>label,.dns-server-editor .form-row>label{width:100%}.dns-servers>.toolbar>.grow{flex-basis:100%}}

.history-detail-dialog .history-result{border-top:0;margin-top:0;padding-top:0}.response-detail-dialog .scenario-detail{padding:0;min-width:0}.response-detail-dialog .section-head{flex-wrap:wrap;gap:12px}.response-detail-dialog code{overflow-wrap:anywhere;white-space:normal}.dig-history tbody tr[tabindex]{cursor:pointer}

.dns-server-source>span,.dns-server-location>span{display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dns-server-source>span{font-family:ui-monospace,monospace}.dns-server-location>span{max-width:106px}

.packet-records{display:flex;flex-direction:column;gap:12px;margin:26px 0}.packet-records>span{font-weight:600}.packet-records-text{display:block;width:100%;min-width:0;max-width:100%;padding:14px;border:1px solid #e5ecee;border-radius:6px;background:#f5f8f9;color:inherit;font:12px/1.65 ui-monospace,monospace;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}.process-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:650px){.process-metrics{grid-template-columns:1fr}.packet-records-text{padding:10px;font-size:11px}}

tr.detail-row{cursor:pointer}tr.detail-row:hover{background:#f1f9f6}tr.detail-row:focus-visible{outline:2px solid #168c70;outline-offset:-2px;background:#edf8f3}
