/* Engineer-only shell. The surrounding WordPress template and office portal are untouched. */
.fdr-app{--accent:#b62429;--ink:#202936;--line:#dfe4ea;box-sizing:border-box;background:#f3f5f8;color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;padding:24px;border-radius:20px;max-width:960px}
.fdr-app *{box-sizing:border-box}.fdr-app [hidden]{display:none!important}
.fdr-app h2{font-size:21px;font-weight:700;line-height:1.3;margin:0 0 12px;color:var(--ink)}.fdr-app h3{font-weight:650;color:var(--ink)}
.fdr-app section{border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 6px #17203305;padding:24px;margin:16px 0}
.fdr-app .fdr-app-nav{display:flex!important;align-items:center;justify-content:space-between;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0 0 12px;gap:12px}
.fdr-app .fdr-app-nav a{color:var(--ink)!important}.fdr-app .fdr-app-nav #fdr-home{gap:10px;min-width:0}.fdr-app #fdr-home>span{width:42px;height:42px;flex-shrink:0;background:var(--accent);color:#fff;border-radius:10px;font-size:13px;font-weight:800;letter-spacing:.03em}.fdr-app #fdr-home b{font-size:16px;line-height:1.3}.fdr-app #fdr-home small{display:block;margin-top:4px;font-size:9px;letter-spacing:.1em;color:#657184;font-weight:600}
.fdr-account{position:relative}.fdr-account summary{cursor:pointer;padding:9px 11px;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:650;list-style:none}.fdr-account summary::-webkit-details-marker{display:none}.fdr-account>div{position:absolute;right:0;top:48px;min-width:210px;z-index:70;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #16233326;padding:14px;display:grid!important;gap:12px!important;font-size:14px}
.fdr-app .fdr-sync-status{position:static;box-shadow:none;padding:9px 12px;gap:8px;font-size:12px;border-radius:10px;margin-bottom:18px}.fdr-sync-status strong{font-weight:650}.fdr-app .fdr-sync-status button{font-size:12px;padding:6px 8px!important;min-height:34px}.fdr-app #fdr-queue-count:empty{display:none}.fdr-app #fdr-sync-now{margin-left:auto!important}
.fdr-app .fdr-btn,.fdr-app .fdr-mini{font:650 14px/1.3 system-ui!important;min-height:44px!important;padding:12px 16px!important;border-radius:10px!important;transition:background .12s}.fdr-app .fdr-btn:hover,.fdr-app .fdr-mini:hover{background:#951c22!important}.fdr-app .fdr-secondary{background:#fff!important;border-color:#cad1db!important;color:#344054!important}.fdr-app .fdr-secondary:hover{background:#f1f4f7!important}.fdr-app button:disabled{opacity:.65;cursor:wait!important}.fdr-app :is(button,summary,input,select,textarea,a):focus-visible{outline:3px solid #4878c5;outline-offset:3px}
.fdr-app input:not([type=radio]),.fdr-app select,.fdr-app textarea{font:inherit;font-size:16px;border-color:#cbd3de;min-height:44px;border-radius:10px}.fdr-app label{font-size:14px;font-weight:550}.fdr-app label>input,.fdr-app label>select{margin-bottom:18px}.fdr-app textarea{line-height:1.5}
.fdr-app .fdr-active-job{border-left:3px solid var(--accent)!important;padding:18px 20px;gap:14px}.fdr-app .fdr-active-job small{color:#6a7585;font-size:10px}.fdr-app .fdr-active-job h2{font-size:18px}.fdr-app .fdr-active-job p{font-size:14px}.fdr-app #fdr-complete-job{font-size:12px!important;min-height:40px!important}
.fdr-app .fdr-scan-intro{font-size:14px;margin-bottom:20px}.fdr-app .fdr-door-actions{gap:12px}.fdr-app .fdr-door-actions button{flex:1}.fdr-app .fdr-team-disclosure{margin:18px 0 0;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:13px}.fdr-team-disclosure>summary{cursor:pointer;font-weight:650;color:#536174}.fdr-team-disclosure #fdr-team-status{padding-top:14px}.fdr-team-disclosure ul{padding-left:18px}
.fdr-app.is-inspecting #fdr-workspace>.fdr-active-job,.fdr-app.is-inspecting #fdr-workspace>.fdr-scan,.fdr-app.is-inspecting #fdr-workspace>#fdr-site-doors,.fdr-app.is-inspecting .fdr-team-disclosure{display:none}
.fdr-app #fdr-inspection>header{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.fdr-door-thumb{width:64px;height:72px;object-fit:cover;border-radius:10px}.fdr-app #fdr-inspection>header>div{flex:1;min-width:130px}.fdr-app #fdr-asset{font:650 13px ui-monospace,monospace;color:#657184}.fdr-app #fdr-location{font-size:20px;margin:3px 0}.fdr-app #fdr-address{margin:0;font-size:13px;color:#657184}.fdr-app #fdr-history{font-size:12px;color:#657184}
.fdr-answer-progress{display:flex;gap:16px;align-items:center;margin:12px 0 20px;font-size:13px}.fdr-answer-progress progress{flex:1;width:100px;height:8px;accent-color:var(--accent)}.fdr-app #fdr-form fieldset{margin-top:0}.fdr-app #fdr-form legend{font-size:17px}.fdr-app .fdr-check-tools{margin:10px 0 18px}.fdr-check-tools p{color:#667085;font-size:12px!important}.fdr-app .fdr-method-note{background:#f6f7f9;border-left:2px solid #b3bdcc;color:#596678;font-size:12px;padding:12px}
.fdr-app .fdr-check-section{font-size:16px;margin-top:26px;border-color:#dfe4ea}.fdr-app .fdr-check{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:18px 0}.fdr-app .fdr-check>span{grid-column:1/-1;font-size:15px;line-height:1.5;margin-bottom:6px}.fdr-app .fdr-check label.fdr-result-choice{flex-direction:row!important;gap:6px!important;border:1px solid #d3dae4;border-radius:9px;padding:10px 4px!important;min-height:48px;cursor:pointer;font-size:13px!important;background:#fff;font-weight:600}
.fdr-app .fdr-check input[type=radio]{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;accent-color:#334155}.fdr-app .fdr-result-choice:has(input:checked){outline:2px solid #64748b;outline-offset:-2px;background:#edf1f5!important}.fdr-app .fdr-result-choice:has(input[value=pass]:checked){background:#ecfdf3!important;outline-color:#16804a;color:#126d3c}.fdr-app .fdr-result-choice:has(input[value=fail]:checked){background:#fff0ef!important;outline-color:#b62429;color:#a01c22}.fdr-app .fdr-result-choice:has(input[value=fi]:checked){background:#fff7e6!important;outline-color:#a86504;color:#885300}
.fdr-app .fdr-note-toggle{grid-column:1/-1;justify-self:start;background:transparent;border:0;color:#526680;padding:8px 0;min-height:40px;font:550 13px system-ui;cursor:pointer}.fdr-app .fdr-item-note textarea{background:#fafbfd}.fdr-app .fdr-check label.fdr-item-note[hidden]{display:none!important}.fdr-app .fdr-help-button{width:30px!important;min-width:30px!important;height:30px!important;font-size:15px!important}
.fdr-app .fdr-inspection-actions{position:sticky;bottom:0;z-index:15;padding:14px 0 calc(14px + env(safe-area-inset-bottom,0px));margin-top:24px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 12px #fff;display:flex;gap:12px}.fdr-app .fdr-inspection-actions button{flex:1}.fdr-app #fdr-form{scroll-padding-bottom:100px}.fdr-app #fdr-form :is(input,textarea,select){scroll-margin-bottom:120px}.fdr-app .fdr-save-notice:not(:empty){padding:12px;border-radius:9px;background:#f0f4f8;color:#334155;font-size:14px}
@media(max-width:600px){.fdr-app{padding:12px;border-radius:14px}.fdr-app section{padding:18px;margin:12px 0}.fdr-app .fdr-app-nav{padding:12px;gap:8px}.fdr-app #fdr-home b{font-size:14px}.fdr-app #fdr-home small{font-size:8px}.fdr-app .fdr-active-job{flex-direction:row;align-items:center;flex-wrap:wrap}.fdr-app .fdr-active-job>div{flex:1;min-width:150px}.fdr-app .fdr-active-job #fdr-complete-job{width:auto!important;padding:9px 12px!important}.fdr-app .fdr-door-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fdr-app .fdr-door-actions button{padding:11px 8px!important;font-size:12px!important}.fdr-app .fdr-barcode-entry{gap:10px}.fdr-app .fdr-barcode-input{flex-direction:row}.fdr-app .fdr-barcode-input button{padding:10px!important;font-size:12px!important}.fdr-app #fdr-inspection>header{gap:10px}.fdr-app #fdr-history{width:100%}.fdr-app .fdr-check label.fdr-result-choice{font-size:12px!important;gap:4px!important}.fdr-app .fdr-inspection-actions button{font-size:13px!important;padding:11px 8px!important}}
@media(prefers-reduced-motion:reduce){.fdr-app *{scroll-behavior:auto!important;transition:none!important}}
.fdr-app #fdr-form:focus-within .fdr-inspection-actions{position:static}
@media(max-width:600px){.fdr-app .fdr-inspection-actions{position:static}}
.fdr-app .fdr-app-dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dfe4ea;border-radius:18px;padding:24px;background:#fff;color:#202936;box-shadow:0 20px 70px #0004;font:16px/1.5 system-ui;overscroll-behavior:contain}
.fdr-app .fdr-app-dialog::backdrop{background:#10182899}
.fdr-app .fdr-app-dialog:not([open]){display:none}
.fdr-app .fdr-dialog-actions{display:flex;gap:12px;margin-top:24px}.fdr-app .fdr-dialog-actions button{flex:1}
.fdr-app .fdr-scanner-dialog #fdr-camera{margin:0}.fdr-app .fdr-scanner-dialog video{display:block;width:100%;height: min(50dvh,400px);object-fit:cover;background:#111;border-radius:12px;margin:16px 0}.fdr-app .fdr-scanner-dialog #fdr-stop-scan{width:100%}
.fdr-app .fdr-app-dialog button.fdr-btn.fdr-secondary{background:#fff!important;background-image:none!important;color:#202936!important;-webkit-text-fill-color:#202936!important;border:1px solid #94a3b8!important;opacity:1!important;text-shadow:none!important}
.fdr-app .fdr-app-dialog button.fdr-btn.fdr-secondary:is(:hover,:focus,:active){background:#eef2f6!important;color:#202936!important;-webkit-text-fill-color:#202936!important}
.fdr-app .fdr-app-dialog button.fdr-btn.fdr-secondary:focus-visible{outline:3px solid #526680!important;outline-offset:3px}
