:root {
  font-family: "Inter", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  color: #1c2923;
  background: #f8faf7;
  font-size: 14px;
  --ink: #1c2923;
  --muted: #596961;
  --line: #dce4dc;
  --canvas: #f8faf7;
  --white: #fff;
  --primary: #215b49;
  --green-pale: #e1eee5;
  --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #39806a;
  outline-offset: 2px;
}
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
.icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; opacity: .73; vertical-align: middle; }
.loading { padding: 32px; color: var(--muted); }
.shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100dvh; }
.sidebar {
  position: sticky; top: 0; height: 100dvh; background: #eef3ed; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 27px 16px 16px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.sidebar .brand { margin: 0 8px; }
.brand-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 8px; background: var(--primary); flex: 0 0 auto; }
.brand-icon .icon { filter: invert(1); opacity: 1; width: 22px; height: 22px; }
.brand strong, .brand small, .user-info strong, .user-info small { display: block; }
.brand strong { font-size: 16px; line-height: 1.45; }
.brand small, .user-info small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.navigation { display: grid; gap: 4px; margin-top: 46px; }
.nav-button {
  width: 100%; min-height: 43px; padding: 9px 12px; display: flex; align-items: center; gap: 11px;
  border: 1px solid transparent; border-radius: 7px; background: none; text-align: left; color: #46564e; font-weight: 550;
}
.nav-button:hover, .user-button:hover { background: #e5ede5; }
.nav-button.active { background: #dcebe0; color: #154d3a; border-color: #d4e5d8; font-weight: 700; }
.nav-button.active .icon { opacity: .9; filter: invert(24%) sepia(26%) saturate(1550%) hue-rotate(105deg); }
.sidebar-footer { margin-top: auto; display: grid; gap: 10px; }
.utility { font-size: 13px; }
.user-button {
  display: flex; gap: 9px; width: 100%; min-width: 0; align-items: center; text-align: left;
  padding: 13px 5px 5px 7px; border: 0; border-top: 1px solid #d9e2d9; border-radius: 0 0 7px 7px; background: none;
}
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: #dbe8dc; color: #285743; font-weight: 750; }
.user-info { flex: 1; min-width: 0; }
.user-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.user-button > .icon { width: 15px; }
.workspace { min-width: 0; }
.topbar {
  min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 clamp(18px, 3.25vw, 52px); background: #fbfcfa; border-bottom: 1px solid var(--line);
}
.breadcrumb, .topbar-actions { display: flex; align-items: center; gap: 10px; color: var(--muted); white-space: nowrap; font-size: 13px; }
.breadcrumb .icon { width: 15px; height: 15px; }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.topbar-actions [data-mobile] { display: none; }
.main { max-width: 1480px; margin: 0 auto; padding: 34px clamp(18px, 3.25vw, 52px) 48px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 27px; }
.page-heading h1 { font-size: 32px; line-height: 1.25; font-weight: 740; }
.today-date { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: var(--muted); font-size: 13px; font-weight: 550; }
.today-date .icon { width: 15px; height: 15px; }
.primary, .secondary, .danger, .danger-solid, .text-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none;
  min-height: 38px; padding: 8px 13px; border: 1px solid transparent; border-radius: 7px; font-size: 13px;
  font-weight: 650; line-height: 1.35;
}
.primary { background: var(--primary); color: #fff; }
.primary:hover { background: #184b3b; }
.primary .icon, .danger-solid .icon { filter: invert(1); opacity: 1; }
.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.secondary:hover, .icon-button:hover { background: #ecf2ec; }
.danger { color: #a1423b; background: transparent; }
.danger:hover { background: #f9e8e6; }
.danger-solid { background: #a53d3a; color: #fff; }
.danger-solid:hover { background: #88312e; }
.text-button { background: none; color: var(--primary); }
.text-button:hover { background: #e8f0e9; }
.icon-button {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  padding: 0; border: none; border-radius: 6px; background: none;
}
.icon-button .icon { width: 17px; height: 17px; }
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 31px; }
.metric {
  display: flex; gap: 13px; min-width: 0; min-height: 89px; padding: 15px 16px; align-items: center; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.metric-icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; }
.metric-icon .icon { width: 19px; height: 19px; opacity: .86; }
.metric-icon.red { background: #f9e9e7; }.metric-icon.red .icon { filter: invert(29%) sepia(47%) saturate(1656%) hue-rotate(332deg); }
.metric-icon.gold { background: #f8f0d9; }.metric-icon.gold .icon { filter: invert(34%) sepia(50%) saturate(1456%) hue-rotate(12deg); }
.metric-icon.aqua { background: #e3f0e8; }.metric-icon.aqua .icon { filter: invert(25%) sepia(24%) saturate(1948%) hue-rotate(106deg); }
.metric-icon.neutral { background: #eceff0; }
.metric-text { display: grid; gap: 5px; min-width: 0; }
.metric-text strong { font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-text > span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 26px; align-items: start; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.section-heading { min-height: 33px; margin-bottom: 9px; }
.section-heading h2 { font-size: 18px; font-weight: 720; }
.management-period { color: var(--muted); font-size: 12px; }
.analysis-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.analysis-controls .tabs { padding: 0; }
.analysis-rate { display: flex; gap: 3px 8px; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; color: var(--muted); font-size: 12px; }
.analysis-rate strong { color: var(--primary); font-size: 16px; }
.analysis-rate small { font-size: 11px; }
.analysis-trend { list-style: none; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.analysis-trend li { display: grid; align-items: center; grid-template-columns: minmax(85px, max-content) minmax(0, 1fr) 4ch;
  min-height: 31px; gap: 12px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.analysis-trend li > :last-child { text-align: right; color: var(--ink); }
.analysis-trend meter { width: 100%; height: 9px; display: block; appearance: none; background: var(--green-pale); border: 0; border-radius: 4px; }
.analysis-trend meter::-webkit-meter-bar { background: var(--green-pale); border: 0; border-radius: 4px; }
.analysis-trend meter::-webkit-meter-optimum-value { background: var(--primary); border-radius: 4px; }
.analysis-trend meter::-moz-meter-bar { background: var(--primary); border-radius: 4px; }
.management-section { margin: 11px 0 25px; }
.management-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.management-table :is(th, td) { width: 15%; padding: 12px 8px; text-align: center; }
.management-table :is(th, td):first-child { width: 40%; padding-left: 14px; text-align: left; }
.management-table thead th { background: #edf2ee; color: var(--muted); font-size: 12px; font-weight: 650; }
.management-table thead th:first-child { border-top-left-radius: 7px; }
.management-table thead th:last-child { border-top-right-radius: 7px; }
.management-table tbody :is(th, td) { border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.management-table tbody th { overflow-wrap: anywhere; font-weight: 650; }
.management-table small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; }
.analysis-departments :is(th, td) { width: 13%; }
.analysis-departments :is(th, td):first-child { width: 35%; }
.management-drill { display: flex; align-items: center; gap: 7px; max-width: 100%; min-height: 34px; padding: 0;
  border: 0; background: transparent; color: var(--primary); text-align: left; font-weight: inherit; }
.management-drill:hover > span { text-decoration: underline; }
.management-drill .icon { width: 15px; height: 15px; }
.management-overdue { color: #a1423b; font-weight: 650; }
.management-blocked { color: #805608; font-weight: 650; }
.management-task-list { list-style: none; margin: 0; padding: 0; }
.management-task-list li { display: grid; gap: 7px; overflow-wrap: anywhere; padding: 12px 0; border-bottom: 1px solid var(--line); }
.management-task-list li:first-child { padding-top: 0; }
.management-task-list li:last-child { border-bottom: 0; }
.management-task-list p { white-space: pre-wrap; }
.management-task-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.management-task-title span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.task-flow-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px; }
.task-flow-list, .task-progress-list { list-style: none; margin: 8px 0 0; padding: 0; }
.task-flow-list li, .task-progress-list li { padding: 9px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.task-flow-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.task-flow-list p, .task-progress-list p, .task-flow-heading time { color: var(--muted); font-size: 12px; }
.task-flow-list p, .task-progress-list p { margin-top: 4px; white-space: pre-wrap; }
.task-progress-controls { display: flex; justify-content: flex-start; }
#task-progress-form h3 { margin: 0; font-size: 15px; }
.progress-task-title { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.latest-progress { display: grid; gap: 4px; border-left: 2px solid #aac3b5; padding-left: 9px; }
.permissions-grid { display: grid; grid-template-columns: minmax(0, 272px) minmax(0, 1fr); gap: 24px; margin: 14px 0 24px; }
.permissions-grid section { display: grid; align-content: start; gap: 12px; min-width: 0; }
.permissions-grid h2 { font-size: 18px; }
.permissions-search { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 7px; }
.permissions-list { display: grid; gap: 3px; max-height: 370px; overflow: auto; }
.permission-user { display: block; min-height: 39px; padding: 8px 10px; text-align: left; overflow-wrap: anywhere;
  border: 1px solid transparent; border-radius: 6px; background: none; }
.permission-user:hover, .permission-user[aria-pressed="true"] { border-color: var(--line); background: #eaf2eb; }
.permission-user small { display: block; color: var(--muted); }
.permissions-person { font-weight: 650; overflow-wrap: anywhere; }
.management-task-list .permission-grant { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.permission-grant button, #permission-grant > button { justify-self: start; }
.permissions-audit { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.permissions-audit li { display: grid; grid-template-columns: 113px minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 10px; align-items: baseline; border-bottom: 1px solid var(--line); padding: 11px 0; overflow-wrap: anywhere; }
.permissions-audit time, .permissions-audit small { color: var(--muted); font-size: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 10px; }
.tab {
  display: inline-flex; gap: 6px; padding: 6px 8px; align-items: center; min-height: 31px;
  background: none; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font-size: 12px; white-space: nowrap;
}
.tab:hover { background: #edf3ed; }
.tab.selected { background: #e2eee4; border-color: #d6e6d9; color: #20533d; font-weight: 700; }
.tab > span { min-width: 16px; text-align: center; padding: 0 3px; border-radius: 4px; background: #eaf0eb; color: #4b5b53; font-size: 11px; font-variant-numeric: tabular-nums; }
.tab.selected > span { background: #d1e3d6; color: #20533d; }
.today-tabs .tab { min-height: 36px; padding-inline: 12px; }
.task-list { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.task-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(58px, auto) 96px; align-items: center;
  min-height: 59px; column-gap: 11px; padding: 10px 11px 10px 14px;
}
.task-row + .task-row { border-top: 1px solid #e5ebe5; }
.task-row:hover { background: #fbfcfa; }
.task-row:first-child { border-radius: 7px 7px 0 0; }
.task-row:last-child { border-radius: 0 0 7px 7px; }
.task-info { min-width: 0; display: grid; gap: 5px; padding: 1px 0; text-align: left; border: 0; background: none; }
.task-info:hover .task-title { color: #21634c; text-decoration: underline; text-underline-offset: 3px; }
.task-title { font-size: 14px; font-weight: 720; line-height: 1.5; overflow-wrap: anywhere; }
.task-assignment { display: block; color: var(--primary); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.task-actual-start { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }
.task-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.urgency { display: inline-block; max-width: 100%; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px;
  color: var(--muted); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.urgency.urgent { border-color: #efb9b1; background: #f9e8e4; color: #983d35; font-weight: 650; }
.management-task-title .task-badges { flex: 0 1 auto; justify-content: flex-end; }
.management-task-title .urgency { flex: 0 1 auto; }
.management-task-title .urgency.urgent { color: #983d35; }
.status { white-space: nowrap; display: inline-flex; padding: 3px 6px; border-radius: 4px; font-size: 11px; line-height: 1.35; color: #526057; background: #eef1ee; }
.status.progress { color: #285e6b; background: #e8f1f5; }
.status.waiting { color: #73561a; background: #f8f1dc; }
.status.blocked { color: #9a4239; background: #f8e8e4; }
.status.finished { color: #276245; background: #e4f1e8; }
.task-date { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 11px; color: var(--muted); }
.task-date .icon { width: 13px; height: 13px; }
.task-date.late { color: #a33f37; font-weight: 700; }
.task-date.late .icon { filter: invert(29%) sepia(37%) saturate(3053%) hue-rotate(337deg); }
.task-timing { display: grid; min-width: 0; gap: 3px; }
.task-estimate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--muted); }
.empty { display: grid; justify-items: center; align-content: center; min-height: 145px; gap: 8px; border: 1px dashed #d3ddd4; border-radius: var(--radius); color: var(--muted); font-size: 13px; }
.empty .icon { opacity: .39; width: 23px; height: 23px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.search-field { position: relative; flex: 1 1 220px; }
.search-field .icon { position: absolute; z-index: 1; top: 11px; left: 11px; }
.search-field input { padding-left: 36px; }
.filter-select { min-width: 114px; }
.result-count { margin: 16px 0 8px; color: var(--muted); font-size: 12px; }
.task-date small { color: var(--muted); font-size: 10px; }
.tabs.task-tabs { margin-top: 13px; }
.period-switch { display: flex; gap: 4px; margin-bottom: 10px; }
.analysis-table, .reflection-card { margin-top: 19px; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-scroll table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; }
.table-scroll th, .table-scroll td { padding: 9px 10px; border-bottom: 1px solid #e5ebe5; font-size: 12px; white-space: nowrap; }
.table-scroll th { color: #43564a; background: #eef3ed; font-weight: 700; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.review-questions { display: grid; gap: 13px; }
.review-question > span { font-weight: 650; line-height: 1.5; }
.week-controls { display: flex; gap: 7px; align-items: center; margin: 0 0 19px; }
.week-controls > .icon { width: 16px; height: 16px; }
.week-controls strong { font-size: 13px; }
.review-range-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: -7px 0 18px; }
.review-range-controls label { display: grid; gap: 5px; color: #36493d; font-size: 12px; font-weight: 630; }
.review-range-controls input { width: 170px; min-height: 36px; font-size: 13px; }
.review-layout { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .8fr); }
.review-follow { margin-top: 20px; }
.stack { display: grid; gap: 14px; }
.stack label { display: grid; gap: 6px; color: #36493d; font-size: 13px; font-weight: 630; min-width: 0; }
input, select, textarea {
  display: block; width: 100%; min-width: 0; color: var(--ink); background: #fff; border: 1px solid #cfdacf;
  border-radius: 6px; min-height: 39px; padding: 8px 10px; font-size: 14px; font-weight: 400;
}
textarea { resize: vertical; }
input::placeholder { color: #66756d; }
input[type="file"]::file-selector-button { border: 0; border-radius: 4px; background: #e8f1e8; color: var(--primary); padding: 5px 8px; margin-right: 9px; cursor: pointer; }
.form-error { color: #a23933; font-size: 12px; line-height: 1.5; }
.auth-page { min-height: 100dvh; max-width: 430px; padding: 11vh 22px 30px; margin: 0 auto; }
.auth-page > .brand { margin-bottom: 17px; }
.auth-panel { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.auth-panel h1 { font-size: 24px; margin-bottom: 21px; }
.auth-options { display: flex; justify-content: space-between; flex-wrap: wrap; margin-top: 14px; gap: 4px; }
dialog { width: min(540px, calc(100% - 24px)); max-height: min(90dvh, 850px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; }
dialog::backdrop { background: rgb(18 34 27 / 42%); }
.dialog-heading { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 17px; border-bottom: 1px solid var(--line); background: #fff; }
.dialog-heading h2 { font-size: 18px; }
.dialog-body { padding: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#task-form input[type="date"]:enabled { cursor: pointer; }
.task-assignee { display: grid; gap: 6px; min-width: 0; }
.colleague-search { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; align-items: end; }
.colleague-search .icon-button { height: 39px; width: 38px; border: 1px solid var(--line); }
.assignee-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.assignee-selection span { overflow-wrap: anywhere; }
.colleague-results { display: grid; gap: 4px; max-height: 150px; overflow-y: auto; font-size: 12px; }
.colleague-results:empty { display: none; }
.colleague-results button { justify-content: flex-start; flex-wrap: wrap; text-align: left; overflow-wrap: anywhere; }
.colleague-results small { min-width: 0; color: var(--muted); }
.colleague-results .search-group-title { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.colleague-results .search-group-title span { font-weight: 400; }
.received-task { display: grid; gap: 6px; font-size: 13px; overflow-wrap: anywhere; }
.received-task strong { font-size: 16px; }
.received-task p { white-space: pre-wrap; color: var(--muted); }
.schedule-history { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #f6f9f5; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 7px; }
.form-actions .push { margin-right: auto; }
.details-body { padding-top: 13px; }
details { border-top: 1px solid var(--line); padding-top: 10px; }
details summary { cursor: pointer; color: var(--primary); font-size: 13px; font-weight: 650; }
.delete-title { overflow-wrap: anywhere; }
.choose-task button { justify-content: flex-start; text-align: left; overflow-wrap: anywhere; }
.input-hint, .account-details > span { color: var(--muted); font-size: 12px; }
.upload { justify-self: start; }
.excel-export { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 13px; }
.account-details { display: grid; gap: 5px; overflow-wrap: anywhere; }
#toast { position: fixed; z-index: 10; right: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 11px 15px; color: #fff; border-radius: 7px; background: #225744; box-shadow: 0 4px 16px #17352c33; font-size: 13px; }
#toast.error { background: #9a4239; }
@media (max-width: 1180px) {
  .shell { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (max-width: 1010px) {
  .review-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .permissions-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .permissions-list { max-height: 180px; }
  .permissions-audit li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 10px; }
  .shell { display: block; padding-bottom: 66px; }
  .sidebar { display: contents; }
  .sidebar > .brand, .sidebar-footer { display: none; }
  .navigation {
    position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0; padding: 5px 8px max(5px, env(safe-area-inset-bottom)); background: #edf3ec; border-top: 1px solid var(--line);
  }
  .nav-button { justify-content: center; flex-direction: column; gap: 3px; padding: 5px 3px; min-height: 49px; font-size: 11px; }
  .navigation:is(.has-team, .has-overview) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .navigation.has-team.has-overview { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .management-table :is(th, td) { padding: 9px 3px; }
  .management-table :is(th, td):first-child { padding-left: 9px; }
  .management-table thead th { font-size: 11px; }
  .nav-button .icon { width: 17px; height: 17px; }
  .topbar-actions [data-mobile] { display: inline-grid; }
  .topbar { min-height: 49px; padding-inline: 14px; }
  .topbar-actions { gap: 4px; }
  .main { padding: 23px 14px 23px; }
  .page-heading { align-items: end; margin-bottom: 17px; }
  .page-heading h1 { font-size: 26px; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 20px; }
  .metric { min-height: 65px; padding: 8px 10px; gap: 8px; }
  .metric-text strong { font-size: 23px; }
  .metric-icon { width: 30px; height: 30px; }
  .metric-icon .icon { width: 17px; height: 17px; }
  #toast { bottom: 72px; right: 13px; }
}
@media (max-width: 510px) {
  .task-row { grid-template-columns: minmax(0, 1fr) max-content; min-height: 65px; column-gap: 7px; row-gap: 5px; padding: 9px 8px; }
  .task-info { grid-column: 1 / 3; grid-row: 1; }
  .task-title { font-size: 13px; }
  .task-badges { grid-column: 1; grid-row: 2; }
  .task-timing { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
