.corrective-actions{max-width:1300px}.corrective-actions p,.ca-dialog p{line-height:1.6}.ca-shade{position:fixed;inset:0;z-index:1000;background:#0009;display:flex;justify-content:center;align-items:flex-start;overflow-y:auto;padding:24px 12px max(24px,env(safe-area-inset-bottom));overscroll-behavior:contain;height:100dvh;box-sizing:border-box}.ca-dialog{background:#fff;color:#111;width:min(960px,100%);max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;border-radius:12px;padding:24px;box-sizing:border-box;scroll-padding-bottom:40px}.ca-dialog>header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.ca-dialog>header h2{margin:0}.ca-dialog fieldset{border:0;padding:0;margin:15px 0}.ca-dialog fieldset fieldset{border:1px solid #d8ded8;padding:14px;border-radius:6px}.ca-dialog .field{display:flex;flex-direction:column;gap:6px;margin:12px 0}.ca-dialog input:not([type=checkbox]),.ca-dialog select,.ca-dialog textarea,.ca-filters input,.ca-filters select{width:100%;box-sizing:border-box;min-height:44px;font:inherit;padding:10px;border:1px solid #bcc6bc;border-radius:6px;background:#fff;color:#111}.ca-dialog .check{display:flex;gap:12px;align-items:flex-start;line-height:1.5;margin:16px 0}.ca-dialog input[type=checkbox]{width:20px;height:20px;flex-shrink:0;margin-top:2px}.ca-dialog .actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.ca-info{background:#f2f4f2;padding:16px;border-radius:6px;margin:12px 0}.ca-info p{white-space:pre-wrap;margin:6px 0}.ca-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.ca-paper{background:#fff;border:1px solid #d6dcd6;color:#111;padding:28px;margin:20px 0;overflow-wrap:anywhere}.ca-paper>header{display:flex;gap:20px;align-items:center;background:#1f2b1c;color:#fff;padding:22px;margin:-28px -28px 24px}.ca-paper header img{width:72px;height:80px;object-fit:contain}.ca-paper header h2{color:#fff;margin:8px 0}.ca-paper header p{margin:0}.ca-paper section{margin:22px 0}.ca-paper h3{color:#1f2b1c;font-size:14px;text-transform:uppercase;letter-spacing:.04em}.ca-paper p,.ca-text{white-space:pre-wrap}.ca-paper footer{border-top:1px solid #1F2B1C;padding-top:14px;font-size:11px}.ca-row{width:100%;display:flex;justify-content:space-between;text-align:left;gap:20px;background:#fff;color:#111;border:1px solid #d6dcd6;border-radius:8px;padding:20px;margin:10px 0;font:inherit;cursor:pointer;align-items:center}.ca-row>span:first-child{display:flex;flex-direction:column;gap:8px}.ca-row:hover{border-color:#1f2b1c}.ca-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ca-stats .ca-info{display:flex;flex-direction:column;gap:8px;margin:0}.ca-stats strong{font-size:26px}.ca-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.ca-pdf,.ca-email{display:block;width:100%;height:70dvh;min-height:400px;border:1px solid #d6dcd6;margin:16px 0}.ca-email{height:760px;max-height:70dvh}.ca-dialog button:focus-visible,.ca-row:focus-visible{outline:3px solid #82704b;outline-offset:3px}@media(max-width:600px){.ca-dialog{padding:16px;max-height:calc(100dvh - 20px)}.ca-shade{padding:10px 6px max(10px,env(safe-area-inset-bottom))}.ca-grid,.ca-filters{grid-template-columns:1fr}.ca-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ca-row{padding:14px;flex-direction:column;align-items:flex-start}.ca-paper{padding:18px}.ca-paper>header{margin:-18px -18px 18px;padding:16px;gap:12px}.ca-paper header img{width:48px;height:62px}.ca-paper header strong{font-size:12px}.ca-paper header h2{font-size:20px}.ca-dialog>header h2{font-size:21px}}.ca-dialog label,.ca-dialog label>span,.ca-dialog .field>span,.ca-dialog legend{color:#253322}.ca-dialog .button.quiet{color:#1f2b1c}.ca-dialog .button{min-height:44px}.ca-info{color:#182519}.ca-dialog .ca-grid .check{margin:8px 0;padding:0;min-height:40px;align-items:flex-start;justify-content:flex-start}.ca-dialog .ca-grid .check input{padding:0;min-height:20px}.app-shell .corrective-actions,.app-shell .ca-shade{--ca-surface:#1F2B1C;--ca-panel:#19291f;--ca-input:#122219;--ca-border:#415441;--ca-text:#eee8d9;--ca-muted:#bdcbb8;color:var(--ca-text);color-scheme:dark}.app-shell .corrective-actions{min-width:0}.app-shell .ca-dialog{background:var(--ca-panel);color:var(--ca-text);border:1px solid var(--ca-border);box-shadow:0 18px 70px #0008}.app-shell .ca-dialog>header{position:sticky;top:-1px;z-index:2;background:var(--ca-panel);padding:8px 0 14px;border-bottom:1px solid var(--ca-border);margin-bottom:14px}.app-shell .ca-dialog>header h2,.app-shell .ca-dialog h3{color:var(--ca-text)}.app-shell .ca-dialog label,.app-shell .ca-dialog label>span,.app-shell .ca-dialog .field>span,.app-shell .ca-dialog legend,.app-shell .ca-filters .field>span{color:var(--ca-muted)}.app-shell .ca-dialog input:not([type=checkbox]),.app-shell .ca-dialog select,.app-shell .ca-dialog textarea,.app-shell .ca-filters input,.app-shell .ca-filters select{background:var(--ca-input);color:var(--ca-text);border:1px solid var(--ca-border);border-radius:7px;color-scheme:dark;font-size:16px;min-width:0;max-width:100%;min-height:44px}.app-shell .ca-dialog input::placeholder,.app-shell .ca-dialog textarea::placeholder,.app-shell .ca-filters input::placeholder{color:#9fb19b;opacity:1}.app-shell .ca-dialog option,.app-shell .ca-dialog optgroup,.app-shell .ca-filters option,.app-shell .ca-filters optgroup{background:#19291f;color:#eee8d9}.app-shell .ca-dialog input[type=checkbox]{accent-color:#bca77b;color-scheme:dark;background:var(--ca-input)}.app-shell .ca-dialog input[type=date],.app-shell .ca-dialog input[type=time],.app-shell .ca-filters input[type=date]{color-scheme:dark}.app-shell .ca-dialog input::-webkit-calendar-picker-indicator,.app-shell .ca-filters input::-webkit-calendar-picker-indicator{opacity:.9;cursor:pointer}.app-shell .ca-dialog fieldset fieldset{border-color:var(--ca-border);background:#1b2d21}.app-shell .corrective-actions .ca-info,.app-shell .ca-dialog .ca-info{background:var(--ca-surface);color:var(--ca-text);border:1px solid var(--ca-border);border-radius:9px}.app-shell .corrective-actions .ca-info small,.app-shell .ca-dialog .ca-info small,.app-shell .ca-row small{color:var(--ca-muted)}.app-shell .ca-row{background:var(--ca-panel);color:var(--ca-text);border:1px solid var(--ca-border);border-radius:9px;min-width:0;padding:16px;gap:14px}.app-shell .ca-row:hover{background:#233727;border-color:#7a8c68}.app-shell .ca-row>span:first-child{min-width:0;gap:6px;overflow-wrap:anywhere}.app-shell .corrective-actions .badge,.app-shell .ca-dialog .badge{background:#2a3e2d;color:#e0e9d8;border:1px solid #52674c;white-space:normal;overflow-wrap:anywhere}.app-shell .ca-paper{background:#14241a;color:var(--ca-text);border:1px solid var(--ca-border);border-radius:9px;overflow:hidden}.app-shell .ca-paper>header{background:#1f2b1c;color:var(--ca-text);border-bottom:1px solid var(--ca-border)}.app-shell .ca-paper h3{color:#c6d4b8}.app-shell .ca-paper footer{border-color:var(--ca-border);color:var(--ca-muted)}.app-shell .ca-dialog .button.quiet,.app-shell .corrective-actions .button.quiet{background:#233727;color:#eee8d9;border:1px solid #52674c}.app-shell .ca-dialog .button:disabled{opacity:.55;cursor:not-allowed}.app-shell .ca-dialog .notice,.app-shell .corrective-actions .notice{background:#243827;color:#e6eddc;border:1px solid #52674c}.app-shell .ca-dialog .notice.error,.app-shell .corrective-actions .notice.error{background:#3b2723;color:#ffe5da;border-color:#975e50}.app-shell .ca-pdf,.app-shell .ca-email{background:#16251b;border-color:var(--ca-border);border-radius:7px}.app-shell .ca-stats{gap:10px}.app-shell .ca-stats .ca-info{padding:14px;gap:4px}.app-shell .ca-stats .ca-info>span{color:var(--ca-muted);font-size:13px;line-height:1.35}.app-shell .ca-stats strong{font-size:25px;line-height:1.15}.app-shell .ca-filters{gap:12px;margin:18px 0}.app-shell .ca-filters .field{margin:0;min-width:0;gap:6px}.app-shell .ca-dialog .actions{align-items:center;gap:8px;max-width:100%}.app-shell .ca-action-menu{max-width:100%;border:1px solid var(--ca-border);border-radius:7px;background:#203226}.app-shell .ca-action-menu summary{padding:12px 16px;cursor:pointer;min-height:44px;box-sizing:border-box;color:var(--ca-text);font-weight:600}.app-shell .ca-action-menu[open]{padding-bottom:8px}.app-shell .ca-action-menu .button{margin:0 8px;max-width:calc(100% - 16px)}.app-shell .ca-dialog .ca-danger{background:#432a25;color:#ffe6df;border:1px solid #a96c5e}.app-shell .ca-dialog .ca-danger:hover:not(:disabled){background:#59352d}.app-shell .ca-dialog button:focus-visible,.app-shell .ca-dialog summary:focus-visible,.app-shell .ca-row:focus-visible,.app-shell .ca-dialog input:focus-visible,.app-shell .ca-dialog select:focus-visible,.app-shell .ca-dialog textarea:focus-visible,.app-shell .ca-filters input:focus-visible,.app-shell .ca-filters select:focus-visible{outline:2px solid #c9ae76;outline-offset:2px}@media(max-width:600px){.app-shell .corrective-actions .heading{gap:12px;margin-bottom:16px}.app-shell .corrective-actions .heading h1{font-size:25px;margin-bottom:6px}.app-shell .corrective-actions .heading p{margin:6px 0;line-height:1.4}.app-shell .corrective-actions .heading .actions{gap:8px}.app-shell .ca-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell .ca-stats .ca-info{padding:10px;min-height:74px;box-sizing:border-box;justify-content:center}.app-shell .ca-stats strong{font-size:22px}.app-shell .ca-stats .ca-info>span{font-size:12px;overflow-wrap:normal;word-break:normal}.app-shell .ca-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px;margin:16px 0}.app-shell .ca-filters>.field:first-child{grid-column:1/-1}.app-shell .ca-filters .field>span{font-size:12px;line-height:1.3}.app-shell .ca-filters input,.app-shell .ca-filters select{padding:8px;min-height:44px}.app-shell .ca-row{padding:13px;margin:8px 0;gap:9px}.app-shell .ca-dialog{padding:14px;max-width:100%;padding-bottom:max(18px,env(safe-area-inset-bottom))}.app-shell .ca-dialog .field{margin:10px 0}.app-shell .ca-dialog .actions{gap:8px;margin:14px 0;flex-wrap:wrap}.app-shell .ca-dialog .actions .button{max-width:100%;white-space:normal}.app-shell .ca-dialog .ca-grid{gap:6px 10px}.app-shell .ca-dialog .ca-info{padding:12px;margin:10px 0;overflow-wrap:anywhere}.app-shell .ca-dialog .ca-paper{padding:16px;margin:14px 0}.app-shell .ca-dialog .ca-paper>header{margin:-16px -16px 14px;padding:14px}.app-shell .ca-dialog .ca-paper section{margin:16px 0}}@media(max-width:360px){.app-shell .ca-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
