:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;font-variant-numeric:tabular-nums;color:#253c4f;background:#f2f6fa;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}a{color:#1279a4}main{max-width:1480px;margin:0 auto;padding:28px 24px 40px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 22px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em;color:#6b8292;margin:0 0 7px}h1{font-size:27px;margin:0 0 9px;letter-spacing:.025em}header p{margin:0;color:#728797;font-size:13px;line-height:1.7}.back{flex:none;border:1px solid #cddce6;border-radius:9px;background:#fff;padding:10px 14px;text-decoration:none;font-size:12px}.panel{border:1px solid #d9e4ec;border-radius:13px;background:#fff;box-shadow:0 3px 16px #25475504}.scope{padding:18px 21px}.scope-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.scope h2{font-size:16px;margin:0;font-weight:650}.scope h2 strong{color:#117da6;font-size:24px;padding:0 6px}.badge{font-size:11px;padding:5px 9px;border-radius:6px;color:#3b7867;background:#ecf6f1;white-space:nowrap}.scope p{font-size:12px;color:#6a8091;line-height:1.8;margin:10px 0 0}.scope b{color:#385d73;font-weight:600}summary{font-size:12px;color:#3f6f88;cursor:pointer;line-height:1.7}.scope details{margin-top:11px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.summary article{padding:16px 19px;min-width:0}.summary span{display:block;font-size:11px;color:#738997}.summary strong{display:block;font-size:25px;color:#2b5b73;line-height:1.4;margin:5px 0}.summary small{font-size:10px;color:#8193a0;line-height:1.7;display:block;overflow-wrap:anywhere}.workbench{padding:20px;min-width:0}.list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.list-heading h2{font-size:17px;margin:0 0 7px}.list-heading p{font-size:11px;color:#7a8d9b;margin:0;line-height:1.8;overflow-wrap:anywhere}.check{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#627e91;font-size:12px}.check input{accent-color:#147eaa;width:15px;height:15px}.controls{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:15px;background:#f7fafc;border-radius:9px;border:1px solid #e2eaf0}.controls label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#627c8d;min-width:0}.controls select{max-width:190px}.controls input,.controls select,.secondary-controls input,.secondary-controls select{height:36px;border:1px solid #ccdbe5;border-radius:7px;background:#fff;color:#2e5268;padding:5px 9px;font-size:12px;min-width:0;max-width:100%}button{min-height:35px;border:1px solid #cddce6;border-radius:7px;background:#fff;color:#38617a;font-size:12px;padding:6px 12px;cursor:pointer}button:hover:not(:disabled){border-color:#7aa6bd;background:#f7fbfd}button:disabled{opacity:.45;cursor:default}button.primary{background:#117da8;border-color:#117da8;color:#fff;font-weight:650}button.primary:hover:not(:disabled){background:#086d96}.control-actions{display:flex;gap:7px;margin-left:auto}.secondary-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.secondary-controls label{display:flex;align-items:center;gap:6px;font-size:11px;color:#6c8293}.secondary-controls select{height:32px}.secondary-controls input{height:32px}.secondary-controls input[type=number]{width:75px}.search-label{flex:1;min-width:200px}.search-label input{flex:1;width:100%}.secondary-controls>button{font-size:11px;min-height:32px}.status{font-size:12px;color:#5f8197;line-height:1.8;margin:10px 0}.status[data-error=true]{color:#b54c4b}.snapshot{padding:9px 11px;border:1px solid #e6d9b7;border-radius:7px;font-size:11px;color:#957342;background:#fff9ed;line-height:1.7}.table-scroll{border:1px solid #dce6ed;border-radius:9px;overflow:auto;max-height:72vh;scrollbar-gutter:stable;overscroll-behavior:contain}table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap;text-align:right;font-size:12px;line-height:1.65}.table-scroll table{min-width:1120px}th{position:sticky;top:0;z-index:2;background:#f0f6fa;color:#627e91;font-size:11px;font-weight:650;padding:12px 13px;border-bottom:1px solid #dbe5ed}td{padding:12px 13px;border-bottom:1px solid #e8eef3;color:#486071;background:#fff}tr:nth-child(even) td{background:#fbfcfe}th:first-child,td:first-child{text-align:left;position:sticky;left:0;box-shadow:1px 0 #e1e9f0}th:first-child{z-index:3}td:first-child{min-width:275px;max-width:335px;white-space:normal;z-index:1}td:first-child strong{font-size:12px;color:#365e77;font-weight:600}.rule-id{font-size:10px;color:#94a3ae;display:block;margin-bottom:3px}.rule-values{display:block;color:#78909f;font-size:11px;max-width:310px;line-height:1.7;overflow-wrap:anywhere}.hit{color:#238668;font-weight:650}.miss{color:#c2615d;font-weight:650}.zero{color:#a0adb7}.empty{text-align:center!important;color:#8296a5!important;padding:50px 15px!important;position:static!important}.pager{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:15px;color:#7a8f9f;font-size:11px}.pager>div{display:flex;gap:7px}.footer-note{font-size:11px;line-height:1.8;color:#8597a4;margin:16px 2px 0}.muted{font-size:11px;color:#8a9aa6;line-height:1.8}dialog{width:min(940px,calc(100vw - 28px));max-height:88vh;overflow:auto;border:1px solid #cddde7;border-radius:14px;padding:23px;color:#2f4e63;box-shadow:0 15px 80px #183b5533}dialog::backdrop{background:#1c344c66}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dialog-head h2{font-size:19px;margin:0}.dialog-head .eyebrow{font-size:10px;overflow-wrap:anywhere}.close{font-size:24px;padding:0;width:34px;height:34px;min-height:34px;line-height:1;flex:none}.condition{font-size:13px;font-weight:600;line-height:1.9;color:#2d627e;background:#f2f8fc;border:1px solid #d9e8f1;padding:12px;border-radius:8px;overflow-wrap:anywhere}.detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0}.detail-stats>div{background:#f7fafc;padding:11px;border-radius:7px;min-width:0}.detail-stats span{font-size:10px;color:#7c919f;display:block;line-height:1.6}.detail-stats strong{font-size:18px;display:block;line-height:1.6;overflow-wrap:anywhere}#codesDetails{border:1px solid #dce7ee;border-radius:8px;padding:12px;margin:15px 0}textarea{width:100%;resize:vertical;display:block;background:#f9fbfd;border:1px solid #d4e1eb;border-radius:6px;padding:10px;color:#3b657f;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;margin:11px 0}#copyStatus{font-size:11px;color:#6d8b9d;margin-left:9px}dialog h3{font-size:14px;margin:22px 0 9px}.detail-table-scroll{max-height:390px;overflow:auto;border:1px solid #dce6ed;border-radius:8px}.detail-table-scroll table{min-width:460px}.detail-table-scroll td:first-child{position:static;min-width:0;box-shadow:none}.detail-table-scroll td small{font-size:10px;color:#8c9fac;display:block}.distribution{display:grid;grid-template-columns:1fr 1fr;gap:13px}.distribution>div{border:1px solid #e1eaf0;border-radius:8px;overflow:auto;max-height:250px}.distribution table{font-size:11px}.distribution th,.distribution td{padding:6px 10px}.distribution td:first-child{position:static;min-width:0;box-shadow:none}.distribution h4{font-size:12px;padding:10px 12px;margin:0;background:#f3f8fb}.distribution-empty{padding:16px;color:#8195a4;font-size:11px}:focus-visible{outline:2px solid #208db6;outline-offset:3px}[hidden]{display:none!important}@media(max-width:900px){.summary{gap:8px}.summary article{padding:13px}.controls{gap:10px}.control-actions{margin-left:0}.secondary-controls{gap:9px}}@media(max-width:600px){main{padding:18px 10px 28px}header{gap:10px;align-items:flex-start}h1{font-size:23px}header p{font-size:11px}.eyebrow{font-size:10px}.back{font-size:10px;padding:8px;max-width:90px;text-align:center}.scope{padding:14px 12px}.scope h2{font-size:14px}.scope h2 strong{font-size:21px;padding:0 3px}.badge{font-size:9px;padding:5px}.scope p,summary{font-size:11px}.summary{grid-template-columns:1fr 1fr}.summary strong{font-size:21px}.summary span{font-size:10px}.summary small{font-size:9px}.workbench{padding:13px 9px}.list-heading{flex-direction:column;gap:10px}.list-heading h2{font-size:16px}.list-heading p{font-size:10px}.check{font-size:11px}.controls{padding:10px;gap:10px}.controls>label{flex:1 1 42%}.controls select{width:100%;max-width:100%}.controls input{width:100%}.control-actions{width:100%}.control-actions button{flex:1}.secondary-controls{gap:8px}.secondary-controls .search-label{width:100%;flex-basis:100%;min-width:0}.secondary-controls>button{width:100%}.table-scroll{max-height:70vh}.table-scroll table{min-width:1050px}td:first-child{min-width:220px;max-width:230px}td,th{padding:10px}.rule-values{font-size:10px}.status,.snapshot{font-size:11px}.pager{font-size:10px;gap:9px}.pager button{font-size:11px;padding:6px 9px}dialog{padding:15px 11px;width:calc(100vw - 16px);max-height:92vh}.dialog-head h2{font-size:17px}.condition{font-size:12px;padding:10px}.detail-stats{grid-template-columns:1fr 1fr;gap:7px}.distribution{grid-template-columns:1fr}.footer-note{font-size:10px}}

.max-intervals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.max-intervals details{padding:10px;border:1px solid #e0e9ef;border-radius:7px;min-width:0}.max-intervals p{font-size:11px;color:#7a91a1;line-height:1.8;margin:5px 0;overflow-wrap:anywhere}@media(max-width:600px){.max-intervals{grid-template-columns:1fr}}
/* Keep a reachable action column beside the frozen rule column on phones. */
@media(max-width:600px){.table-scroll td:first-child,.table-scroll th:first-child{width:160px;min-width:150px;max-width:160px}.table-scroll .rule-id{max-width:140px;overflow-wrap:anywhere}.table-scroll .rule-values{max-width:140px}}

.job-status{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:13px 15px;border:1px solid #d7e7ee;border-radius:9px;background:#f2f9fc;margin:12px 0}.job-status>div{flex:1;min-width:160px}.job-status strong{display:block;font-size:12px;color:#32667e;line-height:1.8}.job-status span{display:block;font-size:11px;line-height:1.8;color:#718d9e}.job-status progress{width:150px;height:8px;accent-color:#1985aa}.job-status button{font-size:11px}@media(max-width:600px){.job-status{padding:11px;gap:8px}.job-status>div{flex-basis:100%}.job-status progress{flex:1;min-width:0}.controls #family{max-width:100%}}
