:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#1f2937;--muted:#667085;--line:#d9dee7;--surface:#fff;--surface-strong:#eef3f8;--green:#0f8a5f;--green-soft:#dff7eb;--amber:#b86b00;--amber-soft:#fff2cf;--red:#b42318;--red-soft:#fde4df;--blue:#285da8;--blue-soft:#e2edff;--violet:#6547aa;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}.page-shell{width:min(1120px,100% - 32px);margin:0 auto;padding:32px 0}.home-layout{grid-template-columns:minmax(0,.95fr) minmax(340px,1.05fr);align-items:center;gap:40px;min-height:100vh;display:grid}.home-copy h1,.app-header h1{letter-spacing:0;color:var(--ink);margin:0}.home-copy h1{font-size:clamp(48px,9vw,96px);line-height:.95}.home-copy p{max-width:620px;color:var(--muted);margin:24px 0 0;font-size:20px;line-height:1.55}.brand-mark,.brand-link,.signal-header,.flow-row,.cta-row,.control-band,.app-header,.status-tile,.definition-list div{align-items:center;display:flex}.brand-mark,.brand-link{color:var(--blue);gap:10px;font-weight:800}.brand-mark{margin-bottom:20px;font-size:18px}.cta-row{flex-wrap:wrap;gap:12px;margin-top:32px}.button{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 16px;font-weight:750;line-height:1;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{color:#fff;background:var(--green)}.button.secondary{color:var(--ink);background:var(--surface);border-color:var(--line)}.button.ghost{color:var(--muted);background:0 0;border-color:#0000}.button.danger{color:var(--red);background:var(--red-soft);border-color:#fac8bf}.signal-panel,.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 50px #1f293714}.pair-layout{max-width:760px}.pair-card{gap:18px;margin-top:20px;display:grid}.pair-icon{width:56px;height:56px;color:var(--green);background:var(--green-soft);border:1px solid #0f8a5f2e;border-radius:8px;place-items:center;display:inline-grid}.pair-card h2{margin:8px 0 0;font-size:26px}.pair-card p{color:var(--muted);margin:8px 0 0;line-height:1.55}.pair-form{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.pair-code-input{border:1px solid var(--line);width:100%;min-height:64px;color:var(--ink);background:var(--surface-strong);letter-spacing:0;text-align:center;border-radius:8px;outline:none;padding:0 18px;font-size:34px;font-weight:900}.pair-code-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #285da829}.pair-message{min-height:24px;font-weight:750}.pair-message.success{color:var(--green)}.pair-message.error{color:var(--red)}.pair-demo-link{width:fit-content}.signal-panel{min-height:480px;padding:28px;overflow:hidden}.signal-header{gap:10px;font-weight:800}.status-dot{background:var(--muted);border-radius:50%;width:10px;height:10px}.status-dot.online{background:var(--green);box-shadow:0 0 0 6px var(--green-soft)}.flow-row{border:1px solid var(--line);min-height:54px;color:var(--muted);border-radius:8px;justify-content:space-between;gap:12px;margin-top:28px;padding:0 14px;font-weight:750}.flow-row span{text-align:center;min-width:0}.home-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px;display:grid}.home-feature-grid div{border:1px solid var(--line);background:#fff;border-radius:8px;align-content:start;gap:8px;min-height:112px;padding:14px;display:grid}.home-feature-grid svg{color:var(--green)}.home-feature-grid strong,.home-feature-grid span{display:block}.home-feature-grid span{color:var(--muted);line-height:1.35}.speaker-visual{background:linear-gradient(135deg, #0f8a5f29, transparent 42%), linear-gradient(315deg, #285da829, transparent 44%), var(--surface-strong);border:1px solid var(--line);border-radius:8px;place-items:center;min-height:260px;margin-top:24px;display:grid;position:relative}.speaker-core{color:#fff;background:var(--blue);z-index:2;border-radius:50%;place-items:center;width:112px;height:112px;display:grid}.wave{border:2px solid #0f8a5f57;border-radius:50%;position:absolute}.wave.one{width:156px;height:156px}.wave.two{width:214px;height:214px}.wave.three{width:270px;height:270px}.panel-note{color:var(--muted);margin:20px 0 0;line-height:1.55}.app-layout{gap:20px;display:grid}.auth-layout{grid-template-columns:minmax(0,1fr) minmax(340px,430px);align-items:center;gap:44px;min-height:100vh;display:grid}.auth-copy h1{letter-spacing:0;max-width:680px;margin:28px 0 0;font-size:clamp(40px,6vw,72px);line-height:.98}.auth-copy p{max-width:620px;color:var(--muted);margin:22px 0 0;font-size:19px;line-height:1.55}.auth-proof-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px;display:grid}.auth-proof-grid span{border:1px solid var(--line);background:var(--surface);min-height:52px;color:var(--ink);border-radius:8px;align-items:center;gap:9px;padding:0 12px;font-weight:750;display:flex}.auth-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:22px;box-shadow:0 18px 50px #1f293714}.auth-tabs{background:var(--surface-strong);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:18px;padding:4px;display:grid}.auth-tabs button{min-height:38px;color:var(--muted);background:0 0;border:0;border-radius:6px;font-weight:800}.auth-tabs button.active{color:var(--ink);background:var(--surface);box-shadow:0 1px 3px #1f293714}.auth-form{gap:14px;display:grid}.auth-form label{color:var(--muted);gap:8px;font-weight:750;display:grid}.auth-form input{border:1px solid var(--line);min-height:44px;color:var(--ink);border-radius:8px;outline:none;padding:0 12px}.auth-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #285da829}.form-error{color:var(--red);background:var(--red-soft);border:1px solid #fac8bf;border-radius:8px;margin:0;padding:10px 12px}.loading-panel{color:var(--muted)}.saas-frame{background:linear-gradient(#f7f9fc 0%,#eef3f8 100%);grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.saas-sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;gap:22px;height:100vh;padding:22px 18px;display:flex;position:sticky;top:0}.sidebar-brand{min-height:44px;color:var(--blue);align-items:center;gap:10px;font-size:20px;font-weight:900;display:flex}.workspace-card{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;gap:5px;padding:14px;display:grid}.workspace-card span,.workspace-card small{color:var(--muted);font-size:13px;font-weight:750}.workspace-card strong{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.sidebar-nav{gap:6px;display:grid}.sidebar-nav-group{gap:4px;display:grid}.sidebar-nav button{width:100%;min-height:42px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 12px;font-weight:800;display:flex}.sidebar-nav button:hover,.sidebar-nav button.active{color:var(--ink);background:var(--surface-strong)}.sidebar-nav button.active{box-shadow:inset 3px 0 0 var(--green)}.sidebar-subnav{gap:4px;padding-left:28px;display:grid}.sidebar-subnav button{min-height:34px;padding:0 10px;font-size:13px}.sidebar-footer{gap:10px;margin-top:auto;display:grid}.sidebar-footer .button{width:100%}.receiver-qr-card{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;justify-items:center;gap:8px;padding:10px;display:grid}.receiver-qr-card img{background:#fff;border-radius:6px;width:168px;height:168px}.receiver-qr-card span,.receiver-qr-loading{color:var(--muted);font-size:12px;font-weight:800}.receiver-qr-loading{border:1px dashed var(--line);background:#fff;border-radius:6px;place-items:center;width:168px;height:168px;display:grid}.saas-main{align-content:start;gap:22px;min-width:0;padding:28px;display:grid}.saas-main-header{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:22px;min-height:112px;padding:22px;display:flex;box-shadow:0 18px 50px #1f29370f}.saas-main-header h1{color:var(--ink);margin:8px 0 0;font-size:34px;line-height:1.1}.saas-main-header p{max-width:660px;color:var(--muted);margin:10px 0 0;line-height:1.5}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.operations-list{gap:12px;display:grid}.operations-list div{border:1px solid var(--line);min-height:48px;color:var(--ink);background:var(--surface-strong);border-radius:8px;align-items:center;gap:12px;padding:0 12px;display:flex}.operations-list svg{color:var(--green);flex:none}.config-grid{grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);gap:20px;display:grid}.zalo-layout{gap:16px;display:grid}.section-tabs{border:1px solid var(--line);background:#fff;border-radius:8px;gap:4px;width:fit-content;max-width:100%;padding:4px;display:inline-flex}.section-tabs button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:0 14px;font-weight:850}.section-tabs button.active{color:var(--ink);background:var(--surface-strong)}.provider-tabs{width:100%}.provider-tabs button{min-width:112px}.provider-locked-nav,.provider-locked-tab{align-items:center;gap:8px;display:inline-flex}.provider-locked-nav{opacity:.68}.provider-locked-tab:not(.active){color:var(--muted);opacity:.72}.mini-badge{min-height:18px;color:var(--amber);background:var(--amber-soft);letter-spacing:0;border:1px solid #b86b0038;border-radius:999px;justify-content:center;align-items:center;padding:0 7px;font-size:10px;font-weight:900;line-height:1;display:inline-flex}.panel-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.config-panel{min-width:0}.telegram-onboarding-panel{box-shadow:none;grid-column:1/-1;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);align-items:start;gap:18px;display:grid}.provider-locked-panel{background:linear-gradient(135deg, #fff2cfb8, #fff0 42%), var(--surface);box-shadow:none;border-style:dashed;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:16px;display:grid}.provider-locked-panel.compact{grid-column:1/-1}.provider-locked-icon{width:48px;height:48px;color:var(--amber);background:var(--amber-soft);border:1px solid #b86b002e;border-radius:8px;place-items:center;display:inline-grid}.provider-locked-copy{min-width:0}.provider-locked-copy h2{margin:8px 0 0;font-size:22px}.provider-locked-copy p{max-width:760px;color:var(--muted);margin:10px 0 0;line-height:1.55}.provider-locked-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.telegram-guide-copy{min-width:0}.telegram-guide-copy h2{margin:8px 0 0;font-size:22px}.telegram-guide-copy p{color:var(--muted);margin:10px 0 0;line-height:1.55}.telegram-guide-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.telegram-setup-steps{gap:10px;margin:0;padding:0;list-style:none;display:grid}.telegram-setup-steps li{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:12px;display:grid}.telegram-setup-steps li>strong{color:#fff;background:var(--blue);border-radius:999px;place-items:center;width:28px;height:28px;font-size:13px;display:grid}.telegram-setup-steps div{gap:4px;min-width:0;display:grid}.telegram-setup-steps b{color:var(--ink)}.telegram-setup-steps span{color:var(--muted);line-height:1.45}.dashboard-form.config-form{background:0 0;border:0;grid-template-columns:1fr;padding:0}.webhook-panel{min-width:0}.secret-inline-value{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.secret-token-text{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:min(520px,55vw);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;overflow:hidden}.secret-token-text.revealed{color:var(--ink)}.secret-inline-actions{flex:none;gap:2px;display:inline-flex}.contacts-panel{grid-column:1/-1}.contacts-layout{gap:20px;display:grid}.contacts-header{align-items:flex-start}.contacts-title-copy{gap:6px;min-width:0;display:grid}.contacts-title-copy p{color:var(--muted);margin:0;line-height:1.45}.contact-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.contact-form{margin-bottom:16px}.checkbox-field{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;grid-column:1/-1;justify-content:flex-start;align-items:center;gap:10px;min-height:44px;padding:10px 12px;grid-template-columns:none!important;display:flex!important}.dashboard-form .checkbox-field input[type=checkbox]{width:18px;min-width:18px;height:18px;accent-color:var(--green);border:0;flex:0 0 18px;margin:0;padding:0}.dashboard-form .checkbox-field input[type=checkbox]:focus{box-shadow:0 0 0 3px #0f8a5f2e}.checkbox-field span{min-width:0;color:var(--ink);font-weight:800;line-height:1.35}.readonly-field{grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:14px;display:grid}.readonly-field input,.share-link-row input{min-height:44px}.readonly-field input{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);background:var(--surface-strong);border-radius:8px;outline:none;padding:0 12px}.webhook-action-row{justify-content:flex-end;margin-top:12px;display:flex}.telegram-share-card{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;margin-top:14px;padding:12px;display:grid}.telegram-qr-box{place-items:center;width:136px;height:136px;display:grid}.telegram-qr-box img,.telegram-qr-box .receiver-qr-loading{border-radius:6px;width:136px;height:136px}.telegram-share-copy{gap:7px;min-width:0;display:grid}.telegram-share-copy span,.telegram-share-empty{color:var(--muted);font-weight:750;line-height:1.45}.telegram-share-copy strong{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-size:18px}.telegram-share-actions{flex-wrap:wrap;gap:8px;display:flex}.telegram-share-empty{grid-column:1/-1}.integration-meta{margin-top:16px}.empty-state-panel{align-content:start;gap:12px;display:grid}.empty-state-panel p{color:var(--muted);margin:0;line-height:1.5}.saas-shell{gap:22px;display:grid}.saas-topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:58px;display:flex}.saas-topbar nav{color:var(--muted);align-items:center;gap:16px;font-weight:750;display:flex}.link-button{min-height:36px;color:var(--muted);background:0 0;border:0;align-items:center;gap:7px;font-weight:750;display:inline-flex}.workspace-hero{border:1px solid var(--line);background:linear-gradient(135deg, #0f8a5f21, transparent 38%), linear-gradient(315deg, #285da821, transparent 36%), var(--surface);border-radius:8px;justify-content:space-between;align-items:end;gap:24px;padding:24px;display:flex}.workspace-hero h1{letter-spacing:0;margin:8px 0 0;font-size:clamp(32px,5vw,56px);line-height:1}.workspace-hero p{max-width:640px;color:var(--muted);margin:14px 0 0;line-height:1.5}.eyebrow{color:var(--green);letter-spacing:0;text-transform:uppercase;font-size:13px;font-weight:850}.hero-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:flex-start;gap:14px;min-height:116px;padding:18px;display:flex}.metric-card span{color:var(--muted);font-size:14px;font-weight:750;display:block}.metric-card strong{margin-top:4px;font-size:26px;line-height:1.1;display:block}.metric-card p{color:var(--muted);margin:8px 0 0}.dashboard-main-grid{grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:20px;display:grid}.logs-grid{grid-template-columns:minmax(0,1fr)}.compact-form{background:0 0;border:0;padding:0}.pill{border:1px solid var(--line);min-height:28px;color:var(--muted);background:var(--surface-strong);border-radius:999px;align-items:center;padding:0 10px;font-size:13px;font-weight:800;display:inline-flex}.muted-pill{color:var(--muted);background:#fff}.station-list,.job-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.station-list li{border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:60px;padding:0 12px;display:flex}.station-list strong,.station-list span{display:block}.station-list div span{color:var(--muted);margin-top:4px}.status-badge{min-height:26px;color:var(--muted);background:var(--surface-strong);border-radius:999px;align-items:center;padding:0 10px;font-size:13px;font-weight:850;display:inline-flex}.status-badge.online,.status-badge.done,.status-badge.accepted{color:var(--green);background:var(--green-soft)}.status-badge.failed,.status-badge.offline{color:var(--red);background:var(--red-soft)}.status-badge.canceled{color:var(--muted);background:var(--surface-strong)}.status-badge.playing,.status-badge.queued,.status-badge.ignored{color:var(--amber);background:var(--amber-soft)}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.plan-card{border:1px solid var(--line);background:#fff;border-radius:8px;align-content:space-between;gap:14px;min-height:218px;padding:16px;display:grid}.plan-card.selected{background:var(--green-soft);border-color:#a7e0c2}.plan-card h3{margin:0;font-size:20px}.plan-card p{color:var(--muted);margin:8px 0 0;line-height:1.45}.plan-card strong{font-size:24px}.job-list li{border:1px solid var(--line);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;padding:12px;display:grid}.job-list li.job-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:start}.job-copy{min-width:0}.job-meta-row{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;font-size:13px;font-weight:750;display:flex}.source-badge{min-height:24px;color:var(--blue);background:var(--blue-soft);border-radius:999px;align-items:center;padding:0 9px;font-size:12px;font-weight:850;display:inline-flex}.source-badge.zalo{color:var(--green);background:var(--green-soft)}.source-badge.telegram{color:var(--blue);background:var(--blue-soft)}.source-badge.local{color:var(--amber);background:var(--amber-soft)}.job-table .source-badge{padding:0 7px}.job-table-panel{min-width:0}.job-table-wrap{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;overflow-x:auto}.job-table{border-collapse:collapse;table-layout:fixed;width:100%}.job-table th,.job-table td{text-align:left;vertical-align:top}.job-table th{border-bottom:1px solid var(--line);color:var(--muted);background:var(--surface-strong);text-transform:uppercase;white-space:nowrap;padding:10px 8px;font-size:11px;font-weight:850}.job-table th:first-child,.job-table td:first-child{width:12%}.job-table th:nth-child(2),.job-table td:nth-child(2){width:10%}.job-table th:nth-child(3),.job-table td:nth-child(3){width:18%}.job-table th:nth-child(4),.job-table td:nth-child(4){width:24%}.job-table th:nth-child(5),.job-table td:nth-child(5){width:12%}.job-table th:nth-child(6),.job-table td:nth-child(6){width:14%}.job-table th:nth-child(7),.job-table td:nth-child(7){width:10%}.job-table td{border-bottom:1px solid var(--line);padding:12px 8px}.job-table tbody tr:last-child td{border-bottom:0}.job-table tbody tr:hover td{background:#fafcff}.admin-page .dashboard-main-grid{grid-template-columns:1fr}.admin-page .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-token-panel{gap:14px;padding:18px;display:grid}.admin-table{min-width:820px}.admin-table small{color:var(--muted);margin-top:4px;display:block}.sender-cell{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-weight:750}.message-cell{min-width:0;color:var(--ink);overflow-wrap:anywhere;line-height:1.5}.time-cell{min-width:0;color:var(--muted);font-size:13px;line-height:1.35}.webhook-log-table .time-cell{overflow-wrap:anywhere}.action-cell{text-align:right;white-space:nowrap}.station-chip{border:1px solid var(--line);max-width:100%;min-height:26px;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;background:#fff;border-radius:999px;align-items:center;padding:0 8px;font-size:13px;font-weight:800;display:inline-flex;overflow:hidden}.muted-text{color:var(--muted)}.empty-table-state{border:1px dashed var(--line);min-height:100px;color:var(--muted);background:var(--surface-strong);border-radius:8px;place-items:center;display:grid}.contact-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.contact-list li{border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;display:grid}.contact-main{gap:4px;min-width:0;display:grid}.contact-main strong,.contact-main span,.contact-main small{overflow-wrap:anywhere;min-width:0}.contact-main span,.contact-main small{color:var(--muted)}.contact-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.modal-backdrop{z-index:50;background:#1f29376b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(560px,100%);max-height:calc(100vh - 36px);padding:20px;overflow:auto;box-shadow:0 24px 80px #1f293738}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.modal-header h2{margin:0;font-size:20px}.modal-header p{color:var(--muted);margin:6px 0 0;line-height:1.45}.modal-form{background:0 0;border:0;grid-template-columns:1fr;padding:0}.modal-actions{grid-column:1/-1;justify-content:flex-end;gap:10px;display:flex}.job-list p{overflow-wrap:anywhere;min-width:0;margin:0}.job-list small{color:var(--muted)}.job-list li:not(.job-row) small{grid-column:2}.job-row small{margin-top:5px;display:block}.small-button{min-height:34px;padding:0 10px;font-size:13px}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;gap:24px;padding:10px 0 14px}.app-header>div{text-align:right}.app-header h1{font-size:34px;line-height:1.1}.app-header p{color:var(--muted);margin:8px 0 0}.status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.status-tile{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:14px;min-height:96px;padding:18px}.status-icon{background:var(--surface-strong);border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.status-tile span{color:var(--muted);font-size:14px;font-weight:700;display:block}.status-tile strong{color:var(--ink);margin-top:5px;font-size:22px;display:block}.status-tile.good .status-icon{color:var(--green);background:var(--green-soft)}.status-tile.warn .status-icon{color:var(--amber);background:var(--amber-soft)}.status-tile.bad .status-icon{color:var(--red);background:var(--red-soft)}.control-band{background:var(--surface-strong);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;gap:12px;padding:16px}.two-column{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;display:grid}.panel{padding:20px}.panel h2{letter-spacing:0;margin:0 0 14px;font-size:18px}.panel-title-row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.panel-title-row h2{margin:0}.icon-button{border:1px solid var(--line);width:40px;height:40px;color:var(--ink);background:var(--surface);border-radius:8px;place-items:center;display:inline-grid}.icon-button.secret-action{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:999px;transition:background .16s,color .16s,transform .16s}.icon-button.secret-action:hover:not(:disabled){color:var(--blue);background:#285da81a;transform:translateY(-1px)}.icon-button.secret-action.danger-icon:hover:not(:disabled){color:var(--red);background:#b423181a}.tts-settings{box-shadow:none}.tts-grid{grid-template-columns:minmax(0,1.35fr) minmax(220px,.85fr) 120px;align-items:end;gap:16px;display:grid}.tts-grid label{min-width:0;color:var(--muted);gap:8px;font-weight:750;display:grid}.tts-grid select,.range-field,.voice-summary{border:1px solid var(--line);min-height:46px;color:var(--ink);background:#fff;border-radius:8px}.tts-grid select{outline:none;width:100%;min-width:0;padding:0 12px}.tts-grid select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #285da829}.range-field,.voice-summary{align-items:center;gap:10px;padding:0 12px;display:flex}.range-field input{width:100%;min-width:90px;accent-color:var(--green)}.range-field strong,.voice-summary strong{white-space:nowrap;font-weight:850}.voice-summary{justify-content:space-between}.voice-summary span{color:var(--muted);font-weight:750}.definition-list{gap:12px;margin:0;display:grid}.definition-list.integration-meta{margin-top:18px}.definition-list div{background:var(--surface-strong);border-radius:8px;justify-content:space-between;gap:16px;min-height:42px;padding:0 12px}.definition-list dt{color:var(--muted);font-weight:700}.definition-list dd{margin:0;font-weight:800}.message-preview{background:var(--surface-strong);min-height:74px;color:var(--ink);border-radius:8px;margin:0;padding:14px;line-height:1.55}.receiver-log,.dashboard-log{gap:10px;margin:0;padding:0;list-style:none;display:grid}.receiver-log li,.dashboard-log li{border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px;line-height:1.45}.receiver-log li.success,.dashboard-log li.success{background:var(--green-soft);border-color:#a7e0c2}.receiver-log li.error,.dashboard-log li.error{background:var(--red-soft);border-color:#fac8bf}.receiver-log li.info{background:var(--blue-soft);border-color:#c8d8f5}.dashboard-form{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px;display:grid}.dashboard-form label{color:var(--muted);gap:8px;font-weight:750;display:grid}.dashboard-form input,.dashboard-form select,.dashboard-form textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:8px;outline:none;padding:11px 12px}.dashboard-form input.secret-field{-webkit-text-security:disc}.dashboard-form textarea{resize:vertical;min-height:126px;line-height:1.5}.dashboard-form input:focus,.dashboard-form select:focus,.dashboard-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #285da829}.wide-field,.wide-button{grid-column:1/-1}.dashboard-log li{grid-template-columns:90px minmax(0,1fr);gap:12px;display:grid}.dashboard-log li.empty-row{display:block}.dashboard-log span{color:var(--muted);font-weight:750}.dashboard-log p{overflow-wrap:anywhere;min-width:0;margin:0}.share-link-panel h2{margin-bottom:12px}.share-host-field{color:var(--muted);gap:8px;margin-bottom:12px;font-weight:750;display:grid}.share-link-row{grid-template-columns:minmax(0,1fr) repeat(2,auto);gap:12px;display:grid}.share-host-field input,.share-link-row input{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);background:var(--surface-strong);border-radius:8px;outline:none;padding:0 12px}.share-host-field input{background:#fff;min-height:46px}.pair-panel{gap:14px;display:grid}.pair-panel .panel-title-row{margin-bottom:0}.pair-code-box{min-height:74px;color:var(--green);background:var(--green-soft);letter-spacing:0;border:1px dashed #0f8a5f59;border-radius:8px;place-items:center;font-size:36px;font-weight:950;display:grid}.pair-actions{flex-wrap:wrap;gap:10px;display:flex}.pair-expiry{color:var(--muted);margin:0;font-size:13px;font-weight:750}.empty-row{color:var(--muted)}@media (width<=820px){.saas-frame{grid-template-columns:1fr}.saas-sidebar{height:auto;padding:16px;position:static}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-nav button{min-width:0;font-size:14px}.sidebar-subnav{padding-left:0}.section-tabs{width:100%}.section-tabs button{flex:1 1 0}.sidebar-footer{grid-template-columns:1fr}.saas-main{padding:16px}.saas-main-header{flex-direction:column}.header-actions,.header-actions .button{width:100%}.auth-layout,.home-layout,.two-column,.status-grid,.metric-grid,.dashboard-main-grid,.config-grid,.telegram-onboarding-panel,.provider-locked-panel,.plan-grid,.tts-grid,.dashboard-form{grid-template-columns:1fr}.home-layout{align-items:start;gap:24px;padding-top:24px}.home-copy h1{font-size:56px}.pair-form{grid-template-columns:1fr}.pair-demo-link,.pair-actions .button{width:100%}.home-copy p{font-size:18px}.signal-panel{min-height:auto}.flow-row{flex-wrap:wrap;justify-content:center;padding:12px}.home-feature-grid{grid-template-columns:1fr}.app-header,.workspace-hero,.saas-topbar{flex-direction:column;align-items:flex-start}.hero-actions,.hero-actions .button{width:100%}.auth-proof-grid{grid-template-columns:1fr}.app-header>div{text-align:left}.app-header h1{font-size:28px}.control-band .button,.cta-row .button,.share-link-row .button{width:100%}.share-link-row,.readonly-field{grid-template-columns:1fr}.secret-definition-row{flex-direction:column;align-items:flex-start;padding:10px 12px}.secret-inline-value{justify-content:space-between;width:100%}.secret-token-text{max-width:calc(100vw - 150px)}.dashboard-log li,.admin-page .metric-grid,.job-list li.job-row{grid-template-columns:1fr}.job-list li.job-row .small-button{width:100%}.job-table{table-layout:auto;min-width:860px}.contacts-header{flex-direction:column;align-items:stretch}.contact-header-actions{justify-content:stretch}.contact-header-actions .pill{justify-content:center;width:100%}.contact-list li{grid-template-columns:1fr}.contact-header-actions,.contact-header-actions .button,.modal-actions,.modal-actions .button{width:100%}.modal-actions{flex-direction:column-reverse}.contact-actions,.contact-actions .button{width:100%}}
