.case-person{flex-wrap:wrap}.contact-sync{display:contents}.contact-sync[hidden]{display:none}.contact-sync-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:40px;width:auto;height:40px;padding:8px 10px;gap:6px;color:var(--brand-strong);background:var(--theme-surface,#fff);border:1px solid var(--border);border-radius:9px}.contact-sync-button:hover:not(:disabled){background:var(--brand-soft)}.contact-sync-button:focus-visible{outline:2px solid var(--brand-strong);outline-offset:3px}.contact-sync-button:disabled{opacity:.6;cursor:default}.contact-sync-label{white-space:nowrap;font-size:12px}.contact-sync-result{font-size:12px;line-height:1.6;color:var(--ink);max-width:100%;flex-basis:100%;overflow-wrap:anywhere}@media(max-width:720px){.contact-sync-button{min-width:44px;height:44px}.contact-sync-result{flex-basis:100%;max-width:100%}}.wa-thread-header:has(>.wa-contact-sync:not([hidden])){flex-wrap:wrap}.wa-thread-header .wa-contact-sync{display:flex;flex-basis:100%;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.wa-thread-header .wa-contact-sync[hidden]{display:none}.wa-thread-header .contact-sync-button{display:inline-flex;width:auto;min-height:40px;min-width:40px;height:40px;padding:8px 10px;gap:6px;border:1px solid var(--border);border-radius:8px;color:var(--brand-strong);background:var(--theme-surface,#fff)}@media(max-width:720px){.wa-thread-header .contact-sync-button{min-height:44px;height:44px}}#tasks{padding:24px;min-width:0;scroll-margin-top:16px}.tasks-heading,.task-detail-heading,.task-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.tasks-heading h2{margin:3px 0 8px;font-size:25px}.tasks-heading p,.task-detail-empty p{color:var(--muted);margin:0}.tasks-heading>button{flex-shrink:0}.task-filters{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 16px}.task-filters button{border-radius:20px}.task-filters .selected,.task-card.selected{border-color:var(--theme-accent,#5278da);background:var(--theme-hover,rgba(82,120,218,.09))}.tasks-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr);gap:24px;align-items:start}.task-list-section,.task-detail{min-width:0}.task-list,.task-linked,.task-steps{padding:0;list-style:none;margin:0}.task-list{display:grid;gap:10px}.task-card{width:100%;text-align:start;white-space:normal;display:flex;flex-direction:column;gap:8px;padding:15px;border:1px solid var(--border,#dbe2eb);border-radius:12px;background:var(--theme-surface,#fff);color:var(--text,#182236);font:inherit}.task-card strong,.task-detail h3{overflow-wrap:anywhere;line-height:1.5}.task-card strong{font-size:15px}.task-card-heading{width:100%;flex-wrap:wrap}.task-state{font-size:12px;line-height:1.6;padding:2px 8px;border-radius:8px;background:var(--theme-hover,rgba(107,122,151,.12));color:var(--text,#182236);white-space:normal;display:inline-block}.task-state[data-state=completed],.task-state[data-state=no-action]{background:#1ca16921}.task-state[data-state=uncertain],.task-state[data-state=blocked],.task-state[data-state=awaiting-approval]{background:#d2942c29}.task-state[data-state=running]{background:#4174db29}.task-date,.task-card small,.task-footnote,.task-list-count,.task-linked>li>span{color:var(--muted);font-size:12px;line-height:1.7}.task-list-count{margin:0 0 10px}.task-detail{border-inline-start:1px solid var(--border,#dbe2eb);padding-inline-start:24px}.task-detail h3{font-size:20px;margin:4px 0 12px}.task-detail h3:focus-visible{outline:2px solid var(--theme-accent,#5278da);outline-offset:4px}.task-detail-heading>button{flex-shrink:0}.task-current{margin:10px 0 20px}.task-current p{font-size:15px;line-height:1.7;margin:10px 0}.task-current small{color:var(--muted)}.task-facts,.task-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.task-facts dt,.task-metrics dt,.task-source dt{font-size:12px;color:var(--muted);margin-bottom:6px}.task-facts dd,.task-metrics dd,.task-source dd{margin:0;overflow-wrap:anywhere;font-size:14px}.task-facts dd small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.task-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.task-footnote{margin:12px 0;overflow-wrap:anywhere}.task-section{border-top:1px solid var(--border,#dbe2eb);padding:20px 0 0;margin-top:20px}.task-section h4{font-size:15px;margin:0 0 14px}.task-section p{line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.task-section .task-footnote{font-size:12px}.task-questions{padding-inline-start:24px}.task-questions li{margin-bottom:16px;padding-inline-start:2px;overflow-wrap:anywhere}.task-questions li>div{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}.task-questions strong,.task-steps strong{font-size:14px;font-weight:600}.task-questions p{margin:7px 0}.task-questions small{color:var(--muted);font-size:12px}.task-steps{display:grid;gap:16px}.task-steps>li{display:flex;gap:10px;align-items:baseline}.task-step-marker{color:var(--theme-accent,#5278da);flex-shrink:0}.task-steps small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.task-linked>li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.task-linked button{white-space:normal;text-align:start}.task-linked small{color:var(--muted)}.task-detail details summary{cursor:pointer;color:var(--muted);font-size:13px;padding:10px 0}.task-source{margin-top:18px;border-top:1px solid var(--border,#dbe2eb);padding-top:10px}.task-source dd{margin-bottom:10px}.task-metrics dd{font-weight:600}.task-usage{overflow-wrap:anywhere}.task-warning,.task-notice{border-radius:10px;padding:12px 15px;line-height:1.8;font-size:13px;margin:14px 0;overflow-wrap:anywhere}.task-warning{border:1px solid rgba(199,144,43,.4);background:#c7902b17}.task-warning p{margin:4px 0 10px}.task-warning button{margin-inline-end:8px;margin-top:5px}.task-notice{background:var(--theme-hover,rgba(65,116,219,.08))}.task-detail-empty{padding:60px 20px;text-align:center;color:var(--muted)}.task-detail-empty>span{font-size:32px}.task-detail-empty h3{font-size:17px;color:var(--text)}.tasks-empty{padding:30px 10px;text-align:center}.tasks-empty h3{font-size:16px}.tasks-empty p{font-size:13px;color:var(--muted)}@media(max-width:1000px){.tasks-layout{grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:16px}.task-detail{padding-inline-start:16px}.task-facts{grid-template-columns:1fr}.task-facts>div{display:grid;grid-template-columns:100px 1fr;gap:8px}}@media(max-width:700px){#tasks{padding:16px}.tasks-heading{align-items:center}.tasks-heading h2{font-size:22px}.tasks-heading p{font-size:12px;line-height:1.7}.tasks-heading>button{max-width:105px;white-space:normal;font-size:12px}.task-filters{gap:6px;margin-top:18px}.task-filters button{font-size:12px;padding:8px 10px}.tasks-layout{display:flex;flex-direction:column;gap:20px}.task-list-section,.task-detail{width:100%}.has-detail .task-detail{order:-1}.task-detail{border-inline-start:0;border-bottom:1px solid var(--border,#dbe2eb);padding:0 0 24px}.task-detail-empty{display:none}.task-detail h3{font-size:18px;scroll-margin-top:16px}.task-metrics{gap:10px}.task-metrics dd{font-size:13px}.task-controls button{font-size:12px}.task-usage{font-size:12px!important}}.task-instructions{margin:0}.task-prompt summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-prompt summary strong{color:var(--text);font-size:14px}.task-prompt-expand,.task-prompt-collapse{color:var(--theme-accent,#5278da);font-weight:600}.task-prompt:not([open]) .task-prompt-collapse,.task-prompt[open] .task-prompt-expand{display:none}.task-prompt pre{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid var(--border,#dbe2eb);border-radius:10px;background:var(--theme-surface,#fff);font-size:12px;line-height:1.8;margin:12px 0}.task-prompt summary:focus-visible,.task-prompt pre:focus-visible{outline:2px solid var(--theme-accent,#5278da);outline-offset:4px}.task-workspace{min-width:0;outline-offset:4px}.task-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-workspace .case-agent-updates{min-width:0}.task-workspace .activity{overflow-wrap:anywhere}.task-workspace .activity-entry{max-width:100%}.task-workspace .assignment,.task-workspace .proposal{min-width:0;overflow-wrap:anywhere}.task-instruction{display:grid;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid var(--border);min-width:0}.task-instruction label{display:grid;gap:8px;font-weight:600}.task-instruction textarea{box-sizing:border-box;width:100%;min-height:110px;resize:vertical;font-size:16px;line-height:1.7}.task-instruction button{justify-self:start;white-space:normal;min-height:44px}.task-instruction small{color:var(--muted);line-height:1.7}.task-workspace>button{margin-bottom:12px}.task-warning [data-task-recipient]{white-space:normal;min-height:44px}.improvement-panel{padding:20px;margin-bottom:20px;color:var(--ink)}.improvement-heading,.improvement-section-heading,.improvement-plan>summary,.improvement-run-state{display:flex;align-items:center;justify-content:space-between;gap:12px}.improvement-heading{align-items:flex-start;margin-bottom:18px}.improvement-heading h3{font-size:20px;margin:0 0 7px}.improvement-heading p{font-size:13px;color:var(--muted);margin:0;max-width:580px}.improvement-heading>button{flex-shrink:0}.improvement-run-state{justify-content:flex-start;font-size:13px;margin:0 0 12px}.improvement-run .task-state,.improvement-plan .task-state{font-size:12px;padding:3px 8px;border-radius:8px;background:var(--theme-hover,var(--surface-soft));font-weight:400}.improvement-counts{list-style:none;display:flex;flex-wrap:wrap;gap:7px 18px;padding:0;margin:12px 0;font-size:12px;color:var(--muted)}.improvement-counts strong{color:var(--ink);margin-inline-start:5px}.improvement-panel details>summary{cursor:pointer;font-size:13px;line-height:1.7}.improvement-run>details>summary,.improvement-system-details>summary{color:var(--muted);padding:8px 0}.improvement-findings article{border-bottom:1px solid var(--border);padding:10px 0}.improvement-findings p,.improvement-run li{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.improvement-plans{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.improvement-section-heading{margin-bottom:12px}.improvement-section-heading h4{font-size:15px;margin:0}.improvement-section-heading>span{font-size:12px;color:var(--muted)}.improvement-plan{border:1px solid var(--border);border-radius:10px;margin:10px 0;overflow:hidden}.improvement-plan>summary{padding:13px 15px;flex-wrap:wrap}.improvement-plan>summary strong{font-size:14px;overflow-wrap:anywhere}.improvement-plan-body{padding:0 15px 15px}.improvement-plan-body p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.improvement-plan-body>details{border-top:1px solid var(--border);margin-top:15px;padding-top:10px}.improvement-plan-body>details>summary{color:var(--muted)}.improvement-decision{margin:16px 0}.improvement-decision h5{font-size:13px;margin:0}.improvement-decision p{margin:6px 0 12px}.improvement-actions{display:flex;flex-wrap:wrap;gap:8px}.improvement-plan pre{max-height:24rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:var(--surface-soft);border-radius:8px;font-size:12px}.improvement-system-details{border-top:1px solid var(--border);padding-top:6px;margin-top:12px}.improvement-system-details p,.improvement-empty{font-size:13px;color:var(--muted)}.improvement-warning,.improvement-notice{font-size:13px;line-height:1.8;border-radius:8px;padding:10px 12px;margin:12px 0;overflow-wrap:anywhere}.improvement-warning{background:var(--theme-warning-bg,var(--surface-soft));color:var(--theme-warning,var(--ink))}.improvement-notice{background:var(--surface-soft)}.improvement-task-link{margin-top:16px}.task-views{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:16px;margin-bottom:24px}.task-views .selected{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}.engineering-schedule{background:var(--surface-soft);padding:16px;border-radius:10px;margin-top:14px}.engineering-schedule input{display:block;max-width:100%;margin-top:10px;direction:ltr}.engineering-schedule button{margin-inline-end:8px}.engineering-legacy{margin-top:18px}@media(max-width:700px){.improvement-panel{padding:16px}.improvement-heading{flex-direction:column;gap:14px}.improvement-heading>button{width:100%}.improvement-heading h3{font-size:18px}.improvement-section-heading{align-items:flex-start;flex-wrap:wrap}.improvement-plan>summary{align-items:flex-start;gap:8px}.improvement-actions button{min-height:42px}}.contact-treatments{margin-block:1rem;padding:1rem;border:1px solid var(--border, #3b4452);border-radius:14px}.treatment-heading,.treatment-card>summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.treatment-heading h3,.treatment-heading p{margin:0 0 .4rem}.treatment-list{display:grid;gap:.6rem;margin-block:.8rem;max-height:55vh;overflow:auto;scrollbar-gutter:stable}.treatment-card{border:1px solid var(--border, #3b4452);border-radius:10px}.treatment-card>summary{cursor:pointer;padding:.8rem;list-style:none}.treatment-card>summary:before{content:"‹";font-size:1.4rem}.treatment-card[open]>summary:before{content:"⌄"}.treatment-card>summary span{flex:1}.treatment-card time,.treatment-body small{font-size:.8rem;color:var(--muted, #aab5c4)}.treatment-body{border-top:1px solid var(--border, #3b4452);padding:.8rem;overflow-wrap:anywhere}.treatment-body p{margin:0 0 .5rem;white-space:pre-wrap}.treatment-body small{display:block;margin-block:.4rem}.treatment-conflict{border-inline-start:3px solid #d49a3d;padding-inline:.6rem}@media(max-width:600px){.treatment-heading,.treatment-card>summary{align-items:flex-start;flex-wrap:wrap}.contact-treatments{padding:.65rem}}.treatment-history>summary{cursor:pointer;list-style:none;padding-block:.7rem}.treatment-history>summary:before{content:"‹";font-size:1.3rem}.treatment-history[open]>summary:before{content:"⌄"}.treatment-history>summary h3{flex:1;margin:0}.case-clarifications{padding:18px;margin:0 0 18px;border:1px solid var(--warning-border,#e2bd56);border-inline-start:4px solid var(--warning,#dba923);border-radius:16px;background:var(--warning-soft,#fff8df);color:var(--ink,#273347);overflow-wrap:anywhere}.case-clarifications>header{display:flex;gap:12px;align-items:flex-start}.case-clarifications>header>span{display:grid;place-items:center;flex:none;border-radius:50%;width:28px;height:28px;background:var(--warning,#e2b538);color:var(--theme-on-brand,#fff);font-weight:700}.case-clarifications h4{font-size:16px;margin:0 0 5px}.case-clarifications header p,.case-clarifications small{font-size:12px;color:var(--muted);margin:0}.case-clarifications ul{padding-inline-start:22px;line-height:1.7}.clarification-question{border-top:1px solid var(--warning-border,#e2bd56);padding-top:14px;margin-top:14px}.clarification-question>strong{display:block;white-space:pre-wrap;line-height:1.7;font-size:14px}.clarification-question form{display:grid;gap:10px;margin-top:12px}.clarification-question label{display:grid;gap:7px;font-size:13px}.clarification-question textarea{box-sizing:border-box;width:100%;min-height:84px;resize:vertical;background:var(--theme-surface,#fff);color:var(--ink);border:1px solid var(--warning-border,#e2bd56);border-radius:10px;padding:10px;font:inherit}.clarification-question button.primary{justify-self:start}.case-clarifications details{margin-top:15px;font-size:13px}.case-clarifications summary{cursor:pointer;color:var(--warning-ink,#73510e)}.case-clarifications h5{font-size:13px;margin-bottom:5px}.case-clarifications .text-button{display:block;margin-top:8px}.clarification-question textarea:focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media(max-width:600px){.case-clarifications{padding:14px}.clarification-question button.primary{width:100%;justify-self:stretch}}.case-clarifications .text-button{background:transparent;color:var(--brand-strong,#1c68ad);border:0;padding:5px 0;box-shadow:none;text-align:start}.decision-card:has(.decision-question){background:var(--warning-soft,#fff8df);border-color:var(--warning-border,#e2bd56)}.decision-question{white-space:pre-wrap}.clarification-number{font-variant-numeric:tabular-nums;color:var(--warning-ink,#73510e)}.clarification-batch{border-top:1px solid var(--warning-border,#e2bd56);margin-top:16px;padding-top:16px;display:grid;gap:10px}.clarification-batch label{display:grid;gap:8px;font-size:14px}.clarification-batch textarea{box-sizing:border-box;width:100%;min-height:110px;padding:12px;border-radius:10px;border:1px solid var(--warning-border,#e2bd56);background:var(--theme-surface,#fff);color:var(--ink);font:inherit;resize:vertical}.clarification-batch .primary{justify-self:start}.case-decision-dock{flex:0 1 auto;min-height:0;max-height:min(38vh,360px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding:12px}.case-decision-dock:empty{display:none}.case-decision-dock>.case-clarifications{margin:8px 12px 0;padding:14px}@media(max-width:1100px){.case-decision-dock{max-height:none;overflow:visible}}.no-progress-warning{display:flex;gap:12px;align-items:flex-start;margin:0 0 14px;padding:14px 16px;border:1px solid var(--warning-border,#e2bd56);border-inline-start:4px solid var(--warning,#dba923);border-radius:14px;background:var(--warning-soft,#fff8df);color:var(--ink,#273347);overflow-wrap:anywhere}.no-progress-warning>span{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--warning,#e2b538);color:var(--theme-on-brand,#fff);font-weight:700}.no-progress-warning h4{margin:0 0 4px;font-size:15px}.no-progress-warning p{margin:0 0 4px;line-height:1.6}.no-progress-warning small{display:block;font-size:12px;color:var(--muted)}.no-progress-codes bdi{unicode-bidi:isolate}.no-progress-dialog{direction:rtl;width:min(480px,calc(100vw - 32px));box-sizing:border-box;border:1px solid var(--theme-border,#d7dfeb);border-radius:18px;padding:24px;background:var(--theme-surface,#fff);color:var(--theme-text,#34435e);box-shadow:0 16px 64px var(--theme-shadow,#25334d33)}.no-progress-dialog::backdrop{background:var(--theme-overlay,#18284066)}.no-progress-dialog h2{margin:0 0 14px;font-size:1.2rem}.no-progress-dialog p{line-height:1.65}.no-progress-dialog .muted{font-size:.85rem;color:var(--theme-muted,#65738b)}.no-progress-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}@media(max-width:600px){.no-progress-warning{padding:12px}.no-progress-actions button{flex:1 1 auto}}.operator-attention{margin:18px 0 24px;padding:20px;border:1px solid var(--theme-border,#cbdde8);border-radius:18px;background:linear-gradient(135deg,var(--theme-surface,#f7fbff),var(--theme-surface,#fff))}.operator-attention>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.operator-attention h2{margin:4px 0;font-size:21px}.operator-attention header p{color:var(--theme-muted,#65748a);margin:5px 0 16px}.attention-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:14px}.decision-card{border:1px solid var(--theme-border,#dde5ef);background:var(--theme-surface,#fff);border-radius:13px;padding:17px;min-width:0}.decision-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.decision-kind{display:block;font-size:12px;color:var(--theme-accent,#466783);margin-top:8px}.decision-question{white-space:pre-wrap;line-height:1.65;overflow-wrap:anywhere}.decision-card label{display:block;font-size:13px;font-weight:600;margin-top:12px}.decision-card textarea{display:block;width:100%;box-sizing:border-box;min-height:90px;resize:vertical;margin:7px 0 10px;border:1px solid var(--theme-border,#c6d4e3);border-radius:9px;padding:11px;font:inherit;line-height:1.6}.decision-card small{display:block;color:var(--theme-muted,#65748a);margin-top:8px;line-height:1.5}.attention-pending{background:var(--theme-warning-bg,#fff6e7);border:1px solid var(--theme-border,#f0dab2);border-radius:11px;padding:15px;margin:8px 0 16px}.attention-pending article{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:6px 0}.attention-settled{color:var(--theme-muted,#53677b);font-size:13px;margin:12px 0 16px}.attention-settled p{line-height:1.6}.attention-settled summary{cursor:pointer}.decision-card button:focus-visible,.operator-attention textarea:focus-visible{outline:3px solid var(--theme-border,#8abde7);outline-offset:3px}@media(max-width:600px){.operator-attention{padding:13px;margin:12px 0}.operator-attention>header{gap:8px}.decision-card{padding:13px}.decision-heading{align-items:flex-start}}.decision-context{display:grid;gap:14px;margin-top:14px}.decision-context h3{font-size:13px;font-weight:600;margin:0 0 4px;color:var(--theme-muted,#65748a)}.decision-context p{margin:0;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}.decision-context ul{margin:5px 0 0;padding-inline-start:20px;line-height:1.6;overflow-wrap:anywhere}.decision-last-message{padding-top:12px;border-top:1px solid var(--theme-border,#dde5ef)}.decision-context details{font-size:13px;line-height:1.6}.decision-context summary{cursor:pointer;color:var(--theme-accent,#466783)}.decision-context details p{margin-top:8px}.decision-blockers{color:var(--theme-muted,#65748a)}.monitoring-mark{display:inline-grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:1px solid var(--theme-border,#d7dfeb);border-radius:10px;color:var(--theme-muted,#8391a5);background:var(--theme-surface,#f7f9fc);font-size:21px;margin-inline-start:7px}.monitoring-mark.on{color:var(--theme-accent,#6570ba);background:var(--theme-agent-bg,#f0edff);border-color:var(--theme-border,#d7d1f2)}.monitoring-inline{padding:18px;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#d8dce8);border-radius:14px;max-width:100%;min-width:0}.monitoring-inline header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.monitoring-inline h3{font-size:17px;margin:0}.monitoring-inline header p{font-size:12px;color:var(--muted)}.monitoring-inline header>button{min-width:38px;min-height:38px;padding:4px;font-size:23px}.monitoring-owner{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--theme-border,#eef0f5);font-size:13px}.monitoring-owner>div{display:flex;flex-wrap:wrap;gap:6px}.monitoring-owner button{font-size:12px;min-height:38px}.monitoring-inline form{display:grid;gap:12px}.monitoring-inline .monitoring-toggle{display:flex;align-items:center;gap:9px;font-size:14px}.monitoring-inline .monitoring-toggle input{width:19px;height:19px;margin:0;accent-color:var(--theme-agent,#7b67c8)}.monitoring-inline textarea{display:block;width:100%;min-height:80px;margin-top:7px;font-size:15px;resize:vertical}.monitoring-inline-foot{display:flex;gap:16px;justify-content:space-between;align-items:center}.monitoring-inline-foot p{color:var(--muted);font-size:12px;max-width:640px;line-height:1.7}.monitoring-inline-foot button{white-space:nowrap;min-height:44px}.monitoring-inline>small,.monitoring-inline-status{font-size:11px;color:var(--muted);margin-top:10px}.monitoring-inline-findings{margin-top:12px;border-top:1px solid var(--theme-border,#edf0f5);padding-top:10px}.monitoring-inline-findings summary{cursor:pointer;font-size:13px}.monitoring-inline-findings article{padding:10px 0;border-bottom:1px solid var(--theme-border,#edf0f5)}.monitoring-inline-findings article p{font-size:13px;white-space:pre-wrap}.monitoring-controls-row>td{padding:10px!important}.human-popover [data-monitoring-inline]{margin-bottom:5px}@media(max-width:720px){.monitoring-inline{padding:13px}.monitoring-inline h3{font-size:16px}.monitoring-owner{display:block}.monitoring-owner>div{margin-top:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.monitoring-owner button{padding:8px 5px;min-height:44px;font-size:11px}.monitoring-inline-foot{display:block}.monitoring-inline-foot button{width:100%;margin-top:10px}.monitoring-inline textarea{font-size:16px}.monitoring-inline .monitoring-toggle{min-height:44px}.monitoring-controls-row{display:block!important}.monitoring-controls-row>td{display:block!important;width:100%!important}}.server-resources{margin:0 0 18px;direction:rtl}.resource-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:9px;color:var(--text,var(--theme-text,#334155));font-weight:700}.resource-heading small{font-size:12px;color:var(--theme-muted,#64748b);font-weight:400}.resource-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.resource-card{display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:center;text-align:right;border:1px solid var(--theme-border,#dce4ed);background:var(--theme-surface,#fff);border-radius:14px;padding:12px 16px;min-height:98px;box-shadow:0 2px 8px var(--theme-shadow,#20365004);cursor:pointer}.resource-card:hover{border-color:var(--theme-accent,#2c80c5);background:var(--theme-surface,#f8fbff)}.resource-card:focus-visible,.resources-dialog button:focus-visible,.resource-scrubber input:focus-visible{outline:3px solid var(--theme-accent,#2c80c5);outline-offset:3px}.resource-card>span:first-child{font-weight:700;font-size:14px}.resource-card small{font-size:12px;font-weight:400;color:var(--theme-muted,#64748b)}.resource-card strong{font-size:24px;font-variant-numeric:tabular-nums;direction:ltr}.resource-card>small{font-size:12px;min-height:17px}.resource-meter{grid-column:1/-1;display:block;height:4px;background:var(--theme-raised,#eaf0f6);border-radius:4px;overflow:hidden}.resource-meter i{display:block;background:var(--theme-accent-solid,#277cbe);height:100%;border-radius:4px;max-width:100%}.resource-chart-link{font-size:12px;color:var(--theme-accent,#2475b3);white-space:nowrap}.resources-dialog{direction:rtl;width:min(900px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--theme-border,#d8e2ed);border-radius:20px;color:var(--theme-text,#334155);background:var(--theme-surface,#fff);overflow:auto;box-shadow:0 24px 80px var(--theme-shadow,#14223840)}.resources-dialog::backdrop{background:var(--theme-overlay,#14223880)}.resources-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.resources-dialog h2{font-size:21px;margin:0 0 5px}.resources-dialog p{font-size:13px;color:var(--theme-muted,#64748b);margin:0}.resource-close{width:44px;min-height:44px;font-size:26px;background:var(--theme-surface,#f1f5f9);border:0;border-radius:10px;color:var(--theme-text,#334155);cursor:pointer}.resource-choices{display:flex;justify-content:space-between;gap:12px;margin:22px 0 16px}.resource-choices>div{display:flex;padding:4px;background:var(--theme-surface,#f1f5f9);border-radius:12px}.resource-choices button{min-width:64px;min-height:40px;padding:8px 14px;border:0;background:transparent;border-radius:8px;color:var(--theme-text,#475569);cursor:pointer}.resource-choices button[aria-pressed=true]{background:var(--theme-surface,#fff);box-shadow:0 1px 5px var(--theme-shadow,#14223818);color:var(--theme-accent,#236da8);font-weight:700}.resource-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:var(--theme-surface,#f7faff);padding:16px;border-radius:12px;font-size:13px;color:var(--theme-muted,#64748b)}.resource-summary strong{display:block;font-size:24px;color:var(--theme-accent,#25394f);margin-top:4px;font-variant-numeric:tabular-nums}.resources-dialog .resource-data-status{min-height:20px;margin-top:12px}.resource-chart{display:block;width:100%;height:auto;min-height:140px;direction:ltr;overflow:visible}.resource-chart text{font-family:inherit;font-size:13px;fill:var(--theme-muted,#64748b)}.resource-grid{stroke:var(--theme-border,#e4eaf1);stroke-width:1}.resource-line{fill:none;stroke:var(--theme-accent,#287ebd);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.resource-point{fill:var(--theme-accent,#287ebd)}.resource-scrubber{display:grid;gap:6px;font-size:13px;color:var(--theme-text,#475569)}.resource-scrubber output{min-height:22px;font-weight:700;direction:rtl}.resource-scrubber label{display:grid;gap:4px}.resource-scrubber input{width:100%;height:36px;direction:ltr;accent-color:var(--theme-accent,#287ebd)}.resources-dialog .resource-history-note{margin-top:16px;padding-top:12px;border-top:1px solid var(--theme-border,#edf1f5);line-height:1.6}@media(max-width:600px){.resource-heading{justify-content:space-between;gap:6px;font-size:13px}.resource-heading small{font-size:10px}.resource-cards{gap:8px}.resource-card{padding:10px;gap:5px 6px;border-radius:12px}.resource-card strong{font-size:22px}.resource-card>small{grid-column:1/-1;font-size:11px}.resource-chart-link{grid-column:1/-1;font-size:11px}.resources-dialog{padding:16px;border-radius:16px}.resources-dialog h2{font-size:18px}.resource-choices{gap:8px;margin-top:18px}.resource-choices button{min-width:52px;padding:7px 10px}.resource-summary{padding:12px;gap:8px}.resource-summary strong{font-size:22px}.resource-chart{min-height:155px}}@media(max-width:600px){.resource-chart text{font-size:26px}}.queue-diagnostics{max-width:1260px;margin:auto;padding-bottom:24px}.queue-diagnostics[hidden]{display:none}.diag-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 14px}.diag-heading h2{font-size:30px;margin:4px 0}.diag-heading p,.diag-section-head p{margin:4px 0;color:var(--theme-text,#65746d)}.diag-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.diag-tools label{display:flex;gap:6px;align-items:center;font-size:12px}.diag-tools button,.diag-filters button,[data-diag-more]{padding:9px 14px;border:1px solid var(--theme-border,#ccdad1);border-radius:10px;background:var(--theme-surface,white);color:var(--theme-success,#21583e);cursor:pointer}.diag-freshness{font-size:12px;color:var(--theme-text,#537062);margin-bottom:18px;padding:10px 14px;background:var(--theme-raised,#edf5ef);border-radius:10px}.diag-stale{background:var(--theme-warning-bg,#fff0dc);color:var(--theme-warning,#86531d)}.diag-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}.diag-metrics .diag-metric{background:var(--theme-surface,white);border:1px solid var(--theme-border,#e0e8e2);border-radius:14px;padding:17px 15px;display:flex;flex-direction:column;gap:7px}.diag-metrics span{font-weight:600;font-size:13px}.diag-metrics strong{font-size:30px;color:var(--theme-success,#235c3f)}.diag-metrics small{color:var(--theme-muted,#718078);font-size:11px}.diag-metrics .diag-metric.diag-metric-warning{background:var(--theme-surface,#fffbf3);border-color:var(--theme-border,#edcda0)}.diag-metric-warning strong{color:var(--theme-warning,#9a561d)}.diag-section{margin-bottom:18px;padding:20px}.diag-section-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:16px}.diag-section h3{margin:0;font-size:18px}.diag-section-head>span{font-size:12px;color:var(--theme-muted,#708276)}.diag-entry{border:1px solid var(--theme-border,#e2e8e3);border-radius:11px;padding:12px 15px;margin:8px 0;border-inline-start:3px solid var(--theme-border,#b8cabb);background:var(--theme-surface,white);overflow-wrap:anywhere}.diag-error{border-inline-start-color:var(--theme-danger,#c3554c)}.diag-warning{border-inline-start-color:var(--theme-warning,#ca8e36)}.diag-entry-main{display:flex;align-items:start;gap:12px}.diag-entry-main>div{flex:1;min-width:0}.diag-entry h4{font-size:14px;margin:0 0 5px}.diag-entry-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--theme-muted,#758078)}.diag-entry p{font-size:12px;color:var(--theme-text,#617469);margin:9px 0 1px}.diag-level{background:var(--theme-raised,#edf3ee);color:var(--theme-text,#4d6c58);font-size:10px;padding:3px 7px;border-radius:6px;white-space:nowrap}.diag-error .diag-level{background:var(--theme-surface,#fbedeb);color:var(--theme-danger,#a34b43)}.diag-warning .diag-level{background:var(--theme-warning-bg,#fff3dc);color:var(--theme-warning,#93601c)}.diag-case{color:var(--theme-success,#246d49);border:0;background:var(--theme-raised,#edf6ef);padding:7px 10px;font-size:11px;border-radius:8px;cursor:pointer;white-space:nowrap}.diag-entry details{font-size:11px;color:var(--theme-muted,#6e7c74);margin:10px 0 0;padding-inline-start:44px}.diag-entry summary,.diag-waiting>summary,.diag-coverage>summary{cursor:pointer}.diag-entry dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:6px;margin:12px 0 3px}.diag-entry dd{margin:0;color:var(--theme-text,#304f3d);font-family:monospace;overflow-wrap:anywhere}.diag-entry dt{color:var(--theme-muted,#7a867e)}.diag-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:var(--theme-surface,#f5f8f5);border-radius:11px;padding:14px;margin:16px 0}.diag-filters label{font-size:11px;display:flex;flex-direction:column;gap:6px}.diag-filters select,.diag-filters input{padding:9px;border:1px solid var(--theme-border,#d3ded5);border-radius:7px;background:var(--theme-surface,white);font:inherit;font-size:12px;min-width:130px}.diag-filter-case{flex:1}.diag-filter-error{color:var(--theme-danger,#a34b43);font-size:12px}.diag-empty{padding:24px;text-align:center;color:var(--theme-text,#607866);font-size:13px;background:var(--theme-surface,#f6f9f6);border-radius:10px}.diag-waiting>summary,.diag-coverage>summary{font-size:14px;font-weight:600}.diag-waiting>p,.diag-coverage p{font-size:12px;color:var(--theme-muted,#687c6e);line-height:1.7}.diag-coverage ul{padding:0;list-style:none}.diag-coverage li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;padding:9px 0;border-bottom:1px solid var(--theme-border,#edf1ec)}.diag-source-ready{color:var(--theme-success,#3b7b55)}.diag-source-missing{color:var(--theme-warning,#a16228)}.diag-coverage code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:11px}.diag-coverage h4{font-size:13px}.queue-diagnostics button:focus-visible,.queue-diagnostics summary:focus-visible,.queue-diagnostics input:focus-visible,.queue-diagnostics select:focus-visible{outline:2px solid var(--theme-border,#35805a);outline-offset:3px}@media(max-width:900px){.diag-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.diag-heading{align-items:start;flex-direction:column}}@media(max-width:560px){.diag-heading h2{font-size:25px}.diag-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.diag-metrics .diag-metric{padding:12px}.diag-metrics .diag-metric:last-child{grid-column:1/-1}.diag-section{padding:13px}.diag-entry{padding:11px}.diag-entry-main{flex-wrap:wrap;gap:8px}.diag-entry-main>div{flex-basis:calc(100% - 62px)}.diag-case{margin-inline-start:44px}.diag-entry details{padding-inline-start:0}.diag-filters{gap:10px;padding:11px}.diag-filters label{width:calc(50% - 5px)}.diag-filters .diag-filter-case{width:100%;flex-basis:100%}.diag-filters select,.diag-filters input{min-width:0;width:100%;box-sizing:border-box}.diag-tools{width:100%;justify-content:space-between}.diag-entry dl{grid-template-columns:65px minmax(0,1fr)}}.diag-tools label{white-space:nowrap;flex-direction:row}.diag-tools input[type=checkbox]{width:16px;min-width:16px;flex:0 0 auto;margin:0}.diag-pipeline{display:flex;gap:12px 20px;flex-wrap:wrap;margin:0 0 20px;padding:12px 16px;background:var(--theme-raised,#f0f5f1);border-radius:10px;font-size:11px;color:var(--theme-text,#617566)}.diag-pipeline b{font-weight:600;color:var(--theme-text,#395744)}.diag-current-scope{font-size:12px;color:var(--theme-muted,#6c7c71);margin:-4px 0 14px}.diag-case{max-width:190px;white-space:normal;overflow-wrap:anywhere}.diag-metrics .diag-metric{font:inherit;text-align:start;color:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s}.diag-metric:hover{border-color:var(--theme-success,#7fae91);box-shadow:0 2px 8px #0000000f}.diag-metric em{font-style:normal;font-size:11px;color:var(--theme-success,#246d49);margin-top:2px}.diag-metric-warning em{color:var(--theme-warning,#93601c)}.diag-flash{animation:diag-flash 1.6s ease-out}@keyframes diag-flash{0%{box-shadow:0 0 0 3px var(--theme-warning,#ca8e36)}to{box-shadow:0 0 0 0 transparent}}@media(prefers-reduced-motion:reduce){.diag-flash{animation:none}}.diag-section h3:focus{outline:none}.diag-section h3:focus-visible{outline:2px solid var(--theme-border,#35805a);outline-offset:3px}.diag-group+.diag-group{margin-top:18px}.diag-group-title{font-size:14px;margin:0 0 2px;display:flex;gap:8px;align-items:center}.diag-group-title b{font-size:11px;background:var(--theme-raised,#edf3ee);border-radius:999px;padding:2px 8px}.diag-group-hint{font-size:12px;color:var(--theme-muted,#6c7c71);margin:0 0 6px}.diag-guide{display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px 10px;margin:10px 0 0;font-size:12px;line-height:1.6}.diag-guide dt{font-weight:600;color:var(--theme-text,#395744)}.diag-entry .diag-guide dd{margin:0;color:var(--theme-text,#4f6458);font-family:inherit;overflow-wrap:break-word}.diag-go{color:var(--theme-warning,#86531d);border:1px solid var(--theme-warning,#ca8e36);background:var(--theme-warning-bg,#fff3dc);padding:7px 10px;font-size:11px;border-radius:8px;cursor:pointer;max-width:190px;white-space:normal}.diag-no-case{font-size:11px;color:var(--theme-muted,#758078);background:var(--theme-raised,#f1f4f2);padding:6px 9px;border-radius:8px;max-width:190px}.control-buttons button.diag-control-target{outline:3px solid var(--theme-warning,#ca8e36);outline-offset:2px}@media(max-width:560px){.diag-go,.diag-no-case{margin-inline-start:44px}.diag-guide{grid-template-columns:1fr;gap:2px}.diag-guide dd{margin-bottom:6px}}.wa-settings-card{overflow:visible;position:relative}.wa-settings-card .codex-card-top{border-radius:20px 20px 0 0;background:linear-gradient(110deg,var(--theme-raised,#eaf6f1),var(--theme-surface,#fff) 70%);padding-block:22px}.wa-settings-mark{flex:none;width:48px;height:48px;border-radius:15px;display:grid;place-items:center;color:var(--theme-success,#247b61);background:var(--theme-success-bg,#e0f1e9);font-size:30px}.wa-settings-content{padding-block:20px 16px}.wa-settings-lanes{display:grid;gap:16px}.wa-settings-lane{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 20px;font-size:14px}.wa-settings-lane>span:first-child{color:var(--theme-muted,#657286)}.wa-settings-meta{font-size:12px;color:var(--theme-muted,#748092);margin:14px 0 0}.wa-settings-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px}.wa-settings-controls button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.wa-settings-check-result{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap;margin-top:12px;color:var(--theme-muted,#67778b);font-size:12px}.wa-settings-check-result p{margin:0;min-height:1.5em}.wa-settings-check-result>span{margin-inline-start:auto;white-space:nowrap}.wa-settings-help{margin-inline-start:auto}.wa-settings-help button{min-width:44px;min-height:44px;padding:8px;background:transparent;border-color:transparent;font-size:23px;color:var(--theme-muted,#718391)}.wa-settings-help [role=tooltip]{position:absolute;z-index:20;inset-inline:20px;top:82px;max-height:min(60dvh,420px);overflow:auto;padding:18px 20px;border:1px solid var(--theme-border,#d3e3df);border-radius:14px;color:var(--theme-text,#46586a);background:var(--theme-surface,#fff);box-shadow:0 12px 35px var(--theme-shadow,#223e5030);white-space:pre-line;font-size:13px;line-height:1.8;font-weight:400}.wa-settings-image img{width:min(100%,280px);height:auto;display:block;margin:18px auto}.wa-settings-spinner{border:2px solid currentColor;border-inline-end-color:transparent;width:14px;height:14px;border-radius:50%;animation:wa-settings-spin .8s linear infinite}@keyframes wa-settings-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.wa-settings-spinner{animation:none}}@media(max-width:600px){.wa-settings-card .codex-card-top{padding:18px 16px;gap:10px}.wa-settings-card .codex-card-top h3{font-size:20px}.wa-settings-lane{align-items:flex-start;gap:6px}.wa-settings-lane .codex-state{font-size:13px}.wa-settings-controls button{flex:1 1 auto;font-size:13px}.wa-settings-help [role=tooltip]{inset-inline:10px;padding:14px;top:76px}}.wa-settings-description{color:var(--theme-muted,#657286);font-size:13px;line-height:1.8;margin:18px 0 0}.wa-key-status{padding:12px 14px;margin-top:16px;background:var(--theme-raised,#f2f5f7);border-radius:12px;font-size:13px;line-height:1.6}.wa-key-status-label{font-weight:650}.wa-key-status p{margin:4px 0 0;color:var(--theme-muted,#657286)}.wa-key-status.warning{background:var(--theme-warning-bg,#fff2d9);color:var(--theme-warning,#795000)}.wa-key-status.warning p{color:inherit}.wa-key-status.ready{color:var(--theme-success,#247b61)}.wa-key-status button{margin-top:8px;min-height:36px}.wa-key-status-host{padding:0 12px}.wa-key-status-host .wa-key-status{margin:0 0 10px}.wa-settings-controls .wa-device-disconnect{background:var(--theme-danger-bg,#fff0f1);color:var(--theme-danger,#b62835);border-color:currentColor}.wa-device-disconnect svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none}.settings-heading{margin:28px 0 24px}.settings-heading h2{margin:8px 0;font-size:28px}.settings-heading p,.codex-card-top p{color:var(--theme-muted,#7b8497);margin:6px 0 0}.codex-card{max-width:860px;overflow:hidden}.codex-card-top{padding:26px 30px;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--theme-border,#e8ebf1);background:linear-gradient(110deg,var(--theme-surface,#f2f4fc),var(--theme-surface,#fff) 65%)}.codex-card-top h3{margin:0;font-size:22px}.codex-mark{width:52px;height:52px;background:var(--theme-accent-bg,#e9e8fb);border-radius:16px;display:grid;place-items:center;font-size:32px;color:var(--theme-agent,#6255aa)}.codex-host{margin-inline-start:auto;padding:7px 12px;border-radius:20px;background:var(--theme-surface,white);color:var(--theme-muted,#6d6684);font-size:13px;border:1px solid var(--theme-border,#e5e1ef)}.codex-content{padding:26px 30px}.codex-description{line-height:1.8;max-width:650px;margin:0 0 24px}.codex-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.codex-state{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:14px}.codex-state i{width:8px;height:8px;border-radius:50%;background:currentColor}.codex-state.connected{color:var(--theme-success,#147b61)}.codex-state.pending{color:var(--theme-warning,#956715)}.codex-state.error{color:var(--theme-danger,#ae4559)}.codex-flow{background:var(--theme-surface,#f6f7fd);border:1px solid var(--theme-border,#dedff1);border-radius:16px;padding:24px;margin:24px 0 16px}.codex-flow h4{margin:0 0 20px;font-size:18px}.codex-flow ol{padding-inline-start:22px;margin:0}.codex-flow li{padding-inline-start:4px;margin:18px 0;line-height:1.8}.codex-copy{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}.codex-copy input{width:100%;min-width:0;flex:1 1 260px;background:var(--theme-surface,white);padding:12px;font-size:14px;color:var(--theme-text,#414e69);border:1px solid var(--theme-border,#d9deeb);border-radius:9px;user-select:text}.codex-copy.code input{max-width:240px;font-family:monospace;font-size:23px;letter-spacing:3px;text-align:center}.codex-open{padding:10px;color:var(--theme-agent,#5447a4);font-weight:600;text-decoration:underline}.codex-expiry{color:var(--theme-muted,#777387);font-size:13px;margin:16px 0 22px}.codex-feedback{min-height:1.5em;color:var(--theme-muted,#586782);line-height:1.7;margin:20px 0 8px}.codex-result{color:var(--theme-muted,#625887);margin:20px 0 0}.codex-check{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--theme-muted,#8690a3);font-size:13px}.codex-card footer{background:var(--theme-surface,#fafbfe);border-top:1px solid var(--theme-border,#e8ebf1);padding:18px 30px;color:var(--theme-muted,#7b8497);font-size:13px;line-height:1.7}@media(max-width:600px){.codex-card-top,.codex-content{padding:20px 16px}.codex-host{display:none}.codex-flow{padding:16px 12px}.codex-copy input{flex-basis:100%;font-size:12px}.codex-copy.code input{font-size:21px}.codex-card footer{padding:16px}.settings-heading h2{font-size:24px}}.runtime-card{margin-block:24px}.runtime-lanes{display:grid;gap:16px}.runtime-lane{display:flex;justify-content:space-between;align-items:center;gap:16px}.runtime-lane>span{color:var(--theme-text,#233354)}.runtime-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-block:24px 16px}.runtime-provider-grid>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--theme-border,#e8ebf1);border-radius:10px;font-size:13px}.runtime-provider-grid b{color:var(--theme-muted,#7b8497);font-weight:500}.runtime-provider-grid .runtime-ready{color:var(--theme-success,#147b61)}.runtime-description{margin:0;font-size:13px;color:var(--theme-muted,#7b8497);line-height:1.8}@media(max-width:600px){.runtime-lane{align-items:flex-start;flex-direction:column;gap:6px}.runtime-provider-grid{grid-template-columns:1fr}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none;--brand:#409fff;--brand-strong:#246eaf;--brand-soft:#e5f2ff;--ink:#38455d;--muted:#687487;--subtle:#929baa;--border:#cfd3de;--canvas:#f7f8fa;--surface-soft:#f7f8fa;--success:#29cc44;--warning:#ffcc33;--warning-ink:#755b13;--warning-soft:#fff9e6;--warning-border:#ffcc33;--danger-ink:#bc3428}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--border);background:var(--theme-surface,white);color:var(--ink);border-radius:9px;padding:10px 14px;font-size:13px;font-weight:600;transition:background .15s,box-shadow .15s}button:hover{background:var(--surface-soft)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid var(--brand);outline-offset:3px}a{color:var(--brand);text-decoration:none}h1,h2,h3,p{margin:0}p{line-height:1.7}small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:5px}input,select,textarea{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:9px;padding:12px;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}label{display:block;font-size:13px;font-weight:600}label input,label select{display:block;width:100%;margin-top:8px}textarea{width:100%;min-height:105px;resize:vertical;line-height:1.6}.primary{background:var(--brand);border-color:var(--brand);color:var(--theme-on-solid,white)}.primary:hover{background:var(--brand-strong)}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:.04em;margin-bottom:8px}.brand-mark{width:61px;height:61px;border-radius:19px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-weight:800;letter-spacing:-1px;font-size:22px;box-shadow:0 7px 20px var(--theme-shadow,rgba(64,159,255,.12))}.brand-mark.small{width:39px;height:39px;border-radius:12px;font-size:16px}.login-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:36px 20px;background:radial-gradient(ellipse at 50% 10%,var(--brand-soft) 0,transparent 65%),var(--canvas)}.login-card{width:min(420px,100%);background:var(--theme-surface,white);border:1px solid var(--border);padding:39px;border-radius:22px;box-shadow:0 24px 80px var(--theme-shadow,rgba(56,69,93,.06))}.login-card .brand-mark{margin-bottom:27px}.login-card h1{font-size:29px;line-height:1.35;font-weight:750;letter-spacing:-.8px;margin-bottom:12px}.login-card>p{color:var(--muted);font-size:13px}.login-card form{margin-top:26px}.login-card label{margin-bottom:18px}.login-card button{width:100%;display:flex;justify-content:space-between;padding:13px 17px;font-size:14px}.secure-note{text-align:center;color:var(--muted);border-top:1px solid var(--border);padding-top:20px;margin-top:22px;font-size:11px}.login-footer{margin-top:27px;font-size:10px;color:var(--muted);letter-spacing:1px}#login-error{font-size:12px;color:var(--danger-ink);min-height:15px;margin-top:12px}.app-shell{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100dvh}.sidebar{overflow-y:auto;background:var(--theme-surface,#fff);border-left:1px solid var(--border);padding:28px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.brand{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:750;margin:0 8px 42px;color:var(--ink);direction:ltr;justify-content:flex-end}.brand small{direction:rtl;font-size:10px}.nav-label{color:var(--muted);font-size:10px;padding:0 14px;margin-bottom:13px}.workspace-nav{display:flex;flex-direction:column}.nav-planned{font-size:10px;font-weight:400;color:var(--muted);margin-inline-start:auto}.tasks-placeholder{min-height:360px}.tasks-placeholder[hidden]{display:none}.tasks-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px}.tasks-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;background:var(--brand-soft);color:var(--brand-strong);font-size:32px}.tasks-empty h2{font-size:22px;margin:20px 0 8px}.tasks-empty p{color:var(--muted);font-size:14px;margin:0}.nav-item{border:0;background:transparent;text-align:right;display:flex;align-items:center;gap:12px;margin:3px 0;padding:13px 14px;font-size:12px;font-weight:500}.nav-item>span{font-size:19px;color:var(--muted)}.nav-item.chosen{background:var(--brand-soft);color:var(--brand-strong);font-weight:650}.nav-item b{font-size:10px;margin-right:auto;background:var(--brand-soft);border-radius:5px;padding:3px 7px}.sidebar-bottom{margin-top:auto}.connection-note{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;padding:14px;border-bottom:1px solid var(--border);margin-bottom:15px}.connection-note i,.connection i,.live-pill i{display:block;width:6px;height:6px;border-radius:50%;background:var(--warning)}.connection-note i.online{background:var(--success)}.user{display:flex;gap:9px;align-items:center;padding:0 8px;font-size:12px;font-weight:600}.avatar{width:33px;height:33px;border-radius:50%;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand-strong);font-weight:650;flex-shrink:0}.avatar.pale{background:var(--canvas)}.icon-button{border:0;margin-right:auto;background:transparent;font-size:18px;color:var(--muted);padding:5px}.workspace{padding:31px 38px 20px;max-width:1450px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.topbar h1{font-size:25px;letter-spacing:-.7px;font-weight:750}.live-pill{display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--border);border-radius:30px;font-size:10px;color:var(--brand-strong);background:var(--surface-soft);white-space:nowrap}.live-pill i{background:var(--success);box-shadow:0 0 0 3px var(--brand-soft)}.connection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:24px}.connections{display:flex;flex-wrap:wrap;gap:8px}.connection-toolbar .monitor-controls{margin:0;padding:0}.connection-toolbar .monitor-controls>div:first-child{display:none}.connection-toolbar .control-buttons{gap:6px}.connection{display:flex;gap:7px;align-items:center;font-size:10px;color:var(--muted);border:1px solid var(--border);border-radius:6px;background:var(--theme-surface,#fff);padding:7px 10px}.connection b{font-size:9px;font-weight:500;color:var(--muted);margin-right:4px}.connection.ok i{background:var(--success)}.connection.bad i{background:var(--warning)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:25px}.metrics article{background:var(--theme-surface,white);border:1px solid var(--border);border-radius:12px;padding:22px 24px}.metrics article>span{font-size:12px;color:var(--muted)}.metrics strong{font-size:33px;display:block;font-weight:650;margin:11px 0;color:var(--ink);line-height:1.1}.metrics article:first-child{border-top:3px solid var(--brand);padding-top:20px}.metrics small{font-size:10px}.panel{background:var(--theme-surface,white);border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 25px;border-bottom:1px solid var(--border)}.panel-header h2,.panel-header h3{font-size:15px;font-weight:650}.panel-header p{font-size:11px;color:var(--muted);margin-top:5px}.search{font-size:11px;min-width:240px;background:var(--surface-soft);padding:10px 13px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:right;font-size:12px}th{font-size:10px;font-weight:500;color:var(--muted);background:var(--surface-soft);padding:12px 22px;white-space:nowrap}td{padding:17px 22px;border-top:1px solid var(--border);vertical-align:middle}tr:hover td{background:var(--surface-soft)}.person-link{border:0;background:transparent;display:flex;align-items:center;gap:11px;text-align:right;padding:0;font-size:12px;white-space:nowrap}.person-link small{font-size:10px}.preview{max-width:310px;min-width:190px;color:var(--muted);line-height:1.65}.preview small{font-size:9px}.time{white-space:nowrap;color:var(--muted);font-size:10px}.open-button{font-size:11px;background:var(--surface-soft);color:var(--brand-strong);border:1px solid var(--border);border-radius:7px;padding:7px 10px;white-space:nowrap;display:inline-block}.status-tag{font-size:10px;background:var(--canvas);color:var(--muted);border-radius:20px;padding:6px 9px;white-space:nowrap}.status-tag.agent{background:var(--brand-soft);color:var(--brand-strong)}.panel-footer{display:flex;justify-content:space-between;gap:10px;padding:13px 24px;border-top:1px solid var(--border);color:var(--muted);font-size:9px}.empty{padding:55px 20px;text-align:center;color:var(--muted)}.empty>span{font-size:33px;color:var(--subtle);display:block;margin-bottom:10px}.empty h3{font-size:14px;color:var(--muted);margin-bottom:8px}.empty p{font-size:11px}.monitor-controls{margin-top:26px;padding:21px 4px;display:flex;align-items:center;justify-content:space-between;gap:15px}.monitor-controls h3{font-size:12px}.monitor-controls p{color:var(--muted);font-size:10px;margin-top:5px}.control-buttons{display:flex;flex-wrap:wrap;gap:7px}.control-buttons button{font-size:10px;padding:9px 12px;background:var(--surface-soft)}.notice{padding:13px 17px;border-radius:9px;font-size:12px;margin-bottom:16px;line-height:1.65}.warning{background:var(--warning-soft);border:1px solid var(--warning-border);color:var(--warning-ink)}.back-button{border:0;background:transparent;font-size:11px;padding:0;margin-bottom:18px;color:var(--muted)}.detail-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.messages{padding:24px;min-height:200px;max-height:580px;overflow:auto;background:var(--surface-soft);display:flex;flex-direction:column;align-items:flex-start;gap:13px}.message{background:var(--theme-surface,white);border:1px solid var(--border);border-radius:13px 13px 3px;padding:13px 15px;max-width:92%;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 5px var(--theme-shadow,rgba(56,69,93,.02))}.message.outgoing{background:var(--brand-soft);align-self:flex-end;border-color:var(--border);border-radius:13px 13px 13px 3px}.message small{font-size:9px;margin-top:8px}.activity{padding:20px;max-height:400px;overflow:auto;min-height:160px}.activity-entry{margin-bottom:15px;font-size:12px;line-height:1.7;border-right:2px solid var(--border);padding:4px 13px;overflow-wrap:anywhere}.activity-entry strong{font-size:11px}.activity-entry small{display:inline;margin-right:8px;font-size:9px}.activity-entry p{white-space:pre-wrap;margin-top:6px}.activity-entry.question{border-color:var(--warning);background:var(--warning-soft)}.activity-message{width:100%;max-width:100%;min-width:0;padding:16px 0;margin:0 0 14px;border:0;border-radius:0;font-size:14px;line-height:1.8;box-shadow:none;color:var(--ink)}.activity-message-operator{width:fit-content;max-width:90%;margin-inline-start:0;margin-inline-end:auto;padding:12px 16px;background:var(--theme-raised,#eef1f5);border-radius:16px 16px 4px}.activity-message-agent{background:transparent;border-bottom:1px solid var(--border)}.activity-message-system{padding:10px 12px;border-inline-start:2px solid var(--border);font-size:12px;color:var(--muted);background:transparent}.activity-message-header{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;line-height:1.5}.activity-message-header strong{font-size:12px;font-weight:600;color:var(--ink)}.activity-message-time{margin-inline-start:auto;color:var(--muted);font-size:11px;font-weight:400;white-space:nowrap}.activity-message p{margin-top:9px;text-align:start;white-space:pre-wrap;line-height:1.8}.activity-message.question{padding:14px;border:1px solid var(--theme-warning,var(--warning-border));border-inline-start-width:3px;border-radius:12px;background:var(--theme-warning-bg,var(--warning-soft))}.activity-question-label{color:var(--warning-ink);font-size:11px;font-weight:500}.case-agent-updates{min-width:0}.agent-updates-empty{padding:12px 0;font-size:13px}.case-context-panels{border-top:1px solid var(--border);padding-top:18px;margin-top:20px;min-width:0}.case-context-panels>h4{margin:0 0 12px;color:var(--muted);font-size:12px;font-weight:600}.context-summary-meta{display:inline-block;margin-inline-start:10px;color:var(--muted);font-size:12px;font-weight:400}.muted{color:var(--muted);font-size:11px}#instructions-form{border-top:1px solid var(--border);padding:20px}#instructions-form label{font-size:11px;margin-bottom:9px}.form-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.form-foot>span{font-size:9px;color:var(--muted)}.form-foot button{font-size:11px}.tools{margin-top:18px;padding:20px}summary{cursor:pointer;font-size:12px;color:var(--muted)}.tools-body{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding-top:20px}.tools-body label{font-size:11px;margin-bottom:12px}.tools-body button{font-size:11px}.tools-body form{display:flex;align-items:end;gap:8px;margin-bottom:15px}.tools-body form label{flex:1;margin:0}#archive-results{max-height:220px;overflow:auto;margin-bottom:15px}.tools-body .muted{margin-top:10px}#toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%);background:var(--brand-strong);color:var(--theme-on-solid,white);padding:14px 23px;border-radius:10px;box-shadow:0 5px 25px var(--theme-shadow,rgba(56,69,93,.2));font-size:12px;max-width:90vw;z-index:10}[hidden]{display:none!important}@media(max-width:1100px){.workspace{padding:27px 23px}.app-shell{grid-template-columns:190px minmax(0,1fr)}td,th{padding-right:15px;padding-left:15px}.monitor-controls{align-items:flex-start;flex-direction:column}.detail-grid{grid-template-columns:1fr}}@media(max-width:720px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:15px;display:flex;flex-direction:row;align-items:center;border-left:0;border-bottom:1px solid var(--border);gap:8px;flex-wrap:wrap}.brand{margin:0 auto 0 8px;font-size:12px;order:1}.brand small{display:none}.sidebar-bottom{margin:0;order:2}.connection-note,.nav-label{display:none}.user{padding:0}.user small,.user .avatar{display:none}.nav-item{order:3;margin:10px 0 0;padding:9px 13px}.workspace{padding:24px 16px}.topbar h1{font-size:20px}.topbar{align-items:flex-start}.live-pill{font-size:9px}.connections{gap:5px}.connection{padding:6px;font-size:9px}.connection b{display:none}.metrics{gap:8px}.metrics article{padding:15px 12px}.metrics article:first-child{padding-top:13px}.metrics article>span{font-size:10px}.metrics strong{font-size:28px}.metrics small{font-size:9px}.panel-header{padding:18px;align-items:flex-start;flex-direction:column}.search{width:100%;min-width:0}.panel-footer{padding:12px 17px;flex-direction:column}.detail-heading{align-items:flex-start;flex-direction:column}.detail-heading h2{font-size:20px}.tools-body{grid-template-columns:1fr}.login-card{padding:30px}.form-foot>span{display:none}.messages{padding:18px}}.brand-mark img{display:block;width:80%;height:80%;object-fit:contain}.message-time{font-size:12px;font-weight:650;color:var(--brand-strong);font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}.message small{color:var(--muted)}.row-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.row-actions button{font-size:12px;padding:7px 10px}.instruction-row td{background:var(--theme-surface,#f5f8fd)}.instruction-row form{display:flex;gap:12px;align-items:end}.instruction-row label{flex:1}.instruction-row textarea{min-height:90px;width:100%;resize:vertical}.proposal{border:1px solid var(--theme-warning,#edcc70);border-inline-start:4px solid var(--theme-warning,#e5ad1a);background:var(--theme-warning-bg,#fff9e7);padding:15px;border-radius:10px;white-space:normal}.proposal.sent{background:var(--theme-surface,#eaf8ee);border-color:var(--theme-border,#8bc69c);border-inline-start-color:var(--theme-success,#299553)}.proposal-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.proposal blockquote{margin:12px 0;padding:12px;background:var(--theme-surface,#ffffffa6);border-radius:6px;white-space:pre-wrap}.proposal p{margin:8px 0;white-space:pre-wrap}.proposal small{display:block;margin:8px 0;color:var(--theme-warning,#74623c)}.proposed-action{padding:8px 0;border-top:1px solid var(--theme-warning,#edcc7066)}#case-proposal{padding:0 18px}@media(max-width:700px){.instruction-row form{flex-direction:column;align-items:stretch}.row-actions{max-width:190px}}.queue-row{cursor:pointer;transition:background .15s}.queue-row:hover{background:var(--theme-surface,#f7f8fa)}.queue-row.expanded{background:var(--theme-raised,#edf1f5)}.queue-row:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.case-preview-row td{padding:0;background:var(--theme-raised,#f1f3f6);white-space:normal}.inline-case{padding:20px;min-width:0}.inline-case h3,.inline-case h4{margin:4px 0 10px}.inline-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.inline-grid>section{min-width:0;background:var(--theme-surface,white);border:1px solid var(--border);padding:18px;border-radius:12px}.inline-grid .case-pane-header{background:var(--theme-surface,white);border-bottom:1px solid var(--theme-border,#e8ebef)}.inline-grid .case-scroll{background:var(--theme-surface,#fafbfc)}.inline-grid .messages,.inline-grid .activity{padding:8px 0;max-height:440px;overflow:auto}.inline-grid .activity{padding:16px}.inline-grid textarea,.learning-card textarea,.handled-learning-form textarea{width:100%;min-height:90px;resize:vertical}.inline-grid form{margin-top:15px}.inline-grid form button{margin-top:10px}.learning-card{border:1px solid var(--theme-border,#bac7e6);border-inline-start:4px solid var(--theme-border,#738bbd);background:var(--theme-surface,#f5f7ff);padding:16px;border-radius:10px;white-space:normal}.learning-card.needs-clarification{background:var(--theme-warning-bg,#fff9e7);border-color:var(--theme-warning,#edcc70);border-inline-start-color:var(--theme-warning,#e5ad1a)}.learning-card p{white-space:pre-wrap;margin:12px 0}.learning-card small{display:block;color:var(--muted);margin:9px 0}.learning-card form{margin-top:16px;display:grid;gap:12px}.learning-card form button{justify-self:start}.learning-question{font-weight:600}.learning-status{display:block;margin-top:7px;color:var(--theme-muted,#6378a3);font-size:11px}.handled-learning-form{display:block!important;white-space:normal;width:100%}#case-learning,#case-learning-start{padding:0 18px;margin:12px 0}@media(max-width:900px){.inline-grid{grid-template-columns:1fr}}@media(max-width:700px){.inline-case{padding:12px}.inline-grid>section{padding:12px}.handled-learning-form .form-foot{flex-direction:column;align-items:stretch}.learning-card .proposal-heading{flex-direction:column}}.human-mark{display:inline-flex;vertical-align:middle;width:28px;height:28px;padding:2px;margin-inline-start:5px;border:0;background:transparent;border-radius:7px;cursor:pointer}.human-mark svg{width:24px;height:24px;fill:none;stroke:var(--theme-warning,#9b6b0b);stroke-width:1.5}.human-mark .hex{fill:var(--theme-muted,#fff1bc);stroke:var(--theme-warning,#dfa720)}.human-mark:hover,.human-mark:focus-visible{background:var(--theme-warning-bg,#fff1bc);outline:2px solid var(--theme-warning,#eac552);outline-offset:1px}.human-popover{position:fixed;z-index:100;width:200px;padding:12px;box-shadow:0 8px 25px var(--theme-shadow,#26375924);border:1px solid var(--theme-warning,#edcc70);border-radius:12px;background:var(--theme-warning-bg,#fffbee);display:grid;gap:9px;font-size:12px;direction:rtl;white-space:normal}.human-popover button{padding:8px;font-size:12px}.contact-avatar{position:relative;overflow:hidden;flex-shrink:0;background:var(--theme-surface,#edf3fb);color:var(--theme-muted,#7e96b7);width:40px;height:40px}.contact-avatar svg{width:22px;height:22px;fill:currentColor}.contact-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .16s ease}.contact-avatar img.ready{opacity:1}.case-person{display:flex;align-items:center;gap:12px}.assign-agent{color:var(--theme-accent,#3b47ad);border-color:var(--theme-border,#cbd0f3);background:var(--theme-surface,#f1f2fd);font-weight:700}.assignment details{margin:.75rem 0;font-size:.88rem}.assignment small{display:block}.assignment-question{font-weight:650;color:var(--theme-warning,#80580b)}.topbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.emergency-stop{background:var(--theme-danger-solid,#b42332);color:var(--theme-on-solid,white);border:1px solid var(--theme-danger,#9c1827);font-weight:800;white-space:normal;box-shadow:0 2px 5px var(--theme-shadow,#b4233220)}.emergency-stop:hover:not(:disabled){background:var(--theme-danger-solid,#971c29)}.emergency-notice{background:var(--theme-surface,#fff1f2);border:1px solid var(--theme-border,#efb2ba);color:var(--theme-danger,#8d1d2a);margin-bottom:18px;line-height:1.7}.activity .proposal{margin:0 0 16px}.proposal-history summary{cursor:pointer;font-weight:700}.proposal-history .proposal{margin-top:12px}.history-gap{font-size:13px;line-height:1.6;margin:4px 0}@media(max-width:650px){.topbar-actions{justify-content:flex-start}.emergency-stop{width:100%;padding:12px}.topbar{flex-wrap:wrap;gap:14px}}#whatsapp-inbox[hidden]{display:none}.wa-shell{height:clamp(520px,calc(100dvh - 285px),850px);display:grid;grid-template-columns:330px minmax(0,1fr);border:1px solid var(--theme-border,#d6dfdf);border-radius:15px;overflow:hidden;background:var(--theme-surface,#fff);box-shadow:0 8px 30px var(--theme-shadow,#283e4310)}.wa-list-pane{display:flex;flex-direction:column;min-height:0;border-inline-end:1px solid var(--theme-border,#d6dfdf)}.wa-list-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:var(--theme-raised,#f0f5f3)}.wa-list-header h2{font-size:19px;margin:0 0 4px}.wa-list-header span{font-size:12px;color:var(--theme-text,#61756d)}.wa-list-header .wa-connection{color:var(--theme-success,#169a6b);font-size:20px}.wa-offline .wa-connection{color:var(--theme-muted,#86999a)}.wa-search-wrap{padding:10px 12px}.wa-search{width:100%;padding:11px 13px;border:0;border-radius:9px;background:var(--theme-raised,#f0f3f3);font-size:13px}.wa-chat-list{overflow-y:auto;flex:1;overscroll-behavior:contain}.wa-chat{display:flex;width:100%;align-items:center;gap:12px;padding:14px 12px;text-align:start;border:0;border-radius:0;background:var(--theme-surface,#fff);position:relative;min-height:78px}.wa-chat:hover{background:var(--theme-surface,#f6f8f8)}.wa-chat.selected{background:var(--theme-raised,#e8f3ee)}.wa-chat:after{content:"";position:absolute;bottom:0;inset-inline-start:68px;inset-inline-end:14px;height:1px;background:var(--theme-raised,#eef1f1)}.wa-avatar{flex:none}.wa-chat-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}.wa-chat-name{font-weight:650;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.wa-chat-name small{font-size:10px;color:var(--theme-text,#61756d);margin-inline-start:6px;font-weight:400}.wa-chat-preview{font-weight:400;font-size:12px;color:var(--theme-muted,#6b7b80);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:start}.wa-chat-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-size:10px;color:var(--theme-muted,#6f807e);align-self:stretch;padding-top:3px}.wa-chat-side b{background:var(--theme-success-solid,#22b67c);color:var(--theme-on-solid,white);border-radius:12px;min-width:20px;padding:2px 5px;text-align:center;font-size:11px}.wa-list-footer{padding:12px;background:var(--theme-surface,#f8faf9);font-size:10px;color:var(--theme-muted,#71847f);text-align:center;border-top:1px solid var(--theme-border,#ecf0ed)}.wa-load-more,.wa-older{border:0;background:var(--theme-raised,#e9f4ef);color:var(--theme-success,#256b57);display:block;margin:12px auto;padding:8px 16px;border-radius:20px;font-size:12px}.wa-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--theme-raised,#efeae2)}.wa-welcome{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--theme-text,#51766c);background:linear-gradient(145deg,var(--theme-surface,#f2f8f5),var(--theme-raised,#e5f0eb));padding:25px}.wa-welcome h2{font-size:26px;margin:22px 0 8px}.wa-welcome p{font-size:14px;line-height:1.8;color:var(--theme-muted,#718880)}.wa-welcome-icon{display:grid;place-items:center;width:100px;height:100px;border-radius:30px;background:var(--theme-success-bg,#d5eae0);font-size:58px;color:var(--theme-success,#287965)}.wa-thread-header{display:flex;gap:12px;align-items:center;padding:12px 18px;background:var(--theme-raised,#f0f5f3);flex-shrink:0;border-bottom:1px solid var(--theme-border,#d6dfdf)}.wa-thread-identity{flex:1;min-width:0}.wa-thread-identity h2{margin:0 0 3px;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-thread-identity small{font-size:11px;color:var(--theme-muted,#71827b)}.wa-thread-actions{display:flex;gap:7px}.wa-thread-actions button{border:1px solid var(--theme-border,#d2ded7);border-radius:8px;background:var(--theme-surface,white);padding:7px 10px;font-size:11px;color:var(--theme-text,#376358)}.wa-coverage{padding:7px;text-align:center;font-size:10px;color:var(--theme-muted,#7c8074);background:var(--theme-raised,#f5f0e7);flex-shrink:0}.wa-message-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px clamp(12px,4vw,45px) 20px;background-color:var(--theme-raised,#efeae2);background-image:radial-gradient(var(--theme-border,#c9c2b64d) .7px,transparent .7px);background-size:19px 19px}.wa-messages{display:flex;flex-direction:column;gap:5px}.wa-date{align-self:center;font-size:10px;margin:15px 0 11px;color:var(--theme-text,#657370)}.wa-date span{background:var(--theme-surface,#fff9);padding:6px 12px;border-radius:7px;box-shadow:0 1px 2px var(--theme-shadow,#0000000a)}.wa-bubble{max-width:85%;min-width:100px;padding:8px 10px 5px;border-radius:9px;box-shadow:0 1px 1px var(--theme-shadow,#00000012);position:relative;color:var(--theme-text,#26352d);overflow-wrap:anywhere}.wa-bubble.outgoing{background:var(--theme-success-bg,#d9fdd3);margin-inline-end:auto;border-start-start-radius:0}.wa-bubble.incoming{background:var(--theme-surface,white);margin-inline-start:auto;border-start-end-radius:0}.wa-message-text{white-space:pre-wrap;line-height:1.6;font-size:14px;text-align:start}.wa-message-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:9px;color:var(--theme-muted,#7c8e82);min-height:18px;margin-top:2px}.wa-message-meta button{background:transparent;border:0;padding:1px 4px;color:var(--theme-muted,#6a8b78);font-size:14px}.wa-message-meta button:hover{background:var(--theme-overlay,#00000008);border-radius:4px}.wa-delivery{font-size:11px;color:var(--theme-accent,#4894bd)}.wa-sender{font-size:11px;color:var(--theme-muted,#ae6371);display:block;margin-bottom:5px}.wa-quote{background:var(--theme-overlay,#00000006);border-inline-start:3px solid var(--theme-success,#59b293);padding:7px 9px;border-radius:5px;font-size:11px;line-height:1.5;margin-bottom:6px;white-space:pre-wrap}.wa-image{display:block;width:min(100%,300px);max-height:300px;object-fit:contain;border-radius:6px;margin-bottom:5px}.wa-image-link{display:block;color:var(--theme-muted,#6d8275);text-decoration:none}.wa-media-error{display:block;padding:15px;background:var(--theme-raised,#e8e8e0);font-size:12px}.wa-bubble audio{max-width:100%;width:270px;height:40px}.wa-bubble video{max-width:100%;max-height:300px;width:300px;background:var(--theme-success-solid,#27372b);border-radius:6px}.wa-media-download{display:block;font-size:10px;color:var(--theme-muted,#5e8b76);margin:3px 0;text-decoration:underline}.wa-document{display:flex;gap:12px;align-items:center;background:var(--theme-overlay,#00000005);padding:13px;border-radius:6px;color:var(--theme-success,#39725c);text-decoration:none;font-size:14px}.wa-document small{display:block;font-size:10px;color:var(--theme-muted,#7a8f82);margin-top:5px}.wa-media-missing,.wa-unknown{font-size:12px;color:var(--theme-muted,#84928b);margin:5px}.wa-pending{opacity:.8;border:1px dashed var(--theme-border,#8ebc88)}.wa-pending small{font-size:10px;display:block;margin-top:5px}.wa-notice{font-size:12px;padding:10px 16px;background:var(--theme-warning-bg,#fff2c8);color:var(--theme-warning,#8b6929);flex-shrink:0}.wa-composer{background:var(--theme-raised,#f0f5f3);padding:10px 14px 7px;flex-shrink:0}.wa-compose-row{display:flex;align-items:center;gap:10px}.wa-input{border:1px solid transparent;border-radius:10px;flex:1;min-width:0;resize:vertical;max-height:140px;min-height:43px;padding:11px 14px;font-size:14px;line-height:1.5;background:var(--theme-surface,white);font-family:inherit}.wa-input:focus{outline:none;border-color:var(--theme-border,#83bda4);box-shadow:0 0 0 2px var(--theme-shadow,#88c9b322)}.wa-send{border:0;border-radius:50%;width:43px;height:43px;background:var(--theme-success-solid,#168a69);color:var(--theme-on-solid,white);font-size:19px;flex:none}.wa-send:disabled{opacity:.4}.wa-attach{display:grid;place-items:center;position:relative;width:32px;height:38px;color:var(--theme-text,#63786f);font-size:28px;cursor:pointer}.wa-file{position:absolute;opacity:0;inset:0;width:100%;cursor:pointer}.wa-composer-meta{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--theme-muted,#879990);padding:6px 42px 0 48px}.wa-human-state{color:var(--theme-warning,#91732b)}.wa-draft-context{padding:0 45px 7px}.wa-draft-context button{float:left;border:0;background:transparent;font-size:18px;color:var(--theme-muted,#80938a);padding:0 4px}.wa-upload-chip{font-size:12px;padding:8px 10px;background:var(--theme-raised,#e0ece7);border-radius:6px}.wa-mobile-back{display:none}.wa-empty{padding:30px 15px;color:var(--theme-muted,#83968e);text-align:center;font-size:13px}.wa-notice[hidden],.wa-draft-context[hidden],.wa-older[hidden],.wa-thread-actions button[hidden],.wa-media-error[hidden]{display:none}@media(max-width:1050px){.wa-shell{grid-template-columns:280px minmax(0,1fr)}.wa-thread-actions{flex-direction:column}.wa-bubble{max-width:95%}}@media(max-width:720px){.wa-shell{display:block;height:calc(100dvh - 245px);min-height:460px}.wa-list-pane{height:100%;border:0}.wa-conversation{display:none;height:100%}.wa-chat-open .wa-list-pane{display:none}.wa-chat-open .wa-conversation{display:flex}.wa-mobile-back{display:block;background:transparent;border:0;font-size:23px;color:var(--theme-text,#486d5e);padding:3px}.wa-thread-header{padding:10px;gap:9px}.wa-thread-actions button{font-size:10px;padding:5px 8px}.wa-thread-identity h2{font-size:15px}.wa-message-scroll{padding:8px 12px 12px}.wa-composer{padding:9px 8px 5px}.wa-composer-meta{font-size:8px;padding-inline:0}.wa-draft-context{padding-inline:3px}.wa-bubble{max-width:91%}}.context-audit{border:1px solid var(--theme-border,#cbd5e1);border-radius:12px;padding:12px 16px;margin-bottom:16px;background:var(--theme-surface,#f8fafc)}.context-audit>summary{cursor:pointer;font-weight:700;color:var(--theme-text,#334155)}.context-audit-body{padding-top:8px}.context-audit-body>details{margin:12px 0}.context-audit-body .messages{max-height:460px;overflow:auto}.context-audit-body small{overflow-wrap:anywhere}.history-gap{color:var(--theme-danger,#92400e);padding:10px 14px;background:var(--theme-warning-bg,#fffbeb);border-radius:8px}.message-quote{margin:0 0 .6rem;padding:.5rem .75rem;border-inline-start:3px solid var(--theme-border,#8796b2);background:var(--theme-surface,#ffffff80);border-radius:.35rem;font-size:.9em}.agent-thinking{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--theme-muted,#64748b);white-space:nowrap}.agent-thinking i{width:12px;height:12px;border:2px solid var(--theme-border,#d5dfe8);border-top-color:var(--theme-accent,#409fff);border-radius:50%;animation:agent-thinking-spin 1.6s linear infinite}@keyframes agent-thinking-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.agent-thinking i{animation:none}}.status-tag.technical{display:inline-block;background:var(--theme-danger-bg,#fff0ed);color:var(--theme-danger,#a42e24);white-space:normal;max-width:240px;line-height:1.6}.technical-issue{color:var(--theme-danger,#a42e24);font-weight:650;overflow-wrap:anywhere}.proposal-approval{display:inline-block;margin:12px 0 4px;padding:6px 10px;border-radius:7px;background:var(--theme-raised,#e8f4ec);color:var(--theme-success,#296143);font-size:12px;font-weight:650}.message,.wa-bubble{position:relative}.message:has(.message-reactions),.wa-bubble:has(.message-reactions){margin-bottom:16px}.message-reactions{position:absolute;inset-inline-start:12px;bottom:-13px;display:flex;gap:4px;z-index:1;direction:ltr}.message-reaction{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--theme-border,#e0e5e9);background:var(--theme-surface,#fff);border-radius:16px;padding:2px 7px;min-height:25px;box-shadow:0 1px 3px var(--theme-shadow,#00000012);font-size:17px;line-height:1.2}.message-reaction small{margin:0;color:var(--theme-muted,#65717e);font-size:11px}.message-delivery{display:inline-flex;vertical-align:middle;margin-inline-start:5px;align-items:center;justify-content:center;color:var(--theme-muted,#86949a);width:21px;height:16px;flex:none}.message-delivery svg{height:16px;width:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.message-delivery.read{color:var(--theme-accent,#34a6df)}.agent-status-trigger{border:0;display:inline-flex;align-items:center;cursor:help;line-height:1.2}.agent-status-trigger:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.agent-status-hint{position:fixed;z-index:1000;width:300px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:14px 16px;background:var(--theme-surface,white);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 28px var(--theme-shadow,#20344b24);text-align:right;font-size:12px;line-height:1.65;color:var(--muted)}.agent-status-hint strong{display:block;color:var(--brand-strong);font-weight:650}.agent-status-hint p{margin:7px 0}.agent-status-hint small{display:block;font-size:11px;color:var(--muted)}.queue-heading{display:flex;align-items:center;gap:8px}.queue-loading-slot{display:flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px}.queue-loading{display:flex;align-items:center;justify-content:center}#queue-loading-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.queue-spinner{width:18px;height:18px;flex:none;border:2px solid var(--theme-border,#dce3f2);border-top-color:var(--theme-accent,#5965cf);border-radius:50%;animation:agent-thinking-spin .85s linear infinite}.queue-load-error{color:var(--theme-warning,#806336);font-size:14px}@media(prefers-reduced-motion:reduce){.queue-spinner{animation:none}}.queue-tail{min-height:56px;padding:18px;text-align:center;color:var(--theme-muted,#62718a);font-size:14px;overflow-anchor:none}.queue-tail[hidden]{display:none}.queue-retry{width:24px;height:24px;padding:0;position:relative;color:var(--brand-strong);border:0;background:transparent}.queue-retry:before{content:"";position:absolute;inset:-10px}.queue-summary-row td{padding:4px 22px 14px;background:var(--theme-surface,#fafaff)}.queue-summary-row button{color:var(--theme-agent,#6552a5);background:transparent}.student-profile{border:1px solid var(--border);border-radius:14px;background:var(--theme-surface,#fff);margin-bottom:12px;overflow:hidden;color:var(--ink);font-size:13px;line-height:1.7}.student-profile>summary{padding:14px 16px;cursor:pointer;display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;list-style:none}.student-profile>summary::-webkit-details-marker{display:none}.student-profile>summary:before{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-inline-end:3px;flex:none}.student-profile:not([open])>summary:before{transform:rotate(135deg)}.profile-panel-title{font-size:14px;font-weight:650}.profile-status{font-size:12px;font-weight:400;color:var(--muted);margin-inline-start:auto}.profile-status.working{color:var(--brand-strong)}.student-profile-body{padding:0 16px 8px;overflow-wrap:anywhere}.profile-identity{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}.profile-section-label,.profile-unclassified{color:var(--muted);font-size:12px}.profile-identity .case-entity-tag{margin:0}.profile-result,.profile-empty{padding:4px 0 16px}.student-profile-summary{white-space:pre-wrap;font-size:14px;line-height:1.85;font-weight:400}.profile-empty p{font-size:14px;font-weight:500}.profile-empty small,.profile-result small{font-size:12px;line-height:1.7;margin-top:6px}.student-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.student-profile-actions button{font-size:12px;font-weight:600;white-space:normal;min-height:42px;line-height:1.6}.student-profile .primary{background:var(--brand-strong);border-color:var(--brand-strong);color:var(--theme-on-brand,#fff)}.student-profile .primary:hover{filter:brightness(.94)}.profile-progress,.profile-update-note,.profile-error{padding:10px 12px;margin:0 0 14px;border-radius:8px;background:var(--theme-raised,#f3f5f8);font-size:12px;line-height:1.7}.profile-error{color:var(--danger-ink);background:var(--theme-danger-bg,#fff1f2)}.profile-instructions,.profile-details{border-top:1px solid var(--border);margin:0;padding:0}.profile-instructions>summary,.profile-details>summary{padding:12px 0;cursor:pointer;color:var(--ink);font-size:12px;font-weight:500}.student-profile form{margin:0 0 12px;padding:14px;background:var(--theme-raised,#f3f5f8);border:1px solid var(--border);border-radius:10px}.student-profile form label{display:block;font-size:13px;font-weight:500;color:var(--ink)}.student-profile textarea{display:block;width:100%;margin:10px 0 12px;min-height:100px;font-size:13px;font-weight:400;color:var(--ink);background:var(--theme-surface,#fff);border-color:var(--muted)}.student-profile textarea::placeholder{color:var(--muted);opacity:1}.profile-form-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.profile-form-foot small{font-size:12px;flex:1;min-width:160px;margin:0;line-height:1.7}.profile-form-foot button{font-size:12px;min-height:42px}.student-profile form button{margin-top:0}.profile-details-body{padding:0 0 14px;font-size:12px}.profile-details-body>p{margin-bottom:12px}.profile-details-body details>summary{cursor:pointer;padding-block:6px;font-size:12px}.profile-facts{padding:0;list-style:none;margin:0}.profile-fact{padding:12px 0;border-bottom:1px solid var(--border)}.profile-fact-meta{display:flex;gap:6px 12px;align-items:center;flex-wrap:wrap}.profile-fact-meta strong{font-size:12px}.profile-fact-meta span{color:var(--muted);font-size:11px}.profile-fact p{font-size:13px;line-height:1.8;margin:6px 0}.student-profile blockquote{border-inline-start:2px solid var(--border);padding:10px 12px;background:var(--theme-raised,#f3f5f8);color:var(--ink);white-space:pre-wrap;margin:8px 0;border-radius:6px;font-size:13px}.student-profile blockquote small{display:block;color:var(--muted);margin-top:8px;font-size:11px}.profile-preview{background:var(--theme-raised,#f3f5f8);color:var(--muted);padding:10px 12px;border-radius:8px;font-size:12px;margin-bottom:14px}.profile-uncertainties{margin-block:12px}.profile-uncertainties ul{padding-inline-start:20px}@media(max-width:600px){.student-profile>summary{padding:13px}.student-profile-body{padding-inline:13px}.student-profile-actions{display:grid;grid-template-columns:1fr;width:100%}.student-profile-actions button{text-align:center}.profile-form-foot{align-items:stretch;flex-direction:column}.profile-form-foot small{min-width:0}.profile-form-foot button{width:100%}.activity-message-operator{max-width:95%}.activity-message-time{font-size:10px}}.student-profile-body{overflow-wrap:anywhere}.monitoring-panel{padding:24px;margin-bottom:24px;border:1px solid var(--theme-border,#d8d5ef);background:linear-gradient(120deg,var(--theme-surface,#fff),var(--theme-agent-bg,#f8f7ff))}.monitoring-panel summary,.monitoring-foot{display:flex;justify-content:space-between;align-items:center;gap:20px}.monitoring-panel h3{margin:6px 0 16px}.monitoring-panel label{display:block;font-weight:600}.monitoring-panel textarea{display:block;width:100%;margin-top:10px;background:var(--theme-surface,#fff)}.monitoring-panel .monitoring-toggle{display:flex;align-items:center;gap:10px;margin:4px 0 20px}.monitoring-toggle input{width:20px;height:20px;accent-color:var(--theme-agent,#7662c8)}.monitoring-badge{display:inline-flex;align-items:center;border-radius:20px;padding:6px 12px;background:var(--theme-raised,#eaeaf0);color:var(--theme-muted,#697080);font-size:13px;white-space:nowrap}.monitoring-badge.on{background:var(--theme-agent-bg,#eae3ff);color:var(--theme-agent,#604ca0)}.monitoring-foot p{font-size:13px;color:var(--theme-muted,#69758b);max-width:660px}.monitoring-foot button{flex-shrink:0}.monitoring-findings{border-top:1px solid var(--theme-border,#dedced);margin-top:20px;padding-top:12px}.monitoring-finding{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e4dfef);border-radius:12px;margin:12px 0;padding:16px}.monitoring-finding p{white-space:pre-wrap;margin:10px 0}.monitoring-finding small{color:var(--theme-muted,#748097)}.monitoring-finding button{font-size:12px;margin-top:10px}.message.evidence-highlight{outline:3px solid var(--theme-border,#ac91e7);outline-offset:3px}@media(max-width:700px){.monitoring-panel{padding:16px}.monitoring-foot{display:block}.monitoring-foot button{width:100%}.monitoring-panel summary{align-items:flex-start}}.inline-monitoring{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.monitoring-panel summary{cursor:pointer;list-style:none}.monitoring-panel:not([open]) h3{margin-bottom:0}.monitoring-panel[open] summary{margin-bottom:16px}.monitoring-save-button{background:var(--theme-agent-solid,#7662c8);color:var(--theme-on-solid,white);border-color:var(--theme-agent,#7662c8)}.media-evidence{margin-block:.4rem;padding:.65rem .8rem;border-inline-start:3px solid var(--theme-border,#7b79be);background:var(--theme-agent-bg,#f3f1fb);border-radius:.65rem}.media-evidence-title{font-size:.82rem;font-weight:700;color:var(--theme-muted,#55517b);margin-bottom:.35rem}.media-evidence-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.media-evidence small{display:block;margin-top:.5rem;color:var(--theme-muted,#6b6483)}.case-image-evidence summary{cursor:pointer;list-style:none;display:grid;gap:.45rem}.case-image-evidence summary::-webkit-details-marker{display:none}.case-image-preview{display:block;width:min(100%,320px);height:210px;object-fit:contain;background:var(--theme-agent-bg,#e9e6f1);border-radius:.6rem}.case-image-preview[hidden],.case-image-failure[hidden]{display:none}.case-image-placeholder,.case-image-failure{padding:1.5rem;background:var(--theme-agent-bg,#e9e6f1);border-radius:.6rem;color:var(--theme-text,#655b78)}.media-evidence-disclosure{font-size:.8rem;color:var(--theme-muted,#62518a)}.case-image-evidence[open] .media-evidence-disclosure{font-size:0}.case-image-evidence[open] .media-evidence-disclosure:after{content:"הסתר פענוח ▴";font-size:.8rem}.media-evidence-result{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--theme-border,#d9d1e9)}.case-image-evidence summary:focus-visible{outline:2px solid var(--theme-border,#7764aa);outline-offset:4px;border-radius:.5rem}.conversation-unified{display:block;width:fit-content;margin-top:5px;padding:3px 9px;border-radius:8px;color:var(--theme-accent,#365f88);background:var(--theme-surface,#edf5fc);font-size:.78rem;font-weight:600;line-height:1.5}[data-case-chat]{min-height:0;height:100%;display:flex;flex-direction:column;flex:1;overflow:hidden}.case-live-chat .wa-conversation{display:flex;height:100%;flex:1}.case-live-chat .wa-thread-header{padding:10px 14px}.case-live-chat .wa-thread-identity h2{font-size:15px}.case-live-chat .wa-message-scroll{padding:12px 16px 20px}.case-live-chat .wa-composer{padding:10px}.case-live-chat .wa-bubble{max-width:88%}.case-live-chat .wa-coverage{font-size:10px;line-height:1.5}.case-live-chat .wa-composer-meta{padding-inline:0;flex-wrap:wrap}.case-live-chat .wa-thread-actions{flex-wrap:wrap}.case-live-chat .wa-thread-actions [data-wa-case]{display:none}.wa-messages{direction:ltr}.wa-bubble{direction:rtl;text-align:start}.wa-bubble.outgoing{margin-left:auto;margin-right:0;border-radius:9px 0 9px 9px}.wa-bubble.incoming{margin-left:0;margin-right:auto;border-radius:0 9px 9px}.wa-bubble.outgoing:after,.wa-bubble.incoming:after{content:"";position:absolute;top:0;border:6px solid transparent}.wa-bubble.outgoing:after{right:-6px;border-top-color:var(--theme-border,#d9fdd3)}.wa-bubble.incoming:after{left:-6px;border-top-color:var(--theme-border,white)}.wa-quote-jump{display:block;width:100%;border:0;border-inline-start:3px solid var(--theme-success,#59b293);text-align:start;color:inherit;cursor:pointer}.wa-quote-jump strong,.wa-quote-jump span{display:block}.wa-quote-jump strong{color:var(--theme-success,#267661);font-size:11px}.wa-quote-jump span{max-height:65px;overflow:hidden}.wa-emoji-toggle{border:0;background:transparent;color:var(--theme-text,#597969);font-size:27px;padding:0;min-width:28px;min-height:40px}.wa-emoji-panel{display:grid;grid-template-columns:repeat(8,minmax(28px,1fr));gap:3px;background:var(--theme-surface,white);border:1px solid var(--theme-border,#d4e1db);border-radius:12px;padding:10px;margin-bottom:10px;max-width:390px;box-shadow:0 3px 18px var(--theme-shadow,#21392b12)}.wa-emoji-panel[hidden]{display:none}.wa-emoji-panel button{border:0;background:transparent;border-radius:6px;padding:7px 3px;font-size:23px}.wa-emoji-panel button:hover{background:var(--theme-raised,#eaf4ef)}.wa-highlight{animation:wa-highlight 1.7s ease-out}@keyframes wa-highlight{0%,45%{box-shadow:0 0 0 4px var(--theme-shadow,#3cc6a88c)}to{box-shadow:0 1px 1px var(--theme-shadow,#00000012)}}.wa-image-link{cursor:zoom-in}.wa-bubble .media-evidence{margin-top:7px}.wa-bubble .case-image-placeholder{display:none}.wa-bubble .media-evidence-disclosure{font-size:11px}.wa-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;inset:0;margin:0;padding:0;border:0;background:var(--theme-accent-solid,#101b23f5);color:var(--theme-on-solid,#f4f7f8);overflow:hidden;direction:ltr}.wa-viewer::backdrop{background:var(--theme-accent-solid,#101b23f5)}.wa-viewer[open]{display:flex;flex-direction:column}.wa-viewer-toolbar{height:66px;display:flex;gap:12px;align-items:center;padding:10px 24px;background:var(--theme-accent-solid,#1a2931);flex:none}.wa-viewer-toolbar strong{margin-right:auto;font-size:15px;direction:rtl}.wa-viewer-toolbar button,.wa-viewer-download{display:grid;place-items:center;min-width:40px;height:40px;border:0;border-radius:8px;color:var(--theme-on-solid,#f4f7f8);background:transparent;font-size:23px;text-decoration:none}.wa-viewer-toolbar button:hover,.wa-viewer-download:hover{background:var(--theme-surface,#ffffff14)}.wa-viewer-toolbar [data-viewer=reset]{font-size:12px;min-width:55px}.wa-viewer-position{color:var(--theme-muted,#adbcc5);font-size:12px}.wa-viewer-stage{display:flex;position:relative;flex:1;min-height:0;justify-content:center;align-items:center;overflow:hidden;touch-action:none}.wa-viewer-stage img{max-width:calc(100% - 120px);max-height:calc(100% - 35px);object-fit:contain;user-select:none;cursor:grab;transform-origin:center}.wa-viewer-stage img:active{cursor:grabbing}.wa-viewer-stage img[hidden]{display:none}.wa-viewer-stage button{position:absolute;top:calc(50% - 25px);z-index:1;background:var(--theme-accent-solid,#20303ba6);border:0;color:var(--theme-on-solid,white);border-radius:50%;width:44px;height:50px;font-size:34px}.wa-viewer-stage button:disabled{opacity:.2}.wa-viewer-prev{left:14px}.wa-viewer-next{right:14px}.wa-viewer-help{text-align:center;padding:12px;font-size:12px;color:var(--theme-muted,#9cafba);direction:rtl}.wa-viewer-error{direction:rtl;max-width:320px;text-align:center;line-height:1.8;color:var(--theme-muted,#c8d4dc)}.wa-viewer-error[hidden]{display:none}@media(max-width:720px){.case-live-chat .wa-conversation{display:flex}.case-live-chat .wa-bubble{max-width:91%}.case-live-chat .wa-compose-row{gap:6px}.case-live-chat .wa-thread-identity small{font-size:10px}.case-live-chat .wa-composer-meta span:last-child{display:none}.wa-viewer-toolbar{gap:2px;padding:8px}.wa-viewer-toolbar strong{font-size:12px}.wa-viewer-toolbar button,.wa-viewer-download{min-width:33px}.wa-viewer-stage img{max-width:calc(100% - 34px)}.wa-viewer-stage button{width:30px;height:40px;font-size:25px}.wa-viewer-prev{left:2px}.wa-viewer-next{right:2px}.wa-viewer-help{font-size:10px}}.wa-transport-notice{padding:9px 12px;background:var(--theme-warning-bg,#fff2ce);color:var(--theme-warning,#816520);font-size:12px;line-height:1.6;flex:none}.wa-transport-notice[hidden]{display:none}.wa-transport-notice button{border:0;background:transparent;text-decoration:underline;color:inherit;font-size:inherit;padding:0 5px}.case-pane.conversation:has(>.case-live-chat)>.case-pane-header{display:none}.case-live-chat .wa-mobile-back{display:none}.wa-composer{position:relative}.wa-emoji-panel{position:absolute;bottom:100%;right:12px;left:auto;z-index:4;width:min(360px,calc(100% - 24px))}[data-case-chat]>.messages.case-scroll{display:block;min-height:0;max-height:none;overflow-y:auto}.case-image-zoom{display:inline-flex;align-items:center;font-size:11px;gap:5px;padding:5px 9px;margin:5px 0;border-radius:6px;background:var(--theme-raised,#e8f0ed);color:var(--theme-success,#286c55);text-decoration:none;cursor:zoom-in}.wa-transport-notice button[hidden]{display:none}.wa-message-text code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.94em;background:var(--theme-overlay,#00000007);border-radius:3px;padding:1px 3px;white-space:pre-wrap}.wa-text-link{color:var(--theme-accent,#167eae);text-decoration:underline;overflow-wrap:anywhere}.wa-message-text strong{font-weight:750}.wa-sender{unicode-bidi:isolate;text-align:start;font-size:12px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}.wa-bubble.outgoing .wa-sender{color:var(--theme-success,#29745b)}.case-entity-tag{display:inline-block;font-size:12px;line-height:1.5;padding:3px 9px;margin:4px 6px;border:1px solid var(--border);border-radius:7px;background:var(--theme-raised,#eef2f7);color:var(--ink);white-space:normal;overflow-wrap:anywhere;font-weight:500}.case-entity-tag.pending{background:var(--theme-warning-bg,var(--warning-soft));color:var(--warning-ink);border-color:var(--warning-border)}.technical-repair{border:1px solid var(--warning, #b88036);border-radius:12px;padding:14px;margin-block-end:16px;overflow-wrap:anywhere}.technical-repair p{margin-block:8px}.technical-repair small,.profile-error small{display:block;opacity:.8}.technical-repair button{margin-block-start:8px;max-width:100%}.input-queue{margin-block:1rem;border-top:1px solid var(--border, #414141);padding-block-start:.75rem}.input-queue h4{font-size:.85rem;margin:0 0 .5rem}.queued-input{background:#ffffff0b;border:1px solid var(--border, #414141);border-radius:12px;padding:.65rem .8rem;margin-block:.5rem;min-width:0}.queued-input-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}.queued-input-head small{opacity:.8}.queued-input-head button{padding:.3rem .5rem}.queued-input p{margin:.4rem 0;white-space:pre-wrap;overflow-wrap:anywhere}.queued-input textarea{box-sizing:border-box;width:100%;min-height:5rem}.queued-input summary{cursor:pointer;font-size:.8rem;opacity:.8}.notice .notice-link{border:0;background:none;padding:0;font:inherit;font-weight:600;color:inherit;text-decoration:underline;cursor:pointer}.wa-chat-filters{display:flex;gap:5px;padding:0 12px 11px;background:var(--theme-surface,#f7f9f8);flex-wrap:wrap}.wa-chat-filters button{border:0;border-radius:15px;background:var(--theme-raised,#e9edef);color:var(--theme-text,#54656f);padding:6px 10px;font:inherit;font-size:12px}.wa-chat-filters button[aria-pressed=true]{background:var(--theme-success-bg,#d9fdd3);color:var(--theme-success,#008069)}.wa-compose-tools{display:flex;gap:4px;flex-wrap:wrap;padding:0 0 7px}.wa-compose-tools button{border:0;background:transparent;color:var(--theme-text,#54656f);font-size:11px;border-radius:6px;padding:4px 8px}.wa-compose-tools button:hover{background:var(--theme-raised,#dfe5e7)}.wa-thread-actions{flex-wrap:wrap;justify-content:flex-end;max-width:57%}.wa-record{flex:none;border:0;background:transparent;color:var(--theme-text,#54656f);font-size:20px;width:30px;padding:0}.wa-tools-dialog{width:min(540px,calc(100vw - 22px));max-height:calc(100dvh - 30px);border:0;border-radius:14px;padding:0;background:var(--theme-surface,#fff);color:var(--theme-accent,#111b21);box-shadow:0 18px 70px var(--theme-shadow,#102e3c40);font-family:inherit;overflow:auto}.wa-tools-dialog::backdrop{background:var(--theme-overlay,#0b141a70);backdrop-filter:blur(2px)}.wa-tools-dialog header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--theme-border,#e9edef);position:sticky;top:0;background:var(--theme-surface,white);z-index:2}.wa-tools-dialog h3{margin:0;font-size:18px}.wa-tools-dialog header button{border:0;background:transparent;color:var(--theme-muted,#667781);font-size:24px}.wa-tools-body{padding:20px}.wa-tools-body label{display:flex;flex-direction:column;gap:7px;margin:15px 0;color:var(--theme-text,#3b4a54);font-size:13px}.wa-tools-body input:not([type=checkbox]),.wa-tools-body textarea,.wa-tools-body select{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--theme-border,#d1d7db);border-radius:7px;padding:10px;background:var(--theme-surface,white);color:var(--theme-accent,#111b21);font:inherit}.wa-tools-body input[type=checkbox]{align-self:flex-start;width:20px;height:20px;accent-color:var(--theme-success,#008069)}.wa-tools-body select[multiple]{min-height:120px}.wa-tools-body small,.wa-tools-summary span,.wa-operation-note,.wa-schedule-note{color:var(--theme-muted,#667781);font-size:12px;line-height:1.6}.wa-tools-body p,.wa-tools-body blockquote{white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext;line-height:1.7}.wa-tools-body blockquote{padding:12px;margin:15px 0;background:var(--theme-raised,#f0f2f5);border-inline-start:4px solid var(--theme-success,#00a884);border-radius:5px}.wa-tools-body dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;margin:16px 0;font-size:12px}.wa-tools-body dt{color:var(--theme-muted,#667781)}.wa-tools-body dd{margin:0;overflow-wrap:anywhere}.wa-destructive-note{color:var(--theme-danger,#a53939);background:var(--theme-danger-bg,#fff0ed);padding:10px;border-radius:7px}.wa-tools-summary{padding:12px;background:var(--theme-surface,#f7f9fa);border-radius:9px}.wa-tools-summary strong{font-size:17px}.wa-tools-summary nav{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.wa-tools-summary button,.wa-tools-readout button,.wa-scheduled-job button{border:1px solid var(--theme-border,#d8e1e4);background:var(--theme-surface,white);color:var(--theme-success,#008069);border-radius:7px;padding:7px 10px;font:inherit;font-size:12px}.wa-tools-readout{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px;overflow-wrap:anywhere}.wa-tools-readout a{font-size:12px;color:var(--theme-success,#008069)}.wa-tools-error{margin:0;padding:13px 20px;background:var(--theme-warning-bg,#fff2c8);color:var(--theme-warning,#8b6929);font-size:13px}.wa-tools-error[hidden]{display:none}.wa-scheduled-job{padding:15px 0;border-bottom:1px solid var(--theme-border,#e9edef)}.wa-scheduled-job time{font-size:13px;display:block;color:var(--theme-text,#3b4a54)}.wa-scheduled-job>span{font-size:11px;background:var(--theme-raised,#e9f7ed);color:var(--theme-success,#15714e);border-radius:15px;padding:4px 9px;display:inline-block;margin-top:8px}.wa-scheduled-job p{font-size:14px;margin:10px 0}.wa-scheduled-job small{display:block;margin-bottom:8px}textarea,input[type=text],input[type=search]{unicode-bidi:plaintext;text-align:start}.wa-message-text{unicode-bidi:plaintext}.wa-message-menu-toggle{z-index:2}.wa-action-list{max-height:42dvh;overflow:auto}.wa-jump-latest{bottom:155px}@media(max-width:720px){.wa-thread-header{flex-wrap:wrap}.wa-thread-identity{min-width:calc(100% - 95px)}.wa-thread-actions{max-width:100%;width:100%;justify-content:flex-start;gap:3px}.wa-thread-actions button{min-height:30px;min-width:30px}.wa-thread-header .contact-avatar{width:32px;height:32px}.wa-compose-tools{gap:0}.wa-compose-tools button{padding:4px 6px;font-size:10px}.wa-composer{padding-inline:7px}.wa-compose-row{gap:5px}.wa-tools-body{padding:15px}.wa-tools-dialog{max-height:calc(100dvh - 18px)}.wa-input{padding-inline:9px}.wa-bubble{max-width:92%}}.wa-group-roster{padding-inline-start:20px;font-size:13px;line-height:2}.wa-tools-summary details{margin-top:10px}.wa-custom-reaction{display:flex;align-items:end;gap:8px;padding:6px 22px 12px}.wa-custom-reaction label{display:flex;flex:1;flex-direction:column;gap:5px;font-size:12px;color:var(--theme-muted,#667781)}.wa-custom-reaction input{min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--theme-border,#d1d7db);border-radius:6px;padding:8px}.wa-custom-reaction button{border:0;border-radius:6px;padding:9px 16px;background:var(--theme-success-bg,#e0f2e9);color:var(--theme-success,#008069)}@media(max-width:720px),(max-width:1000px)and (hover:none)and (pointer:coarse){.keyboard-open .wa-thread-header{flex-wrap:nowrap;padding:6px 9px;min-height:44px}.keyboard-open .wa-thread-identity{min-width:0}.keyboard-open .wa-thread-identity small,.keyboard-open .wa-thread-actions button:not([data-wa-tools]):not([data-wa-find]),.keyboard-open .wa-coverage,.keyboard-open .wa-compose-tools,.keyboard-open .wa-composer-meta{display:none}.keyboard-open .wa-thread-actions{width:auto;max-width:70px;flex-wrap:nowrap}.keyboard-open .wa-message-scroll{min-height:0;flex:1}.keyboard-open .wa-composer{flex-shrink:0}.keyboard-open .wa-transport-notice{padding-block:3px}}.wa-thread-header{background:var(--theme-raised,#f0f2f5)}.wa-thread-actions{flex-direction:row;align-items:center}.wa-thread-actions button{min-width:34px;min-height:34px;border:0;background:transparent;border-radius:50%;font-size:15px;color:var(--theme-text,#54656f)}.wa-thread-actions button:hover{background:var(--theme-raised,#dce3e5)}.wa-thread-actions [data-wa-case],.wa-thread-actions [data-wa-resume],.wa-thread-actions [data-case-whatsapp]{font-size:11px;border-radius:8px}.wa-message-menu-toggle{position:absolute;z-index:2;top:3px;inset-inline-end:3px;border:0;background:linear-gradient(90deg,transparent,var(--theme-surface,#fff) 25%);color:var(--theme-text,#54656f);border-radius:4px;width:28px;height:27px;font-size:22px;line-height:1;opacity:0;cursor:pointer}.outgoing .wa-message-menu-toggle{background:linear-gradient(90deg,transparent,var(--theme-success-bg,#d9fdd3) 25%)}.wa-bubble:hover .wa-message-menu-toggle,.wa-bubble:focus-within .wa-message-menu-toggle{opacity:1}.wa-bubble{padding-inline-end:26px}.wa-action-dialog{width:min(420px,calc(100vw - 28px));max-height:min(680px,calc(100dvh - 32px));border:0;border-radius:14px;padding:0;background:var(--theme-surface,white);color:var(--theme-accent,#111b21);box-shadow:0 18px 70px var(--theme-shadow,#102e3c40);overflow:auto;font-family:inherit}.wa-action-dialog::backdrop{background:var(--theme-overlay,#0b141a70);backdrop-filter:blur(2px)}.wa-action-dialog header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--theme-border,#e9edef)}.wa-action-dialog h3{font-size:17px;margin:0;font-weight:600}.wa-action-dialog button{font:inherit;cursor:pointer}.wa-action-dialog header button{border:0;background:transparent;font-size:24px;color:var(--theme-muted,#667781);width:34px;height:34px;border-radius:50%}.wa-action-dialog blockquote{margin:16px 20px;padding:12px;background:var(--theme-raised,#f0f2f5);border-inline-start:4px solid var(--theme-success,#00a884);border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;font-size:14px}.wa-quick-reactions{display:flex;gap:5px;padding:6px 17px 13px;justify-content:space-between}.wa-quick-reactions button{border:0;border-radius:50%;width:40px;height:40px;font-size:25px;background:var(--theme-raised,#f0f2f5)}.wa-quick-reactions button:hover{background:var(--theme-success-bg,#d9fdd3);transform:scale(1.08)}.wa-action-list{display:grid;padding:6px 0 12px}.wa-action-list button{border:0;background:transparent;padding:13px 24px;text-align:start;color:var(--theme-text,#3b4a54);font-size:14px}.wa-action-list button:hover{background:var(--theme-raised,#f0f2f5)}.wa-action-dialog button:disabled{opacity:.4;cursor:default}.wa-contact-picker{padding:18px}.wa-contact-picker>input,.wa-name-editor input{box-sizing:border-box;width:100%;border:1px solid var(--theme-border,#d1d7db);border-radius:8px;background:var(--theme-raised,#f0f2f5);padding:12px;font:inherit;color:var(--theme-accent,#111b21);outline-color:var(--theme-success,#00a884)}.wa-picker-help,.wa-picker-coverage,.wa-name-editor p{font-size:12px;color:var(--theme-muted,#667781);line-height:1.6}.wa-contact-options{max-height:330px;overflow:auto}.wa-contact-options button{display:flex;align-items:center;gap:13px;width:100%;border:0;border-bottom:1px solid var(--theme-border,#edf0f2);background:var(--theme-surface,white);text-align:start;padding:12px 3px;color:inherit}.wa-contact-options button:hover{background:var(--theme-raised,#f5f6f6)}.wa-contact-options button>span:nth-child(2){flex:1;min-width:0}.wa-contact-options strong,.wa-contact-options small{display:block;overflow-wrap:anywhere}.wa-contact-options strong{font-size:14px;font-weight:500}.wa-contact-options small{font-size:11px;color:var(--theme-muted,#667781);margin-top:4px}.wa-contact-initial{display:grid;place-items:center;background:var(--theme-raised,#dfe5e7);color:var(--theme-text,#54656f);border-radius:50%;width:42px;height:42px;font-size:21px;flex:none}.wa-confirm{border:0;border-radius:22px;background:var(--theme-success-solid,#008069);color:var(--theme-on-solid,white);padding:11px 22px;font-weight:600}.wa-action-dialog footer{display:flex;justify-content:space-between;padding:16px 20px;border-top:1px solid var(--theme-border,#e9edef);gap:10px}.wa-action-dialog footer>button:not(.wa-confirm){border:0;background:transparent;color:var(--theme-success,#008069)}.wa-action-preview{text-align:center;padding:20px 10px}.wa-preview-icon{display:grid;place-items:center;margin:auto;width:58px;height:58px;border-radius:50%;background:var(--theme-success-bg,#d9fdd3);color:var(--theme-success,#008069);font-size:29px}.wa-action-preview p{font-size:14px}.wa-action-preview small{font-size:12px;color:var(--theme-muted,#667781)}.wa-action-error{background:var(--theme-warning-bg,#fff4dd);color:var(--theme-warning,#8a5c00);padding:13px 20px;font-size:13px;margin:0}.wa-name-editor,.wa-message-info{padding:22px}.wa-name-editor label{display:block;font-size:13px}.wa-name-editor input{margin-top:9px}.wa-thread-search{display:flex;align-items:center;gap:4px;padding:8px 12px;background:var(--theme-raised,#f0f2f5)}.wa-thread-search input{min-width:0;flex:1;border:1px solid var(--theme-border,#d9e0e3);border-radius:7px;padding:8px;font:inherit;font-size:12px}.wa-thread-search button{border:0;background:transparent;color:var(--theme-text,#54656f);font-size:18px;padding:5px}.wa-search-count{font-size:10px;color:var(--theme-muted,#667781);max-width:115px}.wa-search-hit{outline:2px solid var(--theme-warning,#ffd666)}.wa-search-current{outline:3px solid var(--theme-success,#00a884)}.wa-conversation{position:relative}.wa-jump-latest{position:absolute;bottom:115px;inset-inline-end:15px;width:35px;height:35px;border:0;border-radius:50%;background:var(--theme-surface,white);color:var(--theme-text,#54656f);box-shadow:0 2px 7px var(--theme-shadow,#0002);z-index:3;font-size:23px}.wa-thread-search[hidden],.wa-action-error[hidden]{display:none}@media(hover:none){.wa-message-menu-toggle{opacity:1}}@media(max-width:720px){.wa-thread-actions{gap:1px;max-width:50%;flex-wrap:wrap}.wa-thread-actions button{min-width:30px;min-height:30px;padding:4px}.wa-action-dialog{max-height:calc(100dvh - 20px)}.wa-bubble{padding-inline-end:25px}.wa-thread-search{padding:7px}.wa-action-list button{min-height:44px}.wa-contact-options{max-height:40dvh}}.wa-forwarded-label{display:block;font-size:11px;font-style:italic;color:var(--theme-muted,#667781);margin-bottom:5px}.wa-shared-contact{display:grid;grid-template-columns:40px 1fr;gap:3px 10px;min-width:190px;padding:10px}.wa-shared-contact>span{grid-row:span 2;display:grid;place-items:center;border-radius:50%;background:var(--theme-raised,#dfe5e7);color:var(--theme-text,#54656f);font-size:26px}.wa-shared-contact strong{font-size:14px}.wa-shared-contact small{font-size:11px;color:var(--theme-muted,#667781)}.case-columns{height:var(--case-height,360px);align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.case-pane{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.inline-grid>.case-pane{padding:0}.case-pane-header{flex:none;min-width:0}.inline-grid .case-pane-header{padding:16px 18px}.inline-grid .case-pane-header h4{margin:0 0 8px}.case-scroll{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:auto;overflow-anchor:none}.case-pane>.messages{display:block;min-height:0;max-height:none;overflow-y:auto}.message-list{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0}.case-columns .activity{max-height:none;min-height:0;overflow:visible}.case-columns .context-audit .messages{min-height:0;max-height:none;overflow:visible}.case-controls{flex:none;border-top:1px solid var(--border);padding:18px;min-width:0}.case-controls:empty{display:none}.case-controls form{margin:0}.case-controls form button{margin-top:10px}.case-columns .case-controls textarea{min-height:105px;max-height:240px}@media(max-width:1100px){.case-columns{grid-template-columns:minmax(0,1fr);height:auto}.case-pane.conversation{height:var(--conversation-height,320px)}.agent-panel>.case-scroll{flex:none;overflow:visible}}.case-scroll>[data-panel-content]:not(.message-list){display:flow-root}[data-scroll-key]:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}@media(max-width:1000px){.app-shell{display:block}.connection-note,.nav-label,.brand small,.user small,.user .avatar{display:none}.sidebar{height:auto;border-left:0;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 12px;background:var(--theme-surface,#fff);box-shadow:0 2px 8px var(--theme-shadow,#38455d0a)}.brand{grid-column:1;grid-row:1;justify-content:flex-end;margin:0;min-width:0}.sidebar-bottom{grid-column:2;grid-row:1;order:0;min-width:0}.workspace-nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:0}.nav-item{order:0;margin:0;position:relative;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:60px;font-size:11px;padding:6px 2px;text-align:center;white-space:nowrap}.nav-item b{position:absolute;top:2px;inset-inline-end:2px;margin:0;padding:2px 4px;font-size:9px;min-width:16px}.nav-planned{display:none}.user{gap:8px;font-size:13px}.icon-button{width:44px;height:44px;padding:8px}.workspace{padding:18px 12px max(18px,env(safe-area-inset-bottom));margin:0}.topbar{gap:12px;margin-bottom:18px}.topbar h1{font-size:clamp(18px,5.3vw,23px);line-height:1.4;letter-spacing:-.4px}.topbar-actions{width:100%;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px;align-items:center}.topbar-actions .emergency-stop{min-height:44px;width:100%;padding:10px;font-size:12px}.connection-toolbar{gap:12px;margin-bottom:16px;align-items:stretch}.connections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.connection{min-height:36px;font-size:12px;padding:8px;min-width:0;gap:6px}.connection b{display:inline;font-size:10px;margin-right:auto}.monitor-controls{width:100%}.connection-toolbar .control-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}.control-buttons button{min-height:44px;font-size:12px;padding:10px;overflow-wrap:anywhere}.metrics{gap:7px;margin-bottom:16px}.metrics article{padding:13px 8px}.metrics article:first-child{padding-top:11px}.metrics article>span{font-size:12px;line-height:1.5;display:block}.metrics strong{font-size:26px;margin:8px 0}.metrics small{display:none}.panel-header{padding:16px;gap:12px}.panel-header h2,.panel-header h3{font-size:16px}.panel-header p{font-size:12px}input,select,textarea{font-size:16px}button,a.open-button{min-height:44px}.search{font-size:16px;min-height:44px}.empty p,.muted{font-size:13px}#queue{padding:10px}.table-wrap{overflow:visible}#queue table,#queue tbody{display:block;width:100%}#queue thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#queue tbody{display:flex;flex-direction:column;gap:12px}.queue-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--theme-surface,white)}.queue-row>td{border:0;padding:0;min-width:0;background:transparent!important}.queue-person{grid-column:1;grid-row:1}.queue-state{grid-column:2;grid-row:1;text-align:end;max-width:108px}.person-link{white-space:normal;font-size:14px;width:100%;min-height:44px;text-align:start;gap:9px;overflow-wrap:anywhere}.person-link span{min-width:0}.person-link small{font-size:11px;line-height:1.5}.status-tag{display:inline-block;font-size:11px;padding:6px 8px;white-space:normal}.queue-row>.preview{grid-column:1/-1;grid-row:2;min-width:0;max-width:none;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.preview small{font-size:11px}.queue-updated{grid-column:1/-1;grid-row:3;font-size:11px;white-space:normal}.queue-actions{grid-column:1/-1;grid-row:4}.row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:7px;width:100%}.row-actions button{min-height:44px;width:100%;padding:10px 6px;font-size:12px;white-space:normal;overflow-wrap:anywhere}.row-actions .open-button,.row-actions .assign-agent{grid-column:1/-1}#queue tr:not(.queue-row),#queue tr:not(.queue-row)>td{display:block;width:100%;min-width:0}#queue tr:not(.queue-row)>td{padding:0;border:0}.case-preview-row{margin-top:-12px;border:1px solid var(--border);border-top:0;border-radius:0 0 12px 12px;overflow:hidden}.instruction-row{padding:14px;background:var(--surface-soft);border-radius:12px}.instruction-row form{flex-direction:column;align-items:stretch}.inline-case{padding:12px}.inline-grid{gap:12px}.inline-grid .case-pane-header,.inline-grid .messages{padding:14px}.inline-grid form button,.instruction-row form>button{width:100%;min-height:44px}.messages{padding:14px}.message{max-width:96%;font-size:15px;padding:12px;line-height:1.7}.message small{font-size:11px}.message-time{font-size:12px}.activity{padding:14px}.activity-entry{font-size:14px}.activity-entry strong{font-size:12px}.detail-heading{gap:14px;margin-bottom:16px}.detail-heading h2{font-size:21px;overflow-wrap:anywhere}#case-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}#case-actions .assign-agent{grid-column:1/-1}.back-button{min-height:44px;margin-bottom:8px;font-size:13px}.case-controls,#instructions-form{padding:14px}.case-controls textarea{font-size:16px;min-height:120px}.form-foot{flex-direction:column;align-items:stretch}.form-foot button{width:100%;min-height:44px;font-size:14px}.tools{padding:14px}.tools-body{gap:20px}.tools-body form{flex-direction:column;align-items:stretch}.tools-body form label{width:100%}.tools-body button{min-height:44px;font-size:13px}.tools summary,.context-audit summary,.assignment summary,.proposal-history summary{min-height:44px;display:flex;align-items:center;line-height:1.5;padding-block:8px;font-size:13px}.proposal,.learning-card{padding:13px;overflow-wrap:anywhere;min-width:0}.proposal button,.learning-card button,.context-audit button{width:100%;min-height:44px}.proposal blockquote,.proposal p,.learning-card p,.context-audit-body{font-size:14px}.human-mark{width:44px;height:44px;padding:10px;margin-inline-start:0}.human-popover button{min-height:44px}.human-popover,.notice{font-size:13px}#toast{bottom:max(16px,env(safe-area-inset-bottom));font-size:14px;width:max-content;max-width:calc(100vw - 24px)}.login-card input{min-height:48px;font-size:16px}.login-page{padding:24px 14px}#whatsapp-inbox{scroll-margin-top:calc(var(--mobile-nav-height,128px) + 12px)}.wa-shell{display:block;height:calc(var(--visible-height,100dvh) - var(--mobile-nav-height,128px) - 24px);min-height:220px;max-height:none;border-radius:12px}.wa-list-pane{height:100%;border:0}.wa-conversation{display:none;height:100%}.wa-chat-open .wa-list-pane{display:none}.wa-chat-open .wa-conversation{display:flex}.wa-mobile-back{display:block;padding:3px;background:transparent;border:0;font-size:23px;color:var(--theme-text,#486d5e)}.wa-chat{min-height:78px}.wa-chat-name{font-size:15px}.wa-chat-preview{font-size:13px}.wa-search{font-size:16px;min-height:44px}.wa-thread-header{padding:10px;gap:8px}.wa-thread-actions button{min-height:44px;font-size:11px;padding:6px 8px}.wa-thread-identity h2{font-size:16px}.wa-coverage{font-size:11px}.wa-message-text{font-size:16px}.wa-message-meta{font-size:11px}.wa-message-meta button{min-width:44px;min-height:44px;font-size:17px}.wa-input{font-size:16px;min-height:48px;resize:none;max-height:144px;padding:10px}.wa-send{width:48px;height:48px;min-height:48px}.wa-attach{width:44px;height:48px;flex:none}.wa-compose-row{gap:6px}.wa-composer-meta{font-size:10px;line-height:1.5;gap:6px}.wa-document{overflow-wrap:anywhere;min-height:44px}.wa-draft-context{font-size:13px}.wa-draft-context button{min-width:44px;min-height:44px}.wa-quote{font-size:13px}.wa-media-download{font-size:13px;min-height:44px;display:flex;align-items:center}.keyboard-open .sidebar .brand,.keyboard-open .sidebar-bottom{display:none}.keyboard-open .workspace-nav{grid-row:1}.keyboard-open .wa-shell{height:calc(var(--visible-height,100dvh) - var(--mobile-nav-height,64px) - 12px);min-height:160px}}@media(max-width:360px){.queue-row{padding:11px;gap:10px}.queue-state{max-width:88px}.contact-avatar{width:34px;height:34px}.row-actions button{font-size:11px}.connection b{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media(max-width:1000px){.keyboard-open #whatsapp-inbox{scroll-margin-top:calc(var(--mobile-nav-height,64px) + 12px)}a.open-button{display:inline-flex;align-items:center;justify-content:center}}@media(max-width:1000px){.keyboard-open .workspace{padding-bottom:calc(var(--keyboard-inset,0px) + max(18px,env(safe-area-inset-bottom)))}}@media(max-height:500px)and (max-width:1000px)and (pointer:coarse){.sidebar .brand,.sidebar-bottom{display:none}.sidebar .workspace-nav{grid-row:1}.sidebar{padding-block:6px}}@media(max-width:1000px){.keyboard-open .whatsapp-mode .workspace-nav .nav-item:not(.chosen){display:none}}.system-overview{margin:0 0 18px;border-block:1px solid var(--border);font-size:13px}.system-overview>summary{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer;list-style:none}.system-overview>summary::-webkit-details-marker{display:none}.system-overview>summary:after{content:"⌄";margin-inline-start:auto;font-size:18px}.system-overview[open]>summary:after{content:"⌃"}.system-overview>summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:4px}.system-connection-summary{color:var(--muted);font-size:12px}.system-connection-summary.needs-attention{color:var(--theme-warning-text,#96621b)}.system-details{padding:4px 0 16px}.system-details .connection-toolbar{margin:14px 0 0}.metrics{gap:0;margin-bottom:18px;border-block-end:1px solid var(--border)}.metrics article,.metrics article:first-child{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding:8px 14px 14px;background:transparent;border:0;border-radius:0}.metrics strong{display:inline;font-size:22px;margin:0;font-variant-numeric:tabular-nums}.metrics small{display:none}.operator-attention{padding:0;margin:0 0 20px;border:0;border-radius:0;background:none;box-shadow:none}.operator-attention>header{align-items:center;margin-bottom:12px}.operator-attention>header[hidden]{display:none}.operator-attention h2{font-size:19px;margin:0}.attention-grid{grid-template-columns:minmax(0,1fr);gap:12px}.decision-card{padding:18px 20px;border-radius:12px}.decision-heading{gap:12px;align-items:flex-start}.decision-heading strong{overflow-wrap:anywhere;min-width:0;font-size:15px}.decision-heading>button{flex-shrink:0;border:0;background:transparent;color:var(--muted);padding:4px 0;min-height:32px;font-size:12px}.decision-context{gap:10px;margin-top:10px}.decision-context h3{font-size:12px;margin-bottom:3px;font-weight:500}.decision-context p{font-size:14px;line-height:1.6}.decision-ask .decision-question{font-size:16px;font-weight:600}.decision-last-message{border:0;padding:0;color:var(--muted)}.decision-last-message p{font-size:13px}.decision-context details{font-size:12px}.decision-card form{display:flex;gap:10px;align-items:flex-end;margin-top:12px}.decision-card label{flex:1;min-width:0;margin:0;font-size:12px;font-weight:500}.decision-card textarea{min-height:66px;margin:6px 0 0;padding:9px 11px;font-size:14px}.decision-card form>button{flex-shrink:0;min-height:42px;margin-bottom:1px}.attention-received{margin:0;padding:14px 18px;border-radius:10px}.attention-received strong{overflow-wrap:anywhere}.attention-received p{font-size:13px;margin:4px 0 0;color:var(--muted)}@media(min-width:900px){.decision-context{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}.decision-last-message,.decision-blockers{grid-column:1/-1}}@media(max-width:720px){.system-overview>summary{flex-wrap:wrap;gap:6px 10px;padding-block:8px}.metrics article,.metrics article:first-child{display:block;padding:8px 4px 12px}.metrics article>span{font-size:11px}.metrics strong{display:block;font-size:22px;margin-top:5px}.operator-attention h2{font-size:18px}.decision-card{padding:14px}.decision-card form{flex-direction:column;align-items:stretch}.decision-card label{width:100%}.decision-card textarea{font-size:16px}.decision-card form>button{min-height:44px;align-self:flex-end}.decision-context{gap:10px}.decision-ask .decision-question{font-size:15px}.decision-heading>button{min-height:44px;padding:4px}}.wa-icon{display:block;flex:none;width:24px;height:24px;pointer-events:none}.wa-thread-header button,.wa-compose-row button,.wa-list-actions button{display:grid;place-items:center;border:0;background:transparent;color:var(--theme-text,#54656f);cursor:pointer;padding:7px;border-radius:50%;flex:none;min-height:40px;min-width:40px}.wa-thread-header button:hover,.wa-compose-row button:hover,.wa-list-actions button:hover{background:var(--theme-raised,#e7e9eb)}.wa-thread-header button:focus-visible,.wa-compose-row button:focus-visible,.wa-popover button:focus-visible,.wa-row-menu:focus-visible{outline:2px solid var(--theme-success,#00a884);outline-offset:2px}.wa-shell{border-radius:12px;grid-template-columns:minmax(300px,34%) minmax(0,1fr);box-shadow:0 6px 26px var(--theme-shadow,#102d3710)}.wa-list-header{background:var(--theme-surface,#fff);padding:16px 20px 10px;min-height:65px}.wa-list-header h2{font-size:23px;color:var(--theme-accent,#111b21);font-weight:700;letter-spacing:-.4px}.wa-list-header>div>span{font-size:11px}.wa-list-actions{display:flex;align-items:center;gap:10px}.wa-list-header .wa-connection{font-size:12px}.wa-search-wrap{position:relative;background:var(--theme-surface,#fff);padding:8px 12px}.wa-search-wrap>.wa-icon{position:absolute;inset-inline-start:24px;top:19px;width:18px;height:18px;color:var(--theme-muted,#667781)}.wa-search{background:var(--theme-raised,#f0f2f5);border-radius:9px;padding:11px 42px 11px 15px;font-size:13px}.wa-chat-filters{background:var(--theme-surface,#fff);padding:4px 12px 12px;gap:7px}.wa-chat-filters button{background:var(--theme-raised,#f0f2f5);color:var(--theme-text,#54656f);padding:7px 12px;border:1px solid var(--theme-border,#e9edef)}.wa-chat-filters button[aria-pressed=true]{background:var(--theme-success-bg,#d9fdd3);color:var(--theme-success,#008069);border-color:var(--theme-border,#d9fdd3)}.wa-chat-row{position:relative}.wa-chat{padding:12px;min-height:78px;gap:13px}.wa-chat:hover,.wa-chat-row:focus-within .wa-chat{background:var(--theme-raised,#f5f6f6)}.wa-chat.selected{background:var(--theme-raised,#f0f2f5)}.wa-chat-name{font-size:15px;font-weight:500;color:var(--theme-accent,#111b21)}.wa-chat-preview{font-size:13px;color:var(--theme-muted,#667781)}.wa-chat-side{padding-inline-end:19px;color:var(--theme-muted,#667781)}.wa-chat-side b{background:var(--theme-success-solid,#25d366);color:var(--theme-on-solid,#fff);font-size:11px;min-width:19px}.wa-row-menu{position:absolute;inset-inline-end:8px;bottom:9px;border:0;border-radius:50%;background:var(--theme-raised,#f0f2f5);color:var(--theme-muted,#667781);width:27px;height:27px;padding:3px;display:grid;place-items:center;opacity:0;cursor:pointer}.wa-row-menu .wa-icon{width:20px;height:20px}.wa-chat-row:hover .wa-row-menu,.wa-chat-row:focus-within .wa-row-menu,.wa-row-menu[aria-expanded=true]{opacity:1}.wa-row-pin{display:inline-flex!important;vertical-align:middle}.wa-row-pin .wa-icon{width:13px;height:13px;transform:rotate(-30deg)}.wa-chat-name small:not(.wa-row-pin){display:none}.wa-list-footer{font-size:10px;background:var(--theme-surface,#fff);color:var(--theme-muted,#8696a0);padding:10px}.wa-thread-header,.case-live-chat .wa-thread-header{min-height:66px;padding:8px 15px;gap:12px;background:var(--theme-surface,#fff);border-bottom:1px solid var(--theme-border,#e9edef);flex-wrap:nowrap}.wa-thread-header .wa-profile-button{padding:0;min-width:42px;border-radius:50%}.wa-thread-header .wa-profile-button .contact-avatar{width:42px;height:42px}.wa-thread-header .wa-thread-identity{display:block;text-align:start;flex:1;min-width:0;padding:0;background:transparent;border-radius:0;color:var(--theme-accent,#111b21)}.wa-thread-identity h2,.case-live-chat .wa-thread-identity h2{font-size:16px;font-weight:500;line-height:1.5;margin:0}.wa-thread-identity small{color:var(--theme-muted,#667781);font-size:11px}.wa-thread-actions,.case-live-chat .wa-thread-actions{max-width:none;width:auto;display:flex;flex-wrap:nowrap;flex-direction:row;gap:10px;justify-content:flex-end}.wa-thread-actions button{width:40px;height:40px;padding:8px}.wa-thread-actions button .wa-icon{width:23px;height:23px}.wa-mobile-back{min-width:32px!important;width:32px;padding:4px!important}.wa-hidden-commands[hidden]{display:none}.wa-coverage{padding:5px 12px;font-size:10px;color:var(--theme-muted,#8b8d89);background:var(--theme-raised,#f7f3ec)}.wa-message-scroll,.case-live-chat .wa-message-scroll{padding:14px clamp(20px,4vw,55px) 25px;background-color:var(--theme-raised,#efeae2);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23d6ccbb' stroke-opacity='.33' stroke-width='1'%3E%3Cpath d='M15 20q8-8 16 0t0 16-16 0 0-16zM80 14l9 18-21-3zM124 18q12-8 20 5l-5 15-15-6zM15 95l9-12 10 12-10 12zM72 67q7-12 14 0t-14 0zM119 98q20-10 23 5-8 16-23-5zM58 132l12-6 7 12-12 6zM122 146l13-11M126 129l11 13M43 55l10 7M47 50l3 16'/%3E%3C/g%3E%3C/svg%3E")}.wa-bubble{color:var(--theme-accent,#111b21);border-radius:7px;max-width:80%;padding:7px 9px 4px;padding-inline-end:23px}.wa-message-text{line-height:1.5;font-size:14px}.wa-message-meta{font-size:10px;color:var(--theme-muted,#667781);gap:4px}.wa-message-meta [data-wa-quote]{display:none}.wa-message-meta .wa-icon{width:15px;height:15px}.wa-sender{font-size:12px;margin-bottom:3px}.wa-date{margin:10px 0 14px;font-size:11px}.wa-date span{background:var(--theme-surface,#fffdf8);box-shadow:0 1px 1px var(--theme-shadow,#0b141a15);color:var(--theme-text,#54656f);padding:6px 12px}.wa-message-menu-toggle{width:23px;height:23px;display:grid;place-items:center;inset-inline-end:1px}.wa-message-menu-toggle .wa-icon{width:20px;height:20px}.wa-message-react{position:absolute;inset-inline-end:calc(100% + 7px);top:8px;border:0;border-radius:50%;padding:4px;background:var(--theme-surface,#fff);color:var(--theme-muted,#667781);box-shadow:0 1px 4px var(--theme-shadow,#0b141a15);opacity:0;cursor:pointer;display:grid;place-items:center}.wa-bubble.outgoing .wa-message-react{inset-inline-start:calc(100% + 7px);inset-inline-end:auto}.wa-message-react .wa-icon{width:18px;height:18px}.wa-bubble:hover .wa-message-react,.wa-bubble:focus-within .wa-message-react{opacity:1}.wa-jump-latest{bottom:106px;width:38px;height:38px;display:grid;place-items:center}.wa-jump-latest .wa-icon{width:22px;height:22px}.wa-composer,.case-live-chat .wa-composer{padding:10px 12px 5px;background:var(--theme-raised,#f0f2f5)}.wa-compose-row,.case-live-chat .wa-compose-row{display:flex;gap:6px;align-items:center;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#edf0f1);border-radius:26px;padding:3px 5px}.wa-compose-row .wa-input{min-height:40px;max-height:140px;padding:9px 5px;border:0;border-radius:0;resize:none;box-shadow:none;background:transparent;font-size:14px;line-height:1.5}.wa-compose-row .wa-input:focus{border:0;box-shadow:none}.wa-compose-row .wa-emoji-toggle,.wa-compose-row .wa-attach-toggle,.wa-compose-row .wa-record,.wa-compose-row .wa-schedule-toggle{width:36px;min-width:36px;height:38px;min-height:38px;padding:7px;color:var(--theme-text,#54656f)}.wa-compose-row .wa-schedule-toggle{width:31px;min-width:31px}.wa-schedule-toggle .wa-icon{width:20px;height:20px}.wa-compose-row .wa-record,.wa-compose-row .wa-send{background:var(--theme-success-solid,#1da75b);color:var(--theme-on-solid,#fff);width:39px;height:39px;min-width:39px;min-height:39px}.wa-compose-row .wa-record:hover,.wa-compose-row .wa-send:hover{background:var(--theme-success-solid,#148d4b)}.wa-send .wa-icon{width:22px;height:22px}.wa-compose-row button[hidden]{display:none}.wa-composer-meta{padding:6px 10px 0;font-size:9px;min-height:15px;color:var(--theme-muted,#8696a0)}.wa-human-state{color:var(--theme-muted,#8696a0)}.wa-draft-context{padding:0 2px 9px}.wa-emoji-panel{bottom:calc(100% + 3px);box-shadow:0 4px 20px var(--theme-shadow,#0b141a20);border:0;border-radius:14px}.wa-welcome{background:var(--theme-surface,#f7f9fa)}.wa-welcome-icon{background:var(--theme-raised,#e5f2eb);border-radius:50%;width:90px;height:90px;color:var(--theme-success,#008069)}.wa-welcome-icon .wa-icon{width:48px;height:48px}.wa-welcome h2{font-weight:400;color:var(--theme-text,#3b4a54)}.wa-welcome p{color:var(--theme-muted,#8696a0)}.wa-popover{position:fixed;z-index:1300;width:270px;min-width:210px;max-height:calc(100dvh - 18px);overflow:auto;background:var(--theme-surface,#fff);color:var(--theme-accent,#111b21);padding:7px 0;border:1px solid var(--theme-border,#e9edef);border-radius:12px;box-shadow:0 5px 16px var(--theme-shadow,#0b141a24);font-family:inherit}.wa-popover button{display:flex;align-items:center;gap:15px;min-height:44px;text-align:start;width:100%;padding:10px 19px;border:0;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}.wa-popover button .wa-icon{width:19px;height:19px;color:var(--theme-muted,#667781)}.wa-popover button:hover,.wa-popover button:focus{background:var(--theme-raised,#f5f6f6)}.wa-popover button:disabled{opacity:.4;cursor:default}.wa-popover button small{font-size:10px;margin-inline-start:auto;color:var(--theme-muted,#8696a0)}.wa-menu-separator{height:1px;background:var(--theme-raised,#e9edef);margin:6px 0}.wa-menu-danger,.wa-menu-danger .wa-icon{color:var(--theme-danger,#d13b46)!important}.wa-attachment-popover{width:240px}.wa-attachment-popover button{min-height:46px}.wa-attachment-popover button .wa-icon{color:var(--theme-success,#008069)}.wa-selected-operation>strong{font-size:19px;color:var(--theme-accent,#111b21);font-weight:500}.wa-tools-summary[hidden]{display:none}.wa-selected-operation{margin-top:0!important}.wa-selected-operation select[hidden]{display:none}.wa-tools-dialog,.wa-action-dialog{border-radius:13px}.wa-tools-dialog h3,.wa-action-dialog h3{font-weight:500}.wa-tools-body{padding:22px}.wa-tools-body label{font-size:13px}.wa-tools-body label input,.wa-tools-body label textarea,.wa-tools-body label select{border:1px solid var(--theme-border,#d1d7db);border-radius:7px}.wa-tools-body label input:focus,.wa-tools-body label textarea:focus,.wa-tools-body label select:focus{outline:2px solid var(--theme-success,#00a884);outline-offset:1px}.wa-confirm{background:var(--theme-success-solid,#008069);font-weight:500;min-height:42px}.wa-message-popover{position:fixed;inset:auto;margin:0;width:310px;max-width:calc(100vw - 18px);max-height:min(630px,calc(100dvh - 18px));z-index:1400;box-shadow:0 5px 22px var(--theme-shadow,#0b141a30);border:1px solid var(--theme-border,#e9edef);border-radius:12px;padding-top:7px;overflow:auto}.wa-message-popover header{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;padding:0;border:0}.wa-message-popover>blockquote{display:none}.wa-message-popover .wa-quick-reactions{gap:3px;padding:5px 8px 9px;border-bottom:1px solid var(--theme-border,#e9edef)}.wa-message-popover .wa-quick-reactions button{width:36px;height:36px;font-size:23px;background:var(--theme-raised,#f5f6f6);min-width:0}.wa-message-popover .wa-custom-reaction{padding:9px 14px;gap:7px;background:var(--theme-surface,#f9fafb)}.wa-message-popover .wa-custom-reaction label{font-size:10px;gap:3px}.wa-message-popover .wa-custom-reaction input{padding:6px;width:100%;max-width:180px;min-height:31px}.wa-message-popover .wa-custom-reaction button{padding:6px 12px;font-size:12px;min-height:31px}.wa-message-popover .wa-action-list{max-height:310px;padding:5px 0}.wa-action-list button{display:flex;align-items:center;gap:14px;font-size:13px;padding:10px 20px;min-height:41px}.wa-action-list button .wa-icon{width:19px;height:19px;color:var(--theme-muted,#667781)}.wa-info-drawer{position:absolute;z-index:7;inset-block:0;inset-inline-end:0;width:min(370px,47%);display:flex;flex-direction:column;background:var(--theme-surface,#fff);border-inline-start:1px solid var(--theme-border,#e9edef);box-shadow:-3px 0 14px var(--theme-shadow,#0b141a09)}.wa-info-drawer>header{display:flex;align-items:center;gap:18px;height:65px;min-height:65px;padding:0 16px;border-bottom:1px solid var(--theme-border,#e9edef);background:var(--theme-surface,#fff)}.wa-info-drawer>header h3{margin:0;font-size:15px;font-weight:500}.wa-info-drawer button{border:0;background:transparent;color:var(--theme-text,#54656f);cursor:pointer;font:inherit}.wa-info-drawer>header button{padding:7px;border-radius:50%}.wa-info-body{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;padding:0 22px 20px}.wa-info-profile{text-align:center;padding:27px 0 20px}.wa-info-profile>.contact-avatar{width:120px;height:120px;margin:0 auto 20px;font-size:38px}.wa-info-profile h2{font-size:23px;font-weight:500;margin:0 0 6px;color:var(--theme-accent,#111b21);overflow-wrap:anywhere}.wa-info-profile p{font-size:13px;color:var(--theme-muted,#667781);margin:0}.wa-info-profile p strong{color:var(--theme-success,#008069);font-weight:500}.wa-info-profile>button{display:inline-flex;align-items:center;gap:8px;border-radius:18px;margin-top:15px;background:var(--theme-raised,#f5f6f6);padding:9px 15px;color:var(--theme-success,#008069);font-size:12px}.wa-info-profile>button .wa-icon{width:17px;height:17px}.wa-info-section{border-top:1px solid var(--theme-border,#e9edef);padding:20px 0}.wa-info-description{display:flex;align-items:start;gap:10px}.wa-info-description p{font-size:14px;line-height:1.6;margin:0;flex:1;color:var(--theme-text,#3b4a54);white-space:pre-wrap;overflow-wrap:anywhere}.wa-info-description button{padding:2px}.wa-info-description .wa-icon{width:19px;height:19px}.wa-info-links{display:flex;flex-direction:column;gap:3px;padding:12px 0}.wa-info-links button{display:flex;align-items:center;gap:22px;text-align:start;padding:14px 0;font-size:13px;color:var(--theme-accent,#111b21)}.wa-info-links button .wa-icon{width:21px;height:21px;color:var(--theme-muted,#667781)}.wa-info-links button:disabled{opacity:.4;cursor:default}.wa-roster-heading{display:flex;justify-content:space-between;align-items:center;color:var(--theme-muted,#667781)}.wa-roster-heading h4{font-size:12px;font-weight:500;margin:0}.wa-roster-heading button{padding:4px}.wa-roster-search{display:flex;align-items:center;gap:9px;border-radius:8px;background:var(--theme-raised,#f0f2f5);padding:8px 10px;margin:15px 0 7px}.wa-roster-search .wa-icon{width:17px;height:17px;color:var(--theme-muted,#667781)}.wa-roster-search input{border:0;background:transparent;min-width:0;width:100%;font:inherit;font-size:12px;outline:0}.wa-info-roster{list-style:none;padding:0;margin:0}.wa-info-roster li{display:flex;align-items:center;gap:12px;min-height:68px;padding:9px 0}.wa-info-roster li[hidden]{display:none}.wa-info-roster li>div{flex:1;min-width:0;font-size:13px;color:var(--theme-accent,#111b21);overflow-wrap:anywhere}.wa-info-roster li small{display:block;font-size:11px;color:var(--theme-muted,#667781);margin-top:5px}.wa-info-roster .wa-contact-initial{width:39px;height:39px;background:var(--theme-raised,#e9edef)}.wa-info-roster .wa-contact-initial .wa-icon{width:23px;height:23px}.wa-admin-badge{font-size:9px;color:var(--theme-success,#008069);border-radius:4px;background:var(--theme-success-bg,#d9fdd3);padding:4px;white-space:nowrap}.wa-info-open .wa-message-scroll,.wa-info-open .wa-composer,.wa-info-open .wa-thread-header,.wa-info-open .wa-thread-search,.wa-info-open .wa-coverage,.wa-info-open .wa-transport-notice{margin-inline-end:min(370px,47%)}.wa-info-open .wa-thread-identity h2{font-size:14px}.wa-info-open .wa-thread-actions{gap:0}.wa-info-open .wa-compose-row{gap:1px}.wa-info-open .wa-compose-row button{min-width:30px;width:30px;padding:5px}.wa-info-open .wa-jump-latest{inset-inline-end:calc(min(370px,47%) + 15px)}.wa-global-contact-search{display:flex;align-items:center;gap:12px;border:1.5px solid var(--theme-success,#00a884);border-radius:22px;padding:0 12px}.wa-global-contact-search .wa-icon{width:18px;height:18px;color:var(--theme-muted,#667781)}.wa-global-contact-search>input{background:transparent;border:0;border-radius:22px;padding:11px 0;width:100%;outline:0;font:inherit;font-size:13px}.wa-contact-initial .wa-icon{width:24px;height:24px}.wa-contact-more{border:0;background:var(--theme-raised,#e9f7ef);border-radius:18px;padding:9px 15px;color:var(--theme-success,#008069);margin:12px auto;display:block}.wa-contact-more[hidden]{display:none}.wa-new-contact{border:0;background:var(--theme-raised,#f5f6f6);border-radius:10px;padding:13px 12px;display:flex;align-items:center;gap:15px;width:100%;margin-top:14px;color:var(--theme-accent,#111b21);font-size:14px}.wa-new-contact>.wa-icon{background:var(--theme-success-solid,#00a884);color:var(--theme-on-solid,#fff);border-radius:50%;width:36px;height:36px;padding:7px;box-sizing:border-box}.wa-picker-coverage{font-size:10px;color:var(--theme-muted,#8696a0)}.wa-contact-options{max-height:350px}.wa-contact-options strong{font-weight:500}.wa-contact-options button{min-height:65px}@media(max-width:1100px){.wa-shell{grid-template-columns:300px minmax(0,1fr)}.wa-info-drawer{width:min(360px,100%)}.wa-info-open .wa-message-scroll,.wa-info-open .wa-composer,.wa-info-open .wa-thread-header,.wa-info-open .wa-thread-search,.wa-info-open .wa-coverage,.wa-info-open .wa-transport-notice{margin-inline-end:0}.wa-info-open .wa-jump-latest{inset-inline-end:15px}.wa-info-drawer{box-shadow:0 0 0 100vmax var(--theme-shadow,#0b141a30)}.wa-info-drawer>header{position:relative}}@media(max-width:720px){.wa-shell{display:block;border-radius:8px}.wa-list-header{min-height:60px;padding:12px 17px}.wa-list-header h2{font-size:22px}.wa-thread-header,.case-live-chat .wa-thread-header{min-height:59px;padding:7px 10px;gap:8px;flex-wrap:nowrap}.wa-thread-header .wa-thread-identity{min-width:0}.wa-thread-identity h2,.case-live-chat .wa-thread-identity h2{font-size:14px}.wa-thread-header .wa-profile-button .contact-avatar{width:37px;height:37px}.wa-thread-actions,.case-live-chat .wa-thread-actions{width:auto;max-width:none;gap:0;flex-wrap:nowrap}.wa-thread-actions button{width:33px;min-width:33px;height:36px;min-height:36px;padding:6px}.wa-thread-actions .wa-icon{width:21px!important;height:21px!important}.wa-coverage{font-size:9px;padding:4px}.wa-message-scroll,.case-live-chat .wa-message-scroll{padding:9px 15px 20px}.wa-bubble,.case-live-chat .wa-bubble{max-width:86%}.wa-message-react{inset-inline-end:calc(100% + 3px);padding:2px}.wa-bubble.outgoing .wa-message-react{inset-inline-start:calc(100% + 3px)}.wa-composer,.case-live-chat .wa-composer{padding:8px 7px 4px}.wa-compose-row,.case-live-chat .wa-compose-row{gap:1px;padding:3px}.wa-compose-row .wa-attach-toggle,.wa-compose-row .wa-emoji-toggle{width:31px;min-width:31px;padding:5px}.wa-compose-row .wa-input{font-size:14px;min-height:40px;padding:9px 3px}.wa-compose-row .wa-schedule-toggle{width:28px;min-width:28px;padding:4px}.wa-compose-row .wa-record,.wa-compose-row .wa-send{width:36px;min-width:36px;height:36px;min-height:36px;padding:7px}.wa-composer-meta{font-size:8px;padding-inline:5px}.wa-info-drawer{width:100%;box-shadow:none}.wa-info-body{padding-inline:22px}.wa-popover{max-height:calc(100dvh - 20px)}.wa-message-popover{width:300px}.wa-info-profile>.contact-avatar{width:110px;height:110px}.wa-jump-latest{bottom:100px;width:33px;height:33px}.wa-action-dialog{max-height:calc(100dvh - 25px)}}@media(hover:none){.wa-row-menu{opacity:1}.wa-message-react{opacity:.85}.wa-message-menu-toggle{opacity:1}}@media(prefers-reduced-motion:reduce){.wa-highlight{animation:none}}.wa-sync-option{display:grid!important;grid-template-columns:minmax(0,1fr) 38px!important;align-items:center;gap:10px!important;padding-block:15px}.wa-sync-option>input{grid-column:2;grid-row:1;appearance:none;width:34px!important;height:20px!important;background:var(--theme-raised,#d1d7db)!important;border-radius:15px!important;position:relative;cursor:pointer;align-self:center!important}.wa-sync-option>input:before{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--theme-surface,#fff);transition:transform .15s}.wa-sync-option>input:checked{background:var(--theme-success-solid,#00a884)!important}.wa-sync-option>input:checked:before{transform:translate(14px)}.wa-sync-option small{grid-column:1/-1}.wa-contact-save-preview{text-align:center}.wa-contact-save-preview h3{margin:15px 0 5px;font-size:21px;font-weight:500}.wa-contact-save-preview p{font-size:13px;color:var(--theme-muted,#667781)}.wa-contact-ack{display:flex!important;flex-direction:row!important;align-items:start;text-align:start;gap:10px!important;background:var(--theme-warning-bg,#fff4dd);padding:12px;border-radius:8px;font-size:12px!important;line-height:1.6}.wa-contact-ack input{width:19px!important;height:19px!important;flex:none}.wa-new-contact-form input[type=tel]{border:0!important;border-bottom:1px solid var(--theme-border,#8696a0)!important;border-radius:0!important}.wa-new-contact-form input[type=text]{border:0!important;border-bottom:1px solid var(--theme-border,#8696a0)!important;border-radius:0!important;background:var(--theme-surface,#fff)}.wa-message-meta [data-wa-quote]{display:inline-flex;opacity:0;border-radius:4px;padding:0 2px}.wa-bubble:hover .wa-message-meta [data-wa-quote],.wa-bubble:focus-within .wa-message-meta [data-wa-quote]{opacity:1}.wa-thread-header .wa-mobile-back{display:none}.wa-roster-search input{min-height:28px;height:28px;padding:0}.wa-roster-search{padding-block:4px}@media(max-width:720px){.wa-thread-header .wa-mobile-back{display:grid}.case-live-chat .wa-thread-header .wa-mobile-back{display:none}}@media(max-width:720px),(max-width:1000px)and (hover:none)and (pointer:coarse){.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.sidebar{padding:5px 12px;gap:0;min-height:52px}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden])) .workspace-nav{display:none}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.sidebar .brand{font-size:13px;gap:7px}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.sidebar .brand-mark{width:29px;height:29px}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.workspace{padding:5px 0 0}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden])) .wa-shell{border-radius:0;height:calc(var(--visible-height,100dvh) - var(--mobile-nav-height,52px) - 6px);min-height:160px}.keyboard-open .app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.sidebar{display:none;min-height:0}.wa-message-meta button[data-wa-quote]{min-height:20px;min-width:20px}}@media(max-width:720px),(max-width:1000px)and (hover:none)and (pointer:coarse){.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.workspace{height:calc(var(--visible-height,100dvh) - var(--mobile-nav-height,52px));box-sizing:border-box;display:flex;flex-direction:column;padding:0;overflow:hidden}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.workspace>.topbar,.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden]))>.workspace>.connection-toolbar{display:none}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden])) #whatsapp-inbox{flex:1;min-height:0;scroll-margin:0}.app-shell:has(#whatsapp-inbox.wa-chat-open:not([hidden])) .wa-shell{height:100%;min-height:160px}}.wa-info-read-group{display:block;width:100%;padding:13px;text-align:start;border:0;border-bottom:1px solid var(--theme-border,#e9edef);background:var(--theme-surface,#fff);color:var(--theme-accent,#111b21);font:inherit;cursor:pointer}.wa-info-read-group:hover{background:var(--theme-raised,#f5f6f6)}.app-shell.whatsapp-mode{height:100dvh;min-height:0;overflow:hidden}.app-shell.whatsapp-mode>.sidebar{height:100dvh;min-height:0;overflow-y:auto}.app-shell.whatsapp-mode>.workspace{padding:0;margin:0;max-width:none;width:100%;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.app-shell.whatsapp-mode>.workspace>.topbar,.app-shell.whatsapp-mode>.workspace>.connection-toolbar,.app-shell.whatsapp-mode>.workspace>.system-overview{display:none}.app-shell.whatsapp-mode>.workspace>#whatsapp-inbox{flex:1;min-height:0;scroll-margin:0}.app-shell.whatsapp-mode #whatsapp-inbox>.wa-shell{height:100%;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none}.app-shell.whatsapp-mode>.workspace>.notice{flex:none;margin:0;border-radius:0}.wa-menu-caption{padding:8px 18px;font-size:12px;color:var(--theme-muted,#667781);border-bottom:1px solid var(--theme-border,#e9edef);margin-bottom:4px}@media(max-width:720px),(max-width:1000px)and (hover:none)and (pointer:coarse){.app-shell.whatsapp-mode{height:var(--visible-height,100dvh)}.app-shell.whatsapp-mode>.sidebar{height:auto}.app-shell.whatsapp-mode>.workspace{height:calc(var(--visible-height,100dvh) - var(--mobile-nav-height,52px));padding:0}.app-shell.whatsapp-mode #whatsapp-inbox>.wa-shell{height:100%;min-height:0}}.wa-chat{padding-inline-end:45px}.wa-chat-side{padding-inline-end:0;flex:none}.wa-row-menu{top:50%;bottom:auto;transform:translateY(-50%)}.wa-quick-reactions button{display:grid;place-items:center;padding:0;line-height:1;flex:none;box-sizing:border-box}.wa-reaction-glyph{display:block;line-height:1}.wa-menu-loading{padding:12px 18px;font-size:12px;color:var(--theme-muted,#667781)}.wa-chat-unread{display:flex;align-items:center;gap:5px}.wa-read-pending{display:grid;place-items:center;color:var(--theme-muted,#667781)}.wa-read-pending .wa-icon{width:12px;height:12px}.wa-read-status{display:flex;align-items:center;gap:6px;padding:5px 15px;flex:none;font-size:12px;color:var(--theme-muted,#667781);background:var(--theme-surface,#fff)}.wa-read-status .wa-icon{width:14px;height:14px}.agent-resume-dialog{direction:rtl;width:min(480px,calc(100vw - 32px));box-sizing:border-box;border:1px solid var(--theme-border,#d7dfeb);border-radius:18px;padding:24px;color:var(--theme-text,#34435e);box-shadow:0 16px 64px var(--theme-shadow,#25334d33)}.agent-resume-dialog::backdrop{background:var(--theme-overlay,#18284066)}.agent-resume-dialog h2{margin:0 0 16px;font-size:1.25rem}.agent-resume-dialog p{line-height:1.65}.agent-resume-dialog label{display:flex;gap:10px;align-items:center;padding:14px;background:var(--theme-surface,#f0f5ff);border-radius:10px}.agent-resume-dialog input{width:18px;height:18px;flex:none}.agent-resume-dialog .muted{font-size:.85rem;color:var(--theme-muted,#65738b)}.agent-resume-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.campus-session{margin:0 0 20px;padding:24px;border:1px solid var(--theme-border,#dce3ed);border-radius:18px;background:var(--theme-surface,#fff);color:var(--theme-text,#263a4c)}.campus-session-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.campus-session-eyebrow{font-size:12px;font-weight:700;color:var(--theme-muted,#6b7d8e)}.campus-session h3{margin:6px 0;font-size:22px}.campus-session p{line-height:1.7;font-size:14px;margin:8px 0}.campus-session-heading p{max-width:660px;color:var(--theme-muted,#6b7d8e)}.campus-session-badge{flex-shrink:0;border-radius:24px;padding:8px 12px;background:var(--theme-raised,#edf2f6);font-size:13px}.campus-session[data-verified=true] .campus-session-badge{color:var(--theme-success,#206c69)}.campus-session dl{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:18px 0;border-top:1px solid var(--theme-border,#dce3ed);border-bottom:1px solid var(--theme-border,#dce3ed);margin:16px 0}.campus-session dt{font-size:12px;color:var(--theme-muted,#6b7d8e);margin-bottom:8px}.campus-session dd{margin:0;font-size:14px;font-weight:600}.campus-session-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.campus-session-actions button,.campus-session-actions a{min-height:44px}.campus-session-actions a{display:inline-flex;align-items:center;padding:0 8px;color:var(--theme-link,#235c90)}.campus-session-actions a[hidden]{display:none}.campus-session-progress{font-weight:600}.campus-session-detail,.campus-session details{color:var(--theme-muted,#6b7d8e)}.campus-session details{font-size:13px}.campus-session summary{cursor:pointer;min-height:32px;padding-top:6px}@media(max-width:760px){.campus-session{padding:18px 14px}.campus-session-heading{display:block}.campus-session-badge{display:inline-block;margin-top:8px}.campus-session dl{grid-template-columns:1fr;gap:16px}.campus-session-actions button{flex:1;min-width:120px}.campus-session-actions a{flex-basis:100%}}.campus-web-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;background:var(--theme-surface,#fff);border:1px solid var(--line,var(--theme-border,#dce3ed));border-radius:18px 18px 0 0}.campus-web-toolbar h2{margin:4px 0;font-size:25px;letter-spacing:-.5px}.campus-web-eyebrow{font-size:12px;font-weight:700;color:var(--theme-muted,#6b7d8e)}.campus-web-status{font-size:14px;color:var(--theme-text,#526477);margin:7px 0 0}.campus-web-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.campus-web-actions button,.campus-web-keyboard button{min-height:44px}.campus-web-mode{border-radius:30px;background:var(--theme-raised,#edf5f5);color:var(--theme-success,#206c69);padding:7px 12px;font-size:12px;font-weight:700}.campus-web-note{margin:0;padding:12px 20px;background:var(--theme-raised,#f1f6f7);color:var(--theme-text,#526477);font-size:13px;line-height:1.7}.campus-web-screen{height:clamp(480px,70vh,900px);overflow:hidden;background:var(--theme-raised,#e7edef);direction:ltr;position:relative;max-width:100%}.campus-web-screen canvas{outline:none}.campus-web-empty{position:absolute;inset:45% 20px auto;text-align:center;color:var(--theme-muted,#6a7988);font-size:14px;direction:rtl}.campus-web-keyboard{display:flex;align-items:end;gap:8px;padding:14px 20px;background:var(--theme-surface,#fff)}.campus-web-keyboard label{flex:1;display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;min-width:0}.campus-web-keyboard input{min-height:44px;min-width:0;font-size:16px;width:100%}.campus-web-footer{border-radius:0 0 18px 18px;border-top:1px solid var(--theme-border,#e2e9ed)}@media(max-width:760px){.campus-web-toolbar{display:block;padding:18px 14px}.campus-web-actions{margin-top:15px}.campus-web-actions button{flex:1;font-size:12px;padding:9px}.campus-web-mode{flex-basis:100%;width:max-content;flex-grow:0}.campus-web-note{padding:12px 14px}.campus-web-screen{height:58dvh;min-height:350px}.campus-web-keyboard{padding:12px;flex-wrap:wrap}.campus-web-keyboard label{flex-basis:100%}.campus-web-keyboard button{flex:1}}@media(max-width:720px),(max-width:1000px)and (hover:none)and (pointer:coarse){#smartcampus-web{scroll-margin-top:calc(var(--mobile-nav-height,128px) + 12px)}}.campus-web-tabs{display:flex;align-items:center;gap:8px;padding:10px 20px;background:var(--theme-surface,#fff);border-bottom:1px solid var(--theme-border,#e1e9ec)}.campus-web-tabs[hidden]{display:none}.campus-web-tabs button{min-height:44px}.campus-web-tabs button[aria-pressed=true]{background:var(--theme-raised,#edf5f5);color:var(--theme-success,#206c69);border-color:var(--theme-border,#91bbb7)}.campus-web-tabs span{font-size:12px;color:var(--theme-muted,#6b7d8e);margin-inline-start:auto}@media(max-width:760px){.campus-web-tabs{padding:10px 14px;flex-wrap:wrap}.campus-web-tabs button{flex:1;font-size:12px}.campus-web-tabs span{flex-basis:100%;text-align:center}}.case-execution{margin:14px 0;color:var(--muted);font-size:12px;min-width:0}.execution-disclosure{border:1px solid var(--border);border-radius:12px;background:var(--theme-surface,#fff);min-width:0}.execution-disclosure>summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:52px;padding:10px 12px;color:var(--ink)}.execution-disclosure>summary::-webkit-details-marker,.execution-event-group>summary::-webkit-details-marker,.execution-event>summary::-webkit-details-marker,.execution-worker>summary::-webkit-details-marker{display:none}.execution-disclosure>summary:focus-visible,.execution-event-group>summary:focus-visible,.execution-event>summary:focus-visible,.execution-worker>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:8px}.execution-chevron{font-size:21px;line-height:1;transform:rotate(180deg);transition:transform .15s;flex:none}.execution-disclosure[open]>summary>.execution-chevron,.execution-event-group[open]>summary>.execution-chevron{transform:rotate(90deg)}.execution-summary-text{flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere}.execution-summary-text small{font-size:10px;margin-top:4px}.execution-context{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:var(--muted);border-radius:5px;flex:none;min-height:28px;cursor:help}.execution-context>svg{width:19px;height:19px;fill:none;stroke-width:2}.context-track{stroke:var(--border)}.context-value{stroke:var(--brand-strong)}.execution-context:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.execution-tooltip{position:fixed;box-sizing:border-box;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--theme-raised,#fff);color:var(--ink);box-shadow:0 8px 24px var(--theme-shadow,#20344b24);white-space:normal;overflow-wrap:anywhere;line-height:1.7;z-index:1000;font-family:inherit;font-size:11px;text-align:start;pointer-events:none}.execution-tooltip[hidden]{display:none}.execution-metrics{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-top:12px;padding:12px 4px 2px;border-top:1px solid var(--border);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.execution-metrics>[data-execution-clock]{color:var(--ink);font-weight:500}.execution-body{padding:4px 14px 12px;border-top:1px solid var(--border)}.execution-body section{margin-top:14px}.execution-body h4{margin:0 0 9px;font-size:11px;font-weight:650;color:var(--ink)}.execution-selected{margin:3px 0 12px}.execution-selected>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.execution-selected>div>span{padding:5px 8px;background:var(--brand-soft);color:var(--brand-strong);border-radius:6px;font-size:11px;overflow-wrap:anywhere}.execution-selected>div>span>small{display:block;font-size:9px;opacity:.8;margin-top:2px}.execution-worker{border-bottom:1px solid var(--border)}.execution-worker>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0}.execution-worker b{font-size:11px;font-weight:500}.execution-worker small{font-size:10px;margin-top:3px;line-height:1.6}.execution-skill-list{list-style:none;padding:0;margin:0}.execution-skill-list li{padding:6px 0}.execution-skill-list b{font-size:11px;font-weight:500;overflow-wrap:anywhere}.execution-skill-list small{font-size:10px;line-height:1.6;margin-top:3px}.execution-transcript{padding-top:8px}.execution-event-group{margin:4px 0 10px;min-width:0}.execution-event-group>summary{display:flex;list-style:none;align-items:center;gap:7px;min-height:38px;font-size:11px;cursor:pointer;color:var(--muted)}.execution-event-group>summary>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.execution-event-group>summary>time{font-size:9px;white-space:nowrap;font-variant-numeric:tabular-nums}.execution-route-list{list-style:none;padding:0;margin:4px 0 8px}.execution-route{position:relative;padding:0 0 4px}.execution-route:not(:last-child):after{content:"";position:absolute;inset-inline-start:7px;top:30px;bottom:-6px;border-inline-start:1px solid var(--border)}.execution-event>summary{display:flex;list-style:none;align-items:center;gap:8px;min-height:44px;padding:6px 2px;cursor:pointer}.execution-event>summary>span:nth-child(2){flex:1;min-width:0}.execution-event b{font-size:11px;font-weight:500;color:var(--ink);overflow-wrap:anywhere}.execution-event small{font-size:10px;margin-top:2px;line-height:1.6}.execution-event time{font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.execution-marker{width:16px;text-align:center;flex:none;color:var(--brand-strong)}.execution-event-arrow{transition:transform .15s}.execution-event[open]>summary>.execution-event-arrow{transform:rotate(180deg)}.execution-inspection{padding:8px 12px;margin:2px 22px 10px 0;border:1px solid var(--border);border-radius:8px;background:var(--theme-raised,#f8fafc);font-size:11px;line-height:1.8;overflow-wrap:anywhere}.execution-inspection>p{margin:3px 0 8px}.execution-inspection dl,.execution-technical dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:8px 0}.execution-inspection dt,.execution-technical dt{color:var(--muted)}.execution-inspection dd,.execution-technical dd{margin:0;color:var(--ink);overflow-wrap:anywhere}.execution-technical{font-size:10px;border-top:1px solid var(--border);padding-top:6px;margin-top:8px}.execution-technical>summary{min-height:30px;cursor:pointer;color:var(--muted)}.execution-technical dd{font-family:ui-monospace,monospace;font-size:9px}.execution-message.activity-entry{margin:8px 0 16px}.execution-empty,.execution-footnote{font-size:10px;line-height:1.8;color:var(--muted)}.execution-footnote{margin-top:14px}.execution-error{font-size:11px;color:var(--warning-ink);margin-top:12px}.execution-more{font-size:11px;min-height:44px;margin-top:10px}@media(prefers-reduced-motion:reduce){.execution-chevron,.execution-event-arrow{transition:none}}@media(max-width:600px){.execution-disclosure>summary{min-height:56px}.execution-metrics{gap:6px}.execution-body{padding-inline:12px}.execution-event-group>summary{flex-wrap:wrap}.execution-event-group>summary>time{margin-inline-start:26px}.execution-inspection{padding:8px;margin-inline-start:12px;margin-inline-end:0}}:root{color-scheme:light;--theme-on-brand:#fff}:root[data-theme=dark]{color-scheme:dark;--canvas:#111419;--surface-soft:#20262f;--ink:#e7ebf1;--text:#e7ebf1;--muted:#a4afbd;--subtle:#8a97a8;--border:#394454;--brand:#72b8ff;--brand-strong:#72b8ff;--brand-soft:#18334f;--success:#49d78b;--warning:#f1cc73;--warning-ink:#f1cc73;--warning-soft:#332c1c;--warning-border:#705a2f;--danger-ink:#ff9aa6;--theme-surface:#181c22;--theme-raised:#20262f;--theme-hover:#252f3b;--theme-text:#e7ebf1;--theme-muted:#a4afbd;--theme-border:#394454;--theme-accent:#72b8ff;--theme-accent-bg:#18334f;--theme-accent-solid:#285b8c;--theme-agent:#bba5ed;--theme-agent-bg:#292335;--theme-agent-operator-bg:#352947;--theme-agent-solid:#674e9b;--theme-success:#49d78b;--theme-success-bg:#172a22;--theme-success-solid:#277a53;--theme-warning:#f1cc73;--theme-warning-bg:#332c1c;--theme-warning-solid:#806124;--theme-danger:#ff9aa6;--theme-danger-bg:#351e25;--theme-danger-solid:#a42d42;--theme-shadow:#00000055;--theme-overlay:#00000099;--theme-on-solid:#fff;--theme-on-brand:#092038}.primary{color:var(--theme-on-brand)}.appearance-card{padding:26px 30px;margin-bottom:26px;border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:20px}.appearance-card h2{font-size:22px;margin:0 0 8px}.appearance-card p{font-size:13px;color:var(--muted)}.appearance-choices{border:0;padding:0;margin:22px 0 12px;display:flex;gap:10px;flex-wrap:wrap}.appearance-choices legend{font-size:13px;margin-bottom:10px;color:var(--muted)}.appearance-choices label{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:11px;padding:10px 16px;min-height:44px;cursor:pointer;font-size:14px;font-weight:500}.appearance-choices label:has(input:checked){border-color:var(--brand-strong);background:var(--brand-soft);color:var(--brand-strong)}.appearance-choices input{display:block;width:16px;height:16px;margin:0;accent-color:var(--brand-strong)}.appearance-choices input:focus-visible{outline:3px solid var(--brand);outline-offset:4px}.appearance-choices label>span{font-size:20px}@media(max-width:600px){.appearance-card{padding:20px 16px}.appearance-choices{gap:8px}.appearance-choices label{padding:10px;flex:1;justify-content:center}}:root[data-theme=dark] .primary{color:var(--theme-on-brand)}:root[data-theme=dark] .wa-message-scroll{background-image:none}:root[data-theme=dark] :is(.wa-shell,.case-live-chat,.wa-popover,.wa-action-dialog,.wa-tools-dialog,.wa-info-drawer,.wa-emoji-panel){--wa-canvas:#131515;--wa-surface:#161717;--wa-raised:#242626;--wa-hover:#202323;--wa-selected:#2b2e2e;--wa-border:#303434;--wa-text:#e9edef;--wa-muted:#a5adad;--wa-icon:#b5bdbd;--wa-green:#21c063;--wa-green-text:#70dba4;--wa-green-soft:#153c2f;--wa-on-green:#082c1c;--wa-incoming:#242626;--wa-outgoing:#154d3d;--wa-read:#53bdeb;--wa-sender-coral:#ff9eae;--wa-sender-teal:#67d9ca;--wa-sender-purple:#c9afff;--wa-sender-gold:#ecd17e;--wa-sender-blue:#91caf1;--wa-sender-orange:#efba98;--wa-sender-self:#9ae7c4;--theme-surface:var(--wa-surface);--theme-raised:var(--wa-raised);--theme-hover:var(--wa-hover);--theme-border:var(--wa-border);--theme-text:var(--wa-text);--theme-muted:var(--wa-muted);--theme-accent:var(--wa-text);--theme-accent-bg:var(--wa-selected);--theme-success:var(--wa-green-text);--theme-success-bg:var(--wa-green-soft);--theme-success-solid:var(--wa-green);--border:var(--wa-border);--text:var(--wa-text);--ink:var(--wa-text);--muted:var(--wa-muted);color:var(--wa-text)}:root[data-theme=dark] :is(.wa-shell,.case-live-chat){background:var(--wa-surface)}:root[data-theme=dark] .wa-chat:hover,:root[data-theme=dark] .wa-chat-row:focus-within .wa-chat{background:var(--wa-hover)}:root[data-theme=dark] .wa-chat.selected{background:var(--wa-selected)}:root[data-theme=dark] .wa-chat-side:has(b) time{color:var(--wa-green-text)}:root[data-theme=dark] .wa-search{background:#2b2e2e;color:var(--wa-text)}:root[data-theme=dark] .wa-search::placeholder,:root[data-theme=dark] .wa-input::placeholder{color:var(--wa-muted);opacity:1}:root[data-theme=dark] .wa-chat-filters button{background:transparent;color:var(--wa-muted)}:root[data-theme=dark] .wa-chat-filters button[aria-pressed=true]{background:var(--wa-green-soft);color:#b9edcf;border-color:#285744}:root[data-theme=dark] .wa-connection.online{color:var(--wa-green)}:root[data-theme=dark] :is(.wa-message-scroll,.case-live-chat .wa-message-scroll){background-color:var(--wa-canvas);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23717d77' stroke-opacity='.12' stroke-width='1'%3E%3Cpath d='M15 20q8-8 16 0t0 16-16 0 0-16zM80 14l9 18-21-3zM124 18q12-8 20 5l-5 15-15-6zM15 95l9-12 10 12-10 12zM72 67q7-12 14 0t-14 0zM119 98q20-10 23 5-8 16-23-5zM58 132l12-6 7 12-12 6zM122 146l13-11M126 129l11 13M43 55l10 7M47 50l3 16'/%3E%3C/g%3E%3C/svg%3E");background-size:240px 240px}:root[data-theme=dark] .wa-bubble{--wa-bubble-bg:var(--wa-incoming);background:var(--wa-bubble-bg);color:var(--wa-text);box-shadow:0 1px 1px #00000030}:root[data-theme=dark] .wa-bubble.outgoing{--wa-bubble-bg:var(--wa-outgoing)}:root[data-theme=dark] .wa-bubble.outgoing .wa-message-meta{color:#b0cbbf}:root[data-theme=dark] .wa-bubble .message-delivery.read{color:var(--wa-read)}:root[data-theme=dark] .wa-text-link{color:#8ed7f2}:root[data-theme=dark] .wa-message-text code{background:#00000020}:root[data-theme=dark] .wa-quote{background:#0000001f;border-inline-start-color:#53cda0;color:var(--wa-text)}:root[data-theme=dark] .wa-quote-jump strong{color:#9ae7c4}:root[data-theme=dark] .wa-date span{background:var(--wa-raised);color:#c1c9c7;box-shadow:0 1px 2px #00000020}:root[data-theme=dark] .wa-message-menu-toggle{background:linear-gradient(90deg,transparent,var(--wa-bubble-bg) 30%);color:var(--wa-icon)}:root[data-theme=dark] .wa-message-react,:root[data-theme=dark] .wa-bubble .message-reaction{background:var(--wa-raised);color:var(--wa-text);border-color:var(--wa-border)}:root[data-theme=dark] .wa-document{background:#00000018;color:var(--wa-text)}:root[data-theme=dark] :is(.wa-composer,.case-live-chat .wa-composer){background:var(--wa-canvas)}:root[data-theme=dark] :is(.wa-compose-row,.case-live-chat .wa-compose-row){background:var(--wa-raised);border-color:var(--wa-border)}:root[data-theme=dark] .wa-compose-row .wa-input{color:var(--wa-text)}:root[data-theme=dark] .wa-compose-row .wa-record{background:transparent;color:var(--wa-icon)}:root[data-theme=dark] .wa-compose-row .wa-record:hover{background:var(--wa-hover)}:root[data-theme=dark] .wa-compose-row .wa-send,:root[data-theme=dark] .wa-list-actions [data-wa-new-chat],:root[data-theme=dark] .wa-chat-side b,:root[data-theme=dark] .wa-confirm{background:var(--wa-green);color:var(--wa-on-green)}:root[data-theme=dark] .wa-compose-row .wa-send:hover,:root[data-theme=dark] .wa-list-actions [data-wa-new-chat]:hover{background:#42d47b}:root[data-theme=dark] .wa-coverage{background:var(--wa-surface);color:var(--wa-muted);border-bottom:1px solid var(--wa-border)}:root[data-theme=dark] .wa-thread-header button:not(.wa-thread-identity),:root[data-theme=dark] .wa-compose-row :is(.wa-emoji-toggle,.wa-attach-toggle,.wa-schedule-toggle){color:var(--wa-icon)}:root{--brand: #2563eb;--brand-strong: #1d4ed8;--brand-soft: #eff6ff;--ink: #17212f;--text: var(--ink);--muted: #5e6d80;--subtle: #8592a3;--border: #dfe5ed;--canvas: #f5f7fa;--surface-soft: #f8fafc;--theme-surface: #fff;--theme-raised: #f1f5f9;--theme-hover: #f1f5f9;--theme-text: var(--ink);--theme-muted: var(--muted);--theme-border: var(--border);--theme-accent: var(--brand-strong);--theme-accent-bg: var(--brand-soft);--theme-accent-solid: var(--brand);--theme-agent: var(--brand-strong);--theme-agent-bg: var(--brand-soft);--theme-agent-solid: var(--brand);--theme-agent-operator-bg: var(--theme-raised);--success: #16815d;--theme-success: #147453;--theme-success-bg: #eaf7f0;--theme-success-solid: #16815d;--warning: #c08016;--warning-ink: #88550b;--warning-soft: #fff8e8;--warning-border: #edce91;--theme-warning: var(--warning);--theme-warning-text: var(--warning-ink);--theme-warning-bg: var(--warning-soft);--theme-warning-solid: #996410;--danger-ink: #b42339;--theme-danger: var(--danger-ink);--theme-danger-bg: #fff0f2;--theme-danger-solid: #b42339;--theme-on-brand: #fff;--theme-on-solid: #fff;--ui-radius: 10px}:root[data-theme=dark]{--canvas: #111419;--surface-soft: #1b222c;--theme-surface: #181d25;--theme-raised: #232c38;--theme-hover: #232c38;--ink: #e8edf5;--muted: #a7b4c6;--subtle: #8a9bb0;--border: #354253;--brand: #83b5ff;--brand-strong: #a5caff;--brand-soft: #1d324f;--theme-accent-solid: #285caa;--theme-agent-solid: #285caa;--theme-on-brand: #10213b;--success: #60d5a1;--theme-success: #60d5a1;--theme-success-bg: #19372e;--warning: #efc06c;--warning-ink: #f3cc86;--warning-soft: #332b1d;--warning-border: #6a5532;--danger-ink: #ff9aac;--theme-danger-bg: #3b222b}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}button,[role=button]{user-select:none;-webkit-user-select:none}button{border-radius:8px;transition:background-color .12s,border-color .12s}button:active:not(:disabled){box-shadow:inset 0 0 0 1px currentColor}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}button svg{pointer-events:none}.workspace-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding:24px 14px 16px;background:var(--theme-surface)}.brand{margin:0 8px 30px;gap:10px;font-size:15px}.brand-mark.small{border-radius:10px;box-shadow:none;background:var(--brand-soft)}.nav-label{font-size:11px;font-weight:600;margin-bottom:10px}.workspace-nav{gap:3px}.workspace-nav .nav-item{min-height:44px;padding:10px 12px;margin:0;gap:10px;border-radius:8px;color:var(--muted);font-size:13px}.workspace-nav .nav-text{color:inherit;font-size:inherit}.workspace-nav .nav-item.chosen{background:var(--brand-soft);color:var(--brand-strong)}.workspace-nav .nav-item b{font-size:11px;font-variant-numeric:tabular-nums;background:var(--theme-surface);color:var(--muted)}.workspace-nav [data-nav=whatsapp],.workspace-nav [data-nav=smartcampus]{margin-top:14px}.connection-note{padding-inline:8px}.user{padding:0 6px}.user .icon-button{min-width:36px;min-height:36px;display:grid;place-items:center}.workspace{max-width:1660px;padding:28px 32px 32px;margin-block:0;min-width:0}.topbar{min-height:60px;margin-bottom:24px}.workspace-title{min-width:0}.workspace-title .eyebrow{display:block;margin-bottom:5px;font-size:12px;letter-spacing:0}.topbar h1{font-size:24px;letter-spacing:-.5px;line-height:1.4}.topbar-actions{gap:10px}.topbar-actions .emergency-stop{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid var(--warning-border);background:var(--theme-surface);color:var(--danger-ink);box-shadow:none;font-size:12px}.emergency-stop .workspace-icon{width:15px;height:15px}.live-pill{background:var(--theme-surface);border-radius:7px;color:var(--muted);font-size:11px}.system-overview{border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--theme-surface);padding-inline:16px;margin-bottom:20px}.system-overview>summary{min-height:44px}.system-details{padding-block:12px 16px}.metrics{gap:12px;border:0;margin-bottom:20px}.metrics article,.metrics article:first-child{display:grid;grid-template-columns:1fr auto;align-items:center;padding:14px 18px;gap:8px;border:1px solid var(--border);border-radius:var(--ui-radius);background:var(--theme-surface)}.metrics article>span{font-size:13px}.metrics strong{font-size:25px;font-weight:650;line-height:1.2;margin:0}.panel{border-radius:var(--ui-radius);box-shadow:none}.queue-panel{overflow:hidden}#queue .table-wrap{overflow:visible}.queue-panel>.panel-header{border-radius:var(--ui-radius) var(--ui-radius) 0 0;background:var(--theme-surface);padding:20px}.panel-header h2,.tasks-heading h2{font-size:20px;font-weight:650;letter-spacing:-.3px}.panel-header p{font-size:12px;margin-top:6px}.workspace-search{display:flex;align-items:center;gap:8px;width:min(310px,40%);min-width:0;padding-inline:12px;border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;color:var(--muted)}.workspace-search:focus-within{border-color:var(--brand);outline:2px solid var(--brand-soft)}.workspace-search input.search{display:block;width:100%;min-width:0;margin:0;border:0;border-radius:0;padding:11px 0;box-shadow:none;background:transparent;font-size:13px}#queue table{table-layout:fixed;font-size:13px}#queue th{padding:12px 16px;font-size:11px;font-weight:600}#queue th:nth-child(1){width:23%}#queue th:nth-child(2){width:24%}#queue th:nth-child(3){width:15%}#queue th:nth-child(4){width:12%}#queue th:nth-child(5){width:26%}.queue-row>td{padding:20px 16px}.queue-person .person-link{min-width:0;width:100%;align-items:flex-start;white-space:normal;text-align:start;font-size:13px;line-height:1.5}.queue-identity{min-width:0;display:block;overflow-wrap:anywhere}.queue-name{display:block;font-weight:650;color:var(--ink)}.queue-person .contact-avatar{width:34px;height:34px;flex:0 0 34px}.queue-person small{font-size:11px;line-height:1.5}.queue-person .monitoring-badge{display:inline-flex;margin:7px 0 0;border:0;border-radius:5px;padding:2px 6px;background:var(--theme-raised);color:var(--muted);font-size:10px;font-weight:500}.queue-person .monitoring-badge.on{background:var(--brand-soft);color:var(--brand-strong)}.queue-row .preview{min-width:0;max-width:none;color:var(--ink);font-size:13px}.queue-message{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;line-height:1.7}.queue-row .preview small{font-size:11px;margin-top:7px}.queue-updated{font-size:11px;line-height:1.6;font-variant-numeric:tabular-nums;white-space:normal}.mobile-field-label{display:none}.queue-state .status-tag{display:inline-block;max-width:100%;border-radius:6px;white-space:normal;font-size:11px;line-height:1.6;background:var(--theme-raised);color:var(--muted)}.queue-state .status-tag.agent{background:var(--brand-soft);color:var(--brand-strong)}.queue-row[data-state=handled] .status-tag{background:var(--theme-success-bg);color:var(--theme-success)}.row-actions{display:flex;gap:6px;max-width:none}.row-actions button{min-height:32px;border-radius:6px;padding:6px 9px;font-size:11px;font-weight:500}.row-actions .open-button{background:var(--brand-soft);border-color:transparent;color:var(--brand-strong);font-weight:650}.assign-agent{border-color:var(--border);color:var(--brand-strong);background:var(--theme-surface)}.panel-footer{font-size:11px;padding:12px 20px;flex-wrap:wrap}.queue-tail{font-size:12px}.empty{padding:64px 24px}.empty>span,.task-detail-empty>span{display:grid;place-items:center;margin:0 auto 16px;width:44px;height:44px;background:var(--surface-soft);border:1px solid var(--border);border-radius:12px}.empty h3{font-size:16px;color:var(--ink)}.empty p{font-size:13px}.decision-card{border-radius:var(--ui-radius);box-shadow:none}.detail-heading h2{font-size:23px}.inline-case{background:var(--surface-soft)}.inline-grid>.case-pane{border-radius:var(--ui-radius)}#tasks{padding:0}.task-views{flex-wrap:nowrap;gap:0;padding:6px 20px 0;margin:0;overflow-x:auto;border-bottom:1px solid var(--border)}.task-views button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:50px;padding:12px 16px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);background:transparent;font-weight:500}.task-views button.selected{color:var(--brand-strong);background:transparent;border-color:var(--brand)}#tasks>[data-tasks-operations],#tasks>[data-tasks-engineering],#tasks>[data-tasks-agents]{padding:24px}.tasks-heading{align-items:center}.tasks-heading h2{margin:0 0 6px}.tasks-heading .eyebrow{display:none}.tasks-heading p{font-size:13px}.task-filters{gap:6px;margin:22px 0 18px}.task-filters button{border-radius:6px;font-size:12px;padding:7px 12px;font-weight:500}.task-filters button.selected{background:var(--brand-soft);border-color:var(--brand-soft);color:var(--brand-strong)}.tasks-layout{grid-template-columns:minmax(240px,.85fr) minmax(0,1.3fr);gap:24px}.tasks-layout>section{min-width:0}.task-list{gap:0;border:1px solid var(--border);border-radius:var(--ui-radius);overflow:hidden}.task-list>li+li{border-top:1px solid var(--border)}.task-list .task-card{border:0;border-radius:0;padding:16px;gap:6px}.task-list .task-card.selected{background:var(--brand-soft);box-shadow:inset -3px 0 var(--brand)}.task-card strong{font-size:14px}.task-state{border-radius:5px;font-size:11px;background:var(--theme-raised);color:var(--muted)}.task-state[data-state=completed],.task-state[data-state=no-action]{background:var(--theme-success-bg);color:var(--theme-success)}.task-state[data-state=running]{background:var(--brand-soft);color:var(--brand-strong)}.task-state[data-state=uncertain],.task-state[data-state=blocked],.task-state[data-state=awaiting-approval]{background:var(--warning-soft);color:var(--warning-ink)}.task-detail-empty{padding:70px 24px}.tasks-empty{min-height:180px;padding:32px 20px}.task-detail h3{font-size:20px}.task-detail-heading>button{min-width:40px;min-height:40px}.task-section{padding-top:20px}.task-facts,.task-metrics{gap:12px}.task-facts>div,.task-metrics>div{background:var(--surface-soft);padding:12px;border-radius:8px}.task-warning{background:var(--warning-soft);border-color:var(--warning-border);color:var(--warning-ink)}.task-notice{background:var(--surface-soft)}@media(hover:hover)and (pointer:fine){.workspace-nav .nav-item:hover:not(.chosen),.task-views button:hover:not(.selected){background:var(--surface-soft)}.queue-row:hover>td{background:var(--surface-soft)}.row-actions .open-button:hover{background:var(--brand);color:var(--theme-on-brand)}}@media(hover:none){button:hover{background:var(--theme-surface)}.primary:hover{background:var(--brand)}.queue-row:hover>td{background:transparent}}@media(max-width:1200px)and (min-width:1001px){.app-shell{grid-template-columns:196px minmax(0,1fr)}.workspace{padding:24px 20px}#queue th,.queue-row>td{padding-inline:10px}.topbar{flex-wrap:wrap;gap:14px}}@media(max-width:1000px){.app-shell{display:block}.sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));height:auto;position:sticky;top:0;overflow:visible;box-shadow:none}.brand{font-size:13px;margin:0;justify-content:flex-end;gap:8px}.brand-mark.small{width:30px;height:30px;border-radius:8px}.sidebar-bottom{margin:0}.user{padding:0;font-size:12px}.user .icon-button{width:44px;height:44px}.workspace-nav{display:flex;flex-direction:row;grid-column:1/-1;width:100%;overflow-x:auto;overscroll-behavior-x:contain;gap:4px;padding-block:0 8px;scrollbar-width:thin}.workspace-nav .nav-item{flex:0 0 auto;display:flex;flex-direction:row;gap:7px;width:auto;min-height:44px;padding:10px 12px;font-size:12px;margin:0;white-space:nowrap}.workspace-nav .nav-item b{position:static;margin:0;padding:2px 5px}.workspace-nav .workspace-icon{width:18px;height:18px}.workspace{padding:20px max(12px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.topbar{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:20px}.topbar h1{font-size:21px}.workspace-title .eyebrow{font-size:11px}.topbar-actions{display:flex;flex-wrap:nowrap;gap:8px}.topbar-actions .emergency-stop{width:auto;min-height:44px;margin-inline-start:auto;padding:9px 10px;font-size:11px}.live-pill{font-size:10px;padding:8px}.system-overview{padding-inline:12px;margin-bottom:16px}.system-overview>summary{font-size:12px}.system-connection-summary{font-size:11px}.metrics{gap:6px;margin-bottom:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.metrics article,.metrics article:first-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:9px;padding:12px 9px}.metrics article>span{font-size:11px;line-height:1.5}.metrics strong{font-size:23px}.queue-panel{border:0;border-radius:0;background:transparent}.queue-panel>.panel-header{padding:0 0 14px;flex-direction:column;align-items:stretch;border:0;background:transparent;gap:14px}.panel-header h2{font-size:20px}.workspace-search{width:100%;background:var(--theme-surface)}.workspace-search input.search{font-size:16px;min-height:44px}#queue{padding:0}#queue tbody{gap:12px}.queue-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;border-radius:var(--ui-radius)}.queue-row>td{padding:0}.queue-person .person-link{font-size:14px;min-height:44px}.queue-person .contact-avatar{width:36px;height:36px;flex-basis:36px}.queue-state{max-width:92px}.queue-person .monitoring-badge{margin-block:5px 0}.queue-row>.preview{font-size:14px}.queue-message{-webkit-line-clamp:3}.mobile-field-label{display:inline;margin-inline-end:6px}.queue-updated{font-size:11px}.queue-actions{border-top:1px solid var(--border)!important;padding-top:12px!important}.row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.row-actions button{min-height:44px;padding:9px 7px;font-size:12px;white-space:normal}.row-actions .open-button,.row-actions .assign-agent{grid-column:auto}.row-actions .open-button{grid-column:1/-1}.panel-footer{padding:14px 2px;border:0;line-height:1.6;font-size:10px}.case-preview-row{margin-top:-12px}.inline-case{padding:10px}.case-pane .panel-header{padding:14px}#tasks{border-radius:var(--ui-radius);padding:0}.task-views{padding:0 8px;gap:0}.task-views button{min-height:50px;font-size:12px;padding:10px;gap:6px}.task-views .workspace-icon{width:16px;height:16px}#tasks>[data-tasks-operations],#tasks>[data-tasks-engineering],#tasks>[data-tasks-agents]{padding:16px 12px}.tasks-heading h2{font-size:20px}.tasks-heading p{font-size:12px}.task-filters{gap:6px;margin-top:18px}.task-filters button{min-height:44px;padding:8px 10px}.tasks-layout{display:flex;flex-direction:column;gap:20px}.tasks-layout>section{width:100%}.tasks-layout.has-detail .task-detail{order:-1}.task-detail-empty{display:none}.task-detail{border-inline-start:0;padding-inline-start:0}.task-card-heading{gap:8px}.task-list .task-card{padding:14px}.task-detail h3{font-size:18px}.task-facts{grid-template-columns:1fr}.task-facts>div{display:block}.task-facts dt{margin-bottom:6px}.task-controls button,.task-detail-heading>button{min-height:44px}.task-detail-heading>button{min-width:44px}.keyboard-open .workspace-nav{grid-row:1}.keyboard-open .sidebar{padding-block:4px 0}}@media(pointer:coarse){input,textarea,select{font-size:16px}}.human-mark,.monitoring-mark{color:var(--muted);background:var(--theme-raised);border:1px solid var(--border);border-radius:6px}.human-mark svg,.monitoring-mark svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}.monitoring-mark.on{color:var(--brand-strong);background:var(--brand-soft)}:root:not([data-theme=dark]) :is(.wa-shell,.case-live-chat){--theme-success-bg: #d9fdd3}@media(min-width:600px)and (max-width:1000px){.row-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.row-actions .open-button{grid-column:auto}}
