@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-VF-Latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-VF-LatinExt.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF,U+20A0-20AB}
@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-VF-Cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-VF-CyrillicExt.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+2DE0-2DFF,U+A640-A69F}

:root{--ink:#20003f;--purple:#20003f;--muted:#715e83;--mint:#73f4c0;--line:rgba(32,0,63,.11);--surface:#fff;--soft:#f6f8fb;--canvas:#edf1f6;--radius:16px;--sidebar-width:224px;--topbar-height:64px;color-scheme:light;font-family:Montserrat,'Segoe UI',Arial,sans-serif;font-size:14px;font-synthesis:none;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:inherit;text-decoration:none}button,input,textarea,select{outline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #81619f;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #b29ac8;outline-offset:1px}textarea{resize:vertical;line-height:1.7}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:600;line-height:1.3;letter-spacing:-.8px}h2{font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.25px}h3{font-size:16px;font-weight:600;line-height:1.5}strong{font-weight:600}[hidden]{display:none!important}.icon{display:block;width:20px;height:20px;flex:none}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:none;line-height:0}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:10px;left:240px;z-index:200;background:var(--ink);color:white;padding:12px 18px;border-radius:8px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}
.shell{display:flex;min-height:100dvh}.shell .sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:24px 14px 18px;z-index:40}.shell .sidebar .brand{display:flex;align-items:center;gap:10px;padding:0 8px;margin:0 0 34px;font-size:16px;font-weight:600;letter-spacing:-.55px;white-space:nowrap;min-height:36px}.brand img{width:34px;height:34px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:11px;min-height:46px;padding:12px;border:1px solid transparent;border-radius:10px;color:var(--muted);font-size:14px;font-weight:500;line-height:1.4}.sidebar nav a svg{width:20px;height:20px}.sidebar nav a:hover{background:var(--soft);color:var(--ink)}.sidebar nav a[aria-current=page]{background:#f4f0f8;border-color:#ebe4f2;color:var(--ink);font-weight:600}.nav-count{margin-left:auto;min-width:22px;text-align:center;font-size:12px;background:white;padding:2px 6px;border-radius:5px;font-variant-numeric:tabular-nums}.sidebar-bottom{margin-top:auto;padding-top:32px}.machine-state{display:flex;align-items:center;gap:9px;padding:12px;color:var(--muted);font-size:12px;line-height:1.5}.status-dot{width:6px;height:6px;border-radius:50%;background:#087a50;box-shadow:0 0 0 3px #e9fff6;flex-shrink:0}.status-dot.disconnected{background:#a32643;box-shadow:0 0 0 3px #fcecf0}.storage-summary{display:grid;gap:8px;padding:12px;font-size:12px}.storage-summary>span{display:flex;justify-content:space-between}.storage-summary small{font-size:11px;color:var(--muted)}.storage-summary strong{font-size:12px;font-weight:500}.storage-summary progress{width:100%;height:5px}.workspace-identity{display:none}.app-body{margin-left:var(--sidebar-width);flex:1;min-width:0}.topbar{position:sticky;top:0;z-index:35;height:var(--topbar-height);display:flex;align-items:center;gap:14px;padding:0 32px;border-bottom:1px solid var(--line);background:#ffffffef;backdrop-filter:blur(12px)}.breadcrumb{font-size:13px;font-weight:500;color:var(--muted);min-width:0}.breadcrumb span{margin:0 10px;color:#b8adbf}.build-label{font-size:11px;color:var(--muted);padding:5px 8px;border:1px solid var(--line);border-radius:6px;white-space:nowrap}#main{min-height:calc(100dvh - var(--topbar-height));outline:none}.page{max-width:1360px;margin:0 auto;padding:32px 36px 56px}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.page-heading p{font-size:14px;color:var(--muted);line-height:1.7;margin-top:7px;max-width:640px}.eyebrow{font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.04em;color:var(--muted);text-transform:uppercase;margin-bottom:8px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:24px 0 16px}.section-heading>span{font-size:12px;color:var(--muted);line-height:1.6}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 6px #20003f02}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border:1px solid var(--line);border-radius:10px;background:white;font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap;transition:background .15s,border-color .15s}.button .icon{width:18px;height:18px}.button:hover{background:var(--soft);border-color:#c6b9d2}.button.primary{background:linear-gradient(145deg,#8af8cc,#73f4c0);border-color:#61dfae;color:var(--ink);box-shadow:0 1px 2px #20003f08}.button.primary:hover{background:#60eab1;border-color:#50dca4}.button.primary:active{background:#4bd89e}.button.secondary{background:white}.button:disabled{box-shadow:none}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:#fff}.icon-button .icon{width:18px;height:18px}.icon-button:hover{background:var(--soft)}.text-button{border:0;background:none;color:#604174;font-size:13px;padding:8px 0;line-height:1.5;cursor:pointer}.text-button:hover{text-decoration:underline;text-underline-offset:3px}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:6px;border:1px solid var(--line);font-size:12px;line-height:1.3;background:var(--soft);color:var(--muted);font-weight:500}.badge.positive{color:#087a50;background:#e9fff6;border-color:#bcebd8}.field{display:grid;gap:9px;min-width:0}.field>span,.field>label{font-size:14px;font-weight:500;line-height:1.5}.field input,.field textarea,.field select,input.text-input{width:100%;min-width:0;padding:12px 14px;border:1px solid #ded8e6;background:#fff;border-radius:10px;font-size:14px;line-height:1.5}.field input,.field select{min-height:46px}.field textarea{min-height:100px}.field input::placeholder,.field textarea::placeholder{color:#9688a2}.field small{font-size:12px;color:var(--muted);line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dropzone{position:relative;border:1px dashed #c7bbd2;border-radius:11px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fafbfc;cursor:pointer;text-align:center}.dropzone:hover,.dropzone.dragging{background:#f0fcf7;border-color:#5ab892}.dropzone input{position:absolute;width:1px;height:1px;opacity:0}.dropzone:focus-within{outline:2px solid #b29ac8;outline-offset:3px}.dropzone strong{font-size:14px;font-weight:500;line-height:1.6}.dropzone small{font-size:12px;line-height:1.6;color:var(--muted)}.dropzone>.icon{width:24px;height:24px;color:#715e83}.file-chips{display:flex;flex-wrap:wrap;gap:8px}.file-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--soft);border-radius:8px;padding:5px 7px 5px 11px;max-width:100%;font-size:12px}.file-chip>span{min-width:0;overflow-wrap:anywhere}.file-chip button{width:30px;height:30px;background:none;border:0;border-radius:5px;flex-shrink:0}.file-chip button:hover{background:#ece8f2}.file-chip .icon{width:15px;height:15px}.inline-error{font-size:13px;line-height:1.7;color:#a32643;background:#fff3f5;border:1px solid #f0d3dc;padding:12px 14px;border-radius:8px}.upload-progress{font-size:13px;line-height:1.7;color:var(--muted);padding:9px 0}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;min-height:260px;padding:44px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;text-align:center}.empty-state>.icon{width:36px;height:36px;stroke-width:1.2;color:#957da9}.empty-state h2{font-size:20px}.empty-state p{max-width:420px;line-height:1.8;color:var(--muted);font-size:14px}.empty-state .button{margin-top:6px}.loading-state{padding:72px 24px;text-align:center;font-size:14px;color:var(--muted)}.error-page{max-width:700px;margin:70px auto;padding:32px}.error-page h1{font-size:26px}.error-page p{margin:16px 0 24px;line-height:1.8;color:var(--muted)}.error-page>div{display:flex;gap:10px;flex-wrap:wrap}.toast{position:fixed;right:24px;bottom:24px;z-index:100;max-width:min(420px,calc(100vw - 40px));padding:14px 18px;border-radius:11px;background:#20003f;color:white;font-size:13px;line-height:1.6;box-shadow:0 8px 28px #20003f20}.toast.error{background:#94263e}.source-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}.source-heading>span:last-child{color:var(--muted)}progress{accent-color:#4c3564}
/* Export queue */
.exports-page{max-width:1440px}.export-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.export-overview>div{border:1px solid var(--line);border-radius:12px;background:white;display:flex;flex-direction:column;gap:7px;align-items:flex-start;padding:18px 20px}.export-overview strong{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.export-overview span{font-size:12px;color:var(--muted)}.export-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.export-filters{display:flex;gap:5px;flex-wrap:wrap}.export-filters button{padding:10px 12px;min-height:40px;border:1px solid transparent;background:transparent;border-radius:8px;font-size:13px;color:var(--muted)}.export-filters button:hover{background:#ffffff8c}.export-filters button[aria-pressed=true]{background:white;border-color:var(--line);color:var(--ink);font-weight:500}.export-search input{width:250px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:14px;min-height:42px}.export-list{overflow:hidden}.export-empty{border:0;padding:56px 24px;min-height:300px}.export-table-heading,.export-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(100px,.7fr) minmax(120px,.8fr) minmax(110px,.8fr) 142px;gap:18px;align-items:center;padding:20px}.export-table-heading{background:#fafbfc;border-bottom:1px solid var(--line);padding:14px 20px;color:var(--muted);font-size:12px}.export-row+.export-row{border-top:1px solid var(--line)}.export-project{display:flex;gap:12px;align-items:flex-start;min-width:0}.export-project>div{min-width:0}.export-project a,.export-project strong{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere;line-height:1.5}.export-project a:hover{text-decoration:underline;text-underline-offset:3px}.export-project .export-content-name{font-size:14px;font-weight:600;margin-top:5px;color:var(--ink)}.export-project-icon{width:36px;height:40px;display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);border-radius:8px;flex-shrink:0}.export-project-icon .icon{width:18px;height:18px;color:var(--muted)}.export-project small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere;line-height:1.6;margin-top:6px}.export-version{font-size:11px;color:#8a7b98;display:block;margin-top:6px;line-height:1.6}.export-block-reason{font-size:12px;line-height:1.7;color:var(--muted);margin-top:9px;max-width:400px}.export-output span{font-size:13px}.export-output small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.export-status{display:grid;justify-items:start;gap:8px}.export-status small{font-size:12px;color:var(--muted)}.export-status progress{width:100%;max-width:120px;height:5px}.export-status-badge{padding:6px 9px;border-radius:6px;background:var(--soft);color:var(--muted);border:1px solid var(--line);font-size:12px;white-space:nowrap}.export-status-completed{background:#e9fff6;color:#087a50;border-color:#bcebd8}.export-status-running{background:#f3eff8;border-color:#d8cce7;color:#4c3564}.export-status-blocked,.export-status-interrupted{background:#fff9ed;color:#8a6016;border-color:#eadcbf}.export-status-failed{background:#fff0f3;border-color:#f0d0d9;color:#a32643}.export-processing{font-size:12px;line-height:1.7;color:var(--muted)}.export-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px}.export-actions .button{font-size:13px;min-height:38px;padding:9px 12px}.export-actions .text-button{font-size:12px}.export-actions .icon-button{width:36px;height:36px;border:1px solid transparent;background:transparent;color:var(--muted)}.export-actions .icon-button:hover{border-color:var(--line);background:var(--soft)}.export-queue-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:15px}
@media(max-width:1200px){.page{padding:28px}.topbar{padding:0 28px}.export-table-heading,.export-row{grid-template-columns:minmax(180px,1.8fr) 100px 120px 135px;gap:15px}.export-table-heading>span:nth-child(4),.export-processing{display:none}}
@media(max-width:980px){:root{--sidebar-width:192px}.shell .sidebar .brand{gap:8px;font-size:14px}.brand img{width:30px;height:30px}.sidebar nav a{font-size:13px}.page-heading{align-items:flex-start}.export-toolbar{flex-direction:column;align-items:stretch;gap:12px}.export-search input{width:100%}.export-table-heading{display:none}.export-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}.export-project{grid-column:1;grid-row:1}.export-status{grid-column:2;grid-row:1;justify-items:end}.export-output{grid-column:1;grid-row:2;padding-left:48px;display:flex;gap:8px;align-items:center}.export-output small{margin:0}.export-processing{display:block;grid-column:1;grid-row:3;padding-left:48px}.export-actions{grid-column:2;grid-row:2/span 2;align-self:end}.export-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){:root{--sidebar-width:0px;--topbar-height:0px}.shell{display:block}.shell .sidebar{position:sticky;inset:0 auto auto 0;width:100%;height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 18px;background:white;backdrop-filter:none;border-right:0;border-bottom:1px solid var(--line)}.shell .sidebar .brand{margin:0;padding:0;min-height:40px;gap:9px;font-size:16px;grid-column:1;grid-row:1}.brand img{width:32px;height:32px}.shell .sidebar nav{position:fixed;inset:auto 0 0;z-index:55;height:calc(72px + env(safe-area-inset-bottom));padding:8px 12px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line)}.shell .sidebar nav a{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:52px;padding:5px 2px;border-radius:9px;font-size:11px;line-height:1.2;text-align:center;white-space:nowrap}.sidebar nav a svg{width:20px;height:20px}.nav-count{position:absolute;right:9px;top:0;margin:0;font-size:10px;min-width:17px;padding:2px 4px}.sidebar-bottom{display:none}.app-body{margin:0}.topbar{position:static;height:0;padding:0;border:0;background:none;backdrop-filter:none}.topbar>.breadcrumb,.topbar>.build-label{display:none}#main{min-height:calc(100dvh - 136px);padding-bottom:calc(72px + env(safe-area-inset-bottom))}.page{padding:26px 18px 34px}.page-heading{gap:18px;flex-wrap:wrap;margin-bottom:24px}h1{font-size:27px;letter-spacing:-.65px}.page-heading p{font-size:13px;line-height:1.7}.section-heading{margin-top:24px;gap:14px}.section-heading h2{font-size:17px}.button{font-size:14px;min-height:44px;padding:11px 14px}.field input,.field textarea,.field select{font-size:16px}.field>span{font-size:14px}.form-grid{grid-template-columns:1fr}.empty-state{padding:36px 20px;min-height:250px}.toast{right:18px;left:18px;max-width:none;bottom:calc(88px + env(safe-area-inset-bottom));font-size:13px;padding:13px 16px}.skip-link{left:16px}.exports-page>.page-heading{flex-wrap:nowrap}.exports-page>.page-heading .button{font-size:12px;min-height:40px;padding:9px 11px}.exports-page>.page-heading h1{font-size:25px}.export-overview{gap:10px;margin-bottom:20px}.export-overview>div{padding:15px 16px;gap:5px}.export-overview strong{font-size:25px}.export-overview span{font-size:12px}.export-filters{gap:3px;justify-content:space-between}.export-filters button{font-size:12px;padding:9px 6px;min-height:38px}.export-search input{font-size:16px}.export-row{padding:18px 15px;gap:12px}.export-project-icon{display:none}.export-project a,.export-project strong,.export-project .export-content-name{font-size:13px}.export-output,.export-processing{padding-left:0}.export-project small{font-size:11px}.export-version{font-size:11px}.export-status-badge{font-size:11px}.export-actions .button{font-size:12px;min-height:38px}.export-block-reason{font-size:12px}.export-output span,.export-processing{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
