/* Loaded after each page's legacy styles. Originals stay in the DOM for renderers. */
.audit-shell .audit-legacy-header{display:none!important}
.audit-shell .audit-bar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px 24px;background:linear-gradient(115deg,#0c2342,#1a3a5c);border-bottom:3px solid #daa520;color:#fff;flex:none;position:relative;z-index:3}
.audit-shell .audit-title{min-width:0;flex:0 1 auto}
.audit-shell .audit-title h1{font:800 25px/1.15 'Segoe UI',system-ui,sans-serif;letter-spacing:-.025em;margin:0;display:block;color:#fff}
.audit-shell .audit-title p{font-size:11px;line-height:1.4;color:#e5d29c;margin:4px 0 0}
.audit-shell .audit-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;margin-left:auto;flex:0 0 auto}
.audit-shell .audit-toolbar select,.audit-shell .audit-tv-toggle{box-sizing:border-box;font:700 12px/1.3 'Segoe UI',system-ui,sans-serif;min-height:36px;max-width:100%;border:1px solid #7890a7;border-radius:8px;padding:8px 11px;background:#17364f;color:#fff;cursor:pointer;touch-action:manipulation}
.audit-shell .audit-toolbar select:disabled{opacity:.65;cursor:help}
.audit-shell .audit-toolbar option{background:#17364f;color:white}
.audit-shell .audit-tv-toggle{display:inline-flex;align-items:center;justify-content:center;background:#f2d27a;border-color:#f2d27a;color:#0c2342;text-decoration:none;white-space:nowrap}
.audit-shell .audit-toolbar :focus-visible{outline:3px solid #75dded;outline-offset:3px}
.audit-shell.audit-gauges:not(.audit-tv) #stats{margin:20px 0 24px}
.audit-shell.audit-water:not(.audit-tv) .summary{margin:20px 0 26px}
.audit-shell.audit-tv .audit-bar{padding:10px 2.4vw;border-bottom-width:2px}
.audit-shell.audit-tv .audit-title h1{font-size:26px}
.audit-shell.audit-water.tv .tvhead{padding:8px 2.4vw;min-height:0;flex:none;white-space:normal}
.audit-shell.audit-water.tv .tvhead h1{display:none}
.audit-shell.audit-water.tv .tvhead .right{width:100%;justify-content:space-between;font-size:14px;gap:12px;flex-wrap:wrap}
.audit-shell.audit-water.tv .tvhead .right b{font-size:20px}
.audit-shell.audit-water.tv .lab{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px}
.audit-shell.audit-water.tv .tube-card svg.tube{height:min(16vh,170px)}
.audit-shell.audit-water.tv .tube-card .nm,.audit-shell.audit-water.tv .lab.dense .nm{font-size:21px}
.audit-shell.audit-water.tv .tube-card .big,.audit-shell.audit-water.tv .lab.dense .big{font-size:46px}
.audit-shell.audit-water.tv .tube-card .meta,.audit-shell.audit-water.tv .lab.dense .meta{font-size:14px}
@media(max-width:1100px){.audit-shell .audit-bar{flex-wrap:wrap;gap:12px}.audit-shell .audit-toolbar{flex-wrap:wrap}.audit-shell .audit-title h1{font-size:23px}}
@media(max-width:650px){.audit-shell .audit-bar{padding:14px 16px}.audit-shell .audit-title{width:100%}.audit-shell .audit-toolbar{width:100%;justify-content:flex-start;margin-left:0;gap:6px}.audit-shell .audit-toolbar select{flex:1 1 40%;min-width:0;width:40%;font-size:11px}.audit-shell .audit-tv-toggle{flex:1 1 40%;font-size:11px}.audit-shell.audit-tv{height:auto;min-height:100vh;overflow:auto}.audit-shell.audit-water.tv .lab{grid-template-columns:repeat(2,minmax(0,1fr))!important}.audit-shell.audit-water.tv .tube-card{min-height:190px}.audit-shell.audit-water.tv .tube-card .nm{font-size:14px}.audit-shell.audit-water.tv .tube-card .meta{font-size:11px}.audit-shell.audit-water.tv .tube-card .big{font-size:30px}}

.audit-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.audit-table-scroll:focus-visible{outline:3px solid #22a6be;outline-offset:3px}

@media(max-width:600px){body.audit-water:not(.audit-tv) .lab{grid-template-columns:minmax(0,1fr)}body.audit-water .tube-card{min-width:0}}

@media(max-width:480px){body.audit-tv[data-tracker] .locations{grid-template-columns:minmax(0,1fr)}}
