/* District weekly audit — White Horse V4.13.2 preview */
.whda-page-heading{margin-bottom:16px}
.whda-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.whda-preview-chip{background:#eff4f1;border:1px solid #d5e9dc;border-radius:30px;color:#398060;font-size:10px;font-weight:700;letter-spacing:.7px;padding:9px 12px}
.whda-safe-banner{display:flex;align-items:center;gap:14px;padding:15px 18px;background:#f4f8f5;border:1px solid #d9e8de;color:#587364;border-radius:10px;margin-bottom:22px;font-size:12px;line-height:1.6}
.whda-safe-banner strong{color:#196748;white-space:nowrap}
.whda-tabs{display:flex;gap:22px;border-bottom:1px solid #dfe8e2;margin-bottom:24px}
.whda-tabs button{border:0;border-bottom:3px solid transparent;padding:14px 3px;min-height:44px;background:none;color:#75837a;font-size:13px;font-weight:600}
.whda-tabs button.selected{color:#116749;border-bottom-color:#167553}
.whda-tabs span{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;margin-left:6px;padding:2px 7px;background:#edf2ee;font-size:10px}
.whda-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;align-items:start;gap:22px;margin-bottom:38px}
.whda-form{min-width:0;display:grid;gap:16px}
.whda-card,.whda-side-card{background:#fff;border:1px solid #e0e9e4;border-radius:12px;box-shadow:0 2px 7px #10372008}
.whda-card{padding:22px 24px}
.whda-card-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:21px;position:relative}
.whda-card-head h2{font-size:16px;color:#263d31;font-weight:700;letter-spacing:-.2px;margin:0 0 5px}
.whda-card-head p{font-size:11px;color:#7d8b82;line-height:1.6;max-width:540px}
.whda-card-head .button{margin-left:auto}
.whda-number{width:29px;height:29px;border-radius:8px;background:#e9f3ec;color:#1c7655;display:grid;place-items:center;font-size:11px;font-weight:800;flex-shrink:0}
.whda-goal{margin-left:auto;background:#eef6f0;color:#26744e;padding:8px 11px;font-size:10px;font-weight:700;border-radius:30px;white-space:nowrap}
.whda-fields{display:grid;gap:16px 17px}
.whda-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.whda-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.whda-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:11px;font-weight:600;color:#42574b}
.whda-field>span{display:block}
.whda-field input,.whda-field select,.whda-field textarea{width:100%;min-width:0;border:1px solid #dde7e0;border-radius:8px;background:#fff;color:#253c30;padding:11px 12px;font-size:13px;min-height:43px}
.whda-field textarea{resize:vertical;line-height:1.6;min-height:100px}
.whda-field small{font-size:10px;color:#849187;font-weight:400;line-height:1.4}
.whda-speed-status{display:flex;gap:15px;margin-top:19px;flex-wrap:wrap}
.whda-speed-status>div{display:flex;align-items:center;gap:9px;background:#f7faf8;border:1px solid #e7eee9;padding:9px 12px;border-radius:8px;font-size:11px;color:#5a6c60}
.whda-status{padding:5px 9px;border-radius:30px;font-size:10px;font-weight:650;white-space:nowrap}
.whda-status.muted{background:#edf0ef;color:#708177}
.whda-status.pass{background:#e3f6e8;color:#167343}
.whda-status.fail{background:#fff0eb;color:#ba5032}
.whda-cash-status{margin-top:15px;display:flex;gap:12px;align-items:center;font-size:11px;color:#5c7262}
.whda-score-legend{display:flex;gap:10px;flex-wrap:wrap;background:#f5f9f6;border:1px solid #e5eee7;border-radius:9px;padding:10px 12px;margin-bottom:8px}
.whda-score-legend span{font-size:10px;color:#6c8072;white-space:nowrap}
.whda-score-legend b{color:#24543b}
.whda-rating-row{padding:16px 0;display:flex;align-items:center;gap:15px;justify-content:space-between;border-bottom:1px solid #edf1ed}
.whda-rating-label{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.whda-rating-label strong{font-size:12px;font-weight:650;color:#2b4436}
.whda-rating-label small{font-size:10px;line-height:1.4;color:#849087}
.whda-rating-choice{display:flex;gap:5px;flex-shrink:0}
.whda-rating-choice label{position:relative;cursor:pointer}
.whda-rating-choice input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.whda-rating-choice span{display:grid;place-items:center;width:37px;height:36px;border:1px solid #dce7df;background:#fff;border-radius:7px;color:#516b5b;font-size:13px;font-weight:700;transition:background .12s}
.whda-rating-choice label:hover span{background:#f0f7f2}
.whda-rating-choice input:checked+span{background:#177551;border-color:#177551;color:#fff;box-shadow:0 2px 5px #145f382a}
.whda-rating-choice input:focus-visible+span{outline:3px solid #6cb38a;outline-offset:2px}
.whda-operations-average{display:flex;align-items:center;justify-content:space-between;padding:16px 2px 0;font-size:12px;color:#64796a}
.whda-operations-average strong{font-size:16px;color:#24543a}
.whda-final-rating{display:flex;align-items:center;gap:17px;padding:14px 16px;margin-bottom:20px;background:#f5f9f6;border:1px solid #e7eee8;border-radius:10px}
.whda-final-rating label{font-size:12px;font-weight:650;color:#526957;flex:1}
.whda-final-rating select{width:192px;flex-shrink:0}
.whda-final-score{font-size:36px;font-weight:750;letter-spacing:-1px;color:#167553;display:flex;align-items:baseline;gap:4px}
.whda-final-score small{display:inline;font-size:12px;color:#85968a;letter-spacing:0}
.whda-action-line{border:1px solid #e5eee7;background:#fafcfa;border-radius:9px;padding:14px 15px;margin-top:12px}
.whda-action-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#315441;margin-bottom:13px}
.whda-action-fields{display:grid;grid-template-columns:2.1fr 1fr 1.4fr 1.3fr 1.2fr;gap:10px}
.whda-action-fields .whda-field input,.whda-action-fields .whda-field select{font-size:11px;padding:9px}
.whda-text-button{color:#b05245;font-size:11px;background:none;border:0;min-height:26px;padding:4px}
.whda-empty-actions{font-size:12px;color:#92a097;text-align:center;padding:24px;border:1px dashed #dce7dd;border-radius:9px}
.whda-photo-zone{display:flex;align-items:center;justify-content:center;gap:6px;flex-direction:column;position:relative;border:1px dashed #aacdb5;border-radius:12px;background:#f9fcf9;min-height:120px;cursor:pointer;color:#346549}
.whda-photo-zone strong{font-size:12px}
.whda-photo-zone small{color:#7f9484;font-size:10px}
.whda-photo-icon{font-size:23px;line-height:1}
.whda-photo-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.whda-photo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;margin-top:12px}
.whda-photo-list:empty{display:none}
.whda-photo-list>div{min-width:0;border:1px solid #e5ede6;border-radius:8px;overflow:hidden;background:#fafcfa}
.whda-photo-list img{width:100%;height:86px;object-fit:cover;display:block}
.whda-photo-list span{font-size:9px;display:block;padding:7px;color:#6e8072;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.whda-photo-warning{font-size:10px;color:#8a958a;margin-top:12px;line-height:1.5}
.whda-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 0 20px}
.whda-form-bottom>span{color:#809187;font-size:10px;line-height:1.5}
.whda-form-bottom>div{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.whda-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:18px}
.whda-side-card{padding:20px 21px}
.whda-side-caption{font-weight:750;letter-spacing:1.1px;font-size:9px;color:#819186;margin-bottom:15px}
.whda-summary{background:linear-gradient(145deg,#f8fcf8,#fff)}
.whda-side-score{font-size:64px;color:#146d4d;font-weight:760;letter-spacing:-3px;display:flex;align-items:baseline;gap:8px;line-height:1.1}
.whda-side-score small{font-size:14px;letter-spacing:0;color:#95a79b}
.whda-side-sub{font-size:11px;color:#73897a;margin-top:5px}
.whda-summary-divider{height:1px;background:#dfe9e1;margin:19px 0 8px}
.whda-mini-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #edf2ee;font-size:11px;color:#6e8074}
.whda-mini-row:last-child{border:0}
.whda-mini-row strong{font-size:12px;color:#2d4937}
.whda-step{display:flex;gap:10px;align-items:flex-start;margin-bottom:15px}
.whda-step:last-child{margin-bottom:0}
.whda-step span{background:#e6f2e9;color:#247b53;width:22px;height:22px;flex-shrink:0;border-radius:6px;display:grid;place-items:center;font-size:11px;font-weight:700}
.whda-step p{font-size:11px;line-height:1.5;color:#687b6e;padding-top:3px}
.whda-history-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.whda-history-kpis article{border:1px solid #e4ebe5;border-radius:10px;padding:19px 21px;background:#fff}
.whda-history-kpis span{font-size:10px;color:#789081;letter-spacing:.7px;font-weight:700}
.whda-history-kpis strong{display:block;font-size:35px;letter-spacing:-1px;margin-top:9px;color:#236745}
.whda-history-kpis strong small{display:inline;font-size:12px;color:#809488;font-weight:500;letter-spacing:0}
.whda-history-kpis p{font-size:10px;color:#91a096;line-height:1.5;margin-top:8px}
.whda-history-panel{margin-bottom:14px}
.whda-history-top{padding:20px 23px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.whda-history-top h2{font-size:15px}
.whda-history-top p{font-size:11px;color:#849389;margin-top:6px}
.whda-history-filters{display:flex;gap:10px;flex-wrap:wrap}
.whda-history-filters select,.whda-history-filters input{font-size:12px;max-width:215px}
.whda-history-table td:first-child strong{font-size:12px}
.whda-history-table td:first-child small{color:#7d8c82;margin-top:5px}
.whda-table-action{border:0;background:#ecf6ee;color:#22724e;border-radius:6px;font-size:11px;padding:7px 10px;min-height:31px;margin:2px 5px 2px 0}
.whda-table-action.danger{background:#fff2ef;color:#b35b45}
.whda-pill{border-radius:25px;padding:5px 9px;font-size:10px;font-weight:650;white-space:nowrap}
.whda-pill.success{color:#167845;background:#e6f6ea}
.whda-pill.draft{color:#976b24;background:#fff5df}
.whda-no-history{text-align:center!important;padding:55px 16px!important}
.whda-no-history strong,.whda-no-history span{display:block}
.whda-no-history strong{font-size:15px;color:#567361}
.whda-no-history span{color:#8d9d91;margin-top:8px;font-size:12px}
.whda-browser-note{color:#88998e;font-size:10px;margin-bottom:34px}
@media(max-width:1290px){.whda-form-layout{grid-template-columns:minmax(0,1fr) 245px}.whda-action-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.whda-rating-choice span{width:31px;height:32px}.whda-card{padding:19px}}
@media(max-width:1050px){.whda-form-layout{grid-template-columns:1fr}.whda-side{display:grid;grid-template-columns:1fr 1fr;position:static}.whda-side>.whda-side-card:last-child:not(:nth-child(2)){grid-column:1/-1}.whda-rating-choice span{width:36px;height:35px}}
@media(max-width:680px){.whda-page-heading{align-items:flex-start}.whda-safe-banner{align-items:flex-start;flex-direction:column;gap:4px}.whda-three,.whda-two,.whda-action-fields,.whda-history-kpis{grid-template-columns:1fr}.whda-side{display:block}.whda-side-card{margin-bottom:14px}.whda-card{padding:16px}.whda-card-head{flex-wrap:wrap}.whda-goal{margin-left:42px}.whda-rating-row{align-items:stretch;flex-direction:column}.whda-rating-choice{justify-content:space-between}.whda-rating-choice label{flex:1}.whda-rating-choice span{width:100%}.whda-final-rating{flex-wrap:wrap}.whda-final-rating label{width:100%;flex:0 0 100%}.whda-final-rating select{flex:1}.whda-form-bottom,.whda-history-top{align-items:stretch;flex-direction:column}.whda-form-bottom>div{justify-content:flex-start}.whda-history-filters{width:100%}.whda-history-filters select,.whda-history-filters input{flex:1}.whda-form-bottom .button{white-space:normal}}
@media print{.sidebar,.topbar,.whda-tabs,.whda-heading-actions,.whda-safe-banner,.whda-form-bottom,.whda-side,.whda-photo-zone,#whda-add-action,[data-remove-action]{display:none!important}.main-shell{margin:0!important} main{padding:0}.whda-form-layout{display:block}.whda-card{break-inside:avoid;box-shadow:none;margin-bottom:10px}.whda-form{gap:7px}.whda-page-heading{margin-bottom:16px}}
