:root{color:#10151f;font-synthesis:none;text-rendering:optimizelegibility;background:#eef0f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;min-height:100vh;margin:0}html,body{overflow:hidden}body{background:radial-gradient(circle at 20% 0,#d0d7e2c7,#0000 26rem),linear-gradient(135deg,#f7f6f2 0%,#eef1f4 45%,#e7eaee 100%)}a{color:inherit;text-decoration:none}button,textarea,select,input{font:inherit}:root{--background:#fbfaf8;--foreground:#111318;--card:#f6f5f2;--surface:#eeece8;--surface-2:#e7e5df;--border:#dedbd3;--muted-foreground:#6f6b63;--accent:#16a34a;--warning:#b7791f;--destructive:#dc2626}.h-screen{height:100vh}.w-screen{width:100vw}.max-w-xl{max-width:36rem}.min-h-0{min-height:0}.min-w-0{min-width:0}.w-full{width:100%}.h-full{height:100%}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-16{width:4rem}.w-\[240px\]{width:240px}.w-\[248px\]{width:248px}.w-7{width:1.75rem}.w-8{width:2rem}.w-5{width:1.25rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.block{display:block}.hidden{display:none}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.inset-0{inset:0}.left-2\.5{left:.625rem}.top-1\/2{top:50%}.bottom-3{bottom:.75rem}.right-3{right:.75rem}.z-50{z-index:50}.-translate-y-1\/2{transform:translateY(-50%)}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.grow{flex-grow:1}.items-center{align-items:center}.items-start{align-items:flex-start}.items-baseline{align-items:baseline}.justify-between{justify-content:space-between}.place-items-center{place-items:center}.shrink-0{flex-shrink:0}.flex-1{flex:1}.grid-cols-1{grid-template-columns:minmax(0,1fr)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.col-span-3{grid-column:span 3/span 3}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.col-span-8{grid-column:span 8/span 8}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-auto{overflow:auto}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.resize-none{resize:none}.outline-none{outline:none}.pointer-events-none{pointer-events:none}.opacity-50{opacity:.5}.mx-auto{margin-left:auto;margin-right:auto}.ml-auto{margin-left:auto}.mt-1{margin-top:.25rem}.mt-0\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mb-1\.5{margin-bottom:.375rem}.mb-3{margin-bottom:.75rem}.space-y-2>*+*{margin-top:.5rem}.space-y-3>*+*{margin-top:.75rem}.space-y-5>*+*{margin-top:1.25rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.p-0\.5{padding:.125rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.pt-3{padding-top:.75rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pl-3\.5{padding-left:.875rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-5{height:1.25rem}.h-28{height:7rem}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.aspect-video{aspect-ratio:16/9}.rounded{border-radius:.25rem}.rounded-sm{border-radius:.125rem}.rounded-md{border-radius:.375rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:999px}.border{border:1px solid var(--border)}.border-t{border-top:1px solid var(--border)}.border-b{border-bottom:1px solid var(--border)}.border-l{border-left:1px solid var(--border)}.border-r{border-right:1px solid var(--border)}.border-y{border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.last\:border-b-0:last-child{border-bottom:0}.border-dashed{border-style:dashed}.border-border{border-color:var(--border)}.border-transparent{border-color:#0000}.border-white\/10{border-color:#ffffff1a}.border-white\/15{border-color:#ffffff26}.border-accent\/30{border-color:#16a34a4d}.border-warning\/30{border-color:#b7791f4d}.bg-background{background:var(--background)}.bg-foreground{background:var(--foreground)}.bg-card{background:var(--card)}.bg-surface{background:var(--surface)}.bg-surface-2{background:var(--surface-2)}.bg-transparent{background:0 0}.bg-accent{background:var(--accent)}.bg-muted-foreground\/40{background:#6f6b6366}.bg-warning{background:var(--warning)}.bg-black\/30{background:#0000004d}.bg-black\/40{background:#0006}.bg-white\/5{background:#ffffff0d}.bg-white\/10{background:#ffffff1a}.bg-accent\/5{background:#16a34a0d}.bg-warning\/5{background:#b7791f0d}.text-background{color:var(--background)}.text-foreground{color:var(--foreground)}.text-foreground\/80{color:#111318cc}.text-foreground\/90{color:#111318e6}.text-muted-foreground{color:var(--muted-foreground)}.text-muted-foreground\/70{color:#6f6b63b3}.text-accent{color:var(--accent)}.text-warning{color:var(--warning)}.text-destructive{color:var(--destructive)}.text-red-300{color:#fca5a5}.text-green-100{color:#dcfce7}.text-green-200{color:#bbf7d0}.text-green-300{color:#86efac}.text-green-300\/85{color:#86efacd9}.text-yellow-300{color:#fde047}.text-sm{font-size:.875rem}.text-xs{font-size:.75rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-lg{font-size:1.125rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-left{text-align:left}.text-center{text-align:center}.uppercase{text-transform:uppercase}.tracking-wider{letter-spacing:.04em}.leading-6{line-height:1.5rem}.leading-relaxed{line-height:1.625}.text-mono{font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace}.object-cover{object-fit:cover}.shadow-2xl{box-shadow:0 25px 50px #00000040}.transition-colors{transition:color .12s,background-color .12s,border-color .12s}.hover\:bg-background:hover{background:var(--background)}.hover\:bg-surface:hover{background:var(--surface)}.hover\:bg-surface-2:hover{background:var(--surface-2)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:border-foreground\/30:hover{border-color:#1113184d}.hover\:opacity-90:hover{opacity:.9}.focus\:outline-none:focus{outline:none}.focus-within\:border-foreground\/30:focus-within{border-color:#1113184d}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.bg-\[\#07111f\]{background:#07111f}.bg-\[\#0a0a0c\]{background:#0a0a0c}.bg-\[\#0b1625\]{background:#0b1625}.bg-\[\#111318\]{background:#111318}.bg-\[\#1b1d22\]{background:#1b1d22}.bg-red-400{background:#f87171}.bg-yellow-400{background:#facc15}.bg-green-400{background:#4ade80}.h-\[calc\(100\%-2\.25rem\)\]{height:calc(100% - 2.25rem)}body.mars-app-mounted>.mars-shell-root,body.mars-app-mounted>.h-screen.w-screen{width:100vw!important;max-width:none!important}body.mars-app-mounted .mars-shell-root{min-width:0;position:relative}body.mars-app-mounted .mars-shell-main{flex:1!important;align-self:stretch!important;width:100%!important;min-width:0!important;max-width:none!important}body.mars-app-mounted .mars-dynamic-page{width:100%!important;max-width:none!important}body.mars-app-mounted [data-page-body]{width:100%}body.mars-app-mounted>section:not([class]),body.mars-app-mounted #lovable-badge,body.mars-app-mounted #lovable-badge-cta,body.mars-app-mounted #lovable-badge-close,body.mars-app-mounted .lovable-badge,body.mars-app-mounted [data-lovable],body.mars-app-mounted [class*=lovable]{display:none!important}.mars-peer-embedded{grid-template-columns:minmax(0,1fr);display:grid}.mars-peer-embedded-frame{background:var(--background);border:0;width:100%;height:100%;min-height:0}.mars-dynamic-page,.mars-dynamic-page *{overflow-wrap:anywhere;min-width:0}.mars-dynamic-page{width:100%}.mars-dynamic-page>.h-12{min-height:3rem}.mars-dynamic-page>.h-12>.ml-auto{flex-shrink:0}.mars-dynamic-page .truncate{overflow-wrap:normal}.mars-home-layout{background:radial-gradient(circle at 18% 0,#d5dbe4b8,#0000 28rem),linear-gradient(135deg,#f6f4ef 0%,#eef1f4 48%,#e5e9ee 100%);grid-template-columns:minmax(240px,292px) minmax(480px,1fr) minmax(240px,300px);gap:12px;width:100%;min-width:0;height:100%;min-height:0;padding:12px;display:grid;overflow:hidden}.mars-home-layout>*{min-width:0;min-height:0}.mars-home-chat{flex-direction:column;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.mars-home-chat .chat-header{padding-bottom:14px}.mars-home-chat .chat-header h1{max-width:100%}.mars-message-list{flex-direction:column;padding:4px 0 12px;display:flex}.mars-home-chat .message{width:fit-content;max-width:min(780px,86%)}.mars-home-chat .message .text-muted-foreground{color:#6f7b8cd1}.mars-home-chat .message.user .text-muted-foreground{color:#e2e8f0c2}.mars-home-layout textarea{min-height:72px}.mars-dynamic-page{background:0 0}.mars-page-header{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fbfaf8e6;margin:0}.mars-home-sessions.sessions,.mars-home-chat.conversation,.mars-home-peers.mesh{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fafbfcbd;border:1px solid #8994a447;border-radius:18px;box-shadow:0 18px 52px #1f293714}.mars-home-sessions.sessions{align-content:start;padding:14px}.mars-home-sessions .session-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.mars-home-sessions .session-header b{color:#5d6673;background:#fff;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:12px;display:inline-grid}.mars-home-sessions .session-card{width:100%}.session-delete-button{color:#8a93a3;border-radius:4px;flex:0 0 18px;place-items:center;width:18px;height:18px;font-size:12px;line-height:1;display:inline-grid}.session-delete-button:hover,.session-delete-button:focus-visible{color:#b42318;background:#b4231814;outline:0}.mars-home-sessions .session-card .text-muted-foreground{color:#758092}.mars-composer-body{flex:auto;grid-template-rows:minmax(46px,auto) auto;min-width:0;display:grid}.mars-composer-input{color:#172033;width:100%;min-height:46px;font:inherit;background:0 0;border:0;outline:0;padding:0;line-height:1.55}.mars-composer-input::placeholder{color:#7b8594}.mars-send-button{color:#fff;cursor:pointer;background:#10151f;border:0;border-radius:9px;min-width:54px;height:32px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:800}.mars-header-button{color:#fff;cursor:pointer;background:#10151f;border:1px solid #1720331f;border-radius:7px;height:32px;padding:0 12px;font-size:12px;font-weight:700}.mars-header-button:hover{opacity:.9}.mars-new-session-controls{align-items:center;gap:8px;min-width:0;display:flex}.mars-new-session-controls select,.mars-new-session-controls input{color:#172033;background:#ffffffc7;border:1px solid #1720331f;border-radius:7px;outline:0;height:32px;font-size:12px}.mars-new-session-controls select{max-width:132px}.mars-new-session-controls input{width:min(30vw,280px);min-width:160px;padding:0 10px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace}.mars-session-settings{grid-template-columns:minmax(120px,1.1fr) minmax(96px,.6fr) minmax(160px,1.5fr) auto;gap:8px;max-width:760px;margin-top:10px;display:grid}.mars-session-settings input,.mars-session-settings select,.mars-session-settings button{color:#172033;background:#ffffffd1;border:1px solid #1720331f;border-radius:7px;min-width:0;height:30px;font-size:12px}.mars-session-settings input{padding:0 9px}.mars-session-settings button{color:#fff;cursor:pointer;background:#10151f;padding:0 12px;font-weight:700}.mars-home-peers.mesh{overflow-y:auto}.mars-home-peers .node-card{color:inherit;display:block}.mars-home-peers .node-card:hover{background:#fff;border-color:#1f293747}.mars-plan-filters{z-index:2;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fbfaf8f0;flex-wrap:wrap;gap:8px;padding:12px 24px;display:flex;position:sticky;top:0}.mars-plan-filter{border:1px solid var(--border);background:var(--card);height:30px;color:var(--muted-foreground);cursor:pointer;border-radius:7px;align-items:center;gap:8px;padding:0 10px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:11px;display:inline-flex}.mars-plan-filter strong{min-width:18px;height:18px;color:var(--foreground);background:#fff;border-radius:999px;place-items:center;font-size:10px;display:inline-grid}.mars-plan-filter.active,.mars-plan-filter:hover{color:var(--foreground);background:#fff;border-color:#11131838}.mars-plan-result{box-shadow:inset 0 1px #ffffff8c}.mars-file-panel{grid-template-rows:auto minmax(160px,.45fr) minmax(420px,1fr);gap:12px;min-height:calc(100vh - 7rem);display:grid}.mars-file-browser{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.mars-file-entries{min-height:0;overflow-y:auto}.mars-file-entry{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;display:grid}.mars-file-entry-main{min-width:0;height:34px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:0 10px;display:flex}.mars-file-entry-main:hover{background:var(--surface)}.mars-file-entry-delete{border:0;border-left:1px solid var(--border);height:34px;color:var(--destructive);cursor:pointer;background:0 0;padding:0 10px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:10px}.mars-file-entry-delete:hover{background:#dc262614}.mars-file-editor{grid-template-rows:auto minmax(360px,1fr);min-height:0;display:grid;overflow:hidden}.mars-file-textarea{resize:vertical;color:#e5f2e8;background:#10151f;border:0;outline:0;width:100%;height:100%;min-height:360px;padding:14px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.65}.mars-file-textarea::placeholder{color:#e5f2e885}.mars-plan-result .grid{min-width:236px}.mars-plan-dag-scroll{padding-bottom:2px}.mars-plan-dag-lanes{grid-auto-columns:minmax(210px,260px);grid-auto-flow:column;align-items:start;gap:10px;min-width:max-content;display:grid}.mars-plan-dag-lane{position:relative}.mars-plan-dag-lane:not(:last-child):after{content:"";border-top:1px solid #6f6b6357;width:5px;height:calc(100% - 34px);position:absolute;top:34px;right:-7px}.mars-plan-dag-node{min-height:104px}.mars-peer-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px)}.mars-peer-surface,.mars-peer-inspector{grid-column:auto;min-width:0}.mars-monitor-grid>*{min-width:0}.mars-monitor-stage{align-items:stretch}.mars-monitor-window{height:min(720px,100%);min-height:520px}.mars-monitor-side{min-height:0;overflow-y:auto}.mars-monitor-main{min-height:0}@media (width<=1360px){.mars-home-layout{grid-template-columns:minmax(220px,300px) minmax(360px,1fr)}.mars-home-sessions{border-right:1px solid var(--border);border-bottom:0}.mars-home-peers{display:none}}@media (width<=1200px){.mars-peer-layout{grid-template-columns:minmax(0,1fr)}.mars-peer-inspector{display:none}.mars-monitor-grid{grid-template-columns:minmax(0,1fr);overflow-y:auto}.mars-peer-surface .aspect-video{aspect-ratio:auto;height:min(720px,100vh - 180px)}.mars-monitor-side,.mars-monitor-main{grid-column:auto}.mars-monitor-side{min-height:104px}}@media (width<=760px){.mars-home-layout{grid-template-rows:max-content minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.mars-home-sessions{border-right:0;border-bottom:1px solid var(--border);max-height:150px}.mars-home-sessions>div{grid-auto-columns:minmax(220px,280px);grid-auto-flow:column;gap:.5rem;display:grid;overflow-x:auto}.mars-home-sessions>div>*+*{margin-top:0}.mars-dynamic-page>.h-12{align-items:flex-start;height:auto;padding-top:.5rem;padding-bottom:.5rem}.mars-dynamic-page>.h-12>.ml-auto{flex-wrap:wrap;justify-content:flex-end}.mars-plan-result .grid{width:100%;min-width:0}.mars-plan-dag-lanes{grid-auto-columns:minmax(190px,230px)}}@media (width>=1280px){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){body.mars-app-mounted .w-\[248px\]{width:64px}body.mars-app-mounted .mars-shell-main{width:auto!important}.mars-home-layout,.grid-cols-12{grid-template-columns:minmax(0,1fr)}.col-span-3,.col-span-4,.col-span-6,.col-span-8{grid-column:span 1/span 1}}kbd{color:#687280;background:#e8ecf1;border-radius:6px;place-items:center;min-width:22px;height:22px;font-size:12px;font-weight:700;display:inline-grid}.app-shell{grid-template-columns:232px 282px minmax(420px,1fr) 248px;gap:12px;min-height:100vh;padding:12px;display:grid}.rail,.sessions,.conversation,.mesh{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fafbfcb8;border:1px solid #8994a447;box-shadow:0 18px 52px #1f293714}.rail{border-radius:18px;flex-direction:column;gap:18px;padding:16px;display:flex}.mark{color:#fff;background:#111827;border-radius:12px;place-items:center;width:36px;height:36px;font-size:19px;font-weight:800;display:grid}.brand-row{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:48px;display:grid}.brand-title{white-space:nowrap;font-size:15px;font-weight:800}.brand-subtitle{color:#7c8797;margin-top:3px;font-size:12px}.nav-section{gap:7px;display:grid}.section-label,.session-header,.mesh-status{color:#7a8492;letter-spacing:.04em;font-size:12px;font-weight:800}.nav-item{color:#333c49;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;height:36px;padding:0 10px;display:flex}.nav-item.compact{font-size:13px}.nav-item.active{color:#111827;background:#e7ebf0;font-weight:800}.nav-item b{color:#5d6673;background:#fff;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:12px;display:inline-grid}.sessions{border-radius:18px;align-content:start;gap:10px;padding:14px;display:grid}.host-card{color:#fff;background:linear-gradient(145deg,#121826,#273244);border-radius:16px;align-items:center;gap:12px;min-height:98px;padding:14px;display:flex}.avatar{background:#ffffff26;border-radius:14px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.host-card h2{overflow-wrap:anywhere;margin:0;font-size:15px}.host-card p{color:#cbd5e1;margin:5px 0 0;font-size:13px}.session-card{color:#151b25;cursor:pointer;text-align:left;background:#ffffff8c;border:1px solid #0000;border-radius:14px;align-content:center;gap:7px;min-height:70px;padding:12px;display:grid}.session-card.active{background:#fff;border-color:#b7c1cf;box-shadow:0 10px 24px #1e293b14}.session-card span{font-weight:800}.session-card small{color:#758092}.conversation{border-radius:18px;flex-direction:column;min-width:0;padding:18px;display:flex}.chat-header{border-bottom:1px solid #8994a438;justify-content:space-between;align-items:center;gap:18px;padding-bottom:14px;display:flex}.chat-header p{color:#7b8594;margin:0 0 5px;font-weight:700}.chat-header h1{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px}.engine-pill,.session-strip span,.engine-list span{color:#596574;white-space:nowrap;background:#ebeff4;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.session-strip{flex-wrap:wrap;gap:8px;padding:14px 0;display:flex}.message{border-radius:16px;max-width:780px;margin:5px 0 10px;padding:14px;line-height:1.65}.message.user{color:#fff;background:#10151f;align-self:flex-end}.message.assistant{background:#fff;border:1px solid #8994a43d;align-self:flex-start}.speaker{color:#7d8796;margin-bottom:6px;font-size:12px;font-weight:900}.message.user .speaker{color:#bac4d0}.message p{margin:0}.tool-list{gap:8px;margin:12px 0;display:grid}.tool-call{background:#f2f5f8;border-radius:10px;justify-content:space-between;gap:16px;padding:8px 10px;display:flex}.tool-call span{color:#202836;font-weight:900}.tool-call em{color:#6f7b8c;font-style:normal}.composer{background:#fff;border:1px solid #cfd7e2;border-radius:18px;justify-content:space-between;align-items:flex-end;gap:12px;min-height:78px;margin-top:auto;padding:14px;display:flex}.composer span{color:#293342;font-weight:800}.composer p{color:#7b8594;margin:0;font-size:13px}.mesh{border-radius:18px;align-content:start;gap:12px;padding:14px;display:grid}.mesh-status{justify-content:space-between;display:flex}.mesh-status b{color:#15803d}.node-list{gap:10px;display:grid}.node-card{background:#ffffffad;border:1px solid #8994a438;border-radius:14px;padding:12px}.node-card.offline{opacity:.58}.node-card>div:first-child{justify-content:space-between;gap:10px;display:flex}.node-card strong{overflow-wrap:anywhere;font-size:15px}.node-card span,.node-card p{color:#6f7b8b;font-size:13px}.node-card p{margin:8px 0 10px}.engine-list{flex-wrap:wrap;gap:6px;display:flex}@media (width<=1180px){.app-shell{grid-template-columns:220px minmax(420px,1fr)}.sessions,.mesh{display:none}}@media (width<=760px){.app-shell{grid-template-columns:1fr}.rail{display:none}.conversation{min-height:100vh}}body.mars-app-mounted .mars-dynamic-page{width:100%;min-width:0;height:100vh;overflow:hidden}body.mars-app-mounted .mars-shell-root{display:flex!important}body.mars-app-mounted .mars-shell-root>.w-\[248px\]{flex:0 0 248px;width:248px}body.mars-app-mounted .mars-home-layout{grid-template-columns:minmax(220px,280px) minmax(520px,1fr) minmax(220px,300px);gap:12px;width:100%;min-width:0;height:100%;min-height:0;padding:12px;overflow:hidden;display:grid!important}body.mars-app-mounted .mars-home-layout>*{min-width:0;min-height:0}body.mars-app-mounted .mars-home-chat.conversation{width:100%;min-width:0;max-width:none;height:100%;min-height:0;padding:18px}body.mars-app-mounted .mars-home-chat .chat-header{flex-shrink:0}body.mars-app-mounted .mars-message-list{min-height:0;overflow-y:auto}body.mars-app-mounted .mars-home-chat .message{max-width:min(760px,82%)}body.mars-app-mounted .mars-home-chat .composer{flex-shrink:0;width:100%;max-width:none;margin-top:12px}body.mars-app-mounted .mars-home-sessions.sessions,body.mars-app-mounted .mars-home-peers.mesh{min-height:0;display:block;overflow-y:auto}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}body.mars-login-active{background:var(--background);overflow:auto}.mars-login-shell{background:var(--background);min-height:100vh;color:var(--foreground);grid-template-rows:auto minmax(0,1fr) auto;padding:20px;display:grid}.mars-login-header,.mars-login-footer{width:min(100%,1040px);margin:0 auto;display:flex}.mars-login-header{justify-content:space-between;align-items:center;min-height:40px}.mars-login-downloads{flex-shrink:0;margin-left:12px;position:relative}.mars-login-downloads summary{cursor:pointer;border:1px solid var(--border);border-radius:8px;align-items:center;min-height:44px;padding:8px 12px;font-size:14px;list-style:none;display:flex}.mars-login-downloads summary::-webkit-details-marker{display:none}.mars-login-downloads summary:hover,.mars-login-download-menu a:hover{background:var(--muted)}.mars-login-downloads summary:focus-visible,.mars-login-download-menu a:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}.mars-login-download-menu{border:1px solid var(--border);background:var(--background);z-index:20;border-radius:12px;width:min(340px,100vw - 40px);max-height:75vh;padding:16px;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto;box-shadow:0 8px 24px #0002}.mars-login-download-menu h2{margin:0;font-size:16px}.mars-login-download-menu p{color:var(--muted-foreground);margin:6px 0 12px;font-size:12px}.mars-login-download-menu a{min-height:44px;color:var(--foreground);overflow-wrap:anywhere;border-radius:6px;flex-direction:column;gap:4px;padding:12px 8px;text-decoration:none;display:flex}.mars-login-download-menu strong{font-size:14px;font-weight:600}.mars-login-download-menu span{color:var(--muted-foreground);font-size:12px}.mars-login-download-menu button{cursor:pointer;min-height:44px;padding:8px 16px}@media (width<=380px){.mars-login-brand>span:last-child{max-width:90px;font-size:12px}}.mars-login-brand{color:var(--foreground);align-items:center;gap:8px;font-size:14px;font-weight:650;display:inline-flex}.mars-login-mark{border:1px solid var(--foreground);background:var(--foreground);width:28px;height:28px;color:var(--background);border-radius:4px;place-items:center;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:600;display:grid}.mars-login-environment,.mars-login-footer,.mars-login-eyebrow{color:var(--muted-foreground);font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.4}.mars-login-panel{border:1px solid var(--border);background:var(--card);border-radius:6px;align-self:center;width:min(100%,420px);margin:48px auto;padding:24px}.mars-login-panel-heading h1{letter-spacing:0;margin:4px 0 0;font-size:20px;font-weight:650;line-height:1.35}.mars-login-panel-heading>p:last-child{color:var(--muted-foreground);margin:8px 0 0;font-size:13px;line-height:1.55}.mars-login-eyebrow{color:var(--muted-foreground);margin:0}.mars-login-status{border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--foreground);align-items:center;gap:8px;margin:20px 0;padding:10px 0;font-size:12px;line-height:1.45;display:flex}.mars-login-status-dot{background:var(--warning);border-radius:50%;flex:none;width:8px;height:8px}.mars-login-status-dot.is-protected{background:var(--accent)}.mars-login-form{gap:8px;display:grid}.mars-login-form label{color:var(--foreground);font-size:12px;font-weight:600}.mars-login-input{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;height:38px;color:var(--foreground);border-radius:4px;padding:0 10px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.mars-login-input::placeholder{color:var(--muted-foreground)}.mars-login-remember{cursor:pointer;align-items:center;gap:8px;width:fit-content;min-height:44px;display:flex}.mars-login-remember input{width:18px;height:18px;accent-color:var(--foreground);cursor:pointer;margin:0}.mars-login-remember input:focus-visible,.mars-login-input:focus-visible,.mars-login-submit:focus-visible,.mars-login-brand:focus-visible{outline:2px solid var(--foreground);outline-offset:2px}.mars-login-help,.mars-login-message,.mars-login-open-mode p{color:var(--muted-foreground);margin:0;font-size:12px;line-height:1.55}.mars-login-actions{margin-top:8px;display:flex}.mars-login-submit{border:1px solid var(--foreground);background:var(--foreground);min-width:112px;height:36px;color:var(--background);cursor:pointer;border-radius:6px;padding:0 12px;font-size:12px;font-weight:600}.mars-login-submit:hover:not(:disabled){opacity:.88}.mars-login-submit:disabled{cursor:wait;opacity:.6}.mars-login-message{min-height:19px;color:var(--destructive)}.mars-login-open-mode{gap:16px;display:grid}.mars-login-footer{align-items:end;min-height:28px}@media (width<=560px){.mars-login-shell{padding:14px}.mars-login-environment{display:none}.mars-login-panel{margin:28px auto;padding:20px}.mars-login-submit{width:100%}}.mars-settings-trigger{appearance:none;width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0}.mars-settings-dialog{border:1px solid var(--border);background:var(--background);width:min(980px,100vw - 32px);max-width:none;height:min(820px,100vh - 32px);max-height:none;color:var(--foreground);border-radius:8px;margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 72px #10151f3d}.mars-settings-dialog:not([open]){display:none}.mars-settings-dialog[open]{flex-direction:column;display:flex}.mars-settings-dialog::backdrop{background:#10151f8a}.mars-settings-dialog-header{border-bottom:1px solid var(--border);background:var(--card);flex:none;justify-content:space-between;align-items:center;min-height:64px;padding:10px 14px 10px 20px;display:flex}.mars-settings-dialog-header h1{letter-spacing:0;margin:0;font-size:15px;font-weight:650;line-height:1.4}.mars-settings-dialog-header p{color:var(--muted-foreground);margin:2px 0 0;font-size:11px;line-height:1.4}.mars-settings-dialog-close{width:32px;height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:none;place-items:center;padding:0;font:400 22px/1 Arial,sans-serif;display:grid}.mars-settings-dialog-close:hover{border-color:var(--border);background:var(--surface);color:var(--foreground)}.mars-settings-dialog-close:focus-visible,.mars-settings-trigger:focus-visible{outline-offset:2px;outline:2px solid #166534}.mars-settings-dialog-body{overscroll-behavior:contain;background:var(--surface);flex:auto;min-height:0;padding:16px;overflow-y:auto}.mars-settings-loading{color:var(--muted-foreground);margin:0;font-size:12px}.mars-settings-dialog .mars-security-settings,.mars-settings-dialog .mars-security-audit{width:100%}.mars-settings-dialog .mars-security-audit{margin-top:12px}.mars-security-settings,.mars-security-audit{border:1px solid var(--border);background:var(--card);border-radius:8px;grid-column:1/-1;width:min(100%,960px);overflow:hidden}.mars-security-section{border-bottom:1px solid var(--border);padding:20px}.mars-security-section:last-child{border-bottom:0}.mars-security-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.mars-security-heading h2{color:var(--foreground);letter-spacing:0;margin:0;font-size:15px;font-weight:600;line-height:1.4}.mars-security-heading p{max-width:68ch;color:var(--muted-foreground);margin:4px 0 0;font-size:12px;line-height:1.55}.mars-status-pill{border-radius:999px;flex:none;align-items:center;min-height:24px;padding:3px 9px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:600;display:inline-flex}.mars-status-pill.is-secure{color:#126b32;background:#dcfce7}.mars-status-pill.is-warning{color:#8a4b0f;background:#fef3c7}.mars-token-status-grid{background:var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:16px 0 0;padding:1px;display:grid}.mars-token-status-grid>div{background:var(--background);min-width:0;padding:11px 12px}.mars-token-status-grid dt{color:var(--muted-foreground);font-size:11px;line-height:1.4}.mars-token-status-grid dd{color:var(--foreground);overflow-wrap:anywhere;margin:4px 0 0;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.45}.mars-security-warning{color:#7a410c;background:#fff7df;border-radius:6px;margin:14px 0 0;padding:10px 12px;font-size:12px;line-height:1.55}.mars-token-form,.mars-token-replace-form{margin-top:14px}.mars-token-form>label{color:var(--foreground);margin-bottom:6px;font-size:12px;font-weight:500;display:block}.mars-token-input-row,.mars-token-replace-form,.mars-security-actions{align-items:center;gap:8px;min-width:0;display:flex}.mars-security-input{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;height:36px;color:var(--foreground);border-radius:4px;outline:0;padding:0 12px;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.mars-security-input::placeholder{color:#6f6b63}.mars-security-input:focus-visible,.mars-button-primary:focus-visible,.mars-button-secondary:focus-visible,.mars-security-check input:focus-visible{outline-offset:2px;outline:2px solid #166534}.mars-button-primary,.mars-button-secondary{cursor:pointer;border-radius:6px;flex:none;min-height:34px;padding:0 12px;font-size:12px;font-weight:600;transition:background-color .14s,color .14s,opacity .14s}.mars-button-primary{border:1px solid var(--foreground);background:var(--foreground);color:var(--background)}.mars-button-secondary{border:1px solid var(--border);background:var(--background);color:var(--foreground)}.mars-button-primary:hover:not(:disabled){opacity:.88}.mars-button-secondary:hover:not(:disabled){background:var(--surface)}.mars-button-primary:disabled,.mars-button-secondary:disabled,.mars-security-input:disabled{cursor:not-allowed;opacity:.48}.mars-security-check{color:var(--foreground);align-items:flex-start;gap:8px;margin-top:14px;font-size:12px;line-height:1.5;display:inline-flex}.mars-security-check input{width:16px;height:16px;accent-color:var(--foreground);margin:1px 0 0}.mars-security-actions{margin-top:14px}.mars-security-actions>span{color:var(--muted-foreground);font-size:11px}.mars-token-replace-form{flex:420px;margin-top:0}.mars-security-message{min-height:20px;margin-top:12px;font-size:12px;line-height:1.5}.mars-security-message:empty{margin-top:0}.mars-security-message.is-success{color:#126b32}.mars-security-message.is-danger{color:#b91c1c}.mars-token-result{border-top:1px solid var(--border);gap:10px;margin-top:12px;padding-top:14px;display:grid}.mars-token-result>div:first-child{align-items:baseline;gap:8px;display:flex}.mars-token-result strong{font-size:12px}.mars-token-result span{color:var(--muted-foreground);font-size:11px}.mars-security-audit{margin-top:4px;padding:20px}.mars-audit-list{border-top:1px solid var(--border);margin-top:14px}.mars-audit-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(120px,.7fr) auto minmax(220px,1.7fr) auto;align-items:center;gap:10px;min-height:42px;display:grid}.mars-security-empty{color:var(--muted-foreground);padding:18px 0;font-size:12px}@media (width<=900px){.mars-token-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.mars-settings-dialog{width:calc(100vw - 16px);height:calc(100vh - 16px)}.mars-settings-dialog-header{min-height:56px;padding-left:14px}.mars-settings-dialog-body{padding:8px}body.mars-app-mounted .mars-page-header{align-items:flex-start;min-height:64px;padding:8px 16px;height:auto!important}body.mars-app-mounted .mars-page-header .truncate{text-overflow:clip;white-space:normal;overflow:visible}body.mars-app-mounted .mars-page-header>.ml-auto{align-self:center}body.mars-app-mounted [data-page-body]{padding:12px}.mars-security-section,.mars-security-audit{padding:16px}.mars-security-heading,.mars-token-input-row,.mars-security-actions,.mars-token-replace-form{flex-direction:column;align-items:stretch}.mars-status-pill{align-self:flex-start}.mars-security-actions>span{display:none}.mars-token-replace-form{flex-basis:auto;width:100%}.mars-button-primary,.mars-button-secondary{width:100%}.mars-audit-row{grid-template-columns:minmax(0,1fr) auto;padding:10px 0}.mars-audit-row>:nth-child(3){grid-column:1/-1}}@media (width<=480px){.mars-token-status-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.mars-button-primary,.mars-button-secondary{transition:none}}@media (width<=1500px){body.mars-app-mounted .mars-home-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}body.mars-app-mounted .mars-home-peers.mesh{display:none}}@media (width<=980px){body.mars-app-mounted .mars-home-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}body.mars-app-mounted .mars-home-sessions.sessions{display:none}}@media (width<=760px){body.mars-app-mounted .mars-home-layout{grid-template-rows:max-content minmax(0,1fr);grid-template-columns:minmax(0,1fr)}body.mars-app-mounted .mars-home-sessions.sessions{max-height:190px}body.mars-app-mounted .mars-home-chat.conversation{min-height:0}}.mars-casdoor-login:not([hidden]){border:1px solid;border-radius:8px;justify-content:center;align-items:center;min-height:44px;text-decoration:none;display:flex}body.hub-app{--background:#fff;--foreground:#202123;--card:#f7f7f8;--surface:#f0f0f1;--surface-2:#e8e8ea;--border:#e5e5e7;--muted-foreground:#64666b;background:var(--background);color:var(--foreground);height:100dvh;min-height:0;font-size:14px}.hub-app [hidden]{display:none!important}.hub-app button,.hub-app a{-webkit-tap-highlight-color:transparent}.hub-app button{cursor:pointer}.hub-app button:disabled{cursor:not-allowed;opacity:.45}.hub-app :focus-visible{outline-offset:3px;outline:2px solid #4c6caf}.hub-shell{width:100%;height:100dvh;display:flex;overflow:hidden}.hub-sidebar{background:var(--card);border-right:1px solid var(--border);flex-direction:column;flex:0 0 232px;gap:4px;width:232px;padding:16px 12px 10px;display:flex;overflow:auto}.hub-brand{letter-spacing:-.02em;align-items:center;gap:9px;height:36px;margin-bottom:19px;padding:0 9px;display:flex}.hub-brand strong{font-size:calc(16px * var(--hub-text-scale,1));font-weight:600}.hub-brand>img{object-fit:contain;flex-shrink:0}[data-hub-theme=dark] .hub-brand>img{background:#fff;border-radius:4px}.hub-mark{place-items:center;display:grid}.hub-sidebar .hub-new-window{min-height:40px;font-size:calc(13px * var(--hub-text-scale,1));border:1px solid var(--border);background:var(--background);text-align:left;border-radius:8px;align-items:center;gap:9px;margin-bottom:13px;padding:8px 10px;display:flex}.hub-sidebar .hub-new-window:hover{background:var(--surface)}.hub-sidebar nav{flex-direction:column;gap:3px;display:flex}.hub-sidebar nav a,.hub-sidebar-nodes a{min-height:36px;color:var(--foreground);font-size:calc(13px * var(--hub-text-scale,1));border-radius:7px;align-items:center;gap:10px;padding:8px 10px;display:flex}.hub-sidebar nav a:hover,.hub-sidebar-nodes a:hover{background:var(--surface-2);color:var(--foreground)}.hub-sidebar nav a[aria-current=page]{background:var(--surface-2);color:var(--foreground);font-weight:550}.hub-nav-label{font-size:calc(11px * var(--hub-text-scale,1));color:var(--muted-foreground);padding:22px 10px 8px}.hub-sidebar-nodes{flex:1;min-height:110px}.hub-sidebar-nodes a>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hub-sidebar-nodes small{font-size:calc(10px * var(--hub-text-scale,1));color:var(--muted-foreground);margin-left:auto}.hub-sidebar-nodes p{font-size:calc(12px * var(--hub-text-scale,1));padding:4px 10px}.hub-sidebar-node{border-radius:7px;align-items:center;min-width:0;display:flex}.hub-sidebar-node>a{flex:1;gap:7px;min-width:0;padding-right:3px}.hub-sidebar-node>.hub-icon-button{width:28px;height:32px}.hub-sidebar-node:has([aria-expanded=true]){background:var(--surface)}.hub-node-popover{border:1px solid var(--border);background:var(--background);width:min(288px,100vw - 16px);max-height:calc(100dvh - 16px);color:var(--foreground);border-radius:10px;margin:0;padding:16px;position:fixed;inset:auto;overflow:auto;box-shadow:0 6px 24px #0002}.hub-node-popover>header{justify-content:space-between;align-items:center;gap:12px;margin:-5px -5px 8px 0;display:flex}.hub-node-popover h2{font-size:calc(12px * var(--hub-text-scale,1));color:var(--muted-foreground);margin:0;font-weight:500}.hub-node-popover>strong{font-size:calc(14px * var(--hub-text-scale,1));overflow-wrap:anywhere;font-weight:550;display:block}.hub-node-popover dl{font-size:calc(12px * var(--hub-text-scale,1));grid-template-columns:auto minmax(0,1fr);gap:12px 16px;margin:18px 0;line-height:1.5;display:grid}.hub-node-popover dt{color:var(--muted-foreground)}.hub-node-popover dd{text-align:right;overflow-wrap:anywhere;margin:0}.hub-node-popover>.hub-button{width:100%}@media (width<=760px),(pointer:coarse){.hub-sidebar-node>.hub-icon-button{width:44px;height:44px}.hub-node-popover .hub-icon-button,.hub-node-popover .hub-button{min-width:44px;min-height:44px}}.hub-sidebar-footer{border-top:1px solid var(--border);font-size:calc(12px * var(--hub-text-scale,1));align-items:center;gap:9px;padding:12px 4px 0;display:flex}.hub-sidebar-footer small{font-size:calc(10px * var(--hub-text-scale,1));color:var(--muted-foreground);margin-top:2px;display:block}.hub-sidebar-footer>button{margin-left:auto}.hub-avatar{width:28px;height:28px;color:var(--background);background:var(--foreground);font-size:calc(11px * var(--hub-text-scale,1));border-radius:50%;place-items:center;display:grid}.hub-content,.hub-views{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}body.hub-app .hub-main{flex:1;width:100%;min-width:0;height:100%;min-height:0;overflow:hidden}body.hub-app .hub-main .mars-dynamic-page{height:100%;min-height:0}body.hub-app .mars-page-header{background:var(--background);flex-wrap:wrap;height:auto;min-height:68px;padding:14px 28px}body.hub-app .mars-page-header .text-sm{font-size:calc(16px * var(--hub-text-scale,1));font-weight:550}body.hub-app .mars-page-header .text-\[11px\]{color:var(--muted-foreground);margin-top:4px;font-family:inherit}body.hub-app [data-page-body]{scrollbar-gutter:stable}.hub-icon-button{width:34px;height:34px;color:var(--muted-foreground);background:0 0;border:0;border-radius:6px;flex-shrink:0;place-items:center;padding:0;display:inline-grid}.hub-icon-button:hover{background:var(--surface-2);color:var(--foreground)}.hub-button{border:1px solid var(--border);background:var(--background);min-height:34px;color:var(--foreground);font-size:calc(12px * var(--hub-text-scale,1));white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:6px 11px;display:inline-flex}.hub-button:hover{background:var(--surface)}.hub-button[aria-pressed=true]{background:var(--surface);border-color:var(--border)}.hub-button.hub-primary{background:var(--foreground);border-color:var(--foreground);color:var(--background)}.hub-button.hub-primary:hover{background:var(--foreground)}.hub-muted{color:var(--muted-foreground);font-size:calc(12px * var(--hub-text-scale,1))}.hub-dot{background:#8d8f94;border-radius:50%;flex:0 0 6px;width:6px;height:6px;display:inline-block}.hub-dot.is-online{background:#26834e}.hub-mobile-bar,.hub-mobile-close,.hub-backdrop{display:none}.hub-skip{z-index:60;background:var(--background);border:1px solid;border-radius:6px;padding:10px 18px;position:fixed;top:-80px;left:16px}.hub-skip:focus{top:10px}.hub-workspace{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.hub-inline-error{color:#8a392a;font-size:calc(12px * var(--hub-text-scale,1));background:#fff4ef;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.hub-node-page{flex-direction:column;min-width:0;height:100%;display:flex}.hub-page-heading{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:19px 24px;display:flex}.hub-page-heading h1{font-size:calc(16px * var(--hub-text-scale,1));overflow-wrap:anywhere;margin:0;font-weight:550}.hub-page-heading p{font-size:calc(12px * var(--hub-text-scale,1));color:var(--muted-foreground);margin:6px 0 0}.hub-node-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));align-content:start;gap:18px;padding:24px;display:grid;overflow:auto}.hub-node-card{border:1px solid var(--border);border-radius:10px;padding:20px}.hub-node-card-title{align-items:center;gap:9px;display:flex}.hub-node-card-title strong{font-size:calc(13px * var(--hub-text-scale,1));overflow-wrap:anywhere;min-width:0;font-weight:550}.hub-node-card-title>span{font-size:calc(11px * var(--hub-text-scale,1));color:var(--muted-foreground);margin-left:auto}.hub-node-card>p{font-size:calc(12px * var(--hub-text-scale,1));color:var(--muted-foreground);margin:12px 0 24px}.hub-node-card>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.hub-node-detail{flex:1;min-width:0;min-height:0;display:flex;overflow:auto}.hub-window-tabs{background:var(--card);border-bottom:1px solid var(--border);scrollbar-width:thin;flex-shrink:0;align-items:stretch;gap:3px;padding:7px 12px 0;display:flex;overflow-x:auto}.hub-window-stepper{align-items:center;gap:8px;display:flex}.hub-compare-picker{min-width:0;font-size:calc(12px * var(--hub-text-scale,1));color:var(--muted-foreground);align-items:center;gap:8px;display:flex}.hub-compare-picker select{border:1px solid var(--border);width:min(240px,30vw);min-height:34px;color:var(--foreground);background:var(--background);border-radius:6px;padding:4px 8px}.hub-fullscreen-switcher{display:none}.hub-immersive>.hub-fullscreen-switcher{right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));z-index:2;border:1px solid var(--border);background:var(--background);border-radius:8px;align-items:center;gap:6px;padding:4px;display:flex;position:absolute;box-shadow:0 2px 10px #0002}.hub-tab{color:var(--muted-foreground);border:1px solid #0000;border-bottom:0;border-radius:7px 7px 0 0;flex-shrink:0;align-items:center;padding-right:4px;display:flex}.hub-tab.is-active{border-color:var(--border);background:var(--background);color:var(--foreground)}.hub-tab [role=tab]{font-size:calc(12px * var(--hub-text-scale,1));color:inherit;background:0 0;border:0;align-items:center;gap:8px;max-width:235px;padding:10px 8px 10px 12px;display:flex}.hub-tab [role=tab]>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hub-tab small{font-size:calc(10px * var(--hub-text-scale,1));color:var(--muted-foreground);margin-left:5px}.hub-tab-close{color:var(--muted-foreground);background:0 0;border:0;border-radius:4px;place-items:center;padding:4px;display:grid}.hub-tab-close svg{width:13px;height:13px}.hub-tab-close:hover{background:var(--surface-2);color:var(--foreground)}.hub-workspace-body{flex:1;min-width:0;min-height:0;display:flex;position:relative}.hub-stage{flex:1;min-width:0;min-height:0;display:flex}.hub-workspace-empty{text-align:center;flex-direction:column;flex:1;align-self:center;align-items:center;padding:28px 20px 60px;display:flex}.hub-empty-mark{background:var(--surface);width:48px;height:48px;color:var(--foreground);border-radius:14px;place-items:center;margin-bottom:22px;display:grid}.hub-empty-mark svg{width:25px;height:25px}.hub-workspace-empty h1{letter-spacing:-.035em;margin:0;font-size:clamp(22px,2.2vw,30px);font-weight:550}.hub-workspace-empty p{font-size:calc(13px * var(--hub-text-scale,1));color:var(--muted-foreground);margin:12px 0 24px;line-height:1.8}.hub-workspace-empty>.hub-muted{font-size:calc(11px * var(--hub-text-scale,1));margin-top:20px}.hub-node-preview{border-left:1px solid var(--border);background:var(--card);flex:0 0 258px;width:258px;padding:20px 16px;overflow:auto}.hub-preview-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.hub-preview-heading strong{font-size:calc(12px * var(--hub-text-scale,1));font-weight:550}.hub-preview-heading a{font-size:calc(11px * var(--hub-text-scale,1));color:var(--muted-foreground)}.hub-preview-node{border-top:1px solid var(--border);padding:15px 0}.hub-preview-node>div:first-child{align-items:center;gap:8px;display:flex}.hub-preview-node strong{overflow-wrap:anywhere;min-width:0;font-size:calc(12px * var(--hub-text-scale,1));flex:1;font-weight:550}.hub-preview-node p{font-size:calc(11px * var(--hub-text-scale,1));color:var(--muted-foreground);justify-content:space-between;gap:8px;margin:8px 0 16px;display:flex}.hub-node-actions{font-size:calc(11px * var(--hub-text-scale,1));flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.hub-node-actions button{color:var(--foreground);font-size:calc(11px * var(--hub-text-scale,1));background:0 0;border:0;padding:0}.hub-node-actions small{font-size:calc(10px * var(--hub-text-scale,1));color:var(--muted-foreground)}.hub-preview-empty{font-size:calc(12px * var(--hub-text-scale,1));color:var(--muted-foreground);line-height:1.8}.hub-window-pane{flex-direction:column;flex:1 1 0;min-width:0;min-height:0;display:flex;position:relative}.hub-stage.is-split .hub-window-pane.is-secondary{border-left:1px solid var(--border)}.hub-pane-content{flex:1;min-width:0;min-height:0;display:flex}.hub-pane-content iframe{background:var(--background);border:0;flex:1;width:100%;min-width:0;height:100%}.hub-window-message{text-align:center;width:100%;font-size:calc(13px * var(--hub-text-scale,1));color:var(--muted-foreground);align-self:center;padding:28px}.hub-window-message strong{color:var(--foreground);display:block}.hub-window-message p{overflow-wrap:anywhere;line-height:1.7}.hub-window-message a{font-size:calc(12px * var(--hub-text-scale,1));margin-top:20px;display:block}.hub-monitor{background:var(--card);flex:1;min-height:0;padding:22px;overflow:auto}.hub-monitor>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.hub-monitor>header strong{font-size:calc(13px * var(--hub-text-scale,1));font-weight:550}.hub-monitor>header span{color:var(--muted-foreground);font-size:calc(11px * var(--hub-text-scale,1))}.hub-monitor-image{background:var(--background);border:1px solid var(--border);border-radius:8px;place-items:center;min-height:260px;display:grid;overflow:hidden}.hub-monitor-image img{object-fit:contain;width:100%;height:auto;max-height:65dvh}.hub-monitor-empty{text-align:center;padding:40px 24px}.hub-monitor-empty strong{font-size:calc(14px * var(--hub-text-scale,1));font-weight:550}.hub-monitor-empty p{max-width:44ch;color:var(--muted-foreground);font-size:calc(12px * var(--hub-text-scale,1));overflow-wrap:anywhere;margin:12px auto 0;line-height:1.8}.hub-monitor-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.hub-monitor-metrics dt{font-size:calc(11px * var(--hub-text-scale,1));color:var(--muted-foreground)}.hub-monitor-metrics dd{font-size:calc(12px * var(--hub-text-scale,1));overflow-wrap:anywhere;margin:7px 0 0}.hub-monitor-controls{border-top:1px solid var(--border);font-size:calc(12px * var(--hub-text-scale,1));padding-top:16px}.hub-monitor-controls summary{cursor:pointer;margin-bottom:18px}.hub-monitor-controls summary span{color:var(--muted-foreground);margin-left:12px}.hub-monitor-controls fieldset{border:0;align-items:flex-end;gap:8px;min-width:0;margin:14px 0;padding:0;display:flex}.hub-monitor-controls label{min-width:0;color:var(--muted-foreground);flex:1}.hub-monitor-controls input{border:1px solid var(--border);border-radius:6px;width:100%;min-height:36px;margin-top:6px;padding:6px 8px;display:block}.hub-monitor-controls fieldset:disabled{opacity:.6}.hub-tasks-empty{text-align:center;padding:80px 24px}.hub-tasks-empty h2{font-size:calc(18px * var(--hub-text-scale,1));margin:0 0 10px;font-weight:550}.hub-tasks-empty p{font-size:calc(13px * var(--hub-text-scale,1));color:var(--muted-foreground);line-height:1.8}.hub-picker{border:1px solid var(--border);background:var(--background);width:min(480px,100vw - 32px);max-height:min(640px,100dvh - 48px);color:var(--foreground);border-radius:12px;padding:0;box-shadow:0 16px 70px #0002}.hub-picker::backdrop{background:#181a2038}.hub-picker header{justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 22px 14px;display:flex}.hub-picker h2{font-size:calc(17px * var(--hub-text-scale,1));margin:0;font-weight:550}.hub-picker header p{font-size:calc(12px * var(--hub-text-scale,1));color:var(--muted-foreground);margin:7px 0 0}.hub-picker [data-picker-list]{max-height:50dvh;padding:8px 14px 20px;overflow-y:auto}.hub-pick-node{background:var(--background);text-align:left;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;padding:14px 10px;display:flex}.hub-pick-node:hover{background:var(--surface)}.hub-pick-node>span{overflow-wrap:anywhere;flex:1;min-width:0}.hub-pick-node strong{font-size:calc(13px * var(--hub-text-scale,1));font-weight:550;display:block}.hub-pick-node small{font-size:calc(11px * var(--hub-text-scale,1));color:var(--muted-foreground);margin-top:5px;display:block}.hub-picker footer{border-top:1px solid var(--surface-2);font-size:calc(11px * var(--hub-text-scale,1));color:var(--muted-foreground);padding:14px 22px}.hub-picker-empty{text-align:center;font-size:calc(13px * var(--hub-text-scale,1));padding:22px 10px}.hub-picker-empty p{color:var(--muted-foreground);font-size:calc(12px * var(--hub-text-scale,1));overflow-wrap:anywhere;margin:12px 0 22px;line-height:1.8}@media (width<=1280px){.hub-sidebar{flex-basis:212px;width:212px}.hub-node-preview{flex-basis:220px;width:220px}.hub-workspace:has(.is-split) .hub-node-preview{z-index:10;position:absolute;top:0;bottom:0;right:0;box-shadow:-8px 0 30px #0001}}@media (width<=1000px){.hub-split{display:inline-flex}.hub-node-preview{z-index:10;position:absolute;top:0;bottom:0;right:0;box-shadow:-8px 0 30px #0001}body.hub-app .mars-peer-layout{flex-direction:column;display:flex;overflow-y:auto}body.hub-app .mars-peer-surface{border-right:0;flex:1 0 440px;width:100%}body.hub-app .mars-peer-inspector{border-top:1px solid var(--border);flex:none;width:100%;overflow:visible;display:block!important}body.hub-app .mars-peer-surface:has(.hub-monitor){flex:none}.hub-monitor{min-height:400px;overflow:visible}}@media (width<=760px),(width<=1000px) and (pointer:coarse){.hub-sidebar{z-index:40;visibility:hidden;width:min(290px,85vw);padding-top:max(16px, env(safe-area-inset-top));padding-bottom:max(12px, env(safe-area-inset-bottom));transition:transform .16s ease-out;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%);display:flex!important}.hub-drawer-open .hub-sidebar{visibility:visible;transform:translate(0)}.hub-mobile-close{margin-left:auto;display:inline-grid}.hub-backdrop{z-index:30;background:#1114;border:0;display:block;position:fixed;inset:0}.hub-mobile-bar{min-height:52px;padding:env(safe-area-inset-top) 8px 0;border-bottom:1px solid var(--border);background:var(--card);flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;display:flex}.hub-mobile-bar strong{font-size:calc(13px * var(--hub-text-scale,1));font-weight:550}.hub-app .hub-icon-button,.hub-app .hub-button,.hub-sidebar a,.hub-sidebar button,.hub-tab-close{min-height:44px}.hub-app .hub-icon-button,.hub-tab-close{min-width:44px}.hub-tab [role=tab],body.hub-app [data-plan-filter],body.hub-app [data-peer-filter]{min-height:44px}.hub-tab-close svg{width:16px;height:16px}.hub-node-preview{width:min(290px,90vw)}.hub-node-actions a,.hub-node-actions button{align-items:center;min-height:44px;display:flex}.hub-workspace-empty{padding:24px 16px}.hub-workspace-empty p{font-size:calc(12px * var(--hub-text-scale,1))}.hub-views{padding-bottom:env(safe-area-inset-bottom)}body.hub-app .mars-page-header{gap:10px;padding:12px 16px}body.hub-app .mars-page-header>.ml-auto{flex-wrap:wrap;width:100%;margin-left:0}body.hub-app .mars-page-header button,body.hub-app .mars-page-header a{min-height:40px}body.hub-app .mars-page-header .truncate{white-space:normal;overflow-wrap:anywhere}body.hub-app [data-page-body]{padding:12px}body.hub-app .mars-home-layout,body.hub-app .mars-peer-layout{padding:0}body.hub-app .grid-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}body.hub-app .grid-cols-12{grid-template-columns:minmax(0,1fr)}body.hub-app input,body.hub-app textarea,body.hub-app select{font-size:calc(16px * var(--hub-text-scale,1));max-width:100%}body.hub-app .mars-settings-dialog{max-height:calc(100dvh - 16px)}body.hub-app .mars-home-sessions.sessions{max-height:125px;display:block}body.hub-app .mars-home-layout{grid-template-rows:max-content minmax(0,1fr)}body.hub-app .mars-home-chat.conversation{min-width:0}.hub-monitor,.hub-page-heading,.hub-node-grid{padding:16px}.hub-node-detail{flex-direction:column}.hub-node-detail .hub-monitor{flex:1}.hub-monitor-image{min-height:220px}.hub-monitor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-monitor-controls fieldset{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.hub-sidebar{transition:none}}.hub-client-preview{flex-direction:column;min-width:0;display:flex}.hub-client-preview>header{flex-wrap:wrap;gap:12px}.hub-client-preview>header strong{overflow-wrap:anywhere;flex:1;min-width:0}.hub-client-preview>header span{margin-right:4px}.hub-app .hub-immersive{z-index:50;background:var(--background);border:0;width:100%;height:100dvh;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.hub-immersive>header{display:none}.hub-immersive .hub-client-frame{height:100%;min-height:0}.hub-immersive-exit{left:max(12px, env(safe-area-inset-left));bottom:max(12px, env(safe-area-inset-bottom));z-index:2;opacity:.65;position:absolute;box-shadow:0 2px 10px #0002}.hub-immersive-exit:hover,.hub-immersive-exit:focus-visible{opacity:1}@media (pointer:coarse){.hub-immersive-exit{opacity:1;min-height:44px}}.hub-client-frame{flex:1;min-height:420px}.hub-client-frame iframe{background:var(--background);border:0;width:100%;height:100%}@media (width<=760px),(width<=1000px) and (pointer:coarse){.hub-client-frame{min-height:360px}}.hub-workspace-active .hub-sidebar{z-index:40;visibility:hidden;width:min(290px,85vw);position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.hub-workspace-active.hub-drawer-open .hub-sidebar{visibility:visible;transform:translate(0)}.hub-workspace-active .hub-mobile-close{margin-left:auto;display:inline-grid}.hub-workspace-active .hub-backdrop{z-index:30;background:#1114;border:0;display:block;position:fixed;inset:0}.hub-workspace-active .hub-mobile-bar{display:none}.hub-window-bar{min-height:44px;padding:env(safe-area-inset-top) 6px 0;background:var(--card);border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:3px;display:flex}.hub-window-bar .hub-window-tabs{border:0;flex:1;gap:3px;min-width:0;padding:3px 0}.hub-window-bar>[data-new]{margin-left:auto}.hub-window-bar .hub-window-stepper{gap:0}.hub-window-bar .hub-tab{border:1px solid #0000;border-radius:6px}.hub-window-bar .hub-tab.is-active{border-color:var(--border)}.hub-window-bar .hub-tab.is-companion{box-shadow:inset 0 -2px var(--muted-foreground)}.hub-window-bar .hub-tab [role=tab]{max-width:220px;padding:7px 6px 7px 10px}.hub-window-bar .hub-tab [role=tab]>svg{display:none}.hub-window-bar [aria-pressed=true]{background:var(--surface-2);color:var(--foreground)}.hub-window-menu{inset:calc(48px + env(safe-area-inset-top)) 8px auto auto;border:1px solid var(--border);background:var(--background);width:min(280px,100vw - 16px);max-height:calc(100dvh - 64px);color:var(--foreground);border-radius:9px;margin:0;padding:6px;position:fixed;overflow:auto;box-shadow:0 6px 24px #0002}.hub-window-menu>button,.hub-window-menu>a{width:100%;min-height:38px;color:inherit;font:inherit;font-size:calc(12px * var(--hub-text-scale,1));text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;padding:8px 10px;display:flex}.hub-window-menu>button:hover,.hub-window-menu>a:hover,.hub-window-menu>[aria-pressed=true]{background:var(--surface)}.hub-window-menu .hub-compare-picker{flex-direction:column;align-items:stretch;gap:6px;padding:8px 10px}.hub-window-menu .hub-compare-picker select{width:100%}.hub-fullscreen-switcher>span{text-align:center;min-width:42px;font-size:12px}.hub-node-preview{z-index:5;position:absolute;top:0;bottom:0;right:0;box-shadow:-6px 0 24px #0001}.hub-mobile-window-select,.hub-window-menu>.hub-mobile-window-close{display:none}@media (width<=760px),(width<=1000px) and (pointer:coarse){.hub-window-bar{gap:0;padding-left:2px;padding-right:2px}.hub-window-bar .hub-window-stepper{display:none}.hub-window-bar .hub-tab [role=tab]{max-width:170px}.hub-window-menu>button,.hub-window-menu>a,.hub-fullscreen-switcher .hub-button{min-height:44px}.hub-fullscreen-switcher .hub-button{min-width:44px}.hub-window-menu .hub-compare-picker{display:none}.hub-shell{top:var(--hub-viewport-top,0px);height:var(--hub-viewport-height,100dvh);position:fixed;left:0}.hub-window-bar{padding:env(safe-area-inset-top) max(4px, env(safe-area-inset-right)) 0 max(4px, env(safe-area-inset-left))}.hub-window-bar .hub-window-tabs{display:none}.hub-mobile-window-select{background:var(--card);width:0;min-width:0;height:44px;color:var(--foreground);text-overflow:ellipsis;border:0;border-radius:6px;flex:1 1 0;margin:0 4px;padding:0 8px;display:block}.hub-mobile-window-select:disabled{opacity:1}.hub-window-menu>.hub-mobile-window-close{border-top:1px solid var(--border);border-radius:0;display:flex}.hub-window-menu{inset:auto max(8px, env(safe-area-inset-right)) calc(var(--hub-viewport-bottom,0px) + max(8px, env(safe-area-inset-bottom))) max(8px, env(safe-area-inset-left));width:auto;max-height:calc(var(--hub-viewport-height,100dvh) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:14px;padding:8px}.hub-window-menu>button,.hub-window-menu>a{min-height:48px;font-size:15px}.hub-window-menu::backdrop{background:#1114}.hub-workspace-active .hub-sidebar,.hub-sidebar{top:var(--hub-viewport-top,0px);height:var(--hub-viewport-height,100dvh);bottom:auto}.hub-picker{inset:var(--hub-viewport-top,0px) 0 var(--hub-viewport-bottom,0px);max-height:calc(var(--hub-viewport-height,100dvh) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;display:flex}.hub-picker:not([open]){display:none}.hub-picker header,.hub-picker footer{flex-shrink:0}.hub-picker [data-picker-list]{overscroll-behavior:contain;min-height:0;max-height:none}.hub-node-preview{width:100%;max-width:100%;padding:12px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left))}.hub-preview-heading{background:var(--card);margin-bottom:8px;position:sticky;top:-12px}.hub-workspace-empty{min-height:0;max-height:100%;overflow:auto}.hub-client-preview{min-height:0;padding:0;overflow:hidden}.hub-client-preview>header{border-bottom:1px solid var(--border);gap:6px;margin-bottom:0;padding:8px}.hub-client-preview>header strong{flex-basis:calc(100% - 80px)}.hub-client-frame{min-height:0}.hub-app .hub-immersive{top:var(--hub-viewport-top,0px);height:var(--hub-viewport-height,100dvh);padding:calc(48px + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);bottom:auto}.hub-immersive-exit{top:env(safe-area-inset-top);bottom:auto;left:max(4px, env(safe-area-inset-left));opacity:1;min-height:44px;box-shadow:none}.hub-immersive>.hub-fullscreen-switcher{top:env(safe-area-inset-top);bottom:auto;right:max(4px, env(safe-area-inset-right));height:44px;box-shadow:none;border:0;padding:0}.hub-pane-content,.hub-client-frame{overflow:hidden}}.hub-stage{position:relative}.hub-resize-handle{z-index:5;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute}.hub-resize-x{top:0;bottom:0;left:var(--hub-split-x,50%);cursor:col-resize;width:12px;transform:translate(-50%)}.hub-resize-y{left:0;right:0;top:var(--hub-split-y,50%);cursor:row-resize;height:12px;transform:translateY(-50%)}.hub-stage[data-layout=main-left] .hub-resize-y{left:var(--hub-split-x,50%)}.hub-resize-handle:after{content:"";background:0 0;transition:background-color .14s ease-out;position:absolute}.hub-resize-x:after{width:2px;top:0;bottom:0;left:5px}.hub-resize-y:after{height:2px;top:5px;left:0;right:0}.hub-resize-handle:hover:after,.hub-resize-handle:focus-visible:after,.is-resizing .hub-resize-handle:after{background:var(--foreground)}.hub-resize-handle:focus-visible{outline:2px solid var(--foreground);outline-offset:-2px}.hub-stage.is-resizing:after{content:"";z-index:4;position:absolute;inset:0}.hub-stage.is-resizing[data-resize-axis=x]:after{cursor:col-resize}.hub-stage.is-resizing[data-resize-axis=y]:after{cursor:row-resize}.hub-stage.is-resizing iframe{pointer-events:none}@media (prefers-reduced-motion:reduce){.hub-resize-handle:after{transition:none}}.hub-split{gap:4px;width:auto;min-width:44px;padding:0 8px;display:inline-flex}.hub-split>span{font:inherit;white-space:nowrap;font-size:12px}.hub-stage.is-split{background:var(--border);grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.hub-stage[data-layout=stacked]{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:minmax(0,1fr)}.hub-stage[data-layout=grid],.hub-stage[data-layout=main-left]{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}.hub-stage[data-layout=main-left] .is-layout-main{grid-row:span 2}.hub-stage.is-split .hub-window-pane{background:var(--background);border:0;overflow:hidden}.hub-pane-heading{z-index:1;border:1px solid var(--border);background:var(--card);opacity:0;pointer-events:none;border-radius:6px;align-items:center;max-width:calc(100% - 96px);min-height:24px;padding:3px 8px;transition:opacity .16s ease-out;display:flex;position:absolute;top:6px;left:50%;transform:translate(-50%)}.hub-pane-heading>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.hub-pane-heading .hub-icon-button{height:30px;min-height:30px}.hub-pane-placeholder{background:var(--background);place-items:center;min-width:0;min-height:0;display:grid}.hub-layout-menu>button{gap:12px;min-height:44px}.hub-layout-hint{color:var(--muted-foreground);margin:8px 10px;font-size:12px;line-height:1.6}.hub-layout-icon{border:1px solid;border-radius:3px;flex:0 0 24px;width:24px;height:20px;display:inline-block}.hub-layout-icon[data-layout-icon=split]{background:linear-gradient(90deg,#0000 47%,currentColor 47% 53%,#0000 53%)}.hub-layout-icon[data-layout-icon=stacked]{background:linear-gradient(#0000 47%,currentColor 47% 53%,#0000 53%)}.hub-layout-icon[data-layout-icon=grid]{background:linear-gradient(90deg,#0000 47%,currentColor 47% 53%,#0000 53%),linear-gradient(#0000 47%,currentColor 47% 53%,#0000 53%)}.hub-layout-icon[data-layout-icon=main-left]{background:linear-gradient(90deg,#0000 47%,currentColor 47% 53%,#0000 53%),linear-gradient(#0000 47%,currentColor 47% 53%,#0000 53%) 100%/50% 100% no-repeat}.hub-pane-health{z-index:3;background:var(--background);border-radius:6px;align-items:center;display:flex;position:absolute;top:8px;right:8px}.hub-pane-health button{min-height:28px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;padding:4px 7px;font-size:11px;display:inline-flex}.hub-pane-health button:hover{background:var(--surface)}.hub-health-dot{background:var(--muted-foreground);border-radius:50%;width:6px;height:6px}[data-tone=ok] .hub-health-dot{background:var(--hub-online)}[data-tone=warning] .hub-health-dot{background:#b78220}[data-tone=error] .hub-health-dot{background:#c65a50}@media (pointer:coarse){.hub-pane-health button{min-width:36px;min-height:36px}}.hub-controls-reveal{background:var(--background);width:100%;height:6px;min-height:0;color:var(--muted-foreground);cursor:pointer;border:0;flex:0 0 6px;justify-content:center;align-items:center;gap:8px;padding:0;display:flex;position:relative}.hub-drawer-grip{background:var(--border);border-radius:2px;width:28px;height:2px}.hub-controls-reveal:hover .hub-drawer-grip,.hub-controls-reveal:focus-visible .hub-drawer-grip{background:var(--muted-foreground)}.hub-drawer-label{font-size:11px;display:none}.hub-drawer{flex:none;grid-template-rows:0fr;transition:grid-template-rows .18s ease-out;display:grid}.hub-drawer-clip{visibility:hidden;min-height:0;overflow:hidden}.hub-workspace.is-drawer-open .hub-drawer{grid-template-rows:1fr}.hub-workspace.is-drawer-open .hub-drawer-clip{visibility:visible}.hub-drawer .hub-window-bar{background:var(--background);gap:4px;min-height:44px;padding:4px 8px}.hub-drawer-pin[aria-pressed=true]{color:var(--foreground);background:var(--surface-2)}.hub-pane-topbar{border-bottom:1px solid color-mix(in srgb, var(--border) 16%, transparent);background:linear-gradient(#ffffff1a,#ffffff05);flex:none;justify-content:space-between;align-items:center;gap:6px;min-height:22px;padding:0 8px;display:flex}.hub-pane-topbar .hub-pane-heading{opacity:1;pointer-events:auto;background:0 0;border:0;border-radius:0;min-width:0;max-width:none;min-height:0;padding:0;position:static;transform:none}.hub-pane-health{background:0 0;flex-shrink:0;margin-left:auto;position:static}.hub-window-pane{padding-right:0}.hub-pane-health button:focus-visible,.hub-controls-reveal:focus-visible{outline:2px solid var(--foreground);outline-offset:-2px}@media (pointer:coarse){.hub-controls-reveal{flex-basis:36px;height:36px}.hub-drawer-label{display:inline}.hub-pane-health button{min-width:40px;min-height:40px}}@media (prefers-reduced-motion:reduce){.hub-drawer{transition:none}}[data-hub-theme=dark] .hub-pane-topbar{background:linear-gradient(#ffffff09,#ffffff01)}.hub-pane-heading>span{font-size:11px;font-weight:500}.hub-pane-topbar .hub-pane-health button{min-height:20px;padding:0 5px;font-size:10px}.hub-pane-topbar .hub-pane-heading>span{font-size:10px;font-weight:400}.hub-pane-topbar .hub-health-dot{width:4px;height:4px}@media (pointer:coarse){.hub-pane-topbar .hub-pane-health button{min-width:32px;min-height:32px}}html[data-hub-theme] body.hub-app{--background:#fff;--foreground:#202123;--card:#f7f7f8;--surface:#f0f0f1;--surface-2:#e8e8ea;--border:#dedee1;--muted-foreground:#606269;--hub-primary:#292a2d;--hub-on-primary:#fff;--hub-primary-hover:#414348;--hub-selected:#e9e9eb;--hub-error-bg:#fff4ef;--hub-error-text:#8a392a;--hub-online:#26834e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-hub-theme=dark] body.hub-app{--background:#202123;--foreground:#ececef;--card:#18191b;--surface:#292a2e;--surface-2:#34353a;--border:#414249;--muted-foreground:#b0b2ba;--hub-primary:#ececef;--hub-on-primary:#202123;--hub-primary-hover:#d3d5db;--hub-selected:#34353a;--hub-error-bg:#402b25;--hub-error-text:#ffb69f;--hub-online:#75d69a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-hub-accent=blue] body.hub-app{--hub-primary:#255dc6;--hub-on-primary:#fff;--hub-primary-hover:#194ba5;--hub-selected:#e8effc}html[data-hub-accent=green] body.hub-app{--hub-primary:#237345;--hub-on-primary:#fff;--hub-primary-hover:#185d35;--hub-selected:#e5f2ea}html[data-hub-theme=dark][data-hub-accent=blue] body.hub-app{--hub-primary:#9bbbff;--hub-on-primary:#142542;--hub-primary-hover:#bdd2ff;--hub-selected:#293950}html[data-hub-theme=dark][data-hub-accent=green] body.hub-app{--hub-primary:#86dba7;--hub-on-primary:#153621;--hub-primary-hover:#a6ebc0;--hub-selected:#243c2e}.hub-app button,.hub-app input,.hub-app select{color:inherit}.hub-app input{background:var(--background)}.hub-app :focus-visible{outline-color:var(--hub-primary)}.hub-app .hub-sidebar nav a[aria-current=page],.hub-app .hub-button[aria-pressed=true]{background:var(--hub-selected)}.hub-app .hub-button.hub-primary,.hub-app .mars-button-primary{background:var(--hub-primary);border-color:var(--hub-primary);color:var(--hub-on-primary)}.hub-app .hub-button.hub-primary:hover{background:var(--hub-primary-hover)}.hub-app .hub-avatar{background:var(--foreground);color:var(--background)}.hub-app .hub-dot.is-online{background:var(--hub-online)}.hub-app .hub-inline-error{background:var(--hub-error-bg);color:var(--hub-error-text)}.hub-app .hub-picker{box-shadow:none}.hub-app .mars-security-input::placeholder{color:var(--muted-foreground)}.hub-app .mars-security-message.is-success{color:var(--hub-online)}html[data-hub-theme=dark] .mars-security-message.is-danger{color:#ffb3b3}.hub-app .hub-settings{width:min(960px,100vw - 48px);height:min(720px,100dvh - 48px);max-height:calc(100dvh - 48px);box-shadow:none;border-radius:12px}.hub-settings-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:65px;padding:14px 22px;display:flex}.hub-settings-header h1{font-size:calc(17px * var(--hub-text-scale));margin:0;font-weight:600}.hub-settings-layout{flex:1;min-height:0;display:flex}.hub-settings-nav{background:var(--card);border-right:1px solid var(--border);flex-direction:column;flex:0 0 192px;gap:5px;padding:20px 12px;display:flex}.hub-settings-nav button{text-align:left;min-height:40px;font-size:calc(13px * var(--hub-text-scale));color:var(--muted-foreground);background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;padding:10px 12px;display:flex}.hub-settings-nav button:hover{background:var(--surface);color:var(--foreground)}.hub-settings-nav button[aria-current]{background:var(--hub-selected);color:var(--foreground);font-weight:600}.hub-settings-nav svg{flex:0 0 18px}.hub-settings-brand{color:var(--muted-foreground);font-size:calc(11px * var(--hub-text-scale));margin-top:auto;padding:16px 12px 0}.hub-settings-content{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-width:0;padding:30px 36px;overflow:auto}.hub-settings-heading{margin-bottom:28px}.hub-settings-heading h2{font-size:calc(20px * var(--hub-text-scale));margin:0 0 9px;font-weight:600}.hub-settings-heading p,.hub-setting-row p,.hub-settings-note,.hub-about-copy{color:var(--muted-foreground);font-size:calc(12px * var(--hub-text-scale));text-wrap:pretty;margin:0;line-height:1.7}.hub-settings h3{font-size:calc(13px * var(--hub-text-scale));margin:0;font-weight:550}.hub-setting-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:24px;padding:22px 0;display:flex}.hub-setting-row>div{min-width:0}.hub-setting-row label{font-size:calc(14px * var(--hub-text-scale));margin-bottom:6px;font-weight:500;display:block}.hub-setting-row p{max-width:42ch}.hub-setting-row select{border:1px solid var(--border);background:var(--background);width:154px;max-width:100%;min-height:38px;font-size:calc(12px * var(--hub-text-scale));border-radius:6px;flex:0 0 154px;padding:8px 10px}.hub-theme-options{border-bottom:1px solid var(--border);gap:14px;padding:16px 0 26px;display:flex}.hub-theme-option{min-width:0;font-size:calc(12px * var(--hub-text-scale));background:0 0;border:0;flex:1;padding:0}.hub-theme-option>span:last-child{padding-top:12px;display:block}.hub-theme-option[aria-pressed=true]>span:last-child{font-weight:600}.hub-theme-sample{border:1px solid var(--border);background:#fff;border-radius:7px;gap:8px;height:94px;padding:8px;display:flex;overflow:hidden}.hub-theme-option[aria-pressed=true] .hub-theme-sample{outline:2px solid var(--hub-primary);outline-offset:3px}.hub-theme-sample i{background:#ededee;border-radius:3px;width:25%}.hub-theme-sample b{flex-direction:column;flex:1;gap:7px;padding:9px 2px;display:flex}.hub-theme-sample em{background:#dedee1;border-radius:2px;width:90%;height:6px;display:block}.hub-theme-sample em:nth-child(2){width:65%}.hub-theme-sample em:last-child{background:#f0f0f1;width:100%;height:15px;margin-top:auto}.sample-dark{background:#202123}.sample-dark i{background:#34353a}.sample-dark em{background:#64666b}.sample-dark em:last-child{background:#34353a}.sample-system{background:linear-gradient(90deg,#fff 50%,#202123 50%)}.sample-system em,.sample-system em:last-child{background:#91939a}.hub-settings-note{padding-top:20px}.hub-settings-footer{justify-content:space-between;align-items:center;gap:16px;margin-top:34px;display:flex}.hub-settings-footer>span{font-size:calc(11px * var(--hub-text-scale));color:var(--muted-foreground)}.hub-about-title{align-items:center;gap:12px;margin-bottom:12px;display:flex}.hub-about-title svg{width:28px;height:28px}.hub-about-copy{margin-bottom:14px}.hub-about-copy+.hub-setting-row{margin-bottom:26px}.hub-shortcuts{margin:10px 0}.hub-shortcuts>div{font-size:calc(12px * var(--hub-text-scale));justify-content:space-between;gap:16px;padding:12px 0;display:flex}.hub-shortcuts dt{color:var(--muted-foreground)}.hub-shortcuts dd{white-space:nowrap;margin:0}.hub-shortcuts kbd{background:var(--surface);border:1px solid var(--border);border-radius:4px;padding:3px 6px;font-size:11px}.hub-settings .mars-security-settings,.hub-settings .mars-security-audit{background:0 0;border:0;border-radius:0;padding:0}.hub-settings .mars-security-section{padding:20px 0}.hub-settings .mars-security-section:first-child{padding-top:0}.hub-settings .mars-security-audit{margin-top:24px}.hub-settings .mars-security-actions{flex-wrap:wrap}.hub-settings .mars-audit-row{grid-template-columns:minmax(0,1fr) auto;padding:10px 0}.hub-settings .mars-audit-row>:nth-child(3){white-space:normal;overflow-wrap:anywhere}.hub-settings .mars-token-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-settings .mars-token-replace-form{flex-basis:100%}.hub-settings .mars-token-input-row{flex-wrap:wrap}.hub-settings .mars-token-input-row input{flex:160px}.hub-settings .mars-security-heading h2{font-size:calc(15px * var(--hub-text-scale))}.hub-settings .mars-security-heading p,.hub-settings .mars-security-input,.hub-settings .mars-security-check,.hub-settings .mars-button-primary,.hub-settings .mars-button-secondary,.hub-settings .mars-security-message{font-size:calc(12px * var(--hub-text-scale))}.hub-settings .mars-token-status-grid dt,.hub-settings .mars-token-status-grid dd{font-size:calc(11px * var(--hub-text-scale))}@media (width<=760px),(width<=1000px) and (pointer:coarse){.hub-app .hub-settings{inset:var(--hub-viewport-top,0px) 0 var(--hub-viewport-bottom,0px);width:calc(100vw - 16px);height:calc(var(--hub-viewport-height,100dvh) - 16px);max-height:calc(var(--hub-viewport-height,100dvh) - 16px);border-radius:10px}.hub-settings-header{min-height:58px;padding:7px 14px}.hub-settings-layout{flex-direction:column}.hub-settings-nav{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;flex:none;gap:4px;padding:8px;overflow-x:auto}.hub-settings-nav button{flex-shrink:0;gap:6px;min-height:44px;padding:10px}.hub-settings-brand{display:none}.hub-settings-content{padding:24px 18px max(24px, env(safe-area-inset-bottom))}.hub-settings-heading{margin-bottom:20px}.hub-setting-row{flex-wrap:wrap;gap:12px;padding:20px 0}.hub-setting-row>div{flex:100%}.hub-setting-row select{flex:100%;width:100%;min-height:44px}.hub-theme-options{gap:12px}.hub-theme-sample{gap:5px;height:78px;padding:6px}.hub-settings-footer{flex-wrap:wrap;align-items:flex-start}.hub-settings .mars-security-heading{flex-wrap:wrap}.hub-settings .mars-button-primary,.hub-settings .mars-button-secondary{min-height:44px}}.hub-client-onboarding{border-bottom:1px solid var(--border);margin-bottom:24px;padding-bottom:24px}.hub-client-downloads{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:20px;margin:20px 0;display:grid}.hub-client-downloads h3{margin-bottom:10px}.hub-client-downloads .hub-button{white-space:normal;text-align:left;justify-content:flex-start;width:100%;margin-bottom:8px}.hub-client-downloads details{color:var(--muted-foreground);font-size:11px}.hub-client-downloads summary{cursor:pointer;min-height:30px}.hub-client-downloads code{overflow-wrap:anywhere;margin:6px 0;display:block}.hub-client-setup-form{flex-direction:column;gap:12px;margin-top:24px;display:flex}.hub-client-setup-form label{font-size:13px}.hub-client-setup-form input{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;min-height:44px;color:var(--foreground);border-radius:6px;padding:10px}.hub-client-setup-actions{flex-wrap:wrap;gap:8px;display:flex}.hub-client-setup-form p{margin:0;line-height:1.6}.hub-client-help{color:var(--muted-foreground);margin:12px 0;font-size:12px}.hub-client-help summary{cursor:pointer;min-height:32px;padding:6px 0;display:list-item}.hub-client-help .hub-settings-note{padding-top:8px}@media (width<=600px){.hub-client-help summary,.hub-client-downloads summary{min-height:44px;padding:12px 0}}.hub-setup-modes{border:0;gap:16px;margin:16px 0 8px;padding:0;display:flex}.hub-setup-modes legend{margin-bottom:8px;font-weight:600}.hub-setup-modes label{align-items:center;gap:8px;min-height:44px;display:flex}.hub-setup-modes input{width:auto}.hub-device-auth{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;display:flex}.hub-device-auth code{overflow-wrap:anywhere;flex:1}.mars-security-audit{position:relative}.mars-security-audit [data-audit-filter]{border:1px solid var(--border);background:var(--background);border-radius:5px;margin:0 0 12px;padding:4px 8px;font-size:12px}.mars-audit-row[hidden]{display:none}.hub-settings-header{flex-shrink:0}.hub-connection-gate{max-width:568px;height:100dvh;color:var(--foreground);margin:0 auto;padding:clamp(24px,12vh,100px) 24px 24px;overflow-y:auto}.hub-connection-gate h1{margin-bottom:24px;font-size:24px}.hub-connection-addresses{grid-template-columns:64px minmax(0,1fr);gap:12px;margin:24px 0;font-size:14px;display:grid}.hub-connection-addresses dt{color:var(--muted-foreground)}.hub-connection-addresses dd{overflow-wrap:anywhere;margin:0}.hub-connection-actions{flex-wrap:wrap;gap:10px;margin:20px 0;display:flex}.hub-connection-actions .hub-button{min-height:44px}.hub-connection-actions select{border:1px solid var(--border);background:var(--background);max-width:100%;min-height:44px;color:inherit;border-radius:8px;padding:8px}
