*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172554;background:#f5f8ff}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.svg-library{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,summary:focus-visible{outline:3px solid #5275d9;outline-offset:3px}
.login-screen{min-height:100vh;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 12% 12%,#dce7ff99,transparent 32%),radial-gradient(circle at 88% 82%,#d9e4ff99,transparent 38%),linear-gradient(135deg,#fff,#f5f8ff)}.login-card{width:min(92vw,430px);padding:2.5rem;border:1px solid #dbe5ff;border-radius:22px;background:#ffffffe8;box-shadow:0 24px 70px #2446b824}.brand-mark{width:44px;height:44px;display:grid;place-items:center;margin-bottom:1.5rem;border-radius:13px;background:linear-gradient(135deg,#3159cb,#173483);color:#fff;font-size:1.35rem;font-weight:800;box-shadow:0 8px 20px #2446b83d}.brand-mark.small{width:36px;height:36px;margin:0;border-radius:10px;flex-shrink:0}.brand-mark svg{width:25px;height:25px}.brand-mark.small svg{width:21px;height:21px}.eyebrow{display:block;color:#5270c5;font-size:.72rem;font-weight:800;letter-spacing:.16em}.login-card h1{margin:.45rem 0 .5rem;font-size:2rem}.login-card p{color:#64748b;line-height:1.5}.login-card label{display:block;margin:1.25rem 0 .4rem;color:#334887;font-size:.9rem;font-weight:650}input{width:100%;padding:.82rem .9rem;border:1px solid #cbd8fb;border-radius:10px;outline:0;background:#fff;color:#172554;font:inherit}input:focus{border-color:#5275d9;box-shadow:0 0 0 4px #5275d924}.primary-button{width:100%;margin-top:1.35rem;padding:.84rem;border:0;border-radius:10px;background:linear-gradient(135deg,#3159cb,#173483);color:#fff;font-weight:750;box-shadow:0 8px 20px #2446b83d}.primary-button:hover{filter:brightness(1.08)}.form-error{margin-top:1rem;color:#b4233c;font-size:.9rem}.password-field{position:relative}.password-field input{padding-right:5rem}.password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:0;color:#5270c5;font-size:.75rem;font-weight:600;padding:6px}
.app{height:100vh;height:100dvh;display:grid;grid-template-columns:288px minmax(0,1fr);transition:grid-template-columns .26s ease;overflow:hidden}.app.sidebar-closed{grid-template-columns:0 minmax(0,1fr)}.sidebar{overflow:hidden;background:#fff;border-right:1px solid #e3e9f6;transition:opacity .2s ease,transform .26s ease;min-width:0}.sidebar-closed .sidebar{opacity:0;transform:translateX(-22px);pointer-events:none}.sidebar-inner{width:288px;height:100%;display:flex;flex-direction:column;padding:24px 16px 16px}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:0 8px 24px}.sidebar-brand strong{display:block;font-size:17px;letter-spacing:-.03em}.sidebar-brand span{display:block;font-size:11px;color:#8190ad;margin-top:3px}.sidebar-search{position:relative;margin:0 5px 23px}.sidebar-search svg{position:absolute;left:11px;top:11px;width:17px;height:17px;color:#8391ae}.sidebar-search input{padding:10px 10px 10px 36px;font-size:12px;background:#f7f9ff;border-color:#e5ebf7;border-radius:9px}.tree-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b98b0;font-weight:750;letter-spacing:.12em;padding:0 12px 10px}.tree-heading span:last-child{letter-spacing:0;background:#eff3fc;padding:2px 6px;border-radius:5px}.tree{flex:1;overflow:auto;scrollbar-width:thin;padding-bottom:12px}.tree-group{margin-bottom:10px}.tree-group>summary,.tree-subgroup>summary{list-style:none;display:flex;align-items:center;gap:7px;padding:9px 10px;color:#3e527b;font-weight:650;font-size:12px;cursor:pointer;border-radius:7px}.tree-group>summary::-webkit-details-marker,.tree-subgroup>summary::-webkit-details-marker{display:none}.tree-group>summary:hover,.tree-subgroup>summary:hover{background:#f5f7fd}.tree-group summary svg{width:13px;height:13px;color:#8c9aba;transition:transform .18s ease}.tree-group[open]>summary svg,.tree-subgroup[open]>summary svg{transform:rotate(90deg)}.tree-subgroup{margin-left:13px}.tree-subgroup>summary{font-size:11px;font-weight:600;color:#7f8dab}.tree-children{border-left:1px solid #e3e9f6;margin-left:16px;padding-left:6px}.host-button{width:100%;text-align:left;display:flex;align-items:center;gap:9px;padding:10px 8px;background:transparent;border:0;border-radius:8px;color:#445576;margin:1px 0}.host-button:hover{background:#f2f5fe;color:#2446b8}.host-button.active{background:#eaf0ff;color:#2446b8}.host-button>svg{width:17px;height:17px;flex-shrink:0;color:#8392b4}.host-button.active>svg{color:#3159cb}.host-label{min-width:0;flex:1}.host-name{display:block;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.host-address{display:block;font-size:9px;color:#8b98b0;margin-top:3px;font-family:ui-monospace,SFMono-Regular,monospace}.host-badge{font-size:8px;font-weight:650;color:#8c96aa;background:#f1f3f7;padding:3px 4px;border-radius:4px;white-space:nowrap}.host-badge.running{background:#ecf8f2;color:#3a8b65}.host-badge.open{background:#dce7ff;color:#3159cb}.sidebar-footer{display:flex;align-items:center;gap:7px;font-size:10px;color:#93a0b7;padding:16px 10px 0;border-top:1px solid #edf1f8}.secure-dot{height:5px;width:5px;border-radius:50%;background:#5bad85}.main{display:flex;flex-direction:column;min-width:0;min-height:0}.topbar{height:74px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px;background:#fff;border-bottom:1px solid #e3e9f6}.topbar-left{display:flex;align-items:center;gap:16px}.workspace-heading h1{font-size:15px;font-weight:700;letter-spacing:-.02em;margin:0}.workspace-heading span{font-size:10px;color:#8b98b0;display:block;margin-top:4px}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;background:transparent;border:0;border-radius:8px;color:#8190ac;flex-shrink:0}.icon-button:hover{background:#eff3fd;color:#2446b8}.icon-button.selected{color:#2446b8;background:#e7eeff;box-shadow:0 1px 3px #2446b810}.icon-button svg{height:19px;width:19px}.toolbar{display:flex;align-items:center;gap:12px}.split-picker{display:flex;gap:3px;background:#f4f6fc;border:1px solid #e8edf7;padding:3px;border-radius:10px}.account{font-size:11px;color:#8b98b0;border-left:1px solid #e4eaf5;padding-left:18px;margin-left:3px}.workspace{background:#0c1220;flex:1;position:relative;min-height:0;overflow:hidden}.workspace iframe{position:absolute;width:100%;height:100%;inset:0;border:0}.empty-state{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px}.empty-icon{width:76px;height:76px;display:grid;place-items:center;color:#7598ee;background:#151f34;border:1px solid #263553;border-radius:22px;margin-bottom:28px;box-shadow:0 12px 50px #0003}.empty-icon svg{width:35px;height:35px;stroke-width:1.4}.empty-state .eyebrow{font-size:9px;color:#6e89bd;letter-spacing:.2em}.empty-state h2{font-size:23px;color:#dce5f8;font-weight:550;letter-spacing:-.025em;margin:12px 0}.empty-state p{font-size:12px;line-height:1.8;color:#71809e;margin:0}.empty-button{display:flex;gap:8px;align-items:center;padding:10px 17px;margin-top:24px;color:#9fb8ed;border:1px solid #2d3d60;background:#17233b;border-radius:8px;font-size:11px;font-weight:550}.empty-button:hover{background:#203051}.empty-button svg{width:15px;height:15px}.workspace-footer{height:30px;flex-shrink:0;background:#fff;border-top:1px solid #e3e9f6;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#8c99b1;font-size:9px}.pane-tabs{display:flex;align-items:center;gap:6px;background:#f5f7fc;padding:7px 16px;overflow-x:auto;border-bottom:1px solid #e3e9f6;flex-shrink:0}.pane-tab{display:flex;align-items:center;border:1px solid transparent;border-radius:7px;color:#7d8dab}.pane-tab.active{background:#fff;color:#3159cb;border-color:#d9e4fa;box-shadow:0 2px 4px #2446b808}.pane-select{background:none;color:inherit;border:0;font-size:10px;padding:6px 8px;white-space:nowrap}.pane-close{background:none;color:inherit;border:0;display:grid;place-items:center;width:23px;height:23px;border-radius:5px;margin-right:4px}.pane-close:hover{background:#fcecef;color:#b4233c}.pane-close svg{width:12px;height:12px}.toast{position:fixed;bottom:48px;left:50%;transform:translateX(-50%);background:#fff;color:#334887;border:1px solid #dbe5ff;padding:13px 20px;border-radius:11px;box-shadow:0 8px 30px #0003;font-size:12px;max-width:min(90vw,500px);z-index:20}.toast.error{color:#b4233c;border-color:#f3cbd2}
@media(max-width:760px){.app{grid-template-columns:0 minmax(0,1fr)}.sidebar{position:fixed;top:74px;bottom:30px;left:0;width:288px;z-index:10;box-shadow:12px 0 30px #0003}.sidebar-closed .sidebar{transform:translateX(-100%)}.topbar{padding:0 12px}.topbar-left{gap:8px}.toolbar{gap:5px}.account{display:none}.workspace-heading h1{font-size:13px}.workspace-footer{padding:0 10px;font-size:8px}.login-card{padding:2rem}.empty-state h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.app,.sidebar,.tree-group summary svg{transition:none}}
.browser-heading{padding-top:11px;border-top:1px solid #edf1f8}.browser-tree{padding:0 5px 14px}.browser-tree .host-button{background:#f7f9ff}.browser-tree .host-button:hover,.browser-tree .host-button.active{background:#eaf0ff;color:#2446b8}
.clipboard-tools{display:flex;gap:4px;padding-right:8px;border-right:1px solid #e3e9f6}.clipboard-button{border:1px solid #cbd8fb;border-radius:7px;background:#f5f8ff;color:#2446b8;font-size:12px;padding:7px 10px}.clipboard-button:hover{background:#eaf0ff}.clipboard-button:disabled{cursor:default}.clipboard-dialog{width:min(92vw,620px);max-height:90dvh;border:1px solid #cbd8fb;border-radius:14px;padding:22px;color:#172554;background:#fff;box-shadow:0 18px 70px #0004}.clipboard-dialog::backdrop{background:#0f172a99}.clipboard-dialog h2{margin:0 0 10px;font-size:20px}.clipboard-dialog p{color:#475569;font-size:14px;line-height:1.5}.clipboard-dialog label{display:block;margin-bottom:6px;font-size:13px}.clipboard-dialog textarea{box-sizing:border-box;width:100%;min-height:160px;resize:vertical;border:1px solid #cbd8fb;border-radius:8px;padding:10px;font:13px ui-monospace,monospace;color:#172554;background:#f8fafc}.clipboard-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
@media(max-width:520px){.clipboard-button{padding:7px;font-size:11px}.clipboard-tools{padding-right:4px}.toolbar{gap:3px}.topbar-left{gap:4px}.workspace-heading h1{font-size:11px}.workspace-heading span{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
