:root{font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;color:#10223b;background:#f3f7fb}*{box-sizing:border-box}body{margin:0}.staff-topbar{min-height:64px;padding:12px 24px;background:#0d2f67;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.staff-topbar small{display:block;opacity:.75}.inline{display:inline}.ghost{border:1px solid #ffffff66;background:transparent;color:#fff;border-radius:8px;padding:7px 11px}.staff-shell{max-width:1180px;margin:24px auto;padding:0 16px}.permission-lock{background:#fff1f1;border:1px solid #f0a5a5;border-left:5px solid #c62828;padding:16px 18px;border-radius:12px;margin-bottom:18px}.permission-lock h2{margin:0 0 6px}.staff-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.staff-cards>div,.staff-panel{background:#fff;border:1px solid #dbe6f1;border-radius:14px;box-shadow:0 6px 22px #17345d12}.staff-cards>div{padding:16px}.staff-cards span{display:block;color:#667891;font-size:12px}.staff-cards strong{font-size:22px}.staff-panel{padding:18px;margin-bottom:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2,.staff-panel h2{margin:0 0 12px}.panel-head span{font-size:12px;color:#6b7b91}.reminder-list,.rot-list{display:grid;gap:10px}.reminder,.rot-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #dce5ef;border-radius:12px;padding:13px}.reminder.escalated{border-color:#df8d8d;background:#fff7f7}.reminder p,.rot-row p{margin:4px 0 0;color:#64748b}.rot-row h3{margin:3px 0}.status{padding:6px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#edf2f7}.status.running{background:#dcfce7;color:#166534}.status.paused{background:#fef3c7;color:#92400e}.status.completed{background:#dbeafe;color:#1e40af}.empty{color:#77869a}.staff-login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#eff6ff,#f8fafc)}.staff-login-card{width:min(420px,100%);background:#fff;border-radius:20px;padding:28px;box-shadow:0 22px 60px #0f2c541f;text-align:center}.staff-logo-orb{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#0d4c9a;color:#fff;font-weight:900;font-size:28px}.staff-login-card h1{margin:0}.staff-login-card>p{color:#708096}.staff-login-card label{text-align:left;display:block;margin:12px 0;color:#45566d;font-size:13px}.staff-login-card input{display:block;width:100%;padding:12px;border:1px solid #cfd9e6;border-radius:10px;margin-top:5px}.staff-login-card button[type=submit]{width:100%;padding:12px;border:0;border-radius:10px;background:#0d4c9a;color:#fff;font-weight:800}.staff-alert{padding:10px;border-radius:10px}.staff-alert.danger{background:#fff1f1;color:#991b1b}@media(max-width:720px){.staff-cards{grid-template-columns:repeat(2,1fr)}.staff-topbar{padding:10px 14px}.rot-row,.reminder{align-items:flex-start}.panel-head{align-items:flex-start;flex-direction:column}}
.staff-alert.success{background:#ecfdf5;color:#166534;border:1px solid #a7f3d0;margin-bottom:12px}.action-row{display:flex;gap:8px}.action-row button,.rot-controls button{padding:8px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font-weight:700}.rot-main{flex:1}.rot-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.rot-controls form{display:flex;gap:6px;align-items:center}.rot-controls select{padding:8px;border:1px solid #cbd5e1;border-radius:8px}@media(max-width:720px){.rot-row{display:block}.rot-controls{justify-content:flex-start;margin-top:10px}.rot-controls form{width:100%}.rot-controls select{flex:1}}

/* FIX-19 — Deciding Technician Inspection Report access */
.inspection-review-panel{border-color:#bcd8ee}.inspection-review-list{display:grid;gap:11px}.inspection-review-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #d7e4ef;border-radius:13px;padding:14px;background:linear-gradient(135deg,#f7fbff,#fff)}.inspection-review-main{flex:1}.inspection-review-main small{color:#6b7d93}.inspection-review-main h3{margin:3px 0 7px;color:#123b68}.inspection-review-main p{margin:3px 0;color:#596c83}.inspection-review-statuses{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.inspection-review-actions{display:flex;align-items:center}.staff-primary-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#0b5fad;color:#fff;border-radius:9px;padding:10px 13px;font-weight:800}.staff-primary-link.compact-link{padding:7px 10px;font-size:12px}.staff-back-link{text-decoration:none}.staff-report-shell{max-width:980px}.staff-inspection-report{padding:20px}.staff-report-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #dce7f1;padding-bottom:13px}.report-kicker{font-size:10px;letter-spacing:.08em;color:#6f8299;font-weight:900}.staff-report-heading h1{margin:3px 0 2px;color:#0d3b70}.staff-report-heading p{margin:0;color:#687b92}.staff-report-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.staff-report-meta>div{border:1px solid #dce6ef;border-radius:10px;padding:10px;background:#fbfdff}.staff-report-meta span{display:block;font-size:9px;text-transform:uppercase;color:#74879c;font-weight:900}.staff-report-meta strong{display:block;margin-top:3px;color:#173a63}.staff-report-notice{border-left:4px solid #0b5fad;background:#eef7ff;color:#234f7b;padding:11px 13px;border-radius:9px;margin:12px 0}.staff-inspection-items{display:grid;gap:10px}.staff-inspection-item{border:1px solid #dce6ef;border-radius:12px;padding:13px;background:#fff}.staff-inspection-item-head{display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center}.staff-inspection-item-head>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eaf3ff;color:#0b4d91;font-weight:900}.staff-inspection-item h3{margin:0;color:#193b62}.staff-inspection-item p{margin:8px 0;color:#63758b}.inspection-state{padding:5px 8px;border-radius:999px;background:#edf2f7;color:#4d627b;font-size:10px}.inspection-state.state-good{background:#e6f8ee;color:#087052}.inspection-state.state-fair{background:#fff3d9;color:#8c5900}.inspection-state.state-poor{background:#fff0ee;color:#a12b20}.staff-report-footer{display:flex;justify-content:flex-end;margin-top:16px}@media(max-width:720px){.inspection-review-row,.staff-report-heading{display:block}.inspection-review-actions{margin-top:10px}.inspection-review-actions .staff-primary-link,.staff-report-footer .staff-primary-link{width:100%}.staff-report-meta{grid-template-columns:1fr}.staff-inspection-item-head{grid-template-columns:30px 1fr}.staff-inspection-item-head .inspection-state{grid-column:2}}
