/* Same DB detail shell for list, dashboard and other existing entry points. */
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout){--wb-nav:clamp(156px,12.5vw,198px);background:#f5f8fd}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .frame>.top{position:fixed;top:0;left:0;width:var(--wb-nav);height:77px;min-height:77px;padding:18px 16px;background:#142941;border:0;z-index:60;box-sizing:border-box}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .frame>.top .brand{padding:0;color:#f3f7ff;font-size:17px;font-weight:750;white-space:nowrap;gap:7px;letter-spacing:-.5px}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .frame>.top .brand-mark{width:23px;height:25px;background:#2b77ec;border-radius:6px;font-size:14px;color:#fff}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .frame>.top .toptools{display:none}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .frame>.layout{display:grid;grid-template-columns:var(--wb-nav) minmax(0,1fr);min-height:100dvh;margin:0}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .frame>.layout>nav.nav{position:fixed;inset:77px auto 0 0;width:var(--wb-nav);height:calc(100dvh - 77px);box-sizing:border-box;padding:6px 9px 18px;background:#142941;border:0;color:#cad7e9;overflow:auto;z-index:50}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav :is(.nav-caption,.nav-foot){color:#8197b1}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav :is(button,.nav-group>summary){color:#c8d4e6;background:transparent;font-size:13px;min-height:40px;border:0;border-radius:7px;padding:10px 11px;box-sizing:border-box}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav button:hover{background:#1c3654}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav button.active{background:#194a8c;color:#fff;box-shadow:inset 3px 0 #3985ff}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav .nav-group{border:0;margin-top:9px}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav .nav-group>div{border:0;padding-left:0}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .floating-window.db-detail-window.db-detail-drawer:not(.minimized){top:0!important;right:0!important;left:auto!important;bottom:0!important;width:var(--db-drawer-width)!important;height:100dvh!important;max-height:100dvh;max-width:100vw;min-width:0;border:0;border-left:1px solid #e1e9f5;border-radius:0;box-shadow:-3px 0 18px #284d7a07}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer>.window-head{height:78px;min-height:78px;box-sizing:border-box;padding:19px 21px;background:#fff;border-bottom:0;align-items:flex-start;cursor:default}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .window-head h2{font-size:21px;line-height:1.4;font-weight:750;letter-spacing:-.5px;color:#102342;margin:0}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .window-controls{margin-left:auto;display:flex;gap:6px}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .window-controls button{height:28px;width:28px;min-width:28px;min-height:28px;padding:0;font-size:0;background:transparent;border:0;color:#1b3455}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .window-controls button::before{font-size:21px;content:'−'}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .window-controls button:last-child::before{content:'×'}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer>.window-body{overflow:visible!important;min-height:0;display:flex;flex:1;padding:0;position:relative}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-consult-layout{width:100%;min-width:0;min-height:0;flex:1}
/* Approved customer switcher + simultaneous consultation / vehicle workspace. */
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout){--db-drawer-width:calc(100vw - var(--wb-nav))!important}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .frame>.layout>.main{visibility:hidden;pointer-events:none;margin-right:0}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer{width:var(--db-drawer-width)!important;left:var(--wb-nav)!important;right:0!important;height:100dvh!important;border-left:1px solid #e2eaf6}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer>.window-head{height:54px;min-height:54px;padding:13px 24px 8px;align-items:center;background:#f8fbff}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .window-head h2{font-size:22px;letter-spacing:-.7px;line-height:1.4}
.db-dual-layout{position:relative;display:flex;flex-direction:column;width:100%;min-width:0;min-height:0;height:100%;color:#183256;background:#f6f9ff}
.db-switcher-bar{position:relative;flex-shrink:0;display:flex;align-items:center;gap:12px;padding:5px 24px 12px;border-bottom:1px solid #dfe8f5;background:#f8fbff;min-height:75px;box-sizing:border-box}
.db-switcher-toggle{position:absolute;left:305px;top:-43px;display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:650;color:#0563df;background:#eff5ff;border:1px solid #d4e3fa;border-radius:18px;padding:6px 13px;min-height:30px;white-space:nowrap}.db-switcher-toggle::after{content:'';width:6px;height:6px;border:solid #4d729f;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-left:2px;margin-top:-3px}
.db-switcher-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:1;min-width:0}.db-switcher-chip{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:9px;row-gap:2px;min-width:0;min-height:59px;text-align:left;padding:8px 11px;border:1px solid #dce6f4;border-radius:7px;background:#fff;color:#263f63;box-sizing:border-box;box-shadow:none}.db-switcher-chip.is-selected{border-color:#126dff;background:linear-gradient(110deg,#edf5ff,#f5f9ff);box-shadow:0 0 0 1px #367ff50d}.db-switcher-avatar{grid-column:1;grid-row:1/3;display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#e1edfd;color:#5c7da8;border-radius:50%;font-size:14px;font-weight:600}.db-switcher-chip strong{grid-column:2;grid-row:1;min-width:0;font-size:12px;color:#203858;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.db-switcher-vehicle{grid-column:2;grid-row:2;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#7891b1}.db-switcher-state{grid-column:3;grid-row:1/3;padding:4px 7px;background:#e7f0fe;color:#3473cb;border-radius:5px;font-size:9px;font-weight:500;white-space:nowrap;max-width:70px;overflow:hidden;text-overflow:ellipsis}
.db-switcher-bar>[data-dual-action=toggle-list]:not(.db-switcher-toggle){min-height:32px;padding:5px 13px;border:1px solid #ceddf3;border-radius:5px;background:#fff;color:#335c93;font-size:11px;white-space:nowrap}.db-switcher-popover{position:absolute;top:70px;left:24px;z-index:40;width:min(470px,calc(100% - 48px));max-height:min(520px,calc(100dvh - 170px));padding:15px;background:#fff;border:1px solid #c9daf3;border-radius:9px;box-shadow:0 16px 42px #133c7026;box-sizing:border-box;display:flex;flex-direction:column;gap:10px}.db-switcher-popover[hidden]{display:none!important}.db-switcher-popover>header{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:650;color:#234169}.db-switcher-popover [data-dual-action=close-list]{margin-left:auto;border:0;background:#f0f5fb;color:#7b91ae;padding:3px 7px;font-size:10px;border-radius:4px}.db-switcher-popover input{box-sizing:border-box;width:100%;min-height:34px;height:34px;padding:6px 9px;border:1px solid #d9e3f2;background:#f8fbff;border-radius:5px;font-size:12px;color:#35567f}.db-switcher-results{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:5px}.db-switcher-results>button{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;text-align:left;padding:9px 10px;border:1px solid #e3eaf4;border-radius:5px;background:#fff;font-size:11px;color:#426385}.db-switcher-results>button[aria-current=true]{border-color:#80adf2;background:#edf5ff}.db-switcher-results strong{font-size:12px;min-width:70px}.db-switcher-results :is(span,small){color:#8a9cb6;font-size:10px}.db-switcher-results [hidden],.db-switcher-results>button[hidden]{display:none!important}.db-switcher-empty{font-size:11px;color:#8c9fb9;padding:15px;text-align:center}.db-switcher-popover :is(p,small){margin:0;font-size:10px;color:#96a8bf}
.db-dual-profile{position:relative;display:flex;align-items:center;gap:12px;min-height:72px;padding:9px 24px;background:#fff;border-bottom:1px solid #e1e9f5;flex-shrink:0;box-sizing:border-box}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-dual-profile .db-consult-identity{position:static;display:flex;align-items:center;flex:0 1 220px;min-width:130px;left:auto;right:auto;top:auto;min-height:0;height:auto;padding:0;border:0;gap:8px;z-index:auto}
.db-dual-profile .db-consult-identity::before{content:'';width:43px;height:43px;flex:none;border-radius:50%;background:linear-gradient(140deg,#e1edff,#eaf3ff);border:1px solid #d4e6ff}.db-dual-profile .db-consult-identity h3{font-size:18px!important;line-height:1.4!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.db-dual-profile .db-consult-identity>div{min-width:0;gap:3px}.db-dual-profile .db-consult-identity>div>a{font-size:11px!important;color:#768fb3!important}
.db-dual-profile>.db-consult-controls{display:grid;grid-template-columns:.9fr .9fr 1.3fr;align-items:center;flex:1;min-width:0;margin:0;padding:0;background:#fff;border:0;border-left:1px solid #dce5f3;gap:0}.db-dual-profile>.db-consult-controls>label{position:relative;display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:0 12px;font-size:9px;color:#7790b0;min-width:0}.db-dual-profile>.db-consult-controls>label+label{border-left:1px solid #e1e8f4}.floating-window.db-detail-drawer .db-dual-profile .db-consult-controls :is(select,input){min-width:0;width:100%;max-width:100%;box-sizing:border-box;height:27px;min-height:27px;padding:3px 5px;font-size:10px;line-height:1.4;font-weight:600;color:#2c4d79;border:1px solid transparent;border-radius:4px;background:#f2f7ff;box-shadow:none}.floating-window.db-detail-drawer .db-dual-profile select[data-db-status]{color:#0666e9;background:#e5f0ff}.floating-window.db-detail-drawer .db-dual-profile select[data-consult-meta=callState]{color:#39715b;background:#edf8f0}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-dual-profile .db-consult-pager{position:static;display:flex;align-items:center;gap:5px;white-space:nowrap;flex:none;font-size:10px;color:#7891b3;order:3}.db-dual-profile .db-consult-pager>button{width:27px;height:28px;min-height:28px;font-size:17px;background:white;border:1px solid #d8e3f4;border-radius:5px;padding:0;color:#4f78ab}.db-dual-profile .db-consult-pager>button:disabled{opacity:.3}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-dual-profile .db-detail-tabs{position:static;display:flex;gap:5px;padding:0;border:0;min-height:0;flex-shrink:0;order:4;background:transparent}.db-dual-profile .db-detail-tabs [data-panel=workspace]{display:none!important}.db-dual-profile .db-detail-tabs button{min-height:28px!important;padding:5px 7px!important;border:1px solid #c9ddff!important;border-radius:5px!important;background:#fff!important;color:#2671da!important;font-size:10px!important;font-weight:500!important;white-space:nowrap}.db-dual-profile .db-detail-tabs button.active{background:#edf5ff!important}.db-dual-layout:not(:has([data-db-detail-panel=basic]:not([hidden]),[data-db-detail-panel=source]:not([hidden]),[data-db-detail-panel=history]:not([hidden]))) .db-detail-tabs button[data-panel=workspace]{display:none!important}
.db-dual-layout .db-consult-panels{position:relative;display:grid;grid-template-columns:minmax(0,11fr) minmax(0,9fr);gap:10px;padding:10px;box-sizing:border-box;flex:1;min-width:0;min-height:0;overflow:hidden;background:#f5f9ff}
.db-dual-layout .db-consult-panels>[data-db-detail-panel=contact]{grid-column:1;min-width:0;min-height:0;height:100%;border:1px solid #dfe8f6;border-radius:7px;overflow:hidden;background:#fff;container-type:inline-size;container-name:dualcontact}
.db-dual-layout .db-consult-panels>[data-db-detail-panel=vehicle]{grid-column:2;min-width:0;min-height:0;height:100%;padding:0 13px 13px!important;border:1px solid #dfe8f6;border-radius:7px;box-sizing:border-box;overflow:auto;background:#fff!important;container-type:inline-size;container-name:dualvehicle}
.db-dual-layout .db-consult-panels>[data-db-detail-panel][hidden]{display:none!important}.db-dual-layout .db-consult-panels>[data-db-detail-panel]:not([data-db-detail-panel=contact]):not([data-db-detail-panel=vehicle]){position:absolute;z-index:25;inset:10px 10px 10px auto;width:min(600px,80%);height:auto;max-height:calc(100% - 20px);overflow:auto;box-sizing:border-box;padding:20px;background:#fff;border:1px solid #c9daf2;border-radius:8px;box-shadow:-8px 0 30px #173f7021}
.db-dual-layout:not([data-ignore]) .db-consult-context{display:none!important}.dual-pane-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 15px 8px;flex-shrink:0;min-height:42px;box-sizing:border-box}.dual-pane-heading h4{margin:0;font-size:16px;font-weight:750;color:#152f54;white-space:nowrap}.dual-pane-heading h4 small{font-size:10px;font-weight:400;color:#8ea2be;margin-left:9px}.dual-pane-heading .db-consult-filters{display:flex;gap:5px}.dual-pane-heading .db-consult-filters button{min-height:27px;min-width:42px;padding:4px 11px;font-size:10px}
.db-dual-layout .db-consult-important{margin:0 14px 0;padding:10px 12px;min-height:70px;gap:10px}.db-dual-layout .db-consult-important h4{font-size:12px}.db-dual-layout .db-consult-important p{font-size:11px}.db-dual-layout .db-consult-next-chip{font-size:8px;padding:4px 6px;max-width:25%}.db-dual-layout .db-consult-log{margin:9px 14px 0;padding:9px 8px 7px 9px;min-height:80px;flex:1;border-color:#e4ebf6}.db-dual-layout .db-consult-log>.db-consult-timeline{margin:0}.db-dual-layout .db-consult-entry{grid-template-columns:60px minmax(0,1fr);gap:10px}.db-dual-layout .db-consult-entry::before{left:54px}.db-dual-layout .db-consult-entry::after{left:50px}.db-dual-layout .db-consult-note-card{padding:8px 10px}.db-dual-layout .db-consult-note-card>header{gap:7px}.db-dual-layout .db-consult-note-card>header>strong{font-size:11px}.db-dual-layout .db-consult-note-card :is(.db-consult-note-text,.db-consult-preview){font-size:11px}
.db-dual-layout .db-consult-composer{margin-top:8px;padding:10px 14px 0;border:0;border-top:1px solid #dfe8f5;box-shadow:none}.db-dual-layout .db-consult-composer>label{font-size:15px}.db-dual-layout .db-consult-composer>small{font-size:8px}.db-dual-layout .db-consult-composer textarea{height:80px}.db-dual-layout .db-consult-composer footer{margin:0 -14px;padding:5px 14px 8px;min-height:42px}.db-dual-layout .db-consult-template-row{gap:6px;padding-top:7px}.db-dual-layout .db-consult-template-row>span{font-size:9px}.db-dual-layout .db-consult-template-row button{font-size:9px;padding:3px 11px;min-height:24px}
.dual-vehicle-heading{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 0 8px;background:#fff;box-sizing:border-box}.dual-vehicle-heading h3{font-size:16px;font-weight:750;color:#153157;margin:0}.dual-vehicle-heading>span{font-size:9px;color:#126ce8;background:#edf5ff;border-radius:4px;padding:3px 7px}.db-dual-layout .db-vehicle-view>section[data-db-vehicle-match]{margin-top:0}.db-dual-layout .db-vehicle-original-details{font-size:9px;margin-top:12px}.db-dual-layout .db-vehicle-section{margin-top:15px}.db-dual-layout .db-vehicle-section h5{font-size:11px}
@container dualvehicle (max-width:650px){.db-match-designed .db-match-original{min-height:36px;padding:7px 9px;margin-bottom:6px;gap:8px}.db-match-original>svg{width:23px;height:23px}.db-match-original>strong{font-size:10px}.db-match-original>div{padding-left:9px}.db-match-original b{font-size:10px}.db-match-original small{font-size:8px}.db-match-designed .db-match-hero{grid-template-columns:115px minmax(0,1fr);min-height:107px;padding:7px 9px;gap:5px 11px}.db-match-designed .db-match-visual{grid-row:1/3;height:91px}.db-match-designed .db-match-model-title{font-size:20px;letter-spacing:-.5px;margin:5px 0}.db-match-designed .db-match-model-sub{font-size:10px;gap:5px}.db-match-designed .db-match-status{font-size:9px;margin-top:5px}.db-match-designed .db-match-find{position:static;grid-column:2;justify-self:start;margin-top:-1px;padding:3px 6px;min-height:22px;font-size:8px}.db-match-engine-tag{font-size:8px;padding:2px 6px}.db-match-designed .db-match-selection{margin-top:6px;padding:8px}.db-match-select-head{margin-bottom:7px;gap:5px}.db-match-select-head h5{font-size:12px}.db-match-select-head small{font-size:8px}.db-match-readonly{display:none}.db-match-select-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.db-match-selector{padding:4px 7px 3px;gap:0}.db-match-selector>span{font-size:8px}.db-match-selector.is-trim{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:12px}.db-match-selector.is-trim>span{flex:0 0 35px}.floating-window.db-detail-drawer .db-match-selector select{height:20px;min-height:20px;font-size:10px!important}.db-match-designed .db-match-car{margin-top:6px;grid-template-columns:minmax(0,42%) minmax(0,58%)}.db-match-designed .db-match-price{padding:9px 10px}.db-match-designed .db-match-price-value{font-size:25px;letter-spacing:-.8px}.db-match-price-label{font-size:9px}.db-match-price-warning{font-size:8px}.db-match-price-caption{font-size:7px}.db-match-designed .db-match-fact{padding:6px 8px;gap:3px}.db-match-designed .db-match-fact dt{font-size:8px}.db-match-designed .db-match-fact dd{font-size:9px}.db-match-designed .db-match-detail-rows{gap:4px;margin-top:6px}.db-match-designed .db-match-details>summary{min-height:30px;padding:4px 8px;gap:8px}.db-match-detail-label{gap:7px}.db-match-detail-label strong{font-size:10px}.db-match-detail-label>svg{width:18px;height:18px}.db-match-swatches{padding-left:8px;gap:4px}.db-match-swatches small{display:none}.db-match-designed .db-match-swatch{width:19px;height:19px}.db-match-designed .db-match-notice{margin-top:7px;padding:8px;gap:5px}.db-match-notice>strong{font-size:8px}.db-match-notice>small{font-size:7px}.db-match-designed .db-match-provenance{margin-top:6px;font-size:8px}}
@container dualcontact (max-width:650px){.db-consult-important small{font-size:8px}.db-consult-next-chip{font-size:8px}.db-consult-note-card>header>strong{font-size:11px}.db-consult-composer>small{display:none}.db-consult-composer{grid-template-columns:1fr}.db-consult-composer>label{grid-column:1/-1}}
@media(max-height:850px){.db-switcher-bar{min-height:66px;padding-bottom:8px}.db-switcher-chip{min-height:53px;padding-top:6px;padding-bottom:6px}.db-dual-profile{min-height:64px;padding-top:6px;padding-bottom:6px}.db-dual-layout .db-consult-composer textarea{height:66px}.db-dual-layout .db-consult-important{min-height:61px;padding-top:7px;padding-bottom:7px}.dual-pane-heading,.dual-vehicle-heading{min-height:37px;padding-top:8px;padding-bottom:6px}.db-dual-layout .db-consult-composer{padding-top:8px;gap:6px}.db-dual-layout .db-consult-composer footer{min-height:37px;padding-bottom:5px}}
@media(max-width:1300px){.db-switcher-chips{gap:6px}.db-switcher-chip{grid-template-columns:29px minmax(0,1fr);padding:7px;column-gap:6px}.db-switcher-avatar{width:29px;height:29px;font-size:11px}.db-switcher-state{display:none}.db-switcher-chip strong{font-size:11px}.db-dual-profile{gap:8px;padding-left:15px;padding-right:15px}.db-dual-profile .db-consult-identity::before{display:none}body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-dual-profile .db-consult-identity{flex-basis:140px;min-width:110px}.db-dual-profile .db-consult-identity h3{font-size:16px!important}.db-dual-profile>.db-consult-controls>label{padding:0 7px}.db-dual-profile .db-detail-tabs button{padding:4px 5px!important;font-size:9px!important}.db-dual-profile .db-consult-pager>button{width:24px}.db-switcher-toggle{left:288px}}
@media(max-width:1100px){.db-dual-layout .db-consult-panels{grid-template-columns:minmax(0,11fr) minmax(0,9fr);gap:7px;padding:7px}.db-dual-profile .db-consult-pager{display:none!important}.db-dual-profile .db-consult-identity>div>a{font-size:10px!important}.db-dual-profile .db-detail-tabs{gap:3px!important}.db-dual-profile>.db-consult-controls>label{font-size:8px}.db-switcher-bar{padding-left:15px;padding-right:15px;gap:7px}.db-switcher-chip .db-switcher-avatar{display:none}.db-switcher-chip{grid-template-columns:minmax(0,1fr)}.db-switcher-chip strong,.db-switcher-vehicle{grid-column:1}.db-switcher-vehicle{font-size:8px}.db-dual-layout .db-consult-important{margin-left:9px;margin-right:9px}.db-dual-layout .db-consult-log{margin-left:9px;margin-right:9px}.dual-pane-heading{padding-left:10px;padding-right:10px}.dual-pane-heading h4,.dual-vehicle-heading h3{font-size:14px}.db-dual-layout .db-consult-entry{grid-template-columns:44px minmax(0,1fr);gap:7px}.db-dual-layout .db-consult-entry::before{left:39px}.db-dual-layout .db-consult-entry::after{left:35px}.db-dual-layout .db-consult-note-card{padding:7px}.db-consult-next-chip{display:none}}
@media(max-width:850px){.db-switcher-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.db-switcher-chip:nth-child(n+3){display:none}.db-switcher-toggle{left:265px;font-size:9px}.db-dual-profile{flex-wrap:wrap;gap:8px}.db-dual-profile>.db-consult-controls{order:5;flex-basis:100%;padding-top:7px;border:0;border-top:1px solid #e6edf7}.db-dual-profile .db-detail-tabs{margin-left:auto}.db-dual-layout .db-consult-panels{grid-template-columns:1fr;overflow:auto;display:block}.db-dual-layout .db-consult-panels>[data-db-detail-panel=contact]{height:570px;margin-bottom:10px}.db-dual-layout .db-consult-panels>[data-db-detail-panel=vehicle]{height:620px}.db-dual-layout .db-consult-panels>[data-db-detail-panel]:not([data-db-detail-panel=contact]):not([data-db-detail-panel=vehicle]){position:fixed;top:180px;bottom:15px;right:15px;left:15px;width:auto;max-height:none}.db-dual-profile .db-detail-tabs [data-panel=workspace]{display:inline-block!important}}

#db-detail-drawer:not([data-detail-tab=workspace]) .db-dual-profile .db-detail-tabs [data-panel=workspace]{display:inline-flex!important}

@container dualvehicle (max-width:650px){.db-match-designed .db-match-find{position:absolute;top:8px;right:8px;grid-column:auto;margin:0}.db-match-designed .db-match-visual{grid-row:auto}.db-match-designed .db-match-select-head{margin-bottom:4px}.db-match-designed .db-match-select-head h5{font-size:11px}.db-match-designed .db-match-selection{padding:6px 8px}.db-match-designed .db-match-selector{display:flex;flex-direction:row;align-items:center;gap:5px;height:29px;min-height:29px;padding:3px 6px;box-sizing:border-box}.db-match-designed .db-match-selector>span{flex:none;font-size:8px}.floating-window.db-detail-drawer .db-match-designed .db-match-selector select{flex:1;width:0;min-width:0;padding-right:12px}.db-match-designed .db-match-price-value{font-size:19px}.db-match-designed .db-match-car[data-db-match-car] .db-match-price-value{font-size:25px}}

.db-dual-profile .db-consult-identity::before{display:none}.db-dual-profile .dual-profile-avatar{display:flex!important;align-items:center;justify-content:center;width:43px;height:43px;flex:none;border-radius:50%;background:linear-gradient(140deg,#dfecff,#eaf3ff);color:#5378ad;font-size:17px;font-weight:600;border:1px solid #d4e6ff}

.dual-pane-heading h4{display:flex;align-items:baseline;gap:9px}.dual-pane-heading h4 small{display:inline;margin-left:0}

/* Approved: customer list opens from the left instead of taking a permanent row. */
.db-dual-layout>.db-switcher-bar{height:0;min-height:0;flex:0 0 0;padding:0;border:0;z-index:40;overflow:visible}
.db-dual-layout>.db-switcher-bar>.db-switcher-chips,.db-dual-layout>.db-switcher-bar>.db-switcher-more{display:none}
.db-dual-layout>.db-switcher-bar>.db-switcher-toggle{top:-42px;left:305px;min-height:29px;padding:5px 12px}
.db-dual-layout>.db-switcher-bar>.db-switcher-toggle::before{content:'☰';font-size:13px;line-height:1}
.db-dual-layout>.db-switcher-bar>.db-switcher-popover{position:absolute;top:0;bottom:auto;left:0;width:min(320px,calc(100vw - var(--wb-nav) - 12px));height:calc(100dvh - 54px);max-height:calc(100dvh - 54px);border:0;border-right:1px solid #d7e2f0;border-radius:0;padding:16px 14px;background:#fff;box-shadow:12px 0 28px #183b621f;gap:12px}
.db-dual-layout .db-switcher-popover::before{content:'고객 목록';font-size:16px;font-weight:750;color:#203e61}
.db-dual-layout .db-switcher-popover>[data-dual-action=close-list]{position:absolute;right:14px;top:15px;min-height:25px;padding:3px 9px}
.db-dual-layout .db-switcher-popover>.db-switcher-results{flex:1;gap:7px;overscroll-behavior:contain}
.db-dual-layout .db-switcher-results>.db-switcher-result{display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:9px;row-gap:3px;padding:10px;flex-shrink:0}
.db-dual-layout .db-switcher-result>.db-switcher-avatar{grid-column:1;grid-row:1/3;width:30px;height:30px}
.db-dual-layout .db-switcher-result>strong{grid-column:2;grid-row:1;min-width:0}
.db-dual-layout .db-switcher-result>.db-switcher-vehicle{grid-column:2;grid-row:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-dual-layout .db-switcher-result>.db-switcher-state{grid-column:3;grid-row:1/3;display:block;color:#3473cb}
@media(max-width:850px){.db-dual-layout>.db-switcher-bar>.db-switcher-toggle{left:250px;font-size:10px}}

/* Approved: remove title row; workspace controls live below DB intake in navigation. */
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer>.window-head{display:none!important;height:0!important;min-height:0!important;padding:0!important}
.db-dual-layout>.db-switcher-bar>.db-switcher-toggle{display:none!important}
.db-dual-layout>.db-switcher-bar>.db-switcher-popover{height:100dvh;max-height:100dvh}
.customer-workspace-nav{display:flex;align-items:center;gap:3px;margin:0 0 6px 9px;padding-left:8px;border-left:1px solid #416181}
.customer-workspace-nav[hidden]{display:none!important}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav .customer-workspace-nav button{min-height:29px;min-width:25px;width:auto;flex:0 0 25px;white-space:nowrap;padding:4px 5px;font-size:12px;color:#b9d2f0;border-radius:4px}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav .customer-workspace-nav .customer-workspace-list{flex:1 1 auto;min-width:70px;text-align:left;padding-left:5px;font-size:11px}
body:has(#db-detail-drawer:not(.minimized) .db-dual-layout) .nav .customer-workspace-list[aria-expanded=true]{color:#fff;background:#214c7a}

/* Imported consultation sections: readable bodies separated by clear rules. */
.db-dual-layout .db-consult-entry.is-segmented{padding-top:11px;padding-bottom:12px;border-bottom:1px solid #dbe5f0}
.db-dual-layout .db-consult-entry.is-segmented:last-child{border-bottom:0}
.db-dual-layout .db-consult-entry.is-segmented>.db-consult-note-card{background:#fff;border-color:transparent;border-radius:0;padding:4px 7px 6px}
.db-dual-layout .db-consult-entry.is-segmented time{align-self:start;padding-top:8px}
.db-dual-layout .db-consult-entry.is-segmented time b{font-size:11px;color:#294b73}
.db-dual-layout .db-consult-entry.is-segmented time span{font-size:10px;font-weight:600;color:#557493}
.db-dual-layout .db-consult-entry.is-segmented .db-consult-section-body{font-size:12px;line-height:1.8;color:#365573;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}
.db-dual-layout .db-consult-entry.is-segmented .db-consult-note-card>header>strong{font-size:10px;font-weight:500;color:#8a9db2}

/* Raw consultation cards: metadata lives under the time, not above the body. */
.db-dual-layout .db-consult-entry:is(.is-source,.is-legacy) .db-consult-note-card{position:relative}
.db-dual-layout .db-consult-entry:is(.is-source,.is-legacy) .db-consult-note-card>header{height:0;min-height:0;padding:0;margin:0}
.db-dual-layout .db-consult-entry:is(.is-source,.is-legacy) .db-consult-note-card>header>:not(button){display:none}
.db-dual-layout .db-consult-entry:is(.is-source,.is-legacy) .db-consult-note-card>header>[data-consult-ui=pin]{position:absolute;right:2px;top:2px;width:23px;height:23px;min-width:23px;min-height:23px}
.db-dual-layout .db-consult-entry:is(.is-source,.is-legacy) .db-consult-section-body{margin-top:0;padding-right:22px}
.db-dual-layout .db-consult-entry:is(.is-source,.is-legacy) time>.db-consult-stage{align-self:flex-start;margin-top:4px;padding:2px 5px;font-size:9px;line-height:1.4;color:#2868b8}
.db-dual-layout .db-consult-entry.is-legacy time>.db-consult-stage.is-unclassified{display:none}

/* Approved: customer identity belongs only to the consultation column. */
.db-dual-layout .db-consult-contact>.db-dual-profile{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px 7px;flex:none;min-height:0;padding:7px 10px;background:#fbfdff;border-bottom:1px solid #e1e9f5;border-radius:7px 7px 0 0}
.db-dual-layout .db-consult-contact>.db-dual-profile>.db-consult-identity{grid-column:1;grid-row:1;min-width:0!important}
.db-dual-layout .db-consult-contact>.db-dual-profile .db-consult-identity::before{display:none}
.db-dual-layout .db-consult-contact>.db-dual-profile .db-consult-identity>div{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:wrap}
.db-dual-layout .db-consult-contact>.db-dual-profile .db-consult-identity h3{font-size:15px!important;line-height:1.5!important}
.db-dual-layout .db-consult-contact>.db-dual-profile>.db-consult-pager{grid-column:2;grid-row:1;gap:3px!important;font-size:9px!important}
.db-dual-layout .db-consult-contact>.db-dual-profile>.db-detail-tabs{grid-column:3;grid-row:1;gap:3px!important}
.db-dual-layout .db-consult-contact>.db-dual-profile>.db-consult-controls{grid-column:1/-1;grid-row:2;border:0;gap:5px;margin:0;padding:0;min-height:0;grid-template-columns:.9fr .9fr 1.2fr}
.db-dual-layout .db-consult-contact>.db-dual-profile>.db-consult-controls>label{padding:0;gap:2px;border:0;font-size:9px}
.floating-window.db-detail-drawer .db-consult-contact>.db-dual-profile .db-consult-controls :is(input,select){height:24px;min-height:24px;font-size:10px}
@container dualcontact (max-width:450px){.db-dual-layout .db-consult-contact>.db-dual-profile{grid-template-columns:minmax(0,1fr) auto}.db-dual-layout .db-consult-contact>.db-dual-profile>.db-detail-tabs{grid-column:1/-1;grid-row:3}}

/* Compact important note: expand only when a note is actually pinned. */
.db-dual-layout .db-consult-designed .db-consult-important{min-height:0;padding:6px 9px;gap:7px;flex-shrink:0}
.db-dual-layout .db-consult-designed .db-consult-important>svg{width:15px;height:15px;flex-shrink:0}
.db-dual-layout .db-consult-designed .db-consult-important h4{font-size:10px;line-height:1.5;margin:0}
.db-dual-layout .db-consult-important:has([data-consult-ui="unpin"][hidden]){height:29px;min-height:29px;box-sizing:border-box}
.db-dual-layout .db-consult-important:has([data-consult-ui="unpin"][hidden]) :is([data-consult-important-text],[data-consult-important-hint]){display:none}
.db-dual-layout .db-consult-important:has([data-consult-ui="unpin"][hidden]) h4::after{content:' · 핀으로 고정';font-size:9px;font-weight:400;color:#8a9ab0}
.db-dual-layout .db-consult-important:has([data-consult-ui="unpin"]:not([hidden])) [data-consult-important-text]{max-height:90px;overflow:auto;white-space:pre-wrap;overscroll-behavior:contain;margin:5px 0 0;line-height:1.6}
.db-dual-layout .db-consult-important [data-consult-important-hint]{display:none}
