:root {
  font-family: "Segoe UI", "Yu Gothic UI", Meiryo, sans-serif;
  color: #292c29;
  background: #f7f8f6;
  font-synthesis: none;
  --muted: #777e77;
  --line: #e7e9e4;
  --orange: #cb542c;
  --green: #43705b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d77c54;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 244px;
  flex-shrink: 0;
  background: #f0f2ee;
  border-right: 1px solid #e3e6df;
  padding: 31px 21px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
}
.brand img {
  width: 89px;
  height: auto;
}
.brand > span {
  font-size: 16px;
  letter-spacing: 3px;
  border-left: 1px solid #c9cec5;
  padding-left: 14px;
  font-weight: 500;
}
.brand-dot {
  font-size: 8px;
  color: var(--orange);
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 2px;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 27px 8px 30px;
  font-size: 11px;
  font-weight: 600;
}
.workspace small,
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.workspace-icon {
  width: 29px;
  height: 29px;
  background: white;
  border: 1px solid #dce1d7;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #899185;
  padding: 0 13px;
  margin-bottom: 12px;
  font-weight: 600;
}
.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 13px;
  margin: 3px 0;
  color: #626b62;
  text-align: left;
}
.nav-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}
.nav-item.active {
  background: #fff;
  color: #282d28;
  box-shadow: 0 2px 6px #27351b05;
  font-weight: 600;
}
.nav-item.active svg {
  color: var(--orange);
}
.nav-item:hover {
  background: #ffffff80;
}
.nav-count {
  margin-left: auto;
  background: #e9eee6;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
}
.project-label {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}
.project {
  font-size: 12px;
  padding: 11px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
}
.project i,
.project-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
  background: #bb7056;
}
.project:nth-child(2) i {
  background: #728870;
}
.project:nth-child(3) i {
  background: #a3977b;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 13px 0;
}
.sunrise {
  width: 75px;
  height: 38px;
  border-radius: 75px 75px 0 0;
  background: repeating-linear-gradient(
    0deg,
    #d9b9a3 0 1px,
    transparent 1px 4px
  );
  margin-bottom: 15px;
}
.sidebar-bottom strong {
  font-size: 12px;
  font-weight: 500;
}
.sidebar-bottom p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
}
.profile {
  border-top: 1px solid #dce1d7;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  padding-top: 19px;
  font-size: 12px;
}
.avatar {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e9e5da;
  color: #80745d;
  font-size: 11px;
  flex-shrink: 0;
}
.avatar.dark {
  background: #39463a;
  color: white;
}
main {
  margin-left: 244px;
  width: calc(100% - 244px);
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
  background: #ffffff80;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 14px;
  color: #bbc0b7;
}
.breadcrumb b {
  font-weight: 500;
  color: #414840;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.search-button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #81877d;
  font-size: 12px;
}
.search-button kbd {
  font-family: inherit;
  background: #f0f1ed;
  border: 1px solid #dde1d8;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 38px;
}
.content {
  max-width: 1480px;
  margin: auto;
  padding: 36px 43px 20px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
  gap: 16px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  color: #7e887a;
  font-weight: 600;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 600;
  margin: 10px 0 8px;
}
.intro p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.primary {
  background: #303e32;
  color: white;
  font-size: 12px;
  border-radius: 6px;
  padding: 12px 17px;
  white-space: nowrap;
  box-shadow: 0 2px 3px #223c2410;
}
.primary:hover {
  background: #435b46;
}
.secondary {
  border: 1px solid #dce2d6;
  background: white;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 12px;
}
.sample-banner {
  font-size: 10px;
  color: #81745b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f3f0e7;
  border: 1px solid #ebe6d8;
  border-radius: 5px;
  margin-bottom: 23px;
}
.sample-banner button {
  text-decoration: underline;
  font-size: 10px;
}
.overview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.15fr;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 29px;
}
.metric {
  padding: 23px 25px;
  position: relative;
}
.metric + .metric:before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: var(--line);
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
}
.metric-label svg {
  width: 15px;
  height: 15px;
}
.metric-number {
  font-size: 32px;
  font-weight: 500;
  margin-top: 10px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.metric-number small {
  font-size: 11px;
  color: #939a8d;
  letter-spacing: 0;
  margin-left: 8px;
}
.metric-foot {
  font-size: 10px;
  color: #969d91;
  margin-top: 10px;
}
.metric.earth {
  background: #edf1e9;
}
.metric.earth .metric-number {
  color: #49664b;
}
.progress-track {
  background: #d9e1d3;
  height: 4px;
  margin-top: 14px;
  border-radius: 9px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #687f5c;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 26px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 10px;
}
.section-heading h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading h2 small {
  font-size: 10px;
  color: #899180;
  font-weight: 400;
}
.text-button {
  font-size: 11px;
  color: #77816e;
  white-space: nowrap;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.panel-toolbar {
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tab {
  font-size: 11px;
  color: #7b8375;
  padding: 7px 11px;
  border-radius: 5px;
}
.tab.active {
  background: #edf1e8;
  color: #42533c;
}
.table-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 75px 74px;
  padding: 12px 20px;
  font-size: 10px;
  color: #939b8b;
  background: #fbfcfa;
  gap: 12px;
}
.task-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 20px;
  border-top: 1px solid #eef0eb;
  transition: background 0.15s;
}
.task-row:hover {
  background: #fafbf8;
}
.check {
  width: 18px;
  height: 18px;
  border: 1px solid #d4dbce;
  border-radius: 50%;
  flex-shrink: 0;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: white;
}
.check.checked {
  background: #6d8362;
  border-color: #6d8362;
}
.task-main {
  min-width: 0;
  flex: 1;
  text-align: left;
  padding: 0;
}
.task-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  display: block;
  overflow-wrap: anywhere;
}
.task-meta {
  font-size: 10px;
  color: #969d8f;
  margin-top: 5px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.task-row.done .task-title {
  text-decoration: line-through;
  color: #9a9f94;
}
.due {
  font-size: 10px;
  color: #89917e;
  width: 58px;
  text-align: right;
  flex-shrink: 0;
}
.due.urgent {
  color: #b66145;
}
.badge {
  display: inline-block;
  font-size: 9px;
  line-height: 1.3;
  border-radius: 4px;
  padding: 5px 7px;
  white-space: nowrap;
}
.badge.doing {
  color: #a37529;
  background: #fbf3df;
}
.badge.review {
  color: #77628f;
  background: #f1edf6;
}
.badge.todo {
  color: #7b8373;
  background: #f0f2ec;
}
.badge.done {
  color: #5b7b55;
  background: #edf4e8;
}
.task-add {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  color: #909985;
  font-size: 11px;
  border-top: 1px solid var(--line);
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin: 18px 0;
}
.day {
  padding: 8px 0;
  text-align: center;
  font-size: 10px;
  color: #8d9585;
  border-radius: 6px;
}
.day strong {
  display: block;
  font-size: 14px;
  color: #53604b;
  margin-top: 8px;
  font-weight: 500;
}
.day.today {
  background: #364637;
  color: #b8c3b1;
}
.day.today strong {
  color: white;
}
.agenda {
  padding: 0 20px 20px;
}
.agenda-header {
  font-size: 11px;
  font-weight: 500;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}
.schedule {
  display: flex;
  gap: 12px;
  padding: 13px 0;
}
.schedule time {
  font-size: 10px;
  color: #8a9580;
  min-width: 35px;
  padding-top: 3px;
}
.schedule > div {
  border-left: 2px solid #a4af93;
  padding-left: 12px;
}
.schedule strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.schedule small {
  font-size: 10px;
  color: #9aa08f;
  display: block;
  margin-top: 6px;
}
.schedule:nth-child(odd) > div {
  border-color: #d2a88c;
}
.note-panel {
  background: #edece3;
  border: 1px solid #e4e3d6;
  padding: 20px;
  border-radius: 9px;
  margin-top: 17px;
}
.note-panel .eyebrow {
  color: #8c8b70;
  font-size: 9px;
}
.note-panel h3 {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  margin: 12px 0 7px;
}
.note-panel p {
  font-size: 10px;
  line-height: 1.9;
  color: #8a8e79;
  margin: 0;
}
.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 17px;
}
.project-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 19px;
  text-align: left;
}
.project-card .project-symbol {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #f2e8e0;
  color: #b88062;
  border-radius: 7px;
  font-size: 16px;
  margin-bottom: 15px;
}
.project-card:nth-child(2) .project-symbol {
  background: #e9eee3;
  color: #849675;
}
.project-card:nth-child(3) .project-symbol {
  background: #eeeae2;
  color: #9d9073;
}
.project-card h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 7px;
}
.project-card p {
  font-size: 10px;
  color: #929b87;
  margin: 0;
}
.project-card .progress-track {
  height: 3px;
}
.project-progress {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #99a18f;
  margin-top: 13px;
}
.projects-section {
  margin-top: 29px;
}
footer {
  font-size: 9px;
  color: #9ca393;
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.4px;
}
footer b {
  margin: 0 8px;
  font-weight: 400;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #7e9c6b;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
.filters {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filters select,
.filters input {
  font-size: 12px;
  padding: 10px 12px;
  background: white;
  border: 1px solid #e1e6db;
  border-radius: 6px;
  max-width: 100%;
}
.filters input {
  margin-left: auto;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.board-column {
  background: #eff2ec;
  border-radius: 9px;
  padding: 15px;
  min-height: 350px;
}
.column-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 0 2px 15px;
}
.column-title small {
  font-size: 10px;
  color: #8b957f;
}
.board-card {
  padding: 17px;
  background: white;
  border: 1px solid #e4e9df;
  border-radius: 7px;
  margin-bottom: 11px;
  text-align: left;
  width: 100%;
  box-shadow: 0 2px 3px #324c1703;
}
.board-card:hover {
  border-color: #b4c0a6;
}
.board-card p {
  font-size: 12px;
  line-height: 1.8;
  margin: 10px 0 16px;
  overflow-wrap: anywhere;
}
.board-card footer {
  margin: 0;
  padding-top: 12px;
}
.board-card footer .avatar {
  width: 23px;
  height: 23px;
  font-size: 9px;
}
.board-card .task-meta {
  margin: 0;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}
.calendar-toolbar h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.calendar-controls {
  display: flex;
  gap: 6px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.calendar-label {
  padding: 13px;
  text-align: center;
  font-size: 10px;
  color: #8d967e;
  background: #f1f4ed;
}
.calendar-cell {
  min-height: 120px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 9px;
  min-width: 0;
}
.calendar-cell:nth-child(7n) {
  border-right: 0;
}
.calendar-cell.outside {
  background: #fafbf8;
  color: #b9c0b1;
}
.calendar-day {
  font-size: 11px;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
}
.calendar-day.today {
  border-radius: 50%;
  background: #3b513b;
  color: white;
}
.calendar-task {
  display: block;
  width: 100%;
  font-size: 9px;
  background: #eef2e8;
  border-left: 2px solid #91a777;
  border-radius: 3px;
  padding: 5px 6px;
  margin: 3px 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-task.event {
  background: #f7eee6;
  border-color: #c99a75;
}
.calendar-legend {
  font-size: 10px;
  color: #879278;
  margin-top: 15px;
}
.empty {
  padding: 42px 20px;
  text-align: center;
  font-size: 12px;
  color: #89957c;
  line-height: 2;
}
.integration {
  max-width: 780px;
  padding: 28px;
}
.integration h2 {
  font-size: 22px;
  margin: 10px 0;
}
.integration p {
  font-size: 12px;
  color: #7a8670;
  line-height: 2;
}
.integration-flow {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 25px 0;
  flex-wrap: wrap;
}
.integration-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 19px;
  font-size: 12px;
  background: #fafbf8;
}
.integration li {
  font-size: 12px;
  line-height: 2.3;
  color: #6b785e;
}
.integration label {
  margin-top: 20px;
}
.icon-button {
  font-size: 22px;
  color: #7f8973;
  padding: 3px 10px;
}
dialog {
  border: 1px solid #dce3d3;
  border-radius: 14px;
  padding: 30px;
  width: min(590px, calc(100% - 28px));
  max-height: 90vh;
  color: #343e2e;
  box-shadow: 0 30px 100px #20321330;
}
dialog::backdrop {
  background: #25301e55;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.modal-heading h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 7px 0 0;
}
label {
  display: block;
  font-size: 11px;
  color: #737f66;
  margin: 16px 0;
}
label input,
label select,
label textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce3d3;
  border-radius: 6px;
  margin-top: 8px;
  color: #3e4937;
  background: white;
  font-size: 13px;
}
textarea {
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 17px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 23px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  border-radius: 8px;
  background: #33472e;
  color: white;
  font-size: 12px;
  box-shadow: 0 5px 20px #23371720;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}
#toast.visible {
  opacity: 1;
}
#search-results {
  max-height: 50vh;
  overflow: auto;
}
.search-result {
  display: block;
  text-align: left;
  width: 100%;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.search-result small {
  display: block;
  font-size: 10px;
  color: #89977b;
  margin-top: 6px;
}
.priority-high {
  color: #b96e4e;
  font-size: 10px;
}
#integration-status {
  font-size: 11px;
  color: #83754f;
}
.slack-source {
  font-size: 11px;
  text-decoration: underline;
  color: #6f8860;
}
@media (min-width: 1600px) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .task-row {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-left: 14px;
    padding-right: 14px;
  }
  main {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  .content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 17px;
  }
  .metric {
    padding: 20px 16px;
  }
  .task-row {
    gap: 8px;
    padding: 16px 13px;
  }
  .task-row .badge {
    display: none;
  }
  .board {
    gap: 10px;
  }
  .board-column {
    padding: 10px;
  }
  .project-card {
    padding: 14px;
  }
}
@media (max-width: 950px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .note-panel {
    margin-top: 0;
  }
  .right-column > .section-heading {
    display: none;
  }
  .board {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-number {
    font-size: 27px;
  }
  .overview {
    grid-template-columns: repeat(4, 1fr);
  }
  .metric-label {
    font-size: 10px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .shell {
    display: block;
  }
  .brand {
    padding: 0;
    gap: 8px;
  }
  .brand img {
    width: 72px;
  }
  .brand > span {
    font-size: 13px;
  }
  .workspace,
  .nav-label,
  #projects,
  .sidebar-bottom {
    display: none;
  }
  #nav {
    display: flex;
    gap: 2px;
    margin-top: 12px;
    overflow: auto;
  }
  .nav-item {
    width: auto;
    white-space: nowrap;
    padding: 9px 10px;
    font-size: 11px;
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-item svg {
    width: 15px;
    height: 15px;
  }
  .nav-count {
    display: none;
  }
  main {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 49px;
    padding: 0 18px;
  }
  .search-button span,
  .search-button kbd,
  .top-actions > .avatar {
    display: none;
  }
  .content {
    padding: 25px 17px 15px;
  }
  .intro {
    align-items: flex-start;
    margin-bottom: 19px;
  }
  h1 {
    font-size: 23px;
  }
  .intro p {
    font-size: 10px;
    max-width: 220px;
    line-height: 1.8;
  }
  .intro .primary {
    font-size: 10px;
    padding: 10px 11px;
    margin-top: 25px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .sample-banner {
    font-size: 9px;
    display: block;
    line-height: 1.7;
  }
  .sample-banner button {
    display: block;
    padding: 3px 0 0;
    font-size: 9px;
  }
  .overview {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
  }
  .metric {
    padding: 17px 19px;
  }
  .metric:nth-child(3) {
    border-top: 1px solid var(--line);
  }
  .metric:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .metric:nth-child(3):before {
    display: none;
  }
  .metric-number {
    font-size: 28px;
  }
  .metric-foot {
    font-size: 9px;
  }
  .home-grid {
    gap: 20px;
  }
  .right-column {
    display: block;
  }
  .note-panel {
    margin-top: 15px;
  }
  .project-cards {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .project-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 10px;
    padding: 16px;
  }
  .project-card .project-symbol {
    grid-row: 1/4;
    margin: 0;
  }
  .project-card .progress-track,
  .project-card .project-progress {
    grid-column: 2;
  }
  .project-card h3 {
    margin-bottom: 4px;
  }
  .project-card p {
    font-size: 9px;
  }
  .table-header {
    padding-left: 14px;
    font-size: 9px;
  }
  .task-row {
    padding: 15px 13px;
  }
  .task-title {
    font-size: 11px;
  }
  .task-meta {
    font-size: 9px;
  }
  .task-row > .avatar {
    display: none;
  }
  .due {
    font-size: 9px;
    width: 40px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .filters input {
    width: 100%;
    margin: 0;
  }
  .board {
    grid-template-columns: 1fr;
  }
  .board-column {
    min-height: 120px;
  }
  .calendar-toolbar {
    flex-wrap: wrap;
  }
  .calendar-cell {
    padding: 3px;
    min-height: 95px;
  }
  .calendar-task {
    font-size: 8px;
    padding: 4px 2px;
  }
  .calendar-day {
    font-size: 10px;
  }
  .calendar-label {
    padding: 10px 0;
  }
  .calendar-toolbar h2 {
    font-size: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  dialog {
    padding: 23px;
  }
  .integration {
    padding: 20px;
  }
  .integration h2 {
    font-size: 18px;
  }
  footer {
    font-size: 8px;
    letter-spacing: 0;
  }
  .search-button {
    font-size: 23px;
  }
  .top-actions {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

[hidden] {
  display: none !important;
}
.board-view .content {
  max-width: none;
}
.board-view .intro {
  margin-bottom: 27px;
}
.board-view .board {
  gap: 20px;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  overflow-x: auto;
  padding-bottom: 20px;
  align-items: start;
}
.board-view .board-column {
  background: #f0f1ef;
  border-top: 3px solid #abb1a7;
  border-radius: 8px;
  min-height: 440px;
  padding: 16px 12px;
}
.board-column[data-drop-status="doing"] {
  border-top-color: #e9b963;
}
.board-column[data-drop-status="review"] {
  border-top-color: #b39bc6;
}
.board-column[data-drop-status="done"] {
  border-top-color: #91b090;
}
.board-view .board-card {
  padding: 18px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px #26302106;
  cursor: grab;
}
.board-card:active {
  cursor: grabbing;
}
.board-card p {
  font-size: 13px;
  min-height: 40px;
}
.board-card.dragging {
  opacity: 0.4;
}
.board-column.drag-over {
  background: #e2e9de;
  outline: 2px dashed #78976b;
  outline-offset: -3px;
}
.card-owner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #6b7664;
}
.board-column .task-add {
  border: 1px dashed #d3d9cf;
  border-radius: 6px;
  margin-top: 8px;
  padding: 11px;
}
.board-column .task-add:hover {
  background: white;
  color: #4f6345;
}
#task-dialog {
  margin: 0 0 0 auto;
  border-radius: 0;
  width: 550px;
  height: 100dvh;
  max-height: 100dvh;
  border-right: 0;
  padding: 32px;
  box-shadow: -10px 0 60px #20321320;
}
#task-dialog::backdrop {
  background: #25301e20;
  backdrop-filter: none;
}
#task-dialog .modal-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
#task-dialog .modal-actions {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 20px 0;
}
#task-dialog input[name="title"] {
  font-size: 20px;
  line-height: 1.5;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-left: 0;
}
.login-body {
  background: #f4f5f1;
}
.login-page {
  margin: 0 auto;
  width: min(100%, 660px);
  padding: 70px 30px;
  text-align: center;
}
.login-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 70px;
}
.login-brand img {
  width: 115px;
}
.login-brand span {
  font-size: 20px;
  letter-spacing: 5px;
  padding-left: 20px;
  border-left: 1px solid #cbd2c2;
}
.login-page h1 {
  font-size: 44px;
  line-height: 1.5;
  margin-top: 20px;
}
.login-intro {
  font-size: 14px;
  color: #7d8775;
  line-height: 2;
}
.login-box {
  background: white;
  border: 1px solid #e1e6da;
  border-radius: 14px;
  padding: 32px;
  margin: 35px auto;
  max-width: 430px;
}
.login-box h2 {
  font-size: 16px;
}
.login-box p {
  font-size: 12px;
  line-height: 1.9;
  color: #7a8570;
}
.slack-login {
  display: block;
  border: 1px solid #d4d9cf;
  border-radius: 6px;
  padding: 15px;
  margin: 25px 0 15px;
  font-weight: 600;
  background: #fff;
  color: #252b20;
}
.slack-login.pending {
  background: #f1f3ed;
  font-size: 13px;
  color: #89957a;
}
.login-box small {
  font-size: 10px;
  color: #9aa38e;
}
.login-page footer {
  display: block;
  text-align: center;
}
.filters {
  row-gap: 12px;
}
.filters input {
  min-width: 130px;
  flex: 1;
  max-width: 260px;
}
.login-page .eyebrow {
  color: #879778;
}
@media (max-width: 950px) {
  .board-view .board {
    grid-template-columns: repeat(4, 270px);
  }
  .board-view .filters input {
    max-width: none;
  }
  .board-view .content {
    overflow: hidden;
  }
}
@media (max-width: 650px) {
  .board-view .board {
    grid-template-columns: repeat(4, 285px);
    scroll-snap-type: x proximity;
  }
  .board-view .board-column {
    scroll-snap-align: start;
  }
  .board-view .filters select {
    max-width: 48%;
    font-size: 10px;
  }
  .board-view .intro p {
    max-width: 190px;
  }
  #task-dialog {
    width: 100%;
    padding: 23px;
  }
  .login-page {
    padding: 40px 20px;
  }
  .login-page h1 {
    font-size: 33px;
  }
  .login-brand {
    margin-bottom: 45px;
  }
}
