:root {
  --ink: #253e35;
  --muted: #7b827a;
  --green: #244c40;
  --green-deep: #1d4035;
  --lime: #e2eaa7;
  --paper: #f6f5ef;
  --card: #fffefa;
  --line: #e4e7dd;
  --orange: #c77747;
  --soft-orange: #f7eadc;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", serif;
  --sans:
    "Avenir Next", "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9bb669;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #9eb796;
  outline-offset: 1px;
}
button,
a {
  touch-action: manipulation;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 19px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
input,
textarea,
select {
  min-width: 0;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
input:not([type="checkbox"]),
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  background: #fffefa;
}
input::placeholder,
textarea::placeholder {
  color: #92988e;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 19px;
  height: 19px;
  flex: none;
  cursor: pointer;
}
label {
  display: block;
  font-weight: 600;
  margin: 19px 0 7px;
}
label input {
  font-weight: 400;
}
details summary {
  cursor: pointer;
  color: #657765;
  font-size: 12px;
}
details summary:hover {
  color: var(--green);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 13px;
  background: #f3f3ed;
  padding: 16px;
  border-radius: 8px;
}
input,
textarea {
  max-width: 100%;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  padding: 12px 20px;
  background: var(--lime);
  z-index: 100;
}
.skip-link:focus {
  top: 16px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  padding: 38px 25px 23px;
  background: #eef0e7;
  border-right: 1px solid #dfe4d6;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.brand-mark {
  background: var(--green);
  color: var(--lime);
  width: 40px;
  height: 43px;
  border-radius: 13px;
  position: relative;
  display: grid;
  place-items: center;
  font-size: 36px;
  flex-shrink: 0;
  font-style: italic;
}
.brand-mark span {
  position: absolute;
  top: 2px;
  right: 4px;
  font: 16px var(--sans);
}
.brand small {
  display: block;
  font: 6.7px var(--sans);
  letter-spacing: 0.85px;
  margin-top: 7px;
}
.workspace-label {
  margin-top: 53px;
  font-size: 10px;
  color: #7b857a;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.workspace-label span {
  font-size: 7px;
  letter-spacing: 1px;
  border: 1px solid #c6d0bd;
  padding: 2px 4px;
  border-radius: 4px;
}
.sidebar nav {
  margin-top: 19px;
  display: grid;
  gap: 9px;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 9px;
  text-align: left;
  color: #6b766a;
}
.nav-button > span:first-child {
  font-size: 19px;
  line-height: 1;
}
.nav-button:hover {
  background: #e4e9dc;
}
.nav-button.active {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 8px #244c4010;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  line-height: 19px;
  width: 19px;
  text-align: center;
  border-radius: 5px;
  background: #ffffff1c;
  color: #dfebc9;
}
.sidebar-note {
  margin: 50px 13px 25px;
}
.sprout {
  display: inline-block;
  font: 65px var(--serif);
  line-height: 1;
  color: #8a9e79;
  transform: rotate(-8deg);
}
.sidebar-note p {
  font: 21px/1.65 var(--serif);
  margin-top: 20px;
}
.sidebar-note small {
  display: block;
  font-size: 11px;
  color: #87917e;
  margin-top: 14px;
  line-height: 1.8;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 10px;
  color: #7e8879;
  line-height: 2.2;
}
.local-dot,
.mini-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #7c9669;
  border-radius: 50%;
  margin-right: 5px;
}
.sidebar-bottom .text-button {
  font-size: 10px;
  padding: 0;
}
.back-home {
  display: block;
  text-decoration: none;
  margin-top: 18px;
  font-size: 11px;
}
.shell {
  margin-left: 246px;
}
.topbar {
  height: 88px;
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.breadcrumb {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #8b9385;
}
.slash {
  margin: 0 16px;
  color: #b7bcad;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: #798574;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5eadc;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: #536747;
}
#main {
  padding: 37px 40px 32px;
  min-height: calc(100vh - 152px);
  outline: none;
  background-image: radial-gradient(#aebc990d 0.8px, transparent 0.8px);
  background-size: 9px 9px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #899679;
}
h1 {
  font: 36px/1.45 var(--serif);
  letter-spacing: -0.9px;
  margin: 9px 0 10px;
}
h1 span {
  color: #6e8755;
}
.page-heading p {
  font-size: 12px;
  color: #828878;
}
.button {
  border-radius: 8px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 43px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #163e30;
}
.quiet {
  background: #ecf0e5;
  color: var(--green);
}
.quiet:hover {
  background: #e0e7d5;
}
.lime {
  background: var(--lime);
  color: #274635;
}
.lime:hover {
  background: #eff5c3;
}
.small {
  font-size: 11px;
  padding: 8px 13px;
  min-height: 36px;
}
.plus {
  font-size: 19px;
  font-weight: 400;
}
.text-button {
  color: #62764e;
  font-size: 11px;
  padding: 6px 0;
  text-underline-offset: 4px;
}
.text-button:hover {
  text-decoration: underline;
}
.demo-notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #efeee5;
  border: 1px solid #e7e5d6;
  border-radius: 7px;
  padding: 9px 14px;
  margin-bottom: 21px;
  font-size: 10px;
  color: #888772;
}
.demo-notice .text-button {
  flex-shrink: 0;
}
.demo-chip {
  display: inline-block;
  background: #e4e6d7;
  color: #777d59;
  font-size: 8px;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 9px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 18px;
  margin-bottom: 37px;
}
.stat {
  padding: 21px 23px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 3px 6px #1c2c1602;
}
.stat > span,
.stat > div > span {
  font-size: 11px;
  color: #7c8475;
}
.stat strong {
  display: block;
  font: 39px/1.1 var(--serif);
  margin: 15px 0 15px;
}
.stat strong small {
  font: 11px var(--sans);
  margin-left: 10px;
  color: #99a18f;
}
.stat .orange {
  color: var(--orange);
}
.stat-bottom {
  font-size: 10px;
  color: #8a9280;
}
.progress-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.progress-ring {
  --progress: 0%;
  background: conic-gradient(#82986b var(--progress), #eaeddf 0);
  border-radius: 50%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  flex: none;
  transform: rotate(-30deg);
}
.progress-ring > span {
  width: 65px;
  height: 65px;
  background: var(--card);
  border-radius: 50%;
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  align-items: baseline;
  font: 25px var(--serif);
  transform: rotate(30deg);
}
.progress-ring small {
  font: 10px var(--sans);
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 25px;
  align-items: start;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.count {
  font: 11px var(--sans);
  color: #9ca38f;
  margin-left: 8px;
}
.search-box {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  color: #95a080;
  max-width: 180px;
}
.search-box input {
  padding: 4px !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 10px;
  width: 143px;
}
.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.segmented {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #ebece3;
  border-radius: 6px;
}
.segmented button {
  font-size: 10px;
  color: #7e8775;
  padding: 5px 13px;
  border-radius: 4px;
}
.segmented button.selected {
  background: #fffefa;
  color: #496138;
  box-shadow: 0 1px 3px #3241260c;
}
.list-toolbar select {
  max-width: 160px;
  background: transparent;
  border: 0;
  font-size: 10px;
  padding: 6px 0;
  color: #849075;
}
.assignment-list {
  display: grid;
  gap: 14px;
}
.assignment-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 11px;
  padding: 20px 23px 13px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  animation: reveal 0.4s both;
  animation-delay: calc(var(--order) * 55ms);
}
.assignment-card:hover {
  border-color: #becdae;
  box-shadow: 0 6px 18px #2c492508;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.course-label {
  display: inline-block;
  color: #638255;
  background: #edf1e5;
  padding: 3px 8px;
  font-size: 9px;
  border-radius: 4px;
  font-weight: 500;
}
.tone-1 {
  background: #f3eee3;
  color: #ac8c53;
}
.tone-2 {
  background: #e9eef0;
  color: #718994;
}
.status {
  font-size: 9px;
  color: #939c89;
  white-space: nowrap;
}
.status i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 5px;
}
.status.urgent {
  color: #b65c36;
}
.status.soon {
  color: #c79052;
}
.status.done {
  color: #6e925b;
}
.assignment-card h3 {
  margin: 13px 0 8px;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
}
.assignment-card h3 button {
  text-align: left;
  padding: 0;
  font: inherit;
  overflow-wrap: anywhere;
}
.assignment-card h3 button:hover {
  color: #69814d;
}
.assignment-meta {
  display: flex;
  gap: 17px;
  font-size: 9px;
  color: #8f9787;
}
.card-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 18px 0 14px;
}
.progress-track {
  height: 4px;
  background: #eef0e6;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}
.progress-track span {
  display: block;
  background: #9aae7d;
  height: 100%;
  border-radius: 8px;
  transition: width 0.3s;
}
.card-progress > span {
  font-size: 9px;
  color: #8c9780;
  white-space: nowrap;
}
.card-bottom {
  border-top: 1px solid #eceee5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  gap: 8px;
}
.next-preview {
  font-size: 10px;
  color: #859478;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.next-preview > span {
  color: #a5ad9d;
  margin-right: 8px;
}
.card-arrow {
  width: 28px;
  height: 28px;
  font-size: 18px;
  color: #748b5b;
  flex: none;
}
.right-rail {
  display: grid;
  gap: 20px;
}
.next-card {
  position: relative;
  border-radius: 13px;
  padding: 24px 22px;
  background: var(--green);
  color: #f0f3df;
  overflow: hidden;
  isolation: isolate;
}
.next-card:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 200px;
  height: 200px;
  border: 1px solid #eff3cd12;
  border-radius: 50%;
  right: -90px;
  top: -80px;
  box-shadow:
    0 0 0 25px #eff3cd05,
    0 0 0 50px #eff3cd04;
}
.next-card .eyebrow {
  color: #98ac8d;
  font-size: 8px;
  letter-spacing: 1.3px;
  display: flex;
  justify-content: space-between;
}
.next-card .eyebrow span {
  font-size: 17px;
  line-height: 1;
}
.next-card h2 {
  font: 25px var(--serif);
  margin: 21px 0 23px;
}
.course-label.light {
  background: #ffffff12;
  color: #c2d0ac;
}
.next-card h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  margin: 12px 0 8px;
}
.next-card p {
  color: #95aa8f;
  font-size: 10px;
  line-height: 1.8;
}
.next-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 9px;
  color: #aebc99;
  margin: 22px 0;
}
.next-meta span + span {
  opacity: 0.7;
}
.next-card .button {
  width: 100%;
  justify-content: space-between;
  font-size: 11px;
}
.next-link {
  color: #aabd9d;
  font-size: 9px;
  padding: 13px 0 0;
  display: block;
  margin: auto;
}
.week-peek {
  padding: 21px 20px 17px;
  background: #f0f0e7;
  border: 1px solid #e6e7d9;
  border-radius: 12px;
}
.week-peek h3 {
  font-size: 13px;
}
.week-peek .section-heading {
  margin-bottom: 16px;
}
.mini-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.mini-week > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;
  border-radius: 15px;
  gap: 5px;
}
.mini-week span {
  font-size: 8px;
  color: #9ca38f;
}
.mini-week b {
  font-size: 10px;
  font-weight: 500;
  color: #7c8869;
}
.mini-week i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  height: 3px;
}
.mini-week .has-due {
  background: var(--orange);
}
.mini-week .today {
  background: #dde5ca;
}
.mini-week .today b {
  color: #385a2c;
}
.small-divider {
  height: 1px;
  background: #e0e3d3;
  margin: 17px 0;
}
.muted {
  color: #88917e;
  font-size: 12px;
}
.week-peek .muted {
  font-size: 10px;
}
.week-peek .text-button {
  font-size: 10px;
  margin-top: 6px;
}
.privacy-note {
  text-align: center;
  font-size: 9px;
  line-height: 1.8;
  color: #9da68f;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 0 40px;
  padding: 20px 0 25px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #9aa38f;
}
.app-footer a {
  text-decoration: none;
}
.version {
  font-size: 8px;
}
.empty-state {
  text-align: center;
  padding: 50px 20px;
  border: 1px dashed #d3ddc9;
  border-radius: 12px;
  background: #ffffff60;
}
.empty-state > span {
  font: 50px var(--serif);
  color: #97ad79;
}
.empty-state h3 {
  margin: 10px 0;
}
.empty-state p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 22px;
}
.field-hint {
  font-size: 10px;
  color: #8d9684;
  line-height: 1.75;
  margin: 12px 0;
}
.agenda {
  margin-top: 28px;
}
.agenda-day {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  gap: 25px;
  min-height: 106px;
}
.day-label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 125px;
}
.day-label > strong {
  font: 38px var(--serif);
  color: #6b8154;
}
.day-label span {
  font-size: 11px;
}
.day-label small {
  display: block;
  color: #939e84;
  font-size: 9px;
}
.day-content {
  flex: 1;
}
.day-free {
  font-size: 12px;
  color: #a5ad9b;
  padding: 17px 0;
}
.agenda-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 16px;
  margin-bottom: 6px;
}
.agenda-item .course-label {
  grid-row: 1/3;
  align-self: center;
}
.agenda-item strong {
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.agenda-item > span:nth-last-child(2) {
  grid-column: 2;
  font-size: 10px;
  color: var(--muted);
}
.agenda-item > span:last-child {
  grid-column: 3;
  grid-row: 1/3;
  align-self: center;
  font-size: 22px;
}
.agenda-item:hover {
  border-color: #a9bd94;
}
.overdue-section,
.undated {
  margin: 24px 0;
}
.overdue-section h2,
.undated h2 {
  margin-bottom: 15px;
  font-size: 16px;
}
.overdue-section h2 {
  color: #b97049;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding-top: 22px;
  max-width: 960px;
}
.about-grid p {
  font-size: 13px;
  color: #7c8871;
  line-height: 1.95;
  margin: 15px 0 30px;
}
.about-grid h2 {
  font: 25px var(--serif);
}
.about-grid .field-hint {
  font-size: 11px;
}
.about-details {
  border-left: 1px solid var(--line);
  padding-left: 45px;
}
.about-details .demo-chip {
  margin-bottom: 24px;
}
.workflow {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}
.workflow li {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
}
.workflow li > span {
  font: 29px var(--serif);
  color: #afbd95;
}
.workflow h3 {
  font-size: 14px;
}
.workflow p {
  font-size: 12px;
  margin: 4px 0;
}
.text-link {
  font-size: 12px;
  color: #5a7544;
}
dialog {
  width: 660px;
  max-width: calc(100% - 32px);
  max-height: 88dvh;
  padding: 32px;
  border: 1px solid #d9e1ce;
  border-radius: 17px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 80px #1e352930;
  overflow: auto;
}
dialog[open] {
  animation: dialog-in 0.18s ease-out;
}
dialog::backdrop {
  background: #1d312b65;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.dialog-heading h2 {
  font: 28px/1.5 var(--serif);
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.icon-button {
  font: 22px/1 var(--sans);
  width: 32px;
  height: 32px;
  flex: none;
  color: #94a083;
  border-radius: 6px;
}
.icon-button:hover {
  background: #ecf0e4;
}
.dialog-heading .icon-button {
  margin-right: -8px;
}
.dialog-heading + .muted {
  font-size: 11px;
  margin-bottom: 23px;
}
dialog input:not([type="checkbox"]),
dialog textarea {
  width: 100%;
  font-size: 12px;
}
dialog label {
  font-size: 11px;
}
.required {
  color: #b58151;
}
.optional {
  font-size: 10px;
  font-weight: 400;
  color: #9ca48f;
  margin-left: 5px;
}
.sample-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
}
.sample-row > span {
  font-size: 10px;
  color: #a2aa99;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dialog-actions {
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.parse-note {
  font-size: 11px;
  line-height: 1.85;
  color: #8a865f;
  margin: 15px 0 18px;
  padding-left: 10px;
  border-left: 2px solid #ced5b3;
}
.review-heading {
  margin-top: 26px;
  margin-bottom: 12px;
}
.review-heading .muted {
  font-size: 10px;
}
.review-task {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.review-task-main {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-task-main .review-task-title {
  flex: 1;
  font-size: 12px;
  padding: 9px 8px;
}
.review-task-main .review-task-minutes {
  width: 65px;
  font-size: 11px;
  padding: 9px 6px;
}
.task-number {
  font: 18px var(--serif);
  color: #b0bd9d;
  margin-right: 4px;
}
.evidence {
  margin: 5px 0 0 32px;
}
.evidence summary {
  font-size: 9px;
  color: #94a182;
}
.evidence p {
  font-size: 11px;
  color: #7d8c6d;
  padding: 8px 0 2px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.original-text {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 17px;
}
.original-text a {
  font-size: 11px;
  display: inline-block;
  margin-top: 12px;
}
.detail-dialog {
  width: 760px;
}
.detail-summary {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #88977a;
  margin-bottom: 18px;
}
.large {
  height: 5px;
}
.edit-meta {
  margin: 18px 0 27px;
}
.edit-meta summary {
  font-size: 10px;
}
.edit-meta .button {
  margin-top: 12px;
}
.detail-task {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.task-main {
  display: flex;
  gap: 10px;
  align-items: center;
}
.task-main .editable-task {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  padding: 6px;
}
.task-main .editable-task:hover {
  border-color: var(--line);
}
.task-main .minutes-label {
  display: flex;
  align-items: center;
  gap: 1px;
  margin: 0;
  flex: none;
  font-size: 9px;
  color: #99a288;
}
.minutes-label input {
  width: 58px !important;
  padding: 5px !important;
  background: transparent !important;
  font-size: 10px !important;
}
.checked .editable-task {
  text-decoration: line-through;
  color: #9fa996;
}
.checked {
  opacity: 0.75;
}
.add-task-form {
  display: flex;
  gap: 10px;
  margin: 15px 0 25px;
}
.add-task-form input {
  flex: 1;
}
.notes-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.detail-bottom > div {
  display: flex;
  gap: 10px;
}
.destructive {
  color: #b28367;
}
.danger {
  background: #ae6545;
  color: white;
}
#confirm-dialog {
  width: 450px;
}
#confirm-text {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 13px 22px;
  background: #233d32;
  color: #eef3df;
  border-radius: 9px;
  box-shadow: 0 8px 30px #1d2b2628;
  font-size: 12px;
  max-width: min(600px, 90vw);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.storage-warning {
  background: #f4e8d7;
  color: #8c5837;
  padding: 12px 15px;
  font-size: 12px;
  margin-bottom: 20px;
}
.focus-dock {
  position: fixed;
  bottom: 20px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  z-index: 20;
  background: var(--green-deep);
  color: #eff2dd;
  border: 1px solid #54775d;
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 50px #142c3830;
  max-width: calc(100% - 30px);
  width: 600px;
}
.focus-dock > div {
  flex: 1;
  min-width: 0;
}
.focus-dock strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.focus-dock .eyebrow {
  font-size: 8px;
  color: #a2b792;
}
.focus-clock {
  font: 28px var(--serif);
  font-variant-numeric: tabular-nums;
  min-width: 64px;
}
.focus-dock .icon-button {
  color: #a9bc92;
}
.focus-dock .icon-button:hover {
  background: #ffffff15;
}
.no-script {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 100;
  padding: 50px;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1550px) {
  #main {
    max-width: 1340px;
    margin: auto;
    padding: 45px 60px;
  }
  .topbar,
  .app-footer {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 32px;
  }
  h1 {
    font-size: 43px;
  }
  .next-card {
    padding: 28px;
  }
  .next-card h3 {
    font-size: 19px;
  }
  .assignment-card {
    padding: 24px 26px 14px;
  }
  .sidebar {
    width: 260px;
  }
  .shell {
    margin-left: 260px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding: 30px 20px;
  }
  .brand {
    font-size: 21px;
  }
  .brand small {
    font-size: 5.6px;
  }
  .brand-mark {
    width: 35px;
    height: 39px;
  }
  .shell {
    margin-left: 210px;
  }
  .topbar {
    margin: 0 28px;
  }
  #main {
    padding: 30px 28px;
  }
  .app-footer {
    margin: 0 28px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 20px;
  }
  h1 {
    font-size: 29px;
  }
  .stat {
    padding: 19px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat strong {
    font-size: 33px;
  }
  .progress-ring {
    width: 64px;
    height: 64px;
  }
  .progress-ring > span {
    width: 53px;
    height: 53px;
    font-size: 22px;
  }
  .assignment-card {
    padding: 18px 18px 11px;
  }
  .sidebar-note {
    margin-top: 45px;
  }
  .workspace-label {
    font-size: 8px;
  }
  .workspace-label span {
    font-size: 6px;
  }
  .next-card {
    padding: 22px 19px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 185px;
    padding: 25px 15px;
  }
  .brand {
    font-size: 19px;
    gap: 7px;
  }
  .brand small {
    font-size: 5px;
  }
  .shell {
    margin-left: 185px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .right-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .right-rail .privacy-note {
    grid-column: 1/-1;
  }
  .next-card h2 {
    margin: 14px 0;
  }
  .next-card .next-meta {
    margin: 16px 0;
  }
  .week-peek {
    align-self: start;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading .button {
    padding: 10px 14px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr 1.1fr;
  }
  .progress-ring {
    display: none;
  }
  .stat {
    padding: 17px;
  }
  .sidebar-note p {
    font-size: 19px;
  }
  .sidebar-note {
    margin-left: 8px;
  }
  .about-grid {
    gap: 30px;
  }
  .about-details {
    padding-left: 25px;
  }
  .agenda-day {
    gap: 15px;
  }
  .day-label {
    min-width: 95px;
  }
  .agenda-item {
    grid-template-columns: 1fr auto;
  }
  .agenda-item .course-label {
    grid-row: 1;
    grid-column: 1;
    width: fit-content;
  }
  .agenda-item strong {
    grid-column: 1;
    grid-row: 2;
  }
  .agenda-item > span:nth-last-child(2) {
    grid-column: 1;
    grid-row: 3;
  }
  .agenda-item > span:last-child {
    grid-column: 2;
    grid-row: 1/4;
  }
  .focus-dock {
    left: calc(50% + 90px);
    width: 500px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 20px 22px 12px;
    border-right: 0;
    border-bottom: 1px solid #dfe4d6;
  }
  .brand {
    font-size: 25px;
    width: fit-content;
  }
  .brand small {
    font-size: 6.8px;
  }
  .brand-mark {
    width: 37px;
    height: 41px;
  }
  .workspace-label,
  .sidebar-note {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
    margin-top: 22px;
  }
  .nav-button {
    padding: 9px 12px;
    flex: 1;
    justify-content: center;
    font-size: 11px;
    gap: 7px;
    white-space: nowrap;
  }
  .nav-button > span:first-child {
    font-size: 16px;
  }
  .nav-count {
    display: none;
  }
  .sidebar-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    line-height: 1.5;
    margin-top: 13px;
    font-size: 8px;
  }
  .sidebar-bottom br {
    display: none;
  }
  .sidebar-bottom .local-dot {
    display: none;
  }
  .sidebar-bottom .text-button {
    font-size: 8px;
  }
  .back-home {
    margin: 0 0 0 auto;
    font-size: 8px;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 56px;
    margin: 0 22px;
  }
  .topbar-right {
    font-size: 9px;
    gap: 10px;
  }
  .avatar {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }
  .breadcrumb {
    font-size: 8px;
  }
  .slash {
    margin: 0 11px;
  }
  .topbar > div {
    font-size: 10px;
  }
  #main {
    padding: 27px 22px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading .button {
    margin-top: 22px;
    min-height: 41px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: 30px;
    margin-top: 10px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .demo-notice {
    padding: 8px 10px;
    font-size: 8px;
    align-items: flex-start;
    gap: 8px;
  }
  .demo-chip {
    font-size: 7px;
    margin-right: 3px;
  }
  .demo-notice .text-button {
    font-size: 8px;
    padding: 0;
  }
  .stats-grid {
    gap: 8px;
    margin-bottom: 29px;
  }
  .stat {
    padding: 14px 11px;
    border-radius: 9px;
  }
  .stat > span,
  .stat > div > span {
    font-size: 8px;
  }
  .stat strong {
    font-size: 31px;
    margin: 12px 0 9px;
  }
  .stat strong small {
    font-size: 8px;
    margin-left: 4px;
  }
  .stat-bottom {
    font-size: 7px;
  }
  .mini-dot {
    width: 3px;
    height: 3px;
    margin-right: 2px;
  }
  .section-heading {
    margin-bottom: 15px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .search-box {
    max-width: 150px;
  }
  .search-box input {
    width: 126px;
    font-size: 9px;
  }
  .count {
    font-size: 10px;
  }
  .list-toolbar {
    margin-bottom: 14px;
  }
  .segmented button {
    font-size: 9px;
    padding: 5px 12px;
  }
  .list-toolbar select {
    font-size: 9px;
    max-width: 120px;
  }
  .assignment-card {
    padding: 18px 17px 11px;
  }
  .assignment-card h3 {
    font-size: 17px;
  }
  .assignment-meta {
    font-size: 9px;
    gap: 12px;
  }
  .assignment-list {
    gap: 12px;
  }
  .assignment-meta span:last-child {
    white-space: nowrap;
  }
  .workspace-grid {
    gap: 24px;
  }
  .right-rail {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .next-card {
    padding: 25px;
  }
  .next-card h2 {
    font-size: 28px;
  }
  .next-card h3 {
    font-size: 18px;
  }
  .next-meta {
    justify-content: space-between;
  }
  .week-peek {
    padding: 21px 25px;
  }
  .mini-week > div {
    padding: 6px 0;
    gap: 7px;
  }
  .mini-week span {
    font-size: 9px;
  }
  .mini-week b {
    font-size: 12px;
  }
  .mini-week .today {
    border-radius: 20px;
  }
  .app-footer {
    margin: 0 22px;
    font-size: 8px;
    padding: 19px 0 26px;
    gap: 10px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about-details {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }
  .agenda-day {
    display: block;
    padding: 20px 0;
    min-height: 0;
  }
  .day-label {
    margin-bottom: 12px;
    gap: 13px;
  }
  .day-label > strong {
    font-size: 29px;
  }
  .day-label small {
    display: inline;
    margin-left: 8px;
  }
  .agenda-item {
    padding: 14px;
  }
  .day-free {
    padding: 0;
    font-size: 11px;
  }
  .focus-dock {
    left: 50%;
    bottom: 15px;
    padding: 12px 15px;
    gap: 12px;
    width: calc(100% - 26px);
  }
  .focus-dock .eyebrow {
    font-size: 7px;
  }
  .focus-dock strong {
    font-size: 10px;
  }
  .focus-dock .button {
    padding: 6px 10px;
    font-size: 10px;
  }
  .focus-clock {
    font-size: 24px;
    min-width: 55px;
  }
  .focus-dock .icon-button {
    width: 23px;
  }
  .toast {
    bottom: 20px;
    font-size: 11px;
    width: max-content;
    max-width: calc(100% - 30px);
  }
  dialog {
    padding: 24px 20px;
    max-width: calc(100% - 22px);
    max-height: 90dvh;
    border-radius: 13px;
  }
  .dialog-heading h2 {
    font-size: 25px;
  }
  .dialog-heading .eyebrow {
    font-size: 7px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dialog-actions {
    gap: 9px;
  }
  .dialog-actions .button {
    font-size: 11px;
    padding: 10px 15px;
  }
  .review-task-main {
    gap: 5px;
  }
  .review-task-main .review-task-title {
    font-size: 11px;
    padding: 8px 5px;
  }
  .review-task-main .review-task-minutes {
    width: 48px;
    padding: 8px 3px;
  }
  .task-number {
    font-size: 15px;
    margin-right: 0;
  }
  .review-task-main .icon-button {
    width: 22px;
  }
  .evidence {
    margin-left: 23px;
  }
  .task-main {
    gap: 4px;
  }
  .task-main .editable-task {
    padding: 6px 3px;
    font-size: 11px;
  }
  .task-main input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-left: 0;
  }
  .minutes-label input {
    width: 43px !important;
  }
  .minutes-label > span {
    display: none;
  }
  .delete-task {
    width: 23px;
  }
  .detail-dialog .section-heading .muted {
    font-size: 9px;
  }
  .notes-label {
    flex-wrap: wrap;
    gap: 4px;
  }
  .notes-label .optional {
    margin-left: 0;
    font-size: 9px;
  }
  .detail-summary {
    gap: 5px 12px;
    font-size: 10px;
  }
  .detail-bottom {
    gap: 7px;
  }
  .detail-bottom .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .detail-bottom > div {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep the final phrase together on narrow screens. */
h1 span {
  display: inline-block;
}
.sidebar-note p {
  font-size: 20px;
}
@media (max-width: 760px) {
  .stat > span,
  .stat > div > span {
    font-size: 9px;
  }
  .stat-bottom {
    font-size: 8px;
  }
  .assignment-meta,
  .next-preview {
    font-size: 10px;
  }
  .demo-notice {
    font-size: 9px;
  }
  .sidebar-bottom,
  .sidebar-bottom .text-button,
  .back-home {
    font-size: 9px;
  }
  .status {
    font-size: 10px;
  }
  .course-label {
    font-size: 10px;
  }
  .assignment-card h3 {
    font-size: 18px;
  }
}
