:root{--bg:#f6f7f9;--ink:#202b36;--muted:#78818c;--line:#e7e9ed;--green:#235c48;--mint:#edf5f0;--blue:#249ed5;--white:#fff;--shadow:0 3px 15px #1d302504;--radius:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-library{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #79b9a0;outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h2{font-size:17px;font-weight:650;letter-spacing:-.35px}h3{font-size:19px;letter-spacing:-.4px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}
.sidebar{position:fixed;inset:0 auto 0 0;width:239px;padding:30px 20px 0;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;font-size:34px;letter-spacing:-1.8px;font-weight:750;margin:0 9px 31px;line-height:1}.brand-dot{color:#51896d}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--green);color:white;margin-right:10px}.brand-mark svg{width:23px;height:23px;stroke-width:2}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px 10px;border-radius:9px;font-size:12px;font-weight:600;margin-bottom:34px}.workspace-avatar,.profile-avatar{width:31px;height:31px;border-radius:8px;background:#eeeae4;display:grid;place-items:center;color:#6d6559;font-size:12px}.workspace small,.profile small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}.workspace-chevron{margin-left:auto;color:#969da4}.nav-caption{font-size:9px;letter-spacing:1.3px;color:#9aa0a8;font-weight:650;margin:0 11px 14px}.nav-item{border:0;background:transparent;width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:13px 12px;margin:3px 0;border-radius:8px;color:#747e88;font-size:12px;font-weight:500}.nav-item.active{background:#edf4ef;color:var(--green);font-weight:650}.nav-item:hover{background:#f2f5f3}.nav-item svg{width:18px;height:18px}.nav-item span{margin-left:auto;font-size:10px;background:#f0f1f2;border:1px solid #e5e8ea;border-radius:5px;padding:1px 5px}.sidebar-bottom{margin-top:auto}.local-note{background:#f7f8f9;border:1px solid #eef0f2;border-radius:10px;margin-top:60px;padding:15px 12px;font-size:11px}.small-orb{display:inline-block;width:6px;height:6px;background:#75a48c;border-radius:50%;margin-right:6px}.local-note strong{font-size:11px;font-weight:600}.local-note p{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0}.text-link{background:none;border:0;padding:0;color:var(--green);font-size:11px;font-weight:600}.text-link:hover{text-decoration:underline}.local-note .text-link{width:100%;text-align:left;display:flex;justify-content:space-between}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:21px 0;margin-top:22px;font-size:12px}.profile-avatar{border-radius:50%;background:#e7eee9;color:#537160}.profile>svg{margin-left:auto;color:#929ba3;width:17px}.app{margin-left:239px}.topbar{height:76px;background:#ffffffbd;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{display:flex;gap:15px;color:#89919a;font-size:12px}.breadcrumb strong{font-weight:500;color:#44505d}.breadcrumb>span{color:#bec3c7}.top-actions{display:flex;align-items:center;gap:23px}#save-state{display:flex;align-items:center;gap:5px;font-size:10px;color:#87948c}#save-state svg{width:13px;height:13px}.local-badge{display:flex;gap:7px;align-items:center;font-size:9px;font-weight:650;letter-spacing:.8px;padding:7px 9px;background:#f0f4f1;color:#587161;border:1px solid #dfe7e1;border-radius:6px}.local-badge>span{width:5px;height:5px;border-radius:50%;background:#769884}main{max-width:1430px;margin:0 auto;padding:37px 40px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#73917f;margin-bottom:11px}h1{font-size:30px;letter-spacing:-1.2px;font-weight:650}.page-heading p{color:var(--muted);font-size:12px;margin-top:10px;line-height:1.6}.button{border:1px solid transparent;padding:11px 15px;border-radius:7px;font-weight:550;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:38px}.button svg{width:15px;height:15px}.button.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 2px 3px #133e1712}.button.primary:hover{background:#174633}.button.secondary{background:#fff;border-color:#dfe3e5;color:#47535b;box-shadow:0 2px 3px #00000003}.button.secondary:hover{background:#f4f6f5}.button.small{padding:8px 11px;min-height:32px;font-size:10px}.demo-notice{display:flex;align-items:center;gap:10px;border:1px solid #e4e9e5;background:#f0f4f1;border-radius:7px;padding:10px 13px;margin-bottom:20px;font-size:10px;line-height:1.6;color:#65796b}.demo-notice svg{width:16px;height:16px}.demo-notice strong{font-weight:600}.connection-card{display:flex;align-items:center;gap:17px;padding:23px 25px;background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:20px}.telegram-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;color:#229dd4;background:#eaf6fc}.telegram-icon svg{width:25px;height:25px}.inline-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.connection-copy h2{font-size:15px}.badge{border-radius:5px;padding:4px 7px;font-size:9px;white-space:nowrap;font-weight:550;letter-spacing:.1px}.badge.neutral{background:#f4f4f5;color:#878d95}.badge.green{background:#edf5ef;color:#427357}.badge.amber{background:#fcf4e8;color:#967342}.connection-copy p{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.5}.connection-card>.button{margin-left:auto}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:19px 22px}.stat>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#75808a}.stat svg{width:16px;height:16px;color:#9aa9a0}.stat>strong{font-size:29px;font-weight:600;letter-spacing:-.6px;display:block;margin-top:12px;line-height:1}.stat strong span{font-size:17px;color:#b0b7bf;margin-left:7px;font-weight:400}.stat small{display:block;margin-top:10px;font-size:10px;color:#969da4}.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:22px;margin-bottom:23px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 23px}.card-heading p{margin-top:7px;font-size:11px;line-height:1.5;color:var(--muted)}.source-toolbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:8px;padding:11px 23px;background:#fcfdfd;font-size:10px;color:#89938c}.section-label{font-size:8px;letter-spacing:1.15px;color:#99a0a7;font-weight:650}.source-row{display:flex;align-items:flex-start;gap:12px;padding:23px;border-bottom:1px solid #eef0f2}.source-row:last-child{border:0}.source-avatar{width:36px;height:36px;background:#e9f2f9;color:#538ca9;border-radius:11px;display:grid;place-items:center;font-size:13px;font-weight:700;flex-shrink:0}.source-avatar.purple{background:#eeeaf8;color:#8470af}.source-avatar.gold{background:#f5efdf;color:#a58b51}.source-main{flex:1;min-width:0}.source-title{display:flex;align-items:center;gap:8px;margin:0 0 7px}.source-title strong{font-size:12px;font-weight:600}.source-type{font-size:8px;color:#9ba2a9;font-weight:500}.source-destination{display:flex;gap:6px;align-items:center;font-size:10px;color:#75818b;line-height:1.6}.source-destination svg{width:12px;height:12px;color:#9ba6ae}.source-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.source-tags>span{background:#f7f8f9;color:#8c959e;border:1px solid #eff0f2;font-size:8px;border-radius:4px;padding:3px 5px}.source-actions{display:flex;align-items:center;gap:9px;padding-top:3px}.switch{border:0;background:#dce1e4;width:29px;height:17px;border-radius:12px;padding:2px;display:flex;align-items:center;transition:background .2s}.switch:after{content:"";display:block;background:#fff;width:13px;height:13px;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .2s}.switch[aria-checked=true]{background:#427d61}.switch[aria-checked=true]:after{transform:translateX(12px)}.icon-button{border:0;background:transparent;color:#8d969d;padding:4px;line-height:1;display:grid;place-items:center}.icon-button:hover{background:#f0f3f1;border-radius:5px;color:var(--green)}.icon-button svg{width:16px;height:16px}.source-row.is-paused .source-avatar{filter:grayscale(.8);opacity:.6}.source-row.is-paused .source-title{color:#8a949c}.source-footer{display:flex;align-items:center;gap:6px;padding:14px 23px;border-top:1px solid var(--line);font-size:9px;color:#98a19e;flex-wrap:wrap}.source-footer svg{width:12px;height:12px}.source-footer .text-link{margin-left:auto;font-size:9px}.preview-card{padding-bottom:0}.preview-card .card-heading{padding-bottom:26px}.flow-step{display:flex;align-items:center;gap:12px;margin:0 23px;border:1px solid #e8ecea;border-radius:8px;padding:13px}.step-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px}.step-icon.blue{background:#eaf4fb;color:#429cce}.step-icon.pale{background:#f3f1eb;color:#9a8b63}.step-icon.green{background:#eaf3ed;color:#54886c}.step-icon svg{width:18px;height:18px}.step-label{display:block;font-size:7px;letter-spacing:1px;color:#9ba6a0;font-weight:600;margin-bottom:5px}.flow-step strong{display:block;font-size:11px;font-weight:600}.flow-step small{display:block;font-size:9px;color:#9ca4aa;margin-top:4px}.flow-connector{height:23px;position:relative;margin-left:52px;color:#b8c9be;display:flex;align-items:center}.flow-connector span{height:100%;border-left:1px dashed #cfdbd3}.flow-connector svg{transform:rotate(90deg);position:absolute;width:12px;height:12px;left:-5px;background:white}.flow-footnote{margin-top:22px;padding:14px 23px;background:#fafcfb;color:#8b9990;font-size:9px;line-height:1.7;border-top:1px solid var(--line)}.test-card{margin-bottom:23px}.test-card .eyebrow{font-size:8px;margin-bottom:7px}.test-card .card-heading{padding-bottom:15px}.test-decoration{width:32px;height:32px;color:#a4bbac}.test-card form{padding:0 23px 21px}.test-controls{display:grid;grid-template-columns:1fr 1.1fr .65fr;gap:15px}.test-controls label,label{font-size:11px;color:#61706d;font-weight:550}input:not([type=checkbox]):not([type=hidden]),select,textarea{border:1px solid #dfe5e1;border-radius:7px;padding:10px 11px;color:#4d5c55;background:#fff;font-size:11px;outline-offset:1px}label>input:not([type=checkbox]),label>select{display:block;width:100%;margin-top:7px}select{cursor:pointer;padding-right:26px;max-width:100%}textarea{width:100%;resize:vertical;line-height:1.65;min-height:105px;background:#fbfcfb;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.message-label{display:block;margin:15px 0 7px}.test-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.checkbox-label{display:flex;gap:8px;align-items:center;font-size:10px;font-weight:400;line-height:1.5;color:#7b8780}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px;flex-shrink:0}.test-result{border-top:1px solid #dfeadf;background:#f0f6f1;padding:16px 23px;color:#3f7255;font-size:11px;line-height:1.7}.test-result.skipped{background:#fcf8ef;color:#977448;border-color:#f0e5ce}.test-result strong{display:block;font-size:12px}.test-result p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px;color:#60766a}.activity-card{margin-bottom:20px}.activity-card .card-heading{border-bottom:1px solid var(--line)}.activity-card select{font-size:10px}.empty-state{text-align:center;padding:31px 20px 34px;color:#9aa39e}.empty-state svg{width:24px;height:24px;color:#a9b9af;margin-bottom:9px}.empty-state strong{display:block;font-size:12px;font-weight:500;color:#7b8880;margin-bottom:6px}.empty-state p{font-size:10px}.activity-row{display:grid;grid-template-columns:29px minmax(120px,1fr) auto;gap:10px;padding:17px 23px;border-bottom:1px solid #eff1ef;align-items:start}.activity-row:last-child{border:0}.event-icon{display:grid;place-items:center;width:27px;height:27px;background:#edf4ef;color:#568268;border-radius:8px}.event-icon.skipped{background:#fbf5e9;color:#9e8855}.event-icon svg{width:14px;height:14px}.activity-row strong{font-size:11px;font-weight:600}.activity-row p{font-size:10px;line-height:1.6;color:#8a958e;margin-top:4px;overflow-wrap:anywhere}.activity-row time{font-size:9px;color:#9ca49f}.activity-meta{margin-top:6px;font-size:9px;color:#a3aaa6}.page-footer{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:20px 0 26px;font-size:9px;color:#a2a9a5;line-height:1.6}.footer-dot{margin:0 6px;color:#c9ceca}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
dialog{border:1px solid #e5eae6;border-radius:16px;box-shadow:0 25px 100px #12231b2e;max-width:510px;width:calc(100% - 32px);padding:26px;color:var(--ink)}dialog::backdrop{background:#20352950;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:15px}.dialog-heading h2{font-size:22px}.dialog-heading .eyebrow{font-size:8px;margin-bottom:7px}.dialog-heading .icon-button{font-size:25px;padding:5px}.dialog-intro{font-size:12px;line-height:1.8;color:#7a877f;margin:0 0 19px}dialog form>label{display:block;margin-bottom:15px}dialog label small{font-size:9px;color:#9ca79f;line-height:1.6;display:block;margin-top:6px;font-weight:400}dialog input,dialog select{min-height:39px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:19px;margin-top:19px}.form-error{color:#b54c3a;font-size:11px}.connection-illustration{width:65px;height:65px;border-radius:18px;background:#eaf4ee;color:var(--green);display:grid;place-items:center;margin:22px 0}.connection-illustration svg{width:30px;height:30px}#connection-dialog h3{margin-bottom:10px;font-size:17px}.connection-steps{list-style:none;padding:0;counter-reset:steps}.connection-steps li{counter-increment:steps;position:relative;padding:0 0 20px 37px}.connection-steps li:before{content:counter(steps);position:absolute;left:0;top:0;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f1f5f2;color:#64806d;font-size:11px}.connection-steps strong{display:block;font-size:12px;font-weight:600}.connection-steps span{display:block;color:#8c978f;font-size:11px;line-height:1.6;margin-top:5px}.connection-warning{background:#f7f6f0;border:1px solid #ece9dc;border-radius:8px;padding:13px;font-size:10px;line-height:1.7;color:#8c8468}.toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);padding:13px 20px;background:#244c3c;color:#fff;border-radius:10px;box-shadow:0 6px 25px #183d3026;z-index:30;font-size:12px;max-width:90vw}.app.page-sources #connection-panel,.app.page-sources #stats-panel,.app.page-sources #activity-panel,.app.page-activity #connection-panel,.app.page-activity #stats-panel,.app.page-activity #routing-grid,.app.page-activity #test-panel,.app.page-connection #stats-panel,.app.page-connection #routing-grid,.app.page-connection #test-panel,.app.page-connection #activity-panel{display:none}
@media(min-width:1600px){main{padding-top:45px}.card-heading{padding-top:25px;padding-bottom:25px}.source-row{padding-top:26px;padding-bottom:26px}}
@media(max-width:1150px){.sidebar{width:207px;padding-left:15px;padding-right:15px}.app{margin-left:207px}.topbar{padding:0 26px}main{padding:29px 26px 0}.content-grid{grid-template-columns:1.3fr 1fr;gap:17px}.source-row{padding:20px 17px}.card-heading{padding:20px 17px}.source-footer{padding:13px 17px}.source-footer .text-link{margin-left:0}#save-state{display:none}.connection-card{padding:21px}.connection-card>.button{font-size:10px}.source-type{display:none}.page-heading .button{font-size:10px}.flow-step{margin-left:17px;margin-right:17px}.flow-connector{margin-left:46px}.flow-footnote{padding-left:17px;padding-right:17px}}
@media(max-width:950px){.sidebar{width:78px;padding:25px 10px}.app{margin-left:78px}.brand{font-size:0;margin:0 10px 35px}.brand-dot,.workspace,.nav-caption,.local-note,.profile{display:none}.brand-mark{margin:0;width:36px;min-width:36px}.nav-item{font-size:0;justify-content:center;padding:15px}.nav-item svg{width:21px;height:21px}.nav-item span{display:none}.content-grid{grid-template-columns:minmax(0,1fr) minmax(260px,.85fr)}.connection-copy p{max-width:270px}.toast{left:calc(50% + 30px)}}
@media(max-width:730px){main{padding:24px 18px 0}.topbar{height:62px;padding:0 18px}.content-grid{grid-template-columns:1fr}.preview-card{display:none}.connection-card{flex-wrap:wrap;gap:12px}.connection-card>.button{margin-left:57px}.connection-copy{flex:1}.connection-copy p{max-width:none}.stats{gap:10px}.stat{padding:15px 13px}.stat>div{font-size:10px}.stat svg{display:none}.stat small{font-size:9px;line-height:1.5}.stat>strong{font-size:25px}.page-heading{align-items:flex-start}h1{font-size:25px}.page-heading .button{font-size:0;padding:10px}.page-heading .button svg{width:16px;height:16px}.test-controls{grid-template-columns:1fr 1fr}.test-controls>label:last-child{grid-column:span 2;display:flex;align-items:center;gap:12px}.test-controls>label:last-child input{width:80px;margin:0}.test-bottom{align-items:flex-end}.page-footer{flex-direction:column;gap:4px}.demo-notice{font-size:9px}.source-type{display:inline}.breadcrumb{font-size:10px;gap:8px}}
@media(max-width:470px){.sidebar{width:58px;padding:22px 6px}.app{margin-left:58px}.brand{margin:0 6px 28px}.brand-mark{width:33px;min-width:33px;height:33px}.nav-item{padding:13px 8px}.nav-item svg{width:18px;height:18px}.local-badge{font-size:7px;padding:6px;letter-spacing:.4px}.breadcrumb>span,.breadcrumb{gap:5px}.topbar{padding:0 12px}main{padding:22px 12px 0}.stats{grid-template-columns:1fr 1fr}.stat:last-child{display:none}h1{font-size:22px}.eyebrow{font-size:8px}.connection-card{padding:17px}.connection-card>.button{margin-left:0;width:100%}.connection-copy h2{font-size:13px}.inline-title{gap:6px}.source-row{padding:19px 14px;gap:9px}.source-avatar{width:30px;height:30px;font-size:11px;border-radius:8px}.source-actions{gap:3px}.source-title{gap:4px}.source-title strong{font-size:11px}.source-type{display:none}.source-toolbar{padding:10px 14px}.source-toolbar .section-label{font-size:7px}.source-toolbar>span:last-child{font-size:9px}.card-heading{padding:18px 14px}h2{font-size:15px}.card-heading .button.small{font-size:9px;padding:8px}.test-card form{padding:0 14px 17px}.test-bottom{align-items:flex-start;flex-direction:column}.test-bottom>.button{width:100%}.test-controls{gap:10px}.activity-card .card-heading{flex-wrap:wrap}.activity-row{padding:15px 14px;grid-template-columns:24px minmax(90px,1fr) auto}.toast{left:50%;width:max-content}.form-columns{grid-template-columns:1fr}dialog{padding:20px}}

/* Operational workspace: routes take the full width; verification is separate. */
#routing-grid{display:block}.local-note{margin-top:18px}.sidebar-bottom>[data-page]{font-size:11px;margin-top:24px}.sidebar-bottom>[data-page] svg{width:17px;height:17px}
.source-row{align-items:center;padding:24px}.source-main{min-width:150px}.source-title .badge{font-size:8px}.route-status{display:flex;align-items:center;gap:6px;font-size:10px;color:#90978e;margin:0 22px}.status-dot{width:6px;height:6px;border-radius:50%;background:#b7bcb4}.source-actions{gap:18px;align-items:center}.switch-caption{display:flex;align-items:center;gap:8px}.switch-caption small{font-size:9px;color:#909a93}.source-empty{padding:45px 24px}.source-empty p{max-width:440px;margin:auto;line-height:1.8}.source-footer{padding:17px 24px}.source-footer .text-link{margin-left:auto}.source-toolbar{padding-top:14px;padding-bottom:14px}.connection-copy{max-width:620px}.connection-copy p{line-height:1.75}.connection-card{background:#fcfdfd}.telegram-icon{background:#edf2f5;color:#7693a4}.service-row{padding:20px 24px;display:flex;justify-content:space-between;border-top:1px solid var(--line);gap:16px;font-size:12px;color:#7b8780}.service-row strong{color:#47745c;font-weight:550}.service-row .pending-text{color:#92988d}.status-footnote{padding:18px 24px;font-size:11px;line-height:1.7;color:#929b95;border-top:1px solid var(--line)}.service-error{border:1px solid #efd7ce;background:#fff3ed;color:#a25c44;padding:14px 18px;border-radius:8px;font-size:12px;line-height:1.6;margin-bottom:20px}.migration-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eef3ef;border:1px solid #dce7df;border-radius:8px;padding:13px 18px;font-size:11px;color:#66806e;margin-bottom:20px}#connection-details,#verification-history{margin-bottom:25px}.page-heading{margin-bottom:28px}.page-footer{margin-top:24px}#connection-dialog{display:none}#connection-panel .badge{background:#f0f1ef;color:#87917e}
@media(max-width:1150px){.route-status{margin:0 12px}.switch-caption{flex-direction:column;gap:5px}.source-actions{gap:13px}.source-row{padding:22px 18px}}
@media(max-width:950px){.sidebar-bottom>[data-page]{font-size:0;margin-top:0}.sidebar-bottom>[data-page] svg{width:21px;height:21px}.route-status{font-size:9px;margin:0 7px}}
@media(max-width:730px){.source-row{flex-wrap:wrap}.route-status{margin-left:48px;order:4;width:100%}.switch-caption small{max-width:60px;text-align:center}.source-actions{gap:8px}.source-main{min-width:90px}.migration-banner{align-items:flex-start;flex-direction:column}.source-footer .text-link{margin-left:0}.connection-copy{max-width:none}.source-title{flex-wrap:wrap}.service-row{font-size:11px}}
@media(max-width:470px){.source-row{padding:20px 14px;gap:10px}.source-actions{width:100%;padding-left:40px;justify-content:space-between}.switch-caption{flex-direction:row}.switch-caption small{max-width:none;text-align:left}.route-status{margin-left:40px}.source-footer{padding:14px}.source-title .badge{font-size:7px}}

.telegram-setup{padding:24px 28px}.telegram-form{max-width:640px}.telegram-setup p{color:var(--muted);line-height:1.6;margin:12px 0 20px}.telegram-form label{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:13px}.telegram-form input{width:100%;padding:12px;border:1px solid #dce2df;border-radius:9px;background:white;color:#27332e}.telegram-setup button{margin:0 8px 10px 0}#telegram-chats{list-style:none;padding:0;max-height:360px;overflow:auto}#telegram-chats li{padding:12px 0;border-top:1px solid #edf0ee;font-size:13px}.telegram-form[hidden],#telegram-connected[hidden]{display:none}

#route-form{display:flex;flex-direction:column;gap:16px}#route-form label{display:flex;flex-direction:column;gap:7px;font-size:13px}#route-form input,#route-form select{padding:11px;border:1px solid #dce2df;border-radius:8px;background:white;color:#27332e;max-width:100%}#route-dialog{width:min(600px,94vw);max-height:90vh;overflow:auto}#draft-details>summary{padding:18px 24px;cursor:pointer;color:#69766f;font-size:12px;background:#f8faf9}.source-avatar svg{width:20px;height:20px}#listener-deliveries{list-style:none;padding:0}#listener-deliveries li{padding:12px 0;border-bottom:1px solid #e7ece9;font-size:13px}

#route-form .checkbox-label{flex-direction:row;align-items:center;gap:10px}#route-form .checkbox-label input{width:16px;height:16px;flex-shrink:0}
.login-page{display:flex;min-height:100vh;align-items:center;justify-content:center;background:#f4f7f5;padding:24px}.login-shell{width:min(470px,100%);background:#fff;border:1px solid #e2e8e4;border-radius:20px;padding:42px;box-shadow:0 20px 80px #1e59450b}.login-brand{display:block;color:#245643;font-size:36px;font-weight:750;text-decoration:none;margin-bottom:38px}.login-shell h1{font-size:28px;margin:12px 0}.login-shell p{line-height:1.6;color:#758078;font-size:14px}.login-shell form{display:flex;flex-direction:column;gap:20px;margin:28px 0}.login-shell label{display:flex;flex-direction:column;gap:8px;font-size:13px}.login-shell input{padding:13px;border:1px solid #d7dfda;border-radius:8px;font-size:16px;min-width:0}.login-shell .login-foot{font-size:12px}.profile #access-logout{margin-left:auto;font-size:11px}.telegram-account{padding:12px 0;color:#245643;font-weight:600}
