:root {
  --ink:#24332e;
  --muted:#66716d;
  --line:#dfe5e1;
  --paper:#f5f7f6;
  --white:#fff;
  --green:#245b49;
  --mint:#edf4f0;
  --lav:#f1edf7;
  --red:#a33f32;
  --blue:#edf2fa;
  --orange:#a46b34;
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  outline-offset:3px
}
button {
  cursor:pointer;
  color:inherit;
  border:0;
  background:none
}
button:disabled {
  opacity:.4;
  cursor:default
}
a {
  color:var(--green)
}
button:hover:not(:disabled) {
  filter:brightness(.96)
}
:focus-visible {
  outline:2px solid var(--green)
}
svg {
  width:20px;
  height:20px;
  flex-shrink:0
}
.hidden,[hidden] {
  display:none!important
}
.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  background:white;
  padding:10px;
  z-index:100
}
.skip-link:focus {
  top:10px
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:218px;
  background:#fff;
  border-right:1px solid var(--line);
  padding:30px 18px 20px;
  display:flex;
  flex-direction:column;
  overflow:auto
}
.brand {
  display:flex;
  gap:10px;
  text-decoration:none;
  align-items:center;
  font-size:18px;
  font-weight:700;
  letter-spacing:-.5px
}
.brand svg {
  width:29px;
  height:29px
}
.brand small {
  display:block;
  font-size:11px;
  font-weight:400;
  letter-spacing:0;
  color:var(--muted);
  margin-top:2px
}
.workspace {
  font-size:10px;
  font-weight:600;
  letter-spacing:1.2px;
  color:var(--muted);
  margin:38px 12px 12px
}
nav {
  display:grid;
  gap:5px
}
nav button {
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:11px 12px;
  font-size:13px;
  border-radius:5px;
  white-space:nowrap
}
nav button svg {
  width:18px;
  height:18px;
  color:var(--muted)
}
nav button:hover {
  background:var(--paper)
}
nav button.active {
  color:var(--green);
  background:var(--mint);
  font-weight:600
}
nav button.active svg {
  color:var(--green)
}
.side-exam {
  margin:32px 12px 30px;
  padding-top:22px;
  border-top:1px solid var(--line)
}
.eyebrow {
  font-size:10px;
  letter-spacing:1px;
  font-weight:600;
  color:var(--muted)
}
.side-exam h3 {
  font-size:17px;
  margin:8px 0 5px;
  font-weight:600;
  letter-spacing:-.3px
}
.side-exam small {
  font-size:11px;
  color:var(--muted)
}
.side-bottom {
  margin-top:auto;
  display:grid;
  gap:16px;
  padding:0 10px
}
.side-bottom button {
  display:flex;
  gap:9px;
  align-items:center;
  text-align:left;
  font-size:12px;
  padding:8px 0
}
.side-bottom svg {
  width:17px;
  height:17px
}
.save-state {
  font-size:11px;
  line-height:1.6;
  color:var(--green)
}
.side-bottom small {
  color:var(--muted);
  font-size:10px;
  line-height:1.6
}
main {
  margin-left:218px
}
.topbar {
  height:64px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 32px;
  border-bottom:1px solid var(--line);
  background:#fff;
  font-size:12px
}
.breadcrumb {
  color:var(--muted)
}
.breadcrumb-divider {
  margin:0 12px;
  color:#a8b3ad
}
.top-actions {
  display:flex;
  align-items:center;
  gap:12px
}
.icon-button {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:4px
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:38px;
  border:1px solid var(--line);
  padding:8px 13px;
  border-radius:5px;
  font-size:12px;
  font-weight:550;
  text-decoration:none;
  line-height:1.4
}
.button svg {
  width:16px;
  height:16px
}
.button.primary {
  background:var(--green);
  border-color:var(--green);
  color:white
}
.button.subtle {
  background:white
}
.button.small {
  font-size:11px;
  min-height:32px;
  padding:6px 10px
}
.button.danger {
  color:var(--red)
}
.content {
  max-width:1600px;
  margin:auto;
  padding:28px 32px
}
.page-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:23px
}
h1 {
  font-size:29px;
  line-height:1.2;
  font-weight:650;
  letter-spacing:-.9px;
  margin:0 0 8px
}
.page-intro p {
  font-size:12px;
  color:var(--muted);
  margin:0
}
.intro-actions {
  display:flex;
  gap:8px;
  flex-shrink:0
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  background:white;
  border:1px solid var(--line);
  border-radius:7px;
  margin-bottom:24px;
  overflow:hidden
}
.stat {
  padding:15px 18px;
  text-align:left;
  min-width:0;
  border-right:1px solid var(--line);
  position:relative
}
.stat:last-child {
  border:0
}
.stat .label {
  display:block;
  font-size:11px;
  color:var(--muted)
}
.stat strong {
  display:block;
  font-size:25px;
  font-weight:600;
  line-height:1.3;
  margin:6px 0;
  letter-spacing:-.5px;
  font-variant-numeric:tabular-nums
}
.stat strong small {
  font-size:11px;
  font-weight:400;
  letter-spacing:0;
  color:var(--muted)
}
.stat-note {
  display:block;
  font-size:10px;
  color:var(--muted)
}
.stat .bar {
  height:3px;
  display:block;
  background:#e9eeeb;
  border-radius:3px;
  margin-top:11px;
  overflow:hidden
}
.bar i {
  display:block;
  height:100%;
  background:var(--green)
}
.stat.attention {
  background:#fff6e8
}
.planner {
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:20px;
  align-items:start
}
.calendar-card,.panel,.detail {
  border:1px solid var(--line);
  background:#fff;
  border-radius:7px;
  overflow:hidden
}
.calendar-toolbar {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:18px
}
.calendar-toolbar h2 {
  font-size:17px;
  font-weight:600;
  margin:0;
  letter-spacing:-.3px
}
.month-control {
  display:grid;
  grid-template-columns:11rem 30px 30px;
  gap:7px;
  align-items:center
}
.month-control h2 {
  min-width:0;
  margin:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis
}
.month-control button {
  width:30px;
  height:32px;
  border:1px solid var(--line);
  border-radius:4px;
  font-size:21px;
  line-height:1
}
.switch {
  display:flex;
  padding:3px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:5px;
  gap:2px
}
.switch button {
  padding:5px 9px;
  font-size:11px;
  border-radius:3px
}
.switch button.active {
  background:white;
  box-shadow:0 1px 3px #0001;
  color:var(--green);
  font-weight:600
}
.calendar-subbar {
  padding:0 18px 15px;
  color:var(--muted);
  font-size:10px;
  display:flex;
  justify-content:space-between;
  gap:8px
}
.calendar-subbar>.tiny {
  display:none
}
.legend {
  display:flex;
  flex-wrap:wrap;
  gap:12px
}
.legend span {
  display:flex;
  gap:5px;
  align-items:center
}
.dot {
  width:6px;
  height:6px;
  border-radius:2px;
  background:#79a28e;
  display:inline-block
}
.dot.pause {
  background:#c6a780
}
.dot.custom {
  background:#aa94c9
}
.dot.reserve {
  background:#8ca3c4
}
.weekdays {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  border-block:1px solid var(--line);
  background:#fafbfa
}
.weekdays span {
  font-size:10px;
  font-weight:500;
  color:var(--muted);
  padding:9px 10px
}
.calendar-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr))
}
.cell {
  min-height:103px;
  min-width:0;
  padding:7px;
  border-right:1px solid #e8ece9;
  border-bottom:1px solid #e8ece9;
  position:relative;
  cursor:pointer
}
.cell:nth-child(7n) {
  border-right:0
}
.cell:hover {
  background:#f4f8f5
}
.cell.selected {
  box-shadow:inset 0 0 0 2px var(--green);
  background:#f5faf7;
  z-index:1
}
.cell.outside {
  background:#fafbfa
}
.cell.outside .date-number {
  color:#8f9993
}
.cell.day-off {
  background:#faf9f6
}
.cell.protected {
  background:#f3f6fa
}
.cell.drop-target {
  box-shadow:inset 0 0 0 2px var(--green)
}
.date-number {
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:22px;
  margin-bottom:7px
}
.today {
  border-radius:50%;
  background:var(--green);
  color:white;
  width:23px;
  height:23px;
  display:grid;
  place-items:center
}
.task-chip {
  background:#eaf3ed;
  border-left:2px solid #8cae99;
  border-radius:3px;
  padding:5px;
  margin-bottom:4px;
  overflow:hidden;
  line-height:1.4
}
.task-chip[data-drag] {
  cursor:grab
}
.chip-tag {
  display:block;
  font-size:10px;
  font-weight:600;
  margin-bottom:3px
}
.chip-title {
  display:block;
  font-size:10px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.task-chip.pause {
  background:#f4eee4;
  border-color:#c6a780;
  color:#805f38
}
.task-chip.custom {
  background:var(--lav);
  border-color:#aa94c9;
  color:#6c558a
}
.task-chip.review {
  background:var(--blue);
  border-color:#8ca3c4;
  color:#4b6388
}
.task-chip.done {
  background:#dcebe2;
  border-color:var(--green)
}
.off-label,.cell-note {
  font-size:10px;
  color:var(--muted);
  margin-top:12px
}
.cell-note {
  display:block
}
.calendar-bottom {
  padding:12px 16px;
  display:flex;
  gap:10px;
  justify-content:space-between;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--muted)
}
.calendar-bottom button {
  font-size:11px;
  color:var(--green);
  padding:4px
}
.detail {
  padding:20px;
  scroll-margin-top:16px
}
.detail-date {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
  letter-spacing:.5px
}
.detail h2 {
  font-size:21px;
  letter-spacing:-.5px;
  line-height:1.3;
  margin:9px 0 20px;
  font-weight:600
}
.detail h3 {
  font-size:15px;
  line-height:1.4;
  margin:12px 0 7px
}
.badge {
  display:inline-block;
  font-size:10px;
  font-weight:550;
  padding:3px 7px;
  border-radius:3px;
  background:var(--mint);
  color:var(--green)
}
.badge.purple {
  background:var(--lav);
  color:#6c558a
}
.badge.orange {
  background:#f9eddb;
  color:#805f38
}
.description {
  font-size:12px;
  color:var(--muted);
  line-height:1.7
}
.check-row {
  display:flex;
  align-items:center;
  gap:9px;
  margin:10px 0;
  font-size:12px;
  cursor:pointer;
  min-height:29px
}
.check-row input {
  height:17px;
  width:17px;
  accent-color:var(--green);
  flex-shrink:0
}
.form-label {
  font-size:11px;
  display:block;
  margin:16px 0 7px;
  color:var(--muted)
}
.detail textarea {
  width:100%;
  height:72px;
  resize:vertical;
  font-size:12px
}
.detail .button {
  width:100%;
  margin-top:10px
}
.detail .mini-action {
  font-size:11px;
  line-height:1.5;
  color:var(--green);
  text-align:left;
  padding:9px 0;
  min-height:33px
}
.detail>.mini-action {
  display:block
}
.detail-divider {
  height:1px;
  background:var(--line);
  margin:18px 0
}
.task-detail+.task-detail {
  border-top:1px solid var(--line);
  margin-top:18px;
  padding-top:18px
}
.pool {
  margin-top:16px
}
.pool summary {
  padding:14px 16px;
  font-size:12px;
  cursor:pointer
}
.pool-items {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:0 16px 16px;
  gap:8px
}
.tiny {
  font-size:11px;
  color:var(--muted)
}
.full-width {
  grid-column:1/-1
}
.notice {
  font-size:12px;
  line-height:1.7;
  background:#fbf7ef;
  border:1px solid #e8d9bd;
  border-radius:5px;
  padding:12px 16px;
  margin-bottom:18px
}
.notice.error {
  color:var(--red);
  background:#fff3ef;
  border-color:#e7c2b7
}
.hint-card {
  margin-top:16px;
  background:#edf3ef;
  border:1px solid var(--line);
  padding:16px;
  border-radius:6px;
  font-size:12px
}
.hint-card p {
  color:var(--muted);
  line-height:1.8;
  margin:5px 0 0
}
.hint-card strong {
  font-size:12px
}
.agenda-list {
  max-height:600px;
  overflow:auto;
  border-top:1px solid var(--line)
}
.agenda-row {
  width:100%;
  display:flex;
  align-items:center;
  gap:15px;
  padding:12px 17px;
  text-align:left;
  border-bottom:1px solid #e8ece9;
  min-height:68px
}
.agenda-row.selected {
  background:var(--mint);
  box-shadow:inset 3px 0 var(--green)
}
.agenda-date {
  display:grid;
  text-align:center;
  width:30px;
  flex-shrink:0
}
.agenda-date strong {
  font-size:20px;
  font-weight:550;
  line-height:1.2
}
.agenda-date>span {
  font-size:10px;
  color:var(--muted)
}
.is-today .agenda-date {
  color:var(--green);
  font-weight:700
}
.agenda-content {
  flex:1;
  min-width:0;
  display:grid;
  gap:6px
}
.agenda-task {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 10px;
  font-size:12px
}
.agenda-task strong {
  font-weight:600
}
.agenda-task>span {
  color:var(--muted)
}
.agenda-task .agenda-status {
  margin-left:auto;
  font-size:10px
}
.agenda-event {
  font-size:12px;
  color:#805f38
}
.toolbar {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:16px;
  border-bottom:1px solid var(--line)
}
.toolbar input {
  flex:1;
  min-width:160px
}
.input,input[type=date],input[type=text],input[type=number],input[type=url],input:not([type]),select,textarea {
  border:1px solid #cfd8d2;
  border-radius:4px;
  padding:9px 10px;
  color:var(--ink);
  background:#fff;
  min-width:0
}
input[type=checkbox] {
  accent-color:var(--green)
}
.table-scroll {
  overflow:auto
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:12px
}
th {
  padding:12px 16px;
  text-align:left;
  background:#fafbfa;
  color:var(--muted);
  font-size:10px;
  font-weight:550;
  white-space:nowrap
}
td {
  padding:13px 16px;
  border-top:1px solid var(--line)
}
td button {
  color:var(--green);
  font-size:12px;
  padding:5px 0
}
tbody tr:hover {
  background:#fafcfb
}
.progress-layout,.resource-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px
}
.panel.padded,.resource-card {
  padding:24px
}
.panel h2 {
  font-size:21px;
  font-weight:600;
  letter-spacing:-.4px;
  margin:0 0 14px
}
.panel h3 {
  font-size:17px;
  letter-spacing:-.3px
}
.panel p {
  color:var(--muted);
  font-size:12px;
  line-height:1.8
}
.resource-card a {
  font-size:12px
}
.day-map {
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:5px;
  margin-top:20px
}
.day-map button {
  height:36px;
  background:#edf1ee;
  border-radius:3px;
  font-size:11px
}
.day-map button.done {
  background:var(--green);
  color:white
}
.day-map button.partial {
  background:#b8d4c3
}
.day-map button.unplaced {
  background:#f8e8ce
}
.list-item {
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.list-item strong {
  display:block
}
.list-item p {
  margin:4px 0
}
.empty {
  padding:24px;
  color:var(--muted);
  text-align:center
}
footer {
  max-width:1600px;
  margin:auto;
  padding:0 32px 22px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:10px;
  color:var(--muted)
}
dialog {
  width:580px;
  max-width:calc(100% - 32px);
  max-height:90dvh;
  overflow:auto;
  padding:0;
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--ink);
  box-shadow:0 20px 80px #14251d30
}
dialog::backdrop {
  background:#182b2466
}
.modal-head {
  position:sticky;
  top:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 24px 14px;
  border-bottom:1px solid var(--line);
  background:white;
  z-index:2
}
.modal-head h2 {
  font-size:21px;
  letter-spacing:-.5px;
  font-weight:600;
  margin:0
}
.modal-head button {
  font-size:26px;
  width:32px;
  height:32px
}
.modal-body {
  padding:18px 24px 24px;
  font-size:12px;
  line-height:1.7
}
.modal-body p {
  color:var(--muted)
}
.modal-body label:not(.check-row) {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin:14px 0 6px
}
.modal-body input:not([type=checkbox]),.modal-body select,.modal-body textarea {
  width:100%
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}
.form-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:24px
}
.off-days {
  display:flex;
  gap:6px;
  flex-wrap:wrap
}
.off-days label {
  border:1px solid var(--line);
  border-radius:4px;
  padding:6px;
  cursor:pointer
}
.preview-list {
  max-height:240px;
  overflow:auto;
  background:var(--paper);
  padding:10px 14px;
  border-radius:5px
}
.preview-row {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  font-size:11px
}
.error-text {
  color:var(--red);
  font-size:12px;
  min-height:18px
}
#toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  padding:12px 20px;
  max-width:calc(100% - 24px);
  width:max-content;
  background:#243d32;
  color:#fff;
  box-shadow:0 4px 24px #0002;
  border-radius:6px;
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transition:opacity .15s;
  z-index:100
}
#toast.visible {
  opacity:1
}
@media(min-width:1450px) {
  .cell {
    min-height:120px
  }
  .planner {
    grid-template-columns:minmax(0,1fr) 300px
  }
}
@media(max-width:1150px) {
  .sidebar {
    width:190px;
    padding-inline:12px
  }
  main {
    margin-left:190px
  }
  .content {
    padding:24px
  }
  .topbar {
    padding-inline:24px
  }
  .planner {
    grid-template-columns:minmax(0,1fr) 250px;
    gap:14px
  }
  .stat {
    padding:14px 12px
  }
  .calendar-toolbar {
    flex-wrap:wrap
  }
  .calendar-bottom>span {
    display:none
  }
  .page-intro {
    align-items:flex-start
  }
  .intro-actions {
    flex-wrap:wrap;
    justify-content:flex-end;
    max-width:240px
  }
  .detail {
    padding:16px
  }
}
@media(max-width:960px) {
  .planner {
    grid-template-columns:1fr
  }
  .detail-area {
    min-width:0
  }
  .detail {
    max-width:none
  }
  .detail .task-detail {
    max-width:600px
  }
  .cell {
    min-height:100px
  }
  .progress-layout,.resource-grid {
    grid-template-columns:1fr
  }
  .stat strong small {
    display:block;
    margin-top:3px
  }
  .stat strong {
    font-size:23px
  }
  .page-intro p {
    max-width:360px
  }
  .stat-note {
    font-size:10px
  }
  footer {
    padding-inline:24px
  }
  .garden {
    grid-template-columns:1fr 1fr
  }
}
@media(max-width:700px) {
  .sidebar {
    position:static;
    width:100%;
    border:0;
    border-bottom:1px solid var(--line);
    padding:18px 16px 0;
    overflow:visible
  }
  .brand {
    font-size:18px
  }
  .brand small {
    font-size:11px
  }
  .workspace,.side-exam,.side-bottom {
    display:none
  }
  nav {
    display:flex;
    overflow-x:auto;
    gap:4px;
    margin-top:16px;
    padding-bottom:10px
  }
  nav button {
    font-size:12px;
    padding:9px 10px;
    gap:7px
  }
  nav button svg {
    width:16px;
    height:16px
  }
  main {
    margin:0
  }
  .topbar {
    height:53px;
    padding:0 16px
  }
  .topbar>div:first-child {
    font-size:11px
  }
  .top-actions {
    gap:5px
  }
  .topbar .button {
    font-size:11px;
    min-height:34px;
    padding:7px 9px
  }
  .breadcrumb,.breadcrumb-divider {
    display:none
  }
  .content {
    padding:23px 16px
  }
  .page-intro {
    display:block;
    margin-bottom:18px
  }
  h1 {
    font-size:27px
  }
  .page-intro p {
    max-width:none;
    font-size:11px;
    line-height:1.7
  }
  .intro-actions {
    justify-content:flex-start;
    max-width:none;
    margin-top:15px;
    gap:8px
  }
  .stats {
    grid-template-columns:1fr 1fr;
    margin-bottom:20px
  }
  .stat {
    padding:13px 14px
  }
  .stat:nth-child(2) {
    border-right:0
  }
  .stat:nth-child(-n+2) {
    border-bottom:1px solid var(--line)
  }
  .stat strong {
    font-size:24px
  }
  .stat strong small {
    display:inline;
    font-size:10px
  }
  .stat-note {
    font-size:10px
  }
  .calendar-toolbar {
    padding:14px 12px;
    gap:12px
  }
  .calendar-toolbar h2 {
    font-size:16px
  }
  .calendar-subbar {
    padding:0 12px 12px
  }
  .month-control {
    grid-template-columns:10rem 30px 30px;
    gap:5px
  }
  .switch button {
    padding:5px 8px
  }
  .legend {
    font-size:9px;
    gap:10px
  }
  .weekdays span {
    padding:8px 4px;
    font-size:9px
  }
  .cell {
    padding:4px;
    min-height:86px
  }
  .chip-tag {
    font-size:9px
  }
  .chip-title {
    font-size:9px
  }
  .task-chip {
    padding:4px 3px
  }
  .off-label,.cell-note {
    font-size:9px
  }
  .calendar-bottom {
    padding:10px 12px
  }
  .detail {
    padding:20px
  }
  .detail h2 {
    font-size:22px
  }
  .detail .mini-action {
    font-size:12px;
    min-height:40px
  }
  .detail .button {
    min-height:42px
  }
  .check-row {
    min-height:36px;
    font-size:13px
  }
  .detail textarea {
    font-size:14px
  }
  .agenda-list {
    max-height:450px
  }
  .agenda-row {
    padding:13px 14px;
    gap:12px
  }
  .agenda-task {
    font-size:12px
  }
  .agenda-task .agenda-status {
    font-size:10px
  }
  .pool-items {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .form-grid {
    grid-template-columns:1fr;
    gap:0
  }
  .form-actions {
    flex-direction:column-reverse;
    align-items:stretch
  }
  .form-actions .button {
    white-space:normal;
    min-height:42px
  }
  .modal-head {
    padding:16px 18px 12px
  }
  .modal-head h2 {
    font-size:19px
  }
  .modal-body {
    padding:14px 18px 20px
  }
  .modal-body input:not([type=checkbox]),.modal-body textarea,.modal-body select {
    font-size:16px
  }
  .toolbar input,.toolbar select {
    width:100%;
    flex-basis:100%;
    font-size:16px
  }
  .table-scroll table {
    min-width:620px
  }
  .progress-layout,.resource-grid {
    gap:14px
  }
  .panel.padded,.resource-card {
    padding:20px
  }
  .day-map {
    gap:4px
  }
  .day-map button {
    font-size:10px;
    height:32px
  }
  .garden {
    display:flex;
    flex-direction:column-reverse;
    min-height:0
  }
  .garden-art {
    width:100%;
    padding:0 15px 15px
  }
  .learning-tree.main {
    max-height:280px
  }
  .garden-copy {
    padding:10px 24px 28px;
    align-self:stretch
  }
  .garden-copy h2 {
    font-size:29px
  }
  .tree-preview {
    flex-wrap:wrap
  }
  .tree-preview-buttons {
    justify-content:flex-start
  }
  .tree-explainer {
    grid-template-columns:1fr
  }
  footer {
    padding:0 16px 24px;
    display:block;
    line-height:1.7
  }
  footer>span {
    display:block;
    margin-bottom:5px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media print {
  .sidebar,.topbar,.intro-actions,.detail-area,.calendar-bottom,.toolbar,.switch,footer,#toast {
    display:none!important
  }
  body {
    background:white
  }
  main {
    margin:0
  }
  .content {
    padding:0
  }
  .planner {
    display:block
  }
  .stats {
    margin-bottom:12px
  }
  .cell {
    min-height:95px
  }
  .agenda-list {
    max-height:none;
    overflow:visible
  }
  .calendar-card,.panel {
    break-inside:avoid
  }
  .task-chip {
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact
  }
}
.garden {
  display:grid;
  grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr);
  background:#f3f5eb;
  border:1px solid #dce3d1;
  border-radius:16px;
  overflow:hidden;
  min-height:465px
}
.garden-copy {
  padding:42px 0 35px 35px;
  align-self:center;
  min-width:0
}
.garden-copy h2 {
  font:38px/1.13 Georgia,serif;
  color:#46563e;
  margin:17px 0
}
.garden-copy>p {
  font-size:12px;
  line-height:1.9;
  max-width:330px;
  color:#79836d
}
.garden-count {
  margin-top:25px
}
.garden-count>strong {
  font:39px Georgia,serif;
  display:block;
  color:#5e7551
}
.garden-count strong span {
  font-size:20px;
  color:#9aa88e
}
.garden-count>span {
  font-size:11px;
  display:block;
  margin-top:8px;
  color:#79836d
}
.garden-meter {
  width:100%;
  max-width:300px;
  height:5px;
  border-radius:8px;
  background:#e0e6d5;
  overflow:hidden;
  margin-top:15px
}
.garden-meter i {
  display:block;
  height:100%;
  background:#8ca76b;
  transition:width .5s
}
.garden-blossoms {
  display:flex;
  align-items:center;
  gap:9px
}
.garden-blossoms span {
  font-size:26px;
  color:#b88f4b
}
.garden-note {
  margin-top:25px;
  border-left:2px solid #d5dfc7;
  padding-left:15px;
  max-width:300px
}
.garden-note strong {
  font-size:11px;
  color:#68775b
}
.garden-note p {
  font-size:11px;
  line-height:1.8;
  color:#87907d;
  margin-bottom:0
}
.garden-art {
  align-self:center;
  position:relative;
  padding:10px 10px 33px;
  min-width:0
}
.learning-tree.main {
  display:block;
  width:100%;
  height:auto
}
.garden-caption {
  font-size:8px;
  letter-spacing:1.4px;
  display:block;
  text-align:center;
  color:#8c987e;
  margin-top:-10px
}
.tree-preview {
  display:flex;
  align-items:center;
  gap:20px;
  justify-content:space-between;
  margin-top:18px
}
.tree-preview h3 {
  font:21px Georgia,serif;
  margin:10px 0 7px
}
.tree-preview p {
  font-size:11px;
  margin:0
}
.tree-preview-buttons {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:380px
}
.tree-explainer {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px;
  margin-top:18px
}
.tree-explainer h3 {
  font:20px Georgia,serif;
  line-height:1.3
}
.tree-explainer p {
  font-size:11px;
  line-height:1.9
}
.tree-symbol {
  font-size:29px;
  color:#75925e;
  display:block;
  margin-bottom:10px
}
.tree-symbol.blossom {
  color:#bd9b60
}
.tree-footnote {
  margin:16px 2px 0;
  line-height:1.8
}
.tree-blossom {
  animation:tree-bloom .5s ease-out
}
@keyframes tree-bloom {
  from {
    opacity:0
  }
  to {
    opacity:1
  }
}
.resource-summary {
  padding:18px 24px;
  cursor:pointer;
  font-size:13px;
  font-weight:550
}
.resource-summary .tiny {
  font-weight:400;
  margin-left:12px
}
.resource-sources {
  padding:8px 24px 24px
}
.resource-sources h3 {
  margin:7px 0
}
.resource-sources a {
  font-size:12px
}
@media(max-width:700px) {
  nav {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:2px;
    overflow:visible;
    margin-top:14px;
    padding-bottom:10px
  }
  nav button {
    flex-direction:column;
    justify-content:center;
    padding:8px 2px;
    gap:5px;
    font-size:10px
  }
  nav button svg {
    width:18px;
    height:18px
  }
  .resource-summary .tiny {
    display:block;
    margin:5px 0 0
  }
}
.link-actions { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.modal-body details { margin-top:24px; }
.modal-body summary { cursor:pointer; }
.side-bottom .save-state { font-size:11px; color:var(--green); line-height:1.6; }
@media(max-width:700px) { .topbar { height:auto;min-height:53px;flex-wrap:wrap;padding-block:8px;gap:6px; } .top-actions { flex-wrap:wrap; } .topbar>div:first-child { display:none; } .topbar .top-actions { width:100%;justify-content:flex-end; } .link-actions .button { flex:1 1 45%; } }
.page-intro .greeting { font-size:13px; color:var(--green); font-weight:550; margin-bottom:9px; }
.theme-picker { border:0; padding:0; margin:20px 0; display:flex; flex-wrap:wrap; gap:8px 14px; }
.theme-picker legend { font-size:12px; color:var(--muted); margin-bottom:8px; }
.modal-body .theme-picker label { display:flex; align-items:center; gap:6px; margin:0; cursor:pointer; }
.theme-picker input { accent-color:var(--green); }
.theme-swatch { width:15px; height:15px; border-radius:50%; background:var(--swatch); }
.cell.selected { background:var(--mint); }
.task-chip:not(.pause):not(.custom):not(.review):not(.done) { background:var(--mint); border-color:var(--green); }
.task-chip:not(.pause):not(.custom):not(.review):not(.done), .badge:not(.purple):not(.orange) { color:var(--green); }
.modal-body .theme-picker input[type=radio] { width:16px; height:16px; margin:0; }
.task-chip .chip-title { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; max-height:2.8em; }
