:root{--app-bg:#fff;--app-surface:#fff;--app-surface-muted:#f8fafc;--app-text:#4b5563;--app-text-strong:#111827;--app-muted:#6b7280;--app-border:#d1d5db;--app-border-soft:#e5e7eb;--app-code-bg:#f3f4f6;--app-focus:#111827;--app-danger:#b00020;--app-danger-strong:#991b1b;--app-danger-border:#fecaca;--app-danger-bg:#fef2f2;--app-overlay:#0f172a70;--app-radius-card:8px;--app-radius-control:6px;--app-shadow:#0f172a14 0 6px 18px -8px, #0f172a0f 0 1px 2px;--text:var(--app-text);--text-h:var(--app-text-strong);--muted:var(--app-muted);--bg:var(--app-bg);--surface:var(--app-surface);--bg-subtle:var(--app-surface-muted);--bg-elevated:var(--app-surface);--border:var(--app-border);--code-bg:var(--app-code-bg);--accent:var(--app-focus);--accent-bg:var(--app-surface-muted);--accent-border:var(--app-border);--social-bg:var(--app-surface-muted);--shadow:var(--app-shadow);--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--app-bg:#fff;--app-surface:#fff;--app-surface-muted:#f8fafc;--app-text:#4b5563;--app-text-strong:#111827;--app-muted:#6b7280;--app-border:#d1d5db;--app-border-soft:#e5e7eb;--app-code-bg:#f3f4f6;--app-focus:#111827;--app-danger:#b00020;--app-danger-strong:#991b1b;--app-danger-border:#fecaca;--app-danger-bg:#fef2f2;--app-overlay:#0f172a70;--app-shadow:#0f172a14 0 6px 18px -8px, #0f172a0f 0 1px 2px}}html,body{width:100%;height:100%;margin:0;overflow:hidden}#root{text-align:center;box-sizing:border-box;flex-direction:column;width:100%;height:100%;display:flex;overflow:auto}*{scrollbar-width:thin;scrollbar-color:#0f172a33 transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:#0f172a2e;background-clip:content-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:#0f172a52}::-webkit-scrollbar-corner{background:0 0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}.project-preview{text-align:left;flex-direction:column;gap:12px;margin:0 24px 32px;display:flex}.project-preview__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.project-preview__controls{flex-wrap:wrap;gap:8px;display:flex}.project-preview iframe,.project-preview__empty{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;width:100%;min-height:520px}.project-preview iframe{display:block}.project-preview__empty{text-align:center;place-items:center;padding:24px;display:grid}.project-context-mode{justify-content:flex-start;margin:0 24px 8px;display:flex}.project-context-mode__toggle{font:inherit;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;padding:6px 10px;font-size:13px}.project-context-mode__toggle:hover:not(:disabled){background:var(--bg-subtle)}.project-context-mode__toggle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.context-toolbar{flex:none;align-items:center;display:inline-flex;position:relative}.context-toolbar__active-tool{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);align-items:center;height:32px;display:inline-flex;overflow:hidden}.context-toolbar__icon-btn,.context-toolbar__chevron-btn{height:30px;color:var(--text-h);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.context-toolbar__icon-btn{width:34px;position:relative}.context-toolbar__icon-btn[aria-pressed=true]:after{content:"";background:var(--accent);pointer-events:none;border-radius:50%;width:6px;height:6px;position:absolute;bottom:4px;right:4px}.context-toolbar__chevron-btn{border-left:1px solid var(--border);width:24px;color:var(--text)}.context-toolbar__icon-btn:hover,.context-toolbar__chevron-btn:hover{background:var(--bg-subtle)}.context-toolbar__icon-btn:focus-visible,.context-toolbar__chevron-btn:focus-visible,.context-toolbar__menu-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.context-toolbar__popover{z-index:90;border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:204px;box-shadow:var(--shadow);box-sizing:border-box;color:var(--text-h);flex-direction:column;gap:8px;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.context-toolbar__popover-section{flex-direction:column;gap:2px;display:flex}.context-toolbar__popover-section--actions{border-top:1px solid var(--border);padding-top:6px}.context-toolbar__menu-item{border-radius:var(--app-radius-control);width:100%;min-height:32px;color:var(--text-h);cursor:pointer;font:inherit;text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:8px;padding:0 8px;font-size:13px;display:flex}.context-toolbar__menu-item:hover,.context-toolbar__menu-item[aria-pressed=true]{border-color:var(--border);background:var(--bg-subtle)}.context-toolbar__menu-icon{flex:none;width:18px;display:inline-flex}.project-preview__bridge-status{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text);margin:8px 24px 0;padding:6px 10px;font-size:13px}@media (width<=700px){.project-preview__bridge-status,.project-preview{margin-inline:16px}.project-preview iframe,.project-preview__empty{min-height:420px}.project-context-mode{margin-inline:16px}}.project-preview__surface{display:block;position:relative}.project-preview__loading-overlay{z-index:2;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text);box-shadow:var(--shadow);text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:13px;line-height:1.35;display:flex;position:absolute;top:12px;left:12px;right:12px}.project-preview__loading-overlay p{margin:0}.project-preview__loading-overlay a{color:var(--text-h);flex:none;font-weight:600}@media (width<=700px){.project-preview__loading-overlay{flex-direction:column;align-items:flex-start}}.annotation-overlay{z-index:2;touch-action:none;width:100%;height:100%;position:absolute;inset:0}.annotation-overlay[data-active-tool=none]{pointer-events:none}.annotation-overlay[data-active-tool=rectangle],.annotation-overlay[data-active-tool=freehand]{cursor:crosshair}.project-context-mode__error{color:var(--app-danger);margin:8px 24px 0;font-size:13px}@media (width<=700px){.project-context-mode__error{margin-inline:16px}}code,.counter{font-family:var(--mono);border-radius:var(--app-radius-control);color:var(--text-h);display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.project-shell-header{background:var(--bg);border-bottom:1px solid var(--border);z-index:10;box-sizing:border-box;align-items:center;height:56px;padding:0 16px;display:flex;position:fixed;top:0;left:0;right:0}.project-shell-header__name{font-family:var(--heading);color:var(--text-h);text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:500;overflow:hidden}.project-header{border-bottom:1px solid var(--border);box-sizing:border-box;align-items:center;gap:12px;padding:8px 16px;display:flex}.project-header__menu-button,.project-header__version-button,.project-header__sidebar-button{border-radius:var(--app-radius-control);width:36px;height:36px;color:var(--text-h);cursor:pointer;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.project-header__menu-button:hover,.project-header__menu-button[aria-expanded=true]{background:var(--bg-subtle)}.project-header__menu-button:focus-visible,.project-header__version-button:focus-visible,.project-header__sidebar-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.project-header-menu{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:min(276px,100vw - 24px);box-shadow:var(--shadow);color:var(--text-h);z-index:80;padding:0;position:absolute;top:calc(100% + 4px);left:12px;overflow:hidden}.project-header-menu__item{min-height:38px;color:var(--text-h);border-bottom:1px solid var(--app-border-soft);box-sizing:border-box;align-items:center;gap:10px;padding:0 12px;font-size:13px;text-decoration:none;display:flex}.project-header-menu__item:hover,.project-header-menu__item:focus-visible{background:var(--bg-subtle);outline:none}.project-header-menu__item--dashboard span:first-child{color:var(--text);font-size:18px;line-height:1}.project-header-menu__credits{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;margin:8px 12px 10px;padding:10px 12px}.project-header-menu__credits-row{color:var(--text-h);justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:600;display:flex}.project-header-menu__credits-row span:last-child{color:var(--text);font-weight:500}.project-header-menu__credits-bar{background:var(--app-border-soft);border-radius:999px;height:7px;margin-top:10px;overflow:hidden}.project-header-menu__credits-bar span{border-radius:inherit;background:var(--text-h);width:74%;height:100%;display:block}.project-header-menu__credits p{color:var(--text);align-items:center;gap:8px;margin-top:10px;font-size:12px;line-height:1.3;display:flex}.project-header-menu__credits p span{background:var(--text);border-radius:999px;flex:none;width:7px;height:7px}.project-header__title{flex-direction:column;flex:auto;min-width:0;display:flex}.project-header__name{font-family:var(--heading);color:var(--text-h);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:500;line-height:1.2;overflow:hidden}.project-header__name-button{text-align:left;cursor:text;background:0 0;border:0;max-width:100%;padding:0;display:block}.project-header__name-button:hover{color:var(--accent)}.project-header__name-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:var(--app-radius-control)}.project-header__name-input{border-radius:var(--app-radius-control);box-sizing:border-box;background:0 0;border:1px solid #0000;width:min(420px,100%);min-width:180px;margin:-3px -5px;padding:2px 4px;display:block}.project-header__name-input:focus{border-color:var(--accent);background:var(--surface);outline:none}.project-header__subtitle{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.project-header__version-button[aria-pressed=true],.project-header__sidebar-button[aria-pressed=true]{background:var(--bg-subtle);color:var(--text-h)}.project-layout{grid-template-columns:var(--left-w,320px) minmax(0, 1fr) var(--right-w,280px);text-align:left;align-items:start;gap:16px;padding:0 16px;display:grid;position:relative}.project-layout__resize-handle--left,.project-layout__resize-handle--right{cursor:col-resize;z-index:1;background:0 0;border:0;width:8px;height:100%;padding:0;position:absolute;top:0}.project-layout__resize-handle--left{left:var(--left-w,320px);transform:translate(-50%)}.project-layout__resize-handle--right{right:var(--right-w,280px);transform:translate(50%)}.project-layout__resize-handle--left:focus-visible,.project-layout__resize-handle--right:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.project-layout__right{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;min-width:0;height:calc(100svh - 88px);padding:12px 16px;position:sticky;top:72px;overflow:auto}.project-layout__main{text-align:center;min-width:0}.project-layout__main--preview{text-align:left;flex-direction:column;height:calc(100svh - 88px);display:flex}.project-layout__main--preview>*{display:none}.project-layout__main--preview>.project-preview{flex:auto;min-height:0;margin:0;display:flex}.project-layout__main--preview>.project-context-mode{margin:0;display:flex}.project-layout__main--preview .project-preview__surface{flex:auto;min-height:0;display:flex}.project-layout__main--preview .project-preview iframe,.project-layout__main--preview .project-preview__empty{flex:auto;width:100%;height:100%;min-height:0}.project-header__view-button{border-radius:var(--app-radius-control);width:36px;height:36px;color:var(--text-h);cursor:pointer;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.project-header__view-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.project-header__view-button[aria-pressed=true]{background:var(--bg-subtle)}.project-shell{--project-header-height:56px;--project-control-min-height:32px;--project-control-padding-y:6px;--project-control-padding-x:10px;--project-control-padding:var(--project-control-padding-y) var(--project-control-padding-x);--project-control-font-size:13px;--project-control-line-height:1.35;--project-field-padding-y:8px;--project-field-padding-x:10px;--project-field-padding:var(--project-field-padding-y) var(--project-field-padding-x);--project-field-font-size:13px;--project-field-line-height:1.4;grid-template-columns:var(--left-w,320px) minmax(0, 1fr) var(--right-w,280px);grid-template-rows:var(--project-header-height) minmax(0, 1fr);text-align:left;background:var(--bg);width:100%;height:100svh;color:var(--text);display:grid;position:relative;overflow:hidden}.project-shell input,.project-shell textarea,.project-shell select{font:inherit;font-size:var(--project-field-font-size);line-height:var(--project-field-line-height)}.project-shell input::placeholder,.project-shell textarea::placeholder{color:var(--muted);opacity:1}.project-shell button{font:inherit;font-size:var(--project-control-font-size);line-height:var(--project-control-line-height)}.project-header{background:var(--bg);min-width:0;min-height:0}.project-header--left{border-right:1px solid var(--border);z-index:40;grid-area:1/1;position:relative}.project-header--main{border-left:0;border-right:0;grid-area:1/2;justify-content:flex-start;overflow:visible}.project-header--right{border-left:1px solid var(--border);grid-area:1/3;justify-content:flex-end}.project-header__main-controls{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;width:100%;min-width:0;display:grid;overflow:visible}.project-header__main-section{align-items:center;min-width:0;display:flex}.project-header__main-section--left{justify-content:flex-start}.project-header__main-section--center{justify-content:center}.project-header__main-section--right{justify-content:flex-end;gap:8px}.project-header__view-switcher{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--bg-subtle);flex:none;align-items:center;gap:4px;padding:3px;display:inline-flex}.project-header__context-controls{flex:0 auto;justify-content:flex-end;align-items:center;gap:6px;min-width:0;display:flex}.project-header__page-controls{flex:none;align-items:center;gap:8px;min-width:0;display:flex}.project-header__preview-nav-button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:32px;height:32px;color:var(--text-h);cursor:pointer;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.project-header__preview-nav-button:hover:not(:disabled){background:var(--bg-subtle)}.project-header__preview-nav-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-header__preview-nav-button:disabled{opacity:.4;cursor:not-allowed}.preview-page-switcher{flex:none;position:relative}.preview-page-switcher__button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);max-width:220px;height:32px;color:var(--text-h);cursor:pointer;font:inherit;white-space:nowrap;align-items:center;gap:7px;padding:0 10px;font-size:13px;display:inline-flex}.preview-page-switcher__button:hover{background:var(--bg-subtle)}.preview-page-switcher__button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.preview-page-switcher__icon,.preview-page-switcher__chevron{color:var(--text);flex:none;font-size:12px}.preview-page-switcher__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.preview-page-switcher__popover{z-index:90;border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);max-height:min(430px,100svh - 76px);box-shadow:var(--shadow);box-sizing:border-box;color:var(--text-h);flex-direction:column;gap:10px;padding:10px;display:flex;position:fixed}.preview-page-switcher__section{flex-direction:column;gap:6px;min-height:0;display:flex}.preview-page-switcher__eyebrow{color:var(--text);font-size:12px;font-weight:600}.preview-page-switcher__current,.preview-page-switcher__folder-button,.preview-page-switcher__option{border-radius:var(--app-radius-control);width:100%;min-height:32px;color:var(--text-h);cursor:pointer;font:inherit;text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:8px;padding:0 8px;font-size:13px;display:flex}.preview-page-switcher__current:hover,.preview-page-switcher__current:focus-visible,.preview-page-switcher__folder-button:hover,.preview-page-switcher__folder-button:focus-visible,.preview-page-switcher__option:hover,.preview-page-switcher__option:focus-visible,.preview-page-switcher__option[aria-selected=true]{background:var(--bg-subtle);border-color:var(--border);outline:none}.preview-page-switcher__folder{flex-direction:column;gap:2px;display:flex}.preview-page-switcher__folder-toggle,.preview-page-switcher__item-icon{color:var(--text);flex:none;font-size:12px;line-height:1}.preview-page-switcher__folder-toggle{text-align:center;width:10px}.preview-page-switcher__item-copy{flex-direction:column;min-width:0;line-height:1.25;display:flex}.preview-page-switcher__item-copy>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.preview-page-switcher__item-path{color:var(--text);font-size:11px}.preview-page-switcher__folder-children{flex-direction:column;gap:2px;display:flex}.preview-page-switcher__search input{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:100%;height:32px;color:var(--text-h);font:inherit;box-sizing:border-box;padding:0 9px;font-size:13px}.preview-page-switcher__search input:focus{outline:2px solid var(--accent);outline-offset:1px}.preview-page-switcher__list{flex-direction:column;gap:2px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.preview-page-switcher__status{color:var(--text);margin:0;font-size:13px}.preview-persona-switcher{flex:none;position:relative}.preview-persona-switcher__trigger{border:1px solid var(--border);background:var(--surface);width:32px;height:32px;color:var(--text-h);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex;overflow:hidden}.preview-persona-switcher__trigger:hover{background:var(--bg-subtle)}.preview-persona-switcher__trigger:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.preview-persona-switcher__trigger img{object-fit:cover;width:100%;height:100%}.preview-persona-switcher__popover{z-index:90;border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:min(280px,100vw - 24px);box-shadow:var(--shadow);box-sizing:border-box;color:var(--text-h);flex-direction:column;gap:8px;padding:10px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.preview-persona-switcher__field{min-width:0;color:var(--text);flex-direction:column;gap:6px;font-size:12px;line-height:1.35;display:flex}.preview-persona-switcher__field select{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:100%;min-width:0;height:32px;color:var(--text-h);font:inherit;padding:0 28px 0 9px;font-size:13px}.preview-persona-switcher__button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:100%;height:32px;color:var(--text-h);cursor:pointer;font:inherit;white-space:nowrap;justify-content:center;align-items:center;padding:0 10px;font-size:13px;display:inline-flex}.preview-persona-switcher__field select:focus-visible,.preview-persona-switcher__button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.preview-persona-switcher__button:hover:not(:disabled){background:var(--bg-subtle)}.preview-persona-switcher__field select:disabled,.preview-persona-switcher__button:disabled{color:var(--text-muted);cursor:not-allowed}.preview-persona-switcher__status{max-width:100%;color:var(--text);overflow-wrap:anywhere;font-size:12px;line-height:1.4}.project-header__right-controls{flex:none;align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.project-header__far-right-controls{justify-content:flex-start;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.project-header__sidebar-view-switcher{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--bg-subtle);flex:none;align-items:center;gap:2px;padding:2px;display:inline-flex}.project-header__sidebar-button{border-radius:var(--app-radius-control);width:32px;height:28px;color:var(--text);border:1px solid #0000;transition:background-color .12s,border-color .12s,color .12s,box-shadow .12s;position:relative}.project-header__sidebar-button:hover{color:var(--text-h);background:var(--surface)}.project-header__sidebar-button[aria-pressed=true]{color:var(--text-h);background:var(--surface);border-color:var(--border);box-shadow:0 1px 2px #0f172a14}.project-header__publish-status{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:12px;overflow:hidden}.project-header__save-menu-root{flex:none;position:relative}.project-save-menu{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:min(286px,100vw - 24px);box-shadow:var(--shadow);color:var(--text-h);z-index:90;box-sizing:border-box;flex-direction:column;gap:8px;padding:10px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.project-save-menu__field{color:var(--text);flex-direction:column;gap:6px;font-size:12px;line-height:1.35;display:flex}.project-save-menu__field input{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--bg-subtle);width:100%;min-width:0;height:34px;color:var(--text-h);font:inherit;box-sizing:border-box;padding:0 9px;font-size:13px;line-height:1.4}.project-save-menu__field input:focus{outline:2px solid var(--accent);outline-offset:1px}.project-save-menu__button{width:100%}.project-save-menu__status{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.4}.project-save-menu__status--error{color:var(--app-danger)}.project-header__context-error{color:var(--app-danger);white-space:nowrap;font-size:12px}.project-header__view-tab{border-radius:var(--app-radius-control);min-width:76px;height:32px;color:var(--text);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0 12px;font-size:13px;font-weight:500;display:inline-flex}.project-header__view-tab:hover{color:var(--text-h);background:var(--surface)}.project-header__view-tab:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-header__view-tab[aria-pressed=true]{color:var(--text-h);background:var(--surface);border-color:var(--border)}.project-header__action-button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-width:84px;height:32px;color:var(--text-h);cursor:pointer;font:inherit;white-space:nowrap;justify-content:center;align-items:center;padding:0 12px;font-size:13px;display:inline-flex}.project-header__action-button:hover:not(:disabled){background:var(--bg-subtle)}.project-header__action-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-header__action-button:disabled{color:var(--muted);cursor:not-allowed}.project-shell>.right-panel{border:0;border-right:1px solid var(--border);border-radius:0;grid-area:2/1;min-width:0;height:100%;min-height:0;position:static}.project-shell__main{background:var(--bg-subtle);grid-area:2/2;min-width:0;min-height:0;overflow:hidden}.project-shell__main--preview{flex-direction:column;display:flex}.project-shell__view{min-width:0;height:100%;min-height:0}.project-shell__view[hidden]{display:none!important}.project-shell__view--preview{flex-direction:column;display:flex}.project-shell__view--preview>.project-preview{flex:auto;gap:0;min-width:0;height:100%;min-height:0;margin:0;display:flex;position:relative}.project-shell__main--preview .project-preview__header{display:none}.project-shell__main--preview .project-preview__bridge-status{z-index:4;margin:0;position:absolute;bottom:12px;left:12px;right:12px}.project-shell__main--preview .project-preview__surface{flex:auto;min-width:0;min-height:0;display:flex}.project-shell__main--preview .project-preview iframe,.project-shell__main--preview .project-preview__empty{border:0;border-radius:0;flex:auto;width:100%;height:100%;min-height:0}.project-shell__main--preview>.project-context-mode{margin:0;display:flex}.project-shell .project-layout__right{border:0;border-left:1px solid var(--border);background:var(--bg);box-sizing:border-box;border-radius:0;grid-area:2/3;min-width:0;height:100%;min-height:0;padding:12px 16px;position:static;overflow:auto}.project-shell .project-layout__right--history{padding:0;overflow:hidden}.project-layout__right-empty{color:var(--text);font-size:13px}.agent-activity{flex-direction:column;gap:14px;min-height:0;display:flex}.agent-activity--internal{border-top:1px solid var(--border);margin-top:18px;padding-top:14px}.agent-activity__header{gap:6px;display:grid}.agent-activity__header h2{margin:0;font-size:15px}.agent-activity__header p{color:var(--muted);margin:0;font-size:13px;line-height:1.35}.agent-activity .project-chat__run-status{margin-top:0;padding:10px 12px}.agent-activity .project-chat__run-status>strong{margin-bottom:4px;font-size:13px;font-weight:600;line-height:1.3}.agent-activity .project-chat__run-status p{color:var(--text);font-size:12px;line-height:1.35}.agent-activity__cards{gap:10px;display:grid}.agent-activity__queue{border-top:1px solid var(--border);flex-direction:column;gap:10px;margin-top:18px;padding-top:14px;display:flex}.agent-activity__queue .agent-activity__header h3{margin:0;font-size:15px}.agent-activity__card-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.agent-activity__details{color:var(--text);grid-template-columns:auto minmax(0,1fr);gap:4px 8px;margin:8px 0 0;font-size:12px;line-height:1.35;display:grid}.agent-activity__details dt{color:var(--muted);font-weight:600}.agent-activity__details dd{overflow-wrap:anywhere;min-width:0;margin:0}.agent-activity__button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-height:30px;color:var(--text-h);cursor:pointer;padding:6px 10px;font-size:12px;font-weight:600}.agent-activity__button:hover:not(:disabled){background:var(--bg-subtle)}.agent-activity__button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.agent-activity__button:disabled{cursor:not-allowed;opacity:.55}.agent-activity__error{color:var(--app-danger);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.35}.agent-activity__empty{color:var(--muted);margin:0;font-size:12px;line-height:1.35}.agent-activity__meta{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;font-size:11px;line-height:1.35;display:block}.agent-activity__loading{color:var(--text);margin:0;font-size:14px;line-height:1.45}.agent-activity__status{border:1px solid var(--border);background:var(--bg-subtle);width:fit-content;max-width:100%;color:var(--text-h);border-radius:999px;padding:3px 7px;font-size:12px;line-height:1.3;display:inline-flex}.agent-activity__status.is-stale{border-color:var(--app-danger-border);background:var(--app-danger-bg);color:var(--app-danger-strong)}.agent-activity__steps{gap:8px;margin:0;padding:0;list-style:none;display:grid}.agent-activity__step{border:1px solid var(--border);border-left:3px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);gap:5px;padding:10px;display:grid}.agent-activity__step div{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.agent-activity__step strong{min-width:0;font-size:13px;line-height:1.25}.agent-activity__step span{color:var(--muted);flex:none;font-size:11px}.agent-activity__step p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.35}.agent-activity__step--running,.agent-activity__step--completed{border-left-color:var(--text-h);background:var(--surface)}.agent-activity__step--failed,.agent-activity__step--blocked{border-left-color:var(--app-danger);background:var(--app-danger-bg)}.agent-activity__step--skipped,.agent-activity__step--pending{border-left-color:var(--border);background:var(--bg-subtle)}.project-shell__resize-handle{cursor:col-resize;z-index:20;background:0 0;border:0;width:8px;padding:0;position:absolute;top:0;bottom:0}.project-shell__resize-handle--left{left:var(--left-w,320px);transform:translate(-50%)}.project-shell__resize-handle--right{right:var(--right-w,280px);transform:translate(50%)}.project-shell__resize-handle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.project-header__left-trailing-controls,.project-header__right-leading-controls{flex:none;align-items:center;display:inline-flex}.project-header__left-trailing-controls{margin-left:auto}.project-shell--left-collapsed>.right-panel,.project-shell--right-collapsed>.project-layout__right,.project-shell--left-collapsed .project-shell__resize-handle--left,.project-shell--right-collapsed .project-shell__resize-handle--right{display:none}.project-shell--left-collapsed .project-shell__main{grid-column:1/span 2}.project-shell--right-collapsed .project-shell__main{grid-column:2/span 2}.project-shell--left-collapsed.project-shell--right-collapsed .project-shell__main{grid-column:1/span 3}.project-settings{box-sizing:border-box;flex-direction:column;gap:16px;height:100%;padding:16px 20px 32px;display:flex;overflow:auto}.project-settings__section{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;padding:16px}.project-settings__section h2{color:var(--text-h);letter-spacing:0;margin:0 0 8px;font-size:15px;font-weight:600;line-height:1.3}.project-settings__section p,.project-settings__section span{color:var(--text);font-size:13px;line-height:1.4}.project-settings__section a{color:var(--text-h);overflow-wrap:anywhere;text-decoration:underline}.project-settings__section form{flex-direction:column;gap:12px;margin-top:12px;display:flex}.project-settings__section form>div{flex-direction:column;gap:6px;display:flex}.project-settings__section label{color:var(--text);font-size:12px;font-weight:600}.project-settings__section input,.project-settings__section select{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:100%;min-height:34px;color:var(--text-h);box-sizing:border-box;font:inherit;padding:7px 9px;font-size:13px}.project-settings__section input:focus,.project-settings__section select:focus{outline:2px solid var(--accent);outline-offset:1px}.project-settings__section button:not(.project-settings__delete-link){border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-height:32px;color:var(--text-h);cursor:pointer;font:inherit;align-self:flex-start;padding:6px 10px;font-size:13px}.project-settings__section button:not(.project-settings__delete-link):hover:not(:disabled){background:var(--bg-subtle)}.project-settings__section button:not(.project-settings__delete-link):focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-settings__section button:disabled{color:var(--muted);cursor:not-allowed;opacity:.65}.project-settings__section [role=alert]{color:var(--app-danger)}.project-settings__section form,.project-settings__section ul,.project-settings__section li,.project-settings__section div{max-width:100%}.project-settings__connection-list{flex-direction:column;gap:12px;margin:12px 0 0;padding:0;list-style:none;display:flex}.project-settings__connection-list li{border-top:1px solid var(--border);padding-top:12px}.project-env__rows{flex-direction:column;gap:12px;display:flex}.project-env__row{border:1px solid var(--border);border-radius:var(--app-radius-control);flex-direction:column;gap:10px;padding:12px;display:flex}.project-env__row-header,.project-env__actions,.project-env__targets{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-env__row-header{justify-content:space-between}.project-env__row-header strong{color:var(--text-h);font-size:13px;font-weight:600}.project-env__grid{grid-template-columns:minmax(160px,1fr) minmax(130px,180px) minmax(180px,1.2fr);gap:10px;display:grid}.project-env__checkbox{width:fit-content;color:var(--text);align-items:center;gap:6px;font-size:12px;font-weight:500;display:inline-flex}.project-env__checkbox:has(input:disabled){color:var(--text-muted);cursor:not-allowed}.project-env__target-missing{color:var(--text-muted);font-size:11px;font-weight:400}.project-settings__section .project-env__checkbox input[type=checkbox]{width:auto;min-height:0;margin:0}.project-env__targets{border:0;margin:0;padding:0}.project-env__targets legend{width:100%;color:var(--text);font-size:12px;font-weight:600}.project-settings__danger{border-color:var(--app-danger-border)}@media (width<=820px){.project-env__grid{grid-template-columns:1fr}}.project-settings__delete-link{appearance:none;color:var(--app-danger);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.project-settings__delete-link:hover,.project-settings__delete-link:focus-visible{color:var(--app-danger-strong)}.project-delete-modal{z-index:80;background:var(--app-overlay);box-sizing:border-box;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.project-delete-modal__panel{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:min(420px,100%);box-shadow:var(--shadow);padding:20px}.project-delete-modal__panel h2{letter-spacing:0;margin:0 0 8px;font-size:16px}.project-delete-modal__panel p{color:var(--text);font-size:13px;line-height:1.4}.project-delete-modal__error{border:1px solid var(--app-danger-border);border-radius:var(--app-radius-control);background:var(--app-danger-bg);color:var(--app-danger-strong);padding:8px 10px}.project-delete-modal__actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.project-delete-modal__actions button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-height:32px;color:var(--text-h);cursor:pointer;font:inherit;padding:6px 10px;font-size:13px}.project-delete-modal__actions button:hover:not(:disabled){background:var(--bg-subtle)}.project-delete-modal__actions button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-delete-modal__actions button:disabled{cursor:not-allowed;opacity:.65}.project-delete-modal__confirm{border-color:var(--app-danger);background:var(--app-danger);color:#fff}.project-delete-modal__confirm:hover:not(:disabled){background:var(--app-danger-strong)}.project-agents-board{box-sizing:border-box;min-width:0;height:100%;min-height:0;padding:16px;overflow:hidden}.project-agents-board__error{border:1px solid var(--app-danger-border);border-radius:var(--app-radius-control);background:var(--app-danger-bg);color:var(--app-danger-strong);margin-bottom:12px;padding:8px 10px;font-size:13px}.project-agents-board__columns{align-items:stretch;gap:12px;height:100%;min-height:0;padding-bottom:8px;display:flex;overflow:auto hidden}.project-agents-board__column{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--bg-subtle);box-sizing:border-box;flex-direction:column;flex:0 0 272px;width:272px;min-width:272px;min-height:0;display:flex}.project-agents-board__column-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.project-agents-board__column-title{flex:auto;min-width:0}.project-agents-board__column-header h2{color:var(--text-h);margin:0;font-size:14px;line-height:1.2}.project-agents-board__column-title-button{width:100%;min-width:0;color:inherit;cursor:text;font:inherit;font-weight:inherit;line-height:inherit;text-align:left;overflow-wrap:anywhere;background:0 0;border:0;padding:0;display:block}.project-agents-board__column-title-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--app-radius-control)}.project-agents-board__column-title input{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--bg);width:100%;color:var(--text-h);font:inherit;padding:5px 7px;font-size:14px}.project-agents-board__column-title input:focus{outline:2px solid var(--accent);outline-offset:1px}.project-agents-board__rename-error{color:var(--app-danger-strong);margin:6px 0 0;font-size:12px;line-height:1.35}.project-agents-board__column-header span{background:var(--bg);border:1px solid var(--border);min-width:22px;height:22px;color:var(--text);border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.project-agents-board__cards{flex-direction:column;flex:auto;gap:8px;min-height:0;padding:10px;display:flex;overflow-y:auto}.project-agents-board__add-card{border:1px dashed var(--border);border-radius:var(--app-radius-control);color:var(--text);cursor:pointer;font:inherit;background:0 0;align-items:center;gap:6px;margin-top:4px;padding:6px 8px;font-size:13px;display:inline-flex}.project-agents-board__add-card:hover:not(:disabled){background:var(--surface);color:var(--text-h);border-style:solid}.project-agents-board__add-card:disabled{opacity:.6;cursor:not-allowed}.project-agents-board__new-card-form{flex-direction:column;gap:8px;margin-top:4px;display:flex}.project-agents-board__new-card-form input{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--app-radius-control);width:100%;padding:var(--project-field-padding);background:var(--bg);color:var(--text-h);font-family:inherit;font-size:var(--project-field-font-size);line-height:var(--project-field-line-height)}.project-agents-board__new-card-form input:focus{outline:2px solid var(--accent);outline-offset:1px}.project-agents-board__new-card-form input::placeholder{font-size:var(--project-field-font-size);line-height:var(--project-field-line-height);color:var(--muted);opacity:1;font-weight:400}.project-agents-board__new-card-actions{align-items:center;gap:8px;display:flex}.project-agents-board__new-card-actions button[type=submit]{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;font:inherit;padding:7px 10px;font-size:13px}.project-agents-board__new-card-actions button[type=submit]:hover:not(:disabled){background:var(--bg-subtle)}.project-agents-board__new-card-actions button:disabled{opacity:.6;cursor:not-allowed}.project-agents-board__new-card-cancel{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text);cursor:pointer;justify-content:center;align-items:center;padding:6px;display:inline-flex}.project-agents-board__new-card-cancel:hover:not(:disabled){color:var(--text-h)}.project-agents-board__new-card-error{color:var(--app-danger-strong);margin:0;font-size:12px;line-height:1.35}.project-agents-board__card{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-shadow:none;flex-direction:column;gap:8px;padding:10px;display:flex}.project-agents-board__card--movable{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.project-agents-board__card--movable:active{cursor:grabbing}.project-agents-board__card--dragging{opacity:.35;pointer-events:none}.project-agents-board__card--ghost{opacity:.45;background:var(--bg-subtle);pointer-events:none;border-style:dashed}.project-agents-board__card h3{color:var(--text-h);overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.3}.project-agents-board__meta{color:var(--text);flex-direction:column;align-items:flex-start;gap:4px;font-size:12px;display:flex}.project-agents-board__card-error{color:var(--app-danger-strong);overflow-wrap:anywhere;font-size:12px;line-height:1.35}.project-agents-board__card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.project-agents-card-modal{z-index:80;background:var(--app-overlay);box-sizing:border-box;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.project-agents-card-modal__panel{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:min(900px,100%);max-height:min(640px,100%);box-shadow:var(--shadow);box-sizing:border-box;flex-direction:column;display:flex;position:relative;overflow:hidden}.project-agents-card-modal__close{z-index:1;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:28px;height:28px;color:var(--text);cursor:pointer;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:12px;right:12px}.project-agents-card-modal__close:hover{background:var(--bg-subtle);color:var(--text-h)}.project-agents-card-modal__close:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-agents-card-modal__body{flex:auto;min-height:0;display:flex}.project-agents-card-modal__pane{box-sizing:border-box;flex:50%;min-width:0;min-height:0;padding:20px;overflow-y:auto}.project-agents-card-modal__pane--detail{border-right:1px solid var(--border)}.project-agents-card-modal__pane h2{color:var(--text-h);overflow-wrap:anywhere;margin:0 0 12px;padding-right:32px;font-size:16px;line-height:1.3}.project-agents-card-modal__pane h3{color:var(--text-h);margin:0 0 12px;font-size:14px}.project-agents-card-modal__description{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}.project-agents-card-modal__empty{color:var(--muted);margin:0;font-size:13px;line-height:1.4}.project-agents-card-modal__comments{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.project-agents-card-modal__comment{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--bg-subtle);padding:10px 12px}.project-agents-card-modal__comment--warn{border-color:#f59e0b}.project-agents-card-modal__comment--error{border-color:var(--app-danger-border)}.project-agents-card-modal__comment-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.project-agents-card-modal__comment-name{color:var(--text-h);overflow-wrap:anywhere;font-size:13px;font-weight:600}.project-agents-card-modal__comment-date{color:var(--muted);flex:none;font-size:12px}.project-agents-card-modal__comment-text{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}@media (width<=720px){.project-agents-card-modal__body{flex-direction:column}.project-agents-card-modal__pane--detail{border-right:0;border-bottom:1px solid var(--border)}}.project-agents-board__column--draft{background:var(--surface)}.project-agents-board__new-list-form{flex-direction:column;gap:10px;padding:12px;display:flex}.project-agents-board__new-list-form label{color:var(--text);flex-direction:column;gap:6px;font-size:13px;display:flex}.project-agents-board__new-list-form input{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--app-radius-control);width:100%;padding:var(--project-field-padding);background:var(--bg);color:var(--text-h);font-family:inherit;font-size:var(--project-field-font-size);line-height:var(--project-field-line-height)}.project-agents-board__new-list-form input:focus{outline:2px solid var(--accent);outline-offset:1px}.project-agents-board__new-list-form input::placeholder{font-size:var(--project-field-font-size);line-height:var(--project-field-line-height);color:var(--muted);opacity:1;font-weight:400}.project-agents-board__new-list-actions{gap:8px;display:flex}.project-agents-board__new-list-actions button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;font:inherit;padding:7px 10px;font-size:13px}.project-agents-board__new-list-actions button[type=submit]{border-color:var(--border);background:var(--surface);color:var(--text-h)}.project-agents-board__new-list-actions button:hover:not(:disabled){background:var(--bg-subtle)}.project-agents-board__new-list-actions button:disabled{opacity:.6;cursor:not-allowed}.project-agents-board__new-list-error{color:var(--app-danger-strong);margin:0;font-size:12px;line-height:1.35}.project-chat{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;flex-direction:column;height:calc(100svh - 88px);display:flex;position:sticky;top:72px;overflow:hidden}.project-chat__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:12px;padding:12px 16px;display:flex}.project-chat__header h2{letter-spacing:0;margin:0;font-size:15px;font-weight:600;line-height:1.3}.project-chat__header span{color:var(--text);text-overflow:ellipsis;white-space:nowrap;max-width:60%;font-size:13px;overflow:hidden}.project-chat__transcript{flex-direction:column;flex:auto;gap:12px;padding:12px 16px;display:flex;overflow-y:auto}.project-chat__empty{color:var(--text);font-size:13px;line-height:1.4}.pending-user-input{border-bottom:1px solid var(--border);background:var(--surface);flex-direction:column;gap:12px;padding:12px 16px;display:flex}.pending-user-input__heading{color:var(--text-h);margin:0;font-size:13px;font-weight:600;line-height:1.3}.pending-user-input__card{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);flex-direction:column;gap:6px;padding:10px 12px;display:flex}.pending-user-input__title{color:var(--text-h);font-size:13px;font-weight:600;line-height:1.35}.pending-user-input__help{color:var(--text);opacity:.8;margin:0;font-size:12px;line-height:1.35}.pending-user-input__help-link{font-size:12px;line-height:1.35;text-decoration:underline}.pending-user-input__context{color:var(--text);opacity:.7;margin:0;font-size:12px;line-height:1.35}.pending-user-input__input{font:inherit;font-size:var(--project-field-font-size);line-height:var(--project-field-line-height);padding:var(--project-field-padding);border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h)}.pending-user-input__input:focus{outline:2px solid var(--accent);outline-offset:1px}.pending-user-input__error{color:var(--app-danger);margin:0;font-size:12px;line-height:1.35}.pending-user-input__actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.pending-user-input__submit,.pending-user-input__cancel{font:inherit;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;padding:5px 10px;font-size:12px;line-height:1.35}.pending-user-input__submit:hover:not(:disabled),.pending-user-input__cancel:hover:not(:disabled){background:var(--bg-subtle)}.pending-user-input__submit:disabled,.pending-user-input__cancel:disabled{opacity:.5;cursor:not-allowed}.pending-user-input__cancel{opacity:.85}.project-chat__msg-role{letter-spacing:0;color:var(--text-h);margin-bottom:4px;font-size:13px;font-weight:600}.project-chat__msg-body{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);color:var(--text-h);padding:10px 12px;font-size:14px;line-height:145%}.project-chat__msg--user .project-chat__msg-body{background:var(--bg-subtle);border-color:var(--border)}.project-chat__msg--failed .project-chat__msg-body{border-color:var(--app-danger)}.project-chat__draft{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);margin-top:8px;padding:10px 12px}.project-chat__draft strong{color:var(--text-h);margin-bottom:6px;font-size:13px;line-height:1.35;display:block}.project-chat__draft-workflow{margin-top:-2px}.project-chat__draft-workflow small{color:var(--text)}.project-chat__draft label{color:var(--text);margin-top:6px;margin-bottom:2px;font-size:12px;line-height:1.35;display:block}.project-chat__draft input,.project-chat__draft textarea,.project-chat__draft select{box-sizing:border-box;width:100%;padding:var(--project-field-padding);border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);font:inherit;font-size:var(--project-field-font-size);line-height:var(--project-field-line-height)}.project-chat__draft input:focus,.project-chat__draft textarea:focus,.project-chat__draft select:focus{outline:2px solid var(--accent);outline-offset:1px}.project-chat__draft textarea{white-space:pre-wrap;overflow-wrap:anywhere;resize:vertical}.project-chat__draft p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);margin:6px 0;font-size:13px;line-height:1.35}.project-chat__draft a{overflow-wrap:anywhere}.project-chat__draft button{min-height:var(--project-control-min-height);padding:var(--project-control-padding);border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;font:inherit;font-size:var(--project-control-font-size);line-height:var(--project-control-line-height);margin-top:8px;margin-right:8px}.project-chat__draft button:hover:not(:disabled){background:var(--bg-subtle)}.project-chat__draft button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-chat__draft-disclosure{font-size:12px;line-height:1.35}.project-chat__draft-details{margin-top:6px}.project-chat__draft-details p{margin:6px 0}.project-chat__draft-context-details{margin-top:8px}.project-chat__draft-context-details>strong{color:var(--text-h);margin-bottom:6px;font-size:13px;line-height:1.35;display:block}.project-chat__draft-context-details p{color:var(--text);overflow-wrap:anywhere;word-break:break-word;margin:6px 0;font-size:12px;line-height:1.35}.project-chat__draft-context-details dl{flex-direction:column;gap:6px;margin:6px 0 0;padding:0;display:flex}.project-chat__draft-context-details dt{color:var(--text-h);margin:0;padding:0;font-size:12px;font-weight:600;line-height:1.35}.project-chat__draft-context-details dd{color:var(--text);overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;margin:0;padding:0;font-size:12px;line-height:1.35}.project-chat__draft-context-details pre{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:0;padding:0;font-family:inherit;font-size:12px;line-height:1.35}.project-chat__run-status{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);min-width:0;margin-top:10px;padding:10px 12px}.project-chat__run-status>strong{color:var(--text-h);overflow-wrap:anywhere;margin-bottom:8px;font-size:13px;line-height:1.3;display:block}.project-chat__run-status p{min-width:0;color:var(--text);overflow-wrap:anywhere;word-break:break-word;white-space:normal;margin:0;font-size:12px;line-height:1.35}.project-chat__run-status ol,.project-chat__run-status ul{margin:0;padding:0;list-style:none}.project-chat__run{border-top:1px solid var(--border);padding:8px 0}.project-chat__run:first-child{border-top:0;padding-top:0}.project-chat__run>div,.project-chat__run-step{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.project-chat__run span,.project-chat__run-step span{min-width:0;color:var(--text-h);font-size:13px;line-height:1.35}.project-chat__run small,.project-chat__run-step small{max-width:45%;color:var(--text);text-align:right;flex:none;font-size:12px;line-height:1.35}.project-chat__run-step{border-left:2px solid var(--border);margin-top:6px;padding-left:10px}.project-chat__run-step--running,.project-chat__run-step--completed{border-left-color:var(--text-h)}.project-chat__run-step--failed,.project-chat__run-step--blocked{border-left-color:var(--app-danger)}.project-chat__run-timeline{border-left:2px solid var(--border);margin-top:8px;padding-left:10px}.project-chat__run-timeline summary{cursor:pointer;color:var(--text);font-size:12px;line-height:1.35}.project-chat__run-event{grid-template-columns:minmax(0,1fr) minmax(80px,45%);gap:10px;margin-top:6px;display:grid}.project-chat__run-event span,.project-chat__run-event small{overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:1.35}.project-chat__run-event span{color:var(--text-h)}.project-chat__run-event small{color:var(--text);text-align:right}.project-chat__run-event--error span,.project-chat__run-event--warn span{color:var(--app-danger)}.project-chat__capture-action{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);flex-direction:column;gap:8px;margin-top:8px;padding:10px 12px;display:flex}.project-chat__capture-action-reason{color:var(--text-h);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.4}.project-chat__capture-action-button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;font:inherit;align-self:flex-start;padding:6px 10px;font-size:13px}.project-chat__capture-action-button:hover:not(:disabled){background:var(--bg-subtle)}.project-chat__capture-action-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-chat__capture-action-hint{color:var(--text);margin:0;font-size:13px;line-height:1.35}.project-chat__capture-action-error{color:var(--app-danger);font-size:13px;line-height:1.35;display:block}.project-chat__connect-action{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);flex-direction:column;gap:8px;margin-top:8px;padding:10px 12px;display:flex}.project-chat__connect-action-reason{color:var(--text-h);margin:0;font-size:13px;line-height:1.4}.project-chat__connect-action-button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;font:inherit;justify-content:center;align-self:flex-start;align-items:center;padding:6px 10px;font-size:13px;text-decoration:none;display:inline-flex}.project-chat__connect-action-button:hover:not(:disabled),a.project-chat__connect-action-button:hover{background:var(--bg-subtle)}.project-chat__connect-action-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-chat__connect-action-error{color:var(--app-danger);margin:0;font-size:13px;line-height:1.35}.project-chat__msg-error{color:var(--app-danger);margin-top:4px;font-size:13px;line-height:1.35;display:block}.project-chat__msg-note{color:var(--muted);margin-top:4px;font-size:13px;line-height:1.35;display:block}.project-chat__msg-body--pending{color:var(--text);font-style:italic}.project-chat__error{color:var(--app-danger);margin:0 16px;font-size:13px;line-height:1.35}.project-chat__context-chip{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);align-items:baseline;gap:6px;margin:0 16px 12px;padding:6px 8px;font-size:13px;display:flex}.project-chat__context-chip strong{font-weight:600}.project-chat__context-chip span{overflow-wrap:anywhere}.project-chat__composer{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);flex-direction:column;gap:8px;padding:12px 16px;display:flex}.project-chat__composer textarea{resize:none;min-height:44px;max-height:200px;font:inherit;font-size:var(--project-field-font-size);line-height:var(--project-field-line-height);padding:var(--project-field-padding);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);box-sizing:border-box;border:none;flex:auto}.project-chat__composer textarea:focus{outline:none}.project-chat__composer button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-height:38px;color:var(--text-h);cursor:pointer;font:inherit;white-space:nowrap;align-self:flex-end;padding:0 12px;font-size:13px}.project-chat__composer button:hover:not(:disabled){background:var(--bg-subtle)}.project-chat__composer button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-chat__composer button:disabled{color:var(--muted);cursor:not-allowed}.project-chat__composer-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.project-chat__composer-actions button{min-height:var(--project-control-min-height);min-width:var(--project-control-min-height);justify-content:center;align-self:center;align-items:center;padding:0;display:inline-flex}.project-chat__workflow{min-height:var(--project-control-min-height);padding:var(--project-control-padding);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);font:inherit;font-size:var(--project-control-font-size);line-height:var(--project-control-line-height);border:1px solid #0000}.project-chat__workflow:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-chat__workflow:disabled{color:var(--muted);cursor:not-allowed}.project-chat__msg-actions{opacity:0;align-items:center;gap:4px;min-height:22px;margin-top:4px;transition:opacity .12s;display:flex}.project-chat__msg:hover .project-chat__msg-actions,.project-chat__msg:focus-within .project-chat__msg-actions{opacity:1}.project-chat__msg-action{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:24px;height:22px;color:var(--text);cursor:pointer;justify-content:center;align-items:center;padding:0;display:inline-flex}.project-chat__msg-action:hover{background:var(--bg-subtle);color:var(--text-h)}.project-chat__msg-action:focus-visible{outline:2px solid var(--accent);outline-offset:1px;opacity:1}.project-chat__msg-action-status{color:var(--muted);font-size:12px}.project-chat__msg-edit{flex-direction:column;gap:8px;display:flex}.project-chat__msg-edit-input{box-sizing:border-box;resize:vertical;border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:100%;min-height:64px;color:var(--text-h);font:inherit;white-space:pre-wrap;padding:10px 12px;font-size:14px;line-height:145%}.project-chat__msg-edit-input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-chat__msg-edit-actions{justify-content:flex-end;gap:8px;display:flex}.project-chat__msg-edit-actions button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-height:32px;color:var(--text-h);cursor:pointer;font:inherit;padding:0 12px;font-size:13px}.project-chat__msg-edit-actions button:hover:not(:disabled){background:var(--bg-subtle)}.project-chat__msg-edit-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.project-chat__msg-edit-actions button:disabled{color:var(--muted);cursor:not-allowed}.project-chat__clarification{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);flex-direction:column;gap:8px;margin-top:8px;padding:10px 12px;display:flex}.project-chat__clarification-question{color:var(--text-h);margin:0;font-size:13px;font-weight:600;line-height:1.35}.project-chat__clarification-reason,.project-chat__clarification-status{color:var(--text);margin:0;font-size:12px;line-height:1.35}.project-chat__clarification-choices,.project-chat__clarification-freeform{flex-direction:column;gap:8px;display:flex}.project-chat__clarification-choice,.project-chat__clarification-send{min-height:var(--project-control-min-height);padding:var(--project-control-padding);border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;font:inherit;font-size:var(--project-control-font-size);line-height:var(--project-control-line-height);text-align:left}.project-chat__clarification-choice{flex-direction:column;gap:2px;display:flex}.project-chat__clarification-choice:hover:not(:disabled),.project-chat__clarification-send:hover:not(:disabled){background:var(--bg-subtle)}.project-chat__clarification-choice:focus-visible,.project-chat__clarification-send:focus-visible,.project-chat__clarification-textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.project-chat__clarification-choice-label{font-size:13px;font-weight:600;line-height:1.35}.project-chat__clarification-choice-description{color:var(--text);font-size:12px;line-height:1.35}.project-chat__clarification-textarea{min-height:88px;padding:var(--project-field-padding);border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);font:inherit;font-size:var(--project-field-font-size);line-height:var(--project-field-line-height);resize:vertical}.project-chat__clarification-send{text-align:center;align-self:flex-start}.project-chat__clarification-error{color:var(--app-danger);margin:0;font-size:13px;line-height:1.35}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=900px){.project-layout{grid-template-columns:1fr;padding:0 8px}.project-layout__resize-handle--left,.project-layout__resize-handle--right{display:none}.project-chat,.project-layout__right{height:auto;max-height:60svh;position:static}}body.project-detail-fullscreen #root{border-inline:0;width:100%;max-width:none;margin:0}@media (width>=901px){body.project-detail-fullscreen .project-layout{padding:0}}.version-history{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);text-align:left;box-sizing:border-box;margin:24px;padding:12px 16px}.version-history__heading{letter-spacing:0;margin:0 0 8px;font-size:15px}.version-history__hint,.version-history__status,.version-history__empty{color:var(--text);margin:0;font-size:14px}.version-history__error{color:var(--app-danger);margin:0;font-size:13px}.version-history__list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.version-history__item{border-top:1px solid var(--border);flex-direction:column;gap:2px;padding:8px 0;display:flex}.version-history__item:first-child{border-top:0;padding-top:0}.version-history__subject{color:var(--text-h);overflow-wrap:anywhere;font-size:14px}.version-history__meta{color:var(--text);flex-wrap:wrap;align-items:baseline;gap:6px;font-size:12px;display:flex}.version-history__sha{font-family:var(--mono);border-radius:var(--app-radius-control);background:var(--code-bg);color:var(--text-h);padding:2px 6px;font-size:12px;display:inline-flex}.version-history__author,.version-history__date{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.version-history--panel{background:0 0;border:0;border-radius:0;flex-direction:column;height:100%;min-height:0;margin:0;padding:0;display:flex;overflow:hidden}.version-history__header{border-bottom:1px solid var(--border);flex:none;align-items:baseline;padding:12px 16px;display:flex}.version-history__body{flex:auto;min-height:0;padding:12px 16px;overflow-y:auto}.version-history__list--scroll{margin:0}.version-history__row{border-top:1px solid var(--border);flex-direction:column;gap:4px;min-width:0;padding:8px 0;display:flex}.version-history__row:first-child{border-top:0;padding-top:0}.version-history__message{color:var(--text-h);white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:14px;display:block;overflow:hidden}.version-history__row-meta{color:var(--text);flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;font-size:12px;display:flex}.version-history__row-meta .version-history__author{flex:auto;min-width:0}.version-history__error-block{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.version-history__retry,.version-history__action{font:inherit;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;padding:4px 10px;font-size:13px;text-decoration:none}a.version-history__sha{color:inherit;text-decoration:none}a.version-history__sha:hover,a.version-history__sha:focus-visible{text-decoration:underline}.version-history__row--selected{background:var(--bg-subtle);border-color:var(--border)}.version-history__row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.version-history__revert-panel{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);flex-direction:column;gap:8px;margin-top:12px;padding:12px;display:flex}.version-history__revert-panel-empty,.version-history__revert-panel-copy{color:var(--text);margin:0;font-size:13px}.version-history__revert-panel-details{flex-direction:column;gap:4px;margin:0;display:flex}.version-history__revert-panel-row{gap:8px;font-size:13px;display:flex}.version-history__revert-panel-row dt{color:var(--text);flex:0 0 60px;font-weight:500}.version-history__revert-panel-row dd{color:var(--text-h);overflow-wrap:anywhere;flex:auto;margin:0}.version-history__revert-button{font:inherit;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;align-self:flex-start;padding:6px 12px;font-size:13px}.version-history__retry:hover:not(:disabled),.version-history__action:hover,.version-history__revert-button:hover:not(:disabled){background:var(--bg-subtle)}.version-history__retry:focus-visible,.version-history__action:focus-visible,.version-history__revert-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.version-history__revert-button[disabled],.version-history__revert-button[aria-disabled=true]{cursor:not-allowed;opacity:.55}.right-panel{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;flex-direction:column;height:calc(100svh - 53px);display:flex;position:sticky;top:0;overflow:hidden}.right-panel__toggle{border-bottom:1px solid var(--border);flex-direction:row;flex:none;align-items:stretch;gap:4px;padding:6px;display:flex}.right-panel__toggle button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;align-items:center;gap:6px;padding:4px 10px;font-size:13px;display:inline-flex}.right-panel__toggle button[aria-pressed=true]{background:var(--bg-subtle);border-color:var(--border)}.right-panel__pane{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.right-panel__pane[hidden]{display:none!important}.right-panel .project-chat{border:0;border-radius:0;flex:auto;height:auto;min-height:0;position:static}.supabase-setup-panel{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;text-align:left;flex-direction:column;gap:8px;padding:12px;display:flex}.supabase-setup-panel__check{font:inherit;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;align-self:flex-start;padding:6px 12px;font-size:14px}.supabase-setup-panel__check[disabled]{cursor:not-allowed;opacity:.6}.supabase-setup-panel__check:hover:not(:disabled){background:var(--bg-subtle)}.supabase-setup-panel__check:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.supabase-setup-panel__hint{color:var(--text);font-size:13px}.supabase-setup-panel__status{flex-direction:column;gap:6px;display:flex}.supabase-setup-panel__status-row{color:var(--text-h);font-size:14px}.supabase-setup-panel__error{color:var(--app-danger);font-size:13px}.supabase-setup-panel__confirm-action{font:inherit;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;align-self:flex-start;padding:6px 12px;font-size:14px}.supabase-setup-panel__confirm-block{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--code-bg);flex-direction:column;gap:8px;padding:10px;display:flex}.agents-page{background:var(--bg);width:100%;height:100svh;min-height:0;color:var(--text);text-align:left;box-sizing:border-box;letter-spacing:0;overflow:hidden}.agents-page.project-shell{display:grid}.agents-header-control{color:var(--text);align-items:center;gap:8px;font-size:13px;line-height:1.4;display:flex}.agents-header-control select,.agents-palette button,.agents-config button,.agents-config select,.agents-config input{font:inherit;font-size:13px;line-height:1.4}.agents-palette button,.agents-config button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-height:32px;color:var(--text-h);cursor:pointer;white-space:nowrap;box-sizing:border-box;justify-content:center;align-items:center;padding:0 12px;display:inline-flex}.agents-palette button:hover:not(:disabled),.agents-config button:hover:not(:disabled),.agents-variable-list button:hover,.agents-variable-picker__header button:hover,.agent-removable-edge__button:hover{background:var(--bg-subtle)}.agents-palette button:focus-visible,.agents-config button:focus-visible,.agents-header-control select:focus,.agents-config select:focus,.agents-config input:focus,.agents-token-editor:focus,.agents-variable-list button:focus-visible,.agents-variable-picker__header button:focus-visible,.agent-removable-edge__button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.agents-palette button:disabled,.agents-config button:disabled{cursor:default;opacity:.55}.agents-header-control select,.agents-config select,.agents-config input{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);min-height:32px;color:var(--text-h);box-sizing:border-box;padding:0 9px}.agents-shell__status-stack{flex-direction:column;flex:none;gap:8px;padding:12px 16px 0;display:flex}.agents-shell__status-stack>[role=alert],.agents-shell__status-stack>[role=status]{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text);overflow-wrap:anywhere;margin:0;padding:8px 10px;font-size:13px;line-height:1.4}.agents-shell__status-stack>[role=alert]{border-color:var(--app-danger-border);background:var(--app-danger-bg);color:var(--app-danger)}.agents-shell__main{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.agents-palette,.agents-config,.agents-canvas{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-sizing:border-box;min-height:0}.agents-palette,.agents-config{flex-direction:column;gap:8px;padding:12px;display:flex;overflow-y:auto}.project-shell>.agents-palette{border:0;border-right:1px solid var(--border);border-radius:0;grid-area:2/1;width:auto;height:100%;padding:12px 16px}.project-shell .agents-config{border:0;border-left:1px solid var(--border);border-radius:0;grid-area:2/3;width:auto;height:100%;padding:12px 16px}.project-shell .agents-canvas{border:0;border-radius:0;flex:auto;width:100%}.agents-shell__main .agents-variable-picker{right:16px}.agents-palette h2,.agents-config h2{color:var(--text-h);letter-spacing:0;margin:0 0 2px;font-size:14px;font-weight:600;line-height:1.3}.agents-palette button{justify-content:flex-start;width:100%}.agents-palette p,.agents-help,.agents-config>p{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.45}.agents-palette p:last-child{border-top:1px solid var(--app-border-soft);padding-top:8px}.agents-canvas{position:relative;overflow:hidden}.agents-canvas>p{color:var(--text);margin:12px;font-size:13px}.agents-canvas .react-flow{background:var(--bg-subtle)}.agents-canvas .react-flow__minimap{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);box-shadow:none;pointer-events:auto}.agents-canvas .react-flow__minimap-svg{cursor:grab;touch-action:none}.agents-canvas .react-flow__minimap-svg:active{cursor:grabbing}.agents-canvas .react-flow__minimap-node{cursor:pointer}.agents-canvas .react-flow__controls{border:1px solid var(--border);border-radius:var(--app-radius-card);box-shadow:none;overflow:hidden}.agents-canvas .react-flow__controls-button{border-bottom:1px solid var(--app-border-soft);background:var(--surface);width:28px;height:28px;color:var(--text-h)}.agents-canvas .react-flow__controls-button:hover{background:var(--bg-subtle)}.agents-canvas .react-flow__handle{border:1px solid var(--text-h);background:var(--surface);width:9px;height:9px}.agents-canvas .react-flow__edge-path{stroke:var(--text);stroke-width:1.5px}.agent-flow-node{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);min-width:190px;max-width:230px;color:var(--text-h);box-sizing:border-box;border-left-width:3px;overflow:hidden;box-shadow:0 1px 2px #0f172a0f}.agent-flow-node[data-type=trigger]{border-left-color:#0f766e}.agent-flow-node[data-type=agent]{border-left-color:#2563eb}.agent-flow-node[data-type=loop]{border-left-color:#7c3aed}.agent-flow-node[data-type=code_change]{border-left-color:#d97706}.agent-flow-node[data-type=move_card]{border-left-color:#0891b2}.agent-flow-node[data-type=save_checkpoint]{border-left-color:#16a34a}.agent-flow-node__header{border-bottom:1px solid var(--app-border-soft);background:var(--bg-subtle);color:var(--text);padding:7px 10px;font-size:12px;font-weight:600;line-height:1.2}.agent-flow-node__body{flex-direction:column;gap:4px;padding:9px 10px 10px;display:flex}.agent-flow-node__body strong{color:var(--text-h);overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.25}.agent-flow-node__body span{color:var(--text);font-size:12px;line-height:1.35}.agent-flow-node__handles{gap:6px;margin-top:4px;display:flex}.agent-flow-node__handles span{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text);padding:2px 6px;font-size:11px;line-height:1.2}.agent-removable-edge__hitbox{stroke:#0000;stroke-width:18px;fill:none;pointer-events:stroke}.agent-removable-edge__button{border:1px solid var(--border);background:var(--surface);width:22px;height:22px;color:var(--text-h);cursor:pointer;font:inherit;opacity:0;pointer-events:none;border-radius:999px;padding:0;font-size:12px;line-height:1;transition:opacity .12s,background-color .12s;position:absolute}.agent-removable-edge__button.is-visible{opacity:1;pointer-events:auto}.agents-config form{flex-direction:column;gap:10px;margin:0;display:flex}.agents-config label{color:var(--text);flex-direction:column;gap:6px;font-size:12px;line-height:1.35;display:flex}.agents-config fieldset{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--bg-subtle);flex-direction:column;gap:10px;margin:2px 0 0;padding:10px;display:flex}.agents-config legend{color:var(--text-h);padding:0 4px;font-size:13px;font-weight:600}.agents-inline-field{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.agents-token-editor-wrap{min-width:0}.agents-token-editor{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:100%;min-height:34px;color:var(--text-h);white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;padding:8px 9px;font-size:13px;line-height:1.45}.agents-token-editor.is-singleline{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.agents-token-editor.is-multiline{overflow-y:auto}.agents-token-editor.is-empty:before{content:attr(data-placeholder);color:var(--muted)}.agents-token-editor.is-drag-target{border-color:var(--text-h);background:var(--bg-subtle)}.agents-variable-token{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--code-bg);max-width:100%;color:var(--text-h);font-family:var(--mono);vertical-align:baseline;align-items:center;margin:0 2px;padding:1px 5px;font-size:12px;line-height:1.35;display:inline-flex}.agents-variable-picker{z-index:70;border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:min(380px,100vw - 32px);max-height:none;box-shadow:var(--shadow);flex-direction:column;display:flex;position:absolute;top:16px;bottom:16px;right:368px;overflow:hidden}.agents-variable-picker__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;display:flex}.agents-variable-picker__header strong{color:var(--text-h);font-size:14px;font-weight:600}.agents-variable-picker__header button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:28px;height:28px;color:var(--text-h);cursor:pointer;font:inherit;padding:0;font-size:13px}.agents-variable-picker__body{flex-direction:column;flex:auto;gap:12px;min-height:0;padding:10px;display:flex;overflow-y:auto}.agents-variable-group{flex-direction:column;gap:6px;display:flex}.agents-variable-group h3{color:var(--text-h);margin:0;font-size:13px;font-weight:600;line-height:1.3}.agents-variable-group p{color:var(--text);margin:0;font-size:12px;line-height:1.35}.agents-variable-list{flex-direction:column;gap:5px;display:flex}.agents-variable-list button{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:100%;color:var(--text-h);cursor:pointer;text-align:left;font:inherit;flex-direction:column;align-items:flex-start;gap:2px;padding:7px 8px;display:flex}.agents-variable-list button.is-dragging{opacity:.55}.agents-variable-branch{flex-direction:column;gap:5px;display:flex}.agents-variable-list button.agents-variable-branch__toggle{background:var(--bg-subtle)}.agents-variable-branch__children,.agents-variable-run-picker,.agents-variable-run-picker__fields{flex-direction:column;gap:5px;display:flex}.agents-variable-branch__children{padding-left:12px}.agents-variable-run-picker{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--bg-subtle);padding:8px}.agents-variable-run-picker label{color:var(--text);align-items:center;gap:8px;font-size:12px;display:flex}.agents-variable-run-picker input{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);width:80px;color:var(--text-h);font:inherit;padding:5px 7px}.agents-variable-run-picker>button{width:fit-content;padding:6px 8px}.agents-variable-list button span{font-size:13px;line-height:1.35}.agents-variable-list button small{color:var(--text);font-size:12px;line-height:1.35}.agents-variable-drag-preview{border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);box-shadow:var(--shadow);padding:4px 8px;font-size:12px;position:fixed;top:-1000px;left:-1000px}.agents-danger-zone{border-top:1px solid var(--app-border-soft);margin-top:auto;padding-top:12px}.agents-danger-zone button{color:var(--app-danger)}.agents-list-page .agents-list-main{box-sizing:border-box;grid-area:2/1/auto/-1;min-width:0;min-height:0;padding:20px 24px 32px;overflow:auto}.agents-list{flex-direction:column;gap:8px;max-width:720px;margin:0;padding:0;list-style:none;display:flex}.agents-list__row{text-align:left;border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);width:100%;color:var(--text);cursor:pointer;font:inherit;box-sizing:border-box;flex-direction:column;gap:4px;padding:12px 14px;font-size:13px;line-height:1.4;display:flex}.agents-list__row:hover{background:var(--bg-subtle)}.agents-list__row:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.agents-list__head{align-items:center;gap:8px;display:flex}.agents-list__name{color:var(--text-h);font-weight:600}.agents-list__badge{border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:1px 7px;font-size:11px}.agents-list__desc{color:var(--text)}.agents-list__meta{color:var(--muted);font-size:12px}.agents-list-empty{border:1px solid var(--border);border-radius:var(--app-radius-card);background:var(--surface);max-width:720px;color:var(--text);flex-direction:column;align-items:flex-start;gap:12px;padding:20px;font-size:13px;line-height:1.4;display:flex}.agents-list-empty p{margin:0}@media (width<=1120px){.agents-page:not(.project-shell){overflow:auto}.agents-variable-picker{width:auto;inset:12px}}.settings-layout{text-align:left;box-sizing:border-box;flex:auto;align-items:stretch;gap:24px;width:100%;min-height:0;margin:0 24px 32px;display:flex}.settings-layout__menu{border-right:1px solid var(--border);flex-direction:column;flex:0 0 200px;gap:4px;padding-right:16px;display:flex}.settings-layout__menu-item{text-align:left;width:100%;color:var(--text);border-radius:var(--app-radius-control);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;padding:8px 12px;display:block}.settings-layout__menu-item--active{background:var(--bg-subtle);border-color:var(--border);color:var(--text-h)}.settings-layout__content{flex:auto;min-width:0;min-height:0;overflow:auto}.settings-panel{flex-direction:column;gap:16px;display:flex}.tasks-view{box-sizing:border-box;flex-direction:column;width:100%;height:calc(100svh - 88px);display:flex;overflow:hidden}.tasks-view__status{color:var(--text);text-align:left;margin:16px 24px}.tasks-view__status--error{color:var(--app-danger)}.tasks-view__retry{font:inherit;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);cursor:pointer;align-self:flex-start;margin:0 24px 16px;padding:6px 12px;font-size:14px}.tasks-clone{box-sizing:border-box;flex-direction:row;flex:auto;align-items:flex-start;gap:12px;min-height:0;padding:12px 16px;display:flex;overflow:auto hidden}.tasks-clone__list{background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--app-radius-card);box-sizing:border-box;flex-direction:column;flex:0 0 280px;max-height:100%;display:flex}.tasks-clone__list-header{border-bottom:1px solid var(--border);padding:10px 12px}.tasks-clone__list-title{color:var(--text-h);text-align:left;margin:0;font-size:14px;font-weight:600}.tasks-clone__cards{flex-direction:column;flex:auto;gap:6px;min-height:0;margin:0;padding:8px;list-style:none;display:flex;overflow-y:auto}.tasks-clone__card{background:var(--surface);border:1px solid var(--border);border-radius:var(--app-radius-control);color:var(--text-h);cursor:pointer;text-align:left;padding:8px 10px;font-size:14px}.tasks-clone__card:focus{outline:2px solid var(--accent);outline-offset:1px}.tasks-clone__card[draggable=true]{cursor:grab}.tasks-clone__card--dragging{opacity:.4;cursor:grabbing}.tasks-clone__drop-slot{background:0 0;border-radius:2px;flex:0 0 6px;height:6px}.tasks-clone__drop-slot--active{background:var(--text-h)}.tasks-clone__list--drop-target{outline:2px dashed var(--text-h);outline-offset:-2px}.tasks-clone__banner{z-index:999;border:1px solid var(--border);border-radius:var(--app-radius-control);background:var(--surface);color:var(--text-h);box-shadow:var(--shadow);align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex;position:fixed;top:72px;left:50%;transform:translate(-50%)}.tasks-clone__banner--error{border-color:var(--app-danger-border);color:var(--app-danger)}.tasks-clone__banner-close{border:1px solid var(--border);border-radius:var(--app-radius-control);color:inherit;cursor:pointer;background:0 0;padding:2px 8px;font-size:12px}.tasks-clone__popup-backdrop{background:var(--app-overlay);z-index:1000;justify-content:center;align-items:flex-start;padding:48px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.tasks-clone__popup{background:var(--surface);border:1px solid var(--border);border-radius:var(--app-radius-card);box-sizing:border-box;width:100%;max-width:640px;color:var(--text-h);padding:20px 24px;position:relative}.tasks-clone__popup-close{border:1px solid var(--border);border-radius:var(--app-radius-control);color:var(--text-h);cursor:pointer;background:0 0;padding:4px 10px;font-size:12px;position:absolute;top:12px;right:12px}.tasks-clone__popup-title{margin:0 48px 16px 0;font-size:16px;font-weight:600}.tasks-clone__popup-section{margin-top:16px}.tasks-clone__popup-heading{text-transform:none;letter-spacing:0;color:var(--text-h);margin:0 0 6px;font-size:13px;font-weight:600}.tasks-clone__popup-desc{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.5}.tasks-clone__popup-empty{color:var(--text-h);opacity:.7;margin:0;font-size:13px}.tasks-clone__popup-status{margin:0;font-size:14px}.tasks-clone__popup-status--error{color:var(--app-danger)}.tasks-clone__popup-comments{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.tasks-clone__popup-comment{border:1px solid var(--border);border-radius:var(--app-radius-control);padding:8px 10px}.tasks-clone__popup-comment-meta{opacity:.8;flex-direction:row;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:12px;display:flex}.tasks-clone__popup-comment-author{font-weight:600}.tasks-clone__popup-comment-text{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.4}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.app-notification-stack{z-index:2147483000;pointer-events:none;flex-direction:column;gap:8px;max-width:360px;display:flex;position:fixed;top:16px;right:16px}.app-notification{border:1px solid var(--app-border-soft);border-left:3px solid var(--app-text-strong);border-radius:var(--app-radius-card);background:var(--app-surface);color:var(--app-text-strong);box-shadow:var(--shadow);font:13px/1.4 var(--sans);pointer-events:auto;box-sizing:border-box;grid-template-columns:1fr auto;gap:8px;padding:10px 12px;display:grid}.app-notification--error{border-color:var(--app-danger-border);border-left-color:var(--app-danger)}.app-notification__title{font-weight:600}.app-notification__body{color:var(--app-text);margin-top:2px}.app-notification__action{color:var(--app-text-strong);font:inherit;cursor:pointer;background:0 0;border:none;margin-top:6px;padding:0;font-weight:600;text-decoration:underline}.app-notification--error .app-notification__action{color:var(--app-danger-strong)}.app-notification__dismiss{color:var(--app-muted);cursor:pointer;background:0 0;border:none;align-self:start;padding:2px;font-size:16px;line-height:1}.app-notification__action:focus-visible,.app-notification__dismiss:focus-visible{outline:2px solid var(--app-focus);outline-offset:1px}.hero{position:relative}.hero .base{z-index:0;width:170px;margin:0 auto;position:relative;inset-inline:0}.auth-nav{justify-content:flex-end;align-items:center;gap:14px;padding:18px 24px 0;display:flex}.auth-nav a{color:#111827;font-weight:600;text-decoration:none}.auth-nav a:hover,.auth-nav a:focus-visible{text-decoration:underline}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#center>div>h1{font-family:var(--heading);letter-spacing:-.03em;font-size:clamp(44px,6vw,72px);font-weight:800;line-height:1.05}.auth-page{box-sizing:border-box;color:#111827;background:#f8fafc;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:18px;width:min(100%,420px);padding:28px;display:grid;box-shadow:0 18px 48px #0f172a1a}.auth-card h1,.auth-card p{margin:0}.auth-card__home-link{justify-self:start}.auth-card__actions,.auth-card__email-form{gap:10px;display:grid}.auth-card button,.auth-card input{box-sizing:border-box;width:100%;font:inherit;border-radius:6px}.auth-card button{color:#fff;cursor:pointer;background:#111827;border:1px solid #111827;padding:10px 12px;font-weight:700}.auth-card button:disabled{cursor:not-allowed;opacity:.6}.auth-card input{border:1px solid #d1d5db;padding:9px 10px}#how-it-works{box-sizing:border-box;color:#f8fafc;counter-reset:how-it-works-step;background:linear-gradient(160deg,#0f172a 0%,#1e1b4b 60%,#312e81 100%);border-radius:24px;width:min(960px,100%);margin:32px auto 0;padding:56px clamp(20px,5vw,48px);box-shadow:0 28px 64px #0f172a38}#how-it-works h2{letter-spacing:-.02em;text-align:center;color:#f8fafc;margin:0 0 40px;font-size:clamp(30px,4vw,46px);font-weight:800;line-height:1.1}#how-it-works>div{counter-increment:how-it-works-step;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:16px;padding:26px 26px 26px 96px;position:relative}#how-it-works>div+div{margin-top:18px}#how-it-works>div:before{content:counter(how-it-works-step, decimal-leading-zero);color:#fff;letter-spacing:.06em;background:linear-gradient(135deg,#6366f1,#ec4899);border-radius:999px;place-items:center;width:48px;height:48px;font-size:15px;font-weight:800;display:grid;position:absolute;top:26px;left:26px;box-shadow:0 10px 24px #6366f159}#how-it-works h3{letter-spacing:-.01em;color:#f8fafc;margin:0 0 8px;font-size:20px;font-weight:700}#how-it-works p{color:#cbd5f5;margin:0;font-size:15px;line-height:1.6}@media (width<=640px){#how-it-works{border-radius:18px;margin-top:24px;padding:40px 20px}#how-it-works h2{margin-bottom:28px}#how-it-works>div{padding:76px 20px 22px}#how-it-works>div:before{width:42px;height:42px;font-size:14px;top:20px;left:20px}}
