.batch-analysis[hidden]{display:none}.batch-analysis{scroll-margin-top:20px;min-width:0}.batch-analysis h2{color:#fff;font-size:27px}.batch-analysis h3{font-size:19px;margin:24px 0 15px}.batch-analysis h4{font-size:13px;margin:0 0 12px}.batch-analysis .tab-heading{margin-top:0}.batch-analysis label{display:block;min-width:0}.batch-analysis input:not([type=checkbox]),.batch-analysis select,.batch-analysis textarea{font:inherit;display:block;width:100%;min-width:0;padding:10px;border:1px solid #bfd1e3;border-radius:7px;color:#224763;background:#fff;margin-top:7px}.batch-analysis select{height:auto;min-height:44px}.batch-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.batch-analysis details{margin:15px 0}.batch-analysis pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;padding:12px;background:#f5f8fc}.batch-analysis .batch-table{border:1px solid #d9e5f0;border-radius:8px;overflow:auto;max-height:340px;margin:16px 0}.batch-table table{border-collapse:collapse;width:100%;font-size:12px}.batch-table th,.batch-table td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid #e1eaf3}.batch-table th{background:#edf4fc;position:sticky;top:0}.batch-table input[type=checkbox]{width:18px;height:18px}.batch-table button{font-size:12px;white-space:nowrap}.batch-actions,.batch-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.batch-top-actions{justify-content:space-between}.batch-analysis .button-link{min-height:44px}.batch-configuration{padding:20px;background:#f5f9fd;border:1px solid #dce7f2;border-radius:12px;margin-top:20px}.batch-job-state{display:inline-block;font-size:12px;font-weight:700;background:#e7f0fc;color:#205780;padding:7px 12px;border-radius:6px}.batch-analysis progress{display:block;width:100%;height:10px;accent-color:#1767c8}.batch-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.batch-metrics>div{padding:16px;border:1px solid #d6e5f1;border-top:3px solid #4b8abb;border-radius:9px;background:#f6faff}.batch-metrics span{display:block;font-size:11px;color:#4a687f}.batch-metrics strong{display:block;font-size:24px;color:#174d72;margin-top:7px}.batch-warning{padding:12px;background:#fff5e6;color:#6b4614;border-left:3px solid #b47c24}.batch-charts,.batch-run-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.batch-chart,.batch-run-card{min-width:0;padding:18px;border:1px solid #dce7f2;border-radius:10px;background:#fafcfe}.batch-bar{display:grid;grid-template-columns:minmax(85px,1fr) minmax(50px,1fr) 42px;gap:8px;align-items:center;margin:12px 0;font-size:11px}.batch-bar meter{width:100%;height:14px}.batch-bar strong{text-align:right}.batch-analysis :focus-visible{outline:3px solid #196fc1;outline-offset:3px}.batch-analysis .rule-diff select{max-width:100%}.batch-analysis textarea{resize:vertical}.batch-history{margin-bottom:20px}
@media(max-width:1100px){.batch-form-grid,.batch-metrics{grid-template-columns:1fr 1fr}}@media(max-width:650px){.batch-form-grid,.batch-charts,.batch-run-grid{grid-template-columns:1fr}.batch-configuration{padding:14px}.batch-metrics{gap:8px}.batch-metrics>div{padding:12px}.batch-metrics strong{font-size:21px}.batch-analysis h2{font-size:23px}.batch-analysis .tab-heading{padding:18px}}

.canonical-requirement{border-top:1px solid #dce6ef;margin-top:18px;padding-top:14px}.canonical-requirement h5{font-size:15px;margin:0 0 8px}#canonical-comparison .batch-metrics{margin-top:16px}#canonical-comparison textarea{box-sizing:border-box;width:100%;max-width:100%;font-family:monospace}

.analytics-page #analytics-experiments{color:#174d72;font-size:23px;margin:0 0 16px}.analytics-page #batch-analysis{margin-top:22px}

.mapping-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.mapping-three>section{min-width:0;background:#f2f7fc;border:1px solid #d7e3ef;padding:14px;border-radius:8px}.mapping-three h5,.mapping-verified h5{font-size:15px;margin:0 0 12px}.mapping-policy-list>div,.mapping-rule-list>div{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e0e9f2;min-width:0}.mapping-rule-list{max-height:300px;overflow:auto}.mapping-rule-list button{flex:1;text-align:left}.mapping-rule-list span{font-size:11px}.mapping-three blockquote{margin:12px 0;padding:10px;border-left:3px solid #649ccc;font-size:12px}.mapping-workspace{margin-bottom:20px}.mapping-verified{border-top:1px solid #d3e2ef;margin-top:20px;padding-top:18px}@media(max-width:1100px){.mapping-three{grid-template-columns:1fr}.mapping-policy-list>div{align-items:flex-start;flex-direction:column}}

.batch-analysis .analytics-panel{border:1px solid #d6e3f0;border-radius:12px;background:#fff;padding:0;margin:18px 0;min-width:0}.analytics-panel>summary{padding:18px 20px;font-size:19px;font-weight:700;color:#174d72;cursor:pointer;background:#f2f7fc;border-radius:12px}.analytics-panel[open]>summary{border-bottom:1px solid #d6e3f0;border-radius:12px 12px 0 0}.analytics-panel> :not(summary){margin-left:20px;margin-right:20px}.analytics-panel> :last-child{margin-bottom:20px}@media(max-width:650px){.analytics-panel>summary{padding:16px}.analytics-panel> :not(summary){margin-left:12px;margin-right:12px}}

.difference-policy-list>div{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #dce7f2;flex-wrap:wrap}.difference-policy-list span{flex:1;min-width:160px}.difference-policy-list strong{font-size:11px}.rule-difference-panel blockquote{margin:12px 0;padding:12px;border-left:3px solid #5898ce;background:#f2f7fc}.difference-finding,.difference-conflict{padding:12px;border:1px solid #dce7f2;border-radius:8px}.difference-finding>summary,.difference-conflict>summary{font-weight:700;cursor:pointer}.difference-overview .batch-actions label,.rule-difference-panel .batch-actions label{flex:1;max-width:400px}

/* Test runs: management card aligned with the analytics overview. */
.analytics-page #batch-analysis{margin:0 0 20px;padding:0;border:0;background:transparent;box-shadow:none}.analytics-page #batch-notice{font-size:12px;color:#3f627d;margin:0 0 10px}.analytics-page #batch-notice:empty{display:none}.batch-analysis .test-runs{margin:0 0 18px;border-color:#d9e7f2;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fbfe);box-shadow:0 3px 12px #1b577b04}.test-runs>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:20px 22px;background:linear-gradient(110deg,#f2f8ff,#f7fcfb);color:#173f5d}.test-runs>summary::-webkit-details-marker,.run-compose>summary::-webkit-details-marker{display:none}.test-runs>summary::after,.run-compose>summary::after{content:'';height:7px;width:7px;flex-shrink:0;border-right:1.8px solid #527993;border-bottom:1.8px solid #527993;transform:rotate(45deg);margin-left:8px;transition:transform .15s}.test-runs[open]>summary::after,.run-compose[open]>summary::after{transform:rotate(225deg)}.run-heading-icon,.run-section-icon{display:inline-grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:9px;background:#e7f1ff;color:#2673df}.run-heading-icon svg{width:23px;height:23px}.run-heading-copy{flex:1;min-width:0}.run-heading-copy strong{display:block;font-size:17px;color:#173f5d;line-height:1.4}.run-heading-copy small{display:block;font-weight:400;color:#496b83;font-size:11px;line-height:1.5;margin-top:3px}.run-count,.run-selection-count{font-size:10px;font-weight:600;background:#eaf6f3;color:#157762;border:1px solid #d4ebe3;border-radius:20px;padding:5px 10px;white-space:nowrap}.run-toolbar{display:flex;align-items:end;gap:18px;padding:20px 0}.run-toolbar .batch-history{flex:1;max-width:680px;margin:0}.run-toolbar label{font-size:11px;font-weight:600;color:#365c78}.run-toolbar-actions{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.run-toolbar-actions button{display:inline-flex;align-items:center;gap:7px;font-size:11px;min-height:42px;padding:9px 12px;white-space:nowrap;border-color:#ccdfed;background:#fff;color:#285b80}.run-toolbar-actions svg{height:15px;width:15px}.batch-analysis .run-compose{margin-top:0;margin-bottom:20px;padding:0;border:1px solid #dce8f2;border-radius:10px;background:#fff;overflow:hidden}.run-compose>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:16px 18px;background:#f7fbff;min-height:65px}.run-compose>summary>span:nth-child(2){flex:1;min-width:0}.run-compose>summary strong{display:block;font-size:14px;color:#204963}.run-compose>summary small{display:block;font-size:11px;font-weight:400;color:#496b83;margin-top:3px}.run-compose .run-section-icon{color:#118975;background:#e3f6ef;width:31px;height:31px}.run-section-icon svg{height:19px;width:19px}.run-compose[open]>summary{border-bottom:1px solid #deebf4}.batch-analysis .test-runs .batch-configuration{padding:20px;border:0;border-radius:0;background:#fff;margin:0}.batch-analysis .run-section-title{display:flex;align-items:center;gap:8px;font-size:13px;margin:0;color:#214863}.run-section-title .run-section-icon{height:28px;width:28px;background:#eaf2ff;color:#2673df;border-radius:7px}.run-section-title .run-section-icon svg{width:17px;height:17px}.run-settings-grid{grid-template-columns:1.2fr 1fr;max-width:760px;margin:12px 0 24px}.run-policy-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e5edf5;padding-top:20px}.run-selection-count{background:#edf5ff;border-color:#dce8f5;color:#2464a4}.test-runs .batch-form-grid label,.test-runs .batch-configuration>label{font-size:11px;font-weight:500;color:#365c78}.test-runs .batch-configuration input:not([type=checkbox]),.test-runs select{border-color:#ccdfed;border-radius:6px;font-size:12px;min-height:42px;background:#fcfeff}.test-runs .batch-configuration input::placeholder{color:#58768c;opacity:1}.run-picker-actions{margin:12px 0}.run-picker-actions button{font-size:11px;min-height:36px;padding:7px 12px;border-color:#ccdfed}.run-picker-actions button:first-child{background:#edf5ff;border-color:#c5dcf1;color:#1f5d96}.run-picker-actions button:last-child{margin-left:auto}.test-runs .hint{font-size:10px;color:#527087;margin:8px 0}.test-runs .batch-table{border-color:#dce8f2;border-radius:8px;margin:12px 0;max-height:280px}.test-runs .batch-table table{font-size:11px}.test-runs .batch-table th{background:#f0f6fc;font-size:10px;color:#466982;z-index:1}.test-runs .batch-table td{vertical-align:middle;background:#fff;color:#355b76}.test-runs .batch-table tbody tr:hover td{background:#f7fbff}.test-runs .batch-table tr:has(input:checked) td{background:#edf7ff}.test-runs input[type=checkbox]{accent-color:#1872d6;width:16px;height:16px}.batch-analysis .run-options{margin:16px 0;padding:12px 0;border-top:1px solid #e3edf5}.run-options>summary{font-size:11px;color:#365f7c}.run-options .batch-form-grid{margin:12px 0}.run-prepare{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #dce8f2;margin:20px -20px -20px;padding:16px 20px;background:linear-gradient(110deg,#f6faff,#f4fbf8)}.run-prepare p{margin:0;font-size:11px;font-weight:600;color:#436680}.run-prepare button{display:inline-flex;align-items:center;gap:8px;font-size:12px;background:#096bd7;box-shadow:0 3px 7px #0868d51a}.run-prepare svg{width:15px;height:15px}.test-runs :focus-visible{outline:3px solid #1871cf;outline-offset:3px}@media(max-width:850px){.run-toolbar{flex-wrap:wrap;gap:12px}.run-toolbar .batch-history{max-width:none;flex-basis:100%}.run-toolbar-actions{margin-left:0}.run-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.test-runs>summary{padding:16px 14px;gap:9px}.run-heading-copy strong{font-size:15px}.run-heading-copy small{font-size:10px}.run-heading-icon{width:32px;height:32px}.run-count{padding:4px 7px;font-size:9px}.test-runs> :not(summary){margin-left:12px;margin-right:12px}.batch-analysis .test-runs .batch-configuration{padding:14px}.run-settings-grid,.run-filters{grid-template-columns:minmax(0,1fr);gap:12px}.run-prepare{flex-direction:column;align-items:stretch;margin:18px -14px -14px;padding:14px}.run-prepare button{justify-content:center}.run-picker-actions{gap:6px}.run-picker-actions button{font-size:10px;padding:7px 8px}.run-picker-actions button:last-child{margin-left:0}.run-compose>summary{padding:14px 12px}.run-options .batch-form-grid{grid-template-columns:1fr}.run-toolbar-actions button{font-size:10px}.run-prepare p{text-align:center}}@media(prefers-reduced-motion:reduce){.test-runs>summary::after,.run-compose>summary::after{transition:none}}

.batch-analysis .test-runs>.run-action-tools{margin-top:-8px;margin-bottom:16px}.run-action-tools:empty{display:none}.run-action-tools .batch-actions{gap:7px;margin:0;flex-wrap:wrap}.run-action-tools .button-link,.run-action-tools button{min-height:32px;padding:6px 10px;font-size:10px;border:1px solid #d2e2ee;border-radius:6px;background:#fff;color:#315e7e;text-decoration:none;display:inline-flex;align-items:center}.run-action-tools .primary{background:#096bd7;color:#fff;border-color:#096bd7}.run-action-tools .batch-warning{font-size:11px;margin:0 0 12px;border-radius:5px}
