:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#263246;background:#f5f6fa;font-size:14px;--ink:#17253d;--purple:#6658dc;--muted:#8590a2;--line:#e7eaf1}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid #dfe3ec;border-radius:8px;background:white;color:#3f4c61;padding:10px 14px;transition:.15s}button:hover{border-color:#8d80e9;background:#f7f5ff}button:disabled{opacity:.5;cursor:default}.primary{background:var(--purple);border-color:var(--purple);color:white}.primary:hover{background:#5648cc;color:white}input,textarea{width:100%;border:1px solid #dfe3ec;border-radius:8px;padding:10px 12px;background:white;color:#263246;outline:none}input:focus,textarea:focus{border-color:#8d80e9;box-shadow:0 0 0 3px #6658dc10}label{display:block;font-size:12px;font-weight:600;margin:15px 0 0}label input,label textarea{margin-top:7px;font-size:14px;font-weight:400}textarea{resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.8px;margin:6px 0 0}h2{font-size:18px}h3{font-size:15px}.muted{color:var(--muted);line-height:1.7}.small,small{font-size:12px}small{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2px;color:#939cac;font-weight:700;margin:0}.brandmark{display:inline-grid;place-items:center;width:38px;height:38px;background:#7768e8;border-radius:12px;color:white;font-size:24px;font-weight:750}.pill{display:inline-block;font-size:12px;background:#e9f5ee;color:#43866b;border-radius:20px;padding:6px 11px}.pill.warning{background:#fff1dd;color:#ad7a34}.pill.neutral{background:#eeedf7;color:#7769b3}[hidden]{display:none!important}#login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 25% 10%,#e7e3fc,transparent 60%),#f5f6fa}.login-card{background:white;width:440px;max-width:92vw;padding:42px;border:1px solid #eceaf5;border-radius:22px;box-shadow:0 18px 60px #2621490b}.login-card .brandmark{margin-bottom:28px}.login-card h1{font-size:26px;margin:12px 0}.login-card button{width:100%;margin:20px 0}.login-card small{font-size:11px}.error{color:#be4e59;min-height:16px}.sidebar{width:216px;background:#17253d;color:#d5dcec;position:fixed;inset:0 auto 0 0;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px;font-size:20px;font-weight:650}.brand small{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#8a99b2}.nav-caption{font-size:10px;letter-spacing:2px;color:#7e8ca4;margin:50px 12px 14px}.nav{text-align:left;background:transparent;border:0;color:#aebbd1;padding:14px;margin:3px 0}.nav:hover,.nav.active{background:#2b3655;color:white}.nav.active{box-shadow:inset 3px 0 #a497ff}.sidebar-bottom{margin-top:auto;display:flex;gap:10px;padding:20px 5px;font-size:12px;border-bottom:1px solid #334159}.sidebar-bottom small{display:block;font-size:10px;margin-top:6px;color:#7f8fa9}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#ece9ff;color:#7b6ac6;border-radius:11px;font-weight:650;flex-shrink:0}main{margin-left:216px;padding:32px 34px 16px;max-width:1900px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.top-right{display:flex;align-items:center;gap:18px;font-size:12px;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.metrics article{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 24px;display:grid;grid-template-columns:1fr auto;gap:8px}.metrics span{font-size:12px;color:#67768b}.metrics strong{grid-row:span 2;font-size:30px;font-weight:600;color:var(--ink)}.workspace{display:grid;grid-template-columns:250px minmax(300px,1fr) 238px;border:1px solid var(--line);background:white;border-radius:14px;overflow:hidden;min-height:620px}.section-title{font-size:14px;font-weight:650;display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.chat-list{padding:22px 12px;border-right:1px solid var(--line)}.chat-list .section-title{padding:0 8px}.chat-list input{background:#f7f8fb;font-size:11px;margin-bottom:18px}.chat-item{display:block;width:100%;border:0;text-align:left;padding:14px 12px;background:transparent;margin:3px 0;border-radius:9px}.chat-item.selected{background:#f0edfc}.chat-item .line{display:flex;align-items:center;gap:9px}.chat-item strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}.chat-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:9px;max-width:195px}.dot{width:6px;height:6px;border-radius:50%;background:#60a68b;margin-left:auto}.dot.human{background:#d7a757}.conversation{min-width:0;position:relative}.empty{display:grid;justify-content:center;align-content:center;text-align:center;height:100%;min-height:400px;color:#96a0b2}.empty span{font-size:42px;color:#c2bae8;margin-bottom:20px}.empty h2{font-size:16px;color:#6c788b}.chat-top{display:flex;justify-content:space-between;align-items:center;padding:19px 22px;border-bottom:1px solid var(--line);gap:8px}.chat-top h2{font-size:15px;margin:0 0 4px}.chat-top small{font-size:10px}.actions{display:flex;gap:6px}.actions button{font-size:11px;padding:8px 10px}#chatState{font-size:11px;color:#8a7d55;padding:10px 22px;background:#fcfaf5;min-height:35px}#messages{height:370px;overflow:auto;padding:22px;background:#fcfcfe;scroll-behavior:smooth}.message{margin-bottom:18px;max-width:88%;width:fit-content}.message.out{margin-left:auto}.message small{display:block;font-size:10px;margin-bottom:5px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e9eaf2;border-radius:0 12px 12px 12px;padding:12px 15px;font-size:13px;line-height:1.7;background:white}.out .bubble{background:#efecfb;border:0;border-radius:12px 0 12px 12px}.out.staff .bubble{background:#e7f3ef}.composer{padding:12px 20px 17px;border-top:1px solid var(--line)}.composer label{margin:0 0 8px;color:#7c889a;font-weight:400}.composer textarea{border:0;background:#f7f8fb;min-height:68px}.composer>div{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:8px}.composer small{font-size:10px}.composer button{padding:8px 13px;font-size:12px}.profile{padding:22px 18px;border-left:1px solid var(--line)}.profile input,.profile textarea{font-size:12px}.profile button{margin-top:18px;width:100%}.profile p{margin:18px 0 0;font-size:10px}.intro{margin:30px 0 24px}.intro p{font-size:13px}#roleGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.role-card{background:white;border:1px solid var(--line);border-radius:14px;padding:26px}.role-card .avatar{width:48px;height:48px;font-size:20px;margin-bottom:22px}.role-card h2{margin-bottom:10px}.role-card p{font-size:12px;min-height:60px;line-height:1.8;color:#7e8899;white-space:pre-wrap}.role-card button{width:100%;margin-top:16px}.system-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.system-grid article,.notice{background:white;padding:25px;border:1px solid var(--line);border-radius:14px}.notice{margin-top:25px}.notice p{font-size:13px}.system-grid strong{display:block;font-size:22px;margin:18px 0}.system-grid small{line-height:1.6}dialog{border:1px solid var(--line);border-radius:16px;width:520px;max-width:94vw;padding:28px;box-shadow:0 30px 80px #17253d30}dialog::backdrop{background:#17253d66}dialog button[type=submit]{margin-top:14px;width:100%}dialog .section-title button{padding:5px 9px;border:0}footer{font-size:10px;color:#a3aaba;letter-spacing:1px;display:flex;justify-content:space-between;padding-top:22px}#toast{position:fixed;top:20px;right:30px;background:#27364d;color:white;padding:14px 22px;box-shadow:0 6px 30px #0002;border-radius:10px;z-index:10;font-size:13px}@media(max-width:1250px){.profile{grid-column:1/-1;border-top:1px solid var(--line);border-left:0}.profile form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.profile label{margin:0}.profile button{height:40px;align-self:end}.workspace{grid-template-columns:235px minmax(300px,1fr)}}@media(max-width:800px){.sidebar{width:70px;padding:24px 8px}.brand{padding:0;justify-content:center}.brand>div,.nav-caption,.sidebar-bottom{display:none}.nav{font-size:0;text-align:center;padding:16px 0}.nav::first-letter{font-size:22px}main{margin-left:70px;padding:22px 16px}header{align-items:flex-start}.top-right{gap:0}#clock{display:none}.metrics{gap:8px}.metrics article{padding:14px;display:block}.metrics strong{display:block;margin:8px 0}.metrics small{display:none}.workspace{display:block}.chat-list{border-bottom:1px solid var(--line);border-right:0;max-height:210px;overflow:auto}.chat-list input{margin-bottom:6px}.profile form{grid-template-columns:1fr 1fr}#roleGrid,.system-grid{grid-template-columns:1fr}.chat-top{padding:15px 12px}.actions{flex-wrap:wrap}h1{font-size:23px}.eyebrow{font-size:8px}footer span{display:none}}/* Customer categories and notes */
.workspace{grid-template-columns:270px minmax(300px,1fr)}.category-tabs{display:flex;gap:4px;padding:4px;background:#f5f5fa;border-radius:9px;margin-bottom:14px}.category-tabs button{flex:1;border:0;background:transparent;padding:9px 3px;font-size:12px;color:#8791a2}.category-tabs button.active{background:white;color:#6658dc;box-shadow:0 2px 5px #2020400b;font-weight:650}.chat-item{padding:0;overflow:hidden}.card-open{display:block;width:100%;border:0;background:transparent;padding:14px 12px 8px;text-align:left}.card-open:hover{background:transparent}.card-note{display:block;text-align:left;width:calc(100% - 24px);margin:0 12px 12px;padding:8px 0 0;border:0;border-top:1px solid #e5e3f1;border-radius:0;background:transparent;color:#8a81a7;font-size:11px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:72px;overflow:auto}.card-note:hover{background:transparent;color:#6658dc}.list-empty{padding:18px 8px;text-align:center;font-size:12px}select{width:100%;margin-top:7px;border:1px solid #dfe3ec;border-radius:8px;padding:10px;font:inherit;background:white;color:#263246}@media(max-width:800px){.workspace{display:block}.chat-list{max-height:270px}}

.flow-columns{display:grid;grid-template-columns:1fr 2fr;gap:18px}.flow-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.flow-row{display:block;width:100%;text-align:left;margin:8px 0}#flow pre{white-space:pre-wrap;overflow-wrap:anywhere}#flow article{margin-bottom:18px}#targetEnabled{width:auto}@media(max-width:760px){.flow-columns,.flow-fields{grid-template-columns:1fr}}

.account-card{min-width:0}.account-card label{display:block;margin-top:14px}.account-card select,.account-card input{width:100%}.account-card small{display:block}.login-command{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;padding:10px;background:#f3f1ff;border-radius:8px}#accountSelect{max-width:230px}#accountCards{margin-bottom:20px}@media(max-width:760px){#accountSelect{max-width:150px}.top-right{flex-wrap:wrap}}

.top-right .pill{white-space:nowrap;flex-shrink:0}.account-card .primary{margin-top:12px}

.import-job{padding:12px 0;border-top:1px solid #e5e8f0}.import-job p{margin:6px 0;font-size:13px}#refreshAccounts{margin:12px 0}#importJobs{max-height:420px;overflow:auto}


.phone-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.phone-toggle{display:flex;align-items:center;gap:8px;margin:16px 0}.phone-toggle input{width:auto;margin:0}#phoneVerify input{width:100%;margin:10px 0}#accounts>h3{margin-top:24px}@media(max-width:760px){.phone-fields{grid-template-columns:1fr}}
#accountCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 24px;align-items:start}
#accountCards .account-card{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:12px 8px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:12px;background:white;min-width:0}
#accountCards [data-account-check]{grid-column:1;grid-row:1;margin:0;width:18px;height:18px}
#accountCards h3{grid-column:2;grid-row:1;margin:0;overflow-wrap:anywhere}
#accountCards .account-status{grid-column:3;grid-row:1;white-space:normal;text-align:center}
#accountCards .protocol-identity{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
#accountCards .account-activity{grid-column:1/-1;margin:0;font-size:12px}
#accountCards .account-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
#accountCards .account-actions button{padding:8px 12px;font-size:12px}
#accountCards .danger-button{color:#b54750;border-color:#efd5d8}
#accountCards .account-settings{grid-column:1/-1;font-size:12px;min-width:0}
#accountCards .account-settings summary{color:var(--muted);cursor:pointer}
#accountCards .account-settings[open]{background:#f7f8fb;padding:12px;border-radius:8px}
@media(max-width:1200px){#accountCards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#accountCards{grid-template-columns:minmax(0,1fr)}}

/* Compact management cards and reception controls */
#reception .intro h2{display:none}#reception>.notice{padding:18px;margin-bottom:16px}
.reception-add-row{display:flex;align-items:center;gap:10px;max-width:760px}.reception-add-row select{flex:1;min-width:0}.reception-add-row button{white-space:nowrap}#reception .reception-add-row+p{margin:10px 0 0;font-size:12px}
.reception-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.reception-heading h3{margin:0}
#receptionRows{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:12px}
.reception-card{display:flex;gap:14px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:10px;padding:13px 14px;min-width:0}.reception-card>div{min-width:0}.reception-card strong,.reception-card small{display:block;overflow-wrap:anywhere}.reception-card small{margin-top:5px}.reception-card select{width:132px;flex-shrink:0;padding:8px;font-size:12px}.reception-rules summary{cursor:pointer;color:var(--muted)}.reception-rules p{margin:12px 0 0}
#accountCards{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
#accountCards .account-card{position:relative;grid-template-columns:18px auto minmax(0,1fr) auto auto;gap:10px 7px;padding:14px}
#accountCards h3{grid-column:2;white-space:nowrap;max-width:85px;overflow:hidden;text-overflow:ellipsis}
#accountCards .protocol-identity{grid-column:3/5;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#accountCards .account-status{grid-column:5;grid-row:1;font-size:11px;padding:5px 7px}
#accountCards .account-activity{grid-column:1/4;grid-row:2;font-size:11px}
#accountCards .account-actions{grid-column:4;grid-row:2}#accountCards .account-actions button{padding:5px 7px;font-size:11px}
#accountCards .account-settings{grid-column:5;grid-row:2;justify-self:end}#accountCards .account-settings[open]{padding:0;background:none}
#accountCards .account-settings summary{list-style:none;border:1px solid var(--line);border-radius:6px;padding:2px 9px;font-size:20px;line-height:24px}#accountCards .account-settings summary::-webkit-details-marker{display:none}
#accountCards .account-menu{position:absolute;right:0;top:calc(100% - 5px);z-index:30;width:min(280px,100%);padding:16px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px #17253d24}
#accountCards .account-menu .danger-button{margin-top:12px}#accountCards .account-menu p{font-size:12px}
@media(max-width:650px){#accountCards,#receptionRows{grid-template-columns:minmax(0,1fr)}.reception-add-row{flex-wrap:wrap}.reception-add-row select{flex-basis:100%}.reception-card{gap:8px;padding:10px}.reception-card select{width:116px}#accountCards .account-card{padding:11px;gap:9px 5px}#accountCards .account-activity{font-size:10px}}

.reception-add-row{display:block;max-width:none}#receptionCandidate{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.reception-option{display:flex;align-items:center;gap:9px;margin:0;padding:10px 13px;border:1px solid var(--line);border-radius:9px;cursor:pointer;font-weight:400}.reception-option:has(input:checked){background:#f0edfc;border-color:#8d80e9}.reception-option input{width:16px;height:16px;margin:0}.reception-option span{overflow-wrap:anywhere}

.reception-toolbar{display:flex;gap:8px;flex-wrap:wrap}.reception-heading{flex-wrap:wrap}.reception-card>[data-reception-pick]{width:16px;height:16px;flex-shrink:0;margin:0}.reception-card>div:not(.reception-card-actions){flex:1}.reception-card .reception-card-actions{display:flex;flex-direction:column;gap:5px;flex-shrink:0}.reception-card-actions button{font-size:11px;padding:4px 8px;color:#9f5059}

.studio-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin:10px 0;background:white;border:1px solid var(--line);border-radius:10px}.studio-row>div:first-child{min-width:0}.studio-row p{margin:7px 0 0;overflow-wrap:anywhere}.studio-actions{display:flex;gap:8px;flex-wrap:wrap}.studio-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}#studioDialog{width:760px;max-width:94vw;max-height:90vh;overflow:auto}#studioDialog input[type=checkbox]{width:16px;margin-right:7px}#studioDialog fieldset{margin:16px 0;border:1px solid var(--line);border-radius:8px}#studioTestResult,#customerDocBody{white-space:pre-wrap;overflow-wrap:anywhere}#customerDocDialog{width:850px;max-width:94vw;max-height:90vh;overflow:auto}#studioCustomerList button{margin:6px}@media(max-width:650px){.studio-row{flex-wrap:wrap;padding:12px}.studio-fields{grid-template-columns:1fr}.studio-row select{max-width:100%!important}.studio-actions{width:100%}}

/* Workflow canvas */
.wf-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:12px 0 24px}.wf-heading h2{font-size:26px;letter-spacing:-.6px;margin:10px 0}.wf-heading p:last-child{color:#8390a5;font-size:13px;margin:0}.wf-heading button{white-space:nowrap}.wf-shell{border:1px solid #dfe3ef;border-radius:18px;overflow:hidden;background:#fafbfe;box-shadow:0 10px 40px #2a365308}.wf-topbar,.wf-bottom{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;gap:12px;background:#ffffffcf}.wf-topbar{border-bottom:1px solid #e8eaf2}.wf-topbar span,.wf-bottom{font-size:11px;color:#8390a5}.wf-bottom{border-top:1px solid #e8eaf2}.wf-canvas{position:relative;background-image:radial-gradient(#cfd5e5 .8px,transparent .8px);background-size:18px 18px;padding:38px 24px}.wf-nodes{position:relative;display:grid;grid-template-columns:1fr 1fr 1.28fr 1fr 1fr;grid-template-rows:auto auto auto;gap:36px 24px;align-items:center}.wf-node{position:relative;z-index:1;width:100%;min-width:0;padding:16px;text-align:left;background:#fff;border:1px solid #e0e4f0;border-radius:13px;box-shadow:0 4px 14px #22325508;cursor:pointer}.wf-node:hover,.wf-node.selected{transform:translateY(-2px);border-color:#8f80e8;background:#fff;box-shadow:0 8px 24px #6658dc18}.wf-node:focus-visible{outline:3px solid #b1a4ff;outline-offset:3px}.wf-entry{grid-column:1;grid-row:2}.wf-recognition{grid-column:2;grid-row:2}.wf-reception{grid-column:3;grid-row:1}.wf-persona{grid-column:3;grid-row:2}.wf-inspection{grid-column:4;grid-row:2}.wf-reply{grid-column:5;grid-row:2}.wf-patrol{grid-column:2;grid-row:1}.wf-human{grid-column:4;grid-row:3}.wf-node-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wf-node-head strong{font-size:14px}.wf-icon{display:grid;place-items:center;width:28px;height:28px;background:#efeaff;color:#7963d7;border-radius:8px;font-size:18px}.wf-entry .wf-icon,.wf-reply .wf-icon{color:#318b7b;background:#e5f5ef}.wf-human .wf-icon{color:#b88843;background:#fff2dc}.wf-badge{font-size:9px;color:#8791a3;margin-left:auto;white-space:nowrap}.wf-badge.bound{color:#298877}.wf-subtitle{display:block;margin:14px 0 8px;color:#64738b;font-size:11px}.wf-role-name{font-size:12px;color:#817594;overflow-wrap:anywhere}.wf-description{font-size:10px;line-height:1.8;color:#8b96a9;margin:10px 0 0}.wf-personas{display:grid;gap:6px}.wf-personas span{padding:7px 9px;border-radius:6px;background:#f6f4fc;color:#796c9b;font-size:11px;overflow-wrap:anywhere}#wfEdges{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#wfEdges path{fill:none;stroke:#aca4d3;stroke-width:1.5}#wfEdges circle{fill:#a096c7}#wfEdges .wf-dashed{stroke:#b4bece;stroke-dasharray:5 5}.wf-selection{padding:16px 4px;font-size:12px;color:#7b849a}.wf-health{font-size:12px;color:#76829a}#teamflow>details.notice{padding:18px 22px;margin-top:14px}#teamflow>details>summary{cursor:pointer;font-weight:600;color:#4e5d76}#teamflow>details>.notice{border:0;margin-top:16px;padding:0;box-shadow:none}#teamAssignments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#teamAssignments .notice{margin:0 0 12px;padding:16px}#studioRuns{max-height:220px;overflow:auto}
@media(min-width:1100px) and (max-width:1400px){.wf-canvas{padding:28px 16px}.wf-nodes{gap:28px 14px}.wf-node{padding:12px}.wf-badge{width:100%;margin:0}.wf-heading h2{font-size:24px}}
@media(max-width:1099px){.wf-nodes{grid-template-columns:1fr 1fr;gap:28px 18px}.wf-entry{grid-column:1/-1;grid-row:1}.wf-recognition{grid-column:1/-1;grid-row:2}.wf-reception{grid-column:1;grid-row:3}.wf-persona{grid-column:2;grid-row:3}.wf-inspection{grid-column:1/-1;grid-row:4}.wf-reply{grid-column:1/-1;grid-row:5}.wf-patrol{grid-column:1;grid-row:6}.wf-human{grid-column:2;grid-row:6}.wf-topbar,.wf-bottom{flex-wrap:wrap}.wf-node{padding:14px}.wf-canvas{padding:24px 16px}#teamAssignments{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.wf-heading{align-items:flex-start;flex-wrap:wrap}.wf-heading h2{font-size:20px}.wf-topbar,.wf-bottom{padding:14px}.wf-nodes{column-gap:12px}.wf-node{padding:10px}.wf-node-head{gap:5px}.wf-badge{width:100%;margin-left:0}.wf-icon{width:24px;height:24px}.wf-node-head strong{font-size:12px}.wf-personas span{padding:6px 4px;font-size:10px}#teamAssignments{grid-template-columns:1fr}}

.followup-board h3{margin:0 0 8px}.followup-filters{display:flex;gap:8px;margin-bottom:12px}.followup-filters .active{background:#eeeafa;color:#6658dc;border-color:#cfc6f0}.followup-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #edf0f5}.followup-row p{margin:6px 0 0;font-size:11px}.followup-row strong{overflow-wrap:anywhere}.followup-row button{white-space:nowrap}.followup-row>div{min-width:0}#followupHistory{max-height:220px;overflow:auto;overflow-wrap:anywhere}#followupDialog details{margin-top:18px}#followupError{color:#ac4957}@media(max-width:600px){.followup-board{padding:16px}.followup-row{align-items:flex-start;flex-wrap:wrap}.followup-filters{flex-wrap:wrap}}

#wfBindDialog{width:580px}#wfBindTitle{margin:0}.wf-bind-slots{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.wf-bind-slots button{font-size:12px;padding:8px 10px}.wf-bind-slots .active{background:#eee9ff;border-color:#ac9fea;color:#6552c4}.wf-bind-choices{display:grid;gap:8px;max-height:42vh;overflow:auto;padding:3px}.wf-bind-choice{display:flex;align-items:center;gap:12px;border:1px solid #e4e6f0;border-radius:10px;padding:14px;margin:0;cursor:pointer}.wf-bind-choice:has(input:checked){background:#f4f0ff;border-color:#a999ec}.wf-bind-choice input{width:16px;height:16px;margin:0;flex-shrink:0;accent-color:#7360d5}.wf-bind-choice small{display:block;margin-top:5px;overflow-wrap:anywhere}.wf-bind-choice strong{font-size:14px}.wf-bind-choice>div{min-width:0}

.wf-personas .wf-persona-choice{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 8px;background:#f5f1ff;border:1px solid #dcd3fa;text-align:left;min-width:0}.wf-personas .wf-persona-choice span{padding:0;background:none;min-width:0}.wf-personas .wf-persona-choice strong{font-size:11px;color:#654bc4;white-space:nowrap}.wf-personas .wf-persona-choice:hover{background:#eae2ff;border-color:#9d85e3}@media(max-width:600px){.wf-personas .wf-persona-choice{align-items:flex-start;flex-direction:column;gap:6px}}

/* Number monitoring cards: scoped checkbox size and separate action row. */
#receptionRows .reception-card{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px 12px;padding:16px;min-height:136px}
#receptionRows [data-listener-id]{width:16px;height:16px;margin:3px 0 0;padding:0;accent-color:#7360d5}
#receptionRows .reception-card>div:not(.reception-card-actions){grid-column:2;min-width:0}
#receptionRows .reception-card strong{font-size:14px;line-height:1.5;word-break:normal;overflow-wrap:break-word}
#receptionRows .reception-card small{font-size:11px;line-height:1.7;word-break:normal;overflow-wrap:break-word}
#receptionRows .reception-card .reception-card-actions{grid-column:2;display:flex;flex-direction:row;align-items:center;gap:7px;flex-wrap:wrap}
#receptionRows .reception-card-actions button{padding:7px 10px;color:#6552bb;white-space:nowrap}
#receptionRows .reception-card-actions .pill{padding:5px 9px;white-space:nowrap;font-size:11px}

/* Direct persona workflow: no reception branch. */
.wf-persona{grid-row:2}.wf-patrol{grid-row:1}.wf-nodes{align-items:center}@media(max-width:1099px){.wf-persona{grid-column:1/-1;grid-row:3}.wf-patrol{grid-column:1;grid-row:6}}
