/* CENTRAL / Equipment — PREP / DERIG switch and return workflow */
.dr-active .kit-header-actions{display:none!important}
.dr-view-switch{display:inline-flex;gap:3px;background:#201c19;border:1px solid #55463c;padding:4px;border-radius:10px;margin:12px 0 19px}
.dr-view-switch button{border:0;background:transparent;color:#b9aea6;padding:11px 21px;border-radius:7px;letter-spacing:.07em;font-size:11px;font-weight:800}
.dr-view-switch button.dr-selected{background:#a94e2b;color:#fff}
.dr-view-switch button:focus-visible{outline:2px solid #fba77d;outline-offset:2px}
.dr-prep{display:inline-flex;align-items:center;white-space:nowrap;gap:4px;border:1px solid transparent;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:700;letter-spacing:.015em}
.dr-prep-photographed{background:#1e382e;color:#a8dbb4;border-color:#3e7454}
.dr-prep-needs{background:#422b24;color:#f3aa8f;border-color:#865039}
.dr-prep-exempt{background:#323137;color:#cabfc1;border-color:#544e56}
.dr-prep-edit{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:12px 13px;background:#231f1d;border:1px solid #453b32;border-radius:9px}
.dr-prep-edit>div{display:grid;gap:5px}.dr-prep-edit label{display:flex;align-items:center;gap:7px;font-size:12px;color:#e4d0c1}
.dr-prep-edit input[type=checkbox],.dr-exemption input{accent-color:#df7048;width:17px;height:17px}
.dr-prep-edit .hint{font-size:11px}
.dr-heading{display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap;padding:5px 0 18px}
.dr-heading h2{margin:8px 0;font-size:24px;letter-spacing:.035em}
.dr-heading p{margin:0}
.dr-summary{display:grid;justify-items:end;gap:3px;color:#9bafa3;min-width:105px}
.dr-summary strong{font-size:27px;color:#a6d6b2;font-variant-numeric:tabular-nums}
.dr-summary span{font-weight:800;letter-spacing:.13em;font-size:9px}
.dr-progress{height:7px;background:#302b27;border-radius:99px;overflow:hidden;border:1px solid #514538;margin-bottom:18px}
.dr-progress span{display:block;height:100%;background:#5a9f6d;transition:width .2s}
.dr-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:15px 0 25px;flex-wrap:wrap}
.dr-search-label{display:grid;gap:6px;color:#a9a09b;font-size:10px;font-weight:800;letter-spacing:.07em;flex:1;max-width:500px}
.dr-search-label input{min-width:0;width:100%}
.dr-unit-picker{flex:0 1 220px;min-width:170px}.dr-unit-picker select{width:100%}
.dr-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.dr-section,.dr-completed{min-width:0;border:1px solid #483c33;border-radius:13px;background:#1c1a18;margin-bottom:18px;overflow:hidden}
.dr-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 19px;background:#28221f;border-bottom:1px solid #453831}
.dr-section-head h3{font-size:12px;margin:0;letter-spacing:.085em}
.dr-section-head span{font-size:11px;color:#b1a49c;white-space:nowrap}
.dr-completed .dr-section-head h3{color:#a6ddb9}
/* Compact cards make both columns readable at regular laptop widths. */
.dr-board .dr-equipment{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:7px 9px;padding:15px 13px}
.dr-board .dr-equipment>span:nth-child(2){grid-column:1;grid-row:2}
.dr-board .dr-equipment>span:nth-child(3){grid-column:2;grid-row:2}
.dr-board .dr-equipment .dr-chevron{grid-column:2;grid-row:1}
@media(max-width:920px){.dr-board{grid-template-columns:minmax(0,1fr);gap:12px}}
.dr-rows{padding:0}
.dr-equipment{display:grid;grid-template-columns:minmax(135px,1.3fr) minmax(115px,.8fr) minmax(90px,.6fr) 20px;align-items:center;gap:12px;padding:17px 18px;width:100%;text-align:left;background:#1c1a18;border:0;border-bottom:1px solid #39312c;border-left:3px solid var(--dr-supplier,#706159);color:#eee2d8}
.dr-equipment:last-child{border-bottom:0}
.dr-equipment:hover{background:#2b251f}
.dr-equipment:focus-visible{outline:2px solid #dc7d51;outline-offset:-3px}
.dr-equipment-main{display:grid;gap:5px;min-width:0}
.dr-equipment-main strong{font-size:14px;overflow-wrap:anywhere}
.dr-equipment-main small{color:#a99d92;font-size:11px;overflow-wrap:anywhere}
.dr-chevron{color:#b19c8f;font-size:25px;text-align:right}
.dr-status{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #4c4540;background:#302b27;border-radius:7px;padding:6px 10px;color:#c6b5a5;font-weight:750;font-size:11px}
.dr-status-in_progress{background:#303449;border-color:#515e88;color:#bbc4ff}
.dr-status-issue{background:#502b27;border-color:#86433c;color:#ffb6a3}
.dr-status-completed{background:#20392a;border-color:#447250;color:#a7e4b6}
.dr-empty{padding:21px;color:#afa59d;font-size:13px;margin:0}
.dr-error{padding:13px 15px;background:#462b27;color:#ffd0bb;border:1px solid #aa624f;border-radius:9px;margin:10px 0}
.dr-error small{display:block;margin-top:6px}
.dr-dialog{padding:0;width:min(790px,calc(100vw - 20px));max-width:790px;max-height:calc(100dvh - 20px);background:#191816;color:#f5e9df;border:1px solid #725340;border-radius:15px;box-shadow:0 25px 80px #000a}
.dr-dialog::backdrop{background:rgba(4,3,2,.76)}
.dr-dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:13px;padding:21px 24px;border-bottom:1px solid #4b3d34;position:sticky;top:0;background:#201c1a;z-index:2}
.dr-dialog-heading h2{margin:5px 0 8px;font-size:22px}
.dr-dialog-heading p{margin:0}
.dr-dialog-body{padding:21px 24px 25px}
.dr-current{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.dr-reference,.dr-entry{padding:19px;border:1px solid #473a31;border-radius:12px;background:#211d1a;margin-bottom:19px}
.dr-reference h3,.dr-entry h3{font-size:13px;letter-spacing:.09em;margin:0 0 16px}
.dr-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:11px;margin:10px 0}
.dr-photo-card{height:110px;border:1px solid #624937;border-radius:9px;overflow:hidden;position:relative;background:#282420}
.dr-photo-card a,.dr-photo-card img{display:block;width:100%;height:100%}
.dr-photo-card img{object-fit:cover}
.dr-photo-unavailable{display:grid;place-items:center;height:100%;font-size:11px;color:#b5aba3;padding:12px;text-align:center}
.dr-photo-remove{position:absolute;right:5px;top:5px;border:1px solid #925143;background:#522d27;color:#fff;height:27px;width:27px;border-radius:7px;font-size:18px;cursor:pointer}
.dr-photo-remove:hover{background:#8a3a2e}
.dr-note-reference{padding:14px;margin-top:15px;background:#2b251f;border-radius:8px;overflow-wrap:anywhere}
.dr-note-reference>span{font-size:10px;font-weight:850;letter-spacing:.09em;color:#dbad95}
.dr-note-reference p{font-size:13px;line-height:1.55;margin:9px 0 0;white-space:pre-wrap}
.dr-alert{background:#443024;border:1px solid #805333;border-radius:8px;padding:12px;color:#ffd2a9;font-size:12px;line-height:1.5}
.dr-field{display:grid;gap:8px;color:#d3b8a8;font-size:10px;font-weight:800;letter-spacing:.06em;margin:15px 0}
.dr-field textarea,.dr-field input{color:#f2e9e3}
.dr-field[hidden]{display:none!important}
.dr-inputs[hidden]{display:none!important}
.dr-photo-head{display:flex;justify-content:space-between;gap:9px;margin-top:19px;font-size:11px;letter-spacing:.07em}
.dr-photo-head span{color:#b9ab9f}
.dr-photo-actions,.dr-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.dr-dialog-actions{border-top:1px solid #4e3f35;padding-top:16px;margin-top:22px}
.dr-exemption{display:flex;align-items:start;gap:11px;margin-top:20px;padding:14px;border:1px solid #66503f;border-radius:9px;background:#30251f}
.dr-exemption strong{display:block;font-size:13px}
.dr-exemption small{display:block;font-size:11px;color:#bda99b;line-height:1.5;margin-top:4px}
.dr-exemption input{flex:none;margin-top:1px}
.dr-message{font-size:12px;color:#ecc5ae;line-height:1.5;min-height:16px}
.dr-recover{background:#201b18;border:1px solid #73533d;border-radius:13px;color:#eee5df;padding:0;width:min(520px,95vw)}
.dr-recover .dr-dialog-heading{position:static}
.dr-recover-list{padding:16px}.dr-recover-list>div{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:12px;border-bottom:1px solid #40352e}
.dr-loading{padding:40px;color:#eee0d4}
@media(max-width:690px){.dr-equipment{grid-template-columns:minmax(0,1fr) auto;gap:7px 8px;padding:14px 11px}.dr-equipment>span:nth-child(2){grid-column:1;grid-row:2}.dr-equipment>span:nth-child(3){grid-column:2;grid-row:2}.dr-equipment .dr-chevron{grid-column:2;grid-row:1}.dr-heading h2{font-size:21px}.dr-dialog-heading{padding:16px}.dr-dialog-body{padding:14px}.dr-reference,.dr-entry{padding:13px}.dr-view-switch{width:100%}.dr-view-switch button{flex:1;padding:12px}.dr-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dr-photo-card{height:100px}}
