/* Reuses the Bamboo system tokens; a persistent work surface, not a modal. */
#focusTrigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:4px 9px;border:1px solid var(--jz-line-strong);border-radius:var(--jz-radius-control);color:var(--jz-brand);background:var(--jz-paper);font-size:11px;white-space:nowrap}#focusTrigger .ui-icon{width:14px;height:14px}#focusTrigger b{font-size:10px;font-weight:650;font-variant-numeric:tabular-nums;background:var(--jz-brand-soft);border-radius:4px;padding:0 4px}#focusTrigger[aria-expanded=true]{border-color:var(--jz-brand);background:var(--jz-brand-soft)}
#focusPanel{position:fixed;right:20px;bottom:18px;width:380px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 120px);display:flex;flex-direction:column;z-index:35;background:var(--jz-paper);color:var(--jz-ink);border:1px solid var(--jz-line-strong);border-radius:10px;box-shadow:0 12px 40px #243d2d25;overflow:hidden}#focusPanel[hidden]{display:none}.focus-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--jz-line);background:var(--jz-paper-recessed);flex-shrink:0;gap:6px}.focus-head>div{display:flex;align-items:center;gap:7px;min-width:0}.focus-head h2{font-size:13px;line-height:20px;font-weight:650;margin:0;white-space:nowrap}.focus-symbol{display:flex;color:var(--jz-brand)}.focus-symbol .ui-icon{width:16px;height:16px}#focusProgress{font-size:10px;color:var(--jz-secondary);white-space:nowrap}.focus-head button,.focus-choose-head button,.focus-remove{display:grid;place-items:center;width:28px;height:28px;padding:0;color:var(--jz-muted);border-radius:5px;flex-shrink:0}.focus-head button:hover,.focus-remove:hover{background:var(--jz-brand-soft);color:var(--jz-brand)}.focus-head .ui-icon,.focus-remove .ui-icon{width:14px;height:14px}#focusBody{display:flex;flex-direction:column;min-height:0;overflow:auto}#focusBody[hidden]{display:none}.focus-intro{font-size:11px;line-height:16px;color:var(--jz-secondary);margin:12px 14px 8px}#focusDrop{padding:0 10px;overflow:auto;flex:1;min-height:110px;max-height:40dvh;overscroll-behavior:contain}.focus-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:130px;text-align:center;border:1px dashed var(--jz-line-strong);border-radius:6px;margin:4px 0 8px}.focus-empty>.ui-icon{color:var(--jz-brand);width:22px;height:22px}.focus-empty strong{font-size:12px;font-weight:500}.focus-empty span{font-size:11px;color:var(--jz-muted)}.focus-task{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--jz-line)}.focus-task:last-child{border-bottom:0}.focus-task-copy{flex:1;min-width:0;text-align:left;padding:2px 0}.focus-task-copy>span{display:block;font-size:13px;line-height:20px;font-weight:500;overflow-wrap:anywhere}.focus-task-copy>small{display:block;font-size:11px;color:var(--jz-secondary);line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.focus-task .priority-mark{cursor:default}.focus-task.is-done .focus-task-copy>span{text-decoration:line-through;color:var(--jz-completed)}.focus-deadline{margin-left:31px;flex-basis:100%}#focusCompleted{border-top:1px solid var(--jz-line);margin-top:5px}#focusCompleted[hidden]{display:none}#focusCompleted summary{font-size:11px;color:var(--jz-secondary);cursor:pointer;padding:9px 0}.focus-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid var(--jz-line);flex-shrink:0}.focus-footer>span{font-size:10px;color:var(--jz-muted)}#focusChoose{display:inline-flex;align-items:center;gap:5px;font-size:11px;min-height:30px;border:1px solid var(--jz-line-strong);padding:4px 8px;border-radius:6px;color:var(--jz-brand)}#focusChoose .ui-icon{width:14px;height:14px}
#focusChooser{border-top:1px solid var(--jz-line);padding:10px 12px;background:var(--jz-paper-recessed);flex-shrink:0}.focus-choose-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.focus-choose-head label{font-size:12px;font-weight:500}#focusSearch{font-size:12px;width:100%;min-height:34px;margin-top:6px}#focusSearchCount{font-size:10px;line-height:15px;color:var(--jz-muted);margin:8px 0}#focusChoices{max-height:160px;overflow:auto;overscroll-behavior:contain}.focus-choice{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;gap:10px;padding:8px 6px;border-radius:5px}.focus-choice:hover{background:var(--jz-brand-soft)}.focus-choice>span:first-child{min-width:0;flex:1}.focus-choice strong{display:block;font-size:12px;line-height:18px;font-weight:500;overflow-wrap:anywhere}.focus-choice small{display:block;font-size:10px;color:var(--jz-secondary);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.focus-choice>span:last-child{font-size:10px;color:var(--jz-muted);flex-shrink:0}.focus-choice .ui-icon{width:14px;height:14px}#focusPanel button:disabled{opacity:.55;cursor:default}#focusPanel :focus-visible,#focusTrigger:focus-visible{outline:2px solid var(--jz-focus);outline-offset:2px}#focusDropHint{font-size:11px;line-height:18px;display:none;padding:8px;border-radius:5px;background:var(--jz-brand-soft);color:var(--jz-brand);margin-bottom:6px}.accepting-drag #focusDropHint{display:block}#focusPanel[data-drop=ready]{border-color:var(--jz-brand);box-shadow:0 0 0 2px var(--jz-brand-soft),0 12px 40px #243d2d25}#focusPanel[data-drop=invalid] #focusDropHint{color:var(--jz-danger);background:var(--jz-danger-soft)}.sort-ghost.focus-copy-ghost{width:340px!important;max-height:100px;overflow:hidden}.priority-view.focus-open .subtask .handle{display:flex}.is-collapsed .focus-head{border-bottom:0}
@media(max-width:650px){#focusPanel{right:12px;bottom:12px;max-height:calc(100dvh - 160px);width:366px}#focusTrigger{padding:4px 6px;min-height:32px;gap:4px}#focusTrigger .ui-icon{display:none}#focusProgress{font-size:9px}.focus-head{padding:8px 10px}#focusDrop{max-height:32dvh}.focus-footer>span{font-size:9px}#focusChoices{max-height:130px}.focus-copy-ghost{width:250px!important}}
@media(pointer:coarse){.focus-head button,.focus-choose-head button,.focus-remove,#focusChoose,.focus-choice,#focusTrigger{min-height:44px}.focus-head button,.focus-remove{min-width:36px}.focus-task .check{min-width:36px;min-height:44px}#focusSearch{min-height:40px}}

/* v27 · three distinct drag surfaces, sharing the existing Bamboo interaction tokens. */
#focusMoveHandle{cursor:grab;touch-action:none;user-select:none}#focusMoveHandle:focus-visible{outline-offset:-3px}.focus-head>div:first-child{flex:1}.focus-head>div:last-child{flex-shrink:0;gap:2px}#focusPanel.is-moving{user-select:none;box-shadow:0 18px 50px var(--jz-shadow-ink)}#focusPanel.is-moving .focus-head{cursor:grabbing}
.focus-handle,.focus-handle-space{width:16px;height:30px;flex-shrink:0}.focus-handle{display:grid;place-items:center;padding:0;cursor:grab;touch-action:none;color:var(--jz-control-outline);border-radius:4px}.focus-handle:hover{color:var(--jz-brand);background:var(--jz-brand-soft)}.focus-handle .ui-icon{width:14px;height:14px}.focus-task[hidden]{display:none!important}.focus-sort-ghost{z-index:70;display:flex;gap:7px;padding:8px 4px}.focus-sort-placeholder{margin:2px 0}.focus-deadline{margin-left:47px}#focusPanel.is-sorting{border-color:var(--jz-brand)}
.taskcard.drop-group-ready{border-color:var(--jz-brand);box-shadow:inset 0 0 0 1px var(--jz-brand)}.taskcard.drop-group-ready>.task{background:var(--jz-brand-soft)}.drag-receiver{min-height:34px}.drag-action-hint{position:fixed;z-index:71;pointer-events:none;max-width:min(320px,calc(100vw - 16px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 10px;font-size:11px;line-height:18px;color:var(--jz-on-brand);background:var(--jz-brand);border-radius:5px;box-shadow:0 4px 16px var(--jz-shadow-ink)}.drag-action-hint[hidden]{display:none}.sort-ghost{z-index:70}
.move-parent-control{display:flex;align-items:center;gap:8px}.move-parent-control select{flex:1;min-width:0}.move-parent-control button{flex-shrink:0;font-size:12px;padding:8px 10px;border:1px solid var(--jz-line-strong);border-radius:var(--jz-radius-control);color:var(--jz-brand)}.move-parent-control button:disabled{opacity:.45;cursor:default}.move-parent-hint{font-size:11px;color:var(--jz-muted);line-height:17px;margin:6px 0 12px}
@media(pointer:coarse){.focus-handle,.focus-handle-space{width:24px;min-height:44px}.focus-deadline{margin-left:67px}#focusMoveHandle{min-height:52px}}
@media(max-width:360px){#focusProgress{display:none}.focus-intro{margin:8px 12px;font-size:10px}.focus-task{gap:5px}}

.sort-origin-placeholder{background:var(--jz-paper-recessed);border-radius:var(--jz-radius-control);opacity:.55;pointer-events:none}

/* Cross-group previews mark an insertion line without pushing later groups away. */
.sort-placeholder.cross-group-slot{height:0!important;min-height:0;margin:0!important;border:0;border-radius:0;box-shadow:0 -1px 0 1px var(--jz-brand);position:relative;z-index:1;pointer-events:none}
.drag-receiver{min-height:0;margin:0 12px!important;padding:0!important;border:0}
