:root {
  font-family: Inter, system-ui, sans-serif;
  color: #282d32;
  background: #f6f5f1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  min-height: 44px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #5c80aa;
  outline-offset: 2px;
}
.skip,
.sr-only {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: white;
}
.topbar {
  min-height: 64px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #e1e2dd;
}
.brand {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: bold;
  white-space: nowrap;
}
.brand span {
  font:
    13px Inter,
    system-ui,
    sans-serif;
  color: #858b89;
  margin-left: 10px;
}
.demo-badge,
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #668277;
  font-weight: 700;
}
.demo-badge {
  border: 1px solid #d6e5db;
  border-radius: 20px;
  padding: 6px 10px;
  background: #f1f7f2;
}
.layout {
  max-width: 1180px;
  margin: auto;
  padding: 44px 24px 80px;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0;
}
.source-links a {
  color: #315b48;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
html[data-theme="dark"] .source-links a {
  color: #c2e2cf;
}
.heading,
.board-head,
.dialog-head,
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.heading {
  margin: 13px 0 24px;
}
h1 {
  font-family: Georgia, serif;
  font-size: 38px;
  margin: 0 0 7px;
}
h2 {
  font-size: 19px;
  margin: 0;
}
p {
  line-height: 1.6;
  color: #6b7374;
  margin: 0;
}
.primary,
.secondary {
  border-radius: 9px;
  padding: 10px 16px;
  font-weight: 650;
  white-space: nowrap;
}
.primary {
  background: #314f43;
  color: #fff;
  border: 1px solid #314f43;
}
.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.secondary {
  background: #fff;
  color: #314f43;
  border: 1px solid #ccd5ce;
}
.notice {
  background: #fff9e9;
  border: 1px solid #ecdfbc;
  color: #6a5c37;
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 13px;
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 22px 0;
}
.summary > div,
.board,
.logic {
  background: #fff;
  border: 1px solid #e6e7e2;
  border-radius: 12px;
  box-shadow: 0 3px 16px #293a3610;
}
.summary > div {
  padding: 19px 22px;
}
.summary small,
.summary strong {
  display: block;
}
.summary small {
  color: #7b8580;
  margin-bottom: 8px;
}
.summary strong {
  font-size: 22px;
}
.board {
  overflow: hidden;
}
.board-head {
  padding: 23px 25px;
  border-bottom: 1px solid #e9ebe7;
}
.board-head p {
  font-size: 13px;
  margin-top: 5px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #89918e;
  text-transform: uppercase;
  background: #fafbf9;
}
th,
td {
  padding: 15px 20px;
  border-bottom: 1px solid #edf0eb;
  white-space: nowrap;
}
td:first-child {
  font-weight: 650;
}
td small {
  display: block;
  font-weight: 400;
  color: #89918e;
  margin-top: 3px;
}
.pill {
  display: inline-block;
  border-radius: 30px;
  padding: 5px 9px;
  background: #edf3ee;
  color: #3f6b4f;
  font-size: 12px;
}
.pill.writing {
  background: #edf0f8;
  color: #4d608a;
}
.pill.illustration {
  background: #f7eee7;
  color: #9a694b;
}
.status {
  color: #795e9b;
}
.overdue {
  color: #aa6047;
  font-weight: 700;
}
.row-action {
  border: 0;
  background: transparent;
  color: #536b5d;
  text-decoration: underline;
}
.task-link {
  color: #355f4a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.task-link:focus-visible {
  outline: 3px solid #4f8b68;
  outline-offset: 3px;
  border-radius: 2px;
}
.mobile-cards {
  display: none;
}
.empty {
  padding: 30px;
  text-align: center;
}
.logic {
  padding: 24px;
  margin-top: 20px;
}
.logic h2 {
  margin-bottom: 8px;
}
dialog {
  border: 1px solid #dbe1da;
  border-radius: 14px;
  box-shadow: 0 30px 80px #18271f44;
  width: min(94vw, 470px);
  padding: 24px;
  color: #28332d;
  background: #fff;
}
dialog::backdrop {
  background: #17241eb0;
}
dialog label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 17px;
}
dialog input:not([type="checkbox"]),
dialog select {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 6px;
  border: 1px solid #cad4cb;
  border-radius: 8px;
  padding: 0 11px;
  background: #fff;
  color: #28332d;
}
.icon {
  border: 0;
  background: none;
  font-size: 26px;
}
.dialog-actions {
  justify-content: flex-end;
  margin-top: 25px;
}
.computed,
.calendar-preview,
.preview-list {
  background: #f4f7f3;
  padding: 12px;
  border-radius: 8px;
  margin-top: 16px;
}
.error {
  color: #b14c37;
  min-height: 1.5em;
  font-size: 13px;
}
.calendar-preview span,
.calendar-preview strong,
.calendar-preview small {
  display: block;
}
.calendar-preview strong {
  margin: 5px 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check input {
  width: 20px;
  height: 20px;
}
#calendar-dialog .primary {
  white-space: normal;
}
@media (max-width: 700px) {
  .topbar {
    padding: 0 16px;
  }
  .layout {
    padding: 26px 16px 60px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  h1 {
    font-size: 32px;
  }
  .summary {
    gap: 8px;
  }
  .summary > div {
    padding: 12px;
  }
  .summary small {
    font-size: 11px;
  }
  .summary strong {
    font-size: 16px;
  }
  .board-head {
    padding: 17px;
    align-items: stretch;
    flex-direction: column;
  }
  .table-scroll {
    display: none;
  }
  .mobile-cards {
    display: block;
  }
  .card {
    padding: 17px;
    border-bottom: 1px solid #e9ebe7;
  }
  .card-title {
    font-weight: 700;
    margin-bottom: 9px;
  }
  .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    font-size: 13px;
    color: #6b7374;
  }
  .card .row-action {
    margin-top: 9px;
    padding: 8px 0;
  }
  .brand {
    font-size: 16px;
  }
  .brand span {
    font-size: 11px;
    margin-left: 4px;
  }
  .demo-badge {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .summary {
    grid-template-columns: 1fr;
  }
  .summary > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .summary small {
    margin: 0;
  }
}
html[data-theme="dark"] body {
  background: #1d2422;
  color: #fffdf8;
}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .summary > div,
html[data-theme="dark"] .board,
html[data-theme="dark"] .logic,
html[data-theme="dark"] dialog {
  background: #29312e;
  color: #fffdf8;
  border-color: #435149;
}
html[data-theme="dark"] p,
html[data-theme="dark"] .card-meta {
  color: #e2ddd4;
}
html[data-theme="dark"] th {
  background: #303a35;
}
html[data-theme="dark"] td,
html[data-theme="dark"] .card,
html[data-theme="dark"] .board-head {
  border-color: #435149;
}
.brand a {
  color: inherit;
  text-decoration: none;
}
.notebook-context {
  color: #6b7374;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-control {
  width: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 23px;
}
html[data-theme="dark"] .notebook-context {
  color: #e2ddd4;
}
@media (max-width: 400px) {
  .demo-badge {
    display: none;
  }
}
