:root{font:16px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--bg:#fff;--surface:#fff;--soft:#f8f9fa;--hover:#f2f3f5;--text:#303239;--muted:#737780;--line:#e5e7eb;--input:#fff;--shadow:#20232c22;--nav:#303135;--nav-text:#d5d6db;--nav-hover:#45464c;--accent:var(--mark-button,#6559c7);--chip-bg:var(--mark-bright,#edeafb);--chip-text:var(--mark-button,#6853a2);--success-bg:#e4f3ea;--success-text:#397a53;--danger:#b5354a;--sidebar-width:248px;color-scheme:light;color:var(--text);background:var(--bg)}:root[data-theme=dark]{color-scheme:dark;--bg:#1f2024;--surface:#25262b;--soft:#292b30;--hover:#34363d;--text:#e6e7eb;--muted:#a5a9b4;--line:#3a3c44;--input:#2d2f36;--shadow:#0008;--nav:#191a1e;--nav-text:#c9ccd4;--nav-hover:#33353d;--chip-bg:var(--mark-chip,#3d3655);--chip-text:var(--mark-bright,#d1c2ff);--success-bg:#243e34;--success-text:#98d3b1;--danger:#f18c9d}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:5px;padding:7px 10px;font-size:14px;line-height:1.4}button:hover{background:var(--hover)}button:focus-visible,summary:focus-visible{outline:2px solid var(--mark-bright,#a29af3);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.45}input,select,textarea{border:1px solid var(--line);border-radius:5px;padding:10px;background:var(--input);color:var(--text);max-width:100%;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid var(--mark-bright,#a29af3);outline-offset:1px}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{min-height:95px;resize:vertical}label{display:grid;gap:7px;font-size:14px;color:var(--muted);margin:14px 0}input[type=color]{height:40px;width:100%}input[type=checkbox]{accent-color:var(--accent)}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:23px;font-weight:600;line-height:1.25;margin:0}h2{font-size:20px;font-weight:600}h3{font-size:16px;font-weight:600}.muted{color:var(--muted);font-size:13px}.primary{background:var(--mark-button,#6759c7);border-color:var(--mark-button,#6759c7);color:white}.primary:hover{background:var(--mark-button-hover,#574bb0)}.icon{height:18px;width:18px;flex-shrink:0;vertical-align:middle}.iconbutton{display:grid;place-items:center;border:0;padding:7px}.globalbar{height:52px;background:var(--nav);color:var(--nav-text);display:flex;align-items:center;padding:0 20px 0 12px;gap:20px;border-bottom:1px solid #ffffff12;position:relative;z-index:5}.global-left{display:flex;align-items:center;gap:12px;width:calc(var(--sidebar-width) - 12px);flex-shrink:0}.globalbar button{background:transparent;color:inherit;border:0}.globalbar button:hover{background:var(--nav-hover)}.global-search{margin-left:auto;width:min(620px,55vw);display:flex;align-items:center;border-radius:7px;background:#ffffff16;gap:9px;padding:0 12px}.global-search input{width:100%;border:0;background:transparent;color:#fff;font-size:14px;height:34px;padding:6px 0;outline-offset:4px}.global-search input::placeholder{color:#c2c4cc}.global-person{display:flex;align-items:center;gap:9px;font-size:13px;white-space:nowrap;margin-left:auto}.create-menu{position:relative;font-size:14px}.create-menu summary{list-style:none;display:flex;gap:7px;align-items:center;cursor:pointer;border:1px solid #ffffff30;border-radius:20px;padding:5px 11px}.create-menu summary::-webkit-details-marker{display:none}.create-menu summary .icon{background:#ef806e;color:white;border-radius:50%;padding:2px;width:21px;height:21px}.menu-panel{position:absolute;top:40px;left:0;min-width:240px;padding:6px;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 30px var(--shadow);border-radius:7px;z-index:10}.globalbar .menu-panel button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;color:var(--text);text-align:left}.globalbar .menu-panel button:hover{background:var(--hover)}.layout{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);height:calc(100dvh - 52px);min-height:480px}.layout>aside{background:var(--nav);color:var(--nav-text);display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #ffffff12;padding:0 12px}.workspace-brand{display:flex;gap:10px;align-items:center;min-height:62px;padding:12px 10px}.workspace-brand strong{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brandmark{font-size:26px;line-height:1;color:var(--mark-bright,#c0b5f9)}.workspace-logo{width:28px;height:28px;object-fit:contain;flex-shrink:0;border-radius:4px}.primary-nav{padding:0 0 15px;border-bottom:1px solid #ffffff15}aside button{background:transparent;border:0;color:inherit;display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:8px 10px;border-radius:5px;font-size:14px;min-height:34px}aside button:hover,aside button.active{background:var(--nav-hover);color:#fff}aside button.active{box-shadow:none}.project-nav{overflow:auto;flex:1;min-height:60px;padding:10px 0}.nav-section{margin:9px 0 22px}.nav-section small{display:block;color:#b9bcc5;font-size:13px;font-weight:600;padding:7px 10px}.nav-hint{font-size:12px;color:#9da1ab;padding:0 10px;line-height:1.5}.section-label{display:flex;align-items:center;justify-content:space-between}.section-label button{width:auto;padding:3px 8px;min-height:26px}.square{width:13px;height:13px;border-radius:4px;flex-shrink:0;background:var(--mark-bright,#aa9af4)}.projectlink{padding-left:calc(10px + var(--depth,0)*14px)}.nav-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.layout aside footer{border-top:1px solid #ffffff15;padding:10px 0 12px}.theme-control{display:flex;align-items:center;gap:10px;margin:0;padding:4px 10px;color:inherit}.theme-control select{border:0;background:transparent;font-size:14px;padding:5px 0;width:100%;color:inherit}.theme-control option{background:var(--surface);color:var(--text)}.sidebar-compact{grid-template-columns:64px minmax(0,1fr)}.sidebar-compact aside{padding:0 8px}.sidebar-compact .nav-text,.sidebar-compact .nav-section small,.sidebar-compact .nav-hint,.sidebar-compact .section-label{display:none}.sidebar-compact .workspace-brand{padding:12px 8px}.sidebar-compact aside button{justify-content:center;padding:9px;gap:0}.sidebar-compact .nav-section{margin:10px 0}.sidebar-compact .theme-control{padding:4px 0;display:block}.sidebar-compact .theme-control>span{display:none}.sidebar-compact .theme-control select{font-size:12px;width:48px}.sidebar-compact .projectlink{padding-left:9px}.layout main{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}.projecthead{padding:22px 28px 0;flex-shrink:0}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.project-title{display:flex;align-items:center;gap:14px;min-width:0}.project-emblem{height:42px;width:42px;border-radius:9px;display:grid;place-items:center;color:#fff;flex-shrink:0}.project-emblem .icon{width:24px;height:24px}.titleline{display:flex;align-items:center}.titleline h1{max-width:600px}.starred{color:#c79a39}.starred svg{fill:currentColor}.project-description{font-size:13px;color:var(--muted);margin:4px 0 0;max-width:700px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.summary{display:flex;gap:10px;align-items:center;min-width:165px;font-size:13px;max-width:240px;flex-shrink:0}.summary .muted{white-space:nowrap}.progress{background:var(--line);height:5px;border-radius:6px;overflow:hidden;min-width:60px;flex:1}.progress span{display:block;height:100%;background:var(--accent)}.tabs{display:flex;gap:26px;margin-top:17px;overflow-x:auto}.tabs button{display:flex;gap:7px;align-items:center;background:none;border:0;border-radius:0;padding:11px 0;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent}.tabs button.active{border-color:var(--text);color:var(--text);font-weight:600}.tabs .icon{width:16px;height:16px}.toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-shrink:0}.toolbar button{display:flex;align-items:center;gap:6px;white-space:nowrap}.add-task{padding:6px 10px}.toolbar-tools{display:flex;gap:18px;flex-wrap:wrap;align-items:center;flex:1}.toolbar-tools label{display:flex;align-items:center;gap:4px;margin:0;font-size:13px}.toolbar-tools select{font-size:13px;padding:5px 16px 5px 3px;border:0;background:transparent;max-width:150px}.customize-button{margin-left:auto;border:0}.content{overflow:auto;flex:1;min-height:0;padding:0 28px 28px}.subprojects{display:flex;gap:10px;flex-wrap:wrap;margin:0}.subprojects:has(button){padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:2px}.subprojects button{display:flex;align-items:center;gap:10px;font-size:13px;padding:6px 9px;min-width:180px}.subprojects .progress{max-width:45px;min-width:35px}.subprojects .muted{font-size:12px}.table-scroll{overflow:auto;max-width:100%}.tasktable{border-collapse:collapse;width:100%;table-layout:fixed;min-width:820px;font-size:14px}.tasktable th,.tasktable td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;padding:8px 12px;height:43px;vertical-align:middle}.tasktable th:last-child,.tasktable td:last-child{border-right:0}.tasktable th{font-weight:400;color:var(--muted);font-size:13px;height:41px;background:var(--bg)}.tasktable th:first-child{width:43%;min-width:300px}.tasktable th:nth-child(2){width:180px}.tasktable th:nth-child(3){width:115px}.tasktable th:nth-child(4){width:125px}.tasktable th:nth-child(n+5){width:115px}.tasktable tbody tr:not(.group):hover{background:var(--soft)}.task-cell{display:flex;align-items:center;gap:10px;min-width:0}.check{border-radius:50%;width:19px;height:19px;min-height:19px;padding:0;flex-shrink:0;background:none;color:var(--muted);border-color:#aeb3be;line-height:16px;font-size:12px}.check.done{color:var(--success-text);background:var(--success-bg);border-color:var(--success-text)}.taskname{border:0;background:none;padding:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:1.5}.taskname:hover{text-decoration:underline;background:none}.subtask-arrow,.subtask-count{color:var(--muted);font-size:12px}.subtask-count{margin-left:auto;white-space:nowrap}.assignee-cell{display:flex;align-items:center;gap:8px;border:0;background:none;padding:0;max-width:100%;font-size:13px}.assignee-cell span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avatar{display:inline-grid;place-items:center;width:27px;height:27px;background:var(--mark-chip,#e2d6f3);color:var(--mark-bright,#634d83);border-radius:50%;font-size:11px;font-weight:500;flex-shrink:0}.unassigned{background:none;color:var(--muted);border:1px dashed var(--muted);font-size:16px}.date-cell{border:0;padding:0;background:transparent;color:var(--muted);font-size:13px}.date-cell .icon{border:1px dashed var(--muted);border-radius:50%;padding:4px;width:27px;height:27px}.chip{display:inline-block;font-size:12px;padding:3px 8px;border-radius:5px;background:var(--chip-bg);color:var(--chip-text);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.chip.done{background:var(--success-bg);color:var(--success-text)}.chip.todo{background:var(--hover);color:var(--muted)}.tasktable .group td{border-right:0;background:var(--bg);height:49px;padding:13px 0 8px}.group button{display:flex;align-items:center;gap:10px;border:0;background:none;font-weight:600;padding:3px;font-size:15px}.group button>span:first-child{color:var(--muted);font-size:19px;width:16px}.group .muted{font-weight:400}.tasktable .add-row td{border-right:0;height:43px}.add-row button{border:0;background:transparent;color:var(--muted);padding:2px 26px;font-size:14px}[data-density=comfortable] .tasktable td{height:56px;padding-top:14px;padding-bottom:14px}.board{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:20px;padding-top:20px;min-width:760px}.column{background:var(--soft);border:1px solid var(--line);border-radius:7px;padding:14px;min-height:360px}.column h3{margin:4px 0 20px}.column h3 .muted{margin-left:6px}.card{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:15px;margin:10px 0;cursor:grab;box-shadow:0 1px 2px var(--shadow)}.card:active{cursor:grabbing}.card>button{display:block;border:0;background:none;padding:0;text-align:left;margin-bottom:18px;font-size:14px}.cardfooter{display:flex;justify-content:space-between;align-items:center;gap:10px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));min-width:730px;margin-top:15px}.day{border:1px solid var(--line);min-height:108px;padding:8px;font-size:13px;background:var(--surface)}.day button{display:block;width:100%;padding:4px 6px;font-size:12px;text-align:left;margin-top:5px;background:var(--chip-bg);color:var(--chip-text);border:0;overflow:hidden;text-overflow:ellipsis}.weekday{text-align:center;padding:10px;color:var(--muted);font-size:12px}.content>.heading{padding-top:12px}.timeline{min-width:780px}.timeline-row{display:grid;grid-template-columns:240px 1fr;border-bottom:1px solid var(--line);padding:12px 0;align-items:center;gap:12px}.track{position:relative;height:28px;background:repeating-linear-gradient(90deg,var(--line) 0,var(--line) 1px,transparent 1px,transparent 3.333%)}.bar{position:absolute;height:25px;background:var(--mark-bright,#9c8dd7);border:0;border-radius:4px;min-width:8px;padding:0}.bar:hover{background:var(--mark-bright,#b09fee)}.empty{text-align:center;color:var(--muted);padding:65px 20px}.empty p{font-size:14px}.home-surface{padding:32px;overflow:auto}.eyebrow{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-top:26px}.project-tile{padding:20px;text-align:left}.project-tile .square{display:block}.project-tile .progress{margin:20px 0 8px}.project-tile h2{font-size:18px}.project-tile p{min-height:34px}.project-tile .muted{white-space:normal}dialog{border:1px solid var(--line);border-radius:10px;padding:26px;width:560px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);box-shadow:0 20px 90px var(--shadow);background:var(--surface);color:var(--text)}dialog::backdrop{background:#090b1466}dialog h2{margin:0 0 10px}.dialoghead{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialoghead>button{border:0;background:none;padding:5px 9px;font-size:17px}.actions{display:flex;gap:8px;justify-content:flex-end;margin-top:22px}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.comment{background:var(--soft);border:1px solid var(--line);padding:12px;border-radius:6px;margin:10px 0;font-size:14px}.comment p{white-space:pre-wrap}.danger{color:var(--danger)}.destructive{background:#b43e54;border-color:#b43e54;color:#fff}.destructive:hover{background:#983246}.account-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.account-row strong{overflow-wrap:anywhere}.account-actions{display:flex;gap:8px;flex-wrap:wrap}.auth{min-height:100dvh;display:grid;place-items:center;background:var(--soft);padding:70px 16px}.authbox{width:430px;max-width:100%;background:var(--surface);padding:36px;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 50px var(--shadow)}.auth-brand{display:flex;gap:12px;align-items:center;margin:12px 0 25px;font-size:29px}.auth-brand .workspace-logo{width:38px;height:38px}.authbox h2{line-height:1.4}.authbox button{width:100%;margin-top:15px;padding:10px}.authbox p{line-height:1.6}.auth-theme{position:absolute;right:22px;top:18px}.auth-theme .theme-control{border:1px solid var(--line);border-radius:7px;background:var(--surface);min-width:140px}.logo-setting{display:flex;gap:18px;align-items:center}.logo-preview{width:72px;height:72px;flex-shrink:0;border:1px dashed var(--line);display:grid;place-items:center;background:var(--soft);border-radius:10px;font-size:36px;color:var(--muted)}.logo-preview img{max-width:64px;max-height:64px;object-fit:contain}.logo-setting input[type=file]{font-size:12px;padding:7px;width:100%}.view-settings>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:4px 0}.view-settings label{display:flex;align-items:center;gap:10px;margin:9px 0;color:var(--text)}.view-settings button{padding:3px 9px;margin-left:5px}.view-settings input{width:16px;height:16px}input[aria-invalid=true]{border-color:var(--danger)}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--text);color:var(--bg);padding:12px 18px;border-radius:7px;display:none;z-index:30;max-width:calc(100vw - 32px);font-size:14px;box-shadow:0 5px 24px var(--shadow)}a{color:var(--accent)}.scroll{overflow:auto}@media(min-width:1500px){.tasktable th:first-child{width:50%}}@media(max-width:1100px){.global-left{width:auto}.global-person>span:last-child{display:none}.heading{gap:14px}.summary{min-width:130px;max-width:180px}.toolbar{gap:10px}.toolbar-tools{gap:10px}.projecthead{padding:20px 20px 0}.toolbar{padding:10px 20px}.content{padding:0 20px 20px}.titleline h1{font-size:21px}.project-emblem{width:36px;height:36px}}@media(max-width:760px){.layout{grid-template-columns:64px minmax(0,1fr)}.layout aside{padding:0 8px}.layout .nav-text,.layout .nav-section small,.layout .nav-hint,.layout .section-label{display:none}.layout .workspace-brand{padding:12px 8px}.layout aside button{justify-content:center;padding:9px;gap:0}.layout .theme-control{display:block;padding:4px 0}.layout .theme-control>span{display:none}.layout .theme-control select{width:48px;font-size:12px}.globalbar{gap:12px;padding-right:12px}.global-search{width:auto;flex:1}.global-person{margin-left:0}.global-person .avatar{width:25px;height:25px}.heading{flex-wrap:wrap}.summary{max-width:230px;min-width:160px}.project-description{display:none}.tabs{gap:20px;margin-top:12px}.projecthead{padding:15px 16px 0}.toolbar{padding:10px 16px}.toolbar-tools{order:3;flex-basis:100%}.content{padding:0 16px 20px}.customize-button{margin-left:auto}.home-surface{padding:22px}.two{gap:12px}.account-row{align-items:flex-start}.account-actions{flex-direction:column}.logo-setting{align-items:flex-start}.global-search input{font-size:13px}.subprojects button{font-size:12px}}@media(max-width:430px){.globalbar{gap:8px;padding-left:6px}.global-left{gap:4px}.create-menu summary{padding:5px}.create-menu summary span{display:none}.global-person{display:none}.project-emblem{display:none}.tabs{gap:16px}.tabs button{font-size:13px}.tabs .icon{display:none}.toolbar-tools label{font-size:12px}.toolbar-tools select{font-size:12px;max-width:110px}.toolbar-tools{gap:6px}.two{grid-template-columns:1fr;gap:0}.logo-setting{flex-direction:column}.authbox{padding:25px}}
@media(min-width:761px) and (max-width:1100px){.board{grid-template-columns:repeat(3,minmax(175px,1fr));min-width:565px;gap:12px}.column{padding:10px}.card{padding:12px}.card>button{overflow-wrap:anywhere}}@media(max-width:760px){.board{grid-template-columns:1fr;min-width:0}.column{min-height:160px}.card>button{overflow-wrap:anywhere}}
.inline-status{font-size:13px;border:1px solid transparent;background:var(--chip-bg);color:var(--chip-text);border-radius:5px;padding:5px 20px 5px 7px;width:100%;max-width:180px;cursor:pointer;min-height:30px}.inline-status:hover{border-color:var(--line)}.inline-status.done{color:var(--success-text);background:var(--success-bg)}.inline-status option{background:var(--surface);color:var(--text)}.tasktable th:nth-child(4){width:165px}.tasktable th:nth-child(n+5){white-space:normal;line-height:1.4}.task-title-cell{display:flex;flex-direction:column;min-width:0}.task-project{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.board{grid-template-columns:repeat(var(--board-columns,4),minmax(220px,1fr));min-width:calc(var(--board-columns,4)*240px)}.board-project-name{font-size:17px;margin:22px 0 0}.board-guidance{margin:16px 0 0}.project-board{margin-bottom:22px}.card .inline-status{margin-top:12px;max-width:100%}.status-editor-row{padding:12px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(100px,1fr) auto;gap:4px 14px;align-items:center}.status-name{margin:0}.status-name span{font-size:12px}.completed-choice{display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--text)}.status-order{display:flex;gap:6px;grid-column:1/-1;justify-content:flex-end}.status-order button{padding:3px 8px}.status-migration{font-size:13px;padding:10px;background:var(--soft);border:1px solid var(--line);border-radius:5px}.account-row>div:first-child{min-width:0}.account-actions{max-width:310px}.toolbar-tools{row-gap:8px}@media(max-width:760px){.board{grid-template-columns:1fr;min-width:0}.status-editor-row{grid-template-columns:1fr}.status-order{grid-column:1}.account-actions{min-width:110px}}
.resizable-table th{position:relative;padding-right:16px}.column-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.column-resizer{position:absolute;right:-4px;top:0;bottom:0;width:9px;padding:0;background:transparent;border:0;border-radius:0;cursor:col-resize;touch-action:none;z-index:2}.column-resizer::after{content:'';position:absolute;left:4px;top:8px;bottom:8px;width:2px;background:var(--muted);opacity:.25}.column-resizer:hover,.column-resizer:focus-visible{background:var(--chip-bg)}.column-resizer:hover::after,.column-resizer:focus-visible::after{opacity:1;background:var(--chip-text)}.resizing-columns,.resizing-columns *{cursor:col-resize!important;user-select:none!important}.reset-columns{font-size:12px;border:0;color:var(--muted);margin-left:auto}.customize-button{margin-left:0}.global-person{max-width:220px}.global-person>span:last-child{overflow:hidden;text-overflow:ellipsis}
.card.dragging{opacity:.5}.column.drop-target{outline:2px solid var(--chip-text);outline-offset:-2px}.drag-ghost{position:fixed;z-index:100;pointer-events:none;width:220px;padding:14px;border:1px solid var(--chip-text);border-radius:7px;background:var(--surface);color:var(--text);box-shadow:0 10px 30px var(--shadow);font-size:14px}.card{touch-action:pan-y}
/* Editable single-select fields and a persistent task detail pane. */
[hidden]{display:none!important}html[data-theme="dark"]{--bg:#1f1f1f;--surface:#252525;--soft:#2a2a2a;--line:#393939}button:disabled{opacity:.4;cursor:default}.option-pill{display:inline-block;border-radius:4px;padding:3px 9px;font-size:12px;line-height:18px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;font-weight:500}.field-trigger{border:0;background:transparent;min-height:35px;width:100%;text-align:left;padding:4px 8px;border-radius:3px;display:flex;align-items:center;gap:8px}.field-trigger:hover{background:var(--soft)}.field-blank{color:var(--muted)}.tasktable td:has(.field-trigger){padding:2px 4px}.selected-task td{background:#e5efff!important}.selected-task td:first-child{box-shadow:inset 3px 0 #6298f5}html[data-theme="dark"] .selected-task td{background:#092950!important}.add-column button{border:0;background:transparent;font-size:23px;padding:0 6px}.section-edit{float:right;margin-right:16px!important}.add-section{margin:16px 30px;border:0;background:transparent;color:var(--muted)}#field-popover{position:fixed;z-index:120;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 28px #0005;border-radius:6px;padding:8px 0;overflow:hidden}.option-search{display:block!important;width:calc(100% - 20px)!important;margin:2px 10px 8px!important;min-height:34px!important;font-size:13px!important}#field-choices{max-height:260px;overflow:auto}#field-choices>button{display:flex;align-items:center;width:100%;border:0;border-radius:0;background:transparent;text-align:left;padding:7px 12px;gap:9px;min-height:36px}#field-choices>button:hover{background:var(--soft)}#field-choices p{padding:8px 15px}.option-check{display:inline-block;width:15px;font-size:15px}.clear-choice{color:var(--muted);font-size:12px}.edit-options{display:flex;gap:14px;width:100%;border:0;border-radius:0;border-top:1px solid var(--line);margin-top:6px;padding:11px 16px;background:transparent;text-align:left}.manager-row{display:flex;align-items:center;gap:6px;padding:10px 0;border-bottom:1px solid var(--line)}.manager-name{flex:1;text-align:left;border:0;background:transparent}.manager-name small{display:block;color:var(--muted);margin-top:3px}.visibility-choice{display:flex!important;align-items:center;gap:5px;margin:0 5px!important;font-size:12px}.visibility-choice input{width:auto!important}.preset-buttons{display:flex;gap:8px}.option-edit-row{display:flex;align-items:center;gap:5px;margin-bottom:8px}.option-edit-row input[type=color]{width:36px;height:36px;padding:2px;flex:none}.option-edit-row input:not([type=color]){min-width:80px;flex:1}.option-edit-row button{padding:6px 9px}.form-error{color:#dc6565;min-height:18px}.task-panel-open{--panel-width:520px}.task-panel-open .layout main{margin-right:var(--panel-width)}#task-panel{position:fixed;right:0;top:52px;bottom:0;width:var(--panel-width,520px);background:var(--bg);border-left:1px solid var(--line);box-shadow:-5px 0 18px #0001;z-index:40;display:flex;flex-direction:column;color:var(--text)}.panel-top{display:flex;align-items:center;gap:12px;height:59px;min-height:59px;border-bottom:1px solid var(--line);padding:10px 20px}.panel-top>.muted{flex:1;text-align:right;font-size:12px}.complete-task{font-size:12px;padding:6px 10px;background:transparent}.complete-task.is-complete{background:#235c4322;color:#5db78b;border-color:#5db78b}.panel-body{padding:24px 26px;overflow:auto;flex:1}.panel-title{width:100%;font-size:25px;font-weight:650;border:1px solid transparent;background:transparent;padding:6px 2px;margin:0 0 24px}.panel-title:focus{border-color:var(--line)}.detail-grid{display:grid;grid-template-columns:115px minmax(0,1fr);align-items:center;gap:12px 14px;font-size:13px}.detail-grid>label{margin:0;color:var(--muted);font-size:12px}.detail-grid input,.detail-grid select{min-width:0;width:100%;padding:7px 8px;background:transparent;font-size:12px}.detail-grid .project-path{font-size:12px}.date-range{display:flex;align-items:center;gap:4px}.date-range input{width:calc(50% - 10px);padding:6px 2px}.panel-field{min-height:32px}.field-chevron{margin-left:auto;color:var(--muted)}.panel-body h3{font-size:13px;margin:26px 0 12px}.panel-description{min-height:110px;background:transparent;border:1px solid var(--line);resize:vertical}.panel-body textarea{width:100%;padding:10px;color:var(--text);border:1px solid var(--line);border-radius:5px;background:transparent}.panel-section-head{display:flex;align-items:center;justify-content:space-between}.panel-section-head button{font-size:12px;border:0;background:transparent}.panel-subtask{width:100%;display:flex;text-align:left;gap:10px;padding:11px 2px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.panel-subtask span:last-child{margin-left:auto}.panel-comments small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.panel-comments p{white-space:pre-wrap}.panel-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 24px;border-top:1px solid var(--line);background:var(--surface);font-size:12px}.panel-body>.muted{font-size:12px}.task-panel-open .toolbar{flex-wrap:wrap}.task-panel-open .summary{display:none}.task-panel-open .projecthead{padding-right:12px}.task-panel-open .project-title h1{font-size:20px}
@media(min-width:1600px){.task-panel-open{--panel-width:600px}}@media(max-width:1100px){.task-panel-open .layout main{margin-right:0}#task-panel{box-shadow:-12px 0 35px #0005;width:min(520px,75vw)}}@media(max-width:650px){#task-panel{width:100%;top:52px}.panel-body{padding:20px 18px}.panel-top{padding:10px 16px}.detail-grid{grid-template-columns:94px minmax(0,1fr);gap:10px}.panel-title{font-size:23px}.date-range{flex-wrap:wrap}.date-range input{width:100%}.date-range span{display:none}.panel-top>.muted{display:none}.panel-top>.iconbutton{margin-left:auto}.manager-row{gap:3px}.manager-row button{padding:6px}.visibility-choice{font-size:11px}.option-edit-row button{padding:5px}}
:root[data-theme=dark]{--bg:#202020;--surface:#252525;--soft:#2b2b2b;--line:#393939;--input:#2c2c2c;--nav:#1b1b1b;--nav-hover:#333;--hover:#303030}.task-panel-open .toolbar{gap:8px;padding-top:12px;padding-bottom:12px}.task-panel-open .toolbar-tools{display:flex;flex-wrap:wrap;flex:1;gap:6px 10px;min-width:180px}.task-panel-open .toolbar-tools label{margin:0}.task-panel-open .toolbar-tools label>span{display:none}.task-panel-open .toolbar-tools select{max-width:112px}.task-panel-open .reset-columns{font-size:11px}.task-panel-open .customize-button{margin-left:0}.tasktable .group td{padding-top:12px;padding-bottom:8px}
.tasktable .group td{position:relative}.group .section-edit{position:absolute;right:4px;top:10px;float:none}.task-panel-open .toolbar-tools{order:0;flex-basis:auto}
/* One aligned header rule with a transparent, generous resize target. */
.resizable-table thead th{border-right:0!important;overflow:visible}
.resizable-table thead th:not(:last-child){box-shadow:inset -1px 0 var(--line)}
.column-resizer{right:0;top:0;bottom:0;width:12px;height:100%;transform:none;background:transparent!important;outline:none!important;box-shadow:none;border:0!important}
.column-resizer::after{left:auto;right:0;top:0;bottom:0;width:1px;background:transparent;opacity:0}
.column-resizer:hover::after,.column-resizer:focus-visible::after,.column-resizer.resizer-active::after{background:var(--chip-text);opacity:1}
.section-heading{display:flex;align-items:center;gap:9px;padding-right:45px;min-height:30px}.group .section-collapse{width:20px;justify-content:center;flex:none}.group .section-name{font-weight:600;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-name-slot{min-width:0;max-width:min(440px,65vw);position:relative}.section-name-input{font-size:15px;font-weight:600;padding:5px 10px;height:34px;width:300px;max-width:100%;background:transparent;border:1px solid var(--text);border-radius:7px}.section-name-error{display:block;font-size:12px;color:var(--danger);white-space:normal}.section-name-error:empty{display:none}.group .section-add{color:var(--muted);font-size:20px;padding:0 5px}.section-heading>.muted{font-size:12px}
.completed-task .taskname{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}.completed-task .check.done{color:var(--success-text);background:var(--success-bg);border-color:var(--success-text)}.inline-new-task td{background:var(--soft)}.inline-new-task input{width:100%;min-width:0;padding:7px 5px;border:1px solid var(--accent);background:var(--bg);font-size:13px}.draft-check{flex:none;display:inline-block}.inline-task-error{display:block;color:var(--danger);font-size:12px;margin-left:30px}.inline-task-error:empty{display:none}.workflow-column-choice{display:flex;align-items:center;gap:10px}.workflow-column-choice input{width:auto}
/* Batch-edit field dialog, with circular native color pickers. */
dialog:has(.field-editor-modal){width:590px;padding:0}.field-editor-modal>.dialoghead{padding:22px 26px 12px;margin:0}.field-editor-modal h2{font-size:20px;margin:0}.field-editor-modal .dialoghead>button{border:0;background:transparent;color:var(--muted)}#field-editor{padding:0 26px}.field-editor-top{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:14px}.field-editor-top label{font-size:12px;margin:12px 0}.field-editor-top input,.field-editor-top select{height:39px;padding:8px 10px;background:transparent;font-size:14px}.field-editor-top select:disabled{opacity:1;color:var(--text)}.field-description{margin:7px 0 22px;font-size:13px;color:var(--muted)}.field-description summary{cursor:pointer;list-style:none}.field-description summary::-webkit-details-marker{display:none}.field-description textarea{width:100%;margin-top:10px;min-height:70px;font-size:13px}.field-editor-modal h3{font-size:13px;font-weight:600;margin:20px 0 12px;color:var(--muted)}.field-editor-modal .option-edit-row{min-height:43px;gap:8px;margin:0;padding:3px 0}.field-editor-modal .option-edit-row>input{border-color:transparent;background:transparent;height:36px;font-size:14px;padding:6px}.field-editor-modal .option-edit-row>input:hover{border-color:var(--line)}.option-color-control{display:flex;flex:none;align-items:center;gap:2px;width:40px;margin:0;cursor:pointer}.option-color-control input[type=color]{appearance:none;-webkit-appearance:none;width:25px;height:25px;border:0;padding:0;border-radius:50%;background:transparent;cursor:pointer;overflow:hidden}.option-color-control input::-webkit-color-swatch-wrapper{padding:0}.option-color-control input::-webkit-color-swatch{border:0;border-radius:50%}.option-color-control input::-moz-color-swatch{border:0;border-radius:50%}.option-color-control span{font-size:12px;color:var(--muted)}.option-order{display:flex;opacity:.4}.option-edit-row:hover .option-order,.option-edit-row:focus-within .option-order{opacity:1}.field-editor-modal .option-edit-row button{border:0;background:transparent;color:var(--muted);padding:4px 6px}.field-editor-modal .remove-option{margin-left:2px}.field-editor-modal .add-field-option{border:0;background:transparent;color:var(--muted);margin:12px 0 0;padding:5px 0;font-size:13px}.field-editor-footer{border-top:1px solid var(--line);margin:14px -26px 0;padding:16px 26px;display:flex;justify-content:flex-end;gap:10px}.field-editor-footer button{font-size:13px;padding:8px 14px}@media(max-width:500px){.field-editor-top{grid-template-columns:minmax(0,1fr) 125px}#field-editor{padding:0 18px}.field-editor-modal>.dialoghead{padding:20px 18px 10px}.field-editor-footer{margin-left:-18px;margin-right:-18px;padding:14px 18px}.option-order{gap:0}.field-editor-modal .option-edit-row{gap:3px}}
/* Native controls retain form values; their menus are consistently themed. */
select.themed-select-native{display:none!important}.themed-select-wrap{display:inline-flex;min-width:0;max-width:100%;vertical-align:middle}.themed-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;padding:8px 10px;background:var(--input);color:var(--text);border:1px solid var(--line);font-size:13px;text-align:left;white-space:nowrap}.select-value{overflow:hidden;text-overflow:ellipsis}.select-arrow{color:var(--muted);margin-left:auto;flex:none;font-size:13px}.detail-grid>.themed-select-wrap{width:100%}.detail-grid .themed-select-trigger{background:transparent;font-size:12px;min-height:33px}.toolbar-tools .themed-select-trigger{padding:5px 3px;background:transparent;border:0;font-size:13px}.toolbar-tools .themed-select-wrap{max-width:150px}.theme-control .themed-select-wrap{width:100%}.theme-control .themed-select-trigger{background:transparent;color:inherit;border:0;padding:5px 0}.sidebar-compact .theme-control .themed-select-trigger{font-size:10px;gap:1px}.themed-select-trigger.inline-status{display:flex;padding:5px 7px}.field-editor-top .themed-select-trigger{height:39px;background:transparent;font-size:14px}.themed-select-popup{position:fixed;z-index:1700;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 28px var(--shadow);padding:5px;min-height:32px;max-height:300px;overscroll-behavior:contain;font-size:13px}.themed-select-option{display:flex;align-items:center;gap:9px;min-height:35px;padding:8px 9px;border-radius:4px;cursor:pointer;color:var(--text);background:transparent;line-height:1.4}.themed-select-option.active,.themed-select-option:hover{background:var(--hover);color:var(--text)}.themed-select-option[aria-selected=true]{font-weight:600}.themed-select-option[aria-disabled=true]{opacity:.45;cursor:default}.select-option-check{width:15px;flex:none;color:var(--chip-text)}.themed-select-trigger[aria-expanded=true]{outline:2px solid var(--mark-bright,#a29af3);outline-offset:1px}:root[data-theme=dark] .themed-select-popup{background:#292929;color:#eeeeef;border-color:#494949}:root[data-theme=dark] .themed-select-option{color:#eeeeef}:root[data-theme=dark] .themed-select-option.active,:root[data-theme=dark] .themed-select-option:hover{background:#414141;color:#fff}:root[data-theme=light] .themed-select-popup{background:#fff;color:#303239}:root[data-theme=light] .themed-select-option.active,:root[data-theme=light] .themed-select-option:hover{background:var(--mark-bright,#ececf5);color:var(--mark-chip,#252631)}@media(max-width:760px){.toolbar-tools .themed-select-wrap{max-width:110px}.toolbar-tools .themed-select-trigger{font-size:12px;gap:5px}}
.task-panel-open .toolbar-tools label>.themed-select-wrap,.sidebar-compact .theme-control>span.themed-select-wrap{display:inline-flex}.task-panel-open .toolbar-tools .themed-select-trigger{max-width:112px}.tasktable td>.themed-select-wrap{width:100%}
.group .section-overflow-button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:28px;font-size:20px;line-height:1;color:var(--muted);border:1px solid transparent;border-radius:5px;margin-left:3px}.group .section-overflow-button:hover,.group .section-overflow-button[aria-expanded=true]{background:var(--hover);border-color:var(--line);color:var(--text)}.section-overflow-popup{position:fixed;z-index:200;min-width:265px;max-width:calc(100vw - 16px);padding:5px;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 28px var(--shadow);border-radius:6px}.section-overflow-popup button{display:block;width:100%;border:0;background:transparent;padding:10px 12px;text-align:left;font-size:13px}.section-overflow-popup button:hover,.section-overflow-popup button:focus{background:var(--hover)}.section-overflow-popup .danger{color:var(--danger)}
/* Nested list rows retain the shared table columns. */
.task-tree-toggle{width:20px;min-width:20px;padding:0!important;color:var(--muted);font-size:18px;line-height:24px;flex-shrink:0}
.task-tree-toggle:disabled{visibility:hidden}
.task-add-child{color:var(--muted);font-size:18px}
.subtask-add-row td{padding-top:3px;padding-bottom:3px}
.subtask-add-row button{color:var(--muted);font-size:13px;text-align:left;min-height:30px}
.task-tree-toggle:focus-visible,.task-add-child:focus-visible,.subtask-add-row button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sidebar-project{display:flex;align-items:center;min-width:0}.sidebar-project .projectlink{flex:1;min-width:0}.project-more{flex-shrink:0;width:28px;padding:2px;color:var(--muted);font-size:20px}.project-more:focus-visible{outline:2px solid var(--accent)}
.task-tree-toggle,.task-add-child,.subtask-add-row button,.project-more{background:transparent;border-color:transparent;box-shadow:none}
.task-tree-toggle:hover,.task-add-child:hover,.subtask-add-row button:hover,.project-more:hover{background:var(--hover)}
.project-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;border-radius:6px;overflow:hidden;vertical-align:middle;flex-shrink:0}.project-badge .icon{width:16px;height:16px}.project-badge.large{width:44px;height:44px;border-radius:10px}.project-badge.large .icon{width:25px;height:25px}.project-badge img{width:100%;height:100%;object-fit:contain}.project-appearance-button{padding:0;border:0;background:transparent}.project-icon-gallery{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.project-icon-gallery button{width:40px;height:40px;display:grid;place-items:center}.project-icon-gallery button[aria-pressed=true]{outline:2px solid var(--accent)}.project-appearance-preview{margin:12px 0}
.assignee-cell.themed-select-trigger{width:100%;border:0;background:transparent;padding:4px 0;text-align:left}.assignee-cell .select-value{display:flex;align-items:center;gap:7px;min-width:0}.assignee-cell .select-value>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assignee-cell .select-arrow{opacity:0}.assignee-cell:hover .select-arrow,.assignee-cell:focus-visible .select-arrow{opacity:1}
.multi-assignee{width:100%;min-width:0;display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:4px 0;text-align:left}.assignee-faces{display:inline-flex;flex-shrink:0;align-items:center}.assignee-faces .avatar+.avatar{margin-left:-7px;border:2px solid var(--surface)}.assignee-names{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-assignee .select-arrow{margin-left:auto}.assignee-popup{padding:8px;max-height:min(360px,calc(100vh - 24px));overflow:auto}.assignee-popup input{width:100%;margin-bottom:6px}.assignee-popup [role=checkbox]{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;background:transparent;padding:8px}.assignee-popup [role=checkbox]:hover,.assignee-popup [role=checkbox]:focus-visible{background:var(--hover);outline:2px solid var(--accent);outline-offset:-2px}.assignee-done{width:100%}#assignee-feedback{font-size:12px;color:var(--muted);margin:4px}
/* Compact density keeps 28px control targets while reducing visual bulk. */
[data-density=compact] .tasktable{font-size:12px}
[data-density=compact] .tasktable th,[data-density=compact] .tasktable td{height:34px;padding:2px 8px}
[data-density=compact] .tasktable button{font-size:12px}
[data-density=compact] .task-cell{gap:5px}
[data-density=compact] .tasktable .group td{height:38px;padding:5px 0}
[data-density=compact] .tasktable .check{position:relative;display:grid;place-items:center;width:28px;height:28px;min-height:28px;border:0;background:transparent;font-size:10px;line-height:1;isolation:isolate}
[data-density=compact] .tasktable .check::before{content:'';position:absolute;inset:6px;border:1px solid var(--muted);border-radius:50%;z-index:-1}
[data-density=compact] .tasktable .check.done::before{background:var(--success-bg);border-color:var(--success-text)}
[data-density=compact] .tasktable .avatar{width:22px;height:22px;min-width:22px;font-size:9px}
[data-density=compact] .tasktable .taskname,[data-density=compact] .tasktable .date-cell,[data-density=compact] .tasktable .field-trigger{min-height:28px;padding-top:3px;padding-bottom:3px}
[data-density=compact] .subtask-add-row td,[data-density=compact] .tasktable .add-row td{height:30px;padding-top:0;padding-bottom:0}
[data-density=compact] .projecthead{padding-top:14px}
.project-people{border:0;background:transparent;padding:2px;display:inline-flex;gap:0}
.task-context-menu{position:fixed;z-index:1000;width:236px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 30px var(--shadow)}.task-context-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;font-size:13px}.task-context-menu button:hover,.task-context-menu button:focus-visible{background:var(--hover)}.task-context-menu .danger{border-top:1px solid var(--line);border-radius:0;margin-top:4px;color:var(--danger)}
.task-open-details,.task-add-child{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;padding:0;border:0;background:transparent}.tasktable td:last-child{white-space:nowrap}.task-name-editor{width:100%;padding:3px 5px!important;min-height:28px;font-size:inherit}.profile-avatar{overflow:hidden;flex-shrink:0}.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-preview .avatar{width:64px;height:64px;font-size:22px}.comment>.avatar{vertical-align:middle;margin-right:6px}.global-person>button{padding:0}.task-context-menu .danger{color:var(--danger)}
.summary-card-setting{display:flex;align-items:flex-start;gap:9px;margin:12px 0;color:var(--text)}.summary-card-setting input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;padding:0}.summary-card-setting span{display:block;font-size:13px;line-height:1.4}.summary-card-setting small{display:block;margin-top:3px;color:var(--muted);font-size:12px}.field-not-applicable{border:0;background:transparent;color:var(--muted);font-size:11px;padding:4px 0;text-align:left}.field-not-applicable:hover{text-decoration:underline}.assignee-inherited-note{color:var(--muted);font-size:12px;line-height:1.4;margin:8px}.inherited-label{font-size:10px;margin-left:auto;color:var(--muted)}
.tasktable th[data-column]:not([data-column=task]) .column-title{cursor:grab}.column-dragging{user-select:none;cursor:grabbing}#column-insertion{position:fixed;width:3px;background:var(--accent);z-index:1001;pointer-events:none;box-shadow:0 0 0 1px var(--surface)}
/* Anchored choices and sibling-only task ordering. */
#field-choices>button[aria-selected="true"]{background:var(--soft)}
#field-choices>button:focus-visible,.edit-options:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;background:var(--soft)}
#field-popover{max-height:calc(100vh - 24px);overflow-y:auto}
.task-drag-handle{border:0;background:transparent;padding:2px;width:18px;flex:0 0 18px;color:var(--muted);opacity:0;cursor:grab;font-size:21px;touch-action:none}
.tasktable tr:hover .task-drag-handle,.tasktable tr:focus-within .task-drag-handle,.task-drag-handle:focus-visible{opacity:1}
.task-dragging,.task-dragging *{cursor:grabbing!important;user-select:none!important}.task-drop-invalid,.task-drop-invalid *{cursor:not-allowed!important}
#task-insertion{position:fixed;z-index:200;height:3px;background:#729df8;pointer-events:none;box-shadow:0 0 0 1px var(--surface)}
.section-heading .section-drag-handle{border:0;background:transparent;padding:2px;width:18px;flex:0 0 18px;color:var(--muted);opacity:0;cursor:grab;font-size:21px;touch-action:none}
.section-heading:hover .section-drag-handle,.section-heading:focus-within .section-drag-handle,.section-drag-handle:focus-visible{opacity:1}
.section-dragging,.section-dragging *{cursor:grabbing!important;user-select:none!important}.section-drop-invalid,.section-drop-invalid *{cursor:not-allowed!important}
#section-insertion{position:fixed;z-index:200;height:3px;background:#729df8;pointer-events:none;box-shadow:0 0 0 1px var(--surface)}
.tasktable th .column-sort-menu{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:inherit;padding:3px 5px;font:inherit;max-width:calc(100% - 12px);text-align:left}
.tasktable th .column-sort-menu:hover{background:var(--soft)}.sort-indicator{font-size:13px;flex:none}.tasktable th[aria-sort=ascending] .sort-indicator,.tasktable th[aria-sort=descending] .sort-indicator{color:var(--accent);font-weight:700}

.tasktable th .column-sort-menu{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:24px;height:26px;justify-content:center;padding:0;z-index:1}.tasktable th .sortable-column-title{display:inline-block;max-width:calc(100% - 36px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}

.task-title-cell{flex:1}.task-title-cell [data-rename-task]{width:100%;cursor:text;text-decoration:none}.task-title-cell [data-rename-task]:hover{background:var(--soft);box-shadow:inset 0 0 0 1px var(--line);border-radius:3px}
.tasktable th .column-label-editor-trigger{padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:text;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.column-label-editor-trigger:hover{text-decoration:underline}.column-label-input{width:100%;min-width:80px;padding:3px 5px;font:inherit}.column-label-error{display:block;white-space:normal;color:var(--danger);font-size:11px}.column-label-error:empty{display:none}.tasktable th:has(.column-label-input) .sortable-column-title{overflow:visible;white-space:normal}

.task-context-menu .sort-menu-action{display:flex;align-items:center;gap:9px}.sort-menu-action>.icon,.sort-indicator>.icon{width:17px;height:17px;flex:none}.sort-choice-check{margin-left:auto;min-width:14px;color:var(--text)}.sort-menu-action[aria-checked=true]{background:var(--soft)}.sort-indicator{display:inline-flex;align-items:center;vertical-align:middle}
.tree-caret{width:12px;height:12px;display:block;flex:none}.task-tree-toggle,.group .section-collapse{display:inline-flex;align-items:center;justify-content:center;min-width:24px;width:24px;min-height:28px}.group-caret{display:inline-flex;align-items:center;justify-content:center}
.task-move-section{padding:3px!important;border:0;background:transparent;color:var(--muted);width:24px;min-height:28px;display:inline-flex;align-items:center;justify-content:center;flex:none}.task-move-section>.icon{width:16px;height:16px}.task-move-section:hover{background:var(--soft);color:var(--text)}
.task-section-menu{position:fixed;z-index:160;padding:12px 0 6px;background:var(--surface);color:var(--text);border:1px solid var(--line);box-shadow:0 8px 28px var(--shadow);border-radius:7px;max-height:calc(100vh - 24px);overflow:auto}.task-section-menu>strong,.task-section-menu>p{display:block;margin:0 12px 9px;font-size:12px;line-height:1.5}.task-section-menu>strong{font-size:13px}.task-section-choices{border-top:1px solid var(--line);padding-top:5px;max-height:260px;overflow:auto}.task-section-choices>button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;background:transparent;border-radius:0;padding:8px 12px;font-size:13px}.task-section-choices>button:hover,.task-section-choices>button[aria-checked=true]{background:var(--soft)}.section-choice-check{width:16px;flex:none}.task-section-choices>button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

/* Counts stay beside the title; root move controls reserve their space. */
.task-title-cell{flex-direction:row;align-items:center;gap:6px;min-width:0}.task-name-slot{display:flex;flex-direction:column;flex:0 1 auto;min-width:0;max-width:100%}.task-title-cell [data-rename-task]{width:auto;max-width:100%;min-width:0}.task-title-cell .subtask-count{margin-left:0;flex:none;white-space:nowrap}.task-name-slot .inline-task-error{margin-left:0;white-space:normal}
.task-move-section{opacity:0;pointer-events:none}.tasktable tr[data-task-id]:hover .task-move-section,.tasktable tr[data-task-id]:focus-within .task-move-section,.task-move-section:focus-visible,.task-move-section[aria-expanded=true]{opacity:1;pointer-events:auto}
@media (hover:none),(pointer:coarse){.task-move-section{opacity:1;pointer-events:auto}}

.task-title-cell .subtask-count{display:inline-flex;align-items:center;gap:4px;color:var(--muted);line-height:1;vertical-align:middle}.subtask-count>.icon{width:14px;height:14px;flex:none}

.tester-badge{padding:3px 7px;border:1px solid currentColor;border-radius:4px;font-size:10px;letter-spacing:.06em}

/* Keep direct child creation visible beside every task title/count. */
.task-title-cell .task-title-add{flex:0 0 28px;opacity:1;visibility:visible;color:var(--muted)}.task-title-cell .task-title-add:hover{color:var(--text);background:var(--hover)}

/* Productivity controls follow existing theme tokens and compact row density. */
.due-today{color:#e94e5e!important}.photo-check{display:inline-grid;place-items:center;min-width:22px;font-size:17px;color:var(--muted)}.photo-check.checked{color:var(--success-text)}.time-cell{white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}.timer-action{border:0;background:transparent;padding:3px 5px;font-size:11px}.my-timer{font-variant-numeric:tabular-nums}.sidebar-folder-heading{display:flex;align-items:center;justify-content:space-between}.sidebar-folder-heading button,.sidebar-new-group{border:0;background:transparent;color:var(--nav-text);font-size:12px;padding:6px}.sidebar-folder{margin:8px 0}.sidebar-folder>small{padding:6px;color:var(--nav-text)}#time-report{max-height:65vh;overflow:auto}#productivity-nav{display:grid}.field-trigger>.icon{width:18px;height:18px}

.description-badge{flex:none;border:0;border-radius:3px;background:#ffe028!important;color:#352c00!important;font-size:10px;line-height:1.2;padding:3px 4px;white-space:nowrap}.custom-checkbox{width:16px;height:16px;min-height:0;accent-color:var(--accent);cursor:pointer}

.sidebar-tree-row{display:flex;align-items:center;min-width:0}.sidebar-tree-row>.sidebar-project{flex:1;min-width:0}.sidebar-tree-toggle,.sidebar-tree-spacer{flex:none;width:16px}.sidebar-tree-toggle{border:0;background:transparent;color:var(--nav-text);padding:2px 0;font-size:12px}.sidebar-tree-row .projectlink{padding-left:3px}

.task-details-chevron{flex:0 0 24px;min-width:24px;min-height:28px;color:var(--muted);margin-left:auto}.task-details-chevron:hover{color:var(--text);background:var(--hover)}.description-badge{border-radius:2px;font-size:10px;padding:3px 5px}

.section-label .sidebar-heading-label{border:0;background:transparent;color:var(--nav-text);font-size:12px;text-align:left;overflow:hidden;text-overflow:ellipsis;padding:0;min-width:0}.section-label .sidebar-heading-label:hover{text-decoration:underline}

/* Empty description indicator and all checkbox-type custom cells. */
.task-title-cell .description-badge{display:inline-block;flex:0 0 12px;width:12px;height:12px;min-width:12px;min-height:12px;padding:0;border:0;border-radius:0;background:#ffe000!important;line-height:0;font-size:0}.checkbox-field-cell{text-align:center!important;vertical-align:middle!important}.checkbox-field-cell .custom-checkbox{display:inline-block;vertical-align:middle;margin:0!important}

.sidebar-tree-toggle{display:inline-flex;align-items:center;justify-content:center;gap:0;min-width:24px;width:24px;min-height:28px;padding:0}.sidebar-tree-spacer{width:24px}.projectlink.active{box-shadow:none}
/* Reports and workspace conversations */
.task-title-cell .description-badge{border-radius:50%}
.time-report,.performance-report{width:min(820px,calc(100vw - 80px))}.time-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 26px}.time-summary>div{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:16px}.time-summary span,.time-summary small{display:block;color:var(--muted);font-size:12px}.time-summary strong{display:block;font-size:25px;font-variant-numeric:tabular-nums;margin:7px 0}.report-timer{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:15px 0}.report-task{flex:1;min-width:0}.report-task strong,.report-task small,.work-log td small,.report-breakdown small{display:block}.report-task small,.work-log small{color:var(--muted);margin-top:5px}.timer-status{font-size:11px;text-transform:capitalize;background:var(--soft);border-radius:20px;padding:5px 9px}.timer-status.running{background:var(--success-bg);color:var(--success-text)}.report-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:290px}.report-controls .my-timer{font-size:18px;font-variant-numeric:tabular-nums;margin-right:7px}.report-controls>small{flex-basis:100%;color:var(--muted);font-size:11px}.report-controls button:first-of-type{background:var(--chip-bg);color:var(--chip-text)}.report-breakdown{margin:20px 0;border:1px solid var(--line);padding:12px;border-radius:8px}.report-breakdown summary{cursor:pointer;font-weight:600}.report-total{display:flex;justify-content:space-between;gap:12px;padding-top:12px}.work-log{overflow:auto}.work-log table{width:100%;border-collapse:collapse;font-size:13px}.work-log th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase}.work-log th,.work-log td{padding:12px 8px;border-bottom:1px solid var(--line)}.work-log td:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}.report-empty{color:var(--muted);padding:20px 0}.performance-row{margin:22px 0}.performance-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:14px}.performance-row span,.performance-row small{color:var(--muted)}.performance-track{height:13px;background:var(--soft);border-radius:8px;margin-top:9px;overflow:hidden}.performance-track>div{height:100%;background:var(--accent);border-radius:8px}.workspace-presence{display:flex;align-items:center;gap:8px;min-width:0}.presence-label{font-size:11px;color:var(--nav-text)}.online-avatars{display:flex;gap:4px;max-width:240px;overflow:auto}.globalbar .online-person{position:relative;display:inline-flex;flex:none;padding:0;align-items:center}.online-person i{position:absolute;right:0;bottom:0;width:7px;height:7px;background:#63cf92;border-radius:50%;border:1px solid var(--nav)}.messages-open{white-space:nowrap;font-size:12px!important}.messages-open b{background:var(--accent);border-radius:10px;padding:1px 5px}.message-people>button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:8px 0}.message-people small{display:block;color:var(--muted)}.message-people b{margin-left:auto}.private-chat{width:min(580px,calc(100vw - 80px));display:flex;flex-direction:column}.private-chat header{display:flex;align-items:center;gap:10px;padding:10px 0 15px;border-bottom:1px solid var(--line)}.private-chat header div{flex:1}.private-chat header small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.chat-history{height:330px;overflow:auto;padding:15px 0;display:flex;flex-direction:column;gap:12px}.message{max-width:85%;align-self:flex-start;background:var(--soft);border:1px solid var(--line);padding:10px 13px;border-radius:12px}.message.mine{align-self:flex-end;background:var(--chip-bg)}.message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.message small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.private-chat form{display:flex;gap:10px;border-top:1px solid var(--line);padding-top:14px}.private-chat textarea{flex:1;min-height:65px;resize:vertical}.private-chat form button{align-self:flex-end}.private-chat #chat-error{font-size:12px;color:var(--danger)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){.presence-label{display:none}.online-avatars{max-width:90px}.time-summary{grid-template-columns:1fr}.report-timer{flex-wrap:wrap}.report-controls{max-width:none}.globalbar{gap:8px}.global-search{width:auto;flex:1;min-width:80px}}

dialog:has(.time-report),dialog:has(.performance-report){width:880px;max-width:calc(100vw - 24px)}dialog:has(.private-chat){width:640px;max-width:calc(100vw - 24px)}

/* Task photos */
.photo-add{position:relative;display:inline-flex;padding:8px 12px;border:1px solid #7776;border-radius:8px;cursor:pointer}.photo-add input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}#task-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-bottom:24px}.task-photo{margin:0;min-width:0}.photo-preview{padding:0;width:100%;overflow:hidden;border-radius:8px}.photo-preview img{display:block;width:100%;height:130px;object-fit:cover}.task-photo figcaption{overflow-wrap:anywhere;font-size:12px;margin:5px 0}.photo-large{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}

.color-selector{display:inline-block;position:relative}.color-trigger{width:38px;height:30px;border:2px solid #888!important;border-radius:5px;color:#fff;text-shadow:0 1px 2px #000;padding:0}.color-grid-popover{display:grid;grid-template-columns:repeat(6,28px);gap:4px;position:absolute;z-index:100;top:34px;left:0;padding:10px;border:1px solid #888;border-radius:10px;background:var(--bg,#252525);box-shadow:0 8px 28px #0006;width:max-content}.color-grid-popover button{width:28px;height:28px;border:1px solid #888;padding:0;border-radius:3px}.color-grid-popover button:focus-visible{outline:3px solid var(--mark-bright,#a78bfa);outline-offset:2px}.color-grid-popover .custom-color{grid-column:1/-1;width:100%;height:32px;background:#555;color:white}.option-color-control{overflow:visible!important}.color-selector input[hidden]{display:none!important}#save-recovery-warning,#backup-warning{position:fixed;bottom:12px;left:12px;right:12px;z-index:10000;padding:14px;background:#642f20;color:white;border:1px solid #efac82;border-radius:8px}#backup-warning{bottom:90px}.incoming-shake{animation:incoming-shake .6s ease-in-out}@keyframes incoming-shake{20%,60%{transform:rotate(-12deg)}40%,80%{transform:rotate(12deg)}}@media(prefers-reduced-motion:reduce){.incoming-shake{animation:none}}
/* v1.7: consistent disclosure controls and a quiet, expandable sidebar footer. */
.disclosure-triangle,.settings-caret{width:12px;height:12px;display:inline-block;flex:0 0 12px;vertical-align:middle}.select-arrow,.field-chevron{display:inline-flex;align-items:center;justify-content:center}.sidebar-settings>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:10px 12px;border-radius:6px;color:var(--nav-text)}.sidebar-settings>summary::-webkit-details-marker{display:none}.sidebar-settings>summary:hover{background:var(--nav-hover)}.sidebar-settings>summary .settings-caret{margin-left:auto}.sidebar-settings[open]>summary .settings-caret{transform:rotate(90deg)}.settings-items{padding:5px 0 8px 10px;max-height:52vh;overflow:auto}.settings-items .icon{flex-shrink:0;color:var(--nav-text)}.settings-items button{min-height:38px}.sidebar-settings summary:focus-visible{outline:2px solid var(--nav-text);outline-offset:-2px}.project-action-list{display:flex;flex-direction:column;gap:12px;margin:20px 0}.project-action-list>button{width:100%;text-align:left;padding:14px 16px;min-height:48px}
/* Direct checkbox labels are forms/settings, never table checkbox cells. */
#dialog label:has(>input[type="checkbox"]),#task-panel label:has(>input[type="checkbox"]){display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;column-gap:10px;row-gap:4px;text-align:left;line-height:1.45}#dialog label>input[type="checkbox"],#task-panel label>input[type="checkbox"]{grid-column:1;grid-row:1;width:18px!important;min-width:18px;height:18px;margin:2px 0 0!important;padding:0;justify-self:start}#dialog label:has(>input[type="checkbox"])>span,#dialog label:has(>input[type="checkbox"])>small{grid-column:2}#dialog label:has(>input[type="checkbox"]) + p.muted{margin-top:4px;margin-left:28px}.tone-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}#tone-editor{border-top:1px solid var(--line);margin-top:22px;padding-top:8px}#tone-error,#performance-error{color:var(--danger,#d34848)}
#dialog:has(.performance-dashboard){width:min(1120px,94vw);max-width:1120px}.performance-dashboard{--chart-0:var(--mark-button,#8170dc);--chart-1:#418c9c;--chart-2:#b27a3e;--chart-3:#b65f87;--chart-4:#608e57}.dashboard-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:22px 0}.dashboard-filters label{flex:1;min-width:150px;margin:0}.dashboard-filters>button{min-height:40px}.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.dashboard-stats article,.dashboard-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px}.dashboard-stats article{display:flex;flex-direction:column;gap:10px}.dashboard-stats span,.dashboard-stats small{color:var(--muted)}.dashboard-stats strong{font-size:30px;font-weight:650;line-height:1.2}.dashboard-stats article:first-child{background:var(--soft);border-top:3px solid var(--chart-0)}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dashboard-card{min-width:0}.dashboard-card h3{margin:0 0 22px;font-size:18px}.dashboard-wide{grid-column:1/-1}.dashboard-bars{max-height:320px;overflow:auto}.dashboard-bar{margin:0 0 22px}.dashboard-bar>div:first-child{display:flex;justify-content:space-between;gap:16px;margin-bottom:9px;font-size:14px}.dashboard-bar strong{white-space:nowrap;font-weight:600}.dashboard-bar i{width:9px;height:9px;display:inline-block;border-radius:50%;margin-right:8px}.dashboard-track{height:9px;background:var(--soft);border-radius:5px;overflow:hidden}.dashboard-track>span{height:100%;display:block;border-radius:5px}.dashboard-card-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.dashboard-card-head label{display:flex;align-items:center;gap:8px;font-size:13px}.dashboard-trend{display:flex;align-items:end;gap:5px;min-height:175px;overflow:auto;padding-top:42px;border-bottom:1px solid var(--line)}.trend-column{position:relative;min-width:25px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end}.trend-bar{background:var(--chart-0);width:70%;border-radius:4px 4px 0 0}.trend-column small{font-size:10px;white-space:nowrap;padding:10px 0;color:var(--muted)}.trend-tooltip{display:none;position:absolute;bottom:100%;background:var(--text);color:var(--surface);padding:6px;border-radius:4px;font-size:11px;white-space:nowrap;z-index:1}.trend-column:hover .trend-tooltip,.trend-column:focus .trend-tooltip{display:block}.dashboard-table{overflow:auto;max-height:440px}.dashboard-table table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.dashboard-table th,.dashboard-table td{padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top}.dashboard-table th{color:var(--muted);font-weight:500}.dashboard-table td:last-child{white-space:nowrap}.dashboard-table td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.dashboard-table th:last-child,.dashboard-table td:last-child{text-align:right}.dashboard-card .muted{font-size:12px;line-height:1.5}
.sidebar-compact .sidebar-settings{position:relative}.sidebar-compact .sidebar-settings[open] .settings-items{position:fixed;left:64px;bottom:65px;width:245px;max-height:70vh;background:var(--nav);border:1px solid var(--line);border-radius:10px;padding:12px;z-index:50;box-shadow:0 12px 35px #0005}.sidebar-compact .settings-items .nav-text{display:inline}.sidebar-compact .settings-items button{width:100%;justify-content:flex-start}.sidebar-compact .settings-items .theme-control{width:100%}
@media(max-width:760px){.dashboard-stats,.dashboard-grid{grid-template-columns:1fr}.dashboard-wide{grid-column:auto}.dashboard-stats strong{font-size:26px}.dashboard-filters label{min-width:120px}.dashboard-card{padding:16px}.sidebar-settings[open] .settings-items{position:fixed;left:60px;bottom:65px;width:245px;max-height:70vh;background:var(--nav);border:1px solid var(--line);border-radius:10px;padding:12px;z-index:50}.settings-items .nav-text{display:inline!important}.settings-items .theme-control{width:100%!important}.settings-items button{width:100%!important;justify-content:flex-start!important}}

#dialog label>input[type="checkbox"],#task-panel label>input[type="checkbox"]{order:-1}#dialog label:has(>input[type="checkbox"])> :not(input){grid-column:2}.sidebar-compact .settings-items button{gap:10px}.sidebar-compact .settings-items .themed-select-trigger{font-size:14px;gap:10px}
/* v1.8 workspace chrome: one brand, Home-level collapse control, unclipped icon rail. */
.globalbar .top-workspace-brand{display:flex;align-items:center;gap:10px;min-width:0;width:calc(var(--sidebar-width) - 12px);flex-shrink:0}.top-workspace-brand strong{font-size:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.top-workspace-brand .workspace-logo{width:28px;height:28px}.primary-nav{padding-top:16px}.home-nav-row{display:flex;align-items:center;gap:4px}.home-nav-row>button:first-child{flex:1;min-width:0}.home-nav-row .sidebar-collapse-control{width:30px;min-width:30px;height:32px;padding:6px;flex:none;justify-content:center}.sidebar-collapse-control svg{width:18px;height:18px;flex:none}.sidebar-project .projectlink .project-badge{flex-shrink:0}.layout.sidebar-compact{grid-template-columns:84px minmax(0,1fr)}.sidebar-compact aside{padding:0 6px}.sidebar-compact .home-nav-row{gap:0}.sidebar-compact .home-nav-row>button:first-child{width:40px;flex:none;padding:8px}.sidebar-compact .home-nav-row .sidebar-collapse-control{width:28px;min-width:28px;padding:4px}.sidebar-compact .primary-nav>button{width:40px;margin-left:0}.sidebar-compact .sidebar-tree-row{padding-left:0!important;position:relative;gap:0;width:72px}.sidebar-compact .sidebar-tree-toggle,.sidebar-compact .sidebar-tree-spacer{width:16px;min-width:16px;flex:0 0 16px;padding:0}.sidebar-compact .sidebar-project{width:44px;flex:0 0 44px}.sidebar-compact .sidebar-project .projectlink{width:44px;min-width:44px;max-width:44px;padding:7px;justify-content:center;gap:0}.sidebar-compact .project-more{display:none}.sidebar-compact .sidebar-tree-row[data-depth]:not([data-depth="0"]) .projectlink{border-left:2px solid var(--nav-hover);border-radius:0 6px 6px 0}.sidebar-compact .nav-text,.sidebar-compact .sidebar-folder-heading{display:none}.sidebar-compact .nav-section>.sidebar-project{margin-left:16px}.sidebar-compact .sidebar-settings>summary{padding:10px 6px;gap:5px}.sidebar-compact .settings-caret{margin-left:0}.sidebar-compact footer>button{width:40px}.sidebar-compact .sidebar-settings[open] .settings-items{left:84px}.sidebar-compact .settings-items .nav-text{display:inline}.sidebar-compact .settings-items .theme-control{display:flex}.sidebar-compact .settings-items .theme-control>span{display:inline-flex}.sidebar-compact .settings-items button{gap:10px}.tasktable.resizable-table th{min-width:0}.tasktable.resizable-table th:not([style]){width:auto}.resizable-table td{overflow:hidden}.resizable-table .time-cell{white-space:nowrap}.resizable-table .task-cell{overflow:hidden}.resizable-table .task-title-cell{min-width:0}
@media(max-width:760px){.layout:not(.sidebar-compact){grid-template-columns:min(var(--sidebar-width),70vw) minmax(0,1fr)}.layout:not(.sidebar-compact) aside{padding:0 12px}.layout:not(.sidebar-compact) .nav-text{display:inline}.layout:not(.sidebar-compact) .nav-section small{display:block}.layout:not(.sidebar-compact) .section-label{display:flex}.layout:not(.sidebar-compact) aside button{justify-content:flex-start;gap:10px}.layout:not(.sidebar-compact) .sidebar-tree-toggle{justify-content:center;gap:0;padding:0}.layout:not(.sidebar-compact) .home-nav-row .sidebar-collapse-control{justify-content:center}.layout:not(.sidebar-compact) .theme-control{display:flex}.layout:not(.sidebar-compact) .theme-control>span{display:inline-flex}.globalbar .top-workspace-brand{width:auto;max-width:35vw;gap:7px}.top-workspace-brand strong{font-size:15px}.global-search{min-width:65px}.sidebar-compact .sidebar-settings[open] .settings-items{left:84px}.layout .settings-items .nav-text{display:inline!important}.home-nav-row .sidebar-collapse-control{display:flex!important}.sidebar-compact .home-nav-row>button:first-child{justify-content:center}.sidebar-compact .project-nav{overflow-x:hidden}}
.layout.sidebar-compact{grid-template-columns:96px minmax(0,1fr)}.sidebar-compact .sidebar-tree-row{width:84px}.sidebar-compact .home-nav-row>button:first-child{width:44px;margin-left:16px}.sidebar-compact .home-nav-row .sidebar-collapse-control{width:24px;min-width:24px}.sidebar-compact .primary-nav>button,.sidebar-compact footer>button{width:44px;margin-left:16px}.sidebar-compact .sidebar-settings>summary{padding:10px 10px 10px 29px}.sidebar-compact .sidebar-settings[open] .settings-items{left:96px}.sidebar-compact .settings-items button{width:100%}.sidebar-compact .project-nav{overflow-x:hidden}
@media(max-width:760px){.layout:not(.sidebar-compact) .sidebar-settings[open] .settings-items{position:static;width:auto;max-height:52vh;border:0;box-shadow:none;padding:5px 0 8px 10px}.sidebar-compact .sidebar-settings[open] .settings-items{left:96px;width:min(245px,calc(100vw - 104px))}}
@media(max-width:760px){.layout:not(.sidebar-compact){position:relative;grid-template-columns:96px minmax(0,1fr)}.layout:not(.sidebar-compact)>aside{position:absolute;top:0;bottom:0;left:0;width:min(var(--sidebar-width),80vw);z-index:60;box-shadow:8px 0 24px #0004}.layout:not(.sidebar-compact)>main{grid-column:2}}

/* Distinguish independent project fields from an unset selectable value. */
.field-not-applicable{font-size:12px;white-space:nowrap;opacity:.65}.tasktable .field-trigger[aria-haspopup="dialog"]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.tasktable .field-chevron{opacity:.6;flex:none}

.quick-option-form{padding:10px 12px;border-top:1px solid var(--line)}.quick-option-form label{font-size:12px}.quick-option-form input{width:100%;min-width:0}.quick-option-form [role="alert"]{font-size:12px;color:#dc6565;margin:6px 0}.quick-option-actions{display:flex;justify-content:flex-end;gap:8px}.quick-option-form+.edit-options{margin-top:0}

.time-cell small{display:block;font-size:11px;color:var(--muted);white-space:normal}.time-cell .timer-action{margin-inline:2px}.field-not-applicable{font-size:12px;cursor:pointer}.live-task-timers{padding-top:3px}

/* v1.10 viewport controls */
.time-edit-pair{display:flex;gap:16px}.time-edit-pair label{flex:1;min-width:0}.timer-history{max-height:280px;overflow:auto}
.pinned-scroll-source{overflow-x:hidden!important}#content:has(.pinned-scroll-source){padding-bottom:40px}
th[data-column]:focus-visible{outline:2px solid var(--mark-bright,#9f8cff);outline-offset:-3px}.column-label-input{max-width:100%;min-width:40px}
#chat-form{position:relative}#emoji-toggle{align-self:end;font-size:24px}#emoji-picker{position:absolute;bottom:100%;right:0;display:grid;grid-template-columns:repeat(4,44px);gap:4px;padding:10px;border:1px solid var(--line);background:var(--surface);border-radius:10px;z-index:5}#emoji-picker[hidden]{display:none}#emoji-picker button{font-size:24px;padding:6px}#emoji-picker button:focus-visible{outline:2px solid var(--mark-bright,#9f8cff)}#sender-tone-editor{border-top:1px solid var(--line);margin-top:20px;padding-top:10px}

/* v1.11 option defaults and dismiss controls */
.option-edit-row{grid-template-columns:28px 42px minmax(90px,1fr) auto 32px}.field-editor-modal .option-edit-row>input.option-default{width:14px;height:14px;min-width:14px;min-height:14px;max-width:14px;flex:0 0 14px;padding:0;margin:0 5px;align-self:center}.default-options-heading{font-weight:600;margin-bottom:4px}.average-subtasks{display:block;color:var(--muted);margin:5px 0}.generic-dialog-close{float:right;margin:0 0 8px 12px}.popup-close{display:block;margin-left:auto;padding:2px 7px}#dismiss-confirm{max-width:440px}.average-methodology{line-height:1.5}

/* v1.12 hierarchy, personal timer reminder and real-data dashboards */
.tasktable .parent1120 .taskname{font-size:16px;font-weight:600}.tasktable .subtask1120 .taskname{font-size:14px;font-weight:400}.check.done{background:#269c59!important;border-color:#269c59!important;color:#fff!important;border-radius:50%;font-weight:800;line-height:1}.check:not(.done){background:transparent;border-radius:50%}.paused1120{background:color-mix(in srgb,var(--accent) 8%,var(--surface));animation:paused-glow1120 3s ease-in-out infinite}@keyframes paused-glow1120{50%{background:color-mix(in srgb,var(--accent) 18%,var(--surface))}}@media(prefers-reduced-motion:reduce){.paused1120{animation:none}}#pending-edits1120{position:fixed;bottom:12px;left:12px;z-index:10000;padding:12px;background:var(--surface);border:1px solid var(--accent);box-shadow:0 4px 20px var(--shadow);max-width:95vw}#inline-section1120{padding:16px;display:grid;gap:8px}.mitplus1120{padding:24px;max-width:1400px;margin:auto}.review-grid1120{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin:20px 0}.client-card1120{padding:24px;text-align:left;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.client-card1120 h3{font-size:20px}.review-layout1120{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:20px}.video-frame1120{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#111}.review-note1120{padding:14px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px;white-space:pre-wrap}.review-note1120.resolved{opacity:.65}.review-notes1120{max-height:65vh;overflow:auto}.review-layout1120 textarea{width:100%;min-height:80px}.review-page1120{padding:24px;max-width:1500px;margin:auto}.review-thumb1120{aspect-ratio:16/9;background:var(--soft);display:grid;place-items:center;font-size:35px;border-radius:8px}@media(max-width:800px){.review-layout1120{grid-template-columns:1fr}.review-notes1120{max-height:45vh}.mitplus1120,.review-page1120{padding:16px}}

.mitplus1120 .dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1000px){.mitplus1120 .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.mitplus1120 .dashboard-stats{grid-template-columns:1fr}}
#dialog:has(.review-page1120){width:min(1280px,96vw);max-width:96vw}#youtube-player1120{width:100%!important;height:auto!important;aspect-ratio:16/9;border:0;border-radius:12px}.review-page1120 .review-grid1120{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}

/* Compact completion mark: one green disc, no nested density decoration. */
.tasktable .check,[data-density=compact] .tasktable .check{width:18px;height:18px;min-width:18px;min-height:18px;padding:0;display:inline-grid;place-items:center;flex:0 0 18px;border:1px solid var(--muted);border-radius:50%;font-size:12px;line-height:1;isolation:auto}.tasktable .check::before,[data-density=compact] .tasktable .check::before{content:none}.tasktable .check.done,[data-density=compact] .tasktable .check.done{background:#269c59!important;border-color:#269c59!important;color:#fff!important;box-shadow:none}.tasktable .check.done svg{background:transparent;stroke:currentColor;width:13px;height:13px}

/* Review studio: calm hierarchy, compact video rail and dedicated feedback panel. */
.review-page1120{width:100%}.review-heading1120{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.review-heading1120 h1{font-size:28px;letter-spacing:-.7px;margin-top:7px}.review-eyebrow1120{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--accent)}.review-count1120{background:var(--soft);border:1px solid var(--line);padding:8px 12px;border-radius:20px;font-size:12px;white-space:nowrap}.review-actions1120{display:flex;gap:8px;align-items:center}.review-actions1120 details{position:relative}.review-actions1120 summary{cursor:pointer;font-size:13px;padding:8px 12px;border:1px solid var(--line);border-radius:6px}.review-actions1120 details>div{position:absolute;right:0;top:100%;z-index:5;background:var(--surface);box-shadow:0 8px 30px var(--shadow);border:1px solid var(--line);padding:14px;width:260px;border-radius:10px}.review-actions1120 details button{width:100%;margin-bottom:7px}.review-video-list1120{display:flex;gap:10px;overflow:auto;padding:4px 0 18px;margin-top:20px}.review-video-list1120>button{display:flex;align-items:center;gap:12px;min-width:220px;text-align:left;padding:12px 16px;border-radius:10px;background:var(--soft)}.review-video-list1120>button.selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.review-video-list1120 strong{display:block;font-size:13px}.review-video-list1120 small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.review-video-number1120{font-size:12px;color:var(--muted)}.review-layout1120{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:24px;align-items:start}.review-screen1120 h2{font-size:16px;margin:0 0 14px}.review-player-footer1120{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-top:14px}.review-feedback1120{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:18px}.review-feedback1120>header{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}.review-feedback1120 h2{font-size:15px;margin:0}.review-feedback1120>header span{font-size:11px}.review-notes1120{max-height:330px}.review-note1120{background:var(--surface);padding:14px;border-radius:10px;font-size:13px;line-height:1.6;white-space:normal}.review-note1120>p{white-space:pre-wrap;margin:8px 0}.review-note1120 button{font-size:11px;padding:3px 7px;border-radius:5px}.review-note1120>p>button{color:var(--accent);background:var(--chip-bg);border-color:transparent;font-variant-numeric:tabular-nums}.review-note1120>strong{font-size:12px}.review-note1120 small{font-size:10px;color:var(--muted)}#review-comment1120{border-top:1px solid var(--line);padding-top:4px}#review-comment1120 label{font-size:12px;margin:12px 0}#review-comment1120 input[type=number]{width:110px;padding:7px}#review-comment1120 textarea{background:var(--surface);min-height:88px;font-size:13px}#review-comment1120>.primary{width:100%;border-radius:7px}.review-empty1120{text-align:center;padding:25px 10px;color:var(--muted);font-size:12px}.review-empty1120 strong{color:var(--text)}.review-thumb1120{background:linear-gradient(130deg,color-mix(in srgb,var(--accent) 20%,var(--surface)),var(--soft));color:var(--accent)}.review-grid1120 .client-card1120{padding:14px;border-radius:14px}.review-grid1120 .client-card1120 h3{font-size:17px;margin-bottom:6px}.review-grid1120 .client-card1120 p{font-size:12px;color:var(--muted)}@media(max-width:800px){.review-layout1120{grid-template-columns:1fr}.review-heading1120 h1{font-size:23px}.review-player-footer1120{flex-wrap:wrap}.review-feedback1120{padding:14px}.review-heading1120{align-items:flex-start}.review-video-list1120>button{min-width:200px}}
/* Workspace hierarchy uses durable settings rather than repaint-specific sizes. */
.tasktable .section-name{font-size:var(--type-section-size,19px)!important;font-family:var(--type-section-family,system-ui)!important;font-weight:var(--type-section-weight,700)!important;font-style:var(--type-section-style,normal)!important}.tasktable .parent1120 .taskname{font-size:var(--type-parent-size,16px)!important;font-family:var(--type-parent-family,system-ui)!important;font-weight:var(--type-parent-weight,600)!important;font-style:var(--type-parent-style,normal)!important}.tasktable .subtask1120 .taskname{font-size:var(--type-subtask-size,14px)!important;font-family:var(--type-subtask-family,system-ui)!important;font-weight:var(--type-subtask-weight,400)!important;font-style:var(--type-subtask-style,normal)!important}#inline-section1120{padding:8px 12px;max-width:100%;box-sizing:border-box}#inline-section1120 input{width:100%;min-width:0;font-size:var(--type-section-size,19px)}.typography1130, #overview1130 fieldset{border:1px solid var(--line);border-radius:10px;margin:18px 0;padding:16px}.typography-row1130{display:grid;grid-template-columns:1fr 70px 1fr 80px 90px;gap:9px;align-items:center}.typography-row1130 input,.typography-row1130 select{width:100%;padding:7px;font-size:12px}.typography-row1130 strong{font-size:13px}.typography-row1130 label{font-size:11px}.review-client1130{min-height:220px;aspect-ratio:1.2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.review-client1130>span:last-child{margin-top:auto;font-size:12px;color:var(--accent)}.review-client-monogram1130{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:13px;background:var(--chip-bg);color:var(--accent);font-weight:750;font-size:17px}.review-client-header1130{justify-content:flex-start;animation:review-compact1130 .25s ease-out}.review-client-header1130 .review-count1120{margin-left:auto}.review-client-header1130 h1{font-size:24px}.review-action1130{color:var(--text);text-decoration:none;border:1px solid var(--line);border-radius:6px;padding:7px 10px;font-size:14px}.review-actions1120{flex-wrap:wrap}.review-cutbar1130{display:flex;gap:8px;overflow:auto;padding:10px 0;border-bottom:1px solid var(--line)}.review-cutbar1130 [aria-selected=true]{background:var(--chip-bg);color:var(--chip-text);border-color:var(--accent)}.review-cutbar1130 button{white-space:nowrap}.review-cut-meta1130{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:12px 0}.review-cut-meta1130 label{display:flex;align-items:center;gap:10px;margin:0}.review-cut-meta1130 select{padding:6px}.review-status1130{display:inline-block;border-radius:16px;padding:6px 10px;background:var(--chip-bg);color:var(--chip-text);font-size:12px}.review-feedback1130{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.review-note-entry1130{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start}.review-feedback1130 #review-comment1120{border:0}.review-feedback1130 #review-comment1120>.primary{width:auto;float:right}.review-feedback1130 #review-comment1120:after{content:'';display:block;clear:both}.review-feedback1130 .review-notes1120{max-height:none;margin-top:20px}.review-feedback1130 .review-note1120{padding:20px;border-radius:12px}.review-preview-banner1130{padding:10px 14px;border:1px dashed var(--accent);border-radius:8px;font-size:12px;color:var(--muted)}[hidden]{display:none!important}@keyframes review-compact1130{from{transform:translateY(12px) scale(.97);opacity:.4}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.review-client-header1130{animation:none}}@media(max-width:700px){.typography-row1130{grid-template-columns:1fr 1fr}.typography-row1130 strong{grid-column:1/-1}.review-note-entry1130{grid-template-columns:1fr;gap:0}.review-client-header1130 h1{font-size:20px}.review-client1130{aspect-ratio:auto;min-height:180px}.review-heading1120{flex-wrap:wrap}.review-client-header1130{flex-wrap:nowrap}}

.review-cut-meta1130{gap:8px}.review-cut-meta1130>strong{flex-basis:100%;font-size:13px}.review-cut-meta1130 .review-status1130{background:transparent;border:1px solid var(--line);color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.3px}.review-cut-meta1130 .review-status1130[aria-pressed=true],.review-cut-meta1130 .review-status1130[data-selected=true]{background:var(--chip-bg);border-color:var(--accent);color:var(--chip-text)}.review-cut-meta1130 [data-review-status="Approved"][aria-pressed=true],.review-cut-meta1130 [data-review-status="Approved"][data-selected=true]{background:var(--success-bg);border-color:var(--success-text);color:var(--success-text)}

.review-theme1130{float:right;margin:0 0 12px 14px}.review-preview-banner1130{margin-right:120px}.review-studio1120 .review-heading1120{margin:12px 0}.review-studio1120>.review-client-header1130{margin:16px 0}.review-studio1120 .review-client-header1130 h1{margin:4px 0}.review-studio1120 .review-cut-meta1130{padding:10px 0}

/* The client page is a compact review surface; management stays in the team view. */
.review-client-simple1130{max-width:1000px;margin:auto;padding:16px!important}
.review-client-simple1130 .review-client-header1130{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:10px;gap:8px}
.review-client-simple1130 .review-client-header1130 .review-client-monogram1130,.review-client-simple1130 .review-count1120{display:none}
.review-client-simple1130 .review-client-header1130 h1{font-size:20px;margin:4px 0;font-weight:600}
.review-client-simple1130 .review-eyebrow1120{font-size:10px}
.review-how1130{font-size:12px;border-bottom:1px solid var(--line);padding:8px 0 12px;margin-bottom:12px}
.review-how1130 summary{cursor:pointer;color:var(--accent)}
.review-video-tabs1130{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.review-video-tabs1130 .client-card1120{width:auto;min-height:0;padding:6px 14px;border-radius:20px;box-shadow:none;text-align:left}
.review-video-tabs1130 .client-card1120 h3{font-size:13px;margin:0;font-weight:500}
.review-video-tabs1130 .client-card1120 p,.review-video-tabs1130 .client-card1120 .review-thumb1120,.review-video-tabs1130 .client-card1120 .review-status1130{display:none}
.review-video-tabs1130 button[aria-pressed=true]{background:var(--text);color:var(--bg)}
.review-client-simple1130 #review-video1120>.review-heading1120{display:none}
.review-client-simple1130 .review-cutbar1130{margin:6px 0 12px}
.review-client-simple1130 .review-cutbar1130 button{font-size:12px;padding:5px 10px}
.review-client-decision1130{display:flex;align-items:center;gap:8px;background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:14px;font-size:12px}
.review-client-decision1130>div{flex:1}.review-client-decision1130 p{margin:4px 0 0}
.review-client-decision1130 button{border-radius:20px;padding:7px 14px;font-size:12px}
.review-client-decision1130 .approve1130{background:#247744;color:white;border:1px solid #247744}
.review-client-decision1130 .request-changes1130{color:#b52c39;border:1px solid #b52c39;background:transparent}
.review-client-simple1130 .video-frame1120{border-radius:9px}
.review-client-simple1130 .review-player-footer1120{padding:6px 0;font-size:11px}
.review-client-simple1130 .review-player-footer1120 button{font-size:11px;padding:4px 8px}
.review-client-simple1130 .review-feedback1130>h2{display:none}
.review-client-simple1130 #review-comment1120{margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--soft)}
.review-client-simple1130 #review-comment1120>label{max-width:260px;font-size:12px}
.review-client-simple1130 .review-note-entry1130{grid-template-columns:120px 1fr;gap:10px}
.review-client-simple1130 .review-note-entry1130 label{font-size:11px}
.review-client-simple1130 textarea{min-height:54px;height:54px}
.review-client-simple1130 .review-note1120{padding:12px;font-size:13px}
.review-client-simple1130 .review-empty1120{padding:20px;font-size:12px}
@media(max-width:560px){.review-client-decision1130{flex-wrap:wrap}.review-client-decision1130>div{flex-basis:100%}.review-client-simple1130 .review-note-entry1130{grid-template-columns:1fr}.review-client-simple1130 .review-client-header1130 h1{font-size:17px}.review-client-simple1130{padding:10px!important}}

.review-client-name1130{float:right;clear:right;margin:12px 0 8px 20px;width:200px;font-size:12px}
.review-client-name1130 input{padding:7px 10px}
.review-instructions1130{white-space:pre-wrap;line-height:1.7;padding:18px 0;max-width:760px;color:var(--text)}
.review-instruction-editor1130{clear:both;border:1px dashed var(--line);padding:10px;margin:10px 0;font-size:12px}
.review-instruction-editor1130 summary{cursor:pointer}.review-instruction-editor1130 textarea{min-height:320px;line-height:1.6;width:100%}
.review-client-simple1130 .review-how1130{clear:both}
.review-client-simple1130 #review-comment1120{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px}
.review-client-simple1130 .review-note-entry1130{margin:0}.review-client-simple1130 .review-note-entry1130 label{margin:0}
.review-client-simple1130 #review-comment1120>p:empty{display:none}.review-client-simple1130 #review-comment1120>p:not(:empty){grid-column:1/-1}
.review-client-simple1130 #review-comment1120>button{grid-column:2;grid-row:1}
:root[data-theme=dark] .review-client-decision1130 .request-changes1130{color:#ff9daa;border-color:#ff9daa}
@media(max-width:560px){.review-client-name1130{float:none;width:100%;margin:10px 0}.review-client-simple1130 #review-comment1120{grid-template-columns:1fr}.review-client-simple1130 #review-comment1120>button{grid-column:1;grid-row:auto}}

#review-pinbar1130{margin:8px 0 6px}.review-pin-label1130{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin:0 0 5px}
.review-pin-track1130{height:28px;position:relative;border:1px solid var(--line);border-radius:4px;background:var(--soft);margin:0 10px;overflow:visible}
.review-pin-marker1130{position:absolute;top:-4px;transform:translateX(-50%);width:22px;height:36px;padding:0;border:0;background:transparent;display:grid;place-items:center;border-radius:4px;z-index:1}
.review-pin-marker1130 span{display:block;background:var(--accent);height:22px;width:3px;border-radius:2px}.review-pin-marker1130:hover,.review-pin-marker1130[aria-pressed=true]{background:var(--chip-bg);z-index:2}.review-pin-marker1130[aria-pressed=true] span{width:5px}
.review-pin-track1130.loading{display:flex;gap:8px;height:auto;min-height:28px;flex-wrap:wrap}.review-pin-track1130.loading .review-pin-marker1130{position:static;transform:none;width:auto;display:flex;gap:4px;padding:0 6px}.review-pin-marker1130 small{font-size:10px}
.review-pin-empty1130{display:block;text-align:center;color:var(--muted);font-size:11px;line-height:26px}
#review-pin-detail1130{border:1px solid var(--accent);border-radius:8px;padding:12px;background:var(--soft);margin:12px 0;font-size:13px}.review-pin-detail-heading1130{display:flex;align-items:center;justify-content:space-between;gap:12px}#review-pin-detail1130 article{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}#review-pin-detail1130 p{white-space:pre-wrap;margin:6px 0}
.review-client-simple1130 .review-note-entry1130{grid-template-columns:1fr}

.themed-select-option[aria-selected=true]{background:var(--chip-bg);color:var(--chip-text);font-weight:600}
.themed-select-option.active:not([aria-selected=true]),.themed-select-option:hover:not([aria-selected=true]){background:var(--hover);color:var(--text);box-shadow:none}
.themed-select-option.active[aria-selected=true]{outline:1px solid var(--accent);outline-offset:-2px}
.pending-change1140{padding:12px;margin:10px 0;border:1px solid var(--line);border-radius:8px}.pending-change1140 p{white-space:pre-wrap;overflow-wrap:anywhere}.pending-change1140 label{color:var(--text)}

#inline-section1120.section-heading{width:100%;display:flex;align-items:center;gap:8px;padding:10px 0 10px 30px;margin:0;flex-wrap:wrap}#inline-section1120 .section-name-input{max-width:calc(100% - 100px);font-size:var(--type-section-size,19px);font-weight:var(--type-section-weight,700);background:transparent;border:1px solid var(--muted);border-radius:8px;padding:8px 12px}#inline-section1120 .section-name-input:focus{outline:2px solid var(--text);outline-offset:1px}#inline-section1120 small{flex-basis:100%;font-size:12px;color:var(--danger)}.section-draft-caret1140{color:var(--muted);width:18px;text-align:center}

#pending-edits1120.compact-recovery1142{padding:0;border:0;box-shadow:none;background:transparent;font-size:12px}#pending-edits1120.compact-recovery1142 button{font-size:12px;color:var(--muted)}

/* Top-aligned overview and reviews, with bounded cards at every width. */
.mitplus1120,.review-page1120{margin:0 auto;width:100%;box-sizing:border-box;align-self:start;flex:0 0 auto}.review-grid1120{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:20px;align-items:stretch}.review-grid1120>.client-card1120{box-sizing:border-box;min-width:0;width:100%;overflow-wrap:anywhere;margin:0;aspect-ratio:auto;justify-content:flex-start;gap:12px}.client-logo1150{width:60px;height:60px;object-fit:contain;border-radius:10px}.client-cover1150{display:block;width:100%;max-height:240px;object-fit:cover;border-radius:14px;margin-top:16px}.client-card-cover1150{width:100%;height:120px;object-fit:cover;border-radius:8px}.review-client1130 h3{margin:0}.inline-new-task input:focus,.task-name-editor:focus{outline:none!important;box-shadow:none!important;border:2px solid var(--accent)!important}.tasktable .inline-new-task .task-name-slot:focus-within{outline:none;box-shadow:none}

/* Close the trailing edge, including section and add rows. */
.tasktable tr > :last-child{border-right:1px solid var(--line)}

/* v1.16: one interaction language, respecting reduced motion. */
.sidebar-settings[open]>summary,.sidebar-settings .popup-close{display:none!important}
.close1160{display:inline-grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;padding:7px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:transparent!important;color:var(--muted)!important}
.close1160:hover{background:var(--hover)!important;color:var(--text)!important}
.close1160 svg,.delete1160 svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.delete1160{position:absolute;right:12px;top:12px;background:#ff6868;color:#411313;border:0;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;padding:4px;z-index:1}
.delete1160:hover{background:#ff8585}.review-project-card1160,.review-card1160{position:relative;min-width:0}.review-project-card1160>.client-card1120{width:100%;height:100%;text-align:left;padding-top:36px}.review-project-card1160 .review-thumb1120{width:100%;height:120px;min-height:120px}.review-workbench1160{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}.review-selector1160{display:grid;gap:12px;align-content:start}.review-selector1160 .client-card1120{width:100%;padding:16px;text-align:left}.review-selector1160 .review-thumb1120{height:80px;min-height:80px}.review-selector1160 h3{margin:10px 0}.review-selector1160 p{font-size:12px;color:var(--muted)}.review-selector1160 [aria-pressed=true]{border-color:var(--accent);background:var(--chip-bg)}.review-inline1160{border:1px solid var(--line);border-radius:12px;background:var(--soft);padding:20px;margin:20px 0}.review-note-entry1130{grid-template-columns:1fr!important}.task-timer-option1160 small{line-height:1.5}.task-timer-option1160 input{width:14px;height:14px}
@keyframes window-in1160{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){dialog[open],.review-inline1160{animation:window-in1160 160ms ease-out}.client-card1120,button{transition:background-color 120ms ease,border-color 120ms ease}.review-project-card1160{animation:window-in1160 180ms ease-out}}
@media(max-width:800px){.review-workbench1160{grid-template-columns:1fr}.review-selector1160{display:flex;overflow:auto;max-width:100%}.review-card1160{min-width:180px;max-width:220px}.review-selector1160 .review-thumb1120{display:none}}

.confirm-delete1160{max-width:460px;width:calc(100vw - 32px);padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px var(--shadow)}.confirm-delete1160::backdrop{background:#0007}.confirm-delete1160 p{line-height:1.6}

/* Project cards grow with their content; the footer never overflows. */
.review-project-card1160>.client-card1120.review-client1130{height:auto;min-height:300px;aspect-ratio:auto;padding:24px 20px;gap:12px;justify-content:flex-start}
.review-project-card1160 .review-thumb1120{flex-shrink:0}
.review-project-card1160 h3,.review-project-card1160 p{margin:0}
.review-project-card1160>.client-card1120>span:last-child{margin-top:auto;padding-top:12px;line-height:1.5;flex-shrink:0}

.cut-player1167{position:relative}.cut-player1167>.delete1160{position:absolute;right:12px;top:12px;z-index:2}

.cut-status-actions1168{display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:100%}.cut-status-actions1168>.delete1160{position:static;margin-left:auto;flex:none}

.review-note-entry1130>.review-client-name1130{position:static;display:flex;flex-direction:column;align-items:stretch;grid-column:1/-1;width:100%;max-width:none;margin:0 0 14px;padding:0}.review-note-entry1130>.review-client-name1130 input{width:100%;max-width:400px}

.review-cutbar1130 .cut-rename1171{font:inherit;color:inherit;width:clamp(100px,15vw,240px);padding:0 3px;min-height:0;margin:0;border:0;background:transparent}

button.red-x1171{background:#ff6868!important;color:#411313!important;border:0!important;border-radius:50%!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:4px!important;display:inline-grid!important;place-items:center;flex-shrink:0}button.red-x1171:hover{background:#ff8585!important;color:#411313!important}button.red-x1171 svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}button.red-x1171:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.single-review1174 .review-workbench1160{grid-template-columns:minmax(0,1fr)}.single-review1174 #review-catalog1130{display:none!important}.single-review1174 #review-video1120>.review-heading1120>h2{display:none}.single-review1174 #review-video1120>.review-heading1120{justify-content:flex-start}

.instruction-toolbar{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:10px;background:var(--soft);border:1px solid var(--line);border-radius:8px 8px 0 0}.instruction-toolbar button{padding:6px 10px}.instruction-toolbar label{display:flex;align-items:center;gap:5px;font-size:12px;margin:0}.instruction-toolbar input[type=color]{width:30px;height:28px;padding:2px}.instruction-rich{min-height:240px;max-height:500px;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:0 0 8px 8px;background:var(--input);line-height:1.6;white-space:normal}.instruction-rich:focus{outline:2px solid var(--accent)}.review-instructions1130{white-space:normal!important}

.instruction-toolbar{gap:3px;padding:8px;border-radius:10px 10px 0 0}.instruction-toolbar button{width:34px;height:34px;padding:7px;border:0;background:transparent;border-radius:6px;font-size:17px;display:grid;place-items:center}.instruction-toolbar button:hover{background:var(--hover)}.instruction-toolbar button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.instruction-toolbar select{width:110px;margin-right:8px}.instruction-toolbar button[aria-label="Bulleted list"],.instruction-toolbar button[aria-label="Align left"],.instruction-toolbar button[aria-label="Indent"]{margin-left:8px}.instruction-toolbar .instruction-color{position:relative;width:34px;height:34px;display:grid;place-items:center;font-size:18px}.instruction-toolbar .instruction-color input[type=color]{position:absolute;inset:0;opacity:0;width:34px;height:34px;cursor:pointer}.instruction-toolbar .instruction-color:focus-within{outline:2px solid var(--accent)}

.review-how1130>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--soft);font-weight:600;transition:background .15s,border-color .15s}.review-how1130>summary::-webkit-details-marker{display:none}.review-how1130>summary:hover{background:var(--hover);border-color:var(--accent)}.review-how1130>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.review-how1130>summary small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}.review-help-icon1179{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--chip-bg);color:var(--chip-text);flex:none}.review-help-icon1179 svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.review-help-chevron1179{width:20px;height:20px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s}.review-how1130[open] .review-help-chevron1179{transform:rotate(180deg)}@media(prefers-reduced-motion:reduce){.review-help-chevron1179,.review-how1130>summary{transition:none}}

/* Compact inline instruction colors, including the shared palette enhancement. */
.instruction-toolbar .instruction-color{display:flex;align-items:center;justify-content:center;gap:4px;width:48px;height:34px;flex:none}
.instruction-toolbar .instruction-color .color-selector{display:flex;align-items:center;height:24px}
.instruction-toolbar .instruction-color .color-trigger{width:18px;height:18px;min-width:18px;padding:0;border:1px solid var(--muted)!important;border-radius:4px;display:grid;place-items:center}
.instruction-toolbar .instruction-color .color-trigger svg{width:8px;height:8px;stroke:none;filter:drop-shadow(0 1px 1px #000)}
.instruction-toolbar .instruction-color .color-grid-popover{top:28px;left:auto;right:0}
.instruction-toolbar .color-grid-popover button{width:28px;height:28px;padding:0;border:1px solid #888;border-radius:3px}
.instruction-toolbar .color-grid-popover .custom-color{width:100%;height:32px;font-size:12px}

/* Smaller visual close icon; retain the existing click target. */
button.red-x1171{background:radial-gradient(circle at center,#ff6868 0 10px,transparent 10.5px)!important;padding:6px!important}
button.red-x1171:hover{background:radial-gradient(circle at center,#ff8585 0 10px,transparent 10.5px)!important}
button.red-x1171 svg{width:12px;height:12px}

.panel-subtask-entry{display:grid;gap:6px;margin:12px 0 24px}.panel-subtask-entry input{width:100%;min-width:0}.panel-subtask-entry small{line-height:1.4}

/* Preserve complete presence avatars when browser zoom reduces available width. */
.globalbar{flex-wrap:wrap;height:auto;min-height:56px}.globalbar .workspace-presence{flex:0 0 auto;max-width:100%}.globalbar .online-avatars{flex:0 1 auto;min-width:32px}.globalbar .global-search{flex:1 1 220px;min-width:120px}.globalbar .global-person{flex:0 0 auto}
@media(max-width:1000px){.globalbar .top-workspace-brand{width:auto;flex:1 1 auto}.globalbar .global-search{order:4;flex-basis:100%}.globalbar .online-avatars{max-width:120px}}

.parent-working1170{display:inline-block;font-size:11px;line-height:1.5;padding:2px 7px;border-radius:10px;background:var(--chip-bg);color:var(--chip-text);margin-left:6px;white-space:nowrap}
#app:has(>.globalbar){display:flex;flex-direction:column;height:100dvh}#app>.globalbar{flex-shrink:0}#app>.layout{flex:1;min-height:0;height:auto}

.overview-layout1170{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:24px}.overview-side1170{min-width:0;padding:16px;border-left:1px solid var(--border)}.overview-box1170{border-bottom:1px solid var(--border);padding:16px 0}.overview-box1170 summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer}.overview-task1170{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;margin:8px 0}.overview-task1170 small{color:var(--muted)}@media(max-width:1000px){.overview-layout1170{grid-template-columns:1fr}.overview-side1170{border-left:0;border-top:1px solid var(--border)}}

.social-portal1170{padding:24px;max-width:1400px;margin:0 auto}#social-root1170{padding:0;margin:0;width:100%;min-width:0;box-sizing:border-box;align-self:start;flex:0 0 auto}.social-heading1170{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.social-posts1170{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}.social-posts1170 article{padding:20px;border:1px solid var(--border);border-radius:14px}.social-posts1170 img,.social-posts1170 video{width:100%;max-height:480px;object-fit:contain}.social-caption1170{white-space:pre-wrap}#social-dialog1170{max-width:700px;width:90vw;max-height:85vh;overflow:auto}#social-login1170{max-width:420px}
#column-picker1171{position:fixed;z-index:1500;width:265px;max-height:calc(100vh - 16px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px;box-shadow:0 12px 40px #0005}#column-picker1171>p{color:var(--muted);font-size:13px;margin:6px 10px 10px}#column-picker1171 button{display:flex;align-items:center;gap:14px;width:100%;border:0;border-radius:7px;padding:11px 10px;text-align:left;background:transparent}#column-picker1171 button:hover,#column-picker1171 button:focus-visible{background:var(--chip-bg)}#column-picker1171 svg,.column-library-tabs1171 svg,.column-library-row1171>svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:var(--muted);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.column-picker-divider1171{border-top:1px solid var(--line);margin:8px 0}.column-library-tabs1171{display:flex;gap:8px;padding:10px 0 18px;border-bottom:1px solid var(--line);margin-bottom:18px}.column-library-tabs1171 button{display:flex;gap:8px;align-items:center;border:0}.column-library-tabs1171 [aria-selected=true]{background:var(--chip-bg);color:var(--accent)}.column-library-choice1171{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:14px 0}.column-library-choice1171 input{width:16px!important;height:16px!important;flex:0 0 16px;accent-color:var(--accent)}.column-library-search1171{display:flex;gap:12px;margin-bottom:16px}.column-library-search1171 input{min-width:0;flex:1}.column-library-row1171{width:100%;display:flex;gap:14px;align-items:center;text-align:left;padding:16px;border:1px solid var(--line);border-radius:10px;margin:10px 0}.column-library-row1171>span:nth-child(2){flex:1;min-width:0}.column-library-row1171 small{display:block;color:var(--muted);margin:5px 0}.column-library-options1171{display:flex;gap:5px;flex-wrap:wrap}.column-library-add1171{font-size:22px;color:var(--accent)}.column-library-empty1171{text-align:center;padding:36px 16px;color:var(--muted)}.column-library-empty1171 svg{width:46px;height:46px;fill:none;stroke:var(--muted);stroke-width:1.5}.column-library-empty1171 h3{color:var(--text)}@media(max-width:600px){.column-library-search1171{flex-direction:column}.column-library-tabs1171{flex-wrap:wrap}}
.multi-pills1171{display:flex;gap:4px;flex-wrap:wrap}.multi-pills1171 .option-pill{white-space:nowrap}#multi-error1171{font-size:12px;color:var(--danger)}

.column-library-actions1171{display:flex;align-items:center;gap:10px}.column-library-actions1171 button{background:transparent;border:0;padding:6px;min-width:32px}.column-library-delete1171{color:var(--muted);font-size:18px}.column-library-delete1171:hover{color:#ff8da1}

.field-type-select-icon1171 svg,.select-value>svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.select-value:has(>svg){display:flex;align-items:center;gap:10px}.field-type-select-icon1171{display:flex;align-items:center;flex:none}

.field-editor-modal>.column-library-tabs1171{padding:10px 26px 18px;gap:12px}.field-editor-modal>p.muted{margin:0 26px 14px}.field-editor-modal>.column-library-tabs1171 button{padding:10px 14px}@media(max-width:500px){.field-editor-modal>.column-library-tabs1171{padding-left:18px;padding-right:18px}.field-editor-modal>p.muted{margin-left:18px;margin-right:18px}}

.shared-timer1171{display:block;font-size:12px;color:var(--muted);margin-top:4px;white-space:nowrap}

.column-library-edit1171 svg{width:19px;height:19px;fill:none;stroke:var(--muted);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.view-tools1171{margin-left:auto;display:flex;align-items:center;gap:12px}.view-tools1171 button{display:flex;gap:7px;align-items:center;border:0;background:transparent;color:var(--muted);padding:8px}.view-tools1171 svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#view-tools-popup1171{position:fixed;z-index:1600;width:245px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px #0005}#view-tools-popup1171 label{display:block;margin:0 0 10px}#view-tools-popup1171 .themed-select-wrap{display:block;margin-top:6px}
.customize-icon-button1171{display:inline-flex;align-items:center;gap:8px}.customize-grid-icon1171{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

svg.settings-gear1171{width:20px!important;height:20px!important;min-width:20px;max-width:20px;flex:0 0 20px!important;fill:currentColor!important;stroke:none!important;color:inherit;display:inline-block;vertical-align:middle}.settings-gear1171 path{fill:currentColor;stroke:none}
.view-tools1171 .active-sort1171{background:#073678;color:#8bb4ff;border-radius:10px 0 0 10px;padding-right:8px;margin-right:0}.view-tools1171 .clear-sort1171{background:#073678;color:#8bb4ff;border-radius:0 10px 10px 0;margin-left:-8px;margin-right:8px;font-size:25px;padding:4px 12px;min-height:36px}.stage-sort-indicator1171{display:inline-flex;vertical-align:middle;margin-left:7px}.stage-sort-indicator1171 svg{width:18px;height:18px}

.view-tools1171 .active-sort1171{background:#00275f;border:0;color:#75a8fa;height:40px;min-height:40px;border-radius:10px 0 0 10px;padding:8px 10px 8px 14px;gap:7px;font-weight:600}.view-tools1171 .clear-sort1171{background:#00275f;border:0;color:#75a8fa;height:40px;min-height:40px;border-radius:0 10px 10px 0;margin-left:-10px;padding:8px 12px 8px 6px}.view-tools1171 .clear-sort1171 svg{width:21px;height:21px}
.view-tools1171 button.active-sort1171,.view-tools1171 button.clear-sort1171{border:0!important;box-shadow:none!important;background:#00275f!important}.view-tools1171 button.clear-sort1171{margin-left:-10px!important}
/* Local preview changes: one scrolling table with its real interactive header. */
.content:has(>.table-scroll){overflow:hidden;display:flex;flex-direction:column;padding-bottom:22px}
.content>.table-scroll{flex:1;min-height:0;overflow:auto;position:relative}
.tasktable thead th{position:sticky!important;top:0;z-index:20;background:var(--bg);box-shadow:inset 0 -1px var(--line)}
.theme-buttons-preview{display:flex;align-items:center;gap:8px;padding:8px 10px;font-size:14px;color:inherit}
.theme-buttons-preview>span{margin-right:auto}.theme-buttons-preview button{width:34px!important;height:34px;min-height:34px;padding:5px!important;display:grid!important;place-items:center;flex:0 0 34px}
.theme-buttons-preview svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-buttons-preview button[aria-pressed=true]{background:var(--chip-bg);color:var(--chip-text);outline:1px solid var(--accent)}
.sidebar-compact .theme-buttons-preview>span{display:none}.sidebar-compact .theme-buttons-preview{justify-content:center}
#chat-send.message-send-preview{height:36px;width:36px;min-width:36px;border:0;border-radius:50%;padding:7px;align-self:end;background:#009cff;color:white;display:grid;place-items:center}
#chat-send.message-send-preview svg{height:23px;width:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.archive-page-preview{max-width:1500px;width:100%;overflow:auto;margin:0 auto}.archive-breadcrumb-preview{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0 24px}
.archive-page-preview input{max-width:520px;width:100%}.archive-card-icon-preview .icon{height:28px;width:28px;color:var(--accent)}.archive-detail-preview article{border-top:1px solid var(--line);padding:12px 0}
.task-drop-invalid #projects [data-drag-project]:hover,.section-drop-invalid #projects [data-drag-project]:hover{outline:1px solid var(--accent)}

.admin-timer-preview{font-size:11px;padding:3px 5px}.time-cell{white-space:normal}

.content:has(>.table-scroll){padding-left:0}

.archive-section-card-preview .archive-open-preview{display:block;text-align:left;border:0;background:transparent;color:inherit;padding:0;width:100%}.archive-section-card-preview .archive-restore-preview{margin-top:16px;padding:7px 12px;color:var(--accent)}

#social-nav1170>.icon,#archive-nav-preview>.icon{width:21px;height:21px;flex:0 0 21px}

.primary-nav button,.projectlink{transition:none}

#client-video-nav-preview>.icon{width:21px;height:21px;flex:0 0 21px}

.time-cell .timer-action{border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:4px 7px;font-size:12px;line-height:1.4;margin:2px 2px;white-space:nowrap}.time-cell .timer-action:hover{background:var(--hover)}

.sidebar-settings .settings-items>.popup-close{display:grid!important;place-items:center!important;width:28px!important;min-width:28px;height:28px;min-height:28px;padding:0!important;margin:0 6px 8px auto;border:0;border-radius:50%;background:#ff5d65;color:#181818;font-size:17px;line-height:1;flex:none}.sidebar-settings .settings-items>.popup-close:hover{background:#ff7780}

.settings-items button[onclick="accounts()"]>.icon{width:21px;height:21px;flex:0 0 21px}

.settings-items button[onclick="apiSetupPreview()"]>.icon{width:21px;height:21px;flex:0 0 21px}

#chat-form{align-items:center}#chat-form #emoji-toggle,#chat-send.message-send-preview{align-self:center;margin-top:0;margin-bottom:0}

#emoji-picker{max-height:320px;overflow-y:auto;overscroll-behavior:contain}#emoji-picker>.popup-close{display:none!important}

#mitplus-nav-preview>.icon{width:21px;height:21px;flex:0 0 21px}

#project-drop-arrow-preview{position:fixed;z-index:2500;pointer-events:none;display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid var(--accent);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 4px 18px #0004;font-size:13px;max-width:320px}#project-drop-arrow-preview svg{width:32px;height:24px;flex:none;fill:none;stroke:var(--accent);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}

#project-drop-arrow-preview.drop-forbidden-preview{border-color:#e53935}#project-drop-arrow-preview.drop-forbidden-preview svg{stroke:#e53935}

.section-heading .section-drag-handle:focus-visible,.task-drag-handle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:7px}

/* Short, quiet entrances; existing positions and instant navigation highlights stay intact. */
@keyframes mark-surface-enter-preview{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
@keyframes mark-backdrop-enter-preview{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
 dialog[open]{animation:mark-surface-enter-preview 180ms cubic-bezier(0,0,.38,.9)}
 dialog[open]::backdrop{animation:mark-backdrop-enter-preview 150ms ease-out}
 #column-picker1171,#field-popover,#view-tools-popup1171,#emoji-picker,.assignee-popup,.color-grid-popover,.create-menu,.menu-panel,.section-overflow-popup,.task-context-menu,.task-section-menu,.themed-select-popup,.sidebar-settings[open] .settings-items{animation:mark-surface-enter-preview 120ms cubic-bezier(0,0,.38,.9)}
}

/* Settings remains the bottom toggle, with its menu above it. */
.sidebar-settings[open]{display:flex;flex-direction:column}
.sidebar-settings>summary,.sidebar-settings[open]>summary{display:flex!important;order:2}
.sidebar-settings>.settings-items{order:1}
.sidebar-settings>summary .settings-caret,.sidebar-settings[open]>summary .settings-caret{transform:none;width:16px;height:16px;flex:0 0 16px}
.sidebar-settings>summary .nav-text{display:inline!important}
.sidebar-settings .settings-items>.popup-close{display:none!important}
.sidebar-compact .sidebar-settings>summary{padding:10px 2px;gap:4px;font-size:11px}
.sidebar-compact .sidebar-settings>summary>.icon{display:none}
.sidebar-compact .sidebar-settings[open] .settings-items{position:absolute;left:0;bottom:100%;width:245px;max-height:65vh}

/* Turn the Settings chevron before revealing its menu. */
.sidebar-settings>summary .settings-caret{transform:rotate(90deg);transition:transform 150ms cubic-bezier(.2,0,.38,.9)}
.sidebar-settings[open]>summary .settings-caret{transform:rotate(0deg)}
@media(prefers-reduced-motion:no-preference){
 .sidebar-settings[open] .settings-items{animation-delay:150ms;animation-fill-mode:backwards}
}
@media(prefers-reduced-motion:reduce){
 .sidebar-settings>summary .settings-caret{transition:none}
}

.sidebar-collapse-control svg{transform:rotate(180deg);transition:transform 180ms cubic-bezier(.2,0,.38,.9)}
.sidebar-compact .sidebar-collapse-control svg{transform:rotate(0deg)}
@media(prefers-reduced-motion:reduce){.sidebar-collapse-control svg{transition:none}}

.sidebar-project .project-add-child{width:24px;min-width:24px;flex:0 0 24px;height:30px;padding:4px;display:flex;align-items:center;justify-content:center;color:var(--nav-text);border:0;background:transparent}
.sidebar-project .project-add-child .icon{width:14px;height:14px}
.sidebar-project .project-add-child:hover{background:var(--nav-hover)}
.sidebar-compact .project-add-child{display:none}
.archive-calendar-header-preview{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px;flex-wrap:wrap}.archive-calendar-header-preview>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.archive-calendar-header-preview input{width:160px}.archive-calendar-scroll-preview{overflow-x:auto}.archive-calendar-preview .day{min-height:130px}.archive-calendar-preview .archive-calendar-entry-preview{white-space:normal;text-align:left;width:100%;overflow-wrap:anywhere;margin-top:8px;padding:7px;background:var(--surface);border-left:3px solid var(--accent)}.archive-calendar-entry-preview small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.archive-outside-month-preview>time{opacity:.4}.archive-today-preview{display:inline-grid;place-items:center;background:var(--accent);color:white;border-radius:50%;width:26px;height:26px}.archive-search-results-preview{display:grid;gap:12px;margin-top:20px}.archive-search-results-preview article{padding:12px;border:1px solid var(--line);border-radius:8px}
.archive-calendar-header-preview .archive-mode-switch-preview{display:flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:24px;background:var(--surface)}.archive-mode-switch-preview button{border:0;border-radius:20px;padding:7px 17px;background:transparent}.archive-mode-switch-preview button[aria-pressed="true"]{background:var(--nav-hover);color:var(--text)}.archive-year-grid-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:24px}.archive-mini-month-preview{display:block;text-align:left;background:transparent;border:1px solid transparent;padding:12px;border-radius:10px;min-width:0}.archive-mini-month-preview:hover{border-color:var(--accent);background:var(--surface)}.archive-mini-month-preview h3{color:var(--accent);margin:0 0 14px;font-size:17px}.archive-mini-days-preview{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px 2px;text-align:center;font-size:12px}.archive-mini-days-preview span{height:23px;display:grid;place-items:center}.mini-outside-preview{opacity:.35}.mini-has-archive-preview{font-weight:700;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:4px}.mini-today-preview{border-radius:50%;background:var(--accent);color:white}@media(max-width:1100px){.archive-year-grid-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}@media(max-width:850px){.archive-year-grid-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.archive-year-grid-preview{grid-template-columns:1fr}}
.archive-calendar-header-preview .archive-year-select-preview{font:inherit;font-weight:inherit;color:var(--text);background:transparent;border:0;border-radius:6px;padding:4px 8px;cursor:pointer;width:auto}.archive-year-select-preview:hover{background:var(--surface)}.archive-year-select-preview option{background:var(--surface);color:var(--text)}
.archive-calendar-header-preview h2{margin-left:auto;text-align:right}.archive-calendar-header-preview>div:empty{display:none}
.archive-year-grid-preview{gap:10px 12px;margin-top:16px}.archive-mini-month-preview{padding:8px}.archive-mini-month-preview h3{margin-bottom:9px}.archive-mini-days-preview{gap:3px 2px}.archive-mini-days-preview span{height:20px}

.archive-calendar-header-preview{position:relative}.archive-centered-month-preview{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center}@media(max-width:550px){.archive-centered-month-preview{position:static;display:inline-block;transform:none;margin-right:8px}}
#chat-form #emoji-toggle{width:36px;height:36px;min-width:36px;min-height:36px;flex:0 0 36px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
@keyframes mark-unread-message-glow{0%,100%{background:transparent;box-shadow:0 0 0 transparent;color:var(--text)}50%{background:var(--accent);color:#fff;box-shadow:0 0 14px color-mix(in srgb,var(--accent) 65%,transparent)}}
.messages-open:has(b){border-radius:18px;background:color-mix(in srgb,var(--accent) 25%,transparent);color:var(--text)}
@media(prefers-reduced-motion:no-preference){.messages-open:has(b){animation:mark-unread-message-glow 2.4s ease-in-out infinite}}
@keyframes mark-unread-message-amber{0%,100%{background:transparent;box-shadow:0 0 0 transparent;color:var(--text)}50%{background:#ffc247;color:#241800;box-shadow:0 0 18px #ffc24799}}
.messages-open:has(b){background:#ffc24730}
@media(prefers-reduced-motion:no-preference){.messages-open:has(b){animation:mark-unread-message-amber 4.8s ease-in-out infinite}}
.messages-open:has(b){animation:none!important;background:#ffc24730;box-shadow:none}
.messages-open:has(b){animation:none!important;background:transparent;color:var(--text);box-shadow:none}

.messages-open{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:7px;overflow:visible}.message-bell-preview{width:25px;height:25px;transform-origin:50% 18%;flex:none}.messages-open>b{position:absolute;top:-3px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;font-size:10px;line-height:16px;text-align:center;background:var(--accent);color:#fff}.messages-open:has(b){border-radius:6px}
@keyframes mark-bell-ring-preview{0%,24%,100%{transform:rotate(0)}3%,11%,19%{transform:rotate(14deg)}7%,15%{transform:rotate(-14deg)}22%{transform:rotate(-5deg)}}
@media(prefers-reduced-motion:no-preference){.messages-open:has(b) .message-bell-preview{animation:mark-bell-ring-preview 5s ease-in-out infinite}}
@keyframes mark-bell-sway-preview{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(12deg)}}
@media(prefers-reduced-motion:no-preference){.messages-open:has(b) .message-bell-preview{animation:mark-bell-sway-preview 3.6s ease-in-out infinite}}
@keyframes mark-bell-sway-preview{0%,100%{transform:rotate(-24deg)}50%{transform:rotate(24deg)}}

.messages-open>b{background:#f52c43;color:white;top:0;right:-3px;border:2px solid var(--nav);height:18px;min-width:18px;line-height:14px}

.message-bell-unit-preview{position:relative;display:inline-flex;width:30px;height:32px;align-items:center;justify-content:center;transform-origin:50% 18%;overflow:visible}.messages-open:has(b) .message-bell-preview{animation:none}.message-bell-preview{width:30px;height:32px;overflow:visible}.message-bell-unit-preview>b{position:absolute;top:1px;right:-5px;min-width:16px;height:16px;padding:0 3px;border:2px solid var(--nav);border-radius:50%;background:#f52c43;color:#fff;font-size:10px;line-height:12px;text-align:center}.messages-open{min-width:48px;height:44px;padding:6px 9px}
@media(prefers-reduced-motion:no-preference){.messages-open:has(b) .message-bell-unit-preview{animation:mark-bell-sway-preview 3.6s ease-in-out infinite}}
.messages-open:has(b) .message-bell-unit-preview,.messages-open:has(b) .message-bell-preview{animation:none!important;transform:none}

/* Keep injected navigation items compact without losing accessible names. */
.sidebar-compact .primary-nav>div:not(.home-nav-row)>button{width:44px;margin-left:16px;padding:8px;justify-content:center;gap:0}
.sidebar-compact .primary-nav>div:not(.home-nav-row)>button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sidebar-compact .sidebar-settings>summary>.nav-text{display:none!important}

.sidebar-order-target1191{background:var(--nav-hover);outline:1px solid var(--muted);outline-offset:-2px;border-radius:6px}

/* Sidebar project pointer reorder: suppress native drag and show grasp feedback. */
#projects .projectlink { cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none; }
#projects .projectlink img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
body.sidebar-grabbing1192, body.sidebar-grabbing1192 * { cursor: grabbing !important; user-select: none !important; }

.theme-slider1192{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 4px}
.theme-symbol1192{display:flex;color:var(--muted,#a5a7b1)}
.theme-symbol1192 svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-switch1192{position:relative;box-sizing:border-box;width:76px;height:40px;min-width:76px;border-radius:24px;border:1px solid #b8bec9;padding:4px;background:#d7dbe3;box-shadow:inset 2px 3px 7px #0003;cursor:pointer;transition:background 260ms ease,border-color 260ms ease}
.theme-switch1192 .theme-thumb1192{display:block;width:30px;height:30px;border-radius:50%;background:linear-gradient(145deg,#fff,#e6e8ee);box-shadow:1px 2px 5px #0004,inset 0 1px 2px #fff9;transform:translateX(0);transition:transform 280ms cubic-bezier(.2,.75,.25,1),background 260ms ease}
.theme-switch1192[aria-checked="true"]{background:#252935;border-color:#545c70}
.theme-switch1192[aria-checked="true"] .theme-thumb1192{transform:translateX(36px);background:linear-gradient(145deg,#9ba4b8,#727c92)}
.theme-switch1192:focus-visible{outline:2px solid var(--accent,#9c8aff);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.theme-switch1192,.theme-switch1192 .theme-thumb1192{transition:none}}

/* Compact appearance control. */
.theme-slider1192{gap:10px;padding:8px 4px}
.theme-symbol1192 svg{width:21px;height:21px}
.theme-switch1192{width:58px;min-width:58px;height:32px;padding:3px}
.theme-switch1192 .theme-thumb1192{width:24px;height:24px}
.theme-switch1192[aria-checked="true"] .theme-thumb1192{transform:translateX(26px)}

.theme-slider1192{width:100%;align-self:center;margin:0 auto;padding:7px 0;gap:9px;justify-content:center}
.theme-symbol1192 svg{width:18px;height:18px}
.theme-switch1192{width:50px;min-width:50px;height:28px;padding:3px;flex:0 0 50px}
.theme-switch1192 .theme-thumb1192{width:20px;height:20px}
.theme-switch1192[aria-checked="true"] .theme-thumb1192{transform:translateX(22px)}

/* Wider, flatter theme switch. */
.theme-switch1192{width:64px;min-width:64px;flex-basis:64px;height:24px;padding:2px}
.theme-switch1192 .theme-thumb1192{width:18px;height:18px}
.theme-switch1192[aria-checked="true"] .theme-thumb1192{transform:translateX(40px)}

/* Keep the track only slightly taller than its thumb, overriding sidebar button sizing. */
#workspace-sidebar footer .theme-switch1192{height:24px;min-height:24px;padding:2px;line-height:1;display:block}

#workspace-sidebar footer .theme-slider1192{justify-content:flex-start;padding:7px 12px;gap:9px}
/* HD order import workspace: progressive setup and date-grouped preview. */
dialog:has(.hd-import1198){width:min(1120px,calc(100vw - 32px));max-width:none;padding:26px;max-height:92vh}.hd-import1198{font-size:14px}.hd-import1198 h3{margin:0 0 8px;font-size:18px}.hd-import1198 p{line-height:1.5}.hd-import1198 .muted{color:var(--muted);font-size:13px}.hd-heading1198{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 22px}.hd-heading1198 h3{font-size:26px;margin:0}.hd-heading1198 p{margin:5px 0}.hd-eyebrow1198{font-size:10px!important;letter-spacing:.12em;color:var(--muted)}.hd-status1198{border:1px solid var(--line);border-radius:24px;padding:7px 12px;color:var(--muted);white-space:nowrap;font-size:12px}.hd-tabs1198{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:10px}.hd-tabs1198 button{border:0;background:transparent;padding:9px 16px;color:var(--muted)}.hd-tabs1198 button[aria-pressed=true]{background:var(--hover);color:var(--text);font-weight:600}.hd-import1198 [hidden]{display:none!important}.hd-toolbar1198{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.hd-toolbar1198 p{margin:0}.hd-import1198 input[type=checkbox]{width:16px;height:16px;flex:none;margin:0;accent-color:var(--accent)}.hd-import1198 label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;margin:10px 0;color:var(--text);font-size:13px;line-height:1.45}.hd-empty1198{padding:48px 20px;border:1px dashed var(--line);border-radius:10px;text-align:center;color:var(--muted)}.hd-import-footer1198{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0 8px;margin-top:18px;border-top:1px solid var(--line)}.hd-note1198{max-width:760px}.hd-setup-grid1198{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hd-card1198{border:1px solid var(--line);border-radius:10px;padding:20px;min-width:0}.hd-card1198>label{display:block;font-size:12px;color:var(--muted);margin:16px 0}.hd-card1198 select,.hd-card1198 input[type=date]{width:100%;margin-top:6px;min-height:40px;font-size:14px}.hd-check-grid1198{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.hd-date1198{margin-bottom:24px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.hd-date1198 h4{display:flex;gap:12px;align-items:center;margin:0;padding:14px 18px;background:var(--hover);font-size:15px}.hd-date1198 h4 span{font-size:12px;color:var(--muted);font-weight:400}.hd-order1198{padding:10px 18px;border-top:1px solid var(--line)}.hd-order-title1198{display:flex;align-items:center;justify-content:space-between;gap:12px}.hd-order-title1198 strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.hd-source1198{font-size:11px;color:var(--muted);flex:none}.hd-service-list1198{margin-left:26px}.hd-service-list1198 small{color:var(--muted);margin-left:auto}.hd-order1198>p{margin:8px 0 6px 26px}.hd-feedback1198:empty{display:none}.hd-feedback1198{padding:12px 14px;border-radius:8px;background:var(--hover);white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.hd-import1198 details{margin:20px 0}.hd-import1198 summary{cursor:pointer;color:var(--muted)}.hd-details-grid1198{display:grid;grid-template-columns:150px 1fr;gap:12px}.hd-details-grid1198 dt{color:var(--muted)}.hd-details-grid1198 dd{margin:0;overflow-wrap:anywhere}.hd-details1198{font-size:11px;padding:2px 6px;margin-left:6px;white-space:nowrap}#hd-service-types{max-height:220px;overflow:auto;padding-right:8px}@media(max-width:680px){dialog:has(.hd-import1198){padding:18px;width:calc(100vw - 16px)}.hd-setup-grid1198{grid-template-columns:1fr}.hd-heading1198,.hd-toolbar1198,.hd-order-title1198{align-items:flex-start;flex-direction:column;gap:8px}.hd-heading1198 h3{font-size:22px}.hd-tabs1198 button{padding:8px 10px}.hd-check-grid1198{grid-template-columns:1fr}.hd-import-footer1198{align-items:flex-start;flex-direction:column}.hd-import-footer1198 button{width:100%}.hd-source1198{margin-left:26px}.hd-details-grid1198{grid-template-columns:1fr}}
.hd-service-rule1198{padding:8px 0;border-bottom:1px solid var(--line)}.hd-service-rule1198>div{display:flex;align-items:center;gap:4px;margin-left:26px}.hd-service-rule1198 input[data-hd-alias]{min-width:0;width:100%;font-size:12px;padding:6px 8px}.hd-service-rule1198 button{padding:3px 7px;font-size:12px}.hd-service-rule1198 label{margin:2px 0 8px!important}#hd-service-types{max-height:360px}
.hd-status1198[data-on=true]{color:var(--success-text);background:var(--success-bg);border-color:transparent}

.hd-combine-card1205{border:1px solid var(--line);border-radius:10px;padding:14px;margin:12px 0}.hd-combine-card1205 summary{cursor:pointer;font-weight:600}.hd-combine-fields1205{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.hd-combine-actions1205{display:flex;gap:8px;margin-top:12px}.hd-ordered1205{border:1px solid var(--line);border-radius:10px;padding:18px;margin:20px 0}.hd-ordered1205 ul{padding-left:20px}.hd-ordered1205 li{margin:10px 0;display:flex;justify-content:space-between;gap:12px}.hd-ordered1205 small{flex-shrink:0}@media(max-width:600px){.hd-combine-fields1205{grid-template-columns:1fr}.hd-ordered1205 li{display:block}}

/* v1.21.6 welcome, compact shared import and visible horizontal navigation. */
.mark-welcome1216{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--bg);color:var(--text);padding:32px;text-align:center;animation:mark-welcome-in1216 .28s ease-out}.mark-welcome1216 h1{font-size:clamp(26px,4vw,46px);letter-spacing:-.04em;font-weight:600}.mark-welcome1216 p{margin:0;color:var(--muted)}.mark-welcome-orbit1216{width:58px;height:58px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:mark-welcome-orbit1216 1s linear infinite}.quick-order1216{display:flex;align-items:center;gap:8px;max-width:100%;margin:0}.quick-order1216 input{width:150px;min-width:90px;padding:8px 10px}.quick-order1216 button{white-space:nowrap}.quick-order1216 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.table-scroll,.pinned-scroll-source{overflow-x:auto!important;touch-action:auto}@keyframes mark-welcome-in1216{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes mark-welcome-orbit1216{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.mark-welcome1216,.mark-welcome-orbit1216{animation:none}}@media(max-width:650px){.projecthead .heading{flex-wrap:wrap;gap:12px}.projecthead .summary{width:100%;justify-content:flex-end}.quick-order1216{width:100%}.quick-order1216 input{flex:1}}

.quick-parent1216,.quick-services1216 label{display:flex;align-items:flex-start;gap:12px;color:var(--text);margin:12px 0}.quick-parent1216 input,.quick-services1216 input{width:18px;height:18px;flex:0 0 18px;margin:2px 0}.quick-parent1216 strong{font-size:18px}.quick-services1216{margin:18px 0 18px 30px}.quick-services1216 label{line-height:1.6}


/* One browser-managed scrolling surface for both table axes. */
.content:has(>.table-scroll){overflow:hidden;padding-bottom:0}
.content>.table-scroll{min-width:0;min-height:0;overflow:auto!important;touch-action:auto;scrollbar-width:auto;scrollbar-color:auto;scrollbar-gutter:stable}

/* Personal sidebar sizing and readable long project names. */
@media(min-width:761px){.layout>aside{position:relative}}
#sidebar-size1230{position:absolute;right:0;top:0;bottom:0;width:7px;cursor:col-resize;touch-action:none;z-index:70}#sidebar-size1230:hover,#sidebar-size1230:focus-visible{background:var(--accent);opacity:.6}
#sidebar-size1230[hidden]{display:none}.layout:not(.sidebar-compact) .projectlink{height:auto;min-height:38px}.layout:not(.sidebar-compact) .projectlink .nav-text{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;min-width:0}

/* Unified client reviews and configurable pending-work alerts. */
.workspace-page-head1240{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px 22px;flex-wrap:wrap}.workspace-page-head1240 h1{font-size:28px;letter-spacing:-.6px;margin:5px 0 8px}.workspace-page-head1240 p{margin:0}.eyebrow1240{font-size:11px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}.segmented1240{display:flex;padding:4px;gap:4px;background:var(--soft);border:1px solid var(--line);border-radius:12px}.segmented1240 button{background:transparent;border:0;border-radius:8px;padding:10px 16px;color:var(--muted);white-space:nowrap}.segmented1240 button[aria-pressed=true]{background:var(--accent);color:white}.settings-page1240{max-width:1050px;margin:0 auto;padding:0 28px 40px}.settings-page1240 .workspace-page-head1240{padding-left:0;padding-right:0}.timezone1240{border:1px solid var(--line);border-radius:20px;padding:7px 12px;font-size:12px;color:var(--muted)}.alert-explainer1240{border-left:3px solid var(--accent);padding:6px 18px;margin:4px 0 28px}.alert-explainer1240 p{color:var(--muted);font-size:13px;line-height:1.6;max-width:780px;margin:8px 0}.alert-rule-card1240{padding:24px;margin:18px 0;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.alert-rule-card1240>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.alert-switch1240{display:flex!important;align-items:center;gap:10px;font-size:17px;font-weight:650;margin:0!important}.alert-switch1240 input,.alert-name-grid1240 input{width:17px!important;height:17px;flex:none;accent-color:var(--accent);margin:0}.alert-rule-card1240>header button{font-size:12px;color:var(--muted);background:transparent;border:0}.alert-fields1240{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.alert-fields1240 label{font-size:12px;color:var(--muted);margin:0;display:flex;flex-direction:column;gap:8px}.alert-fields1240 input,.alert-fields1240 select{width:100%;min-width:0;height:42px;font-size:14px;color:var(--text)}.alert-rule-card1240 details{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;font-size:13px}.alert-rule-card1240 summary{cursor:pointer}.alert-name-grid1240{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:240px;overflow:auto;margin:16px 0}.alert-name-grid1240 label{display:flex;align-items:center;gap:9px;margin:0;line-height:1.4}.alert-rule-check1240{display:flex;align-items:center;gap:12px;margin-top:20px;font-size:12px;color:var(--muted)}.alert-rule-check1240 button{font-size:12px}.alert-settings-footer1240{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:22px 0;margin-top:26px;font-size:13px;color:var(--muted)}dialog:has(#pending-alert1240){max-width:680px}.pending-alert-group1240 h3{display:flex;align-items:center;gap:8px;font-size:15px}.pending-alert-group1240 h3 span{background:var(--soft);padding:3px 8px;border-radius:12px;font-size:12px}.pending-alert-group1240 ul{list-style:none;padding:0;max-height:300px;overflow:auto}.pending-alert-group1240 li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.pending-alert-group1240 small{display:block;color:var(--muted);margin-top:5px}.pending-alert-group1240 button{font-size:12px;white-space:nowrap}#pending-alert1240>.primary{margin-top:18px}@media(max-width:740px){.alert-fields1240{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-page1240{padding:0 16px 25px}.workspace-page-head1240{padding:22px 16px}.alert-rule-card1240{padding:18px}}@media(max-width:460px){.alert-fields1240,.alert-name-grid1240{grid-template-columns:1fr}.alert-settings-footer1240{align-items:flex-start;flex-direction:column}.workspace-page-head1240 h1{font-size:24px}.segmented1240{width:100%}.segmented1240 button{flex:1}}

.alert-header-actions1241{display:flex;flex-direction:column-reverse;align-items:center;gap:8px}.alert-settings-close1241{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:7px;border:0;border-radius:50%;background:var(--soft);color:var(--muted);flex:none}.alert-settings-close1241:hover{background:var(--hover);color:var(--text)}.alert-settings-close1241 svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}

.settings-page1240{position:relative}.settings-page1240>.workspace-page-head1240{padding-right:44px}.alert-header-actions1241{position:absolute;top:24px;right:4px;display:flex;align-items:center}

/* Description editor: formatting stays scoped to the open task. */
.description-editor1250{position:relative;border:1px solid var(--line);border-radius:9px;background:var(--bg);margin:12px 0 24px}.desc-toolbar1250{display:flex;align-items:center;gap:3px;padding:10px 12px;flex-wrap:wrap;color:var(--muted)}.desc-toolbar1250>i{height:25px;border-left:1px solid var(--line);margin:0 6px}.desc-toolbar1250 button{position:relative;border:0;background:transparent;color:var(--muted);padding:7px;min-width:30px;height:34px;font-size:19px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.desc-toolbar1250 button:hover,.desc-toolbar1250 button[aria-pressed=true]{background:var(--hover);color:var(--text)}.desc-toolbar1250 button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.desc-toolbar1250 .desc-style1250{font-size:14px;font-weight:600;min-width:146px;justify-content:space-between}.desc-canvas1250{padding:16px 18px;min-height:175px;line-height:1.6;font-size:15px;overflow-wrap:anywhere;white-space:pre-wrap;outline:0}.desc-canvas1250:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.desc-canvas1250 h1{font-size:26px}.desc-canvas1250 h2{font-size:22px}.desc-canvas1250 h3{font-size:18px}.desc-canvas1250 p,.desc-canvas1250 div{margin:0 0 8px}.desc-canvas1250 pre{background:var(--soft);font:13px/1.6 ui-monospace,monospace;padding:14px;border-radius:7px;white-space:pre-wrap}.desc-canvas1250 code{font-family:ui-monospace,monospace;background:var(--soft);border-radius:4px;padding:2px 4px}.desc-canvas1250 blockquote{border-left:3px solid var(--accent);margin-left:0;padding-left:16px;color:var(--muted)}.desc-canvas1250 a{color:var(--accent);text-decoration:underline}.desc-save1250{display:block;padding:3px 18px 9px;font-size:11px;color:var(--muted);min-height:20px}.desc-menu1250{position:absolute;top:52px;left:12px;width:310px;max-width:calc(100% - 24px);max-height:360px;overflow:auto;background:var(--surface);box-shadow:0 10px 34px var(--shadow);border:1px solid var(--line);border-radius:9px;padding:7px;z-index:12}.desc-menu1250[hidden]{display:none}.desc-menu1250 button[role=menuitem]{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:5px;text-align:left;border:0;background:transparent;padding:11px 9px;color:var(--text)}.desc-menu1250 button[role=menuitem]>span{flex:1}.desc-menu1250 button:hover,.desc-menu1250 button:focus{background:var(--hover)}.desc-menu1250 hr{border:0;border-top:1px solid var(--line);margin:5px 0}.desc-menu1250 kbd,.desc-tip1250 kbd{font:12px system-ui;border:1px solid var(--line);border-radius:4px;padding:2px 5px;background:var(--soft)}.desc-tip1250{display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:8px 10px;background:var(--surface);border:1px solid var(--line);box-shadow:0 4px 12px var(--shadow);border-radius:7px;font-size:13px;white-space:nowrap;color:var(--text);z-index:20;pointer-events:none}.desc-tip1250>span{display:flex;justify-content:center;gap:4px;margin-top:6px}.desc-toolbar1250 button:hover .desc-tip1250,.desc-toolbar1250 button:focus-visible .desc-tip1250{display:block}.desc-colors1250{display:flex;gap:8px;padding:10px}.desc-colors1250 button{width:30px;height:30px;border-radius:50%;border:1px solid var(--line)}.desc-menu1250 label{padding:8px;font-size:12px}.desc-link1250 input{width:100%;min-width:0}.desc-link1250 button{margin:5px}.paused-actions1250{display:inline-flex;gap:5px;margin-left:12px}.paused-actions1250 button{font-size:12px;padding:4px 8px}.timer-finished1250{color:var(--muted);padding:6px 0}.performance-project-link1250{border:0;background:transparent;color:var(--text);padding:0;font:inherit;text-align:left}.performance-project-link1250:hover{text-decoration:underline}.performance-project-link1250>span{color:var(--muted);font-size:12px}.project-back1250{border:0;background:transparent;color:var(--muted);padding:5px 0}.project-summary1250{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0}.project-summary1250 article{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px}.project-summary1250 span{display:block;font-size:12px;color:var(--muted);margin-bottom:14px}.project-summary1250 strong{font-size:23px}.project-extra-filters1250{display:grid;grid-template-columns:1fr 2fr;gap:16px;margin:16px 0}.project-extra-filters1250 label{font-size:12px;color:var(--muted)}.project-extra-filters1250 input,.project-extra-filters1250 select{width:100%;margin-top:7px}.project-status1250>div{display:flex;align-items:center;gap:10px;margin:14px 0}.project-status1250>div>span{flex:1}.project-status1250 i{width:10px;height:10px;border-radius:50%}.project-overview1250 h2{margin:18px 0 6px}.project-overview1250 .dashboard-table small{display:block;color:var(--muted);margin-top:4px}@media(max-width:780px){.project-summary1250{grid-template-columns:repeat(2,minmax(0,1fr))}.project-extra-filters1250{grid-template-columns:1fr}.desc-toolbar1250{padding:6px}.desc-toolbar1250>i{margin:0 3px}}

.project-donut1250{height:160px;width:160px;margin:18px auto;border-radius:50%;display:grid;place-items:center}.project-donut1250>span{width:112px;height:112px;border-radius:50%;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:28px;font-weight:600}.project-donut1250 small{font-size:10px;color:var(--muted);font-weight:400;margin-top:5px}

.compact-timer1250{display:inline-flex;align-items:center;gap:10px;min-width:0}.compact-play1250{display:inline-grid!important;place-items:center;border:0!important;border-radius:6px!important;background:#0089ef!important;color:white!important;width:20px!important;height:20px!important;min-width:20px!important;padding:3px!important}.compact-play1250 svg{height:14px;width:14px}.compact-play1250.is-running{background:#626778!important}.compact-time1250{padding:4px 0!important;border:0!important;background:transparent!important;font-size:14px;font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap}.compact-time1250:hover{text-decoration:underline}.tracking-total1250{text-align:center;padding:24px 10px 28px;border-bottom:1px solid var(--line)}.tracking-total1250>span,.tracking-total1250>small{display:block;color:var(--muted);font-size:13px}.tracking-total1250>strong{display:block;font-size:34px;margin:12px 0;font-weight:500;font-variant-numeric:tabular-nums}.tracking-actions1250{display:flex;justify-content:center;gap:10px;margin-top:20px}.tracking-segments1250{max-height:300px;overflow:auto}.tracking-segments1250>div{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.tracking-segments1250>div>span{flex:1}.tracking-segments1250 small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.tracking-stop1250{margin-top:20px;font-size:12px;background:transparent;color:var(--muted)}#tracking-log1250 details{margin-top:18px;font-size:12px}#tracking-log1250 .avatar{flex:none}

.desc-italic-icon1250{font-family:Georgia,Times,serif;font-size:22px;font-style:italic;font-weight:500}

/* Keep description actions aligned in one compact row. */
.desc-toolbar1250{flex-wrap:nowrap;gap:1px;padding:7px 6px}.desc-toolbar1250>i{flex:0 0 1px;height:22px;margin:0 3px}.desc-toolbar1250>button{flex:0 0 24px;min-width:24px;width:24px;height:28px;padding:3px;font-size:17px;gap:3px;line-height:1}.desc-toolbar1250>button svg{width:17px;height:17px;flex:none}.desc-toolbar1250>button.desc-style1250{flex:0 1 112px;min-width:90px;width:112px;font-size:12px;gap:4px}.desc-toolbar1250>button>b,.desc-toolbar1250>button>s,.desc-toolbar1250>button>u,.desc-toolbar1250>button>.desc-italic-icon1250{display:inline-flex;align-items:center;justify-content:center;width:18px;height:20px;margin:0;line-height:20px}.desc-toolbar1250>button>.desc-italic-icon1250{font-size:20px;transform:translateY(1px)}
@media(max-width:420px){.desc-toolbar1250{gap:0;padding:6px 3px}.desc-toolbar1250>i{margin:0 1px}.desc-toolbar1250>button{flex-basis:22px;min-width:22px;width:22px;padding:2px}.desc-toolbar1250>button.desc-style1250{min-width:74px;font-size:11px}.desc-toolbar1250>button.desc-style1250>span:first-child{display:none}}

.desc-toolbar1250>button[data-desc-command1250="highlight"][aria-pressed="true"]{background:#06285c;color:#5b9bff}

/* Theme-aware gold maintains contrast for existing and newly highlighted notes. */
.desc-canvas1250 .desc-highlight1250,.desc-canvas1250 mark,.desc-canvas1250 [style*="background-color: rgb(255, 243, 163)"],.desc-canvas1250 [style*="background-color:#fff3a3"],.desc-canvas1250 [style*="background-color: #fff3a3"]{background-color:#fff3a3!important;color:#26220b!important}
:root[data-theme=dark] .desc-canvas1250 .desc-highlight1250,:root[data-theme=dark] .desc-canvas1250 mark,:root[data-theme=dark] .desc-canvas1250 [style*="background-color: rgb(255, 243, 163)"],:root[data-theme=dark] .desc-canvas1250 [style*="background-color:#fff3a3"],:root[data-theme=dark] .desc-canvas1250 [style*="background-color: #fff3a3"]{background-color:#756300!important;color:#fff!important}

/* Primary formatting stays spacious; secondary commands live under More. */
.desc-toolbar1250{gap:4px;padding:9px 10px}.desc-toolbar1250>button{flex-basis:26px;width:26px;min-width:26px;height:30px;font-size:17px}.desc-toolbar1250>button[data-desc-command1250="code"],.desc-toolbar1250>button[data-desc-command1250="align"]{display:none}.desc-toolbar1250>i{margin:0 4px}.desc-toolbar1250>button.desc-style1250{flex-basis:116px;width:116px;min-width:95px;font-size:13px}
@media(max-width:420px){.desc-toolbar1250{gap:2px;padding:8px 5px}.desc-toolbar1250>button{flex-basis:24px;min-width:24px;width:24px}.desc-toolbar1250>i{margin:0 2px}.desc-toolbar1250>button.desc-style1250{min-width:78px;font-size:11px}}
/* Pending review: consistent studio accent and top-bar theme control. */
#review-hub1240 .segmented1240 button[aria-pressed="true"],.gteam1260 .primary,.gteam-upload-button1260{background:var(--mark-button,#7563ce)!important;color:#fff!important;border-color:var(--mark-button,#7563ce)!important}
.globalbar .global-search{flex:1 1 260px;max-width:600px;min-width:100px}.globalbar .global-person{flex:0 0 auto;gap:12px}.global-person .theme-slider1192{margin:0 0 0 8px;padding:0;display:flex;align-items:center;gap:6px}.global-person .theme-symbol1192{width:18px;height:18px}.global-person .theme-switch1192{width:50px;min-width:50px;flex-basis:50px;height:24px}.global-person .theme-switch1192[aria-checked="true"] .theme-thumb1192{transform:translateX(26px)}
@media(max-width:650px){.global-person .theme-symbol1192{display:none}.globalbar .global-person{gap:5px}.globalbar .global-search{min-width:60px}.global-person>span{max-width:80px;overflow:hidden;text-overflow:ellipsis}}
/* Small timer log anchored to its task cell. */
#dialog:has(#tracking-log1250){position:fixed;inset:auto;left:var(--tracking-left1261,calc(50vw - 210px));top:var(--tracking-top1261,20vh);margin:0;width:min(420px,calc(100vw - 20px));min-width:0;max-width:calc(100vw - 20px);max-height:min(540px,calc(100vh - 24px));padding:18px;overflow:auto;transform:none;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #0005}
#dialog:has(#tracking-log1250)::backdrop{background:transparent}
#tracking-log1250 .dialoghead{margin:0 0 10px;gap:14px}#tracking-log1250 .dialoghead h2{font-size:18px;margin:0}#tracking-log1250 .dialoghead button{width:26px;height:26px;min-width:26px;padding:5px}#tracking-log1250>p{font-size:12px;line-height:1.45;margin:8px 0;overflow-wrap:anywhere}#tracking-log1250 h3{font-size:13px;margin:14px 0 4px}.tracking-total1250{padding:12px 4px 16px}.tracking-total1250>strong{font-size:27px;margin:7px 0}.tracking-total1250>span,.tracking-total1250>small{font-size:11px}.tracking-actions1250{gap:8px;margin-top:12px}.tracking-actions1250 button{font-size:12px;padding:6px 14px;min-height:30px;border-radius:7px}.tracking-segments1250{max-height:180px}.tracking-segments1250>div{gap:9px;padding:9px 0;font-size:12px}.tracking-segments1250 .avatar{width:25px;height:25px;font-size:10px}.tracking-segments1250 strong{font-size:12px;font-variant-numeric:tabular-nums}.tracking-segments1250 small{font-size:10px}#tracking-log1250 details{margin-top:12px;max-height:110px;overflow:auto;font-size:11px}
#dialog:has(#tracking-log1250){overflow:visible}#tracking-log1250{max-height:min(480px,calc(100vh - 64px));overflow:auto;padding-right:2px}#dialog:has(#tracking-log1250)::before{content:"";position:absolute;left:calc(var(--tracking-arrow1261,50%) - 6px);top:-7px;width:12px;height:12px;background:var(--surface);border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}#dialog[data-tracking-placement="above"]:has(#tracking-log1250)::before{top:auto;bottom:-7px;transform:rotate(225deg)}
.compact-timer1250{gap:7px}.compact-stop1261{display:inline-grid;place-items:center;width:20px;height:20px;min-width:20px;padding:3px;border:0;border-radius:6px;background:#656b78;color:#fff;flex:none}.compact-stop1261 svg{width:14px;height:14px}.compact-stop1261:hover{background:#c34452}.compact-stop1261:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#tracking-edit1261{margin:14px 0 0;text-align:left;border-top:1px solid var(--line);padding-top:12px}#tracking-edit1261 label{font-size:11px;margin-bottom:6px}#tracking-edit1261 input{font-size:20px;letter-spacing:1px;text-align:center;padding:8px;font-variant-numeric:tabular-nums}#tracking-edit1261 p{font-size:11px;line-height:1.4;margin:6px 0}#tracking-edit1261>div{display:flex;justify-content:flex-end;gap:8px}#tracking-edit1261 button{padding:6px 12px;font-size:12px}
.compact-stop1261{background:#cf3f55}.compact-stop1261:hover{background:#b72e43}
#tracking-edit1261{border:0;padding:0;margin:10px 0;text-align:center}#tracking-edit1261 .tracking-hm1261{display:flex;align-items:center;justify-content:center;gap:14px}#tracking-edit1261 .tracking-hm1261 label{display:flex;align-items:center;gap:5px;margin:0;font-size:23px}#tracking-edit1261 .tracking-hm1261 input{width:76px;min-width:0;font-size:26px;letter-spacing:0;padding:6px 4px;text-align:center}#tracking-edit1261 .tracking-hm1261 span{color:var(--muted);font-size:21px}#tracking-edit1261 .tracking-edit-actions1261{justify-content:center;gap:8px;margin-top:10px}#tracking-edit1261>small{display:block;color:var(--muted);font-size:10px;margin-top:5px}#tracking-edit1261 [role="alert"]:empty{display:none}
/* Gallery actions should look clickable in both workspace themes. */
.gteam1260 button:not(.gteam-card1260):not(.primary){border:1px solid var(--mark-bright,#aaa6bd);border-radius:8px;background:var(--soft,#efedf5);color:var(--text);min-height:34px;padding:7px 13px;font-weight:500;box-shadow:0 1px 2px #0001;transition:background .15s,border-color .15s,box-shadow .15s}
.gteam1260 button:not(.gteam-card1260):not(.primary):hover:not(:disabled){background:color-mix(in srgb,var(--surface,#fff) 85%,var(--mark-bright,#9484df) 15%);border-color:var(--mark-bright,#9484df);box-shadow:0 2px 6px #0002}
.gteam1260 button:focus-visible{outline:2px solid var(--mark-bright,#9c8bea);outline-offset:3px}
.gteam1260 button.danger,.gteam1260 button[onclick^="revokeGallery1260"]{border-color:#cc6678!important;background:color-mix(in srgb,var(--surface,#fff) 91%,#dc4760 9%)!important;color:var(--danger,#d64762)!important}
.gteam1260 button.danger:hover:not(:disabled),.gteam1260 button[onclick^="revokeGallery1260"]:hover:not(:disabled){background:color-mix(in srgb,var(--surface,#fff) 82%,#dc4760 18%)!important;border-color:#e35069!important}
.gteam-access1260>button,.gteam-studio1260>aside>button.danger{margin-top:8px}
.gteam1260 .gteam-back1260{margin-bottom:10px}.gteam1260 button:disabled{box-shadow:none;opacity:.45;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){.gteam1260 button{transition:none}}

/* Compact HD details action precedes the completion circle. */
.task-cell>.hd-details1198{flex:none;font-size:9px;font-weight:700;line-height:1;min-width:21px;height:18px;padding:2px 3px;margin:0;border:1px solid var(--line);border-radius:5px;background:var(--soft);color:var(--muted)}
.task-cell>.hd-details1198:hover{border-color:var(--mark-bright,#9484df);color:var(--text);background:var(--hover)}
.task-cell>.hd-details1198:focus-visible{outline:2px solid var(--mark-bright,#9484df);outline-offset:2px}

.task-cell>.hd-details1198{margin-left:-4px}

.task-cell>.hd-details1198,.task-cell>.hd-details1198:hover{color:#ff4d4f}

.hd-details1198 .hd-h1261{color:#000}.hd-details1198 .hd-d1261{color:#ed0000}

:root[data-theme=dark] .hd-details1198 .hd-h1261{color:#fff}
.gallery-bulk1262{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.gallery-bulk1262 small{flex-basis:100%;color:var(--muted)}.gteam-photo-grid1260 article{position:relative}.gallery-select1262{display:flex;align-items:center;gap:7px;padding:10px;cursor:pointer;font-size:13px}.gallery-select1262 input{width:16px;height:16px;accent-color:var(--mark-button,#7563ce)}.gallery-selected1262{outline:2px solid var(--mark-bright,#9c8bea);outline-offset:1px}.gteam-photo-grid1260 article[draggable=true] img{cursor:grab}.gallery-dragging1262{opacity:.5}.gallery-target1262{outline:3px dashed var(--mark-bright,#9c8bea);outline-offset:3px}

.gallery-grab1262{position:fixed;top:8px;left:8px;z-index:2147483647;width:112px;height:84px;padding:4px;border-radius:9px;background:#fff;box-shadow:0 12px 24px #0008;transform:rotate(-5deg);pointer-events:none}.gallery-grab1262 img{width:100%;height:100%;object-fit:cover;border-radius:6px}.gallery-dragging1262{opacity:.3;transform:scale(.97)}.gteam-photo-grid1260 article{transition:transform .16s,opacity .16s,outline-color .16s}.gallery-target1262{transform:scale(1.015)}@media(prefers-reduced-motion:reduce){.gteam-photo-grid1260 article{transition:none}.gallery-dragging1262,.gallery-target1262{transform:none}}

.gteam-photo-grid1260 .gallery-select1262{position:absolute;top:8px;right:8px;z-index:2;padding:5px;margin:0;display:flex;align-items:center;justify-content:center;background:#191919b8;border:1px solid #ffffff70;border-radius:6px;line-height:1;box-shadow:0 1px 4px #0003}.gallery-select1262 input{width:14px;height:14px;margin:0;cursor:pointer}.gallery-select1262:focus-within{outline:2px solid var(--mark-bright,#b2a2ff);outline-offset:2px}

.gallery-grab-count1262{position:absolute;top:-7px;right:-7px;min-width:24px;height:24px;padding:3px 6px;display:grid;place-items:center;border-radius:15px;background:var(--mark-button,#7563ce);color:white;border:2px solid #fff;font:700 12px system-ui;box-shadow:0 2px 6px #0005}.gallery-grab-group1262{box-shadow:3px 3px 0 #ddd,6px 6px 0 #aaa,0 12px 24px #0008}

.gteam1260 .gteam-photo-grid1260 button.gallery-trash1262{position:absolute;top:8px;left:8px;z-index:2;display:grid;place-items:center;width:26px;height:26px;min-height:26px;padding:4px;margin:0;border:1px solid #ffffff70;border-radius:6px;background:#191919b8;color:#fff;box-shadow:0 1px 4px #0003}.gallery-trash1262 svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.gteam1260 .gteam-photo-grid1260 button.gallery-trash1262:hover{background:#9d2436;color:white;border-color:#ff9aab}.gteam-photo-grid1260{align-items:start}.gteam-photo-grid1260 article>div{padding:12px}.gteam-photo-grid1260 article>div>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}.gteam-photo-grid1260 article>div>span{display:block;margin-top:4px;line-height:1.4}.gteam-photo-grid1260 .gallery-select1262{width:26px;height:26px;padding:5px;box-sizing:border-box}

/* Keep private messages fitted to the conversation, independent of wide review dialogs. */
#dialog:has(#private-chat){width:640px!important;min-width:0;max-width:calc(100vw - 24px)!important;box-sizing:border-box}
#dialog #private-chat{width:100%;min-width:0;box-sizing:border-box}
#private-chat header>div,#chat-input{min-width:0}
#private-chat header>div{overflow-wrap:anywhere}

/* Keep the timer popover compact even after a wide dialog was opened. */
#dialog:has(#tracking-log1250){width:min(420px,calc(100vw - 20px))!important;min-width:0!important;max-width:calc(100vw - 20px)!important;box-sizing:border-box}
#tracking-log1250{width:100%;min-width:0;box-sizing:border-box}

/* Compact account management, with identity beside the avatar. */
#dialog:has(.account-list){width:850px!important;min-width:0;max-width:calc(100vw - 24px)!important;box-sizing:border-box}
#dialog .account-row{display:grid;grid-template-columns:32px minmax(120px,1fr) minmax(240px,330px);gap:12px;padding:12px 0;align-items:center}
#dialog .account-row>.avatar{width:32px;height:32px;min-width:32px}
#dialog .account-row>div:not(.account-actions){text-align:left;min-width:0;overflow-wrap:anywhere}
#dialog .account-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;max-width:none}
#dialog .account-actions button{padding:6px 9px;font-size:12px;min-height:32px}
@media(max-width:600px){#dialog .account-row{grid-template-columns:32px minmax(0,1fr)}#dialog .account-actions{grid-column:2;max-width:100%}}

#dialog:has(.about-mark1268){width:420px!important;max-width:calc(100vw - 24px)!important;min-width:0}.about-mark1268{text-align:center;padding:24px 12px 32px}.about-mark-logo1268{display:flex;justify-content:center}.about-mark-logo1268 img,.about-mark-logo1268 svg{width:80px;height:80px;object-fit:contain}.about-mark1268 h2{font-size:30px;margin:18px 0 12px}.about-mark1268 .muted{line-height:1.6}
.gteam-photo-grid1260 .gallery-select1262{left:8px;right:auto}
.gteam1260 .gteam-photo-grid1260 button.gallery-trash1262{left:auto;right:8px;padding:0!important;box-sizing:border-box}
.gallery-trash1262>svg{display:block;margin:0}

.password-rule-met1274{color:#238453}.password-rule-unmet1274{color:#c53042}[data-theme="dark"] .password-rule-met1274{color:#61d89a}[data-theme="dark"] .password-rule-unmet1274{color:#ff8998}

.password-rule1274{display:flex;align-items:center;gap:9px;margin:6px 0;transition:color 160ms ease}.password-rule-icon1274{display:inline-flex;align-items:center;justify-content:center;width:20px;flex:0 0 20px;font-size:20px;font-weight:700}.password-rule-status1274{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}body.dark .password-rule-met1274{color:#61d89a}body.dark .password-rule-unmet1274{color:#ff8998}@media(prefers-reduced-motion:reduce){.password-rule1274{transition:none}}

#dialog:has(#forgot-password-form1290){width:min(94vw,440px);max-width:440px}#forgot-password-status1290{font-size:14px;line-height:1.45}

.recovery-send1292{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:145px;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.recovery-send1292.is-sending{opacity:1}.recovery-send1292.is-sent,.recovery-send1292.is-sent:disabled{background:#238453;border-color:#238453;color:#fff;opacity:1}.recovery-send1292.is-error{border-color:var(--danger)}.recovery-send-spinner1292{width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:recovery-spin1292 .7s linear infinite}.recovery-send-check1292{font-size:19px;line-height:1;animation:recovery-check1292 .2s ease-out}@keyframes recovery-spin1292{to{transform:rotate(360deg)}}@keyframes recovery-check1292{from{transform:scale(.7);opacity:.4}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.recovery-send1292{transition:none}.recovery-send-spinner1292,.recovery-send-check1292{animation:none}}

#email-sender-form1293 .sender-enable1293{display:flex;align-items:center;gap:10px}#email-sender-form1293 .sender-enable1293 input{width:18px;height:18px;margin:0}#email-sender-form1293 input[readonly]{opacity:.8}

#email-sender-form1293 p{font-size:14px;margin:10px 0}#dialog:has(#email-sender-form1293){width:min(94vw,600px)}

.account-footer1301{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

/* Account workspace preview: reuse the existing actions without changing account records. */
#dialog:has(#account-manager1304){width:min(94vw,1080px);padding:28px}#account-manager1304 .accounts-intro1304{margin:22px 0}.accounts-eyebrow1304{font-size:11px;font-weight:750;letter-spacing:.2em;color:var(--muted)}.accounts-intro1304 h3{font-size:28px;line-height:1.2;margin:8px 0}.accounts-intro1304 p{margin:8px 0 0}.accounts-toolbar1304{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.accounts-filters1304{display:flex;gap:4px;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--soft);flex-wrap:wrap}.accounts-filters1304 button{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--muted);padding:9px 12px;border-radius:8px;font-size:13px}.accounts-filters1304 button[aria-pressed=true]{background:var(--accent);color:#fff}.accounts-filters1304 button span{font-size:11px;opacity:.8}.accounts-search1304{width:220px;max-width:100%;padding:11px 14px;border-radius:10px}.accounts-result1304{font-size:12px;margin:18px 0 12px}.accounts-grid1304{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#dialog .accounts-grid1304 .account-row.account-card1304{display:flex;flex-direction:column;align-items:stretch;gap:24px;border:1px solid var(--line);border-radius:16px;padding:22px;background:var(--surface);min-width:0}.account-card-head1304{display:flex;align-items:center;gap:14px;min-width:0}.account-card-head1304>div:not(.avatar){min-width:0}.account-card-head1304 strong{display:block;font-size:17px;overflow-wrap:anywhere;margin-bottom:7px}.account-card-role1304{display:inline-flex;font-size:12px;line-height:1.3;border-radius:6px;padding:4px 8px;background:var(--soft);color:var(--muted)}.account-card-role1304.admin{color:var(--mark-bright,#baabf3);background:var(--mark-trans-button-1c,#8970db1c)}.account-card-role1304.support{color:#60c792;background:#38ab6c1c}:root:not([data-theme=dark]) .account-card-role1304.admin{color:var(--mark-button,#6550aa)}:root:not([data-theme=dark]) .account-card-role1304.support{color:#237b4a}.account-you1304{margin-left:auto;align-self:flex-start;font-size:11px;color:var(--muted);padding:4px 7px;border:1px solid var(--line);border-radius:20px;white-space:nowrap}.account-manage1304{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0 0;color:var(--text);font-size:13px}.account-manage1304:hover{color:var(--accent);background:transparent}.accounts-grid1304 [hidden],#account-manager1304 [hidden]{display:none!important}.accounts-footer1304{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.accounts-protection1304{font-size:12px;color:var(--muted);margin:14px 0 0}.accounts-empty1304{padding:30px;text-align:center;border:1px dashed var(--line);border-radius:12px}#dialog:has(#account-details1304){width:min(94vw,620px)}.accounts-back1304{border:0;padding:0;background:transparent;color:var(--muted);margin:12px 0 24px}.account-details-head1304{display:flex;gap:16px;align-items:center;margin-bottom:26px}.account-details-head1304 h3{font-size:24px;margin:0 0 8px;overflow-wrap:anywhere}#account-details1304 section{padding:20px 0;border-top:1px solid var(--line)}#account-details1304 h4{font-size:14px;margin:0 0 12px}.account-detail-actions1304{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-detail-actions1304 button{text-align:left;padding:12px}.account-access1304 p,.account-danger1304 p{font-size:13px;margin:0 0 12px}.account-access1304 [data-access]{display:flex;gap:10px;flex-wrap:wrap}.account-danger1304{display:flex;justify-content:space-between;gap:24px;align-items:center}.account-danger1304 p{max-width:330px}.account-card1304 .account-actions{display:none!important}@media(max-width:680px){#dialog:has(#account-manager1304){padding:20px}.accounts-grid1304{grid-template-columns:1fr}.accounts-toolbar1304{align-items:stretch}.accounts-search1304{width:100%}.accounts-filters1304{width:100%;justify-content:space-between}.accounts-filters1304 button{padding:9px 8px;font-size:12px}.account-danger1304{flex-direction:column;align-items:flex-start}.account-detail-actions1304{grid-template-columns:1fr}}

.account-card-head1304>.avatar,.account-details-head1304>.avatar{width:48px;height:48px;min-width:48px;flex-shrink:0;border-radius:50%;overflow:hidden;font-size:16px}.accounts-grid1304 .account-card1304{transition:border-color .18s ease,box-shadow .18s ease}.accounts-grid1304 .account-card1304:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 3px 14px #0000000c}@media(prefers-reduced-motion:reduce){.accounts-grid1304 .account-card1304{transition:none}}

.accounts-result-row1304{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 12px}.accounts-result-row1304 .accounts-result1304{margin:0}.accounts-clear1304{border:0;background:transparent;padding:0;color:var(--accent);font-size:12px}.account-detail-actions1304>button:last-child:nth-child(odd){grid-column:1/-1}

/* Profile settings: preserved controls, clearer grouping and compact responsive spacing. */
#dialog:has(.profile-editor1311){width:min(960px,calc(100vw - 40px));max-width:960px;padding:28px 32px;box-sizing:border-box}
#dialog .profile-editor1311{margin-top:20px;min-width:0}
.profile-identity1311{display:flex;gap:24px;align-items:center;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
#dialog .profile-identity1311 .profile-preview{margin:0;flex:0 0 88px}
#dialog .profile-identity1311 .avatar{width:88px;height:88px;font-size:28px;border-radius:24px}
.profile-identity-fields1311{flex:1;min-width:0}
.profile-eyebrow1311{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;font-weight:700;margin-bottom:10px}
#dialog .profile-editor1311 label{font-size:13px;font-weight:500;line-height:1.5;margin:0 0 12px;gap:7px}
#dialog .profile-editor1311 input:not([type=checkbox]):not([type=color]){font-size:14px;padding:11px 12px;border-radius:9px;box-sizing:border-box;width:100%;min-width:0}
#dialog .profile-editor1311 p.muted{font-size:12px;line-height:1.6;margin:6px 0 0}
.profile-appearance1311{padding:24px 0;border-bottom:1px solid var(--line)}
.profile-section-heading1311{margin:0 0 18px}
#dialog .profile-section-heading1311 h3{font-size:16px;margin:0 0 4px;letter-spacing:-.2px}
.profile-appearance-grid1311{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}
#dialog .profile-editor1311 input[type=color]{width:64px;height:42px;padding:3px;border-radius:9px;cursor:pointer}
#dialog .profile-editor1311 input[type=file]{background:var(--surface);border:1px dashed var(--line);font-size:12px;padding:8px;min-height:44px}
#dialog .profile-editor1311 input[type=file]::file-selector-button{border:0;border-radius:6px;background:var(--chip-bg);color:var(--text);font:inherit;font-weight:600;padding:8px 10px;margin-right:10px;cursor:pointer}
.profile-photo-actions1311{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
#dialog .profile-photo-actions1311 button{font-size:12px;padding:8px 12px;border-radius:8px}
#dialog #tone-editor.profile-tones1311{border:0;padding-top:24px;margin-top:0}
.profile-sound-grid1311{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.profile-tone-main1311,#dialog .profile-tones1311 #sender-tone-editor{border:1px solid var(--line);border-radius:14px;padding:20px;margin:0;background:var(--soft);min-width:0}
#dialog .profile-tone-main1311>h3,#dialog .profile-tones1311 #sender-tone-editor>h4{font-size:14px;margin:0 0 6px}
#dialog .profile-tone-main1311>p.muted,#dialog .profile-tones1311 #sender-tone-editor>p.muted{margin-bottom:16px}
#dialog .profile-tone-main1311 label,#dialog .profile-tones1311 #sender-tone-editor label{margin-top:14px}
#dialog .profile-tones1311 .tone-mute{display:flex;flex-direction:row;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--line)}
#dialog .profile-tones1311 .tone-mute input{width:17px;height:17px;flex:0 0 17px;margin:0}
#dialog .profile-tones1311 button{font-size:12px;padding:8px 12px;border-radius:8px}
#dialog .profile-tones1311 .themed-select{width:100%;min-width:0}
#dialog .profile-footer1311{display:flex;gap:10px;align-items:center;position:sticky;bottom:-28px;background:var(--surface);padding:18px 0 4px;margin-top:20px;border-top:1px solid var(--line);z-index:3}
#dialog .profile-footer1311 p{flex:1;margin:0}
#dialog .profile-footer1311 button{font-size:13px;padding:10px 16px;border-radius:9px}
#dialog .profile-editor1311 #profile-error:empty,#dialog .profile-editor1311 #tone-error:empty{display:none}
@media(max-width:680px){#dialog:has(.profile-editor1311){padding:20px;width:calc(100vw - 20px)}.profile-identity1311{padding:18px;gap:16px;align-items:flex-start}#dialog .profile-identity1311 .profile-preview{flex-basis:56px}#dialog .profile-identity1311 .avatar{width:56px;height:56px;border-radius:16px;font-size:20px}.profile-appearance-grid1311,.profile-sound-grid1311{grid-template-columns:1fr;gap:16px}#dialog .profile-footer1311{bottom:-20px;flex-wrap:wrap}#dialog .profile-footer1311 p{flex-basis:100%}}
#dialog .profile-editor1311 .color-trigger{width:64px;height:42px;border-radius:9px}

.review-template-entrance{display:inline-flex;margin-top:16px;padding:9px 14px;border:1px solid var(--border,#4b4c55);border-radius:8px;color:var(--text,#ddd);text-decoration:none;font-size:13px}

.embedded-review-workspace{min-width:0}.embedded-review-workspace>.review-studio1120{max-width:none;padding:20px 0;overflow:visible}.embedded-review-workspace .review-workbench1160{min-width:0}.embedded-review-workspace .review-actions1120{flex-wrap:wrap}.embedded-review-workspace .review-action1130{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid var(--line,#4a4b55);border-radius:7px;text-decoration:none;color:var(--text,#eee)}

/* Progress fills stay neutral; project identity colors remain independent. */
.progress>span,.capacity-meter>span{background:#fff!important}

/* v1.40: short/high-zoom viewports must retain access to every sidebar control. */
#workspace-sidebar{overflow-y:auto!important;overscroll-behavior-y:contain}

/* Keep Settings and Sign out reachable while the expanded list scrolls. */
#workspace-sidebar{overflow:hidden!important;min-height:0}
#workspace-sidebar>.primary-nav{flex:0 1 auto;min-height:0;max-height:45%;overflow-y:auto;overflow-x:hidden}
#workspace-sidebar>.project-nav{flex:1 1 0;min-height:0;overflow-y:auto}
#workspace-sidebar>footer{flex:0 1 auto;min-height:76px;max-height:55%;display:flex;flex-direction:column;overflow:visible;background:var(--nav)}
#workspace-sidebar>footer>.sidebar-settings{min-height:36px;flex:0 1 auto}
#workspace-sidebar>footer>.sidebar-settings[open]{display:flex;flex-direction:column;min-height:36px;overflow:hidden}
#workspace-sidebar>footer .sidebar-settings>summary{flex:0 0 auto;min-height:36px}
#workspace-sidebar>footer>.sidebar-settings>.settings-items{position:static;min-height:0;max-height:none;overflow-y:auto;flex:1 1 auto}
#workspace-sidebar>footer>button{flex:0 0 auto;min-height:36px}
.sidebar-compact #workspace-sidebar>footer>.sidebar-settings{overflow:visible}
.sidebar-compact #workspace-sidebar>footer>.sidebar-settings>.settings-items{position:fixed;left:var(--sidebar-width);bottom:84px;max-height:calc(100dvh - 180px);width:min(260px,calc(100vw - var(--sidebar-width) - 12px));background:var(--nav);border:1px solid var(--line);border-radius:12px;padding:12px;z-index:2100;box-shadow:0 12px 35px #0005}

#workspace-sidebar>footer>.sidebar-settings[open]{flex:0 0 auto;display:block;overflow:visible}
#workspace-sidebar>footer>.sidebar-settings[open]>.settings-items{max-height:max(50px,calc(55dvh - 170px));overflow-y:auto}

/* Anchor the toggle below its upward-opening options, above Sign out. */
#workspace-sidebar>footer>.sidebar-settings[open]{position:relative;padding-bottom:40px;display:block;overflow:visible}
#workspace-sidebar>footer>.sidebar-settings[open]>summary{position:absolute;bottom:0;left:0;width:100%;height:40px;margin:0}
.sidebar-compact #workspace-sidebar>footer>.sidebar-settings[open]{padding-bottom:40px}

.tracking-owner1401{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin:16px 0}.tracking-owner1401 .themed-select-wrap{width:190px;max-width:100%}.tracking-owner1401 .themed-select-trigger{width:100%}

html[data-theme="dark"][data-mark-palette]:not([data-mark-palette="classic"]) .avatar[style*="var(--mark-bright,#b7a8df)"]{background:var(--mark-bright)!important;color:#14181b!important}

/* Portal text uses the readable palette accent, independent of workspace branding. */
html[data-theme="dark"][data-mark-palette]:not([data-mark-palette="classic"]) #app :is(.review-eyebrow1120,.review-client-monogram1130,.client-card1120 > span:last-child){color:var(--mark-bright,var(--text))}

.gallery-delete1268.gallery-delete1268{color:#ff6277;background:var(--surface);border:1px solid var(--line);box-shadow:none}
.gallery-delete1268.gallery-delete1268:hover{color:#ff6277;background:var(--hover);border-color:var(--line)}


/* The unread count sits on the avatar opposite its online indicator. */
.presence-sender{position:relative;display:grid;justify-items:center;align-self:center;padding:3px 0}
.presence-unread,.presence-all-messages{display:inline-flex;align-items:center;padding:1px 4px;border:0;border-radius:5px;background:transparent;color:inherit;font-size:11px}
.presence-unread{position:absolute;z-index:1;top:0;left:-4px;padding:0;border-radius:999px}
.presence-unread b{display:block;min-width:16px;box-sizing:border-box;text-align:center;background:#bb304b;color:#fff;border-radius:999px;padding:0 4px;font-size:10px;line-height:16px}
.presence-all-messages:hover{background:#80808026}

.globalbar .online-avatars{padding-inline:5px}
.presence-all-messages{justify-content:center;width:32px;height:32px;flex:none}
.presence-all-messages svg{width:22px;height:22px}
