.workflow-shell{background:linear-gradient(145deg,var(--surface-2),var(--accent-soft));height:100%;color:var(--ink);padding:32px;overflow:auto}.workflow-shell>header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.workflow-shell h2{margin:5px 0 6px;font-size:28px}.workflow-shell header p{max-width:720px;color:var(--muted);line-height:1.55}.workflow-kicker{letter-spacing:.13em;color:var(--accent);font-size:11px;font-weight:800}.workflow-actions,.social-actions{flex-wrap:wrap;gap:9px;display:flex}.workflow-shell button,.workflow-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:10px;padding:10px 14px;font-weight:700;text-decoration:none}.workflow-shell button.primary{background:var(--accent-fill);color:#fff;border-color:var(--accent)}.workflow-shell button:disabled{opacity:.48;cursor:not-allowed}.workflow-message,.workflow-error{background:var(--accent-soft);color:var(--accent);border-radius:10px;margin:0 0 18px;padding:11px 14px}.workflow-error{background:var(--risk-soft);color:var(--risk)}.workflow-empty{text-align:center;color:var(--muted);margin:auto;padding:70px 24px}.workflow-empty>span{font-size:34px;display:block}.workflow-empty h3{color:var(--ink);margin:12px 0 5px}.canvas-editor-grid,.social-grid{grid-template-columns:minmax(0,1fr) 310px;gap:20px;display:grid}.canvas-editor-grid>section,.canvas-editor-grid>aside,.social-editor,.social-calendar,.audit-result,.audit-history{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 10px 30px #2c3d690f}.workflow-shell label{color:var(--ink-2);gap:7px;margin-bottom:16px;font-size:12px;font-weight:800;display:grid}.workflow-shell input,.workflow-shell textarea,.workflow-shell select{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);font:inherit;border-radius:10px;padding:11px 12px}.canvas-editor-grid textarea{resize:vertical;min-height:480px;font-family:var(--font-geist-mono),monospace;line-height:1.65}.canvas-editor-grid aside>p,.social-calendar>p{color:var(--muted);font-size:12px;line-height:1.5}.canvas-editor-grid aside>button,.audit-history>button,.social-calendar>button:not(.refresh){text-align:left;gap:10px;width:100%;margin-top:9px;padding:10px;display:flex}.canvas-editor-grid aside>button>span,.audit-history>button>span{background:var(--accent-soft);color:var(--accent);border-radius:7px;padding:6px;font-weight:800}.canvas-editor-grid aside button div,.audit-history button div{gap:3px;display:grid}.canvas-editor-grid aside small,.audit-history small{color:var(--muted)}.audit-input{gap:10px;margin-bottom:18px;display:flex}.audit-input input{font-size:16px}.audit-score{border-bottom:1px solid var(--line);align-items:center;gap:18px;margin-bottom:15px;padding-bottom:18px;display:flex}.audit-score>span{background:var(--ok-soft);width:78px;height:78px;color:var(--ok);border:7px solid color-mix(in srgb, var(--ok) 55%, transparent);border-radius:50%;place-items:center;font-size:28px;font-weight:700;display:grid}.audit-score>div{gap:4px;display:grid}.audit-score a{color:var(--accent);font-weight:700}.audit-score small{color:var(--muted)}.audit-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.audit-checks article{border:1px solid var(--line);border-radius:11px;grid-template-columns:30px 1fr auto;gap:9px;padding:12px;display:grid}.audit-checks article>span{border-radius:50%;place-items:center;width:25px;height:25px;font-weight:700;display:grid}.audit-checks .pass>span{background:var(--ok-soft);color:var(--ok)}.audit-checks .fail>span{background:var(--wait-soft);color:var(--wait)}.audit-checks strong{font-size:13px}.audit-checks p{color:var(--muted);margin-top:3px;font-size:12px}.audit-checks b{color:var(--muted);font-size:11px}.audit-history{align-items:center;gap:9px;margin-top:18px;display:flex;overflow:auto}.audit-history>strong{white-space:nowrap}.audit-history>button{width:260px;min-width:220px;margin:0}.audit-history>button.active{border-color:var(--accent)}.two-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.social-editor textarea{resize:vertical;min-height:240px;line-height:1.55}.social-calendar{max-height:620px;position:relative;overflow:auto}.social-calendar>.refresh{padding:6px 9px;position:absolute;top:12px;right:14px}.social-calendar>button:not(.refresh){align-items:flex-start;gap:8px;display:grid}.social-calendar>button.active{border-color:var(--accent)}.social-calendar .status{letter-spacing:.08em;text-transform:uppercase;background:var(--surface-2);border-radius:20px;justify-self:start;padding:4px 7px;font-size:12px}.social-calendar .status.published{background:var(--ok-soft);color:var(--ok)}.social-calendar .status.pending_approval{background:var(--wait-soft);color:var(--wait)}.social-calendar p{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);margin:4px 0;font-size:12px;overflow:hidden}.social-calendar small{color:var(--muted)}.notification-control,.notification-control>button{position:relative}.notification-control>button b{background:var(--risk);color:var(--on-status);border-radius:20px;place-items:center;min-width:17px;height:17px;font-size:12px;display:grid;position:absolute;top:-6px;right:-5px}.notification-panel{background:var(--surface);border:1px solid var(--line);z-index:90;border-radius:14px;width:390px;max-height:520px;padding:10px;position:absolute;top:42px;right:0;overflow:auto;box-shadow:0 20px 55px #19223833}.notification-panel>header{justify-content:space-between;align-items:center;padding:7px 8px 11px;display:flex}.notification-panel>header button{color:var(--accent);background:0 0;border:0;font-size:11px}.notification-panel article{border-top:1px solid var(--line);grid-template-columns:8px 1fr;gap:10px;padding:11px 8px;display:grid}.notification-panel article>span{background:var(--accent-fill);border-radius:50%;width:7px;height:7px;margin-top:5px}.notification-panel article.success>span{background:var(--ok)}.notification-panel article.error>span{background:var(--risk)}.notification-panel article.read{opacity:.62}.notification-panel article strong{font-size:12px}.notification-panel article p{color:var(--muted);margin:3px 0;font-size:11px;line-height:1.4}.notification-panel article small{color:var(--muted);font-size:12px}@media (max-width:900px){.canvas-editor-grid,.social-grid,.audit-checks{grid-template-columns:1fr}.workflow-shell>header{display:grid}.notification-panel{width:auto;position:fixed;top:70px;left:12px;right:12px}.two-fields{grid-template-columns:1fr}}.integration-write-toggle{border:1px solid var(--line);border-radius:10px;align-items:center;padding:10px;gap:9px!important;display:flex!important}.integration-write-toggle input{width:auto!important}.integration-write-toggle:has(input:checked){border-color:color-mix(in srgb, var(--wait) 55%, transparent);background:var(--wait-soft);color:var(--wait)}.help-shell{background:linear-gradient(145deg,var(--surface-2),var(--accent-soft));height:100%;color:var(--ink);padding:30px;overflow:auto}.help-hero{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px;display:flex}.help-hero h2{letter-spacing:-.7px;margin:6px 0 8px;font-size:29px}.help-hero p{max-width:760px;color:var(--muted);margin:0;font-size:13px;line-height:1.6}.help-hero button,.help-tabs button,.help-panel button,.setup-steps button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:10px 14px;font-weight:800}.help-tabs{flex-wrap:wrap;gap:7px;margin-bottom:18px;display:flex}.help-tabs button{font-size:11px}.help-tabs button.active{color:#fff;border-color:var(--accent);background:var(--accent-fill)}.readiness-card{border:1px solid var(--line);background:var(--surface);border-radius:17px;grid-template-columns:190px 1fr;gap:18px;margin-bottom:18px;padding:20px;display:grid;box-shadow:0 12px 34px #2c3d6912}.readiness-score{text-align:center;color:#fff;background:linear-gradient(145deg,#0c1730,#263e77);border-radius:14px;place-content:center;display:grid}.readiness-score strong{font-size:38px}.readiness-score span{text-transform:uppercase;letter-spacing:1px;color:#bfcbea;font-size:12px}.readiness-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.readiness-list article{border:1px solid var(--line);border-radius:11px;gap:10px;padding:11px;display:flex}.readiness-list article>span{border-radius:8px;flex:0 0 24px;place-items:center;width:24px;height:24px;font-weight:700;display:grid}.readiness-list .ready>span{background:var(--ok-soft);color:var(--ok)}.readiness-list .attention>span{background:var(--wait-soft);color:var(--wait)}.readiness-list strong{font-size:11px}.readiness-list p{color:var(--muted);margin:3px 0 0;font-size:12px;line-height:1.45}.help-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.help-panel{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:21px;box-shadow:0 10px 30px #2c3d690d}.help-panel.wide{grid-column:1/-1}.help-panel h3{margin:0 0 10px;font-size:17px}.help-panel>p,.help-panel li{color:var(--muted);font-size:11px;line-height:1.65}.help-panel ul{padding-left:18px}.help-panel button{margin:8px 8px 0 0}.help-panel button:disabled,.setup-steps button:disabled{opacity:.45;cursor:not-allowed}.help-heading{align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.help-heading>span{background:var(--accent-soft);min-width:37px;height:37px;color:var(--accent);border-radius:10px;place-items:center;padding:0 7px;font-size:12px;font-weight:700;display:grid}.help-heading h3{margin:0}.help-heading p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.5}.setup-steps{gap:9px;padding:0;list-style:none;display:grid}.setup-steps li{border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px 13px;display:flex}.setup-steps strong{color:var(--ink);display:block}.setup-steps p{margin:3px 0 0}.setup-steps li>span{display:flex}.recipe-list{gap:8px;display:grid}.recipe-list article{background:var(--surface-2);border-radius:10px;gap:10px;padding:10px;display:flex}.recipe-list article>span{background:var(--accent-soft);width:25px;height:25px;color:var(--accent);border-radius:8px;flex:0 0 25px;place-items:center;font-size:12px;font-weight:700;display:grid}.recipe-list strong{font-size:11px}.recipe-list p{color:var(--muted);margin:3px 0 0;font-size:12px;line-height:1.45}.help-panel pre{border:1px solid var(--line);color:#d9e3f7;font:12px/1.65 var(--font-geist-mono),monospace;white-space:pre-wrap;background:#101827;border-radius:11px;padding:14px;overflow:auto}.help-panel code{background:var(--surface-2);color:var(--ink-2);font:12px var(--font-geist-mono),monospace;border-radius:8px;margin:7px 0;padding:8px 10px;display:block}.help-label{color:var(--accent);letter-spacing:1.3px;margin-bottom:8px;font-size:11px;font-weight:700;display:block}.help-warning{border:1px solid color-mix(in srgb, var(--wait) 55%, transparent);background:var(--wait-soft);border-radius:10px;padding:11px 13px;color:var(--wait)!important}.troubleshooting{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.troubleshooting p{background:var(--surface-2);border-radius:10px;gap:4px;margin:0;padding:11px;display:grid}.troubleshooting strong{font-size:11px}.troubleshooting span{color:var(--muted);font-size:12px;line-height:1.5}.extension-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 28px;padding-left:22px;display:grid}.capability-table{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.capability-table article{border:1px solid var(--line);border-radius:12px;padding:16px}.capability-table article:before{content:"";border-radius:5px;width:28px;height:4px;margin-bottom:11px;display:block}.capability-table .live:before{background:var(--ok)}.capability-table .setup:before{background:var(--wait)}.capability-table .planned:before{background:#8993a5}.capability-table p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.6}@media (max-width:900px){.readiness-card,.help-grid,.capability-table{grid-template-columns:1fr}.readiness-score{min-height:130px}.help-panel.wide{grid-column:auto}.readiness-list,.troubleshooting,.extension-list{grid-template-columns:1fr}.help-hero{display:block}.help-hero button{margin-top:14px}.setup-steps li{flex-direction:column;align-items:flex-start}}.billing-view{overflow:auto}.billing-agents{margin-top:18px}.billing-agent-list{gap:12px;display:grid}.billing-agent-list>article{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:16px}.billing-agent-list>article.top-spender{border-color:color-mix(in srgb, var(--wait) 55%, transparent);box-shadow:inset 4px 0 #f0a23a}.billing-agent-list header{justify-content:space-between;gap:16px;display:flex}.billing-agent-list header>div{align-items:center;gap:10px;display:flex}.billing-agent-list header>div:first-child>span{background:var(--accent-soft);width:27px;height:27px;color:var(--accent);border-radius:9px;place-items:center;font-size:12px;font-weight:700;display:grid}.billing-agent-list header p{margin:0}.billing-agent-list header p strong,.billing-agent-list header p small,.billing-agent-list header>div:last-child strong,.billing-agent-list header>div:last-child small{display:block}.billing-agent-list header p small,.billing-agent-list header>div:last-child small{color:var(--muted);margin-top:3px;font-size:12px}.billing-agent-list header>div:last-child{text-align:right}.billing-bar{background:var(--surface-2);border-radius:6px;height:6px;margin:13px 0;overflow:hidden}.billing-bar i{background:linear-gradient(90deg,var(--accent),var(--accent-deep));border-radius:6px;height:100%;display:block}.billing-metrics{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.billing-metrics span{font-size:11px;font-weight:800}.billing-metrics span small{color:var(--muted);margin-bottom:3px;font-size:11px;font-weight:600;display:block}.billing-metrics button{border:1px solid var(--line);background:var(--surface);color:var(--accent);border-radius:8px;margin-left:auto;padding:7px 10px;font-size:12px;font-weight:700}.agent-limit-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.limit-meter{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;padding:9px 10px}.limit-meter p{justify-content:space-between;gap:10px;margin:0 0 7px;font-size:11px;display:flex}.limit-meter p span{color:var(--muted)}.limit-meter>div{background:var(--surface-2);border-radius:5px;height:5px;overflow:hidden}.limit-meter i{background:var(--accent-fill);border-radius:5px;height:100%;display:block}.limit-meter.warning{border-color:color-mix(in srgb, var(--wait) 55%, transparent);background:var(--wait-soft)}.limit-meter.warning i{background:#f0a23a}.agent-model-breakdown{border-top:1px solid var(--line);gap:6px;margin-top:12px;padding-top:12px;display:grid}.agent-model-breakdown>div{background:var(--surface-2);border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:8px 10px;display:flex}.agent-model-breakdown p{margin:0}.agent-model-breakdown strong,.agent-model-breakdown small{display:block}.agent-model-breakdown strong{font-size:12px}.agent-model-breakdown small{color:var(--muted);margin-top:2px;font-size:11px}.agent-model-breakdown>div>span{text-align:right;font-size:12px;font-weight:700}.billing-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.usage-row strong small{color:var(--muted);margin-top:2px;font-size:11px;font-weight:500;display:block}@media (max-width:950px){.billing-split,.agent-limit-grid{grid-template-columns:1fr}.billing-agent-list header{align-items:flex-start}.billing-metrics button{margin-left:0}}.agent-budget-editor{border:1px solid var(--line);background:var(--surface);border-radius:16px;margin-top:16px;padding:18px;box-shadow:0 12px 35px #1925420e}.agent-budget-editor h3{margin:6px 0 5px;font-size:15px}.agent-budget-editor p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.agent-budget-fields{grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;margin-top:14px;display:grid}.agent-budget-fields label{color:var(--ink-2);gap:6px;font-size:11px;font-weight:800;display:grid}.agent-budget-fields input{border:1px solid var(--line);background:var(--surface-2);width:100%;color:var(--ink);border-radius:9px;padding:10px;font-size:12px}.agent-budget-fields button{background:var(--accent-fill);color:#fff;border:0;border-radius:9px;height:38px;padding:0 14px;font-size:12px;font-weight:700}.agent-budget-fields button:disabled{opacity:.5}.agent-budget-editor>small{color:var(--muted);margin-top:10px;font-size:11px;display:block}@media (max-width:650px){.agent-budget-fields{grid-template-columns:1fr}.agent-budget-fields button{width:100%}}.wa-console{flex-direction:column;gap:16px;display:flex;overflow:auto;container-type:inline-size}.wa-console>header.wa-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;margin:0;display:flex}.wa-console .wa-head p{color:var(--muted);margin:0;font-size:14px}.wa-console .wa-companies{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.wa-console .wa-companies button{border:1px solid var(--line);background:var(--surface);color:var(--ink);text-align:left;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:700}.wa-console .wa-companies button small{color:var(--faint);margin-top:1px;font-size:11px;font-weight:600;display:block}.wa-console .wa-companies button.active{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent-deep)}.wa-console .wa-companies .wa-add{border-style:dashed;border-color:var(--accent-border);color:var(--accent);background:0 0}.wa-console .wa-companies .wa-add:hover{background:var(--accent-soft);border-style:solid}.wa-console .wa-tabs{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.wa-console .wa-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;align-items:center;gap:7px;padding:8px 16px;font-size:13px;font-weight:600;display:inline-flex}.wa-console .wa-tabs button:hover{color:var(--ink)}.wa-console .wa-tabs button.active{border-color:var(--accent);color:var(--ink)}.wa-console .wa-tabs button b{background:var(--risk);min-width:18px;color:var(--on-status);text-align:center;border-radius:999px;padding:1px 6px;font-size:11px}.wa-console .wa-busy{color:var(--faint);margin-left:auto;font-size:12px}.wa-console .wa-notice{border:1px solid var(--accent-border);border-radius:var(--radius-s);background:var(--accent-soft);color:var(--accent-deep);margin:0;padding:10px 12px;font-size:13px}.wa-console :is(.wa-empty,.wa-hint){color:var(--muted);margin:0;font-size:13px;line-height:1.5}.wa-console .wa-hint code{background:var(--paper);font-family:var(--font-ledger);border-radius:5px;padding:1px 5px;font-size:11px}.wa-console .wa-start{border:1px dashed var(--line-strong);border-radius:var(--radius-l);flex-direction:column;align-items:flex-start;gap:10px;padding:28px;display:flex}.wa-console .wa-start h3{color:var(--ink);margin:0;font-size:17px}.wa-console .wa-start p{max-width:560px;color:var(--muted);margin:0;font-size:14px;line-height:1.55}.wa-console .wa-inbox{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.wa-console .wa-inbox aside{flex-direction:column;gap:6px;max-height:620px;display:flex;overflow:auto}.wa-console .wa-inbox aside>button{border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface);color:var(--ink);text-align:left;padding:10px 12px}.wa-console .wa-inbox aside>button.selected{border-color:var(--accent-border);background:var(--accent-soft)}.wa-console .wa-inbox aside>button strong{font-size:13px;display:block}.wa-console .wa-inbox aside>button small{color:var(--faint);margin-top:2px;font-size:11px;font-weight:600;display:block}.wa-console .wa-inbox aside>button i{background:var(--wait-soft);color:var(--wait);border-radius:999px;margin-top:6px;padding:1px 7px;font-size:11px;font-style:normal;font-weight:700;display:inline-block}.wa-console label.wa-filter{color:var(--muted);align-items:center;gap:8px;margin:0;padding:8px 4px;font-size:12px;font-weight:600;display:flex}.wa-console .wa-inbox section{border:1px solid var(--line);border-radius:var(--radius-m);background:var(--surface);flex-direction:column;gap:12px;padding:16px;scroll-margin-top:76px;display:flex}.wa-console .wa-chat-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.wa-console .wa-chat-head strong{font-size:14px}.wa-console .wa-chat-head small{color:var(--faint);margin-top:2px;font-size:11px;display:block}.wa-console .wa-chat-actions{flex-wrap:wrap;gap:8px;display:flex}.wa-console :is(.wa-chat-actions,.wa-campaign-actions,.wa-form-actions,.wa-checklist,.wa-draft) button:not(.primary){border:1px solid var(--line-strong);min-height:36px;color:var(--ink);background:0 0;border-radius:999px;padding:0 14px;font-size:13px;font-weight:600}.wa-console :is(.wa-chat-actions,.wa-campaign-actions,.wa-form-actions,.wa-checklist,.wa-draft) button:not(.primary):hover:not(:disabled){border-color:var(--accent)}.wa-console button.danger{border-color:var(--risk);color:var(--risk)}.wa-console button:disabled{opacity:.5;cursor:not-allowed}.wa-console .wa-flag{border-radius:var(--radius-s);background:var(--wait-soft);color:var(--wait);margin:0;padding:9px 11px;font-size:12px}.wa-console .wa-thread{flex-direction:column;gap:8px;max-height:420px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.wa-console .wa-thread li{background:var(--paper);border-radius:14px;max-width:78%;padding:9px 12px}.wa-console .wa-thread li.out{background:var(--accent-soft);align-self:flex-end}.wa-console .wa-thread li.out.draft{background:var(--wait-soft)}.wa-console .wa-thread li.out.failed{background:var(--risk-soft)}.wa-console .wa-thread p{white-space:pre-wrap;margin:0;font-size:13px}.wa-console .wa-thread small{color:var(--faint);margin-top:4px;font-size:11px;display:block}.wa-console .wa-draft{border:1px solid var(--wait);border-radius:var(--radius-s);background:var(--wait-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.wa-console .wa-draft p{margin:0;font-size:13px}.wa-console .wa-draft div{gap:8px;display:flex}.wa-console .wa-reply{align-items:flex-end;gap:8px;display:flex}.wa-console .wa-reply textarea{border:1px solid var(--line-strong);border-radius:var(--radius-s);background:var(--surface);min-height:64px;color:var(--ink);font:inherit;resize:vertical;flex:1;padding:10px 12px;font-size:13px}.wa-console .wa-table-wrap{flex-direction:column;gap:10px;display:flex;overflow-x:auto}.wa-console .wa-table{border-collapse:collapse;width:100%;font-size:13px}.wa-console .wa-table th{border-bottom:1px solid var(--line);color:var(--muted);letter-spacing:.04em;text-align:left;text-transform:uppercase;padding:9px 10px;font-size:11px}.wa-console .wa-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:10px}.wa-console .wa-table td small{color:var(--faint);margin-top:2px;font-size:11px;display:block}.wa-console .wa-pill{background:var(--paper);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.wa-console .wa-pill.qualified{background:var(--ok-soft);color:var(--ok)}.wa-console .wa-pill.nurture{background:var(--accent-soft);color:var(--accent-deep)}.wa-console :is(.wa-pill.not_fit,.wa-pill.lost){background:var(--risk-soft);color:var(--risk)}.wa-console :is(.wa-pill.booked,.wa-pill.customer){background:var(--ok-soft);color:var(--ok)}.wa-console :is(.wa-campaigns,.wa-setup){flex-direction:column;gap:16px;display:flex}.wa-console .wa-card{border:1px solid var(--line);border-radius:var(--radius-m);background:var(--surface);flex-direction:column;gap:14px;padding:20px;display:flex}.wa-console .wa-card h3{color:var(--ink);margin:0;font-size:17px}.wa-console .wa-card label{color:var(--ink);flex-direction:column;gap:6px;margin:0;font-size:12px;font-weight:700;display:flex}.wa-console .wa-card label span{color:var(--muted);font-weight:600}.wa-console .wa-card :is(input,select,textarea){border:1px solid var(--line-strong);border-radius:var(--radius-s);background:var(--surface);width:100%;min-height:42px;color:var(--ink);font:inherit;padding:9px 12px;font-size:14px;font-weight:500}.wa-console :is(input,textarea)::placeholder{color:var(--faint);opacity:1;font-weight:400}.wa-console .wa-card textarea{resize:vertical;line-height:1.5}.wa-console .wa-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.wa-console input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:var(--accent);flex:none;margin:0;padding:0}.wa-console .wa-card label.wa-check{min-height:42px;color:var(--ink);flex-direction:row;align-self:end;align-items:center;gap:10px;font-size:13px;font-weight:600}.wa-console .wa-card label.wa-check span{color:var(--ink)}.wa-console .wa-form-actions{flex-wrap:wrap;gap:8px;display:flex}.wa-console .wa-preview{border-radius:var(--radius-s);background:var(--ok-soft);color:var(--ok);margin:0;padding:10px 12px;font-size:12px}.wa-console .wa-campaign{border:1px solid var(--line);border-radius:var(--radius-s);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;display:flex}.wa-console .wa-campaign strong{font-size:13px;display:block}.wa-console .wa-campaign small{color:var(--faint);margin-top:2px;font-size:11px;display:block}.wa-console .wa-campaign-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.wa-console .wa-campaign-actions input{border:1px solid var(--line-strong);border-radius:var(--radius-s);background:var(--surface);width:auto;min-height:36px;color:var(--ink);font:inherit;padding:7px 10px;font-size:12px}.wa-console .wa-checklist{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.wa-console .wa-checklist li{border:1px solid var(--line);border-left:3px solid var(--line-strong);border-radius:var(--radius-s);padding:12px 14px}.wa-console .wa-checklist li.done{border-left-color:var(--ok);background:var(--ok-soft)}.wa-console .wa-checklist .wa-warning{color:var(--risk);margin-top:6px;font-weight:600;display:block}.wa-console .wa-checklist strong{font-size:13px}.wa-console .wa-checklist small{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.5;display:block}.wa-console .wa-checklist small code{background:var(--surface);font-family:var(--font-ledger);word-break:break-all;border-radius:5px;padding:1px 5px;font-size:11px}.wa-console .wa-checklist li>div{flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;display:flex}.wa-console .wa-checklist li input{border:1px solid var(--line-strong);border-radius:var(--radius-s);background:var(--surface);width:120px;min-height:36px;color:var(--ink);font:inherit;padding:7px 10px;font-size:12px}@container (width<=760px){.wa-console .wa-inbox{grid-template-columns:1fr}.wa-console .wa-inbox aside{max-height:260px}.wa-console .wa-thread li{max-width:92%}.wa-console .wa-reply{flex-direction:column;align-items:stretch}}@container (width<=560px){.wa-console .wa-table,.wa-console .wa-table tbody{display:block}.wa-console .wa-table thead{display:none}.wa-console .wa-table tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 2px;display:grid}.wa-console .wa-table td{overflow-wrap:anywhere;border:0;grid-column:1;min-width:0;padding:0;display:block}.wa-console .wa-table td[data-label]:before{content:attr(data-label) ": ";color:var(--muted);font-size:12px}.wa-console .wa-table td.wa-status{grid-area:1/2}}@container (width<=480px){.wa-console .wa-tabs{gap:4px}.wa-console .wa-tabs button{gap:5px;padding:6px 9px}.wa-console .wa-card{padding:16px}.wa-console .wa-start{padding:20px}.wa-console .wa-companies{width:100%}}.cs-root,[data-theme=light] .cs-root,.cs-root[data-theme=light]{--cs-bg:#fff;--cs-bg-sunken:#f6f7f9;--cs-bg-raised:#fff;--cs-bubble-user:#eef2ff;--cs-bubble-assistant:#f6f7f9;--cs-text:#16181d;--cs-text-muted:#5b6270;--cs-text-faint:#868d9b;--cs-border:#e2e5ea;--cs-border-strong:#c9ced8;--cs-accent:#3b5bdb;--cs-accent-text:#fff;--cs-accent-soft:#dbe4ff;--cs-danger:#c92a2a;--cs-danger-soft:#fff0f0;--cs-danger-border:#f3bcbc;--cs-warning:#a26b02;--cs-warning-soft:#fff8e1;--cs-focus:#1c7ed6;--cs-code-bg:#f3f4f7;--cs-code-bar:#e9ebf0;--cs-code-text:#1f2430;--cs-shadow:#1012181f;--cs-tok-comment:#6d7686;--cs-tok-string:#0b7285;--cs-tok-number:#a61e4d;--cs-tok-keyword:#5f3dc4;--cs-tok-boolean:#a61e4d;--cs-tok-function:#1864ab;--cs-tok-operator:#495057;--cs-tok-punctuation:#868d9b;--cs-tok-property:#0b7285;--cs-tok-tag:#c2255c;--cs-tok-attr:#1864ab;--cs-tok-variable:#d9480f;--cs-composer-line-height:22px;--cs-radius:10px;--cs-gap:12px}@media (prefers-color-scheme:dark){.cs-root:not([data-theme=light]){--cs-bg:#14161a;--cs-bg-sunken:#0f1114;--cs-bg-raised:#1b1e24;--cs-bubble-user:#1f2740;--cs-bubble-assistant:#1b1e24;--cs-text:#e8eaee;--cs-text-muted:#a2a9b6;--cs-text-faint:#767e8d;--cs-border:#2a2f38;--cs-border-strong:#3b424e;--cs-accent:#7e9bff;--cs-accent-text:#10131a;--cs-accent-soft:#24304f;--cs-danger:#ff8787;--cs-danger-soft:#2a1a1a;--cs-danger-border:#5c2b2b;--cs-warning:#ffc078;--cs-warning-soft:#2b2416;--cs-focus:#74c0fc;--cs-code-bg:#111318;--cs-code-bar:#1d2028;--cs-code-text:#e3e6ec;--cs-shadow:#00000080;--cs-tok-comment:#7d8697;--cs-tok-string:#7ad3c8;--cs-tok-number:#ffa8b8;--cs-tok-keyword:#c4b5fd;--cs-tok-boolean:#ffa8b8;--cs-tok-function:#8ec7ff;--cs-tok-operator:#b9c0cc;--cs-tok-punctuation:#7d8697;--cs-tok-property:#7ad3c8;--cs-tok-tag:#ff9ec4;--cs-tok-attr:#8ec7ff;--cs-tok-variable:#ffb38a}}[data-theme=dark] .cs-root,.cs-root[data-theme=dark]{--cs-bg:#14161a;--cs-bg-sunken:#0f1114;--cs-bg-raised:#1b1e24;--cs-bubble-user:#1f2740;--cs-bubble-assistant:#1b1e24;--cs-text:#e8eaee;--cs-text-muted:#a2a9b6;--cs-text-faint:#767e8d;--cs-border:#2a2f38;--cs-border-strong:#3b424e;--cs-accent:#7e9bff;--cs-accent-text:#10131a;--cs-accent-soft:#24304f;--cs-danger:#ff8787;--cs-danger-soft:#2a1a1a;--cs-danger-border:#5c2b2b;--cs-warning:#ffc078;--cs-warning-soft:#2b2416;--cs-focus:#74c0fc;--cs-code-bg:#111318;--cs-code-bar:#1d2028;--cs-code-text:#e3e6ec;--cs-shadow:#00000080;--cs-tok-comment:#7d8697;--cs-tok-string:#7ad3c8;--cs-tok-number:#ffa8b8;--cs-tok-keyword:#c4b5fd;--cs-tok-boolean:#ffa8b8;--cs-tok-function:#8ec7ff;--cs-tok-operator:#b9c0cc;--cs-tok-punctuation:#7d8697;--cs-tok-property:#7ad3c8;--cs-tok-tag:#ff9ec4;--cs-tok-attr:#8ec7ff;--cs-tok-variable:#ffb38a}.cs-root{background:var(--cs-bg);max-width:100%;height:100%;min-height:0;color:var(--cs-text);box-sizing:border-box;flex-direction:column;font:15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;display:flex;overflow-x:hidden}.cs-root *,.cs-root :before,.cs-root :after{box-sizing:inherit}.cs-thread-outer{flex:auto;min-height:0;display:flex;position:relative}.cs-thread{overscroll-behavior:contain;background:var(--cs-bg);flex:auto;min-height:0;padding:16px;overflow:hidden auto}.cs-thread-inner{width:100%;max-width:48rem;margin:0 auto}.cs-row{width:100%}.cs-jump{border:1px solid var(--cs-border-strong);background:var(--cs-bg-raised);color:var(--cs-text);box-shadow:0 2px 10px var(--cs-shadow);cursor:pointer;font:inherit;border-radius:999px;padding:6px 14px;font-size:13px;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.cs-msg{margin:0 0 var(--cs-gap);border-radius:var(--cs-radius);background:var(--cs-bubble-assistant);border:1px solid var(--cs-border);overflow-wrap:anywhere;max-width:100%;padding:10px 14px}.cs-msg[data-role=user]{background:var(--cs-bubble-user)}.cs-msg-head{color:var(--cs-text-muted);flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:4px;font-size:12px;display:flex}.cs-msg-role{color:var(--cs-text);font-weight:600}.cs-msg-model,.cs-msg-cost,.cs-msg-time{color:var(--cs-text-faint)}.cs-badge{border:1px solid var(--cs-border-strong);background:var(--cs-bg-sunken);color:var(--cs-text-muted);border-radius:999px;padding:1px 7px;font-size:11px}.cs-msg-body{min-width:0}.cs-error{border:1px solid var(--cs-danger-border);background:var(--cs-danger-soft);color:var(--cs-danger);border-radius:8px;flex-direction:column;gap:2px;margin-top:6px;padding:10px 12px;display:flex}.cs-error-title{font-weight:600}.cs-error-reason{color:var(--cs-text)}.cs-msg-actions{opacity:.55;gap:6px;margin-top:8px;transition:opacity .12s;display:flex}.cs-msg:hover .cs-msg-actions,.cs-msg:focus-within .cs-msg-actions{opacity:1}.cs-caret{vertical-align:text-bottom;background:var(--cs-accent);width:.5em;height:1em;margin-left:2px;animation:1s steps(2,start) infinite cs-blink;display:inline-block}@keyframes cs-blink{to{visibility:hidden}}.cs-markdown>:first-child{margin-top:0}.cs-markdown>:last-child{margin-bottom:0}.cs-p{white-space:pre-wrap;margin:0 0 .75em}.cs-h{margin:1em 0 .4em;line-height:1.3}.cs-h1{font-size:1.5em}.cs-h2{font-size:1.3em}.cs-h3{font-size:1.15em}.cs-h4,.cs-h5,.cs-h6{font-size:1em}.cs-list{margin:0 0 .75em;padding-left:1.4em;list-style:outside}ol.cs-list{list-style-type:decimal}.cs-li{margin:.15em 0}.cs-hr{border:0;border-top:1px solid var(--cs-border);margin:1em 0}.cs-quote{border-left:3px solid var(--cs-border-strong);color:var(--cs-text-muted);margin:0 0 .75em;padding:2px 0 2px 12px}.cs-link{color:var(--cs-accent);text-decoration:underline}.cs-blocked-link{color:var(--cs-text-muted);-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.cs-md-img{border-radius:8px;max-width:100%;height:auto}.cs-inline-code{background:var(--cs-code-bg);color:var(--cs-code-text);overflow-wrap:anywhere;border-radius:5px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.9em}.cs-codeblock{border:1px solid var(--cs-border);background:var(--cs-code-bg);border-radius:8px;max-width:100%;margin:0 0 .75em;overflow:hidden}.cs-codeblock-bar{background:var(--cs-code-bar);border-bottom:1px solid var(--cs-border);color:var(--cs-text-muted);justify-content:space-between;align-items:center;gap:8px;padding:4px 8px;font-size:12px;display:flex}.cs-copy-code{font:inherit;border:1px solid var(--cs-border-strong);background:var(--cs-bg-raised);color:var(--cs-text);cursor:pointer;border-radius:6px;padding:2px 8px;font-size:12px}.cs-copy-code[data-copied=true]{border-color:var(--cs-accent);color:var(--cs-accent)}.cs-pre{max-width:100%;margin:0;padding:10px 12px;overflow-x:auto}.cs-code{color:var(--cs-code-text);white-space:pre;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.5}.cs-tok-comment{color:var(--cs-tok-comment);font-style:italic}.cs-tok-string{color:var(--cs-tok-string)}.cs-tok-number{color:var(--cs-tok-number)}.cs-tok-keyword{color:var(--cs-tok-keyword)}.cs-tok-boolean{color:var(--cs-tok-boolean)}.cs-tok-function{color:var(--cs-tok-function)}.cs-tok-operator{color:var(--cs-tok-operator)}.cs-tok-punctuation{color:var(--cs-tok-punctuation)}.cs-tok-property{color:var(--cs-tok-property)}.cs-tok-tag{color:var(--cs-tok-tag)}.cs-tok-attr{color:var(--cs-tok-attr)}.cs-tok-variable{color:var(--cs-tok-variable)}.cs-table-wrap{max-width:100%;margin:0 0 .75em;overflow-x:auto}.cs-table{border-collapse:collapse;font-size:.95em}.cs-th,.cs-td{border:1px solid var(--cs-border);text-align:left;padding:6px 10px}.cs-th{background:var(--cs-bg-sunken);font-weight:600}.cs-chips{flex-wrap:wrap;gap:8px;margin:0 0 8px;padding:0;list-style:none;display:flex}.cs-chips-sent{margin:8px 0 0}.cs-chip{border:1px solid var(--cs-border);background:var(--cs-bg-raised);border-radius:8px;align-items:center;gap:8px;max-width:100%;padding:4px 6px 4px 4px;font-size:12px;display:flex}.cs-chip-thumb{object-fit:cover;background:var(--cs-bg-sunken);border-radius:5px;width:32px;height:32px}.cs-chip-glyph{background:var(--cs-bg-sunken);width:32px;height:32px;color:var(--cs-text-muted);border-radius:5px;justify-content:center;align-items:center;font-size:10px;font-weight:700;display:inline-flex}.cs-chip-text{flex-direction:column;min-width:0;display:flex}.cs-chip-name{white-space:nowrap;text-overflow:ellipsis;max-width:14rem;font-weight:600;overflow:hidden}.cs-chip-meta{color:var(--cs-text-muted)}.cs-chip-warning{color:var(--cs-warning);background:var(--cs-warning-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:5px;max-width:12rem;padding:1px 5px;overflow:hidden}.cs-chip-remove{color:var(--cs-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 6px;font-size:16px;line-height:1}.cs-chip-remove:hover{color:var(--cs-danger)}.cs-composer{border-top:1px solid var(--cs-border);background:var(--cs-bg-raised);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));flex:none;max-width:100%}.cs-composer[data-dragging=true]{background:var(--cs-accent-soft)}.cs-composer-row{align-items:flex-end;gap:8px;max-width:48rem;margin:0 auto;display:flex}.cs-input{resize:none;min-width:0;font:inherit;line-height:var(--cs-composer-line-height);box-sizing:border-box;border:1px solid var(--cs-border-strong);border-radius:var(--cs-radius);background:var(--cs-bg);color:var(--cs-text);max-height:calc(var(--cs-composer-line-height) * 10 + 20px);flex:auto;padding:10px 12px}.cs-input:disabled{background:var(--cs-bg-sunken);color:var(--cs-text-muted)}.cs-composer-hint{max-width:48rem;color:var(--cs-text-faint);margin:6px auto 0;font-size:11px}.cs-attach{display:inline-flex;position:relative}.cs-attach-face{border-radius:var(--cs-radius);border:1px solid var(--cs-border-strong);background:var(--cs-bg);width:38px;height:38px;color:var(--cs-text);cursor:pointer;justify-content:center;align-items:center;font-size:20px;display:inline-flex}.cs-file-input{opacity:0;width:1px;height:1px;position:absolute;inset:0}:is(.cs-file-input:focus-visible+.cs-attach-face,.cs-file-input:focus+.cs-attach-face){outline:2px solid var(--cs-focus);outline-offset:2px}.cs-btn{font:inherit;border-radius:var(--cs-radius);border:1px solid var(--cs-border-strong);background:var(--cs-bg);color:var(--cs-text);cursor:pointer;padding:8px 14px;font-size:13px}.cs-btn:disabled{opacity:.5;cursor:default}.cs-btn-primary{background:var(--cs-accent);border-color:var(--cs-accent);color:var(--cs-accent-text)}.cs-btn-danger{background:var(--cs-danger);border-color:var(--cs-danger);color:var(--cs-accent-text)}.cs-btn-stop{background:var(--cs-bg);border-color:var(--cs-danger);color:var(--cs-danger)}.cs-btn-quiet{color:var(--cs-text-muted);background:0 0;border-color:#0000;padding:3px 8px;font-size:12px}.cs-btn-quiet:hover{border-color:var(--cs-border);color:var(--cs-text)}.cs-btn-quiet[data-copied=true]{color:var(--cs-accent)}.cs-edit{flex-direction:column;gap:8px;display:flex}.cs-edit-input{resize:vertical;border:1px solid var(--cs-border-strong);background:var(--cs-bg);width:100%;color:var(--cs-text);font:inherit;line-height:var(--cs-composer-line-height);border-radius:8px;padding:8px 10px}.cs-edit-actions{flex-wrap:wrap;gap:8px;display:flex}.cs-confirm{border:1px solid var(--cs-danger-border);background:var(--cs-danger-soft);border-radius:8px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.cs-confirm-text{color:var(--cs-text);margin:0;font-size:13px}.cs-root :focus-visible{outline:2px solid var(--cs-focus);outline-offset:2px;border-radius:4px}@supports not selector(:focus-visible){.cs-root :focus{outline:2px solid var(--cs-focus);outline-offset:2px}}.cs-sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:480px){.cs-root{overflow-x:hidden}.cs-thread{padding:10px 10px 4px}.cs-msg{border-radius:8px;padding:8px 10px}.cs-composer{padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))}.cs-composer-hint{display:none}.cs-chip-name{max-width:9rem}.cs-code{font-size:12px}.cs-btn{min-height:38px}.cs-btn-quiet{min-height:32px}}@media (prefers-reduced-motion:reduce){.cs-caret{animation:none;display:none}.cs-root *,.cs-root :before,.cs-root :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.tw-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tw-new{flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0 0 18px;display:flex}.tw-new label,.tw-fields label{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.tw-grow{flex:220px}.tw-new input,.tw-new select,.tw-fields input,.tw-fields select,.tw-reply textarea,.tw-table select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:9px 10px;font-size:13px}:is(.tw-new input:focus-visible,.tw-new select:focus-visible,.tw-fields input:focus-visible,.tw-fields select:focus-visible,.tw-reply textarea:focus-visible,.tw-table select:focus-visible){outline:2px solid var(--accent);outline-offset:1px}.tw-new .primary,.tw-reply .primary{background:var(--accent-fill);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:9px 16px;font-weight:600}.tw-new .primary:disabled,.tw-reply .primary:disabled{opacity:.5;cursor:default}.tw-grid{grid-template-columns:minmax(240px,2fr) 3fr;align-items:start;gap:16px;display:grid}.tw-list,.tw-detail,.tw-panel{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:14px}.tw-panel{margin:0 0 16px}.tw-panel h3,.tw-detail h3{margin:0 0 12px;font-size:16px}.tw-filters{gap:6px;margin:0 0 10px;display:flex}.tw-filters button{border:1px solid var(--line);background:var(--surface-2);color:var(--ink-2);cursor:pointer;border-radius:999px;padding:5px 10px;font-size:12px}.tw-filters button.active{border-color:var(--accent-border);background:var(--accent-soft);color:var(--accent-deep)}.tw-item{border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;border-radius:10px;gap:4px;width:100%;margin:0 0 8px;padding:10px 12px;display:grid}.tw-item:hover,.tw-item.selected{border-color:var(--accent-border);background:var(--accent-soft)}.tw-item strong{color:var(--ink);font-size:14px}.tw-item small{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.tw-status{background:var(--surface-2);color:var(--ink-2);border-radius:999px;justify-self:start;padding:2px 8px;font-size:11px;font-weight:600}.tw-status.s-in_progress{background:var(--accent-soft);color:var(--accent-deep)}.tw-status.s-needs_review{background:var(--wait-soft);color:var(--wait)}.tw-status.s-done{background:var(--ok-soft);color:var(--ok)}.tw-due.late{color:var(--risk);font-weight:600}.tw-fields{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.tw-watchers,.tw-hint,.tw-none{color:var(--muted);font-size:12px}.tw-thread{gap:8px;max-height:360px;margin:12px 0;padding:0;list-style:none;display:grid;overflow-y:auto}.tw-thread li{background:var(--surface-2);border-radius:10px;padding:10px 12px}.tw-thread li.mine{background:var(--accent-soft)}.tw-thread li div{flex-wrap:wrap;align-items:baseline;gap:8px;font-size:12px;display:flex}.tw-thread li time{color:var(--faint)}.tw-thread li p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;font-size:14px}.tw-reply{align-items:flex-end;gap:10px;display:flex}.tw-reply textarea{resize:vertical;width:100%}.tw-table{border-collapse:collapse;width:100%;font-size:13px}.tw-table th,.tw-table td{border-bottom:1px solid var(--line);text-align:left;padding:8px 6px}.tw-table th{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.tw-roles{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:0;display:grid}.tw-roles div{background:var(--surface-2);border-radius:10px;padding:10px}.tw-roles dt{font-weight:600}.tw-roles dd{color:var(--ink-2);margin:4px 0 0;font-size:12px}.tw-note{border-color:var(--wait);background:var(--wait-soft)}@media (max-width:720px){.tw-grid{grid-template-columns:1fr}.tw-table{display:block;overflow-x:auto}}.tw-switch{max-width:360px;color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.tw-switch select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:9px 10px;font-size:13px}.tw-budget{flex-wrap:wrap;gap:12px 28px;margin:0 0 12px;display:flex}.tw-budget dt{color:var(--muted);font-size:12px}.tw-budget dd{color:var(--ink);margin:2px 0 0;font-size:18px;font-weight:600}.tw-invite{flex-wrap:wrap;align-items:flex-end;gap:8px;margin:0 0 12px;display:flex}.tw-invite label{color:var(--muted);flex-direction:column;flex:280px;gap:5px;font-size:12px;display:flex}.tw-invite textarea{border:1px solid var(--line);background:var(--surface-2);color:var(--ink);resize:vertical;border-radius:8px;padding:9px 10px;font-size:13px}.tw-scroll{max-width:100%;margin:10px 0;overflow-x:auto}.tw-actions{flex-wrap:wrap;gap:6px;display:flex}.tw-bad{color:var(--risk);font-weight:700}.tw-error{border-color:color-mix(in srgb, var(--risk) 35%, transparent);background:var(--risk-soft);color:var(--risk)}.tw-login-new select,.tw-invite input{border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:8px;padding:8px 10px;font-size:13px}.tw-login-new label{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.tw-keys{gap:6px;margin:8px 0;padding:0;font-size:13px;list-style:none;display:grid}.tw-keys li{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.activity-filters label{color:var(--muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.activity-filters .activity-check{flex-direction:row;align-items:center;gap:6px}.activity-exports{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.activity-exports a{text-decoration:none}.activity-people{flex-wrap:wrap;gap:8px 18px;margin:0 0 10px;padding:0;font-size:13px;list-style:none;display:flex}.activity-people small{color:var(--muted)}.activity-list{margin:0;padding:0;list-style:none}.activity-list li{border-bottom:1px solid var(--line);grid-template-columns:minmax(130px,170px) 1fr;gap:2px 14px;padding:9px 0;font-size:13px;display:grid}.activity-list li:last-child{border-bottom:0}.activity-list time{color:var(--muted);grid-row:span 2;font-size:12px}.activity-list p{overflow-wrap:anywhere;margin:0}.activity-list small{color:var(--muted);font-size:12px}.activity-list li.failed p{color:var(--risk)}@media (max-width:700px){.activity-list li{grid-template-columns:1fr}.activity-list time{grid-row:auto}.activity-exports{margin-left:0}}.seo-crawls{gap:6px;margin:0;padding:0;list-style:none;display:grid}.seo-crawls li{align-items:center;gap:8px;display:flex}.seo-crawls li>button:first-child{border:1px solid var(--line);background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;border-radius:8px;flex-direction:column;flex:1;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.seo-crawls li>button.active{border-color:var(--accent)}.seo-crawls small,.seo-pages small,.seo-dupes small{color:var(--muted);overflow-wrap:anywhere;font-size:12px;display:block}.seo h4{margin:16px 0 8px;font-size:13px}.seo-dupes{margin:0;padding-left:18px;font-size:13px}.seo-issue{font-size:12px;display:block}.seo-issue.error{color:var(--risk)}.seo-issue.warning{color:var(--wait)}.seo-issue.notice{color:var(--muted)}.seo-domain{max-width:320px;color:var(--muted);flex-direction:column;gap:4px;margin:0 0 10px;font-size:12px;display:flex}.seo-domain input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:8px 10px}.tw-table td small{color:var(--muted);font-size:12px;display:block}.calls-incoming{z-index:5;border:2px solid var(--accent);background:var(--accent-soft);color:var(--ink);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px;padding:14px 16px;font-size:15px;display:flex;position:sticky;top:0}@media (prefers-reduced-motion:no-preference){.calls-incoming{animation:1.2s ease-in-out infinite alternate calls-ring}}@keyframes calls-ring{0%{box-shadow:0 0 0 0 var(--accent-border)}to{box-shadow:0 0 0 6px #0000}}.calls-phone{gap:12px;display:grid}.calls-controls{gap:8px;display:flex}.calls-controls button,.calls-keypad button{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:10px;padding:10px 14px;font-size:15px}.calls-controls button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.calls-controls .danger{border-color:var(--risk);color:#fff;background:#c0392b}.calls-keypad{grid-template-columns:repeat(3,64px);gap:8px;display:grid}:is(.calls-keypad button:focus-visible,.calls-controls button:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.calls-filter{color:var(--muted);align-items:center;gap:6px;margin:0 0 10px;font-size:12px;display:inline-flex}.calls audio{max-width:220px;height:32px}.meetings-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.meetings-actions button,.meetings-actions a{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:8px;padding:6px 10px;font-size:13px;text-decoration:none}.meetings-actions .primary{border-color:var(--accent);background:var(--accent-fill);color:#fff}:is(.meetings-actions button:focus-visible,.meetings-actions a:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.meetings-live{flex-direction:column;min-height:0;display:flex}.meetings-frame{border:1px solid var(--line);background:var(--surface);border-radius:12px;width:100%;height:min(78vh,900px);min-height:480px}@media (max-width:640px){.meetings-frame{height:70vh;min-height:360px}}.crm-tabs{flex-wrap:wrap;gap:6px;margin:0 0 14px;display:flex}.crm-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600}.crm-tabs button.active{border-color:var(--accent);color:var(--ink)}.crm{container-type:inline-size}.crm-split{gap:16px;display:grid}@container (width>=1000px){.crm-split{grid-template-columns:minmax(0,1.4fr) minmax(360px,1fr);align-items:start}}.crm .tw-table td small{color:var(--ink-2)}.crm .crm-add-toggle{display:none}@container (width<=560px){.crm .crm-contacts,.crm-contacts tbody{display:block;overflow:visible}.crm-contacts thead{display:none}.crm-contacts tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:11px 2px;display:grid}.crm-contacts td{overflow-wrap:anywhere;border:0;min-width:0;padding:0}.crm-contacts .crm-selected{background:#7f7fff14;border-radius:10px;margin:0 -8px;padding:11px 10px}.crm-contacts .crm-selected td{background:0 0}.crm-contacts td:nth-child(3){grid-area:1/2;justify-self:end}.crm-contacts td:nth-child(2){grid-column:1/-1}.crm-contacts td:nth-child(4),.crm-contacts td:nth-child(5){color:var(--muted);font-size:12px}.crm-contacts td:nth-child(5){text-align:right}.crm-contacts .crm-link{min-height:32px;font-size:15px}.crm .crm-add-toggle{border:1px dashed var(--accent);background:var(--surface);width:100%;min-height:44px;color:var(--accent);border-radius:10px;margin:0 0 12px;font-weight:700;display:block}.crm .tw-new:not(.open){display:none}}.crm-detail{scroll-margin-top:72px}.crm-split>*{min-width:0}.crm .tw-panel{overflow-x:auto}.crm .tw-new label{flex:140px;min-width:0}.crm .tw-new .tw-grow{flex:220px}.crm .tw-new input,.crm .tw-new select,.crm .tw-fields input,.crm .tw-fields select{width:100%;min-width:0}.crm-filters{flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0 0 12px;display:flex}.crm-filters label,.crm-check{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.crm-check{flex-direction:row;align-items:center;gap:8px;font-size:13px}.crm-filters input,.crm-filters select,.crm-fields textarea{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;border-radius:8px;padding:8px 10px}.crm .crm-link{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;padding:0;font-weight:600}.crm .crm-link:hover{text-decoration:underline}.crm-selected td{background:#7f7fff14}.crm-pill{background:var(--line);border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600;display:inline-block}.crm-lead{background:var(--wait-soft);color:var(--wait)}.crm-qualified{background:var(--accent-soft);color:var(--accent)}.crm-customer{background:var(--ok-soft);color:var(--ok)}.crm-lost{background:var(--surface-2);color:var(--ink-2)}.crm-pager{align-items:center;gap:10px;margin-top:10px;font-size:13px;display:flex}.crm-detail-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.crm-detail-head button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:8px;width:32px;height:32px}.crm-detail h4{margin:18px 0 8px;font-size:14px}.crm-fields{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:10px 0;display:grid}.crm-fields label{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.crm-wide{grid-column:1/-1}.crm-row{flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0;display:flex}.crm-row a,.crm-row button,.crm-card select,.crm-deal select,.crm-timeline button{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:8px;padding:7px 12px;font-size:13px;text-decoration:none}.crm-row .primary{background:var(--accent-fill);color:#fff;border:0;font-weight:600}.crm-danger{margin-left:auto;border-color:var(--risk)!important;color:var(--risk)!important}.crm-deal{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:8px 0;display:flex}.crm-deal small{color:var(--muted);font-size:12px;display:block}.crm-timeline,.crm-transcript{gap:10px;margin:0;padding:0;list-style:none;display:grid}.crm-entry{border:1px solid var(--line);border-left:3px solid var(--line);border-radius:8px;padding:10px 12px}.crm-kind-form,.crm-kind-chat{border-left-color:color-mix(in srgb, var(--accent) 55%, transparent)}.crm-kind-whatsapp{border-left-color:var(--ok)}.crm-kind-phone_call,.crm-kind-call{border-left-color:color-mix(in srgb, var(--accent) 55%, transparent)}.crm-kind-task{border-left-color:var(--wait)}.crm-kind-stage{border-left-color:var(--accent)}.crm-entry-head{color:var(--muted);justify-content:space-between;gap:10px;margin:0 0 4px;font-size:12px;display:flex}.crm-entry-head strong{color:var(--ink)}.crm-entry-body{white-space:pre-wrap;margin:0;font-size:13px}.crm-board{grid-auto-columns:minmax(220px,1fr);grid-auto-flow:column;gap:12px;padding-bottom:8px;display:grid;overflow-x:auto}.crm-column{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-height:200px;padding:10px}.crm-column h3{justify-content:space-between;margin:0 0 10px;font-size:14px;display:flex}.crm-column h3 span{color:var(--muted);font-size:12px;font-weight:500}.crm-card{border:1px solid var(--line);border-radius:10px;gap:4px;margin:0 0 8px;padding:10px;font-size:13px;display:grid}.crm-card span{color:var(--muted);font-size:12px}.crm-overdue td{color:var(--risk)}.crm-overdue small{font-weight:600;display:block}.crm-transcript li{white-space:pre-wrap;border-radius:10px;gap:4px;padding:10px 12px;font-size:13px;display:grid}.crm-transcript small{color:var(--muted);font-size:11px}.crm-visitor{background:#548dfb1f}.crm-ai{background:var(--line)}.crm-import input{font-size:12px}:is(.crm button:focus-visible,.crm a:focus-visible,.crm select:focus-visible,.crm input:focus-visible,.crm textarea:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.crm-kind-email{border-left-color:var(--accent)}.crm .crm-compose{border:1px solid var(--line);background:rgb(var(--tint) / .02);border-radius:12px;gap:10px;margin:4px 0 18px;padding:14px 16px;display:grid}.crm .crm-compose-steps{flex-wrap:wrap;gap:6px;display:flex}.crm .crm-compose-steps button{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;flex-direction:column;align-items:flex-start;gap:1px;padding:7px 14px;font-size:13px;font-weight:600;display:inline-flex}.crm .crm-compose-steps button.active{border-color:var(--accent);color:var(--ink)}.crm .crm-compose-steps small{color:var(--muted);font-size:11px;font-weight:500}.crm .crm-compose-warn{background:var(--wait-soft);color:var(--wait);border-radius:8px;margin:0;padding:9px 12px;font-size:13px}.crm .crm-compose-stop{background:var(--risk-soft);color:var(--risk);border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.crm .crm-compose-preview{border:1px solid var(--line);color:#1f2328;background:#fff;border-radius:12px;padding:18px 20px;overflow-x:auto}.crm .crm-compose-actions{margin:0}.crm .crm-compose-actions button:disabled{opacity:.5;cursor:not-allowed}.crm .crm-fieldset{border:1px solid var(--line);border-radius:12px;min-width:0;margin:14px 0 16px;padding:12px 16px 14px}.crm .crm-fieldset legend{color:var(--ink);padding:0 6px;font-size:13px;font-weight:700}.crm .crm-fieldset .crm-compose-steps{margin:0 0 10px}.crm .crm-fields label small.tw-hint{font-weight:400;display:block}.crm .crm-steps{color:var(--ink-2);margin:10px 0 14px;padding-left:20px;font-size:13px;line-height:1.6}.crm .crm-steps a,.crm .crm-lead-table a{color:var(--accent)}.crm .crm-token{color:var(--muted);flex-direction:column;flex:280px;gap:5px;margin:0;font-size:12px;display:flex}.crm .crm-token input{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:8px;padding:8px 10px}.crm .crm-price{gap:3px;margin:2px 0 0;font-size:13px;display:grid}.crm .crm-price small{color:var(--muted);font-size:12px;line-height:1.5}.crm .crm-fields .crm-check{color:var(--ink-2);text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;margin:0;font-size:13px}.crm .crm-check input{width:auto;margin:0}.crm .crm-lead-table td:first-child{width:28px}.crm .crm-lead-table input[type=checkbox]{width:18px;height:18px;margin:0}.crm .crm-lead-table td small,.crm .crm-lead-searches td small{color:var(--muted);font-size:12px;display:block}.crm .crm-lead-table .crm-pill{margin-top:4px;font-size:11px}.crm .crm-lead-results .crm-row button:not(.primary){background:var(--surface);color:var(--ink-2)}.crm .crm-lead-results .crm-row button:disabled{opacity:.5;cursor:not-allowed}@container (width<=560px){.crm .crm-lead-table,.crm .crm-lead-table tbody,.crm .crm-lead-searches,.crm .crm-lead-searches tbody{display:block}.crm .crm-lead-table thead,.crm .crm-lead-searches thead{display:none}.crm .crm-lead-table tr{border-bottom:1px solid var(--line);grid-template-columns:28px minmax(0,1fr);gap:3px 8px;padding:11px 2px;display:grid}.crm .crm-lead-table td{overflow-wrap:anywhere;border:0;min-width:0;padding:0}.crm .crm-lead-table td:first-child{grid-row:1/span 3;width:auto}.crm .crm-lead-table td:not(:first-child){grid-column:2}.crm .crm-lead-table .crm-selected,.crm .crm-lead-searches .crm-selected{background:#7f7fff14;border-radius:10px;margin:0 -8px;padding:11px 10px}.crm .crm-lead-table .crm-selected td,.crm .crm-lead-searches .crm-selected td{background:0 0}.crm .crm-lead-searches tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:11px 2px;display:grid}.crm .crm-lead-searches td{overflow-wrap:anywhere;border:0;min-width:0;padding:0}.crm .crm-lead-searches td:first-child{grid-column:1/-1}.crm .crm-lead-searches td:nth-child(4){color:var(--muted);grid-column:1/-1;font-size:12px}}.crm .crm-problem{background:var(--wait-soft);color:var(--wait);border-radius:10px;margin:0 0 12px;padding:10px 12px;font-size:13px}.xterm{cursor:text;-webkit-user-select:none;user-select:none;position:relative}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{z-index:5;position:absolute;top:0}.xterm .xterm-helper-textarea{opacity:0;z-index:-5;white-space:nowrap;resize:none;border:0;width:0;height:0;margin:0;padding:0;position:absolute;top:0;left:-9999em;overflow:hidden}.xterm .composition-view{color:#fff;white-space:nowrap;z-index:1;background:#000;display:none;position:absolute}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{cursor:default;background-color:#000;position:absolute;inset:0;overflow-y:scroll}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;top:0;left:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{visibility:hidden;line-height:normal;display:inline-block;position:absolute;top:0;left:-9999em}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{z-index:10;color:#0000;pointer-events:none;position:absolute;inset:0}.xterm .xterm-accessibility-tree:not(.debug) ::selection{color:#0000}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{width:1px;height:1px;position:absolute;left:-9999px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:underline double;text-decoration:underline double}.xterm-underline-3{-webkit-text-decoration:underline wavy;text-decoration:underline wavy}.xterm-underline-4{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.xterm-underline-5{-webkit-text-decoration:underline dashed;text-decoration:underline dashed}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:underline overline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;pointer-events:none;position:absolute;top:0;right:0}.xterm-decoration-top{z-index:2;position:relative}.ws-host{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ws-bg:#f6f5f2;--ws-bg-raised:#fff;--ws-bg-sunken:#eceae4;--ws-bg-hover:#e7e4dc;--ws-bg-selected:#d9e4f5;--ws-bg-accent:#1f4e8c;--ws-fg:#1c1b18;--ws-fg-muted:#6b675f;--ws-fg-on-accent:#fff;--ws-border:#d8d4cb;--ws-border-strong:#b7b2a7;--ws-focus:#1f4e8c;--ws-dirty:#b45309;--ws-danger:#b42318;--ws-danger-bg:#fde8e6;--ws-ok:#0e7a3d;--ws-ok-bg:#e5f5eb;--ws-warn:#8a5a00;--ws-warn-bg:#fff4d6;--ws-info-bg:#e8f0fb;--ws-diff-add-bg:#d9f2e1;--ws-diff-add-fg:#0e7a3d;--ws-diff-del-bg:#fde0dc;--ws-diff-del-fg:#b42318;--ws-shadow:0 1px 2px #1c1b1814;--ws-font:"Segoe UI", system-ui, sans-serif;--ws-font-mono:"Cascadia Code", "Consolas", ui-monospace, monospace;--ws-radius:6px;--ws-row-h:24px}.ws-host[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ws-bg:#1b1a17;--ws-bg-raised:#24231f;--ws-bg-sunken:#141311;--ws-bg-hover:#2e2c27;--ws-bg-selected:#2a3d5c;--ws-bg-accent:#7aa2e3;--ws-fg:#f3f1ec;--ws-fg-muted:#a39e93;--ws-fg-on-accent:#141311;--ws-border:#3a3832;--ws-border-strong:#5a564c;--ws-focus:#7aa2e3;--ws-dirty:#f0b429;--ws-danger:#ff8a80;--ws-danger-bg:#3d2220;--ws-ok:#7dcea0;--ws-ok-bg:#1c3326;--ws-warn:#f0c36a;--ws-warn-bg:#3a2e14;--ws-info-bg:#1d2b40;--ws-diff-add-bg:#1c3326;--ws-diff-add-fg:#7dcea0;--ws-diff-del-bg:#3d2220;--ws-diff-del-fg:#ff8a80;--ws-shadow:0 1px 2px #0006}@media (prefers-color-scheme:dark){.ws-host:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ws-bg:#1b1a17;--ws-bg-raised:#24231f;--ws-bg-sunken:#141311;--ws-bg-hover:#2e2c27;--ws-bg-selected:#2a3d5c;--ws-bg-accent:#7aa2e3;--ws-fg:#f3f1ec;--ws-fg-muted:#a39e93;--ws-fg-on-accent:#141311;--ws-border:#3a3832;--ws-border-strong:#5a564c;--ws-focus:#7aa2e3;--ws-dirty:#f0b429;--ws-danger:#ff8a80;--ws-danger-bg:#3d2220;--ws-ok:#7dcea0;--ws-ok-bg:#1c3326;--ws-warn:#f0c36a;--ws-warn-bg:#3a2e14;--ws-info-bg:#1d2b40;--ws-diff-add-bg:#1c3326;--ws-diff-add-fg:#7dcea0;--ws-diff-del-bg:#3d2220;--ws-diff-del-fg:#ff8a80;--ws-shadow:0 1px 2px #0006}}.ws-host{--ws-motion:.12s}@media (prefers-reduced-motion:reduce){.ws-host{--ws-motion:0s}}.ws-root,.ws-root *{box-sizing:border-box}.ws-root{background:var(--ws-bg);color:var(--ws-fg);font-family:var(--ws-font);height:100%;min-height:0;font-size:13px}.ws-root :focus-visible{outline:2px solid var(--ws-focus);outline-offset:-2px}.ws-root button,.ws-root input{font:inherit;color:inherit}.ws-root button{background:var(--ws-bg-raised);border:1px solid var(--ws-border-strong);border-radius:var(--ws-radius);cursor:pointer;padding:3px 10px}.ws-root button:hover:not(:disabled){background:var(--ws-bg-hover)}.ws-root button:disabled{opacity:.5;cursor:not-allowed}.ws-root button.ws-primary{background:var(--ws-bg-accent);color:var(--ws-fg-on-accent);border-color:var(--ws-bg-accent)}.ws-tree-pane{background:var(--ws-bg-sunken);border-right:1px solid var(--ws-border);flex-direction:column;height:100%;min-height:0;display:flex}.ws-tree-filter{border:1px solid var(--ws-border-strong);border-radius:var(--ws-radius);background:var(--ws-bg-raised);margin:6px;padding:4px 8px}.ws-tree{flex:1;min-height:0;position:relative;overflow:auto}.ws-tree-row{white-space:nowrap;cursor:pointer;align-items:center;gap:4px;display:flex}.ws-tree-row.is-active{background:var(--ws-bg-selected)}.ws-tree-row:hover{background:var(--ws-bg-hover)}.ws-tree-twist{width:12px;color:var(--ws-fg-muted)}.ws-dirty-mark{color:var(--ws-dirty)}.ws-inline-retry{color:var(--ws-danger);border-color:var(--ws-danger);margin-left:8px}.ws-dialog{background:var(--ws-bg-raised);border:1px solid var(--ws-border-strong);border-radius:var(--ws-radius);box-shadow:var(--ws-shadow);flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;inset:auto 8px 8px}.ws-editor{background:var(--ws-bg-raised);flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;position:relative}.ws-tabs{background:var(--ws-bg-sunken);border-bottom:1px solid var(--ws-border);gap:2px;min-height:32px;display:flex;overflow-x:auto}.ws-tab{align-items:center;gap:4px;padding:0 4px;display:flex}.ws-tab.is-active{background:var(--ws-bg-raised)}.ws-tab button{background:0 0;border:none}.ws-editor-host{flex:1;min-height:0;overflow:hidden}.ws-banner{background:var(--ws-warn-bg);color:var(--ws-warn);padding:4px 10px}.ws-empty{color:var(--ws-fg-muted);padding:24px}.ws-conflict-sides{gap:8px;width:100%;max-height:240px;display:flex;overflow:auto}.ws-conflict-sides pre{background:var(--ws-bg-sunken);white-space:pre-wrap;font-family:var(--ws-font-mono);flex:1;padding:8px}.ws-diff{background:var(--ws-bg-raised);flex-direction:column;height:100%;min-height:0;display:flex;position:relative}.ws-diff-header{border-bottom:1px solid var(--ws-border);background:var(--ws-bg-sunken);flex-wrap:wrap;align-items:center;gap:10px;padding:6px 10px;display:flex}.ws-diff-add{color:var(--ws-diff-add-fg)}.ws-diff-del{color:var(--ws-diff-del-fg)}.ws-diff-scroller{flex:1;min-height:0;overflow:auto}.ws-hunk{border-bottom:1px solid var(--ws-border)}.ws-hunk.is-current{outline:2px solid var(--ws-focus);outline-offset:-2px}.ws-hunk-file{background:var(--ws-bg-sunken);padding:4px 10px;font-weight:600;position:sticky;top:0}.ws-hunk-loc{color:var(--ws-fg-muted);font-family:var(--ws-font-mono);padding:2px 10px}.ws-hunk-body,.ws-hunk-split pre{font-family:var(--ws-font-mono);margin:0;font-size:12px}.ws-hunk-split{grid-template-columns:1fr 1fr;display:grid}.ws-line-add{background:var(--ws-diff-add-bg);color:var(--ws-diff-add-fg)}.ws-line-del{background:var(--ws-diff-del-bg);color:var(--ws-diff-del-fg)}.ws-hunk-actions{align-items:center;gap:8px;padding:4px 10px;display:flex}.ws-terminal{background:var(--ws-bg-sunken);border-top:1px solid var(--ws-border);flex-direction:column;height:100%;min-height:0;display:flex}.ws-terminal-host{flex:1;min-height:0;padding:4px}.ws-terminal-status{color:var(--ws-fg-muted);background:var(--ws-bg);border-top:1px solid var(--ws-border);padding:2px 8px}.ws-body{flex:1;min-height:0;display:flex}.ws-root{flex-direction:column;display:flex}.ws-tree-slot{min-width:0;min-height:0}.ws-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.ws-terminal-slot{flex-direction:column;min-height:0;display:flex}.ws-splitter{background:var(--ws-border);cursor:col-resize;flex:0 0 4px}.ws-splitter[aria-orientation=horizontal]{cursor:row-resize}.ws-narrow .ws-body{flex-direction:column}.ws-narrow .ws-tree-slot{height:30%;width:100%!important}.ws-banner-dead{background:var(--ws-danger-bg);color:var(--ws-danger)}.code-workspace{flex-direction:column;gap:10px;height:calc(100vh - 190px);min-height:520px;display:flex}.code-machine{border:1px solid var(--line);border-radius:12px;flex:1;min-height:0;overflow:hidden}.code-machine .ws-root{height:100%}.code-clone{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.code-clone label{color:var(--muted);flex-direction:column;flex:260px;gap:4px;font-size:12px;display:flex}.code-clone input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:8px 10px;font-size:13px}.code-clone button{background:var(--accent-fill);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:8px 14px;font-weight:600}.code-clone button:disabled{opacity:.5;cursor:default}.code-clone small{color:var(--muted);flex-basis:100%;font-size:12px}.code-empty{text-align:center;color:var(--muted);padding:40px 16px}.code-empty h3{color:var(--ink);margin:0 0 6px}.code-empty button{margin-top:10px}@media (max-width:700px){.code-workspace{height:auto}.code-machine{min-height:640px}}.code-proposals{border:1px solid var(--accent-border);background:var(--accent-soft);color:var(--ink);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:9px 12px;font-size:13px;display:flex}.code-proposals button{background:var(--accent-fill);color:#fff;cursor:pointer;border:0;border-radius:8px;margin-left:auto;padding:6px 12px;font-weight:600}.code-snapshots{flex-wrap:wrap;align-items:flex-end;gap:8px;font-size:12px;display:flex}.code-snapshots label{color:var(--muted);flex-direction:column;gap:4px;display:flex}.code-snapshots select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:7px 9px;font-size:13px}.code-snapshots button{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:8px;padding:8px 12px}.code-snapshots button.danger{border-color:var(--risk);color:#fff;background:#d14343}.code-snapshots button:disabled{opacity:.5;cursor:default}.code-push-hint{color:var(--muted);margin:0;font-size:12px}.code-push{border:1px solid var(--line);border-radius:10px;padding:8px 12px;font-size:13px}.code-push summary{cursor:pointer;color:var(--ink);font-weight:600}.code-push form{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:end;gap:8px;margin-top:10px;display:grid}.code-push label{color:var(--muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.code-push .wide{grid-column:1/-1}.code-push p{color:var(--muted);margin:0;font-size:12px}.code-push input,.code-push select,.code-push textarea{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;border-radius:8px;padding:8px 10px}.code-push .code-push-check{flex-direction:row;align-items:center;gap:6px}.code-push button{background:var(--accent-fill);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-self:start;padding:8px 14px;font-weight:600}.code-push button:disabled{opacity:.5;cursor:default}.approval-modal{width:min(880px,100%)}.approval-summary{border:1px solid var(--accent-border);border-radius:var(--radius-m);background:var(--accent-soft);align-items:center;gap:11px;margin:15px 0;padding:13px;display:flex}.approval-summary>span{border-radius:var(--radius-m);background:var(--accent-fill);color:#fff;width:40px;height:40px;font-size:16px;font-weight:700;font-family:var(--font-ledger);place-items:center;display:grid}.approval-summary strong{font-size:13px;display:block}.approval-summary small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.approval-empty{text-align:center;border:1px dashed var(--line-strong);background:var(--surface-2);border-radius:13px;place-items:center;min-height:250px;padding:30px;display:grid}.approval-empty>span{background:var(--ok-soft);width:48px;height:48px;color:var(--ok);border-radius:15px;place-items:center;font-size:19px;display:grid}.approval-empty h3{margin:12px 0 0;font-size:15px}.approval-empty p{max-width:380px;color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.55}.approval-list{gap:10px;max-height:520px;padding-right:4px;display:grid;overflow:auto}.approval-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:15px}.approval-card.pending{border-color:color-mix(in srgb, var(--wait) 55%, transparent);box-shadow:inset 3px 0 var(--wait)}.approval-card.rejected,.approval-card.expired{filter:saturate(.35);border-style:dashed}.approval-card header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.approval-card header>div{align-items:center;gap:8px;display:flex}.approval-card header strong{font-size:13px}.approval-card header>b{background:var(--surface-2);color:var(--muted);text-transform:uppercase;letter-spacing:.05em;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700}.approval-card.pending header>b{background:var(--wait-soft);color:var(--wait)}.approval-card.approved header>b{background:var(--ok-soft);color:var(--ok)}.approval-risk{background:var(--accent-soft);color:var(--ink-2);text-transform:uppercase;letter-spacing:.05em;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700}.approval-risk.high{background:var(--risk-soft);color:var(--risk)}.approval-risk.medium{background:var(--wait-soft);color:var(--wait)}.approval-card>p{color:var(--ink-2);white-space:pre-wrap;margin:12px 0;font-size:13px;line-height:1.6}.approval-details{grid-template-columns:1fr 1fr;gap:8px;display:grid}.approval-details>span{border-radius:var(--radius-s);background:var(--surface-2);color:var(--ink-2);font-size:12px;line-height:1.45;font-family:var(--font-ledger);padding:10px}.approval-details small{color:var(--faint);text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:700;font-family:var(--font-ui);margin-bottom:3px;display:block}.approval-card footer{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;margin-top:12px;padding-top:12px;display:flex}.approval-card footer button{border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface);color:var(--muted);padding:9px 12px;font-size:12px;font-weight:700}.approval-card footer .send{color:#fff;background:var(--accent-fill);border:0}.decision-note{color:var(--muted);margin-top:9px;font-size:11px;display:block}.schedule-panel{border:1px solid var(--line);border-radius:var(--radius-l);background:var(--surface-2);margin:0 20px 20px;padding:20px}.schedule-panel h3{margin:6px 0;font-size:17px}.schedule-panel p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.schedule-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:16px;display:grid}.schedule-grid label{color:var(--ink-2);font-size:12px;font-weight:700}.schedule-grid input,.schedule-grid select,.schedule-grid textarea{border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface);width:100%;color:var(--ink);outline:0;margin-top:6px;padding:10px;font-size:13px;font-weight:400;display:block}.schedule-grid input:focus,.schedule-grid select:focus,.schedule-grid textarea:focus{border-color:var(--accent)}.schedule-grid textarea{resize:vertical;min-height:88px;line-height:1.55}.schedule-grid .wide{grid-column:1/-1}.schedule-actions{flex-wrap:wrap;gap:8px;margin-top:13px;display:flex}.schedule-actions button{border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface);color:var(--ink-2);padding:9px 12px;font-size:12px;font-weight:700}.schedule-actions button:first-child,.schedule-actions button:nth-child(2){background:var(--accent-fill);color:#fff;border:0}.schedule-actions button:disabled{opacity:.45;cursor:not-allowed}.schedule-actions .danger{border-color:color-mix(in srgb, var(--risk) 35%, transparent);color:var(--risk);margin-left:auto}.schedule-next{background:var(--ok-soft);color:var(--ok);border-radius:10px;justify-content:space-between;gap:12px;margin-top:14px;padding:11px 12px;font-size:12px;display:flex}.schedule-next span{font-family:var(--font-ledger)}.schedule-history{gap:7px;margin-top:14px;display:grid}.schedule-history>strong{color:var(--ink-2);text-transform:uppercase;letter-spacing:.06em;font-size:11px}.schedule-history>div{border-radius:var(--radius-s);background:var(--surface);color:var(--ink-2);grid-template-columns:1fr auto;gap:3px 12px;padding:10px 11px;font-size:12px;display:grid}.schedule-history>div>span{font-family:var(--font-ledger)}.schedule-history b{color:var(--accent);text-transform:capitalize}.schedule-history small{color:var(--faint);grid-column:1/-1;font-size:11px}.usage-view{background:var(--surface-2);min-height:550px;padding:28px}.usage-hero{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.usage-hero h2{letter-spacing:-.02em;margin:7px 0;font-size:24px}.usage-hero p{color:var(--muted);margin:0;font-size:13px}.usage-hero label{color:var(--ink-2);font-size:12px;font-weight:700}.usage-hero select{border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface);color:var(--ink-2);margin-top:6px;padding:9px 30px 9px 10px;font-size:12px;display:block}.usage-summary{grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0;display:grid}.usage-summary article{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:15px}.usage-summary small,.usage-summary span{color:var(--faint);font-size:11px;display:block}.usage-summary strong{font-size:21px;font-family:var(--font-ledger);margin:8px 0 6px;font-weight:600;display:block}.usage-section{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin-top:13px;padding:16px}.usage-section>div:first-child{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:11px;display:flex}.usage-section h3{margin:0;font-size:14px}.usage-section>div:first-child small{color:var(--faint);font-size:11px}.usage-table{display:grid}.usage-row{border-top:1px solid var(--line);color:var(--ink-2);grid-template-columns:1fr 80px 110px 90px;align-items:center;padding:10px 8px;font-size:12px;display:grid}.usage-row>span,.usage-row>b{font-family:var(--font-ledger)}.usage-row.header{color:var(--faint);text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:700;font-family:var(--font-ui);border-top:0}.usage-row.header>span{font-family:var(--font-ui)}.usage-row strong{color:var(--ink);text-transform:capitalize}.usage-row b{color:var(--accent-deep)}.usage-history{display:grid}.usage-history>div{border-top:1px solid var(--line);grid-template-columns:48px 1fr 80px 90px;align-items:center;gap:9px;padding:10px 5px;display:grid}.usage-history p{margin:0}.usage-history p strong{color:var(--ink-2);font-size:12px;display:block}.usage-history p small,.usage-history>div>small{color:var(--faint);margin-top:3px;font-size:11px;display:block}.usage-history>div>b{color:var(--accent-deep);font-size:12px;font-family:var(--font-ledger)}.usage-kind{background:var(--accent-soft);color:var(--accent-deep);text-align:center;text-transform:uppercase;letter-spacing:.04em;border-radius:8px;padding:5px 7px;font-size:10px;font-weight:700}.usage-kind.tool{background:var(--ok-soft);color:var(--ok)}.usage-empty{border:1px dashed var(--line-strong);border-radius:var(--radius-m);color:var(--muted);text-align:center;padding:30px;font-size:12px}.usage-note{background:var(--wait-soft);color:var(--wait);border-radius:10px;margin-top:12px;padding:11px 12px;font-size:11px;line-height:1.55}@media (max-width:600px){.approval-details{grid-template-columns:1fr}.approval-card header>div{flex-direction:column;align-items:flex-start}.schedule-grid{grid-template-columns:1fr}.schedule-grid .wide{grid-column:auto}.schedule-actions .danger{margin-left:0}.usage-view{padding:18px 12px}.usage-hero{flex-direction:column}.usage-summary{grid-template-columns:1fr 1fr}.usage-row{grid-template-columns:1fr 50px 75px}.usage-row>span:nth-child(3),.usage-row.header>span:nth-child(3){display:none}.usage-history>div{grid-template-columns:42px 1fr 65px}.usage-history>div>small{display:none}}.approval-diff{border:1px solid var(--line);background:var(--surface-2);max-height:320px;font-family:var(--font-ledger,ui-monospace, monospace);white-space:pre;border-radius:8px;margin:8px 0;padding:10px;font-size:12px;line-height:1.45;overflow:auto}.approval-continue{border:1px solid var(--accent-border,var(--line));background:var(--accent-soft,transparent);border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding:12px 14px;display:flex}.approval-continue p{flex:260px;margin:0;font-size:13px}.mcp-tools .mcp-tools-note{color:var(--muted);margin:6px 0 10px;font-size:12px}.mcp-tools ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.mcp-tools li{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:9px 10px;display:flex}.mcp-tools li>div{flex:220px;min-width:0}.mcp-tools li code{font-family:var(--font-ledger);color:var(--accent-deep);overflow-wrap:anywhere;font-size:12px}.mcp-tools li p{color:var(--muted);margin:4px 0 0;font-size:12px}.mcp-tools select,.mcp-try textarea{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:7px;padding:6px 8px;font-size:12px}.mcp-badge{background:var(--accent-soft);color:var(--accent-deep);border-radius:999px;margin-left:6px;padding:1px 6px;font-size:10px;font-style:normal;display:inline-block}.mcp-badge.can-change{background:var(--wait-soft);color:var(--wait)}.mcp-badge.changed{background:var(--risk-soft);color:var(--risk)}.mcp-policy{color:var(--muted);font-size:12px}.mcp-try{gap:8px;margin-top:12px;display:grid}.mcp-try label{color:var(--muted);gap:4px;font-size:12px;display:grid}.mcp-try textarea{font-family:var(--font-ledger)}.mcp-try .send{justify-self:start}.mcp-tools pre{background:var(--surface);white-space:pre-wrap;border-radius:8px;max-height:240px;margin:10px 0 0;padding:10px;font-size:11px;overflow:auto}.mcp-bulk{flex-wrap:wrap;gap:6px;margin:0 0 10px;display:flex}.mcp-bulk button,.mcp-pages button,.mcp-actions button{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:7px;padding:5px 10px;font-size:12px}.mcp-bulk button:disabled,.mcp-pages button:disabled{opacity:.5;cursor:default}.mcp-find{flex-wrap:wrap;gap:6px;margin:0 0 10px;display:flex}.mcp-find input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:7px;flex:200px;padding:6px 8px;font-size:12px}.mcp-actions{align-items:center;gap:6px;display:flex}.mcp-pages{color:var(--muted);align-items:center;gap:10px;margin-top:10px;font-size:12px;display:flex}.media-studio{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:18px 0;padding:16px}.media-studio h3{margin:0 0 4px;font-size:16px}.media-hint{color:var(--muted);margin:0 0 12px;font-size:12px}.media-studio form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:10px;display:grid}.media-studio label{color:var(--muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.media-studio .wide,.media-kind{grid-column:1/-1}.media-kind{gap:16px;display:flex}.media-kind label{color:var(--ink);flex-direction:row;align-items:center;gap:6px;font-size:13px}.media-studio input,.media-studio select,.media-studio textarea{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;border-radius:8px;padding:8px 10px;font-size:13px}.media-studio .send{justify-self:start}.media-jobs{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:16px 0 0;padding:0;list-style:none;display:grid}.media-jobs li{border:1px solid var(--line);border-radius:10px;padding:8px;font-size:12px}.media-jobs img,.media-jobs video,.media-placeholder{aspect-ratio:16/9;object-fit:cover;background:var(--line);border-radius:8px;width:100%;display:block}.media-placeholder{color:var(--muted);place-items:center;display:grid}.media-jobs p{overflow-wrap:anywhere;margin:6px 0 2px}.media-jobs small{color:var(--muted)}.media-jobs li.failed small{color:var(--risk)}.portal{container-type:inline-size}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.portal-tabs{flex-wrap:wrap;gap:6px;margin:0 0 16px;display:flex}.portal-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:8px 15px;font-size:13px;font-weight:600;display:inline-flex}.portal-tabs button.active{border-color:var(--accent);color:var(--ink)}.portal-tabs b{background:var(--risk);min-width:18px;color:var(--on-status);text-align:center;border-radius:999px;padding:1px 6px;font-size:11px}.portal-balance{border:1px solid var(--line);border-radius:var(--radius-l);background:linear-gradient(180deg, var(--card-1), var(--card-2));flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 16px;padding:20px 22px;display:flex}.portal-balance span{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:600;display:block}.portal-balance strong{font-family:var(--font-ledger);color:var(--ink);margin-top:6px;font-size:40px;line-height:1.1;display:block}.portal-balance strong.owed{color:var(--risk)}.portal-balance small{color:var(--muted);margin-top:6px;font-size:13px;display:block}.portal-statement{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.portal-statement label,.portal-stack label,.portal-decide label{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;font-weight:600;display:flex}.portal input[type=date],.portal select,.portal textarea,.portal-stack input{border:1px solid var(--line-strong);color:var(--ink);font:inherit;border-radius:8px;padding:8px 10px}.portal textarea{resize:vertical;min-height:64px}.portal-button,.portal-row-actions button,.portal-row-actions a,.portal-decide button,.portal-thread-head button,.portal-actions button:not(.primary),.portal-back{border:1px solid var(--line-strong);min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:999px;align-items:center;padding:0 14px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.portal-button:hover,.portal-row-actions button:hover,.portal-row-actions a:hover,.portal-back:hover{border-color:var(--accent)}.portal-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.portal .portal-link{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:600;text-decoration:underline}.portal-back{margin:0 0 12px}.portal-pill{background:var(--surface-2);color:var(--ink-2);vertical-align:middle;border-radius:999px;margin-left:6px;padding:2px 9px;font-size:12px;font-weight:600;display:inline-block}.portal-pill.wait{background:var(--wait-soft);color:var(--wait)}.portal-pill.ok{background:var(--ok-soft);color:var(--ok)}.portal .tw-table td small{color:var(--muted);font-size:12px;display:block}.portal .num{text-align:right;white-space:nowrap}.portal td.num{font-family:var(--font-ledger)}.portal .num.plus{color:var(--ok)}.portal .num.minus{color:var(--ink)}.portal-ledger tr.reversed td:not(:last-child){color:var(--muted);text-decoration:line-through;-webkit-text-decoration-color:var(--line-strong);text-decoration-color:var(--line-strong)}.portal-import tr.muted td{color:var(--muted)}.portal-fold>summary{cursor:pointer;padding:4px 0;font-weight:700}.portal-fold[open]>summary{margin-bottom:14px}.portal-check{white-space:nowrap;align-items:center;gap:8px;flex-direction:row!important}.portal-file{border:1px dashed var(--accent);min-height:40px;color:var(--accent);cursor:pointer;border-radius:999px;align-items:center;padding:0 16px;font-weight:700;display:inline-flex;position:relative}.portal-file input{opacity:0;cursor:pointer;position:absolute;inset:0}.portal-file:focus-within{outline:2px solid var(--accent);outline-offset:2px}.portal-actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.portal-stack{gap:10px;margin:0 0 16px;display:grid}.portal-stack .primary,.portal-decide .primary{justify-self:start}.portal-columns{gap:16px;display:grid}.portal-columns>*{min-width:0}@container (width>=860px){.portal-columns{grid-template-columns:1fr 1fr;align-items:start}}.portal-milestones{gap:10px;margin:0 0 16px;padding:0;list-style:none;display:grid}.portal-milestones li{border:1px solid var(--line);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;display:flex}.portal-milestones li>div{flex:1;min-width:0}.portal-milestones strong,.portal-updates strong{display:block}.portal-milestones small,.portal-updates small{color:var(--muted);font-size:12px}.portal-dot{border:2px solid var(--line-strong);border-radius:50%;flex:none;width:10px;height:10px}.portal-milestones li.in_progress .portal-dot{border-color:var(--wait);background:var(--wait)}.portal-milestones li.done .portal-dot{border-color:var(--ok);background:var(--ok)}.portal-updates{gap:14px;margin:0;padding:0;list-style:none;display:grid}.portal-updates li{border-bottom:1px solid var(--line);padding:0 0 14px}.portal-updates p{white-space:pre-wrap;margin:6px 0 0}.portal-files{gap:10px;margin:0;padding:0;list-style:none;display:grid}.portal-files li{border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.portal-files li.waiting{border-color:color-mix(in srgb, var(--wait) 55%, transparent)}.portal-files li>div:first-child{flex:240px;min-width:0}.portal-files a{color:var(--ink);overflow-wrap:anywhere;font-weight:700}.portal-files small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.portal-files .portal-pill{margin:8px 0 0}.portal-comment{color:var(--ink-2);margin:8px 0 0;font-style:italic}.portal-decide{flex:260px;gap:8px;display:grid}.portal-requests{gap:6px;margin:0;padding:0;list-style:none;display:grid}.portal .portal-requests button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border-radius:10px;padding:10px 12px}.portal .portal-requests button[aria-current]{border-color:var(--accent);background:var(--accent-soft)}.portal-requests strong{display:block}.portal-requests small{color:var(--muted);font-size:12px}.portal-thread-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.portal-thread{gap:10px;margin:0 0 16px;padding:0;list-style:none;display:grid}.portal-thread li{border-radius:12px;max-width:88%;padding:10px 12px}.portal-thread li.client{background:var(--surface-2);justify-self:start}.portal-thread li.team{background:var(--accent-soft);justify-self:end}.portal-thread small{color:var(--muted);font-size:12px}.portal-thread p{white-space:pre-wrap;margin:4px 0 0}.portal .portal-open{color:var(--ink);font:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--line-strong);text-decoration-color:var(--line-strong);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.portal .portal-open:hover{-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent)}.portal button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.portal a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.portal-back:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (max-width:560px){.portal-balance strong{font-size:32px}.portal-thread li{max-width:100%}}@container (width<=560px){.portal .portal-cards,.portal .portal-cards tbody{display:block;overflow:visible}.portal .portal-cards thead{display:none}.portal .portal-cards tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 2px;display:grid}.portal .portal-cards td{text-align:left;overflow-wrap:anywhere;border:0;grid-column:1;min-width:0;padding:0;display:block}.portal .portal-cards td[data-label]:before{content:attr(data-label) ": ";color:var(--muted);font-size:12px}.portal .portal-cards td.lead{text-align:right;grid-area:1/2}.portal .portal-cards td.portal-row-actions{grid-column:1/-1;justify-content:flex-start;margin-top:4px}.portal .portal-cards td.portal-row-actions:empty{display:none}}
