.focus-strip{flex-shrink:0;display:flex;align-items:center;gap:6px;padding:8px 10px;background:#fff2a6;color:#453900;border:1px solid #d8bf48;border-radius:9px;margin:4px 0;min-width:0}.focus-strip[hidden],.focus-review[hidden]{display:none}.focus-strip .focus-name{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere;background:none;border:0;color:inherit;font-weight:650}.focus-strip small{display:block;font-weight:400}.focus-strip>button:not(.focus-name){background:#fff9d9;border:1px solid #d8bf48;color:#453900;min-height:36px;min-width:36px;border-radius:6px;padding:5px}.focus-strip.paused{background:#fff9d9}.focus-review{flex-shrink:0;padding:6px 10px;border:1px solid #d8bf48;background:#fff9d9;border-radius:8px;margin:3px 0}.focus-review button{border:0;background:none;color:#453900;text-align:left;width:100%;font-size:.85rem}.focus-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.focus-review-row{padding:12px 0;border-bottom:1px solid #d7e2e9}.focus-review-row strong{display:block}.focus-estimate{font-size:.8rem;color:#526875}.focus-settings label{display:block;margin:10px 0}.focus-settings input[type=checkbox]{width:auto;margin-right:8px}#focusFilters{justify-content:center;flex-shrink:0;display:flex;gap:8px;padding:3px}#focusFilters:empty{display:none}

/* Keep focus filters in normal layout, outside the overlaid date header. */
#focusFilters{position:relative!important;z-index:11;margin:0 0 5px!important;padding:3px 4px!important;min-height:38px;overflow-x:auto;background:var(--fw-surface,#fff);box-sizing:border-box}
#focusFilters:empty{display:none!important;min-height:0;margin:0!important;padding:0!important}
#focusFilters .filter-ticket{display:inline-flex;align-items:center;flex:0 0 auto;gap:4px;min-height:34px;padding:6px 12px!important;border:1px solid #b9bec5!important;border-radius:9px;background:#fff!important;color:var(--fw-text,#172e40)!important}
#focusFilters .filter-ticket.active{background:#fff2a6!important;color:#453900!important;border-color:#d8bf48!important}


#dayTabs #inProgressChip{background:#f2c94c!important;color:#453900!important;border:1px solid #d8bf48!important;border-radius:9px!important}
#dayTabs #inProgressChip.active{box-shadow:inset 0 0 0 2px #8b7200!important}
#dayTabs.date-navigation.has-focus-filter{overflow-x:auto!important;gap:6px!important}
#dayTabs.date-navigation.has-focus-filter>.filter-ticket{flex:0 0 auto!important;min-width:0!important;max-width:none!important;width:auto!important;padding:6px 9px!important}

/* NOW owns current work, recovery, and review; navigation stays scrollable. */
#currentFocus,.focus-review{display:none!important}
.capture-line .view-icons{justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%;scrollbar-width:none;touch-action:pan-x;padding:3px 2px!important}
.capture-line .view-icons .icon{flex:0 0 var(--view-slot,42px)!important;width:var(--view-slot,42px)!important;height:48px!important;min-width:var(--view-slot,42px)!important;max-width:none!important}
.argh-action-mark{display:inline-block;width:25px;height:25px;flex:0 0 25px;background:#e67e22;mask:url('/argh-buzzsaw.svg') center/contain no-repeat;-webkit-mask:url('/argh-buzzsaw.svg') center/contain no-repeat}
.capture-line #nowMode{display:flex;flex-direction:column;justify-content:center;gap:0;background:transparent!important;color:#9b4300!important}
#nowMode .now-nav-label{font-size:9px;font-weight:700;line-height:1}
.capture-line #nowMode.active{background:#fff0e2!important;border-radius:9px;box-shadow:inset 0 0 0 1px #e67e22}
#nowMode .nav-badge{background:#e67e22;color:#fff}
.swipe-row .row-actions .now-swipe-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.now-swipe-action small{font-size:10px;font-weight:750;line-height:1.2;color:#9b4300}
body[data-view="now"] .pinned-header{display:none!important}
#nowPanel[hidden]{display:none!important}
.now-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.now-heading h2{font-size:1.15rem;margin:0;color:#9b4300}.now-heading #nowCount{font-size:.85rem}
.now-search-label{display:block;font-size:.8rem;margin-bottom:4px}.now-note{font-size:.85rem;margin:8px 0;padding:10px;background:#fff0e2;border-left:3px solid #e67e22;border-radius:6px}
#nowSearch{width:100%;margin-bottom:8px;box-sizing:border-box}
.now-list{margin-top:5px}.now-row .now-drag{width:30px!important;flex-basis:30px!important}.now-row .listrow{padding-top:12px;padding-bottom:12px}.now-row small{display:block}
.chip.now,.dot.now{background:#fff4c2!important;color:#715900;border-color:#d8bf48}
#jumpLatest{background:#f2c94c!important;color:#453900!important}

.capture-line .view-icon{border-bottom-width:5px!important}
.capture-line .view-icon.active{border-bottom-color:#e67e22!important}
.capture-line #nowMode.active{border-bottom-color:#e67e22!important}
#dayTabs .filter-ticket.active:not(#inProgressChip),.purchase-filters .quiet.active,.calendar-filters .quiet.active,.people-chips .quiet.active{background:#e67e22!important;color:#fff!important}
.node.entry.action.now{background:#fff4c2!important;border-color:#d8bf48!important;color:#715900!important}
.capture-line .view-icons .nav-badge{top:0!important;right:0!important;min-width:16px;height:16px;font-size:.65rem!important}

/* Smaller peripheral counts; NOW carries its count inside the Argh mark. */
.capture-line .view-icons .nav-badge{top:-2px!important;right:-2px!important;min-width:14px!important;height:14px!important;font-size:.6rem!important;padding:0 2px!important;line-height:14px!important}
.capture-line .view-icons{padding-top:5px!important;padding-right:4px!important}
.capture-line #nowMode{width:48px!important;min-width:48px!important;flex-basis:48px!important}
.now-nav-mark{position:relative;display:inline-grid;place-items:center;width:38px;height:38px;flex:0 0 38px}
#nowMode .now-nav-mark>.argh-action-mark{position:absolute;inset:0;width:38px;height:38px}
#nowMode .now-nav-count{position:relative;z-index:1;display:block;color:#3f240d;background:none;border:0;border-radius:0;padding:0;font-size:11px;font-weight:750;line-height:1;text-align:center;max-width:27px}
#nowMode .now-nav-count[hidden]{display:none}
.argh-action-symbol{position:relative;display:inline-grid;place-items:center;width:32px;height:32px}
.argh-action-symbol>.argh-action-mark{position:absolute;inset:0;width:32px;height:32px}
.argh-action-glyph{position:relative;z-index:1;color:#3f240d;font-size:21px;font-weight:750;line-height:1;transform:translateY(-1px)}

/* Art-direction refinement shared by every activity row. */
.capture-line .view-icons .nav-badge{top:-1px!important;right:-1px!important;min-width:16px!important;height:16px!important;line-height:16px!important;font-size:.65rem!important;background:#000!important;color:#fff!important;border-color:#000!important}
#nowMode .now-nav-count{position:absolute;inset:0;display:grid;place-items:center;max-width:none;color:#fff;font-weight:800;font-size:12px;line-height:1}
.argh-action-symbol{width:40px;height:40px}
.argh-action-symbol>.argh-action-mark{width:40px;height:40px}
.argh-action-glyph{color:#fff;font-size:24px;font-weight:800;transform:none;display:grid;place-items:center;line-height:1}
.argh-action-complete>.argh-action-mark{background:#278447}
.row-actions .complete-action{background:inherit;display:flex!important;align-items:center;justify-content:center}

/* Bound the hamburger drawer to the visible viewport so every menu item is reachable. */
.overlay.menu-overlay{height:calc(var(--screen-height,100dvh) - var(--test-banner-height,0px) - var(--help-mode-height,0px))!important;max-height:calc(var(--screen-height,100dvh) - var(--test-banner-height,0px) - var(--help-mode-height,0px))!important;overflow:hidden}
.dialog.menu-drawer:not(:has(.user-aids)){height:100%!important;max-height:100%!important;min-height:0;overflow-y:auto!important;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}

.unfinished-question{display:inline-grid;place-items:center;width:32px;height:32px;aspect-ratio:1;border-radius:50%!important;background:#e67e22;color:#fff;font-size:23px;font-weight:750;line-height:1}

/* Hamburger and views share one horizontal scrolling row. */
.capture-line{display:block!important;grid-template-columns:none!important}
.capture-line .view-icons{--view-slot:clamp(36px,calc((100% - 70px)/8),40px);width:100%;max-width:100%;min-width:0;box-sizing:border-box;gap:2px!important;padding:5px 4px 3px!important;justify-content:safe center!important;overflow-x:auto!important;overflow-y:hidden!important}
.capture-line #nowMode,.capture-line #nowMode.active{background:transparent!important;box-shadow:none!important}
.capture-line #nowMode{width:54px!important;min-width:54px!important;flex-basis:54px!important;height:54px!important}
#nowMode .now-nav-mark{width:48px;height:48px;flex-basis:48px}
#nowMode .now-nav-mark>.argh-action-mark{width:48px;height:48px}
#nowMode .now-nav-count{font-size:14px}
#nowMode .now-nav-empty{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#fff;font-size:30px;font-weight:900;line-height:1;text-shadow:0 1px 2px #60310988;transform:translateY(-1px)}
#nowMode .now-nav-empty[hidden]{display:none!important}

/* Running work stays easy to spot. */
.now-row.now-running .swipe-front,.now-row.now-running .listrow{background:#fff2df!important}
#intentSearch{width:100%;text-align:left}
body[data-search-mode="all"] .main>:not(#globalSearchPanel){display:none!important}
#globalSearchPanel{padding:12px 0}#globalSearchPanel h2{margin:6px 0 12px}#globalSearchPanel .listrow{color:var(--fw-text,#17242e);border-bottom:1px solid var(--fw-border,#d7e2e9)}#globalSearchPanel .listrow small{color:var(--fw-muted,#526875)}
#quickSearchDate{flex:1;min-width:0;height:44px;border:0;background:transparent;color:var(--fw-text,#17242e);font:inherit;padding:6px}#clearQuickSearch{border:0;background:transparent;color:var(--fw-muted,#526875);font-size:25px;min-width:40px;padding:4px}

#mePanel[hidden]{display:none!important}
.me-wheel-stub{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:32px 16px;min-height:320px}
.me-wheel-stub h2,.me-wheel-stub p{margin:0}.me-wheel-stub p{color:var(--fw-muted,#526875)}
.me-wheel-preview svg{width:150px;height:150px;color:var(--fw-muted,#526875);opacity:.6}
body[data-view="me"] .pinned-header{display:none!important}

/* The full date lives inside the existing Today chip, not the view row. */
#dayTabs.date-navigation{overflow-x:auto!important;justify-content:flex-start!important}
#dayTabs.date-navigation .filter-ticket{flex:0 0 auto!important;min-width:0!important;max-width:none;width:auto;padding:8px 10px!important}
#dayTabs.date-navigation [data-date-step="today"] .tab-label{text-transform:uppercase!important;white-space:nowrap}

/* Consistent selected and unselected filter chips in every view. */
#dayTabs.day-tabs .filter-ticket,.purchase-filters .quiet,.calendar-filters .quiet,.people-chips .quiet{background:#e5e5e8!important;color:#656565!important}
#dayTabs.day-tabs .filter-ticket.active,.purchase-filters .quiet.active,.calendar-filters .quiet.active,.people-chips .quiet.active{background:#e67e22!important;color:#fff!important}
#dayTabs.day-tabs .filter-ticket.active>span,.purchase-filters .quiet.active>span,.calendar-filters .quiet.active>span,.people-chips .quiet.active>span{color:inherit!important}
#dayTabs.day-tabs:has([data-day-status])>.filter-ticket[aria-pressed="false"]{background:#e5e5e8!important;color:#656565!important}

/* A gentle return to a running Argh after reopening or a long background gap. */
.overlay.focus-wake-overlay{background:transparent!important;backdrop-filter:none!important}
.dialog.focus-wake-dialog{position:relative;width:min(400px,calc(100vw - 24px));box-sizing:border-box;padding:24px 8px;text-align:center;background:transparent!important;border:0!important;box-shadow:none!important}
.focus-wake-circle{position:relative;display:grid;place-items:center;aspect-ratio:1;width:min(360px,100%);margin:0 auto;color:#fff}
.focus-wake-circle .focus-wake-mark{position:absolute;inset:0;width:100%;height:100%;background:#e67e22;opacity:.9;animation:focus-wake-turn 14s linear infinite;transform-origin:center}
.focus-wake-copy{position:relative;width:60%;max-height:60%;overflow:auto}
.focus-wake-copy p{margin:0 0 12px;font-size:20px;font-weight:750;text-transform:uppercase;letter-spacing:.06em;color:#fff}
.focus-wake-copy h2{margin:0;font-size:clamp(20px,6vw,28px);line-height:1.25;overflow-wrap:anywhere;color:#fff}
.focus-wake-actions{display:flex;justify-content:center;gap:24px;margin-top:24px}
.focus-wake-actions .focus-wake-control{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;padding:0;float:none;border:0!important;border-radius:50%!important;background:#e67e22!important;color:#fff!important}
.focus-wake-control svg{width:26px;height:26px}
@keyframes focus-wake-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.focus-wake-circle .focus-wake-mark{animation:none}}

/* Pointer taps stay clean; keyboard navigation keeps an orange focus indicator. */
.focus-wake-dialog:focus{outline:none}
.focus-wake-control:focus:not(:focus-visible){outline:none;box-shadow:none}
.focus-wake-control:focus-visible{outline:3px solid #e67e22!important;outline-offset:4px}
