.dr-root{--dr-bg:#111d2d;--dr-surface:#18283b;--dr-line:#34485d;--dr-text:#edf4ff;--dr-muted:#a8bbcf;--dr-accent:#91bcff;--dr-info-bg:#193b64;--dr-error:#ffb0b5;--dr-error-bg:#572b32;color:var(--dr-text);background:var(--dr-bg);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:24px 22px;border-radius:0;color-scheme:dark;overflow-wrap:anywhere;width:100%;box-sizing:border-box;min-width:0;padding-bottom:max(28px,env(safe-area-inset-bottom));}
html:is([data-theme=light],[data-theme=pink],[data-theme=lilac]) .dr-root{color-scheme:light;--dr-bg:#f7f9fc;--dr-surface:#fff;--dr-line:#d9e1ea;--dr-text:#172a40;--dr-muted:#52677f;--dr-accent:#185bb4;--dr-info-bg:#e8f1ff;--dr-error:#9c2934;--dr-error-bg:#ffecef}
.dr-root *{box-sizing:border-box}.dr-root[hidden]{display:none!important}.dr-root h2{font-size:30px;line-height:1.2;letter-spacing:-.025em;font-weight:650;color:var(--dr-text);margin:0 0 6px}.dr-root h3{margin:0;font-size:20px}.dr-root p{margin:6px 0 14px}.dr-root small,.dr-root dt{color:var(--dr-muted)}.dr-header{display:flex;align-items:center;gap:14px;margin-bottom:24px}.dr-heading{flex:1;min-width:0}.dr-header-actions{flex:none;margin-left:auto}.dr-root .dr-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border-radius:12px}.dr-back svg{flex:none;width:20px;height:20px}.dr-header p{color:var(--dr-muted);max-width:740px;font-size:13px;margin:0}.dr-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dr-root button,.dr-file-button{cursor:pointer;border:1px solid var(--dr-line);border-radius:10px;background:var(--dr-surface);color:var(--dr-text);padding:10px 14px;font:inherit;min-height:44px}.dr-root button:disabled{opacity:.5;cursor:not-allowed}.dr-root .dr-primary{background:#246bd0;color:white;border-color:#246bd0;font-weight:650}.dr-root :is(button,input,select,textarea):focus-visible{outline:3px solid var(--dr-accent);outline-offset:2px}.dr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.dr-metrics article{border:1px solid var(--dr-line);background:var(--dr-surface);border-radius:14px;padding:18px;display:flex;flex-direction:column}.dr-metrics strong{font-size:28px;line-height:1.3;margin:8px 0;overflow-wrap:anywhere}.dr-metrics span{font-size:12px;color:var(--dr-muted)}.dr-root label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600}.dr-root :is(input,select,textarea){font:14px system-ui;background:var(--dr-surface);border:1px solid var(--dr-line);border-radius:9px;color:var(--dr-text);padding:11px;min-width:0;max-width:100%;min-height:44px}.dr-root textarea{width:100%;resize:vertical}.dr-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end;margin:24px 0}.dr-search{grid-column:span 2}.dr-table-wrap{max-width:100%;overscroll-behavior-x:contain;border:1px solid var(--dr-line);border-radius:14px;overflow:auto;background:var(--dr-surface)}.dr-root table{width:100%;border-collapse:collapse;min-width:850px}.dr-root th{text-align:left;font-size:11px;letter-spacing:.04em;color:var(--dr-muted);padding:13px}.dr-root td{border-top:1px solid var(--dr-line);padding:16px 13px;vertical-align:middle}.dr-root td small{display:block;margin-top:4px}.dr-root td:nth-child(3){max-width:280px}.dr-root td:last-child{white-space:nowrap}.dr-badge{font-size:11px;display:inline-block;border:1px solid var(--dr-line);padding:5px 9px;border-radius:30px;white-space:nowrap}.dr-pagination{display:flex;align-items:center;gap:10px;margin-top:16px}.dr-pagination span{margin-right:auto}.dr-empty{padding:36px;text-align:center}.dr-create,.dr-detail{max-width:900px;margin:0 auto}.dr-create{background:var(--dr-surface);border:1px solid var(--dr-line);border-radius:16px;padding:24px}.dr-step{display:flex;gap:14px;align-items:baseline}.dr-step>span{font-size:28px;color:var(--dr-accent);font-weight:750}.dr-step p{color:var(--dr-muted)}#drLookup{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;align-items:end;margin-top:18px}.dr-product{display:flex;gap:20px;padding:24px 0;align-items:center}.dr-product img{width:100px;height:110px;object-fit:contain;border-radius:10px;background:white}.dr-callout{border:1px solid var(--dr-line);border-left:3px solid var(--dr-accent);border-radius:10px;padding:16px;margin:20px 0;background:var(--dr-surface)}.dr-callout p{color:var(--dr-muted);margin:5px 0 0}.dr-detail-heading{display:flex;justify-content:space-between;align-items:start;margin:24px 0;gap:16px}.dr-detail-heading h3{font-size:44px;letter-spacing:-.04em}.dr-photo-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.dr-file-button{position:relative;overflow:hidden}.dr-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.dr-photos{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.dr-photos img{max-width:100%;max-height:500px;object-fit:contain;border-radius:12px}.dr-photos figure{margin:0;display:flex;flex-direction:column;gap:8px;max-width:240px}.dr-root dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dr-root dd{margin:6px 0 0}.dr-reason{white-space:pre-wrap}.dr-root pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-size:12px}.dr-error,.dr-notice{padding:14px;border-radius:10px;margin:16px 0}.dr-error{background:var(--dr-error-bg);color:var(--dr-error);border:1px solid var(--dr-error)}.dr-notice{background:var(--dr-info-bg);color:var(--dr-accent);border:1px solid var(--dr-accent)}.dr-saving{position:sticky;bottom:16px;padding:12px;background:var(--dr-info-bg);color:var(--dr-accent);border:1px solid var(--dr-accent);border-radius:9px;text-align:center}
@media(min-width:768px) and (max-width:1199px){.dr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dr-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.dr-header{flex-wrap:wrap}}
@media(max-width:767px){.dr-root{padding:16px 12px calc(90px + env(safe-area-inset-bottom));border-radius:0}.dr-header{flex-wrap:wrap;align-items:flex-start;gap:12px}.dr-heading{flex-basis:calc(100% - 56px)}.dr-header .dr-header-actions{margin-left:56px;width:calc(100% - 56px)}.dr-root h2{font-size:23px}.dr-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dr-metrics article{padding:12px}.dr-metrics strong{font-size:22px}.dr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.dr-create{padding:16px}#drLookup{grid-template-columns:1fr}.dr-detail-heading h3{font-size:38px}.dr-root dl{grid-template-columns:1fr}.dr-photos figure{max-width:100%}.dr-actions button{flex:1}.dr-pagination{flex-wrap:wrap}}

.dr-root .dr-check{flex-direction:row;align-items:flex-start;gap:10px;margin:16px 0;line-height:1.6}.dr-root .dr-check input{width:22px;height:22px;min-height:22px;padding:0;flex:0 0 22px;accent-color:#246bd0}.dr-callout .dr-actions{margin-top:16px}.dr-callout small{overflow-wrap:anywhere}

/* The shared dashboard owns the page surface and navigation. */
.transfer-workspace-host:not(body)>.dr-root{background:transparent;padding:24px 0 max(30px,env(safe-area-inset-bottom,0px));border:0;box-shadow:none}
.dr-root:focus{outline:none}
html body .dr-root :is(input,textarea)::placeholder{color:var(--dr-muted)!important;opacity:1!important}
.dr-root option{color:var(--dr-text);background:var(--dr-surface)}
.dr-root button:not(:disabled):hover,.dr-file-button:hover{border-color:var(--dr-accent)}
.dr-root .dr-file-button:focus-within{outline:3px solid var(--dr-accent);outline-offset:2px}
.dr-type-help{color:var(--dr-muted)}
.dr-root .dr-file-button:has(input:disabled){opacity:.5;cursor:not-allowed}
.dr-table-wrap:focus-visible{outline:3px solid var(--dr-accent);outline-offset:2px}
@media(max-width:767px){.transfer-workspace-host:not(body)>.dr-root{padding:16px 0 calc(24px + env(safe-area-inset-bottom,0px))}}
/* Preserve primary-action contrast under the dashboard's shared theme rules. */
html body .dr-root button.dr-primary{background:#236ac6!important;border-color:#236ac6!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
html body .dr-root input[type=date]::-webkit-calendar-picker-indicator{filter:none!important;opacity:1!important}
