/* Aden Flash Report Audit — V4. Compact, task-first UI. No backend/database coupling. */
.v4-page-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:42px;margin-bottom:16px}
.v4-page-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0}
.v4-kicker{font-size:10px;font-weight:850;letter-spacing:.12em;color:#e85017}
.v4-context{font-size:12px;color:#8793a1}
.v4-back{font-size:12px;font-weight:750;color:#e64e18}
.v4-access-pill{display:inline-flex;align-items:center;border:1px solid #f4dfd3;background:#fff7f2;padding:8px 11px;border-radius:9px;font-size:11px;font-weight:700;color:#aa4b26;white-space:nowrap}
.v4-tabs{display:flex;gap:6px;align-items:center;overflow-x:auto;padding:3px 0 13px;margin-bottom:17px;border-bottom:1px solid #e9ebef;scrollbar-width:thin}
.v4-tabs a{flex:0 0 auto;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#627087;font-size:12px;font-weight:740;transition:background .16s,color .16s}
.v4-tabs a:hover{background:#fff5ef;color:#dd4f20}
.v4-tabs .is-active{background:#fff0e8;color:#e84d17}
.v4-section-lead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 18px}
.v4-section-lead h2{font-size:21px;margin:0 0 4px;color:#1a243a;font-weight:770}
.v4-section-lead p{color:#8491a3;font-size:12px;line-height:1.5;margin:0}
.v4-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.v4-nav-card{border-radius:15px;border:1px solid #e6eaf0;background:#fff;display:block;padding:19px;min-height:174px;box-shadow:0 5px 19px #1c26360a;transition:transform .16s,border-color .16s}
.v4-nav-card:hover{transform:translateY(-2px);border-color:#f4b89d;color:inherit}
.v4-nav-card .v4-card-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#e94f19;background:#fff1e9;font-size:20px;margin-bottom:12px}
.v4-nav-card h3{margin:0 0 6px;font-size:15px}
.v4-nav-card p{font-size:11px;color:#788799;min-height:33px;margin:0 0 12px;line-height:1.5}
.v4-nav-card>span:last-child{font-size:11px;color:#e4511d;font-weight:800}
.v4-help-note{margin-top:15px;padding:14px 18px;border:1px solid #fae3d7;background:#fff8f3;border-radius:12px;font-size:12px;color:#566277}
.v4-help-note b{color:#e95422}.v4-help-note p{margin:5px 0 0;line-height:1.6;font-size:11px}
.v4-section-card{padding:20px 22px;margin-top:12px}
.v4-table-scroll{max-width:100%;overflow:auto}
.v4-table{width:100%;border-collapse:collapse;font-size:12px}
.v4-table th{text-align:left;padding:11px 12px;background:#f7f8fa;color:#7e8b98;font-size:10px;font-weight:800;white-space:nowrap}
.v4-table td{padding:14px 12px;border-bottom:1px solid #eef0f2;color:#3c4c62;vertical-align:middle}
.v4-table tr:last-child td{border-bottom:0}.v4-table td b{font-size:12px;color:#19253b}.v4-table td small{display:block;color:#9aa4b1;margin-top:2px;font-size:10px}
.v4-code{font-size:10px;color:#e34b17;font-weight:820;letter-spacing:.045em;overflow-wrap:anywhere}
.v4-link{white-space:nowrap;color:#df4d1c;font-weight:790;font-size:11px}
.v4-chip{background:#f4f5f6;border-radius:8px;padding:6px 9px;color:#727d88;font-weight:770;display:inline-flex;white-space:nowrap;font-size:10px}
.v4-chip.v4-active{color:#128558;background:#e8f7ed}
.v4-person{display:flex;align-items:center;gap:10px;white-space:nowrap}.v4-initial{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#e94d18;background:#fff0e8;font-weight:800;flex-shrink:0}
.v4-site-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v4-site-item{display:flex;align-items:center;gap:11px;border:1px solid #eef0f2;border-radius:12px;padding:14px}.v4-site-item>div{flex:1;min-width:0}.v4-site-item b,.v4-site-item small{display:block}.v4-site-item small{color:#8c9aab;margin-top:3px}.v4-site-mark{width:37px;height:37px;background:#fff0e7;color:#ed4e18;border-radius:11px;display:grid;place-items:center;font-weight:800}
.v4-form-section h3{margin-bottom:12px}.v4-input-row,.v4-add-rule{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.v4-input-row label,.v4-add-rule label{display:flex;flex:1;min-width:175px;flex-direction:column;gap:6px;color:#526179;font-size:11px;font-weight:760}
.v4-input-row input,.v4-add-rule input,.v4-add-rule select{width:100%;background:#fff;border:1px solid #dde4ea;border-radius:9px;padding:12px;color:#28384d;min-height:43px;outline:none}
.v4-input-row input:focus,.v4-add-rule input:focus,.v4-add-rule select:focus{border-color:#f17a4c;box-shadow:0 0 0 3px #ed4f1818}
.v4-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-bottom:17px}.v4-filters label{display:flex;flex-direction:column;gap:6px;color:#738092;font-size:10px;font-weight:720;flex:1 1 210px}
.v4-filters input,.v4-filters select{width:100%;border:1px solid #e2e7ed;border-radius:9px;padding:10px 12px;min-height:42px;color:#33445b;background:white}
.v4-count{font-size:11px;color:#929eab;white-space:nowrap;margin-bottom:12px}.v4-empty{font-size:12px;color:#8897a5;text-align:center;padding:24px}
.v4-stage-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.v4-stage-legend span{font-size:11px;color:#6a7890;display:flex;align-items:center;gap:7px}.v4-stage-legend i{display:grid;place-items:center;width:24px;height:24px;font-style:normal;border-radius:50%;background:#fff0e7;color:#e8501a;font-weight:800}
.v4-rule-row{display:grid;grid-template-columns:minmax(128px,1.1fr) minmax(155px,1.5fr) minmax(130px,1.3fr) minmax(110px,.8fr) 62px auto;gap:10px;align-items:end;padding:14px 0;border-bottom:1px solid #edf0f3}
.v4-rule-row:last-child{border-bottom:0}
.v4-rule-row .v4-rule-heading{display:flex;flex-direction:column;gap:4px;align-self:center;min-width:0}.v4-rule-heading b{font-size:11px;overflow-wrap:break-word}
.v4-rule-row label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:740;color:#778598;min-width:0}
.v4-rule-row input:not([type=checkbox]),.v4-rule-row select{width:100%;border:1px solid #dde5eb;border-radius:8px;padding:9px 8px;font-size:11px;min-height:40px;color:#394b60;background:white}
.v4-rule-row .v4-toggle{align-self:center;white-space:nowrap;flex-direction:row;font-size:11px}.v4-toggle{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:730;color:#48596e;cursor:pointer}.v4-toggle input{accent-color:#ec501c}
.v4-rule-row button{align-self:end}
.v4-rule-row :disabled,.v4-editor :disabled{cursor:default;opacity:1;background-color:#f8fafb;color:#657181}
.v4-editor-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:15px;align-items:start}
.v4-editor{padding:22px}.v4-editor label{display:flex;flex-direction:column;gap:6px;color:#4e5a6e;font-weight:730;font-size:11px;margin-bottom:14px}.v4-editor input:not([type=checkbox]),.v4-editor select,.v4-editor textarea{border:1px solid #dfe6eb;background:#fff;color:#24384d;padding:11px;border-radius:9px;width:100%;font-size:12px;outline:none;resize:vertical}.v4-editor input:focus,.v4-editor textarea:focus,.v4-editor select:focus{border-color:#f1845c;box-shadow:0 0 0 3px #ed4f1818}
.v4-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v4-department-field{border:1px solid #eef0f3;border-radius:11px;margin:9px 0 14px;padding:13px}.v4-department-field legend{font-weight:800;font-size:11px;padding:0 5px}.v4-department-field legend small{font-weight:500;color:#919eac}
.v4-dept-options{display:flex;flex-wrap:wrap;gap:8px}.v4-dept-options label{flex-direction:row;align-items:center;gap:6px;background:#f8f9fa;border:1px solid #e9ebef;padding:7px 10px;border-radius:8px;margin:0;color:#33465c;font-weight:710}.v4-dept-options label:has(input:checked){background:#fff3eb;border-color:#f6c5ae;color:#d84713}.v4-dept-options input{accent-color:#ed4f18}
.v4-form-actions{margin-top:20px;padding-top:16px;border-top:1px solid #edf0f3;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.v4-subcheck-form{padding:15px 0 4px;border-top:1px solid #eef0f2}.v4-subcheck-form:first-of-type{border-top:0}.v4-subcheck-form .v4-code{display:block;margin-bottom:8px}.v4-subcheck-form label{margin-bottom:9px}.v4-subcheck-form button{margin-bottom:6px}
.v4-danger-form{display:flex;justify-content:flex-end;padding-bottom:12px}.v4-danger-form button{border:0;color:#b94a30;font-size:10px;background:none;cursor:pointer}.v4-new-subcheck{background:#fff8f4;border:1px dashed #ecccb8;padding:13px;border-radius:11px;margin-top:13px}.v4-new-subcheck h3{font-size:13px}
.v4-page-toolbar .btn{font-size:12px}
@media(max-width:1120px){.v4-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-rule-row{grid-template-columns:repeat(3,minmax(0,1fr))}.v4-rule-heading{grid-column:span 3}.v4-editor-grid{grid-template-columns:1fr}}
@media(max-width:680px){.v4-page-toolbar{align-items:center;margin-bottom:12px}.v4-page-meta{gap:4px;flex-direction:column;align-items:start}.v4-context{font-size:10px}.v4-tabs{gap:3px;padding-bottom:9px}.v4-tabs a{padding:9px 11px;font-size:11px}.v4-cards{grid-template-columns:1fr}.v4-nav-card{min-height:auto;padding:15px}.v4-nav-card p{min-height:0}.v4-section-card{padding:13px}.v4-section-lead h2{font-size:18px}.v4-section-lead p{font-size:11px}.v4-section-lead{align-items:start}.v4-filters label{flex:1 1 100%}.v4-rule-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v4-rule-heading{grid-column:span 2}.v4-rule-row label:nth-of-type(1){grid-column:span 2}.v4-rule-row button{width:100%}.v4-site-grid,.v4-field-grid{grid-template-columns:1fr}.v4-editor{padding:15px}.v4-table{min-width:620px}}
