/* B: non-modal master/detail shell. Existing inner controls are retained pending design approval. */
body:has(.db-detail-drawer:not(.minimized)){--db-drawer-width:clamp(520px,calc(100vw - 460px),720px)}
.floating-window.db-detail-window.db-detail-drawer:not(.minimized){position:fixed;left:auto!important;right:0!important;top:42px!important;bottom:0!important;width:var(--db-drawer-width);max-width:100vw;height:calc(100dvh - 42px);max-height:calc(100dvh - 42px);min-width:0;min-height:0;resize:none;border:0;border-left:1px solid #e1e6ee;border-radius:0;box-shadow:-6px 0 20px #2430440b;background:#fff}
.db-detail-drawer:not(.minimized)>.window-head{height:34px;min-height:34px;padding:4px 16px;background:#fafbfc;cursor:default;touch-action:auto}
.floating-window.db-detail-drawer .window-head h2{font-size:12px;font-weight:600}
.floating-window.db-detail-drawer .window-controls button{min-height:24px;padding:2px 7px;font-size:11px}
.db-detail-drawer:not(.minimized)>.window-body{max-height:none;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;padding:0}
.floating-window.db-detail-drawer .db-detail-overview{padding:14px 16px 12px;gap:10px;align-items:flex-start}
.floating-window.db-detail-drawer .db-detail-avatar{display:none}
.floating-window.db-detail-drawer .db-detail-identity h3{font-size:20px;margin:0 0 6px}
.floating-window.db-detail-drawer .db-detail-identity p{font-size:12px;line-height:1.5}
.floating-window.db-detail-drawer .db-detail-status{display:none}
.floating-window.db-detail-drawer .db-detail-actions{padding:0 16px 10px;gap:6px;flex-wrap:wrap}
.floating-window.db-detail-drawer .db-detail-actions button{min-height:28px;padding:4px 8px;font-size:11px}
.floating-window.db-detail-drawer .db-detail-tabs{padding:0 16px;gap:22px;min-height:34px;background:#fff;position:sticky;top:0;z-index:2}
.floating-window.db-detail-drawer .db-detail-tabs button{min-height:34px;font-size:12px}
.floating-window.db-detail-drawer .db-detail-columns{padding:14px 16px 0;gap:16px}
.floating-window.db-detail-drawer .db-detail-section>header{margin-bottom:8px}
.floating-window.db-detail-drawer .db-detail-section>header h4{font-size:12px}
.floating-window.db-detail-drawer .db-detail-info{font-size:12px}
.floating-window.db-detail-drawer .db-detail-section select[data-db-status]{max-width:100%;min-height:28px;padding:3px 7px;border:1px solid #e2dce9;border-radius:4px;background:#f8f6fb;color:#63537d;font-family:inherit;font-size:12px}
.floating-window.db-detail-drawer .db-detail-footer{padding:9px 16px;font-size:10px}
.floating-window.db-detail-drawer .db-review-detail>.muted{padding:0 16px;font-size:10px}
body:has(.db-detail-drawer:not(.minimized)) .frame>.top{height:42px;min-height:42px}
body:has(.db-detail-drawer:not(.minimized)) .frame>.layout{min-height:calc(100vh - 42px)}
body:has(.db-call-home):has(.db-detail-drawer:not(.minimized)) .frame>.layout>.main{width:auto;margin-right:var(--db-drawer-width);padding:12px;min-width:0}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-hero{display:flex;flex-direction:column;align-items:stretch;gap:6px}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-hero>div{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;gap:5px}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-hero input{width:100%;grid-column:1/-1}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-filters{gap:4px 12px;flex-wrap:wrap}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-filters button{font-size:10px;min-height:25px;padding-bottom:5px}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-list{padding:0 6px}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-row{grid-template-columns:minmax(56px,.8fr) minmax(45px,1fr) minmax(112px,1.25fr);gap:6px}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-row>:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(5)){display:none}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-row>:nth-child(2),body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-row>:nth-child(5){display:block}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-row.db-selected{background:#edf4fe;box-shadow:inset 2px 0 #638bc1}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-foot{padding-right:0;font-size:10px}
body:has(.db-detail-drawer:not(.minimized)) .db-call-home .db-call-foot>span:last-child{display:none}
@media(max-width:1100px){.floating-window.db-detail-drawer .db-detail-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:950px){body:has(.db-detail-drawer:not(.minimized)){--db-drawer-width:min(560px,calc(100vw - 112px))}body:has(.db-call-home):has(.db-detail-drawer:not(.minimized)) .frame>.layout>.main{margin-right:0}.db-detail-drawer:not(.minimized){box-shadow:-6px 0 24px #24304418}}
@media(max-width:650px){body:has(.db-detail-drawer:not(.minimized)){--db-drawer-width:100vw}.floating-window.db-detail-window.db-detail-drawer:not(.minimized){top:42px!important;height:calc(100dvh - 42px)}.floating-window.db-detail-drawer .db-detail-columns{grid-template-columns:minmax(0,1fr)}}
