.wgRoot { box-sizing:border-box; flex-direction:column; flex:1; width:100%; min-height:0; display:flex; overflow:hidden; } .wgSectionHeader { flex:none; align-items:center; gap:4px; height:36px; padding:0 12px; display:flex; } .wgSectionLabel { text-overflow:ellipsis; white-space:nowrap; min-width:0; max-width:45%; color:var(--dsw-fg-1,inherit); flex:none; font-size:12px; font-weight:600; overflow:hidden; } .wgIconButton { width:26px; height:26px; color:var(--dsw-fg-2,inherit); cursor:pointer; background:0 0; border:none; border-radius:6px; justify-content:center; align-items:center; padding:0; display:inline-flex; } .wgIconButton:hover { background:var(--dsw-bg-hover,#7f7f7f1f); color:var(--dsw-fg-1,inherit); } .wgIconButton:disabled { opacity:.5; cursor:default; } .wgSearch { flex:1; align-items:center; min-width:0; max-width:28px; margin-left:auto; transition:max-width .18s; display:flex; } .wgSearchExpanded { max-width:100%; } .wgSearchInput { min-width:0; color:var(--dsw-fg-1,inherit); background:0 0; border:none; outline:none; flex:1; padding:0; font-size:12px; } .wgTreeBody { flex:1; min-height:0; padding:0 8px 8px; overflow-y:auto; } .wgList { flex-direction:column; gap:1px; display:flex; } .wgEmpty { text-align:center; color:var(--dsw-fg-3,#7f7f7fcc); padding:16px 8px; font-size:12px; } .wgCategoryRow { cursor:pointer; user-select:none; border-radius:6px; align-items:center; gap:4px; height:28px; padding:0 4px; display:flex; position:relative; } /* Palette: one custom property per colour id, shared by the group row and the appearance picker swatches. An uncoloured group never gets data-wg-color, so existing overlays render byte-identically. */ [data-wg-color=red]{--wg-group-tint:#d9534f} [data-wg-color=orange]{--wg-group-tint:#e08a3c} [data-wg-color=amber]{--wg-group-tint:#d9a521} [data-wg-color=green]{--wg-group-tint:#3fa45b} [data-wg-color=teal]{--wg-group-tint:#2f9e93} [data-wg-color=blue]{--wg-group-tint:#4a90d9} [data-wg-color=indigo]{--wg-group-tint:#5b6fd6} [data-wg-color=purple]{--wg-group-tint:#9a63c9} [data-wg-color=pink]{--wg-group-tint:#d4659c} [data-wg-color=gray]{--wg-group-tint:#8a8a8a} /* inset shadow instead of a new element: no layout shift, no clash with the drag insert-line pseudo-elements above. */ .wgCategoryRow[data-wg-color] { box-shadow:inset 2px 0 0 var(--wg-group-tint); } .wgCategoryRow[data-wg-color] .wgCategoryIcon { color:var(--wg-group-tint); } .wgCategoryRow:hover { background:var(--dsw-bg-hover,#7f7f7f1f); } .wgCategoryRow:hover .wgRowActions,.wgCategoryRow:focus-within .wgRowActions { opacity:1; } .wgDropTarget { background:var(--dsw-bg-selected,#4a90d92e); outline:1px dashed var(--dsw-accent,#4a90d9); outline-offset:-1px; } .wgInsertBefore:before,.wgInsertAfter:after { content:""; background:var(--dsw-accent,#4a90d9); height:2px; box-shadow:0 0 0 1px color-mix(in srgb, var(--dsw-accent,#4a90d9) 25%, transparent); pointer-events:none; z-index:6; border-radius:1px; position:absolute; left:2px; right:2px; } .wgInsertBefore:before { top:-1px; } .wgInsertAfter:after { bottom:-1px; } .wgChevron { width:14px; height:14px; color:var(--dsw-fg-3,#7f7f7fcc); flex:none; justify-content:center; align-items:center; transition:transform .12s; display:inline-flex; } .wgChevronOpen { transform:rotate(90deg); } .wgCategoryIcon { color:var(--dsw-fg-2,inherit); flex:none; justify-content:center; align-items:center; display:inline-flex; } .wgCategoryLabel { text-overflow:ellipsis; white-space:nowrap; min-width:0; color:var(--dsw-fg-1,inherit); flex:1; font-size:12px; font-weight:600; overflow:hidden; } .wgCategoryCount { color:var(--dsw-fg-3,#7f7f7fcc); flex:none; font-size:11px; } .wgCategoryGlyph { font-size:12px; line-height:1; } .wgCategoryPin { color:var(--dsw-fg-3,#7f7f7fcc); flex:none; display:inline-flex; } .wgProjectRow { cursor:pointer; user-select:none; border-radius:6px; align-items:center; gap:4px; height:28px; padding:0 4px 0 20px; display:flex; position:relative; } .wgProjectFlat { padding-left:4px; } .wgTopLevelArea { margin-top:2px; padding-bottom:10px; } .wgTopLevelEmpty { border-radius:4px; height:14px; position:relative; } .wgTopLevelEmptyLine { background:var(--dsw-accent,#4a90d9); height:2px; box-shadow:0 0 0 1px color-mix(in srgb, var(--dsw-accent,#4a90d9) 25%, transparent); pointer-events:none; border-radius:1px; position:absolute; top:50%; left:2px; right:2px; } .wgTopLevelEmptyActive { background:var(--dsw-bg-selected,#4a90d92e); } .wgProjectRow:hover { background:var(--dsw-bg-hover,#7f7f7f1f); } .wgProjectActive .wgProjectLabel { font-weight:700; } .wgProjectLabel { text-overflow:ellipsis; white-space:nowrap; min-width:0; color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); /* Same face and size as the group and session rows: the three levels read as one list whose depth comes from the 16px indent and the weight ramp (600 group / 500 project / 400 session), not from a size jump. The mono face this used to use made project rows look larger and differently spaced than the rows around them. */ font-size:12px; font-weight:500; flex:1; overflow:hidden; } .wgRowActions { opacity:0; flex:none; align-items:center; gap:2px; display:inline-flex; } .wgProjectRow:hover .wgRowActions,.wgProjectRow:focus-within .wgRowActions { opacity:1; } .wgTreeWrap { position:relative; } /* The flower overlay holds only the bloom now; the stem and per-row dots were removed, so no stroke rules live here any more. */ .wgBranch { z-index:2; pointer-events:none; position:absolute; top:0; left:0; overflow:visible; transition:opacity .12s ease; } /* Disclosure animation moves rows before FlowerBranch re-measures: hide the bloom while any RowGroup animates so it never lags behind its row. */ .wgTreeWrap:has([data-wg-animating]) .wgBranch { opacity:0; } .wgTreeWrap>.wgList { z-index:1; position:relative; } .wgFlowerArt { transform-box:fill-box; transform-origin:50%; animation:4s linear infinite paused wg-flower-spin; } .wgFlowerSpinning .wgFlowerArt { animation-play-state:running; } @keyframes wg-flower-spin { 0%{transform:rotate(0)}to{transform:rotate(360deg)}; } @media (prefers-reduced-motion:reduce) { .wgFlowerArt{animation:none}.wgRowsOpening,.wgRowsClosing{animation:none}.wgBranch{transition:none}; } /* Animated disclosure body (RowGroup): 0fr ↔ 1fr interpolates the row box without measuring heights. The inner element must shrink during the +row collapse, and overflow is only clipped while a class is present so idle hover halos and focus rings are never cut off. */ .wgRows { display:grid; grid-template-rows:1fr; } .wgRowsInner { min-height:0; } .wgRowsOpening { animation:wg-rows-in .18s cubic-bezier(.2,.8,.2,1); } .wgRowsClosing { pointer-events:none; animation:wg-rows-out .16s cubic-bezier(.4,0,1,1) forwards; } .wgRowsOpening .wgRowsInner,.wgRowsClosing .wgRowsInner { overflow:hidden; } @keyframes wg-rows-in { 0%{grid-template-rows:0fr;opacity:.35} to{grid-template-rows:1fr;opacity:1} } @keyframes wg-rows-out { 0%{grid-template-rows:1fr;opacity:1} to{grid-template-rows:0fr;opacity:0} } .wgTreeChildren { position:relative; } .wgSessionRow { cursor:pointer; user-select:none; border-radius:6px; align-items:center; gap:6px; height:28px; /* Nesting step: group label 42 → project label 58 → session title 74, i.e. a uniform 16px per level. The session used to start at 40 (+20 for the status slot = 60), which sat only 2px right of its project label and read as the same level. */ padding:0 4px 0 54px; display:flex; } .wgSessionRow:hover { background:var(--dsw-bg-hover,#7f7f7f1f); } .wgSessionRow:hover .wgRowActions,.wgSessionRow:focus-within .wgRowActions { opacity:1; } .wgSelected { background:var(--dsw-bg-selected,#4a90d92e); } .wgStatusSlot { flex:none; justify-content:center; align-items:center; width:14px; height:14px; display:inline-flex; } .wgSessionTitle { text-overflow:ellipsis; white-space:nowrap; min-width:0; color:var(--dsw-alias-label-secondary,var(--dsw-fg-2,inherit)); flex:1; font-size:12px; overflow:hidden; } .wgSelected .wgSessionTitle { color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); font-weight:500; } .wgSessionTime { color:var(--dsw-fg-3,#7f7f7fcc); flex:none; font-size:11px; } .wgVisuallyHidden { clip:rect(0 0 0 0); white-space:nowrap; border:0; width:1px; height:1px; margin:-1px; padding:0; position:absolute; overflow:hidden; } .wgMatched { background:var(--dsw-bg-selected,#4a90d92e); } .wgSessionSnippet { text-overflow:ellipsis; white-space:nowrap; min-width:0; color:var(--dsw-fg-3,#7f7f7fcc); flex:1; font-size:11px; overflow:hidden; } .wgSearchStatus { color:var(--dsw-fg-3,#7f7f7fcc); text-align:center; padding:8px; font-size:11px; } .wgManualError { color:var(--dsw-fg-1,inherit); text-align:left; word-break:break-word; } .wgRail { flex-direction:column; align-items:center; gap:12px; padding:8px 0 0; display:flex; overflow:hidden; } .wgRail .wgSectionHeader { flex-direction:column; align-self:center; align-items:center; gap:12px; width:36px; height:auto; padding:0; } .wgRail .wgIconButton { border-radius:50%; width:36px; height:36px; } .wgRail .wgTreeBody { display:none; } .wgAddError { color:var(--dsw-fg-1,inherit); white-space:pre-wrap; word-break:break-word; max-height:200px; font-size:12px; overflow-y:auto; } .wgRenameInput { border:1px solid var(--dsw-border,#7f7f7f4d); background:var(--dsw-bg-1,transparent); width:100%; color:var(--dsw-fg-1,inherit); border-radius:6px; outline:none; padding:6px 8px; font-size:13px; } .wgRenameInput:focus { border-color:var(--dsw-accent,#4a90d9); } /* Appearance dialog: colour swatches, icon picker grid, pin toggle. */ .wgAppearanceSection { display:flex; flex-direction:column; gap:6px; } .wgAppearanceLabel { color:var(--dsw-fg-3,#7f7f7fcc); font-size:11px; font-weight:600; } .wgSwatchRow { gap:6px; display:flex; flex-wrap:wrap; } .wgSwatch { cursor:pointer; border:1px solid var(--dsw-alias-border-l2,#7f7f7f47); width:20px; height:20px; border-radius:5px; padding:0; } .wgSwatch[data-wg-color] { background:var(--wg-group-tint); } .wgSwatch:disabled { cursor:default; opacity:.5; } .wgSwatchActive { outline:2px solid var(--dsw-accent,#4a90d9); outline-offset:1px; } .wgSwatchDefault { background:var(--dsw-bg-hover,#7f7f7f1f); } .wgIconGrid { gap:4px; grid-template-columns:repeat(10,1fr); display:grid; } .wgIconCell { cursor:pointer; color:var(--dsw-fg-2,inherit); border:0; border-radius:5px; justify-content:center; align-items:center; width:24px; height:24px; padding:0; display:inline-flex; background:transparent; } .wgIconCell:hover:not(:disabled) { background:var(--dsw-bg-hover,#7f7f7f1f); } .wgIconCell[aria-pressed=true] { background:var(--dsw-bg-selected,#4a90d92e); } .wgIconCell:disabled { cursor:default; opacity:.5; } .wgQuickOverlay { z-index:1100; background:var(--dsw-alias-bg-mask-1,#00000052); backdrop-filter:var(--dsw-mask-blur,blur(2px)); justify-content:center; align-items:flex-start; padding:10vh 24px 24px; display:flex; position:fixed; inset:0; } .wgQuickCard { border:1px solid var(--dsw-border,#7f7f7f33); background:var(--dsw-alias-bg-layer-2,var(--dsw-bg-1,#fff)); width:min(640px,100%); max-height:min(560px,90vh - 48px); box-shadow:var(--dsw-elevation-prominent,0 16px 48px #00000040); box-sizing:border-box; border-radius:12px; flex-direction:column; gap:10px; padding:14px; display:flex; overflow:hidden; } .wgQuickHeader { flex:none; justify-content:space-between; align-items:center; gap:12px; display:flex; } .wgQuickTitle { color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); font-size:13px; font-weight:600; } .wgQuickTabs { gap:2px; display:flex; } .wgQuickTab { color:var(--dsw-alias-label-secondary,var(--dsw-fg-2,inherit)); cursor:pointer; background:0 0; border:none; border-radius:6px; align-items:center; gap:6px; padding:4px 12px; font-family:inherit; font-size:12px; display:inline-flex; } .wgQuickTab:hover { background:var(--dsw-alias-interactive-bg-hover,var(--dsw-bg-hover,#7f7f7f1f)); } .wgQuickTabActive { background:var(--dsw-alias-interactive-bg-hover,var(--dsw-bg-selected,#4a90d92e)); color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); font-weight:600; } .wgQuickTabCount { background:var(--dsw-accent,#4a90d9); color:#fff; text-align:center; border-radius:8px; min-width:16px; height:16px; padding:0 4px; font-size:10px; font-weight:600; line-height:16px; } .wgQuickSearchWrap { flex:none; } .wgQuickSearch { border:1px solid var(--dsw-border,#7f7f7f4d); background:var(--dsw-bg-1,transparent); width:100%; height:34px; color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); box-sizing:border-box; border-radius:8px; outline:none; padding:0 10px; font-family:inherit; font-size:13px; } .wgQuickSearch:focus { border-color:var(--dsw-accent,#4a90d9); } .wgQuickList { flex-direction:column; flex:auto; gap:2px; min-height:64px; padding-right:2px; display:flex; overflow-y:auto; } .wgQuickRow { cursor:pointer; text-align:left; box-sizing:border-box; background:0 0; border:none; border-radius:8px; flex-direction:column; flex:none; gap:2px; width:100%; padding:7px 10px; font-family:inherit; display:flex; } .wgQuickRow:hover,.wgQuickRowActive { background:var(--dsw-alias-interactive-bg-hover,var(--dsw-bg-hover,#7f7f7f1f)); } .wgQuickRowSelected,.wgQuickRowCurrent { background:var(--dsw-bg-selected,#4a90d92e); } .wgQuickRowMain { align-items:center; gap:8px; width:100%; min-width:0; display:flex; } .wgQuickRowTitle { text-overflow:ellipsis; white-space:nowrap; min-width:0; color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); flex:1; font-size:13px; font-weight:500; overflow:hidden; } .wgQuickRunBadge { color:var(--dsw-accent,#4a90d9); flex:none; font-size:11px; } .wgQuickTime { color:var(--dsw-alias-label-secondary,var(--dsw-fg-3,#7f7f7fcc)); flex:none; font-size:11px; } .wgQuickRowSub { min-width:0; display:flex; } .wgQuickRowPath { text-overflow:ellipsis; white-space:nowrap; min-width:0; color:var(--dsw-alias-label-secondary,var(--dsw-fg-3,#7f7f7fcc)); flex:1; font-size:11px; overflow:hidden; } .wgQuickEmpty { text-align:center; color:var(--dsw-alias-label-secondary,var(--dsw-fg-3,#7f7f7fcc)); padding:24px 8px; font-size:12px; } .wgQuickFooter { flex:none; align-items:center; gap:8px; padding-top:2px; display:flex; } .wgQuickSelected { text-overflow:ellipsis; white-space:nowrap; min-width:0; color:var(--dsw-alias-label-secondary,var(--dsw-fg-3,#7f7f7fcc)); flex:1; font-size:12px; overflow:hidden; } .wgQuickHint { text-align:center; color:var(--dsw-alias-label-secondary,var(--dsw-fg-3,#7f7f7fcc)); flex:none; font-size:11px; } .wgTabs { box-sizing:border-box; border-bottom:1px solid var(--dsw-alias-border-l2,#7f7f7f33); background:0 0; flex:none; align-items:stretch; gap:4px; min-width:0; height:56px; padding:8px 10px; display:flex; } .wgTabsScroll { scrollbar-width:none; -ms-overflow-style:none; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; box-sizing:border-box; flex:auto; align-items:stretch; gap:6px; min-width:0; padding:1px 0; display:flex; overflow:auto hidden; } .wgTabsScroll::-webkit-scrollbar { width:0; height:0; display:none; } .wgTab { min-width:0; max-width:240px; box-shadow:inset 0 0 0 1px var(--dsw-alias-border-l2,#7f7f7f2e); color:var(--dsw-alias-label-secondary,var(--dsw-fg-2,inherit)); border-radius:8px; flex:none; align-items:center; padding:0 6px 0 10px; transition:background .12s,box-shadow .12s; display:inline-flex; } .wgTabText { flex-direction:column; flex:auto; justify-content:center; align-items:flex-start; gap:3px; min-width:0; height:100%; display:flex; } .wgTabProject { text-overflow:ellipsis; white-space:nowrap; min-width:0; max-width:100%; font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace); letter-spacing:.02em; color:var(--dsw-alias-label-secondary,var(--dsw-fg-3,inherit)); opacity:.85; flex:none; font-size:10px; line-height:13px; overflow:hidden; } .wgTab:hover { background:var(--dsw-alias-interactive-bg-hover,var(--dsw-bg-hover,#7f7f7f1f)); } .wgTabActive { background:var(--dsw-alias-interactive-bg-hover,var(--dsw-bg-hover,#7f7f7f1f)); box-shadow:inset 0 0 0 1px var(--dsw-alias-label-secondary,#7f7f7f73); color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); } .wgTabActive .wgTabProject { opacity:1; } .wgTabMain { box-sizing:border-box; min-width:0; height:100%; color:inherit; cursor:pointer; background:0 0; border:none; flex:auto; align-items:center; gap:8px; padding:6px 0; font-family:inherit; font-size:12px; display:inline-flex; } .wgTabStatus { flex:none; justify-content:center; align-items:center; width:12px; height:12px; display:inline-flex; } .wgTabStatus[data-tab-state=idle] { opacity:.45; } .wgTabLabel { text-overflow:ellipsis; white-space:nowrap; min-width:0; max-width:100%; color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); flex:none; font-size:12px; line-height:16px; overflow:hidden; } .wgTabText>.wgTabLabel:only-child { align-self:center; } .wgTabClose { width:20px; height:20px; color:inherit; cursor:pointer; opacity:0; background:0 0; border:none; border-radius:5px; flex:none; justify-content:center; align-items:center; margin-left:2px; padding:0; transition:opacity .12s,background .12s; display:inline-flex; } .wgTab:hover .wgTabClose,.wgTab:focus-within .wgTabClose,.wgTabActive .wgTabClose { opacity:1; } .wgTabClose:hover { background:var(--dsw-alias-interactive-bg-hover-solid,#7f7f7f33); } /* ---- tab strip: pin / drag / inline rename / context menu ------------------ */ .wgTab { position:relative; } .wgTabPinned { box-shadow:inset 0 0 0 1px var(--dsw-alias-label-secondary,#7f7f7f73); } .wgTabPin { flex:none; justify-content:center; align-items:center; width:12px; height:12px; margin-left:4px; opacity:.55; color:inherit; display:inline-flex; } .wgTabDragging { opacity:.42; } .wgTabDropBefore:before,.wgTabDropAfter:before { content:""; position:absolute; top:2px; bottom:2px; background:var(--dsw-alias-label-primary,var(--dsw-fg-1,#4a90d9)); border-radius:2px; width:2px; } .wgTabDropBefore:before { left:-4px; } .wgTabDropAfter:before { right:-4px; } .wgTabRename { box-sizing:border-box; min-width:88px; height:100%; color:inherit; background:var(--dsw-alias-bg-elevated,var(--dsw-bg-1,transparent)); border:1px solid var(--dsw-alias-label-secondary,#7f7f7f73); border-radius:6px; outline:none; flex:auto; margin:2px 0; padding:0 6px; font-family:inherit; font-size:12px; } .wgTabMenu { z-index:2147483000; box-sizing:border-box; min-width:196px; background:var(--dsw-alias-bg-popup,var(--dsw-bg-2,#1e1e1e)); border:1px solid var(--dsw-alias-border-l2,#7f7f7f33); border-radius:8px; flex-direction:column; padding:4px; display:flex; position:fixed; box-shadow:0 8px 24px #00000033,0 1px 2px #0000001f; } .wgTabMenuItem { width:100%; color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit)); text-align:left; cursor:pointer; background:0 0; border:none; border-radius:5px; padding:6px 10px; font-family:inherit; font-size:12px; line-height:16px; } .wgTabMenuItem:hover:not(:disabled) { background:var(--dsw-alias-interactive-bg-hover,var(--dsw-bg-hover,#7f7f7f1f)); } .wgTabMenuItem:disabled { cursor:default; opacity:.4; } .wgTabMenuDanger { color:var(--dsw-alias-label-error,var(--dsw-fg-error,#d9534f)); } .wgTabMenuSeparator { background:var(--dsw-alias-border-l2,#7f7f7f33); height:1px; margin:4px 6px; }