﻿:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#1d302a;background:#f3f6f3;font-size:14px}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button,input,select,textarea{border:1px solid #ccd9d1;border-radius:8px;background:#fff;color:#243a31}
button{padding:9px 12px;font-weight:650}
button:disabled{opacity:.48;cursor:not-allowed}
button:hover:not(:disabled){border-color:#3b7562}
input,select,textarea{width:100%;padding:10px}
textarea{resize:vertical;min-height:92px}
a{color:#225e4d;overflow-wrap:anywhere}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b8d5c8;outline-offset:2px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.muted{color:#6d8076}
.eyebrow{font-size:10px;letter-spacing:.13em;color:#688174;font-weight:750;margin:0 0 6px}
.error{color:#a32e2e}
.primary{background:#235c4a;color:white;border-color:#235c4a}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}
.login-card{width:min(100%,390px);background:#fff;border:1px solid #dce6df;border-radius:16px;padding:32px;box-shadow:0 14px 50px #1c493d10}
.login-card h1{font-size:28px;margin:0}
.login-card label{display:block;font-weight:650;margin:20px 0 7px}
.login-card button{width:100%;margin-top:22px}
.mark,.brand-mark{display:grid;place-items:center;background:#e4f2ea;color:#215f4b;font-weight:800;border-radius:9px;width:36px;height:36px}
.mark{margin-bottom:23px}
.topbar{height:76px;background:#205746;color:white;display:flex;align-items:center;gap:24px;padding:0 22px}
.brand{display:flex;align-items:center;gap:10px;min-width:240px}
.brand strong,.brand small{display:block}
.brand strong{font-size:16px}
.brand small{opacity:.7;font-size:11px}
.session-controls,.top-actions{display:flex;align-items:center;gap:9px}
.top-actions{margin-left:auto}
.session-controls span{font-size:12px;white-space:nowrap}
.light{background:transparent;color:white;border-color:#ffffff65;font-size:12px}
.status{font-size:12px;color:#e0f2e8;white-space:nowrap}
.status.pending{color:#ffe6a0}
.status.error{color:#ffd4d4}
.global-error{background:#fff2e9;color:#824220;padding:8px 22px;font-size:12px}
.panel{background:#fff;border:1px solid #dce6df;border-radius:12px;min-height:0;min-width:0;overflow:hidden}
.list-panel{display:flex;flex-direction:column}
.panel-heading{padding:19px 18px 12px}
.panel-heading h2,.recordings h2{margin:0;font-size:18px}
.list-tools{padding:0 14px 12px;display:grid;gap:8px}
.lead-list,.panel-scroll{overflow:auto;min-height:0;height:100%}
.lead-list{padding:0 8px 10px}
.lead-item{display:block;border:1px solid transparent;border-radius:9px;padding:12px;margin-bottom:3px;cursor:pointer}
.lead-item:hover{background:#f4f8f5}
.lead-item.active{background:#eaf4ee;border-color:#c7e1d1}
.lead-item strong,.lead-item small{display:block}
.lead-item strong{font-size:14px}
.lead-item small{color:#718378;margin-top:4px}
.lead-item .phone-link{display:inline-block;font-size:13px;font-weight:700;margin-top:8px}
.empty{color:#788980}
.blocked{color:#a33737;font-weight:700}
.field{margin:16px 0}
.field>label,.field>span{display:block;font-size:12px;font-weight:750;margin-bottom:7px}
.choices{display:flex;flex-wrap:wrap;gap:6px}
.choice{font-size:12px;padding:8px 10px;font-weight:600}
.choice.selected{background:#e4f2e9;border-color:#77ac8a;color:#15563e}
.choice.danger.selected{background:#fff0ee;border-color:#dd9c94;color:#912d26}
.checkline{display:flex;align-items:center;gap:8px}
.checkline input{width:auto}
.small-note{font-size:12px;color:#6e8175;line-height:1.4}
.recordings{padding:20px 24px}
.recordings-head{display:flex;justify-content:space-between;align-items:center}
.recording-row{background:#fff;border:1px solid #dce6df;border-radius:9px;padding:14px;margin-top:10px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.recording-row div{overflow-wrap:anywhere}
/* Laptop: the 0.2 mockup's calling view. The open lead on the left, the list on the right. */
@media(min-width:701px){
:root{background:#eef1ef;color:#1c2925}
.phone-only{display:none!important}
.topbar{height:56px;background:#214e46;gap:14px;padding:0 18px}
.brand{min-width:0}
.brand-mark{width:30px;height:30px;font-size:13px}
.session-controls{margin-left:auto}
.top-actions{margin-left:0}
#start-session{border-radius:999px;padding:5px 13px 5px 10px;border-color:#ffffff73;display:inline-flex;align-items:center;gap:8px}
#start-session::before{content:"";width:9px;height:9px;border-radius:50%;background:#7fd3a2}
#stop-session{border-radius:999px;padding:5px 13px}
.desk{height:calc(100vh - 56px);display:grid;grid-template-columns:minmax(380px,.82fr) minmax(0,1.7fr);grid-template-areas:"lead list";gap:16px;padding:16px 20px}
.panel{border-color:#e0e7e2;border-radius:16px;display:flex;flex-direction:column}
.lead-panel{grid-area:lead}
.list-panel{grid-area:list}
.panel-heading,.lead-head{flex:none;display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid #e0e7e2}
.panel-heading h2,.lead-head h2{margin:0;font-size:16px;letter-spacing:-.01em}
.list-count{margin-left:auto;font-size:12px;color:#66756e}
.pill{display:inline-block;padding:3px 8px;border-radius:20px;background:#eaf0ec;font-size:11.5px;white-space:nowrap;font-weight:600;color:#34433d}
.pill.good{background:#e2f1e8;color:#2e8a57}
.pill.due{background:#fbf0d9;color:#86580a}
.pill.over{background:#f8e3e0;color:#c4473b}
.lead-head .pill{margin-left:auto}
.list-tools{flex:none;display:flex;gap:8px;align-items:center;padding:12px 14px;border-bottom:1px solid #e0e7e2}
.list-tools input,.list-tools select{border-radius:9px;padding:8px 10px;border-color:#cfd9d2}
.list-tools input{flex:1;min-width:160px}
.list-tools select{width:auto;flex:none}
.list-head,.lead-list .lead-item{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,.9fr) minmax(0,.9fr) minmax(0,1.3fr);gap:12px;align-items:center}
.list-head{flex:none;padding:10px 12px;background:#f5f7f5;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:700;color:#66756e}
.lead-list{padding:0}
.lead-list .lead-item{margin:0;padding:10px 12px;border:0;border-top:1px solid #e0e7e2;border-radius:0;font-size:13px}
.lead-list .lead-item:first-child{border-top:0}
.lead-list .lead-item:hover{background:#f5f7f5}
.lead-list .lead-item.active{background:#e6efea}
.lead-item strong{font-size:13.5px;font-weight:750}
.lead-item small{font-size:11.5px;color:#66756e;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lead-item .phone-link{display:none}
.cell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cell .pill{max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.small-cell{font-size:12px}
.lead-list>p{padding:30px 15px;text-align:center}
.lead-panel>.panel-scroll{flex:1;height:auto;padding:16px}
.lead-view .ids{font:600 11px ui-monospace,Consolas,"Cascadia Mono",monospace;color:#66756e;margin:0}
.detail-title{font-size:23px;letter-spacing:-.03em;font-weight:800;line-height:1.15;margin:4px 0 0;overflow-wrap:anywhere}
.detail-sub{color:#66756e;font-size:13px;margin:2px 0 0}
.sect{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;margin:14px 0 7px;color:#34433d}
.sect::before{content:"";width:4px;height:14px;border-radius:3px;background:#214e46;flex:none}
.owner{font-size:15px;font-weight:700;margin:0}
.detail-call{display:flex;align-items:center;gap:10px;border:1px solid #bfe0cc;background:#e2f1e8;border-radius:12px;padding:10px 12px;color:#1d5c38;font-size:17px;font-weight:700;text-decoration:none;font-variant-numeric:tabular-nums}
a.detail-call:hover{background:#d3eadc}
.detail-call small{margin-left:auto;font-size:11.5px;font-weight:500;opacity:.85}
span.detail-call.blocked{background:#f8e3e0;border-color:#efc4be;color:#a33737;font-size:14px}
.details{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.detail{padding:8px 10px;border-radius:10px;background:#f5f7f5;min-width:0}
.detail.wide{grid-column:1/-1}
.detail .label{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:#66756e;font-weight:750;margin-bottom:2px}
.detail .value{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#outcome h2{font-size:18px;margin:0 0 4px;overflow-wrap:anywhere}
#outcome .intro{color:#66756e;margin:0 0 6px}
#outcome .field{margin:12px 0}
#outcome .choice[aria-pressed=true]{background:#214e46;border-color:#214e46;color:#fff}
#outcome .choice.danger[aria-pressed=true]{background:#c4473b;border-color:#c4473b}
#outcome textarea{min-height:64px}
.lead-foot{flex:none;display:flex;gap:8px;padding:10px 16px;border-top:1px solid #e0e7e2}
.lead-foot button{flex:1;border-radius:10px;padding:9px 10px;border-color:#cfd9d2;white-space:nowrap}
.lead-foot .primary{background:#214e46;border-color:#214e46;color:#fff}
}
@media(min-width:701px) and (max-height:800px){
.lead-panel>.panel-scroll{padding:12px 16px}
.lead-head{padding:10px 16px}
.detail-title{font-size:20px}
.sect{margin:10px 0 5px}
.detail-call{padding:7px 12px;font-size:16px}
.details{gap:6px}
.detail{padding:6px 10px}
.lead-foot{padding:8px 16px}
.lead-foot button{padding:7px 10px}
}
@media(min-width:701px) and (max-width:1100px){
.desk{grid-template-columns:minmax(330px,1fr) minmax(0,1.2fr);padding:12px;gap:12px}
.list-head,.lead-list .lead-item{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.2fr)}
.list-head span:nth-child(2),.lead-list .cell-group{display:none}
}
@media(max-width:700px){.laptop-only{display:none!important}
.topbar{height:auto;min-height:62px;padding:10px 14px;gap:8px;flex-wrap:wrap}
.brand{min-width:0;margin-right:auto}
.brand-mark{width:30px;height:30px}
.brand small{display:none}
.session-controls{display:none}
.top-actions{margin-left:0;gap:5px}
.top-actions button{padding:7px;font-size:11px}
.status{font-size:11px}
.desk{height:calc(100dvh - 62px);display:block;padding:0}
.list-panel{height:100%;border:0;border-radius:0}
.panel-heading{padding:14px 15px 8px}
.list-tools{padding:0 12px 10px;grid-template-columns:minmax(0,1fr) 145px}
.list-tools input,.list-tools select{font-size:13px}
.lead-list{padding:0 10px 16px}
.lead-item{border-bottom:1px solid #edf1ee;border-radius:0;padding:12px 6px}
.lead-item.active{background:transparent;border-color:#edf1ee}
.lead-item strong{font-size:15px}
.lead-item .phone-link{font-size:15px;padding:6px 0}
.lead-panel{display:none}
.recordings{padding:16px}
.recording-row{flex-wrap:wrap}
}
