@font-face{font-family:'PipeaaS Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('./fonts/manrope-400.woff2') format('woff2')}
@font-face{font-family:'PipeaaS Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('./fonts/manrope-500.woff2') format('woff2')}
@font-face{font-family:'PipeaaS Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('./fonts/manrope-600.woff2') format('woff2')}
@font-face{font-family:'PipeaaS Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('./fonts/manrope-700.woff2') format('woff2')}
@font-face{font-family:'PipeaaS Sans SC';font-style:normal;font-weight:250 900;font-display:swap;src:url('./fonts/source-han-sans-cn.woff2') format('woff2')}
:root{--bg:#f5f6f8;--surface:#fff;--ink:#202b35;--muted:#647282;--line:#e1e6ec;--blue:#426ae4;--soft:#edf2ff;--brand:#c25c30;--green:#13745d;--danger:#b53f43}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 "PipeaaS Manrope","PipeaaS Sans SC",sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px 13px;cursor:pointer;white-space:nowrap}button:hover:not(:disabled){border-color:#9daec4;background:#f7f9fd}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}button.primary:hover:not(:disabled){background:#3255c9}button.danger{color:var(--danger)}button.active{color:var(--blue);background:var(--soft);border-color:#c9d5fa}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:3px solid #426ae480;outline-offset:3px}input,select,textarea{background:white;border:1px solid var(--line);border-radius:6px;padding:9px 11px;min-width:0}input[type=checkbox]{accent-color:var(--blue)}input[type=file]{display:none}textarea{resize:vertical}h1{font-size:26px;line-height:1.3;letter-spacing:-.5px;margin:0}h2{font-size:18px;margin:0 0 18px}h3{font-size:14px;margin:0 0 12px}p{margin:0 0 12px}.muted{color:var(--muted);font-size:12px}.eyebrow{color:var(--brand);letter-spacing:1.8px;font-size:11px;font-weight:650;margin-bottom:10px}.logo{font-size:25px;font-weight:700;letter-spacing:-1px}.logo span{color:var(--brand)}.layout{display:flex;min-height:100vh}.sidebar{width:204px;flex-shrink:0;position:sticky;top:0;height:100vh;padding:24px 16px;background:#fbfcfd;border-right:1px solid var(--line);display:flex;flex-direction:column}.sidebar .logo{padding:0 12px 32px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:12px;color:var(--muted);padding:11px 14px;border-radius:7px;text-decoration:none}.sidebar nav a.active{background:var(--soft);color:var(--blue);font-weight:600}.sidebar footer{margin-top:auto;display:flex;align-items:center;gap:7px;padding-top:24px}.sidebar footer button{border:0;background:transparent;padding:8px}.avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#227a70;color:white}.work{flex:1;min-width:0}header{height:70px;padding:0 32px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);background:white}header select{max-width:260px;border:0}header .separator{color:#cbd1d9}main{padding:32px;max-width:1700px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.actions,.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.toolbar{margin-bottom:18px}.push{margin-left:auto}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.table-panel{padding:0;overflow:hidden}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-weight:500;font-size:12px;color:var(--muted);background:#fafbfc}th,td{padding:15px 18px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted)}td .name{font-weight:550}td button{padding:5px 10px;font-size:12px}.pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding:16px 20px;font-size:12px;color:var(--muted)}.pagination select{padding:5px}.empty{padding:65px 24px;text-align:center;color:var(--muted)}.empty strong{display:block;font-size:17px;color:var(--ink);margin-bottom:10px}.crumbs{display:flex;gap:8px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.crumbs button{border:0;background:none;padding:2px 4px;color:var(--muted)}.pill{display:inline-flex;align-items:center;font-size:12px;border-radius:5px;padding:3px 8px;color:var(--muted);background:#eff2f5}.pill.succeeded{color:var(--green);background:#eaf6f0}.pill.running,.pill.queued{color:var(--blue);background:var(--soft)}.pill.failed,.pill.cancelled{color:var(--danger);background:#fceff0}.pill.waiting_review{color:#99651a;background:#fff4de}.loading{padding:80px;text-align:center;color:var(--muted)}#notice:empty{display:none}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#25333d;color:white;border-radius:8px;padding:13px 20px;box-shadow:0 10px 35px #0002;z-index:100}dialog{border:1px solid var(--line);border-radius:12px;width:540px;max-width:94vw;padding:28px;box-shadow:0 22px 90px #0002}dialog::backdrop{background:#17233066}dialog .actions{justify-content:flex-end;margin-top:24px}label.field{display:block;color:var(--muted);font-size:12px;margin-bottom:18px}.field input,.field select,.field textarea{display:block;width:100%;margin-top:7px;color:var(--ink)}.error{color:var(--danger);white-space:pre-wrap;background:#fff2f2;padding:12px;border-radius:6px}.error:empty{display:none}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:60px 12%;background:#eef2f6;display:flex;flex-direction:column;justify-content:space-between}.auth-story h1{font-size:42px;line-height:1.4}.auth-story .diagram{padding:32px 0;color:var(--blue);font-size:20px;letter-spacing:4px}.auth-form{display:flex;align-items:center;justify-content:center;padding:36px}.auth-form form{max-width:380px;width:100%}.auth-form h1{margin-bottom:12px}.auth-form .switch{margin-bottom:32px}.auth-form .primary{width:100%;margin-top:10px}.editor-layout{display:grid;grid-template-columns:160px minmax(0,1fr) 280px;background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-height:590px}.library{padding:16px;border-right:1px solid var(--line)}.library button{display:block;width:100%;text-align:left;margin-bottom:9px;font-size:12px;white-space:normal}.library small{display:block;font-size:10px;color:var(--muted)}.canvas{position:relative;overflow:auto;min-height:590px;background:radial-gradient(#d6deea 1px,transparent 1px) 0 0/18px 18px}.graph{position:relative;min-width:800px;min-height:570px}.graph > svg{position:absolute;inset:0;overflow:visible;width:100%;height:100%}.edge{fill:none;stroke:#9fb2d6;stroke-width:2;pointer-events:stroke;cursor:pointer}.edge:hover{stroke:var(--danger);stroke-width:4}.node{position:absolute;width:166px;min-height:85px;background:white;border:1px solid #cdd7e4;border-radius:8px;padding:12px;cursor:grab;box-shadow:0 2px 6px #1a324a08;touch-action:none;user-select:none}.node.selected{border-color:var(--blue);box-shadow:0 0 0 3px #426ae41a}.node:focus-visible{outline:3px solid #426ae480}.node b{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.node small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.node .ports{display:flex;justify-content:space-between;gap:8px;margin-top:10px}.port{border:1px solid #b8c7de;border-radius:12px;font-size:9px;padding:1px 5px;cursor:pointer}.port.chosen{background:var(--blue);color:white}.node.running{border-color:var(--blue)}.node.failed{border-color:var(--danger)}.node.succeeded{border-color:#73ad9b}.inspector{border-left:1px solid var(--line);padding:18px;overflow:auto;max-height:calc(100vh - 190px);min-height:590px}.tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:22px}.tabs button{border:0;border-radius:0;background:none;color:var(--muted);padding:9px 0}.tabs button.active{color:var(--blue);border-bottom:2px solid var(--blue)}.inspector input,.inspector select{max-width:100%}.inspector .file{border-bottom:1px solid var(--line);padding:9px 0;font-size:12px;overflow-wrap:anywhere}.run-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.run-layout .canvas{border:1px solid var(--line);border-radius:10px}.run-layout .panel{min-width:0}pre{white-space:pre-wrap;word-break:break-word;background:#f5f7fa;border:1px solid var(--line);padding:14px;border-radius:6px;font-size:12px;max-height:360px;overflow:auto}.metrics{display:flex;gap:40px;margin:18px 0 26px;flex-wrap:wrap}.metrics strong{display:block;font-size:20px}.metrics span{font-size:12px;color:var(--muted)}.file-list{display:grid;gap:10px}.file-row{border:1px solid var(--line);border-radius:7px;padding:12px;display:flex;gap:12px;justify-content:space-between;align-items:center;overflow-wrap:anywhere}.file-row small{display:block;color:var(--muted)}.preview-media{max-width:100%;max-height:65vh;display:block;margin:auto}.preview-dialog{width:900px}.run-output-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.note{background:#f6f8fc;color:var(--muted);font-size:12px;padding:12px;border-radius:7px;margin:12px 0}.mobile-note{display:none}.context{position:fixed;background:white;border:1px solid var(--line);border-radius:8px;padding:6px;z-index:30;box-shadow:0 8px 24px #0002;min-width:150px}.context button{display:block;width:100%;border:0;text-align:left}.wizard-steps{display:flex;gap:18px;margin:18px 0 26px;color:var(--muted)}.wizard-steps .current{color:var(--blue)}@media(max-width:1100px){.sidebar{width:170px}main{padding:24px}.editor-layout{grid-template-columns:130px minmax(0,1fr) 240px}.run-layout{grid-template-columns:minmax(0,1fr) 280px}}@media(max-width:750px){.sidebar{width:62px;padding:16px 7px}.sidebar .logo{font-size:0;padding:0 0 22px;text-align:center}.sidebar .logo:before{content:'P';font-size:25px;color:var(--brand)}.sidebar nav a{padding:12px;justify-content:center}.sidebar nav a span{display:none}.sidebar footer{flex-direction:column}header{height:auto;min-height:62px;padding:12px;gap:5px;flex-wrap:wrap}header .team{display:none}header select{max-width:190px}main{padding:18px 12px}.heading{align-items:flex-start;flex-wrap:wrap}h1{font-size:22px}.auth{grid-template-columns:1fr}.auth-story{display:none}.editor-layout{grid-template-columns:1fr}.library{display:none}.inspector{max-height:none;min-height:0;border-top:1px solid var(--line)}.run-layout{grid-template-columns:1fr}.canvas{min-height:420px}.mobile-note{display:block}.toolbar input{width:100%}.pagination{gap:6px}.metrics{gap:20px}.auth-form{min-height:100vh}.file-row{flex-wrap:wrap}}
/* Shared Lucide controls and workspace navigation */
.ui-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle;pointer-events:none}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;font-weight:500;transition:background .15s,border-color .15s,box-shadow .15s}.sidebar nav a{min-height:46px;font-weight:500}.sidebar nav a .ui-icon{width:21px;height:21px;stroke-width:1.9}.sidebar nav a:hover{background:#f0f3f8;color:#293c55}.sidebar nav a.active{background:#eaf0ff;color:#315bdb;box-shadow:inset 3px 0 #426ae4}.sidebar footer{flex-direction:column;align-items:flex-start;gap:10px;padding:20px 4px 0;border-top:1px solid var(--line)}.sidebar footer button{width:44px;height:44px;padding:10px;border-radius:12px;color:#54677e}.sidebar footer button:hover{background:#edf2fa;color:#315bdb}.sidebar footer .ui-icon{width:23px;height:23px;stroke-width:1.8}.sidebar footer .avatar{width:34px;height:34px;flex-shrink:0;font-weight:600;box-shadow:0 0 0 3px #fff,0 0 0 4px #dce5e9}.project-picker{position:relative;min-width:180px;max-width:300px}.project-picker summary{list-style:none;display:flex;align-items:center;gap:10px;padding:9px 12px;cursor:pointer;border:1px solid transparent;border-radius:9px;background:white;min-height:42px}.project-picker summary::-webkit-details-marker{display:none}.project-picker summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.project-picker summary>.ui-icon:last-child{width:16px;height:16px;flex-basis:16px;color:#8492a5}.project-picker summary:hover,.project-picker[open] summary{border-color:#cbd7eb;background:#f7f9fd}.project-menu{position:absolute;top:calc(100% + 8px);left:0;width:280px;max-width:calc(100vw - 90px);padding:7px;background:#fff;border:1px solid #e1e6ee;border-radius:12px;box-shadow:0 12px 40px #213b5d20;z-index:60;max-height:360px;overflow:auto}.menu-label{padding:7px 10px 10px;font-size:12px;color:var(--muted)}.project-menu button{border:0;width:100%;justify-content:flex-start;padding:10px;border-radius:7px;min-height:42px}.project-menu button>span{flex:1;overflow:hidden;text-overflow:ellipsis;text-align:left}.project-menu button.selected{background:#edf2ff;color:#315bdb}.project-menu .menu-create{margin-top:6px;border-top:1px solid var(--line);border-radius:0;padding-top:13px;color:#426ae4}.project-empty{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:12px}.project-empty>.ui-icon{width:48px;height:48px;flex-basis:48px;padding:10px;box-sizing:content-box;border-radius:18px;color:#5275cf;background:#eff3fc;margin-bottom:22px}.project-empty h2{margin-bottom:8px}.project-empty p{color:var(--muted);margin-bottom:24px}.project-empty button{padding:10px 20px}.actions button{min-height:40px}.actions button .ui-icon{width:18px;height:18px;flex-basis:18px}@media(max-width:750px){.sidebar footer{padding:16px 0 0;align-items:center}.sidebar footer button{width:40px;height:40px}.project-picker{min-width:150px;max-width:220px}.project-empty{min-height:320px}}

.sidebar footer button{width:100%;justify-content:flex-start;gap:13px;padding:10px 12px;font-size:13px}.sidebar footer button[data-action=account]{margin-top:3px;min-height:52px}.sidebar footer button[data-action=account] .avatar{margin-left:-5px}.template-choices{border:0;padding:0;margin:0 0 20px}.template-choices legend{font-size:12px;color:var(--muted);margin-bottom:8px}.template-choice{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:8px;cursor:pointer}.template-choice:has(input:checked){border-color:var(--blue);background:var(--soft)}.template-choice input{margin:0}.template-choice strong{display:block;font-size:13px}.template-choice small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.project-menu button{font-weight:500}@media(max-width:750px){.sidebar footer button{width:40px;padding:8px;font-size:0;justify-content:center;gap:0}.sidebar footer .account-label{display:none}.sidebar footer button[data-action=account] .avatar{margin:0;font-size:13px}}

.quota-dialog{width:660px}.quota-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.quota-summary>div{padding:16px;background:var(--soft);border-radius:8px}.quota-summary span{font-size:12px;color:var(--muted)}.quota-summary strong{display:block;font-size:22px;margin-top:8px}.quota-usage{display:grid;gap:8px;max-height:340px;overflow:auto}.quota-task{min-width:0}.quota-task a{overflow-wrap:anywhere}.quota-charge{text-align:right;flex-shrink:0}.quota-charge small{margin-top:6px}.quota-dialog h3 small{font-size:12px;font-weight:400;margin-left:8px}@media(max-width:450px){.quota-summary{gap:6px}.quota-summary>div{padding:10px}.quota-summary strong{font-size:18px}}

/* Action icons share one SVG system; secondary dialog actions stay text-only. */
button .ui-icon{width:18px;height:18px;flex:0 0 18px;stroke-width:1.8}.action-link{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}.action-link .ui-icon{width:16px;height:16px;flex:0 0 16px;stroke-width:1.8}.library button{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px}.library button>.ui-icon{width:16px;height:16px;flex-basis:16px;margin-top:2px}.library button>span{min-width:0}.context button{display:flex;justify-content:flex-start}

/* File selection is an explicit action, not a choice of placeholder text. */
.source-field{margin-bottom:20px}.field-label{font-size:12px;color:var(--muted);margin-bottom:7px}.source-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fafbfe}.source-summary strong{font-size:13px;font-weight:500}.source-summary p{font-size:12px;color:var(--muted);margin:4px 0 0}.source-summary button{flex-shrink:0}.source-picker{margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:8px}.source-picker[hidden]{display:none}.source-search{display:flex;gap:8px}.source-search input{flex:1;width:0}.source-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0;color:var(--muted)}.source-crumbs button{border:0;background:none;padding:2px;min-height:28px;font-size:12px;color:var(--blue)}.source-files{max-height:220px;overflow:auto}.source-file,.source-folder{display:flex;align-items:center;gap:10px;padding:10px 6px;border:0;border-bottom:1px solid var(--line);width:100%;font-size:12px;cursor:pointer;text-align:left;background:white}.source-file>span,.source-folder>span{flex:1;min-width:0;overflow-wrap:anywhere;white-space:normal}.source-file small{color:var(--muted);flex-shrink:0}.source-file input{margin:0}.source-file:hover,.source-folder:hover{background:var(--soft)}.source-empty{padding:12px 0;margin:0}.source-pagination{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:var(--muted)}.source-pagination>span:first-child{margin-right:auto}.source-pagination button{padding:5px 8px;min-height:32px}.source-pagination button .ui-icon{width:16px;height:16px;flex-basis:16px}@media(max-width:480px){.source-summary{align-items:flex-start;flex-direction:column}.source-summary button{align-self:flex-start}}

/* Compact, typed input/output connectors. */
.node .ports>span{display:flex;flex-direction:column;gap:5px;min-width:0}
.node .ports>span:last-child{align-items:flex-end}
.node .port{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:55px;height:29px;min-height:29px;padding:5px 7px;border-radius:7px;border-color:#d6dfeb;color:#61738c;background:#f8faff}
.node .port:hover{color:var(--blue);border-color:var(--blue);background:var(--soft)}
.node .port.chosen{background:var(--blue);border-color:var(--blue);color:white}
.node .port .port-icon{position:static;inset:auto;display:block;width:16px;height:16px;flex:none;overflow:visible;pointer-events:none}
.node .port .port-icon:first-child{width:14px;height:14px;opacity:.7}

.space-scopes{display:flex;gap:8px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.project-tags{display:flex;gap:5px;flex-wrap:wrap}.project-tags span{padding:3px 8px;border-radius:5px;background:var(--soft);font-size:12px}.space-project-list{display:grid;gap:10px;max-height:360px;overflow:auto;margin:20px 0}.space-project-list label{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:7px}.project-picker[hidden]{display:none}

#project-folders[hidden]{display:none}

.resource-layout{display:grid;grid-template-columns:minmax(320px,1fr) minmax(300px,440px);gap:24px;align-items:start}.resource-list h2,.resource-form h2{margin-top:0}.resource-card,.resource-form{padding:24px;background:white;border:1px solid var(--line,#dce3ed);border-radius:12px}.resource-card{margin-bottom:12px}.resource-card strong{margin-right:12px}.resource-card .actions{justify-content:flex-start;flex-wrap:wrap}.resource-status{margin-top:12px;font-size:13px;overflow-wrap:anywhere}.resource-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.resource-form textarea{font:inherit;width:100%;padding:10px;border:1px solid #dce3ed;border-radius:6px;resize:vertical}.resource-form pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.resource-form summary{cursor:pointer;color:#4263eb}@media(max-width:1000px){.resource-layout{grid-template-columns:1fr}}
