/* Approved single-line DB intake. Presentation only; no workflow/data changes. */
body:has(.db-call-home) .frame>.top{height:42px;min-height:42px;padding:0 16px;gap:10px}
body:has(.db-call-home) .frame>.top .brand{font-size:14px;gap:7px}
body:has(.db-call-home) .frame>.top .brand-mark{width:23px;height:23px;font-size:13px;border-radius:5px}
body:has(.db-call-home) .frame>.top .workspace-badge{font-size:11px}
body:has(.db-call-home) .frame>.top :is(button,summary){min-height:27px;padding-top:3px;padding-bottom:3px;font-size:12px}
body:has(.db-call-home) .frame>.layout{grid-template-columns:132px minmax(0,1fr);min-height:calc(100vh - 42px)}
body:has(.db-call-home) .frame>.layout>.nav{padding:12px 7px;gap:12px;background:#fafbfc}
body:has(.db-call-home) .frame>.layout>.nav :is(.nav-primary,.nav-secondary){gap:2px}
body:has(.db-call-home) .frame>.layout>.nav button{min-height:29px;padding:5px 9px;font-size:12px;border-radius:5px}
body:has(.db-call-home) .frame>.layout>.nav .nav-group>summary{min-height:27px;padding:5px 9px;font-size:11px}
body:has(.db-call-home) .frame>.layout>.nav .nav-caption{margin:0 9px 4px;font-size:10px}
body:has(.db-call-home) .frame>.layout>.nav .nav-foot{padding:8px 9px 0;font-size:10px}
body:has(.db-call-home) .frame>.layout>.main{padding:16px 18px 24px;min-width:0;min-height:0}
.db-call-home{max-width:none;min-width:0;color:#344054;font-size:12px}
.db-call-home .db-call-hero{flex-wrap:nowrap;gap:12px;margin-bottom:10px}
.db-call-home .db-call-hero h2{display:flex;align-items:center;gap:10px;font-size:19px;line-height:30px;letter-spacing:-.3px}
.db-call-home .db-total-count{display:inline;color:#8b95a5;font-size:11px;font-weight:400;letter-spacing:0}
.db-call-home .db-call-hero p{display:none}
.db-call-home .db-call-hero>div{flex-wrap:nowrap;gap:6px}
.db-call-home .db-call-hero input{width:180px;height:29px;font-size:12px;padding:0 9px;border-radius:5px}
.db-call-home .db-call-hero button{height:29px;min-height:29px;padding:3px 9px;font-size:11px;border-radius:5px}
.db-call-home .db-call-filters{gap:16px;margin-bottom:8px;align-items:center}
.db-call-home .db-call-filters button{min-height:30px;padding:3px 0 7px;font-size:12px}
.db-call-home .db-call-filters button small{font-size:10px;margin-left:4px}
.db-call-home .db-call-filters select{margin-bottom:4px;min-height:25px;font-size:11px}
.db-call-home .db-call-list{padding:0 10px;border:1px solid #e8ecf1;border-radius:6px;overflow:visible;min-width:0;width:100%}
.db-call-home .db-call-row{grid-template-columns:76px 92px 116px 78px 136px 100px minmax(0,1fr);gap:8px;width:100%;min-width:0;height:36px;min-height:36px;padding:0 2px;font-size:12px}
.db-call-home .db-call-head{height:30px;min-height:30px;font-size:10px;color:#7b8798}
.db-call-home .db-call-row>*{min-width:0;max-width:100%;white-space:nowrap}
.db-call-home .db-call-row:not(.db-call-head):hover{background:#f8fafc}
.db-call-home .db-call-row .db-call-customer.db-open-region{display:block;min-height:0;height:30px;line-height:30px;padding:0;overflow:hidden}
.db-call-home .db-call-customer strong{display:block;font-size:12px;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.db-call-home .db-call-vehicle{display:block;height:30px;min-height:0;width:100%;padding:0;border:0;background:transparent;color:#687588;font-size:12px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-call-home .db-call-phone{display:block;min-width:0;line-height:30px}
.db-call-home .db-call-phone-open{width:100%;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-call-home .db-call-phone .db-phone{font-size:11px;color:#637084;white-space:nowrap;letter-spacing:-.15px}
.db-call-home .db-call-value{display:block;width:100%;height:28px;min-height:28px;padding:0 2px;font-size:12px;line-height:28px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.db-call-home .db-call-value.callState{height:25px;min-height:25px;padding:0 5px!important;line-height:25px;border-radius:4px!important;font-size:11px}
.db-call-home .db-call-value.callState.unknown{background:#f1f3f6;color:#8a95a4}
.db-call-home .db-call-value.callState.absent{background:#fff6e9;color:#a67630}
.db-call-home .db-call-value.callState.done{background:#edf7f1;color:#41845d}
.db-call-home .db-call-value.callNextAt{font-size:11px;line-height:28px}
.db-call-home .db-call-stage{min-width:0;overflow:visible}
.db-call-home .db-call-stage select[data-db-status]{display:block;width:100%;min-width:0;max-width:100%;height:26px;min-height:26px;margin:0;padding:2px 18px 2px 7px;border:1px solid #e6e2ef;border-radius:4px;background:#f6f3fa;color:#655384;font-family:inherit;font-size:11px;line-height:20px;white-space:nowrap;cursor:pointer}
.db-call-home .db-call-editor :is(input,select){height:27px;min-height:27px;font-size:11px;padding:0 4px}
.db-call-home .db-call-memo{min-width:0;overflow:hidden}
.db-call-home .db-call-value.callMemo{font-size:11px;color:#7b8798;overflow:hidden;text-overflow:ellipsis}
.db-call-home .db-call-foot{margin-top:9px;padding-right:78px;font-size:10px;gap:5px 12px}
body:has(.db-call-home) .calc-fab{min-height:30px;height:30px;padding:4px 9px;font-size:11px;right:12px;bottom:12px;border-radius:6px}
body:has(.db-call-home) .calc-fab svg{width:13px;height:16px}
@media(max-width:1100px){.db-call-home .db-call-row{grid-template-columns:68px 78px 112px 70px 124px 94px minmax(0,1fr);gap:6px}.db-call-home .db-call-list{padding:0 8px}}
@media(max-width:950px){body:has(.db-call-home) .frame>.layout{grid-template-columns:112px minmax(0,1fr)}body:has(.db-call-home) .frame>.layout>.main{padding:12px}.db-call-home .db-call-row{grid-template-columns:62px 68px 108px 65px 118px 90px minmax(0,1fr);gap:4px}.db-call-home .db-call-hero input{width:150px}.db-call-home .db-call-filters{gap:11px}}
@media(max-width:760px){body:has(.db-call-home) .frame>.layout{grid-template-columns:96px minmax(0,1fr)}body:has(.db-call-home) .frame>.layout>.main{padding:8px}.db-call-home .db-call-row{grid-template-columns:60px 104px 64px 118px 88px minmax(0,1fr);gap:4px}.db-call-home .db-call-row>:nth-child(2){display:none}.db-call-home .db-call-hero{flex-wrap:wrap;gap:5px}.db-call-home .db-call-hero>div{width:100%}.db-call-home .db-call-hero input{flex:1;min-width:0}.db-call-home .db-call-filters{gap:8px}}
@media(max-width:560px){body:has(.db-call-home) .frame>.layout{grid-template-columns:1fr}body:has(.db-call-home) .frame>.layout>.nav{display:none}.db-call-home .db-call-row{grid-template-columns:minmax(0,.7fr) minmax(0,1.15fr) minmax(0,.75fr) minmax(0,1.35fr) minmax(0,1fr)}.db-call-home .db-call-row>:nth-child(6){display:none}.db-call-home .db-call-foot{padding-right:0}body:has(.db-call-home) .frame>.top .workspace-badge{display:none}}

/* Expanded memo editor preserves original line breaks; list rows remain one line. */
.db-call-home .db-call-memo:has(textarea){position:relative;overflow:visible}
.db-call-home .db-call-editor:has(textarea){position:absolute;top:-13px;right:0;z-index:25;width:min(460px,65vw);max-width:none;white-space:normal}
.db-call-home .db-call-editor textarea{display:block;width:100%;min-height:160px;max-height:45vh;padding:9px 10px;border:1px solid #b7abc9;border-radius:5px;background:#fff;color:#344054;font-family:inherit;font-size:12px;line-height:1.55;white-space:pre-wrap;resize:vertical;box-shadow:0 4px 16px #26313a18}

.phone-call{color:#315f99;text-decoration:none;font-variant-numeric:tabular-nums;white-space:nowrap}.phone-call:hover{text-decoration:underline}.phone-call:focus-visible{outline:2px solid #7563ad;outline-offset:2px}
