:root{--ink:#17233d;--muted:#66738a;--line:#e2e8f2;--line-strong:#cfd9e7;--surface:#fff;--canvas:#f5f7fb;--primary:#2563eb;--primary-dark:#1d4ed8;--primary-soft:#e8f0ff;--danger:#b42318;--success:#166534;--radius:14px;--shadow:0 10px 28px rgba(28,57,105,.08);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:linear-gradient(180deg,#f9fbff 0,#f5f7fb 260px);font-size:15px;line-height:1.5}a{color:var(--primary)}button,input,select,textarea{font:inherit}.topbar{min-height:72px;border-bottom:1px solid rgba(207,217,231,.9);background:rgba(255,255,255,.92);color:var(--muted);backdrop-filter:blur(10px)}.topbar-inner{width:min(1180px,calc(100% - 40px));min-height:72px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:20px;font-weight:800;letter-spacing:-.03em}.brand b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);box-shadow:0 6px 14px rgba(37,99,235,.24);color:#fff;font-size:12px;letter-spacing:0}.topbar-note{font-size:14px}.page{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:56px 0 78px}.company-page{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:20px 0 72px}.company-topbar{position:sticky;top:0;z-index:4}.company-head{display:flex;align-items:center;gap:13px}.company-name{max-width:310px;overflow:hidden;color:#40506c;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.avatar{display:inline-grid;place-items:center;width:36px;height:36px;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 9px rgba(15,23,42,.15);color:#fff;font-size:12px;font-style:normal;font-weight:800;flex:none}.company-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0 20px;border-bottom:1px solid var(--line)}.company-nav-links{display:flex;align-items:center;gap:3px;min-width:0;overflow-x:auto;padding-bottom:2px}.company-nav a,.company-nav button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:0;border-radius:9px;background:transparent;color:#5d6b82;text-decoration:none;font:inherit;font-size:14px;font-weight:700;padding:0 11px;white-space:nowrap;cursor:pointer;transition:.18s ease}.company-nav a:hover,.company-nav button:hover{background:#edf3ff;color:var(--primary-dark)}.company-nav a.is-active{background:var(--primary-soft);color:var(--primary-dark)}.logout-form{flex:none}.company-content{padding-top:34px}.hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);align-items:center;gap:48px;min-height:500px}.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:26px;align-items:stretch}.section-heading{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:26px}.section-heading .lead{margin:6px 0 0}.badge,.status,.role{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;line-height:1.2}.badge{background:#e7efff;color:#1d4ed8}.status-pending{background:#fff6dc;color:#9a6700}.status-approved,.status-task-closed{background:#dcfce7;color:#18743a}.status-rejected{background:#fee2e2;color:#b42318}.status-task-new{background:#e8eaff;color:#3730a3}.status-task-in_progress{background:#e0efff;color:#1d4ed8}.status-task-completed{background:#fff2cb;color:#92400e}.status-task-cancelled{background:#edf0f5;color:#4b5563}h1,h2{color:var(--ink);letter-spacing:-.035em}h1{font-size:clamp(34px,5vw,56px);line-height:1.08;margin:16px 0}h2{font-size:22px;line-height:1.22;margin:0 0 9px}.dashboard-hero h1,.section-heading h1{font-size:clamp(30px,4vw,38px);margin:4px 0}.lead{max-width:670px;color:var(--muted);font-size:17px;line-height:1.6}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.stat-card{display:grid;align-content:start;gap:10px}.stat-card strong{font-size:44px;line-height:1;letter-spacing:-.07em}.stat-card span,.muted{color:var(--muted)}.preview,.list,.comment-list,.history-list{display:grid;gap:14px}.task{border:1px solid var(--line);border-radius:11px;padding:14px}.task strong{display:block;font-size:14px}.task span{color:var(--muted);font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid transparent;border-radius:9px;padding:0 16px;font:inherit;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--primary);box-shadow:0 5px 12px rgba(37,99,235,.22);color:#fff}.button-primary:hover{background:var(--primary-dark)}.button-secondary{background:#fff;border-color:var(--line-strong);color:#40506c}.button-secondary:hover{border-color:#aebbd0;background:#f8fafc}.button-danger{background:var(--danger);color:#fff}.button-small{min-height:34px;padding:0 11px;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.form-card{width:min(620px,100%);margin:0 auto}.form-card h1{font-size:32px}.form-card p,.password-card p{color:var(--muted);line-height:1.6}.field{display:grid;gap:7px;margin:17px 0}.field label,.field>span{font-size:14px;font-weight:750;color:#34425a}.field input,.field select,.field textarea,.task-actions input{width:100%;border:1px solid var(--line-strong);border-radius:9px;padding:11px 12px;color:var(--ink);background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.field textarea{min-height:108px;resize:vertical}.field input[type=color]{min-height:44px;padding:5px}.field input:focus,.field select:focus,.field textarea:focus,.task-actions input:focus{outline:0;border-color:#6c9bff;box-shadow:0 0 0 3px rgba(37,99,235,.13)}.error{margin-top:2px;color:var(--danger);font-size:13px}.notice{padding:13px 15px;border-radius:10px;margin:0 0 20px;font-weight:650}.notice-success{background:#e8f8ee;color:var(--success)}.notice-error{background:#fff0f0;color:#991b1b}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.settings-block{border:1px solid var(--line);border-radius:11px;padding:16px;margin:24px 0}.settings-block legend{padding:0 6px;font-weight:800;color:#34425a}.check{display:flex;align-items:center;gap:8px;margin:10px 0;color:#475569;font-size:14px}.check input{accent-color:var(--primary)}.permission-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;border-top:1px solid var(--line);margin-top:12px;padding-top:8px}.table-card{padding:0;overflow:auto}.employee-table{min-width:720px}.employee-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:16px;align-items:center;padding:15px 20px;border-bottom:1px solid #edf1f6;font-size:14px}.employee-row:last-child,.access-log-row:last-child{border-bottom:0}.employee-header,.access-log-header{background:#f8fafc;color:#6f7c91;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.person{display:flex;align-items:center;gap:10px}.person b,.person small{display:block}.person small{margin-top:3px;color:var(--muted)}.role{background:#edf2f9;color:#526177;font-size:11px;font-style:normal}.role-admin{background:#e4efff;color:#1d4ed8}.role-off{background:#fee9e9;color:#b42318}.access-log-row{display:grid;grid-template-columns:1.1fr 1.6fr .8fr 1fr;gap:16px;align-items:center;padding:15px 20px;border-bottom:1px solid #edf1f6;font-size:14px}.pagination{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}.pagination a,.pagination span{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#526177;text-decoration:none;font-size:14px}.task-card{display:flex;justify-content:space-between;gap:20px;align-items:center}.task-card h2{margin:10px 0}.task-card h2 a{color:var(--ink);text-decoration:none}.task-card h2 a:hover{text-decoration:underline}.request{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.55fr);gap:24px;align-items:start}.request-meta{margin:6px 0;color:var(--muted);font-size:14px}.request-actions{display:grid;gap:10px}.inline-form,.task-actions form{display:flex;gap:8px}.inline-form input{min-width:0;flex:1;border:1px solid var(--line-strong);border-radius:8px;padding:9px}.task-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.task-details div{display:grid;gap:4px}.task-details b{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.task-actions,.task-discussion,.task-history{margin-top:22px}.task-actions h2{margin-bottom:14px}.back-link{font-weight:750;text-decoration:none}.comment-scroll{max-height:360px;overflow-y:auto;overscroll-behavior:contain;padding-right:8px}.comment{display:flex;gap:11px;padding-top:14px;border-top:1px solid #edf1f6}.comment b,.comment small{display:block}.comment small,.history-item>span{color:var(--muted);font-size:12px}.comment p,.history-item p{margin:7px 0 0;line-height:1.55;color:#475569;white-space:pre-wrap}.history-item{display:grid;grid-template-columns:120px 1fr;gap:12px;padding-top:13px;border-top:1px solid #edf1f6}.empty{color:var(--muted);text-align:center;padding:30px}.secret-link{word-break:break-word;background:#f8fafc;border:1px solid var(--line);border-radius:8px;padding:11px;color:#40506c}.footer-note{margin-top:25px;color:#8290a5;font-size:13px;text-align:center}.notification-bell{position:relative}.notification-bell summary{list-style:none;cursor:pointer;position:relative;font-size:19px}.notification-bell summary::-webkit-details-marker{display:none}.notification-bell b{position:absolute;top:-8px;right:-11px;min-width:17px;padding:2px 4px;border-radius:99px;background:#dc2626;color:#fff;font-size:10px;text-align:center}.notification-popover{position:absolute;right:-8px;top:32px;width:310px;max-height:390px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 30px rgba(15,23,42,.18);padding:12px;z-index:5}.notification-popover a{display:grid;gap:3px;padding:10px 5px;color:#334155;text-decoration:none;border-bottom:1px solid #eef2f7;font-size:13px}.notification-popover small,.notification-popover p{color:var(--muted)}.notification-all{font-weight:800;color:var(--primary)!important;border:0!important}.notification-card{display:flex;justify-content:space-between;gap:18px;align-items:center}.notification-card h2{margin:0 0 6px}.notification-card p{margin:0;color:var(--muted)}.notification-card small{color:#8290a5}.notification-unread{border-left:4px solid var(--primary)}.notification-toasts{position:fixed;right:20px;bottom:20px;z-index:10;display:grid;gap:10px;width:min(360px,calc(100vw - 32px))}.notification-toast{display:grid;gap:4px;border:1px solid #bfdbfe;border-radius:10px;background:#fff;padding:14px;color:#1e3a5f;text-decoration:none;box-shadow:0 12px 28px rgba(15,23,42,.16)}.notification-toast span{color:var(--muted);font-size:13px}@media(max-width:760px){.topbar-inner,.page,.company-page{width:calc(100% - 24px)}.topbar-inner{min-height:64px}.topbar{min-height:64px}.topbar-note,.company-name{display:none}.company-page{padding-top:14px}.company-nav{align-items:flex-start;padding-bottom:15px}.company-nav-links{gap:2px}.company-nav a,.company-nav button{min-height:36px;padding:0 9px;font-size:13px}.logout-form{margin-left:0}.company-content{padding-top:25px}.hero,.dashboard-hero{grid-template-columns:1fr;min-height:auto;gap:24px}.section-heading{display:grid;gap:12px}.section-heading .button{justify-self:start}.form-grid,.permission-list{grid-template-columns:1fr}.card{padding:20px}.employee-table{min-width:620px}.employee-row{padding:13px}.access-log-row{grid-template-columns:1.1fr 1.5fr .8fr 1fr;padding:13px}.task-card,.notification-card{align-items:flex-start;flex-direction:column}.task-details{grid-template-columns:repeat(2,minmax(0,1fr))}.request{grid-template-columns:1fr}.task-actions form,.inline-form{width:100%;flex-wrap:wrap}.task-actions form input,.inline-form input{min-width:180px;flex:1}.history-item{grid-template-columns:1fr;gap:4px}.notification-popover{right:-46px;width:min(310px,calc(100vw - 24px))}.notification-toasts{right:12px;bottom:12px;width:calc(100vw - 24px)}h1{font-size:38px}.lead{font-size:16px}}

/* Compact task workspace */
.brand-logo{display:block;width:146px;height:auto;max-height:42px;object-fit:contain}.company-page{padding-top:8px}.company-nav{padding:6px 0 10px}.company-content{padding-top:18px}.task-list-toolbar{display:flex;justify-content:flex-end;align-items:center;min-height:34px;margin:0 0 10px}.task-toolbar-actions{display:flex;gap:8px}.button-compact{min-height:34px;padding:0 12px;border-radius:8px;font-size:13px}.filter-count{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:5px;border-radius:99px;background:#dbeafe;color:#1d4ed8;font-size:10px}.task-filter-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);border:1px solid var(--line);border-radius:14px;padding:20px 24px;background:#fff;box-shadow:0 22px 60px rgba(15,23,42,.25)}.task-filter-dialog::backdrop{background:rgba(15,23,42,.34)}.task-filter-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:13px}.task-filter-dialog-head h2{margin:0;font-size:22px}.dialog-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:#f1f5f9;color:#475569;font-size:23px;line-height:1;cursor:pointer}.dialog-close:hover{background:#e2e8f0;color:var(--ink)}.task-filter-dialog .field{margin:14px 0}.task-filter-dialog .task-filter-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}.task-filter-dialog .task-filter-form-grid .field{margin:8px 0}.task-filter-toggles{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:7px}.task-filter-toggles .task-filter-check{margin:0}.task-filter-actions{justify-content:flex-end;margin-top:14px}.task-compact-list{display:grid;gap:7px}.task-row-link{display:block;border-radius:11px;color:inherit;text-decoration:none}.task-row-link:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}.task-row{max-width:100%;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:#fff;padding:9px 12px 8px;box-shadow:0 3px 10px rgba(28,57,105,.035);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.task-row-link:hover .task-row{border-color:#b8c8df;box-shadow:0 8px 18px rgba(28,57,105,.09);transform:translateY(-1px)}.task-row-primary{display:flex;align-items:center;gap:10px;width:100%;max-width:100%;min-width:0;overflow:hidden}.task-people{display:flex;align-items:center;min-width:58px;padding-right:4px}.task-row-avatar{width:28px;height:28px;border-width:2px;font-size:10px}.task-row-creator{position:relative;z-index:1}.task-row-assignee{position:relative;z-index:2;margin-left:-5px}.task-row-title{display:block;min-width:0;max-width:100%;flex:1 1 auto;overflow:hidden;color:#1e293b;font-size:15px;font-weight:800;letter-spacing:-.012em;text-overflow:ellipsis;white-space:nowrap}.priority-wave{width:62px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}.priority-wave-low{color:#16a34a}.priority-wave-medium{color:#f59e0b}.priority-wave-high{color:#ef4444}.task-progress{position:relative;display:inline-block;width:25px;height:25px;flex:none;border:1.5px solid var(--progress-color,#111827);border-radius:50%;background:conic-gradient(var(--progress-color,#111827) 0deg var(--progress-degrees),#fff var(--progress-degrees) 360deg)}.task-progress::after{display:none}.task-progress-closed{background:var(--progress-color,#111827)}.task-progress-overdue{--progress-color:#991b1b}.task-state-indicator{display:inline-grid;place-items:center;width:25px;height:25px;flex:none;font-size:22px;font-weight:900;line-height:1}.task-state-cancelled,.task-state-refused{color:#dc2626}.task-state-awaiting{color:#16a34a;font-size:25px}.task-state-refused{font-size:17px;letter-spacing:-2px}.task-progress-closed::after{display:none}.task-row-secondary{display:flex;align-items:center;gap:12px;padding:5px 1px 0 62px;color:#6b778b;font-size:12px;line-height:1}.task-row-secondary time{min-width:109px;white-space:nowrap}.task-deadline-bar-wrap{position:relative;display:block;flex:1;min-width:0;cursor:help}.task-deadline-bar{display:block;width:100%;height:5px;overflow:hidden;border-radius:99px;background:#22a55b}.task-deadline-bar::before{display:block;width:var(--deadline-elapsed);height:100%;border-radius:99px;background:#ef4444;content:""}.task-deadline-bar-wrap:focus-visible{outline:2px solid #6c9bff;outline-offset:4px;border-radius:4px}.task-deadline-tooltip{position:absolute;z-index:6;bottom:13px;left:0;display:none;width:max-content;max-width:min(330px,calc(100vw - 48px));gap:4px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:9px 11px;box-shadow:0 8px 20px rgba(15,23,42,.16);color:#334155;font-size:12px;line-height:1.35;white-space:normal;pointer-events:none}.task-deadline-bar-wrap:hover .task-deadline-tooltip,.task-deadline-bar-wrap:focus .task-deadline-tooltip{display:grid}@media(max-width:760px){.brand-logo{width:124px;max-height:36px}.company-page{padding-top:5px}.company-nav{padding-top:4px}.company-content{padding-top:14px}.task-list-toolbar{margin-bottom:8px}.task-filter-dialog{padding:17px 16px}.task-filter-dialog .form-grid{gap:0}.task-filter-dialog .task-filter-form-grid{grid-template-columns:1fr}.task-row{padding:8px 9px}.task-row-primary{gap:7px}.task-people{min-width:50px;padding-right:0}.task-row-avatar{width:26px;height:26px;font-size:9px}.task-row-assignee{margin-left:-4px}.task-row-title{font-size:14px}.priority-wave{width:46px;height:20px}.task-progress,.task-state-indicator{width:23px;height:23px}.task-row-secondary{gap:8px;padding-left:52px}.task-row-secondary time{min-width:97px;font-size:11px}.task-deadline-bar{height:4px}}

/* Long task titles may only use the free space between avatars and task indicators. */
.task-compact-list{min-width:0;max-width:100%}.task-row-link{width:100%;min-width:0;max-width:100%;overflow:hidden}.task-row-title{width:0;min-width:0;max-width:none;flex:1 1 0}

/* Task state markers */
.task-state-indicator{position:relative}.task-state-refused{font-size:21px;letter-spacing:-2px}.task-state-cancelled{font-size:0}.task-state-cancelled::before,.task-state-cancelled::after{position:absolute;top:11px;left:1px;width:23px;height:3px;border-radius:99px;background:#dc2626;content:""}.task-state-cancelled::before{transform:rotate(45deg)}.task-state-cancelled::after{transform:rotate(-45deg)}.task-state-new::before{position:absolute;top:3px;left:6px;width:2px;height:19px;border-radius:99px;background:#dc2626;content:""}.task-state-new::after{position:absolute;top:4px;left:8px;width:13px;height:10px;background:#dc2626;clip-path:polygon(0 0,100% 16%,72% 50%,100% 84%,0 100%);content:""}

/* Default assignee */
.default-assignee{color:#16a34a;font-style:normal;font-weight:800}.default-assignee-check{margin:18px 0}

.task-row-link:focus .task-deadline-tooltip{display:grid}

.task-row-link,.task-row{overflow:visible}.task-deadline-tooltip{max-width:none;gap:0;white-space:nowrap}

.company-settings-link{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:#526177;font-size:21px;line-height:1;text-decoration:none}.company-settings-link:hover,.company-settings-link.is-active{background:#edf3ff;color:#1d4ed8}.company-timezone-card{margin-top:18px}

/* Compact task page overview */
.task-page-heading{margin-bottom:12px}.task-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.task-overview-panel{min-width:0;padding:14px 16px;box-shadow:none}.task-overview-panel h2{margin-bottom:11px;font-size:16px}.task-last-comment-head{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.task-last-comment-avatar{width:28px;height:28px;font-size:9px}.task-last-comment-body,.task-description-body{margin:10px 0 0;color:#475569;line-height:1.45;white-space:pre-wrap}.task-last-comment-body{font-weight:800;color:var(--ink)}.task-overview-empty{margin:0;color:var(--muted);font-size:14px}.task-meta-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0;padding:12px 16px;box-shadow:none}.task-meta-strip div{min-width:0}.task-meta-strip span,.task-meta-strip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-priority{font-size:14px}.task-priority-low{color:#16a34a}.task-priority-medium{color:#d97706}.task-priority-high{color:#dc2626}@media(max-width:760px){.task-page-heading{margin-bottom:10px}.task-overview{grid-template-columns:1fr;gap:9px;margin-bottom:9px}.task-overview-panel{padding:13px}.task-meta-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}}
/* Compact controls on the task page. */
.task-actions,.task-discussion,.task-history{margin-top:12px;padding:15px 16px;box-shadow:none}.task-actions h2,.task-discussion h2,.task-history h2{margin-bottom:9px;font-size:18px}.task-actions .actions{align-items:center;gap:8px;margin-top:10px}.task-actions .button{min-height:34px;padding:0 12px;font-size:13px}.task-assignee-actions,.task-progress-actions{display:flex}.task-refusal-form{margin-left:auto;min-width:min(100%,390px)}.task-refusal-form input{min-width:0}.task-submit-form{margin-left:auto}.task-discussion .field{gap:5px;margin:10px 0}.task-discussion .field textarea{min-height:82px}.task-discussion .comment-list,.task-history .history-list{gap:9px}.task-discussion .comment,.task-history .history-item{padding-top:9px}.task-discussion .comment-scroll{max-height:300px}@media(max-width:760px){.task-actions,.task-discussion,.task-history{margin-top:9px;padding:13px}.task-assignee-actions,.task-progress-actions{align-items:stretch;width:100%;flex-wrap:wrap}.task-refusal-form,.task-submit-form{margin-left:0;width:100%}.task-refusal-form input{flex:1}.task-progress-actions .task-submit-form{margin-top:2px}}
/* Six recent task events remain readable without taking the page height. */
.task-history .history-scroll{max-height:150px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.task-history .history-list{gap:0}.task-history .history-item{display:flex;align-items:baseline;gap:7px;min-width:0;padding:4px 0;font-size:12px;line-height:1.25}.task-history .history-item>time{color:var(--muted);font-size:11px;white-space:nowrap}.task-history .history-item>b{flex:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-history .history-item>span{min-width:0;overflow:hidden;color:#475569;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.task-history .history-scroll{max-height:142px}.task-history .history-item{gap:5px;padding:3px 0;font-size:11px}.task-history .history-item>time{font-size:10px}.task-history .history-item>b{max-width:90px}}
/* Compact task comments retain the author in the avatar tooltip only. */
.task-discussion .comment-list{gap:0}.task-discussion .comment-compact{align-items:center;gap:8px;padding:5px 0}.task-discussion .comment-compact .avatar{width:28px;height:28px;font-size:9px}.comment-compact-content{min-width:0;color:var(--ink);font-size:13px;line-height:1.4}.comment-compact-content time{margin-right:7px;color:var(--muted);font-size:11px;white-space:nowrap}.comment-compact-body{color:var(--ink);font-size:14px;white-space:pre-wrap}@media(max-width:760px){.task-discussion .comment-compact{gap:6px;padding:4px 0}.comment-compact-content{font-size:12px}.comment-compact-content time{font-size:10px}.comment-compact-body{font-size:13px}}
/* Task deadline agreement and optional complexity. */
.task-meta-strip{grid-template-columns:repeat(7,minmax(0,1fr))}.task-accept-form{display:flex;align-items:center;gap:8px}.task-accept-form label{font-size:13px;font-weight:750;color:#475569}.task-accept-form select{min-height:34px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:0 8px;color:var(--ink);font:inherit;font-size:13px}.task-deadline-decision-text{margin:0;color:#475569;line-height:1.45}.task-deadline-decision-text strong{color:var(--ink)}.task-deadline-decision .muted{margin:9px 0 0;font-size:13px}@media(max-width:760px){.task-meta-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.task-accept-form{flex-wrap:wrap;width:100%}}
/* Personal task news. */
.task-news-panel{display:flex;min-height:0;flex-direction:column}.task-news-list{display:grid;gap:0}.task-news-item{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid #edf1f6}.task-news-item:last-child{border-bottom:0}.task-news-avatar{width:26px;height:26px;flex:none;font-size:9px}.task-news-item>div{min-width:0;line-height:1.35}.task-news-item time{margin-right:7px;color:var(--muted);font-size:11px;white-space:nowrap}.task-news-body{color:var(--ink);font-size:13px;font-weight:700;white-space:pre-wrap}.task-last-comment{margin-top:7px;padding-top:7px;border-top:1px solid var(--line)}.task-last-comment-body{font-size:14px}@media(max-width:760px){.task-news-item{gap:6px;padding:4px 0}.task-news-avatar{width:25px;height:25px}.task-news-item time{font-size:10px}.task-news-body{font-size:12px}}

/* Task-list attention signals are calculated for the signed-in user. */
.task-row-highlight-red{border-color:#f4b8b8;background:#fff0f0}.task-row-highlight-yellow{border-color:#f4db91;background:#fff9e7}.task-row-highlight-green{border-color:#b6e6c6;background:#effcf3}

.task-news-scroll{max-height:215px;overflow-y:auto;overscroll-behavior:contain}.task-news-comment{color:#2563eb;font-style:italic;font-weight:400}

.task-state-awaiting-creator{font-size:0}.task-state-awaiting-creator::before,.task-state-awaiting-creator::after{position:absolute;content:''}.task-state-awaiting-creator::before{top:3px;left:6px;width:2px;height:19px;border-radius:99px;background:#16a34a}.task-state-awaiting-creator::after{top:4px;left:8px;width:13px;height:10px;background:#16a34a;clip-path:polygon(0 0,100% 16%,72% 50%,100% 84%,0 100%)}.task-state-message{color:#2563eb;font-size:21px}

.task-description-scroll{max-height:215px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.task-description-scroll .task-description-body{margin-top:0}
.employee-row-action{display:flex;justify-content:flex-end;min-width:112px}
.complexity-gauge{width:50px;height:18px;flex:none;overflow:visible}.complexity-gauge-segment-low{fill:#22c55e;stroke:#fff;stroke-linejoin:round;stroke-width:1.2}.complexity-gauge-segment-medium{fill:#facc15;stroke:#fff;stroke-linejoin:round;stroke-width:1.2}.complexity-gauge-segment-high{fill:#ef4444;stroke:#fff;stroke-linejoin:round;stroke-width:1.2}.complexity-gauge-center{fill:#fff}.complexity-gauge-needle{fill:none;stroke:#17233d;stroke-width:3;stroke-linecap:round}.complexity-gauge-hub{fill:#17233d}
.company-nav-actions{display:flex;align-items:center;gap:8px;flex:none;margin-left:auto}.user-menu{position:relative;flex:none}.user-menu summary{list-style:none;cursor:pointer}.user-menu summary::-webkit-details-marker{display:none}.user-menu-popover{position:absolute;top:42px;right:0;z-index:6;min-width:132px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:5px;box-shadow:0 12px 28px rgba(15,23,42,.16)}.user-menu-logout{display:block;width:100%;border:0;border-radius:7px;background:transparent;padding:8px 10px;color:#526177;font:inherit;font-size:14px;font-weight:750;text-align:left;cursor:pointer}.user-menu-logout:hover{background:#edf3ff;color:var(--primary-dark)}@media(max-width:760px){.company-nav{flex-wrap:wrap}.company-nav-links{flex:1 1 auto}.company-nav-actions{gap:6px}.company-nav-actions .button-compact{padding:0 9px;font-size:12px}.user-menu-popover{top:40px}}
.company-nav-actions .button-primary{background:var(--primary);box-shadow:0 5px 12px rgba(37,99,235,.22);color:#fff}.company-nav-actions .button-primary:hover{background:var(--primary-dark);color:#fff}
.company-page-task-list{display:flex;height:calc(100dvh - 72px);min-height:0;flex-direction:column;overflow:hidden;padding-bottom:0}.company-page-task-list .company-nav{flex:none}.task-list-content{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden;padding-top:12px}.task-list-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 3px 24px 0}@media(max-width:760px){.company-page-task-list{height:calc(100dvh - 64px)}.task-list-content{padding-top:10px}.task-list-scroll{padding-bottom:18px}}
/* Compact reports */
.report-filter-card{padding:13px 16px;box-shadow:none}.report-filter-card .form-grid{gap:0 16px}.report-filter-card .field{margin:5px 0}.report-filter-card .actions{margin-top:7px}.report-filter-card .button{min-height:34px;padding:0 12px;font-size:13px}.report-summary-card{margin-top:12px;padding:14px 16px;box-shadow:none}.report-summary-card h2{margin-bottom:5px;font-size:18px}.report-summary-card p{margin:4px 0;color:#475569;font-size:14px;line-height:1.45}.report-summary-card .lead{font-size:15px}.report-statistics-card{margin-top:12px}.report-statistics-card .employee-row{grid-template-columns:minmax(190px,2fr) repeat(4,minmax(112px,1fr));min-width:760px}.report-statistics-card .employee-row>span:not(:first-child){text-align:right}.report-overdue-section{margin-top:14px}.report-overdue-heading{margin-bottom:9px}.report-overdue-heading h2{margin-bottom:3px;font-size:20px}.report-overdue-heading .lead{font-size:14px;line-height:1.4}.report-task-compact-list{gap:7px}.report-task-row{padding-top:8px;padding-bottom:7px}.report-overdue-section .pagination{margin-top:14px}@media(max-width:760px){.report-filter-card,.report-summary-card{padding:12px}.report-statistics-card .employee-row{min-width:720px}.report-overdue-heading{margin-bottom:8px}.report-overdue-heading h2{font-size:18px}}
.report-statistics-card .employee-row{padding:9px 20px}.report-statistics-card .employee-header{padding-top:8px;padding-bottom:8px;line-height:1.2}@media(max-width:760px){.report-statistics-card .employee-row{padding:8px 13px}.report-statistics-card .employee-header{padding-top:7px;padding-bottom:7px}}

/* Compact employee form and stable alignment when validation fails. */
.employee-form{padding:18px 20px}.employee-form .form-grid{column-gap:20px;align-items:start}.employee-form .field{align-self:start;align-content:start;gap:4px;margin:9px 0}.employee-form .field input,.employee-form .field select{padding:8px 10px}.employee-form .field input[type=color]{min-height:36px;padding:4px}.employee-form .error{font-size:12px;line-height:1.3}.employee-form .settings-block{margin:14px 0;padding:12px}.employee-form .check{margin:6px 0}.employee-form .default-assignee-check{margin:14px 0}@media(max-width:760px){.employee-form{padding:14px}.employee-form .form-grid{gap:0}.employee-form .field{margin:8px 0}.employee-form .settings-block{margin:12px 0;padding:11px}}
/* Password errors need to remain prominent without changing the form grid. */
.employee-form .field:has(#password) .error{color:#dc2626;font-size:15px;font-weight:800;line-height:1.35}
@media(max-width:760px){.employee-form .field:has(#password) .error{font-size:14px}}
/* The employee list stays compact while preserving readable names and roles. */
.employee-table .employee-row{padding:9px 20px}.employee-table .avatar{width:32px;height:32px;font-size:11px}.employee-table .person small{margin-top:2px;font-size:12px}@media(max-width:760px){.employee-table .employee-row{padding:8px 13px}.employee-table .avatar{width:30px;height:30px;font-size:10px}}
/* Company name remains centered independently of the controls at either edge. */
.company-topbar .topbar-inner{position:relative}.company-topbar .company-name{position:absolute;left:50%;display:block;max-width:min(420px,calc(100% - 300px));overflow:hidden;transform:translateX(-50%);color:#111;font-size:20px;font-weight:800;letter-spacing:-.02em;text-align:center;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}@media(max-width:760px){.company-topbar .company-name{display:block;max-width:calc(100% - 220px);font-size:16px}}
/* Access-log rows prioritize information density. */
.access-log-row{padding:6px 20px;font-size:13px;line-height:1.25}.access-log-header{padding:5px 20px;font-size:10px;line-height:1.2}@media(max-width:760px){.access-log-row{padding:6px 13px;font-size:12px}.access-log-header{padding:5px 13px;font-size:10px}}
/* Make the settings glyph easier to notice without enlarging its hit area. */
.company-settings-link{font-size:24px;font-weight:900;-webkit-text-stroke:.25px currentColor}
/* Compact notification lists show more events without hiding their meaning. */
.notifications-page .section-heading{margin-bottom:14px}.notifications-page .list{gap:7px}.notifications-page .notification-card{gap:14px;padding:10px 14px}.notifications-page .notification-card h2{margin:0 0 2px;font-size:16px;line-height:1.25}.notifications-page .notification-card p{font-size:13px;line-height:1.35}.notifications-page .notification-card small{font-size:11px}.notifications-page .notification-card .button{min-height:32px;padding:0 11px;font-size:12px}.notification-popover{max-height:320px;padding:9px}.notification-popover a{gap:1px;padding:6px 4px;font-size:12px}.notification-popover small{font-size:11px}@media(max-width:760px){.notifications-page .section-heading{margin-bottom:11px}.notifications-page .notification-card{padding:9px 12px}.notifications-page .notification-card h2{font-size:15px}.notification-popover{max-height:300px}}
/* The related task name is the second line in notification previews. */
.notification-popover .notification-task-title,.notification-popover .notification-body{display:block;min-width:0;overflow:hidden;color:#475569;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:pre-line}.notifications-page .notification-card p,.notification-toast span{white-space:pre-line}
/* Exactly five latest notifications fit in the popover without an internal scroll. */
.notification-popover{max-height:none;overflow:hidden}.notification-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1px 0 5px}.notification-popover-head .notification-all{display:block;border:0!important;background:transparent;padding:0;color:var(--primary)!important;font-size:12px;font-weight:800;line-height:1.25;white-space:nowrap}.notification-popover-head .notification-all:hover{text-decoration:underline}.notification-popover .notification-title{display:block;min-width:0;overflow:hidden;font-weight:750;text-overflow:ellipsis;white-space:nowrap}

/* Completion review keeps the acceptance and rejection choices visually balanced. */
.button-success{background:#16a34a;box-shadow:0 5px 12px rgba(22,163,74,.2);color:#fff}.button-success:hover{background:#15803d;color:#fff}.task-completion-review-actions{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) auto;align-items:stretch;width:100%;gap:8px}.task-completion-confirm-form{display:flex;align-items:stretch;grid-column:1}.task-completion-rejection-form{display:grid!important;grid-column:3/-1;grid-template-columns:minmax(0,1fr) auto;min-width:0;gap:8px!important}.task-completion-review-actions input,.task-completion-review-actions .button{height:36px;min-height:36px}.task-completion-review-actions input{padding:0 11px}.task-completion-confirm-form .button{white-space:nowrap}@media(max-width:760px){.task-completion-review-actions{grid-template-columns:1fr;gap:8px}.task-completion-confirm-form{grid-column:auto;justify-content:flex-start}.task-completion-rejection-form{grid-column:auto}}
/* New-task decision buttons stay aligned regardless of the adjacent controls. */
.task-assignee-decision .task-accept-form .button,.task-assignee-decision .task-refusal-form .button{height:34px;min-height:34px}
/* Complexity is displayed with the same visual emphasis as task priority. */
.task-complexity{font-size:14px}.task-complexity-1{color:#16a34a}.task-complexity-2{color:#d97706}.task-complexity-3{color:#dc2626}.task-assignee-decision .task-refusal-form input{height:34px;min-height:34px}
/* Personal Telegram settings live beside the existing bell and company settings. */
.telegram-settings-link{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#229ed9;text-decoration:none}.telegram-settings-link:hover,.telegram-settings-link.is-active{background:#e6f5fc;color:#1689c2}.telegram-settings-link svg{width:21px;height:21px;fill:currentColor}.telegram-card{width:min(760px,100%);margin:0 auto 14px;padding:18px 20px}.telegram-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.telegram-card h2{margin-bottom:4px}.telegram-card p{margin:0;color:var(--muted)}.telegram-status{display:inline-flex;flex:none;align-items:center;border-radius:999px;background:#edf2f7;padding:5px 9px;color:#526177;font-size:12px;font-weight:800}.telegram-status-connected{background:#dcfce7;color:#18743a}.telegram-pending{margin-top:14px!important;font-size:13px}.telegram-description{margin-bottom:12px!important;font-size:14px}.telegram-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;margin-bottom:14px}.telegram-preference{min-height:29px;margin:0;font-size:13px}@media(max-width:760px){.telegram-settings-link{width:28px;height:28px}.telegram-card{padding:15px}.telegram-card-head{align-items:flex-start}.telegram-preferences{grid-template-columns:1fr;gap:2px}.telegram-preference{min-height:27px}}
/* Telegram is centered visually between the bell and settings controls. */
.telegram-settings-link{transform:translate(3px,1px)}

/* The creator's work controls share the same compact two-column layout as task overview panels. */
.task-creator-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.task-creator-workspace .task-actions{min-width:0;margin-top:0}@media(max-width:760px){.task-creator-workspace{grid-template-columns:1fr;gap:9px;margin-top:9px}}

/* Permanent task deletion is intentionally hidden until the primary administrator enables the mode. */
.task-deletion-toggle{display:inline-flex;align-items:center;min-height:34px;gap:5px;color:#40506c;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}.task-deletion-toggle input{width:15px;height:15px;margin:0;accent-color:#dc2626;cursor:pointer}.task-row-shell{position:relative}.task-delete-slot,.task-complexity-slot-empty{display:none}.task-complexity-slot{display:inline-grid;place-items:center;width:50px;height:18px;flex:none}.task-delete-button{position:absolute;top:14px;right:179px;z-index:2;display:none;place-items:center;width:22px;height:18px;border:0;border-radius:0;background:transparent;padding:0;color:#dc2626;cursor:pointer}.task-delete-button:hover{background:transparent;color:#b91c1c}.task-delete-button svg{width:22px;height:18px;fill:currentColor}.task-deletion-mode .task-delete-slot{display:block;width:24px;height:24px;flex:none}.task-deletion-mode .task-complexity-slot-empty{display:inline-grid}.task-deletion-mode .task-delete-button{display:grid}.task-delete-dialog{width:min(430px,calc(100vw - 28px));border:1px solid #fecaca;border-radius:14px;padding:20px;background:#fff;box-shadow:0 22px 60px rgba(15,23,42,.25)}.task-delete-dialog::backdrop{background:rgba(15,23,42,.4)}.task-delete-dialog p{margin:0;color:#1e293b;font-size:16px;font-weight:750;line-height:1.45}.task-delete-dialog .task-delete-warning{margin-top:6px;color:#b42318;font-size:14px}.task-delete-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.task-delete-actions form{margin:0}@media(max-width:760px){.task-deletion-toggle{min-height:32px;font-size:12px}.task-delete-button{top:12px;right:149px;width:21px;height:18px}.task-delete-button svg{width:21px;height:18px}.task-deletion-mode .task-delete-slot{width:23px;height:23px}.task-delete-dialog{padding:17px}.task-delete-dialog p{font-size:15px}.task-delete-actions{margin-top:15px}}
/* Reserve the complexity position only while deletion mode is active. */
.task-complexity-slot.task-complexity-slot-empty{display:none}.task-deletion-mode .task-complexity-slot.task-complexity-slot-empty{display:inline-grid}

/* Telegram state and recent site activity fit the compact employee directory. */
.employee-table{min-width:920px}.employee-table .employee-row{grid-template-columns:minmax(210px,2fr) minmax(100px,.85fr) minmax(130px,1fr) 66px 92px auto;gap:13px}.employee-telegram-cell{display:flex;align-items:center;min-height:24px}.employee-telegram-icon{display:inline-grid;place-items:center;width:24px;height:24px;color:#229ed9}.employee-telegram-icon svg{width:22px;height:22px;fill:currentColor}.employee-telegram-empty{color:#a8b3c3}.employee-activity{color:#526177;font-size:12px;line-height:1.25}.employee-activity time{display:grid;gap:1px;white-space:nowrap}@media(max-width:760px){.employee-table{min-width:860px}.employee-table .employee-row{grid-template-columns:minmax(190px,2fr) minmax(90px,.85fr) minmax(120px,1fr) 60px 86px auto;gap:11px}}

/* The employee-deletion wizard keeps every reassignment visible before the final action. */
.employee-actions{display:flex;justify-content:flex-end;gap:6px;white-space:nowrap}.deletion-heading{margin-bottom:16px}.deletion-card{width:min(760px,100%);margin:0 auto;padding:20px}.deletion-card>p{color:#475569}.deletion-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.deletion-actions form,.deletion-cancel-form{margin:0}.deletion-navigation{justify-content:space-between}.deletion-task-head{padding-bottom:11px;border-bottom:1px solid var(--line)}.deletion-task-head h2{margin-bottom:3px}.deletion-task-head p{margin:0;font-size:13px}.deletion-card .field{margin:14px 0}.deletion-card .field small{font-size:12px}.deletion-cancel-form{margin-top:12px}.deletion-review-item{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,1fr) auto;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f6}.deletion-review-item:last-of-type{border-bottom:0}.deletion-review-item strong,.deletion-review-item small{display:block}.deletion-review-item small{margin-top:2px;color:var(--muted);font-size:12px}.deletion-review-roles{display:grid;gap:3px;color:#475569;font-size:13px}.deletion-warning{margin:17px 0 0!important;border-left:4px solid #dc2626;padding:8px 11px;background:#fff1f2;color:#991b1b!important;font-size:13px;font-weight:700}@media(max-width:760px){.employee-actions{justify-content:flex-start}.deletion-card{padding:16px}.deletion-review-item{grid-template-columns:1fr;gap:7px}.deletion-navigation{justify-content:flex-start}}
/* Only the primary administrator can alter task participants. */
.task-participant-management{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:13px 16px;box-shadow:none}.task-participant-management h2{margin:0 0 3px;font-size:16px}.task-participant-management p{margin:0;color:var(--muted);font-size:13px}.task-participants-card{width:min(720px,100%);margin:0 auto;padding:20px}.task-participants-card .field{margin:13px 0}.task-participants-warning{margin:14px 0 0;border-left:4px solid #d97706;padding:9px 11px;background:#fff7ed;color:#9a3412;font-size:13px;font-weight:700}@media(max-width:760px){.task-participant-management{align-items:flex-start;flex-direction:column}.task-participants-card{padding:16px}}

/* Mobile header keeps a single compact row: company first, then personal controls. */
.mobile-user-menu-logo{display:none}@media(max-width:760px){.company-topbar .topbar-inner{width:calc(100% - 24px);min-height:64px;gap:0}.company-topbar .brand{display:none}.company-topbar .company-head{width:100%;min-width:0;flex:1 1 auto;gap:4px}.company-topbar .company-name{position:static;display:block;min-width:0;max-width:none;flex:1 1 auto;transform:none;color:#111;font-size:16px;font-weight:800;letter-spacing:-.02em;text-align:left;pointer-events:auto}.company-topbar .notification-bell,.company-topbar .telegram-settings-link,.company-topbar .company-settings-link,.company-topbar .user-menu{flex:none}.company-topbar .notification-bell summary{display:grid;place-items:center;width:29px;height:30px;font-size:18px}.company-topbar .telegram-settings-link{width:28px;height:28px;transform:none}.company-topbar .company-settings-link{width:30px;height:30px;font-size:22px}.company-topbar .avatar{width:34px;height:34px;font-size:11px}.company-topbar .user-menu-popover{top:40px;min-width:118px;padding:7px}.mobile-user-menu-logo{display:block;width:96px;height:auto;margin:1px auto 6px}.company-topbar .user-menu-logout{text-align:center}}

/* Complexity gauges are useful on wide task lists and stay out of the way on phones. */
.task-complexity-slot{margin-right:-15px}
@media(max-width:760px){.task-row .task-complexity-slot{display:none!important}}

/* Checklist workspace: compact task panel, creation rows and task-list progress. */
.task-checklist-panel{display:flex;min-height:0;flex-direction:column}.task-checklist-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-checklist-heading h2{margin:0}.task-checklist-heading>span{border-radius:99px;background:#e8f0ff;padding:2px 8px;color:#1d4ed8;font-size:11px;font-weight:800}.task-checklist-error{margin:5px 0}.task-checklist-list{display:grid;gap:5px}.task-checklist-scroll{max-height:215px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.task-checklist-item{border:1px solid #e5eaf2;border-radius:9px;background:#fbfcfe;padding:7px 8px}.task-checklist-item-main{display:grid;grid-template-columns:22px minmax(0,1fr) 26px auto;align-items:center;gap:6px}.task-checklist-marker{display:grid;place-items:center;width:20px;height:20px;border:1.5px solid #94a3b8;border-radius:5px;color:#fff;font-size:13px;font-weight:900}.task-checklist-title{min-width:0;color:#26344d;font-size:13px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}.task-checklist-acceptor{width:25px;height:25px;border-width:1px;font-size:8px}.task-checklist-status{border-radius:99px;background:#eef2f7;padding:2px 7px;color:#526177;font-size:10px;font-weight:800;white-space:nowrap}.task-checklist-item-accepted .task-checklist-marker{border-color:#16a34a;background:#16a34a}.task-checklist-item-accepted .task-checklist-status{background:#dcfce7;color:#166534}.task-checklist-item-awaiting-acceptance .task-checklist-marker{border-color:#2563eb;background:#dbeafe}.task-checklist-item-awaiting-acceptance .task-checklist-status{background:#dbeafe;color:#1d4ed8}.task-checklist-item-returned{border-color:#fecaca;background:#fff7f7}.task-checklist-item-returned .task-checklist-marker{border-color:#dc2626}.task-checklist-item-returned .task-checklist-status{background:#fee2e2;color:#b42318}.task-checklist-item-cancelled{opacity:.68}.task-checklist-item-cancelled .task-checklist-marker{border-color:#64748b;background:#64748b}.task-checklist-item-cancelled .task-checklist-title{text-decoration:line-through}.task-checklist-reason{margin:5px 0 0 28px;color:#8f1d1d;font-size:11px;line-height:1.35}.task-checklist-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:6px 0 0 28px}.task-checklist-actions form{margin:0}.button-checklist{min-height:28px!important;padding:0 9px!important;border-radius:7px!important;font-size:11px!important}.task-checklist-reason-form,.task-checklist-edit-form,.task-checklist-add-form{display:flex;min-width:0;gap:5px}.task-checklist-reason-form input,.task-checklist-edit-form input,.task-checklist-edit-form select,.task-checklist-add-form input,.task-checklist-add-form select{min-width:0;border:1px solid var(--line-strong);border-radius:7px;background:#fff;padding:5px 7px;color:var(--ink);font-size:11px}.task-checklist-reason-form input{width:155px}.task-checklist-details{position:relative;font-size:11px}.task-checklist-details>summary,.task-checklist-add>summary{color:#526177;font-size:11px;font-weight:800;cursor:pointer}.task-checklist-details[open]{width:100%}.task-checklist-details[open]>summary{margin-bottom:5px}.task-checklist-edit-form input{flex:1}.task-checklist-edit-form select{width:145px}.task-checklist-add{margin-top:7px;border-top:1px solid #edf1f6;padding-top:6px}.task-checklist-add>summary{color:#1d4ed8}.task-checklist-add-form{display:grid;grid-template-columns:minmax(0,1fr) 145px auto;margin-top:6px}.task-overview-empty{line-height:1.4}.task-checklist-blocking-note{margin:7px 0 0;color:#b42318;font-size:12px;font-weight:750}.button:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.55;transform:none;box-shadow:none}.task-lower-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-lower-grid .task-discussion,.task-description-panel{min-width:0;margin-top:12px;padding:15px 16px;box-shadow:none}.task-description-panel h2{margin-bottom:9px;font-size:18px}.task-description-panel .task-description-body{margin-top:0}.task-description-panel .task-description-scroll{max-height:300px;overflow-y:auto;overscroll-behavior:contain;padding-right:8px}.task-checklist-draft{margin:13px 0 15px;border:1px solid var(--line);border-radius:11px;background:#f9fbff;padding:12px}.task-checklist-draft-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.task-checklist-draft-heading h2{margin:0;font-size:17px}.task-checklist-draft-heading p{margin:2px 0 0;color:var(--muted);font-size:12px}.task-checklist-draft-list{display:grid;gap:7px;margin-top:8px}.task-checklist-draft-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.45fr) 28px;align-items:start;gap:8px;border-top:1px solid #e4eaf3;padding-top:7px}.task-checklist-draft-row .field{margin:0}.task-checklist-draft-row .field label{font-size:11px}.task-checklist-draft-remove{display:grid;place-items:center;width:28px;height:28px;margin-top:19px;border:0;border-radius:7px;background:#fee2e2;color:#b42318;font-size:19px;font-weight:800;cursor:pointer}.task-checklist-bar-wrap{display:block;width:137px;flex:none;border:1px solid #d8e0ec;border-radius:99px;background:#fff;padding:1px}.task-checklist-bar{display:block;width:100%;height:5px;overflow:hidden;border-radius:99px;background:#fff}.task-checklist-bar::before{display:block;width:var(--checklist-complete);height:100%;border-radius:99px;background:#2563eb;content:""}.task-state-checklist-decision{border:2px solid #2563eb;border-radius:50%;color:#2563eb;font-size:17px}.task-state-checklist-decision::after{position:absolute;top:-7px;right:-6px;display:grid;place-items:center;width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#dc2626;color:#fff;font-size:10px;font-weight:900;line-height:1;content:"?"}
@media(max-width:760px){.task-checklist-scroll{max-height:205px}.task-checklist-item-main{grid-template-columns:20px minmax(0,1fr) 24px}.task-checklist-status{grid-column:2/4;justify-self:start}.task-checklist-actions{margin-left:26px}.task-checklist-reason-form,.task-checklist-edit-form{width:100%;flex-wrap:wrap}.task-checklist-reason-form input,.task-checklist-edit-form input{width:auto;min-width:140px;flex:1}.task-checklist-edit-form select{width:100%}.task-checklist-add-form{grid-template-columns:1fr}.task-lower-grid{grid-template-columns:1fr;gap:0}.task-lower-grid .task-discussion,.task-description-panel{margin-top:9px;padding:13px}.task-checklist-draft{padding:10px}.task-checklist-draft-heading{align-items:flex-start}.task-checklist-draft-row{grid-template-columns:minmax(0,1fr) 28px}.task-checklist-draft-row .field:nth-child(2){grid-column:1/2}.task-checklist-draft-remove{grid-column:2;grid-row:1;margin-top:19px}.task-checklist-bar-wrap{width:78px}.task-checklist-bar{height:4px}}

/* Checklist rows share fixed status/avatar columns and action alignment for every role. */
.task-checklist-item-main{grid-template-columns:22px minmax(0,1fr) 112px 26px}.task-checklist-status{justify-self:end;text-align:right}.task-checklist-actions{position:relative;display:grid;grid-template-columns:max-content minmax(12px,1fr) max-content;align-items:start;gap:6px 10px;margin:7px 0 0}.task-checklist-actions-left{display:flex;grid-column:1;grid-row:1;align-items:center;gap:5px}.task-checklist-actions-right{display:flex;grid-column:2;grid-row:1;align-items:center;justify-self:end;gap:7px}.task-checklist-actions .task-checklist-cancel-details{grid-column:3;grid-row:1;justify-self:end;align-self:center}.task-checklist-actions .task-checklist-cancel-details[open]{display:contents;width:auto}.task-checklist-actions .task-checklist-cancel-details[open]>summary{grid-column:3;grid-row:1;justify-self:end;align-self:center;margin:0}.task-checklist-actions .task-checklist-cancel-details[open]>.task-checklist-reason-form{grid-column:1/3;grid-row:2;justify-self:start;width:auto;margin-top:1px}.task-checklist-actions-right .task-checklist-details[open]{width:auto}.task-checklist-actions-right .task-checklist-details[open]>summary{margin-bottom:4px}.task-checklist-actions-right .task-checklist-edit-form{position:absolute;right:0;left:0;z-index:2;margin-top:4px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px;box-shadow:0 7px 18px rgba(15,23,42,.1)}.task-checklist-actions:has(.task-checklist-edit-details[open]){padding-bottom:43px}
@media(max-width:760px){.task-checklist-item-main{grid-template-columns:20px minmax(0,1fr) 92px 24px;gap:5px}.task-checklist-status{grid-column:auto;justify-self:end;font-size:9px}.task-checklist-actions{grid-template-columns:max-content minmax(6px,1fr) max-content;gap:6px;margin-left:0}.task-checklist-actions-right{gap:5px}.task-checklist-actions-right .task-checklist-reason-form{width:auto;flex-wrap:nowrap}.task-checklist-actions-right .task-checklist-reason-form input{width:120px;min-width:0;flex:none}.task-checklist-actions .task-checklist-cancel-details[open]>.task-checklist-reason-form{width:auto;flex-wrap:nowrap}.task-checklist-actions .task-checklist-cancel-details[open]>.task-checklist-reason-form input{width:140px;min-width:0;flex:none}.task-checklist-actions-right .task-checklist-edit-form{flex-wrap:wrap}.task-checklist-actions:has(.task-checklist-edit-details[open]){padding-bottom:75px}}

/* Edit and cancel expand into the same left-aligned row and are mutually exclusive. */
.task-checklist-actions{grid-template-columns:max-content minmax(12px,1fr) max-content max-content}.task-checklist-actions .task-checklist-edit-details{grid-column:3;grid-row:1;justify-self:end;align-self:center}.task-checklist-actions .task-checklist-cancel-details{grid-column:4}.task-checklist-actions .task-checklist-edit-details[open],.task-checklist-actions .task-checklist-cancel-details[open]{display:contents;width:auto}.task-checklist-actions .task-checklist-edit-details[open]>summary{grid-column:3;grid-row:1;justify-self:end;align-self:center;margin:0}.task-checklist-actions .task-checklist-cancel-details[open]>summary{grid-column:4}.task-checklist-actions .task-checklist-edit-details[open]>.task-checklist-edit-form{position:static;z-index:auto;display:grid;grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr) 145px auto;justify-self:stretch;width:100%;margin-top:1px;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.task-checklist-actions .task-checklist-cancel-details[open]>.task-checklist-reason-form{grid-column:1/-1}.task-checklist-actions:has(.task-checklist-edit-details[open]){padding-bottom:0}
@media(max-width:760px){.task-checklist-actions{grid-template-columns:max-content minmax(6px,1fr) max-content max-content}.task-checklist-actions .task-checklist-edit-details[open]>.task-checklist-edit-form{display:grid;grid-template-columns:1fr;width:100%}.task-checklist-actions .task-checklist-edit-details[open]>.task-checklist-edit-form input,.task-checklist-actions .task-checklist-edit-details[open]>.task-checklist-edit-form select{width:100%;min-width:0}.task-checklist-actions:has(.task-checklist-edit-details[open]){padding-bottom:0}}

/* Stable checklist action rows: controls never change the width of the item above them. */
.task-checklist-scroll{overflow-x:hidden}.task-checklist-item{min-width:0;overflow:hidden}.task-checklist-actions{grid-template-columns:max-content minmax(0,1fr);width:100%;min-width:0}.task-checklist-actions-left{grid-column:1}.task-checklist-actions-right{display:flex;grid-column:2;grid-row:1;min-width:0;max-width:100%;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 8px}.task-checklist-actions-right .task-checklist-reason-form{min-width:0;max-width:100%;flex:0 1 auto}.task-checklist-actions-right .task-checklist-reason-form input{width:clamp(105px,14vw,155px);max-width:100%}.task-checklist-action-toggle{display:inline-flex;align-items:center;gap:3px;flex:none;border:0;background:transparent;padding:2px 0;color:#526177;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap;cursor:pointer}.task-checklist-action-toggle::before{color:#64748b;font-size:9px;content:"▸"}.task-checklist-action-toggle[aria-expanded="true"]::before{content:"▾"}.task-checklist-expanded-panel{display:block;grid-column:1/-1;grid-row:2;width:100%;min-width:0;overflow:hidden;padding-top:1px}.task-checklist-expanded-panel[hidden]{display:none!important}.task-checklist-expanded-panel .task-checklist-edit-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,145px) auto;width:100%;min-width:0;gap:5px}.task-checklist-expanded-panel .task-checklist-edit-form input,.task-checklist-expanded-panel .task-checklist-edit-form select{width:100%;min-width:0}.task-checklist-expanded-cancel .task-checklist-reason-form{display:flex;width:auto;max-width:100%;justify-content:flex-start;flex-wrap:nowrap}.task-checklist-expanded-cancel .task-checklist-reason-form input{width:155px;max-width:calc(100% - 105px);min-width:0}.task-checklist-expanded-cancel .button{flex:none}
@media(max-width:760px){.task-checklist-actions{grid-template-columns:max-content minmax(0,1fr)}.task-checklist-actions-right{gap:4px 6px}.task-checklist-actions-right .task-checklist-reason-form{width:auto;max-width:100%;flex-wrap:nowrap}.task-checklist-actions-right .task-checklist-reason-form input{width:105px;min-width:0;flex:1 1 auto}.task-checklist-action-toggle{font-size:10px}.task-checklist-expanded-panel .task-checklist-edit-form{grid-template-columns:1fr}.task-checklist-expanded-cancel .task-checklist-reason-form{width:100%}.task-checklist-expanded-cancel .task-checklist-reason-form input{width:auto;max-width:none;min-width:0;flex:1}}

/* Every employee row reserves the same actions column, including the primary administrator row. */
.employee-table .employee-row{grid-template-columns:minmax(210px,2fr) minmax(100px,.85fr) minmax(130px,1fr) 66px 92px 178px}.employee-row-action{min-width:0}@media(max-width:760px){.employee-table .employee-row{grid-template-columns:minmax(190px,2fr) minmax(90px,.85fr) minmax(120px,1fr) 60px 86px 178px}}

/* Checklist items must keep their natural height; only the complete list scrolls. */
.task-checklist-list{align-content:start;grid-auto-rows:max-content}
.task-checklist-scroll{overflow-x:hidden;overflow-y:auto}
.task-checklist-item{min-width:0;overflow:visible}
.task-checklist-actions{display:grid;grid-template-columns:max-content minmax(0,1fr);grid-template-rows:auto auto;width:100%;min-width:0;align-items:start}
.task-checklist-actions-left{grid-column:1;grid-row:1}
.task-checklist-actions-right{grid-column:2;grid-row:1;min-width:0;max-width:100%;justify-self:stretch;justify-content:flex-end}
.task-checklist-expanded-panel{grid-column:1/-1;grid-row:2;width:100%;min-width:0;justify-self:stretch;overflow:visible}
.task-checklist-expanded-panel .task-checklist-edit-form{width:100%;max-width:100%;min-width:0}
.task-checklist-expanded-cancel .task-checklist-reason-form{max-width:100%}
@media(max-width:760px){.task-checklist-actions{grid-template-columns:max-content minmax(0,1fr)}.task-checklist-expanded-panel .task-checklist-edit-form{grid-template-columns:minmax(0,1fr)}.task-checklist-expanded-cancel .task-checklist-reason-form{width:100%;max-width:100%}}

/* Checklist redesign: fixed one-line rows and actions in a floating top-layer popover. */
.task-checklist-heading{margin-bottom:7px}.task-checklist-heading>span{flex:none}.task-checklist-list{align-content:start;grid-auto-rows:max-content;gap:6px}.task-checklist-scroll{overflow-x:hidden;overflow-y:auto;padding-right:4px}.task-checklist-item{display:grid;grid-template-columns:22px minmax(0,1fr) 112px 26px;align-items:center;width:100%;min-width:0;min-height:39px;gap:7px;border:1px solid #e1e7f0;border-radius:9px;background:#fbfcfe;padding:6px 8px;color:inherit;font:inherit;text-align:left;cursor:pointer;appearance:none}.task-checklist-item:hover,.task-checklist-item:focus-visible{border-color:#a9bfe8;background:#f6f9ff;box-shadow:0 0 0 2px rgba(37,99,235,.08);outline:0}.task-checklist-item[aria-expanded="true"]{border-color:#7fa5ec;background:#f2f6ff}.task-checklist-marker{display:grid;place-items:center;width:20px;height:20px;border:1.5px solid #94a3b8;border-radius:5px;background:#fff;color:#111827;font-size:13px;font-weight:900;line-height:1}.task-checklist-title{min-width:0;overflow:hidden;color:#26344d;font-size:13px;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.task-checklist-status{justify-self:end;border-radius:99px;background:#eef2f7;padding:2px 7px;color:#526177;font-size:10px;font-weight:800;line-height:1.35;text-align:right;white-space:nowrap}.task-checklist-acceptor{width:25px;height:25px;border-width:1px;font-size:8px}.task-checklist-item-awaiting-acceptance .task-checklist-marker{border-color:#eab308;background:#facc15;color:#111827}.task-checklist-item-awaiting-acceptance .task-checklist-status{background:#fef3c7;color:#854d0e}.task-checklist-item-accepted .task-checklist-marker{border-color:#16a34a;background:#16a34a;color:#fff}.task-checklist-item-accepted .task-checklist-status{background:#dcfce7;color:#166534}.task-checklist-item-returned{border-color:#fecaca;background:#fff7f7}.task-checklist-item-returned .task-checklist-marker{border-color:#ef4444;background:#fee2e2;color:#111827}.task-checklist-item-returned .task-checklist-status{background:#fee2e2;color:#b42318}.task-checklist-item-cancelled{border-color:#d8dee8;background:#f5f7fa;opacity:1}.task-checklist-item-cancelled .task-checklist-marker{border-color:#94a3b8;background:#e2e8f0;color:#334155}.task-checklist-item-cancelled .task-checklist-title{color:#64748b;text-decoration:line-through}.task-checklist-item-cancelled .task-checklist-status{background:#e2e8f0;color:#475569}.task-checklist-add-trigger{align-self:flex-start;margin-top:7px;border:0;border-top:1px solid #edf1f6;background:transparent;padding:7px 2px 1px;color:#1d4ed8;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer}.task-checklist-add-trigger:hover,.task-checklist-add-trigger:focus-visible{color:#1741aa;text-decoration:underline;outline:0}.task-checklist-draft-add{font-size:12.5px!important}.task-checklist-popover{position:fixed;inset:auto;width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:0;border:1px solid #d7dfeb;border-radius:13px;background:#fff;padding:14px;color:var(--ink);box-shadow:0 18px 46px rgba(15,23,42,.22);overflow:auto}.task-checklist-popover:popover-open{display:block}.task-checklist-popover::backdrop{background:transparent}.task-checklist-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #e8edf4}.task-checklist-popover-head h3{margin:2px 0 0;color:#17233b;font-size:17px;line-height:1.3;overflow-wrap:anywhere}.task-checklist-popover-kicker{color:#64748b;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.task-checklist-popover-close{display:grid;place-items:center;width:28px;height:28px;flex:none;border:0;border-radius:7px;background:#f1f5f9;color:#475569;font-size:20px;line-height:1;cursor:pointer}.task-checklist-popover-close:hover{background:#e2e8f0;color:#0f172a}.task-checklist-popover-summary{display:grid;gap:7px;margin:11px 0 0}.task-checklist-popover-summary>div{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:8px}.task-checklist-popover-summary dt{color:#64748b;font-size:11px;font-weight:700}.task-checklist-popover-summary dd{min-width:0;margin:0;color:#26344d;font-size:12px;font-weight:750;overflow-wrap:anywhere}.task-checklist-popover-status{display:inline-flex;border-radius:99px;background:#eef2f7;padding:3px 8px;color:#526177;font-size:10px;font-weight:800}.task-checklist-popover-status-awaiting-acceptance{background:#fef3c7;color:#854d0e}.task-checklist-popover-status-accepted{background:#dcfce7;color:#166534}.task-checklist-popover-status-returned{background:#fee2e2;color:#b42318}.task-checklist-popover-status-cancelled{background:#e2e8f0;color:#475569}.task-checklist-popover-reason{margin-top:11px;border-left:3px solid #ef4444;border-radius:0 8px 8px 0;background:#fff1f2;padding:8px 10px;color:#881337}.task-checklist-popover-reason strong{font-size:11px}.task-checklist-popover-reason p{margin:2px 0 0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.task-checklist-popover-actions{display:grid;gap:9px;margin-top:12px}.task-checklist-popover-action{border:1px solid #e3e9f1;border-radius:9px;background:#f8fafc;padding:10px}.task-checklist-popover-action h4,.task-checklist-popover-history h4{margin:0 0 6px;color:#26344d;font-size:12px}.task-checklist-popover-action>p{margin:-2px 0 8px;color:#64748b;font-size:11px;line-height:1.4}.task-checklist-popover-action form{margin:0}.task-checklist-popover-action-danger{border-color:#fecaca;background:#fff8f8}.task-checklist-decision-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px}.task-checklist-popover-form{display:grid;grid-template-columns:1fr;gap:5px;min-width:0}.task-checklist-popover-form label{color:#526177;font-size:10px;font-weight:800}.task-checklist-popover-form input,.task-checklist-popover-form select,.task-checklist-popover-form textarea{width:100%;min-width:0;border:1px solid var(--line-strong);border-radius:7px;background:#fff;padding:7px 8px;color:var(--ink);font:inherit;font-size:12px}.task-checklist-popover-form textarea{min-height:64px;resize:vertical}.task-checklist-popover-form .button{justify-self:start}.task-checklist-popover-history{margin-top:12px;border-top:1px solid #e8edf4;padding-top:11px}.task-checklist-history-list{display:grid;max-height:145px;gap:8px;overflow-y:auto;padding-right:4px}.task-checklist-history-item{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px}.task-checklist-history-item time{color:#718096;font-size:10px;line-height:1.35}.task-checklist-history-item p{margin:0;color:#526177;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.task-checklist-history-item strong{color:#26344d}.task-checklist-add-popover{width:min(380px,calc(100vw - 24px))}
@media(max-width:760px){.task-checklist-heading{margin-bottom:6px}.task-checklist-item{grid-template-columns:20px minmax(0,1fr) 88px 24px;min-height:37px;gap:5px;padding:5px 6px}.task-checklist-title{font-size:12px}.task-checklist-status{font-size:9px;padding:2px 5px}.task-checklist-popover{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:12px}.task-checklist-popover-head h3{font-size:16px}.task-checklist-decision-actions{grid-template-columns:1fr}.task-checklist-popover-summary>div{grid-template-columns:82px minmax(0,1fr)}.task-checklist-history-item{grid-template-columns:70px minmax(0,1fr)}.task-checklist-draft-add{padding-inline:8px!important}}

/* Five checklist rows fit without scrolling; the sixth activates the list scroll. */
.task-news-scroll,.task-checklist-scroll{max-height:220px}.task-checklist-item-awaiting-acceptance .task-checklist-marker{position:relative;font-size:0}.task-checklist-item-awaiting-acceptance .task-checklist-marker::after{position:absolute;top:50%;left:50%;width:6px;height:6px;border-radius:50%;background:#111827;content:"";transform:translate(-50%,-50%)}.task-checklist-item-awaiting-acceptance .task-checklist-marker-decision{font-size:14px}.task-checklist-item-awaiting-acceptance .task-checklist-marker-decision::after{display:none}@media(max-width:760px){.task-checklist-scroll{max-height:210px}}

/* The remove control aligns with the centre of the desktop acceptor selector. */
@media(min-width:761px){.task-checklist-draft-remove{margin-top:30px;line-height:1}}

/* Checklist decision indicator: a compact rounded rectangle with a stronger check. */
.task-state-checklist-decision{width:25px;height:25px;border:2px solid #2563eb;border-radius:6px;color:#2563eb;font-size:20px;font-weight:950;line-height:1}
.task-state-checklist-decision::after{top:-6px;right:-6px;width:14px;height:14px;background:#dc2626;color:#fff;font-size:10px;font-weight:950;line-height:1}
@media(max-width:760px){.task-state-checklist-decision{width:23px;height:23px;font-size:18px}}

/* Completion warning belongs to the submit control and stays aligned beneath it. */
.task-progress-actions .task-submit-form{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.task-progress-actions .task-submit-form .task-checklist-blocking-note{margin:0;text-align:right}
.task-assignee-progress{padding-top:12px;padding-bottom:12px}
.task-assignee-progress h2{margin-bottom:4px}
.task-assignee-progress .task-progress-actions{align-items:flex-start;margin-top:4px}
@media(max-width:760px){.task-assignee-progress .task-progress-actions{align-items:flex-start}}

/* On wide screens the completion control belongs to the card's top-right corner. */
@media(min-width:761px){.task-assignee-progress{position:relative}.task-assignee-progress .task-progress-actions .task-submit-form{position:absolute;top:12px;right:16px;margin:0}}

/* System-news link shares the header control size with Telegram and opens the release archive. */
.company-topbar .company-head{gap:7px}
@media(max-width:760px){.company-topbar .company-head{gap:2px}}
.system-news-link{position:relative;display:block;width:30px;height:30px;flex:none;text-decoration:none}.system-news-link img{position:absolute;top:50%;left:50%;display:block;width:54px;height:54px;margin-left:2px;max-width:none;object-fit:contain;transform:translate(-50%,-50%)}.system-news-link:hover img{filter:brightness(.92)}
.system-news-page{width:min(900px,100%);margin:0 auto}.system-news-heading{margin-bottom:17px}.system-news-eyebrow{display:block;margin-bottom:5px;color:#2563eb;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.system-news-heading h1{margin-bottom:5px}.system-news-heading .lead{margin:0}.system-news-timeline{position:relative;display:grid;gap:14px}.system-news-timeline::before{position:absolute;top:23px;bottom:23px;left:28px;width:2px;background:#dbeafe;content:""}.system-news-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;padding:20px 22px;box-shadow:0 8px 22px rgba(28,57,105,.06)}.system-news-card-mark{position:relative;z-index:1;width:56px;height:56px;border:1px solid #bfdbfe;border-radius:16px;background:#f8fbff;box-shadow:0 4px 11px rgba(37,99,235,.08)}.system-news-card-mark img{position:absolute;top:50%;left:50%;width:112px;height:112px;max-width:none;object-fit:contain;transform:translate(-50%,-50%)}.system-news-card-content{min-width:0}.system-news-release{margin:1px 0 5px;color:#2563eb;font-size:13px;font-weight:800}.system-news-card h2{margin:0;color:#17233b;font-size:22px;letter-spacing:-.02em}.system-news-body{margin-top:12px}.system-news-body p{margin:0 0 10px;color:#475569;font-size:15px;line-height:1.6}.system-news-body p:last-child{margin-bottom:0}@media(max-width:760px){.company-topbar .system-news-link{width:28px;height:28px;flex:none}.system-news-link img{width:51px;height:51px}.system-news-page{width:100%}.system-news-heading{margin-bottom:12px}.system-news-heading h1{font-size:28px}.system-news-timeline::before{left:22px}.system-news-card{grid-template-columns:46px minmax(0,1fr);gap:11px;padding:15px}.system-news-card-mark{width:44px;height:44px;border-radius:13px}.system-news-card-mark img{width:88px;height:88px}.system-news-card h2{font-size:18px}.system-news-release{font-size:12px}.system-news-body{margin-top:9px}.system-news-body p{font-size:14px;line-height:1.52}}
