/* Report Management: scoped styles, no changes to Finance or Memo layouts. */
.app-choice-icon.reports{background:#e3eee9;color:#245b43}
#reportsShell{--report-ink:#142923;--report-muted:#68776f;--report-line:#e1e7e2;--report-green:#215c43;max-width:1360px;margin:0 auto;padding:38px 32px 64px;color:var(--report-ink)}
#reportsShell *,#reportDialog *{box-sizing:border-box;min-width:0}
.report-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#507260;margin:0 0 10px}
.report-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:28px}
.report-hero h2{font-size:clamp(25px,3.2vw,38px);line-height:1.15;letter-spacing:-1.2px;margin:0 0 10px;color:#173c2b}
.report-hero p:not(.report-eyebrow){color:#68776f;font-size:14px;margin:0;line-height:1.5}
.report-hero-actions,.report-form-actions{display:flex;gap:10px;align-items:center}
.report-button{font:inherit;font-size:12px;font-weight:700;border:1px solid #d2ded6;border-radius:9px;background:white;color:#294c38;padding:11px 17px;min-height:42px;cursor:pointer;white-space:nowrap}
.report-button:hover{background:#eef4ef}.report-button:disabled{opacity:.5;cursor:not-allowed}.report-primary{background:#245b43;border-color:#245b43;color:white}.report-primary:hover{background:#164b33}
.report-button:focus-visible,.report-close:focus-visible,.report-row:focus-visible,#reportsShell select:focus-visible,#reportDialog :is(input,select,textarea):focus-visible{outline:3px solid #e3ab45;outline-offset:3px}
.report-scope-line{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#68776f;border-top:1px solid #e1e7e2;padding:16px 0}
.report-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.report-metric{background:#fff;border:1px solid #e1e7e2;border-radius:13px;padding:20px 18px;min-height:135px}
.report-metric p{margin:0 0 17px;color:#68776f;font-size:11px;font-weight:600}.report-metric strong{display:block;font-size:32px;font-weight:650;letter-spacing:-1px;line-height:1.1}.report-metric small{display:block;font-size:10px;color:#7a857e;margin-top:12px;line-height:1.4}
.report-metric-open{border-top:3px solid #d9a048}.report-metric-fixed{border-top:3px solid #5b8c6e}.report-metric-note{font-size:10px;color:#7d897f;line-height:1.6;margin:12px 0 28px}
.report-board{border:1px solid #e1e7e2;border-radius:14px;background:#fff;overflow:hidden}.report-board-head{display:flex;align-items:center;justify-content:space-between;padding:23px 26px;border-bottom:1px solid #e1e7e2;gap:18px}.report-board-head h3{margin:0;font-size:21px;letter-spacing:-.5px}.report-board-head .report-eyebrow{margin-bottom:5px;font-size:9px}
.report-filters{display:flex;gap:10px}.report-filters label{font-size:10px;font-weight:600;color:#68776f;display:grid;gap:6px}.report-filters select{min-width:155px;max-width:230px;background:#f9fbf9;border:1px solid #dce4dd;border-radius:7px;color:#294c38;padding:9px 30px 9px 10px;font:inherit;font-size:11px;min-height:38px}
.report-row{appearance:none;border:0;border-bottom:1px solid #edf0ed;background:white;text-align:left;width:100%;padding:22px 26px;display:flex;justify-content:space-between;gap:24px;cursor:pointer;font:inherit;color:inherit}.report-row:hover{background:#f7faf7}.report-row:last-child{border-bottom:0}.report-row-main{flex:1}.report-row-meta{display:flex;align-items:center;gap:10px;font-size:10px;color:#718173;margin-bottom:9px}.report-row strong{font-size:14px;font-weight:650;display:block;line-height:1.5;overflow-wrap:anywhere}.report-row p{font-size:11px;line-height:1.5;margin:6px 0 10px;color:#68776f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.report-row small{font-size:10px;color:#8b958e}.report-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:128px;font-size:10px;color:#718173}.report-row-side b{color:#7e9f88;font-size:18px}
.report-priority{font-size:9px;font-weight:750;letter-spacing:.3px;padding:3px 6px;border-radius:4px;background:#f0f2ef;color:#67766a}.report-priority-high{background:#fff0d7;color:#986216}.report-priority-urgent{background:#fbe6e0;color:#ac4025}
.report-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;background:#eaf0f7;color:#467191;font-size:10px;font-weight:700}.report-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.report-status-in_progress{background:#fdf0d9;color:#996d27}.report-status-resolved,.report-status-closed{background:#e6f1e7;color:#3c7a49}.report-status-cancelled{background:#f0f0ef;color:#7a7f78}
.report-pagination{border-top:1px solid #e1e7e2;display:flex;align-items:center;justify-content:space-between;padding:16px 26px;color:#748075;font-size:11px;gap:12px}.report-pagination>div{display:flex;gap:7px}.report-pagination .report-button{padding:7px 12px;min-height:35px;font-size:10px}
.report-empty{padding:45px 25px;text-align:center;color:#718173;font-size:13px;line-height:1.6}.report-empty h3{color:#35553e;margin:0 0 10px;font-size:17px}.report-empty p{margin:0 0 18px}.report-error{background:#fff4ef;color:#9d3f25;border-radius:10px}.report-loading{font-size:11px;color:#68776f;padding:0 26px}
.report-dialog{border:1px solid #dce5dd;border-radius:16px;padding:0;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;color:#253f2d;box-shadow:0 25px 100px #172b2440}.report-dialog::backdrop{background:#12281d70;backdrop-filter:blur(3px)}
.report-dialog-header{display:flex;justify-content:space-between;gap:20px;padding:25px 28px;border-bottom:1px solid #e1e7e2;position:sticky;top:0;background:#fff;z-index:1}.report-dialog-header h2{font-size:23px;line-height:1.3;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere}.report-dialog-header .report-eyebrow{font-size:9px;margin-bottom:6px}.report-close{border:1px solid #e0e6e1;width:36px;height:36px;flex:0 0 36px;border-radius:8px;background:white;font-size:23px;color:#55725c;cursor:pointer}
.report-form{padding:24px 28px;display:grid;gap:18px}.report-form label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#506454}.report-form input,.report-form select,.report-form textarea{width:100%;border:1px solid #d7e1d8;border-radius:8px;padding:11px 12px;font:inherit;font-size:13px;line-height:1.5;color:#253f2d;background:#fff}.report-form textarea{resize:vertical;min-height:80px}.report-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.report-form-intro,.report-help{color:#788679;font-size:11px;line-height:1.7;margin:0}.report-form-actions{justify-content:flex-end}.report-form-error{font-size:12px;color:#b04c35;margin:0;line-height:1.5}.report-form-error:empty{display:none}
.report-detail{padding:24px 28px}.report-detail-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px;color:#728175}.report-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;margin:20px 0;color:#445c48}.report-facts{display:grid;grid-template-columns:1fr 1fr;gap:17px;background:#f7faf7;padding:18px;border-radius:9px;margin:18px 0}.report-facts dt{font-size:9px;color:#8a958a;margin-bottom:6px}.report-facts dd{margin:0;font-size:11px;color:#4a6250}.report-resolution{background:#eef6ee;border:1px solid #d7e8d9;border-radius:8px;padding:14px 18px;font-size:12px;line-height:1.6}.report-resolution p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.report-manage{margin:20px 0;border:1px solid #e1e7e2;border-radius:9px}.report-manage summary{font-size:12px;font-weight:700;cursor:pointer;padding:15px}.report-detail .report-form{padding:16px 0}.report-manage .report-form{padding:8px 15px 15px}.report-activity{margin:28px 0 8px}.report-activity h3{font-size:15px}.report-activity ol{list-style:none;padding:0;margin:0}.report-activity li{display:flex;gap:13px;padding:12px 0;font-size:11px}.report-activity-dot{width:7px;height:7px;background:#9cb39d;flex:0 0 7px;border-radius:50%;margin-top:5px}.report-activity strong{font-weight:650}.report-activity small{display:block;color:#8a958a;font-size:9px;margin:5px 0}.report-activity p{line-height:1.7;color:#5f7362;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.report-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:9999;background:#1e5037;color:white;box-shadow:0 10px 30px #15392430;border-radius:10px;padding:14px 22px;font-size:12px;max-width:calc(100vw - 32px);width:max-content}.report-toast[hidden]{display:none}
@media(max-width:1000px){.report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.report-metric{min-height:120px}.report-hero{align-items:flex-start}.report-filters select{min-width:130px}}
@media(max-width:650px){#reportsShell{padding:25px 16px 40px}.report-hero{display:block;padding-bottom:20px}.report-hero h2{font-size:28px}.report-hero-actions{margin-top:20px}.report-hero-actions .report-primary{flex:1}.report-scope-line{font-size:9px}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-metric{padding:16px 14px;min-height:122px}.report-metric:last-child{grid-column:1/-1;min-height:105px}.report-metric p{margin-bottom:12px}.report-metric strong{font-size:29px}.report-metric small{margin-top:8px}.report-metric-note{font-size:9px;margin-bottom:22px}.report-board-head{display:block;padding:18px}.report-filters{margin-top:18px}.report-filters label{flex:1}.report-filters select{min-width:0;max-width:none;width:100%}.report-row{padding:18px;gap:12px}.report-row-side{min-width:84px;max-width:100px}.report-row strong{font-size:13px}.report-row p{font-size:10px}.report-row small{font-size:9px}.report-row-meta{font-size:9px;gap:7px;flex-wrap:wrap}.report-badge{font-size:9px;padding:5px 6px}.report-pagination{padding:14px 18px;font-size:10px}.report-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.report-dialog-header{padding:20px}.report-dialog-header h2{font-size:20px}.report-form,.report-detail{padding:20px}.report-form-grid{grid-template-columns:1fr}.report-form input,.report-form select,.report-form textarea{font-size:16px}.report-facts{padding:14px;gap:15px}.report-facts dd{font-size:10px}.report-form-actions .report-primary{flex:1}}
@media(prefers-reduced-motion:reduce){#reportsShell *,#reportDialog *{scroll-behavior:auto!important;transition:none!important}}
