:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#202a3a;background:#f8f9fb;font-size:14px;--ink:#202a3a;--muted:#647188;--line:#e1e7ef;--blue:#245ede;--soft:#edf3ff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #91b3ff;outline-offset:3px}[hidden]{display:none!important}.top{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 36px;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;letter-spacing:-.5px}.brand img{object-fit:contain}.brand-light{font-weight:400}.brand-section{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);border-left:1px solid var(--line);margin-left:8px;padding-left:18px}.back{color:var(--muted);font-size:12px}.back:hover,footer a:hover{color:var(--blue)}main{max-width:1336px;margin:auto;padding:40px 36px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:600;color:var(--blue);margin:0 0 12px}h1{font-size:32px;line-height:1.25;letter-spacing:-1px;font-weight:600;margin:0}h2{font-size:18px;font-weight:600;margin:0}h3{font-size:14px;margin:0;font-weight:600}p{line-height:1.65}.lead{color:var(--muted);font-size:13px;margin:12px 0 0}.connection{padding:12px 15px;border:1px solid var(--line);background:white;border-radius:8px;color:var(--muted);font-size:12px;margin-bottom:20px}.connection.warning{background:#fff7e9;border-color:#eedbb8;color:#88601f}.connection.demo{background:var(--soft);border-color:#d5e1fc;color:#365f9a}.access{padding:48px 28px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:12px;max-width:830px;margin:36px auto}.access-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--soft);color:var(--blue);font-size:16px;font-weight:600;margin:0 auto 22px}.access h2{font-size:24px;letter-spacing:-.5px}.access>p{max-width:590px;margin:14px auto;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 13px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:12px;font-weight:500}.button:hover{border-color:#a9bfdf;background:#f7faff}.button.primary{color:white;background:var(--blue);border-color:var(--blue)}.button.secondary{color:var(--blue);background:var(--soft);border-color:#d6e2fb}.actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:25px 0 15px}.fine{font-size:11px;line-height:1.7;color:var(--muted);margin:14px 0}.demo-banner{padding:15px 18px;border:1px solid #d5e1fc;border-radius:9px;background:var(--soft);display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.demo-banner strong{font-size:13px;font-weight:600}.demo-banner span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.projectbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.project-heading label{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.project-heading select{background:white;border:1px solid var(--line);border-radius:7px;padding:9px 36px 9px 12px;max-width:100%;font-weight:600;color:var(--ink)}.project-heading h2{font-size:22px}.freshness{display:flex;align-items:center;gap:15px;font-size:11px;color:var(--muted)}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:28px}.tabs button{position:relative;border:0;background:transparent;padding:0 0 15px;color:var(--muted);font-size:13px;font-weight:500}.tabs button[aria-selected=true]{color:var(--blue)}.tabs button[aria-selected=true]:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--blue)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 18px}.section-head p{margin:6px 0 0;color:var(--muted);font-size:12px}.search input{min-width:260px;width:100%;padding:10px 12px;border:1px solid var(--line);background:white;border-radius:7px;color:var(--ink);font-size:12px}.decisions{padding:19px 21px;background:#fff6e6;border-left:3px solid #ba8435;border-radius:0 9px 9px 0;margin-bottom:28px}.decisions h2{font-size:15px;color:#78551f}.decision{margin-top:14px}.decision p{font-size:12px;margin:5px 0 0;color:#78551f}.text-button{border:0;background:transparent;padding:0;color:var(--blue);font:inherit;text-align:left}.people-list,.models-list{background:white;border:1px solid var(--line);border-radius:10px;padding:0 20px}.person{display:grid;grid-template-columns:215px minmax(0,1fr) 155px;gap:22px;padding:22px 0;border-bottom:1px solid var(--line);align-items:start}.person:last-child,.model:last-child{border-bottom:0}.person-name{display:flex;gap:11px;align-items:center}.avatar{height:34px;width:34px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--blue);font-size:11px;flex:none}.person-name .text-button{color:var(--ink);font-size:13px;font-weight:600}.task{font-size:13px}.task+.task{padding-top:12px;margin-top:12px;border-top:1px solid #eef1f5}.task-meta{font-size:11px;color:var(--muted);margin-top:6px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pill{display:inline-block;padding:4px 7px;border-radius:5px;font-size:11px;color:var(--muted);background:#f2f5f8;line-height:1.5}.pill.work{background:var(--soft);color:var(--blue)}.pill.wait{background:#fff1d9;color:#8b631f}.pill.done{background:#eef7f1;color:#367454}.progress{height:4px;background:#eef2f7;margin-top:9px;border-radius:3px;max-width:120px;overflow:hidden}.progress span{display:block;height:100%;background:var(--blue)}.person-summary{font-size:11px;color:var(--muted);margin-top:8px}.model-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.model-filters button{padding:7px 11px;background:white;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px}.model-filters button[aria-pressed=true]{background:#283951;color:white;border-color:#283951}.model{display:grid;grid-template-columns:minmax(0,1fr) 230px 150px;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.model .text-button{font-size:13px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}.model-path{font-size:11px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.model-state{font-size:12px}.model-state.unknown{color:#946b28}.model-state.open{color:var(--blue)}.model-time{font-size:11px;color:var(--muted)}.empty{padding:35px 18px;text-align:center;color:var(--muted);font-size:13px}.week{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.week>span{font-size:12px;min-width:134px;text-align:center}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:white}table{border-collapse:separate;border-spacing:0;width:100%;min-width:850px;table-layout:fixed}th{background:#f4f7fb;font-weight:500;font-size:11px;color:var(--muted);padding:13px;text-align:left}th:first-child{width:175px;position:sticky;left:0;z-index:2;background:#f4f7fb}tbody th{background:white!important;color:var(--ink);font-size:12px;border-top:1px solid var(--line)}td{padding:0;border-top:1px solid var(--line);border-left:1px solid #eef1f5;vertical-align:top}#reports-table td button{border:0;background:white;width:100%;text-align:left;min-height:110px;padding:13px;color:var(--ink);font-size:12px;line-height:1.6;overflow-wrap:anywhere}#reports-table td button:hover{background:#f7faff}td .missing{color:#98a3b3}footer{padding:30px 0 24px;margin-top:36px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px}dialog{width:min(660px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:25px;color:var(--ink);box-shadow:0 24px 90px #142b4930}dialog::backdrop{background:#14213c60}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-head h2{font-size:19px}#detail-body{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.skip{position:absolute;top:-100px;left:15px;background:var(--blue);color:white;padding:10px;z-index:10}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1000px){.person{grid-template-columns:180px minmax(0,1fr) 140px;gap:16px}.model{grid-template-columns:minmax(0,1fr) 210px}.model-time{grid-column:2}.section-head{flex-wrap:wrap}.section-head .search{flex:1}.search input{min-width:0}.brand-section{display:none}}
@media(max-width:650px){.top{height:65px;padding:0 18px;gap:10px}.brand{font-size:18px}.back{font-size:11px}main{padding:28px 18px 0}h1{font-size:27px}.page-heading{align-items:start;flex-direction:column;gap:12px}.access{padding:32px 18px}.access h2{font-size:21px}.demo-banner{align-items:start;flex-direction:column;gap:12px}.projectbar{flex-direction:column;align-items:stretch;gap:14px}.freshness{justify-content:space-between}.tabs{gap:19px}.tabs button{font-size:12px}.person{grid-template-columns:1fr;gap:15px;padding:20px 0}.person>div:last-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.person-summary{margin:0}.person .progress{width:90px;flex:1}.people-list,.models-list{padding:0 15px}.model{grid-template-columns:1fr;gap:8px;padding:18px 0}.model-time{grid-column:1}.section-head{align-items:stretch;flex-direction:column;gap:15px}.search{width:100%}.week{gap:6px}.week>span{min-width:120px}.lead{font-size:12px}.fine{font-size:11px}.connection{font-size:12px}.actions{flex-direction:column}.actions .button{width:100%}.brand img{width:29px;height:29px}footer{font-size:10px}.top .back{white-space:nowrap}.table-wrap{margin-right:0}.decisions{padding:16px}.project-heading select{width:100%}}
@media(pointer:coarse){.button,.tabs button,.model-filters button,.text-button{min-height:44px}.search input,select{font-size:16px;min-height:44px}}
@media print{.top,.tabs,.actions,.button,.model-filters,.search,.demo-banner{display:none}main{padding:0}.table-wrap{overflow:visible}footer{display:none}}

.project-summary{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.summary-item{flex:1;min-width:130px;padding:16px;background:white;border:1px solid #dce3ed;border-radius:12px}.summary-item strong{display:block;font-size:26px}.summary-item span{color:#65758d;font-size:14px}
#assignment{width:min(560px,calc(100% - 32px));border:1px solid #dce3ed;border-radius:16px;padding:24px}#assignment form label{display:block;margin:14px 0}#assignment input,#assignment select,#assignment textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #bac8dc;border-radius:6px;font:inherit}#assignment-error{color:#b42318}.calendar-task{display:block;margin:6px 0;padding:6px;border-left:3px solid #2962ff;background:#f4f7fd;font-size:13px}.top{gap:12px;flex-wrap:wrap}.freshness{flex-wrap:wrap}#task-calendar{margin-bottom:24px}

.report-task{display:grid;grid-template-columns:1fr auto;gap:4px 8px;font-size:12px;margin-top:10px}.report-task>span{grid-column:1/-1}.report-task progress{width:100%;min-width:65px;accent-color:#2962ff;height:8px}.report-task strong{font-size:11px}#reports-table small{display:block;margin-top:8px;color:#68778e}

#catalog-import{width:min(640px,calc(100% - 32px));border:1px solid #dce3ed;border-radius:16px;padding:24px}#catalog-paths{font:inherit;padding:10px;border:1px solid #bac8dc;border-radius:6px}.model .button{margin-top:8px}.model .pill{margin-top:8px}.model-state p{font-size:12px;margin-bottom:0;overflow-wrap:anywhere}

/* Calendar workspace: use the entire available desktop width. */
.calendar-wide main{max-width:none;width:100%;box-sizing:border-box;padding-left:32px;padding-right:32px}.calendar-wide .page-heading{margin-bottom:20px}
.week input,.week select{border:1px solid var(--line);border-radius:7px;background:white;padding:9px;color:var(--ink);font:inherit}.calendar-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 20px}.calendar-weekdays,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{background:#f4f7fb}.calendar-weekdays span{padding:10px 16px;color:var(--muted);font-size:12px}.calendar-day{min-height:125px;padding:12px;border-top:1px solid var(--line);border-right:1px solid var(--line);overflow-wrap:anywhere}.calendar-day:nth-child(7n){border-right:0}.day-number{font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:center}.day-number span{font-size:10px;color:var(--blue)}.calendar-day.nonworking,.nonworking{background:#edf0f4!important}.outside-month{opacity:.45}.current-day{box-shadow:inset 0 3px #2962ff}.holiday-name{display:block;font-size:10px;color:#637086;margin-top:5px}.calendar-task{min-height:0;line-height:1.45;font-size:12px;margin-top:8px;border-radius:0 5px 5px 0}.calendar-task small,.calendar-task span{display:block;font-size:10px;margin-top:4px}.calendar-task.wait{border-color:#ba8435;background:#fff5e6;color:#79551d}.calendar-task.done{border-color:#367454;background:#e9f5ee;color:#367454}.calendar-legend{display:flex;flex-wrap:wrap;gap:20px;margin:12px 0 18px;font-size:12px;color:var(--muted)}.calendar-legend span{display:flex;gap:7px;align-items:center}.calendar-legend i{display:inline-block;width:12px;height:12px;border-radius:3px}.legend-off{background:#e2e6ec}.legend-today{background:#2962ff}.report-dot{display:inline-block;width:7px;height:7px;background:#2962ff;border-radius:50%}.monthly-reports table{min-width:calc(200px + var(--day-count)*55px);table-layout:fixed}.monthly-reports th:first-child{width:200px}.monthly-reports thead th:not(:first-child){text-align:center;padding:10px 3px}.monthly-reports th strong,.monthly-reports th span,.monthly-reports th small,.monthly-reports tbody th small{display:block}.monthly-reports th span,.monthly-reports th small{font-size:10px;margin-top:4px}.monthly-reports td button{background:transparent;min-height:70px;padding:8px 2px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.monthly-reports td button strong{font-size:11px}.monthly-reports td button small{font-size:9px;margin:0!important}.monthly-reports tbody th{vertical-align:middle}.monthly-reports .has-report:hover{background:#e3edff}.monthly-reports{max-height:65vh;overflow:auto}.monthly-reports thead th{position:sticky;top:0;z-index:3}.monthly-reports thead th:first-child{z-index:4}.monthly-reports tbody th{z-index:2}.nonworking>button{background:transparent}.calendar-wide #task-calendar{overflow:hidden}
@media(max-width:850px){.calendar-wide main{padding-left:16px;padding-right:16px}.calendar-day{min-height:95px;padding:7px}.calendar-task{font-size:10px}.calendar-day .day-number span{display:none}.calendar-wide #task-calendar{overflow:auto}.month-grid,.calendar-weekdays{min-width:700px}.calendar-heading{min-width:660px}.monthly-reports th:first-child{width:150px}.monthly-reports table{min-width:calc(150px + var(--day-count)*55px)}}

.calendar-workspace{--calendar-day-width:55px;--calendar-row-height:70px;--calendar-font:11px;min-width:0}.calendar-scale{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:15px 0;color:var(--muted);font-size:12px}.calendar-scale input{width:150px;accent-color:#2962ff}.calendar-scale output{min-width:42px}.monthly-reports table{min-width:calc(200px + var(--day-count)*var(--calendar-day-width))}.monthly-reports td button{min-height:var(--calendar-row-height);font-size:var(--calendar-font)}.monthly-reports td button strong{font-size:var(--calendar-font)}.monthly-reports th:not(:first-child) strong{font-size:var(--calendar-font)}#calendar-window{width:calc(100vw - 48px);max-width:none;height:calc(100vh - 48px);max-height:none;box-sizing:border-box;padding:24px}#calendar-window .section-head{margin-top:0}#calendar-window #reports-table{max-height:calc(100vh - 320px)}#calendar-window .calendar-workspace{height:100%}#calendar-window .week{justify-content:flex-end}.calendar-wide #reports-table{margin-top:16px}
#employee-task label,#report-editor label{display:block;margin:16px 0;font-size:13px}#employee-task input,#employee-task select,#employee-task textarea,#report-editor input,#report-editor textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:10px;border:1px solid #bac8dc;border-radius:7px;font:inherit;color:var(--ink)}#employee-task #progress-form{display:flex;align-items:end;gap:12px;margin-top:15px}#progress-form label{flex:1}#progress-form button{margin-bottom:16px}#employee-task-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}#employee-task-error,#report-error{color:#b42318}#employee-task form+form{border-top:1px solid var(--line);margin-top:20px;padding-top:6px}.calendar-scale .button{padding:7px 10px}
@media(max-width:650px){#calendar-window{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;padding:16px;border:0;border-radius:0}#calendar-window #reports-table{max-height:55dvh}.monthly-reports table{min-width:calc(150px + var(--day-count)*var(--calendar-day-width))}.calendar-scale input{width:100px}.calendar-scale{gap:7px}.calendar-workspace .week{justify-content:flex-start}}

@media(max-width:650px){#reports-table th:first-child{width:110px;padding:10px}.monthly-reports table{min-width:calc(130px + var(--day-count)*var(--calendar-day-width))}}

/* Focused cabinet entry, compact metrics and spreadsheet-style calendar. */
.signed-out .top,.signed-out .page-heading,.signed-out #connection,.signed-out footer{display:none!important}.signed-out main{min-height:100dvh;display:grid;place-items:center;max-width:none;margin:0;padding:24px;box-sizing:border-box}.key-access{width:min(360px,100%);box-sizing:border-box;margin:0;padding:30px 28px;text-align:left;border-radius:14px;box-shadow:0 10px 45px #22354b08}.key-access h1{font-size:25px;line-height:1.3;margin:0 0 24px;font-weight:600}.key-access form{display:grid;gap:12px}.key-access input{box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid #cbd5e2;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:14px}.key-access input:focus{outline:2px solid #a9c1ff;outline-offset:1px}.key-access .button{min-height:44px;font-size:14px}.key-access p{font-size:12px!important;color:#b42318!important;line-height:1.5;margin:2px 0 0!important}.project-summary{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.summary-item{display:flex;align-items:baseline;gap:7px;flex:none;min-width:0;padding:7px 11px;border-radius:7px}.summary-item strong{display:inline;font-size:16px;line-height:1.3}.summary-item span{font-size:12px;line-height:1.3}.calendar-title{display:inline-flex;align-items:center;gap:10px;background:none;border:0;padding:0;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:zoom-in}.calendar-title span{font-size:13px;color:var(--muted)}.calendar-title:focus-visible{outline:2px solid #2962ff;outline-offset:5px;border-radius:3px}#calendar-window .calendar-title{cursor:zoom-out}#reports-table tbody button{cursor:zoom-in}#calendar-window #reports-table tbody button{cursor:pointer}.calendar-workspace .section-head p{font-size:11px}.calendar-scale{display:none}dialog::backdrop{background:rgba(31,42,62,.28);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}#calendar-window{width:calc(100vw - 64px);height:calc(100dvh - 64px);max-width:none;max-height:none;border-radius:14px;box-shadow:0 24px 110px #142b4940}#calendar-window #reports-table{max-height:calc(100dvh - 270px)}#calendar-window .calendar-legend{margin-bottom:12px}#calendar-window .calendar-workspace{outline:0}#calendar-window .section-head{gap:14px}#calendar-window .week{gap:7px}
@media(max-width:650px){.key-access{padding:26px 22px}.key-access h1{font-size:24px}.summary-item{padding:6px 9px}.summary-item span{font-size:11px}.summary-item strong{font-size:15px}#calendar-window{width:calc(100vw - 16px);height:calc(100dvh - 24px);padding:16px;border-radius:12px}#calendar-window #reports-table{max-height:calc(100dvh - 330px)}.calendar-workspace .section-head p{font-size:10px;line-height:1.6}.calendar-legend{gap:9px;font-size:10px}}

.demo-banner{padding:9px 12px;margin-bottom:14px;gap:12px}.demo-banner>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.demo-banner strong{font-size:12px}.demo-banner span{display:inline;font-size:11px;margin:0}.demo-banner .button{padding:6px 10px;font-size:11px;min-height:30px}@media(max-width:650px){.demo-banner{align-items:center;flex-direction:row}.demo-banner>div{gap:4px;flex:1}.demo-banner span{font-size:10px}}

#reports-table thead th>strong{display:block;font-size:var(--calendar-font,12px);font-weight:600}#reports-table thead th>span{display:block;font-size:10px;margin-top:4px}
/* Quiet drafting-paper grid is shared by the cabinet and its entry screen. */
body{background-color:#f7f9fc;background-image:linear-gradient(90deg,#5574a20a 1px,transparent 1px),linear-gradient(#5574a20a 1px,transparent 1px);background-size:24px 24px}.top{background:#ffffffed}.top #logout{margin-left:12px;font-size:12px;padding:7px 12px}.page-heading{margin-bottom:22px}.statusbar{display:flex;align-items:center;gap:18px;padding:9px 12px;background:#ffffffed;border:1px solid var(--line);border-radius:9px;margin:0 0 23px}.statusbar .connection{flex:1;min-width:0;border:0;background:transparent;margin:0;padding:3px 4px;font-size:11px}.statusbar .freshness{margin-left:auto;gap:9px;justify-content:flex-end}.statusbar .button{padding:8px 11px;white-space:nowrap}.projectbar{margin:19px 0 21px}.tabsbar{display:flex;align-items:end;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.tabsbar .tabs{margin:0;border:0;flex-shrink:0}.tabsbar .project-summary{margin:0 0 9px auto;justify-content:flex-end;gap:6px}.tabsbar .summary-item{padding:5px 9px;background:#ffffffed}.tabsbar .summary-item strong{font-size:14px}.tabsbar .summary-item span{font-size:11px}.signed-out .statusbar{display:none!important}.signed-out main{position:relative;background:radial-gradient(ellipse at 50% 38%,#e7effa80 0,transparent 55%)}.key-access{position:relative;padding:30px;background:#ffffffed;border-color:#dce5f1;box-shadow:0 16px 55px #2944670c,0 2px 8px #29446704;border-radius:18px}.key-access:before{content:'';position:absolute;top:0;left:30px;right:30px;height:2px;background:linear-gradient(90deg,transparent,#4475ff80,transparent)}.key-access .login-mark{display:block;border-radius:10px;margin-bottom:22px;box-shadow:0 4px 12px #2962ff16}.key-access h1{font-size:24px;letter-spacing:-.5px;margin-bottom:22px}.key-access input{background:#f9fbfe;border-color:#d7e1ef}.key-access .primary{box-shadow:0 4px 12px #2962ff18}
/* Three header levels keep year/month boundaries readable while days stay compact. */
#reports-table{--name-width:200px;scrollbar-width:thin;scrollbar-color:#a7b4c6 transparent;overscroll-behavior-x:contain}#reports-table::-webkit-scrollbar{height:6px;width:6px}#reports-table::-webkit-scrollbar-track{background:transparent}#reports-table::-webkit-scrollbar-thumb{background:#a7b4c6;border-radius:12px}#reports-table::-webkit-scrollbar-thumb:hover{background:#8296b2}#reports-table::-webkit-scrollbar-button{display:none;width:0;height:0}#reports-table table{width:calc(var(--name-width) + var(--day-count)*var(--calendar-day-width,55px));min-width:100%;table-layout:fixed}#reports-table .name-col{width:var(--name-width)}#reports-table .day-col{width:var(--calendar-day-width,55px)}#reports-table thead th{box-sizing:border-box}#reports-table .people-head{width:var(--name-width);position:sticky;left:0;top:0;z-index:9;padding:14px;background:#f3f6fb;vertical-align:middle}#reports-table .people-head small{display:block;font-size:10px;margin-top:5px}#reports-table .period-head{position:sticky;left:auto!important;width:auto!important;text-align:left;padding:0 12px;background:#f3f6fb;border-right:1px solid #e0e7f0;border-bottom:1px solid #e0e7f0;color:#61718a}#reports-table .year-row .period-head{top:0;height:25px;z-index:6;font-size:11px;letter-spacing:.04em;font-weight:600}#reports-table .month-row .period-head{top:25px;height:27px;z-index:6;font-size:11px;font-weight:500;text-transform:capitalize;background:#f7f9fc}#reports-table .period-label{position:sticky;left:calc(var(--name-width) + 12px);display:inline-block;line-height:1.5;white-space:nowrap}#reports-table .day-head{position:sticky;top:52px;left:auto!important;width:auto!important;height:48px;padding:7px 3px;text-align:center;z-index:5;background:#f4f7fb;border-top:0}#reports-table .day-head strong{font-size:var(--calendar-font,12px);line-height:1.3}#reports-table .day-head span{font-size:10px;margin-top:3px}#reports-table tbody th{width:var(--name-width);box-sizing:border-box}#reports-table .current-day{box-shadow:inset 0 2px #2962ff}#calendar-window{background-color:#fff;background-image:linear-gradient(90deg,#5574a205 1px,transparent 1px),linear-gradient(#5574a205 1px,transparent 1px);background-size:24px 24px}#calendar-window .section-head{margin-bottom:18px}#calendar-window #reports-table{max-height:calc(100dvh - 210px)}.calendar-workspace .section-head{margin-bottom:18px}.calendar-workspace .section-head h2{margin:0}
@media(max-width:1050px){.tabsbar{align-items:start;flex-wrap:wrap;gap:5px}.tabsbar .project-summary{margin-left:0}.statusbar{flex-wrap:wrap;gap:9px}.statusbar .connection{flex-basis:100%}.statusbar .freshness{width:100%;justify-content:flex-start;margin:0}.tabsbar .tabs{width:100%;overflow-x:auto}.tabsbar .project-summary{justify-content:flex-start;margin-bottom:10px}}
@media(max-width:650px){.top #logout{margin-left:auto;font-size:11px;padding:6px 9px}.top .back{display:none}.statusbar{padding:10px}.statusbar .freshness{gap:7px}.statusbar .freshness .button{width:auto;flex:none;padding:8px 10px;font-size:11px}.statusbar #updated{order:5;flex-basis:100%;font-size:10px}.tabsbar{gap:3px}.tabsbar .summary-item{padding:4px 7px}.tabsbar .summary-item span{font-size:10px}.tabsbar .summary-item strong{font-size:12px}#reports-table{--name-width:130px}#reports-table .people-head{padding:10px}#reports-table .period-label{left:calc(var(--name-width) + 8px)}.key-access{padding:26px}.key-access .login-mark{margin-bottom:20px}.key-access h1{font-size:23px}}

#reports-table:not(.monthly-reports) table{width:100%;min-width:900px}#reports-table:not(.monthly-reports) .day-col{width:auto}.report-task strong{white-space:nowrap}.report-task progress{min-width:0}

.top{justify-content:flex-start}.top .back{margin-left:auto}.top #install-app{margin-left:auto}@media(max-width:650px){.top{height:auto;min-height:65px;box-sizing:border-box;padding-top:12px;padding-bottom:12px}.top #install-app{margin-left:0;flex-basis:100%;font-size:11px;min-height:34px}}

.models-heading{align-items:center}.models-heading .icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;padding:0;font-size:26px;font-weight:400;line-height:1;color:var(--blue);background:#fff}.models-heading .icon-button:hover{background:#edf3ff}.models-heading .icon-button:focus-visible{outline:2px solid #a9c1ff;outline-offset:2px}@media(max-width:650px){.models-heading{flex-direction:row;align-items:center}.models-heading>div{min-width:0;flex:1}.models-heading .icon-button{flex:none;min-width:40px;width:40px;height:40px}}

.connection-count{position:relative}.connection-count summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:9px;background:#edf3ff;color:#245ede;font-size:16px;font-weight:600;padding:0 7px}.connection-count summary::-webkit-details-marker{display:none}.connection-count summary:after{content:'⌄';font-size:11px;margin-left:7px}.connection-count>div{position:absolute;top:38px;right:0;min-width:180px;max-width:280px;padding:10px 14px;background:#fff;box-shadow:0 8px 28px #20345222;border:1px solid var(--line);border-radius:8px;z-index:10;color:var(--ink);font-size:12px}.connection-count p{margin:5px 0}.model-state.unknown summary{background:#f0f2f5;color:#7c8797}.person-location{flex-basis:100%;padding-left:50px;margin-top:6px;font-size:11px;color:var(--muted);line-height:1.6}.person-name{flex-wrap:wrap}.task-register{width:100%;min-width:740px}.task-register td{vertical-align:top;padding:14px}.task-register td:first-child{min-width:230px}.task-register small{display:block;max-width:400px;margin-top:6px;color:var(--muted);white-space:pre-wrap}.task-register .danger{color:#b42318}.tabsbar{flex-wrap:wrap}.tabsbar .tabs{flex-wrap:wrap}.tabs button{white-space:nowrap}#reports-table.expanded-reports table{width:calc(var(--name-width) + var(--day-count)*var(--expanded-day-width,220px));min-width:100%;table-layout:fixed}#reports-table.expanded-reports .day-col{width:var(--expanded-day-width,220px)}#reports-table.expanded-reports tbody button{min-height:100px;height:auto;white-space:normal;overflow-wrap:anywhere;padding:12px;text-align:left;align-items:stretch;justify-content:flex-start}.report-content{display:block;white-space:pre-wrap;line-height:1.6}.expanded-reports .report-task{margin-top:10px}#reports-table.expanded-reports tbody th{vertical-align:top}

.task-register{table-layout:auto}.task-register th:first-child{position:static;width:34%}.task-register th:nth-child(2){width:18%}.task-register th:nth-child(3){width:13%}.task-register th:nth-child(4){width:13%}.task-register th:nth-child(5){width:7%}.task-register th:last-child{width:15%}.task-register td{padding:10px 14px;vertical-align:top}.task-register td button{display:inline-block;width:auto;min-height:0;padding:0;line-height:1.5}.task-register td:last-child{white-space:nowrap}.task-register td:last-child button+button{margin-left:12px}.task-register td small{margin-top:4px;line-height:1.5}.task-register .pill{padding:3px 6px}@media(pointer:coarse){.task-register td button{min-height:32px}}
/* Project task board: existing assignment/status permissions are preserved. */
body:not(.signed-out) main{max-width:1880px}#tasks-panel{min-width:0}.board-toolbar{display:flex;align-items:center;gap:12px;margin:24px 0 16px}.board-search{flex:1;max-width:480px}.board-toolbar input,.board-toolbar select{width:100%;min-height:40px;padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:12px}.board-toolbar>label:not(.board-search){max-width:240px}.board-view{display:flex;margin-left:auto;background:#eaf0f7;border-radius:8px;padding:3px}.board-view button{border:0;border-radius:6px;background:transparent;padding:9px 15px;color:var(--muted);font-size:12px}.board-view button[aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 1px 4px #20335015}.board-filter-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}#board-focus{display:flex;flex-wrap:wrap;gap:7px}#board-focus button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:8px 11px;color:#53647b;font-size:12px}#board-focus button[aria-pressed=true]{background:#eaf1ff;border-color:#b7ccfa;color:#2154bc}#board-focus span{margin-left:7px;font-variant-numeric:tabular-nums;opacity:.75}#board-count{margin-left:auto;color:var(--muted);font-size:11px}.board-team{border-top:1px solid var(--line);padding:13px 0;margin-bottom:16px}.board-team summary{cursor:pointer;font-size:12px;font-weight:600;min-height:26px;line-height:26px}.board-team summary>span{font-weight:400;color:var(--muted);margin-left:10px;font-size:11px}#board-people{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 0}#board-people button{display:flex;align-items:center;gap:10px;text-align:left;background:white;border:1px solid var(--line);border-radius:9px;padding:10px 14px;font-size:12px;color:var(--ink)}#board-people button[aria-pressed=true]{border-color:#8caeea;background:#edf3ff}#board-people small{display:block;margin-top:5px;color:var(--muted);font-size:10px}.board-avatar{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:#eaf0f8;border-radius:50%;color:#4e6687;font-size:10px;font-weight:600}.board-team p,.board-help{font-size:11px;color:var(--muted);line-height:1.6}.kanban-wrap{background:transparent;border:0;border-radius:0;padding:2px 2px 14px;scrollbar-width:thin;scrollbar-color:#b9c8dc transparent;scroll-snap-type:x proximity}.kanban{display:grid;grid-template-columns:repeat(5,minmax(245px,1fr));gap:14px;min-width:1290px;align-items:start}.kanban-column{background:#edf1f6;border:1px solid #e3e9f1;border-radius:12px;padding:12px;min-height:330px;scroll-snap-align:start}.kanban-column h3{display:flex;align-items:center;gap:8px;padding:5px 2px 15px;font-size:12px;font-weight:600}.kanban-column h3>span{margin-left:auto;color:#7d8a9e;font-size:11px}.kanban-column h3 i{width:8px;height:8px;border:2px solid #93a0b5;border-radius:50%;flex-shrink:0}.tone-1 h3 i{border-color:#4e7cf0;background:#4e7cf0}.tone-2 h3 i{border-color:#aa8c5a;background:#aa8c5a}.tone-3 h3 i{border-color:#db9451;background:#db9451}.tone-4 h3 i{border-color:#5c9a86;background:#5c9a86}.kanban-cards{display:flex;flex-direction:column;gap:10px}.kanban-card{display:flex;flex-direction:column;width:100%;text-align:left;border:1px solid #dce3ed;background:white;border-radius:9px;padding:15px;color:var(--ink);box-shadow:0 2px 3px #25395004;transition:border-color .15s,box-shadow .15s}.kanban-card:hover{border-color:#9cb8e9;box-shadow:0 4px 12px #34557c0c}.card-title{font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-blocker{color:#916327;font-size:11px;line-height:1.6;background:#fff7eb;padding:8px;border-radius:5px;margin-top:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.card-assignee{font-size:11px;color:#647188;margin:18px 0 12px;overflow-wrap:anywhere}.card-footer{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#77859a}.is-overdue .card-date{color:#b14f4b}.kanban-card progress{appearance:none;width:100%;height:3px;border:0;margin-top:10px;border-radius:3px;background:#eef2f7;accent-color:#7d9ac4}.kanban-card progress::-webkit-progress-bar{background:#eef2f7;border-radius:3px}.kanban-card progress::-webkit-progress-value{background:#7d9ac4;border-radius:3px}.tone-4 progress::-webkit-progress-value{background:#71a38f}.card-unread{font-size:10px;margin-top:10px;color:#8d7960}.column-empty{font-size:11px;color:#8491a3;text-align:center;line-height:1.8;padding:32px 10px}.task-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(520px,100vw);height:100dvh;max-height:100dvh;border-radius:0;border:0;border-left:1px solid var(--line);padding:32px;box-shadow:-20px 0 80px #25395020}.task-drawer .dialog-head{align-items:start;padding-bottom:22px;border-bottom:1px solid var(--line)}.task-drawer .dialog-head h2{line-height:1.5}.task-drawer #detail-body{line-height:1.9}.task-drawer #detail-body .button{margin-top:28px}.task-drawer::backdrop{background:#20345128;backdrop-filter:blur(2px)}
@media(max-width:700px){.board-toolbar{flex-wrap:wrap}.board-search{flex-basis:100%;max-width:none}.board-toolbar>label:not(.board-search){flex:1;min-width:0}.board-toolbar select{max-width:100%}.board-view button{padding:10px}.board-team summary>span{display:none}#board-count{margin-left:0}.kanban{grid-template-columns:repeat(5,260px);min-width:1356px;gap:12px}.task-drawer{padding:22px}.board-help{max-width:100%}#board-people button{flex:1;min-width:180px}}
@media(prefers-reduced-motion:reduce){.kanban-card{transition:none}}

.task-drawer #detail-body{white-space:normal}.drawer-status{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px}.drawer-meta{display:grid;grid-template-columns:120px 1fr;gap:14px;margin:28px 0;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:12px}.drawer-meta dt{color:var(--muted)}.drawer-meta dd{margin:0}.drawer-description{white-space:pre-wrap;margin:12px 0 28px}.drawer-blocker{background:#fff6e7;border:1px solid #f0dfbf;border-radius:8px;padding:16px;color:#866024;white-space:pre-wrap}.drawer-blocker p{margin-bottom:0}.drawer-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:24px}.task-drawer #detail-body .drawer-actions .button{margin:0}
/* Keep working cards visible on a laptop; long columns scroll independently. */
body:not(.signed-out) main{padding-top:20px}body:not(.signed-out) .page-heading{margin-bottom:14px}body:not(.signed-out) .page-heading .eyebrow,body:not(.signed-out) .page-heading .lead{display:none}body:not(.signed-out) h1{font-size:26px}body:not(.signed-out) .projectbar{margin:14px 0}body:not(.signed-out) .section-head{margin:16px 0 12px}body:not(.signed-out) .board-toolbar{margin:14px 0 12px}body:not(.signed-out) .board-filter-row{margin-bottom:12px}body:not(.signed-out) .board-team{margin-bottom:10px;padding:8px 0}.kanban-cards{max-height:max(330px,calc(100dvh - 510px));overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bfcbdb transparent;padding:2px}.kanban-column{min-height:200px}.kanban-column h3{padding-bottom:12px}
@media(max-width:700px){body:not(.signed-out) main{padding-top:18px}.kanban-cards{max-height:65dvh}body:not(.signed-out) .page-heading h1{font-size:23px}}
body:not(.signed-out) .statusbar{padding:0;border:0;background:transparent;margin-bottom:12px;min-height:32px}body:not(.signed-out) .project-heading{display:flex;gap:12px;align-items:center;min-width:0}body:not(.signed-out) .project-heading label{margin:0}body:not(.signed-out) .project-heading select{min-width:0}body:not(.signed-out) .project-heading h2{font-size:18px}body:not(.signed-out) .tabsbar{margin-top:8px}body:not(.signed-out) .statusbar .connection{padding-left:0}@media(max-width:700px){body:not(.signed-out) .section-head p{display:none}body:not(.signed-out) .project-heading select{flex:1;width:0}body:not(.signed-out) .project-heading{width:100%}body:not(.signed-out) .statusbar{flex-direction:row;align-items:center}body:not(.signed-out) .statusbar .connection{flex:1;font-size:10px}body:not(.signed-out) .projectbar{margin:10px 0}}
body:not(.signed-out) .project-heading{overflow:hidden}body:not(.signed-out) .project-heading select{max-width:calc(100% - 52px);text-overflow:ellipsis}
/* Shared shell: section changes must not resize or reposition navigation. */
html{scrollbar-gutter:stable;overflow-anchor:none}body:not(.signed-out) main,body.calendar-wide main{max-width:1880px!important;padding:20px 36px 0!important}body:not(.signed-out) .statusbar .freshness{min-height:36px}body:not(.signed-out) .tabsbar{display:block;position:sticky;top:0;background:#f7f9fcf5;backdrop-filter:blur(10px);z-index:5;padding-top:8px;margin:8px 0 20px}body:not(.signed-out) .tabsbar .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-height:46px;gap:26px;max-width:100%;scrollbar-width:none}body:not(.signed-out) .tabs::-webkit-scrollbar{display:none}.tabs button[aria-selected=true]:after{bottom:0}body:not(.signed-out) .tabsbar .project-summary{display:flex;margin:8px 0 12px;justify-content:flex-start;min-height:26px}#dashboard>[role=tabpanel]{height:max(580px,calc(100dvh - 360px));overflow:auto;overflow-anchor:none;scrollbar-width:thin;scrollbar-color:#c4cedd transparent;padding:0 2px 12px}#tasks-panel,#apartments-panel{scrollbar-gutter:stable}.board-appearance{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:12px 0 18px;font-size:11px;color:var(--muted)}.board-appearance label{display:flex;align-items:center;gap:10px}.board-appearance input[type=range]{width:130px;accent-color:#4978d8}.board-appearance output{min-width:36px;font-variant-numeric:tabular-nums}.board-appearance select{padding:7px;border:1px solid var(--line);background:white;border-radius:6px;color:var(--ink);font:inherit}#board-expand{margin-left:auto}.kanban-wrap{scroll-snap-type:none}.kanban{grid-template-columns:repeat(5,minmax(calc(245px * var(--board-scale,1)),1fr));min-width:calc(1290px * var(--board-scale,1));gap:calc(14px * var(--board-scale,1))}.kanban-column{background:var(--column-wash,#edf1f6);border-top:3px solid var(--column-color,#8896ae)}.kanban-column h3 i{background:var(--column-color)!important;border-color:var(--column-color)!important}.kanban-column h3 input[type=color]{width:20px;height:20px;padding:2px;border:1px solid #ffffff;border-radius:5px;cursor:pointer;background:transparent}.kanban-column h3{font-size:calc(12px * var(--board-scale,1))}.kanban-card{padding:calc(15px * var(--board-scale,1));border-color:#dce3ed;box-shadow:0 3px 9px #20344d06}.card-title{font-size:calc(13px * var(--board-scale,1))}.card-assignee{font-size:calc(11px * var(--board-scale,1));margin-top:calc(18px * var(--board-scale,1))}.card-footer,.card-unread{font-size:calc(10px * var(--board-scale,1))}.card-blocker{font-size:calc(11px * var(--board-scale,1))}.kanban-card progress::-webkit-progress-value{background:var(--column-color)}.kanban-cards{max-height:460px;overscroll-behavior:contain}.kanban-card.is-overdue{border-left:3px solid #cc8178}[data-density=compact] .kanban-card{padding:10px}[data-density=compact] .card-assignee{margin:8px 0}[data-density=compact] .card-title{-webkit-line-clamp:2}[data-density=compact] .card-blocker{-webkit-line-clamp:1;margin-top:6px;padding:4px 6px}[data-density=compact] .card-unread{margin-top:5px}[data-density=compact] .kanban-cards{gap:7px}#board-window{width:calc(100vw - 32px);height:calc(100dvh - 32px);max-width:none;max-height:none;padding:24px}#board-window::backdrop{background:#23354b55;backdrop-filter:blur(5px)}#board-window .kanban-cards{max-height:calc(100dvh - 330px)}#board-window #board-workspace{min-width:0}.kanban-card:hover{border-color:var(--column-color,#9cb8e9);box-shadow:0 5px 15px #20344d12}@media(max-width:700px){body:not(.signed-out) main,body.calendar-wide main{padding:18px 16px 0!important}.board-appearance{gap:12px}#board-expand{margin-left:0}#dashboard>[role=tabpanel]{height:750px}.kanban{grid-template-columns:repeat(5,calc(245px * var(--board-scale,1)));min-width:calc(1290px * var(--board-scale,1))}#board-window{padding:12px;width:calc(100vw - 12px)}body:not(.signed-out) .tabsbar .tabs{gap:20px}.board-appearance input[type=range]{width:100px}}

.column-color-picker{position:relative;display:block;flex:0 0 18px;width:18px;height:18px;border:3px solid white;border-radius:50%;background:var(--column-color);box-shadow:0 0 0 1px #cdd6e4;cursor:pointer}.kanban-column h3 .column-color-picker input[type=color]{position:absolute;inset:-3px;width:24px;height:24px;opacity:0;padding:0;cursor:pointer}.column-color-picker:focus-within{outline:2px solid #80a5eb;outline-offset:3px}
/* Team workspace: compact task counts and actionable exceptions. */
.team-focus{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:4px 2px 16px}
.team-focus button{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:14px 12px;text-align:left;background:#fff;border:1px solid #dfe7f1;border-radius:10px;color:#52627b;font-size:11px;transition:background .15s,border-color .15s}
.team-focus button:hover{border-color:#9bb7e8}.team-focus button[aria-pressed=true]{border-color:#7b9fe6;background:#edf3ff;color:#245ede;box-shadow:0 2px 8px #245ede0a}.team-focus strong{font-size:23px;font-weight:600;font-variant-numeric:tabular-nums}.team-focus-icon{width:28px;height:28px;display:grid;place-items:center;background:#eef3fa;border-radius:8px;font-size:17px;color:#6683ad}.team-focus [data-team-focus=late] .team-focus-icon{background:#fff0ec;color:#b75645}.team-focus [data-team-focus=answer] .team-focus-icon{background:#fff4df;color:#9c722d}.team-focus [data-team-focus=free] .team-focus-icon{background:#eaf6f0;color:#438773}
.team-options{display:flex;align-items:center;gap:16px;margin:0 2px 16px;color:#6e7d93;font-size:11px}.team-options label{margin-left:auto;display:flex;align-items:center;gap:9px}.team-options select{min-height:36px;border:1px solid #dfe7f1;border-radius:7px;padding:6px 9px;background:#fff;color:#415573;font-size:11px}
.people-list.team-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:16px;padding:2px;border:0;border-radius:0;background:transparent;align-items:start}
.team-cards .person.team-person-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:18px;background:#fff;border:1px solid #e0e7f0;border-radius:13px;min-width:0;box-shadow:0 3px 12px #253c5906;border-top:3px solid var(--person-accent)}
.team-person-card{--person-accent:#658ac4;--person-soft:#edf3fd}.team-person-card.tint-1{--person-accent:#568f80;--person-soft:#edf6f2}.team-person-card.tint-2{--person-accent:#947caf;--person-soft:#f3eff9}.team-person-card.tint-3{--person-accent:#a88b59;--person-soft:#f8f3e9}.team-person-card.has-overdue{border-top-color:#d68a72!important}
.team-person-head{display:flex;align-items:center;gap:10px;min-width:0}.team-person-head>div{min-width:0;flex:1}.team-person-head .avatar{background:var(--person-soft);color:var(--person-accent);width:38px;height:38px;font-size:12px;font-weight:600}.team-person-head .text-button{font-size:13px;font-weight:600;color:var(--ink);line-height:1.5;overflow-wrap:anywhere}.team-person-head .text-button:hover{color:var(--blue)}.person-card-caption{display:block;font-size:10px;color:var(--muted);margin-top:3px}.person-card-caption.attention{color:#a6653b}.person-quick{width:30px;height:30px;flex-shrink:0;border:1px solid #dae5f4;border-radius:8px;background:#f6f9ff;color:#5f80b1;font-size:20px}
.person-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:15px 0;margin-top:10px;border-bottom:1px solid #edf1f6}.person-numbers strong{display:block;font-size:26px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;color:#34445d}.person-numbers span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.person-numbers>div:first-child strong{color:var(--person-accent)}.person-numbers .needs-answer strong{color:#b5684f}
.person-distribution{display:flex;gap:3px;height:5px;margin-top:16px;overflow:hidden;border-radius:4px}.person-distribution>span{min-width:4px}.load-0{background:#618bdf}.load-1{background:#b4c0d1}.load-2{background:#b69d70}.load-3{background:#e3a166}.person-legend{display:flex;flex-wrap:wrap;gap:7px 12px;margin:9px 0 14px;font-size:9px;color:#6c7b91}.person-legend>span{display:flex;align-items:center;gap:4px}.person-legend i{width:5px;height:5px;border-radius:50%}.person-legend b{font-weight:600}
.person-card-tasks{margin-bottom:12px}.person-task{display:block;width:100%;text-align:left;color:var(--ink);padding:10px;border:1px solid #edf1f6;border-radius:8px;background:#f9fbfe;margin:0 0 7px;transition:background .15s,border-color .15s}.person-task:hover{background:#f0f5fd;border-color:#b9cceb}.person-task-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.person-task-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:10px;color:var(--muted)}.person-task-meta>span:last-child{margin-left:auto}.person-task .pill{font-size:9px;padding:2px 5px}.person-task .task-due{font-size:9px}.person-late{color:#b26054}.person-task progress{display:block;width:100%;height:3px;border:0;appearance:none;background:#e7edf6;margin-top:9px;accent-color:#7a9bcc}.person-task progress::-webkit-progress-bar{background:#e7edf6;border-radius:3px}.person-task progress::-webkit-progress-value{background:#7a9bcc;border-radius:3px}.person-task-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.6;margin-top:8px;color:#97632f}.person-task-unread{display:block;font-size:9px;margin-top:7px;color:#8894a4}
.person-empty-tasks{display:flex;align-items:center;gap:12px;padding:22px 0;color:#526780;font-size:12px}.person-empty-tasks svg{width:32px;height:32px;color:var(--person-accent);flex-shrink:0}.person-empty-tasks small{display:block;font-size:10px;line-height:1.5;margin-top:5px;color:#7c8b9e}
.team-person-card .person-card-bottom{display:flex!important;align-items:center;gap:12px;justify-content:space-between;border-top:1px solid #edf1f6;padding-top:13px;flex-wrap:nowrap}.person-all-tasks{font-size:11px;color:#6b809f}.person-all-tasks span{margin-left:6px}.person-assign{border:1px solid #dce6f3;border-radius:7px;background:#f0f5ff;color:#3d68a6;white-space:nowrap;font-size:11px;font-weight:500;padding:8px 11px;min-height:34px}.person-assign:hover,.person-quick:hover{background:#e4eeff;border-color:#91aee0}.person-assign:active,.person-quick:active{transform:translateY(1px)}.person-assign:disabled,.person-quick:disabled{cursor:not-allowed}
.person-models{font-size:10px;color:#7b8b9f;margin-top:12px;padding-top:10px;border-top:1px dashed #edf1f6}.person-models summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px}.person-models summary::-webkit-details-marker{display:none}.person-models summary:after{content:'⌄';margin-left:auto}.model-dot{width:5px;height:5px;background:#96a8bf;border-radius:50%}.team-person-card .person-location{padding:0;margin:10px 0 0;line-height:1.6;font-size:10px;overflow-wrap:anywhere}.person-location p{margin:6px 0}.person-more summary{cursor:pointer;font-size:11px;color:#5b7ca8;padding:8px 0}.team-empty{grid-column:1/-1;background:#fff;border:1px dashed #d5dfed;border-radius:12px}.task-drawer .person-task{white-space:normal}.team-options #team-reset{font-size:11px}
@media(max-width:1100px){.team-focus{grid-template-columns:repeat(3,minmax(0,1fr))}.team-focus button{padding:10px}.team-focus strong{font-size:20px}}
@media(max-width:650px){.team-focus{display:flex;overflow-x:auto;scrollbar-width:thin;gap:8px;padding-bottom:6px}.team-focus button{min-width:170px;flex-shrink:0;min-height:54px}.team-options{flex-wrap:wrap;gap:8px}.team-options label{width:100%;margin:0;justify-content:space-between}.team-options select{max-width:75%;min-height:40px}.people-list.team-cards{grid-template-columns:1fr;gap:12px}.team-cards .person.team-person-card{padding:16px}.person-assign{min-height:40px}.person-quick{width:36px;height:36px}.team-person-head .text-button{font-size:14px}.person-models summary{min-height:32px}.person-all-tasks{min-height:40px}}
@media(prefers-reduced-motion:reduce){.person-assign:active,.person-quick:active{transform:none}.team-focus button,.person-task{transition:none}}

.activity-card{padding:28px;margin:8px 2px 26px;border:1px solid #dce5f1;border-radius:20px;background:#fff;box-shadow:0 8px 32px #253d6810;overflow:hidden}.activity-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.activity-kicker{font-size:10px;color:#5276b8;font-weight:750;letter-spacing:1.7px;margin:0 0 9px}.activity-heading h2{font-size:24px;letter-spacing:-.6px;margin:0}.activity-heading #activity-subtitle{font-size:12px;color:#77859a;margin:9px 0 0}.activity-controls{display:flex;gap:10px;min-width:0}.activity-controls label:first-child{min-width:0}.activity-controls select{max-width:350px;min-height:42px;padding:10px 12px;border:1px solid #dce4ef;border-radius:10px;background:#f9fbfe;color:#34445e;font-size:12px}.activity-overview{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:24px;margin:26px 0 30px;padding:20px 24px;background:linear-gradient(110deg,#f0f5ff,#f8faff 65%,#f5fafb);border:1px solid #e8eef8;border-radius:14px}.activity-overview>div{display:flex;flex-direction:column;gap:7px;border-left:1px solid #dce5f3;padding-left:24px}.activity-overview>div:first-child{border:0;padding-left:0}.activity-overview strong{font-size:30px;color:#213b67;font-weight:650;letter-spacing:-1px;line-height:1.2;font-variant-numeric:tabular-nums}.activity-overview>div:first-child strong{color:#295bd7}.activity-overview span{font-size:12px;color:#6c7c96}.activity-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.activity-chart-column{min-width:0}.activity-chart-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:1px 0 16px;font-size:12px;font-weight:650;color:#4b5d77}.activity-chart-caption>span+span{font-size:11px;font-weight:400;color:#8390a4}.activity-chart-surface{position:relative;background:linear-gradient(#fff,#f9fbfe);border-radius:12px}.activity-plot svg{display:block;width:100%;height:auto;min-height:240px}.activity-plot text{font-family:inherit;font-size:12px;fill:#8290a5}.activity-plot .activity-today-label{fill:#2c59bd;font-weight:700}.activity-plot .activity-before{font-size:12px;fill:#99a4b5}.activity-series{transition:opacity .16s}.activity-series.is-muted{opacity:.12}.activity-series.is-highlighted .activity-line{stroke-width:2}.activity-series.is-highlighted .activity-area{opacity:1}.activity-area{opacity:.45}.activity-day-hit{cursor:crosshair;outline:none}.activity-day-hit.is-active,.activity-day-hit:focus-visible{fill:#3563e90b;stroke:#3563e930;stroke-width:1}.activity-roster{border-left:1px solid #e8edf4;padding-left:24px}.activity-roster-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.activity-roster-heading h3{font-size:14px;margin:0;color:#34455f}.activity-roster-heading>span{font-size:11px;color:#8390a4}.activity-roster-hint{font-size:11px;line-height:1.5;color:#8390a4;margin:8px 0 12px}.activity-legend{display:flex;flex-direction:column;gap:6px;max-height:390px;overflow:auto;padding:2px 4px 3px 0}.activity-legend button{display:flex;gap:10px;align-items:center;text-align:left;padding:10px;border:1px solid transparent;border-radius:11px;background:#f7f9fc;color:#34445d;min-height:62px;width:100%;transition:background .15s,border-color .15s;cursor:pointer}.activity-legend button:hover,.activity-legend button.is-highlighted{background:#fff;border-color:var(--series);box-shadow:0 3px 12px #22344e0b}.activity-avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:var(--series);color:#fff;font-size:11px;font-weight:750;letter-spacing:.5px}.activity-person-info{flex:1;min-width:0}.activity-person-name{font-size:12px;font-weight:600;line-height:1.4;display:block;overflow-wrap:anywhere}.activity-person-line{display:flex;align-items:center;gap:7px;margin-top:7px}.activity-person-line i{width:22px;height:3px;background:var(--series);border-radius:2px;position:relative;flex:0 0 22px}.activity-person-line i:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:var(--series);left:8px;top:-2px}.activity-person-line>span{height:3px;flex:1;border-radius:3px;background:linear-gradient(to right,var(--series) var(--share),#e6ebf2 var(--share));opacity:.6}.activity-legend b{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;color:#30425e}.activity-legend b small{font-size:10px;color:#8290a5;margin-left:4px;font-weight:400}.activity-person-check{font-size:11px;color:var(--series);width:10px}.activity-legend button[aria-pressed=false]{background:#fafbfc;color:#8a96a7}.activity-legend button[aria-pressed=false] .activity-avatar{opacity:.32}.activity-legend button[aria-pressed=false] .activity-person-line{opacity:.25}.activity-legend button[aria-pressed=false] b{color:#99a4b3}.activity-tooltip{position:absolute;z-index:3;right:12px;top:12px;width:min(300px,calc(100% - 24px));max-height:330px;overflow:auto;padding:16px;background:#fff;border:1px solid #dce4f0;box-shadow:0 12px 36px #19345c24;border-radius:12px;pointer-events:none}.activity-tooltip.align-left{right:auto;left:40px}.activity-tooltip>strong{display:block;font-size:12px;color:#304466;margin-bottom:12px}.activity-tooltip>div{display:flex;gap:8px;align-items:center;margin:9px 0;font-size:11px;color:#52627b}.activity-tooltip i{width:9px;height:9px;border-radius:3px;flex:0 0 9px}.activity-tooltip b{margin-left:auto;white-space:nowrap;color:#2a3e5e}.activity-tooltip p{font-size:12px;color:#77859a}.activity-note{font-size:11px;color:#8290a4;line-height:1.7;margin:22px 0 10px;padding-top:16px;border-top:1px solid #e9eef5}.activity-data summary{font-size:12px;color:#526f9a;cursor:pointer;min-height:30px}.activity-data>div{overflow:auto;max-height:320px}.activity-data td{padding:12px;font-size:11px;text-align:right}.activity-data table{min-width:650px}.activity-empty{height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#71839f;text-align:center;padding:20px}.activity-empty>span{font-size:34px;color:#91add9;margin-bottom:14px}.activity-empty strong{font-size:15px;font-weight:600}.activity-empty p{font-size:12px;max-width:360px;line-height:1.7}.activity-card .activity-data table{table-layout:auto}
@media(max-width:1100px){.activity-workspace{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.activity-roster{padding-left:16px}.activity-card{padding:22px}.activity-chart-caption>span+span{display:none}}
@media(max-width:800px){.activity-heading{flex-direction:column;align-items:stretch;gap:16px}.activity-controls select{max-width:100%;width:100%}.activity-controls label:first-child{flex:1}.activity-workspace{grid-template-columns:1fr}.activity-roster{padding:18px 0 0;border-left:0;border-top:1px solid #e8edf4}.activity-legend{display:grid;grid-template-columns:1fr 1fr;max-height:300px}.activity-plot{overflow:auto}.activity-plot svg{min-width:580px}.activity-overview{gap:12px;padding:16px;margin:20px 0}.activity-overview>div{padding-left:12px}.activity-overview strong{font-size:24px}.activity-overview span{font-size:11px}}
@media(max-width:480px){.activity-card{padding:16px;border-radius:16px}.activity-heading h2{font-size:21px}.activity-controls select{font-size:11px;padding:9px 7px}.activity-overview{grid-template-columns:1fr 1fr;gap:16px}.activity-overview>div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid #dce5f3;padding:12px 0 0;flex-direction:row;align-items:center;justify-content:space-between}.activity-overview>div:last-child strong{font-size:18px}.activity-legend{grid-template-columns:1fr}.activity-tooltip.align-left{left:12px}.activity-plot svg{min-height:220px}}
@media(prefers-reduced-motion:reduce){.activity-series,.activity-legend button{transition:none}}


/* Task priority: a compact numbered dial, readable without colour. */
.priority-circle{--priority-color:#64748b;--priority-bg:#f1f5f9;display:inline-grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:conic-gradient(var(--priority-color) var(--priority-fill),#e5eaf1 0);padding:3px;box-sizing:border-box;vertical-align:middle}
.priority-circle>span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--priority-bg);color:var(--priority-color);font-size:12px;font-weight:750;font-variant-numeric:tabular-nums}
.priority-low{--priority-color:#19766b;--priority-bg:#e6f5ef}.priority-medium{--priority-color:#a36b12;--priority-bg:#fff2cf}.priority-high{--priority-color:#be521b;--priority-bg:#ffeadc}.priority-urgent{--priority-color:#c02c46;--priority-bg:#ffe4e9}
.card-heading{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}.card-heading .card-title,.card-heading .person-task-title{min-width:0;flex:1}.card-heading .priority-circle{width:28px;height:28px;padding:2px}.card-heading .priority-circle>span{font-size:11px}
.priority-editor{border:1px solid #e0e7f0;border-radius:14px;padding:14px 16px;margin:18px 0 12px;background:#f8faff;min-width:0}.priority-editor legend{font-size:13px;font-weight:650;padding:0 6px;color:#42516b}.priority-editor-row{display:flex;align-items:center;gap:18px}.priority-editor .priority-circle{width:64px;height:64px;padding:5px}.priority-editor .priority-circle>span{font-size:23px;transition:background .18s,color .18s}.priority-controls{flex:1;min-width:0}.priority-controls label{margin:0!important;font-size:13px;font-weight:650}.priority-controls input[type=range]{width:100%;height:28px;padding:0;margin:8px 0 0;cursor:pointer;accent-color:#285be8;border:0;background:transparent}.priority-endpoints{display:flex;justify-content:space-between;font-size:11px;color:#738099;gap:12px}.drawer-status .priority-circle{margin-right:6px}
@media(max-width:420px){.priority-editor{padding:10px}.priority-editor-row{gap:12px}.priority-editor .priority-circle{width:52px;height:52px}}

.activity-chart-surface{background:#fff}.activity-week-nav{display:flex;gap:6px;align-items:center}.activity-week-nav button{padding:7px 10px;background:#fff;border:1px solid #e1e7f1;border-radius:7px;color:#576b88;font:inherit;font-size:11px;cursor:pointer}.activity-week-nav button:hover{border-color:#9cb4df;color:#285bce}.activity-plot .activity-week-label{font-size:11px;font-weight:600;fill:#5c7191}.activity-plot .activity-weekday{font-size:10px;fill:#98a4b5}.activity-plot text{font-size:10px}.activity-plot svg{min-width:760px}.activity-plot{overflow:auto;scrollbar-width:thin}.activity-line{transition:opacity .15s;fill:none}

.activity-disclosure{margin:8px 2px 24px}.activity-toggle{display:inline-flex;align-items:center;gap:18px;cursor:pointer;list-style:none}.activity-toggle::-webkit-details-marker{display:none}.activity-toggle span{transition:transform .15s}.activity-disclosure[open]>.activity-toggle{background:#edf3ff;color:#2458d8;border-color:#c5d6fa}.activity-disclosure[open]>.activity-toggle span{transform:rotate(180deg)}.activity-disclosure .activity-card{margin:16px 0 0}.activity-legend{max-height:none;overflow:visible}.activity-legend button{min-height:54px;padding:8px 10px}



/* Compact shared cabinet header */
body:not(.signed-out) .top{height:54px;padding:0 28px;flex-wrap:nowrap}body:not(.signed-out) .brand{font-size:18px}body:not(.signed-out) .brand img{width:30px;height:30px}body:not(.signed-out) main{padding-top:12px!important}body:not(.signed-out) .page-heading{margin-bottom:4px;gap:12px}body:not(.signed-out) .page-heading h1{font-size:23px}.heading-actions{display:flex;align-items:center;gap:18px}.heading-actions #identity{font-size:12px}.heading-actions .freshness{gap:8px}body:not(.signed-out) .statusbar{min-height:0;margin:0 0 4px}body:not(.signed-out) .statusbar .connection{margin:0;padding:2px 0;font-size:10px}body:not(.signed-out) .projectbar{margin:5px 0}body:not(.signed-out) .project-heading select{padding:5px 30px 5px 10px}body:not(.signed-out) .tabsbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 12px;padding-top:0}body:not(.signed-out) .tabsbar .tabs{min-height:40px;margin:0;border:0;gap:22px}body:not(.signed-out) .tabsbar .tabs button{padding:10px 0}body:not(.signed-out) .tabsbar .project-summary{margin:0;gap:6px;min-height:0}#dashboard>[role=tabpanel]{height:max(580px,calc(100dvh - 235px))}
@media(max-width:1150px){body:not(.signed-out) .tabsbar{display:block}body:not(.signed-out) .tabsbar .project-summary{margin:4px 0 8px}.heading-actions{gap:10px}}
@media(max-width:700px){body:not(.signed-out) .top{padding:0 16px}.heading-actions{width:100%;justify-content:space-between;flex-wrap:wrap;gap:6px}body:not(.signed-out) .page-heading{gap:6px}body:not(.signed-out) .page-heading h1{font-size:21px}body:not(.signed-out) .tabsbar .tabs{gap:18px}body:not(.signed-out) .projectbar{margin:4px 0}body:not(.signed-out) .tabsbar .project-summary{flex-wrap:wrap}#dashboard>[role=tabpanel]{height:750px}}
@media(max-width:700px){body:not(.signed-out) .top{height:auto;min-height:54px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}.heading-actions .freshness{flex-wrap:wrap;min-width:0}.heading-actions{min-width:0}}

/* Dense section controls and report rows. */
body:not(.signed-out) .tabsbar{margin-bottom:5px}body:not(.signed-out) #dashboard>[role=tabpanel]>.section-head{margin:6px 0 8px;gap:12px}body:not(.signed-out) #dashboard>[role=tabpanel]>.section-head p{display:none}.team-options{margin:0 2px 7px;min-height:30px}.team-options select{padding:5px 8px}.team-focus{margin-bottom:7px}.team-focus button{padding-top:8px;padding-bottom:8px;min-height:44px}.board-secondary-tools{display:flex;align-items:start;justify-content:space-between;gap:12px;margin:4px 0 8px}.board-secondary-tools .board-team{flex:1;min-width:0}body:not(.signed-out) .board-secondary-tools .board-team{padding:5px 0;margin:0}.board-secondary-tools .board-appearance{margin:0;flex:none}.models-heading .icon-button{min-width:30px;min-height:30px;padding:3px 8px}.model{padding:11px 0}.apartment-calendar-link{margin:4px 8px 6px 0}.activity-disclosure:not([open]){display:inline-block;margin:4px 0 6px;vertical-align:middle}.activity-disclosure[open]{margin:4px 0 10px}.calendar-workspace>.section-head{margin:6px 0 8px!important}.calendar-wide #reports-table{margin-top:0}#reports-table:not(.expanded-reports) tbody th{height:44px;padding:6px 12px;font-size:11px}#reports-table:not(.expanded-reports) tbody td button{height:44px;min-height:44px;padding:5px 7px;font-size:11px;overflow:hidden}#reports-table:not(.expanded-reports) tbody th small{margin-top:3px;font-size:10px}#reports-table:not(.expanded-reports) tbody .report-task{display:none}#reports-table thead th{padding-top:5px;padding-bottom:5px}#calendar-window{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border:0;border-radius:0;padding:16px}#calendar-window #reports-table{max-height:calc(100dvh - 135px)}
@media(max-width:700px){.board-secondary-tools{flex-wrap:wrap}.board-secondary-tools .board-team{flex-basis:65%}#calendar-window #reports-table{max-height:calc(100dvh - 220px)}.team-options{gap:6px}.activity-toggle,.apartment-calendar-link{font-size:11px}}

/* Reduce activity footprint while preserving the plotted series. */
.activity-card{padding:18px}.activity-kicker{margin-bottom:5px}.activity-heading h2{font-size:21px}.activity-heading #activity-subtitle{margin-top:5px}.activity-overview{margin:14px 0 16px;padding:12px 18px;gap:18px}.activity-overview strong{font-size:25px}.activity-overview>div{gap:4px;padding-left:18px}.activity-chart-caption{margin-bottom:8px}.activity-workspace{gap:20px}.activity-plot svg{max-height:350px;min-height:200px}.activity-roster{padding-left:16px}.activity-roster-hint{margin:5px 0 7px}.activity-legend{gap:4px}.activity-legend button{min-height:40px;padding:5px 8px;gap:8px}.activity-avatar{width:32px;height:32px;flex-basis:32px}.activity-person-line{margin-top:4px}.activity-legend b{font-size:13px}.activity-note{margin:12px 0 5px;padding-top:10px}.activity-data summary{min-height:24px}
@media(max-width:800px){.activity-card{padding:14px}.activity-workspace{gap:12px}.activity-overview{margin:12px 0;padding:10px 12px}.activity-plot svg{max-height:290px}.activity-roster{padding:12px 0 0}}

/* Compact activity header; restore the original full-width plot. */
.activity-plot svg{max-height:none;min-height:240px}.activity-kicker{display:none}.activity-heading{gap:12px}.activity-heading h2{font-size:18px;letter-spacing:-.3px}.activity-heading #activity-subtitle{margin:3px 0 0;font-size:11px}.activity-controls select{min-height:34px;padding:6px 10px}.activity-overview{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;margin:10px 0 12px;padding:8px 0;background:none;border:0;border-bottom:1px solid #e8eef5;border-radius:0}.activity-overview>div{flex-direction:row;align-items:baseline;gap:8px;padding:0;border:0}.activity-overview strong{font-size:18px;letter-spacing:-.3px}.activity-overview span{font-size:11px}.activity-chart-caption{margin-bottom:6px}
@media(max-width:800px){.activity-heading{gap:8px}.activity-plot svg{max-height:none;min-height:220px}.activity-overview{gap:8px 18px;margin:8px 0;padding:7px 0}.activity-overview>div:last-child{flex-direction:row;padding:0;border:0}.activity-overview>div:last-child strong{font-size:18px}}

.activity-roster-mode{display:flex;gap:3px;padding:3px;background:#eef2f8;border-radius:9px;margin:8px 0}.activity-roster-mode button{flex:1;border:0;border-radius:6px;background:transparent;color:#64748b;padding:6px 8px;font-size:12px;cursor:pointer}.activity-roster-mode button[aria-pressed="true"]{background:#fff;color:#2459dc;box-shadow:0 1px 4px #20375912}.activity-roster-mode button:focus-visible{outline:2px solid #3563e9;outline-offset:2px}

#import-models{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;flex-shrink:0}#import-models[hidden]{display:none}#import-models svg{display:block;flex:none}

/* One vertical scroll surface in the cabinet; dialogs retain their own viewport. */
body:not(.signed-out) #dashboard>[role=tabpanel]{height:auto;min-height:max(580px,calc(100dvh - 235px));max-height:none;overflow:visible;min-width:0}
#dashboard .kanban-cards{max-height:none;overflow:visible;overscroll-behavior:auto}
#dashboard #reports-table,#dashboard .monthly-reports,#dashboard .activity-data>div{height:auto;max-height:none;overflow-x:auto;overflow-y:hidden}
#dashboard .apartment-calendar-scroll{height:auto;max-height:none;overflow-x:auto;overflow-y:hidden}

#calendar-view{appearance:none;-webkit-appearance:none;padding:0 32px 0 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23556880%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m7 10 5 5 5-5%27/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}#report-density{min-width:126px;white-space:nowrap}

/* Contextual controls share the navigation row; original controls keep their handlers. */
#project-summary{display:none!important}
.tabsbar{gap:12px;align-items:center;flex-wrap:wrap}
#tab-context{margin-left:auto;min-width:0;max-width:100%;display:flex;align-items:center;gap:6px}
#tab-context[hidden]{display:none}
#tab-context .team-focus,#tab-context .board-filter-row,#tab-context .apartment-summary,#tab-context .week{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;border:0;width:auto;min-width:0}
#tab-context .team-focus button{display:flex;align-items:center;gap:7px;min-height:32px;padding:6px 9px;border-radius:7px;flex:none}
#tab-context .team-focus-icon{display:none}
#tab-context .team-focus strong{font-size:14px;margin:0}
#tab-context .team-focus button span{font-size:11px}
#tab-context #board-focus{display:flex;flex-wrap:wrap;gap:5px}
#tab-context #board-count{display:none}
#tab-context .apartment-summary>div{display:flex;align-items:center;gap:7px;padding:6px 10px;min-height:32px;flex:none}
#tab-context .apartment-summary strong{font-size:15px}
#tab-context button,#tab-context input,#tab-context select{min-height:32px;font-size:11px}
#tab-context .week{justify-content:flex-end}
@media(max-width:1100px){#tab-context{margin-left:0;flex-basis:100%;padding-bottom:6px}#tab-context .week{justify-content:flex-start}}
/* Keep the team overview heading on one compact line. */
#team-panel>.section-head .search,#team-panel .team-options{display:none!important}
.people-title-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.people-title-row #team-count{font-size:11px;font-weight:400;color:var(--muted)}
#team-panel>.section-head{margin:8px 0 10px!important;min-height:0}
/* Task tools share the title row, leaving the board immediately below. */
#tasks-panel>.section-head{display:flex;align-items:center;gap:14px;margin:8px 0 12px!important;flex-wrap:wrap}
#tasks-panel>.section-head>div:first-child{flex:none}
#tasks-panel>.section-head .board-toolbar{flex:1;display:flex;align-items:center;gap:8px;margin:0;padding:0;min-width:0}
#tasks-panel>.section-head .board-search{flex:0 1 340px;width:auto;min-width:160px}
#tasks-panel>.section-head .board-search input{width:100%}
#tasks-panel>.section-head .board-view{margin-left:auto;flex:none}
#tasks-panel>.section-head #board-person{max-width:180px}
#tasks-panel .board-secondary-tools{display:none!important}
@media(max-width:800px){#tasks-panel>.section-head .board-toolbar{order:3;flex-basis:100%;flex-wrap:wrap}#tasks-panel>.section-head #tasks-create{margin-left:auto}#tasks-panel>.section-head .board-search{flex:1}}

/* Compact global heading: identity in masthead, project beside title. */
.top #identity{margin:0 auto 0 4px;font-size:12px;color:var(--muted);white-space:nowrap}
#new-task,#export-tasks{display:none!important}
body:not(.signed-out) .statusbar:has(.connection:not(.warning):not(.demo)){display:none!important}
.page-heading .projectbar{margin:0!important;padding:0!important;border:0}
.page-heading .project-heading{display:flex;align-items:center;gap:10px}
.page-heading{margin-bottom:10px!important}
body.signed-out .top #identity,body.signed-out .page-heading .projectbar{display:none!important}
@media(max-width:600px){.top{gap:8px;flex-wrap:wrap;height:auto;min-height:54px;padding-top:8px;padding-bottom:8px}.top #identity{font-size:11px;white-space:normal}.page-heading .heading-actions{margin-left:auto}.page-heading .project-heading{gap:6px}}

body:not(.signed-out) #dashboard>[role=tabpanel]{min-height:max(580px,calc(100dvh - 140px))}
@media(max-width:600px){.page-heading{flex-wrap:wrap;gap:8px}.page-heading>div,.page-heading .heading-actions,.page-heading .projectbar{min-width:0;max-width:100%}.page-heading .project-heading select{max-width:180px}.top #identity{flex-basis:100%;order:5;margin:0}.top .brand{min-width:0}}

/* Reports title shares the activity toolbar row. */
#reports-panel>.reports-heading{float:left;margin:10px 16px 8px 0;font-size:18px;line-height:32px}#reports-panel>.activity-disclosure{margin:10px 0 8px}#reports-panel>.activity-disclosure .activity-card{clear:both}#reports-panel>.calendar-workspace{clear:both}#reports-panel>.calendar-workspace>.section-head{display:none}#calendar-window .calendar-workspace>.section-head{display:flex}

/* Employee workspace: focus, queue and shared project overview. */
.employee-workspace #workspace{max-width:1800px}
.employee-workspace .tabs{display:flex;flex-wrap:wrap}
.employee-workspace #tab-my{order:0}.employee-workspace #tab-models{order:1}.employee-workspace #tab-team{order:2}.employee-workspace #tab-tasks{order:3}.employee-workspace #tab-apartments{order:4}.employee-workspace #tab-reports{order:5}
.employee-workspace #project-summary,.employee-workspace .column-color-picker,.employee-workspace .board-help{display:none}
.employee-workspace #team-panel>.fine{display:none}
.my-summary{display:flex;align-items:center;gap:24px;padding:12px 0 16px;color:var(--muted,#728098);font-size:13px}
.my-summary strong{font-size:17px;color:#263a59;margin-right:5px}.my-summary button{margin-left:auto}
.my-task-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,1fr);gap:20px;align-items:start}
.my-focus,.my-queue{background:#fff;border:1px solid #dce4f1;border-radius:16px;padding:24px;min-width:0}
.my-focus{border-top:3px solid #315efb;box-shadow:0 8px 32px #244b8b06}
.my-focus-top,.my-focus-meta,.my-progress-label,.my-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.my-eyebrow{font-size:11px;letter-spacing:1.4px;color:#6380ae;font-weight:700}.my-focus h2{font-size:23px;line-height:1.45;margin:20px 0 12px}
.my-result{color:#60718a;line-height:1.6;font-size:14px;white-space:pre-wrap}.my-focus-meta{justify-content:start;flex-wrap:wrap;margin:20px 0;font-size:13px}.my-focus-meta>span:last-child{margin-left:auto}
.my-progress-label{font-size:12px;color:#728098;margin-bottom:9px}.my-progress-label strong{font-size:22px;color:#203654}.my-focus progress{display:block;width:100%;height:5px;accent-color:#315efb}
.my-focus input[type=range]{width:100%;accent-color:#315efb;margin:10px 0 0;cursor:pointer}
.my-task-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.my-task-actions .button{font-size:13px;padding:10px 13px}
.my-blocker{padding:12px;border-radius:8px;background:#fff4df;color:#966118;font-size:13px;white-space:pre-wrap}.my-late{color:#d74260}
.my-queue h2{font-size:18px;margin:0}.my-queue-heading>span{border-radius:7px;background:#eef3ff;color:#315efb;padding:4px 8px;font-size:12px}
.my-queue-task{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 34px 45px;align-items:center;gap:12px;text-align:left;border:1px solid #e1e8f4;background:#f9fbff;padding:13px;border-radius:10px;margin:8px 0;cursor:pointer;color:#263a59;transition:background .15s,transform .15s}
.my-queue-task:hover{background:#eef3ff;transform:translateY(-1px)}.my-queue-task>span:first-child{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.my-queue-task small{display:block;color:#7a8aa2;font-size:11px;font-weight:400;margin-top:5px}.my-queue-task>strong{font-size:12px;text-align:right}.my-queue>.text-button{margin-top:14px}
.my-queue-empty,.my-empty{padding:36px 10px;text-align:center;color:#7a8aa2}.my-empty>span{color:#159b7b;font-size:32px}.my-empty p{line-height:1.6}
.my-done{margin-top:18px}.my-done summary{cursor:pointer;font-size:13px;color:#60718a}.my-done .person-task{max-width:600px;margin:10px 0}
.employee-notice{background:#eaf1ff;color:#2454b8;border:1px solid #cadbff;padding:12px 16px;border-radius:10px;margin:12px 0;font-size:13px}
.employee-model-tools{display:flex;gap:12px;margin:12px 0}.employee-model-tools .search{flex:1}.employee-model-tools input{width:100%}.employee-model-tools select{max-width:290px}
.employee-team-table{overflow-x:auto;background:#fff;border:1px solid #dce4f1;border-radius:12px}.employee-team-table table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.employee-team-table th,.employee-team-table td{padding:12px 15px;border-bottom:1px solid #e3eaf5;text-align:left;vertical-align:middle}.employee-team-table thead{background:#f2f5fb;color:#647796}.employee-team-table th:first-child{width:185px}.employee-team-table th:last-child{width:230px}.employee-team-table tbody th{font-weight:600}.employee-team-table small{display:block;color:#8291a7;font-size:11px;font-weight:400;margin-top:4px}
.employee-team-task{display:grid;grid-template-columns:minmax(0,1fr) 100px 34px 80px 38px;align-items:center;gap:10px;width:100%;padding:10px 0;background:none;border:0;text-align:left;color:#283b58;cursor:pointer;border-bottom:1px solid #eef2f8}.employee-team-task:last-child{border-bottom:0}.employee-team-task>span:first-child{overflow-wrap:anywhere;line-height:1.5}.employee-team-task progress{width:80px;height:4px;accent-color:#315efb}.employee-team-task>strong{font-size:11px}.employee-team-blocker{color:#ad751f;font-size:12px;line-height:1.6}
.employee-workspace .model{padding-top:12px;padding-bottom:12px}
.employee-workspace .button:active,.my-queue-task:active{transform:translateY(1px)}
@media(max-width:1000px){.employee-team-table th:last-child{width:160px}.employee-team-task{grid-template-columns:minmax(0,1fr) 34px 40px}.employee-team-task .pill{grid-row:2}.employee-team-task progress{display:none}}
@media(max-width:700px){.my-task-layout{grid-template-columns:1fr}.my-focus,.my-queue{padding:17px}.my-focus h2{font-size:20px}.my-summary{gap:14px;flex-wrap:wrap;font-size:11px}.my-summary strong{font-size:15px}.my-summary button{margin-left:0}.employee-model-tools{flex-direction:column}.employee-model-tools select{max-width:none}.employee-team-table table{min-width:640px}.employee-team-table th:first-child{width:140px}.employee-workspace #tab-context{max-width:100%}.employee-workspace .tabs{gap:4px}.my-focus-meta>span:last-child{margin-left:0}}

.employee-open-models{margin-top:18px;padding:16px 18px;border:1px solid #dce4f1;border-radius:12px;background:#fff}.employee-open-models h3{font-size:15px;margin:0 0 10px}.employee-open-models small{display:block;color:#8291a7;font-size:11px;margin-top:4px}

/* Mobile cabinet: one page scroll, visible navigation and usable controls. */
@media (max-width:700px){
 body:not(.signed-out) .tabsbar{position:static;display:block;backdrop-filter:none}
 body:not(.signed-out) .tabsbar .tabs{display:flex;flex-wrap:wrap;overflow:visible;gap:0 16px;min-height:0;max-width:100%;height:auto}
 body:not(.signed-out) .tabsbar .tabs button{flex:0 0 auto;min-height:38px;padding:9px 0;white-space:nowrap}
 body:not(.signed-out) #dashboard>[role=tabpanel]{height:auto;min-height:0;max-height:none;overflow:visible;scrollbar-gutter:auto}
 .team-cards .person.team-person-card{padding:12px}
 .team-person-card .person-numbers{padding:8px 0;margin-top:5px}
 .team-person-card .person-numbers strong{font-size:22px}
 .team-person-card .person-distribution{margin-top:10px}
 .team-person-card .person-legend{margin:6px 0 9px}
 .team-person-card .person-card-tasks{margin-bottom:6px}
 .team-person-card .person-task{padding:8px}
 .team-person-card .person-task-meta,.team-person-card .person-task progress{margin-top:5px}
 .team-person-card .person-card-bottom{padding-top:7px}
 .team-person-card .person-models{margin-top:6px;padding-top:5px}
 #tasks-panel>.section-head .board-toolbar{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 #tasks-panel>.section-head .board-search{flex:1 0 100%;min-width:0;max-width:none}
 #tasks-panel>.section-head .board-toolbar>label:not(.board-search){flex:1 1 145px;min-width:130px}
 #tasks-panel>.section-head #board-person{width:100%;max-width:none;min-height:40px}
 #tasks-panel>.section-head .board-view{margin-left:0;flex:none}
 #tasks-list{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 .employee-team-table{overflow:visible;background:transparent;border:0}
 .employee-team-table table,.employee-team-table tbody,.employee-team-table tr,.employee-team-table th,.employee-team-table td{display:block;width:100%!important;min-width:0}
 .employee-team-table table{table-layout:auto}.employee-team-table thead{display:none}
 .employee-team-table tbody tr{background:#fff;border:1px solid #dce4f1;border-radius:12px;margin-bottom:10px;overflow:hidden}
 .employee-team-table tbody th,.employee-team-table td{padding:10px 12px;border-bottom:0}
 .employee-team-table tbody th{background:#f7f9fd}.employee-team-table tbody th small{display:inline;margin:0 0 0 8px}
 .employee-team-table td:empty{display:none}.employee-team-blocker:not(:empty){margin:0 12px 12px;width:auto!important;padding:10px;background:#fff5e5;border-radius:8px}
 .employee-team-task{grid-template-columns:minmax(0,1fr) auto auto;gap:7px}.employee-team-task .pill{grid-row:auto}.employee-team-task progress{display:none}
 .models-list .model{grid-template-columns:minmax(0,1fr) auto;gap:8px}.models-list .model>div:first-child{min-width:0;overflow-wrap:anywhere}.models-list .model .model-time{grid-column:1/-1}
 .task-drawer{width:100%;max-width:100%;padding:18px}.drawer-meta{grid-template-columns:minmax(85px,110px) minmax(0,1fr)}.drawer-meta dd,.drawer-description{overflow-wrap:anywhere}
 dialog:not(.task-drawer){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
}

/* Compact mobile workspace header; project selector and actions remain available. */
@media (max-width: 700px) {
  body:not(.signed-out) .top #identity { display: none !important; }
  body:not(.signed-out) .page-heading > div:first-child { display: none; }
  body:not(.signed-out) .top { min-height: 52px; padding: 7px 14px; gap: 8px; flex-wrap: nowrap; }
  body:not(.signed-out) .top .brand { flex: 1 1 auto; min-width: 0; gap: 7px; font-size: 17px; }
  body:not(.signed-out) .top .brand img { width: 30px; height: 30px; }
  body:not(.signed-out) .top .brand-section { display: none; }
  body:not(.signed-out) .top .cabinet-guide-link { flex: 0 0 auto; font-size: 11px; white-space: nowrap; }
  body:not(.signed-out) .top #logout { flex: 0 0 auto; min-height: 36px; padding: 6px 9px; }
  body:not(.signed-out) #workspace { padding: 10px 14px 0; }
  body:not(.signed-out) .page-heading { display: flex; margin: 0 0 8px !important; gap: 0; }
  body:not(.signed-out) .page-heading .heading-actions { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin: 0; }
  body:not(.signed-out) .page-heading .projectbar { flex: 1 1 auto; min-width: 0; }
  body:not(.signed-out) .page-heading .project-heading { min-width: 0; gap: 6px; }
  body:not(.signed-out) .page-heading .project-heading label { flex: 0 0 auto; font-size: 11px; }
  body:not(.signed-out) .page-heading .project-heading select { width: auto; max-width: min(62vw, 240px); min-height: 38px; font-size: 14px; }
  body:not(.signed-out) .page-heading .project-heading h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
  body:not(.signed-out) .page-heading .freshness { flex: 0 0 auto; margin: 0; }
  body:not(.signed-out) .page-heading .freshness .button { min-height: 38px; padding: 7px 10px; font-size: 12px; }
  body:not(.signed-out) .tabsbar .tabs { gap: 0 13px; }
  body:not(.signed-out) .tabsbar .tabs button { min-height: 36px; padding: 8px 0; font-size: 12px; }
  body:not(.signed-out) #dashboard > [role=tabpanel] > .section-head { margin: 10px 0 8px; gap: 8px; }
  body:not(.signed-out) #dashboard > [role=tabpanel] > .section-head h2 { font-size: 16px; }
  body:not(.signed-out) #dashboard > [role=tabpanel] > .section-head p { margin: 3px 0 0; font-size: 11px; line-height: 1.4; }
  #team-panel .team-focus { gap: 6px; }
  #team-panel .team-focus button { min-height: 42px; }
  #tasks-panel .board-filter-row { margin-bottom: 8px; }
  #tasks-panel #board-focus { gap: 5px; }
}
@media (max-width: 700px) {
  #mobile-view-mode:not([hidden]) { display: inline-flex; padding: 3px; margin: 0 0 5px; border: 1px solid #dce5f3; border-radius: 9px; background: #f0f4fa; gap: 2px; }
  #mobile-view-mode button { min-height: 34px; padding: 6px 12px; border: 0; border-radius: 6px; background: transparent; color: #5d6d85; font-size: 12px; line-height: 1; }
  #mobile-view-mode button[aria-pressed="true"] { color: #245ede; background: #fff; box-shadow: 0 1px 4px #2542651c; font-weight: 600; }
}
@media (max-width: 700px) {
  #expand-calendar > span[aria-hidden="true"], .person-all-tasks > span[aria-hidden="true"] { display: none; }
}
@media (max-width: 700px) {
  .person-all-tasks > span { display: none; }
  #tasks-panel > .section-head { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; }
  #tasks-panel > .section-head > div:first-child { flex: 1 1 auto; min-width: 0; }
  #tasks-panel > .section-head > div:first-child h2 { text-align: left; }
  #tasks-panel > .section-head #tasks-create { flex: 0 0 auto; margin-left: auto; }
}

@media (max-width: 700px) {
  body:not(.signed-out) .projectbar.single-project { display: none !important; }
  body:not(.signed-out) .projectbar:not(.single-project) label { display: none; }
  body.employee-mobile-compact #write-report { display: none !important; }
  body:not(.signed-out):not(.employee-workspace) .page-heading:has(.projectbar.single-project),
  body:not(.signed-out).employee-mobile-compact .page-heading:has(.projectbar.single-project) { display: none !important; }
  #team-panel > .section-head h2, #tasks-panel > .section-head h2,
  #apartments-panel > .section-head h2, #models-panel > .section-head h2,
  .mobile-decorative-arrow { display: none; }
  .my-empty, .my-queue-empty { padding: 18px 8px; }
}

#mobile-context-toggle { display: none; }

@media (max-width: 700px) {
  body:not(.signed-out) .top { min-height: 48px; background: #fff; }
  body:not(.signed-out) main#workspace { width: 100%; padding-inline: 12px; box-sizing: border-box; }
  body:not(.signed-out) .tabsbar { padding: 0; border: 0; background: transparent; }
  body:not(.signed-out) .tabsbar .tabs {
    display: flex; flex-wrap: nowrap; gap: 14px; align-items: stretch;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    border-bottom: 1px solid var(--line); padding-inline: 2px;
  }
  body:not(.signed-out) .tabsbar .tabs::-webkit-scrollbar { display: none; }
  body:not(.signed-out) .tabsbar .tabs button { min-height: 44px; margin: 0; padding: 6px 1px; font-size: 13px; }
  body.employee-mobile-compact .tabsbar .tabs { justify-content: space-between; gap: 4px; }
  #mobile-context-toggle:not([hidden]) {
    display: inline-flex; align-items: center; gap: 9px; min-height: 40px;
    background: transparent; border: 0; padding: 2px; color: #355781;
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  }
  #mobile-context-toggle::after {
    content: ''; width: 6px; height: 6px; border: solid currentColor;
    border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
  }
  #mobile-context-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  #mobile-context-toggle[aria-expanded="false"] + #tab-context { display: none; }
  #tab-context:not([hidden]) {
    width: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--line);
    border-radius: 10px; padding: 8px; margin: 0 0 8px;
  }
  #tab-context .week { justify-content: flex-start; }
  #tab-context button, #tab-context select, #tab-context input,
  #tab-context .team-focus button { min-height: 40px; }
  #dashboard #tasks-panel > .section-head {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px;
  }
  #tasks-panel > .section-head > div:first-child, #apartments-panel > .section-head > div:first-child p { display: none; }
  #tasks-panel > .section-head .board-toolbar { display: contents; }
  #tasks-panel > .section-head .board-search { grid-column: 1; grid-row: 1; }
  #tasks-panel > .section-head:has(#tasks-create[hidden]) .board-search { grid-column: 1 / -1; }
  #tasks-panel > .section-head #tasks-create { grid-column: 2; grid-row: 1; }
  #tasks-panel > .section-head .board-toolbar > label:not(.board-search) { grid-column: 1; grid-row: 2; min-width: 0; }
  #tasks-panel > .section-head .board-view { grid-column: 2; grid-row: 2; justify-self: end; }
  #tasks-panel #board-search, #tasks-panel #board-person { font-size: 16px; }
  #tasks-panel .board-view button { min-height: 40px; }
  #tasks-list.kanban-wrap { overflow: visible; padding: 0; }
  #tasks-list .kanban { grid-template-columns: minmax(0,1fr); min-width: 0; width: 100%; gap: 10px; }
  #tasks-list .kanban-column { min-height: 0; padding: 10px; }
  #tasks-list .kanban-column h3 { font-size: 13px; padding: 0 2px 6px; }
  #tasks-list .kanban-column:has(.column-empty) h3 { padding-bottom: 0; }
  #tasks-list .kanban-column:has(.column-empty) .kanban-cards { display: none; }
  #tasks-list .card-title { font-size: 14px; }
  #tasks-list .task-register { display: block; min-width: 0; }
  #tasks-list .task-register thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #tasks-list .task-register tbody { display: grid; gap: 8px; }
  #tasks-list .task-register tr {
    display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center;
    gap: 6px 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  }
  #tasks-list .task-register td { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  #tasks-list .task-register td:first-child, #tasks-list .task-register td:last-child { grid-column: 1 / -1; }
  #tasks-list .task-register td:first-child button { text-align: left; font-size: 14px; }
  #tasks-list .task-register td:last-child button { min-height: 40px; }
  .my-summary { padding: 8px 0; }
  .my-queue:has(.my-queue-empty):not(:has(.my-queue-task)) .fine { display: none; }
  .my-empty { padding: 8px 2px; }
  .my-empty > span { display: none; }
  .my-empty p { margin: 6px 0 12px; }
  .my-queue-empty { padding: 6px 0; text-align: left; }
  #my-content .my-focus:has(.my-empty), #my-content .my-queue { min-height: 0; }
  .top:has(#install-app:not([hidden])) { flex-wrap: wrap !important; }
  body:not(.signed-out) .top #install-app:not([hidden]) { flex: 0 0 auto; margin-left: auto; }
}
