:root{--background: #f5f7fb;--surface: #ffffff;--surface-soft: #f8fafc;--canvas: #eef3f8;--border: #d7e0eb;--border-strong: #b9c7d8;--text: #0f172a;--muted: #64748b;--accent: #2563eb;--accent-dark: #1d4ed8;--accent-soft: #eff6ff;--success: #16a34a;--shadow: 0 12px 32px rgba(15, 23, 42, .06);font-family:Segoe UI,system-ui,sans-serif;color:var(--text);background:var(--background)}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}#root{width:100%;height:100%;min-height:0}body{background:var(--background);font-size:14px}button,select{font:inherit;color-scheme:light}select option{color:var(--text);background:var(--surface)}button{border:0}.app-shell{width:100%;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0;padding:0;background:var(--surface)}.topbar,.panel{background:var(--surface)}.topbar{min-height:76px;border-bottom:1px solid #d2dce8;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;min-width:0;gap:14px}.brand-mark{width:44px;height:44px;flex:0 0 44px;border-radius:11px;display:grid;place-items:center;background:#172f68;overflow:hidden}.brand-mark img{width:31px;height:31px;object-fit:contain}.brand-name{font-size:24px;line-height:25px;font-weight:700;letter-spacing:-.04em;color:#15356d}.brand-subtitle{color:var(--muted);font-size:12px;margin-top:2px;white-space:nowrap}.app-build{display:inline-flex;align-items:center;gap:5px;align-self:center;margin-left:auto;margin-right:18px;color:#8a9bb1;font-size:9px;white-space:nowrap}.app-build-separator{color:#c3cfdd}.bridge-update-card{flex:0 1 260px;max-width:320px;min-height:30px;display:grid;grid-template-columns:7px minmax(88px,1fr) auto auto auto;align-items:center;gap:7px;margin-right:4px;padding:5px 8px;border:1px solid #dbe5f0;border-radius:8px;background:#f8fafc}.bridge-update-card[hidden]{display:none}.bridge-update-dot{width:7px;height:7px;border-radius:999px;background:#94a3b8}.bridge-update-card[data-bridge-update-status=not-installed] .bridge-update-dot,.bridge-update-card[data-bridge-update-status=unsupported] .bridge-update-dot,.bridge-update-card[data-bridge-update-status=error] .bridge-update-dot{background:#ef4444}.bridge-update-card[data-bridge-update-status=update-available] .bridge-update-dot{background:#f59e0b}.bridge-update-card[data-bridge-update-status=updating] .bridge-update-dot{background:#2563eb;animation:bridgePulse 1s ease-in-out infinite}.bridge-update-card[data-bridge-update-status=current] .bridge-update-dot,.bridge-update-card[data-bridge-update-status=updated] .bridge-update-dot{background:var(--success)}.bridge-update-copy{min-width:0;display:grid;gap:2px}#bridge-update-title{color:var(--text);font-size:10px;font-weight:800}#bridge-update-detail{overflow:hidden;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:9px}.bridge-update-card .compact{min-width:58px;height:22px;padding:0 8px;font-size:9px}@keyframes bridgePulse{0%,to{opacity:.55}50%{opacity:1}}.app-settings-button{width:30px;height:30px;display:inline-grid;place-items:center;flex:0 0 30px;margin-right:2px;padding:0;border-radius:8px;color:#7890ad;background:transparent;cursor:pointer}.app-settings-button:hover{color:var(--accent);background:var(--accent-soft)}.app-settings-button:focus-visible{outline:2px solid rgba(37,99,235,.2);outline-offset:2px}.app-settings-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.codex-account{min-width:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0;border:0;background:transparent}.codex-account-mark{width:9px;height:9px;flex:0 0 9px;display:grid;place-items:center;border-radius:50%;background:#e2e8f0}.codex-account-mark span{width:5px;height:5px;border-radius:50%;background:#94a3b8}.codex-account-mark.connected{background:#dcfce7}.codex-account-mark.connected span{background:var(--success)}.codex-account-copy{min-width:150px;max-width:230px;display:grid;gap:3px}.codex-account-title{overflow:hidden;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:700}#codex-account-status{overflow:hidden;color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:10px}.codex-account .compact{width:auto;min-width:86px;padding:0 8px;font-size:10px}.workspace{--workflow-pane-width: 41.86%;min-height:0;display:grid;grid-template-columns:minmax(390px,var(--workflow-pane-width)) 10px minmax(540px,1fr);gap:0}.panel{min-width:0;min-height:0;border:0;border-radius:0;padding:20px 28px;box-shadow:none}.workflow-panel{border-right:0}.preview-panel{padding-left:24px}.workflow-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.preview-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px}.preview-body{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 194px;gap:12px}.preview-panel:not(.has-vector-inspector) .preview-body{grid-template-columns:minmax(0,1fr)}.workspace-divider{position:relative;z-index:3;min-width:10px;height:100%;display:grid;place-items:center;border:0;background:#f8fafc;cursor:col-resize;touch-action:none;user-select:none}.workspace-divider:before{content:"";position:absolute;inset:0 4px;border-left:1px solid #d2dce8;border-right:1px solid transparent;transition:background-color .16s ease,border-color .16s ease}.workspace-divider span{position:relative;width:3px;height:42px;border-radius:3px;background:#b9c7d8;opacity:.86;transition:background-color .16s ease,height .16s ease,opacity .16s ease}.workspace-divider:hover:before,.workspace-divider:focus-visible:before,.workspace-divider.is-dragging:before{border-color:#bfdbfe;background:#eff6ff}.workspace-divider:hover span,.workspace-divider:focus-visible span,.workspace-divider.is-dragging span{height:56px;background:var(--accent);opacity:1}.workspace-divider:focus-visible{outline:2px solid rgba(37,99,235,.18);outline-offset:-2px}.workspace-divider.is-dragging,body.is-resizing-workspace{cursor:col-resize}.workspace-divider.is-dragging *,body.is-resizing-workspace *{cursor:col-resize!important}.panel-heading,.preview-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.workflow-panel>.panel-heading,.preview-panel>.preview-toolbar{padding-bottom:12px;border-bottom:1px solid #cbd7e5}.workflow-mode-control{display:flex;align-items:center;gap:8px;min-width:0}.workflow-mode-label{color:var(--muted);font-size:10px;font-weight:650;white-space:nowrap}.workflow-mode-toggle{min-width:0;display:inline-flex;align-items:center;gap:4px}.workflow-mode-toggle button{height:28px;padding:0 10px;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer;font:inherit;font-size:10px;font-weight:650;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.workflow-mode-toggle button:hover:not(:disabled){color:var(--text);background:#f8fafc}.workflow-mode-toggle button:active:not(:disabled){transform:translateY(1px)}.workflow-mode-toggle button[aria-checked=true]{color:var(--accent-dark);border-color:#c4d8f3;background:linear-gradient(180deg,#f6f9ff,#edf4ff);box-shadow:0 1px 2px #2563eb14}.workflow-mode-toggle button:focus-visible{outline:2px solid rgba(37,99,235,.18);outline-offset:1px}.workflow-mode-toggle button:disabled{color:#a8b4c3;cursor:default}h1,h2{margin:0;font-size:18px;line-height:23px;letter-spacing:-.02em}h2{font-size:18px}p{margin:2px 0 0;color:var(--muted);font-size:12px}.live-dot{width:8px;height:8px;margin:7px 3px 0 0;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px #dcfce7}.input-section{display:grid;gap:6px}.field-label{color:var(--muted);font-size:11px;font-weight:600}.input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0}.path-field{min-width:0;height:34px;display:flex;align-items:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:1px solid var(--border-strong);border-radius:9px;padding:0 11px;color:var(--muted);background:var(--surface-soft);font-size:12px}.path-field.has-value{color:var(--text);background:var(--surface)}.stages{min-height:0;display:flex;flex-direction:column;gap:0;overflow-x:hidden;overflow-y:auto;padding:2px 4px 4px 0;scrollbar-width:thin;scrollbar-color:#b9c7d8 transparent;overscroll-behavior:contain;overflow-anchor:none}.stage-card{min-height:84px;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;position:relative;padding:14px 0 14px 12px;border:0;border-bottom:1px solid #cbd7e5;border-radius:0;background:transparent;box-shadow:none;cursor:default;transition:background-color .14s ease,opacity .14s ease}.stage-card[hidden]{display:none}.stage-card.stage-selectable{cursor:default}.stage-card.stage-selectable:hover{background:#f8fbff}.stage-card.preview-selected{background:#f4f8ff}.stage-card.preview-selected:hover{background:#f1f6ff}.stage-card.stage-locked{opacity:.52;cursor:default}.stage-card.stage-locked .stage-control-locked{cursor:default}.stage-control-locked,.stage-control-locked:hover,.stage-control-locked:active,.stage-control-locked:focus-visible{opacity:.48!important;filter:grayscale(.2)!important;cursor:default!important;pointer-events:none!important;transform:none!important;transition:none!important}.stage-generation{min-height:320px;grid-template-columns:minmax(0,1fr);align-items:start}.stage-generation .stage-info{width:100%}.stage-generation .stage-side-status-only{position:absolute;right:0;bottom:14px}.stage-card:first-child{border-top:1px solid #cbd7e5}.stage-card:before{content:"";position:absolute;left:2px;top:14px;bottom:14px;width:2px;border-radius:2px;background:transparent}.stage-card.active:before,.stage-card.processing:before{background:var(--accent)}.stage-card.active{background:transparent}.stage-card.active:before{width:3px}.stage-card.active .stage-number{color:var(--accent-dark);border-color:#9fc0eb;background:#edf4ff;box-shadow:0 0 0 3px #2563eb12,inset 0 0 0 1px #ffffffb3}.stage-card.active .stage-title{color:#102f63}.stage-card.active .stage-description{color:#4d6a90}.stage-card.completed:before{background:var(--success)}.stage-card.omitted:before{background:#94a3b8}.stage-card.completed .stage-number{color:#15803d;border-color:#bbf7d0;background:#f0fdf4}.stage-heading{min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px}.stage-number{width:30px;height:30px;display:grid;place-items:center;border:1px solid #c6d7eb;border-radius:50%;color:var(--accent);background:#f1f6ff;box-shadow:inset 0 0 0 1px #ffffff8c;font-weight:600;font-size:12px}.stage-info{min-width:0;overflow:hidden;padding:2px 0}.stage-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:700;letter-spacing:-.01em}.stage-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;color:#526783;font-size:11px}.stage-tool-row{min-width:0;display:flex;align-items:center;gap:6px;min-height:22px;margin:4px 0 0 40px}.stage-tool-caption{flex:0 0 auto;color:#70839e;font-size:10px}.stage-tool-select{display:none}.tool-select-control{min-width:0;max-width:230px}.tool-select-trigger{min-width:0;max-width:230px;height:26px;display:flex;align-items:center;gap:8px;padding:0 24px 0 9px;overflow:hidden;position:relative;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;text-align:left;font-size:10px}.tool-select-trigger:after{content:"";width:7px;height:7px;position:absolute;right:9px;top:8px;border-right:1.5px solid #94a3b8;border-bottom:1.5px solid #94a3b8;transform:rotate(45deg);transition:transform .16s ease,top .16s ease}.tool-select-trigger:hover:not(:disabled),.tool-select-trigger[aria-expanded=true]{border-color:#bfdbfe;color:var(--accent);background:var(--accent-soft)}.tool-select-trigger[aria-expanded=true]:after{top:11px;transform:rotate(225deg)}.tool-select-trigger:focus-visible{border-color:#93c5fd;outline:2px solid rgba(37,99,235,.12);outline-offset:1px}.tool-select-trigger:disabled{color:#94a3b8;cursor:default;opacity:.88}.tool-menu{width:max-content;min-width:218px;max-width:290px;position:fixed;z-index:1000;padding:4px;border:1px solid #dbe5f1;border-radius:10px;background:#fffffffa;box-shadow:0 14px 28px #0f172a26,0 2px 6px #0f172a12}.tool-menu[hidden]{display:none}.tool-menu-option-row{width:100%;min-height:28px;display:flex;align-items:stretch;gap:2px;border-radius:7px}.tool-menu-option{min-width:0;flex:1 1 auto;min-height:28px;display:grid;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:5px;padding:4px 7px;border:0;border-radius:6px;color:var(--text);background:transparent;cursor:pointer;text-align:left;font-size:10px;line-height:1.15}.tool-menu-option:hover:not(:disabled),.tool-menu-option[aria-selected=true]{color:var(--accent-dark);background:var(--accent-soft)}.tool-menu-option[aria-selected=true]:before{content:"✓";color:var(--accent);font-size:12px;font-weight:700}.tool-menu-option:not([aria-selected=true]):before{content:""}.tool-menu-option:disabled{color:#94a3b8;background:#f8fafc;cursor:not-allowed}.tool-menu-option-label{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tool-menu-option-reason{display:block;margin-top:1px;color:#94a3b8;font-size:8.5px;line-height:1.1}.tool-menu-install{width:28px;flex:0 0 28px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;color:#7892b2;background:transparent;cursor:pointer}.tool-menu-install:hover:not(:disabled),.tool-menu-install:focus-visible{color:var(--accent);background:var(--accent-soft);outline:none}.tool-menu-install:disabled{color:var(--accent);background:#f4f8ff;cursor:default}.tool-menu-install svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-menu-install-spinner{width:12px;height:12px;display:block;border:1.5px solid #c9d9ef;border-top-color:var(--accent);border-radius:50%;animation:inkora-spin .8s linear infinite}.vectorization-settings{margin:8px 0 0 40px;border-top:1px solid #eef2f7}.vectorization-settings summary{width:fit-content;padding:6px 0 4px;color:var(--muted);cursor:pointer;font-size:10px;font-weight:650;list-style-position:outside}.vectorization-settings summary:hover{color:var(--accent)}.vectorization-settings summary:focus-visible{outline:2px solid rgba(37,99,235,.16);outline-offset:2px;border-radius:4px}.vector-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;padding:2px 0}.vector-setting{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--muted);font-size:9px}.vector-setting>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.vector-setting select,.vector-setting input[type=number]{width:76px;height:24px;min-width:0;padding:0 5px;border:1px solid var(--border);border-radius:6px;color:var(--text);background:var(--surface);font:inherit;font-size:10px;outline:none}.vector-setting select{width:92px}.vector-setting select:focus,.vector-setting input[type=number]:focus{border-color:#93c5fd;box-shadow:0 0 0 2px #2563eb14}.vector-setting select:disabled,.vector-setting input:disabled{color:#94a3b8;background:var(--surface-soft)}.vector-setting-check{justify-content:flex-start}.vector-setting-check input{width:15px;height:15px;margin:0 2px 0 auto;accent-color:var(--accent)}.vector-settings-note{margin:5px 0 7px;color:#94a3b8;font-size:9px;line-height:1.3}.stage-path{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;color:var(--muted);font-size:10px}.stage-path.has-value{color:var(--text)}.stage-file-row{min-width:0;display:none;align-items:center;gap:7px;margin-top:5px}.stage-file-row.has-file{display:flex}.stage-file-path{min-width:0;overflow:hidden;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:10px}.stage-file-path.has-value{color:var(--text);cursor:pointer}.stage-file-path.has-value:hover{color:var(--accent);text-decoration:underline;text-decoration-color:#bfdbfe;text-underline-offset:2px}.stage-file-path.is-disabled{cursor:default}.stage-file-actions{display:flex;align-items:center;flex:0 0 auto;gap:3px}.stage-side{min-width:150px;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;align-self:start;gap:6px}.stage-card:not(.stage-generation) .stage-side{align-self:stretch;justify-content:space-between}.stage-side-status-only{min-width:74px;padding-top:2px;justify-content:flex-end}.stage-status{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:1px;color:#71839a;font-size:11px;white-space:nowrap}.stage-status i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#8395ab}.stage-status.complete{color:var(--success);font-weight:600}.stage-status.complete i{background:var(--success)}.stage-status.current{color:var(--accent)}.stage-status.current i{background:var(--accent)}.stage-status.waiting{color:#c27a08;font-weight:600}.stage-status.waiting i{background:#f59e0b}.stage-status.omitted{color:var(--muted);font-weight:600}.stage-status.omitted i{background:#94a3b8}.stage-status.processing{color:var(--accent);font-weight:650}.stage-status.processing i{width:11px;height:11px;flex-basis:11px;border:2px solid #bfdbfe;border-top-color:var(--accent);background:transparent;animation:inkora-spin .8s linear infinite}.stage-cancel-button{width:22px;height:22px;display:inline-grid;place-items:center;flex:0 0 22px;padding:0;border:1px solid #f1b7b7;border-radius:6px;color:#b42318;background:#fff7f7;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease}.stage-cancel-button[hidden]{display:none}.stage-cancel-button:hover{border-color:#dc7f7f;background:#feecec}.stage-cancel-button:active{transform:translateY(1px)}.stage-cancel-button:focus-visible{outline:2px solid rgba(180,35,24,.2);outline-offset:1px}.stage-cancel-button svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2}.modeling-stage{min-height:116px}.modeling-stage-disabled{opacity:.82}.modeling-stage-detail{display:flex;align-items:baseline;gap:9px;margin-top:10px}.modeling-stage-detail .stage-tool-caption{flex:0 0 auto}.modeling-dimensions,.modeling-ring-spec{color:var(--text);font-size:10px;font-weight:650}.modeling-stage-hint{margin-top:7px;color:#94a3b8;font-size:9px;line-height:1.3}.modeling-stage-detail .modeling-stage-hint{margin-top:0}.mode-tabs{display:flex;gap:4px;margin-top:12px;padding:0}.mode-tab{flex:0 0 auto;height:30px;padding:0 12px;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer;font-size:11px;font-weight:650;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.mode-tab:hover{color:var(--text);background:#f8fafc}.mode-tab:active{transform:translateY(1px)}.mode-tab.active{color:var(--accent-dark);border-color:#c4d8f3;background:linear-gradient(180deg,#f6f9ff,#edf4ff);box-shadow:0 1px 2px #2563eb14}.mode-tab:focus-visible{outline:3px solid rgba(37,99,235,.16);outline-offset:1px}.generation-mode,.import-mode{min-width:0}.generation-mode{margin-top:10px;padding-top:10px;border-top:1px solid #cbd7e5}.chat-shell{min-width:0;display:grid;grid-template-columns:144px minmax(0,1fr);gap:12px;transition:grid-template-columns .16s ease,gap .16s ease}.chat-shell.is-sidebar-collapsed{grid-template-columns:36px minmax(0,1fr);gap:8px}.chat-sidebar{min-width:0;display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid #dbe6f3;border-radius:10px;background:#f8fbff;transition:width .16s ease,padding .16s ease,gap .16s ease}.chat-sidebar-header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:4px}.chat-sidebar-heading{color:#334e73;font-size:10px;font-weight:700}.chat-sidebar-collapse{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;padding:0;border:1px solid transparent;border-radius:6px;color:#7892b2;background:transparent;cursor:pointer}.chat-sidebar-collapse:hover{border-color:#cbdcf4;color:var(--accent);background:#eef5ff}.chat-sidebar-collapse:focus-visible{outline:2px solid rgba(37,99,235,.18);outline-offset:1px}.chat-sidebar-collapse svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-sidebar-nav{min-width:0;display:grid;gap:3px}.chat-nav-item{min-width:0;min-height:30px;display:flex;align-items:center;gap:7px;padding:5px 7px;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;text-align:left;font-size:10px;font-weight:650;transition:background .16s ease,border-color .16s ease,color .16s ease}.chat-nav-item:hover:not(:disabled){border-color:#cbdcf4;color:var(--text);background:#eef5ff}.chat-nav-item.is-active,.chat-nav-item[aria-current=page]{border-color:#bfdbfe;color:var(--accent-dark);background:#eaf3ff}.chat-nav-item:focus-visible{outline:2px solid rgba(37,99,235,.18);outline-offset:1px}.chat-nav-item:disabled{color:#a8b4c3;cursor:default}.chat-nav-item svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chat-nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-main{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px}.chat-toolbar{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.chat-toolbar-title{min-width:0;display:flex;align-items:center;gap:6px;color:var(--text);font-size:10px;font-weight:700}.chat-toolbar-mark{width:17px;height:17px;display:grid;place-items:center;border-radius:5px;color:var(--accent);background:var(--accent-soft);font-size:10px}.chat-toolbar-title span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-history-panel{min-width:0;margin:2px 0 0;padding-top:8px;border-top:1px solid #dbe6f3}.chat-history-panel[hidden]{display:none}.chat-history-heading{display:grid;gap:3px;margin-bottom:6px}.chat-history-heading strong{color:var(--text);font-size:10px}.chat-history-heading span{color:#94a3b8;font-size:9px}.chat-history-list{min-width:0;display:flex;flex-direction:column;gap:3px;max-height:150px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.chat-history-empty{padding:9px 6px;color:#94a3b8;font-size:10px;text-align:center}.chat-history-item{min-width:0;display:flex;align-items:center;gap:7px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:7px;color:var(--text);background:transparent;cursor:pointer;text-align:left}.chat-history-item:hover{border-color:#cbdcf4;background:#eef5ff}.chat-history-item.is-current{border-color:#bfdbfe;background:#eaf3ff}.chat-history-item-copy{min-width:0;display:grid;gap:2px;flex:1 1 auto}.chat-history-item-title{overflow:hidden;color:#334e73;font-size:10px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.chat-history-item-meta{overflow:hidden;color:#94a3b8;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.chat-history-item-current{flex:0 0 auto;color:var(--accent);font-size:9px;font-weight:650}.chat-sidebar.is-collapsed{padding-left:5px;padding-right:5px;gap:7px}.chat-sidebar.is-collapsed .chat-sidebar-header{justify-content:center}.chat-sidebar.is-collapsed .chat-sidebar-heading,.chat-sidebar.is-collapsed .chat-nav-label,.chat-sidebar.is-collapsed .chat-history-panel{display:none}.chat-sidebar.is-collapsed .chat-sidebar-collapse svg{transform:rotate(180deg)}.chat-sidebar.is-collapsed .chat-nav-item{justify-content:center;padding-left:5px;padding-right:5px}.chat-composer{position:relative;min-width:0;margin-top:8px}.generation-instruction{width:100%;height:48px;min-height:48px;max-height:48px;display:block;resize:none;margin-top:0;padding:8px 155px 8px 10px;border:1px solid var(--border-strong);border-radius:10px;color:var(--text);background:var(--surface);font:inherit;font-size:11px;line-height:1.35;outline:none}.generation-instruction::placeholder{color:#94a3b8}.generation-instruction:focus{border-color:#93c5fd;box-shadow:none}.chat-send{position:absolute;right:7px;bottom:7px;width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;color:var(--accent);background:transparent;cursor:pointer;box-shadow:none;line-height:0;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.chat-send:hover:not(:disabled){color:var(--accent-dark);background:var(--accent-soft);box-shadow:0 3px 8px #2563eb24;transform:translateY(-1px)}.chat-send:active:not(:disabled){color:#1e40af;background:#dbeafe;box-shadow:none;transform:translateY(1px)}.chat-send:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:1px}.chat-send svg{width:18px;height:18px;display:block;margin:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.chat-send:disabled{color:#b4c0cf;border-color:transparent;background:transparent;cursor:default}.chat-cancel{border-radius:8px;color:#526783;background:#eef2f7}.chat-cancel:hover:not(:disabled){color:#b42318;background:#fee4e2;box-shadow:0 3px 8px #b4231824}.chat-cancel:active:not(:disabled){color:#912018;background:#fecaca}.chat-cancel svg{width:18px;height:18px;display:block;margin:0;stroke-width:2.2}.chat-provider-control{position:absolute;z-index:1;right:81px;bottom:7px;width:30px;height:30px;display:grid;place-items:center}.chat-provider-control .tool-select-control{width:30px;height:30px;display:grid;place-items:center}.chat-provider-control .tool-select-trigger{width:30px;height:30px;display:grid;place-items:center;gap:0;justify-content:center;padding:0;border-color:transparent;border-radius:50%;color:#8091a8;background:transparent;font-size:0;line-height:0}.chat-provider-control .tool-select-trigger:before{display:none}.chat-provider-control .tool-select-trigger:after{display:none}.chat-provider-control .tool-select-trigger-icon{width:18px;height:18px;display:block;fill:currentColor}.chat-provider-control .tool-select-trigger:hover:not(:disabled),.chat-provider-control .tool-select-trigger[aria-expanded=true]{border-color:transparent;color:var(--accent);background:var(--accent-soft);box-shadow:0 3px 8px #2563eb1f;transform:translateY(-1px)}.chat-provider-control .tool-select-trigger:disabled{color:#a8b4c3}.chat-codex-control{position:absolute;z-index:4;right:118px;bottom:7px;width:30px;height:30px;display:grid;place-items:center}.chat-codex-trigger{width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;color:#8091a8;background:transparent;cursor:pointer;line-height:0;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.chat-codex-trigger:hover:not(:disabled),.chat-codex-trigger[aria-expanded=true]{color:var(--accent);background:var(--accent-soft);box-shadow:0 3px 8px #2563eb1f;transform:translateY(-1px)}.chat-codex-trigger:active:not(:disabled){transform:translateY(1px)}.chat-codex-trigger:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:1px}.chat-codex-trigger:disabled{color:#a8b4c3;background:transparent;cursor:default}.chat-codex-trigger svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chat-codex-menu{position:absolute;right:-4px;bottom:38px;width:232px;padding:10px 11px;border:1px solid #cbd9ea;border-radius:10px;background:#fffffffa;box-shadow:0 10px 26px #0f172a29}.chat-codex-menu[hidden]{display:none}.chat-codex-menu-heading{display:grid;gap:2px;padding:0 1px 8px;border-bottom:1px solid #edf2f7}.chat-codex-menu-heading strong{color:var(--text);font-size:11px;font-weight:700}.chat-codex-menu-heading span{color:var(--muted);font-size:9px}.chat-codex-setting{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:8px;padding-top:8px;color:var(--muted);font-size:10px}.chat-codex-setting select{min-width:0;width:100%;height:27px;padding:0 6px;border:1px solid #c7d5e5;border-radius:6px;color:var(--text);background:#fff;font:inherit;font-size:9px}.chat-codex-setting select:focus-visible{outline:2px solid rgba(37,99,235,.2);outline-offset:1px}.chat-codex-setting select:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed}.chat-voice{position:absolute;right:44px;bottom:7px;width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;color:#8091a8;background:transparent;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.chat-voice:hover:not(:disabled){color:var(--accent);background:var(--accent-soft);box-shadow:0 3px 8px #2563eb1f;transform:translateY(-1px)}.chat-voice:active:not(:disabled){transform:translateY(1px)}.chat-voice:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:1px}.chat-voice svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chat-voice.is-listening{color:#dc2626;border-color:#fecaca;background:#fef2f2}.chat-voice.is-listening svg{animation:inkora-mic-pulse 1.1s ease-in-out infinite}.chat-voice:disabled{color:#a8b4c3;background:transparent;cursor:default}@keyframes inkora-mic-pulse{50%{transform:scale(1.12)}}.generation-output{min-width:0;display:flex;align-items:center;gap:7px;margin-top:6px}.generation-output-label{flex:0 0 auto;color:#94a3b8;font-size:10px;font-weight:600}.generation-output-toggle{min-width:0;display:inline-flex;align-items:center;gap:4px}.generation-output-toggle button{min-width:0;height:25px;padding:0 9px;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer;font:inherit;font-size:10px;font-weight:650;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.generation-output-toggle button:hover:not(:disabled){color:var(--text);background:#f8fafc}.generation-output-toggle button:active:not(:disabled){transform:translateY(1px)}.generation-output-toggle button[aria-checked=true]{color:var(--accent-dark);border-color:#c4d8f3;background:linear-gradient(180deg,#f6f9ff,#edf4ff);box-shadow:0 1px 2px #2563eb14}.generation-output-toggle button:focus-visible{outline:2px solid rgba(37,99,235,.18);outline-offset:1px}.generation-output-toggle button:disabled{color:#a8b4c3;cursor:default}.generation-hint{margin-top:5px;color:#94a3b8;font-size:9px;line-height:1.25}.reference-row{min-width:0;display:flex;align-items:center;gap:8px;margin-top:7px}.reference-row[hidden],.generation-mode[hidden],.import-mode[hidden]{display:none}.chat-composer.has-reference{padding-top:43px}.chat-attachment{position:absolute;z-index:1;top:5px;left:8px;right:8px;min-height:34px;margin-top:0;padding:2px 4px;border:1px solid #e2ebf6;border-radius:8px;background:#f8fbff}.chat-attachment .reference-thumbnail{width:30px;height:30px;margin-top:0;border-radius:6px}.chat-attachment .reference-name{color:#526783;font-size:10px}.chat-attachment .clear-reference{width:24px;height:24px;flex-basis:24px}.reference-name{min-width:0;overflow:hidden;flex:1 1 auto;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px}.clear-reference{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.clear-reference svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.clear-reference:hover:not(:disabled){color:#dc2626;background:#fef2f2}.reference-thumbnail{width:42px;height:42px;margin-top:7px;border:1px solid var(--border);border-radius:7px;object-fit:cover;cursor:zoom-in}.generation-history{min-width:0;min-height:132px;display:flex;flex-direction:column;gap:8px;justify-content:flex-start;margin-top:8px;max-height:190px;overflow-y:auto;padding:8px 3px 4px 0;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;overscroll-behavior:contain;overflow-anchor:none}.chat-empty{min-height:112px;display:grid;place-content:center;justify-items:center;gap:7px;color:var(--muted);text-align:center}.chat-empty-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;color:var(--accent);background:var(--accent-soft);font-size:16px}.chat-empty-copy{display:grid;gap:2px}.chat-empty-copy strong{color:var(--text);font-size:11px;font-weight:650}.chat-empty-copy span{font-size:10px}.chat-turn{min-width:0;display:flex;flex-direction:column;gap:7px}.chat-message{max-width:88%;display:flex;flex-direction:column;gap:3px}.chat-message-user{align-self:flex-end;align-items:flex-end}.chat-message-assistant{align-self:flex-start;align-items:flex-start}.chat-author{padding:0 3px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.02em}.chat-message-user .chat-author{color:var(--accent)}.chat-bubble{min-width:0;padding:7px 9px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--surface-soft);font-size:10px;line-height:1.35;overflow-wrap:anywhere}.chat-message-user .chat-bubble{border-color:#bfdbfe;border-bottom-right-radius:4px;color:#1e3a8a;background:var(--accent-soft)}.chat-message-assistant .chat-bubble{border-bottom-left-radius:4px;background:var(--surface)}.chat-turn.selected .chat-message-assistant .chat-bubble{border-color:#bfdbfe;background:#f8fbff}.turn-response{color:var(--muted);font-size:10px}.turn-label-waiting{color:#b45309}.pending-spinner{width:10px;height:10px;display:inline-block;margin:0 6px 0 1px;vertical-align:-1px;border:1.5px solid #fed7aa;border-top-color:#f59e0b;border-radius:50%;animation:pending-spinner-spin .8s linear infinite}@keyframes pending-spinner-spin{to{transform:rotate(360deg)}}.generation-timing{margin-top:8px;padding-top:7px;border-top:1px solid #edf2f7;color:var(--muted);font-size:9px}.generation-timing-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 6px;border-radius:6px;color:#526783;background:#f8fafc}.generation-timing-total strong{color:var(--accent-dark);font-weight:700}.turn-reference{align-self:flex-end;margin-top:2px}.turn-images{display:grid;grid-template-columns:repeat(2,38px);gap:4px;margin-top:6px}.chat-image{width:38px;height:38px;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:var(--surface);cursor:pointer}.chat-image img{width:100%;height:100%;display:block;object-fit:cover}.chat-image-loading{width:15px;height:15px;display:block;margin:auto;border:1.5px solid #dbeafe;border-top-color:#93c5fd;border-radius:50%;animation:chat-image-loading-spin .9s linear infinite}@keyframes chat-image-loading-spin{to{transform:rotate(360deg)}}.chat-image-unavailable{width:15px;height:15px;display:grid;place-items:center;margin:auto;border:1px solid #cbd5e1;border-radius:50%;color:#94a3b8;font-size:12px;font-weight:600;line-height:1}.chat-image-failed{border-color:#fed7aa;color:#c2410c;background:#fff7ed}.turn-select{align-self:flex-start;min-width:65px;height:26px;margin-top:6px;padding:0 7px;border:1px solid var(--border-strong);border-radius:7px;color:var(--muted);background:var(--surface);cursor:pointer;font-size:10px}.turn-select:hover{color:var(--accent);border-color:#93c5fd}.turn-select:disabled{color:#a8b4c3;border-color:transparent;background:transparent;cursor:default}.chat-turn.selected .turn-select{color:var(--accent);border-color:transparent;background:transparent;cursor:default}.chat-turn.selected .turn-select:hover{color:var(--accent);border-color:transparent;background:transparent}.stage-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;width:auto}.button{min-height:33px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border-radius:8px;cursor:pointer;white-space:nowrap;font-size:12px;font-weight:650;letter-spacing:-.005em;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(1px)}.button:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}.button:disabled{cursor:default;color:#a8b4c3;background:transparent;border-color:transparent;box-shadow:none}.button-primary.processing:disabled{color:#fff;border-color:#2f6fe5;background:linear-gradient(180deg,#2f6fe5,#2563eb);box-shadow:0 2px 4px #2563eb29}.button-secondary.processing:disabled{color:var(--text);border-color:#cbd7e5;background:var(--surface);box-shadow:0 1px 2px #0f172a08}.button-subtle.processing:disabled{color:#526783;border-color:#d8e2ee;background:#f8fafc}.button-ghost.processing:disabled{color:#526783;border-color:transparent;background:transparent}.button.busy-inactive:disabled{cursor:default}.busy-locked,.busy-locked:hover,.busy-locked:active,.busy-locked:focus,.busy-locked:focus-visible,button.busy-locked:hover:not(:disabled),button.busy-locked:active:not(:disabled){pointer-events:none!important;cursor:default!important;transform:none!important;transition:none!important}.button-primary{color:#fff;border:1px solid #2f6fe5;background:linear-gradient(180deg,#2f6fe5,#2563eb);box-shadow:0 2px 4px #2563eb29}.button-primary:hover:not(:disabled){border-color:var(--accent-dark);background:linear-gradient(180deg,#3b7af0,#1d4ed8);box-shadow:0 4px 8px #2563eb38}.button-secondary{color:var(--text);border:1px solid #cbd7e5;background:var(--surface);box-shadow:0 1px 2px #0f172a08}.button-secondary:hover:not(:disabled){border-color:#9fc0eb;color:var(--accent-dark);background:#f7faff;box-shadow:0 2px 5px #0f172a0f}.button-subtle{color:#526783;border:1px solid #d8e2ee;background:#f8fafc}.button-subtle:hover:not(:disabled),.button-ghost:hover:not(:disabled){color:var(--accent-dark);border-color:#a9c7ef;background:#f3f7ff;box-shadow:0 2px 5px #0f172a0d}.button-ghost{color:#526783;border:1px solid transparent;background:transparent}.button-icon{width:14px;height:14px;margin-right:7px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.delete-file-button{height:24px;min-height:24px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;font-size:10px}.delete-file-button{width:25px;padding:0}.delete-file-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.delete-file-button:hover:not(:disabled){color:#dc2626;background:#fef2f2}.delete-file-button:disabled{color:#cbd5e1;cursor:default}.delete-file-button.busy-inactive:disabled{color:var(--muted);background:transparent}.button-processing-spinner{width:13px;height:13px;flex:0 0 13px;margin-right:7px;border:2px solid rgba(255,255,255,.38);border-top-color:currentColor;border-radius:50%;animation:inkora-spin .8s linear infinite}.chat-send.processing:disabled{color:var(--accent);border-color:transparent;background:transparent;cursor:wait}.chat-send.busy-inactive:disabled{color:#b4c0cf;border-color:transparent;background:transparent}.turn-select.processing:disabled{color:var(--muted);border-color:var(--border-strong);background:var(--surface);cursor:default}.button-secondary.busy-inactive:disabled,.button-subtle.busy-inactive:disabled,.button-ghost.busy-inactive:disabled{color:#a8b4c3;border-color:transparent;background:transparent}.button-primary.busy-inactive:disabled{color:#a8b4c3;border-color:transparent;background:transparent;box-shadow:none}.compact{width:auto;min-width:72px;min-height:30px;height:30px;padding:0 10px;border-radius:8px;font-size:10.5px;font-weight:650}.stage-actions .compact{min-width:74px}.folder-button{justify-self:start;min-width:190px}.import-dropzone{width:100%;min-height:150px;display:grid;place-content:center;justify-items:center;gap:7px;margin-top:10px;padding:18px;border:1px dashed #b9c7da;border-radius:12px;color:var(--muted);background:linear-gradient(180deg,#fbfdff,#f5f8fc);cursor:pointer;text-align:center}.import-dropzone:hover,.import-dropzone.dragover{border-color:#93c5fd;color:var(--accent);background:var(--accent-soft)}.import-dropzone:focus-visible{outline:3px solid rgba(37,99,235,.16);outline-offset:2px}.import-dropzone strong{color:var(--text);font-size:12px}.import-dropzone span{font-size:10px}.dropzone-icon{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.preview-toolbar{align-items:center}.preview-toolbar>div:first-child{min-width:0}.preview-toolbar-title{display:flex;align-items:center;gap:8px;min-width:0}.preview-stage-label{overflow:hidden;max-width:min(300px,42vw);color:var(--accent-dark);white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:650}.preview-toolbar p{white-space:nowrap}.preview-toolbar b{color:#94a3b8;font-weight:400}.modeler-host-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:30px}.modeler-host-controls[hidden]{display:none}.modeler-host-controls.is-expanded{position:fixed;z-index:101;top:14px;right:14px}.modeler-host-button{min-height:30px;padding:0 11px;border:1px solid #c6d5e8;border-radius:8px;color:#31547f;background:#fffffff0;box-shadow:0 3px 12px #0f172a24;cursor:pointer;font-size:10px;font-weight:650}.modeler-host-button:hover{border-color:#8eb3e6;color:var(--accent-dark);background:#fff}.modeler-host-button:focus-visible{outline:2px solid rgba(37,99,235,.24);outline-offset:2px}.modeler-host-button[hidden]{display:none}.zoom-label{min-width:72px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--accent);background:var(--accent-soft);font-size:11px;font-weight:650}.preview-button{min-width:70px;height:32px;min-height:32px;padding:0 10px}.preview-canvas{position:relative;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--canvas);user-select:none;touch-action:none;cursor:default}.preview-canvas.has-transparency{background-color:#f8fafc;background-image:linear-gradient(45deg,#e2e8f0 25%,transparent 25%),linear-gradient(-45deg,#e2e8f0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2e8f0 75%),linear-gradient(-45deg,transparent 75%,#e2e8f0 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.preview-canvas.is-processing #preview-image,.preview-canvas.is-processing #preview-svg{opacity:.55;filter:saturate(.78)}.preview-progress{position:absolute;z-index:2;inset:0;display:grid;place-content:center;justify-items:center;gap:12px;padding:24px;color:var(--text);background:#f8fafcb8;backdrop-filter:blur(2px);pointer-events:none;text-align:center}.preview-progress[hidden]{display:none}.preview-loading-spinner{width:26px;height:26px;border:2px solid #dbeafe;border-top-color:var(--accent);border-radius:50%;animation:inkora-spin .8s linear infinite}.preview-progress strong{color:var(--muted);font-size:12px;font-weight:650}@keyframes inkora-spin{to{transform:rotate(360deg)}}.preview-canvas.dragging{cursor:grabbing}.preview-content{position:absolute;left:50%;top:50%;transform-origin:center center;user-select:none}.preview-content[hidden]{display:none}#modeler-frame{position:absolute;z-index:8;inset:0;width:100%;height:100%;border:0;background:#080b12}#modeler-frame[hidden]{display:none}#modeler-frame.modeler-preloaded-hidden{visibility:hidden;opacity:0;pointer-events:none}.preview-canvas.modeler-expanded{overflow:visible}.preview-canvas.modeler-expanded #modeler-frame{position:fixed;z-index:100;inset:0;width:100vw;height:100vh;border-radius:0}#preview-image{display:block;width:100%;height:100%;max-width:none;max-height:none;user-select:none;-webkit-user-drag:none;visibility:hidden}#preview-svg{display:none;width:100%;height:100%}#preview-svg svg{display:block;width:100%;height:100%;overflow:visible}#preview-svg .inkora-color-highlight{fill:#ef1f2d!important}#preview-svg .inkora-element-selected{stroke:#2563eb!important;stroke-width:5!important;stroke-linejoin:round;vector-effect:non-scaling-stroke}#preview-svg .inkora-piece-overlay{fill:#000;fill-opacity:0;stroke:none;pointer-events:all}#preview-svg [data-inkora-piece-index]{cursor:pointer}#preview-svg .inkora-piece-highlight{fill:#ef1f2d}#preview-svg .inkora-piece-selected{stroke:#60a5fa;stroke-width:1.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}.modeling-overlay{position:absolute;inset:0;z-index:3;pointer-events:none}.modeling-overlay[hidden]{display:none}.modeling-preview-dimensions{position:absolute;transform:translate(-50%,-100%);padding:3px 7px;border-radius:6px;color:#475569;background:#ffffffe0;box-shadow:0 1px 4px #0f172a1f;font-size:10px;font-weight:650;line-height:1.2;white-space:nowrap;pointer-events:none}.modeling-bounds{position:absolute;border:1px dashed rgba(37,99,235,.58);pointer-events:none}.resize-handle{position:absolute;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:var(--accent);box-shadow:0 1px 4px #0f172a38;pointer-events:auto;cursor:nwse-resize}.resize-handle-nw{left:-7px;top:-7px;cursor:nwse-resize}.resize-handle-ne{right:-7px;top:-7px;cursor:nesw-resize}.resize-handle-sw{left:-7px;bottom:-7px;cursor:nesw-resize}.resize-handle-se{right:-7px;bottom:-7px;cursor:nwse-resize}.vector-piece-group>summary{display:flex;align-items:center;gap:7px;padding:8px 2px;font-size:10px;color:var(--muted);cursor:pointer}.vector-piece-group>summary:before{content:"›"}.vector-piece-group[open]>summary:before{transform:rotate(90deg)}.vector-piece-group>div{padding-left:6px}.vector-selection-editor{position:sticky;bottom:0;padding-bottom:8px;background:var(--surface)}.preview-empty{display:grid;justify-items:center;gap:7px;color:var(--muted);text-align:center}.preview-empty strong{color:var(--text);font-size:14px}.preview-empty span{font-size:12px}.empty-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:var(--accent);background:var(--accent-soft);font-size:20px}.preview-meta{overflow:hidden;min-width:0;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px}.settings-dialog{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:24px}.settings-dialog[hidden]{display:none}.settings-scrim{position:absolute;inset:0;background:#0f172a2e;backdrop-filter:blur(2px)}.settings-panel{position:relative;width:min(660px,100%);max-height:min(680px,100%);overflow:auto;padding:22px 24px 20px;border:1px solid #d6e0ec;border-radius:16px;background:var(--surface);box-shadow:0 20px 48px #0f172a2e}.settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid var(--border)}.settings-header h2{color:var(--text)}.settings-header p{margin-top:4px}.settings-close{width:28px;height:28px;display:inline-grid;place-items:center;padding:0;border-radius:7px;color:#7890ad;background:transparent;cursor:pointer;font-size:22px;font-weight:300;line-height:1}.settings-close:hover{color:var(--text);background:var(--surface-soft)}.settings-tabs{display:flex;gap:4px;margin:16px 0 2px;padding:4px;border:1px solid #e4ebf3;border-radius:10px;background:#f8fafc}.settings-tab{flex:1 1 0;min-height:31px;padding:0 10px;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;font-size:10.5px;font-weight:650;transition:color .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.settings-tab:hover{color:var(--text);background:#fff}.settings-tab.is-active,.settings-tab[aria-selected=true]{color:var(--accent-dark);border-color:#c4d8f3;background:#fff;box-shadow:0 1px 2px #2563eb14}.settings-tab:focus-visible{outline:2px solid rgba(37,99,235,.2);outline-offset:1px}.settings-tab-panel[hidden]{display:none}.settings-section-title{margin:18px 0 7px;color:var(--text);font-size:11px;font-weight:700}.workflow-stage-settings{display:grid;gap:2px}.workflow-stage-setting{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 4px 8px 0;border-bottom:1px solid #edf2f7;cursor:pointer}.workflow-stage-setting:last-child{border-bottom:0}.workflow-stage-setting span{min-width:0;display:grid;gap:3px}.workflow-stage-setting strong{color:var(--text);font-size:11px;font-weight:650}.workflow-stage-setting small{color:var(--muted);font-size:9px}.workflow-stage-setting input{width:34px;height:20px;appearance:none;position:relative;flex:0 0 34px;margin:0;border:1px solid #c7d5e5;border-radius:999px;background:#e8eef5;cursor:pointer;transition:background .15s ease,border-color .15s ease}.workflow-stage-setting input:after{content:"";width:14px;height:14px;position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a33;transition:transform .15s ease}.workflow-stage-setting input:checked{border-color:#8bb6ed;background:var(--accent)}.workflow-stage-setting input:checked:after{transform:translate(14px)}.workflow-stage-setting input:disabled{opacity:.6;cursor:default}.workflow-stage-setting:has(input:disabled){cursor:default}.codex-settings-grid{display:grid;gap:8px}.codex-setting{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,46%);align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #edf2f7}.codex-setting:last-child{border-bottom:0}.codex-setting span{min-width:0;display:grid;gap:3px}.codex-setting strong{color:var(--text);font-size:11px;font-weight:650}.codex-setting small{color:var(--muted);font-size:9px;line-height:1.3}.codex-setting select{min-width:0;height:29px;padding:0 8px;border:1px solid #c7d5e5;border-radius:7px;color:var(--text);background:#fff;font:inherit;font-size:10px}.codex-setting select:focus-visible{outline:2px solid rgba(37,99,235,.2);outline-offset:1px}.codex-setting select:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed}.generation-specification-profile-setting{grid-template-columns:minmax(0,1fr) minmax(170px,48%)}#generation-specifications-text{width:100%;min-height:250px;resize:vertical;padding:10px 11px;border:1px solid #c7d5e5;border-radius:9px;color:var(--text);background:#fff;font:inherit;font-size:11px;line-height:1.45;outline:none}#generation-specifications-text:focus-visible{border-color:#93c5fd;box-shadow:0 0 0 2px #2563eb14}#generation-specifications-text:read-only{color:#526783;background:#f8fafc;cursor:default}#generation-specifications-text:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed}.modeling-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.modeling-settings-grid .codex-setting{grid-template-columns:minmax(0,1fr) minmax(92px,42%)}.modeling-settings-grid input,.modeling-range-inputs input,.codex-setting>input[type=text]{min-width:0;width:100%;height:29px;padding:0 8px;border:1px solid #c7d5e5;border-radius:7px;color:var(--text);background:#fff;font:inherit;font-size:10px}.modeling-settings-grid input:focus-visible,.modeling-range-inputs input:focus-visible,.codex-setting>input[type=text]:focus-visible{outline:2px solid rgba(37,99,235,.2);outline-offset:1px}.modeling-settings-grid input:disabled,.modeling-range-inputs input:disabled,.codex-setting>input[type=text]:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed}.modeling-range-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.modeling-setting-check{margin-top:2px}#modeling-advanced-instructions{width:100%;min-height:170px;margin-top:14px;resize:vertical;padding:10px 11px;border:1px solid #c7d5e5;border-radius:9px;color:var(--text);background:#fff;font:inherit;font-size:11px;line-height:1.45;outline:none}#modeling-advanced-instructions:focus-visible{border-color:#93c5fd;box-shadow:0 0 0 2px #2563eb14}#modeling-advanced-instructions:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed}.codex-model-visibility{display:grid;gap:2px}.codex-model-visibility-empty{padding:12px 0;color:var(--muted);font-size:10px}.codex-model-setting{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 4px 7px 0;border-bottom:1px solid #edf2f7;cursor:pointer}.codex-model-setting:last-child{border-bottom:0}.codex-model-setting span{min-width:0;display:grid;gap:3px}.codex-model-setting strong{overflow:hidden;color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:650}.codex-model-setting small{color:var(--muted);font-size:9px}.codex-model-setting input{width:34px;height:20px;appearance:none;position:relative;flex:0 0 34px;margin:0;border:1px solid #c7d5e5;border-radius:999px;background:#e8eef5;cursor:pointer;transition:background .15s ease,border-color .15s ease}.codex-model-setting input:after{content:"";width:14px;height:14px;position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a33;transition:transform .15s ease}.codex-model-setting input:checked{border-color:#8bb6ed;background:var(--accent)}.codex-model-setting input:checked:after{transform:translate(14px)}.codex-model-setting input:disabled{opacity:.6;cursor:default}.codex-model-setting:has(input:disabled){cursor:default}.settings-note{margin-top:15px;color:#8a9bb1;font-size:10px;line-height:1.4}.vector-inspector{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px 0 4px 12px;border-left:1px solid var(--border);scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.vector-inspector[hidden]{display:none}.inspector-heading{padding:0 0 9px;border-bottom:1px solid var(--border)}.inspector-heading strong{display:block;font-size:12px;line-height:16px}.inspector-heading span{display:block;margin-top:2px;color:var(--muted);font-size:10px}.inspector-section{border-bottom:1px solid var(--border);padding:8px 0 9px}.inspector-section summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text);cursor:pointer;font-size:11px;font-weight:700;list-style-position:outside}.inspector-section summary em{min-width:19px;padding:2px 5px;border-radius:10px;color:var(--muted);background:var(--surface-soft);font-size:9px;font-style:normal;font-weight:600;text-align:center}.vector-color-list,.vector-element-list{display:grid;gap:4px;margin-top:7px}.vector-color-button{min-width:0;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;min-height:27px;padding:4px 6px;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;text-align:left;font-size:10px}.vector-color-button:hover,.vector-color-button.active{color:var(--text);border-color:#bfdbfe;background:var(--accent-soft)}.vector-color-button.active{box-shadow:inset 2px 0 0 var(--accent)}.vector-color-swatch{width:16px;height:16px;border:1px solid rgba(15,23,42,.16);border-radius:5px;box-shadow:inset 0 0 0 1px #ffffff47}.vector-color-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.vector-color-count{color:#94a3b8;font-size:9px}.inspector-hint{margin:7px 0 0;color:#94a3b8;font-size:9px;line-height:1.3}.vector-merge-button{width:100%;margin-top:8px;padding:6px 9px;border:1px solid #bfdbfe;border-radius:7px;color:var(--accent);background:var(--accent-soft);cursor:pointer;font-size:10px;font-weight:650;transition:background .15s ease,border-color .15s ease,color .15s ease}.vector-merge-button:hover:not(:disabled){border-color:#93c5fd;background:#dbeafe}.vector-merge-button:disabled{border-color:var(--border);color:#a8b6c9;background:var(--surface-soft);cursor:default}.vector-element-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:5px}.vector-element-select{min-width:0;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:6px;width:100%;min-height:28px;padding:4px 6px;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;text-align:left;font-size:10px}.vector-element-select:hover,.vector-element-row.selected .vector-element-select{color:var(--text);border-color:#bfdbfe;background:var(--accent-soft)}.vector-element-select span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.vector-element-color{width:30px;height:24px;padding:0 2px;border:1px solid var(--border);border-radius:6px;color:transparent;background:var(--surface);cursor:pointer}.vector-element-color option{color:var(--text);background:var(--surface)}.vector-selection-editor{margin-top:9px;padding-top:9px;border-top:1px solid var(--border)}.vector-selection-editor[hidden]{display:none}.selection-title{color:var(--muted);font-size:10px;font-weight:650;line-height:14px}.vector-recolor-options{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.vector-recolor-button{width:22px;height:22px;padding:0;border:1px solid rgba(15,23,42,.16);border-radius:6px;cursor:pointer;box-shadow:inset 0 0 0 1px #ffffff47}.vector-recolor-button:hover,.vector-recolor-button.active{outline:2px solid #93c5fd;outline-offset:1px}.footer{min-width:0;display:flex;justify-content:space-between;gap:18px;color:var(--muted);font-size:11px;padding:10px 28px;border-top:1px solid #d2dce8;background:var(--surface)}.footer span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media(max-width:1120px){.app-shell{padding:0}.workspace{grid-template-columns:minmax(370px,var(--workflow-pane-width)) 10px minmax(500px,1fr);gap:0}.topbar{padding-left:18px;padding-right:18px}.panel{padding:14px 18px}.preview-panel{padding-left:18px}.brand-subtitle{display:none}.topbar{flex-wrap:wrap}.bridge-update-card{flex:1 1 260px;max-width:none;grid-template-columns:7px minmax(0,1fr) auto auto auto}.codex-account{width:100%;margin-left:0;justify-content:flex-start}.codex-account-copy{flex:1 1 auto}.workflow-mode-label{display:none}}@media(max-width:720px){.bridge-update-card{grid-template-columns:7px minmax(0,1fr)}.bridge-update-card .compact{grid-column:2;justify-self:start}}.react-ui-root{display:contents}
