/* Precise Command Center - Shift Reports */
.reports-layout{min-height:100vh;background:var(--bg);}
.reports-top{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border);padding:17px clamp(18px,4vw,58px);background:#0d192a;}
.reports-top .brand-logo{object-fit:contain}
.reports-main{max-width:1320px;padding:36px 22px 65px;margin:0 auto;}
.reports-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:22px 0 28px;}
.reports-heading h1{font-size:clamp(32px,4.5vw,51px);line-height:1.07;letter-spacing:-.04em;margin:8px 0 12px;}
.reports-heading p{margin:0;max-width:740px;color:var(--muted);font-size:16px;}
.reports-kicker{text-align:right;flex-shrink:0;color:var(--muted);font-size:12px;padding:12px 17px;border-left:2px solid var(--gold);}
.reports-kicker strong{color:var(--ink);font-size:16px;}
.reports-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.85fr);gap:21px;align-items:start;}
.reports-main .panel{padding:24px;min-width:0;}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px;}
.panel-heading h2{font-size:21px;letter-spacing:-.02em;margin:4px 0 0;}
.reports-main .field{margin:0 0 17px;}
.reports-main .field label,.field-label{display:block;color:var(--ink);font-weight:700;font-size:12px;letter-spacing:.01em;margin:0 0 8px;}
.reports-main input:not([type=checkbox]):not([type=file]),.reports-main select,.reports-main textarea{display:block;background:#0b1729;color:var(--ink);border:1px solid #3c526b;border-radius:9px;padding:12px 13px;width:100%;font:inherit;line-height:1.5;outline:none;}
.reports-main input:focus,.reports-main select:focus,.reports-main textarea:focus{border-color:var(--gold)!important;box-shadow:0 0 0 2px #caa76a20;}
.reports-main textarea{resize:vertical;min-height:75px;}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}
.req{color:var(--gold);}
.field-help{font-size:12px;color:var(--muted);line-height:1.5;margin-top:7px;}
.warning-note{margin-bottom:26px;font-size:13px;}
.report-controls{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid var(--border);padding-top:21px;}
.confirm-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--ink);max-width:380px;cursor:pointer;}
.confirm-check input{margin-top:4px;flex-shrink:0;width:17px;height:17px;accent-color:var(--gold)}
.sr-feedback{font-size:13px;line-height:1.5;margin-top:16px;min-height:20px;color:var(--muted)}
.sr-feedback.success{color:#a9e6c5}.sr-feedback.error,.sr-error{color:#f7b5ab}
.report-history{position:sticky;top:20px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;}
.report-history .history-list{overflow-y:auto;min-height:100px;max-height:60vh;}
.report-count{font-size:12px;color:var(--gold2);margin:13px 0;}
.report-entry{padding:15px;margin:0 0 10px;background:#0e1b2d;border:1px solid var(--border);border-radius:11px;}
.report-entry-head,.mgmt-entry-head{display:flex;justify-content:space-between;gap:8px;align-items:start;}
.report-entry-head strong{font-size:14px;}
.report-type{background:#253a52;padding:3px 7px;border-radius:5px;font-size:10px;color:#d9e6f6;white-space:nowrap;}
.report-entry-meta{font-size:11px;color:var(--muted);margin:6px 0;word-wrap:break-word;}
.report-entry-summary{font-size:13px;color:var(--ink);line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;max-height:115px;overflow:hidden;margin-bottom:0;}
.followup-chip{display:inline-flex;margin-top:9px;font-size:11px;font-weight:750;color:#ffdcad;border:1px solid #a97d47;border-radius:100px;padding:3px 8px;background:#4b38252f;}
.foot-muted{font-size:11px;line-height:1.6;color:var(--muted);margin:42px 0 0;}
.report-feature-head{display:flex;align-items:center;gap:14px;}
.report-feature-icon{display:grid;place-items:center;border:1px solid var(--gold);color:var(--gold);border-radius:12px;width:44px;height:44px;font-size:27px;}
.import-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px;}
.import-steps p{font-size:13px;line-height:1.6;background:#0f2135;border:1px solid var(--border);border-radius:9px;margin:0;padding:13px;}
.import-steps strong{color:var(--gold2)}
.import-row{display:flex;flex-wrap:wrap;gap:13px;align-items:center;}
.upload-label{display:inline-block;cursor:pointer;border:1px solid var(--gold);color:#0b1827;background:var(--gold);padding:8px 13px;font-weight:750;border-radius:8px;font-size:13px;}
.upload-label input{display:block;margin-top:7px;max-width:250px;color:#0b1827;font-size:11px;}
.report-builder{margin:20px 0;}
.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:14px;}
.report-tools{display:flex;gap:12px;flex-wrap:wrap;}
.preview-panel{margin-top:22px;}
.print-header{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--border);padding-bottom:16px;}
.print-header h2{font-size:24px;margin:3px 0 0;}
.report-summary{font-size:13px;color:var(--muted);margin:21px 0;}
.shift-group{margin:26px 0 33px;border-top:1px solid var(--border);padding-top:16px;break-inside:avoid-page;}
.shift-group-title{font-size:19px;margin:0;}.shift-group-meta{font-size:12px;color:var(--muted);margin:4px 0 20px;}
.mgmt-entry{border:1px solid var(--border);border-radius:10px;background:#0e1b2d;padding:15px;margin-bottom:10px;break-inside:avoid-page;}
.mgmt-entry-head strong{font-size:15px;}.mgmt-narrative{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:13px;}.mgmt-action{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:var(--muted)}
.print-footer{font-size:11px;color:var(--muted);text-align:center;border-top:1px solid var(--border);padding-top:17px;}
@media(max-width:900px){.reports-columns{grid-template-columns:1fr}.report-history{position:static;max-height:none}.report-history .history-list{max-height:none}.import-steps{grid-template-columns:1fr}.filters{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.reports-heading{display:block}.reports-kicker{margin:18px 0;text-align:left}.reports-main{padding:25px 14px 45px}.reports-top{padding:15px}.reports-top .brand-title{font-size:11px}.reports-main .panel{padding:17px}.form-grid,.filters{grid-template-columns:1fr}.report-controls{flex-direction:column;align-items:stretch}.report-controls button{width:100%}}
@media print{*{print-color-adjust:exact;-webkit-print-color-adjust:exact}body,.reports-layout{background:white!important;color:#111!important;font-family:Arial,sans-serif}.reports-top,.reports-heading,.warning-note,.admin-import,.report-builder,.foot-muted,.reports-kicker{display:none!important}.reports-main{padding:0;margin:0;max-width:none}.preview-panel{margin:0!important;padding:0!important;border:0!important;background:white!important;box-shadow:none!important}.print-header{border-bottom:2px solid #222}.print-header h2,.print-header .eyebrow,.report-summary,.shift-group-title,.shift-group-meta,.mgmt-entry,.mgmt-entry-head,.mgmt-narrative,.mgmt-action,.report-entry-meta,.print-footer{color:#111!important;background:white!important}.report-type{color:#111!important;background:#ddd!important}.mgmt-entry{border-color:#aaa!important}.shift-group{border-color:#aaa!important}.followup-chip{color:#111!important;border-color:#aaa!important}.print-footer{margin-top:30px}}
