:root{font-family:Inter,'Segoe UI',Arial,sans-serif;color:#25314a;background:#f5f7fb;font-synthesis:none;--blue:#284b9e;--blue-dark:#1b357d;--light:#eaf0fc;--line:#e6eaf1;--muted:#7b8599;--shadow:0 8px 28px #2238690c}
*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select,textarea{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:#4e5b74;border:1px solid #dce2ed;border-radius:7px;padding:9px 14px;cursor:pointer;transition:background .15s}button:hover{background:#f0f4fb;border-color:#bdcbea}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #82acf0;outline-offset:3px}input,select,textarea{border:1px solid #dfe5ef;border-radius:7px;background:white;color:#263449;padding:10px 11px;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#7c9fdf;box-shadow:0 0 0 3px #467ad411}input:disabled,select:disabled{background:#f4f6fa;color:#7a8496}input::placeholder,textarea::placeholder{color:#99a2b3}label{display:block;font-size:12px;font-weight:500;color:#596780;margin-top:17px}label input,label select,label textarea{display:block;margin-top:7px}textarea{resize:vertical;line-height:1.6}h1,h2,h3,p{margin:0}h1{font-size:26px;font-weight:650;letter-spacing:-.8px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px}h3{font-size:13px;font-weight:600}small{font-size:11px}a{color:var(--blue)}[hidden]{display:none!important}.muted{color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#6581b1;margin-bottom:10px}.primary{background:var(--blue);border-color:var(--blue);color:#fff}.primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}.icon{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.icon-button{width:32px;height:32px;padding:6px;border-color:transparent;background:transparent;flex-shrink:0}.text-button{border-color:transparent;background:transparent;padding:6px 4px;font-size:12px}.small-button{font-size:12px;padding:8px 10px}.grow{flex:1}.pill{border-radius:5px;padding:4px 7px;background:#f0f3f8;color:#6a7892;font-size:10px;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}.pill.blue{background:#e9f0fe;color:#3f63ae}.pill.green{background:#e8f6ee;color:#398768}.pill.amber{background:#fff4de;color:#aa7a22}.pill.red{background:#fcebe9;color:#b85d54}.status-dot,.wa-dot{height:6px;width:6px;border-radius:50%;background:#29a276;display:inline-block;flex-shrink:0}.wa-dot{height:7px;width:7px}.avatar{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#e5ecfb;color:#5070ae;border-radius:50%;font-size:12px;font-weight:600;letter-spacing:.2px}.avatar.small{width:32px;height:32px;font-size:10px}.avatar.large{width:60px;height:60px;font-size:19px}.app-header{height:72px;display:flex;align-items:center;padding:0 24px;gap:32px;border-bottom:1px solid var(--line);background:#fff}.brand{display:block;flex-shrink:0;line-height:0}.brand img{width:134px;height:auto}.app-header nav{display:flex;height:100%;gap:3px;align-items:stretch;flex:1}.app-header nav button{position:relative;border:0;border-radius:0;background:transparent;font-size:12px;padding:0 11px;color:#7c879a;gap:7px;white-space:nowrap}.app-header nav button .icon{width:17px;height:17px}.app-header nav button:hover{color:var(--blue);background:#f9fbff}.app-header nav button.active{color:var(--blue);font-weight:600}.app-header nav button.active:after{content:'';position:absolute;bottom:0;left:10px;right:10px;height:3px;background:var(--blue);border-radius:3px 3px 0 0}.nav-count{background:#edf1f9;color:#536eaa;padding:1px 5px;border-radius:8px;font-size:10px}.account{display:flex;align-items:center;gap:9px;margin-left:auto;flex-shrink:0}.account strong{font-size:11px;font-weight:600;display:block;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account small{font-size:9px;color:#8b95a8;display:block;margin-top:3px}.workspace-strip{height:39px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;font-size:10px;color:#8b96a9}.workspace-strip>div{display:flex;align-items:center;gap:10px}.workspace-strip strong{font-weight:500;color:#6e7d98}.workspace-strip .divider{color:#c6cddb;margin:0 2px}.workspace-strip button{font-size:10px}.workspace-strip .icon{height:12px;width:12px}.page{height:calc(100dvh - 111px)}.inbox-page{display:flex;background:#fff;overflow:hidden}.inbox-list{width:306px;flex-shrink:0;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#fff}.list-heading{padding:23px 19px 17px;display:flex;justify-content:space-between;align-items:center}.list-heading h1{font-size:19px;letter-spacing:-.4px}.list-heading p{font-size:11px;margin-top:6px}.channel-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#eff8f4;border-radius:9px;color:#279474}.inbox-tabs{display:flex;margin:0 16px;padding:4px;background:#f2f5fa;border-radius:8px;gap:1px}.inbox-tabs button{background:none;border:0;font-size:11px;flex:1;padding:7px 3px;border-radius:5px;gap:4px}.inbox-tabs button:last-child{flex:.55}.inbox-tabs button.selected{background:#fff;box-shadow:0 1px 5px #283f5810;color:var(--blue);font-weight:600}.inbox-tabs b{font-size:9px;background:#e8edf7;border-radius:4px;padding:2px 4px;font-weight:600}.inbox-tabs .icon{width:14px;height:14px}.list-filters{padding:14px 16px 12px;border-bottom:1px solid var(--line)}.search-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:#fff;padding-left:10px;gap:5px}.search-field>span{display:flex;color:#98a6bc}.search-field .icon{width:15px;height:15px}.search-field input{border:0;padding:9px 5px;font-size:11px;background:transparent;min-width:0}.search-field input:focus{box-shadow:none}.search-field:focus-within{border-color:#779bdc}.filter-pair{display:flex;gap:8px;margin-top:10px}.filter-pair select{font-size:10px;padding:6px 5px;color:#7f8aa0;background:#fafbfe;border-color:#edf0f5;min-width:0}.conversation-rows{flex:1;overflow:auto}.conversation-row{display:flex;width:100%;border:0;border-bottom:1px solid #f0f2f7;border-radius:0;text-align:left;padding:17px 16px;gap:10px;align-items:flex-start;position:relative}.conversation-row:hover{background:#f6f9ff}.conversation-row.selected{background:#edf3ff}.conversation-row.selected:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue)}.conversation-row .avatar{width:34px;height:34px;font-size:10px;margin-top:1px}.row-body{flex:1;min-width:0}.row-top{display:flex;align-items:center;gap:5px;justify-content:space-between}.row-name{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;color:#35425b}.row-time{font-size:9px;color:#9ca6b8;white-space:nowrap}.row-preview{font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#95a0b3;margin:5px 0 9px}.row-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.row-bottom .pill{font-size:9px;padding:3px 5px}.row-bottom small{font-size:9px;color:#91a0b8;max-width:95px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.avatar-wrap{position:relative}.avatar-wrap .wa-dot{position:absolute;bottom:0;right:0;border:2px solid #fff;width:10px;height:10px}.list-footer{padding:12px 17px;border-top:1px solid var(--line);font-size:9px;color:#8e9bb1;display:flex;align-items:center;gap:6px;background:#fafbfe}.list-empty{padding:40px 20px;text-align:center;color:#8592aa}.list-empty .icon{width:28px;height:28px}.list-empty h3{margin:12px 0 8px}.list-empty p{font-size:11px;line-height:1.7}.conversation-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 38%,#f1f5fd 0,white 60%);text-align:center;padding:24px}.conversation-empty img{height:72px;width:auto;opacity:.85;margin-bottom:30px}.conversation-empty h2{font-size:23px;letter-spacing:-.7px;margin:3px 0 12px}.conversation-empty p:not(.eyebrow){color:#98a1b2;line-height:1.8;font-size:12px}.empty-features{display:flex;gap:24px;margin-top:36px;color:#94a0b7;font-size:10px}.empty-features span{display:flex;align-items:center;gap:6px}.empty-features .icon{width:14px;height:14px}.chat-panel{flex:1;min-width:0;display:flex;flex-direction:column}.chat-heading{display:flex;align-items:center;gap:10px;padding:17px 23px;background:#fff;border-bottom:1px solid var(--line);min-height:79px}.chat-title{min-width:0;flex:1}.chat-title h2{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-title>div{display:flex;align-items:center;gap:5px;font-size:10px;color:#95a0b2;margin-top:5px;white-space:nowrap;overflow:hidden}.chat-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}.chat-actions .icon{width:14px;height:14px}.conversation-context{display:flex;align-items:center;gap:8px;padding:10px 24px;border-bottom:1px solid #edf0f6;font-size:10px;color:#8b97ae;background:#fafbfe;min-height:36px}.context-dot{color:#c0cada}.conversation-context .pill{font-size:9px;padding:2px 5px}.messages{flex:1;overflow:auto;padding:25px 28px 15px;background:#fff;display:flex;flex-direction:column;gap:13px;scroll-behavior:smooth}.day-label{display:flex;justify-content:center;font-size:9px;letter-spacing:.2px;color:#a2adc0;margin:5px 0 10px}.day-label span{background:#f6f8fb;border:1px solid #f0f3f8;padding:5px 12px;border-radius:6px}.message{max-width:82%;padding:13px 15px 9px;border-radius:0 9px 9px;background:#f1f4f8;color:#526077;align-self:flex-start;font-size:12px;line-height:1.65;min-width:130px}.message.out{align-self:flex-end;background:#edf3ff;border-radius:9px 0 9px 9px}.message.note{align-self:stretch;background:#fff8e9;border:1px solid #faeac7;color:#958044;border-radius:7px;max-width:100%}.message p{white-space:pre-wrap;overflow-wrap:anywhere}.message small{display:block;text-align:right;font-size:9px;color:#99a5b9;margin-top:5px}.message .note-author{text-align:left;font-size:9px;color:#b09a64;margin:0 0 4px}.message.seen small{color:#4f89bf}.message.failed{border:1px solid #eec9c8}.message.uncertain{border:1px solid #ebd7a7}.composer{margin:0 20px 18px;border:1px solid #dfe5ef;border-radius:10px;background:#fff;box-shadow:0 3px 15px #1f387006;flex-shrink:0;overflow:hidden}.composer-tabs{display:flex;align-items:center;gap:9px;border-bottom:1px solid #f0f2f7;padding:6px 11px}.composer-tabs button{font-size:10px;padding:7px 6px;border:0;background:transparent;color:#929bb0}.composer-tabs button.selected{color:#3a5fa6;background:#f0f4fc;border-radius:5px}.composer-tabs .icon{width:13px;height:13px}.composer textarea{border:0;box-shadow:none!important;resize:none;min-height:88px;padding:14px 17px;font-size:12px}.composer.is-note{border-color:#e5ce95;background:#fffcf4}.composer.is-note textarea{background:#fffcf4}.compose-footer{display:flex;align-items:center;gap:15px;padding:7px 11px 10px}.compose-footer>span{font-size:9px;color:#a0a8b9;line-height:1.6;flex:1}.compose-footer button{padding:8px 15px;font-size:11px}.compose-footer .icon{height:13px;width:13px}.contact-panel{width:261px;flex-shrink:0;border-left:1px solid var(--line);padding:18px 19px;overflow:auto;background:#fcfdff}.aside-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.aside-heading h3{font-size:11px;color:#68758e}.aside-heading button{font-size:10px}.aside-heading .icon{width:13px;height:13px}.profile{text-align:center;padding:24px 0 17px}.profile .avatar{margin-bottom:12px}.profile h3{font-size:14px;color:#42516a;margin-bottom:5px;overflow-wrap:anywhere}.profile p{font-size:10px;color:#9ba5b7;line-height:1.8;overflow-wrap:anywhere}.tags{display:flex;flex-wrap:wrap;gap:5px}.tags:empty{display:none}.tag{display:inline-flex;font-size:9px;color:#647fb3;padding:4px 7px;border:1px solid #dce6f7;background:#f2f6fe;border-radius:4px}.contact-section{border-top:1px solid var(--line);margin-top:20px;padding-top:17px;font-size:11px}.field-caption{font-size:9px;font-weight:600;color:#a2adc0;letter-spacing:.7px}.contact-section>p{margin-top:7px;color:#6c7c97}.contact-section h3{font-size:11px;color:#697b96}.contact-section label{font-size:10px;color:#939fb2;margin-top:13px}.contact-section select{font-size:11px;padding:8px;margin-top:6px;background:#fff}.contact-section summary{font-size:11px;color:#687b97;cursor:pointer}.audit-list{padding-left:16px;margin:15px 0;color:#8997ad;font-size:10px;line-height:1.7}.audit-list li{margin-bottom:12px}.audit-list strong{font-weight:500;color:#5b708f}.audit-list small{display:block;font-size:9px;color:#b0b9c8}.mini-task{padding:9px 0;border-bottom:1px solid #edf1f7;display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.5}.mini-task input{width:13px;flex-shrink:0;margin-top:3px;accent-color:var(--blue)}.mini-task small{display:block;color:#a1adbf;font-size:9px}.mini-empty{font-size:10px;color:#a2adbf;line-height:1.7;margin:12px 0}.mobile-back{display:none}.standard-page{padding:30px 38px 45px;overflow:auto;background:#f6f8fc}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading .eyebrow{font-size:9px}.page-heading h1{font-size:25px}.page-heading p.muted{font-size:12px;margin-top:8px}.page-heading>select{width:200px;font-size:11px}.page-heading>button{font-size:12px}.surface{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:23px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading h2{font-size:14px}.section-heading .muted{font-size:10px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:23px}.metric{background:white;border:1px solid var(--line);border-radius:9px;padding:20px 22px;box-shadow:var(--shadow)}.metric-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8995aa}.metric-top .icon{color:#7c96c7;width:19px;height:19px}.metric strong{display:block;font-size:29px;font-weight:600;letter-spacing:-1px;color:#354c74;margin-top:13px}.metric>small{font-size:10px;color:#a2acbc;display:block;margin-top:7px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.wide{grid-column:1/-1}.bar-item{margin-top:19px}.bar-heading{display:flex;justify-content:space-between;color:#7f8ca3;font-size:11px}.bar-heading b{color:#4b6086;font-weight:600}.bar-track{height:6px;background:#f0f4fa;border-radius:6px;margin-top:9px;overflow:hidden}.bar-track span{height:100%;background:#6b90d1;display:block;border-radius:6px}.bar-track.tone2 span{background:#9bb6e4}.team-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;align-items:center;gap:20px;padding:14px 0;border-top:1px solid #eff2f8;font-size:11px;color:#7e8ca6}.team-person{display:flex;align-items:center;gap:10px;color:#526685}.team-row strong{font-weight:600;color:#546b91}.wide-search{width:min(380px,100%)}.wide-search input{font-size:12px;padding:10px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{padding:12px 15px;font-size:10px;font-weight:500;color:#95a0b4;background:#f8fafd;border-bottom:1px solid var(--line)}td{padding:17px 15px;border-bottom:1px solid #eff2f7;color:#7c8ca5;font-size:11px}td .person-cell{display:flex;align-items:center;gap:10px}td strong{display:block;font-size:12px;font-weight:500;color:#506380}td small{font-size:10px;display:block;color:#9aa8bb;margin-top:3px}td button{font-size:10px}.empty-state{padding:50px 24px;text-align:center;color:#98a6bd;line-height:1.7}.empty-state h3{color:#687d9d;margin:10px 0 6px;font-size:15px}.empty-state .icon{width:30px;height:30px}.empty-state p{font-size:12px}.pipeline-page{display:flex;flex-direction:column;padding-bottom:25px;overflow:hidden}.pipeline-summary{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#657b9c;margin-bottom:19px}.pipeline-summary .muted{font-size:10px}.kanban{display:flex;gap:14px;flex:1;overflow:auto;padding-bottom:10px;min-height:0}.kanban-column{flex:1;min-width:225px;background:#edf1f7;border-radius:9px;padding:0 10px 10px;overflow:auto;border:1px solid transparent}.kanban-column.drag-over{border-color:#7c9fda;background:#e6efff}.column-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 4px;position:sticky;top:0;background:#edf1f7;z-index:1}.column-heading h2{font-size:12px;color:#637b9e;font-weight:600;display:flex;align-items:center;gap:7px}.column-heading h2:before{content:'';width:6px;height:6px;background:#7598d0;border-radius:50%}.column-heading b{font-size:10px;background:#dfe6f0;color:#7a91b2;padding:3px 6px;border-radius:4px}.kanban-card{background:white;border:1px solid #e3e9f2;border-radius:8px;padding:15px;margin-bottom:11px;box-shadow:0 2px 4px #26415a05}.kanban-card[draggable=true]{cursor:grab}.card-title{display:flex;align-items:center;gap:8px}.card-title .avatar{width:29px;height:29px;font-size:9px}.card-title button{border:0;background:transparent;padding:0;text-align:left;font-size:12px;font-weight:600;color:#526b90;justify-content:flex-start;overflow-wrap:anywhere}.kanban-card .tags{margin-top:12px}.kanban-card p{font-size:10px;color:#a1aec1;margin:12px 0;line-height:1.6}.kanban-card select{font-size:10px;padding:7px;background:#fafbfe}.card-footer{display:flex;justify-content:space-between;font-size:9px;color:#a7b3c6;margin-top:12px}.column-empty{font-size:10px;text-align:center;border:1px dashed #d8e0ec;color:#a1aec2;padding:20px 5px;border-radius:7px}.segmented{background:#eaf0f8;padding:4px;border-radius:8px;display:flex;gap:3px}.segmented button{border:0;background:none;font-size:11px;padding:8px 15px}.segmented button.selected{background:white;color:var(--blue);box-shadow:0 2px 5px #31446b0a}.task-list{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.task-row{display:flex;align-items:center;gap:16px;padding:22px;border-bottom:1px solid #edf1f7}.task-row:last-child{border:0}.task-row input{width:17px;height:17px;accent-color:var(--blue);flex-shrink:0}.task-body{flex:1;min-width:0}.task-body strong{font-weight:500;font-size:13px;color:#526584}.task-body>div{display:flex;gap:12px;margin-top:8px;font-size:10px;color:#9aa8bd;flex-wrap:wrap;align-items:center}.task-body .text-button{padding:0;font-size:10px}.task-row.done strong{text-decoration:line-through;color:#a0aec2}.overdue{color:#bb735c!important}.task-row>button{font-size:10px}.inline-label{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;color:#8493aa}.inline-label input{width:auto;margin:0;accent-color:var(--blue)}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.quick-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);display:flex;flex-direction:column}.quick-card h3{font-size:13px;color:#536b90;display:flex;align-items:center;gap:8px}.quick-card h3 .icon{width:16px;color:#7d9ccd}.quick-card>p{font-size:12px;line-height:1.8;color:#93a0b5;margin:15px 0 20px;white-space:pre-wrap;overflow-wrap:anywhere;flex:1}.quick-card .card-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef2f8;padding-top:12px;gap:5px}.quick-card button{font-size:10px}.connection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.connection-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:25px;box-shadow:var(--shadow)}.connection-card .channel-badge{display:flex;align-items:center;justify-content:center;height:43px;width:43px;border-radius:12px;background:#ecf7f1;color:#439c7a;margin-bottom:20px}.connection-card .channel-badge.instagram{background:#fcf0f4;color:#c88aab}.connection-card .channel-badge.messenger{background:#eff3fd;color:#82a1da}.connection-card h2{font-size:15px;margin-bottom:8px}.connection-card p{font-size:11px;line-height:1.8;color:#99a5b8;margin-bottom:18px}.number-item{padding:12px 0;border-top:1px solid #edf1f7;color:#748ba9;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.number-item small{color:#a1adbf;display:block}.connection-info{margin-top:25px}.connection-info h2{font-size:14px;margin-bottom:12px}.connection-info p{font-size:12px;color:#8496b0;line-height:1.8;margin-top:8px;max-width:850px}.login-screen{display:flex;min-height:calc(100dvh - 72px);background:#fff}.login-art{width:54%;padding:8vh 8vw;background:linear-gradient(145deg,#eaf1ff,#f7faff);display:flex;flex-direction:column;justify-content:center}.login-art img{width:68px;height:auto;margin-bottom:40px}.login-art h1{font-size:43px;line-height:1.2;color:#314f85;letter-spacing:-1.5px;margin:13px 0 23px}.login-art>p:last-child{line-height:1.9;color:#92a5c2;font-size:14px}.login-form{max-width:460px;width:46%;padding:70px 60px;align-self:center}.login-form h2{font-size:27px;margin-bottom:10px}.login-form>.primary{width:100%;margin-top:30px;justify-content:space-between;padding:13px 17px}.login-form>.muted{margin-bottom:28px;font-size:12px}.login-form #demoLoginHint{margin-top:18px;font-size:11px}.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);background:#254a82;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 5px 25px #152c7130;z-index:100;font-size:12px;line-height:1.6}.toast.error{background:#a34242;bottom:70px}dialog{border:1px solid #e0e7f2;border-radius:13px;padding:27px;width:min(470px,calc(100% - 30px));max-height:90dvh;box-shadow:0 24px 100px #1a2a4a30;color:#425778}dialog::backdrop{background:#20365260;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.dialog-heading h2{font-size:19px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.dialog-actions button{font-size:12px}dialog p.muted{font-size:11px}dialog .picker-item{display:block;width:100%;text-align:left;white-space:normal;padding:14px;margin-top:10px}dialog .picker-item strong{display:block;font-size:12px;margin-bottom:6px}dialog .picker-item span{font-size:11px;color:#8c9cb2;white-space:pre-wrap;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#d9e1ee;border-radius:5px}::-webkit-scrollbar-track{background:transparent}
@media(min-width:1500px){.inbox-list{width:340px}.contact-panel{width:285px}.app-header{gap:45px}.app-header nav button{padding:0 18px}.messages{padding:30px 40px}.message{max-width:70%}}
@media(max-width:1250px){.app-header{padding:0 17px;gap:19px}.app-header nav button{padding:0 8px;font-size:11px;gap:5px}.app-header nav button .icon{width:15px}.brand img{width:114px}.account .avatar{display:none}.account strong{max-width:110px;font-size:10px}.account small{font-size:8px}.inbox-list{width:275px}.contact-panel{width:230px;padding:17px 15px}.chat-heading{padding:16px}.chat-actions{gap:4px}.chat-actions button{font-size:10px;padding:7px}.chat-actions>.pill{display:none}.messages{padding:20px}.conversation-context{padding:9px 16px;gap:5px;font-size:9px}.composer{margin:0 14px 14px}.composer-tabs{gap:4px}.composer-tabs button{font-size:9px;gap:3px}.row-name{max-width:130px}.standard-page{padding:28px}.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.contact-panel{display:none}.contact-panel.is-open{display:block;position:absolute;right:0;top:111px;bottom:0;width:265px;box-shadow:-12px 0 30px #2037561a;z-index:5}.account strong{max-width:90px}.app-header{gap:10px;padding:0 12px}.app-header nav button{font-size:10px;padding:0 7px}.app-header nav button .icon{display:none}.brand img{width:102px}.connection-grid{grid-template-columns:1fr}.connection-card{padding:20px}.connection-card .channel-badge{float:left;margin:0 17px 10px 0}.metrics{gap:10px}.metric{padding:17px}.workspace-strip{padding:0 17px}.quick-grid{gap:14px}}
@media(max-width:700px){.app-header{height:105px;flex-wrap:wrap;padding:12px 15px 0;gap:0;align-content:flex-start}.brand img{width:104px}.account{height:32px}.account strong{max-width:170px}.app-header nav{width:100%;height:49px;flex:none;overflow:auto;margin-top:11px;gap:4px}.app-header nav button{font-size:11px;padding:0 10px}.workspace-strip{height:33px;padding:0 13px}.workspace-strip strong,.workspace-strip .divider,#sync{display:none}.page{height:calc(100dvh - 138px)}.inbox-list{width:100%}.inbox-page.has-current .inbox-list{display:none}.conversation-empty{display:none}.chat-panel{width:100%}.mobile-back{display:inline-flex}.chat-heading{padding:14px 10px;gap:7px}.chat-actions #transfer{font-size:0;gap:0}.chat-actions #transfer .icon{width:17px}.chat-title h2{font-size:13px}.chat-actions .small-button{padding:7px 9px}.contact-panel.is-open{top:138px;width:270px}.messages{padding:17px 15px}.message{max-width:87%}.composer{margin:0 10px 10px}.conversation-context{font-size:9px}.standard-page{padding:23px 16px}.page-heading{align-items:flex-start;gap:15px}.page-heading h1{font-size:22px}.page-heading p.muted{font-size:11px}.page-heading .pill{display:none}.page-heading>button{font-size:10px;padding:8px;white-space:nowrap}.metrics{grid-template-columns:1fr 1fr}.metric strong{font-size:25px}.dashboard-grid{grid-template-columns:1fr}.surface{padding:17px}.section-heading{align-items:flex-start}.team-row{grid-template-columns:1.6fr 1fr 1fr;gap:10px;font-size:9px}.team-row>:last-child{display:none}.quick-grid{grid-template-columns:1fr}.pipeline-summary{display:block}.pipeline-summary .muted{display:block;margin-top:9px}.page-heading>select{width:130px;font-size:10px}.task-row{padding:16px;gap:10px}.task-body strong{font-size:12px}.task-row>button{font-size:9px;padding:7px}.section-heading>.muted{font-size:9px;max-width:125px}.segmented button{font-size:10px;padding:7px}.login-art{display:none}.login-form{width:100%;padding:45px 28px}.login-screen{min-height:calc(100dvh - 105px)}.row-name{max-width:70vw}.conversation-row{padding:18px}.contact-panel{top:138px}}
.bar-item progress{width:100%;height:6px;border:0;border-radius:6px;margin-top:9px;background:#f0f4fa;display:block;overflow:hidden}.bar-item progress::-webkit-progress-bar{background:#f0f4fa;border-radius:6px}.bar-item progress::-webkit-progress-value{background:#7b9fd9;border-radius:6px}.bar-item progress::-moz-progress-bar{background:#7b9fd9}.row-preview,.row-body{display:block}
/* SemDor: saturated accents with readable surfaces. */
:root{--blue:#3159e6;--blue-dark:#2243bc;--light:#eaf0ff;--muted:#667590;--line:#dfe6f3;--shadow:0 6px 22px #273f8010;color:#243654;background:#f3f6ff}
.app-header{border-top:4px solid #3159e6;height:76px;box-shadow:0 3px 15px #2a4b8010}.app-header nav button.active{color:#3159e6;background:#f0f4ff}.app-header nav button.active:after{background:#3159e6;height:4px}.app-header nav button{color:#536584}.account small{color:#52678b}.workspace-strip{background:#edf2ff;color:#576d99}.workspace-strip strong{color:#345599}.page{height:calc(100dvh - 115px)}.primary{box-shadow:0 3px 8px #3159e62a}.status-dot,.wa-dot{background:#08b782}.avatar{background:#e3eaff;color:#3658c6}.channel-icon{background:#ddf8ed;color:#099968}.inbox-tabs{background:#e9effc}.inbox-tabs button.selected{background:#3159e6;color:white;box-shadow:0 3px 8px #3159e62a}.inbox-tabs button.selected b{background:#ffffff30;color:white}.conversation-row.selected{background:#e8efff}.conversation-row.selected:before{background:#3159e6;width:4px}.row-name{color:#2c4266}.row-preview{color:#657b9c}.row-time,.row-bottom small{color:#647b9d}.pill.blue{background:#dfe8ff;color:#294cc2}.pill.green{background:#d9f6e9;color:#087951}.pill.amber{background:#fff0c2;color:#865300}.pill.red{background:#ffe1e8;color:#b12d50}.conversation-context{background:#f2f5ff;color:#526d97}.chat-title>div{color:#6782a8}.message{background:#edf1fa;color:#344d72}.message.out{background:#e1ebff;border-right:3px solid #6286fa}.message.note{background:#fff2ca;border-color:#f1d583;color:#705719}.message small{color:#617b9e}.message.seen small{color:#146bce}.composer-tabs button.selected{background:#e4edff;color:#284cc6}.composer.is-note .composer-tabs button.selected{background:#ffedb1;color:#8b6410}.compose-footer>span{color:#6f7f99}.tag{border-color:#d2ddff;background:#e7edff;color:#3c51b7}.tag:nth-child(4n+2){background:#e6dcff;border-color:#d4c4fb;color:#7741b2}.tag:nth-child(4n+3){background:#d8f6ed;border-color:#bce7d9;color:#138268}.tag:nth-child(4n+4){background:#ffe6cd;border-color:#f4d3ac;color:#985614}.contact-panel{background:#f8faff}.profile p,.contact-section label{color:#6d80a0}.contact-section h3,.aside-heading h3{color:#435d86}.field-caption{color:#6d80a3}.standard-page{background:#f3f6fc}.page-heading h1{color:#233e6b}.eyebrow{color:#3159d2}.metric{border-top:4px solid #3159e6}.metric:nth-child(2){border-top-color:#9658e8}.metric:nth-child(3){border-top-color:#05b683}.metric:nth-child(4){border-top-color:#f3a326}.metric-top{color:#526d96}.metric-top .icon{color:#3159e6;background:#e9efff;border-radius:6px;width:29px;height:29px;padding:5px}.metric:nth-child(2) .icon{color:#9658e8;background:#f0e6ff}.metric:nth-child(3) .icon{color:#069c70;background:#def9ee}.metric:nth-child(4) .icon{color:#ca8410;background:#fff1d5}.metric strong{color:#294ac6}.metric:nth-child(2) strong{color:#8544d5}.metric:nth-child(3) strong{color:#098a65}.metric:nth-child(4) strong{color:#b87918}.metric>small{color:#72839f}.bar-item progress::-webkit-progress-value{background:#527cf2}.bar-item:nth-child(2) progress::-webkit-progress-value{background:#9561e7}.bar-item:nth-child(3) progress::-webkit-progress-value{background:#12b798}.bar-item:nth-child(4) progress::-webkit-progress-value{background:#f0ad37}.bar-heading{color:#62779a}.kanban-column{border-top:4px solid #4c7aef;background:#edf2fe}.kanban-column:nth-child(2){border-top-color:#9463e8;background:#f1edfc}.kanban-column:nth-child(3){border-top-color:#f0a132;background:#fdf4e7}.kanban-column:nth-child(4){border-top-color:#0cb5a0;background:#e7f7f5}.kanban-column:nth-child(5){border-top-color:#23b77f;background:#eaf7ef}.column-heading{background:inherit}.column-heading h2{color:#435b88}.column-heading h2:before{background:#3159e6}.column-heading b{background:#fff;color:#3159c8}.kanban-card p,.card-footer{color:#677f9f}.quick-card{border-left:4px solid #8d59dc}.quick-card h3{color:#4b3c85}.quick-card>p{color:#64779b}.connection-card{border-top:4px solid #08ae7d}.connection-card:nth-child(2){border-top-color:#dd5298}.connection-card:nth-child(3){border-top-color:#397deb}.connection-card p,.number-item small{color:#6c80a1}.task-body>div{color:#6f80a0}.task-row input,.mini-task input{accent-color:#3159e6}.task-row.done{background:#f2fbf7}.overdue{color:#c53b59!important}.toast{background:#284ac7}.toast.error{background:#bb3356}.surface .section-heading h2{color:#36578b}
@media(max-width:1050px){.contact-panel.is-open{top:115px}.app-header nav button{padding:0 6px}}
@media(max-width:700px){.app-header{height:109px}.page{height:calc(100dvh - 142px)}.contact-panel.is-open{top:142px}}
.advanced-filters{display:flex;gap:7px;padding:0 16px 12px;border-bottom:1px solid var(--line)}.advanced-filters select{min-width:0;padding:6px;font-size:10px;color:#5f7396;background:#f4f7ff}.history-search{display:flex;align-items:center;justify-content:space-between;padding:9px 20px;border-bottom:1px solid #edf1fb;gap:10px}.history-search .search-field{width:340px;border-color:#e8eef8;background:#fafbff}.history-search input{padding:6px;font-size:10px}.history-search small{white-space:nowrap;color:#5b78ac;font-size:10px}.attention-banner{display:flex;align-items:center;gap:14px;padding:18px 22px;border:1px solid #cedbff;border-left:4px solid #5278ed;border-radius:9px;background:#eaf0ff;margin-bottom:22px;color:#325497}.attention-banner>.icon{width:25px;height:25px;color:#426ae1}.attention-banner>div{flex:1}.attention-banner strong{font-size:12px}.attention-banner p{font-size:11px;line-height:1.6;margin-top:5px;color:#5877a6}.attention-banner button{font-size:11px;white-space:nowrap;border-color:#b9cafd;color:#345bc9}.task-filters{display:flex;gap:12px;margin-bottom:17px}.task-filters .search-field{flex:1;max-width:400px}.task-filters>select{width:190px;font-size:11px}.task-description{font-size:11px;line-height:1.6;color:#7083a1;margin-top:7px;white-space:pre-wrap}.rule-list{display:flex;flex-direction:column;gap:13px}.rule-card{display:flex;align-items:center;gap:17px;background:white;border:1px solid var(--line);border-radius:10px;padding:22px;box-shadow:var(--shadow)}.rule-symbol{width:42px;height:42px;border-radius:12px;background:#ede1ff;color:#8b50d1;display:flex;align-items:center;justify-content:center;flex-shrink:0}.rule-content{flex:1;min-width:0}.rule-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rule-title h3{color:#455a85;font-size:14px}.rule-content p{color:#6980a4;font-size:12px;margin:10px 0 7px;line-height:1.7;overflow-wrap:anywhere}.rule-content small{color:#8c9bb4;font-size:10px}.rule-card button{font-size:11px}.rule-enabled{margin-top:20px}.section-heading #contactOwnerFilter{width:190px;font-size:11px}dialog label.inline-label input{display:inline}.contact-panel label.mini-task{margin-top:0}.row-body .row-preview{display:block}.app-header{gap:20px}.app-header nav button{padding:0 9px}
@media(max-width:1250px){.app-header{gap:10px;padding:0 14px}.app-header nav button{font-size:10px;padding:0 7px;gap:5px}.account strong{max-width:95px}}
@media(max-width:1050px){.app-header nav button{padding:0 6px}.brand img{width:98px}.account{gap:5px}.account strong{max-width:85px}}
@media(max-width:700px){.attention-banner{padding:14px;gap:10px;flex-wrap:wrap}.attention-banner button{margin-left:35px}.task-filters{flex-wrap:wrap;gap:7px}.task-filters .search-field{flex-basis:100%;max-width:none}.task-filters>select{flex:1;min-width:0}.rule-card{padding:16px;gap:10px;flex-wrap:wrap}.rule-content{flex-basis:70%}.rule-card>button{margin-left:auto}.history-search{padding:7px 12px}.history-search .search-field{width:auto;flex:1}.section-heading #contactOwnerFilter{width:140px}.app-header nav button{font-size:11px;padding:0 10px}}
.metric{background:#3159df;border-color:#3159df;box-shadow:0 6px 18px #3159df20}.metric:nth-child(2){background:#8b4ddb;border-color:#8b4ddb}.metric:nth-child(3){background:#079b7c;border-color:#079b7c}.metric:nth-child(4){background:#d58a18;border-color:#d58a18}.metric .metric-top,.metric strong,.metric:nth-child(n) strong{color:#fff}.metric>small{color:#ffffffd9}.metric:nth-child(n) .icon{background:#ffffff26;color:#fff}.rule-list>.empty-state,.quick-grid>.empty-state{grid-column:1/-1;background:#fff;border:1px dashed #cad8f5;border-radius:10px;width:100%}.column-heading h2:before{display:none}.kanban-column:nth-child(2) .column-heading h2{color:#8150cb}.kanban-column:nth-child(3) .column-heading h2{color:#a3690f}.kanban-column:nth-child(4) .column-heading h2{color:#058777}.kanban-column:nth-child(5) .column-heading h2{color:#208657}
/* Professional workspace: clear hierarchy, compact navigation and focused conversation. */
:root{--blue:#365aee;--blue-dark:#2445c7;--line:#e2e7f1;--muted:#64748b;--shadow:0 4px 18px #193c7310;color:#1f2e48;background:#f4f6fb}
body{font-size:13px}.app-header{height:72px;border-top:0;padding:0 26px;gap:28px;position:relative;z-index:20;border-bottom:1px solid #e0e7f2;box-shadow:none}.brand img{width:140px}.header-tools{display:flex;align-items:center;gap:16px;margin-left:auto}.header-tools button{font-size:11px}.account{margin-left:0;border-left:1px solid var(--line);padding-left:22px}.account strong{font-size:12px;max-width:190px}.account small{font-size:10px}.availability-button{border:1px solid #bae8da;background:#edfaf5;color:#137658;border-radius:20px;padding:7px 12px!important;box-shadow:none}.availability-button.paused{border-color:#f1daa9;background:#fff8e9;color:#8b651c}.availability-button.paused .status-dot{background:#e3a535}
.app-header nav{position:fixed;top:72px;left:0;bottom:0;width:178px;height:auto;display:flex;flex-direction:column;gap:5px;padding:24px 12px;background:#fff;border-right:1px solid var(--line);align-items:stretch;overflow:auto}.app-header nav:before{content:'ESPAÇO DA CLÍNICA';font-size:9px;letter-spacing:1.3px;font-weight:700;color:#93a0b5;padding:0 12px 14px}.app-header nav button{justify-content:flex-start;flex:none;padding:12px 13px;border-radius:9px;font-size:12px;gap:11px;color:#65728b;min-height:43px}.app-header nav button .icon{width:18px;height:18px}.app-header nav button.active{color:#fff;background:#365aee;box-shadow:0 4px 12px #365aee25}.app-header nav button.active:after{display:none}.app-header nav button.active .nav-count{background:#ffffff2e;color:#fff}.app-header nav button[data-page=connections]{margin-top:18px;border-top:1px solid var(--line);border-radius:0;padding-top:22px}.app-header nav button[data-page=connections].active{border-radius:9px;margin-top:18px;padding:12px 13px}
#workspace{margin-left:178px}.workspace-strip{height:42px;padding:0 24px;background:#fbfcff;color:#71809c;border-bottom:1px solid #e7edf7}.workspace-strip strong{color:#536482}.workspace-strip #pageSubtitle{font-weight:600;color:#34537d}.page{height:calc(100dvh - 114px)}.standard-page{padding:30px 34px 50px}.page-heading h1{font-size:28px;letter-spacing:-.8px;color:#202f4a}.page-heading .eyebrow{font-size:9px;letter-spacing:1.6px}.page-heading{margin-bottom:24px}.surface,.metric,.task-row,.quick-card,.rule-card{border-radius:12px}.metric{padding:23px 24px;box-shadow:0 7px 16px #28478012}.metric strong{font-size:34px;letter-spacing:-1px;margin-top:14px}.metric-top{font-size:12px}.metric small{line-height:1.5}.surface .section-heading h2{color:#283c5d;font-size:15px}.attention-banner{border-left:0;border:1px solid #dce5ff;background:#edf2ff;padding:16px 20px;border-radius:12px}.dashboard-grid{gap:18px}.metrics{gap:15px}.table-scroll th{font-weight:650;color:#687994;font-size:11px;background:#f7f9fc;padding:14px 15px}.table-scroll td{font-size:12px;color:#536782;padding:18px 15px}.person-cell strong{font-weight:600;color:#2f4565}
.inbox-list{width:294px}.list-heading{padding:23px 18px 18px}.list-heading h1{font-size:20px;color:#243752}.list-heading .icon-button{width:31px;height:31px;background:#365aee;color:#fff;border-radius:9px}.inbox-tabs{margin:0 14px}.list-filters{padding:13px 14px 8px;border-bottom:0}.unread-filter{display:flex;align-items:center;gap:7px;margin:0;padding:3px 15px 12px;font-size:10px;color:#667c9d}.unread-filter input{width:12px;margin:0;accent-color:#365aee}.unread-filter b{margin-left:auto;background:#eaf0ff;color:#3158cc;border-radius:7px;padding:2px 6px;font-size:9px}.advanced-filters{padding:0 14px 12px}.conversation-row{padding:18px 14px;gap:9px}.conversation-row.selected{background:#eef3ff}.row-name{font-size:12px;color:#2c405e;max-width:162px}.row-time{display:flex;gap:6px;align-items:center;flex-direction:column}.unread-badge{font-size:9px;background:#365aee;color:#fff;border-radius:10px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center}.row-preview{margin-top:7px;font-size:11px;color:#71829b}.conversation-context{background:#fafbfe;font-size:10px;padding:9px 20px;min-height:36px}.chat-heading{min-height:78px;padding:17px 20px;gap:10px}.chat-title h2{font-size:15px;color:#293c5a}.chat-title>div{font-size:10px}.chat-actions button{font-size:11px}.chat-actions{gap:5px}.history-search{padding:8px 20px;background:#fff}.history-search .search-field{width:280px}.messages{background:#f5f7fc;background-image:radial-gradient(#d7deed 0.65px,transparent .65px);background-size:15px 15px;padding:22px 25px;gap:15px}.message{background:#fff;box-shadow:0 2px 5px #1b3d5c09;border:1px solid #e4e9f3;border-radius:0 12px 12px;padding:12px 15px 8px;color:#334762;font-size:13px;max-width:85%;line-height:1.6;position:relative}.message.out{background:#e7edff;border:1px solid #d5dfff;border-radius:12px 0 12px 12px}.message.note{background:#fff3ce;border-color:#f1da95;border-radius:10px}.message small{font-size:9px;color:#7386a3}.day-label span{background:#e8edf5;color:#6e809d;border:0;border-radius:20px;font-size:10px}.composer{margin:12px 18px 16px;border-color:#dce4f1;border-radius:12px;box-shadow:0 4px 16px #29406908}.composer-tabs{padding:5px 10px;gap:4px}.composer-tabs button{font-size:10px}.composer textarea{min-height:74px;padding:14px;font-size:13px}.composer-tools{display:flex;gap:4px;align-items:center;padding:3px 9px 7px;flex-wrap:wrap}.composer-tools button{background:transparent;border:0;padding:6px;font-size:10px;color:#577198}.composer-tools button:hover{background:#edf2ff}.composer-tools small{font-size:9px;color:#8393ad}.compose-footer{border-top:1px solid #eef1f7;padding:9px 12px;background:#fcfdff}.compose-footer>span{font-size:9px}.compose-footer .primary{border-radius:7px;padding:8px 17px}.contact-panel{width:245px;padding:18px 18px;background:#fff}.profile{padding:23px 0 18px}.profile h3{color:#314562;font-size:14px}.profile p{color:#72849f}.contact-section{margin-top:17px;padding-top:16px}.contact-section .field-caption{font-size:9px}.contact-section>p{line-height:1.6}.contact-section select{font-size:11px;background:#f9fbff}.contact-section label{font-size:10px}.contact-section summary{font-size:11px;font-weight:600}.conversation-empty{background:#f7f9fe}.conversation-empty h2{color:#294166}.conversation-empty img{opacity:1;height:66px}.empty-features span{font-size:11px;color:#7084a5}.conversation-empty p:not(.eyebrow){color:#7e8fa9}
.attachment-draft,.quote-draft{display:flex;align-items:center;gap:12px;margin:10px 12px 0;background:#eff4ff;border-radius:8px;padding:10px}.attachment-draft>div,.quote-draft>div{min-width:0;flex:1}.attachment-draft img{width:56px;height:48px;object-fit:cover;border-radius:5px}.attachment-draft strong,.quote-draft strong{font-size:11px;display:block;overflow-wrap:anywhere}.attachment-draft small{display:block;color:#7485a1;margin-top:4px;font-size:10px}.attachment-draft audio{max-width:220px;width:50%;height:36px}.attachment-draft button,.quote-draft button{border:0;background:transparent;padding:3px;font-size:20px}.quote-draft{border-left:3px solid #6282f2}.quote-draft p{font-size:11px;max-height:36px;overflow:hidden;white-space:pre-wrap}.message-image{display:block;width:100%;max-width:300px;max-height:250px;object-fit:contain;border-radius:7px;margin-bottom:8px}.message audio{display:block;max-width:100%;width:280px;height:42px}.message video{display:block;max-width:100%;width:320px;max-height:250px;border-radius:6px}.document-link{display:flex;align-items:center;gap:10px;text-decoration:none;background:#dfe8fa;border-radius:6px;padding:10px;margin-bottom:7px;font-size:12px;overflow-wrap:anywhere}.document-link small{text-align:left;margin:3px 0 0}.file-symbol{font-size:12px;font-weight:700;background:white;border-radius:7px;padding:12px;color:#5472c5}.quote-action{font-size:9px;padding:2px 0;margin-top:4px;border:0;background:transparent;color:#687fa6}.message-quote{border-left:3px solid #7895ea;margin:0 0 8px;padding:6px 9px;background:#ffffff70;border-radius:3px;font-size:11px;max-height:65px;overflow:hidden;white-space:pre-wrap}.template-label{display:block;font-size:8px;letter-spacing:1px;color:#5e77b7;margin-bottom:7px}.template-dialog{width:540px}.template-preview{background:#ecf3ff;border:1px solid #dce6f8;padding:18px;border-radius:10px;margin-top:22px}.template-preview p{font-size:13px;line-height:1.8;white-space:pre-wrap;color:#3b5277;margin-top:10px}.template-dialog select{font-size:11px}.template-dialog #templateInfo{font-size:12px}.recording-state{text-align:center;padding:30px 5px;color:#6b7f9d}.recording-state strong{display:block;font-size:38px;color:#34527a;margin:10px 0}.recording-state p{font-size:12px}.recording-dot{display:inline-block;width:13px;height:13px;border-radius:50%;background:#ed4777;animation:recordpulse 1s ease-in-out infinite alternate}@keyframes recordpulse{to{opacity:.35}}.team-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:24px}.team-card-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.team-card h2{font-size:16px;margin-bottom:7px}.team-card>p{font-size:12px;color:#7184a0;margin-bottom:17px}.team-card-count{border-top:1px solid var(--line);padding-top:18px;margin:20px 0 16px;color:#7b8daa;font-size:11px}.team-card-count strong{font-size:22px;color:#355bcc;margin-right:7px}.team-card>button{width:100%;font-size:11px}.permissions-guide h2{margin-bottom:18px}.permissions-guide>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;margin-bottom:20px}.permissions-guide p{color:#687e9f;font-size:12px;line-height:1.8}.permissions-guide strong{color:#344f78}.permissions-guide .muted{font-size:11px}.report-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:18px 22px}.report-filters label{margin:0;font-size:11px}.report-filters input,.report-filters select{font-size:12px}.report-caption{font-size:11px;margin:15px 0 20px}fieldset{border:1px solid var(--line);border-radius:8px;margin:20px 0;padding:12px 15px}legend{font-size:11px;color:#6d7f9a;padding:0 5px}#teamQueues label{margin:8px 0}.inline-label input{width:auto;accent-color:#365aee}dialog{border-radius:14px;box-shadow:0 24px 80px #17305a40}dialog::backdrop{background:#1729445e;backdrop-filter:blur(3px)}.dialog-heading h2{font-size:19px;color:#30466b}.dialog-heading>button{border:0;background:transparent;font-size:20px;padding:4px 8px}dialog form>label{font-size:12px}.dialog-actions{margin-top:25px}.toast{border-radius:10px;font-size:12px;box-shadow:0 8px 30px #203b6c24}
@media(min-width:1500px){.inbox-list{width:320px}.contact-panel{width:280px}.messages{padding:28px 36px}.row-name{max-width:175px}}
@media(max-width:1250px) and (min-width:701px){.app-header nav{width:152px;padding:23px 8px}.app-header nav button{font-size:11px;padding:11px;gap:9px}.app-header nav:before{font-size:8px;padding-left:11px}.brand img{width:121px}#workspace{margin-left:152px}.inbox-list{width:277px}.contact-panel{display:none}.contact-panel.is-open{display:block;position:fixed;z-index:25;right:0;top:114px;bottom:0;width:270px;box-shadow:-12px 0 30px #20355320}.metrics{gap:10px}.metric{padding:18px}.metric-top{font-size:11px}.standard-page{padding:25px}.header-tools{gap:10px}.account{padding-left:14px}.account strong{max-width:160px}}
@media(max-width:850px) and (min-width:701px){.app-header nav{width:68px;padding:20px 8px}.app-header nav:before{display:none}.app-header nav button{font-size:0;justify-content:center;padding:12px;gap:0}.app-header nav button .icon{width:21px;height:21px}.app-header nav .nav-count{position:absolute;right:1px;top:4px;font-size:8px}#workspace{margin-left:68px}.metrics{grid-template-columns:1fr 1fr}.header-tools #notifications{display:none}.brand img{width:110px}.inbox-list{width:260px}.chat-heading{padding:14px}.chat-actions #transfer{font-size:0;gap:0}.chat-actions #transfer .icon{width:17px}.composer-tools small{display:none}.report-filters{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.app-header{height:111px;padding:12px 14px 0;gap:10px;flex-wrap:wrap;align-content:flex-start}.brand img{width:105px}.header-tools{margin-left:auto;gap:4px}.header-tools #notifications{font-size:0;width:25px;padding:0}.header-tools #notifications:before{content:'♧';font-size:20px}.availability-button{font-size:9px!important;padding:5px 8px!important}.account{padding-left:9px;height:32px}.account>div{display:none}.account .avatar{width:28px;height:28px}.app-header nav{position:static;width:100%;height:49px;flex-direction:row;padding:0;margin:4px 0 0;border:0;gap:3px;overflow:auto;flex:none}.app-header nav:before{display:none}.app-header nav button{flex-shrink:0;font-size:10px;min-height:37px;padding:8px 10px;border-radius:7px;margin:4px 0 7px}.app-header nav button .icon{width:15px;height:15px}.app-header nav button[data-page=connections],.app-header nav button[data-page=connections].active{margin:4px 0 7px;padding:8px 10px;border:0;border-radius:7px}#workspace{margin-left:0}.workspace-strip{height:32px;padding:0 14px}.page{height:calc(100dvh - 143px)}.inbox-list{width:100%}.row-name{max-width:65vw}.contact-panel.is-open{top:143px}.chat-heading{padding:13px 10px;gap:7px;min-height:72px}.chat-title h2{font-size:14px}.chat-actions{gap:3px}.chat-actions button{padding:7px;font-size:10px}.chat-actions #transfer{font-size:0}.messages{padding:18px 13px}.message{font-size:12px;max-width:90%}.composer{margin:8px 10px 11px}.composer textarea{min-height:64px}.composer-tools{gap:2px}.composer-tools button{font-size:9px}.composer-tools small{display:none}.composer-tabs button{font-size:10px}.composer-tabs #quickPicker{font-size:9px}.standard-page{padding:23px 16px}.page-heading h1{font-size:24px}.metric{padding:17px}.metric strong{font-size:29px}.metric-top{font-size:10px}.report-filters{grid-template-columns:1fr 1fr;padding:16px;gap:12px}.permissions-guide>div{grid-template-columns:1fr;gap:15px}.team-cards{grid-template-columns:1fr}.attachment-draft audio{max-width:180px}.template-dialog{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Management quality review */
.quality-actions{display:flex;gap:8px}.quality-actions button{font-size:11px}.audit-principle{display:flex;align-items:center;gap:17px;background:#eef0ff;border:1px solid #dce1fe;border-radius:12px;padding:19px 23px;margin-bottom:22px}.audit-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#dddfff;color:#6352d3;flex-shrink:0}.audit-symbol .icon{width:23px;height:23px}.audit-principle strong{color:#384b79;font-size:13px}.audit-principle p{font-size:11px;color:#6a7b9d;line-height:1.7;margin-top:5px;max-width:820px}.quality-filters{display:grid;grid-template-columns:1.3fr 1.2fr 1.4fr 1fr 1fr;gap:14px;padding:18px 20px;margin-bottom:22px}.quality-filters label{font-size:10px;margin:0}.quality-filters input,.quality-filters select{font-size:11px;padding:9px;min-width:0}.quality-row{display:grid;grid-template-columns:1.2fr 1.3fr auto;align-items:center;gap:22px;padding:20px 0;border-top:1px solid var(--line)}.quality-person{display:flex;align-items:flex-start;gap:11px;min-width:0}.quality-person strong{display:block;font-size:13px;color:#334766;overflow-wrap:anywhere}.quality-person small{display:block;margin-top:6px;font-size:10px;color:#7889a3;line-height:1.5}.quality-signals{display:flex;flex-wrap:wrap;gap:7px}.quality-signals .pill{white-space:normal;font-size:10px;line-height:1.5}.quality-row-status{display:flex;align-items:flex-end;flex-direction:column;gap:10px}.quality-row-status small{color:#a16c26;font-size:10px}.quality-team{margin-top:22px}.quality-team-row{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:18px;padding:17px 0;border-top:1px solid var(--line);align-items:center;font-size:11px;color:#6d7e99}.quality-team-row strong{color:#3f567b;font-weight:600}.quality-team-row small{display:block;margin-top:4px;font-size:9px}.quality-team>p{margin-top:13px;font-size:10px}.quality-team .section-heading .muted{max-width:310px;text-align:right}#qualityAccess p{margin-top:14px;line-height:1.7;font-size:12px}.quality-dialog{width:min(1220px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 32px);padding:22px 24px;overflow:hidden}.quality-dialog>.dialog-heading{margin-bottom:18px}.quality-dialog>.dialog-heading .eyebrow{font-size:9px;margin-bottom:5px}.quality-review-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;height:calc(100dvh - 160px);min-height:250px}.audit-transcript{overflow:auto;border:1px solid #e1e8f4;background:#f6f8fd;border-radius:10px;padding:16px}.audit-transcript-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 0 17px}.audit-transcript-heading h3{font-size:13px;color:#425d86}.audit-transcript-heading .muted{font-size:9px}.quality-finding{border:1px solid #dce4f5;background:#eef3ff;border-radius:8px;padding:11px 12px;margin-bottom:9px;color:#556e9a;font-size:11px}.quality-finding.attention{background:#fff5dc;border-color:#f0dbaa;color:#916726}.quality-finding summary{cursor:pointer;font-size:11px;line-height:1.6;font-weight:600}.quality-finding p{font-size:11px;line-height:1.8;margin:8px 0}.quality-finding .text-button{font-size:10px}.audit-message{padding:13px 14px;background:white;border:1px solid #e0e6f1;border-radius:9px;margin-top:12px;scroll-margin:20px}.audit-message header{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin-bottom:10px;color:#8290a7}.audit-message header strong{color:#657897;font-size:11px}.audit-message>p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#536782}.audit-message>small{display:block;text-align:right;font-size:9px;color:#7890b0;margin-top:7px}.audit-message.audit-out{margin-left:18px;background:#f0f3fa}.audit-message.subject-message{background:#e8eeff;border-left:3px solid #5a7beb}.audit-message audio,.audit-message video{max-width:100%;width:280px}.audit-scorecard{overflow:auto;padding:0 12px 20px 2px}.audit-scorecard>label:first-child{margin-top:0}.audit-scorecard>p.muted{font-size:11px;margin-top:10px}.score-legend{background:#edf5f3;border-radius:8px;padding:13px 15px;margin:16px 0;color:#4b7d74;font-size:11px;line-height:1.8}.criterion-card{padding:16px;margin:17px 0;background:#fff}.criterion-card legend{font-size:12px;font-weight:650;color:#405985}.criterion-card>p{font-size:11px;color:#7b8ba4;line-height:1.7}.criterion-card label{font-size:11px;margin-top:12px}.criterion-card select{font-size:12px}.criterion-card textarea{font-size:12px;min-height:65px}.evidence-picker{margin-top:14px}.evidence-picker summary{font-size:11px;color:#456bcc;cursor:pointer}.evidence-picker label{display:flex;align-items:flex-start;gap:8px;padding:8px;background:#f7f9ff;border-radius:5px;font-size:10px;line-height:1.6}.evidence-picker input{width:13px;margin:2px 0;flex-shrink:0;accent-color:#446bea}.evidence-picker strong{display:block;color:#48608a}.evidence-picker span{color:#7a8da9;overflow-wrap:anywhere}.revision-note{border-left:3px solid #e4b054;background:#fff8e9;padding:12px;margin:18px 0;color:#8a703e;font-size:11px;line-height:1.8}.audit-save-actions{display:flex;gap:10px;justify-content:flex-end;position:sticky;bottom:0;background:#fff;padding:12px 0;border-top:1px solid var(--line)}.audit-save-actions button{font-size:12px}.quality-revisions{margin-top:20px;color:#5d7396;font-size:12px}.quality-revisions summary{cursor:pointer}.quality-history-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:11px;margin-top:10px;background:#f8faff;border:1px solid #e0e7f5;text-align:left}.quality-history-item strong{font-size:11px}.quality-history-item span{font-size:10px;color:#8494ab;margin-top:4px}.quality-history-dialog{width:700px;max-width:calc(100vw - 32px);max-height:90dvh}.quality-history-dialog p{font-size:12px;line-height:1.8;color:#6c7f9d;white-space:pre-wrap;margin:12px 0}.quality-history-dialog h3{font-size:13px;color:#3f5c88;margin-top:18px}.historical-criterion{border-top:1px solid var(--line);margin-top:16px;padding-top:3px}.historical-criterion blockquote{border-left:3px solid #7b95e7;background:#eff3fc;margin:10px 0;padding:12px;font-size:11px;color:#6a81a4;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.historical-criterion blockquote strong{font-size:10px;color:#4f6994}.quality-dialog:modal .dialog-heading{position:static}.app-header nav button[data-page=quality] .icon{color:#8673e6}.app-header nav button[data-page=quality].active .icon{color:white}
@media(max-width:1100px){.quality-filters{grid-template-columns:1fr 1fr 1fr}.quality-row{gap:14px;grid-template-columns:1.2fr 1.2fr auto}.quality-actions{flex-direction:column}.quality-dialog{padding:18px}.quality-review-layout{gap:15px}.quality-team-row{grid-template-columns:1fr 1fr;gap:10px}.chat-actions #auditCurrent{font-size:10px;padding:7px}}
@media(max-width:700px){.quality-filters{grid-template-columns:1fr 1fr;gap:11px}.quality-filters>label:first-child{grid-column:1/-1}.quality-row{grid-template-columns:1fr;gap:14px}.quality-row-status{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.quality-signals{padding-left:48px}.quality-team .section-heading{display:block}.quality-team .section-heading .muted{display:block;text-align:left;margin-top:9px}.audit-principle{padding:15px;align-items:flex-start}.audit-principle p{font-size:10px}.quality-dialog{max-height:96dvh;width:calc(100vw - 16px);padding:14px;overflow:auto}.quality-review-layout{display:flex;flex-direction:column;height:auto}.audit-transcript{max-height:40dvh;flex-shrink:0}.audit-scorecard{overflow:visible;padding:0}.quality-dialog .dialog-heading h2{font-size:17px}.audit-save-actions{bottom:-14px}.quality-team-row{font-size:10px}.chat-actions #auditCurrent{display:none}.quality-actions button{font-size:10px;padding:7px}.quality-filters label{font-size:10px}}

.quality-form-error{background:#fff0f1;border:1px solid #efbdc6;color:#a73651;padding:12px;border-radius:8px;font-size:12px;line-height:1.7;margin-top:17px}

/* Clinic journey */
.clinic-flow-head{display:flex;justify-content:space-between;align-items:center;margin:22px 0;background:linear-gradient(120deg,#eef2ff,#f0fdfa);border-color:#d2dbff}.clinic-flow-head h2{margin:12px 0 7px}.flow-steps{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flow-steps span{padding:12px;border-radius:12px;background:white;font-weight:650;font-size:12px;color:#4338ca}.flow-steps b{color:#818cf8}.clinic-flow-form{margin:20px 0}.clinic-flow-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px}.flow-phone{background:#e7f2ed;border-radius:22px;padding:15px;align-self:start;border:6px solid #fff;box-shadow:0 6px 30px #202b4920}.flow-phone-head{font-weight:700;padding:12px;color:#125c4e}.flow-phone-head span{display:block;font-size:11px;font-weight:400;margin-top:3px}.flow-bubble{background:white;white-space:pre-wrap;border-radius:3px 14px 14px;padding:16px;font-size:13px;line-height:1.7;box-shadow:0 2px 4px #1232}.flow-phone small{display:block;color:#60736b;font-size:10px;margin:12px}.flow-option{display:grid;grid-template-columns:42px minmax(140px,1fr) 35px;gap:8px;padding:14px 0;border-bottom:1px solid #e7eaf2}.flow-option .flow-dest{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.flow-option label{font-size:11px}.flow-option input,.flow-option select{width:100%;min-width:0}.flow-reminders{border-top:1px solid #e7eaf2;margin-top:24px;padding-top:24px}.toggle-label{display:flex;align-items:center;gap:9px;white-space:nowrap}.toggle-label input{width:auto;accent-color:#5b50ed}.form-columns{display:grid;grid-template-columns:1fr 1fr 120px;gap:16px}.specialty-pill{background:#f0e9ff!important;color:#7034a4!important;border:1px solid #dfccfb}.clinic-journal{margin-top:24px}.clinic-appointment{display:flex;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid #edf0f5}.clinic-appointment p{margin:6px 0;font-size:13px}.clinic-appointment small{color:#758094}.clinic-slot{color:#5345cc;font-weight:700;min-width:110px}.clinic-job{padding:14px 0;border-bottom:1px solid #edf0f5;display:flex;gap:15px;justify-content:space-between}.clinic-job p{margin:4px 0;font-size:13px}.clinic-contact-slot{padding:10px;border:1px solid #dcdaf2;border-radius:10px;margin-top:10px;font-size:12px;line-height:1.7}.clinic-flow-form textarea{width:100%}.clinic-flow-form .section-heading{margin:16px 0}.clinic-flow-form input,.clinic-flow-form select{min-height:37px}.clinic-flow-form label{display:flex;flex-direction:column;gap:5px}.clinic-flow-form label.toggle-label{flex-direction:row}.clinic-flow-form .muted{line-height:1.6}.clinic-flow-form.dirty{border-color:#a99df2}.flow-save-note{color:#6a51ad;font-size:12px}
@media(max-width:1050px){.clinic-flow-grid{grid-template-columns:1fr}.flow-phone{max-width:320px}.clinic-flow-head{display:block}.flow-option .flow-dest,.form-columns{grid-template-columns:1fr}.flow-steps{margin-top:18px}}
/* Recall and operational follow-up */
.recall-layout{display:grid;grid-template-columns:minmax(390px,1.3fr) minmax(290px,1fr);gap:24px;margin:24px 0}.recall-settings,.recall-guide,.usage-settings{padding:24px}.recall-settings>label,.usage-settings form>label{display:flex;flex-direction:column;gap:7px;margin:16px 0}.recall-rule{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--border,#e5e7eb)}.recall-rule>label:last-child{display:flex;align-items:center;gap:6px;white-space:nowrap}.recall-rule input[type=number]{width:76px}.recall-bubble{background:#e4f7ef;border:1px solid #b8e9d2;border-radius:18px 18px 18px 4px;padding:22px;line-height:1.8;color:#165a49;margin:20px 0}.recall-guide{align-self:start;background:linear-gradient(145deg,#fff,#f3f0ff)}.recall-guide li{margin-bottom:12px;line-height:1.5}.recall-note{border-left:4px solid #7c3aed;background:#f0ebff;padding:16px;margin-top:24px;border-radius:8px}.recall-preview{padding:20px}.recall-preview table{width:100%;border-collapse:collapse}.recall-preview th{text-align:left;font-size:12px;color:#64748b;padding:12px}.recall-preview td{padding:16px 12px;border-top:1px solid #e8ecf1;vertical-align:top}.recall-preview small{display:block;margin-top:6px;color:#64748b;max-width:260px}.recall-enable{padding:16px;background:#f5f1ff;border-radius:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.form-grid>label{display:flex;flex-direction:column;gap:8px}.usage-settings{margin-top:24px}.usage-estimate{font-size:26px;font-weight:700;color:#6d28d9}.table-scroll{overflow-x:auto}#recallTemplateCatalog{font-size:13px;margin-top:12px}#recallContent .metric:first-child{border-top:3px solid #7c3aed}#recallContent .metric:nth-child(2){border-top:3px solid #10b981}#recallContent .metric:nth-child(3){border-top:3px solid #0ea5e9}#recallContent .metric:nth-child(4){border-top:3px solid #f59e0b}#navigation{overflow-y:auto}#recallForm .inline-label{flex-direction:row}#operationsContent .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#operationsContent .clinic-job{gap:14px}#operationsContent .clinic-job>div:last-child{display:flex;flex-direction:column;gap:8px}
@media(max-width:1050px){.recall-layout,#operationsContent .dashboard-grid{grid-template-columns:1fr}.recall-rule{flex-wrap:wrap}}

/* Clinic workspace: brand blue, restrained surfaces, operational hierarchy. */
:root{font-family:'Segoe UI',Arial,sans-serif;--blue:#334a9b;--blue-dark:#263b80;--light:#edf0f8;--line:#e0e4ea;--muted:#657182;--shadow:none;color:#263346;background:#f6f7f9}
body{font-size:13px;color:#263346}button{border-radius:6px;font-weight:500;box-shadow:none}input,select,textarea{border-color:#ccd3de;border-radius:5px;color:#29374a;font-size:13px}input::placeholder,textarea::placeholder{color:#7b8695}label{color:#526074;font-size:12px}h1,h2,h3{color:#253448;letter-spacing:-.25px}button:hover{background:#edf1f7;border-color:#b8c3d5}.primary,.primary:hover{color:white;box-shadow:none;background:var(--blue);border-color:var(--blue)}.primary:hover{background:var(--blue-dark)}.muted{color:#657182}.eyebrow{display:none}.text-button{color:var(--blue)}.pill{border-radius:4px;font-size:11px}.pill.blue{background:#edf0f8;color:#334a9b}.pill.green{background:#e7f4ee;color:#237351}.pill.amber{background:#fbf0d9;color:#8a651c}.pill.red{background:#fbe9ec;color:#a53a4c}.tag,.tag:nth-child(n){border:1px solid #dbe2ed;background:#f1f4f9;color:#526789;border-radius:4px}.specialty-pill{background:#efedf7!important;color:#5c4d8c!important;border-color:#ded8ef!important}.avatar{background:#ecf0f8;color:#41599a}.status-dot,.wa-dot{background:#319276}
.app-header{height:72px;padding:0 25px;gap:22px;border-bottom:1px solid var(--line)}.brand img{width:138px}.header-tools{margin-left:auto}.account{margin-left:0}.account strong{font-size:12px;max-width:190px}.account small{font-size:10px;color:#6b7788}.availability-button{background:#f1f8f5!important;border-color:#d3e6dd!important;color:#39795d!important;border-radius:5px!important}.workspace-strip{height:42px;background:white;border-bottom:1px solid var(--line);padding:0 28px;color:#718095;font-size:11px}.workspace-strip strong{color:#56647a;font-weight:500}.workspace-strip .status-dot{display:none}.workspace-strip .divider{margin:0 5px}.workspace-strip button{font-size:11px}
.app-header #navigation{width:198px;top:72px;padding:16px 10px 12px;gap:3px;background:#fff;border-right:1px solid var(--line);overflow-y:auto;color:#53647e}.app-header #navigation:before{display:none}.nav-label{font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#8290a3;padding:14px 13px 8px}.app-header #navigation button{color:#596b84;font-size:12px;border-radius:5px;padding:10px 12px;min-height:39px;gap:11px;font-weight:400}.app-header #navigation button .icon{display:block;width:18px;height:18px;color:#8595ad}.app-header #navigation button:hover{background:#f5f7fa;color:#334a71}.app-header #navigation button.active{background:#edf1f8;box-shadow:inset 3px 0 #7185b6;color:#334d83;font-weight:600}.app-header #navigation button.active .icon{color:#5b73a5}.app-header #navigation .nav-count{background:#e8edf5;color:#546d98}.nav-footer{margin-top:auto;padding-top:20px}.app-header #navigation .nav-footer button{width:100%;border-top:1px solid var(--line);border-radius:0;padding-top:14px;padding-bottom:14px}.nav-footer>span{display:block;color:#8b97a9;font-size:9px;padding:12px;white-space:normal;line-height:1.5}#workspace{margin-left:198px}.page{height:calc(100dvh - 114px)}.standard-page{padding:28px 30px 48px;background:#f6f7f9}.page-heading{margin-bottom:23px;align-items:center}.page-heading h1{font-size:25px;font-weight:600;letter-spacing:-.6px;color:#24334b}.page-heading h2{font-size:20px;font-weight:600}.page-heading p.muted{font-size:13px;margin-top:7px}.page-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.page-actions button{white-space:nowrap;font-size:12px}.page-heading .pill{font-size:10px}.surface{border:1px solid var(--line);border-radius:7px;box-shadow:none;padding:22px}.surface .section-heading h2{font-size:15px;color:#293a54}.section-heading{gap:14px}.section-heading .muted{font-size:11px}
.metrics{gap:0;background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden;margin:0 0 23px}.metrics .metric,.metrics .metric:nth-child(n),#recallContent .metrics .metric:nth-child(n){background:#fff;border:0;border-right:1px solid var(--line);border-top:0;border-radius:0;box-shadow:none;padding:19px 22px}.metrics .metric:last-child{border-right:0}.metrics .metric strong,.metrics .metric:nth-child(n) strong{font-size:29px;font-weight:600;color:#2f467a;letter-spacing:-.6px;margin-top:11px}.metrics .metric-top{color:#59677b;font-size:12px;font-weight:500}.metrics .metric>small{color:#748094;font-size:10px;margin-top:4px}.metrics .metric:nth-child(n) .icon{color:#8293b2;background:none;padding:0;width:18px;height:18px}.attention-banner{border:1px solid #dfe5ee;border-left:3px solid #7084ac;border-radius:5px;background:#f0f3f8;padding:13px 17px;color:#42597c;margin-bottom:20px;box-shadow:none}.attention-banner strong{font-size:12px;font-weight:600}.attention-banner p{color:#65758d;font-size:11px;margin-top:3px}.attention-banner>.icon{width:20px;height:20px;color:#657ba2}.attention-banner button{background:#fff}.bar-item progress::-webkit-progress-value{background:#6b7faa}.bar-item:nth-child(n) progress::-webkit-progress-value{background:#6b7faa}.bar-item progress::-moz-progress-bar{background:#6b7faa}
.inbox-list{width:300px}.list-heading{padding:22px 18px 18px}.list-heading h1{font-size:20px;font-weight:600;color:#25354d}.list-heading p{color:#738095}.inbox-tabs{background:#f0f2f6;border-radius:5px}.inbox-tabs button.selected{background:white;color:var(--blue);box-shadow:0 1px 3px #253a6314}.inbox-tabs button.selected b{background:#e8edf7;color:var(--blue)}.conversation-row{border-bottom:1px solid #edf0f4;padding:18px 16px}.conversation-row.selected{background:#edf1f8}.conversation-row.selected:before{background:#677cb6;width:3px}.row-name{font-size:13px;color:#2d3c54}.row-preview{font-size:12px;color:#637286}.row-time,.row-bottom small{color:#778499}.filter-pair select,.advanced-filters select{background:#fff;color:#5c6c83;border-color:#e0e5ed}.inbox-tabs b{border-radius:3px}.unread-badge{background:#3c548f}.chat-heading{padding:17px 22px}.chat-title h2{font-size:16px;color:#273951}.chat-title>div{font-size:11px;color:#6e7e95}.chat-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px}.chat-actions button{border-radius:5px;font-size:11px}.conversation-context{background:#f8f9fb;color:#68778c;border-color:#e7ebf1}.history-search{background:#fff;padding:8px 20px}.history-search .search-field{background:#fafbfd;border-color:#e4e9f0}.history-search input{font-size:11px}.messages{background:#f2f4f7;background-image:none;padding:24px 28px;gap:14px}.message{border:1px solid #e0e5ed;background:#fff;color:#324259;box-shadow:none;border-radius:8px;font-size:13px;line-height:1.65}.message.out{background:#e9eef8;border:1px solid #dbe3f2;border-radius:8px;color:#304770}.message.note{background:#fcf5e3;border:1px solid #ecdfbc;border-radius:6px;color:#775f31}.message small{font-size:10px;color:#77859d}.composer{border:1px solid #dfe5ec;border-radius:7px;box-shadow:none;margin:12px 18px 16px;background:white}.composer textarea{font-size:13px;min-height:80px}.composer-tabs button{font-size:12px}.composer-tabs button.selected{background:#edf1f8;color:#3b538b}.composer-tools button{font-size:11px}.contact-panel{background:#fff;border-left:1px solid var(--line);width:265px}.profile .avatar{width:49px;height:49px;font-size:16px}.profile h3{font-size:14px}.contact-section h3,.aside-heading h3{color:#44566e;font-size:12px}.field-caption{font-size:9px;color:#7b8798;letter-spacing:.8px}.contact-panel .contact-section{border-color:#e7ebf1}.conversation-empty{background:#f7f8fa}.conversation-empty img{height:58px;opacity:.8;margin-bottom:22px}.conversation-empty h2{font-size:20px;font-weight:500;color:#405272}.conversation-empty p:not(.eyebrow){color:#718097;font-size:13px}
.quick-card,.rule-card,.task-row,.kanban-card,.team-card,.connection-card{border:1px solid var(--line);border-radius:6px;box-shadow:none;background:#fff}.quick-card{border-left:3px solid #8896b9}.quick-card h3,.rule-title h3{color:#324869}.rule-symbol{background:#eef1f7;color:#526990;border-radius:5px;width:34px;height:34px}.rule-card{padding:18px}.kanban-column,.kanban-column:nth-child(n){background:#edf0f4;border-top:3px solid #98a6bf;border-radius:6px}.kanban-column:nth-child(2){border-top-color:#948cb8}.kanban-column:nth-child(3){border-top-color:#b3a176}.kanban-column:nth-child(4),.kanban-column:nth-child(5){border-top-color:#7d9f94}.column-heading{background:transparent}.column-heading h2{color:#4d607d}.column-heading h2:before{display:none}.connection-card:nth-child(n){border-top:1px solid var(--line)}.channel-badge{border-radius:8px!important;background:#eef3f8!important;color:#587297!important}.audit-principle{background:#f0f3f8;border-color:#dfe5ef;border-radius:6px;padding:15px 18px}.audit-symbol{background:#e4eaf4;color:#5a7198;border-radius:5px;width:34px;height:34px}.audit-principle strong{color:#3d5374}.audit-principle p{color:#69798e}.quality-filters{border-radius:6px}.quality-row{padding:18px 0}.quality-signals .pill{font-size:11px}.quality-finding{background:#f0f3f8}.quality-dialog{border-radius:8px}.score-legend{background:#eef4f1;color:#517462}.flow-phone{background:#edf2ef;border:1px solid #dce5df;border-radius:8px;box-shadow:none}.flow-bubble{border-radius:6px;box-shadow:none;font-size:12px}.flow-phone-head{color:#497465}.clinic-slot{color:#405c94}.clinic-appointment,.clinic-job{border-bottom-color:#e6ebf1}.clinic-contact-slot{border-color:#dfe5ef;border-radius:5px}.recall-bubble{background:#f0f5f2;border-color:#d7e5db;color:#415f51;border-radius:6px;padding:18px;font-size:13px}.recall-note{background:#f3f5f8;border-left:3px solid #8d9fbe;border-radius:3px;padding:15px}.recall-guide{background:#fff}.recall-guide h3{margin-bottom:10px}.recall-guide ul{padding-left:18px;font-size:12px;color:#65758b}.recall-enable{background:#f0f3f8;border-radius:5px}.recall-preview th{background:#f8f9fb;font-size:11px;font-weight:600}.recall-preview td{font-size:12px;padding:15px 12px}.usage-estimate{font-size:23px;color:#3b5387;font-weight:600;margin:15px 0 10px}.usage-settings>p.muted{max-width:780px;font-size:12px}.recall-preview{padding:0}.recall-preview>.section-heading{padding:19px 22px 0}.recall-preview>.report-filters{padding:16px 22px}.table-scroll{border-radius:0 0 7px 7px}thead th{font-weight:600;background:#f8f9fb;color:#63738b}tbody tr:hover{background:#fafbfd}
.settings-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:30px;align-items:start}.settings-navigation{position:sticky;top:0;display:flex;flex-direction:column;gap:3px;border-right:1px solid #e0e5ed;padding-right:18px}.settings-navigation button{display:flex;align-items:flex-start;flex-direction:column;gap:4px;padding:14px 13px;text-align:left;border:1px solid transparent;background:transparent;border-radius:5px;color:#596c85;min-width:0}.settings-navigation button strong{font-size:12px;font-weight:600}.settings-navigation button small{font-size:11px;color:#7b8798;white-space:normal;line-height:1.4}.settings-navigation button:hover{background:#eef1f6}.settings-navigation button[aria-selected=true]{background:#e8edf7;border-color:#dae2f0;color:#314d88}.settings-navigation button[aria-selected=true] small{color:#667da4}.settings-body{min-width:0;max-width:1100px}.settings-section{background:transparent;padding:0;height:auto;overflow:visible}.settings-body .page-heading{padding:0 0 20px;border-bottom:1px solid #e0e5ed;margin-bottom:20px;align-items:flex-start}.settings-body .page-heading h2{font-size:19px;color:#2c3f5d}.settings-body .page-heading p.muted{font-size:12px;max-width:640px;line-height:1.6}.settings-body .page-heading button{font-size:11px;white-space:nowrap}.settings-body .page-heading .pill{align-self:center}.settings-body .clinic-flow-grid{grid-template-columns:minmax(0,1fr) 225px;gap:22px}.settings-body .clinic-flow-form{margin-top:0}.settings-body .surface{padding:23px}.settings-body .recall-layout{display:block;margin:0}.settings-body .recall-settings{margin-bottom:18px}.settings-body .recall-rule{padding:13px 0}.settings-body .recall-rule label{margin:0;font-size:12px}.settings-body .recall-rule input{margin-top:0}.settings-body .recall-rule input[type=checkbox]{width:14px;height:14px}.settings-body .recall-rule input[type=number]{width:70px}.settings-body .recall-rule>.inline-label{display:flex;align-items:center;gap:9px}.settings-body .form-grid{gap:20px}.settings-body .recall-guide{border:0;padding:18px 0}.settings-help{border-top:1px solid var(--line);padding:17px 0;margin-top:20px}.settings-help>summary{cursor:pointer;color:#536a8b;font-size:12px;font-weight:600}.settings-help>summary:focus-visible{outline:2px solid #6984ba;outline-offset:5px}.settings-help>.surface{border:0;background:transparent;padding:18px 0;box-shadow:none;margin:0}.settings-help .attention-banner{margin:15px 0 0}.settings-footnote{font-size:12px;color:#6e7d92;line-height:1.7;margin-top:18px}.settings-body #usageForm>.form-grid{margin-top:0}.settings-body .team-cards{grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:16px}.settings-body .team-card{margin:0}.settings-body .connection-grid{grid-template-columns:1fr;gap:13px;margin-bottom:20px}.settings-body .connection-card{padding:20px}.settings-body .connection-card .channel-badge{float:left;margin:0 18px 10px 0;width:39px;height:39px}.settings-body .connection-card h2{font-size:16px}.settings-body .connection-card>p{margin:7px 0 12px;font-size:12px}.settings-body .number-item{clear:both}.settings-body .clinic-integration{margin-top:20px}.settings-body .clinic-integration p{margin:10px 0}.settings-body .flow-steps{display:none}.settings-body .flow-option label{font-size:12px}.settings-body .flow-reminders{padding-top:20px;margin-top:22px}.settings-body .form-columns{grid-template-columns:1fr 1fr 85px}.settings-body .quick-grid{grid-template-columns:1fr}.settings-body .quick-card>p{font-size:13px;line-height:1.8}.settings-body .rule-list{margin-top:20px}.settings-body .rule-content p{font-size:12px}.settings-body .dialog-actions{border-top:1px solid var(--line);padding-top:18px}.settings-body .dirty{border-color:#a4b4d5}.settings-page> .page-heading{margin-bottom:30px}#settingsSaveHint{align-self:center}#recallSaveStatus{margin:14px 0;font-size:12px}.settings-body .inline-label{flex-direction:row!important;align-items:center}.settings-body .inline-label input{margin-top:0}.settings-body #usageForm>label{margin-bottom:20px}.settings-body [role=tabpanel]{min-width:0}.settings-body .flow-phone{margin-top:18px}.login-art{background:#263761;color:#fff}.login-art h1{color:white;font-size:34px}.login-art p{color:#c6d3e9}.login-form h2{font-size:24px}.login-form .primary{width:100%}
@media(min-width:1550px){.inbox-list{width:325px}.contact-panel{width:290px}.standard-page{padding-left:38px;padding-right:38px}.settings-layout{gap:38px}}
@media(max-width:1250px) and (min-width:701px){.app-header #navigation{width:176px}.app-header #navigation button{font-size:11px;padding:10px;gap:8px}#workspace{margin-left:176px}.nav-footer>span{font-size:8px}.inbox-list{width:275px}.standard-page{padding:25px}.contact-panel{display:none}.contact-panel.is-open{top:114px}.settings-layout{grid-template-columns:190px minmax(0,1fr);gap:22px}.settings-body .clinic-flow-grid{grid-template-columns:1fr}.settings-body .flow-phone{max-width:100%;margin:0}.settings-body .flow-option .flow-dest{grid-template-columns:1fr 1fr}.settings-body .form-columns{grid-template-columns:1fr 1fr}.settings-body .form-columns label:last-child{max-width:120px}.page-actions{justify-content:flex-end}.chat-heading{padding:15px}.chat-actions button{font-size:10px;padding:7px}}
@media(max-width:1000px) and (min-width:701px){.app-header #navigation{width:68px;padding:12px 7px}.app-header #navigation button{font-size:0;gap:0;justify-content:center;padding:12px}.app-header #navigation button .icon{width:20px;height:20px}.nav-label{font-size:0;padding:9px;border-bottom:1px solid var(--line);margin-bottom:4px}.nav-footer>span{display:none}#workspace{margin-left:68px}.metrics .metric{padding:17px}.metrics .metric-top{font-size:11px}.settings-layout{grid-template-columns:165px minmax(0,1fr);gap:18px}.settings-navigation{padding-right:12px}.settings-navigation button{padding:11px}.settings-navigation button small{font-size:10px}.settings-body .page-heading{flex-wrap:wrap}.recall-rule{flex-wrap:wrap}}
@media(max-width:700px){.app-header{height:115px;padding:12px 13px 0;gap:10px;flex-wrap:wrap;align-content:flex-start}.brand img{width:111px}.account{margin-left:0}.account strong{max-width:100px}.header-tools{margin-left:auto}.app-header #navigation{position:static;flex-direction:row;width:calc(100% + 26px);height:47px;padding:4px 8px;margin:5px -13px 0;gap:4px;flex:none;overflow-x:auto}.nav-label,.nav-footer>span{display:none}.app-header #navigation button{font-size:10px;min-height:33px;padding:7px 10px;gap:6px;margin:0;flex-shrink:0}.app-header #navigation button .icon{width:15px;height:15px}.nav-footer{display:contents}.app-header #navigation .nav-footer button{width:auto;padding:7px 10px;border:0;border-radius:5px}.workspace-strip{height:33px;padding:0 15px}.page{height:calc(100dvh - 148px)}#workspace{margin-left:0}.standard-page{padding:22px 16px 36px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.page-heading h1{font-size:23px}.page-heading p.muted{font-size:12px}.page-actions{width:100%;justify-content:flex-start}.metrics{grid-template-columns:1fr 1fr}.metrics .metric,.metrics .metric:nth-child(n){padding:15px;border-bottom:1px solid var(--line)}.metrics .metric:nth-child(even){border-right:0}.metrics .metric:nth-last-child(-n+2){border-bottom:0}.metrics .metric-top{font-size:11px}.metrics .metric strong,.metrics .metric:nth-child(n) strong{font-size:25px}.settings-layout{display:flex;flex-direction:column;gap:20px}.settings-navigation{position:static;flex-direction:row;overflow-x:auto;width:100%;border-right:0;border-bottom:1px solid var(--line);padding:0 0 8px;gap:6px}.settings-navigation button{flex-shrink:0;padding:10px 12px}.settings-navigation button strong{font-size:11px}.settings-navigation button small{display:none}.settings-body{width:100%}.settings-body .surface{padding:17px}.settings-body .page-heading h2{font-size:18px}.settings-body .clinic-flow-grid{grid-template-columns:1fr}.settings-body .form-grid,.settings-body .form-columns{grid-template-columns:1fr 1fr;gap:13px}.settings-body .flow-option .flow-dest{grid-template-columns:1fr}.settings-body .form-grid label{font-size:11px}.settings-body .recall-rule{gap:10px;flex-wrap:wrap}.settings-body .recall-rule label{font-size:11px}.settings-body .flow-phone{max-width:none}.settings-body .quick-card{padding:18px}.settings-body .team-cards{grid-template-columns:1fr}.settings-body .rule-card{flex-wrap:wrap}.settings-body .rule-content{min-width:170px}.inbox-list{width:100%}.contact-panel.is-open{top:148px}.messages{padding:18px 14px}.composer{margin:8px 10px 12px}.composer textarea{font-size:13px}.chat-heading{padding:12px}.chat-actions button{padding:6px}.chat-actions #auditCurrent{display:none}.chat-title h2{font-size:14px}.history-search{padding:8px 12px}.attention-banner{padding:12px 14px}.quality-actions{flex-direction:row}.audit-principle p{font-size:11px}.recall-preview>.section-heading{padding:16px 16px 0}.recall-preview>.report-filters{padding:14px 16px}.settings-body .settings-help>.surface{padding:16px 0}.settings-page>.page-heading{margin-bottom:20px}}

.inbox-filter-options{border-bottom:1px solid var(--line);padding:0 16px 10px;color:#65758d}.inbox-filter-options summary{cursor:pointer;font-size:11px;padding:8px 0;user-select:none}.inbox-filter-options summary .pill{font-size:10px;padding:1px 5px;margin-left:4px}.inbox-filter-options .filter-pair{margin-top:3px}.inbox-filter-options .unread-filter{padding:12px 0;margin:0;border:0;font-size:11px}.inbox-filter-options .advanced-filters{padding:0 0 4px;border:0}.inbox-filter-options .advanced-filters select{font-size:11px}.inbox-list .list-filters{border-bottom:0;padding-bottom:0}.inbox-filter-options summary:focus-visible{outline:2px solid #738ab7;outline-offset:2px}

.template-library-toolbar{display:flex;align-items:flex-end;gap:16px;margin-bottom:14px}.template-library-toolbar label{margin:0;flex:1}.template-library-toolbar button{margin-bottom:0;white-space:nowrap;font-size:11px}.template-library-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px;margin-top:20px}.template-drafts{display:flex;flex-direction:column;gap:7px}.template-drafts>button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:13px;border:1px solid var(--line);background:white;gap:7px}.template-drafts>button.selected{background:#eef2f9;border-color:#9eaecd}.template-drafts strong{font-size:12px;color:#3d5374}.template-drafts small{font-size:10px;color:#77879c}.template-drafts .pill{font-size:10px}.template-library-layout>article{align-self:start;min-width:0}.template-metadata{margin:19px 0}.template-metadata>div{margin:12px 0}.template-metadata dt{font-size:10px;color:#7a8698}.template-metadata dd{margin:5px 0;font-size:12px;overflow-wrap:anywhere}.library-message{background:#f1f5f3;border:1px solid #dde7e1;border-radius:6px;padding:18px;margin:20px 0;color:#405e50;line-height:1.8;font-size:13px}.library-message p{white-space:pre-wrap}.message-choices{display:flex;flex-direction:column;gap:6px;margin-top:12px}.message-choices span{display:block;text-align:center;border:1px solid #d6e3de;border-radius:4px;background:#fff;padding:8px;color:#417f70;font-size:12px}.template-fields{padding-left:19px;margin:14px 0}.template-fields li{padding:7px 0;font-size:11px}.template-fields small{display:block;color:#7a879a;margin-top:5px;overflow-wrap:anywhere;line-height:1.6}.template-library-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.template-library-actions button{font-size:11px}#libraryStatus{font-size:11px}.quick-picker-filters{display:flex;gap:9px;margin:16px 0}.quick-picker-filters input{flex:1;min-width:0}.quick-picker-filters select{width:180px}.quick-card>.pill{margin-bottom:9px}.settings-body #quickCategory{max-width:190px;font-size:11px}.settings-body #page-quick>.section-heading{flex-wrap:wrap}.settings-body #page-quick .page-actions{flex-wrap:wrap;justify-content:flex-end}.menu-format{margin:4px 0 12px!important}.flow-phone .message-choices{margin:12px 0}.flow-phone #flowChoiceHint{font-size:11px}.message .message-choices span{font-size:11px;padding:6px}.settings-body #setting-templates .surface{padding:19px}.settings-navigation button{padding-top:12px;padding-bottom:12px}
@media(max-width:1100px){.template-library-layout{grid-template-columns:1fr}.template-drafts{display:grid;grid-template-columns:1fr 1fr}.template-library-toolbar{flex-wrap:wrap}.template-library-toolbar label{min-width:130px}.template-library-toolbar button{width:100%}}@media(max-width:700px){.template-drafts{grid-template-columns:1fr}.quick-picker-filters{flex-direction:column}.quick-picker-filters select{width:100%}.settings-body #page-quick .page-actions{justify-content:flex-start}.settings-body .template-library-toolbar{padding:15px}.template-library-layout{gap:15px}}
/* Conversation template browser */
.template-dialog{width:min(1060px,calc(100vw - 40px));max-width:1060px;padding:0;border-radius:14px;max-height:calc(100dvh - 32px);overflow:hidden;color:#334155}
.template-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}
.template-heading{padding:24px 28px 18px;margin:0;align-items:flex-start;border-bottom:1px solid #e5e9ef}.template-heading h2{font-size:22px;color:#24384e;margin:7px 0}.template-heading p{font-size:12px;line-height:1.6}.template-heading>button{border:0;background:#f2f4f6;border-radius:50%;width:32px;height:32px;padding:0;font-size:22px;color:#68798b;flex-shrink:0}.template-brand{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#6b7d8f}
.template-catalog-notice{background:#f7f9fb;border-bottom:1px solid #e4e9ef;padding:12px 28px;display:flex;align-items:center;gap:16px;font-size:12px;color:#526478;line-height:1.6;min-height:48px}.template-catalog-notice span{flex:1}.template-catalog-notice button{white-space:nowrap;font-size:11px}
.template-controls{border:0;padding:0;margin:0;min-width:0;min-height:0;overflow:auto}.template-controls>.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
.template-browser{display:grid;grid-template-columns:360px minmax(0,1fr);height:min(560px,calc(100dvh - 280px));min-height:260px}.template-browser-list{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e4e9ef;background:#fafbfc}.template-search{padding:18px 18px 10px}.template-search label{font-size:11px;margin:0 0 7px;color:#53677d}.template-search input{margin:0;width:100%;font-size:12px;padding:10px 12px;background:white}.template-filter-row{display:flex;flex-direction:column;gap:7px;margin-top:10px}.template-filter-row select{width:100%;font-size:11px;padding:8px 10px;background:white}.template-search>p{font-size:10px;margin:12px 0 0}.template-choices{overflow:auto;min-height:0;padding:0 12px 16px;display:flex;flex-direction:column;gap:7px}.template-choice{width:100%;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;border:1px solid #e3e8ed;border-radius:8px;padding:14px;background:#fff;color:#40566c;flex-shrink:0;white-space:normal}.template-choice:hover{border-color:#94a9bc;background:#f5f8fb}.template-choice.selected{background:#edf4f8;border-color:#7e9caf;box-shadow:inset 3px 0 #507a90}.template-choice:focus-visible{outline:2px solid #507a90;outline-offset:1px}.template-choice-top{display:flex;justify-content:space-between;width:100%;gap:8px}.template-choice-top strong{font-size:12px;font-weight:650}.template-choice-top>span{font-size:18px;line-height:14px;color:#6e8496}.template-choice small{font-size:10px;color:#697d90}.template-choice-excerpt{font-size:11px;color:#607388;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.template-choice .pill{font-size:10px;padding:4px 7px}.template-list-empty{padding:24px 12px;font-size:12px;line-height:1.7;color:#66778a}.template-list-empty p{margin-top:8px}
.template-browser-detail{overflow:auto;min-width:0;padding:25px 28px 28px;background:white}.template-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.template-detail-heading .pill{font-size:10px}.template-detail-heading .muted{font-size:10px}.template-browser-detail h3{font-size:20px;line-height:1.4;color:#294257;margin:18px 0 8px}.template-browser-detail #templatePurpose{font-size:12px;line-height:1.7;color:#65788b}.template-message-preview{background:#f0f6f2;border:1px solid #dce8df;border-radius:10px;padding:20px;margin:22px 0 18px}.template-message-preview>.field-caption{font-size:9px;letter-spacing:1px;color:#54745f}.template-message-preview>p{font-size:14px;line-height:1.85;white-space:pre-wrap;color:#324d3e;margin-top:12px;overflow-wrap:anywhere}.template-message-preview .message-choices span{color:#346b51;font-size:12px}.template-parameters h4{font-size:12px;margin:20px 0 6px;color:#40576d}.template-parameters>p{font-size:11px;line-height:1.6;margin-bottom:14px}.template-parameters label{font-size:11px;margin-top:12px}.template-parameters input{font-size:12px;margin-top:6px}.template-availability{font-size:12px;line-height:1.7;color:#6c634e;border-left:2px solid #d9c794;padding-left:12px;margin:16px 0}.template-marketing{font-size:11px;line-height:1.7;color:#726a59;background:#faf8f2;padding:12px;border-radius:6px}.template-registration{margin-top:20px;font-size:10px;color:#718194}.template-registration summary{cursor:pointer}.template-registration p{margin-top:9px;overflow-wrap:anywhere}.template-empty{padding:65px 10px;text-align:center;color:#78899a}.template-empty-mark{font-size:28px;letter-spacing:-1px;color:#8b9d97}.template-empty p{font-size:12px;line-height:1.8;max-width:320px;margin:12px auto}.template-footer{padding:17px 24px;border-top:1px solid #e4e9ef;background:white;margin:0;gap:10px;display:flex;align-items:center;flex-wrap:wrap}.template-footer button{font-size:12px}.template-footer-spacer{flex:1}.template-dialog-error{background:#fff2f0;color:#a13f35;padding:12px 24px;font-size:12px;margin:0}.template-dialog [hidden]{display:none!important}.template-dialog button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:760px){.template-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.template-dialog form{max-height:calc(100dvh - 20px)}.template-heading{padding:18px}.template-heading h2{font-size:19px}.template-catalog-notice{padding:10px 18px;flex-wrap:wrap;gap:4px}.template-browser{height:auto;display:block;min-height:0}.template-controls{max-height:calc(100dvh - 265px)}.template-browser-list{border-right:0;border-bottom:1px solid #e4e9ef}.template-filter-row{flex-direction:row}.template-filter-row select{width:50%;min-width:0}.template-choices{max-height:190px;min-height:100px}.template-browser-detail{overflow:visible;padding:20px}.template-footer{padding:12px}.template-footer #templateManage{font-size:10px}.template-footer button{padding:9px}.template-empty{padding:20px 0}}
.service-queue-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 16px;border-bottom:1px solid #e6ebef;background:#fafcfc}.service-queue-summary button{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e1e8e8;border-radius:7px;text-align:left;background:#fff;color:#526777}.service-queue-summary strong{font-size:21px;color:#375d65;font-weight:650}.service-queue-summary span{font-size:10px;line-height:1.4}.service-queue-summary .needs-attention{border-color:#e7cf9b;background:#fffbf2}.service-queue-summary .needs-attention strong{color:#9d651b}.service-wait{display:block;font-size:10px;color:#537d71;padding-top:6px;line-height:1.6}.service-wait.late{color:#a26425}.service-row-result{display:block;margin-top:5px;color:#647a8d;font-size:10px}.service-resolution{background:#f1f7f4;border-bottom:1px solid #d9e7de;padding:14px 22px;color:#385c47}.service-resolution>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.service-resolution strong{font-size:12px}.service-resolution span{font-size:10px;color:#6d8275}.service-resolution p{font-size:12px;line-height:1.6;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.service-resolution .service-return{font-size:11px;font-weight:600}.service-close-dialog{width:min(620px,calc(100vw - 28px));padding:26px}.service-close-dialog .dialog-heading{align-items:flex-start}.service-close-dialog h2{font-size:22px;margin-top:8px}.service-close-dialog label{font-size:12px;color:#465e71}.service-close-dialog input,.service-close-dialog select,.service-close-dialog textarea{font-size:13px}.service-close-dialog fieldset{border:1px solid #dfe7e8;background:#f8fafb;border-radius:8px;padding:15px;margin:20px 0}.service-close-dialog legend{font-size:12px;font-weight:600;padding:0 7px;color:#496776}.service-close-hint{padding:12px 14px;background:#f8f6ee;border-left:3px solid #cab887;font-size:12px;line-height:1.7;color:#79663e;margin:18px 0}.service-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.service-form-pair input,.service-form-pair select{min-width:0;width:100%}.workflow-error{background:#fff1ef;color:#a43e36;padding:11px 13px;border-radius:6px;font-size:12px;line-height:1.6;margin-top:12px}.sync-offline{color:#a36625!important}.service-close-dialog [hidden],.service-resolution[hidden]{display:none!important}.inbox-filter-options .advanced-filters{flex-wrap:wrap}.inbox-filter-options .advanced-filters select{flex:1;min-width:105px}#transferDialog{width:min(550px,calc(100vw - 28px))}#transferDialog textarea{font-size:13px;line-height:1.7}#transferAvailability{font-size:11px;margin:9px 0;line-height:1.6}@media(max-width:700px){.service-form-pair{grid-template-columns:1fr}.service-resolution>div{align-items:flex-start;flex-direction:column;gap:5px}.service-close-dialog{padding:18px}.service-queue-summary{padding:10px 16px}}
.resolution-history-item{border-bottom:1px solid #e4e9ed;padding:13px 0}.resolution-history-item strong{font-size:11px;display:block;color:#526c75}.resolution-history-item small{font-size:10px;color:#7b8a97;display:block;margin-top:5px}.resolution-history-item p{font-size:11px;line-height:1.65;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.service-outcomes{margin:0 0 20px}.service-outcomes>p{font-size:10px;margin-top:14px;line-height:1.6}#serviceOutcomeStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#serviceOutcomeStats>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;background:#f7f9fa;border:1px solid #e6ecef;border-radius:7px}#serviceOutcomeStats span{font-size:11px;color:#627889}#serviceOutcomeStats strong{font-size:21px;color:#3c6270}@media(max-width:700px){#serviceOutcomeStats{grid-template-columns:1fr 1fr}.service-outcomes .section-heading{display:block}.service-outcomes .section-heading span{display:block;margin-top:8px}}
#closeContactPanel{display:none}.chat-title{min-width:0}.chat-title h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:701px) and (max-width:1450px){.contact-panel{display:none}.contact-panel.is-open{display:block;position:fixed;z-index:25;right:0;top:114px;bottom:0;width:300px;box-shadow:-12px 0 30px #20355320}.chat-heading{gap:10px}.chat-title{flex:1}.chat-actions{gap:6px}#closeContactPanel{display:inline-flex;margin-left:auto}.contact-panel .aside-heading{gap:7px}}
@media(max-width:700px){#closeContactPanel{display:inline-flex;margin-left:auto}.service-close-dialog .dialog-heading{position:sticky;top:-18px;background:#fff;padding:12px 0;z-index:2}.service-close-dialog .dialog-actions{position:sticky;bottom:-18px;background:white;padding:12px 0;z-index:2}}

/* Agenda and recall alongside the conversation. */
.context-open{margin-left:12px;font-size:12px!important;color:#475785!important;font-weight:600;white-space:nowrap}.patient-context-dialog{width:min(960px,94vw);max-width:960px;padding:24px;max-height:90vh}.patient-context-dialog .dialog-heading{align-items:flex-start}.patient-context-dialog .eyebrow{font-size:10px;letter-spacing:.12em;color:#788292;margin:0 0 8px}.patient-context-dialog h2{margin:0}.patient-context-dialog h3{font-size:15px;margin:0 0 14px}.patient-context-dialog .dialog-actions{border-top:1px solid #e4e8ef;padding-top:18px;margin-top:20px;flex-wrap:wrap}.patient-context-dialog .dialog-actions>span{flex:1;min-width:180px;font-size:11px}.patient-context-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.patient-context-section{margin-top:22px}.context-sync{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:14px 16px;background:#f4f6f9;border:1px solid #e1e6ed;border-radius:6px}.context-sync>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.context-sync small{width:100%;color:#64748b}.context-warning{background:#fff8e8;border-left:3px solid #c2a25b;padding:12px 14px;color:#725c2f;font-size:13px;line-height:1.6}.context-automation{display:flex;gap:24px;font-size:12px;border-bottom:1px solid #e4e8ef;padding:12px 0;color:#64748b}.patient-context-card{border:1px solid #e1e6ed;border-radius:6px;padding:16px;margin-bottom:12px;background:white}.context-card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.patient-context-card p{font-size:13px;line-height:1.5;margin:9px 0}.patient-context-card small,.context-timeline-item small{font-size:11px;line-height:1.6;color:#66758a}.patient-context-card button{font-size:12px;margin-top:10px}.context-reason{color:#86682e;background:#fbf7ec;padding:8px;border-radius:3px}.context-timeline-item{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #edf0f4;padding:12px 0;font-size:13px}.context-timeline-item p{margin:5px 0;color:#65748a}.context-timeline-item button{align-self:center;white-space:nowrap}.context-actions{display:flex;gap:8px}@media(max-width:700px){.patient-context-columns,.context-sync{grid-template-columns:1fr}.patient-context-dialog{padding:18px}.context-automation{flex-direction:column;gap:8px}.conversation-context{flex-wrap:wrap}.context-open{margin-left:0}}

/* Ação destrutiva (cancelar horário na clínica): contorno vermelho, não sólido. */
button.danger{color:#b42318;border-color:#f1b5ae;background:#fff}button.danger:hover{background:#fef3f2;border-color:#e58b80}
