/* Approved internal workspace skin. Load last. Auth and pending are deliberately excluded.
 * Presentation only: no fabricated content, no drawer/consultation layout selectors.
 * Shell !important declarations reconcile legacy body:has(...) rules without altering details open state. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending){--brand-sidebar-width:210px;--wb-nav:var(--brand-sidebar-width);--ui-ink:#191f22;--ui-text:#45515b;--ui-muted:#687580;--ui-border:#e5e9eb;--ui-bg:#f5f7f7;--ui-surface:#fff;--ui-soft:#f1f4f3;--ui-accent:#273532;--ui-accent-hover:#172220;--ui-accent-soft:#e8efeb;--ui-radius:14px;--ui-control-radius:7px;--ink:var(--ui-ink);--sub:var(--ui-muted);--line:var(--ui-border);--paper:#fff;--soft:var(--ui-soft);--blue:var(--ui-accent);--blue-soft:var(--ui-accent-soft);background:var(--ui-bg);color:var(--ui-ink);font-family:Pretendard,"Noto Sans KR","Malgun Gothic",sans-serif;line-height:1.6}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame{width:100%;max-width:none;margin:0;padding:0;container-type:normal}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top{position:fixed!important;inset:0 0 auto 0!important;width:100%!important;height:64px!important;min-height:64px!important;padding:0 24px 0 0!important;display:flex;justify-content:space-between;gap:16px;background:#fff!important;border:0!important;border-bottom:1px solid #e5e9eb!important;box-sizing:border-box;z-index:60}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:var(--brand-sidebar-width);flex:0 0 var(--brand-sidebar-width);height:64px;padding:0 20px!important;margin:0;background:#192022!important;color:#f8faf9!important;border:0;border-radius:0;font-size:18px!important;font-weight:700!important;white-space:nowrap;letter-spacing:-.5px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand-mark{display:grid;place-items:center;width:28px!important;height:30px!important;background:#f4f7f5!important;color:#192022!important;border-radius:5px!important;font-size:17px!important;flex:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .toptools{display:flex!important;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout{display:grid!important;grid-template-columns:var(--brand-sidebar-width) minmax(0,1fr)!important;gap:0!important;margin:64px 0 0!important;min-height:calc(100dvh - 64px)!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>nav.nav{position:fixed!important;inset:64px auto 0 0!important;width:var(--brand-sidebar-width)!important;height:calc(100dvh - 64px)!important;overflow:auto;overscroll-behavior:contain;padding:20px 14px!important;box-sizing:border-box;background:#192022!important;color:#d5dedd!important;border:0!important;z-index:50;display:flex;flex-direction:column;gap:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.main{grid-column:2;min-width:0;padding:28px 30px 36px;background:var(--ui-bg)}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group>summary{font-size:14px!important;line-height:1.5;min-height:42px!important;padding:10px 12px!important;border:0!important;border-radius:7px!important;color:#d5dedd!important;background:transparent!important;box-shadow:none!important;text-align:left}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button:hover:not(:disabled),
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group>summary:hover{background:#283532!important;color:#fff!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button.active,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button[aria-current="page"],
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .customer-workspace-list[aria-expanded="true"]{background:#364842!important;color:#fff!important;font-weight:650;box-shadow:none!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav :is(.nav-caption,.nav-foot){color:#aebbb9!important;font-size:12px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-caption{display:block;padding:9px 12px 5px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group{border:0!important;border-top:1px solid #35413e!important;margin-top:6px!important;padding-top:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group>div{border:0!important;padding-left:0!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group>summary{cursor:pointer;color:#b7c3c0!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-foot{padding:18px 12px;border-top:1px solid #35413e}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .customer-workspace-nav button{min-height:30px!important;padding:4px 5px!important;font-size:12px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav :is(button,summary):focus-visible{outline:2px solid #b8d4c5!important;outline-offset:2px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top :is(button,summary):focus-visible,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw :is(button,a,input,select,textarea):focus-visible{outline:2px solid #477662;outline-offset:3px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button:disabled,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw button:disabled{opacity:.48;cursor:not-allowed}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw{max-width:1500px;margin:0 auto;color:var(--ui-ink)}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-page-head{margin-bottom:22px;gap:16px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-page-head h1{font-size:30px;font-weight:750;line-height:1.3;letter-spacing:-1px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-page-head p{font-size:14px;color:#687580}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-head-actions button[data-core="new-lead"],
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw button.dw-primary{background:#192022;border-color:#192022;color:#fff;min-height:40px;padding:8px 20px;font-size:14px;border-radius:7px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-head-actions button[data-core="new-lead"]:hover:not(:disabled),
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw button.dw-primary:hover:not(:disabled){background:#30403a;border-color:#30403a}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-summary,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0;margin:0 0 18px;background:transparent;border:0;border-radius:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-summary>div,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-status-tabs button{background:#fff;border:1px solid #e5e9eb;border-radius:13px;min-height:80px;padding:16px 18px;box-sizing:border-box}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-status-tabs button{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:6px;font-size:13px;color:#5f6c75;white-space:normal}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs small,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-summary strong{font-size:24px;font-weight:700;color:#191f22;line-height:1.2;margin:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-summary span{font-size:13px;color:#627078}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-summary small{font-size:11px;color:#69777f}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-tabs button[aria-pressed="true"]{background:#e8efeb;border-color:#b6cbbd;color:#234b36}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-tabs button:hover:not(:disabled){background:#f0f5f2}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-split{grid-template-columns:minmax(0,35fr) minmax(0,65fr);gap:16px;align-items:stretch;min-height:590px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-master,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-detail{border:1px solid #e5e9eb;border-radius:14px;background:#fff;box-shadow:0 5px 20px #24332a03}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-panel-head{padding:19px 18px 14px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw h2{font-size:17px;font-weight:700}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-master>.dw-search{margin:18px 16px 14px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-search input{height:38px;min-height:38px;border:1px solid #dfe6e4;border-radius:6px;background:#fff;font-size:13px;color:#35443d;padding:8px 12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-list{max-height:490px;min-width:0;overflow:auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-list-columns,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-row{min-width:0;grid-template-columns:minmax(55px,.7fr) minmax(103px,1fr) minmax(70px,1fr) minmax(65px,.8fr);gap:8px;padding-left:14px;padding-right:14px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-list-columns{background:#f8faf9;color:#69776f;font-size:10px;min-height:34px;border-color:#e9eeeb}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-row{grid-template-rows:minmax(68px,auto);border-color:#edf0ee;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-row.is-selected{background:#eaf0ed;box-shadow:inset 4px 0 #38664b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-row:hover{background:#f2f6f3}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-name{font-size:13px;color:#202925}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-customer-phone{font-size:11px;color:#4d6357}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-row>.dw-customer-vehicle{font-size:11px;color:#65736b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-state{font-size:10px;border-radius:20px;padding:4px 8px;background:#eaf2ed;border:1px solid #e0eae3;color:#386349}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state[data-contact-state="부재"]{background:#fcf0f0;border-color:#f3e4e4;color:#ad4949}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state[data-contact-state="1차 상담중"]{background:#eaf0ff;border-color:#e2eaff;color:#365d9b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state[data-contact-state="신규 DB"],
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state[data-contact-state="2차 상담중"]{background:#edf7f0;color:#27613e;border-color:#e3f1e7}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-detail-head{padding:22px;gap:14px;flex-wrap:wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-title-row h2{font-size:24px;letter-spacing:-.6px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-title-row{flex-wrap:wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-detail-head p,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-phone a{font-size:13px;color:#6b787f}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-button{height:40px;font-size:13px;border-color:#b7c2be;color:#35483e;background:#fff}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties{margin:0 22px;padding:15px 18px;border:1px solid #e4eae7;border-radius:6px;background:#fff;gap:16px;grid-template-columns:1fr 1fr 1.4fr}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties>div+div{border-left:1px solid #e4eae7;padding-left:16px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties dt{font-size:12px;color:#78857c}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties dd{font-size:13px;color:#35423b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-detail-body{display:flex;flex-direction:column;padding:22px;gap:22px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-history,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-side{width:100%;min-width:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw h3{font-size:16px;font-weight:700;color:#202925}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-subhead>span{font-size:11px;color:#748279}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note-list{border-left:1px solid #dbe3de;margin-left:7px;padding-left:22px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note{position:relative;padding:14px 16px;background:#f3f5f4;border:0;border-radius:7px;margin-bottom:14px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note::before{content:"";position:absolute;left:-28px;top:20px;width:9px;height:9px;border-radius:50%;background:#b6c2bb;border:1px solid #87988c}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note header{font-size:12px;color:#29372e;flex-wrap:wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note header span{font-size:11px;color:#6c7a70}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note p{font-size:13px;line-height:1.8;color:#46554c;margin-top:8px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-side{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-task-card,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-vehicle-card{border:1px solid #e5eae7;border-radius:10px;padding:16px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-task strong,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-muted,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-vehicle-card p{font-size:12px;color:#65736a}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-task small,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-label{font-size:11px;color:#758279}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-text-button{font-size:12px;min-height:30px;color:#526e5e}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-today{padding:18px;border-color:#e5ebe7}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-today-row{min-height:48px;padding:10px 0;border:0;border-bottom:1px solid #edf1ee;border-radius:0;background:transparent;gap:10px;font-size:12px;color:#596c60;flex-wrap:wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-today-row strong{color:#26362c;font-size:13px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-today-row span{font-size:11px;overflow-wrap:anywhere}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-empty{font-size:13px;color:#6d7d72;line-height:1.8}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-master-foot{font-size:11px;color:#718077;border-color:#edf1ee}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .pw .dw-summary{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .pw .dw-tabs button{font-size:12px;min-height:34px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .pw .dw-customer-list{max-height:none;overflow:auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .pw .dw-list-columns,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .pw .dw-customer-row{min-width:650px;grid-template-columns:90px 150px minmax(230px,1fr) 100px}
@media(max-width:1200px){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.main{padding:22px 18px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-split{grid-template-columns:minmax(0,1fr)}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-list{max-height:350px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-list-columns,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-customer-row{grid-template-columns:85px 130px minmax(110px,1fr) 90px;min-width:480px}
}
@media(max-width:700px){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending){--brand-sidebar-width:170px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top{padding-right:10px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand{font-size:15px!important;padding:0 12px!important;gap:8px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>nav.nav{padding:12px 8px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group>summary{font-size:12px!important;padding:9px 8px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.main{padding:18px 12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-page-head h1{font-size:24px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-page-head{align-items:flex-start;flex-wrap:wrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-summary,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-status-tabs button,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-summary>div{min-height:72px;padding:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-detail-head,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-detail-body{padding:16px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties{margin:0 16px;grid-template-columns:1fr;padding:14px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties>div+div{border-left:0;border-top:1px solid #e4eae7;padding:10px 0 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-side{grid-template-columns:1fr}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-title-row h2{font-size:21px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .workspace-badge,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .sample-badge{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw button{transition:none}
}

/* Existing shell controls and the approved heading adapter remain interactive. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button[data-nav]{display:flex;align-items:center;gap:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .brand-nav-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;color:inherit}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .brand-nav-icon svg{display:block;width:18px;height:18px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-page-title{min-width:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-page-title p{margin:7px 0 0;font-size:14px;color:#69767d}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-master-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 18px 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-master-head h2{margin:0;font-size:17px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-master-head small{font-size:12px;color:#758078}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties{grid-template-columns:minmax(0,1fr)}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties>div:nth-child(3){padding-top:10px}
}

/* Approved detail refinements: real two-line rows, decorative icons, separate queue card. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand-mark{position:relative;display:inline-block;width:28px!important;height:29px!important;background:transparent!important;color:#f5f8f6!important;border-radius:0!important;transform:skew(-20deg);flex:0 0 28px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand-mark i{position:absolute;display:block;background:currentColor;width:7px;bottom:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand-mark i:nth-child(1){height:17px;left:1px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand-mark i:nth-child(2){height:28px;left:11px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand-mark i:nth-child(3){height:7px;left:21px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-status-tabs button{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:13px;padding:18px 16px;min-height:94px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#f0f3f2;color:#6f7e77}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-icon svg{width:22px;height:22px;display:block}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;font-size:12px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-copy small{font-size:25px;font-weight:700;margin:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs button::after{content:"";position:absolute;right:13px;top:50%;width:5px;height:5px;border-top:1px solid #a9b4ad;border-right:1px solid #a9b4ad;transform:translateY(-50%) rotate(45deg)}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs [data-dash-filter="first"] .dw-status-icon,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs [data-dash-filter="secondConsult"] .dw-status-icon{background:#eaf4ed;color:#3d8258}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs [data-dash-filter="absent"] .dw-status-icon{background:#fceeee;color:#bb6262}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs [data-dash-filter="firstConsult"] .dw-status-icon{background:#eaf0fb;color:#577db4}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-list-columns[aria-hidden="true"]{display:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:5px;min-width:0;min-height:88px;padding:17px 16px;align-items:center;box-sizing:border-box}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-row::before{content:"";grid-column:1;grid-row:1/3;align-self:center;width:40px;height:40px;border:1px solid #e2e8e4;border-radius:50%;background:radial-gradient(circle at 50% 37%,#9caea1 0 5px,transparent 5.5px),radial-gradient(ellipse 11px 9px at 50% 79%,#9caea1 0 10px,transparent 10.5px),#f1f5f2;pointer-events:none}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-row>.dw-customer-name{grid-column:2;grid-row:1;font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;align-self:end}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-meta{position:relative;display:flex;align-items:center;gap:4px 10px;flex-wrap:wrap;grid-column:2;grid-row:2;min-width:0;z-index:1;pointer-events:none;align-self:start}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-meta>.dw-customer-vehicle{order:0;min-width:0;max-width:100%;font-size:11px;color:#68786e;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-meta>.dw-customer-phone{position:relative;grid-column:auto;grid-row:auto;order:1;justify-self:auto;font-size:11px;font-weight:400;color:#7b8980;line-height:1.65;z-index:2;pointer-events:auto;white-space:nowrap}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-row>.dw-contact-state{grid-column:3;grid-row:1/3;align-self:center;justify-self:end;font-size:10px;padding:4px 9px;max-width:95px;white-space:normal;text-align:center}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-row>button.dw-customer{position:absolute;inset:0;width:100%;height:100%;min-height:0;display:block;grid-column:auto;grid-row:auto;padding:0;z-index:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-split{min-height:0;align-items:start}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-master{background:transparent;border:0;border-radius:0;box-shadow:none;align-self:start;overflow:visible}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-master-head{background:#fff;border:1px solid #e5e9eb;border-bottom:0;border-radius:14px 14px 0 0;padding:18px 18px 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-master>.dw-search{display:block;background:#fff;border-left:1px solid #e5e9eb;border-right:1px solid #e5e9eb;margin:0;padding:16px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-list{background:#fff;max-height:440px;min-height:0;flex:0 1 auto;border:1px solid #e5e9eb;border-top:0;border-radius:0 0 14px 14px;overflow:auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-today{margin-top:16px;background:#fff;border:1px solid #e5e9eb;border-radius:14px;padding:18px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-detail{min-height:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-vehicle-visual{min-height:75px;padding:5px 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-vehicle-visual img{height:85px;max-width:100%;object-fit:contain}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state[data-contact-state="1차 상담중"]{background:#eaf0ff;border-color:#dfe8fa;color:#365d9b}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state[data-contact-state="신규 DB"],
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-contact-state[data-contact-state="2차 상담중"]{background:#edf7f0;border-color:#e0eee4;color:#27613e}
@media(max-width:1350px){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-status-tabs button{padding:14px 12px;gap:9px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-icon{width:32px;height:32px;flex-basis:32px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-status-tabs button::after{right:8px}
}
@media(max-width:600px){
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top{position:relative!important;inset:auto!important;min-height:64px!important;height:auto!important;width:100%!important;padding:0 10px 0 0!important;gap:8px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .brand{width:auto;flex:0 0 auto;padding:0 12px!important;font-size:15px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.top .toptools{justify-content:flex-end;gap:6px;padding:7px 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout{display:flex!important;flex-direction:column;grid-template-columns:none!important;margin:0!important;min-height:calc(100dvh - 64px)!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>nav.nav{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-height:260px;display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:10px!important;overflow:auto;white-space:nowrap;flex:0 0 auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-primary,
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-secondary{display:flex;flex-direction:row;align-items:center;gap:5px;flex:0 0 auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group{flex:0 0 auto;border:0!important;margin:0!important;padding:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group>summary{min-height:38px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-group>div{padding:5px 0 0!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-foot{flex:0 0 auto;border:0;margin:0;padding:9px 6px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav .nav-caption{padding:8px 5px;font-size:10px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.nav button[data-nav]{white-space:nowrap;min-height:38px!important}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .frame>.layout>.main{width:100%;grid-column:auto;padding:20px 14px;flex:1 1 auto}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-row{min-width:0;grid-template-columns:40px minmax(0,1fr) auto;padding:15px 12px;column-gap:10px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-list{max-height:360px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw:not(.pw) .dw-customer-meta{gap:2px 8px}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw .dw-status-tabs button{min-height:84px}
}

body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-properties>div:nth-child(3){border-left:0;padding-left:0;grid-column:auto}

/* Approved timeline: time and explicit stage sit beside the body, not inside it. */
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note{display:grid;grid-template-columns:minmax(90px,125px) minmax(0,1fr);gap:12px;align-items:start;padding:0;background:transparent;border-radius:0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note>header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;padding:5px 0}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note time{font-size:12px;font-weight:650;line-height:1.6;color:#29372e}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note header span{display:inline-block;padding:2px 7px;border-radius:6px;background:#f0f3f1;color:#6c7a70;line-height:1.5}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note p{margin:0;padding:14px 16px;background:#f3f5f4;border-radius:7px;min-height:52px;box-sizing:border-box}
body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note::before{top:13px}
@media(max-width:600px){body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note{grid-template-columns:80px minmax(0,1fr);gap:9px}body.crm-ui:not(.crm-auth-screen):not(.crm-auth-pending) .dw-note p{padding:12px}}
