.app-container{width:100%;height:100%;position:relative;overflow:hidden}.toolbar,.alignment-toolbar,.inspector-panel,.project-structure,.minimap,.tcm,.canvas-nav-controls,.mcp-copilot-panel,.ui-scaled{zoom:var(--ui-scale, 1)}@media(hover:hover){.canvas-nav-controls{opacity:.45;transform:scale(.96);transform-origin:center bottom;transition:opacity .18s ease,transform .18s ease}.canvas-nav-controls:hover,.canvas-nav-controls:focus-within{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.canvas-nav-controls{transform:none!important;transition:opacity .18s ease}}.alignment-toolbar{position:absolute;left:50%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:6px 8px;background:var(--surface-alpha);border:1px solid var(--border-color);border-radius:12px;box-shadow:var(--shadow-lg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:95;animation:alignment-toolbar-in .14s ease-out both;color:var(--text-main);box-sizing:border-box;width:max-content;max-width:calc((100vw - 24px) / var(--ui-scale, 1))}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.alignment-toolbar{background:var(--surface-color)}}.alignment-toolbar__group{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;min-width:0}.alignment-toolbar__btn{width:30px;height:28px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-main);cursor:pointer;transition:transform .14s ease,background .14s ease,border-color .14s ease,color .14s ease}.alignment-toolbar__btn:hover:not(:disabled){background:var(--bg-hover);border-color:var(--border-color);transform:translateY(-1px)}.alignment-toolbar__btn:disabled{opacity:.42;cursor:not-allowed}.alignment-toolbar__divider{width:1px;height:16px;flex-shrink:0;background:var(--border-color);margin:0 2px}.alignment-toolbar__hint{font-size:11px;line-height:1;color:var(--text-muted);background:var(--bg-hover);border:1px solid var(--border-color);border-radius:999px;padding:4px 7px;-webkit-user-select:none;user-select:none}.alignment-toolbar__layout-trigger{width:auto;min-width:30px;gap:6px;padding:0 9px;white-space:nowrap}.alignment-toolbar__layout-trigger.is-active{color:var(--primary-color);background:#6366f124;border-color:#6366f16b}.alignment-toolbar__layout-trigger-label{font-size:11px;font-weight:650}.alignment-toolbar__layout-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(320px,calc(100vw - 24px));overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:14px;color:var(--text-main);background:var(--surface-alpha);border:1px solid var(--border-color);border-radius:14px;box-shadow:var(--shadow-xl);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-align:left;animation:alignment-layout-panel-in .14s ease-out both}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.alignment-toolbar__layout-panel{background:var(--surface-color)}}.alignment-toolbar__layout-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.alignment-toolbar__layout-header>div{min-width:0;display:flex;flex-direction:column;gap:2px}.alignment-toolbar__layout-header strong{font-size:14px;line-height:1.3}.alignment-toolbar__layout-header span{color:var(--text-muted);font-size:11px;line-height:1.35}.alignment-toolbar__layout-close{width:26px;height:26px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--text-muted);background:transparent;border:1px solid transparent;border-radius:7px;font-size:18px;line-height:1;cursor:pointer}.alignment-toolbar__layout-close:hover{color:var(--text-main);background:var(--bg-hover);border-color:var(--border-color)}.alignment-toolbar__layout-preview-shell{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;color:var(--text-muted);background:var(--bg-hover);border:1px solid var(--border-color);border-radius:10px;font-size:10px;font-weight:650}.alignment-toolbar__layout-preview{width:100%;height:56px;padding:7px 10px}.alignment-toolbar__layout-preview--row{display:flex;justify-content:center;gap:7px}.alignment-toolbar__layout-preview--column{display:flex;flex-direction:column;justify-content:center;gap:4px}.alignment-toolbar__layout-preview--grid{display:grid;align-content:center;justify-content:center;gap:5px}.alignment-toolbar__layout-preview.is-start{align-items:flex-start;justify-items:start}.alignment-toolbar__layout-preview.is-center{align-items:center;justify-items:center}.alignment-toolbar__layout-preview.is-end{align-items:flex-end;justify-items:end}.alignment-toolbar__layout-preview-item{display:block;width:24px;height:18px;min-width:10px;min-height:8px;border:1px solid rgba(99,102,241,.75);border-radius:4px;background:#6366f133}.alignment-toolbar__layout-preview--row .alignment-toolbar__layout-preview-item.is-variant-1{height:30px}.alignment-toolbar__layout-preview--row .alignment-toolbar__layout-preview-item.is-variant-2{height:12px}.alignment-toolbar__layout-preview--column .alignment-toolbar__layout-preview-item{height:8px}.alignment-toolbar__layout-preview--column .alignment-toolbar__layout-preview-item.is-variant-1{width:38px}.alignment-toolbar__layout-preview--column .alignment-toolbar__layout-preview-item.is-variant-2{width:18px}.alignment-toolbar__layout-preview--grid .alignment-toolbar__layout-preview-item{width:22px;height:14px}.alignment-toolbar__layout-fieldset{min-width:0;margin:0;padding:0;border:0}.alignment-toolbar__layout-fieldset legend,.alignment-toolbar__layout-select-label>span{display:block;margin:0 0 6px;color:var(--text-muted);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.alignment-toolbar__layout-segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;background:var(--bg-hover);border:1px solid var(--border-color);border-radius:9px}.alignment-toolbar__layout-segmented button{min-width:0;min-height:30px;padding:5px 7px;color:var(--text-muted);background:transparent;border:1px solid transparent;border-radius:6px;font-size:11px;font-weight:650;cursor:pointer}.alignment-toolbar__layout-segmented--modes button{display:inline-flex;align-items:center;justify-content:center;gap:5px}.alignment-toolbar__layout-segmented button:hover{color:var(--text-main)}.alignment-toolbar__layout-segmented button.is-active{color:var(--primary-color);background:var(--surface-color);border-color:var(--border-color);box-shadow:var(--shadow-sm)}.alignment-toolbar__layout-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.alignment-toolbar__layout-input-grid label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;color:var(--text-muted);font-size:11px;font-weight:650}.alignment-toolbar__layout-input-grid input,.alignment-toolbar__layout-columns>input,.alignment-toolbar__layout-select-label select{width:100%;height:32px;padding:0 8px;color:var(--text-main);background:var(--surface-color);border:1px solid var(--border-color);border-radius:7px;font:inherit;font-size:12px;outline:none}.alignment-toolbar__layout-input-grid input:focus,.alignment-toolbar__layout-columns>input:focus,.alignment-toolbar__layout-select-label select:focus{border-color:var(--primary-color);box-shadow:0 0 0 2px #6366f129}.alignment-toolbar__layout-input-grid input:disabled,.alignment-toolbar__layout-columns>input:disabled{opacity:.45;cursor:not-allowed}.alignment-toolbar__layout-columns{display:grid;grid-template-columns:minmax(0,1fr) 82px;align-items:center;gap:8px}.alignment-toolbar__layout-checkbox{min-height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 9px;color:var(--text-main);background:var(--bg-hover);border:1px solid var(--border-color);border-radius:7px;font-size:11px;font-weight:650;cursor:pointer}.alignment-toolbar__layout-checkbox input{accent-color:var(--primary-color)}.alignment-toolbar__layout-select-label{display:block}.alignment-toolbar__layout-apply{width:100%;min-height:34px;padding:7px 12px;color:#fff;background:var(--primary-color);border:1px solid var(--primary-color);border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;transition:background .14s ease,transform .14s ease}.alignment-toolbar__layout-apply:hover{background:var(--primary-hover);transform:translateY(-1px)}.alignment-toolbar__layout-panel button:focus-visible,.alignment-toolbar__layout-trigger:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}@keyframes alignment-layout-panel-in{0%{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:760px){.alignment-toolbar__layout-trigger-label{display:none}.alignment-toolbar__layout-trigger{width:30px;padding:0}}@media(prefers-reduced-motion:reduce){.alignment-toolbar__layout-panel{animation:none}}@keyframes alignment-toolbar-in{0%{opacity:0;transform:translate(-50%) translateY(-6px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.auth-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e1e2e,#2d2d44,#1a1a2e)}.loading-spinner{width:48px;height:48px;border:4px solid rgba(99,102,241,.2);border-top-color:#6366f1;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:.8;transform:scale(1)}50%{opacity:.4;transform:scale(1.3)}}.tsqd-open-btn{display:none!important}.my-assignments__panel{box-sizing:border-box;display:flex;flex-direction:column;width:min(420px,calc((100vw - 16px) / var(--ui-scale, 1)));height:100%;overflow:hidden;border:1px solid var(--border-color);border-radius:16px;background:var(--surface-color);color:var(--text-main);box-shadow:var(--shadow-xl);font-family:var(--font-family, Inter, system-ui, sans-serif);font-size:13px}.my-assignments__panel--board{width:min(1000px,calc((100vw - 16px) / var(--ui-scale, 1)))}.my-assignments__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 14px}.my-assignments__header strong{font-size:17px;font-weight:650}.my-assignments__count{margin-top:5px;color:var(--text-muted);font-size:12px}.my-assignments__close{width:32px;height:32px;flex-shrink:0;border:0;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;font-size:22px}.my-assignments__close:hover{background:var(--bg-hover);color:var(--text-main)}.my-assignments__view-switch{display:flex;align-self:flex-start;margin:0 20px 16px;padding:3px;border:1px solid var(--border-color);border-radius:9px;background:var(--bg-hover)}.my-assignments__view-switch button{padding:5px 16px;border:0;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;font:inherit;font-size:12px}.my-assignments__view-switch button[aria-pressed=true]{background:var(--surface-color);color:var(--primary-color);box-shadow:0 1px 3px #0f172a1f}.my-assignments__sections{display:flex;gap:18px;padding:0 20px;border-bottom:1px solid var(--border-color)}.my-assignments__sections button{display:flex;align-items:center;gap:7px;padding:10px 0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text-muted);cursor:pointer;font:inherit;font-weight:600}.my-assignments__sections button[aria-pressed=true]{border-bottom-color:var(--primary-color);color:var(--primary-color)}.my-assignments__sections button span{padding:1px 6px;border-radius:5px;background:var(--bg-hover);font-size:11px}.my-assignments__controls{display:flex;flex-direction:column;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border-color)}.my-assignments__filters{display:flex;flex-wrap:wrap;gap:6px}.my-assignments__filters button{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--border-color);border-radius:7px;background:transparent;color:var(--text-muted);cursor:pointer;font:inherit;font-size:11px}.my-assignments__filters button span{font-size:10px;opacity:.85}.my-assignments__filters button[aria-pressed=true]{border-color:var(--primary-color);color:var(--primary-color);background:color-mix(in srgb,var(--primary-color) 7%,transparent)}.my-assignments__sort{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-muted);font-size:11px}.my-assignments__sort select{max-width:65%;padding:4px 6px;border:1px solid var(--border-color);border-radius:6px;background:var(--surface-color);color:var(--text-main);font:inherit;font-size:12px}.my-assignments__groups{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px}.my-assignments__stage+.my-assignments__stage{margin-top:22px}.my-assignments__stage-title{display:flex;justify-content:space-between;align-items:center;margin:0 5px 10px;color:var(--text-muted);font-size:11px;font-weight:600}.my-assignments__stage-title span:last-child{font-variant-numeric:tabular-nums}.my-assignments__item{margin-top:9px;border:1px solid var(--border-color);border-radius:10px;background:var(--surface-color);color:inherit;overflow:hidden}.my-assignments__item:hover{border-color:color-mix(in srgb,var(--primary-color) 40%,var(--border-color))}.my-assignments__item--overdue{border-left:3px solid #ef4444}.my-assignments__open{display:block;width:100%;padding:14px 14px 10px;text-align:left;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit}.my-assignments__panel button:focus-visible,.my-assignments__panel select:focus-visible{outline:2px solid var(--primary-color);outline-offset:-2px}.my-assignments__preview{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;color:var(--text-main);font-size:13px;font-weight:600;line-height:1.5}.my-assignments__context{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);font-size:11px}.my-assignments__hint{display:flex;justify-content:space-between;margin-top:12px;color:var(--primary-color);font-size:11px}.my-assignments__planning-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;color:var(--text-muted);font-size:11px}.my-assignments__due--overdue{color:#dc2626;font-weight:600}.my-assignments__priority{padding:2px 6px;border-radius:5px;background:#94a3b824;font-size:10px;font-weight:600}.my-assignments__priority--high{background:#f9731624;color:#c2410c}.my-assignments__priority--urgent{background:#ef444424;color:#b91c1c}.my-assignments__actions{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 14px}.my-assignments__action{padding:5px 9px;border:1px solid var(--border-color);border-radius:6px;background:var(--surface-color);color:var(--text-main);font:inherit;font-size:11px;cursor:pointer}.my-assignments__action:hover{border-color:var(--primary-color);color:var(--primary-color);background:var(--bg-hover)}.my-assignments__action:disabled{opacity:.55;cursor:wait}.my-assignments__empty{display:flex;flex-direction:column;align-items:center;gap:16px;padding:40px 20px;color:var(--text-muted);text-align:center;font-size:13px}.my-assignments__empty strong{font-weight:500}.my-assignments__transition-status,.my-assignments__transition-error{padding:8px 20px;font-size:12px}.my-assignments__transition-status{color:var(--text-muted)}.my-assignments__transition-error{color:#b91c1c}.assignment-board{flex:1;min-height:0;display:flex;flex-direction:column}.assignment-board__toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);color:var(--text-muted);font-size:12px}.assignment-board__toolbar label{display:flex;align-items:center;gap:6px;color:var(--text-main);cursor:pointer;white-space:nowrap}.assignment-board__toolbar input{accent-color:var(--primary-color)}.assignment-board__columns{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px;padding:16px}.assignment-board__column{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border-color);border-radius:11px;background:color-mix(in srgb,var(--surface-color) 95%,var(--text-muted));overflow:hidden}.assignment-board__column h2{display:flex;align-items:center;justify-content:space-between;margin:0;padding:14px;border-bottom:1px solid var(--border-color);color:var(--text-muted);font-size:12px;font-weight:600}.assignment-board__cards{display:flex;flex-direction:column;gap:10px;min-height:0;overflow-y:auto;padding:10px}.assignment-board__card{display:flex;flex-direction:column;flex-shrink:0;gap:8px;width:100%;padding:14px;border:1px solid var(--border-color);border-radius:9px;background:var(--surface-color);color:var(--text-main);cursor:pointer;text-align:left;font:inherit;box-shadow:0 1px 2px #0f172a0d}.assignment-board__card:hover{border-color:var(--primary-color)}.assignment-board__card--overdue{border-left:3px solid #ef4444}.assignment-board__card strong{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;font-size:13px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.assignment-board__source,.assignment-board__assignees{overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.assignment-board__assignees{color:var(--primary-color)}.assignment-board__meta{display:flex;flex-wrap:wrap;gap:6px;color:var(--text-muted);font-size:11px}.assignment-board__empty{padding:22px 8px;color:var(--text-muted);font-size:12px;text-align:center}@media(max-height:540px){.my-assignments__panel{overflow-y:auto}.my-assignments__groups,.assignment-board{flex:none;overflow:visible}.assignment-board__columns{min-height:220px}}.notifications-panel{background:var(--surface-color);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:0 12px 32px #0000002e;overflow:hidden}.notifications-panel__header,.notifications-panel__actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border-color)}.notifications-panel__filters{display:flex;gap:4px}.notifications-panel__filters button,.notifications-panel__actions button{border:none;background:transparent;color:var(--text-muted);cursor:pointer;font-size:12px;padding:4px 8px;border-radius:6px}.notifications-panel__filters button[aria-pressed=true]{background:var(--primary-color);color:#fff}.notifications-panel__empty{margin:0;padding:18px 12px;color:var(--text-muted);font-size:13px}.notifications-panel__list{list-style:none;margin:0;padding:0;max-height:360px;overflow:auto}.notifications-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;border:none;background:transparent;color:inherit;text-align:left;padding:10px 12px;cursor:pointer}.notifications-item[data-unread=true]{background:color-mix(in srgb,var(--primary-color) 10%,transparent)}.notifications-item__title{font-size:13px;font-weight:600}.notifications-item__meta,.notifications-item__when{font-size:11px;color:var(--text-muted)}.my-assignments__tabs{display:flex;gap:2px;margin:0 12px 8px;padding:2px;border-radius:10px;background:var(--bg-hover)}.my-assignments__tabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.my-assignments__tabs button[aria-selected=true]{background:var(--surface-color);color:var(--primary-color);box-shadow:var(--shadow-sm)}.my-assignments__tab-count{min-width:16px;padding:0 4px;border-radius:8px;background:var(--primary-color);color:#fff;font-size:10px;line-height:16px}.notifications-feed{display:flex;flex:1;flex-direction:column;min-height:0}.notifications-feed .notifications-panel__list{max-height:none;flex:1}.assignments-events-dot{position:absolute;top:4px;left:4px;width:8px;height:8px;border-radius:50%;background:var(--primary-color);box-shadow:0 0 0 2px var(--surface-color)}.assignments-popover{display:flex;height:calc((var(--radix-popover-content-available-height, 100vh) - 8px) / var(--ui-scale, 1))}.md-confirm{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:100001;background:color-mix(in srgb,var(--text-main, #0f172a) 48%,transparent)}.md-confirm__dialog{width:min(380px,100%);padding:20px;border:1px solid var(--border-color, #dbe3ee);border-radius:14px;background:var(--surface-color, #ffffff);color:var(--text-main, #0f172a);box-shadow:0 24px 70px color-mix(in srgb,var(--text-main, #0f172a) 28%,transparent)}.md-confirm__title{margin:0;font-size:17px;line-height:1.3}.md-confirm__message{margin:10px 0 18px;color:var(--text-muted, #64748b);font-size:13px;line-height:1.5}.md-confirm__actions{display:flex;justify-content:flex-end;gap:8px}.md-confirm__button{min-width:88px;padding:8px 13px;border:1px solid var(--border-color, #dbe3ee);border-radius:8px;background:var(--bg-hover, #f8fafc);color:var(--text-main, #0f172a);cursor:pointer;font:inherit;font-size:12px;font-weight:700}.md-confirm__button--primary{border-color:var(--primary-color, #2563eb);background:var(--primary-color, #2563eb);color:var(--surface-color, #ffffff)}.md-confirm__button--danger{border-color:var(--danger-color, #ef4444);background:var(--danger-color, #ef4444);color:var(--surface-color, #ffffff)}:root{--primary-color: #6366f1;--primary-hover: #4f46e5;--danger-color: #ef4444;--bg-color: #f8fafc;--surface-color: #ffffff;--surface-alpha: rgba(255, 255, 255, .95);--bg-hover: #f1f5f9;--text-main: #0f172a;--text-muted: #64748b;--border-color: #e2e8f0;--icon-color: #374151;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-full: 9999px;--font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif}[data-theme=dark]{--bg-color: #0f172a;--surface-color: #1e293b;--surface-alpha: rgba(30, 41, 59, .95);--bg-hover: #334155;--text-main: #f1f5f9;--text-muted: #94a3b8;--border-color: #334155;--icon-color: #cbd5e1;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .5);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .5), 0 2px 4px -2px rgb(0 0 0 / .5);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .5), 0 4px 6px -4px rgb(0 0 0 / .5);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .5), 0 8px 10px -6px rgb(0 0 0 / .5)}body{font-family:var(--font-family);background-color:var(--bg-color);color:var(--text-main);margin:0;padding:0;overflow:hidden}*{box-sizing:border-box}button{font-family:inherit}:root{--block-header-bg: linear-gradient(135deg, var(--bg-hover, #fffaf0) 0%, var(--surface-color, #f8fafc) 100%);--block-header-border: var(--border-color, #dbe3ee);--block-header-text: var(--text-main, #0f172a);--block-button-bg: var(--surface-color, #ffffff);--block-button-text: var(--text-main, #334155);--block-button-active-bg: var(--text-main, #0f172a);--block-button-active-text: var(--surface-color, #ffffff);--block-button-copied-bg: #22c55e;--block-button-copied-text: #ffffff}.block-header{min-height:42px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;border-bottom:1px solid var(--block-header-border);background:var(--block-header-bg);color:var(--block-header-text);-webkit-user-select:none;user-select:none;flex-shrink:0}.block-header__left{display:flex;align-items:center;gap:7px;min-width:0;flex:1 1 auto}.block-header__icon{display:inline-flex;align-items:center;flex-shrink:0;font-size:15px;line-height:1}.block-header__title{min-width:0;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.block-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-shrink:0;flex-wrap:wrap}.block-header__btn,.block-header__select{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:26px;box-sizing:border-box;padding:2px 8px;font-size:11px;font-weight:700;border-radius:999px;border:1px solid var(--block-header-border);background:var(--block-button-bg);color:var(--block-button-text);outline:none;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.block-header__btn:hover:not(:disabled),.block-header__select:hover:not(:disabled){border-color:var(--primary-color, #94a3b8)}.block-header__btn:focus-visible,.block-header__select:focus-visible{outline:2px solid var(--primary-color, #6366f1);outline-offset:1px}.block-header__btn:disabled,.block-header__select:disabled{opacity:.55;cursor:default}.block-header__btn--active{background:var(--block-button-active-bg);color:var(--block-button-active-text)}.block-header__btn--copied{background:var(--block-button-copied-bg);color:var(--block-button-copied-text)}.block-header__btn--icon{padding:2px 10px;font-size:14px;line-height:1}.block-header--collapsible{container:block-header / inline-size}@container block-header (max-width: 560px){.block-header__label{display:none}.block-header__btn{padding:2px 10px}}.project-structure{position:absolute;top:5.25rem;left:1rem;z-index:92;pointer-events:none}.project-structure__panel{pointer-events:auto}.project-structure__panel{width:min(340px,calc(100vw - 2rem));max-height:calc(100vh - 7rem);display:flex;flex-direction:column;background:var(--surface-alpha);border:1px solid var(--border-color);border-radius:18px;box-shadow:var(--shadow-xl);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow:hidden;color:var(--text-main)}.project-structure__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1rem .8rem;border-bottom:1px solid var(--border-color)}.project-structure__header-actions{display:inline-flex;align-items:center;gap:.45rem}.project-structure__close{border:1px solid var(--border-color);background:var(--bg-hover);color:var(--text-muted);width:30px;height:30px;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer}.project-structure__close:hover,.project-structure__close:focus-visible{background:var(--surface-color);color:var(--text-main)}.project-structure__eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.35rem}.project-structure__title{margin:0;font-size:1rem;color:var(--text-main)}.project-structure__summary{flex-shrink:0;font-size:.75rem;color:var(--text-muted);background:var(--bg-hover);border-radius:999px;padding:.35rem .55rem}.project-structure__search{display:flex;flex-direction:column;gap:.35rem;padding:.85rem 1rem 0}.project-structure__search-label{font-size:.73rem;font-weight:600;color:var(--text-muted)}.project-structure__search input{width:100%;box-sizing:border-box;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-hover);color:var(--text-main);font-size:.9rem;padding:.7rem .8rem;outline:none}.project-structure__search input::placeholder{color:var(--text-muted)}.project-structure__search input:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f124}.project-structure__tree{padding:.85rem .8rem .9rem;overflow:auto;display:flex;flex-direction:column;gap:.75rem}.project-structure__group{border:1px solid var(--border-color);border-radius:14px;background:var(--bg-hover)}.project-structure__group-header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.75rem;border:none;background:transparent;padding:.8rem .85rem;cursor:pointer;color:var(--text-main);font-weight:600}.project-structure__group-title{display:inline-flex;align-items:center;gap:.55rem}.project-structure__group-chevron,.project-structure__disclosure{width:1rem;text-align:center}.project-structure__group-count{font-size:.75rem;color:var(--text-muted)}.project-structure__group-body{padding:0 .3rem .4rem}.project-structure__node{display:flex;flex-direction:column}.project-structure__row{position:relative;display:flex;align-items:center;min-height:2rem;border-radius:10px}.project-structure__row.is-selected{background:#3b82f61a}.project-structure__row.is-dragging{opacity:.45}.project-structure__row.is-drop-before:before,.project-structure__row.is-drop-after:after{content:"";position:absolute;left:.9rem;right:.5rem;height:2px;border-radius:999px;background:var(--primary-color);box-shadow:0 0 0 1px #6366f11f}.project-structure__row.is-drop-before:before{top:-1px}.project-structure__row.is-drop-after:after{bottom:-1px}.project-structure__row.is-hidden .project-structure__item-label{text-decoration:line-through;opacity:.7}.project-structure__item--editing{cursor:default;background:var(--surface-alpha)}.project-structure__rename-input{width:100%;box-sizing:border-box;border:1px solid rgba(59,130,246,.35);border-radius:8px;background:var(--surface-color);color:var(--text-main);font-size:.84rem;padding:.42rem .55rem;outline:none}.project-structure__rename-input:focus{border-color:#3b82f6b8;box-shadow:0 0 0 3px #3b82f61f}.project-structure__rename-input.is-invalid{border-color:#dc2626b8;box-shadow:0 0 0 3px #dc26261a}.project-structure__rename-error{margin-top:.1rem;padding-right:.5rem;color:#dc2626;font-size:.7rem;line-height:1.35}.project-structure__drag-handle{border:none;background:transparent;color:var(--text-muted);cursor:grab;padding:0;flex:0 0 1rem;font-size:.72rem;line-height:1;opacity:.58}.project-structure__drag-handle:hover,.project-structure__drag-handle:focus-visible{opacity:1;color:var(--text-main)}.project-structure__drag-handle.is-disabled{cursor:default;opacity:.2}.project-structure__disclosure{border:none;background:transparent;color:var(--text-muted);cursor:pointer;padding:0;flex:0 0 1.15rem;font-size:.75rem}.project-structure__disclosure:disabled{cursor:default;opacity:.3}.project-structure__item{flex:1;min-width:0;border:none;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.38rem .5rem;border-radius:10px;color:var(--text-main);cursor:pointer;text-align:left}.project-structure__item:hover{background:var(--surface-color)}.project-structure__item-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem}.project-structure__meta,.project-structure__actions{flex-shrink:0;display:inline-flex;align-items:center;gap:.35rem}.project-structure__actions{opacity:0;transition:opacity .12s ease}.project-structure__row:hover .project-structure__actions,.project-structure__row:focus-within .project-structure__actions,.project-structure__row.is-locked .project-structure__actions,.project-structure__row.is-hidden .project-structure__actions{opacity:1}.project-structure__item:focus-visible,.project-structure__group-header:focus-visible{outline:2px solid var(--primary-color);outline-offset:-2px;border-radius:10px}.project-structure__action,.project-structure__type{border-radius:999px;font-size:.64rem;font-weight:700;padding:.2rem .38rem}.project-structure__action{border:1px solid var(--border-color);background:var(--surface-color);color:var(--text-main);cursor:pointer}.project-structure__type{background:var(--surface-color);color:var(--text-muted)}.project-structure__empty{padding:.6rem .75rem;color:var(--text-muted);font-size:.82rem}@media(max-width:900px){.project-structure{top:auto;bottom:1rem;left:1rem;right:1rem}.project-structure__panel{width:min(100%,420px);max-height:50vh}.project-structure__actions{opacity:1}}html,body,#root{height:100%;width:100%}#root{display:flex;flex-direction:column}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--text-muted);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--icon-color)}@keyframes canvas-pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.3);opacity:.7}to{transform:scale(1);opacity:1}}
