@font-face {
  font-family: Geist;
  src: url("assets/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #2854e8;
  --blue-soft: #eef3ff;
  --ink: #172033;
  --muted: #697386;
  --line: #e5e8ef;
  --canvas: #f6f7fb;
  --green: #168355;
  --red: #c93e48;
  --sidebar-width: 224px;
  font-family: Geist, Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  background: var(--canvas);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 360px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button {
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button .icon {
  pointer-events: none;
}
input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
strong {
  font-weight: 600;
}
.icon {
  display: inline-block;
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
}
.text-red {
  color: var(--red);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 240px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  width: var(--sidebar-width);
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  height: 84px;
  padding: 0 24px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
}
.brand img {
  width: 31px;
  height: 36px;
}
.workspace-switch {
  margin: 15px 20px 20px;
}
.sidebar-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}
.workspace-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #dce1eb;
  border-radius: 6px;
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  font-size: 13px;
  text-align: left;
}
.workspace-button .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.navigation {
  display: grid;
  gap: 7px;
  padding: 0 10px;
}
.navigation a {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 15px;
  border-radius: 7px;
  color: #566176;
  font-weight: 450;
  transition:
    background 0.15s,
    color 0.15s;
}
.navigation a:hover {
  background: var(--canvas);
  color: var(--ink);
}
.navigation a.active {
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 550;
}
.navigation a.active [data-icon="grid"] svg {
  fill: var(--blue);
  stroke: var(--blue);
  stroke-width: 1;
}
.navigation a .icon {
  width: 22px;
  height: 22px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 10px 16px;
}
.demo-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: #737e90;
  margin-bottom: 15px;
  letter-spacing: 0.15px;
}
.demo-label > span {
  width: 5px;
  height: 5px;
  background: #9ca9bc;
  border-radius: 50%;
}
.profile-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 13px 10px;
  text-align: left;
}
.profile-button:hover {
  background: var(--canvas);
}
.profile-copy {
  flex: 1;
  display: grid;
  gap: 4px;
  font-size: 13px;
}
.profile-copy small {
  font-size: 11px;
  color: var(--muted);
}
.profile-button .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.3px;
}
.avatar.blue {
  background: #e9efff;
  color: #2854e8;
}
.avatar.green {
  background: #e4f3eb;
  color: #14824e;
}
.avatar.slate {
  background: #edf0f5;
  color: #526077;
}
.avatar.avatar-large {
  width: 56px;
  height: 56px;
  font-size: 18px;
}
.app-shell {
  margin-left: var(--sidebar-width);
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 15;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
}
.breadcrumb > span:first-child {
  color: var(--muted);
}
.slash {
  color: #a4adba;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.global-search-wrap {
  position: relative;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 316px;
  height: 40px;
  padding: 0 12px;
  color: var(--muted);
}
.global-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #2854e810;
}
.global-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 12px;
}
.global-search input:focus-visible {
  outline: none;
}
.global-search .icon {
  width: 17px;
  height: 17px;
}
.global-search kbd {
  font-family: inherit;
  font-size: 10px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 4px;
  color: #8490a1;
}
.icon-button {
  height: 36px;
  width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--canvas);
}
.notification-button {
  position: relative;
}
.notification-button .icon {
  width: 23px;
  height: 23px;
}
.notification-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  right: 7px;
  top: 5px;
  box-shadow: 0 0 0 2px #fff;
}
#main {
  padding: 32px;
  max-width: 1620px;
  margin: 0 auto;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.page-heading h1 {
  font-size: 32px;
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -1.1px;
}
.page-heading p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 7px;
}
.page-date {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  padding-top: 16px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px 0;
  margin-bottom: 24px;
}
.metric {
  padding: 1px 22px;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  justify-content: center;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric-value {
  font-size: 36px;
  font-weight: 550;
  letter-spacing: -1.5px;
  color: var(--blue);
  grid-row: 1/3;
}
.metric-label {
  font-size: 13px;
  font-weight: 500;
  align-self: end;
  line-height: 1.4;
}
.metric-note {
  color: var(--muted);
  font-size: 11px;
  align-self: start;
  line-height: 1.5;
}
.metric-note.text-red {
  color: var(--red);
}
button.metric:hover .metric-label {
  color: var(--blue);
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(285px, 1fr);
  gap: 24px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.timeline-panel {
  padding: 22px 19px 24px;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.panel-header h2,
.side-panel h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.4;
}
.panel-header p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 4px;
}
.segmented {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  display: inline-flex;
  background: #fff;
  flex-shrink: 0;
}
.segment {
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 450;
}
.segment:hover {
  background: var(--canvas);
  color: var(--ink);
}
.segment.active {
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 1px #c8d5ff;
  font-weight: 550;
}
.timeline-group {
  position: relative;
  padding: 0 0 14px 19px;
  margin-left: 4px;
  border-left: 1px solid #d9e0eb;
}
.timeline-group:last-child {
  padding-bottom: 0;
}
.group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 25px;
  margin: -3px 0 10px -2px;
  position: relative;
}
.group-heading:before {
  content: "";
  position: absolute;
  left: -23px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px #fff;
}
.group-heading h3 {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
}
.group-heading span {
  font-size: 11px;
  color: var(--muted);
}
.timeline-group.overdue .group-heading:before {
  background: var(--red);
}
.timeline-group.upcoming .group-heading:before {
  background: #929eb0;
}
.task-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 11px 11px 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  min-height: 76px;
  margin-bottom: 8px;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.task-row:last-child {
  margin-bottom: 0;
}
.task-row:hover {
  border-color: #c6d1e5;
  box-shadow: 0 2px 8px #14284d05;
}
.task-row:before {
  content: "";
  position: absolute;
  left: -24px;
  top: calc(50% - 4px);
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px white;
}
.overdue .task-row:before {
  border-color: var(--red);
}
.upcoming .task-row:before {
  border-color: #a3adbd;
}
.task-icon {
  width: 36px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #617087;
}
.task-icon .icon {
  width: 21px;
  height: 21px;
}
.task-copy {
  min-width: 0;
}
.task-title {
  display: block;
  text-align: left;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 550;
  letter-spacing: -0.12px;
}
.task-title:hover {
  color: var(--blue);
}
.task-context {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  display: block;
  margin-top: 3px;
}
.task-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.task-actions .btn {
  font-size: 10px;
  min-height: 32px;
  padding: 7px 10px;
  white-space: nowrap;
}
.task-due {
  display: block;
  color: var(--red);
  font-size: 10px;
  margin-top: 3px;
}
.priority-tag {
  display: inline-flex;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 2px 5px;
  font-size: 9px;
  line-height: 1.5;
  margin-top: 4px;
  font-weight: 500;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 15px;
  min-height: 40px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 2px 3px #2854e812;
}
.btn-primary:hover {
  background: #2048d1;
  border-color: #2048d1;
  box-shadow: 0 3px 9px #2854e825;
}
.btn-secondary {
  background: #fff;
  border-color: #d3dbe7;
  color: #344159;
}
.btn-secondary:hover {
  background: var(--canvas);
  border-color: #a7b5cb;
}
.btn-quiet {
  color: var(--muted);
  padding-left: 8px;
  padding-right: 8px;
}
.btn-quiet:hover {
  background: var(--canvas);
  color: var(--ink);
}
.right-rail {
  display: grid;
  gap: 20px;
}
.side-panel {
  padding: 21px 18px;
}
.quick-actions {
  display: grid;
  gap: 10px;
  margin-top: 19px;
}
.quick-action {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: left;
  width: 100%;
  transition:
    border-color 0.16s,
    background 0.16s;
}
.quick-action:hover {
  background: #fbfcff;
  border-color: #bccdff;
}
.quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  width: 40px;
  border: 1px solid #b3c5ff;
  border-radius: 7px;
  color: var(--blue);
  flex-shrink: 0;
  background: #fbfcff;
}
.quick-icon .icon {
  width: 23px;
  height: 23px;
}
.quick-copy {
  flex: 1;
  display: grid;
  gap: 5px;
}
.quick-copy strong {
  font-size: 13px;
  font-weight: 550;
}
.quick-copy small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.quick-action > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.available-heading {
  max-width: 270px;
}
.available-list {
  margin: 14px 0 8px;
}
.available-row {
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 13px 0;
}
.available-row + .available-row {
  border-top: 1px solid var(--line);
}
.available-row:hover .person-name {
  color: var(--blue);
}
.person-info {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 5px;
}
.person-name {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
}
.person-role {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.availability {
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.availability:before,
.status-dot {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.text-link {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  color: var(--blue);
  font-size: 12px;
  font-weight: 450;
  padding: 9px 0 0;
  width: 100%;
  text-align: left;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.week-panel {
  background: #f0f4ff;
  border: 1px solid #d5dfff;
  padding: 17px 20px 20px;
}
.week-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}
.week-heading .quick-icon {
  width: 35px;
  height: 37px;
  background: #f7f9ff;
}
.week-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin: 15px 0 0 35px;
}
.week-metrics > div + div {
  border-left: 1px solid #d4dded;
}
.week-metrics strong {
  font-size: 25px;
  font-weight: 550;
  display: block;
  letter-spacing: -0.8px;
}
.week-metrics span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.list-summary {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 4px 0 24px;
  flex-wrap: wrap;
}
.list-summary strong {
  color: var(--ink);
  font-weight: 500;
}
.list-panel {
  overflow: hidden;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.table-search {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #dce2ec;
  border-radius: 6px;
  width: 330px;
  padding: 10px 12px;
  color: var(--muted);
}
.table-search:focus-within {
  border-color: var(--blue);
}
.table-search input {
  border: 0;
  outline: 0;
  background: none;
  min-width: 0;
  width: 100%;
  font-size: 12px;
}
.table-search input:focus-visible {
  outline: 0;
}
.table-search .icon {
  width: 17px;
  height: 17px;
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.data-table th {
  font-size: 11px;
  letter-spacing: 0.05px;
  font-weight: 500;
  color: var(--muted);
  padding: 15px 22px;
  background: #fcfdff;
  white-space: nowrap;
}
.data-table td {
  border-top: 1px solid var(--line);
  padding: 20px 22px;
  font-size: 12px;
  line-height: 1.5;
}
.data-table tbody tr:hover {
  background: #fcfdff;
}
.data-table td:last-child {
  padding-left: 0;
  padding-right: 19px;
  width: 48px;
}
.entity-button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 0;
}
.entity-button:hover strong {
  color: var(--blue);
}
.entity-name {
  display: grid;
  gap: 4px;
}
.entity-name strong {
  font-weight: 550;
  font-size: 12px;
  white-space: nowrap;
}
.entity-name small {
  font-size: 10px;
  color: var(--muted);
}
.company-avatar {
  border-radius: 8px;
}
.cell-sub {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-weight: 450;
}
.status-green {
  color: #127345;
  background: #e8f5ee;
}
.status-blue {
  color: var(--blue);
  background: var(--blue-soft);
}
.status-slate {
  color: #5c687a;
  background: #f0f2f6;
}
.table-footer {
  border-top: 1px solid var(--line);
  padding: 17px 22px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-footer span:last-child {
  color: #8993a3;
}
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  line-height: 1.6;
}
.empty-state .icon {
  display: block;
  margin: 0 auto 12px;
  color: #91a2c3;
}
.empty-state strong {
  color: var(--ink);
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.search-results {
  position: absolute;
  top: 49px;
  right: 0;
  width: 420px;
  max-height: 480px;
  overflow: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 16px 50px #1720331a;
  z-index: 50;
}
.search-group-label {
  font-size: 10px;
  font-weight: 550;
  color: var(--muted);
  padding: 10px 9px 6px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  text-align: left;
  width: 100%;
}
.search-result:hover {
  background: var(--blue-soft);
}
.search-result > .icon {
  color: var(--muted);
}
.search-result strong {
  font-size: 12px;
  display: block;
  line-height: 1.5;
}
.search-result small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.search-empty {
  padding: 22px 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.toast {
  position: fixed;
  left: calc(50% + var(--sidebar-width)/2);
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  background: #172033;
  color: white;
  border-radius: 9px;
  box-shadow: 0 8px 30px #17203324;
  font-size: 12px;
  animation: toast-in 0.2s ease-out;
}
.toast .icon {
  color: #9ae0b7;
}
#main > .page-content {
  animation: page-in 0.24s ease-out;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    bottom: 18px;
  }
  to {
    opacity: 1;
    bottom: 24px;
  }
}
@media (min-width: 1550px) {
  :root {
    --sidebar-width: 242px;
  }
  .task-title {
    font-size: 13px;
  }
  .task-context {
    font-size: 11px;
  }
  .task-actions .btn {
    font-size: 11px;
  }
  .task-row {
    min-height: 82px;
  }
  .timeline-panel {
    padding: 24px;
  }
  .side-panel {
    padding: 24px;
  }
  .metric {
    padding-left: 35px;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar-width: 200px;
  }
  .brand {
    padding-left: 20px;
  }
  .topbar {
    padding: 0 24px;
  }
  #main {
    padding: 26px 24px;
  }
  .workspace-grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }
  .panel-header .segmented {
    align-self: flex-start;
  }
  .timeline-panel {
    padding: 19px 14px;
  }
  .task-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 11px;
  }
  .task-icon {
    width: 30px;
    height: 34px;
  }
  .task-actions {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 2px;
  }
  .task-context {
    font-size: 11px;
  }
  .task-title {
    font-size: 12px;
  }
  .task-actions .btn {
    font-size: 10px;
  }
  .metric {
    padding: 0 15px;
    gap: 3px 12px;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-note {
    font-size: 10px;
  }
  .metric-value {
    font-size: 32px;
  }
  .side-panel {
    padding: 19px 16px;
  }
  .side-panel h2 {
    font-size: 16px;
  }
  .availability {
    font-size: 9px;
  }
  .page-date {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .global-search {
    width: 260px;
  }
  .data-table td,
  .data-table th {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 1050px) {
  :root {
    --sidebar-width: 82px;
  }
  .brand {
    justify-content: center;
    padding: 0;
  }
  .brand span,
  .workspace-switch,
  .navigation a > span:last-child,
  .profile-copy,
  .profile-button > span:last-child,
  .demo-label {
    display: none;
  }
  .navigation {
    padding: 8px 12px;
  }
  .navigation a {
    justify-content: center;
    padding: 15px 0;
  }
  .sidebar-bottom {
    padding: 12px;
  }
  .profile-button {
    justify-content: center;
    padding: 8px 0;
    border: 0;
  }
  .sidebar .avatar {
    width: 36px;
    height: 36px;
  }
  .global-search {
    width: 255px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 278px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-date {
    max-width: 140px;
    white-space: normal;
    line-height: 1.5;
    padding-top: 0;
  }
  .task-context {
    font-size: 10px;
  }
  .entity-name strong {
    white-space: normal;
  }
  .data-table td {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .skip-link {
    left: 100px;
  }
}
@media (max-width: 800px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .right-rail {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .week-panel {
    display: none;
  }
  .panel-header {
    flex-direction: row;
    align-items: center;
  }
  .task-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }
  .task-actions {
    grid-column: auto;
    margin: 0;
  }
  .task-icon {
    width: 36px;
    height: 38px;
  }
  .global-search {
    width: 220px;
  }
  .topbar {
    padding: 0 20px;
    gap: 16px;
  }
  .breadcrumb {
    font-size: 12px;
    gap: 8px;
  }
  .topbar-actions {
    gap: 10px;
  }
  #main {
    padding: 24px 20px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .metrics {
    padding: 17px 0;
  }
  .metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 17px;
  }
  .metric-value {
    font-size: 29px;
    line-height: 1.2;
  }
  .metric-label {
    align-self: auto;
  }
  .metric-note {
    align-self: auto;
    font-size: 9px;
  }
  .availability {
    display: none;
  }
  .quick-action {
    padding: 12px 10px;
  }
  .quick-copy strong {
    font-size: 12px;
  }
  .quick-copy small {
    font-size: 10px;
  }
  .list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .table-search {
    width: 100%;
  }
  .list-summary {
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .data-table .optional-column {
    display: none;
  }
  .list-heading {
    align-items: flex-start;
  }
  .list-heading .btn {
    font-size: 11px;
    padding: 10px 12px;
    white-space: nowrap;
  }
  .list-heading .btn .icon {
    display: none;
  }
}
@media (max-width: 580px) {
  :root {
    --sidebar-width: 0px;
  }
  .sidebar {
    width: 100%;
    height: 64px;
    inset: auto 0 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    padding: 0 12px;
    background: #fff;
  }
  .sidebar .brand,
  .sidebar-bottom {
    display: none;
  }
  .navigation {
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 6px;
    padding: 6px 0;
  }
  .navigation a {
    flex: 1;
    flex-direction: column;
    gap: 3px;
    padding: 5px 10px;
    font-size: 9px;
  }
  .navigation a > span:last-child {
    display: block;
  }
  .navigation a .icon {
    width: 19px;
    height: 19px;
  }
  .app-shell {
    margin-left: 0;
    padding-bottom: 64px;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
    gap: 12px;
  }
  .breadcrumb > span:first-child,
  .breadcrumb .slash {
    display: none;
  }
  .breadcrumb {
    font-size: 13px;
  }
  .global-search {
    width: 172px;
    height: 34px;
    padding: 0 9px;
  }
  .global-search kbd {
    display: none;
  }
  .global-search input {
    font-size: 11px;
  }
  .topbar-actions {
    gap: 8px;
  }
  .notification-button {
    width: 28px;
  }
  .notification-button .icon {
    width: 21px;
    height: 21px;
  }
  .notification-dot {
    right: 2px;
  }
  #main {
    padding: 24px 16px;
  }
  .page-heading {
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 26px;
    letter-spacing: -0.9px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 235px;
  }
  .page-date {
    display: none;
  }
  .metrics {
    margin-bottom: 18px;
    padding: 15px 0;
  }
  .metric {
    padding: 0 11px;
    gap: 5px;
  }
  .metric-value {
    font-size: 28px;
  }
  .metric-label {
    font-size: 10px;
    line-height: 1.5;
  }
  .metric-note {
    font-size: 9px;
    line-height: 1.5;
  }
  .timeline-panel {
    padding: 18px 12px 18px 14px;
  }
  .panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
  }
  .panel-header h2 {
    font-size: 17px;
  }
  .panel-header p {
    font-size: 11px;
  }
  .segment {
    font-size: 11px;
    padding: 7px 12px;
  }
  .timeline-group {
    padding-left: 15px;
    margin-left: 3px;
  }
  .group-heading {
    gap: 9px;
  }
  .group-heading:before {
    left: -19px;
  }
  .group-heading h3 {
    font-size: 12px;
  }
  .group-heading span {
    font-size: 10px;
  }
  .task-row {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 11px 10px;
    gap: 8px 10px;
  }
  .task-row:before {
    left: -20px;
  }
  .task-icon {
    width: 30px;
    height: 34px;
  }
  .task-icon .icon {
    width: 18px;
    height: 18px;
  }
  .task-title {
    font-size: 12px;
  }
  .task-context {
    font-size: 10px;
    line-height: 1.6;
  }
  .task-actions {
    grid-column: 2;
    margin-top: 2px;
  }
  .task-actions .btn {
    font-size: 10px;
    min-height: 31px;
  }
  .right-rail {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .side-panel {
    padding: 20px;
  }
  .side-panel h2 {
    font-size: 17px;
  }
  .quick-copy strong {
    font-size: 13px;
  }
  .quick-copy small {
    font-size: 11px;
  }
  .quick-action {
    padding: 14px;
  }
  .available-heading {
    max-width: none;
  }
  .availability {
    display: flex;
    font-size: 10px;
  }
  .week-panel {
    display: block;
  }
  .list-heading {
    gap: 12px;
    flex-direction: column;
  }
  .list-heading h1 {
    font-size: 28px;
  }
  .list-heading .btn {
    font-size: 12px;
  }
  .list-heading .btn .icon {
    display: inline-block;
  }
  .list-summary {
    font-size: 12px;
    gap: 5px;
    margin-top: -5px;
  }
  .list-toolbar {
    padding: 16px;
  }
  .data-table th,
  .data-table td {
    padding-left: 15px;
    padding-right: 12px;
  }
  .data-table td {
    font-size: 11px;
  }
  .data-table .compact-hide {
    display: none;
  }
  .entity-name strong {
    font-size: 11px;
  }
  .entity-name small {
    font-size: 9px;
  }
  .entity-button {
    gap: 9px;
  }
  .data-table .avatar {
    width: 31px;
    height: 31px;
    font-size: 11px;
  }
  .data-table td:last-child {
    padding-right: 8px;
    width: 32px;
  }
  .data-table .icon-button {
    width: 25px;
    height: 30px;
  }
  .data-table .status {
    font-size: 9px;
    padding: 4px 6px;
  }
  .table-footer {
    padding: 15px;
    font-size: 10px;
  }
  .table-footer span:last-child {
    display: none;
  }
  .search-results {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 66px;
    width: auto;
    max-height: 70vh;
  }
  .toast {
    bottom: 80px;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 13px 17px;
    font-size: 11px;
    animation: none;
  }
  .skip-link {
    left: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 801px) and (max-width: 1250px) {
  .panel-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .panel-header h2 {
    font-size: 16px;
  }
  .panel-header p {
    font-size: 11px;
  }
  .panel-header .segmented {
    align-self: center;
  }
  .segment {
    padding: 6px 8px;
    font-size: 10px;
  }
  .task-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 82px;
  }
  .task-actions {
    grid-column: auto;
    margin: 0;
  }
  .task-actions .btn {
    font-size: 10px;
    padding: 7px 9px;
  }
}

/* Readable presentation scale on full desktop screens. */
@media (min-width: 1251px) {
  .page-heading h1 {
    font-size: 34px;
  }
  .page-heading p {
    font-size: 16px;
  }
  .metric-label {
    font-size: 14px;
  }
  .metric-note {
    font-size: 12px;
  }
  .panel-header h2,
  .side-panel h2 {
    font-size: 18px;
  }
  .task-title {
    font-size: 13px;
  }
  .task-context {
    font-size: 11px;
  }
  .task-actions .btn {
    font-size: 11px;
  }
  .task-due {
    font-size: 11px;
  }
  .quick-copy strong,
  .person-name {
    font-size: 14px;
  }
  .quick-copy small,
  .person-role {
    font-size: 12px;
  }
  .available-heading {
    max-width: none;
  }
  .availability,
  .text-link {
    font-size: 12px;
  }
  .segment {
    font-size: 12px;
  }
  .group-heading h3 {
    font-size: 14px;
  }
  .group-heading span {
    font-size: 12px;
  }
}
