:root {
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Malgun Gothic',
    sans-serif;
  color: #333d4b;
  background: #fff;
  font-synthesis: none;
  font-size: 14px;
  --blue: #3182f6;
  --muted: #8b95a1;
  --border: #edf0f3;
  --sidebar: 218px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
tr:focus-visible {
  outline: 3px solid #a9ceff;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
button svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  border: 0;
  background: none;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 1000;
  background: var(--blue);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  height: 64px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 30;
}
.brand-area {
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.8px;
}
.brand-divider {
  height: 16px;
  width: 1px;
  background: #e5e8eb;
}
.workspace-name {
  font-size: 13px;
  color: #6b7684;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #6b7684;
  font-weight: 550;
}
.avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7b8eed;
  background: #eef1ff;
  font-size: 11px;
}
.menu-toggle {
  display: none;
}
.app-layout {
  padding-top: 64px;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  background: #f8f9fb;
  border-right: 1px solid var(--border);
  padding: 28px 14px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar nav {
  flex: 1;
}
.nav-section {
  padding: 0 16px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 650;
  color: #a0a8b2;
}
.category-heading {
  margin-top: 32px;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: 8px;
  margin: 4px 0;
  text-align: left;
  font-size: 13px;
  font-weight: 550;
  color: #6b7684;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item svg {
  width: 18px;
  height: 18px;
  color: #8b95a1;
}
.nav-item.active {
  background: #eaf2ff;
  color: #2374e8;
  font-weight: 650;
}
.nav-item.active svg {
  color: #3182f6;
}
.nav-item:not(.active):hover {
  background: #f0f2f5;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0;
  color: #a4adb7;
  font-variant-numeric: tabular-nums;
}
.active .nav-count {
  color: #6096e5;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #a0a8b2;
  padding: 16px 16px 0;
  border-top: 1px solid #edf0f4;
  margin-top: 24px;
}
.connection-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5cb685;
}
.sidebar-backdrop {
  display: none;
}
main {
  margin-left: var(--sidebar);
  height: calc(100vh - 64px);
  overflow: auto;
  scrollbar-gutter: stable;
}
main:focus {
  outline: none;
}
.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 39px 44px 50px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 29px;
}
.page-heading h1 {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -1px;
  color: #191f28;
}
.page-date {
  font-size: 12px;
  color: #a0a8b2;
  font-variant-numeric: tabular-nums;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 33px;
}
.stat-card {
  text-align: left;
  position: relative;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  padding: 19px 21px 17px;
  background: #fff;
  transition:
    background 0.15s,
    border-color 0.15s;
  min-height: 104px;
}
.stat-card:hover {
  background: #fafbfc;
  border-color: #cfd8e3;
}
.stat-card.selected {
  background: #f8fbff;
  border-color: #b8d4fa;
}
.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6b7684;
  font-size: 12px;
  font-weight: 550;
}
.stat-icon {
  color: #a5aeb8;
  display: grid;
  place-items: center;
}
.selected .stat-icon {
  color: var(--blue);
}
.stat-number {
  display: block;
  font-size: 29px;
  font-weight: 730;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-top: 13px;
  color: #333d4b;
  font-variant-numeric: tabular-nums;
}
.stat-number > span {
  font-size: 12px;
  color: #8b95a1;
  letter-spacing: 0;
  font-weight: 500;
  margin-left: 7px;
}
.selected .stat-number {
  color: #3182f6;
}
.task-section {
  min-width: 0;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  width: 340px;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}
.search-box:focus-within {
  border-color: #79b0fa;
  box-shadow: 0 0 0 3px #edf5ff;
}
.search-box svg {
  color: #a7afb9;
}
.search-box input {
  border: 0;
  outline: none;
  min-width: 0;
  width: 100%;
  color: #333d4b;
  font-size: 12px;
  background: transparent;
}
.search-box input:focus-visible {
  outline: none;
}
.search-box input::placeholder {
  color: #a0a8b2;
}
.search-box kbd {
  width: 19px;
  height: 21px;
  border: 1px solid #eceff2;
  border-radius: 4px;
  color: #b0b8c1;
  text-align: center;
  line-height: 18px;
  font-size: 11px;
  flex-shrink: 0;
}
.filter-group {
  display: flex;
  gap: 8px;
}
.select-wrap {
  position: relative;
  display: block;
}
.select-wrap:after {
  content: '';
  position: absolute;
  right: 12px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #8b95a1;
  border-bottom: 1.5px solid #8b95a1;
  transform: rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none;
  border: 1px solid #e5e8eb;
  background: #fff;
  color: #6b7684;
  border-radius: 8px;
  height: 40px;
  padding: 0 34px 0 13px;
  min-width: 110px;
  cursor: pointer;
  font-size: 12px;
}
.sort-select select {
  min-width: 118px;
}
.table-summary {
  height: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #6b7684;
  font-size: 12px;
}
.table-summary strong {
  font-weight: 650;
  color: #333d4b;
}
.summary-filter {
  color: #8b95a1;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #e5e8eb;
}
.reset-button {
  color: #6b7684;
  font-size: 11px;
  padding: 0 0 4px;
}
.reset-button:hover {
  color: var(--blue);
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e8edf2;
  border-radius: 10px;
}
.task-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}
.task-table .col-number {
  width: 64px;
}
.task-table .col-title {
  width: auto;
}
.task-table .col-status {
  width: 113px;
}
.task-table .col-category {
  width: 76px;
}
.task-table .col-due {
  width: 94px;
}
.task-table .col-updated {
  width: 91px;
}
.task-table .col-arrow {
  width: 35px;
}
.task-table th {
  background: #fafbfc;
  font-size: 11px;
  font-weight: 550;
  color: #8b95a1;
  height: 43px;
  border-bottom: 1px solid #edf0f3;
  white-space: nowrap;
}
.task-table th:first-child {
  padding-left: 21px;
}
.task-row {
  cursor: pointer;
  height: 73px;
  transition: background 0.12s;
}
.task-row:not(:last-child) td {
  border-bottom: 1px solid #f0f2f5;
}
.task-row:hover {
  background: #f8fbff;
}
.task-row:focus-visible {
  outline-offset: -3px;
}
.task-row td {
  padding: 15px 8px 15px 0;
  vertical-align: middle;
}
.task-row td:first-child {
  padding-left: 21px;
}
.task-number {
  color: #9ba5b2;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.task-title {
  font-size: 13px;
  color: #333d4b;
  font-weight: 620;
  letter-spacing: -0.25px;
  line-height: 1.4;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.task-row:hover .task-title {
  color: #2374e8;
}
.task-preview {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #9ba5b2;
  line-height: 1.5;
  margin-top: 4px;
  padding-right: 15px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  min-height: 25px;
  padding: 4px 8px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.3;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.planned {
  color: #7b8794;
  background: #f1f3f5;
}
.status-badge.in_progress {
  color: #3182f6;
  background: #edf5ff;
}
.status-badge.completed {
  color: #269768;
  background: #eaf8f0;
}
.category-label {
  font-size: 12px;
  color: #8b95a1;
}
.due-cell {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #6b7684;
}
.overdue {
  color: #e57663 !important;
}
.overdue-label {
  display: block;
  font-size: 10px;
  color: #d89386;
  margin-top: 4px;
  font-weight: 400;
}
.update-cell {
  font-size: 12px;
  color: #a0a8b2;
  font-variant-numeric: tabular-nums;
}
.row-arrow {
  color: #c4cbd3;
}
.task-row:hover .row-arrow {
  color: #8eb7ed;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 92px 20px 104px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #b0b8c1;
  gap: 16px;
}
.empty-state strong {
  font-size: 14px;
  font-weight: 550;
  color: #8b95a1;
}
.text-button {
  color: var(--blue);
  font-size: 12px;
  padding: 6px 10px;
}
.loading-page {
  min-height: 440px;
  display: grid;
  place-items: center;
}
.spinner {
  width: 26px;
  height: 26px;
  border: 2.5px solid #e9f1fe;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.detail-page {
  max-width: 1330px;
  padding-top: 29px;
}
.detail-topline {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 27px;
}
.back-link {
  color: #8b95a1;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.back-link:hover {
  color: var(--blue);
}
.detail-id {
  font-size: 11px;
  font-weight: 600;
  color: #a0a8b2;
  border-left: 1px solid #e5e8eb;
  padding-left: 15px;
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}
.detail-heading h1 {
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: -0.8px;
  color: #191f28;
  font-weight: 730;
  margin-top: 7px;
}
.detail-heading > .status-badge {
  font-size: 12px;
  padding: 7px 10px;
}
.detail-category {
  font-size: 11px;
  color: #8b95a1;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 36px;
}
.detail-primary {
  min-width: 0;
}
.current-card {
  padding: 23px 25px;
  border: 1px solid #e7edf4;
  border-radius: 12px;
  background: #fafcfe;
}
.current-card h2,
.section-heading h2,
.info-card h2,
.sources-card h2 {
  font-size: 14px;
  color: #333d4b;
  font-weight: 650;
  letter-spacing: -0.25px;
}
.current-card > p {
  font-size: 14px;
  line-height: 1.85;
  margin-top: 12px;
  color: #4e5968;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 14px;
  margin-top: 18px;
  background: #fff7e9;
  border-radius: 8px;
  color: #a98142;
  font-size: 12px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.notice svg {
  margin-top: 2px;
  color: #c59c5d;
}
.next-step {
  border-top: 1px solid #e9eef4;
  margin-top: 20px;
  padding-top: 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.next-step > span {
  font-size: 11px;
  color: #8b95a1;
  font-weight: 550;
}
.next-step p {
  font-size: 12px;
  line-height: 1.85;
  color: #6b7684;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.section-heading > span {
  font-size: 12px;
  color: #6b7684;
}
.checklist-section {
  padding-top: 31px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  color: #4e5968;
  font-size: 12px;
  line-height: 1.75;
}
.check-symbol {
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1.4px solid #d8dfe6;
  border-radius: 4px;
  flex-shrink: 0;
}
.check-symbol.is-checked {
  color: #fff;
  border-color: #8eb9f3;
  background: #8eb9f3;
}
.checklist li.done {
  color: #a0a8b2;
}
.history-section {
  margin-top: 29px;
  border-top: 1px solid #edf0f4;
  padding-top: 28px;
}
.history-count {
  background: #f1f3f5;
  border-radius: 6px;
  padding: 3px 6px;
  font-variant-numeric: tabular-nums;
}
.timeline {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
}
.timeline-item {
  position: relative;
  padding: 0 0 31px 29px;
}
.timeline-item:not(:last-child):before {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: -1px;
  width: 1px;
  background: #e9edf2;
}
.timeline-marker {
  position: absolute;
  left: 1px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #b7d2f8;
  background: #fff;
}
.timeline-item.request .timeline-marker {
  background: #3182f6;
  border-color: #3182f6;
}
.timeline-item.completed .timeline-marker {
  width: 15px;
  height: 15px;
  left: -2px;
  top: 1px;
  border: 0;
  background: #e8f7ef;
  color: #40a776;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: #a0a8b2;
  line-height: 1.5;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
}
.actor {
  color: #8b95a1;
}
.actor:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 2px;
  height: 2px;
  background: #c8cfd7;
  margin-right: 9px;
  border-radius: 50%;
}
.timeline-entry h3 {
  font-size: 13px;
  font-weight: 620;
  line-height: 1.6;
  letter-spacing: -0.15px;
  color: #4e5968;
}
.timeline-entry p {
  font-size: 12px;
  line-height: 1.9;
  color: #8b95a1;
  margin-top: 7px;
  word-break: keep-all;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7b9ac0;
  font-size: 11px;
  line-height: 1.6;
}
.source-link:hover {
  color: var(--blue);
}
.timeline-entry > .source-link {
  margin-top: 9px;
}
.source-text {
  font-size: 12px;
  color: #8b95a1;
}
.status-transition {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}
.status-transition > svg {
  color: #b0b8c1;
}
.detail-aside {
  min-width: 0;
}
.info-card,
.sources-card {
  border: 1px solid #e8edf2;
  border-radius: 12px;
  padding: 22px;
}
.info-card h2 {
  margin-bottom: 23px;
}
.info-card dl {
  margin: 0;
}
.info-card dl > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}
.info-card dt {
  font-size: 11px;
  color: #a0a8b2;
}
.info-card dd {
  margin: 0;
  font-size: 12px;
  color: #6b7684;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.info-card dd small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #a0a8b2;
  margin-top: 5px;
  word-break: keep-all;
}
.info-card .status-badge {
  font-size: 10px;
  padding: 4px 6px;
}
.info-card dl .amount-row {
  border-top: 1px solid #edf0f4;
  padding-top: 20px;
  margin-top: 22px;
  margin-bottom: 0;
}
.amount-row dd {
  font-size: 19px;
  font-weight: 700;
  color: #333d4b;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.amount-row dd > span {
  font-size: 12px;
  font-weight: 450;
  margin-left: 4px;
}
.sources-card {
  margin-top: 17px;
}
.sources-card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.sources-card li {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 7px 0;
  color: #adb8c5;
}
.sources-card .source-link {
  font-size: 12px;
  color: #6b7684;
}
.sources-card .source-link:hover {
  color: var(--blue);
}
.task-pager {
  border-top: 1px solid #edf0f4;
  margin-top: 23px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.task-pager a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #8b95a1;
}
.task-pager a:hover {
  color: var(--blue);
}
.task-pager a span {
  color: #b0b8c1;
  margin-left: 5px;
}
.error-state {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  color: #a0a8b2;
}
.error-state h1 {
  font-size: 20px;
  color: #4e5968;
}
.error-state p {
  font-size: 13px;
  line-height: 1.7;
}
.retry-button {
  background: #edf5ff;
  color: var(--blue);
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 12px;
}
@media (min-width: 1600px) {
  .page {
    padding-left: 60px;
    padding-right: 60px;
  }
  .stats-grid {
    gap: 20px;
  }
  .task-row {
    height: 76px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 190px;
  }
  .page {
    padding: 31px 28px 40px;
  }
  .task-table .col-title {
    min-width: 230px;
  }
  .task-table .col-category {
    width: 0;
  }
  .hide-medium {
    display: none;
  }
  .task-table .col-number {
    width: 52px;
  }
  .task-table .col-status {
    width: 105px;
  }
  .task-table .col-due {
    width: 80px;
  }
  .task-table .col-updated {
    width: 70px;
  }
  .task-table .col-arrow {
    width: 25px;
  }
  .task-table th:first-child,
  .task-row td:first-child {
    padding-left: 17px;
  }
  .stat-card {
    padding: 16px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 237px;
    gap: 24px;
  }
  .info-card,
  .sources-card {
    padding: 19px;
  }
  .detail-heading h1 {
    font-size: 24px;
  }
}
@media (max-width: 940px) {
  :root {
    --sidebar: 172px;
  }
  .sidebar {
    padding-left: 8px;
    padding-right: 8px;
  }
  .nav-item {
    gap: 9px;
    padding: 12px;
  }
  .page {
    padding: 29px 24px 40px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 15px 14px;
    min-height: 98px;
  }
  .stat-number {
    font-size: 26px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-icon {
    display: none;
  }
  .task-preview {
    font-size: 10px;
  }
  .task-title {
    font-size: 12px;
  }
  .table-toolbar {
    gap: 10px;
  }
  .search-box {
    width: 300px;
  }
  .filter-group {
    gap: 6px;
  }
  .select-wrap select {
    min-width: 95px;
    padding-left: 10px;
    font-size: 11px;
  }
  .sort-select select {
    min-width: 105px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    align-items: start;
  }
  .sources-card {
    margin-top: 0;
  }
  .detail-aside {
    grid-row: 1;
  }
  .info-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .info-card dl > div {
    display: block;
    margin: 9px 0;
  }
  .info-card dt {
    margin-bottom: 6px;
  }
  .info-card dl .amount-row {
    grid-column: 1/-1;
    padding-top: 12px;
    margin-top: 10px;
  }
  .info-card h2 {
    margin-bottom: 12px;
  }
  .detail-heading {
    margin-bottom: 24px;
  }
}
@media (max-width: 720px) {
  .topbar {
    height: 58px;
    padding: 0 18px;
  }
  .brand-area {
    gap: 13px;
  }
  .brand-divider,
  .workspace-name {
    display: none;
  }
  .brand {
    font-size: 17px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    padding: 3px;
    margin-left: -4px;
    color: #8b95a1;
  }
  .profile {
    font-size: 11px;
    gap: 7px;
  }
  .avatar {
    width: 25px;
    height: 25px;
  }
  .app-layout {
    padding-top: 58px;
  }
  .sidebar {
    top: 58px;
    width: 218px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    background: #f8f9fb;
    padding: 25px 14px 18px;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 58px 0 0;
    background: #191f2855;
    z-index: 19;
  }
  .menu-open .sidebar-backdrop {
    display: block;
  }
  main {
    margin-left: 0;
    height: calc(100dvh - 58px);
  }
  .page {
    padding: 26px 19px 35px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-date {
    font-size: 10px;
  }
  .stats-grid {
    gap: 8px;
    margin-bottom: 26px;
  }
  .stat-card {
    padding: 14px 11px;
    min-height: 89px;
    border-radius: 9px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-number {
    font-size: 24px;
    margin-top: 12px;
  }
  .stat-number > span {
    font-size: 10px;
    margin-left: 4px;
  }
  .table-toolbar {
    flex-wrap: wrap;
    margin-bottom: 19px;
    gap: 10px;
  }
  .search-box {
    width: 100%;
    height: 41px;
  }
  .filter-group {
    margin-left: auto;
  }
  .select-wrap select {
    height: 35px;
  }
  .select-wrap:after {
    top: 13px;
  }
  .task-table .col-number {
    width: 43px;
  }
  .task-table .col-title {
    width: auto;
  }
  .task-table .col-status {
    width: 85px;
  }
  .task-table .col-due {
    width: 58px;
  }
  .task-table .col-updated {
    width: 0;
  }
  .hide-small {
    display: none;
  }
  .task-table .col-arrow {
    width: 0;
  }
  .row-arrow {
    display: none;
  }
  .task-table th:first-child,
  .task-row td:first-child {
    padding-left: 12px;
  }
  .task-row td {
    padding-right: 7px;
  }
  .task-title {
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .task-preview {
    display: none;
  }
  .task-row {
    height: 74px;
  }
  .status-badge {
    font-size: 10px;
    padding: 4px 6px;
    gap: 4px;
  }
  .due-cell {
    font-size: 11px;
  }
  .overdue-label {
    font-size: 9px;
  }
  .table-summary {
    height: 32px;
  }
  .detail-topline {
    margin-bottom: 23px;
  }
  .detail-heading {
    display: block;
  }
  .detail-heading h1 {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.8px;
    margin-top: 8px;
  }
  .detail-heading > .status-badge {
    margin-top: 15px;
    font-size: 11px;
  }
  .detail-layout {
    gap: 24px;
  }
  .detail-aside {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .info-card,
  .sources-card {
    padding: 19px 20px;
  }
  .info-card dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px 12px;
  }
  .info-card dl .amount-row {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
  }
  .info-card .amount-row dt {
    margin-bottom: 0;
  }
  .sources-card {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .sources-card h2 {
    font-size: 12px;
  }
  .sources-card ul {
    margin-top: 8px;
  }
  .sources-card li {
    padding: 4px 0;
  }
  .current-card {
    padding: 20px;
  }
  .current-card > p {
    font-size: 13px;
  }
  .checklist-section {
    padding-top: 25px;
  }
  .timeline-item {
    padding-left: 25px;
  }
  .timeline-entry p {
    font-size: 11px;
  }
  .notice {
    font-size: 11px;
    padding: 12px;
    gap: 8px;
  }
  .task-pager {
    margin-top: 10px;
  }
  .page.detail-page {
    padding-top: 24px;
  }
  .history-section {
    margin-top: 24px;
  }
  .task-number {
    font-size: 11px;
  }
}
html,
body {
  height: 100%;
  overflow: hidden;
}
@media (max-width: 720px) {
  .task-table .col-title {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
body.access-page {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
  background: #f4f6f8;
  overflow: auto;
}
.access-card {
  width: min(100%, 380px);
  padding: 36px;
  border: 1px solid #e8ebef;
  border-radius: 20px;
  background: #fff;
}
.access-card h1 {
  margin: 20px 0 12px;
  font-size: 24px;
}
.access-card p {
  color: #6b7684;
  font-size: 14px;
  line-height: 1.6;
}
.access-card form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.access-card label {
  font-size: 13px;
  color: #6b7684;
}
.access-card input {
  width: 100%;
  height: 44px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}
.access-card button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #3182f6;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
