:root{--thq-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, var(--emoji-font, "Apple Color Emoji"), "Segoe UI Emoji", "Segoe UI Symbol";--thq-color-text: rgb(42, 49, 53);--thq-priority-highest-bg: #dc2626;--thq-priority-high-bg: #f97316;--thq-priority-low-bg: #16a34a;--thq-priority-lowest-bg: #2563eb;--thq-priority-icon-color: #ffffff;font-family:var(--thq-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, var(--emoji-font, "Apple Color Emoji"), "Segoe UI Emoji", "Segoe UI Symbol");line-height:1.5;color:var(--thq-color-text, rgb(42, 49, 53));background-color:var(--thq-color-background, #f8fafc);--thq-app-padding: 12px;--thq-content-gutter: 24px;--thq-bottom-bar-height: 38px;--thq-pane-content-max-width: 800px;--thq-safe-area-bottom: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(135deg,var(--thq-color-background, #f8fafc) 0%,var(--thq-color-surface, #eef2f7) 100%)}.ti-tag-suggestions{z-index:10000;min-width:220px;max-width:min(360px,calc(100vw - 24px));max-height:min(280px,calc(100vh - 24px));overflow:auto;padding:6px;border-radius:12px;border:1px solid rgba(226,232,240,.95);background:#fffffffa;box-shadow:0 18px 36px #0f172a2e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ti-tag-suggestions__item{width:100%;text-align:left;border:none;background:transparent;color:inherit;padding:8px 10px;border-radius:10px;cursor:pointer;font-size:13px;line-height:1.2}.ti-tag-suggestions__item.is-active{background:#4f46e51f}.ti-tag-suggestions__empty{padding:10px;font-size:12px;color:#64748b}.ti-tag-pill{display:inline-flex;align-items:center;gap:4px;padding:1px 6px;margin-bottom:2px;border-radius:999px;font-size:.8em;line-height:1;height:1.6em;white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:pointer;background:#4f46e51f;color:inherit;border:1px solid rgba(79,70,229,.22);vertical-align:middle;margin-right:.25em}.ti-tag-pill:hover{background:#4f46e529}.ti-date-pill{display:inline-flex;align-items:center;gap:4px;padding:1px 6px;border-radius:999px;font-size:.8em;line-height:1;height:1.6em;white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:pointer;background:#e2e8f066;color:inherit;border:1px solid rgba(203,213,225,.6);vertical-align:baseline;margin-right:.25em;position:relative;top:-2px}.ti-date-pill:hover{background:#e2e8f0cc}.ti-date-pill-icon{font-size:.88em;cursor:pointer}.ti-date-suggestion{z-index:10000;min-width:140px;padding:8px 10px;border-radius:8px;border:1px solid rgba(226,232,240,.95);background:#fffffffa;box-shadow:0 12px 24px #0f172a1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.ti-date-picker{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;padding:1rem;width:280px;font-family:sans-serif;z-index:10001}.ti-date-picker__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.ti-date-picker__month-label{font-weight:600;color:#1e293b}.ti-date-picker__nav-btn{background:transparent;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;padding:4px 8px;color:#64748b}.ti-date-picker__nav-btn:hover{background:#f1f5f9;color:#0f172a}.ti-date-picker__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.ti-date-picker__day-header{text-align:center;font-size:.75rem;font-weight:600;color:#94a3b8;padding-bottom:4px}.ti-date-picker__day{background:transparent;border:none;border-radius:4px;cursor:pointer;padding:6px;font-size:.875rem;color:#1e293b}.ti-date-picker__day:hover{background:#f1f5f9}.ti-date-picker__day.is-outside{color:#cbd5e1}.ti-date-picker__day.is-selected{background:#3b82f6;color:#fff}.ti-date-picker__time{margin-top:.75rem;display:flex;align-items:center;gap:.5rem}.ti-date-picker__time-label{font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.ti-date-picker__time-input{flex:1;border:1px solid #e2e8f0;border-radius:4px;padding:4px 6px;font-size:.8rem;color:#0f172a;background:#fff}.ti-date-picker__time-input:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.ti-date-picker__time-clear{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:.25rem .5rem;font-size:.7rem;color:#475569;cursor:pointer;font-weight:600}.ti-date-picker__time-clear:hover{background:#e2e8f0;color:#0f172a}.ti-date-picker__shortcuts{border-top:1px solid #e2e8f0;margin-top:1rem;padding-top:.5rem;display:flex;flex-wrap:wrap;gap:.5rem}.ti-date-picker__shortcut-btn{background:#f1f5f9;border:none;border-radius:4px;padding:.25rem .5rem;font-size:.75rem;color:#475569;cursor:pointer;font-weight:500}.ti-date-picker__shortcut-btn:hover{background:#e2e8f0;color:#0f172a}.ti-date-suggestion__content{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#1e293b}.ti-date-suggestion__icon{font-size:14px}.ti-date-suggestion__hint{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;background:#f1f5f9;padding:2px 6px;border-radius:4px}.ti-wikilink,.ti-link{cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.ti-wikilink:hover,.ti-link:hover{text-decoration-thickness:2px}.ti-tag-hover-pencil{z-index:10010;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(226,232,240,.95);background:#fffffffa;color:#0f172aeb;box-shadow:0 12px 22px #0f172a29;cursor:pointer}.ti-tag-hover-pencil:hover{background:#f8fafc}.ti-tag-firework{position:fixed;width:0;height:0;pointer-events:none;z-index:20000}.ti-tag-firework__particle{position:absolute;left:0;top:0;width:var(--size, 4px);height:var(--size, 4px);border-radius:999px;background:hsl(var(--hue) 92% 60%);transform:translate(-50%,-50%);animation:ti-tag-firework-pop .7s cubic-bezier(.16,1,.3,1) forwards;animation-delay:var(--delay, 0ms);box-shadow:0 0 14px hsl(var(--hue) 92% 60% / .45)}.ti-tag-firework__ring{position:absolute;left:0;top:0;width:14px;height:14px;border-radius:999px;border:2px solid rgba(251,191,36,.92);transform:translate(-50%,-50%) scale(.4);opacity:0;animation:ti-tag-firework-ring .65s ease-out forwards}.ti-tag-firework__ring--2{width:18px;height:18px;border-color:#f97316c7;animation-delay:70ms}@keyframes ti-tag-firework-pop{0%{transform:translate(-50%,-50%) scale(.8);opacity:1}to{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(.1);opacity:0}}@keyframes ti-tag-firework-ring{0%{transform:translate(-50%,-50%) scale(.4);opacity:.9}to{transform:translate(-50%,-50%) scale(3.2);opacity:0}}.app-shell{min-height:100vh;height:100vh;min-height:100dvh;height:100dvh;display:flex;flex-direction:column;background:var(--thq-color-background, #f8fafc);color:var(--thq-color-text, #0f172a);position:relative}.app-content{display:flex;flex-direction:column;gap:16px;padding:var(--thq-app-padding) var(--thq-content-gutter) calc(var(--thq-bottom-bar-height) + (var(--thq-app-padding) * 2) + var(--thq-safe-area-bottom));flex:1;min-height:0;overflow:hidden}.sidebar{background:linear-gradient(180deg,#fffffff5,#f8fafcfa);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:20px;display:flex;flex-direction:column;gap:16px;position:relative;width:min(340px,90vw);border-radius:18px;box-shadow:0 24px 45px #0f172a2e;border:1px solid rgba(226,232,240,.9);height:100%;overflow:auto}.logo-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-weight:700;color:#4f46e5;-webkit-user-select:none;user-select:none}.logo-row__top{display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebar-heading{font-size:12px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}.sidebar-pin{border:none;background:transparent;color:#4338ca;border-radius:10px;width:30px;height:30px;display:grid;place-items:center;cursor:pointer;box-shadow:none;transition:background-color .12s ease,color .12s ease,transform .12s ease}.sidebar-pin:hover{transform:translateY(-1px);background:#eef2ff}.sidebar-pin.is-pinned{background:transparent;color:#1f2937}.logo-mark{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;display:grid;place-items:center;font-weight:800}.logo-text{flex:1}.icon-btn{border:none;background:#f8fafc;color:#475569;border-radius:10px;padding:8px;cursor:pointer}.icon-btn:disabled{opacity:.5;cursor:not-allowed}.icon-btn:not(:disabled):hover{background:#eef2ff;color:#4338ca}.doc-dropdown{position:relative;flex:1}.doc-dropdown__button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:8px 10px;font-weight:700;color:#0f172a;cursor:pointer;text-align:left}.doc-dropdown__button:disabled{opacity:.6;cursor:not-allowed}.doc-dropdown__menu{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 14px 36px #0f172a29;padding:8px;z-index:30;display:grid;grid-template-rows:1fr auto;row-gap:8px;max-height:80vh;min-height:0;overflow:hidden}.doc-dropdown__list{overflow:auto;display:flex;flex-direction:column;gap:2px;padding:2px;min-height:0}.doc-dropdown__section{padding:6px;border:1px solid #e2e8f0;border-radius:10px}.doc-dropdown__section+.doc-dropdown__section{margin-top:2px}.doc-dropdown__section-title{font-size:12px;font-weight:700;color:#475569;margin:0 0 4px;text-transform:uppercase;letter-spacing:.04em}.doc-dropdown__section--local{color:#166534}.doc-dropdown__section--remote{color:#1d4ed8}.doc-dropdown__section--bin{color:#b91c1c}.doc-dropdown__empty{padding:6px 8px}.doc-option{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;border-radius:8px;cursor:pointer;transition:background .12s ease;position:relative}.doc-option:hover{background:#eef2ff}.doc-option.disabled{opacity:.5;cursor:not-allowed}.doc-option__label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative}.doc-option__info{display:inline-flex;align-items:center;gap:6px;min-width:0;flex:1}.doc-option__label:after{content:attr(data-fullname);position:absolute;left:0;top:100%;transform:translateY(6px);background:#0f172a;color:#f8fafc;padding:4px 8px;border-radius:6px;font-size:11px;line-height:1.3;box-shadow:0 8px 18px #0f172a29;white-space:nowrap;max-width:280px;overflow:hidden;text-overflow:ellipsis;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .12s ease;z-index:10}.doc-option:hover .doc-option__label:after{opacity:1;transform:translateY(2px)}.doc-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:999px;font-size:11px;font-weight:700;border:1px solid #cbd5e1;color:#0f172a;background:#f8fafc;white-space:nowrap}.doc-badge--remote{border-color:#fb923c;color:#c2410c;background:#fff7ed}.doc-badge--bin{border-color:#94a3b8;color:#0f172a;background:#e2e8f0}.doc-option__actions{display:flex;gap:4px;opacity:0;transition:opacity .12s ease}.doc-option:hover .doc-option__actions{opacity:1}.doc-option.create{justify-content:center;background:#f8fafc;width:100%;font-weight:700;border-width:1px;border-style:dashed;border-color:#e2e8f0}.doc-option.create:hover{background:#eef2ff;color:#4338ca}.modal-actions.stacked{align-items:stretch;gap:10px}.delete-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.logo-caret,.nav-caret{width:12px;height:8px;position:relative;display:inline-block;transition:transform .14s ease}.logo-caret:before,.nav-caret:before{content:"";position:absolute;top:0;left:0;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #2563eb}.logo-caret.open,.nav-caret.open{transform:rotate(180deg)}.nav-block{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.nav-heading{display:flex;justify-content:space-between;align-items:center}.nav-heading .nav-title{margin:0}.nav-title{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:0 0 8px}.nav-caret{margin-left:8px}.nav-block ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.nav-link{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:#0f172a;font-weight:600;cursor:pointer}.nav-link:hover,.nav-link.active{background:#eef2ff;color:#4338ca}.nav-icon,.nav-bullet{font-size:14px;color:#cbd5e1}.sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:12px}.user-chip{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px}.update-indicator{display:flex;gap:10px;padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;align-items:center}.update-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:#cbd5e1}.update-dot[data-state=available]{background:#f59e0b;box-shadow:0 0 0 6px #f59e0b26}.update-dot[data-state=checking]{background:#3b82f6;box-shadow:0 0 0 6px #3b82f626}.update-dot[data-state=up-to-date]{background:#16a34a;box-shadow:0 0 0 6px #16a34a1a}.update-copy{flex:1;display:flex;flex-direction:column;gap:4px;color:#475569}.update-actions{display:flex;gap:6px}.sync-banner{display:flex;flex-direction:column;gap:10px;align-items:stretch;padding:12px;border:1px solid #e2e8f0;border-radius:12px}.sync-banner[data-state=syncing] .sync-dot{background:#0ea5e9;border-color:#0ea5e9}.sync-banner__row{display:flex;gap:8px;align-items:center}.sync-banner__copy{display:flex;flex-direction:column;gap:0;justify-content:center}.sync-banner__label{font-size:13px;color:#0f172a;margin:0}.sync-banner__update{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;background:#f8fafc}.persistence-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:0 var(--thq-content-gutter);border-radius:12px;border:1px solid #fed7aa;background:#fff7ed}.persistence-banner__copy{display:flex;flex-direction:column;gap:4px}.persistence-banner__title{margin:0;font-weight:700;color:#9a3412;font-size:14px}.persistence-banner__body{margin:0;color:#7c2d12;font-size:13px}.persistence-banner__actions{display:flex;gap:8px;flex-wrap:wrap}.sync-indicator{display:flex;align-items:center;gap:8px;padding:8px 0;color:#475569;font-size:13px}.sync-dot{width:10px;height:10px;border-radius:50%;display:inline-block;border:1px solid #cbd5e1}.sync-dot.on{background:#16a34a;border-color:#16a34a}.sync-dot.off{background:#cbd5e1;border-color:#cbd5e1}.sync-dot.syncing{background:#0ea5e9;border-color:#0ea5e9}.user-avatar{width:32px;height:32px;border-radius:10px;background:#eef2ff;color:#4338ca;display:grid;place-items:center;font-weight:700}.user-avatar.has-image{padding:0;overflow:hidden;background:#e2e8f0}.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block}.account-menu-button{background:transparent;border:none;padding:0;cursor:pointer}.account-menu{position:fixed;min-width:180px;display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:12px;background:#fff;box-shadow:0 16px 32px #0f172a2e;z-index:130}.account-menu-item{background:transparent;border:1px solid rgba(226,232,240,.8);border-radius:10px;padding:8px 10px;text-align:left;font-size:14px;cursor:pointer}.account-menu-item:hover:not(:disabled){border-color:#94a3b8cc;background:#f8fafce6}.account-menu-item:disabled{opacity:.6;cursor:not-allowed}.user-name{font-weight:600}.sidebar-flyout{position:fixed;top:calc(var(--thq-app-padding) - 8px);bottom:calc(var(--thq-bottom-bar-height) + var(--thq-app-padding) + 8px + var(--thq-safe-area-bottom));left:0;right:0;display:none;align-items:flex-start;padding:var(--thq-app-padding);pointer-events:none;z-index:110}.sidebar-flyout__panel{transform:translate(-12px) translateY(8px);opacity:0;transition:transform .18s ease,opacity .16s ease;pointer-events:auto;height:100%}.sidebar-flyout.open{display:flex}.sidebar-flyout.open .sidebar-flyout__panel{transform:translate(0) translateY(0);opacity:1}.workspace{padding:4px 0;flex:1;min-height:0;display:flex;flex-direction:column;gap:0;height:100%;overflow:hidden}.pane{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 10px 30px #0f172a0f;position:relative;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.pane.is-drop-before:before,.pane.is-drop-after:before{content:"";position:absolute;top:8px;bottom:8px;width:4px;background:#3b82f6;border-radius:4px;z-index:2}.pane.is-drop-before:before{left:2px}.pane.is-drop-after:before{right:2px}.pane-header{display:flex;justify-content:space-between;align-items:center;padding:3px 10px;border-bottom:1px solid #e2e8f0;color:#94a3b8;gap:8px}.pane.active .pane-header{border-bottom:2px solid #3b82f6}.pane-actions{display:flex;gap:6px;align-items:center}.pane-nav{border:none;background:transparent;color:#0f172a;font-weight:700;font-size:13px;padding:0 6px;cursor:pointer}.pane-nav:disabled{opacity:.35;cursor:default}.pane-handle{align-self:stretch;flex:1;border:none;background:transparent;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;min-height:24px;font:inherit}.pane-handle.is-dragging{cursor:grabbing}.pane-handle:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.pane-close{padding:2px 6px;font-size:13px;border:none;cursor:pointer;background-color:transparent}.workspace-single .pane-close{display:none}.thq-pane-switcher.pane-switcher--mobile{display:none;margin-bottom:12px}.pane-action{border:none;background:transparent;color:#0f172a;padding:2px 4px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;gap:6px}.pane-action.is-disabled{opacity:.35;cursor:default;pointer-events:none}.pane-action.is-active{background:#4338ca1f;color:#4338ca;border-radius:6px}.pane-action--label{border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-focus-breadcrumb-color, #475569);padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.02em}.pane-action--label.is-active{border-color:#3b82f666;background:#3b82f61f;color:#1d4ed8}.pane-action__label{line-height:1}.pane-action.is-favourite.is-active{background:#fbbf2433;color:#d97706}.pane-action.is-favourite.is-active svg{fill:currentColor}.pane-body{padding:0 22px 0 24px;display:flex;flex-direction:column;flex:1;overflow:auto;min-height:0;min-width:0;width:100%}.pane-body__inner{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;min-width:0;width:100%}.pane-body--constrained .outline-pane__topbar,.pane-body--constrained .outline-pane__focus-header,.pane-body--constrained .outline-pane__selection-toolbar,.pane-body--constrained .tasks-pane__header,.pane-body--constrained .outline-pane__list [data-outline-inner=true],.pane-body--constrained .tasks-pane__scroll [data-outline-inner=true]{max-width:var(--thq-pane-content-max-width, 960px);margin:0 auto;width:100%}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:#94a3b8}.crumb{cursor:pointer}.crumb.current{color:#0f172a;font-weight:700}.crumb-sep{color:#cbd5e1}.doc-meta h2{margin:0 0 4px;font-size:22px}.doc-meta p{margin:0;color:#94a3b8;font-size:13px}.outline-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.outline-row{display:flex;align-items:center;gap:10px;color:#0f172a}.outline-row.multi-selected{background:#e0f2ff;--thq-outline-gutter-bg: transparent;--thq-outline-selection-gutter-bg: transparent}.outline-row.context-menu-target{outline:1px solid #cbd5e1;outline-offset:-2px;border-radius:6px}.outline-row.done .row-text,.outline-row.done .row-html,.outline-row.done .row-editor .ProseMirror{text-decoration:line-through;opacity:.6}.outline-row.nested{flex-direction:column;align-items:flex-start;gap:4px}.bullet{color:#94a3b8}.chevron{color:#cbd5e1;font-size:12px}.row-text{font-weight:600;line-height:1.4;flex:1;min-height:28px;display:inline-flex;align-items:center;cursor:text}.row-text--backlink-header{color:var(--thq-color-text-muted, #39475b);font-weight:400;font-style:italic}.row-editor{width:100%;min-height:24px}.row-editor .ProseMirror,.row-html{font:inherit;font-weight:400;line-height:1.4}.thq-outline-row--h1 .row-editor .ProseMirror,.thq-outline-row--h1 .row-html,.thq-outline-row--h2 .row-editor .ProseMirror,.thq-outline-row--h2 .row-html,.thq-outline-row--h3 .row-editor .ProseMirror,.thq-outline-row--h3 .row-html,.thq-outline-row--h4 .row-editor .ProseMirror,.thq-outline-row--h4 .row-html,.thq-outline-row--h5 .row-editor .ProseMirror,.thq-outline-row--h5 .row-html{font-weight:inherit;line-height:inherit}.row-editor .ProseMirror strong,.row-html strong{font-weight:700}.row-editor .ProseMirror .ti-underline,.row-html .ti-underline{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.row-editor .ProseMirror .ti-strike,.row-html .ti-strike{text-decoration:line-through}.row-editor .ProseMirror{border:none;outline:none;padding:0;margin:0;background:transparent;width:100%;min-height:24px;cursor:text}.row-editor .ProseMirror .ti-wikilink,.row-editor .ProseMirror .ti-link,.row-html .ti-wikilink,.row-html .ti-link{cursor:pointer!important}.row-editor .ProseMirror-focused{outline:none}.row-editor .ProseMirror p,.row-html p{margin:0;padding:0}.row-html{display:block;width:100%;min-height:24px;cursor:text}.bottom-bar{position:fixed;left:var(--thq-content-gutter);right:var(--thq-content-gutter);bottom:calc(var(--thq-app-padding) + var(--thq-safe-area-bottom));display:grid;grid-auto-flow:column;align-items:center;gap:14px;padding:6px 14px;background:#fff;box-shadow:0 14px 28px #0f172a1f;border-radius:14px;min-width:0;width:auto;min-height:var(--thq-bottom-bar-height);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:120;transform:none}.bottom-bar__btn{height:30px;width:30px;border-radius:10px;border:none;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:#1f2937;font-size:18px;cursor:pointer;transition:transform .12s ease,color .12s ease}.bottom-bar__btn:hover{transform:translateY(-1px);color:#2563eb}.bottom-bar__btn.badge{position:relative}.pane-count-button{width:32px;min-width:32px;height:32px;padding:0;border-radius:10px;border:none;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:700}.pane-count-button:hover{background:#e0e7ff}.pane-count-button__count{line-height:1}.pane-count-dialog__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0f172a59;z-index:140}.pane-count-dialog{width:min(560px,92vw);max-height:min(70vh,560px);background:#fff;border-radius:16px;padding:16px;box-shadow:0 20px 50px #0f172a40;display:flex;flex-direction:column;gap:12px}.pane-count-dialog__header{display:flex;align-items:center;justify-content:space-between;font-weight:600;color:#0f172a}.pane-count-dialog__close{border:none;background:transparent;padding:4px;border-radius:8px;color:#64748b;cursor:pointer}.pane-count-dialog__close:hover{background:#94a3b829;color:#0f172a}.pane-count-dialog__list{display:flex;flex-direction:column;gap:8px;overflow:auto}.pane-count-menu__row{display:flex;align-items:center;gap:8px;border:1px solid rgba(226,232,240,.9);border-radius:12px;background:#f8fafc;padding:2px 6px;transition:border-color .12s ease,background .12s ease}.pane-count-menu__row:hover{border-color:#94a3b8cc;background:#f1f5f9}.pane-count-menu__row.is-active{background:#6366f11f;border-color:#6366f159}.pane-count-menu__label{flex:1;border:none;background:transparent;padding:8px 10px;text-align:left;font-size:14px;color:#0f172a;cursor:pointer}.pane-count-menu__row.is-active .pane-count-menu__label{color:#4338ca;font-weight:600}.pane-count-menu__remove{border:none;background:transparent;padding:6px;border-radius:8px;color:#94a3b8;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .12s ease,color .12s ease,background .12s ease}.pane-count-menu__row:hover .pane-count-menu__remove,.pane-count-menu__row:focus-within .pane-count-menu__remove{opacity:1;pointer-events:auto}.pane-count-menu__remove:hover{color:#ef4444;background:#ef44441f}.pane-count-menu__empty{padding:12px 10px;text-align:center;color:#64748b;border:1px dashed #e2e8f0;border-radius:12px}.badge-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 2px #fff}.bottom-bar__user{display:inline-flex;align-items:center;gap:10px;padding-left:8px}.bottom-status-dot{width:10px;height:10px;box-shadow:0 0 0 2px #fff}.pane-scroll-host{flex:1;min-height:0}.pane-scrollbar{display:none;height:12px;overflow-x:auto;overflow-y:hidden;margin-top:8px;width:100%}.pane-scrollbar.is-visible{display:block}.pane-scrollbar__spacer{height:1px}.thq-pane-split{scrollbar-width:none}.thq-pane-split::-webkit-scrollbar{height:0;width:0}.row-icons{line-height:1}.thq-expand-toggle{border-radius:4px;transition:background-color .12s ease}.thq-expand-toggle:focus-visible{outline:2px solid #6366f1;outline-offset:2px}.thq-node-bullet{line-height:1;transform:translateY(-3px)}.thq-node-bullet__dot{line-height:1}.loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;display:flex;align-items:center;justify-content:center;z-index:999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.loading-card{background:#fff;padding:20px 24px;border-radius:12px;box-shadow:0 12px 30px #0000001f;min-width:280px;max-width:360px}.loading-title{margin:0 0 4px;font-size:16px;font-weight:700;color:#0f172a}.loading-doc{margin:0 0 12px;color:#475569;font-size:13px;word-break:break-all}.app-main{display:flex;flex:1;min-height:0;gap:0px;position:relative}.sidebar-inline{flex:0 0 auto;display:flex;height:100%;padding-top:calc(var(--thq-app-padding) + 4px);padding-bottom:calc(var(--thq-bottom-bar-height) + (var(--thq-app-padding) * 2) + 4px + var(--thq-safe-area-bottom));margin-left:var(--thq-content-gutter);margin-right:0}.sidebar-hover-zone{position:absolute;top:0;bottom:0;left:var(--thq-content-gutter);width:14px;transform:translate(-14px);pointer-events:auto;border-right:1px solid transparent;z-index:60}.progress-bar{width:100%}.progress-bar__track{position:relative;width:100%;height:8px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-bottom:8px}.progress-bar__fill{position:absolute;left:-40%;width:40%;height:100%;background:linear-gradient(90deg,#6366f1,#22d3ee);border-radius:999px;animation:progress-slide 1.4s infinite ease-in-out}@keyframes progress-slide{0%{left:-40%}50%{left:30%}to{left:100%}}.toast{position:fixed;right:20px;bottom:20px;background:#0f172a;color:#e2e8f0;padding:14px 16px;border-radius:12px;box-shadow:0 12px 30px #0f172a40;min-width:260px;z-index:9999}.toast__title{font-weight:700;margin:0 0 4px}.toast__body{margin:0;font-size:14px;color:#cbd5e1}.outline-pane{height:100%;display:flex;flex-direction:column;overflow:hidden;position:relative;--thq-outline-gutter-width: 44px;--thq-outline-gutter-bg: var(--thq-color-surface, #ffffff);--thq-outline-gutter-border-color: var(--thq-color-border, #e2e8f0);--thq-outline-selection-gutter-width: 44px;--thq-outline-selection-gutter-bg: var(--thq-color-surface, #ffffff);--thq-outline-selection-gutter-border-color: var(--thq-outline-gutter-border-color, var(--thq-color-border, #e2e8f0));--thq-focus-header-space: 44px}.outline-pane__topbar{display:flex;align-items:center;gap:8px;padding:5px 12px 0 0;background:var(--thq-focus-breadcrumb-bg, #ffffff)}.pane.active .outline-pane__topbar{border-bottom:none}.outline-pane__crumbs{flex:1;min-width:0}.outline-pane__search-row{flex:1;display:flex;align-items:center;gap:8px}.outline-pane__icon-button{border:none;background:transparent;padding:6px;border-radius:6px;color:var(--thq-focus-breadcrumb-color, #475569);cursor:pointer}.outline-pane__icon-button:hover,.outline-pane__icon-button:focus-visible{background:var(--thq-color-surface-muted, #f1f5f9);color:var(--thq-focus-breadcrumb-active, #0f172a);outline:none}.outline-pane__icon-button.is-active{background:#fbbf2433;color:#d97706}.outline-pane__icon-button:disabled{opacity:.4;cursor:default}.outline-pane__selection-toggle{border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-focus-breadcrumb-color, #475569);padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.02em;cursor:pointer}.outline-pane__selection-toggle:hover,.outline-pane__selection-toggle:focus-visible{background:var(--thq-color-surface-muted, #f1f5f9);color:var(--thq-focus-breadcrumb-active, #0f172a);outline:none}.outline-pane__selection-toggle.is-active{border-color:#3b82f666;background:#3b82f61f;color:var(--thq-color-accent, #3b82f6)}.outline-pane__selection-toolbar{display:flex;align-items:center;gap:12px;padding:4px 12px 6px 0;background:var(--thq-color-surface, #ffffff)}.outline-pane__selection-count{font-size:12px;font-weight:600;color:var(--thq-color-text-muted, #475569);letter-spacing:.03em;text-transform:uppercase}.outline-pane__selection-actions{margin-left:auto;display:inline-flex;align-items:center;gap:8px}.outline-pane__selection-action{border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text, #0f172a);border-radius:8px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer}.outline-pane__selection-action:hover,.outline-pane__selection-action:focus-visible{background:var(--thq-color-surface-muted, #f1f5f9);outline:none}.outline-pane__selection-action:disabled{opacity:.5;cursor:default}.outline-pane__search-input{flex:1;border:1px solid #e2e8f0;border-radius:9999px;padding:2px 8px;font:inherit;color:var(--thq-focus-header-text, #0f172a);background:#fff;box-shadow:none}.outline-pane__search-input:focus{outline:none;box-shadow:none}.outline-pane__list{flex:1;overflow:auto;position:relative;overflow-anchor:none}.outline-pane__focus-header-slot{width:100%}.outline-pane__focus-header{position:sticky;top:0;z-index:1;background:var(--thq-focus-breadcrumb-bg, #ffffff);padding:0 12px 15px 20px}.outline-pane__focus-header-row{display:grid;grid-template-columns:minmax(0,1fr) var(--thq-outline-gutter-width, 44px);align-items:start}.outline-pane__focus-header-gutter{padding-block:4px;padding-left:8px;padding-right:8px;display:flex;align-items:flex-start;justify-content:center;border-left-width:var(--thq-outline-gutter-border-width, 0px);border-left-style:solid;border-left-color:var(--thq-outline-gutter-border-color, var(--thq-color-border, #e2e8f0));background:var(--thq-outline-gutter-bg, transparent);-webkit-user-select:none;user-select:none}.outline-pane--search .outline-pane__focus-header{visibility:hidden;pointer-events:none}.outline-pane--search.outline-pane--no-focus-header .outline-pane__list{padding-top:var(--thq-focus-header-space, 44px)}.outline-pane__focus-header-content{display:flex;align-items:flex-start;gap:8px;min-width:0;color:var(--thq-focus-header-text, #0f172a);font-size:24px;font-weight:700;line-height:1.35;--thq-outline-special-icon-size: 22px;--thq-outline-special-icon-inner-size: 14px;--thq-outline-special-icon-offset-y: 6px}.outline-pane__focus-header-actions{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding-left:8px;transform:translateY(4px)}.outline-pane__focus-header-action{border:1px solid transparent;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;cursor:pointer}.outline-pane__focus-header-action:hover,.outline-pane__focus-header-action:focus-visible{background:var(--thq-color-surface-muted, #f1f5f9);color:var(--thq-focus-breadcrumb-active, #0f172a);outline:none}.outline-pane__focus-header-action.is-favourited{background:#fbbf2433;color:#d97706}.outline-pane__focus-header-content .row-editor,.outline-pane__focus-header-content .row-html,.outline-pane__focus-header-content .row-text,.outline-pane__focus-header-content .row-editor .ProseMirror{font-weight:inherit;line-height:inherit}.outline-pane__focus-header--done .row-text,.outline-pane__focus-header--done .row-html,.outline-pane__focus-header--done .row-editor .ProseMirror{text-decoration:line-through;opacity:.6}.thq-outline-row-content{display:flex;align-items:flex-start;min-width:0}.thq-task-priority{align-self:center;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:6px;border:none;padding:0;background:transparent;color:var(--thq-priority-icon-color, #ffffff);flex-shrink:0}.thq-task-priority--interactive{cursor:pointer}.thq-task-priority--interactive:focus-visible{outline:2px solid var(--thq-color-accent, #4338ca);outline-offset:2px}.thq-outline-row-content .thq-task-priority{margin-left:8px}.outline-pane__focus-header-content .thq-task-priority{margin-left:0}.thq-task-priority__icon{display:block;width:14px;height:14px}.thq-task-priority--highest{background:var(--thq-priority-highest-bg, #dc2626)}.thq-task-priority--high{background:var(--thq-priority-high-bg, #f97316)}.thq-task-priority--low{background:var(--thq-priority-low-bg, #16a34a)}.thq-task-priority--lowest{background:var(--thq-priority-lowest-bg, #2563eb)}.thq-task-priority-popover{display:inline-flex;align-items:center;padding:6px;border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);border-radius:12px;box-shadow:0 14px 36px #0f172a2e;z-index:70}.thq-task-priority-popover__options{display:flex;flex-direction:column;gap:6px}.thq-task-priority-popover__item{width:24px;height:24px;border-radius:8px;border:1px solid transparent;padding:0;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--thq-priority-icon-color, #ffffff);cursor:pointer}.thq-task-priority-popover__item:hover,.thq-task-priority-popover__item:focus-visible{box-shadow:0 0 0 2px #0f172a2e;outline:none}.thq-task-priority-popover__item--highest{background:var(--thq-priority-highest-bg, #dc2626)}.thq-task-priority-popover__item--high{background:var(--thq-priority-high-bg, #f97316)}.thq-task-priority-popover__item--normal{background:transparent;border-color:var(--thq-color-border, #e2e8f0);color:var(--thq-color-text-muted, #64748b)}.thq-task-priority-popover__item--low{background:var(--thq-priority-low-bg, #16a34a)}.thq-task-priority-popover__item--lowest{background:var(--thq-priority-lowest-bg, #2563eb)}.thq-priority-menu-icon--highest{color:var(--thq-priority-highest-bg, #dc2626)}.thq-priority-menu-icon--high{color:var(--thq-priority-high-bg, #f97316)}.thq-priority-menu-icon--low{color:var(--thq-priority-low-bg, #16a34a)}.thq-priority-menu-icon--lowest{color:var(--thq-priority-lowest-bg, #2563eb)}.thq-outline-task-checkbox{flex-shrink:0;width:14px;height:14px;margin-top:var(--thq-bullet-offset-y, 4px);margin-right:8px;cursor:pointer;accent-color:var(--thq-color-accent, #4338ca)}.thq-outline-task-checkbox--round{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--thq-color-text-muted, #94a3b8);border-radius:999px;background:var(--thq-color-surface, #ffffff);display:inline-grid;place-content:center}.thq-outline-task-checkbox--round:checked{border-color:var(--thq-color-accent, #4338ca);background:var(--thq-color-surface, #ffffff)}.thq-outline-task-checkbox--round:checked:after{content:"";width:4px;height:7px;box-sizing:border-box;border-right:2px solid var(--thq-color-accent, #4338ca);border-bottom:2px solid var(--thq-color-accent, #4338ca);transform:translateY(-1px) rotate(45deg)}.thq-outline-special-node-icon{flex-shrink:0;width:14px;height:14px;margin-top:2px;margin-right:8px;color:var(--thq-color-text-muted, #475569);pointer-events:none}.thq-outline-row-content .row-editor,.thq-outline-row-content .row-html{flex:1;min-width:0}.thq-outline-row-content .row-html{display:block}.thq-outline-backlink-breadcrumbs .thq-focus-breadcrumbs{padding:0;background:transparent}.thq-outline-backlink-breadcrumbs .thq-focus-breadcrumbs__button{padding:0}.tasks-pane{height:100%;overflow:hidden;position:relative;display:flex;flex-direction:column}.tasks-pane__header{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff)}.tasks-pane__title{flex:1;font-weight:600;font-size:1.5em}.tasks-pane__search-row{flex:1;min-width:0}.tasks-pane__search-input{width:100%;border:1px solid var(--thq-color-border, #e2e8f0);border-radius:6px;padding:4px 8px;font-size:13px}.tasks-pane__toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--thq-color-text-muted, #64748b);white-space:nowrap}.tasks-pane__toggle input{margin:0}.tasks-pane__icon-button{border:none;background:transparent;padding:4px;cursor:pointer;color:var(--thq-color-text-muted, #64748b);display:inline-flex;align-items:center;justify-content:center}.tasks-pane__icon-button:hover{color:var(--thq-color-text, #0f172a)}.tasks-pane__body{flex:1;overflow:hidden;position:relative}.tasks-pane__scroll{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;--thq-outline-gutter-width: 0px}.tasks-pane .outline-row--section-header{cursor:pointer}.tasks-pane .outline-row--section-header .outline-section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px 6px;font-weight:600;color:var(--thq-color-text, #0f172a)}.tasks-pane .outline-row--section-header .outline-section-header__label{flex:1;min-width:0}.tasks-pane .outline-row--section-header .outline-section-header__count{font-size:12px;color:var(--thq-color-text-muted, #64748b)}.tasks-pane .outline-row--section-header.thq-outline-external-drop-target .outline-section-header{background:#4338ca1f;border-radius:8px}.tasks-pane .thq-outline-row--section-header .thq-outline-row__text{grid-column:1 / -1;padding:0}.tasks-pane .outline-row--section-header[data-section-id^="day:"] .outline-section-header{padding:6px 12px 4px;font-weight:800;font-size:12px;color:inherit}.tasks-pane .outline-row--section-header[data-section-id^="day:"] .outline-section-header__count{font-size:11px;color:inherit}.tasks-pane .outline-row--section-header[data-section-id^="day:overdue:"] .outline-section-header,.tasks-pane .outline-row--section-header[data-section-id^="day:overdue:"] .outline-section-header__count{color:#dc2626}.tasks-pane .outline-row--section-header[data-section-id^="day:next7:"] .outline-section-header,.tasks-pane .outline-row--section-header[data-section-id^="day:next7:"] .outline-section-header__count{color:#159a10}.tasks-pane .outline-row--section-header[data-section-id^="day:later:"] .outline-section-header,.tasks-pane .outline-row--section-header[data-section-id^="day:later:"] .outline-section-header__count{color:#2563eb}.tasks-pane .outline-row--section-header[data-section-id="section:overdue"] .outline-section-header,.tasks-pane .outline-row--section-header[data-section-id="section:overdue"] .outline-section-header__count{color:#dc2626}.tasks-pane .outline-row--section-header[data-section-id="section:today"] .outline-section-header,.tasks-pane .outline-row--section-header[data-section-id="section:today"] .outline-section-header__count{color:#185f32}.tasks-pane .outline-row--section-header[data-section-id="section:next7"] .outline-section-header,.tasks-pane .outline-row--section-header[data-section-id="section:next7"] .outline-section-header__count{color:#159a10}.tasks-pane .outline-row--section-header[data-section-id="section:later"] .outline-section-header,.tasks-pane .outline-row--section-header[data-section-id="section:later"] .outline-section-header__count{color:#2563eb}.tasks-section{border-bottom:1px solid var(--thq-color-border, #e2e8f0)}.tasks-section__header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:none;padding:8px 8px 6px;cursor:pointer;text-align:left;font-weight:600;color:var(--thq-color-text, #0f172a)}.tasks-section__label{flex:1;min-width:0}.tasks-section__count{font-size:12px;color:var(--thq-color-text-muted, #64748b)}.tasks-section__empty{padding:0 8px 8px;font-size:12px;color:var(--thq-color-text-muted, #64748b)}.tasks-section__days{padding-bottom:4px}.tasks-day{border-top:1px dashed var(--thq-color-border, #e2e8f0)}.tasks-day__header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:none;padding:6px 8px 4px 20px;cursor:pointer;text-align:left;font-weight:500;font-size:12px;color:var(--thq-color-text-muted, #64748b)}.tasks-day__label{flex:1;min-width:0}.tasks-day__count{font-size:11px;color:var(--thq-color-text-muted, #94a3b8)}.tasks-day__outline{padding-left:12px}.tasks-outline{width:100%}.tasks-row{display:flex;align-items:flex-start;gap:8px;padding:4px 8px;box-sizing:border-box}.tasks-row__toggle{flex-shrink:0;width:16px;display:flex;align-items:center;justify-content:center}.tasks-row__bullet{flex-shrink:0;width:20px;display:flex;align-items:flex-start;justify-content:center}.tasks-row__bullet-button{border:none;background:transparent;padding:0;cursor:pointer}.tasks-row__bullet-spacer{display:inline-block;width:20px;height:20px}.tasks-row__content{flex:1;min-width:0}.tasks-drop-indicator{position:absolute;height:2px;background:var(--thq-color-accent, #4338ca);pointer-events:none;z-index:2}.add-btn{align-self:flex-start;margin-top:8px;border:1px dashed #cbd5e1;background:#fff;border-radius:12px;padding:8px 12px;color:#64748b;cursor:pointer}.add-btn:hover{border-color:#94a3b8;color:#4338ca}.seeder-shell{min-height:100vh;background:#f8fafc;padding:32px;display:flex;flex-direction:column;gap:16px}.seeder-header h1{margin:4px 0}.crumb{text-transform:uppercase;letter-spacing:.1em;font-size:12px;color:#94a3b8;margin:0}.seeder-actions{display:flex;gap:12px;flex-wrap:wrap}.seeder-field{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;min-width:240px;box-shadow:0 10px 30px #0f172a0d}.seeder-label{font-weight:700;color:#0f172a;font-size:14px}.seeder-input{border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font-size:14px;color:#0f172a;transition:border-color .15s ease,box-shadow .15s ease}.seeder-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.seeder-input:disabled{background:#f8fafc;cursor:not-allowed}.log-panel{border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}.log-header{padding:10px 12px;font-weight:700;border-bottom:1px solid #e2e8f0;background:#f8fafc}.log-body{max-height:260px;overflow:auto;padding:12px;font-family:SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:13px;color:#0f172a}.log-line{margin-bottom:6px}.doc-picker{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px}.doc-picker.dropdown{position:absolute;top:52px;left:0;right:0;z-index:20;box-shadow:0 14px 36px #0f172a2e;padding:12px 12px 14px}.doc-picker-row .ghost-btn{padding-inline:10px}.doc-picker-popover{position:relative;height:0}.doc-picker-row{display:flex;gap:10px;align-items:center}.doc-select{flex:1;padding:10px 12px;border-radius:10px;border:1px solid #e2e8f0;font-size:14px}.modal .doc-select{width:100%}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a4d;display:grid;place-items:center;z-index:220}.import-dialog{width:min(520px,94vw)}.import-drop-zone{border:1px dashed #94a3b8;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;background:#f8fafc;transition:border-color .15s ease,background .15s ease}.import-drop-zone.dragging{border-color:#2563eb;background:#eff6ff}.import-drop-label{margin:0;font-weight:600}.import-file-name{margin:0;font-size:12px;color:#475569}.import-options{display:flex;flex-direction:column;gap:8px}.import-choice,.import-checkbox{display:flex;gap:8px;align-items:center;font-size:14px}.import-progress{display:flex;align-items:center;gap:10px}.import-progress progress{width:140px}.shortcuts-dialog{width:min(560px,94vw);max-height:70vh}.settings-dialog{width:min(640px,94vw)}.settings-tabs{display:flex;gap:6px;border-bottom:1px solid #e2e8f0;padding-bottom:6px}.settings-tab{border:1px solid transparent;background:transparent;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;color:#475569;cursor:pointer}.settings-tab.is-active{border-color:#cbd5f5;background:#eef2ff;color:#1e293b}.settings-panel{display:flex;flex-direction:column;gap:12px}.settings-empty{margin:0}.settings-section{border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;background:#f8fafc}.settings-section summary{cursor:pointer;font-weight:600;color:#1e293b;list-style:none}.settings-section summary::-webkit-details-marker{display:none}.settings-section[open] summary{margin-bottom:10px}.settings-grid{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:10px;align-items:center}.settings-label{font-size:13px;color:#1e293b}.settings-color-input{width:42px;height:28px;border:none;padding:0;background:transparent;cursor:pointer}.settings-color-row{display:inline-flex;align-items:center;gap:6px}.settings-clear-btn{border:1px solid #e2e8f0;background:#fff;color:#64748b;width:22px;height:22px;border-radius:6px;font-size:14px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.settings-clear-btn:hover{border-color:#cbd5f5;color:#1e293b}.settings-field{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.settings-field:last-of-type{margin-bottom:0}.settings-input{font-size:13px}.shortcuts-list{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;min-height:0;overflow-y:auto}.shortcuts-item{display:grid;grid-template-columns:minmax(140px,200px) minmax(0,1fr);gap:12px;padding:10px 12px;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc}.shortcuts-keys{font-weight:600;font-size:13px;color:#0f172a}.shortcuts-desc{font-size:13px;color:#475569}.quick-note-modal{width:min(560px,92vw)}.quick-note-textarea{width:100%;min-height:140px;border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-size:14px;color:#0f172a;resize:vertical}.quick-note-textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.quick-note-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;flex-wrap:wrap}.quick-note-targets{display:flex;gap:8px;flex-wrap:nowrap}.quick-note-target.active{background:#eef2ff;color:#4338ca;font-weight:600}.error-text{color:#dc2626;margin:0}.session-summary{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;display:flex;align-items:center;justify-content:space-between}.session-summary.empty{color:#94a3b8;font-weight:600}.sidebar-session{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#f8fafc}.sidebar-section{border:1px solid #e2e8f0;border-radius:12px;padding:10px;background:#fff;display:flex;flex-direction:column;gap:8px}.sidebar-section__header{border:none;background:transparent;padding:4px 2px;display:flex;align-items:center;gap:8px;font-weight:700;font-size:13px;color:#0f172a;cursor:pointer}.sidebar-section__count{margin-left:auto;background:#eef2ff;color:#4338ca;font-size:11px;padding:2px 6px;border-radius:999px;font-weight:700}.sidebar-section__caret{width:8px;height:8px;border-right:2px solid #94a3b8;border-bottom:2px solid #94a3b8;transform:rotate(45deg);transition:transform .12s ease}.sidebar-section__caret.open{transform:rotate(-135deg)}.sidebar-section__list{display:flex;flex-direction:column;gap:4px}.sidebar-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;cursor:grab;-webkit-user-select:none;user-select:none;transition:background .12s ease}.sidebar-item:hover{background:#eef2ff}.sidebar-item.is-dragging{opacity:.45}.sidebar-item.is-drag-over{border:1px dashed #6366f1;background:#eef2ff}.sidebar-item__label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-item__actions{display:flex;gap:4px;opacity:0;transition:opacity .12s ease}.sidebar-item:hover .sidebar-item__actions{opacity:1}.session-doc{margin:4px 0;font-weight:700}.error-boundary-fallback{display:flex;align-items:center;justify-content:center;padding:24px;min-height:120px;background:linear-gradient(135deg,#fff7ed,#fef3c7);border:1px solid #fbbf24;border-radius:12px;margin:8px}.error-boundary-content{text-align:center;max-width:320px}.error-boundary-title{margin:0 0 8px;font-size:16px;font-weight:700;color:#92400e}.error-boundary-message{margin:0 0 16px;font-size:13px;color:#b45309}.error-boundary-button{padding:8px 16px;border:none;border-radius:8px;background:#f59e0b;color:#fff;font-weight:600;cursor:pointer;transition:background .12s ease}.error-boundary-button:hover{background:#d97706}.pane-error-fallback{display:flex;align-items:center;justify-content:center;padding:32px;height:100%;min-height:100px;background:#f8fafc}.pane-error-content{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.pane-error-icon{font-size:24px;color:#f59e0b}.pane-error-message{margin:0;font-size:13px;color:#64748b;font-weight:500}.auth-layout{min-height:100vh;display:flex;flex-direction:column;gap:32px;padding:48px clamp(20px,4vw,72px);background:radial-gradient(circle at top left,rgba(148,163,184,.25),transparent 45%),radial-gradient(circle at bottom right,rgba(148,163,184,.2),transparent 50%)}.auth-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.auth-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#64748bcc}.auth-header h1{margin:0;font-size:clamp(28px,4vw,40px);font-weight:600}.auth-nav{display:flex;flex-wrap:wrap;gap:16px;font-size:14px}.auth-nav a{color:inherit;text-decoration:none;border-bottom:1px solid transparent}.auth-nav a:hover{border-bottom-color:#64748b99}.auth-card{max-width:920px;background:#fffffff0;border-radius:18px;border:1px solid rgba(226,232,240,.9);box-shadow:0 24px 48px #0f172a1f;padding:32px}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-field{display:flex;flex-direction:column;gap:6px;font-size:14px}.auth-field input,.auth-field textarea,.auth-field select{padding:10px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.5);background:#f8fafc;font-size:14px}.auth-button{padding:10px 16px;border-radius:999px;border:none;background:#0f172a;color:#fff;font-size:14px;cursor:pointer}.auth-button.ghost{background:transparent;border:1px solid rgba(148,163,184,.5);color:inherit}.auth-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.auth-muted{font-size:13px;color:#64748be6}.auth-error{color:#b91c1c;font-size:13px}.auth-stack{display:flex;flex-direction:column;gap:24px}.auth-section h3{margin:0 0 12px}.auth-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.auth-summary-label{font-size:12px;color:#64748bcc;text-transform:uppercase;letter-spacing:.08em}.auth-list{display:flex;flex-direction:column;gap:12px}.auth-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:#e2e8f066}.account-dialog{width:min(720px,92vw);max-height:80vh;overflow:auto}.account-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.account-details-panel{gap:20px}.account-avatar-card{display:flex;flex-direction:column;gap:10px}.account-avatar-drop{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:16px;padding:12px;border-radius:14px;border:1px dashed rgba(148,163,184,.6);background:#f8fafce6;cursor:pointer;transition:border-color .12s ease,background .12s ease}.account-avatar-drop.dragging{border-color:#2563eb;background:#dbeafeb3}.account-avatar-image,.account-avatar-fallback{width:64px;height:64px;border-radius:16px;display:grid;place-items:center}.account-avatar-image{object-fit:cover;border:1px solid rgba(226,232,240,.9)}.account-avatar-fallback{background:#eef2ff;color:#4338ca;font-size:20px;font-weight:700}.account-avatar-title{font-weight:600;margin-bottom:4px}.account-avatar-hint{font-size:12px;color:#64748be6}.account-avatar-actions{display:flex;gap:10px;flex-wrap:wrap}.account-file-input{display:none}.account-readonly{width:100%;padding:10px 12px;border-radius:10px;border:1px solid rgba(148,163,184,.4);background:#f8fafce6;font-size:14px}.account-actions{display:flex;gap:12px;flex-wrap:wrap}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th{text-align:left;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#64748bcc;padding:10px 12px;border-bottom:1px solid rgba(148,163,184,.35)}.admin-table td{padding:12px;border-bottom:1px solid rgba(226,232,240,.7);vertical-align:top}.admin-row-actions{width:56px;text-align:right}.admin-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;color:#0f172ae6;word-break:break-all}.admin-status{text-transform:capitalize}.admin-token{display:inline-block;padding:6px 8px;border-radius:10px;background:#94a3b833;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;word-break:break-all}.admin-token-row{display:inline-flex;align-items:center;gap:8px}.admin-copy{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid rgba(148,163,184,.4);background:#fff;color:inherit;padding:4px;cursor:pointer}.admin-copy:hover{background:#94a3b826}.admin-copy:disabled{opacity:.5;cursor:not-allowed}.admin-kebab{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid rgba(148,163,184,.4);background:#fff;color:inherit;padding:6px;cursor:pointer}.admin-kebab:hover{background:#94a3b826}.admin-menu{position:fixed;min-width:190px;background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:12px;box-shadow:0 16px 32px #0f172a2e;padding:6px;z-index:10050}.admin-menu button{width:100%;text-align:left;border:none;background:transparent;padding:8px 10px;border-radius:8px;font-size:13px;cursor:pointer}.admin-menu button:hover{background:#94a3b826}.admin-menu button:disabled{opacity:.5;cursor:not-allowed}.admin-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;padding:24px;z-index:10040}.admin-dialog{width:min(420px,95vw);background:#fff;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:16px;box-shadow:0 24px 40px #0f172a33}.admin-dialog-actions{display:flex;justify-content:flex-end;gap:12px}.account-lock-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0f172a73;z-index:10001}.account-lock-card{max-width:520px;background:#fff;border-radius:16px;padding:28px;box-shadow:0 20px 40px #0f172a33}.account-lock-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.account-lock-badge{background:#f8717126;color:#b91c1c;font-size:12px;padding:4px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.08em}.account-lock-card h2{margin:0}.account-lock-contact a{color:inherit}.offline-unlock-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0f172a73;z-index:10002}.offline-unlock-card{max-width:520px;background:#fff;border-radius:16px;padding:28px;box-shadow:0 20px 40px #0f172a33}.offline-unlock-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.offline-unlock-badge{background:#3b82f626;color:#1d4ed8;font-size:12px;padding:4px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.08em}.offline-unlock-error{color:#b91c1c}@media (max-width: 720px){.auth-header{flex-direction:column;align-items:flex-start}.auth-card{padding:24px}}.thq-backlink-breadcrumbs{font-size:.75em;color:var(--thq-color-text-muted, #64748b);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.outline-new-node-row{position:absolute;left:0;width:100%}.outline-new-node-row__layout .thq-outline-row__text{padding-block:0}.outline-new-node-row__layout{padding-bottom:30px}.outline-new-node-row__layout .thq-outline-row__gutter{border-left:none;background:transparent}.outline-new-node-button{width:var(--thq-bullet-ring-size, 18px);height:var(--thq-bullet-ring-size, 18px);margin-top:var(--thq-bullet-offset-y, 0px);border-radius:50%;border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text-muted, #475569);display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease,transform .12s ease}.outline-new-node-button:hover{border-color:var(--thq-color-text-muted, #475569);color:var(--thq-color-text, #0f172a)}.outline-new-node-button:active{transform:scale(.96)}.outline-new-node-button:focus-visible{outline:2px solid var(--thq-color-accent, #4338ca);outline-offset:2px}.thq-mirror-badge{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--thq-mirror-badge-border, rgba(0, 0, 0, .18));background:var(--thq-mirror-badge-bg, rgba(0, 0, 0, .04));color:var(--thq-mirror-badge-text, rgba(0, 0, 0, .7));border-radius:9999px;min-width:18px;height:18px;padding:0 6px;font-size:12px;line-height:18px;cursor:pointer;-webkit-user-select:none;user-select:none}.thq-mirror-badge:hover{background:var(--thq-mirror-badge-bg-hover, rgba(0, 0, 0, .08))}.thq-mirror-paths{z-index:1000;width:min(420px,calc(100vw - 16px));max-height:min(360px,calc(100vh - 16px));overflow:hidden;border:1px solid var(--thq-mirror-paths-border, rgba(0, 0, 0, .16));border-radius:10px;background:var(--thq-mirror-paths-bg, white);box-shadow:0 12px 32px #00000026}.thq-mirror-paths__header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08)}.thq-mirror-paths__title{font-size:13px;font-weight:600;color:#000000bf}.thq-mirror-paths__close{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;cursor:pointer;font-size:18px;line-height:18px;color:#0000008c}.thq-mirror-paths__list{overflow:auto;padding:6px}.thq-mirror-paths__footer{padding:10px 12px;border-top:1px solid rgba(0,0,0,.08);display:flex;justify-content:flex-end}.thq-mirror-paths__delete-all{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid rgba(220,38,38,.3);background:#dc26260f;color:#b91c1cf2;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:600}.thq-mirror-paths__delete-all:disabled{opacity:.45;cursor:not-allowed}.thq-mirror-paths__empty{padding:10px;font-size:13px;color:#0000008c}.thq-mirror-paths__item{display:flex;align-items:stretch;gap:6px;width:100%;border-radius:8px}.thq-mirror-paths__item:hover,.thq-mirror-paths__item:focus-within{background:#0000000d}.thq-mirror-paths__item-main{flex:1;width:100%;text-align:left;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:8px 10px;cursor:pointer}.thq-mirror-paths__delete{flex:0 0 auto;align-self:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;cursor:pointer;padding:8px 10px;border-radius:8px;color:#0000008c;opacity:0;pointer-events:none}.thq-mirror-paths__item:hover .thq-mirror-paths__delete,.thq-mirror-paths__item:focus-within .thq-mirror-paths__delete{opacity:1;pointer-events:auto}.thq-mirror-paths__delete:hover{color:#b45309f2}.thq-mirror-paths__item-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#000c}.thq-mirror-paths__item-path{margin-top:2px;font-size:12px;color:#0009}.thq-mirror-paths__breadcrumb-home{display:inline-flex;vertical-align:-2px;color:#000000a6}.thq-mirror-paths__badge{font-size:11px;padding:1px 6px;border-radius:9999px;border:1px solid rgba(245,158,11,.5);background:#f59e0b1f;color:#b45309f2}.thq-mirror-paths__delete-icon{display:block}.thq-focus-header{--thq-focus-header-text: var(--thq-color-text-strong, #0f172a);--thq-focus-header-gap: 8px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;gap:var(--thq-focus-header-gap, 8px)}.thq-focus-header__title{display:inline-flex;align-items:center;gap:6px;color:var(--thq-focus-header-text, #0f172a);font-weight:700;font-size:20px;min-width:0}.thq-focus-header__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thq-focus-header__actions{display:inline-flex;align-items:center;gap:6px}.thq-focus-breadcrumbs{--thq-focus-breadcrumb-gap: 6px;--thq-focus-breadcrumb-color: #9ca3af;--thq-focus-breadcrumb-active: var(--thq-color-text-strong, #475569);--thq-focus-breadcrumb-bg: var(--thq-color-surface, #ffffff);padding:8px 12px 10px 20px;background:var(--thq-focus-breadcrumb-bg, #ffffff);font-size:.85em;width:100%;box-sizing:border-box;overflow:visible}.thq-focus-breadcrumbs__list{list-style:none;display:flex;align-items:center;gap:var(--thq-focus-breadcrumb-gap, 6px);padding:0;margin:0;flex-wrap:nowrap;overflow:visible;width:100%;box-sizing:border-box}.thq-focus-breadcrumbs__item{display:inline-flex;align-items:center;min-width:0;flex-shrink:0}.thq-focus-breadcrumbs__item.is-terminal{flex-shrink:1;min-width:0}.thq-focus-breadcrumbs__button{border:none;background:transparent;padding:2px 4px;font:inherit;color:var(--thq-focus-breadcrumb-color, #475569);cursor:pointer;border-radius:4px;transition:background .12s ease,color .12s ease;white-space:nowrap;max-width:100%;min-width:0}.thq-focus-breadcrumbs__button:hover,.thq-focus-breadcrumbs__button:focus-visible{background:var(--thq-color-surface-muted, #f1f5f9);color:var(--thq-focus-breadcrumb-active, #0f172a);outline:none}.thq-focus-breadcrumbs__button[aria-current=page]{color:var(--thq-focus-breadcrumb-active, #0f172a);font-weight:400}.thq-focus-breadcrumbs__button.is-truncated{font-style:italic}.thq-focus-breadcrumbs__button.is-truncatable{overflow:hidden;text-overflow:ellipsis}.thq-focus-breadcrumbs__root-icon{display:inline-flex;align-items:center;justify-content:center;line-height:0}.thq-focus-breadcrumbs__root-icon svg{width:.8em;height:.8em}.thq-focus-breadcrumbs__separator{margin-left:4px;color:var(--thq-focus-breadcrumb-color, #475569)}.thq-focus-breadcrumbs__item--ellipsis{position:relative;display:inline-flex;align-items:center}.thq-focus-breadcrumbs__button--ellipsis{font-weight:600}.thq-focus-breadcrumbs__menu{position:absolute;top:calc(100% + 4px);min-width:140px;background:var(--thq-focus-breadcrumb-bg, #ffffff);border:1px solid var(--thq-focus-breadcrumb-border, #e2e8f0);box-shadow:0 6px 20px #0f172a14;border-radius:6px;padding:4px;display:grid;gap:4px;z-index:10;left:0;right:auto}.thq-focus-breadcrumbs__menu-item{border:none;background:transparent;text-align:left;padding:6px 8px;border-radius:4px;cursor:pointer;color:var(--thq-focus-breadcrumb-color, #475569);transition:background .12s ease,color .12s ease}.thq-focus-breadcrumbs__menu-item:hover,.thq-focus-breadcrumbs__menu-item:focus-visible{background:var(--thq-color-surface-muted, #f1f5f9);color:var(--thq-focus-breadcrumb-active, #0f172a);outline:none}.thq-focus-breadcrumbs__measure{position:absolute;visibility:hidden;pointer-events:none;left:-9999px;top:-9999px;width:auto}.thq-wikilink{--thq-wikilink-color: var(--thq-wikilink-color, var(--thq-color-accent, #4f46e5));--thq-wikilink-underline: var(--thq-wikilink-underline-color, var(--thq-color-accent, #4f46e5));--thq-wikilink-hover-bg: var(--thq-wikilink-hover-bg, rgba(79, 70, 229, .08));position:relative;display:inline-flex;align-items:baseline;gap:4px;color:var(--thq-wikilink-color);text-decoration:underline;text-decoration-color:var(--thq-wikilink-underline);text-decoration-thickness:1px;text-underline-offset:2px;border-radius:4px;padding:0 2px;cursor:pointer}.thq-wikilink[data-wikilink=true]:hover{background:var(--thq-wikilink-hover-bg)}.thq-wikilink__text{white-space:pre-wrap}.thq-wikilink__edit{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;background:transparent;border-radius:6px;opacity:0;pointer-events:none;cursor:pointer}.thq-wikilink:hover .thq-wikilink__edit,.thq-wikilink:focus-within .thq-wikilink__edit{opacity:1;pointer-events:auto}.thq-wikilink__edit:hover{background:var(--thq-wikilink-hover-bg)}.thq-wikilink__edit-icon{width:14px;height:14px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a4d;display:grid;place-items:center;z-index:50}.modal{background:#fff;border-radius:14px;padding:20px;width:min(400px,90vw);box-shadow:0 14px 36px #0f172a2e;display:flex;flex-direction:column;gap:10px}.modal-title{margin:0;font-weight:800;font-size:18px}.modal-subtitle{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.confirm-progress{display:flex;align-items:center;gap:10px}.confirm-progress progress{width:140px}.ghost-btn{border:none;background:#f8fafc;color:#475569;border-radius:10px;padding:8px 12px;cursor:pointer}.ghost-btn:hover{background:#eef2ff;color:#4338ca}.ghost-btn:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}.ghost-btn.danger{border:1px solid #fca5a5;background:#fff1f2;color:#b91c1c}.ghost-btn.danger:hover{background:#fee2e2;color:#991b1b}.primary-btn{border:none;background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;padding:12px 16px;border-radius:10px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #4f46e540}.primary-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.danger{color:#b91c1c;border:1px solid #fca5a5;background:#fff1f2}.danger:hover{background:#fee2e2}.danger.primary-btn{background:linear-gradient(90deg,#ef4444,#dc2626);color:#fff;border:none}.danger.primary-btn:disabled{background:#fca5a5}.muted{color:#94a3b8;margin:0}.muted.small{font-size:12px}.thq-wikilink-popover{--thq-wikilink-popover-shadow: rgba(15, 23, 42, .18);width:min(320px,92vw);border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);border-radius:12px;padding:12px;box-shadow:0 14px 36px var(--thq-wikilink-popover-shadow);z-index:60;display:flex;flex-direction:column;gap:10px;font-size:13px}.thq-wikilink-popover__title{font-weight:700;font-size:14px;color:var(--thq-color-text, #0f172a)}.thq-wikilink-popover__field{display:flex;flex-direction:column;gap:4px}.thq-wikilink-popover__label{color:var(--thq-color-muted, #64748b);font-size:12px}.thq-wikilink-popover__input{width:100%;padding:8px 10px;border-radius:10px;border:1px solid var(--thq-color-border, #e2e8f0);font-size:13px}.thq-wikilink-popover__target{padding:8px 10px;border-radius:10px;border:1px solid var(--thq-color-border, #e2e8f0);background:#94a3b81a;color:var(--thq-color-text, #0f172a);font-size:12px;display:flex;flex-direction:column;gap:2px;max-height:120px;overflow-y:auto;overflow-x:hidden}.thq-wikilink-popover__target-title{font-size:13px;font-weight:600;color:var(--thq-color-text, #0f172a);overflow-wrap:anywhere;word-break:break-word}.thq-wikilink-popover__target-path{font-size:12px;color:var(--thq-color-text-muted, #475569);overflow-wrap:anywhere;word-break:break-word}.thq-wikilink-popover__actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.thq-wikilink-popover__btn{border:1px solid var(--thq-color-border, #e2e8f0);background:transparent;padding:8px 10px;border-radius:10px;cursor:pointer;font-size:13px}.thq-wikilink-popover__btn--primary{background:var(--thq-color-accent, #4f46e5);border-color:var(--thq-color-accent, #4f46e5);color:#fff}.thq-wikilink-hover-edit{border:1px solid rgba(148,163,184,.6);background:#fff;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 26px #0f172a29;cursor:pointer;z-index:60}.thq-wikilink-hover-edit__icon{width:14px;height:14px;color:var(--thq-color-accent, #4f46e5)}.thq-wikilink-dialog{width:min(420px,92vw);border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);border-radius:12px;padding:10px;box-shadow:0 14px 36px #0f172a2e;z-index:60;display:flex;flex-direction:column;gap:8px}.thq-wikilink-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:8px}.thq-wikilink-dialog__query{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;color:var(--thq-color-text-muted, #475569)}.thq-wikilink-dialog__status{font-size:12px;color:var(--thq-color-text-muted, #475569)}.thq-wikilink-dialog__list{display:flex;flex-direction:column;gap:4px;max-height:260px;min-height:260px;overflow:auto}.thq-wikilink-dialog__empty{padding:10px;color:var(--thq-color-text-muted, #475569);font-size:13px}.thq-wikilink-dialog__item{width:100%;text-align:left;border:none;background:transparent;display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;cursor:pointer}.thq-wikilink-dialog__item.is-active{background:#4f46e514}.thq-wikilink-dialog__title{font-size:13px;font-weight:600;color:var(--thq-color-text, #0f172a)}.thq-wikilink-dialog__path,.thq-wikilink-dialog__snippet{font-size:12px;color:var(--thq-color-text-muted, #475569);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thq-wikilink-dialog__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--thq-color-text-muted, #475569)}.thq-wikilink-dialog__footer-status{min-height:16px}.thq-wikilink-dialog__create{border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text, #0f172a);border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.thq-wikilink-dialog__create:disabled{opacity:.6;cursor:not-allowed}.thq-text-formatting-toolbar{display:inline-flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);box-shadow:0 10px 20px #0f172a1f;z-index:var(--thq-z-popover, 50);user-select:none;-webkit-user-select:none}.thq-text-formatting-toolbar__group{display:inline-flex;align-items:center;gap:4px}.thq-text-formatting-toolbar__sep{width:1px;height:18px;background:var(--thq-color-border, #e2e8f0);margin-inline:4px}.thq-text-formatting-toolbar__sep--group{height:22px;margin-inline:2px}.thq-text-formatting-toolbar__btn{height:26px;min-width:28px;padding:0 8px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--thq-color-text, #0f172a);font-size:12px;line-height:1;cursor:pointer}.thq-text-formatting-toolbar__btn:hover{background:#94a3b826}.thq-text-formatting-toolbar__btn:disabled{opacity:.5;cursor:not-allowed}.thq-text-formatting-toolbar__btn.is-active{background:#3b82f61f;border-color:#3b82f659}.thq-text-formatting-toolbar__btn-label--bold{font-weight:700}.thq-text-formatting-toolbar__btn-label--italic{font-style:italic}.thq-text-formatting-toolbar__btn-label--underline{text-decoration:underline}.thq-text-formatting-toolbar__btn-label--strikethrough{text-decoration:line-through}.thq-node-context-menu{min-width:220px;border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);border-radius:12px;padding:6px;box-shadow:0 14px 36px #0f172a2e;z-index:130;max-height:calc(100vh - 16px);overflow-y:auto;overflow-x:hidden}.thq-node-context-menu__menu{display:flex;flex-direction:column;gap:2px}.thq-node-context-menu__separator{height:0;border-top:1px solid var(--thq-color-border, #e2e8f0);margin:6px}.thq-node-context-menu__item-wrap{position:relative}.thq-node-context-menu__item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:none;border-radius:10px;background:transparent;color:var(--thq-color-text, #0f172a);font-size:13px;text-align:left;cursor:pointer}.thq-node-context-menu__item:disabled{cursor:not-allowed;opacity:.55}.thq-node-context-menu__item-wrap.is-active>.thq-node-context-menu__item{background:#4f46e514}.thq-node-context-menu__item.is-danger{color:var(--thq-color-danger, #b91c1c)}.thq-node-context-menu__label{display:inline-flex;align-items:center;gap:8px}.thq-node-context-menu__label-text,.thq-node-context-menu__label-icon{display:inline-flex;align-items:center}.thq-node-context-menu__label-icon svg{width:14px;height:14px}.thq-node-context-menu__chevron{color:var(--thq-color-text-muted, #475569);font-size:14px}.thq-move-mirror-dialog{width:min(520px,92vw);border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);border-radius:12px;padding:10px;box-shadow:0 14px 36px #0f172a2e;z-index:60;display:flex;flex-direction:column;gap:10px}.thq-move-mirror-dialog__heading{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--thq-color-text-muted, #475569)}.thq-move-mirror-dialog__header{display:grid;grid-template-columns:1fr 140px;gap:10px;align-items:center}.thq-move-mirror-dialog__header--single{grid-template-columns:1fr}.thq-move-mirror-dialog__input,.thq-move-mirror-dialog__position{width:100%;border:1px solid var(--thq-color-border, #e2e8f0);border-radius:10px;padding:8px 10px;font-size:13px;background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text, #0f172a)}.thq-move-mirror-dialog__list{position:relative;max-height:300px;min-height:300px;overflow:auto}.thq-move-mirror-dialog--centered .thq-move-mirror-dialog__list{height:300px}.thq-move-mirror-dialog__list-inner{position:relative}.thq-move-mirror-dialog__empty{padding:10px;color:var(--thq-color-text-muted, #475569);font-size:13px}.thq-move-mirror-dialog__row{width:100%;text-align:left;border:none;background:transparent;padding:8px 10px;min-height:48px;border-radius:10px;display:flex;flex-direction:column;gap:2px;cursor:pointer;position:absolute;left:0;right:0}.thq-move-mirror-dialog__row:disabled{cursor:not-allowed;opacity:.55}.thq-move-mirror-dialog__row.is-active{background:#4f46e514}.thq-move-mirror-dialog__title{font-size:13px;font-weight:600;color:var(--thq-color-text, #0f172a)}.thq-move-mirror-dialog__path{font-size:12px;color:var(--thq-color-text-muted, #475569);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thq-move-mirror-dialog__footer{display:flex;justify-content:space-between;gap:8px}.thq-move-mirror-dialog__footer-status{display:flex;gap:8px}.thq-move-mirror-dialog__count,.thq-move-mirror-dialog__status{font-size:12px;color:var(--thq-color-text-muted, #475569)}.thq-slash-command-popover{width:min(320px,90vw);border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);border-radius:10px;padding:8px;box-shadow:0 12px 28px #0f172a29;z-index:60;display:flex;flex-direction:column;gap:6px}.thq-slash-command-popover__header{display:flex;align-items:center;justify-content:space-between}.thq-slash-command-popover__query{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;color:var(--thq-color-text-muted, #475569)}.thq-slash-command-popover__list{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow:auto}.thq-slash-command-popover__empty{padding:8px;color:var(--thq-color-text-muted, #475569);font-size:12px}.thq-slash-command-popover__item{width:100%;text-align:left;border:none;background:transparent;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:13px;color:var(--thq-color-text, #0f172a)}.thq-slash-command-popover__item.is-active{background:#4f46e514}.thq-slash-command-popover__item:disabled{opacity:.5;cursor:not-allowed}.thq-pane-split{display:flex;align-items:stretch;height:100%;width:100%;min-width:0;flex:1;overflow-x:auto;overflow-y:hidden}.thq-pane-split__pane{flex:0 0 auto;min-height:0;height:100%}.thq-pane-split__gutter{width:var(--thq-pane-gutter-size, 12px);flex:0 0 auto;cursor:col-resize;display:flex;align-items:stretch;justify-content:center;-webkit-user-select:none;user-select:none;touch-action:none;position:relative}.thq-pane-split__gutter:before{content:"";width:2px;border-radius:999px;background:var(--thq-pane-gutter-color, #e2e8f0);margin:8px 0;transition:background .12s ease-out}.thq-pane-split__gutter:hover:before,.thq-pane-split--dragging .thq-pane-split__gutter:before{background:var(--thq-pane-gutter-active-color, #3b82f6)}.thq-pane-split__gutter:focus-visible{outline:2px solid var(--thq-pane-gutter-active-color, #3b82f6);outline-offset:-2px}.thq-pane-switcher{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:12px;background:var(--thq-pane-switcher-bg, rgba(226, 232, 240, .7));border:1px solid var(--thq-pane-switcher-border, rgba(148, 163, 184, .35));overflow-x:auto;scrollbar-width:none}.thq-pane-switcher::-webkit-scrollbar{display:none}.thq-pane-switcher__tab{border:none;background:transparent;color:var(--thq-pane-switcher-text, #0f172a);padding:6px 12px;border-radius:999px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.thq-pane-switcher__tab.is-active{background:var(--thq-pane-switcher-active-bg, #ffffff);box-shadow:0 6px 14px #0f172a14}.thq-pane-switcher__tab:focus-visible{outline:2px solid var(--thq-pane-switcher-focus, #3b82f6);outline-offset:2px}.thq-pane-switcher__label{display:inline-block}.thq-pane-switcher__meta{font-size:11px;color:var(--thq-pane-switcher-meta, #64748b)}.thq-color-picker-panel{display:flex;flex-direction:column;gap:10px;width:min(280px,92vw);color:var(--thq-color-text, #0f172a)}.thq-color-picker-panel__row{display:flex;align-items:center;gap:8px}.thq-color-picker-panel__color-input{width:38px;height:32px;padding:0;border-radius:8px;border:1px solid var(--thq-color-border, #e2e8f0);background:transparent;cursor:pointer}.thq-color-picker-panel__hex-input{flex:1;border-radius:8px;border:1px solid var(--thq-color-border, #e2e8f0);padding:6px 8px;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;color:var(--thq-color-text, #0f172a);background:var(--thq-color-surface, #ffffff)}.thq-color-picker-panel__named{display:flex;flex-direction:column;gap:6px}.thq-color-picker-panel__named-row{display:flex;flex-direction:column;gap:4px}.thq-color-picker-panel__named-input{border-radius:8px;border:1px solid var(--thq-color-border, #e2e8f0);padding:6px 8px;font-size:13px;color:var(--thq-color-text, #0f172a);background:var(--thq-color-surface, #ffffff)}.thq-color-picker-panel__named-label{font-size:12px;color:var(--thq-color-text-muted, #475569)}.thq-color-picker-panel__list{border-radius:10px;border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);padding:4px;display:flex;flex-direction:column;gap:4px;max-height:160px;overflow:auto}.thq-color-picker-panel__option{display:grid;grid-template-columns:16px 1fr auto;align-items:center;gap:8px;width:100%;border:none;background:transparent;border-radius:8px;padding:6px 8px;cursor:pointer;font-size:12px;color:var(--thq-color-text, #0f172a);text-align:left}.thq-color-picker-panel__option.is-active{background:#4f46e514}.thq-color-picker-panel__option-swatch{width:14px;height:14px;border-radius:4px;border:1px solid rgba(15,23,42,.15)}.thq-color-picker-panel__option-hex{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:11px;color:var(--thq-color-text-muted, #475569)}.thq-color-picker-panel__actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.thq-color-picker-panel__button{border-radius:10px;border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text, #0f172a);padding:6px 12px;font-size:12px;cursor:pointer}.thq-color-picker-panel__button--primary{background:var(--thq-color-accent-soft, #eef2ff);color:var(--thq-color-accent, #4f46e5);border-color:#4f46e53d}.thq-outline-row-breadcrumbs{width:100%;min-width:0}.thq-outline-row-breadcrumbs__nav.thq-focus-breadcrumbs{padding:0;background:transparent;font-size:.75em;transform:translateY(6px);--thq-focus-breadcrumb-color: var(--thq-color-text-muted, #64748b);--thq-focus-breadcrumb-active: var(--thq-color-text-muted, #64748b)}.thq-outline-row{--thq-guideline-width: 1px;--thq-guideline-color: var(--thq-color-border, #e2e8f0);--thq-guideline-hover-width: 2px;--thq-guideline-hover-color: var(--thq-color-text-muted, #475569);--thq-guideline-start: 0px;--thq-outline-row-padding: 4px;display:grid;width:100%;grid-template-columns:repeat(var(--thq-outline-depth-plus-one, 1),var(--thq-outline-indent, 38px)) 1fr var(--thq-outline-gutter-width, 44px);align-items:start}.thq-outline-row__spacer{position:relative;height:100%;padding-block:var(--thq-outline-row-padding, 4px);cursor:pointer}.thq-outline-row--has-meta .thq-outline-row__spacer{grid-row:1 / span 2}.thq-outline-row--has-meta .thq-outline-row__spacer--bullet,.thq-outline-row--has-meta .thq-outline-row__text{grid-row:2}.thq-outline-row--has-meta .thq-outline-row__gutter,.thq-outline-row--has-meta .thq-outline-row__selection{grid-row:1 / span 2}.thq-outline-row__meta{grid-row:1;grid-column-start:var(--thq-outline-content-col-start, -2);grid-column-end:span 1;padding-top:var(--thq-outline-row-padding, 4px);padding-bottom:2px;padding-left:5px;min-width:0}.thq-outline-row--backlink.thq-outline-row--has-meta .thq-outline-row__meta{padding-top:0;padding-bottom:0}.thq-outline-row--backlink.thq-outline-row--has-meta .thq-outline-row__text,.thq-outline-row--backlink.thq-outline-row--has-meta .thq-outline-row__spacer{padding-top:0}.thq-outline-row__spacer:not(.thq-outline-row__spacer--bullet):before{content:"";position:absolute;top:var(--thq-guideline-start, 0px);bottom:0;left:calc(var(--thq-outline-expand-slot-width, 16px) + var(--thq-outline-icon-slot-gap, 4px) + (var(--thq-outline-bullet-slot-width, 18px) / 2));transform:translate(-50%);width:var(--thq-guideline-width, 1px);background:var(--thq-guideline-color, #e2e8f0)}.thq-outline-row__spacer.thq-outline-row__spacer--highlight:before{width:var(--thq-guideline-hover-width, 2px);background:var(--thq-guideline-hover-color, #475569)}.thq-outline-row__spacer--bullet{display:flex;align-items:flex-start;cursor:default;grid-column-start:var(--thq-outline-bullet-col-start, auto);grid-column-end:span 1}.thq-outline-row__bullet-inner{display:grid;grid-template-columns:var(--thq-outline-expand-slot-width, 16px) var(--thq-outline-bullet-slot-width, 18px);align-items:center;gap:var(--thq-outline-icon-slot-gap, 4px);width:100%}.thq-outline-row--display-paragraph .thq-outline-row__bullet-inner{opacity:0;pointer-events:none}.thq-outline-row--display-paragraph:hover .thq-outline-row__bullet-inner,.thq-outline-row--display-paragraph.thq-outline-row--paragraph-bullet-always-visible .thq-outline-row__bullet-inner{opacity:1;pointer-events:auto}.thq-outline-row--h1 .thq-outline-row__text{font-size:1.6em;font-weight:700;color:var(--thq-heading-color-1, inherit)}.thq-outline-row--h2 .thq-outline-row__text{font-size:1.4em;font-weight:700;color:var(--thq-heading-color-2, inherit)}.thq-outline-row--h3 .thq-outline-row__text{font-size:1.25em;font-weight:700;color:var(--thq-heading-color-3, inherit)}.thq-outline-row--h4 .thq-outline-row__text{font-size:1.1em;font-weight:700;color:var(--thq-heading-color-4, inherit)}.thq-outline-row--h5 .thq-outline-row__text{font-size:1em;font-weight:700;color:var(--thq-heading-color-5, inherit)}.thq-outline-row--h1{--thq-bullet-offset-y: var(--thq-outline-bullet-offset-h1, 13px)}.thq-outline-row--h2{--thq-bullet-offset-y: var(--thq-outline-bullet-offset-h2, 11px)}.thq-outline-row--h3{--thq-bullet-offset-y: var(--thq-outline-bullet-offset-h3, 9px)}.thq-outline-row--h4{--thq-bullet-offset-y: var(--thq-outline-bullet-offset-h4, 7px)}.thq-outline-row--h5{--thq-bullet-offset-y: var(--thq-outline-bullet-offset-h5, 6px)}.thq-outline-row--h1{--thq-outline-special-icon-size: 22px;--thq-outline-special-icon-inner-size: 14px;--thq-outline-special-icon-offset-y: 6px}.thq-outline-row--h2{--thq-outline-special-icon-size: 20px;--thq-outline-special-icon-inner-size: 13px;--thq-outline-special-icon-offset-y: 5px}.thq-outline-row--h3{--thq-outline-special-icon-size: 19px;--thq-outline-special-icon-inner-size: 12px;--thq-outline-special-icon-offset-y: 4px}.thq-outline-row--h4{--thq-outline-special-icon-size: 18px;--thq-outline-special-icon-inner-size: 12px;--thq-outline-special-icon-offset-y: 3px}.thq-outline-row--h5{--thq-outline-special-icon-size: 18px;--thq-outline-special-icon-inner-size: 12px;--thq-outline-special-icon-offset-y: 2px}.thq-outline-row__spacer--bullet,.thq-outline-row__bullet-inner,.thq-node-bullet{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.thq-outline-drag-handle,.thq-outline--dragging{touch-action:none}.thq-outline-dropzone{position:absolute;top:0;left:0;right:0;height:var(--thq-outline-dropzone-height, 12px);pointer-events:none;z-index:2}.thq-outline--dragging .thq-outline-dropzone{pointer-events:auto}.thq-outline-row__text{padding-block:var(--thq-outline-row-padding, 4px);padding-left:5px;min-width:0;grid-column-start:var(--thq-outline-content-col-start, -2);grid-column-end:span 1}.thq-outline-row-content{display:flex;align-items:flex-start;gap:6px}.thq-outline-special-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--thq-outline-special-icon-size, 18px);height:var(--thq-outline-special-icon-size, 18px);margin-top:var(--thq-outline-special-icon-offset-y, 2px);border-radius:999px;border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface-muted, #f8fafc);color:var(--thq-color-text-muted, #475569);flex-shrink:0}.thq-outline-special-icon svg{width:var(--thq-outline-special-icon-inner-size, 12px);height:var(--thq-outline-special-icon-inner-size, 12px)}.thq-outline-row__gutter{padding-block:var(--thq-outline-row-padding, 4px);padding-left:clamp(0px,calc(var(--thq-outline-gutter-width, 44px) / 2),8px);padding-right:clamp(0px,calc(var(--thq-outline-gutter-width, 44px) / 2),8px);display:flex;align-items:flex-start;justify-content:center;border-left-width:var(--thq-outline-gutter-border-width, 0px);border-left-style:solid;border-left-color:var(--thq-outline-gutter-border-color, var(--thq-color-border, #e2e8f0));background:var(--thq-outline-gutter-bg, transparent);user-select:none;-webkit-user-select:none;grid-column-start:var(--thq-outline-gutter-col-start, -1);grid-column-end:span 1}.thq-outline-row__selection{padding-block:0;padding-left:0;padding-right:0;display:flex;align-items:center;justify-content:center;border-left-width:var(--thq-outline-selection-gutter-border-width, var(--thq-outline-gutter-border-width, 0px));border-left-style:solid;border-left-color:var( --thq-outline-selection-gutter-border-color, var(--thq-outline-gutter-border-color, var(--thq-color-border, #e2e8f0)) );background:var(--thq-outline-selection-gutter-bg, transparent);user-select:none;-webkit-user-select:none;grid-column-start:var(--thq-outline-selection-col-start, auto);grid-column-end:span 1}.thq-outline-row__selection-toggle{width:40px;height:40px;border:none;background:transparent;color:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;touch-action:none;position:relative}.thq-outline-row__selection-toggle:before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:999px;border:1px solid var(--thq-outline-selection-toggle-border, var(--thq-color-border, #e2e8f0));background:var(--thq-outline-selection-toggle-bg, transparent)}.thq-outline-row__selection-toggle.is-selected{color:var(--thq-outline-selection-toggle-selected-icon, var(--thq-color-accent, #3b82f6))}.thq-outline-row__selection-toggle.is-selected:before{border-color:var(--thq-outline-selection-toggle-selected-border, var(--thq-color-accent, #3b82f6));background:var(--thq-outline-selection-toggle-selected-bg, rgba(59, 130, 246, .12))}.thq-outline-row__selection-toggle:focus-visible{outline:2px solid var(--thq-color-accent, #3b82f6);outline-offset:2px}.thq-outline-heading-gutter{display:none;margin-left:4px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#b8bbc0}.thq-outline-row:hover .thq-outline-heading-gutter{display:inline-flex}.ti-color-palette{z-index:10020;min-width:220px;max-width:min(720px,calc(100vw - 24px));padding:10px;border-radius:14px;border:1px solid rgba(226,232,240,.95);background:#fffffffa;box-shadow:0 18px 36px #0f172a2e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ti-color-palette__layout{display:flex;flex-direction:column;gap:12px}.ti-color-palette--edit .ti-color-palette__layout{display:grid;grid-template-columns:minmax(200px,1fr) minmax(260px,1fr);gap:14px;align-items:start}@media (max-width: 720px){.ti-color-palette--edit .ti-color-palette__layout{grid-template-columns:1fr}.ti-color-palette__picker-panel{padding-left:0;padding-top:12px;border-left:none;border-top:1px solid rgba(226,232,240,.9)}}.ti-color-palette__palette{display:flex;flex-direction:column;gap:10px}.ti-color-palette__picker-panel{display:flex;justify-content:flex-start;padding-left:12px;border-left:1px solid rgba(226,232,240,.9)}.ti-color-palette__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:2px}.ti-color-palette__swatch{width:38px;height:28px;border-radius:10px;border:1px solid rgba(15,23,42,.12);cursor:pointer}.ti-color-palette__swatch:hover{border-color:#0f172a38}.ti-color-palette__swatch:disabled{cursor:default;opacity:.85}.ti-color-palette__swatch--draft{border-style:dashed}.ti-color-palette__actions{display:flex;justify-content:flex-end;gap:6px;padding-top:4px}.ti-color-palette__action-button{min-width:64px}.ti-color-palette__icon-button{border:none;background:transparent;color:#0f172ab3;cursor:pointer;padding:6px;border-radius:10px}.ti-color-palette__icon-button--clear{color:#ef4444e0}.ti-color-palette__icon-button:hover{background:#94a3b824;color:#0f172aeb}.ti-color-palette__icon-button--clear:hover{background:#f8717129;color:#dc2626eb}.ti-color-palette__confirm{display:flex;align-items:center;gap:8px;margin-top:4px;padding-top:10px;border-top:1px solid rgba(226,232,240,.9)}.ti-color-palette__confirm-text{flex:1;font-size:12px;color:#64748b}.ti-color-palette__confirm-button{border:1px solid rgba(226,232,240,.95);background:#fffffffa;color:#0f172adb;border-radius:10px;padding:6px 10px;cursor:pointer;font-size:12px}.ti-color-palette__confirm-button:hover{background:#f8fafc}.ti-color-palette__instructions{display:flex;flex-direction:column;gap:6px;padding:4px 2px}.ti-color-palette__instructions-title{font-size:13px;font-weight:600;color:#0f172aeb}.ti-color-palette__instructions-text{font-size:12px;color:#64748b;line-height:1.4}.thq-focus-picker-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,92vw);border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);border-radius:14px;padding:12px;box-shadow:0 18px 40px #0f172a33;z-index:70;display:flex;flex-direction:column;gap:12px}.thq-focus-picker-dialog__header{display:flex;flex-direction:column;gap:8px}.thq-focus-picker-dialog__title{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--thq-color-text-muted, #475569)}.thq-focus-picker-dialog__input{width:100%;border:1px solid var(--thq-color-border, #e2e8f0);border-radius:10px;padding:9px 12px;font-size:14px;background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text, #0f172a)}.thq-focus-picker-dialog__list{position:relative;max-height:320px;min-height:320px;overflow:auto}.thq-focus-picker-dialog__list-inner{position:relative}.thq-focus-picker-dialog__empty{padding:10px;color:var(--thq-color-text-muted, #475569);font-size:13px}.thq-focus-picker-dialog__row{width:100%;text-align:left;background:transparent;padding:8px 12px;min-height:44px;border-radius:10px;display:flex;align-items:center;gap:10px;cursor:pointer;position:absolute;left:0;right:0}.thq-focus-picker-dialog__row.is-active{background:#3b82f61f}.thq-focus-picker-dialog__row-title{font-size:13px;font-weight:600;color:var(--thq-color-text, #0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thq-focus-picker-dialog__row-main{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.thq-focus-picker-dialog__row-path{font-size:12px;color:var(--thq-color-text-muted, #475569);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thq-focus-picker-dialog__select{width:22px;height:22px;border-radius:999px;border:1px solid var(--thq-color-border, #e2e8f0);background:transparent;color:transparent;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:0;cursor:pointer}.thq-focus-picker-dialog__select.is-selected{border-color:var(--thq-color-accent, #3b82f6);background:#3b82f61f;color:var(--thq-color-accent, #3b82f6)}.thq-focus-picker-dialog__footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--thq-color-text-muted, #475569)}.thq-focus-picker-dialog__meta{display:flex;flex-direction:column;gap:4px}.thq-focus-picker-dialog__status{display:flex;gap:8px}.thq-focus-picker-dialog__actions{display:flex;gap:8px;flex-wrap:wrap}.thq-focus-picker-dialog__footer-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.thq-focus-picker-dialog__create{border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text, #0f172a);border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.thq-focus-picker-dialog__create:disabled{opacity:.6;cursor:not-allowed}.thq-focus-picker-dialog__action{border:1px solid var(--thq-color-border, #e2e8f0);background:var(--thq-color-surface, #ffffff);color:var(--thq-color-text, #0f172a);border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.thq-focus-picker-dialog__action:disabled{opacity:.6;cursor:not-allowed}.thq-outline-modal-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--thq-z-modal, 2000);pointer-events:none}.thq-outline-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--thq-modal-backdrop, rgba(16, 16, 16, .4));display:grid;place-items:center;pointer-events:auto}.thq-outline-modal-container{pointer-events:auto;outline:none}
