.work-screen{min-width:0;min-height:0;overflow:auto;padding:24px 28px;scrollbar-gutter:stable}.work-screen .page-heading{flex-wrap:wrap}.work-filters{display:flex;gap:12px;align-items:center;margin:0 0 18px}.work-filters input{width:min(480px,100%)}.work-table-wrap{overflow:auto;background:white;border:1px solid var(--line);min-height:200px;max-height:calc(100dvh - 310px)}.work-table{border-collapse:collapse;width:100%;font-size:12px}.work-table th{background:#e8f3fc;padding:13px;text-align:left;white-space:nowrap;position:sticky;top:0;z-index:1}.work-table td{padding:9px 13px;border-bottom:1px solid #edf1f5;max-width:300px;vertical-align:middle;overflow-wrap:anywhere}.work-table td:first-child{min-width:200px}.work-table td:first-child button{border:0;padding:0;justify-content:flex-start;text-align:left;min-height:30px;font-weight:400;color:#105b8d;background:none}.work-table td:nth-child(5){white-space:nowrap;min-width:175px}.work-table td:last-child{white-space:nowrap}.status-badge{display:inline-block;padding:4px 8px;border:1px solid #efbd65;background:#fff6df;color:#935400;border-radius:3px;font-size:11px;line-height:1.4;text-align:center;white-space:nowrap}.status-badge.overdue,.status-badge.deleted{background:#fff0f3;color:#bb173c;border-color:#eda3b1}.status-badge.responded,.status-badge.finalized,.status-badge.resolved{background:#e9f8f1;color:#08705d;border-color:#9fd9c4}.status-badge.forwarded,.status-badge.reopened,.status-badge.in_progress{color:#105d9a;background:#eaf4fc;border-color:#a0cae8}.work-pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:16px;font-size:12px}.work-pagination span{margin-right:auto}.work-dialog{width:min(1100px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:20px 24px}.work-dialog-body{min-width:0;overflow-wrap:anywhere}.work-dialog-body>h3{font-size:18px;margin:0 0 12px}.work-dialog .dialog-heading{position:sticky;top:-20px;background:white;z-index:2;padding-top:6px}.work-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.work-actions button{font-size:12px}.work-metadata{color:var(--muted);line-height:1.7;font-size:12px;margin:10px 0}.work-form{display:grid;gap:15px}.work-form>label{display:grid;gap:7px}.work-form input[type=text]{width:100%}.work-form>label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.work-assignees{border:1px solid var(--line);margin:0;padding:14px;display:flex;gap:12px 20px;flex-wrap:wrap}.work-assignees legend{font-size:13px}.work-assignees label{display:flex;align-items:center;gap:7px}.work-history{border-top:1px solid var(--line);padding:13px 0;font-size:13px}.work-history summary{cursor:pointer;color:#0964a5}.work-preview{white-space:pre-wrap;color:var(--muted);line-height:1.7;padding:10px 0}.rich-surface{min-width:0}.rich-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px;border:1px solid var(--line);background:#f5f9fc}.rich-toolbar button{height:32px;width:32px;min-height:32px;padding:5px}.rich-toolbar button[aria-pressed=true]{background:#daf0ed;border-color:#70bdb5}.rich-toolbar select{height:32px;background:white;color:#14364e;border:1px solid var(--line);border-radius:3px;padding:2px 5px;max-width:160px;font-size:12px}.rich-editor{border:1px solid var(--line);border-top:0;background:white;max-height:480px;overflow:auto}.rich-editor>.tiptap{min-height:170px;padding:14px;outline:none}.rich-view>.tiptap{padding:14px 0;outline:none}.rich-surface .tiptap{font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.rich-surface .tiptap p{margin:0 0 8px;min-height:1em}.rich-surface .tiptap table{border-collapse:collapse;table-layout:fixed;min-width:100%;width:auto}.rich-surface .tiptap .tableWrapper{overflow-x:auto;max-width:100%;margin:12px 0}.rich-surface .tiptap td,.rich-surface .tiptap th{border:1px solid #9eb2c1;padding:7px;min-width:100px;position:relative;vertical-align:top}.rich-surface .tiptap .selectedCell::after{position:absolute;inset:0;content:"";pointer-events:none;background:#0875c326}.rich-surface .tiptap th{background:#edf5fa;font-weight:600}.rich-surface .tiptap img{display:block;max-width:100%;height:auto;object-fit:contain;margin:10px 0}.rich-surface .tiptap h1{font-size:24px}.rich-surface .tiptap h2{font-size:21px}.rich-surface .tiptap h3{font-size:18px}.rich-surface .tiptap ul,.rich-surface .tiptap ol{padding-left:26px}.rich-surface .tiptap blockquote{border-left:3px solid var(--line);margin-left:0;padding-left:15px}.rich-surface .tiptap a{color:#0964a5;text-decoration:underline}.rich-surface .tiptap ::selection{background:#175d9d;color:white}.rich-surface .tiptap pre{white-space:pre-wrap;background:#f5f7fa;padding:12px}.rich-status{font-size:12px;color:var(--muted);line-height:1.6}.rich-status:empty{display:none}@media(max-width:800px){.work-screen{padding:18px 12px}.work-dialog{padding:15px}.work-dialog .dialog-heading{top:-15px}.work-table-wrap{max-height:calc(100dvh - 310px)}.work-pagination{gap:7px;flex-wrap:wrap}.work-screen h1{font-size:23px}.work-filters{margin-bottom:10px}.work-dialog-body>h3{font-size:16px}.rich-toolbar select{max-width:125px}}
.work-attachments{display:grid;gap:8px;margin:12px 0}.work-attachment{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.work-attachment>span{margin-right:auto;overflow-wrap:anywhere;min-width:0}.work-attachment button,.work-attachment .button{font-size:12px;min-height:30px;flex:none}.work-attachment img{width:15px;height:15px}
.notice-list{display:grid;gap:18px;min-width:0}.notice-card{background:white;border:1px solid var(--line);border-radius:4px;padding:20px;min-width:0;height:auto}.notice-card.notice-unread{border-left:3px solid #008c84}.notice-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.notice-heading h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere;margin:0}.notice-heading .status-badge{flex:none}.notice-metadata{font-size:12px;line-height:1.8;color:var(--muted);padding:14px 0;overflow-wrap:anywhere}.notice-content{border-left:4px solid #086bb4;background:#eaf4fc;padding:4px 18px;min-width:0;height:auto;max-height:none;overflow:visible}.notice-content .rich-view,.notice-content .tiptap{height:auto;max-height:none;overflow:visible}.notice-content .tiptap img{max-width:100%;height:auto}.notice-content .tableWrapper{overflow-x:auto;overflow-y:visible}.notice-card .work-actions{margin:0 0 14px}.notice-card .work-actions img{width:15px;height:15px}.notice-card .work-actions[hidden]{display:none}@media(max-width:800px){#notice-screen .page-heading,#notice-screen .heading-actions{flex-wrap:wrap}.notice-card{padding:14px}.notice-heading{flex-wrap:wrap}.notice-heading h2{font-size:16px}.notice-content{padding:3px 10px}}
.password-setup-form label{display:block;margin:16px 0 6px}.password-setup-form input{width:100%;height:43px}.password-setup-form button,.login-panel #password-setup-open{width:100%;margin-top:8px}.password-setup-form h2{font-size:18px}
.ranking-form{max-width:600px}
.work-field-hint{margin-top:-9px;color:var(--muted);font-size:12px}
.pending-create-form{margin-top:14px}
.pending-create-panel{border:1px solid var(--line);border-radius:4px;background:#fff;padding:20px}
.pending-create-panel>.form-error:empty{display:none}
.settings-band{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:14px;border:1px solid var(--line);border-radius:4px;background:#fff;margin:0 0 12px;padding:15px 18px}
.settings-band>img{box-sizing:border-box;width:44px;height:44px;padding:11px;background:#e8f2fb;border-radius:6px}
.settings-band h2{margin:0;font-size:15px}
.settings-band p{margin:5px 0 0;color:#536d81;font-size:12px}
.settings-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.settings-actions button img{width:15px;height:15px}
.settings-actions select{min-height:34px;border:1px solid var(--line);padding:4px 7px;color:#102843;background:#e8e6e1}
#account-list{margin-top:12px}
#audit-screen:not([hidden]){display:flex;flex-direction:column}
#audit-screen .form-error:empty{display:none}
.audit-table-wrap{scrollbar-gutter:stable}
.audit-table-wrap:focus-visible{outline:2px solid #1875b9;outline-offset:2px}
.audit-table{table-layout:fixed;min-width:740px}
.audit-table :is(td,th):nth-child(1){width:14%}
.audit-table :is(td,th):nth-child(2){width:16%}
.audit-table :is(td,th):nth-child(3){width:17%}
.audit-table :is(td,th):nth-child(4){width:25%}
.pending-create-body{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);align-items:start;gap:18px}
.pending-create-body .work-assignees{display:grid;gap:8px;border:0;padding:0;min-width:0}
.pending-create-body .work-assignees legend{padding:0;margin:0 0 10px;font-size:13px}
.pending-create-body .work-assignees label{min-width:0;overflow-wrap:anywhere}
.pending-create-body .work-assignees input{flex:none;margin:0}
.pending-create-description,.pending-create-attachment-heading{margin:0;font-size:13px}
.pending-create-body .rich-editor>.tiptap{min-height:200px}
@media(max-width:720px){
  .pending-create-body{grid-template-columns:minmax(0,1fr);gap:13px}
  .pending-create-body>.work-assignees{grid-row:1;padding-bottom:5px}
}
.pending-detail-dialog{width:min(1100px,calc(100vw - 28px));min-height:min(655px,calc(100dvh - 28px));color:#102843}
.pending-detail-dialog .dialog-heading{border-bottom:1px solid var(--line);margin-bottom:16px}
.pending-detail-dialog .dialog-heading h2{font-size:13px;font-weight:600}
.pending-detail-dialog .pending-detail-title{display:flex;align-items:center;gap:12px;margin-block:0 12px;font-size:20px;line-height:1.25}
.pending-detail-title img{box-sizing:content-box;width:20px;height:20px;padding:9px;background:#e8f2fb;flex:none}
.pending-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 16px;margin:0 0 11px;padding-bottom:14px;border-bottom:1px solid var(--line);font-size:12px}
.pending-detail-meta div{display:grid;grid-template-columns:auto max-content minmax(0,1fr);align-items:start;gap:7px;min-width:0}
.pending-detail-meta img{width:15px;height:15px}
.pending-detail-meta dt{font-weight:700}
.pending-detail-meta dd{margin:0;color:#536d81}
.pending-detail-reading{box-sizing:border-box;min-height:min(297px,40dvh);max-height:49dvh;overflow:auto;scrollbar-gutter:stable;border:1px solid var(--line);padding:12px;background:white;font-size:13px}
.pending-detail-reading h4{font-weight:700;font-size:12px;margin:0;text-transform:uppercase}
.pending-detail-featured{width:fit-content;max-width:100%;min-width:0;background:#e8f2fb;padding:7px 10px;margin:1px 0 16px}
.pending-detail-byline{font-size:11px;color:#486780;margin:0 0 5px}
.pending-detail-reading .rich-view>.tiptap{font-size:13px;padding:0}
.pending-detail-reading .tiptap p:last-child{margin-bottom:0}
.pending-detail-reading .tiptap table{min-width:0}
.pending-detail-reading .tiptap img{max-width:100%;height:auto}
.pending-detail-reading .work-history-list{padding-inline-start:20px;margin:0}
.pending-detail-event{padding-block:2px 8px;line-height:1.45}
.pending-detail-event .work-history{border:0;margin:1px 0 0;padding:0;font-size:12px}
.pending-detail-event .work-history summary{width:fit-content;color:#0964a5}
.pending-detail-attachments{border:1px solid var(--line);margin-top:12px;min-width:0}
.pending-detail-attachments legend{font-size:12px;font-weight:700}
.pending-detail-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 12px;margin:17px 5px 0}
.pending-detail-actions button{font-size:12px;min-height:32px;padding-inline:7px}
.pending-detail-actions button img{width:15px;height:15px;flex:none}
.pending-detail-actions [data-action]{background:var(--detail-command,#0867b2);border-color:var(--detail-command,#0867b2);color:#fff}
.pending-detail-actions [data-action] img{filter:brightness(0) invert(1)}
.pending-detail-actions [data-action]:hover{filter:brightness(.93)}
.pending-detail-actions :is([data-action=reply],[data-action=finalize],[data-action=reopen]){--detail-command:#087f77}
.pending-detail-actions [data-action=remove_complement]{--detail-command:#b95c00}
.pending-detail-actions [data-action=delete]{--detail-command:#cc1738}
.pending-print-dialog[open]{
  width:min(800px,calc(100vw - 24px));max-height:calc(100dvh - 24px);display:flex;
  flex-direction:column;overflow:hidden;padding:14px 16px;background:#f2f6fa;
}
.pending-print-dialog .dialog-heading{position:static;margin:0;padding:0;background:transparent}
.pending-print-dialog .dialog-heading h2{margin:0;font-size:17px}
.pending-print-dialog .dialog-actions{flex:none;gap:8px;margin:12px 0 0;flex-wrap:wrap}
.pending-print-status{margin:8px 0;color:#536d81;font-size:12px}
.pending-print-status:empty{display:none}
.pending-print-sheet{
  overflow:auto;min-height:0;margin-top:10px;padding:16px;border:1px solid var(--line);
  background:#fff;color:#172e43;font-size:13px;line-height:1.55;overflow-wrap:anywhere;
}
.pending-print-sheet h1{margin:0 0 10px;font-size:19px;line-height:1.25}
.pending-print-meta{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 9px;margin:0 0 15px}
.pending-print-meta dt{font-weight:700}
.pending-print-meta dd{margin:0}
.pending-print-entry{border-top:1px solid #a8bccd;margin:0;padding:11px 0}
.pending-print-entry header{margin:0 0 8px}
.pending-print-entry h2{font-size:14px;line-height:1.3;margin:0}
.pending-print-entry header p{margin:0;color:#39566d;font-size:.9em}
.pending-print-entry .tiptap{white-space:pre-wrap}
.pending-print-entry .tiptap p{margin:0 0 .5em}
.pending-print-entry .tiptap pre{white-space:pre-wrap}
.pending-print-entry .tiptap img{display:block;max-width:100%;height:auto;object-fit:contain;margin:.6em 0}
.pending-print-entry .tiptap table{width:100%;table-layout:fixed;border-collapse:collapse;margin:.6em 0}
.pending-print-entry .tiptap col{width:auto!important}
.pending-print-entry .tiptap :is(th,td){border:1px solid #9eb2c1;padding:.35em;vertical-align:top}
.pending-print-entry .tiptap td>p:last-child{margin-bottom:0}
.pending-print-output{display:none}
@media print{
  @page fluxo-pending{margin:14mm}
  html:has(body.pending-printing){height:auto;min-height:0;overflow:visible}
  body.pending-printing{height:auto;min-height:0;background:white;overflow:visible}
  body.pending-printing>:not(.pending-print-output){display:none!important}
  body.pending-printing>.pending-print-output{
    display:block;page:fluxo-pending;overflow:visible;margin:0;padding:0;border:0;background:white;color:#111;font-size:10pt;
  }
  .pending-print-output h1{font-size:16pt}
  .pending-print-output .pending-print-entry{padding:8pt 0}
  .pending-print-output .pending-print-entry header{break-inside:avoid;break-after:avoid}
  .pending-print-output .tiptap img{max-height:220mm;break-inside:avoid}
  .pending-print-output .tiptap tr{break-inside:avoid}
}
@media(max-width:890px){
  .pending-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pending-detail-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:540px){
  .pending-detail-meta{grid-template-columns:minmax(0,1fr)}
  .pending-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-inline:0}
  .pending-detail-actions button{white-space:normal;overflow-wrap:anywhere;line-height:1.2}
  .pending-detail-reading{max-height:55dvh}
}
.dashboard-metrics{container-type:inline-size;margin:0 0 16px}
.dashboard-metrics section+section{margin-top:14px}
.dashboard-metrics h2{margin:0 0 7px}
.dashboard-values{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.dashboard-values .metric-card{min-width:0;min-height:76px;justify-content:flex-start;text-align:left;gap:9px;padding:10px;background:#fff;border-color:var(--line)}
.dashboard-values .metric-card:hover{background:#f2f8fc;border-color:#8db6d4}
.metric-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:6px;background:#eaf4fd}
.metric-card[data-metric=critical] .metric-icon,.metric-card[data-metric=late] .metric-icon{background:#fcebf0}
.metric-card[data-metric=urgent] .metric-icon{background:#fff2db}
.metric-card[data-metric=resolved] .metric-icon{background:#e9f8f2}
.metric-card[data-metric=deleted] .metric-icon{background:#edf1f5}
.metric-caption{min-width:0;font-size:11px;color:#536d81;text-transform:uppercase;overflow-wrap:anywhere}
.metric-value{display:block;font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums;color:#0964a5}
.metric-card:is([data-metric=critical],[data-metric=urgent],[data-metric=late]) .metric-value{color:#b6203c}
.metric-card[data-metric=resolved] .metric-value{color:#08705d}
.metric-card[data-metric=deleted] .metric-value{color:#475c6c}
.pending-filters{flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:4px;padding:9px 12px;gap:9px}
.pending-filter{display:flex;align-items:center;gap:7px;color:#536d81}
.pending-filter select{font:inherit;min-height:36px;border:1px solid var(--line);border-radius:3px;color:#14364e;background:white;padding:5px 7px}
.pending-filters input{flex:1 1 150px;width:auto}
#ranking-screen{container-type:inline-size}
.ranking-heading{margin-bottom:15px}
.ranking-heading h1{margin:0}
.ranking-heading p,.ranking-legend-note{color:#536d81;font-size:12px}
.ranking-heading p{margin:7px 0 0}
.ranking-commands{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.ranking-commands[hidden]{display:none}
.ranking-commands button{font-size:12px;min-height:35px;padding:6px 12px}
.ranking-commands img{width:15px;height:15px}
.ranking-commands .ranking-points{background:#0867b2;color:white;border-color:#0867b2}
.ranking-commands .ranking-late{background:#b95c00;color:white;border-color:#b95c00}
.ranking-commands :is(.ranking-points,.ranking-late) img{filter:brightness(0) invert(1)}
.ranking-commands button:disabled{opacity:.55;cursor:not-allowed}
.ranking-legend{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:14px 8px;background:#fff;border:1px solid var(--line);border-radius:4px;padding:18px 20px;margin:0 0 18px}
.ranking-legend h2{display:flex;align-items:center;gap:12px;font-size:13px}
.ranking-legend-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;background:#07877b;border-radius:8px}
.ranking-legend-icon img{width:24px;height:24px;filter:brightness(0) invert(1)}
.ranking-weights{display:contents}
.ranking-weights div{text-align:center;padding:3px;font-size:12px}
.ranking-weights dd{margin:6px 0 0;font-weight:700;color:#08705d}
.ranking-weights dd[data-ranking-weight=ATRASO]{color:#b6203c}
.ranking-legend-note{grid-column:1/-1;margin:0}
#ranking-screen .work-table-wrap{min-height:min(470px,57dvh);max-height:none}
.ranking-table{min-width:810px}
.ranking-table :is(th,td):nth-child(n){text-align:center;min-width:0}
.ranking-table thead th{background:#e8f2fb}
.ranking-table th[scope=row]{position:static;background:transparent;white-space:normal;font-weight:inherit}
.ranking-table th[scope=row] button{background:none;border:0;min-height:23px;padding:0;font-size:inherit;color:inherit;font-weight:inherit}
.ranking-table :is(th,td):nth-child(2){min-width:185px}
.ranking-table :is(th,td):nth-child(3){min-width:115px}
.ranking-table tbody tr{cursor:pointer}
.ranking-table tbody th[scope=row],.ranking-table tbody td{background-color:inherit}
.ranking-table tbody td,.ranking-table tbody th{line-height:1.35;padding:7px 10px}
.ranking-table th.ranking-position,.ranking-table td.ranking-position{min-width:70px;width:70px;text-align:center;padding-inline:9px}
.ranking-marker{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:23px;font-variant-numeric:tabular-nums}
.ranking-medal{width:19px;height:19px;flex:none;mask:url('../icons/rank-medal.svg') center/contain no-repeat;background:var(--medal)}
.ranking-marker[data-medal=gold]{--medal:#bc8400;font-weight:700}
.ranking-marker[data-medal=silver]{--medal:#72859a;font-weight:700}
.ranking-marker[data-medal=bronze]{--medal:#a26037;font-weight:700}
.ranking-table .ranking-first{font-weight:700}
.ranking-table tbody .ranking-first{background:#eaf6f3}
.ranking-table tbody .ranking-selected{background:#dceefd}
@container (max-width:850px){.ranking-legend{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:610px){.ranking-legend{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}}
@container (max-width:300px){.ranking-legend{grid-template-columns:minmax(0,1fr)}}
@container (max-width:760px){.dashboard-values{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:420px){.dashboard-values{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Pending row colors and title markers follow the Windows palette. */
.pending-table thead th{background:#eaf4fd}
.pending-table :is(th,td):not(:first-child){text-align:center}
.pending-table tbody tr{background:#fff;--pending-accent:#0867b2}
.pending-table [data-row-tone=green]{background:#e9f8f2;--pending-accent:#078f88}
.pending-table [data-row-tone=orange]{background:#fff4dd;--pending-accent:#ef8300}
.pending-table [data-row-tone=red]{background:#fff0f2;--pending-accent:#d61f3b}
.pending-table [data-row-tone=critical]{background:#eaf4fd;--pending-accent:#0867b2}
.pending-table tbody tr:has(:focus-visible){background:#dceefd;--pending-accent:#0867b2}
.pending-table tbody td:first-child{position:relative;padding-inline-start:19px}
.pending-table tbody td:first-child::before{content:'';position:absolute;inset-block:6px;inset-inline-start:5px;width:4px;background:var(--pending-accent)}
.pending-priority{display:inline-flex;align-items:center;gap:5px;text-align:left;--priority-accent:#0867b2}
.pending-priority[data-priority=critical]{--priority-accent:#d61f3b}
.pending-priority[data-priority=attention]{--priority-accent:#ef8300}
.pending-priority::before{content:'';display:block;flex:0 0 7px;height:7px;border-radius:50%;background:var(--priority-accent)}
.pending-table .status-badge{background:#eaf4fd;color:#0867b2;border-color:#b7d5ec}
.pending-table .status-badge:is(.responded,.finalized,.resolved){background:#e9f8f2;color:#05736d;border-color:#acdcca}
.pending-table .status-badge.open{background:#fff4dd;color:#a55a00;border-color:#f2c07a}
.pending-table .status-badge.overdue{background:#eaf4fd;color:#b32139;border-color:#f0aeb8}
.pending-table .status-badge.deleted{background:#eef2f6;color:#536780;border-color:#d5dde5}
.pending-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,148px),1fr));gap:7px;margin:0 0 14px}
.pending-toolbar[hidden],.pending-filter[hidden]{display:none}
.pending-toolbar button{min-width:0;min-height:38px;font-size:12px;padding:6px 8px;--command:#0867b2}
.pending-toolbar button[data-pending-action]:not([data-pending-action=macros]){background:var(--command);border-color:var(--command);color:white}
.pending-toolbar button:is([data-pending-action=reply],[data-pending-action=finalize]){--command:#087f77}
.pending-toolbar button[data-pending-action=append]{--command:#1674ac}
.pending-toolbar button[data-pending-action=remove_complement]{--command:#9c5300}
.pending-toolbar button[data-pending-action=delete]{--command:#c41837}
.pending-toolbar button:not([data-pending-action=macros]) img{filter:brightness(0) invert(1)}
.pending-toolbar button:disabled{opacity:.58;cursor:not-allowed}
.pending-toolbar img{width:15px;height:15px;flex:none}
.pending-table tbody .pending-selected{background:#dceefd;--pending-accent:#0867b2}
.pending-table tbody tr:has([aria-pressed]){cursor:pointer}
.pending-table-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.pending-table-heading .heading-actions[hidden],.pending-table-heading button[hidden]{display:none}
.pending-table-heading button img{width:15px;height:15px}
#work-search-group{display:contents}
.work-subtitle{margin:5px 0 0;font-size:12px;color:#536d81}
.deleted-screen .pending-table{table-layout:fixed;min-width:740px}
.deleted-screen .pending-table :is(th,td):first-child{width:8%;min-width:0;max-width:none;text-align:center}
.deleted-screen .pending-table :is(th,td):nth-child(2){width:21%;text-align:left}
.deleted-screen .pending-table :is(th,td):nth-child(5){min-width:0}
.deleted-screen .pending-table :is(th,td):nth-child(6){width:20%}
.deleted-screen .pending-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deleted-screen .pending-table td:first-child{padding-inline:8px}
.deleted-screen .pending-table td:first-child::before{content:none}
.deleted-screen .pending-table tbody td:nth-child(2),#audit-screen .audit-table tbody td:nth-child(4){position:relative;padding-inline-start:16px}
.deleted-screen .pending-table tbody td:nth-child(2)::before,#audit-screen .audit-table tbody td:nth-child(4)::before{content:'';position:absolute;inset:6px auto 6px 3px;width:3px;background:#0867b2}
.deleted-screen .pending-table td:nth-child(2) button{border:0;background:none;color:inherit;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;font-size:inherit}
.history-filter-icon{display:none}
#history-screen{grid-area:2/2;min-width:0;min-height:0;padding:16px 15px;overflow:auto;display:flex;flex-direction:column;color:#0f2745}
#history-screen[hidden]{display:none}
.history-heading{margin:0 0 17px}
.history-heading h1{font-size:25px;line-height:1.2;margin:0;overflow-wrap:anywhere}
.history-heading p{font-size:12px;color:#536d81;margin:9px 0 0}
.history-tabs{display:flex;align-items:flex-end;flex-wrap:wrap;min-height:37px}
.history-tabs button{min-height:36px;border:1px solid #a29e92;border-radius:2px 2px 0 0;background:#edf2f6;color:#476780;padding:5px 20px;font-size:12px;font-weight:400}
.history-tabs button+button{margin-left:-1px}
.history-tabs button[aria-selected=true]{background:#008981;border-color:#008981;color:#fff;min-height:25px;padding-inline:8px;position:relative}
#history-panel{flex:1;min-width:0;min-height:430px;border:1px solid #a29e92;border-radius:0 2px 2px;padding:12px;display:flex;flex-direction:column}
#history-panel .work-screen{padding:0;overflow:visible;min-width:0}
#history-panel #work-screen>.page-heading,#history-panel #notice-screen>.page-heading{display:none}
#history-panel .work-pagination{display:none}
#history-panel .pending-table-heading{justify-content:flex-end;margin:0 0 16px}
#history-panel>.work-screen:not([hidden]),#history-panel #task-history:not([hidden]){display:flex;flex:1;min-height:0;flex-direction:column}
#history-panel #work-screen .pending-table-heading{order:-1}
.history-actions,.history-pager{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
#history-panel .history-actions[hidden]{display:none}
#history-panel :is(.history-actions,#pending-table-actions) button{min-height:32px;font-size:12px;padding:5px 12px}
#history-panel :is(.history-actions,#pending-table-actions) button img{width:15px;height:15px;filter:brightness(0) invert(1)}
#history-panel [data-scope=resolved][data-history-command=detail]{background:#0867b2;color:#fff;border-color:#0867b2}
#history-panel [data-scope=resolved][data-history-command=reopen]{background:#008981;color:#fff;border-color:#008981}
#history-panel #task-history-delete{background:#b95c00;color:#fff;border-color:#b95c00}
#history-panel :is(.history-actions,#pending-table-actions) button:disabled{opacity:.57}
#history-panel .work-filters{margin:0 0 12px;gap:8px 14px;padding:12px 16px;box-shadow:0 1px 1px #bfcedb70}
#history-panel #work-screen .work-filters{display:grid;grid-template-columns:1.15fr 1.1fr 1.1fr auto minmax(110px,1fr);align-items:center}
#history-panel .pending-filter{font-size:12px;white-space:nowrap;min-width:0}
#history-panel #work-search-group,.history-dates{display:flex;align-items:center;gap:8px}
#history-panel .pending-filter :is(input,select){min-width:0;min-height:28px;height:28px;padding:3px 7px}
#history-panel .pending-filter select{background:#e8e6e1;flex:1}
#history-panel .history-dates input{width:112px}
#history-panel :is(#work-clear,#task-clear){min-height:31px;color:#0867b2}
#history-panel #task-clear img{display:none}
#history-panel .history-filter-icon{display:inline-block;width:15px;height:15px;flex:none;background:currentColor;mask:url('../icons/filter.svg') center/contain no-repeat}
#history-panel #work-loading:not([hidden]){grid-column:1/-1}
#history-panel :is(#work-error,#task-error,#notice-error):empty{display:none}
:is(#history-panel,#audit-screen) .work-table-wrap{flex:1;min-width:0;min-height:155px;max-height:none;height:0;border:1px solid #c7d8e6;border-radius:4px;box-shadow:inset 0 0 0 2px #edf2f6}
#history-panel #work-screen .work-table{table-layout:fixed;min-width:960px}
#history-panel .task-history-table{table-layout:fixed;min-width:850px}
:is(#history-panel,#audit-screen) .work-table :is(td,th){min-width:0;padding:6px;font-size:11px;text-align:left}
:is(#history-panel,#audit-screen) .work-table thead th{height:37px;background:#e8f2fb;text-align:center}
:is(#history-panel,#audit-screen) .work-table tbody td{height:37px;border-bottom:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#history-panel .work-table tbody tr{cursor:pointer;background:white}
#history-panel .work-table tbody tr:is(.pending-selected,.history-selected){background:#dceefd}
#history-panel .work-table tbody td:is(:first-child,:nth-child(2))::before{content:none}
#history-panel #work-screen .work-table tbody td:nth-child(2){position:relative;padding-left:16px}
#history-panel #work-screen .work-table tbody td:nth-child(2)::before{content:'';position:absolute;inset:5px auto 5px 2px;width:3px;background:#0867b2}
#history-panel .work-table td button{font-size:inherit;min-height:25px;width:100%;padding:0;display:block;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;color:inherit;border:0}
#history-panel .work-table td button:focus-visible{outline-offset:-2px}
#history-panel .work-table .status-badge{font-size:10px;padding:2px 6px}
#history-panel #work-screen .work-table :is(th,td):nth-child(1){width:4.4%}
#history-panel #work-screen .work-table :is(th,td):nth-child(2){width:14%}
#history-panel #work-screen .work-table :is(th,td):is(:nth-child(3),:nth-child(5)){width:9.8%}
#history-panel #work-screen .work-table :is(th,td):nth-child(4){width:14.4%}
#history-panel #work-screen .work-table :is(th,td):nth-child(6){width:8%}
#history-panel #work-screen .work-table :is(th,td):nth-child(7){width:6.1%}
#history-panel #work-screen .work-table :is(th,td):nth-child(8){width:8.3%}
#history-panel #work-screen .work-table :is(th,td):nth-child(9){width:8%;text-align:center}
#history-panel .task-history-table :is(th,td):is(:nth-child(2),:nth-child(3)){width:21%}
#history-panel .task-history-table :is(th,td):nth-child(4){width:15%}
#history-panel .task-history-table td:nth-child(n+6){text-align:center}
#history-panel .history-actions:not([hidden]){margin-bottom:10px}
#history-panel #task-screen .page-heading{margin-bottom:10px}
#history-panel #task-screen .history-actions{margin:0}
.history-pager{margin-top:5px;padding:8px 10px;background:#fff;border:1px solid var(--line);font-size:11px;gap:5px}
#audit-screen .history-pager{flex:none}
.history-pager button,.history-pager select,.history-pager [aria-current=page]{min-height:32px;min-width:34px;padding:4px 8px;border-radius:3px}
.history-pager [role=status]{margin-right:auto;color:#536d81}
.history-pager [aria-current=page]{display:grid;place-content:center;background:#0867b2;color:#fff}
.history-pager select{margin-left:6px;background:#e8e6e1;border:1px solid var(--line);color:inherit;font:inherit}
#notice-screen:not([hidden]){display:flex;flex-direction:column}
#notice-screen .page-heading{align-items:flex-start}
#notice-screen .page-heading h1{margin:0}
#notice-screen .page-heading p{font-size:12px;color:#536d81;margin:6px 0 0}
#notice-mural-actions{flex-wrap:wrap;justify-content:flex-end}
#notice-mural-actions[hidden]{display:none}
#notice-mural-actions button{min-width:124px;font-size:12px;min-height:34px}
#notice-mural-actions button img{width:15px;height:15px}
#notice-edit{background:#0867b2;color:#fff;border-color:#0867b2}
#notice-edit img,#notice-new img{filter:brightness(0) invert(1)}
#notice-screen #notice-error:empty{display:none}
#notice-screen .notice-list{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;align-content:start;grid-auto-rows:max-content}
#notice-screen .notice-card{padding:20px 23px;border:1px solid var(--line);box-shadow:0 1px 1px #bfcedbaa}
#notice-screen .notice-card.notice-selected{border-color:#008981}
#notice-screen .notice-card .notice-heading{align-items:center}
#notice-screen .notice-heading h2{display:flex;align-items:center;gap:14px;min-width:0}
.notice-card-tools{display:flex;gap:8px;align-items:center;flex:none}
.notice-card-tools button{padding:4px;min-width:29px;min-height:29px}
.notice-card-tools button img{width:15px;height:15px}
.notice-card-tools button[aria-pressed=true]{background:#e8f2fb;border-color:#9dbfe2}
#notice-screen .notice-card-title{border:0;background:transparent;color:inherit;padding:2px 0;text-align:left;font-size:18px;overflow-wrap:anywhere;min-width:0}
.notice-symbol{display:none}
#workspace:has(#sidebar.desktop-symbols) .notice-symbol{display:grid;place-items:center;font:400 23px/1 "Fluxo Windows Nav";color:#0867b2;flex:none}
#notice-screen .notice-heading .notice-symbol{width:42px;height:42px;background:#e8f2fb;border-radius:4px}
#notice-screen .notice-metadata{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 12px;padding:11px;margin:12px 0;background:#f5f8fb;border:1px solid var(--line)}
#notice-screen .notice-metadata div{min-width:0;display:grid;grid-template-columns:auto 1fr;gap:0 8px}
#notice-screen .notice-metadata .notice-symbol{grid-row:span 2}
#notice-screen .notice-metadata dt{grid-column:2;font-size:11px}
#notice-screen .notice-metadata dd{grid-column:2;margin:0;color:#0f2745}
#notice-screen .notice-content{display:flex;align-items:flex-start;gap:14px;padding:12px 14px}
#notice-screen .notice-content>.notice-symbol{margin-top:12px}
.notice-card-body{min-width:0;flex:1}
#notice-screen .notice-card-body .tiptap{padding:4px 0}
#notice-screen .work-pagination{margin:5px 0 0;padding:8px 10px;background:#fff;border:1px solid var(--line)}
#history-panel #notice-screen .work-pagination{display:none}
#notice-search{width:min(210px,100%);font-size:12px;min-height:32px;padding:4px 9px}
@media(max-width:1330px){
  #history-panel #work-screen .work-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  #history-panel .history-dates{grid-column:span 2}
}
@media(max-width:800px){
  #history-screen{padding:12px 8px}
  .history-heading h1{font-size:21px}
  .history-tabs button,.history-tabs button[aria-selected=true]{min-height:36px;padding:4px 7px}
  #history-panel{padding:8px}
  #history-panel:has(#work-screen:not([hidden])){min-height:550px}
  #history-panel #work-screen .work-filters{grid-template-columns:minmax(0,1fr);padding:9px}
  #history-panel .history-dates{grid-column:auto;flex-wrap:wrap}
  #history-panel .history-dates input{width:110px}
  #notice-screen .notice-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}
  #notice-screen .notice-card{padding:12px}
  #notice-mural-actions{justify-content:flex-start;gap:6px}
  #notice-mural-actions button{min-width:0}
  #history-panel .work-table-wrap{max-height:55dvh}
}
.task-commands{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.task-commands[hidden],.task-metrics[hidden],.task-board[hidden]{display:none}
.task-commands .task-blue,.task-commands .task-orange{background:#0867b2;border-color:#0867b2;color:white}
.task-commands .task-orange{background:#9c5300;border-color:#9c5300}
.task-commands :is(.task-orange,.task-blue) img{filter:brightness(0) invert(1)}
.task-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,137px),1fr));gap:12px;margin:0 0 14px}
.task-metrics>div{padding:12px 14px;min-height:73px;background:#fff;border:1px solid var(--line);border-radius:4px}
.task-metrics span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase}
.task-metrics strong{display:block;font-size:24px;color:#0867b2;margin-top:5px}
.task-metrics :is([data-metric=late],[data-metric=critical]) strong{color:#bd2340}
#task-screen{container-type:inline-size}
.task-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch;background:var(--task-board-bg,#dceaf2);padding:15px;margin-bottom:12px;border:1px solid var(--line)}
@container (max-width:1010px){.task-board{grid-template-columns:repeat(auto-fit,minmax(min(100%,222px),1fr))}}
.task-column{display:flex;flex-direction:column;min-width:0;min-height:285px;padding:12px;gap:10px;background:var(--task-column-bg,#f3f7f7);border:1px solid #b9cfdb;border-radius:4px}
.task-column-heading{display:flex;align-items:center;gap:6px;padding:4px 0;color:#17354d;background:#f3f7f7;border-radius:3px}
.task-column-heading h2{margin:0 auto 0 6px;font-size:14px;overflow-wrap:anywhere}
.task-column-heading button,.task-card-head button{min-width:27px;min-height:28px;padding:3px;flex:none}
.task-column-heading img,.task-card-head img{width:15px;height:15px}
.task-count{background:white;padding:4px 7px;min-width:23px;text-align:center;font-size:12px}
.task-items{display:grid;gap:10px}
.task-column>button{margin-top:auto;align-self:flex-start;font-size:12px}
.task-column .empty-label{text-align:center;margin:8px 0;color:#28445c;background:#f3f7f7;border-radius:4px}
.task-card{padding:10px;border:1px solid #8ecfc5;border-radius:4px;min-width:0;background:#e7f6f0}
.task-card[data-task-tone]{--task-accent:#087f77;border-color:var(--task-accent);background:#e7f6f0}
.task-card[data-task-tone=red]{--task-accent:#cd1738;background:#fff0f2}
.task-card[data-task-tone=orange]{--task-accent:#946200;background:#fff4dd}
.task-card[data-task-tone=blocked]{--task-accent:#506579;background:#d9e5ef}
.task-card[data-task-tone=critical]{--task-accent:#0867b2;background:#eaf4fd}
.task-badges{display:flex;flex-wrap:wrap;gap:5px}
.task-state-badge{background:var(--task-accent);color:#fff;font-size:10px;font-weight:700;padding:4px 7px}
.task-critical-badge{background:#0867b2}
.task-card-head{display:flex;align-items:flex-start;gap:7px;margin-bottom:8px}
.task-card h3{margin:2px auto 0 0;font-size:14px;overflow-wrap:anywhere}
.task-card h4{font-size:12px;margin:10px 0 3px}
.task-caption{font-size:12px;margin:6px 0;color:#2d4557;overflow-wrap:anywhere}
.task-links{display:flex;flex-wrap:wrap;gap:6px}
.task-links button,.task-subtask-head button{background:none;border:0;padding:3px;color:#075e99;min-height:28px;text-align:left;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.task-grip{flex:none;cursor:grab;padding:1px 4px;color:#3a5570}
.task-description summary{font-size:12px;cursor:pointer;padding:5px 0;color:#264b62}
.task-description .rich-view,.task-description .tiptap{height:auto;max-height:none;overflow:visible}
.task-description .tiptap img{max-width:100%;height:auto}
.task-description .tableWrapper{overflow-x:auto}
.task-subtasks,.task-subtask ul{padding-inline-start:10px;margin:4px 0;list-style:none}
.task-subtask-head{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:11px}
.task-subtask-head span{color:#39566d}
.task-subtask-head .task-subtask-due{margin-inline-start:auto;white-space:nowrap;color:#087f77}
.task-subtask-head [data-due-tone=red]{color:#bf1836}
.task-subtask-head [data-due-tone=orange]{color:#845600}
.task-subtask-head [data-due-tone=critical]{color:#0867b2}
.task-subtask-head [data-due-tone=completed]{color:#536d81}
.task-column-editor>div{display:grid;grid-template-columns:minmax(0,1fr) 38px repeat(3,33px);gap:5px;align-items:center;margin:5px 0}
.task-column-editor button{min-width:0;padding:4px}
.task-column-editor input[type=color]{width:38px}
.task-history-table td:last-child{white-space:normal}
#task-history{margin-top:12px}
.macro-quick{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0}
.macro-quick>.work-metadata{flex-basis:100%;margin:0;font-weight:600}
.macro-shortcuts,.macro-commands{display:flex;flex-wrap:wrap;gap:7px;min-width:0}
.macro-shortcuts button,.macro-commands button,.macro-quick>button{min-height:34px;min-width:0;overflow-wrap:anywhere;white-space:normal}
.macro-shortcuts button{background:#1674ac;color:#fff;border-color:#1674ac;max-width:185px}
.macro-shortcuts button img{filter:brightness(0) invert(1)}
.macro-quick img,.macro-commands img{width:15px;height:15px;flex:none}
.macro-quick .form-error:empty,.macro-dialog .form-error:empty{display:none}
.macro-dialog .work-table-wrap{margin-top:10px;min-height:min(28vh,280px)}
.macro-table tbody .pending-selected{background:#dceefd}
.macro-table td:first-child{min-width:140px}
.macro-commands{justify-content:flex-end;margin-top:10px}
.pending-table th button{background:none;border:0;color:inherit;font-size:inherit;min-height:28px;padding:0 2px}
.pending-table th[aria-sort=ascending] button::after{content:' \25BE';margin-inline-start:4px}
.pending-table th[aria-sort=descending] button::after{content:' \25B4';margin-inline-start:4px}
.pending-filter input[type=date]{min-width:124px}
.task-column-heading[draggable=true]{cursor:grab}
.task-history-table td:first-child{min-width:72px;text-align:center}
.account-actions{white-space:normal}
.account-actions button{margin:2px 6px 2px 0}
button.account-delete-button{color:#ad1732;border-color:#eabaC4}
button.account-delete-button[type=submit]:not(:disabled){background:#b31734;color:white;border-color:#b31734}

:where(.work-dialog,.work-screen,#history-screen) input[type=checkbox]{
  appearance:none;display:inline-grid;place-items:center;vertical-align:middle;flex:none;
  box-sizing:border-box;width:13px;height:13px;margin:0;padding:0;border:1px solid #8498a8;
  border-radius:1px;background:#fff;cursor:pointer;
}
:where(.work-dialog,.work-screen,#history-screen) input[type=checkbox]:checked{
  border-color:#658399;background:#e8f2fb;
}
:where(.work-dialog,.work-screen,#history-screen) input[type=checkbox]:checked::after{
  content:'';width:11px;height:11px;background:#102843;mask:url('../icons/check.svg') center/contain no-repeat;
}
:where(.work-dialog,.work-screen,#history-screen) input[type=checkbox]:disabled{
  border-color:#a6b5c1;background:#e6edf2;cursor:default;
}
:where(.work-dialog,.work-screen,#history-screen) input[type=checkbox]:focus:not(:focus-visible){outline:none}
:where(.work-dialog,.work-screen,#history-screen) select:focus-visible{outline:2px solid #1875b9;outline-offset:2px}
@media(forced-colors:active){
  :where(.work-dialog,.work-screen,#history-screen) input[type=checkbox]{appearance:auto;display:inline-block}
  :where(.work-dialog,.work-screen,#history-screen) input[type=checkbox]::after{display:none}
}

.pending-reply-dialog[open]{
  box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;
  width:min(716px,calc(100vw - 24px));max-height:min(620px,calc(100dvh - 24px));padding:0;
  border-radius:5px;background:#f2f6fa;color:#102843;
}
.pending-reply-dialog .dialog-heading{
  position:static;flex:none;gap:8px;margin:0;padding:3px 8px 3px 12px;background:#edf2f7;border-bottom:1px solid var(--line);
}
.pending-reply-dialog .dialog-heading h2{margin:0;font-size:13px}
.pending-reply-dialog .dialog-heading button{padding:3px;min-height:28px;background:transparent;border-color:transparent}
.pending-reply-dialog .dialog-heading button img{width:15px;height:15px}
.pending-reply-dialog>.form-error{margin:7px 12px}
.pending-reply-dialog>.form-error:empty{display:none}
.pending-reply-dialog .work-dialog-body{min-height:0;display:flex;padding:8px;background:#f2f6fa}
.pending-reply-form{width:100%;min-width:0;grid-template-rows:minmax(0,1fr) auto;gap:0;background:#fff;font-size:13px}
.pending-reply-fields{min-width:0;min-height:0;overflow:auto;scrollbar-gutter:stable;padding:12px}
.pending-reply-fields h3{margin:0 0 14px;font-size:18px;line-height:1.25}
.pending-reply-label{margin:0 0 5px}
.pending-reply-form .rich-toolbar{padding:0;gap:4px;background:#fff;border:0}
.pending-reply-form .rich-toolbar :is(button,select){min-height:28px;height:28px}
.pending-reply-form .rich-toolbar button{width:31px;padding:4px}
.pending-reply-form .rich-toolbar button img{width:15px;height:15px}
.pending-reply-form .rich-editor{border-top:1px solid var(--line);max-height:260px;margin-top:5px}
.pending-reply-form .rich-editor>.tiptap{min-height:117px;padding:8px}
.pending-reply-form .rich-editor:focus-within{border-color:#6797bd}
.pending-reply-form .macro-quick{padding:4px 0;gap:4px;margin:5px 0 0;background:#f5f8fb}
.pending-reply-form .macro-quick>.work-metadata{line-height:1.2}
.pending-reply-form .macro-shortcuts{display:contents}
.pending-reply-form .macro-quick button{flex:1 1 140px;max-width:none;padding:4px 7px;font-size:12px;min-height:32px}
.pending-reply-form .macro-quick button img{display:none}
.pending-reply-form .macro-quick>button::after{
  content:'';width:10px;height:10px;background:currentColor;mask:url('../icons/chevron-right.svg') center/contain no-repeat;transform:rotate(90deg);
}
.pending-reply-form .macro-quick>.form-error{flex-basis:100%;margin:0}
.pending-reply-deadline{display:grid;grid-template-columns:minmax(0,max-content) auto auto;justify-content:start;align-items:center;gap:8px;margin:10px 0 5px}
.pending-reply-deadline input{box-sizing:border-box;width:143px;min-height:31px;padding:3px 6px}
.pending-reply-deadline.has-calendar-button ::-webkit-calendar-picker-indicator{display:none}
.pending-reply-form .work-assignees{
  display:grid;gap:2px;margin:12px 0 8px;padding:0;border:0;min-width:0;
}
.pending-reply-form .work-assignees legend{margin-bottom:5px;padding:0}
.pending-reply-form .work-assignees label,.pending-reply-fields>label{
  display:flex;align-items:center;gap:5px;min-height:21px;width:fit-content;max-width:100%;
}
.pending-reply-fields>label input{order:-1}
.pending-reply-form .pending-reply-attachments{
  min-width:0;margin:9px 0 0;padding:7px;border:1px solid var(--line);border-radius:2px;background:#f5f8fb;
}
.pending-reply-attachments legend{font-weight:700;padding:0 3px}
.pending-reply-attachments .work-attachments{margin:0}
.pending-reply-empty{margin-inline:8px;color:#536d81;line-height:2}
.pending-reply-attachments:has(.work-attachment) .pending-reply-empty{display:none}
.pending-reply-form .dialog-actions{margin:0;padding:8px 12px 6px;gap:8px;border-top:1px solid var(--line);flex-wrap:wrap}
.pending-reply-form :is(.dialog-actions,.pending-reply-deadline,.pending-reply-attachments) button{min-height:31px;padding:5px 10px;font-size:12px}
.pending-reply-form .pending-reply-attachments button img{width:15px;height:15px}
@media(max-width:600px){
  .pending-reply-deadline{grid-template-columns:minmax(0,auto) auto}
  .pending-reply-deadline label{grid-column:1/-1}
  .pending-reply-deadline input{max-width:100%}
  .pending-reply-form .work-assignees label,.pending-reply-fields>label{min-height:28px}
}
