@layer components{.graph-preview{position:absolute;inset:0;width:100%;height:100%;padding:var(--space-4);font-family:var(--font-geist-sans),ui-sans-serif,system-ui,sans-serif}.graph-preview-edge{fill:none;stroke:color-mix(in srgb,var(--kind) 50%,transparent);stroke-width:1.25;stroke-linecap:round;vector-effect:non-scaling-stroke}.graph-preview-edge[data-structure]{stroke-dasharray:4 4}.graph-preview-card{fill:var(--surface);stroke:color-mix(in srgb,var(--foreground) 16%,var(--background));stroke-width:1.5;vector-effect:non-scaling-stroke}.graph-preview-node[data-tier=root] .graph-preview-card{stroke:color-mix(in srgb,var(--foreground) 42%,var(--background))}.graph-preview-node[data-tier=channel] .graph-preview-card,.graph-preview-node[data-tier=resource] .graph-preview-card{fill:color-mix(in srgb,var(--kind) 10%,var(--surface));stroke:color-mix(in srgb,var(--kind) 45%,var(--background))}.graph-preview-tile{fill:color-mix(in srgb,var(--kind) 14%,var(--surface))}.graph-preview-node[data-tier=root] .graph-preview-tile{fill:var(--foreground)}.graph-preview-glyph{color:var(--kind);overflow:visible}.graph-preview-node[data-tier=root] .graph-preview-glyph{color:var(--background)}.graph-preview-name{fill:var(--foreground);font-size:17px;font-weight:var(--weight-medium)}.graph-preview-label{fill:var(--foreground-secondary);font-size:15px}.projects{display:flex;flex-direction:column;gap:var(--space-4)}.projects-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3)}.projects-search{display:flex;flex:1 1 260px;align-items:center;gap:var(--space-2);max-width:380px;height:36px;padding:0 var(--space-3);border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--foreground-tertiary);transition:border-color var(--duration-hover) ease,box-shadow var(--duration-hover) ease}.projects-search:focus-within{border-color:var(--border-strong);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 18%,transparent)}.projects-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--foreground);font-size:var(--text-compact)}.projects-sort{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.projects-sort-option{height:30px;padding:0 12px;border-radius:6px;color:var(--foreground-secondary);font-size:13px;transition:background-color var(--duration-hover) ease,color var(--duration-hover) ease}@media (hover:hover) and (pointer:fine){.projects-sort-option:hover{color:var(--foreground)}}.projects-sort-option[aria-checked=true]{background:var(--surface-active);color:var(--foreground)}.projects-sort-option:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.projects-count{margin-inline-start:auto;color:var(--foreground-tertiary);font-family:var(--font-mono);font-size:12px;font-variant-numeric:tabular-nums}.projects-empty{padding:var(--space-8) 0;color:var(--foreground-secondary);text-align:center}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:var(--space-4);margin:0;padding:0;list-style:none}.project-card,.project-new{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid var(--border);border-radius:12px;transition:border-color var(--duration-hover) ease,box-shadow .2s var(--ease-out),transform var(--duration-press) var(--ease-out)}.project-card{position:relative;background:var(--surface)}@media (hover:hover) and (pointer:fine){.project-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-small)}}.project-card:has(.project-card-link:active),.project-new:active{transform:scale(.99)}.project-card:has(.project-card-link:focus-visible),.project-new:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.project-card-preview{position:relative;display:grid;place-items:center;height:184px;overflow:hidden;border-bottom:1px solid var(--border);background:var(--background)}.project-card-dots{position:absolute;inset:0;width:100%;height:100%;color:var(--canvas-dot)}.structure{--structure-line:var(--border-strong);position:relative;display:flex;flex-direction:column;align-items:center}.structure-trunk{width:1px;height:14px;background:var(--structure-line)}.structure-agent{display:flex;align-items:center;gap:10px;width:148px;height:44px;padding-inline:8px 12px;border:1px solid color-mix(in srgb,var(--foreground) 32%,var(--background));border-radius:12px;background:var(--surface);box-shadow:var(--shadow-small)}.structure-agent-icon{display:grid;flex:none;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--foreground);color:var(--background)}.structure-agent-lines{display:flex;flex:1;flex-direction:column;gap:5px}.structure-agent-lines i{display:block;width:72%;height:6px;border-radius:3px;background:color-mix(in srgb,var(--foreground) 22%,var(--surface))}.structure-agent-lines i+i{width:44%;background:color-mix(in srgb,var(--foreground) 10%,var(--surface))}.structure-branches{position:relative;display:flex;gap:14px;padding-top:14px}.structure-branches:before{content:"";position:absolute;top:0;inset-inline:19px;height:1px;background:var(--structure-line)}.structure-branches>.structure-tile:before{content:"";position:absolute;top:-15px;left:50%;width:1px;height:14px;background:var(--structure-line)}.structure-tile{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid color-mix(in srgb,var(--kind) 45%,var(--border));border-radius:50%;background:color-mix(in srgb,var(--kind) 10%,var(--surface));color:var(--kind)}.structure-tile[data-kind=channel]{border-radius:11px}.structure-count{position:absolute;bottom:-5px;inset-inline-end:-9px;min-width:18px;height:16px;padding-inline:4px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--foreground-secondary);font-family:var(--font-mono);font-size:10px;font-variant-numeric:tabular-nums;line-height:14px;text-align:center}@media (hover:hover) and (pointer:fine){.project-card .structure{transition:transform .24s var(--ease-out)}.project-card:hover .structure{transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.project-card .structure{transition:none}.project-card:hover .structure{transform:none}}.project-card-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:12px 10px 12px 16px}.project-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-2);min-width:0}.project-card-title{flex:1;min-width:0;padding-top:2px}.project-card-name{overflow:hidden;font-size:15px;font-weight:var(--weight-medium);letter-spacing:-.01em;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.project-card-link{outline:none}.project-card-link:after{content:"";position:absolute;inset:0;border-radius:inherit}.project-card-menu{position:relative;z-index:1;flex:none;color:var(--foreground-tertiary)}.project-card-menu:before{content:"";position:absolute;inset:-8px}.project-card-menu[data-state=open]{background:var(--surface-active);color:var(--foreground)}.project-card-model{margin-top:2px;overflow:hidden;font-family:var(--font-mono);text-overflow:ellipsis}.project-card-footer,.project-card-model{color:var(--foreground-tertiary);font-size:12px;line-height:16px;white-space:nowrap}.project-card-footer{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:10px 16px;border-top:1px solid var(--border);font-variant-numeric:tabular-nums}.project-new{align-items:center;justify-content:center;gap:6px;min-height:200px;padding:var(--space-6);border-style:dashed;border-color:var(--border-strong);color:var(--foreground);text-align:center}@media (hover:hover) and (pointer:fine){.project-new:hover{border-color:var(--foreground-tertiary);background:var(--surface-hover)}}.project-new-mark{display:grid;place-items:center;width:36px;height:36px;margin-bottom:6px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-small)}.project-new-hint{color:var(--foreground-tertiary);font-size:13px}}