:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f4f8ff;background:#07111f;font-synthesis:none;text-rendering:optimizeLegibility;--navy-950: #07111f;--navy-900: #0a1728;--navy-850: #0e1d31;--navy-800: #11243b;--line: rgba(151, 181, 224, .13);--muted: #8293ad;--blue: #4d8dff;--cyan: #50d4ff}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;min-height:100%;margin:0;overflow-x:clip}body{min-width:320px;min-height:100vh;min-height:100dvh;overflow-x:hidden;background:var(--navy-950)}button{font:inherit}.app-shell{position:relative;width:100%;min-height:100vh;min-height:var(--tg-viewport-stable-height, 100dvh);overflow:hidden;background:radial-gradient(circle at 85% 4%,rgba(44,102,206,.18),transparent 31%),linear-gradient(180deg,#081422,#07111f 55%,#081321);padding-top:max(12px,var(--tg-content-safe-area-inset-top, 0px))}.ambient{position:absolute;border-radius:999px;filter:blur(70px);opacity:.18;pointer-events:none}.ambient-one{width:180px;height:180px;right:-110px;top:140px;background:#2268ff}.ambient-two{width:160px;height:160px;left:-120px;bottom:150px;background:#1db8ff}.topbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:min(1480px,100%);margin:0 auto;padding:12px calc(20px + var(--tg-content-safe-area-inset-right, 0px)) 26px calc(20px + var(--tg-content-safe-area-inset-left, 0px))}.brand-lockup{display:inline-flex;align-items:center;gap:11px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;color:#d8e9ff;background:linear-gradient(145deg,#1e5bc5,#163a7b);box-shadow:0 8px 24px #154aa747,inset 0 1px #ffffff24}.brand-name{color:#a9caff;font-size:13px;font-weight:850;letter-spacing:.19em;text-shadow:0 0 22px rgba(77,141,255,.28)}.header-divider{position:absolute;left:50%;bottom:3px;width:min(1080px,calc(100% - 38px));height:18px;transform:translate(-50%);pointer-events:none}.divider-line{position:absolute;top:9px;right:0;left:0;height:1px;background:linear-gradient(90deg,transparent,rgba(71,128,213,.22) 18%,rgba(91,160,255,.42) 50%,rgba(71,128,213,.22) 82%,transparent)}.eyebrow{color:#6f9feb;font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.17em}.content{position:relative;z-index:1;width:min(1480px,100%);max-width:100%;min-width:0;margin:0 auto;padding:14px calc(18px + var(--tg-content-safe-area-inset-right, 0px)) calc(110px + var(--tg-content-safe-area-inset-bottom, 0px)) calc(18px + var(--tg-content-safe-area-inset-left, 0px))}.page,.project-detail-page,.detail-stack,.config-section{min-width:0;max-width:100%}.page-heading{margin:8px 2px 23px}.page-heading h1{margin:6px 0;font-size:clamp(30px,9vw,40px);line-height:1.05;letter-spacing:-.04em}.page-heading p{max-width:380px;margin:0;color:var(--muted);font-size:14px;line-height:1.5}.stats-page{margin-top:-3px}.stats-page .page-heading{margin-top:0;margin-bottom:17px}.stats-page .page-heading h1{margin-top:0;font-size:clamp(36px,10vw,46px)}.stats-page .section-row{margin-top:22px}.pulse-card{position:relative;display:flex;align-items:center;min-height:178px;padding:25px 20px;overflow:hidden;border:1px solid rgba(115,166,242,.18);border-radius:25px;background:radial-gradient(circle at 85% 48%,rgba(45,122,255,.23),transparent 35%),linear-gradient(135deg,#132c4df5,#0b1b30f5);box-shadow:0 24px 60px #00050f40,inset 0 1px #ffffff09}.pulse-copy{position:relative;z-index:2;width:65%}.pulse-copy>strong{display:block;margin:19px 0 7px;font-size:21px;letter-spacing:-.025em}.pulse-copy p{margin:0;color:#8fa1ba;font-size:13px;line-height:1.45}.status{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid rgba(247,189,89,.19);border-radius:999px;color:#e1b76b;background:#77501524;font-size:10px;font-weight:700;letter-spacing:.04em}.status i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor}.status.online{color:#5ce2af;border-color:#5ce2af2e;background:#15705226}.pulse-visual{position:absolute;right:26px;display:grid;place-items:center;width:74px;height:74px;border-radius:50%;color:#a8c9ff;background:linear-gradient(145deg,#3575e2bf,#1337706b);box-shadow:0 0 44px #2d7cff4d,inset 0 1px #fff3}.pulse-ring{position:absolute;top:-13px;right:-13px;bottom:-13px;left:-13px;border:1px solid rgba(91,151,250,.17);border-radius:50%;animation:breathe 2.8s ease-out infinite}.pulse-ring.ring-two{top:-29px;right:-29px;bottom:-29px;left:-29px;animation-delay:1.1s}@keyframes breathe{0%{transform:scale(.85);opacity:0}35%{opacity:.8}to{transform:scale(1.12);opacity:0}}.section-row{display:flex;align-items:center;justify-content:space-between;margin:27px 2px 12px}.section-row h2{margin:0;font-size:15px;letter-spacing:-.01em}.section-row span{color:#60718b;font-size:11px}.quick-grid{display:grid;gap:9px}.quick-card{width:100%;display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--line);border-radius:18px;color:#edf5ff;text-align:left;background:#0d1f35c7;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}.quick-card:active{transform:scale(.98);background:#142c4bd1}.quick-icon,.setting-icon{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#8ab9ff;background:#2e69c12e}.card-2 .quick-icon{color:#80d4ef;background:#2b99bb24}.card-3 .quick-icon{color:#a4a6ff;background:#665bd224}.quick-copy{display:flex;flex:1;flex-direction:column;gap:3px}.quick-copy strong{font-size:14px}.quick-copy small{color:#7587a1;font-size:11px}.chevron{color:#4c6380}.bottom-nav{position:fixed;z-index:10;left:50%;bottom:0;width:100%;display:grid;grid-template-columns:repeat(4,1fr);padding:9px calc(10px + var(--tg-content-safe-area-inset-right, 0px)) max(9px,var(--tg-content-safe-area-inset-bottom, 0px)) calc(10px + var(--tg-content-safe-area-inset-left, 0px));border-top:1px solid rgba(129,165,211,.12);background:#07111fe0;-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%);transform:translate(-50%)}.nav-item{position:relative;display:flex;align-items:center;flex-direction:column;gap:4px;min-width:0;padding:6px 2px 3px;border:0;color:#62748e;background:transparent;font-size:9px;font-weight:700;cursor:pointer;transition:color .18s ease}.nav-icon{display:grid;place-items:center;width:37px;height:29px;border-radius:11px;transition:background .18s ease,transform .18s ease}.nav-item.active{color:#8fbbff}.nav-item.active .nav-icon{background:#417cda2e;transform:translateY(-1px)}.empty-state{min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:36px 24px;border:1px solid var(--line);border-radius:25px;text-align:center;background:linear-gradient(155deg,#0f233bcc,#091627bf)}.empty-icon{display:grid;place-items:center;width:72px;height:72px;margin-bottom:22px;border-radius:23px;color:#83b4ff;background:#295baa30;box-shadow:inset 0 1px #ffffff0f}.empty-state h2{margin:0 0 8px;font-size:20px}.empty-state p{max-width:290px;margin:0 0 24px;color:var(--muted);font-size:13px;line-height:1.55}.primary-action{display:inline-flex;align-items:center;gap:8px;padding:12px 17px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#3b7de6,#2762c8);font-size:13px;font-weight:700;box-shadow:0 10px 24px #1d56b540;cursor:pointer}.primary-action:active{transform:scale(.98)}.primary-action:disabled{opacity:.48;cursor:not-allowed;transform:none}.projects-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.projects-page .page-heading,.projects-page .page-heading h1{margin-top:0}.project-add-top{display:none;flex:0 0 auto;margin-bottom:24px}.mobile-project-add{width:100%;justify-content:center;margin-bottom:12px}.projects-loading{min-height:260px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:13px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-notice{min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:34px 22px;border:1px solid var(--line);border-radius:25px;text-align:center;background:linear-gradient(155deg,#0f233bcc,#091627bf)}.auth-notice h2{margin:0 0 8px;font-size:20px}.auth-notice p{max-width:330px;margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.55}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid rgba(255,112,127,.22);border-radius:16px;color:#ffabb5;background:#701c2a24;font-size:12px}.error-banner button{display:inline-flex;align-items:center;gap:6px;border:0;color:#ffc8cf;background:transparent;cursor:pointer}.projects-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.projects-summary>div{min-width:0;border:1px solid rgba(112,158,221,.14);border-radius:17px;background:linear-gradient(145deg,#0f243dd1,#09192cc7)}.summary-owner{grid-column:1 / -1;display:flex;align-items:center;gap:11px;padding:12px 14px}.summary-icon{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:11px;color:#88b8fb;background:#2b60af38}.summary-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.summary-copy small,.summary-metric small{color:#687e9b;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.summary-copy strong{overflow:hidden;color:#e9f3ff;font-size:13px;white-space:nowrap;text-overflow:ellipsis}.summary-metric{display:grid;min-height:82px;align-content:center;padding:12px 14px}.summary-metric strong{margin:4px 0 2px;color:#edf5ff;font-size:23px;line-height:1}.summary-metric span{color:#5f748f;font-size:8px}.projects-grid{display:grid;gap:12px}.project-card{padding:15px;border:1px solid rgba(111,159,225,.17);border-radius:21px;background:linear-gradient(150deg,#0f253ff0,#08182bf0);box-shadow:0 18px 45px #00050f29,inset 0 1px #ffffff06}.project-card-head{display:flex;align-items:center;gap:11px}.project-folder{flex:0 0 auto;display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(83,144,232,.13);border-radius:14px;color:#8dbbff;background:linear-gradient(145deg,#3069bf4a,#1f48842e)}.project-card-head>div{min-width:0;flex:1}.project-card h2{margin:0 0 3px;overflow:hidden;font-size:15px;white-space:nowrap;text-overflow:ellipsis}.project-card-head p{margin:0;overflow:hidden;color:#71839d;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.project-status{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:1px solid rgba(78,209,165,.24);border-radius:10px;color:#76e4bd;background:#22896726;box-shadow:0 0 0 1px #3db98f08,0 8px 20px #105c451f;font-size:9px;font-weight:800;white-space:nowrap}.project-status i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor}.account-list{display:grid;gap:8px;margin:14px 0 0}.business-account{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(125,161,207,.09);border-radius:15px;background:#05111f7a}.account-avatar{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:#cae0ff;background:linear-gradient(145deg,#275fae,#193d73);font-size:12px;font-weight:800}.account-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.account-copy strong{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.account-copy small{color:#6d819c;font-size:9px}.account-state{display:inline-flex;align-items:center;gap:4px;color:#a4737a;font-size:9px;white-space:nowrap}.account-state.connected{color:#5bd5a6}.no-accounts{display:flex;align-items:center;justify-content:center;gap:8px;min-height:58px;padding:12px;border:1px dashed rgba(120,161,218,.15);border-radius:14px;color:#63758f;font-size:10px}.connect-account{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 12px;border:1px solid rgba(82,144,239,.2);border-radius:13px;color:#8ebaff;background:#285cac1a;font-size:11px;font-weight:700;cursor:pointer}.connect-account:active{background:#285cac33}.delete-space{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid rgba(236,103,120,.19);border-radius:13px;color:#d88996;background:#912b3d14;font-size:11px;font-weight:700;cursor:pointer}.delete-space:active{background:#912b3d29}.project-empty{min-height:330px}.modal-backdrop{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;padding:16px max(14px,var(--tg-content-safe-area-inset-right, 0px)) max(16px,var(--tg-content-safe-area-inset-bottom, 0px)) max(14px,var(--tg-content-safe-area-inset-left, 0px));background:#020811b8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:fade-in .18s ease both}@keyframes fade-in{0%{opacity:0}}.modal-card{position:relative;width:min(470px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;padding:24px 20px 20px;border:1px solid rgba(124,170,235,.2);border-radius:25px;background:linear-gradient(155deg,#112641,#09182b);box-shadow:0 30px 90px #00040c85,inset 0 1px #ffffff0a;animation:sheet-up .24s ease both}@keyframes sheet-up{0%{opacity:0;transform:translateY(18px)}}.modal-close{position:absolute;top:13px;right:13px;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:11px;color:#8295ae;background:#05101d7a;cursor:pointer}.modal-icon{display:grid;place-items:center;width:50px;height:50px;margin-bottom:17px;border-radius:16px;color:#92bdff;background:#2f69c033}.modal-card h2{margin:6px 0 7px;font-size:22px;letter-spacing:-.025em}.modal-card>p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.5}.modal-card label{display:flex;flex-direction:column;gap:7px;margin-top:13px;color:#8da0bb;font-size:10px;font-weight:700;letter-spacing:.04em}.modal-card input,.modal-card textarea{width:100%;padding:12px 13px;outline:none;border:1px solid rgba(124,162,211,.15);border-radius:13px;color:#edf5ff;background:#040f1c8a;font:inherit;font-size:13px;resize:vertical;transition:border-color .18s ease,box-shadow .18s ease}.modal-card input:focus,.modal-card textarea:focus{border-color:#4f8ff180;box-shadow:0 0 0 3px #316ccb1a}.modal-card input::placeholder,.modal-card textarea::placeholder{color:#4e6079}.modal-submit{width:100%;justify-content:center;margin-top:18px}.connection-steps{display:grid;gap:12px;margin:20px 0 5px;padding:0;list-style:none}.connection-steps li{display:flex;align-items:flex-start;gap:10px}.connection-steps li>span{flex:0 0 auto;display:grid;place-items:center;width:25px;height:25px;border-radius:9px;color:#9ec4ff;background:#336ec733;font-size:10px;font-weight:800}.connection-steps p{margin:3px 0 0;color:#9aabc2;font-size:11px;line-height:1.45}.connection-link-box{display:flex;align-items:center;gap:8px;margin-top:17px;padding:7px 7px 7px 12px;border:1px solid rgba(124,162,211,.16);border-radius:13px;background:#040f1c80}.connection-link-box span{min-width:0;flex:1;overflow:hidden;color:#7e96b8;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.connection-link-box button{flex:0 0 auto;display:grid;place-items:center;width:34px;height:32px;border:0;border-radius:10px;color:#91bcff;background:#336cc52b;cursor:pointer}.share-actions{display:grid;grid-template-columns:1.2fr .8fr;gap:8px;margin-top:13px}.share-actions .primary-action{width:100%;justify-content:center;margin:0}.copy-action{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 9px;border:1px solid rgba(91,146,228,.2);border-radius:14px;color:#91baff;background:#2653961c;font-size:11px;font-weight:700;cursor:pointer}.secondary-action{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:8px;padding:10px;border:0;color:#7f93af;background:transparent;font-size:11px;cursor:pointer}.open-own-link{margin-top:5px}.expires-note{display:block;margin-top:8px;color:#52657e;text-align:center;font-size:9px}.danger-icon{color:#f095a3;background:#9d304229}.delete-modal>p{margin-bottom:8px}.delete-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.secondary-cancel,.danger-action{display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px;border-radius:14px;font-size:12px;font-weight:700;cursor:pointer}.secondary-cancel{border:1px solid rgba(124,162,211,.16);color:#8ca0ba;background:#1b355529}.danger-action{border:1px solid rgba(236,103,120,.2);color:#ffd9df;background:linear-gradient(135deg,#b64055,#8f2d41)}.secondary-cancel:disabled,.danger-action:disabled{cursor:wait;opacity:.6}.settings-card{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#0d1f35c7}.setting-row{min-height:72px;display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid rgba(145,177,217,.09)}.setting-row:last-child{border-bottom:0}.setting-icon{width:39px;height:39px;border-radius:13px}.setting-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.setting-copy strong{font-size:13px}.setting-copy small{color:#71839d;font-size:10px}.setting-value{color:#8296b3;font-size:11px}.settings-page{display:grid;gap:16px}.settings-page>.page-heading{margin-bottom:0}.token-vault{display:grid;gap:14px;padding:17px;border:1px solid var(--line);border-radius:22px;background:#0d1f35c7}.token-vault-head{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px}.token-vault-head>span{display:grid;width:40px;height:40px;place-items:center;border-radius:13px;color:#91bcff;background:#285ba83d}.token-vault-head h2{margin:0 0 4px;font-size:15px}.token-vault-head p{margin:0;color:#8094af;font-size:10px;line-height:1.45}.token-vault-head>button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid rgba(83,145,235,.25);border-radius:11px;color:#a8caff;background:#2653962e;font-size:10px;font-weight:800;cursor:pointer}.token-security-note{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;border:1px solid rgba(62,196,153,.16);border-radius:12px;color:#77bca8;background:#196e5317;font-size:9px;line-height:1.5}.token-security-note svg{flex:0 0 auto;margin-top:1px}.token-create-form{display:grid;gap:11px;padding:13px;border:1px solid rgba(81,142,231,.2);border-radius:16px;background:#05111f75}.token-create-form label{display:flex;min-width:0;flex-direction:column;gap:6px;color:#91a5c1;font-size:10px;font-weight:700}.token-create-form input{width:100%;height:42px;padding:0 12px;border:1px solid rgba(125,166,221,.17);border-radius:12px;outline:0;color:#edf5ff;background:#05111fc7}.token-create-form input:focus{border-color:#4d8dff94;box-shadow:0 0 0 3px #4d8dff14}.token-create-form .primary-action{justify-content:center;margin:1px 0 0}.token-error{padding:10px 11px;border:1px solid rgba(232,102,120,.18);border-radius:12px;color:#e89bab;background:#8d2a3b1a;font-size:10px}.token-loading,.token-empty{display:grid;min-height:116px;place-content:center;justify-items:center;gap:6px;color:#7187a4;text-align:center;font-size:10px}.token-empty strong{color:#c4d3e7;font-size:12px}.token-empty small{max-width:310px;color:#687b96;font-size:9px;line-height:1.5}.token-list{display:grid;gap:9px}.token-item{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px;padding:7px;border:1px solid rgba(120,158,210,.13);border-radius:15px;background:#0613227a}.token-item.invalid{border-color:#e65b6f3d;background:#681f2e1a}.token-open{display:grid;min-width:0;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:5px;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.token-item-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#82aff0;background:#234d8459}.token-item-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.token-item-copy>span{display:flex;min-width:0;align-items:center;gap:7px}.token-item-copy strong{overflow:hidden;color:#e7f0fc;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.token-item-copy code{color:#89a9d4;font-size:10px}.token-item-copy small{color:#667c98;font-size:8px}.token-status{display:inline-flex;flex:0 0 auto;padding:3px 6px;border-radius:999px;color:#87a0c1;background:#405b7e40;font-size:7px;font-style:normal;font-weight:900}.token-status.active{color:#62dcb5;background:#228b6929}.token-status.invalid,.token-status.error{color:#ed8fa0;background:#942b3d29}.token-status.restricted{color:#edb36b;background:#8e5b1d2e}.token-delete{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(220,90,111,.15);border-radius:11px;color:#d87889;background:#8023351a;cursor:pointer}.token-delete:disabled{cursor:not-allowed;opacity:.35}.switch{position:relative;width:42px;height:24px;padding:0;border:0;border-radius:999px;background:#263951;cursor:pointer;transition:background .2s ease}.switch span{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#9bacbf;transition:transform .2s ease,background .2s ease}.switch.on{background:#2e6ed3}.switch.on span{background:#fff;transform:translate(18px)}.switch:disabled{cursor:not-allowed;opacity:.42}.enter{animation:enter .26s ease both}@keyframes enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(min-width:560px){.content{padding-left:calc(28px + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(28px + var(--tg-content-safe-area-inset-right, 0px))}.topbar{padding-left:calc(30px + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(30px + var(--tg-content-safe-area-inset-right, 0px))}.quick-grid{grid-template-columns:repeat(3,1fr)}.quick-card{align-items:flex-start;flex-direction:column;min-height:145px}.quick-card .chevron{display:none}.quick-copy{flex:0}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-summary{grid-template-columns:minmax(0,1.45fr) repeat(2,minmax(110px,.55fr))}.summary-owner{grid-column:auto}.project-add-top{display:inline-flex}.mobile-project-add{display:none}.project-status{display:inline-flex}.modal-backdrop{align-items:center}}@media(max-width:390px){.project-card{padding:13px}.project-status{min-height:28px;padding:0 7px;font-size:8px}.project-delete-action{width:42px;min-width:42px;padding:0}.project-delete-action span{display:none}.business-account{padding:9px}.account-state{font-size:8px}}@media(min-width:900px){.app-shell{background:radial-gradient(circle at 76% 4%,rgba(44,102,206,.2),transparent 30%),radial-gradient(circle at 8% 82%,rgba(28,116,175,.1),transparent 28%),linear-gradient(180deg,#081422,#07111f 58%,#081321)}.topbar{padding:24px clamp(42px,5vw,74px) 31px}.brand-mark{width:44px;height:44px;border-radius:15px}.brand-name{font-size:14px}.content{padding:28px clamp(42px,5vw,74px) 128px}.page-heading{margin:5px 2px 30px}.page-heading h1{font-size:clamp(42px,4vw,58px)}.page-heading p{max-width:620px;font-size:15px}.stats-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(350px,.75fr);align-items:stretch;gap:clamp(18px,2vw,28px)}.pulse-card{min-height:350px;padding:clamp(30px,4vw,54px)}.pulse-copy{width:62%}.pulse-copy>strong{margin-top:28px;font-size:clamp(24px,2vw,31px)}.pulse-copy p{max-width:430px;font-size:14px}.pulse-visual{right:clamp(40px,6vw,86px);width:104px;height:104px}.pulse-visual svg{width:42px;height:42px}.quick-panel{display:flex;min-width:0;flex-direction:column}.section-row,.stats-page .section-row{margin:0 2px 12px}.quick-grid{grid-template-columns:1fr;flex:1}.quick-card{min-height:0;align-items:center;flex-direction:row;padding:16px 17px}.quick-card .chevron{display:block}.quick-copy{flex:1}.empty-state{min-height:470px}.settings-card{max-width:920px}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-summary{max-width:720px}.bottom-nav{padding-right:max(calc((100vw - 900px)/2),20px);padding-left:max(calc((100vw - 900px)/2),20px)}}@media(min-width:1500px){.stats-layout{grid-template-columns:minmax(0,1.5fr) minmax(390px,.65fr)}.pulse-card{min-height:390px}}.telegram-mobile .app-shell{min-height:var(--tg-viewport-stable-height, 100dvh)}.online-text{color:#62ddb7}.project-card-clickable{padding-bottom:14px}.project-open-area{display:block;width:100%;padding:0;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.project-open-area:focus-visible{outline:2px solid var(--blue);outline-offset:5px;border-radius:17px}.project-status.paused{border-color:#ffb7455c;color:#ffc66d;background:linear-gradient(135deg,#af69183d,#7045162e);box-shadow:0 0 0 1px #ffb7450d,0 8px 24px #7c4a1233}.pause-status-icon{color:#ffc15a;filter:drop-shadow(0 0 4px rgba(255,183,68,.5));animation:paused-icon-blink 1.35s ease-in-out infinite}@keyframes paused-icon-blink{0%,to{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.88)}}.project-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid rgba(128,164,211,.09)}.project-card-actions .connect-account{margin:0}.project-delete-action{display:inline-flex;min-width:42px;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid rgba(224,99,119,.15);border-radius:13px;color:#c77b89;background:#6f23321a;font-size:9px;font-weight:700;cursor:pointer}.project-delete-action:hover,.project-delete-action:active{color:#e19aa6;background:#8229392b}.back-link{display:inline-flex;align-items:center;gap:7px;margin:0 0 16px;padding:0;border:0;color:#81a9e7;background:transparent;cursor:pointer}.project-detail-header{display:flex;flex-direction:column;gap:20px;margin-bottom:22px}.project-detail-header h1{margin:7px 0 6px;font-size:clamp(31px,8vw,50px);letter-spacing:-.045em}.project-detail-header p{margin:0;color:var(--muted)}.project-power{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 17px;border:1px solid rgba(104,155,227,.18);border-radius:19px;background:#10253fb8}.project-power>span{display:flex;flex-direction:column;gap:4px}.project-power strong{font-size:13px}.project-power small{color:#788ca8;font-size:10px}.project-tabs-shell{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:6px;margin:0 0 19px}.project-tabs{display:flex;gap:7px;min-width:0;padding:0 0 7px;overflow-x:auto;overscroll-behavior-x:contain;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(91,148,231,.5) rgba(16,36,61,.55)}.project-tabs::-webkit-scrollbar{height:4px}.project-tabs::-webkit-scrollbar-track{border-radius:99px;background:#10243d8c}.project-tabs::-webkit-scrollbar-thumb{border-radius:99px;background:#5b94e780}.tab-scroll-button{display:grid;width:34px;height:38px;padding:0;place-items:center;border:1px solid rgba(122,163,218,.18);border-radius:11px;color:#9ab8df;background:#10253fd1;cursor:pointer}.tab-scroll-button:hover{border-color:#5b94e77a;color:#dbeaff;background:#275eb042}.project-tabs button{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:39px;padding:0 13px;border:1px solid rgba(122,163,218,.13);border-radius:13px;color:#7f93af;background:#0d1e3394;cursor:pointer}.project-tabs button.active{border-color:#5691eb5c;color:#dbeaff;background:#275eb03d}@media(hover:none){.project-tabs-shell{grid-template-columns:minmax(0,1fr)}.tab-scroll-button{display:none}}.detail-stack{display:grid;gap:14px}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-grid article{display:flex;min-height:106px;flex-direction:column;justify-content:center;padding:15px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#112844e0,#0b1a2ee0)}.metric-grid span{color:#7f93ae;font-size:10px}.metric-grid strong{margin:5px 0 3px;font-size:25px}.metric-grid small{color:#627590;font-size:9px}.config-section{padding:17px;border:1px solid var(--line);border-radius:21px;background:#0d1f35c7}.config-section-head{display:flex;align-items:flex-start;gap:11px;margin-bottom:17px}.config-section-head>span{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:12px;color:#8cb9fa;background:#285ba838}.config-section-head h3{margin:1px 0 4px;font-size:15px}.config-section-head p{margin:0;color:#8ca0ba;font-size:11px;line-height:1.5}.config-grid{display:grid;gap:13px}.config-field{display:flex;min-width:0;flex-direction:column;gap:7px;color:#91a5c1;font-size:10px;font-weight:700}.config-field input,.config-field textarea,.dialogs-toolbar input,.dialogs-toolbar select{width:100%;border:1px solid rgba(125,166,221,.16);border-radius:13px;outline:0;color:#edf5ff;background:#05111f9e;transition:border .2s ease,box-shadow .2s ease}.config-field input{height:42px;padding:0 12px}.config-field textarea{min-height:92px;padding:11px 12px;resize:vertical;line-height:1.5}.config-field input:focus,.config-field textarea:focus,.dialogs-toolbar input:focus,.dialogs-toolbar select:focus{border-color:#4d8dff8f;box-shadow:0 0 0 3px #4d8dff14}.config-field input:disabled{cursor:not-allowed;color:#63758d;border-color:#6987ae14;background:#050f1c61;opacity:.65}.config-field small{color:#5f728d;font-size:9px;font-weight:500}.config-field .switch{margin-top:5px}.schedule-mode{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;border:1px solid rgba(121,160,213,.13);border-radius:15px;background:#06132275;transition:border-color .2s ease,background .2s ease}.schedule-mode>span{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#83a8d8;background:#23497859}.schedule-mode>div{display:flex;min-width:0;flex-direction:column;gap:4px}.schedule-mode strong{color:#dbe8f8;font-size:11px}.schedule-mode small{color:#7186a2;font-size:8px;line-height:1.45}.schedule-mode.enabled{border-color:#48c89f38;background:#1869501a}.schedule-mode.enabled>span{color:#65d8b3;background:#268b6a2e}.schedule-mode.enabled strong{color:#bcebdc}.schedule-mode.wide{grid-column:1 / -1}.openai-token-assignment{display:grid;gap:12px}.token-assignment-status{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid rgba(229,162,83,.16);border-radius:13px;color:#d6a05d;background:#834d1a17}.token-assignment-status.selected{color:#61d7b1;border-color:#3ec89c2e;background:#1a775917}.token-assignment-status svg{flex:0 0 auto}.token-assignment-status span{display:flex;min-width:0;flex-direction:column;gap:3px}.token-assignment-status strong{color:#dce9f8;font-size:10px}.token-assignment-status small{color:#758ba7;font-size:8px;line-height:1.45}.project-power.token-required{border-color:#e39b4933;background:#70441917}.project-ai-budget{display:grid;gap:11px;padding:12px;border:1px solid rgba(121,160,213,.13);border-radius:14px;background:#05111f61}.project-ai-budget>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.project-ai-budget>div>span{display:flex;min-width:0;flex-direction:column;gap:4px;padding:9px;border-radius:11px;background:#1e416b2e}.project-ai-budget small{color:#7086a2;font-size:7px}.project-ai-budget strong{overflow:hidden;color:#dce9f8;font-size:11px;text-overflow:ellipsis}.token-stats-page{display:grid;gap:14px}.token-stats-header{display:flex;align-items:stretch;justify-content:space-between;gap:12px}.token-stats-title{display:flex;min-width:0;align-items:center;gap:12px}.token-stats-title>span{display:grid;width:48px;height:48px;flex:0 0 auto;place-items:center;border-radius:15px;color:#a9caff;background:linear-gradient(145deg,#2f68bf7a,#1b407447)}.token-stats-title>div{display:flex;min-width:0;flex-direction:column;gap:3px}.token-stats-title small{color:#6fa6ee;font-size:8px;font-weight:900;letter-spacing:.14em}.token-stats-title h1{overflow:hidden;margin:0;font-size:24px;text-overflow:ellipsis;white-space:nowrap}.token-stats-title code{color:#829cbe;font-size:9px}.token-health{display:grid;min-width:210px;grid-template-columns:18px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:10px;border:1px solid rgba(112,151,205,.16);border-radius:15px;color:#8fa8c9;background:#0b1d32b8}.token-health.active{color:#5ed9b0;border-color:#36cb9b33}.token-health.invalid,.token-health.error{color:#e78092;border-color:#e45f743b}.token-health.restricted{color:#e5ac63;border-color:#e29d4738}.token-health>span{display:flex;min-width:0;flex-direction:column;gap:2px}.token-health strong{color:#dbe8f8;font-size:10px}.token-health small{color:#7186a2;font-size:7px}.token-health button{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:10px;color:currentColor;background:#3b67a42e;cursor:pointer}.token-stats-warning{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid rgba(227,98,118,.2);border-radius:13px;color:#e48192;background:#8224341a}.token-stats-warning span{display:flex;min-width:0;flex-direction:column;gap:3px}.token-stats-warning strong{font-size:10px}.token-stats-warning small{overflow-wrap:anywhere;color:#a97884;font-size:8px;line-height:1.45}.token-periods{display:flex;gap:6px;padding:5px;border:1px solid var(--line);border-radius:13px;background:#081728a3}.token-periods button{min-height:32px;flex:1;border:0;border-radius:9px;color:#7186a2;background:transparent;font-size:9px;font-weight:800;cursor:pointer}.token-periods button.active{color:#ddebff;background:#3067b65c}.token-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.token-stat-metric{display:grid;grid-template-columns:35px minmax(0,1fr);gap:2px 9px;padding:13px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#112844e6,#09192ce0)}.token-stat-metric>span{grid-row:1 / span 3;display:grid;width:35px;height:35px;place-items:center;border-radius:11px;color:#83b2f3;background:#24529252}.token-stat-metric small{color:#7890ae;font-size:8px}.token-stat-metric strong{font-size:18px}.token-stat-metric em{color:#637a98;font-size:7px;font-style:normal}.token-budget-card,.token-token-details,.token-chart,.token-breakdown,.token-recent{padding:15px;border:1px solid var(--line);border-radius:18px;background:#0c1f35c7}.token-budget-card{display:grid;gap:13px}.token-budget-copy{display:flex;align-items:flex-start;gap:10px}.token-budget-copy>span{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:12px;color:#74dab8;background:#1e7a5d2b}.token-budget-copy h3,.token-token-details h3,.token-chart h3,.token-breakdown h3,.token-recent h3{margin:0;font-size:13px}.token-budget-copy p,.token-chart>div:first-child small,.token-recent>div:first-child small{margin:4px 0 0;color:#7388a4;font-size:8px;line-height:1.45}.token-budget-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.token-budget-values span{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:12px;background:#05122075}.token-budget-values small{color:#7187a3;font-size:8px}.token-budget-values strong{font-size:15px}.token-budget-progress{height:7px;overflow:hidden;border-radius:999px;background:#556f9133}.token-budget-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38ba91,#e2a34f)}.token-budget-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.token-budget-form label{display:flex;flex-direction:column;gap:6px;color:#8195b0;font-size:8px;font-weight:700}.token-budget-form input{height:39px;padding:0 11px;border:1px solid rgba(124,162,211,.17);border-radius:11px;outline:0;color:#edf5ff;background:#081a2e}.token-budget-form button{display:inline-flex;min-height:39px;align-items:center;gap:6px;padding:0 12px;border:0;border-radius:11px;color:#fff;background:#2868cb;font-size:9px;font-weight:800;cursor:pointer}.token-token-details{display:grid;gap:11px}.token-token-details>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.token-token-details article{display:flex;min-width:0;flex-direction:column;gap:4px;padding:9px;border-radius:11px;background:#0512206b}.token-token-details small{color:#6f85a2;font-size:7px}.token-token-details strong{overflow:hidden;font-size:12px;text-overflow:ellipsis}.token-chart{display:grid;gap:12px}.token-chart-bars{display:flex;height:150px;align-items:flex-end;gap:4px;padding-top:10px;overflow-x:auto}.token-chart-bars article{display:flex;min-width:18px;height:100%;flex:1 0 18px;align-items:center;flex-direction:column;justify-content:flex-end;gap:5px}.token-chart-bars article>span{width:100%;max-width:28px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#4c93ff,#2459a9)}.token-chart-bars small{color:#5f7695;font-size:6px;writing-mode:vertical-rl}.token-chart-empty{display:grid;min-height:120px;place-content:center;justify-items:center;gap:7px;color:#647a97;font-size:9px}.token-breakdown-grid,.token-breakdown{display:grid;gap:10px}.token-breakdown>div{display:grid;gap:6px}.token-breakdown article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px;border-radius:11px;background:#0512206e}.token-breakdown article>span{display:flex;min-width:0;flex-direction:column;gap:3px}.token-breakdown strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.token-breakdown small,.token-breakdown>p{margin:0;color:#667d9b;font-size:7px}.token-breakdown b{flex:0 0 auto;color:#78d6b6;font-size:9px}.token-recent{display:grid;gap:10px}.token-recent>div:first-child{display:block}.token-recent>div:last-child{display:grid;gap:6px}.token-recent article{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border-radius:11px;background:#0512206e}.token-recent article>span{display:grid;width:24px;height:24px;place-items:center;border-radius:8px;color:#64d6b2;background:#22826524}.token-recent article>span.error{color:#e77f91;background:#8d273926}.token-recent article>div{display:flex;min-width:0;flex-direction:column;gap:3px}.token-recent strong{overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.token-recent small{color:#667c99;font-size:7px}.token-recent b{color:#7fd8b9;font-size:8px}.token-recent>p{color:#687e9c;font-size:8px}.token-pricing-note{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid rgba(119,158,209,.12);border-radius:12px;color:#667d9b;font-size:7px;line-height:1.5}.token-pricing-note svg{flex:0 0 auto}.scenario-editor{display:grid;gap:13px}.scenario-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px;border:1px solid rgba(73,139,236,.25);border-radius:16px;background:linear-gradient(135deg,#265eb233,#09192c8c)}.scenario-summary strong{color:#e7f1ff;font-size:13px}.scenario-summary small{grid-column:1;color:#8fa6c4;font-size:10px;line-height:1.5}.scenario-summary span{grid-column:2;grid-row:1 / span 2;align-self:center;padding:6px 9px;border-radius:99px;color:#9cc2ff;background:#2f6ac240;font-size:9px;font-weight:800;white-space:nowrap}.scenario-group{padding:14px;border:1px solid rgba(123,161,213,.14);border-radius:17px;background:#0613236b}.scenario-group>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px}.scenario-group>header>span{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:11px;color:#8cb9fa;background:#285ba833}.scenario-group h4{margin:0 0 4px;color:#e9f2ff;font-size:12px}.scenario-group p{margin:0;color:#7187a4;font-size:9px;line-height:1.5}.vip-access-pair{display:grid;grid-column:1 / -1;gap:11px;padding:13px;border:1px solid rgba(79,142,236,.18);border-radius:15px;background:#1b3e6d21}.scenario-flow-help{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}.scenario-flow-help span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(115,157,214,.13);border-radius:10px;color:#8199b8;background:#0a1d328c;font-size:8px;font-weight:700}.scenario-step-list{display:grid;gap:11px}.scenario-step{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px;border:1px solid rgba(121,162,219,.15);border-radius:16px;background:#05111f7a}.scenario-step.branched{border-color:#4d8dff38;background:linear-gradient(135deg,#1f488026,#05111f80)}.scenario-step-rail{display:flex;flex-direction:column;align-items:center;gap:5px}.scenario-step-rail strong{display:grid;width:31px;height:31px;place-items:center;border-radius:10px;color:#c3d9fa;background:#2a62b559;font-size:11px}.scenario-step-rail button{display:grid;width:29px;height:25px;padding:0;place-items:center;border:0;border-radius:8px;color:#83a2cc;background:#1a375aa3;cursor:pointer}.scenario-step-rail button:disabled{cursor:default;opacity:.22}.scenario-step-body{display:grid;min-width:0;gap:11px}.scenario-step-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.scenario-step-badges{display:flex;flex-wrap:wrap;gap:5px}.scenario-step-badges span{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:8px;color:#8ca4c3;background:#2b486c57;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.scenario-step-badges span.system{color:#98bdf4;background:#2c5ea842}.scenario-step-badges span.branch{color:#8ce0c3;background:#1d7a5c2b}.scenario-step-delete{display:grid;width:30px;height:30px;padding:0;place-items:center;border:1px solid rgba(218,94,115,.16);border-radius:9px;color:#ca7888;background:#681e2c1f;cursor:pointer}.scenario-delivery-row{display:grid;gap:10px}.scenario-wait-state{display:flex;min-height:62px;align-items:center;gap:9px;padding:10px;border:1px solid rgba(80,202,161,.16);border-radius:12px;color:#67d5b0;background:#16674e17}.scenario-wait-state>span{display:flex;min-width:0;flex-direction:column;gap:3px}.scenario-wait-state strong{font-size:9px}.scenario-wait-state small{color:#719e91;font-size:7px;line-height:1.4}.scenario-add-step{display:inline-flex;width:100%;min-height:42px;align-items:center;justify-content:center;gap:7px;margin-top:12px;border:1px dashed rgba(78,143,239,.38);border-radius:13px;color:#a9c9f8;background:#2658a221;font-size:10px;font-weight:800;cursor:pointer}@media(min-width:620px){.scenario-delivery-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.prompt-editor{min-height:340px!important;font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.connected-detail{display:flex;align-items:center;gap:12px}.connected-detail>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.connected-detail small{overflow:hidden;color:#7387a2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.funnel-stage-grid{display:grid;gap:8px}.funnel-stage-grid article{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 11px;border:1px solid rgba(123,161,213,.1);border-radius:14px;background:#0714246e}.funnel-stage-grid i{display:grid;width:28px;height:28px;place-items:center;border-radius:9px;color:#91b9f8;font-size:10px;font-style:normal;background:#2a62b53d}.funnel-stage-grid div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.funnel-stage-grid strong{font-size:11px}.funnel-stage-grid small{overflow:hidden;color:#657994;font-size:8px;text-overflow:ellipsis}.funnel-stage-grid>article>span{min-width:28px;text-align:center;color:#7e9ac0;font-size:11px}.editor-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px;padding:14px;border:1px solid rgba(120,162,220,.16);border-radius:16px;background:#081729a8}.editor-toolbar>div:first-child{display:flex;min-width:0;flex-direction:column;gap:4px}.editor-toolbar strong{color:#edf5ff;font-size:13px}.editor-toolbar small{max-width:590px;color:#8ca0ba;font-size:10px;line-height:1.55}.editor-toolbar>div:last-child{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:7px}.editor-toolbar button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid rgba(122,163,218,.2);border-radius:11px;color:#a9c6ed;background:#122a46b8;font-size:10px;font-weight:700;cursor:pointer}.editor-toolbar button.toolbar-primary{border-color:#4b8bec61;color:#d7e8ff;background:#2b66c252}.funnel-edit-list{display:grid;gap:12px}.funnel-edit-item{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:11px;padding:14px;border:1px solid rgba(123,161,213,.17);border-radius:18px;background:#08182bb3}.stage-order{display:grid;justify-items:center;gap:5px}.stage-order strong{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#c2d9fb;background:#2a62b561;font-size:12px}.stage-order button,.stage-delete{display:grid;width:34px;height:29px;padding:0;place-items:center;border:0;border-radius:9px;color:#8da9cf;background:#1c3b5eb3;cursor:pointer}.stage-order button:disabled{cursor:default;opacity:.25}.stage-fields{display:grid;min-width:0;gap:9px}.stage-meta{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:6px}.stage-meta code{overflow:hidden;max-width:190px;color:#8299b8;font-size:9px;text-overflow:ellipsis}.stage-meta b{margin-left:auto;color:#9ab2d1;font-size:9px;font-weight:700}.stage-type{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:8px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.stage-type.system{color:#88ace3;background:#2f60a833}.stage-type.custom{color:#68d7b3;background:#278e6d26}.stage-fields input,.stage-fields textarea{width:100%;border:1px solid rgba(125,166,221,.13);border-radius:10px;outline:0;color:#e9f3ff;background:#040f1c80}.stage-fields input{height:42px;padding:0 12px;color:#f2f7ff;font-size:12px;font-weight:750}.stage-fields textarea{min-height:60px;padding:10px 12px;resize:vertical;color:#adc0da;font-size:10px;line-height:1.55}.stage-fields input:focus,.stage-fields textarea:focus{border-color:#4d8dff80}.stage-delete{color:#d87989;background:#7a243624}.stage-check-list{display:grid;gap:8px;margin-top:3px;padding:11px;border:1px solid rgba(77,151,239,.23);border-radius:14px;background:#081d34db}.stage-check-title{display:flex;align-items:center;gap:7px;color:#a5ccff;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.stage-check-title b{display:grid;min-width:18px;height:18px;margin-left:auto;place-items:center;border-radius:6px;color:#a9ccfb;background:#3169b647;font-size:7px}.stage-check{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:9px;padding:10px;border:1px solid rgba(118,158,211,.08);border-radius:11px;background:#04111fad}.stage-check>span{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:#70e0ba;background:#21846533}.stage-check>div{display:flex;min-width:0;flex-direction:column;gap:3px}.stage-check strong{color:#e0ecfb;font-size:10px}.stage-check small{color:#91a7c2;font-size:8px;line-height:1.5}.stage-check em{grid-column:2;justify-self:start;padding:5px 7px;border-radius:7px;color:#a3caff;background:#26589d52;font-size:7px;font-style:normal;font-weight:800}.workflow-unified{display:grid;gap:14px}.workflow-help{overflow:hidden;border:1px solid rgba(76,143,239,.22);border-radius:18px;background:linear-gradient(145deg,#1c417257,#08182ba8)}.workflow-help-toggle{display:grid;width:100%;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:13px;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.workflow-help-toggle>span{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#9bc2fa;background:#3067b94d}.workflow-help-toggle>div{display:flex;min-width:0;flex-direction:column;gap:4px}.workflow-help-toggle strong{color:#ecf4ff;font-size:14px}.workflow-help-toggle small{color:#91a8c5;font-size:10px;line-height:1.45}.workflow-help-toggle>svg{color:#83a8d9;transition:transform .22s ease}.workflow-help.open .workflow-help-toggle>svg{transform:rotate(180deg)}.workflow-explainer{display:grid;gap:8px;padding:0 13px 13px;animation:help-expand .2s ease-out}@keyframes help-expand{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.workflow-explainer>div{display:grid;grid-template-columns:30px minmax(0,1fr);gap:3px 10px;padding:10px;border-radius:13px;background:#05111f5c}.workflow-explainer>div>span{display:grid;grid-row:1 / span 2;width:30px;height:30px;place-items:center;border-radius:10px;color:#d2e4ff;background:#326fca70;font-size:12px;font-weight:900}.workflow-explainer strong{align-self:end;color:#edf5ff;font-size:13px}.workflow-explainer small{color:#93a8c3;font-size:10px;line-height:1.45}.workflow-explainer>i{display:none;color:#5e8fd4;font-size:18px;font-style:normal}.workflow-block{display:grid;gap:14px}.workflow-block-title{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:14px;background:#1e426f33}.workflow-block-title>span{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:11px;color:#c8dcfb;background:#2e66ba61;font-size:13px;font-weight:900}.workflow-block-title>div{display:flex;min-width:0;flex-direction:column;gap:3px}.workflow-block-title strong{color:#edf5ff;font-size:14px}.workflow-block-title small{color:#91a6c1;font-size:10px;line-height:1.4}.workflow-divider{display:flex;align-items:center;gap:9px;margin:19px 0;color:#86a8d8;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.workflow-divider:before,.workflow-divider:after{height:1px;flex:1;content:"";background:linear-gradient(90deg,transparent,rgba(78,140,224,.32))}.workflow-divider:after{transform:rotate(180deg)}.stage-summary-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid rgba(125,166,221,.13);border-radius:12px;color:inherit;text-align:left;background:#040f1c7a;cursor:pointer}.stage-summary-toggle>span{display:flex;min-width:0;flex-direction:column;gap:4px}.stage-summary-toggle strong{color:#f2f7ff;font-size:13px}.stage-summary-toggle small{overflow:hidden;color:#9eb1cb;font-size:10px;line-height:1.45;text-overflow:ellipsis}.stage-summary-toggle svg{flex:0 0 auto;color:#7f9fc9;transition:transform .2s ease}.funnel-edit-item.expanded .stage-summary-toggle svg{transform:rotate(180deg)}.stage-expanded-content{display:grid;gap:10px;padding-top:3px}.stage-expanded-content>label{display:grid;gap:6px;color:#9aacc3;font-size:10px;font-weight:750}.stage-expanded-actions{display:flex;flex-wrap:wrap;gap:8px}.stage-scenario-link{display:flex;flex:1 1 220px;min-height:48px;align-items:center;gap:9px;padding:8px 11px;border:1px solid rgba(73,142,238,.28);border-radius:12px;color:#9fc4f8;text-align:left;background:#2557a033;cursor:pointer}.stage-scenario-link>span{display:flex;flex-direction:column;gap:2px}.stage-scenario-link strong{color:#d7e8ff;font-size:11px}.stage-scenario-link small{color:#7f9dc4;font-size:9px}.stage-scenario-link>svg:last-child{margin-left:auto;transition:transform .2s ease}.stage-scenario-link.open>svg:last-child{transform:rotate(180deg)}.stage-remove-button{display:inline-flex;min-height:42px;align-items:center;gap:6px;padding:0 11px;border:1px solid rgba(219,92,113,.16);border-radius:11px;color:#d17e8d;background:#6f1f2f21;font-size:10px;cursor:pointer}.stage-inline-automation{padding:13px;border:1px solid rgba(74,141,236,.24);border-radius:15px;background:#040f1c7a}.inline-message-list{display:grid;gap:9px}.inline-automation-intro{display:flex;align-items:flex-start;gap:9px;margin-bottom:4px;padding:10px;border-radius:12px;color:#87b5f4;background:#2350912e}.inline-automation-intro>span{display:grid;width:31px;height:31px;flex:0 0 auto;place-items:center;border-radius:9px;background:#3067b947}.inline-automation-intro>div{display:flex;min-width:0;flex-direction:column;gap:3px}.inline-automation-intro strong{color:#e1edff;font-size:12px}.inline-automation-intro small{color:#8fa5c1;font-size:10px;line-height:1.45}.inline-message-card{overflow:hidden;border:1px solid rgba(122,163,218,.14);border-radius:13px;background:#08182b99}.inline-message-card>button{display:grid;width:100%;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:11px;border:0;color:#90b6ed;text-align:left;background:transparent;cursor:pointer}.inline-message-card>button>span{display:flex;min-width:0;flex-direction:column;gap:4px}.inline-message-card>button strong{color:#e6f0fd;font-size:12px}.inline-message-card>button small{overflow:hidden;color:#879bb7;font-size:10px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.inline-message-card>button>svg:last-child{transition:transform .2s ease}.inline-message-card.open>button>svg:last-child{transform:rotate(180deg)}.inline-message-body{display:grid;gap:10px;padding:0 11px 12px 44px}.inline-service-messages{display:grid;gap:8px;margin-top:8px;padding-top:11px;border-top:1px solid rgba(122,163,218,.11)}.inline-service-messages>strong{color:#9db4d2;font-size:11px}.automation-info-only{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid rgba(116,157,212,.13);border-radius:13px;color:#7fa9e2;background:#14305240}.automation-info-only>span{display:flex;min-width:0;flex-direction:column;gap:3px}.automation-info-only strong{color:#dbe9fb;font-size:12px}.automation-info-only small{color:#8da2bd;font-size:10px;line-height:1.45}.compact-builder .scenario-flow-help{margin:8px 0 10px}.scenario-step-shell{min-width:0}.scenario-step-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:9px;padding:2px 0;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.scenario-step-toggle>span{display:flex;min-width:0;flex-direction:column;gap:5px}.scenario-step-toggle>span>strong{color:#eaf3ff;font-size:12px}.scenario-step-toggle>span>small{overflow:hidden;color:#8499b5;font-size:10px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.scenario-step-toggle>svg{flex:0 0 auto;color:#7f9fc9;transition:transform .2s ease}.scenario-step.open .scenario-step-toggle>svg{transform:rotate(180deg)}.scenario-step-shell>.scenario-step-body{margin-top:11px;padding-top:11px;border-top:1px solid rgba(122,163,218,.1)}.scenario-step-head>span{color:#9bb0cc;font-size:10px;font-weight:800}.scenario-step-badges i{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:8px;color:#8ca4c3;background:#2b486c57;font-size:8px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.scenario-step-badges i.system{color:#98bdf4;background:#2c5ea842}.scenario-step-badges i.branch{color:#8ce0c3;background:#1d7a5c2b}@media(max-width:480px){.inline-message-body{padding-left:11px}}.workflow-unified .config-section-head h3{font-size:17px}.workflow-unified .config-section-head p{font-size:12px}.workflow-unified .editor-toolbar strong{font-size:14px}.workflow-unified .editor-toolbar small,.workflow-unified .editor-toolbar button{font-size:11px}.workflow-unified .stage-meta b,.workflow-unified .stage-type{font-size:9px}.workflow-unified .stage-check-title{font-size:10px}.workflow-unified .stage-check strong{font-size:12px}.workflow-unified .stage-check small{font-size:10px}.workflow-unified .stage-check em{font-size:9px}.workflow-unified .scenario-summary strong{font-size:15px}.workflow-unified .scenario-summary small{font-size:11px}.workflow-unified .scenario-summary span{font-size:10px}.workflow-unified .scenario-group h4{font-size:14px}.workflow-unified .scenario-group p{font-size:11px}.workflow-unified .scenario-flow-help span,.workflow-unified .scenario-step-badges span{font-size:9px}.workflow-unified .config-field{font-size:11px}.workflow-unified .config-field input,.workflow-unified .config-field textarea,.workflow-unified .config-field select{font-size:13px}.workflow-unified .config-field small{font-size:10px}.workflow-unified .scenario-wait-state strong{font-size:11px}.workflow-unified .scenario-wait-state small{font-size:9px}@media(min-width:760px){.workflow-explainer{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center}.workflow-explainer>i{display:block}}.stop-phrases-editor{display:grid;gap:14px}.rule-switch-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;border:1px solid rgba(115,160,221,.12);border-radius:15px;background:#07142470}.rule-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;color:#f0a278;background:#b3532d29}.rule-switch-row>div:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.rule-switch-row strong{font-size:13px}.rule-switch-row small{color:#8196b1;font-size:11px;line-height:1.45}.stop-rule-step{display:grid;gap:12px;padding:15px;border:1px solid rgba(115,160,221,.14);border-radius:16px;background:#0714245c}.stop-rule-step>header{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px}.stop-rule-step>header>span{display:grid;width:30px;height:30px;place-items:center;border-radius:10px;color:#c8ddff;background:#2d69be61;font-size:12px;font-weight:800}.stop-rule-step>header>div{display:grid;gap:3px}.stop-rule-step>header strong{color:#edf5ff;font-size:13px}.stop-rule-step>header small{color:#7890ae;font-size:10px;line-height:1.45}.rule-scope{display:grid;gap:7px;color:#a2b5ce;font-size:10px;font-weight:700}.rule-scope select,.file-upload-panel select,.file-info select,.config-field select{width:100%;height:40px;padding:0 11px;border:1px solid rgba(125,166,221,.16);border-radius:12px;outline:0;color:#e8f2ff;background:#091a2e;font-size:10px}.phrase-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.phrase-entry input{min-width:0;height:42px;padding:0 12px;border:1px solid rgba(125,166,221,.16);border-radius:12px;outline:0;color:#edf5ff;background:#05111f9e}.phrase-entry input:focus{border-color:#4d8dff8f}.phrase-entry>button{display:inline-flex;align-items:center;gap:6px;padding:0 13px;border:0;border-radius:12px;color:#fff;background:#2f70d6;font-size:10px;font-weight:700;cursor:pointer}.phrase-entry>button:disabled{cursor:default;opacity:.4}.phrase-cloud{display:flex;min-height:58px;align-content:flex-start;flex-wrap:wrap;gap:7px;padding:11px;border:1px dashed rgba(112,156,216,.17);border-radius:14px;background:#05101d4d}.phrase-cloud>span{display:inline-flex;align-items:center;gap:6px;min-height:29px;padding:0 5px 0 10px;border:1px solid rgba(79,139,225,.24);border-radius:99px;color:#b8d4fb;background:#26579d38;font-size:9px}.phrase-cloud>span button{display:grid;width:21px;height:21px;padding:0;place-items:center;border:0;border-radius:50%;color:#7f9ec9;background:#08182b8c;cursor:pointer}.phrases-empty{align-self:center;width:100%;color:#5f738e;text-align:center;font-size:9px}.stop-response-editor>label{display:grid;gap:7px;color:#a2b5ce;font-size:10px;font-weight:700}.stop-response-editor textarea{width:100%;min-height:96px;resize:vertical;padding:12px;border:1px solid rgba(125,166,221,.18);border-radius:13px;outline:0;color:#edf5ff;background:#05111fb3;font:inherit;font-size:12px;line-height:1.55}.stop-response-editor textarea:focus{border-color:#4d8dff8f;box-shadow:0 0 0 3px #3776d21a}.stop-message-preview{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;padding:11px;border-radius:13px;color:#8cbaff;background:#1b46812e}.stop-message-preview>div{display:grid;gap:5px}.stop-message-preview small{color:#7490b4;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.stop-message-preview p{margin:0;color:#d9e9ff;font-size:11px;line-height:1.5;white-space:pre-wrap}.stop-rule-result{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;padding:12px;border:1px solid rgba(73,202,163,.15);border-radius:14px;color:#54d8ae;background:#1254441f}.stop-rule-result>div{display:grid;gap:3px}.stop-rule-result strong{color:#bcebdc;font-size:11px}.stop-rule-result small{color:#718f8a;font-size:9px;line-height:1.45}.rule-summary{display:flex;align-items:center;gap:7px;color:#7186a2;font-size:9px}.rule-summary i{width:7px;height:7px;border-radius:50%;background:#6d7785}.rule-summary i.enabled{background:#4bd2a6;box-shadow:0 0 10px #4bd2a68c}.file-library{display:grid;gap:13px}.file-upload-panel{display:grid;gap:12px;padding:14px;border:1px dashed rgba(85,146,232,.28);border-radius:17px;background:linear-gradient(145deg,#16355b85,#08182b7a)}.file-upload-panel>div{display:flex;align-items:center;gap:10px;color:#8bb9fb}.file-upload-panel>div>span{display:flex;min-width:0;flex-direction:column;gap:3px}.file-upload-panel strong{color:#e1edff;font-size:11px}.file-upload-panel small{color:#6f85a2;font-size:8px}.file-upload-panel label{display:grid;gap:6px;color:#8ba0bd;font-size:8px;font-weight:700}.file-upload-panel>button{display:inline-flex;min-height:41px;align-items:center;justify-content:center;gap:7px;border:0;border-radius:12px;color:#fff;background:linear-gradient(135deg,#4387f3,#2b66c7);font-size:10px;font-weight:700;cursor:pointer}.file-upload-panel>button:disabled{cursor:wait;opacity:.65}.file-usage-note{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;border-radius:12px;color:#7186a3;background:#152c4973;font-size:8px;line-height:1.5}.file-usage-note svg{flex:0 0 auto;color:#79a8ec}.file-usage-note strong{color:#9fbce3}.files-empty{display:grid;min-height:170px;place-content:center;justify-items:center;gap:7px;color:#5c718e;text-align:center}.files-empty strong{color:#91a8c6;font-size:11px}.files-empty span{max-width:250px;font-size:8px;line-height:1.5}.files-grid{display:grid;gap:9px}.file-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid rgba(122,163,218,.11);border-radius:15px;background:#07142473}.file-preview{display:grid;width:58px;height:58px;overflow:hidden;place-items:center;border-radius:11px;color:#7399cc;background:#1c3d667a}.file-preview img{width:100%;height:100%;object-fit:cover}.file-info{display:grid;min-width:0;gap:5px}.file-info strong,.file-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info strong{font-size:10px}.file-info small{color:#657994;font-size:7px}.file-info select{height:31px;padding:0 8px;font-size:8px}.file-actions{display:flex;max-width:66px;flex-wrap:wrap;justify-content:flex-end;gap:5px}.file-actions button{display:grid;width:29px;height:29px;padding:0;place-items:center;border:1px solid rgba(121,162,217,.12);border-radius:9px;color:#799bc9;background:#132b488f;cursor:pointer}.file-actions button:disabled{cursor:default;opacity:.25}.file-actions button.danger{color:#d67787}.file-delete-confirm{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:11px;border-radius:inherit;color:#c5d4e8;background:#071220f5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.file-delete-confirm span{margin-right:auto;font-size:10px;font-weight:700}.file-delete-confirm button{min-height:32px;padding:0 9px;border:1px solid rgba(121,162,217,.16);border-radius:9px;color:#92a8c5;background:#142c49b3;font-size:8px;cursor:pointer}.file-delete-confirm button.confirm{border-color:#e0576b40;color:#f0a0ad;background:#86263733}.api-only-banner{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;padding:12px;border:1px solid rgba(69,208,166,.18);border-radius:14px;color:#5ed6af;background:#1e82621a}.api-only-banner svg{flex:0 0 auto}.api-only-banner>div{display:flex;min-width:0;flex-direction:column;gap:3px}.api-only-banner strong{color:#bcebdc;font-size:10px}.api-only-banner small{color:#719d91;font-size:8px;line-height:1.45}.ai-readiness-warning{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid rgba(238,164,85,.2);border-radius:14px;color:#f0ad66;background:#8b511c1f}.ai-readiness-warning svg{flex:0 0 auto}.ai-readiness-warning span{display:flex;min-width:0;flex-direction:column;gap:3px}.ai-readiness-warning strong{color:#f1d0a8;font-size:10px}.ai-readiness-warning small{color:#a88d70;font-size:8px;line-height:1.45}.model-picker-grid{display:grid;gap:12px}.model-picker{display:grid;gap:8px;padding:13px;border:1px solid rgba(122,163,218,.13);border-radius:15px;background:#06132275}.model-picker>label{color:#91a5c1;font-size:9px;font-weight:800}.model-select-wrap{position:relative}.model-select-wrap svg{position:absolute;z-index:1;left:11px;top:50%;color:#7daaf0;transform:translateY(-50%);pointer-events:none}.model-select-wrap select{width:100%;height:43px;padding:0 11px 0 38px;border:1px solid rgba(85,145,234,.25);border-radius:12px;outline:0;color:#e8f2ff;background:#091a2e;font-size:10px;font-weight:700}.model-description{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.model-description>span{display:flex;min-width:0;flex-direction:column;gap:3px}.model-description strong{font-size:9px}.model-description small{color:#687e9b;font-size:8px;line-height:1.4}.model-description em{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;padding:5px 7px;border-radius:8px;color:#66d8b3;background:#278e6d24;font-size:7px;font-style:normal;font-weight:800}.sticky-save{position:sticky;z-index:5;bottom:calc(79px + var(--tg-content-safe-area-inset-bottom, 0px));display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding:12px;border:1px solid rgba(96,149,226,.22);border-radius:18px;background:#071220ed;box-shadow:0 18px 50px #00000052;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.sticky-save.dirty{border-color:#4b87e16b}.sticky-save>span{display:flex;align-items:center;gap:6px;color:#7186a3;font-size:9px}.sticky-save .primary-action{flex:0 0 auto;margin:0}.dialogs-toolbar{display:grid;grid-template-columns:1fr auto;gap:9px;margin-bottom:14px}.dialogs-toolbar select{grid-column:1 / -1;height:42px;padding:0 11px}.dialogs-toolbar form{position:relative}.dialogs-toolbar form svg{position:absolute;left:11px;top:50%;color:#61758f;transform:translateY(-50%)}.dialogs-toolbar input{height:42px;padding:0 11px 0 36px}.dialogs-toolbar>button{display:grid;width:42px;place-items:center;border:1px solid var(--line);border-radius:13px;color:#83a5d7;background:#0e223ab8;cursor:pointer}.dialogs-layout{display:grid;gap:12px}.conversation-list,.conversation-panel{border:1px solid var(--line);border-radius:20px;background:#0b1c30c2}.conversation-list{max-height:430px;padding:7px;overflow-y:auto}.conversation-item{display:flex;width:100%;align-items:center;gap:10px;padding:10px;border:0;border-radius:14px;color:inherit;text-align:left;background:transparent;cursor:pointer}.conversation-item:hover,.conversation-item.active{background:#3268b526}.conversation-item>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.conversation-item strong,.conversation-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-item strong{font-size:11px}.conversation-item small{color:#70839e;font-size:8px}.conversation-item>i{min-width:20px;padding:4px;border-radius:8px;color:#fff;text-align:center;font-size:8px;font-style:normal;background:#3376db}.conversation-panel{min-height:360px;overflow:hidden}.dialog-stage-select{display:flex;max-width:270px;align-items:center;gap:7px;margin-top:7px;color:#7185a0;font-size:8px}.dialog-stage-select select{min-width:0;height:30px;padding:0 8px;border:1px solid rgba(125,166,221,.16);border-radius:9px;outline:0;color:#cfe0f6;background:#091a2e;font-size:8px}.conversation-placeholder{display:grid;min-height:360px;place-content:center;justify-items:center;color:#60748f}.conversation-placeholder p{font-size:11px}.conversation-head{display:flex;flex-direction:column;gap:12px;padding:15px;border-bottom:1px solid var(--line)}.conversation-head h2{margin:0 0 5px;font-size:15px}.conversation-head p{margin:0;color:#6f839e;font-size:9px}.conversation-actions{display:flex;flex-wrap:wrap;gap:7px}.conversation-actions button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid rgba(118,160,216,.14);border-radius:11px;color:#85a5d2;font-size:9px;background:#1631516b;cursor:pointer}.conversation-actions button.danger{color:#df8292}.message-stream{display:flex;max-height:520px;flex-direction:column;gap:8px;padding:14px;overflow-y:auto}.message-bubble{max-width:82%;padding:10px 11px;border-radius:15px 15px 15px 4px;background:#142a46}.message-bubble.outgoing{align-self:flex-end;border-radius:15px 15px 4px;background:#2458a4}.message-bubble p{margin:0;white-space:pre-wrap;font-size:11px;line-height:1.5}.message-bubble small{display:block;margin-top:5px;color:#c9ddf98a;font-size:7px}.message-composer{display:grid;grid-template-columns:1fr auto;gap:8px;padding:11px;border-top:1px solid var(--line)}.message-composer textarea{min-height:52px;padding:10px 11px;resize:none;border:1px solid rgba(125,166,221,.16);border-radius:13px;outline:0;color:#edf5ff;background:#05111f9e}.message-composer button{display:grid;width:46px;place-items:center;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,#4387f3,#2b66c7);cursor:pointer}.message-composer button:disabled{cursor:not-allowed;opacity:.45}@media(min-width:720px){.project-detail-header{align-items:center;flex-direction:row;justify-content:space-between}.project-power{min-width:300px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.config-grid,.model-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-check{grid-template-columns:26px minmax(0,1fr) auto;align-items:center}.stage-check em{grid-column:auto;justify-self:end}.config-field.wide{grid-column:1 / -1}.funnel-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.file-upload-panel{grid-template-columns:minmax(220px,1fr) minmax(210px,.7fr) auto;align-items:end}.file-upload-panel>button{min-width:150px}.files-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dialogs-toolbar{grid-template-columns:220px minmax(260px,1fr) auto}.dialogs-toolbar select{grid-column:auto}.dialogs-layout{grid-template-columns:minmax(240px,.72fr) minmax(0,1.5fr)}.conversation-list{max-height:620px}.conversation-head{align-items:center;flex-direction:row;justify-content:space-between}.token-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.token-breakdown-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.editor-toolbar{flex-direction:column}.editor-toolbar>div:last-child{width:100%;justify-content:stretch}.editor-toolbar>div:last-child button{flex:1;justify-content:center}.funnel-edit-item{grid-template-columns:38px minmax(0,1fr)}.stage-delete{position:absolute;top:9px;right:9px}.stage-meta code{display:none}.stage-meta b{width:auto;margin-left:auto}.phrase-entry{grid-template-columns:1fr}.phrase-entry>button{min-height:39px;justify-content:center}.file-card{grid-template-columns:52px minmax(0,1fr)}.file-preview{width:52px;height:52px}.file-actions{grid-column:1 / -1;max-width:none;justify-content:flex-end}.token-stats-header{flex-direction:column}.token-health{min-width:0}.token-budget-form{grid-template-columns:1fr}.token-budget-form button{justify-content:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
