/* Orbit layout based on the inspected ManyChat Telegram interface, 05/10/2026.
   Inter font: rsms/inter, SIL Open Font License (assets/inter-license.txt). */
@font-face{font-family:Inter;src:url('./assets/inter-variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:Inter,Helvetica,Arial,sans-serif;color-scheme:light;--purple:#006bff;--muted:#777;--line:#e2e2e2;--ink:#262626;background:#f5f5f5;color:#262626}
html,body{background:#f5f5f5;color:#262626;min-height:100%;font-size:14px;-webkit-font-smoothing:antialiased}body::before,body::after{display:none}
button,input,textarea,select{font-family:Inter,Helvetica,Arial,sans-serif;color:inherit}h1,h2,h3,strong{font-weight:650}h1{font-size:26px;letter-spacing:-.6px}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:16px}p{color:#777;line-height:1.6}small{font-size:12px;color:#818181}
.shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh}.shell>div{min-width:0}.sidebar{width:216px;height:100dvh;position:sticky;top:0;padding:0 8px 16px;display:flex;flex-direction:column;gap:0;background:#f7f7f7;border-right:1px solid #e0e0e0;color:#555;overflow-y:auto}.brand{display:flex;color:#252525;font-family:Inter,Arial,sans-serif;font-size:28px;font-weight:850;letter-spacing:-1.5px;height:68px;padding:0 16px;gap:6px;flex-shrink:0}.brand img{display:none}.brand small{font-size:10px;letter-spacing:1px;margin-left:2px;font-weight:600;color:#999}.workspace{display:block;padding:18px 12px;font-size:11px;color:#858585;border-top:1px solid #e0e0e0;border-bottom:0;margin:0 0 12px;background:transparent}.workspace strong{display:block;color:#4c4c4c;font-weight:500;font-size:13px;margin-bottom:5px}.workspace .dot{display:none}.navtitle{display:none}.sidebar nav{display:flex;flex-direction:column;gap:3px;width:100%}.nav{width:100%;display:flex;align-items:center;text-align:left;padding:11px 12px;gap:13px;font-size:13px;font-weight:400;border-radius:8px;margin:0;color:#6b6b6b;background:transparent}.nav .icon{display:flex;color:inherit;min-width:21px}.nav.active{background:#dedede;color:#282828;font-weight:500}.nav:hover{background:#e9e9e9;color:#262626}.nav .unread{margin-left:auto}.sidefoot{display:flex;margin-top:auto;padding:22px 12px 0;border-top:1px solid #e0e0e0;gap:9px;align-items:center;color:#444;font-size:12px}.sidefoot small{font-size:10px;color:#999}
.topbar{height:64px;display:flex;background:#fafafa;color:#555;border-bottom:1px solid #ddd;padding:0 32px;font-size:13px;max-width:none;margin:0}.topright{display:flex;align-items:center;gap:16px;font-size:12px}.topright button{color:#767676}.dot{background:#38b880;box-shadow:none}.content{max-width:none;padding:32px 32px 40px;margin:0}.heading{margin-bottom:26px;align-items:center;color:#262626}.heading h1{margin:0 0 8px}.heading p{font-size:13px;color:#7a7a7a;margin:0}.title-actions{gap:8px}.btn,.btn:not(.secondary){background:#006bff;color:#fff;border:1px solid #006bff;border-radius:5px;padding:10px 16px;font-size:13px;font-weight:550;box-shadow:none}.btn:hover,.btn:not(.secondary):hover{background:#005de0;border-color:#005de0;box-shadow:none}.btn.secondary{background:#fff;color:#006bff;border:1px solid #dedede}.btn.secondary:hover{background:#f2f7ff;border-color:#afcaff}.btn.danger{background:#fff1f2;color:#be3450;border-color:#f1ccd4}.textbtn,.link{color:#0073cf;font-size:12px}.textbtn:hover{color:#0057aa}.btn:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #006bff;outline-offset:3px}
input,textarea,select{background:#fff;color:#303030;border:1px solid #d9d9d9;border-radius:5px;padding:10px 12px;font-size:13px;box-shadow:none}input:focus,textarea:focus,select:focus{border-color:#006bff;box-shadow:0 0 0 2px #006bff12;outline:none}input::placeholder,textarea::placeholder{color:#969696}label{color:#555;font-weight:500;font-size:12px}.card,.surface,.templatecard,.automation-table{background:#fff;color:#262626;border:1px solid #e7e7e7;border-radius:7px;box-shadow:none;padding:20px}.surface:has(.automation-hub){background:transparent;border:0;padding:0}.cardtitle h2{font-size:18px}.stathead{font-size:12px;color:#777}.statnum{font-family:Inter,Arial,sans-serif;font-size:36px;font-weight:650;color:#262626;margin:18px 0 8px}.statbadge,.badge,.avatar,.nodeicon{background:#f0f3f7;color:#70849c;border-radius:5px;font-weight:500}.badge{font-size:10px;padding:4px 7px}.badge.gray{background:#eee;color:#888}.badge.green{background:#e8f5ef;color:#258359}.badge.red{background:#fcecef;color:#b74459}.avatar{border-radius:50%;background:#e6eaf0;color:#8795ac}.unread{background:#006bff;color:#fff}.statbadge{background:#f0f3f7;color:#89a2bf}.empty .emptyicon{background:#f0f3f6;color:#9aaabd;border-radius:50%}.empty p,.button-help{color:#888;font-size:12px}.grow strong,.flowname{color:#303030}.grow small,.activity small{color:#898989}.listrow,.activity{border-color:#ededed}.listrow:hover{background:#fafafa}.welcome-card{background:transparent;border:0;box-shadow:none;padding:14px 0 32px;margin:0;display:block;text-align:left}.welcome-card small{color:#999;font-size:10px;letter-spacing:1px}.welcome-spark{display:none}.welcome-card h2{font-family:Inter,Arial,sans-serif;font-weight:750;font-size:40px;line-height:1.25;letter-spacing:-1.2px;color:#262626;margin:12px 0}.welcome-card h2 em{font-family:inherit;font-weight:inherit;font-style:normal}.welcome-card p{color:#777;font-size:14px;max-width:none;margin:0}.split,.stats,.settingsgrid{gap:20px}.hint,.setup,.previewnote{background:#f1f7ff;border:1px solid #e1edfc;border-radius:5px;color:#6883a5}.setup p{color:#6883a5}.chartbar,.swatch{background:#006bff}.chartbar.out,.swatch.out{background:#a7cdff}.chartlegend{color:#888}.segments button{background:transparent;border-color:#ddd;color:#777;border-radius:5px}.segments button.active{background:#eaf2ff;border-color:#bad4fa;color:#006bff}.segmentbar{background:#eaf2ff;color:#52779e}.templatecard h3{color:#262626;font-size:16px}.templatecard p{color:#888}.templatecard:hover{border-color:#88baff;background:#fff;box-shadow:none}.gridcards .flowbottom{border-color:#eee}.uploadzone{background:#f8fbff;border:1px dashed #b3ceef;border-radius:5px}.uploadzone strong{color:#477da8}.uploadzone p{color:#8997a5}.uploadzone input::file-selector-button{background:#006bff}.attached{color:#268d60}.urlalternative{color:#888}.errorbox{background:#fff1f2;border-color:#f8d9dd;color:#a84458}.execution-card{background:#fafafa;border:1px solid #e4e4e4;border-radius:6px}.pro-page-tools{margin-bottom:16px}.bcast-card{border-color:#e4e4e4}.disclaimer,.footer-note{color:#999}
.automation-hub{display:grid;grid-template-columns:185px minmax(0,1fr);gap:26px;min-height:480px}.automation-subnav{padding-top:2px}.automation-subnav .tabs{display:flex;flex-direction:column;gap:3px;border:0;margin:0}.automation-subnav .tab{width:100%;text-align:left;border:0;border-radius:5px;padding:11px 12px;font-size:12px;color:#777;font-weight:400}.automation-subnav .tab.active{background:#ddd;color:#333;font-weight:500}.automation-subnav .tab:hover{background:#e8e8e8}.automation-workspace{min-width:0}.automation-layout{display:flex;flex-direction:column;gap:14px}.automation-folders{display:flex;flex-wrap:wrap;align-items:center;gap:8px;order:0}.folder-title{display:none}.folder{width:auto;gap:16px;padding:8px 12px;background:transparent;border:1px dashed #ced8e7;border-radius:5px;font-size:12px;margin:0;color:#8593a4}.folder.active{background:#fff;color:#0073cf;border-color:#9ebcdb}.automation-folders .button-help{display:none}.automation-table{padding:0;border:0;background:transparent;overflow:auto}.automation-table .table{border-collapse:separate;border-spacing:0 8px}.table{font-size:13px}.table th,.automation-table .table th{color:#999;background:transparent;font-weight:400;font-size:11px;border:0}.table td{border-color:#ececec;color:#555}.automation-table .table td{padding:18px 14px;background:#fff;border:0}.automation-table .table td:first-child{border-radius:7px 0 0 7px}.automation-table .table td:last-child{border-radius:0 7px 7px 0}.flowname{font-size:13px;font-weight:550}.flowname small{font-size:11px;color:#999}.nodeicon{background:#f3f4f7;color:#8a9ab0;width:29px;height:29px}.counts{font-size:11px;color:#999}.rowactions{gap:12px}.toolbar{gap:10px}.toolbar input{max-width:320px}.toolbar select{font-size:12px}
.inbox.v2{background:#fff;border:1px solid #ddd;border-radius:0;height:calc(100dvh - 185px);min-height:480px;grid-template-columns:270px minmax(260px,1fr) 260px}.contactlist,.chat,.composer,.composer-area,.contact-inspector{background:#fff;color:#333;border-color:#e5e5e5}.contactlist{padding:0}.contactitem{border-radius:0;border-bottom:1px solid #f1f1f1;padding:16px 14px}.contactitem:hover{background:#f8f8f8}.contactitem.selected{background:#edf5ff;color:#333}.contactitem.selected strong{color:#262626}.contactitem.selected small{color:#999}.contactitem.unread-item strong{color:#006bff}.contactitem strong{font-size:13px}.contactitem small{font-size:11px}.inbox-tabs{padding:0 10px 10px}.inbox-tabs button{font-size:11px;color:#888}.inbox-tabs button.active{background:#eaf3ff;color:#006bff}.messages{background:#fafafa;padding:22px}.bubble,.previewbubble{background:#eee;border:0;border-radius:10px;color:#333;font-size:13px;padding:12px 14px}.bubble.out,.previewbubble.out{background:#edf4ff;border:0;color:#333;border-radius:10px}.bubble small,.previewbubble small{color:#999;font-size:10px}.bubble.activity{background:transparent;border:0;color:#999;font-size:11px}.chatheader{padding:16px;border-color:#eee}.chat-actions .btn{font-size:11px}.composer textarea{background:#fff}.composer-tools span{font-size:11px;color:#999}.detailsection h3{font-size:12px;color:#888;text-transform:none;letter-spacing:0}.detailrow{color:#888;font-size:12px}.detailrow strong{color:#555}.contact-inspector{padding:20px;border-left:1px solid #eee}.contact-inspector h3{font-size:18px}.inbox-search{padding:16px 12px 10px;gap:6px}.inbox-search input{font-size:12px}.inbox-search select{font-size:10px;padding:7px}
/* Editor: neutral canvas, left inspector, functional colors and a floating add menu. */
.builder-overlay{background:#f5f5f5;grid-template-rows:68px minmax(0,1fr)}.builderbar{background:#fff;border-bottom:1px solid #ddd;padding:10px 22px;min-height:68px;flex-wrap:nowrap;gap:10px}.builderbar input{color:#333;background:transparent;border-color:transparent;font-size:14px;width:220px;font-weight:500}.builderbar input:focus{border-color:#006bff}.builder-status{gap:10px;min-width:0}.builder-status .badge{background:#f0f0f0;color:#999;font-size:9px}.builder-actions{gap:7px;flex-wrap:nowrap}.builder-actions .btn{font-size:11px;padding:9px 11px}.builderbar .textbtn{font-size:12px}.builder-main{display:grid;grid-template-columns:320px minmax(0,1fr);padding-left:0;height:auto;min-height:0}.builder-inspector{grid-column:1;grid-row:1;background:#fff;border-right:1px solid #ddd;border-left:0;padding:20px;overflow:auto;color:#333}.canvas-stage{grid-column:2;grid-row:1;background:#f5f5f5;background-image:none;overflow:auto}.builder-inspector h2{font-size:17px;color:#333}.builder-inspector h3{color:#666;font-size:13px}.builder-inspector label{color:#666;font-size:12px}.builder-inspector input,.builder-inspector textarea,.builder-inspector select{font-size:12px;padding:10px;background:#fff}.builder-inspector textarea{border:1px dashed #ccc;min-height:130px}.builder-inspector .hint{font-size:11px;line-height:1.6}.builder-button,.sequence-item{background:#fafafa;border:1px solid #e0e0e0;border-radius:5px;padding:12px}.sequence-panel h3{color:#555}.sequence-panel p{font-size:11px}.sequence-item strong{font-size:11px}.sequence-item input,.sequence-item textarea{background:#fff}.sequence-convert{font-size:12px}.inspectorhead{border-color:#eee}.flow-node{width:260px;border:1px solid #e5e5e5;border-radius:9px;background:#fff;box-shadow:0 2px 2px #00000005;color:#555;font-size:12px}.flow-node.selected{border:1px solid #006bff;box-shadow:0 0 0 2px #006bff20}.flow-node:hover{box-shadow:0 3px 9px #00000009}.node-handle{background:#fff;color:#555;border:0;border-radius:8px 8px 0 0;padding:11px 13px;font-size:11px;font-weight:550}.type-trigger .node-handle{background:#fff;color:#333}.type-message .node-handle,.type-image .node-handle,.type-video .node-handle,.type-audio .node-handle,.type-file .node-handle,.type-input .node-handle{background:#eff8fd;color:#5695b9}.type-action .node-handle{background:#fff0a8;color:#8c7830}.type-condition .node-handle{background:#acfff1;color:#387e73}.type-delay .node-handle{background:#fce1f1;color:#a66a8e}.type-randomizer .node-handle{background:#e9ddff;color:#8573a3}.type-start_automation .node-handle{background:#dfe8ff;color:#647aa0}.nodebody{padding:13px;color:#777;font-size:11px;line-height:1.6}.nodefooter{border:0;color:#999;font-size:10px;padding:8px 11px;min-height:34px}.nodebutton{margin:0 10px 6px;padding:8px 10px;background:#f6f6f6;border:0;color:#555;font-size:11px;min-height:30px;border-radius:3px}.flow-node .port{width:12px;height:12px;min-width:12px;min-height:12px;background:#fff;border:1px solid #a9b0ba;border-radius:50%}.flow-node .port:hover{border-color:#006bff;background:#006bff}.edge-line{stroke:#929aa7;stroke-width:1.5}.edge-yes{stroke:#66b89d}.edge-no{stroke:#de8c95}.edge-button{stroke:#8b9fb9}.edge-label{fill:#8b929c;font-size:10px}.canvas-media{border-radius:3px;background:#f1f1f1}.canvas-media span{background:#fff;color:#888}
.blocktools{display:block;left:auto;right:22px;top:90px;z-index:8}.addblock{width:52px;height:52px;padding:0;background:#006bff;color:#fff;border:0;border-radius:50%;font-size:0;box-shadow:0 4px 16px #006bff18}.addblock::after{content:'+';font-size:32px;font-weight:300}.blockmenu{display:none}.blockpalette{display:none;left:auto;right:22px;top:151px;bottom:auto;width:220px;max-height:calc(100dvh - 225px);background:#fff;border:1px solid #ddd;border-radius:8px;padding:10px;box-shadow:0 8px 24px #00000012;z-index:8;overflow:auto}.blockpalette.open{display:grid}.blockpalette small{font-size:9px;color:#999;padding:7px}.blockpalette button{background:#fff;border:0;border-radius:4px;padding:10px;font-size:12px;color:#666}.blockpalette button:hover{background:#f0f5ff;color:#006bff}.zoomtools{left:auto;right:22px;bottom:22px;background:#fff;border:1px solid #ddd;border-radius:5px;box-shadow:none;padding:5px;color:#888}.zoomtools button{font-size:12px;color:#777}.previewphone{background:#f2f5f9;border:1px solid #e0e7ef;border-radius:8px}.phonehead{background:#fff;color:#777;border-color:#eee}.previewbutton{background:#fff;color:#0073cf;border-color:#d6e3f5}.previewnote{font-size:11px}.previewbubble small{color:#999}
.overlay{background:#1b263657;backdrop-filter:none}.modal{background:#fff;color:#333;border:0;border-radius:9px;padding:26px;box-shadow:0 16px 60px #0002}.modalhead{border-color:#eee}.modalhead h2{font-size:20px}.modalfoot{border-color:#eee}.step{background:#fafafa;border-color:#e5e5e5}.checkline{color:#777}.login{background:#f5f5f5}.loginbox{background:#fff;border:1px solid #e3e3e3;border-radius:8px;box-shadow:0 5px 35px #00000008}.loginbox .brand{color:#222}.loginbox h1{color:#262626}.loginbox p{color:#888}#toast{background:#333;border-radius:5px;font-size:12px}.loading{color:#777}
@media(max-width:1150px){.sidebar{width:190px}.shell{grid-template-columns:190px minmax(0,1fr)}.content{padding:26px 24px}.topbar{padding:0 24px}.automation-hub{grid-template-columns:155px minmax(0,1fr);gap:20px}.inbox.v2{grid-template-columns:240px minmax(260px,1fr)}.contact-inspector{display:none}.builder-status input{width:160px}.builder-actions .btn{padding:9px;font-size:10px}.builder-main{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:850px){.shell{grid-template-columns:64px minmax(0,1fr)}.sidebar{width:64px;padding:0 7px}.sidebar .brand{font-size:0;padding:0;justify-content:center;height:64px}.sidebar .brand::after{content:'o';font-size:31px;font-weight:900}.sidebar .brand small,.sidebar .workspace,.sidebar .sidefoot{display:none}.nav{font-size:0;justify-content:center;padding:13px 0;gap:0;margin-bottom:5px}.nav .icon{display:flex}.nav .unread{position:absolute;font-size:8px;padding:2px;min-width:13px;margin:0 0 20px 20px}.sidebar nav{padding-top:15px}.topright>span{display:none}.automation-hub{grid-template-columns:1fr;gap:16px}.automation-subnav .tabs{flex-direction:row;overflow:auto}.automation-subnav .tab{white-space:nowrap;width:auto}.builder-actions [data-pro="validate"],.builder-actions [data-pro="test"]{display:none}.builder-main{grid-template-columns:270px minmax(0,1fr)}.builderbar{padding:10px}.builder-status input{width:150px}.builder-status .badge{display:none}.content{padding:24px 18px}.heading .title-actions{flex-direction:row}}
@media(max-width:700px){.shell{display:grid;grid-template-columns:56px minmax(0,1fr)}.sidebar{width:56px;height:100dvh;position:sticky;top:0;flex-direction:column;padding:0 4px;overflow:auto;border-right:1px solid #ddd;border-bottom:0}.sidebar nav{display:flex;flex-direction:column}.nav{width:100%;font-size:0;white-space:normal}.nav .icon{display:flex}.topbar{padding:0 16px;height:54px;font-size:11px}.topright{gap:10px}.topright button{font-size:10px}.content{padding:20px 12px}.heading{align-items:flex-start;flex-wrap:wrap;gap:15px}.heading h1{font-size:23px}.heading p{font-size:11px}.title-actions .btn{font-size:11px}.welcome-card h2{font-size:30px}.welcome-card{padding-top:0}.welcome-card p{font-size:12px}.stats{gap:10px}.card{padding:15px}.statnum{font-size:28px}.toolbar input{max-width:none;min-width:0}.toolbar select{min-width:0}.automation-hub{min-height:0}.automation-table .table td{padding:14px 10px}.rowactions{flex-direction:column;align-items:flex-start;gap:6px}.inbox.v2{grid-template-columns:1fr;grid-template-rows:240px minmax(0,1fr);height:900px;min-height:0}.contactlist{max-height:none}.inbox.v2 .chat{min-height:0}.messages{padding:15px}.builderbar{min-height:110px;height:auto;flex-wrap:wrap;padding:10px 12px}.builder-status{width:100%;gap:8px}.builder-status input{width:190px}.builder-actions{justify-content:flex-end;gap:5px;width:100%}.builder-actions .btn{font-size:10px;padding:8px}.builder-mobileswitch{display:block;font-size:12px;color:#006bff}.builder-main{display:block;position:relative;min-height:0}.canvas-stage{height:100%;grid-column:auto}.builder-inspector{position:absolute;inset:0 auto 0 0;width:min(320px,92vw);border-right:1px solid #ddd;z-index:6;box-shadow:5px 0 20px #0001}.builder-inspector.hidden-mobile{display:none}.blocktools{top:130px;right:15px}.addblock{width:44px;height:44px}.blockpalette,.blockpalette.open{display:none}.blockmenu{display:grid;right:0;left:auto;top:55px;background:#fff;color:#555;border:1px solid #ddd;border-radius:7px}.blockmenu button{color:#555}.zoomtools{right:15px;bottom:15px;max-width:calc(100vw - 30px)}.zoomtools [data-pro="fit"]{display:none}.builder-overlay:has(.builder-inspector:not(.hidden-mobile)) .blocktools,.builder-overlay:has(.builder-inspector:not(.hidden-mobile)) .zoomtools{display:none}.formrow{grid-template-columns:1fr}.settingsgrid{grid-template-columns:1fr}.templategrid{grid-template-columns:1fr}.modal{padding:20px}.bubble{max-width:94%}}
.login-hero{display:none}.login{padding:30px 16px}.loginbox{width:min(420px,100%)}.workspace{border:0;border-top:1px solid #e0e0e0;border-radius:0}.builder-main .flow-canvas{min-height:100%}
