.dd-form {font-size:14px;min-width:0;}
.dd-intro,.dd-help,.dd-local {font-size:12px;line-height:1.7;color:var(--rw-muted);margin:0 0 16px;}
.dd-local {border-left:2px solid var(--rw-accent);padding-left:10px;}
.dd-form fieldset {border:0;padding:0;margin:0;min-width:0;}
.dd-fields {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;}
.dd-field {display:grid;gap:7px;min-width:0;margin-bottom:16px;font-size:13px;}
.dd-full {grid-column:1 / -1;}
.dd-method {margin-top:4px;}
body.records-workbench #customers-view .dd-form :is(input,select,textarea) {box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid var(--rw-line);border-radius:6px;background:var(--rw-surface);color:var(--rw-text);padding:10px 11px;font:inherit;font-size:16px;line-height:1.5;}
.dd-form textarea {resize:vertical;}
.dd-form :is(input,textarea)[aria-invalid="true"] {border-color:#d9887c!important;}
.dd-error {color:#edaaa0;font-size:12px;line-height:1.7;}
html[data-theme="light"] .dd-error {color:#a33930;}
.dd-address {border-top:1px solid var(--rw-line);padding-top:4px;margin-top:6px;}
.dd-completeness {display:grid;gap:6px;padding:12px 0;border-top:1px solid var(--rw-line);font-size:12px;line-height:1.7;color:var(--rw-muted);}
.dd-completeness strong {color:var(--rw-accent);font-size:13px;}
.dd-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
body.records-workbench #customers-view .dd-form button {min-height:42px;padding:9px 13px;border:1px solid var(--rw-line);border-radius:6px;background:var(--rw-surface);color:var(--rw-text);font-size:13px;}
body.records-workbench #customers-view .dd-form .dd-primary {background:var(--rw-accent);color:#17191e;border-color:var(--rw-accent);font-weight:600;}
.dd-form #dd-status {font-size:13px;line-height:1.7;min-height:22px;}
body.records-workbench #customers-view .rw-tabs {overflow-x:auto;}
body.records-workbench #customers-view .rw-tabs button {flex:none;padding-inline:8px;font-size:12px;}
@media(max-width:360px) {.dd-fields {grid-template-columns:minmax(0,1fr);}}
.dd-search {margin-bottom:20px;}
.dd-search > .dd-field {margin-bottom:8px;}
.dd-search > .dd-help {margin-top:10px;margin-bottom:8px;}
.dd-store-results {display:grid;gap:8px;max-height:260px;overflow-y:auto;}
body.records-workbench #customers-view .dd-form .dd-store-results button {display:grid;gap:5px;text-align:left;width:100%;min-height:60px;overflow-wrap:anywhere;}
.dd-store-results span {font-size:12px;color:var(--rw-muted);line-height:1.6;}
.dd-form button:focus-visible {outline:2px solid var(--rw-accent);outline-offset:2px;}
.dd-save-bar {position:sticky;bottom:0;z-index:2;background:var(--rw-surface);border-top:1px solid var(--rw-line);padding:10px 0 max(8px,env(safe-area-inset-bottom));margin-top:8px;}
.dd-save-bar .dd-actions {margin-top:0;}
.dd-save-bar #dd-status {margin:8px 0 0;}
.dd-form :is(input,select,textarea) {scroll-margin-block:24px 150px;}
