/* Repair Jobs — navy/white/gold theme, matches app */
.rj-num{font:800 1.1rem "Barlow Condensed",sans-serif;color:#1a365d;letter-spacing:.02em;white-space:nowrap}
.rj-num.big{font-size:1.6rem}
.rj-back{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.rj-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.rj-row .rj-num{background:#ebf8ff;border:1px solid #bee3f8;border-radius:8px;padding:4px 10px}
.rj-filters{margin-bottom:12px}
.rj-head{margin-bottom:12px}
.rj-headrow{display:flex;align-items:flex-start;gap:12px;margin-bottom:10px}
.rj-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.85rem;color:#4a5568;margin-bottom:8px}
.rj-prob{font-size:.9rem;margin:6px 0;line-height:1.5}
.rj-sechead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.rj-sechead h3{margin:0}
.rj-sumrow{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:.95rem}
.rj-sumrow.total{border-top:2px solid #1a365d;margin-top:8px;padding-top:12px;font-size:1.1rem;font-weight:700}

/* timeline */
.rj-timeline{display:flex;flex-direction:column;gap:12px}
.rj-entry{border:1px solid #e2e8f0;border-left:4px solid #d69e2e;border-radius:10px;padding:12px;background:#fffdf7}
.rj-entryhead{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.rj-stage{background:#ebf8ff;color:#1a365d;font-weight:700;font-size:.75rem;padding:3px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.04em}
.rj-inrep{background:#f0fff4;color:#276749;font-size:.72rem;padding:3px 8px;border-radius:999px;font-weight:600}
.rj-priv{background:#fff5f5;color:#9b2c2c;font-size:.72rem;padding:3px 8px;border-radius:999px;font-weight:600}
.rj-note{line-height:1.55;margin:6px 0;white-space:pre-wrap}
.rj-medias{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.rj-media{max-width:160px}
.rj-media img{width:100%;border-radius:8px;cursor:pointer;border:1px solid #e2e8f0}
.rj-media video{width:100%;border-radius:8px;border:1px solid #e2e8f0}
.rj-cap{font-size:.75rem;color:#718096;margin-top:2px}
.rj-entryfoot{margin-top:8px;display:flex;gap:8px}

/* upload progress */
.rj-up{margin:8px 0;padding:8px 12px;background:#ebf8ff;border-radius:8px;font-size:.85rem;position:relative;overflow:hidden}
.rj-upbar{position:absolute;left:0;top:0;bottom:0;background:#bee3f8;opacity:.5;transition:width .3s;z-index:0}
.rj-up span{position:relative;z-index:1}
.rj-up.fail{background:#fff5f5;border:1px solid #feb2b2;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}

/* internal notes */
.rj-internal{border:2px dashed #e53e3e;background:#fffafa}
.rj-internal h3{color:#9b2c2c}

/* report preview */
.rj-reportprev{max-height:60vh;overflow-y:auto;border:1px solid #e2e8f0;border-radius:10px;padding:16px;background:#fff}
.rj-rpt{font-size:.9rem;line-height:1.6}
.rj-rpt-head{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #1a365d;padding-bottom:8px;margin-bottom:12px;font-size:1.1rem}
.rj-rpt-row{margin:4px 0}
.rj-rpt-sec{margin:14px 0 6px;font-size:1rem;color:#1a365d;border-bottom:1px solid #bee3f8;padding-bottom:4px}
.rj-rpt-entry{margin:10px 0;padding:10px;background:#f7fafc;border-radius:8px}
.rj-rpt-edate{font-size:.78rem;color:#718096;margin-bottom:4px;font-weight:600}
.rj-rpt-media{margin:8px 0}
.rj-rpt-table{width:100%;border-collapse:collapse;margin-top:6px}
.rj-rpt-table td{padding:8px 4px;border-bottom:1px solid #e2e8f0}
.rj-rpt-total td{font-weight:700;border-top:2px solid #1a365d;border-bottom:none}

/* corporate report PDF styles (match .corp invoice layout) */
.rptsec{margin:18px 0}
.rshead{font:700 .85rem "IBM Plex Sans",sans-serif;color:#1a365d;text-transform:uppercase;letter-spacing:.06em;border-bottom:2px solid #d69e2e;padding-bottom:4px;margin-bottom:8px}
.rptentry{margin:12px 0;padding:10px 0;border-bottom:1px solid #edf2f7}
.rehead{font-size:.8rem;color:#718096;font-weight:600;margin-bottom:4px}
.rphoto{margin:10px 0;max-width:400px}
.rphoto img{width:100%;border-radius:6px;border:1px solid #e2e8f0}
.rvideo{margin:10px 0;padding:10px;background:#f7fafc;border-radius:8px;border:1px solid #bee3f8}

/* jake draft */
.rj-thinking{padding:16px;text-align:center;color:#718096;animation:pulse 1.5s infinite}
@keyframes pulse{0%,100%{opacity:.6}50%{opacity:1}}
.rj-draft{margin:12px 0;padding:12px;background:#fffdf7;border:1px solid #d69e2e;border-radius:10px}
.rj-draft pre{white-space:pre-wrap;font-family:inherit;font-size:.88rem;line-height:1.55;margin:8px 0;max-height:300px;overflow-y:auto}
.rj-err{padding:12px;background:#fff5f5;border:1px solid #feb2b2;border-radius:8px;color:#9b2c2c;margin:8px 0}
