/* Approved consultation presentation only. Load LAST after unified-workspace.css.
 * No data, generated image, event handler, or action availability changes.
 * Sidebar/topbar theme owned by unified-workspace.css; shared topbar 64px. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout){--wb-nav:var(--brand-sidebar-width,210px);--db-drawer-width:calc(100vw - var(--brand-sidebar-width,210px))!important;background:#f5f6f5}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer.floating-window.db-detail-window.db-detail-drawer:not(.minimized){position:fixed;left:var(--brand-sidebar-width,210px)!important;right:0!important;top:64px!important;bottom:0!important;width:var(--db-drawer-width)!important;height:calc(100dvh - 64px)!important;max-height:calc(100dvh - 64px);min-width:0;border:0;border-radius:0;background:#f5f6f5;box-shadow:none;display:flex;flex-direction:column}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer>.window-head{display:flex!important;position:relative;height:auto!important;min-height:66px!important;padding:16px 24px!important;align-items:center;background:#f5f6f5;border:0;flex:none;gap:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) >.window-head h2{font-size:25px;color:#17201f;letter-spacing:-.7px;line-height:1.3;margin:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) >.window-head .window-controls{display:flex;gap:8px;margin-left:auto;flex:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) >.window-head .window-controls button{font-size:12px;min-width:32px;min-height:32px;border:1px solid #dce2df;border-radius:5px;background:#fff;color:#34413f}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) >.window-head .window-controls button::before{content:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer>.window-body{display:flex;flex:1;min-height:0;padding:0;overflow:hidden!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-layout{height:100%;min-height:0;background:#f5f6f5;color:#27332f}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,9fr);align-items:stretch;gap:12px;padding:0 24px 18px;overflow:hidden;background:#f5f6f5}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels>[data-db-detail-panel=contact]{grid-column:1;display:flex;flex-direction:column;min-width:0;height:100%;overflow:auto;border:1px solid #e1e6e2;border-radius:8px;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels>[data-db-detail-panel=vehicle]{grid-column:2;min-width:0;height:100%;padding:14px 18px 18px!important;overflow:auto;border:1px solid #e1e6e2;border-radius:8px;background:#fff!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-contact>.db-dual-profile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:18px 16px 12px;min-height:0;background:#fff;border-bottom:1px solid #e7ebe7}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-consult-contact>.db-dual-profile>.db-consult-identity{position:static;grid-column:1/-1;grid-row:1;display:flex;align-items:center;flex:none;min-width:0!important;width:auto;height:auto;min-height:0;padding:0;border:0;gap:10px;z-index:auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-identity>div{display:flex;flex-direction:column!important;align-items:flex-start!important;gap:3px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-identity h3{color:#19231f;font-size:19px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-identity>div>a{color:#6e7d75!important;font-size:12px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-identity>:is(.db-consult-call,.db-consult-info-link,.muted){display:inline-flex!important;position:static;font-size:11px;color:#52675c;white-space:normal}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .dual-profile-avatar{display:flex!important;width:44px;height:44px;border:0;border-radius:12px;background:#eef2ee;color:#64796b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-consult-contact>.db-dual-profile>.db-consult-pager{position:static;display:flex!important;grid-column:2;grid-row:2;gap:4px;align-items:center;color:#748179}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer .db-consult-contact>.db-dual-profile>.db-detail-tabs{position:static;display:flex;grid-column:1;grid-row:2;flex-wrap:wrap;gap:5px;min-height:0;padding:0;border:0;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-detail-tabs button{display:inline-flex!important;min-height:28px!important;padding:4px 7px!important;border:1px solid #dde5df!important;border-radius:5px!important;background:#fff!important;color:#53645a!important;font-size:10px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-detail-tabs button.active{background:#edf2ed!important;color:#334e3e!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-contact>.db-dual-profile>.db-consult-controls{display:grid!important;grid-column:1/-1;grid-row:3;grid-template-columns:1fr 1fr 1.2fr;min-height:0;gap:10px;margin:0;padding:0;border:0;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-controls>label{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:5px;border:0;color:#738278;font-size:11px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-controls>label::before{content:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-controls :is(input,select){width:100%;min-width:0;height:34px;min-height:34px;padding:5px 7px;border:1px solid #dfe5df;border-radius:5px;background:#fff;color:#293a30;font-size:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-controls select[data-db-status]{background:#edf4ed;color:#375b43}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-important{order:1;margin:10px 16px 0!important;background:#f5f7f5;border:1px solid #e3e8e2;color:#5f7164;border-radius:5px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-important:has([data-consult-ui=unpin][hidden]){height:29px!important;min-height:29px!important;padding:4px 9px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-important :is(h4,p,svg){color:#5c6e61}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-important [data-consult-important-hint]{display:block;font-size:10px;color:#77877b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-important:has([data-consult-ui=unpin]:not([hidden])) [data-consult-important-text]{display:block;max-height:100px;overflow:auto;-webkit-line-clamp:unset;white-space:pre-wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .dual-pane-heading{order:2;display:flex;flex-wrap:wrap;gap:8px;min-height:50px;padding:13px 16px 8px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .dual-pane-heading h4{font-size:17px;color:#1d2922}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-log{order:3;flex:1;min-height:140px;margin:0 16px!important;padding:8px 0;border:0;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-composer{order:4;flex:none;margin:8px 16px 14px!important;padding:12px!important;border:1px solid #e0e6df;border-radius:6px;box-shadow:none;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-contact>.db-dual-profile{order:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-filters button{background:#f2f4f2;color:#6a786e;border:1px solid #e3e8e2;border-radius:5px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-filters button[aria-pressed=true]{background:#252e2b;color:#fff;border-color:#252e2b;box-shadow:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry{position:relative;grid-template-columns:105px minmax(0,1fr)!important;gap:14px!important;padding-bottom:14px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry::before{left:6px!important;background:#dde4de}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry::after{left:2px!important;background:#a3b0a7;box-shadow:0 0 0 3px #fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry time{padding:5px 0 30px 22px!important;color:#7d8b81}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry time b{font-size:11px;color:#34463a}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry time>.db-consult-stage{position:static;order:3;align-self:flex-start;background:#edf3ed;color:#4f7057;font-size:10px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry .db-consult-note-card{position:static!important;background:#f5f6f4!important;border:1px solid #eef0ec!important;border-radius:6px!important;padding:10px 12px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry .db-consult-note-card>header>.db-consult-stage{position:absolute;left:22px;top:48px;background:#edf3ed;color:#4f7057;font-size:10px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry :is(.db-consult-note-text,.db-consult-preview,.db-consult-section-body,.db-consult-fulltext){font-size:12px!important;line-height:1.75;color:#46584b!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry .db-consult-kind{background:#e9eee8;color:#637666}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry .db-consult-note-card>header>strong{color:#5c6e61}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-stage-choice[aria-pressed=true]{background:#edf3ed!important;border-color:#7e9b84!important;color:#355d3f!important;box-shadow:inset 0 0 0 1px #7e9b84!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-composer textarea{height:66px;min-height:52px;color:#34483b;border-color:#dbe4da}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-composer footer{margin:0!important;padding:4px 0 0!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-composer footer>button.primary{background:#252e2b;border-color:#252e2b;color:#fff;box-shadow:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-template-row{flex-wrap:wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined){padding:0;color:#28392e}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-approved-heading{margin:0 0 10px;min-height:34px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-approved-heading h3{font-size:20px;color:#1d2922}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-find{color:#53695a;border:1px solid #dce5dc;border-radius:5px;padding:5px 9px;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-search{padding:0;margin:10px 0 14px;background:#fff;border:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-search input{height:36px;min-height:36px;border-color:#dde5dc;color:#344b3b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-search>button{background:#252e2b;color:#fff;border-color:#252e2b;min-height:36px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-hero{display:flex!important;flex-direction:column!important;align-items:stretch;flex-wrap:nowrap;min-height:0;gap:0;padding:0 0 12px;background:#fff;border:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-visual{height:clamp(200px,20vw,290px)!important;min-height:200px;flex-shrink:0;width:100%!important;background:#f7f8f5;border:0;border-radius:6px;grid-row:auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-visual img{width:100%;height:calc(100% - 26px);object-fit:contain;padding:8px;box-sizing:border-box;filter:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-image-note{position:static;text-align:center;background:transparent;color:#849083;font-size:10px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-hero-info{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding-top:14px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-model-title{font-size:24px!important;line-height:1.3;letter-spacing:-.7px;margin:0;color:#1e2c22}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-status{position:static;width:auto;height:auto;clip-path:none;white-space:normal;overflow:visible;color:#758472;font-size:11px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selection{padding:12px 0!important;margin:0;background:#fff;border:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-select-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selector{padding:6px 8px!important;border:1px solid #dfe6dc;border-radius:5px;background:#fff;gap:4px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selector select{height:28px!important;min-height:28px!important;border:0!important;padding:3px 16px 3px 0!important;color:#3d5142;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selector.has-choice-list{grid-column:1/-1}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-choice[aria-pressed=true]{background:#edf3eb;border-color:#8da086;color:#426047;box-shadow:inset 0 0 0 1px #8da086}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-car{display:block;padding:12px!important;background:#fafbf9;border:1px solid #e1e7dd;border-radius:6px;margin:10px 0 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-price{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-price-value{font-size:16px!important;letter-spacing:0;color:#283c2e;text-align:right}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-breakdown{display:block;border:0;margin:8px 0 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-breakdown .db-match-fact{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:10px;padding:6px 0;border:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-breakdown .db-match-fact :is(dt,dd){font-size:12px;margin:0;padding:0;color:#65775f;text-align:left}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-breakdown .db-match-fact:last-child{border-top:1px solid #dee6d9;margin-top:6px;padding-top:10px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-breakdown .db-match-fact:last-child :is(dt,dd){font-size:15px;font-weight:700;color:#283c2e}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) :is(.db-match-notice,.db-match-notice strong,.db-match-provenance,.db-match-save-status){color:#75836f;font-size:11px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-approved-actions button:disabled{background:#f0f2ed;color:#8b9586;border-color:#e1e6dc;opacity:1;cursor:not-allowed}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-save{background:#252e2b;border-color:#252e2b;color:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-slots button[aria-pressed=true]{color:#35533c;border-bottom-color:#738e70;background:#f4f7f1}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #81997e!important;outline-offset:2px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(button,input,select):disabled{cursor:not-allowed}
@media(max-width:1000px){body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels{padding:0 12px 12px;gap:10px}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-controls{grid-template-columns:1fr!important}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-contact>.db-dual-profile>.db-detail-tabs{grid-column:1/-1;grid-row:2}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-contact>.db-dual-profile>.db-consult-pager{grid-column:1/-1;grid-row:3}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-contact>.db-dual-profile>.db-consult-controls{grid-row:4}}
@media(max-width:850px){body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels{display:grid;grid-template-columns:minmax(0,1fr);overflow:auto;align-content:start}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels>[data-db-detail-panel=contact]{grid-column:1;height:auto;min-height:640px;overflow:visible}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels>[data-db-detail-panel=vehicle]{grid-column:1;height:auto;overflow:visible}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-log{max-height:420px;overflow:auto}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-entry{grid-template-columns:90px minmax(0,1fr)!important;gap:8px!important}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-dual-profile .db-consult-identity{flex-wrap:wrap}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending):has(#db-detail-drawer:not(.minimized) .db-dual-layout) #db-detail-drawer.floating-window.db-detail-window.db-detail-drawer:not(.minimized){left:0!important;width:100vw!important;top:64px!important}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels{padding:0 8px 12px}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-composer{grid-template-columns:1fr}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-composer>.db-consult-stage-field{grid-column:1!important;grid-row:2!important;justify-content:flex-start!important}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-composer footer{flex-wrap:wrap}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-approved-actions{grid-template-columns:1fr}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-visual{height:220px}}

/* HEAD approved DOM and optional refined DOM share presentation, not behavior. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-original{min-height:0;padding:10px!important;margin:0 0 12px;background:#f6f8f3;border:1px solid #e1e7dc;border-radius:5px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-original>div{background:#edf2e9;border:0;color:#53674c}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-original :is(strong,b){color:#4f6149}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-model-sub{display:flex;flex-wrap:wrap;gap:6px;margin:0;color:#71816b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-candidate-tag{background:#edf3e9;color:#62785a;border-color:#dce6d5}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selector.is-trim{grid-column:auto!important;display:flex!important;flex-direction:column!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selector>span{color:#73836b;font-size:11px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-price :is(.db-match-price-label,.db-match-price-warning,.db-match-price-caption){color:#75856d}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-actions-note{display:block;color:#7c8976;font-size:11px;line-height:1.6}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-notice{background:transparent}

/* Fit the approved search/hero/price hierarchy without suppressing provenance or controls. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-original{display:flex;align-items:center;gap:10px;padding:5px 9px!important;margin-bottom:8px;font-size:11px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-original>strong{flex:none;margin:0;font-size:11px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-original>div{padding:0;background:transparent;min-width:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-original b{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-search:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) 80px;align-items:end;gap:8px;margin:8px 0 12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-search>label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;color:#68776e}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-visual{height:clamp(160px,14vw,220px)!important;min-height:160px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-model-sub{display:flex;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:3px 8px;line-height:1.5;margin:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-image-disclaimer{flex-basis:100%;font-size:10px;line-height:1.4}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selection{padding:7px 0!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-select-grid{gap:7px 10px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) :is(.db-match-selector,.db-match-selector.is-trim){display:grid!important;grid-template-columns:52px minmax(0,1fr);align-items:center;min-height:38px;height:auto;padding:2px 6px!important;gap:6px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selector>span{font-size:11px;line-height:1.5;color:#64746a}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-selector select{width:100%;min-width:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-car{padding:9px!important;margin-top:6px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-price-label{font-size:12px;margin:0;line-height:1.5}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) :is(.db-match-price-warning,.db-match-price-caption){grid-column:1/-1;margin:0;font-size:10px;line-height:1.4}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) :is(.db-match-approved,.db-match-refined) .db-match-breakdown .db-match-fact{padding:3px 0}

body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-contact>.notionpreview{order:5;flex:none;margin:0 16px 12px}
/* Small screens use natural block flow, not legacy single-fr grid rows. */
@media(max-width:850px){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels{display:block!important;overflow:auto!important;grid-template-rows:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels>[data-db-detail-panel=contact]{height:auto!important;min-height:0!important;max-height:none;container-type:normal;overflow:visible}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-panels>[data-db-detail-panel=vehicle]{height:auto!important;min-height:0;max-height:none;container-type:normal;overflow:visible;margin-top:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-log{flex:none;min-height:90px;max-height:360px;overflow:auto}
}

/* Empty pinned row must remain a true compact line; provenance is shown when pinned. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-important:has([data-consult-ui=unpin][hidden]) [data-consult-important-hint]{display:none!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-important>div{min-width:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-next-chip{min-height:0;line-height:14px;font-size:9px;padding:1px 5px;color:#63786a;background:#edf2ed;border:1px solid #dce5de;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) #db-detail-drawer:not(.minimized) .db-consult-stage.is-first{background:#e8f0ff!important;color:#315b9a!important}
