:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  background: #f3f5f8;
  color: #17212f;
  --ink: #17212f;
  --muted: #536176;
  --line: #dce2e9;
  --white: #fff;
  --sidebar: #19212d;
  --brand: #8e2941;
  --brand-hover: #741d32;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 290px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
a { color: #7d253b; text-underline-offset: .18em; }
a:hover { color: #59172a; }
:focus-visible { outline: 3px solid #227bca; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.035em; line-height: 1.12; }
h2 { font-size: 1.14rem; letter-spacing: -.01em; }
h3 { font-size: 1.06rem; }
p { line-height: 1.48; }
strong { font-weight: 650; }
.icon { display: inline-block; flex: none; width: 1.2em; height: 1.2em; vertical-align: middle; }
.muted, time { color: var(--muted); }
.preline, dd, .timeline p { white-space: pre-wrap; overflow-wrap: anywhere; }
.message-inline-link { color: var(--brand); text-decoration: underline; overflow-wrap: anywhere; }
.loading { padding: 2rem; }

.shell { min-height: 100dvh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100dvh; padding: 26px 15px 16px; background: var(--sidebar); color: #eef2f8; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sidebar > .brand { margin: 0 7px 38px; }
.brand-mark { width: 43px; height: 43px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: #fff; font-size: 1.32rem; font-weight: 800; }
.brand strong { display: block; font-size: 1.06rem; letter-spacing: .01em; }
.brand span { display: block; margin-top: 3px; font-size: .82rem; color: #b7c3d3; }
.sidebar nav { display: grid; gap: 5px; }
.nav-secondary { display: grid; gap: inherit; }
.nav-link { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #bac6d6; text-align: left; font-weight: 600; }
.nav-more, .label-compact { display: none; }
.nav-link:hover { color: #fff; background: #252f3e; }
.nav-link.selected { color: #fff; background: #303b4c; }
.nav-chat-count { min-width: 22px; margin-left: auto; padding: 2px 6px; border-radius: 999px; background: #8e2941; color: #fff; font-size: .73rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.nav-chat-count[data-empty] { background: #3a4659; color: #eef2f8; }
.nav-chat-mentions { margin-left: 0; background: #62428a; }
.person { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 15px 2px 2px; border-top: 1px solid #3b4656; }
.person-profile { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 8px; padding: 3px; border: 0; border-radius: 8px; background: transparent; color: inherit; text-align: start; }
.person-profile:hover { background: #303b4c; }
.avatar { position: relative; overflow: hidden; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #37445a; color: #fff; font-size: .76rem; font-weight: 700; }
.avatar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; overflow-wrap: anywhere; }
.profile-summary .avatar { width: 56px; height: 56px; font-size: 1.05rem; }
.profile-avatar-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.profile-avatar-file { position: relative; }
.profile-avatar-file:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.profile-avatar-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.profile-avatar-filename { flex-basis: 100%; overflow-wrap: anywhere; }
.profile-avatar-filename:empty { display: none; }
.profile-facts { display: grid; gap: 10px; margin: 0; }
.profile-facts dt { color: var(--muted); font-size: .86rem; }
.profile-facts dd { margin: 3px 0 0; }
.person-name { flex: 1; min-width: 0; }
.person-name strong, .person-name span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.person-name strong { font-size: .85rem; }
.person-name span { margin-top: 2px; color: #b7c3d3; font-size: .75rem; }
.person button.icon-button { color: #d2dbe8; }
.person button.icon-button:hover { background: #303b4c; }

.main { width: 100%; max-width: 1510px; margin: 0 auto; padding: 40px clamp(22px, 3.2vw, 52px) 55px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.page-heading h1, .page-heading p { overflow-wrap: anywhere; }
.page-heading p { color: var(--muted); margin-top: 7px; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px; padding: 8px 13px; border: 1px solid transparent; border-radius: 8px; text-align: center; font-size: .9rem; font-weight: 650; line-height: 1.18; }
.button.primary { background: var(--brand); color: var(--white); }
.button.primary:hover { background: var(--brand-hover); }
.button.secondary { background: var(--white); color: var(--ink); border-color: #ccd5e0; }
.button.secondary:hover { background: #f2f5f9; }
.button.quiet { color: #653247; background: transparent; }
.button.quiet:hover, .button.icon-button:hover { background: #f0f3f7; }
.button.icon-button { min-width: 36px; min-height: 36px; padding: 7px; background: transparent; color: var(--muted); }
.workspace-actions { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 10px; }
.inbox-button { position: relative; }
.inbox-count { position: absolute; top: -4px; right: -5px; min-width: 18px; padding: 2px 4px; border-radius: 12px; background: #882643; color: #fff; font-size: .73rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.inbox-count[data-empty] { background: #e4eaf3; color: #38495e; }
.inbox-actions { margin: 0 0 12px; }
.inbox-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.inbox-item { display: grid; gap: 5px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.inbox-item.unread { border-left: 3px solid #882643; background: #fbf3f6; }
.inbox-item:hover { border-color: #882643; }
.inbox-item-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; font-size: .88rem; font-weight: 650; }
.inbox-item strong, .inbox-item .muted { overflow-wrap: anywhere; }
.inbox-item .muted { font-size: .87rem; }

.overview-list-links { display: flex; flex-wrap: wrap; column-gap: 16px; }
.overview-list-jump {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 2px;
  font-size: .88rem;
  font-weight: 650;
}

.overview-priority {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.overview-priority-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.overview-priority-group > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 14px;
}

.overview-priority-group h2 {
  margin: 0;
  font-size: 1rem;
}

.overview-group-count,
.overview-group-time {
  color: var(--muted);
  font-size: .8rem;
}

.overview-group-time {
  margin-inline-start: auto;
}

.overview-priority-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.overview-task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 14px;
  padding: 5px 14px;
  border-top: 1px solid var(--line);
}

.overview-task-name {
  min-width: 0;
}

.overview-task-name a {
  display: inline-block;
  max-width: 100%;
  padding-block: 4px;
  font-size: .93rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.overview-task-name small {
  display: block;
  margin-bottom: 2px;
  font-size: .76rem;
}

.overview-task-meta {
  display: grid;
  grid-template-columns: minmax(105px, auto) minmax(119px, auto);
  justify-items: start;
  align-items: center;
  gap: 5px 10px;
  font-size: .83rem;
}

.overview-priority-group .overview-group-link {
  min-height: 40px;
  margin-inline-start: 5px;
  color: var(--brand);
  font-size: .84rem;
}

.overview-group-empty {
  padding: 0 14px 12px;
  font-size: .88rem;
}

#overview-task-list {
  scroll-margin-block-start: 10px;
}

#overview-task-list:focus-visible {
  outline: 2px solid #227bca;
  outline-offset: 2px;
}

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 13px; margin-bottom: 20px; }
.metric { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px 9px; min-height: 106px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-align: left; font-size: .88rem; font-weight: 650; }
.metric > span:not(.metric-icon) { overflow-wrap: anywhere; }
.metric:hover, .metric.active { border-color: #a45b70; background: #fffafb; }
.metric.active { box-shadow: inset 0 0 0 1px #a45b70; }
.metric strong { grid-column: 1 / -1; line-height: 1; font-size: 1.95rem; font-variant-numeric: tabular-nums; }
.metric-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; }
.overdue .metric-icon, .mini-flag.overdue { background: #fcebf0; color: #8e2941; }
.blocked .metric-icon, .mini-flag.blocked { background: #fff0dd; color: #784b14; }
.decision .metric-icon, .mini-flag.decision { background: #eeebfc; color: #5e4188; }
.review .metric-icon, .mini-flag.review { background: #e7f2ff; color: #275b91; }

.list-panel, .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.list-top { display: flex; justify-content: space-between; align-items: center; padding: 0 17px; gap: 9px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 15px; }
.task-visibility { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; padding: 8px 17px; border-bottom: 1px solid var(--line); }
.task-visibility .button { min-height: 44px; }
.task-visibility > span { font-size: .85rem; }
.tab { min-height: 50px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 4px 1px 3px; font-size: .9rem; font-weight: 650; }
.tab:hover { color: var(--brand); }
.tab.active { border-color: var(--brand); color: var(--brand); }
.count { color: var(--muted); font-size: .85rem; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.filters .field { min-width: 136px; max-width: 205px; flex: 1 1 136px; margin: 0; }
.filters input, .filters select { min-height: 40px; font-size: .875rem; }
.filters .button { min-height: 40px; }
.filter-options { display: contents; }
.filters .filters-toggle, .task-cell-label, .discussion-link, .discussion-only { display: none; }
.search { display: flex; align-items: center; gap: 7px; flex: 2 1 145px; min-width: 145px; min-height: 40px; padding: 0 9px; border: 1px solid #cad4e0; border-radius: 8px; color: var(--muted); }
.search:focus-within { outline: 2px solid #227bca; outline-offset: 1px; }
.search input { width: 100%; min-width: 0; min-height: 38px; border: 0; padding: 4px 0; background: transparent; outline: 0; }
.filter-chip { display: flex; align-items: center; gap: 8px; padding: 2px 17px; color: var(--brand); font-size: .88rem; }
.filter-chip button { min-height: 32px; }
.list-panel .list-network-error { margin: 8px 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 14px; vertical-align: middle; font-size: .9rem; }
th:first-child, td:first-child { padding-left: 17px; }
th { background: #f7f9fc; color: #4a586d; font-weight: 650; white-space: nowrap; }
td { border-top: 1px solid #e8ecf1; }
.task-table tbody tr { background: var(--deadline-background, #fff); }
.task-table tbody tr:hover { background: var(--deadline-hover, #fbfcfe); }
.task-table tr.deadline-done { --deadline-background: #f0f8f2; --deadline-hover: #e8f4eb; }
.task-table tr.deadline-soon { --deadline-background: #fff9e8; --deadline-hover: #fff3d4; }
.task-table tr.deadline-overdue { --deadline-background: #fff2f3; --deadline-hover: #fce9ec; }
.work-task-table { table-layout: fixed; min-width: 710px; }
.work-task-table th:nth-child(2) { width: 17%; }
.work-task-table th:nth-child(3) { width: 25%; }
.work-task-table th:nth-child(4) { width: 7.25rem; }
.work-task-table th:nth-child(5) { width: 7rem; }
.work-task-table th:nth-child(6) { width: 8rem; }
td.name-cell { min-width: 200px; }
.name-cell a { color: var(--ink); font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.name-cell a:hover { color: var(--brand); text-decoration: underline; }
.row-meta { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.department-name { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.department-name[data-department-color] { padding: 3px 6px 3px 4px; border-radius: 6px; background: color-mix(in srgb, var(--department-color, #6d7f95) 12%, white); }
.department-mark { display: block; flex: none; width: 24px; height: 24px; border: 1px solid #22324d2b; border-radius: 6px; object-fit: cover; background-color: #edf1f6; }
.department-swatch { width: 16px; height: 16px; border-radius: 4px; background-color: var(--department-color, #6d7f95); }
.task-roster { gap: 7px; }
.task-roster dt { margin: 0 0 2px; font-size: .78rem; }
.task-roster dd { margin: 0; font-size: .85rem; line-height: 1.32; }
.row-flags, .label-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.row-flags:not(:empty) { margin-top: 5px; }
.mini-flag { border-radius: 4px; padding: 3px 6px; font-size: .76rem; font-weight: 650; }
.date-cell, .badge { white-space: nowrap; }
.badge { display: inline-block; border-radius: 999px; padding: 4px 8px; font-size: .83rem; font-weight: 650; }
.badge.todo { background: #eef1f5; color: #44546d; }
.badge.working { background: #e6f1ff; color: #2b5b8c; }
.badge.waiting { background: #fff0dd; color: #784b14; }
.badge.done { background: #e7f3ea; color: #285d3a; }
.task-deadline { display: inline-flex; flex-direction: column; gap: 1px; white-space: normal; }
.task-deadline time { color: var(--ink); font-size: inherit; white-space: nowrap; }
.task-deadline > span { font-size: .79rem; font-weight: 650; }
.task-deadline.deadline-done > span { color: #285d3a; }
.task-deadline.deadline-soon > span { color: #775315; }
.task-deadline.deadline-overdue > span { color: #902a3e; }
.priority-flag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid #d5dde7; border-radius: 6px; background: #eff2f6; color: #3e4f65; font-size: .81rem; font-weight: 650; white-space: nowrap; }
.priority-flag.high { border-color: #dac6e5; background: #f5edf9; color: #613577; }
.priority-flag.high .icon { fill: #e2c7ee; }
.priority-flag.low { background: #fff; color: #536176; font-weight: 550; }
.empty { display: grid; justify-items: center; gap: 7px; padding: 42px 14px; color: var(--muted); text-align: center; }
.empty .icon { width: 28px; height: 28px; color: #64788e; }
.empty h3 { color: var(--ink); }

.backline { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 12px; color: var(--muted); font-size: .88rem; }
.backline .button { min-height: 34px; padding-left: 0; }
.details-heading { align-items: end; }
.details-heading .label-row { margin-bottom: 9px; }
.details-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr); gap: 17px; }
.stack { display: grid; gap: 17px; align-content: start; }
.card { min-width: 0; padding: 18px; }
.card > h2, .card-heading { margin-bottom: 13px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
dl { display: grid; gap: 5px; margin: 0; }
dt { margin-top: 7px; color: var(--muted); font-size: .875rem; font-weight: 600; }
dd { margin: 0 0 5px; line-height: 1.45; }
.card > .button { margin-top: 12px; }
.card form { margin-top: 16px; }
.task-attachment-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.task-attachment-list li { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.task-attachment-list a { width: fit-content; max-width: 100%; }
.task-card-extra { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.task-linked-time-summary { margin: 5px 0 9px; color: var(--muted); }
.task-linked-time-list { display: grid; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.task-linked-time-list a {
  display: grid; align-content: center; gap: 2px; min-height: 44px; padding: 5px 9px;
  border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere;
}
.task-linked-time-list span { color: var(--muted); font-size: .875rem; }
.work-time__link-notice { margin: 0 0 12px; }
.task-extra-heading, .task-checklist-row, .task-file-queue li, .task-attachment-list li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 12px;
}
.task-extra-heading:not(:last-child) { margin-bottom: 8px; }
.task-pinned { padding: 9px 10px; border: 0; border-radius: 8px; background: #f9edf1; }
.task-pinned ul, .task-file-queue, .task-checklist-list { margin: 0; padding: 0; list-style: none; }
.task-pinned ul { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; }
.task-pinned li { min-width: 0; overflow-wrap: anywhere; }
.task-checklist-row, .task-file-queue li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.task-checklist-row:last-child, .task-file-queue li:last-child { border-bottom-color: transparent; }
.task-checklist-label { display: flex; align-items: center; flex: 1 1 180px; gap: 8px; min-width: 0; min-height: 44px; cursor: pointer; }
.task-checklist-label input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--brand); }
.task-checklist-label > span, .task-file-queue li > div:first-child, .task-attachment-list li > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.task-checklist-label > span { white-space: pre-wrap; }
.task-checklist-label small, .task-file-queue small, .task-attachment-list small { display: block; margin-top: 2px; }
.task-checklist-form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-top: 8px; width: 100%; }
.task-checklist-form .field { flex: 1 1 155px; margin: 0; }
.task-checklist-form .field :is(textarea, select) { width: 100%; }
.task-file-picker { position: relative; }
.task-file-picker input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.task-file-picker:focus-within { outline: 3px solid #227bca; outline-offset: 3px; }
.task-file-picker:has(input:disabled) { opacity: .68; }
.task-file-picker input:disabled { cursor: wait; }
.task-draft-files { min-width: 0; }
.task-file-hint { display: inline-block; margin-inline-start: 6px; font-size: .85rem; }
.task-file-queue { margin-block: 4px; }
.task-file-queue li > div:first-child { flex: 1 1 140px; }
.task-file-queue small { font-size: .82rem; }
.task-file-error { color: #8b243c; }
.task-file-pin { display: inline-flex; align-items: center; gap: 5px; min-height: 41px; font-size: .9rem; }
.task-file-pin input { margin: 0; accent-color: var(--brand); }

.entry { padding: 11px 0; border-bottom: 1px solid var(--line); }
.entry + .entry { margin-top: 2px; }
.entry-top { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 6px 12px; overflow-wrap: anywhere; }
.entry p, .entry .button { margin-top: 6px; }
.comment-quote, .reply-target { margin: 8px 0; padding: 8px 10px; border-left: 3px solid var(--line); background: #f3f5f8; border-radius: 4px; overflow-wrap: anywhere; }
.comment-quote { display: grid; width: 100%; gap: 3px; border-top: 0; border-right: 0; border-bottom: 0; text-align: left; color: var(--ink); cursor: pointer; }
.comment-quote span { color: var(--muted); }
.reply-target { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.comment-link summary { width: fit-content; color: #653247; cursor: pointer; font-size: .9rem; font-weight: 650; }
.comment-link .field { margin-top: 8px; }
time { font-size: .8rem; }
.timeline { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.timeline li { padding-left: 10px; border-left: 2px solid #dfe5ec; }
.timeline li div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 7px; }
.timeline li strong { font-size: .88rem; }
.timeline p { margin-top: 3px; color: var(--muted); font-size: .86rem; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin: 17px 0; }
.settings-row, .catalog-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.settings-row div { overflow-wrap: anywhere; }
.settings-row span { display: block; margin-top: 3px; font-size: .88rem; }
.settings-user-group + .settings-user-group { margin-top: 14px; }
.settings-user-group > summary { padding: 9px 10px; border-radius: 6px; background: #f3f5f8; cursor: pointer; overflow-wrap: anywhere; }
.settings-user-group > summary :is(h2, h3) { display: inline; margin-inline-start: 4px; }
.settings-user-group > .settings-row:first-of-type { border-top: 0; }
.catalog-row { align-items: start; overflow-wrap: anywhere; }
.catalog-row > * { min-width: 0; }

.field { display: grid; gap: 5px; min-width: 0; margin: 0 0 12px; }
.field > span { color: #3c485b; font-size: .875rem; font-weight: 650; }
input, textarea, select { min-width: 0; padding: 8px 10px; border: 1px solid #cad4e0; border-radius: 8px; background-color: #fff; color: var(--ink); }
input, select { min-height: 41px; }
textarea { width: 100%; resize: vertical; }
input::placeholder, textarea::placeholder { color: #657185; }
select { appearance: none; padding-right: 27px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23536176' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-position: right 9px center; background-repeat: no-repeat; }
input[type=checkbox] { min-height: 0; width: 16px; height: 16px; margin: 0 4px 0 0; vertical-align: middle; accent-color: var(--brand); }
.form-actions { display: flex; justify-content: end; margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.error, .flash { padding: 9px 11px; border-radius: 8px; font-size: .9rem; }
.error { margin: 7px 0; background: #fcebf0; color: #8b243c; }
.flash { margin: 0 0 15px; background: #e6f3eb; color: #265739; }
fieldset { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; }
legend { padding: 0 4px; font-weight: 650; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.people-picker { min-width: 0; }
.people-picker > input { width: 100%; margin-top: 8px; }
.people-options { max-height: 225px; overflow: auto; margin-top: 6px; }
.people-option { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 155px); align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.people-option.share-option { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; min-height: 44px; cursor: pointer; }
#search-workspace .card form { margin-top: 0; }
.people-option span { overflow-wrap: anywhere; }
.people-option small { display: block; color: var(--muted); }
.reminder-card-actions { margin-top: 12px; }
.reminder-compose { padding: 0; border: 0; }
.reminder-recipients { min-width: 0; max-height: 214px; overflow-y: auto; }
.reminder-recipient { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 4px 0; cursor: pointer; }
.reminder-recipient + .reminder-recipient { border-top: 1px solid var(--line); }
.reminder-recipient input { flex: 0 0 16px; }
.reminder-recipient span, .reminder-history-list li { min-width: 0; overflow-wrap: anywhere; }
.reminder-recipient small { display: block; color: var(--muted); }
[data-reminder-schedule] input { width: 100%; }
.reminder-notice:not(:empty) { margin-bottom: 12px; }
.reminder-history { padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }
.reminder-history summary { padding: 12px 0; cursor: pointer; font-weight: 650; }
.reminder-history p, .reminder-history-list time { font-size: .88rem; }
.reminder-history-list, .reminder-history-list ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.reminder-history-list > li + li { padding-top: 7px; border-top: 1px solid var(--line); }
.reminder-history-list ul { margin-top: 5px; }
.reminder-history-list ul li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; }
.reminder-history-list .badge { white-space: normal; }
.badge.reminder-failed { background: #fcebf0; color: #8e2941; }
.reminder-history > .button { margin: 4px 0; }
dialog { width: min(94vw, 580px); max-height: 90dvh; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); padding: 20px; box-shadow: 0 18px 70px #171e3f40; }
dialog::backdrop { background: #141d2a8c; }
.modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
[data-appearance-fields] input[type=color] { width: 6rem; }
[data-appearance-fields] input[type=file] { width: 100%; }
.department-preview { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.department-preview > span { color: var(--muted); font-size: .8rem; }

.auth-layout { min-height: 100dvh; display: grid; grid-template-columns: minmax(200px, 30%) 1fr; }
.auth-brand { padding: 34px; background: var(--sidebar); color: var(--white); }
.auth-content { display: grid; place-items: center; padding: 28px; }
.auth-panel { width: min(100%, 440px); padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.auth-panel > p { margin: 11px 0 17px; color: var(--muted); }
.auth-panel .auth-note { font-size: .85rem; margin-bottom: 0; }
.auth-panel .form-actions .button { flex: 1; }
.auth-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 16px; border-radius: 10px; background: #f9eaf0; color: var(--brand); font-size: 1.15rem; }

@media (min-width: 1081px) {
  .overview-heading .list-heading-actions { max-width: 23.5rem; justify-content: flex-end; }
}
@media (max-width: 1080px) {
  .shell { grid-template-columns: 190px minmax(0, 1fr); }
  .main { padding-top: 30px; }
  .page-heading:has(.list-heading-actions) { flex-wrap: wrap; }
  .list-heading-actions { flex: 1 1 100%; }
  .metric { padding: 11px; }
  .metrics { gap: 8px; }
  .details-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}
@media (min-width: 761px) and (max-width: 980px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { position: relative; display: block; }
  .sidebar { position: static; height: auto; padding: 9px 13px 7px; gap: 7px; }
  .sidebar > .brand { min-height: 44px; gap: 7px; margin: 0; padding-right: 192px; }
  .sidebar > .brand > div:last-child { min-width: 0; }
  .sidebar > .brand :is(strong, span) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .sidebar > .brand strong { font-size: .94rem; }
  .sidebar nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .nav-link { min-height: 44px; padding: 6px; gap: 5px; font-size: .87rem; }
  .sidebar nav > .nav-link { justify-content: center; text-align: center; }
  .sidebar nav > .nav-link > .icon, .label-full { display: none; }
  .nav-more { display: flex; }
  .label-compact { display: inline; }
  .nav-secondary { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-more[aria-expanded="false"] + .nav-secondary { display: none; }
  .sidebar nav > [data-view="chats"] { display: grid; grid-template-columns: repeat(2, auto); gap: 1px 3px; }
  .sidebar nav > [data-view="chats"] .nav-label { grid-column: 1 / -1; }
  .sidebar nav > [data-view="chats"] .nav-chat-count { min-width: 16px; margin: 0; padding: 1px 4px; font-size: .68rem; }
  .person { position: absolute; top: 9px; right: 13px; gap: 4px; border: 0; padding: 0; }
  .person-profile { justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; }
  .person-name { display: none; }
  .brand-mark { width: 37px; height: 37px; }
  .main { padding: 14px 13px 34px; }
  .overview-priority {
    gap: 9px;
    margin-bottom: 12px;
  }
  .overview-priority-group > header,
  .overview-task-row {
    padding-inline: 10px;
  }
  .overview-task-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    padding-block: 5px 7px;
  }
  .overview-task-name a {
    padding-block: 3px;
  }
  .overview-task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 7px;
  }
  .overview-priority-group .overview-group-link {
    min-height: 44px;
    margin-inline-start: 1px;
  }
  .overview-list-jump {
    min-height: 44px;
  }
  .page-heading.overview-heading { gap: 8px; margin-bottom: 10px; }
  .overview-heading .list-heading-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .overview-heading .list-heading-actions .button { min-width: 0; padding-inline: 8px; }
  .overview-heading .list-heading-actions .button:only-child { grid-column: 1 / -1; justify-self: start; }
  .workspace-actions { position: absolute; top: 9px; right: 109px; z-index: 1; margin: 0; }
  .workspace-actions .icon-button { color: #edf2fb; }
  .workspace-actions .icon-button:hover { background: #303b4c; }
  .feedback-trigger span { display: none; }
  .task-attachment-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .inbox-count { top: 1px; right: 1px; }
  .inbox-count[data-empty] { background: #3a4659; color: #eef2f8; }
  .button, .tab, .filter-chip button { min-height: 44px; }
  .button.icon-button { min-width: 44px; min-height: 44px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 8px; }
  .metric { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 6px; min-height: 48px; padding: 8px; }
  .metric strong { grid-area: 1 / 2; font-size: 1.3rem; }
  .metric-icon { display: none; }
  .details-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .details-grid > .stack { display: contents; }
  .task-work { order: -2; }
  .task-info { order: -1; }
  .heading-actions { flex: initial; }
  .heading-actions.discussion-only { display: flex; }
  .discussion-link { display: inline-flex; text-decoration: none; }
  #discussion { scroll-margin-top: 12px; }
  .table-scroll { overflow: visible; }
  .task-table, .task-table tbody { display: block; min-width: 0; }
  .task-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .task-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px 10px; padding: 12px; border-bottom: 1px solid var(--line); }
  .task-table tbody tr:last-child { border-bottom: 0; }
  .task-table td { min-width: 0; padding: 0; border: 0; }
  .task-table .name-cell, .task-table .department-cell, .task-table .roster-cell, .task-table .priority-cell { grid-column: 1 / -1; min-width: 0; }
  .task-table .name-cell a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; line-height: 1.35; }
  .task-cell-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: .8rem; font-weight: 600; }
  .task-table .name-cell .task-cell-label { display: none; }
  .department-cell, .task-roster > div { display: grid; grid-template-columns: minmax(0, 6.45rem) minmax(0, 1fr); align-items: baseline; gap: 4px; }
  .department-cell > .department-name { justify-self: start; }
  .department-cell .task-cell-label, .task-roster dt { margin: 0; }
  .priority-cell .task-cell-label { display: inline; margin-right: 5px; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; }
  .filters .search { grid-column: 1 / -1; min-width: 0; }
  .filters .filters-toggle { display: inline-flex; justify-self: start; }
  .filters > [type=submit] { grid-column: 2; grid-row: 2; }
  .filter-options { display: none; grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .filters-toggle[aria-expanded="true"] + .filter-options { display: grid; }
  .filters .field { min-width: 0; max-width: none; }
  .filter-options .field:has([name="assignee_id"]) { grid-column: 1 / -1; }
  .filters input, .filters select, input, select, textarea { font-size: 16px; }
  .filters input, .filters select, .filters .button, input, select { min-height: 44px; }
  .field input, .field select, .field textarea { width: 100%; max-width: 100%; }
  input[type=date] { display: block; }
  .card { padding: 14px; }
  [data-comments] .entry { padding: 12px 0; }
  [data-comments] .entry p { line-height: 1.55; }
  .comment-quote { grid-template-columns: minmax(0, 1fr); min-height: 44px; }
  .comment-attachment { display: inline-flex; min-height: 44px; align-items: center; }
  .comment-link summary { display: list-item; padding: 12px 0; }
  .card form > .form-actions > .button { width: 100%; }
  dialog[open] { position: fixed; inset: auto 0 0; display: flex; flex-direction: column; width: 100%; max-width: 100%; max-height: calc(100dvh - 12px); margin: 0; padding: 0; border-radius: 16px 16px 0 0; overflow: hidden; }
  dialog .modal-heading { flex: none; margin: 0; padding: 8px 14px; border-bottom: 1px solid var(--line); }
  dialog > form { min-height: 0; overflow: auto; overscroll-behavior: contain; scroll-padding-block: 12px 68px; padding: 12px 14px max(14px, env(safe-area-inset-bottom)); }
  dialog > form > .form-actions:last-child { position: sticky; bottom: calc(0px - max(14px, env(safe-area-inset-bottom))); margin: 12px -14px calc(0px - max(14px, env(safe-area-inset-bottom))); padding: 8px 14px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
  dialog .form-actions > [type=submit] { width: 100%; }
  .people-option { grid-template-columns: minmax(0, 1fr) min(51%, 158px); }
  .people-option select { width: 100%; padding-inline: 7px 21px; background-position: right 6px center; }
  .auth-layout { display: block; }
  .auth-brand { padding: 15px; }
  .auth-content { padding: 22px 14px; }
  .auth-panel { padding: 20px; }
}
@media (max-width: 490px) {
  .settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-heading { flex-wrap: wrap; align-items: start; margin-bottom: 16px; }
  .details-heading .heading-actions { flex: 1 1 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .page-heading { gap: 12px; }
  .list-top { flex-wrap: wrap; gap: 0 8px; padding: 0 11px; }
  .tabs { gap: 10px; }
  .count { margin: 4px 0; }
  .backline .button { min-height: 44px; }
  .settings-row { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .sidebar > .brand { gap: 5px; }
  .sidebar > .brand .brand-mark { width: 32px; height: 32px; }
  .sidebar > .brand strong { font-size: .86rem; }
  .sidebar > .brand span { display: none; }
  .filter-options, .people-option { grid-template-columns: minmax(0, 1fr); }
}

.task-repeat-fields { display: grid; gap: 8px; margin: 0 0 14px; padding: 8px 10px 11px; border: 1px solid var(--line); border-radius: 8px; }
.task-repeat-fields legend { font-weight: 650; }
.task-repeat-fields > select { width: 100%; }
.task-repeat-weekdays { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.task-repeat-weekdays legend { font-size: .875rem; }
.task-repeat-weekdays div { display: flex; flex-wrap: wrap; gap: 3px; }
.task-repeat-day { position: relative; }
.task-repeat-day input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.task-repeat-day span { display: grid; min-height: 44px; min-width: 34px; place-content: center; padding: 4px; border: 1px solid var(--line); border-radius: 7px; }
.task-repeat-day :checked + span { background: #e8effb; border-color: #4270a8; font-weight: 700; }
.task-repeat-day :focus-visible + span { outline: 3px solid #227bca; outline-offset: 2px; }
.task-repeat-fields .field, .task-repeat-preview { margin: 0; }
[data-task-repeat] :is(h3,p) { margin: 0 0 7px; }

.task-calendar__toolbar, .task-calendar__controls { display: flex; align-items: end; gap: 7px; flex-wrap: wrap; }
.task-calendar__toolbar { column-gap: 13px; row-gap: 8px; margin: 0 0 14px; }
.task-calendar__controls .button, .task-calendar__toolbar :is(select,input) { min-height: 44px; }
.task-calendar__controls .button[aria-pressed=true] { border-color: #2e5e9d; background: #e8effb; color: #18395d; }
.task-calendar__employee { display: grid; gap: 2px; max-width: 100%; font-size: .875rem; font-weight: 650; }
.task-calendar__employee select { max-width: 100%; }
.task-calendar__period h2 { margin: 0 0 9px; text-transform: capitalize; }
.task-calendar__grid, .task-calendar__weekdays { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1px; }
.task-calendar__grid { padding: 0; margin: 0; overflow: hidden; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: 10px; }
.task-calendar__weekdays { text-align: center; padding: 2px 0 5px; font-size: .875rem; color: var(--muted); }
.task-calendar__day { min-width: 0; min-height: 112px; padding: 6px; background: #fff; }
.task-calendar__day--outside { background: #f2f5f9; }
.task-calendar__day--outside time { color: var(--muted); }
.task-calendar__grid--week .task-calendar__day { min-height: 190px; }
.task-calendar__day--selected { background: #f1f5fb; box-shadow: inset 0 0 0 2px #4270a8; }
.task-calendar__day h3 { margin: 0 0 7px; font-size: .875rem; text-transform: capitalize; }
.task-calendar__day [aria-current=date] { color: #92253d; font-weight: 750; }
.task-calendar__day-button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 4px 5px; border: 0; border-radius: 5px; background: transparent; color: inherit; }
.task-calendar__day-button:hover { background: #e6edf7; }
.task-calendar__day-count { color: var(--muted); }
.task-calendar__events { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.task-calendar__event { padding: 4px 5px 5px 7px; border: 1px solid #c8d7e9; border-inline-start: 3px solid #527aa9; border-radius: 7px; background: #edf3fa; overflow-wrap: anywhere; }
.task-calendar__event--planned { border-style: dashed; border-color: #7864a2; background: #f4eff9; }
.task-calendar__event a { display: flex; align-items: center; min-height: 40px; font-weight: 650; }
.task-calendar__event small { display: block; color: var(--muted); }
.task-calendar__empty { margin: 6px 0; color: var(--muted); font-size: .875rem; }
.task-calendar__agenda { display: none; margin-block-start: 12px; }
.task-calendar__agenda h3 { margin: 0 0 7px; text-transform: capitalize; }

@media (max-width: 1080px) {
  .task-calendar__grid--week { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .task-calendar__grid--week { grid-template-columns: 1fr; }
  .task-calendar__grid--week .task-calendar__day { min-height: 64px; padding: 9px; }
  .task-calendar__grid--month .task-calendar__day { min-height: 44px; padding: 0; }
  .task-calendar__grid--month .task-calendar__day-button { flex-direction: column; justify-content: center; gap: 2px; }
  .task-calendar__grid--month .task-calendar__day-entries { display: none; }
  .task-calendar__agenda { display: block; }
}

.kanban-heading { flex-wrap: wrap; }
.kanban-heading .heading-actions { align-items: flex-start; }
.kanban-count { display: block; margin: 0 0 8px; }
.kanban-tabs { display: none; }
.kanban-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: start; }
.kanban-column { display: grid; gap: 8px; padding: 8px; min-width: 0; min-height: 175px; background: #f0f3f8; border: 1px solid var(--line); border-radius: 9px; }
.kanban-column[data-kanban-drop] { background: #e4eef9; outline: 2px solid #4270a8; outline-offset: -2px; }
.kanban-column h2 { display: flex; justify-content: space-between; gap: 6px; align-items: center; margin: 0; font-size: 1rem; }
.kanban-column h2 span,.kanban-tabs span { display: inline-block; border-radius: 6px; color: var(--muted); background: #e6ecf5; padding: 2px 6px; font-size: .786rem; }
.kanban-column ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.kanban-card { min-width: 0; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.kanban-card[draggable=true] { cursor: grab; }
.kanban-card h3 { margin: 0; font-size: 1rem; }
.kanban-card a { display: inline-flex; min-height: 44px; align-items: center; }
.kanban-card p { margin: 0 0 6px; font-size: .875rem; color: var(--muted); }
.kanban-due { display: inline-block; margin-inline-start: 4px; }
.kanban-card .button { margin-top: 2px; min-height: 44px; }
.kanban-empty { margin: 0; }
[data-kanban-error] { margin: 0 0 9px; }

@media (max-width: 760px) {
  .kanban-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin-block-end: 8px; }
  .kanban-tabs button { min-height: 44px; padding: 3px 6px; justify-content: space-between; }
  .kanban-tabs button[aria-pressed=true] { border-color: #4270a8; color: #18395d; background: #e8effb; }
  .kanban-grid { grid-template-columns: 1fr; }
  .kanban-board[data-column=todo] .kanban-column:not([data-kanban-status=todo]),
  .kanban-board[data-column=working] .kanban-column:not([data-kanban-status=working]),
  .kanban-board[data-column=waiting] .kanban-column:not([data-kanban-status=waiting]),
  .kanban-board[data-column=done] .kanban-column:not([data-kanban-status=done]) { display: none; }
}

.project-nav-head { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 3px; }
.project-nav-head .nav-label { min-width: 0; overflow-wrap: anywhere; }
.project-nav-toggle { justify-content: center; padding: 4px; }
.project-nav-toggle[aria-expanded=true] .icon { transform: rotate(180deg); }
.project-nav-children { display: grid; gap: 2px; margin: 0 0 2px 9px; padding: 0 0 0 7px; border-inline-start: 1px solid #536577; max-height: min(38vh, 300px); overflow: auto; }
.project-nav-item, .project-nav-create { font-size: .9rem; min-width: 0; overflow-wrap: anywhere; }
.project-nav-item { text-decoration: none; }
.project-nav-empty, .project-nav-error { font-size: .875rem; margin: 4px 8px; }
.project-nav-error { color: #ffbfc7; }
.public-task-nav { text-decoration: none; }
.sidebar nav { min-height: 0; overflow-y: auto; }
.sidebar .person { flex-shrink: 0; }
@media (max-width: 760px) {
  .sidebar nav { grid-template-columns: .9fr 1.24fr .82fr .82fr .75fr; overflow-y: visible; }
  .project-nav-head { grid-column: span 4; }
  .project-nav-head > .nav-link:first-child { padding-inline-start: 12px; }
  .project-nav-head > .nav-link:first-child .icon { display: none; }
  .project-nav-children { grid-column: 1 / -1; max-height: 180px; }
  .sidebar nav > .public-task-nav { font-size: .82rem; padding-inline: 1px; }
}

.task-message-file-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; min-width: 0; margin: 6px 0 8px; padding: 0; border: 0; }
.task-message-files-label { margin-bottom: 3px; font-size: .875rem; font-weight: 650; }
.task-message-file-picker > .task-file-picker { min-height: 44px; margin: 0; }
.task-message-file-limit { font-size: .8rem; }
.task-message-file-picker > .error, .task-message-file-picker > ul { flex-basis: 100%; }
.task-message-files { display: grid; gap: 4px; min-width: 0; margin: 6px 0; }
.task-message-file-list { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.task-message-file-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; min-width: 0; padding: 3px 7px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow-wrap: anywhere;
}
.task-message-file-list small { color: var(--muted); }
.task-message-file-list li > :is(a,strong) { min-width: 0; max-width: 100%; }
.task-message-file-list a { display: inline-flex; min-height: 44px; align-items: center; }
.task-message-file-list .button { min-height: 44px; margin-inline-start: auto; }
.task-message-file-list .task-message-file-error { color: #8c2033; }
.chat-composer .task-message-file-picker { grid-column: 1 / -1; }
.chat-composer .task-message-file-picker > ul { max-height: min(20dvh, 132px); overflow: auto; }
.chat-message .task-message-files { max-width: 100%; }
