/* ADATASK_TASK_TOOLBAR_V3: matches the calm task-card-v2 palette; scoped to Tasks. */
body .task-page-pro.task-toolbar-v3{background:#FAFBFC!important;border:0!important;border-radius:10px!important;padding:16px!important;gap:0!important;color:#14212B}
body .task-toolbar-v3>.task-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;position:relative!important;top:auto!important;z-index:20!important;padding:0 0 12px!important;margin:0!important;background:transparent!important;border:0!important;border-bottom:1px solid #E2E6E9!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
body .task-toolbar-v3 .ttv3-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body .task-toolbar-v3 .ttv3-heading>div:first-child{font-size:18px!important;font-weight:700!important;color:#14212B!important;line-height:1.8;border-inline-start:3px solid #4F7DF3;padding-inline-start:9px}
body .task-toolbar-v3 .ttv3-heading>div:last-child{margin:0!important}
body .task-toolbar-v3 .ttv3-heading button{animation:none!important;background:transparent!important;border:0!important;border-radius:6px!important;color:#B54708!important;padding:4px 0!important;font-weight:500!important}
body .task-toolbar-v3 .task-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;overflow:visible!important;width:100%!important;margin:0!important;padding:0!important}
body .task-toolbar-v3 .task-view-tabs{display:flex!important;flex:1 0 100%!important;gap:4px!important;flex-wrap:nowrap!important;overflow-x:auto!important;width:100%!important;max-width:100%!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0 0 6px!important;position:static!important;backdrop-filter:none!important;box-shadow:none!important;scrollbar-width:thin}
body .task-toolbar-v3 .task-toolbar button{font-family:inherit!important;box-shadow:none!important;background-image:none!important;transform:none!important;transition:background-color .12s ease,border-color .12s ease!important;font-size:12px!important;font-weight:500!important;line-height:1.6!important;white-space:nowrap!important}
body .task-toolbar-v3 .ttv3-tools>button,body .task-toolbar-v3 .ttv3-tools>span>button{width:auto!important;min-height:34px!important;height:auto!important;padding:6px 10px!important;border:1px solid #E2E6E9!important;border-radius:6px!important;background:#fff!important;color:#4A5863!important}
body .task-toolbar-v3 .ttv3-tools>button:hover,body .task-toolbar-v3 .ttv3-tools>span>button:hover{border-color:#B6C3CB!important;background:#F1F3F4!important}
body .task-toolbar-v3 .ttv3-tools>button[data-onboarding-target="task-add"]{background:#0B6E78!important;color:#fff!important;border-color:#0B6E78!important;font-weight:600!important;margin-inline-start:auto!important}
body .task-toolbar-v3 .ttv3-tools>button[data-onboarding-target="task-add"]:hover{background:#08545C!important}
body .task-toolbar-v3 .ttv3-tools>button>span{background:transparent!important;color:inherit!important;box-shadow:none!important}
body .task-toolbar-v3 .task-view-tabs button{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:36px!important;padding:6px 12px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#66727B!important}
body .task-toolbar-v3 .task-view-tabs button[aria-pressed="true"]{background:#EEF4FF!important;color:#315FCB!important;font-weight:600!important;box-shadow:inset 0 -2px 0 #4F7DF3!important}
body .task-toolbar-v3 .task-view-tabs button:hover{background:#F1F3F4!important}
body .task-toolbar-v3 .task-layout-tabs-wrap{width:auto!important;gap:6px!important;border:0!important;border-inline-end:1px solid #E2E6E9!important;border-radius:0!important;padding:0 0 0 10px!important;margin-inline-end:4px!important;background:transparent!important;box-shadow:none!important}
body .task-toolbar-v3 .task-layout-tabs-wrap>span{font-weight:400!important;color:#66727B!important;font-size:11px!important}
body .task-toolbar-v3 .task-layout-tabs{position:static!important;padding:2px!important;gap:2px!important;border:1px solid #E2E6E9!important;border-radius:6px!important;background:#F1F3F4!important;backdrop-filter:none!important}
body .task-toolbar-v3 .task-layout-tabs button{width:auto!important;min-height:28px!important;padding:3px 10px!important;border-radius:4px!important;background:transparent!important;color:#66727B!important}
body .task-toolbar-v3 .task-layout-tabs button.active{background:#fff!important;color:#08545C!important;font-weight:600!important;box-shadow:none!important}
body .task-toolbar-v3 .task-toolbar button:disabled{opacity:.4!important;cursor:not-allowed!important}
body .task-toolbar-v3>.task-global-search{padding:12px 0 8px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body .task-toolbar-v3>.task-global-search>div:first-child{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
body .task-toolbar-v3>.task-global-search>div:first-child>div{color:#66727B!important;font-weight:500!important;font-size:12px!important}
body .task-toolbar-v3>.task-global-search input{flex:1 1 220px!important;min-width:0!important;width:auto!important;height:36px!important;background:#fff!important;border:1px solid #D7E1F3!important;border-radius:6px!important;padding:6px 12px!important;box-shadow:none!important;font-size:12px!important}
body .task-toolbar-v3>.task-global-search button{background:transparent!important;border:0!important;border-radius:6px!important;color:#66727B!important;font-weight:500!important;font-size:12px!important;padding:6px!important;min-height:34px!important;box-shadow:none!important}
body .task-toolbar-v3>.task-filter-panel{display:flex!important;flex-wrap:wrap!important;gap:8px 24px!important;padding:8px 0 12px!important;margin:0!important;background:transparent!important;border:0!important;border-bottom:1px solid #E2E6E9!important;border-radius:0!important;box-shadow:none!important}
body .task-toolbar-v3 .task-filter-row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important}
body .task-toolbar-v3 .task-filter-row:last-child{flex-basis:100%!important}
body .task-toolbar-v3 .task-filter-label{flex:0 0 44px!important;width:44px!important;font-size:11px!important;font-weight:500!important;color:#8A949B!important;margin:0!important}
body .task-toolbar-v3 .task-filter-scroll{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important;min-width:0!important;padding:0!important}
body .task-toolbar-v3 .task-filter-scroll button{min-height:30px!important;padding:4px 9px!important;border:1px solid transparent;border-radius:6px!important;background:transparent;color:#66727B;font-size:12px!important;font-weight:400!important;box-shadow:none!important;white-space:nowrap!important}
body .task-toolbar-v3 .task-filter-scroll button[aria-pressed="true"]{font-weight:600!important}
body .task-toolbar-v3 .task-filter-scroll button:not([aria-pressed="true"]):hover{background:#F1F3F4!important}
body .task-toolbar-v3>.task-pager-v307{justify-content:flex-end!important;gap:6px!important;margin:10px 0!important;min-height:30px!important}
body .task-toolbar-v3>.task-pager-v307 button,body .task-toolbar-v3>.task-pager-v307 span{width:auto!important;min-width:0!important;min-height:30px!important;order:0!important;border-radius:6px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#66727B!important;font-size:11px!important;font-weight:500!important;padding:4px 10px!important}
body .task-toolbar-v3>.task-pager-v307 button{border:1px solid #E2E6E9!important;background:#fff!important}
body .task-toolbar-v3>.task-toolbar button:focus-visible,body .task-toolbar-v3>.task-global-search :focus-visible,body .task-toolbar-v3>.task-filter-panel button:focus-visible,body .task-toolbar-v3>.task-pager-v307 button:focus-visible{outline:2px solid #0B6E78!important;outline-offset:2px!important}
body .task-toolbar-v3 #atr-toolbar-v3425{display:inline-flex!important;gap:6px!important}
@media(max-width:760px){
 body .task-page-pro.task-toolbar-v3{padding:10px!important}
 body .task-toolbar-v3>.task-toolbar{gap:8px!important}
 body .task-toolbar-v3 .task-actions{gap:6px!important}
 body .task-toolbar-v3 .ttv3-tools>button{min-height:38px!important}
 body .task-toolbar-v3 .task-view-tabs button{min-height:40px!important}
 body .task-toolbar-v3>.task-global-search input{flex:1 1 calc(100% - 60px)!important;min-width:0!important;width:auto!important}
 body .task-toolbar-v3>.task-filter-panel{gap:6px!important}
 body .task-toolbar-v3 .task-filter-row{width:100%!important;display:flex!important;grid-template-columns:none!important}
 body .task-toolbar-v3 .task-filter-scroll{flex:1!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding:2px!important;scrollbar-width:thin}
 body .task-toolbar-v3 .task-filter-scroll button{flex:0 0 auto!important;min-height:36px!important;padding:6px 9px!important}
 body .task-toolbar-v3>.task-pager-v307{justify-content:center!important}
}
@media(prefers-reduced-motion:reduce){body .task-toolbar-v3>.task-toolbar button{transition:none!important}}
/* One action row; tabs share the title row on desktop. */
body .task-toolbar-v3>.task-toolbar{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:8px 20px!important;padding-bottom:8px!important}
body .task-toolbar-v3 .ttv3-heading{grid-column:1;grid-row:1;gap:12px;justify-content:flex-start}
body .task-toolbar-v3 .task-actions{display:contents!important}
body .task-toolbar-v3 .task-view-tabs{grid-column:2;grid-row:1;width:auto!important;justify-self:end;padding:0!important;flex-basis:auto!important;gap:2px!important}
body .task-toolbar-v3 .task-view-tabs button{padding:6px 9px!important}
body .task-toolbar-v3 .ttv3-tools{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:2px;scrollbar-width:thin;overscroll-behavior-inline:contain}
body .task-toolbar-v3 .ttv3-tools>*{flex-shrink:0!important}
body .task-toolbar-v3 #atr-toolbar-v3425{width:auto!important;flex-wrap:nowrap!important;order:0!important;padding:0!important;margin:0!important;border:0!important}
body .task-toolbar-v3>.task-filter-panel{gap:6px 16px!important}
body .task-toolbar-v3 .task-filter-row:last-child{flex:1 1 auto!important}
body .task-toolbar-v3 .task-filter-scroll{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin}
body .task-toolbar-v3 .task-filter-scroll button{flex-shrink:0!important}
@media(max-width:1100px){
 body .task-toolbar-v3>.task-toolbar{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
 body .task-toolbar-v3 .ttv3-heading{justify-content:space-between;grid-row:1;grid-column:1}
 body .task-toolbar-v3 .task-view-tabs{grid-row:2;grid-column:1;width:100%!important;justify-self:stretch}
 body .task-toolbar-v3 .ttv3-tools{grid-row:3;grid-column:1}
 body .task-toolbar-v3 .ttv3-tools>button[data-onboarding-target="task-add"]{order:-1;margin-inline-start:0!important;position:sticky;inset-inline-start:0;z-index:2}
}
@media(max-width:760px){
 body .task-toolbar-v3>.task-global-search>div:first-child{gap:4px!important}
 body .task-toolbar-v3>.task-global-search>div:first-child>div{display:none}
 body .task-toolbar-v3>.task-global-search input{flex:1 1 160px!important;width:auto!important}
 body .task-toolbar-v3 .task-clear-filter-btn{font-size:11px!important}
 body .task-toolbar-v3>.task-filter-panel{gap:2px!important}
 body .task-toolbar-v3 .task-filter-label{flex-basis:40px!important;width:40px!important}
}

body .task-toolbar-v3 .ttv3-tools>button[aria-pressed="true"]{background:#E3F1F2!important;color:#08545C!important;border-color:#BFDCDF!important}

/* Subtle color accents — v4. Calm, semantic, no gradients. */
body .task-toolbar-v3 .task-view-tabs button[aria-pressed="true"]:hover{background:#E7F0FF!important}
body .task-toolbar-v3>.task-global-search input:focus{outline:0!important;border-color:#8FB1F6!important;box-shadow:0 0 0 3px #EEF4FF!important}
body .task-toolbar-v3 .ttv3-tools>button.ttv3-archive-btn{background:#F3F6FA!important;border-color:#D8E1EB!important;color:#506176!important}
body .task-toolbar-v3 .ttv3-tools>button.ttv3-archive-btn[aria-pressed="true"]{background:#E8EEF5!important;border-color:#C7D3E0!important;color:#334155!important}
body .task-toolbar-v3 .ttv3-tools>button.ttv3-trash-btn{background:#FFF3F3!important;border-color:#F6CECE!important;color:#B42318!important}
body .task-toolbar-v3 .ttv3-tools>button.ttv3-trash-btn[aria-pressed="true"]{background:#DC2626!important;border-color:#DC2626!important;color:#fff!important}
body .task-toolbar-v3 .ttv3-tools>button.ttv3-import-btn{background:#EFFAF4!important;border-color:#C5E8D1!important;color:#166534!important}
body .task-toolbar-v3 .ttv3-tools>button.ttv3-import-btn>span:first-child{background:#16A34A!important;color:#fff!important}
body .task-toolbar-v3 .task-layout-tabs button.active{background:#ECF7F5!important;color:#0B6E78!important}
