/* RMS Technical Report R7B — approved pre-inspection design language, Technical Report identity.
   Every rule is scoped to the existing Technical Report editor. No business logic. */
.technical-report.r7b-technical-report{
 --report-ink:#172232;--report-paper:#fff;--report-line:#dbe3ec;--report-accent:#e20015;
 --r7b-red:#e20015;--r7b-navy:#10182d;--r7b-muted:#60718a;
 --r7b-soft:#f4f7fb; font-family:inherit; color:var(--report-ink);
 background:#fff;border:1px solid #ccd7e4;border-radius:18px;
 padding:0;margin:16px 0 34px;box-shadow:0 2px 8px #0b14210d;overflow:clip;max-width:100%;min-width:0
}
.r7b-technical-report *{box-sizing:border-box}
.r7b-technical-report>.report-heading{padding:24px clamp(16px,2.4vw,32px) 20px;
 border-bottom:4px solid var(--r7b-red);align-items:center;gap:12px 20px;margin:0;
 background:#fff;min-height:116px}
.r7b-technical-report>.report-heading>div{min-width:0;flex:1}
.r7b-technical-report .report-heading .report-kicker{color:#c31327;text-transform:uppercase;letter-spacing:.105em;font-size:11px;font-weight:850}
.r7b-technical-report .report-heading h1{font-size:clamp(26px,3vw,32px);font-weight:850;letter-spacing:-.038em;line-height:1.2;margin:5px 0}
.r7b-technical-report .r7b-report-subtitle{margin:5px 0 0;color:#64748b;font-size:12px;line-height:1.5;font-weight:500}
.r7b-technical-report>.report-heading button{border:1px solid #ccd7e4;border-radius:9px;padding:10px 14px;font-size:12px;color:#27374c;background:#fff;font-weight:800;min-height:43px}
.r7b-technical-report>.report-heading button:hover{background:#f7f9fb}
.r7b-technical-report>.voice-open-training{display:flex;justify-content:center;align-items:center;
 width:max-content;max-width:calc(100% - 36px);margin:14px clamp(16px,2.4vw,32px) 0 auto;
 background:#fff;color:#334155;border:1px solid #dce3ec;border-radius:9px;
 font-size:12px;font-weight:750;min-height:40px;padding:8px 14px}
.r7b-technical-report>.voice-open-training:hover{background:#f6f8fb}
.r7b-technical-report>.report-job{margin:20px clamp(16px,2.4vw,32px) 18px;
 max-width:none;padding:16px;background:var(--r7b-soft);
 border:1px solid #dde6f0;border-radius:12px;display:grid;
 grid-template-columns:minmax(210px,1.3fr) repeat(3,minmax(0,.9fr));gap:12px;align-items:end}
.r7b-technical-report .r7b-job-picker{display:grid;gap:6px;min-width:0;color:#596a82;font-size:11px;font-weight:800}
.r7b-technical-report .r7b-job-picker input[type=search]{min-height:36px;font-size:12px;border:1px solid #d8e2ed;
 background:#fff;border-radius:8px;padding:7px 10px}
.r7b-technical-report .r7b-job-picker select{height:43px;min-height:43px;max-width:100%;border:1px solid #bdcadb;border-radius:9px;
 padding:10px 12px;background:#fff;font-size:13px;font-weight:700;color:#273447}
.r7b-technical-report .r7b-job-details{display:contents}
.r7b-technical-report .r7b-readfield{min-width:0;display:grid;gap:7px}
.r7b-technical-report .r7b-readfield>span{font-size:11px;font-weight:800;color:#596a82}
.r7b-technical-report .r7b-readfield>strong{font-size:12px;font-weight:650;min-height:43px;
 display:flex;align-items:center;overflow-wrap:anywhere;padding:9px 12px;
 color:#263443;background:#fff;border:1px solid #d9e2ed;border-radius:9px}
.r7b-technical-report>p[role=status],.r7b-technical-report>p[role=alert],.r7b-technical-report>.inspection-step-nav,
.r7b-technical-report>.inspection-sheet,.r7b-technical-report>form,
.r7b-technical-report>.inspection-blocked{margin-left:clamp(16px,2.4vw,32px);margin-right:clamp(16px,2.4vw,32px)}
.r7b-technical-report>.inspection-step-nav{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:19px;margin-bottom:20px;
 border:1px solid #dfe6ee;border-radius:11px;overflow:hidden}
.r7b-technical-report>.inspection-step-nav button{min-width:0;min-height:59px;justify-content:flex-start;text-align:left;
 border:0;border-radius:0;background:#fff;color:#64748b;padding:15px 18px;font-size:13px;font-weight:800}
.r7b-technical-report>.inspection-step-nav button+button{border-left:1px solid #e2e8f0}
.r7b-technical-report>.inspection-step-nav button[aria-current=step]{background:#fff8f9;box-shadow:inset 0 -3px var(--r7b-red);color:#172232}
.r7b-technical-report>.inspection-step-nav button:hover:not(:disabled):not([aria-current=step]){background:#f8fafc}
.r7b-technical-report>.inspection-step-nav button:disabled{opacity:.5}
.r7b-technical-report .inspection-sheet{padding:17px 0 22px;border:0;border-radius:0;margin-top:4px;margin-bottom:16px;box-shadow:none;background:#fff}
.r7b-technical-report .inspection-setup>h2{font-size:20px;font-weight:850;letter-spacing:-.02em;color:#182334}
.r7b-technical-report .inspection-setup>p{font-size:12px;color:#65758a;margin-top:8px;margin-bottom:14px}
.r7b-technical-report .inspection-setup .inspection-scope{margin:18px 0 20px;
 padding:15px;border-radius:12px;border:1px solid #dfe6ee;background:#f7f9fc}
.r7b-technical-report .inspection-setup .inspection-scope legend{font-size:12px;font-weight:800;color:#334155}
.r7b-technical-report .inspection-setup .inspection-scope-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.r7b-technical-report .inspection-setup .inspection-scope-mode>label{min-height:77px;align-items:flex-start;
 padding:16px 14px;border:1px solid #dbe3ec;border-radius:12px;
 background:#fff;cursor:pointer;font-size:13px;color:#263243}
.r7b-technical-report .inspection-setup .inspection-scope-mode>label:has(input:checked){border-color:var(--r7b-red);background:#fff9f9}
.r7b-technical-report .inspection-setup .inspection-scope-mode>label input{accent-color:var(--r7b-red);margin-top:1px}
.r7b-technical-report .inspection-setup .inspection-topic-grid{margin:16px 0 0}
.r7b-technical-report .inspection-setup>button.report-primary{font-size:12px;font-weight:800;min-height:44px;
 border:1px solid var(--r7b-red);border-radius:7px;padding:10px 17px;background:var(--r7b-red)}
.r7b-technical-report .inspection-setup>button.report-primary:hover:not(:disabled){background:#c40013}
.r7b-technical-report .inspection-heading{padding:5px 0 12px;border-bottom:1px solid #ecf0f3}
.r7b-technical-report .inspection-heading h2{font-size:20px;font-weight:850;letter-spacing:-.02em}
.r7b-technical-report .inspection-progress{padding:15px 16px;border:1px solid #dfe6ee;background:#f4f7fb;border-radius:12px}
.r7b-technical-report .inspection-progress progress{height:8px;accent-color:var(--r7b-red)}
.r7b-technical-report .inspection-scope-summary{background:#f7f9fb;border:1px solid #e3e9ef;border-radius:10px}
.r7b-technical-report .inspection-details{gap:12px}
.r7b-technical-report .inspection-details label{font-size:12px;color:#52647c;font-weight:750}
.r7b-technical-report .inspection-sheet :is(input,select,textarea){border-color:#d7e1ec;border-radius:9px;min-height:42px}
.r7b-technical-report .inspection-tools{background:#f7f9fb;border:1px solid #e2e8f0;border-radius:11px;padding:13px}
.r7b-technical-report .inspection-group{border:1px solid #dfe6ec;border-radius:11px;margin:12px 0}
.r7b-technical-report .inspection-group>summary{background:#f6f8fb;padding:14px 16px;color:#263447;font-size:14px}
.r7b-technical-report .inspection-item{margin:0 14px;padding:15px 0;border:0;border-top:1px solid #e7edf2;border-radius:0}
.r7b-technical-report .inspection-item:first-of-type{border-top:0}
.r7b-technical-report .inspection-item legend{font-size:13px;font-weight:800;color:#203044;line-height:1.5}
.r7b-technical-report .inspection-item-main{gap:12px}
.r7b-technical-report .inspection-comments{gap:13px}
.r7b-technical-report .inspection-confirm{padding:16px 0 6px;border-top:1px solid #e1e7ed}
.r7b-technical-report .inspection-confirm>button.report-primary{background:var(--r7b-red);border-color:var(--r7b-red);border-radius:7px}
.r7b-technical-report .inspection-badge{background:#fff5e8;border:1px solid #fde4c7;border-radius:7px;color:#a66a16;font-size:11px;font-weight:800}
.r7b-technical-report .inspection-badge.inspection-complete{background:#eaf9ef;border-color:#cee9da;color:#08783c}
.r7b-technical-report>form{margin-top:2px;margin-bottom:18px;min-width:0}
.r7b-technical-report .inspection-linked-findings{border:1px solid #dbe6f2;background:#f4f8fc;border-radius:11px;padding:14px;margin:12px 0}
.r7b-technical-report .report-fault-header{margin:20px 0 14px;padding-bottom:12px;border-bottom:1px solid #e7ebf0}
.r7b-technical-report .report-fault-header h2{font-size:18px;font-weight:850}
.r7b-technical-report .report-fault{border:1px solid #e0e7ef;border-radius:12px;padding:16px 17px;margin:16px 0;background:#fff;min-width:0}
.r7b-technical-report .report-fault legend{font-size:14px;font-weight:850;color:#182337;padding:3px 8px}
.r7b-technical-report .report-fault-tools{display:flex;justify-content:flex-start;gap:8px;margin:5px 0}
.r7b-technical-report .report-fault-tools button{font-size:12px;font-weight:750;min-height:39px;border-radius:8px;border:1px solid #d3dfec}
.r7b-technical-report .report-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}
.r7b-technical-report .report-field label,.r7b-technical-report .report-notes label{font-size:12px;color:#526278;font-weight:800}
.r7b-technical-report .report-fields :is(textarea,input),.r7b-technical-report .report-notes textarea{
 border-color:#d9e2ea;border-radius:9px;padding:10px 12px;font-size:13px;min-width:0;min-height:44px}
.r7b-technical-report .report-fields textarea{min-height:80px;resize:vertical}
.r7b-technical-report .report-notes{padding:14px;background:#f8fafc;border:1px solid #e4e9ef;border-radius:11px;margin:16px 0}
.r7b-technical-report .report-entry-mode{background:#f4f7fb;border:1px solid #dfe7ef;border-radius:10px;padding:11px 14px}
.r7b-technical-report .report-field-active{outline:2px solid var(--r7b-red);outline-offset:3px;border-radius:8px}
.r7b-technical-report .report-recording{color:#c40018}
.r7b-technical-report .report-footer{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;
 background:rgba(255,255,255,.97);border-top:1px solid #dce5ee;box-shadow:0 -5px 12px #111f330a;
 margin:18px -0px 0;padding:13px clamp(9px,1.3vw,16px);backdrop-filter:blur(5px)}
.r7b-technical-report .report-footer .report-primary{order:initial;margin-left:auto;background:var(--r7b-red);
 color:#fff;border-color:var(--r7b-red);border-radius:8px;padding:10px 18px;font-size:13px;font-weight:800}
.r7b-technical-report button.report-primary{background:var(--r7b-red);border-color:var(--r7b-red);color:white}
.r7b-technical-report button:disabled{opacity:.52;cursor:not-allowed}
.r7b-technical-report :is(input,textarea,select,button):focus-visible{outline:3px solid #176ff2;outline-offset:2px}
@media(max-width:1100px){
 .r7b-technical-report>.report-job{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .r7b-technical-report>.report-heading{padding:18px 16px;align-items:flex-start}
 .r7b-technical-report>.report-job{margin:16px;gap:11px}
 .r7b-technical-report>.inspection-step-nav{margin:14px 16px}
 .r7b-technical-report>.inspection-sheet,.r7b-technical-report>form{margin-left:16px;margin-right:16px}
 .r7b-technical-report .report-fields,.r7b-technical-report .inspection-details{grid-template-columns:1fr}
 .r7b-technical-report .inspection-setup .inspection-scope-mode{grid-template-columns:1fr}
 .r7b-technical-report .inspection-step-nav button{font-size:12px;padding:10px}
}
@media(max-width:500px){
 .r7b-technical-report>.report-heading{flex-direction:column;align-items:stretch}
 .r7b-technical-report>.report-job{grid-template-columns:1fr}
 .r7b-technical-report>.inspection-step-nav button{font-size:11px;min-height:59px;padding:10px 8px}
 .r7b-technical-report .report-fault{padding:10px}
 .r7b-technical-report .report-footer{flex-wrap:wrap}
 .r7b-technical-report .report-footer .report-primary{min-width:140px}
 .r7b-technical-report .inspection-setup .inspection-scope-mode>label{min-height:65px}
}
