body.task-workspace{--bg:#171717;--panel:#202020;--panel-2:#292929;--line:#3b3b3b;--text:#eee;--muted:#b3b5b7;--muted-2:#929598;--accent:#e6e8e8;--accent-ink:#202020;background:var(--bg);font-size:14px;letter-spacing:0}
.task-workspace .shell{width:100%;max-width:none;padding:0 24px 20px}.task-workspace .topbar{height:65px;max-width:none;border-bottom:1px solid var(--line);margin:0}.task-workspace .brand-mark{background:#e6e8e8;color:#222;border-radius:5px;width:30px;height:30px}.task-workspace .brand{font-size:18px}.task-workspace .secure-pill{border-radius:5px}.task-workspace .hero,.task-workspace .footer{display:none}
.workspace-frame{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:calc(100svh - 90px)}.workspace-nav{padding:27px 16px 0 0;border-right:1px solid var(--line);display:flex;gap:6px;flex-direction:column;align-items:stretch}.workspace-product{font-size:11px;color:var(--muted-2);padding:0 12px 13px;letter-spacing:.08em}.workspace-nav button,.workspace-nav a{display:flex;align-items:center;min-height:44px;text-align:left;padding:10px 12px;border:0;border-radius:5px;color:var(--muted);background:none;font-size:14px;text-decoration:none}.workspace-nav button.is-active{background:#303030;color:#fff}.workspace-nav-foot{margin-top:auto;padding:30px 10px 10px;color:var(--muted-2);font-size:11px}
.workspace-main{padding:28px 0 0 26px;min-width:0}.workspace-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.workspace-head h1{font-size:25px;line-height:1.25;letter-spacing:0}.workspace-head p{font-size:13px;color:var(--muted);margin:8px 0 0}.task-workspace .primary-button,.task-workspace .secondary-button{height:auto;min-height:44px;border-radius:5px;font-size:14px;letter-spacing:0;padding:10px 16px}.task-workspace .text-button{min-height:44px}.workspace-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:13px}.workspace-toolbar>input{max-width:400px;border:1px solid var(--line);background:var(--panel);border-radius:5px;min-height:44px;padding:10px 12px;font-size:16px}.workspace-filter-menu{position:relative}.workspace-filter-menu summary{list-style:none;display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--muted);padding:6px 12px;border:1px solid var(--line);border-radius:5px}.workspace-filter-menu label{position:absolute;top:44px;right:0;z-index:5;background:var(--panel-2);padding:16px;min-width:180px;border:1px solid var(--line);border-radius:5px}.workspace-filter-menu select{display:block;width:100%;min-height:44px;font-size:16px;margin-top:8px;color:var(--text);background:var(--panel);border:1px solid var(--line)}
.workspace-state-tabs{display:flex;gap:14px;border-bottom:1px solid var(--line);overflow-x:auto}.workspace-state-tabs button{background:none;color:var(--muted);border:0;border-bottom:2px solid transparent;border-radius:0;font-size:13px;min-height:44px;padding:8px 4px;white-space:nowrap}.workspace-state-tabs button[aria-pressed=true]{color:var(--text);border-bottom-color:var(--text)}.workspace-status{font-size:13px;color:var(--muted);margin:10px 0;min-height:0}.workspace-status:empty{display:none}.workspace-table-head,.workspace-row{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(200px,1fr) 100px 44px;gap:16px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--line)}.workspace-table-head{color:var(--muted-2);font-size:12px;min-height:44px}.workspace-row{min-height:98px}.workspace-row:hover{background:#202020}.workspace-row-main{display:flex;min-width:0;gap:10px;align-items:center}.workspace-row-main>input{appearance:auto;width:18px;height:18px;min-width:18px;accent-color:#ddd}.workspace-row-copy{min-width:0}.workspace-row-title{border:0;background:none;color:var(--text);padding:4px 0;min-height:30px;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:14px;font-weight:600;text-align:left;display:block}.workspace-row-copy p{font-size:12px;color:var(--muted-2);margin:3px 0}.workspace-words{border:0;background:none;padding:4px 0;color:#becbdc;max-width:100%;font-size:12px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:28px}.workspace-row-progress{min-width:0;display:grid;gap:5px}.workspace-stage{font-size:13px}.workspace-stage:before{content:' ';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:7px;background:#a2a8ad}.workspace-stage.state-active:before{background:#8ab8ed}.workspace-stage.state-ready:before{background:#91b5a0}.workspace-stage.state-paused:before,.workspace-stage.state-needs_review:before{background:#d0b27a}.workspace-stage.state-failed:before{background:#e59696}.workspace-row-progress small,.workspace-row time{color:var(--muted-2);font-size:12px;line-height:1.5}.workspace-row-progress .workspace-row-reason{color:#e8b0b0;overflow-wrap:anywhere}.workspace-row-menu{position:relative}.workspace-row-menu summary{list-style:none;cursor:pointer;text-align:center;display:grid;place-items:center;min-width:44px;min-height:44px;color:var(--muted)}.workspace-row-menu>div{position:absolute;right:0;top:42px;z-index:10;min-width:170px;padding:4px;border:1px solid var(--line);border-radius:5px;background:#292929;box-shadow:0 8px 24px #0005}.workspace-row-menu>div button{display:block;width:100%;text-align:left;padding:10px 12px;border:0;border-radius:3px;font-size:13px}.workspace-row-menu>div button:hover{background:#383838}.workspace-pages{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:var(--muted);font-size:12px;padding:14px 0}.workspace-pages>span:first-child{margin-right:auto}.workspace-selection{display:flex;align-items:center;gap:14px;padding:8px 10px;margin-top:10px;border:1px solid var(--line);background:#292929;font-size:13px}.workspace-selection button{font-size:13px}.workspace-sites-actions{display:flex;gap:10px;margin:0 0 22px}.workspace-muted{color:var(--muted);font-size:13px;line-height:1.7}#workspace-usage{display:grid;grid-template-columns:max-content 1fr;gap:18px 30px;margin:30px 0;font-size:14px}#workspace-usage dt{color:var(--muted)}#workspace-usage dd{margin:0}
.task-workspace dialog{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:8px}.task-workspace dialog::backdrop{background:#0009}.workspace-create{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto}.workspace-create>header,.workspace-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:0 0 14px;margin:0 0 16px}.workspace-create h2,.workspace-drawer h2{font-size:20px;line-height:1.4;margin:0;overflow-wrap:anywhere}.workspace-create .task-composer{padding:0;border:0;margin:0;box-shadow:none;background:none;width:100%;max-width:none}.workspace-create .composer-heading{display:none}.workspace-create .download-tabs{margin-top:0}.workspace-create .download-form{margin:16px 0 0;grid-template-columns:1fr}.workspace-create .input-wrap{border-radius:5px;height:48px}.workspace-create .hint,.workspace-create #open-recording-assist{display:none}.workspace-create .search-form{margin-top:16px}.workspace-create .search-source-row{grid-template-columns:minmax(0,1fr) 44px}.workspace-create #add-search-source{font-size:0;padding:0;min-width:44px}.workspace-create #add-search-source:before{content:'+';font-size:22px}.workspace-create .search-form input,.workspace-create .search-form select{border-radius:5px;min-height:46px}.workspace-page-setting{margin:16px 0}.workspace-page-setting label{font-size:13px;color:var(--muted);display:block}.workspace-page-setting input{display:block;width:min(100%,260px)!important;border:1px solid var(--line)!important;margin:8px 0;padding:10px 12px!important}.workspace-page-setting small{color:var(--muted-2);display:block;font-size:12px;line-height:1.6}.workspace-create .search-advanced{border-radius:5px;padding:0 12px}.workspace-create .search-advanced summary{font-size:14px}.workspace-create .search-create-actions{margin:18px 0 0}.workspace-create #crawl-page-hint,.workspace-create .search-reuse-note{display:none}.workspace-create .recognition{margin-top:10px}.workspace-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(780px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0!important;padding:20px;overflow-y:auto}.workspace-drawer>header{position:sticky;top:-20px;background:var(--panel);z-index:20;padding-top:16px}.workspace-drawer>header p{font-size:12px;color:var(--muted);margin:0 0 5px}.workspace-drawer .search-output{width:100%;margin:0}.workspace-drawer .tasks{width:100%;max-width:none;margin:0}.workspace-drawer .tasks-head,.workspace-drawer .task-filter-form,.workspace-drawer .history-actions,.workspace-drawer .task-retention-note{display:none}.workspace-drawer .search-results{grid-template-columns:1fr}.workspace-drawer .search-result,.workspace-drawer .search-bulk,.workspace-drawer .search-expansion,.workspace-drawer .task-card,.workspace-drawer .search-task-card{border-radius:5px}.workspace-drawer .search-results-heading{display:block}.workspace-drawer .search-all-actions{margin-top:12px}.workspace-drawer .search-crawl{padding:12px 0}.workspace-confirm{width:min(440px,calc(100% - 24px));padding:24px}.workspace-confirm h2{font-size:20px;margin-top:0}.workspace-confirm p{color:var(--muted);font-size:14px;line-height:1.7}.workspace-confirm>div{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.task-workspace #workspace-sites-page .strategies{width:100%;max-width:none;margin:20px 0}.task-workspace #workspace-sites-page .search-recovery{max-width:none}
@media(max-width:1050px){.workspace-frame{grid-template-columns:150px minmax(0,1fr)}.workspace-main{padding-left:18px}.workspace-table-head,.workspace-row{grid-template-columns:minmax(160px,1fr) minmax(145px,1fr) 44px;gap:10px}.workspace-table-head>span:nth-child(3),.workspace-row>time{display:none}}
@media(max-width:700px){.task-workspace .shell{padding:0 14px 16px}.task-workspace .topbar{height:59px}.task-workspace .topbar-links>.docs-link{display:none}.workspace-frame{display:block}.workspace-nav{flex-direction:row;border:0;border-bottom:1px solid var(--line);padding:8px 0;gap:4px}.workspace-product,.workspace-nav a,.workspace-nav-foot{display:none}.workspace-nav button{font-size:13px;padding:8px 12px;min-height:44px}.workspace-main{padding:20px 0 0}.workspace-head{gap:8px;margin-bottom:18px}.workspace-head h1{font-size:22px}.workspace-head p{font-size:12px;max-width:210px;line-height:1.5}.workspace-head .primary-button{padding:9px 12px;white-space:nowrap}.workspace-toolbar{gap:6px}.workspace-toolbar>input{min-width:0;max-width:none}.workspace-toolbar>.text-button{padding:8px}.workspace-state-tabs{gap:13px}.workspace-state-tabs button{font-size:12px}.workspace-table-head{display:none}.workspace-row{grid-template-columns:minmax(0,1fr) 44px;gap:0;padding:14px 0;min-height:110px}.workspace-row-main{grid-column:1;grid-row:1}.workspace-row-menu{grid-column:2;grid-row:1/3;align-self:start}.workspace-row-progress{grid-column:1;grid-row:2;margin:8px 0 0 28px;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.workspace-row-progress small{font-size:11px}.workspace-row-title{min-height:32px}.workspace-words{min-height:32px;white-space:normal;line-height:1.5}.workspace-pages{gap:3px;font-size:11px}.workspace-pages button{font-size:12px;padding:8px}.workspace-drawer{padding:14px}.workspace-drawer>header{top:-14px;padding-top:10px}.workspace-create{padding:16px;max-height:calc(100dvh - 16px)}#workspace-usage{grid-template-columns:1fr;gap:8px;margin-top:24px}#workspace-usage dd{margin:0 0 18px}.workspace-sites-actions{flex-wrap:wrap}}

.workspace-thumb{width:48px;height:34px;flex:0 0 48px;border:1px solid var(--line);border-radius:3px;background:#121212;display:grid;place-items:center;position:relative;color:var(--muted-2)}.workspace-thumb img{position:absolute;width:100%;height:100%;object-fit:cover;border-radius:3px}.workspace-table-head input{appearance:auto;width:16px;height:16px;vertical-align:middle;margin:0 6px 0 0;accent-color:#ddd}

.task-workspace .topbar-links>.docs-link{display:none}

.workspace-filter-popover{position:absolute;top:48px;right:0;width:min(520px,calc(100vw - 36px));max-height:calc(100dvh - 140px);overflow:auto;z-index:40;padding:18px;background:#252525;border:1px solid var(--line);border-radius:5px;box-shadow:0 12px 36px #0007}.workspace-filter-menu .workspace-filter-popover label{position:static;min-width:0;padding:0;border:0;font-size:13px;background:none}.workspace-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.workspace-filter-popover input,.workspace-filter-popover select{display:block;width:100%;max-width:none;min-height:44px;padding:9px 10px;background:#1c1c1c;color:var(--text);border:1px solid var(--line);border-radius:4px;font-size:16px;margin:7px 0 0}.workspace-filter-popover p{font-size:12px;color:var(--muted);line-height:1.6}.workspace-filter-actions{display:flex;gap:12px;align-items:center}.workspace-filter-popover[hidden]{display:none}.workspace-filter-menu:not([open]) .workspace-filter-popover{display:none}@media(max-width:700px){.workspace-filter-popover{position:fixed;inset:120px 14px auto;width:auto;max-height:calc(100dvh - 145px)}.workspace-filter-grid{grid-template-columns:1fr}}

.task-workspace [hidden]{display:none!important}.task-workspace .topbar{width:100%}.workspace-filter-menu summary{white-space:nowrap;min-width:54px;padding:8px 10px;font-size:13px}.workspace-toolbar>input{flex:1;width:0;max-width:400px}.workspace-toolbar>#workspace-refresh{white-space:nowrap;min-width:44px;font-size:13px}.workspace-check{display:grid;place-items:center;min-width:28px;min-height:44px;flex:0 0 28px;cursor:pointer}.workspace-check input{appearance:auto;width:18px;height:18px;min-width:18px;accent-color:#ddd}@media(max-width:700px){.workspace-toolbar>input{max-width:none}.workspace-row-title,.workspace-words{min-height:44px}.workspace-check{min-width:30px;flex-basis:30px}.workspace-thumb{width:38px;flex-basis:38px;height:30px}}
.workspace-auto-download{display:flex!important;align-items:center;gap:10px;min-height:44px;margin-top:12px;color:var(--text)!important}.workspace-auto-download input{appearance:auto;display:inline-block!important;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;accent-color:#ddd}.task-workspace textarea{width:100%;box-sizing:border-box;background:#171717;border:1px solid var(--line);border-radius:5px;color:var(--text);font:inherit;font-size:16px;padding:12px;resize:vertical}.workspace-create label{display:block;margin:12px 0 8px;font-size:13px;color:var(--muted)}#workspace-feedback-images{width:100%;font-size:16px;margin:8px 0;min-height:44px}#workspace-feedback-previews{display:flex;gap:8px;flex-wrap:wrap}#workspace-feedback-previews img{width:100px;height:76px;object-fit:contain;background:#111;border:1px solid var(--line)}#workspace-feedback-message{font-size:13px;line-height:1.6;color:var(--muted)}
.workspace-site-group{margin:24px 0 30px;padding:20px;border:1px solid var(--line);border-radius:6px}.workspace-site-group>h2{font-size:18px;margin:0 0 8px}.workspace-site-group>p{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:20px}.workspace-site-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:16px 0;min-width:0}.workspace-site-row strong,.workspace-site-row small{display:block;overflow-wrap:anywhere}.workspace-site-row small,.workspace-site-row>span{font-size:12px;color:var(--muted);margin-top:5px}.workspace-site-row>span{text-align:right}.workspace-site-group .strategies{margin:20px 0 0!important;border:0;padding:0}.workspace-site-group .strategies h2{font-size:14px}.workspace-site-group .search-recovery{margin:20px 0 0}@media(max-width:700px){.workspace-site-group{padding:16px}.workspace-site-row{align-items:flex-start;flex-wrap:wrap}.workspace-site-row>span{text-align:left}}
.queue-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.queue-summary>div{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.queue-summary strong{display:block;font-size:26px;font-variant-numeric:tabular-nums}.queue-summary span{display:block;font-size:12px;color:var(--muted);margin-top:6px}.queue-notice{padding:14px 16px;border-radius:8px;background:#25292d;font-size:13px;line-height:1.7;color:#cbd2da;overflow-wrap:anywhere}.queue-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 44px;align-items:center;gap:16px;padding:18px 4px;border-bottom:1px solid var(--line)}.queue-row>div{min-width:0}.queue-row strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5}.queue-row p,.queue-row small{font-size:12px;color:var(--muted);overflow-wrap:anywhere;line-height:1.6}.queue-row-progress{display:grid;gap:6px}#queue-filter input{min-width:0}#queue-filter #queue-domain{flex:.6}.queue-row .workspace-row-menu{align-self:start}.workspace-stage.state-waiting{color:#d6c89e}.workspace-stage.state-waiting:before{background:#c9b879}
.crawl-evidence{border:1px solid var(--line);border-radius:10px;padding:16px;margin:16px 0}.crawl-evidence p{font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.crawl-evidence img{display:block;width:100%;max-height:260px;object-fit:contain;background:#111;border-radius:6px}.crawl-evidence-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.crawl-evidence-actions button{min-height:44px}.evidence-viewer{width:min(1100px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;background:#171717;color:#eee;border:1px solid #444;border-radius:12px;overflow:auto}.evidence-viewer>header{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-16px;background:#171717;padding:10px 0;gap:16px}.evidence-viewer button{min-width:44px;min-height:44px}.evidence-viewer img{width:100%;height:auto}.evidence-viewer::backdrop{background:#000b}
@media(max-width:700px){.queue-summary{gap:7px}.queue-summary>div{padding:12px 9px}.queue-summary strong{font-size:22px}.queue-summary span{font-size:11px}.queue-row{grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:16px 0}.queue-row-progress{grid-column:1;grid-row:2}.queue-row .workspace-row-menu{grid-column:2;grid-row:1/3}#queue-filter{flex-wrap:wrap}#queue-filter #queue-query{flex:1 1 calc(100% - 65px);order:0}#queue-refresh{order:1}#queue-filter #queue-domain{flex:1 1 100%;order:2;width:100%}.crawl-evidence{padding:12px}.workspace-nav{overflow-x:auto;flex-wrap:nowrap}.workspace-nav button{flex-shrink:0}}
.keyword-draft{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:12px 0 18px;background:#1b1b1b}.keyword-draft>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.keyword-draft>header strong{font-size:14px}.keyword-draft p{font-size:12px;line-height:1.65;color:var(--muted);margin:8px 0 0}.keyword-draft-terms{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.keyword-draft-terms label{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:10px 12px;min-height:44px;box-sizing:border-box;border:1px solid #424242;border-radius:10px;color:var(--text)!important;max-width:100%;font-size:14px!important;background:#242424;cursor:pointer}.keyword-draft-terms label:has(input:checked){border-color:#cfd4d8;background:#323538}.keyword-draft-terms input{appearance:auto;display:inline-block!important;width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;padding:0!important;margin:0!important;accent-color:#e7eaed}.keyword-draft-terms span{overflow-wrap:anywhere}.keyword-draft>header .text-button{min-height:44px;font-size:13px;white-space:nowrap}

/* Filter sheet uses the approved NightShelf prototype's exact sheet tokens. */
body.task-workspace .workspace-filter-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 40px));max-width:100vw;max-height:calc(var(--filter-viewport-height,100dvh) - 48px);padding:0;border:1px solid #414145;border-radius:22px;background:#1c1c1f;color:#f5f5f7;overflow:hidden;box-shadow:0 30px 90px #0008;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Noto Sans SC",sans-serif}
.workspace-filter-dialog[open]{display:flex;flex-direction:column}.workspace-filter-dialog::backdrop{background:#0009;backdrop-filter:blur(6px)}
.workspace-filter-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:26px 28px 20px;border-bottom:1px solid #363639;background:#1c1c1f}
.workspace-filter-dialog h2{font-size:24px;line-height:1.5;margin:0;font-weight:600;letter-spacing:-.6px}
.workspace-filter-dialog>header button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#29292d;color:#96969f;font:inherit;font-size:24px;cursor:pointer}
.workspace-filter-dialog .workspace-filter-popover{position:static;inset:auto;box-sizing:border-box;width:100%;max-width:100%;max-height:none;min-height:0;flex:1 1 auto;padding:24px 28px;overflow:auto;overscroll-behavior:contain;border:0;border-radius:0;background:none;box-shadow:none;scroll-padding-block:20px}
.workspace-filter-dialog .workspace-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
.workspace-filter-dialog .workspace-filter-grid>label{display:block;min-width:0;font-size:14px;color:#d3d3d9;margin:0}
.workspace-filter-dialog .workspace-filter-grid>.domain-picker{grid-column:1/-1;min-width:0}
.workspace-filter-dialog .workspace-filter-grid>label>input,.workspace-filter-dialog .workspace-filter-grid>label>select{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:48px;min-height:48px;padding:0 14px;border:1px solid #444449;border-radius:10px;background:#242428;color:#f5f5f7;font:inherit;font-size:16px;margin:8px 0 0;outline:none;color-scheme:dark}
.workspace-filter-dialog input[type=date]{min-inline-size:0;-webkit-appearance:none;appearance:none}.workspace-filter-dialog input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}.workspace-filter-dialog input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}
.workspace-filter-dialog input:focus,.workspace-filter-dialog select:focus{border-color:#428dff!important;box-shadow:0 0 0 3px #428dff20}
.workspace-filter-dialog input::placeholder{color:#81818a}
.workspace-filter-dialog .workspace-filter-popover>p{font-size:12px;color:#96969f;line-height:1.6;margin:20px 0 0}
.workspace-filter-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:0 0 auto;padding:20px 28px;border-top:1px solid #363639;background:#1c1c1f}
.workspace-filter-dialog>footer button{font:inherit;font-size:15px;min-height:44px;border-radius:10px;padding:10px 18px;cursor:pointer}
.workspace-filter-dialog>footer .text-button{border:0;background:none;color:#96969f;padding-inline:8px}
body.task-workspace .workspace-filter-dialog>footer .primary-button{min-width:140px;min-height:44px;border:0;border-radius:10px;background:#428dff;color:#fff;font-weight:600;font-size:16px;line-height:24px;padding:10px 18px}
@media(max-width:700px){body.task-workspace .workspace-filter-dialog{width:100%;max-width:100%;margin:auto 0 0;inset:auto 0 var(--filter-keyboard-inset,0px);max-height:calc(var(--filter-viewport-height,100dvh) - 18px);border-radius:22px 22px 0 0;border-bottom:0}.workspace-filter-dialog>header{padding:20px 20px 16px}.workspace-filter-dialog h2{font-size:22px}.workspace-filter-dialog .workspace-filter-popover{padding:20px}.workspace-filter-dialog .workspace-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.workspace-filter-dialog .workspace-filter-grid>label{font-size:13px}.workspace-filter-dialog>footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom));gap:12px}body.task-workspace .workspace-filter-dialog>footer .primary-button{min-width:126px}}
@media(max-width:360px){.workspace-filter-dialog>header,.workspace-filter-dialog .workspace-filter-popover,.workspace-filter-dialog>footer{padding-left:16px;padding-right:16px}.workspace-filter-dialog .workspace-filter-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-height:550px) and (orientation:landscape){body.task-workspace .workspace-filter-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(var(--filter-viewport-height,100dvh) - 16px);margin:auto;inset:0;border-radius:18px;border-bottom:1px solid #414145}.workspace-filter-dialog>header{padding:12px 20px}.workspace-filter-dialog .workspace-filter-popover{padding:16px 20px}.workspace-filter-dialog>footer{padding:10px 20px}}

.workspace-filter-dialog label:has(>#workspace-sort){grid-column:1/-1}
