/* V4.7 admin usability layer; existing selectors and OCR/DB save flow unchanged. */
#dashboard .v45-admin-group{background:#19151d;border-color:#ffffff22}
#dashboard .v45-admin-group>span{color:#e1c3cd}
#dashboard .v45-admin-group button{border-radius:8px;line-height:1.28}
.v47-scan-help{margin:12px 0;padding:0 13px;border:1px solid #ffffff24;background:#1c1720;border-radius:9px;color:#d5c3cc}
.v47-scan-help summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:45px;list-style:none;cursor:pointer;font:800 11px 'DM Sans',sans-serif;letter-spacing:.08em}
.v47-scan-help summary::-webkit-details-marker{display:none}
.v47-scan-help summary span{transition:transform .2s}
.v47-scan-help[open] summary span{transform:rotate(180deg)}
.v47-scan-help p{margin:0 0 14px;font-size:12px;line-height:1.6;color:#baaeb6}
#dashboard input:focus-visible,#dashboard select:focus-visible,#dashboard textarea:focus-visible{outline:2px solid #eb6d8b;outline-offset:2px}
@media(max-width:540px){
 #dashboard .tabs.v45-admin-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #dashboard .v45-admin-group button{min-height:40px;overflow-wrap:normal;word-break:normal}
 #dashboard .panel{min-width:0}
 #dashboard .unified-steps{font-size:9px}
 #dashboard .unified-steps span{min-width:0}
 .v47-scan-help{margin:13px 0}
}

.v47-ocr-health{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;padding:12px 13px;margin-bottom:12px;background:#162219a0;border:1px solid #5f967c50;border-radius:9px;color:#d7e6de;font:700 11px/1.5 'DM Sans',sans-serif}
.v47-ocr-health strong{color:#8fe7b2;letter-spacing:.10em}
.v47-ocr-health span{flex:1 1 260px}
.v47-ocr-health b{flex:1 1 100%;color:#ffcf98;font-size:11px}
.v47-ocr-health.has-warning{background:#301d1baa;border-color:#e59f5c77}
.v47-ocr-health.has-warning strong{color:#f2bc84}
