
:root {
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#20332f;
  background:#f3f5f3;
  font-synthesis:none;
  --green:#153d37;
  --lime:#d0f581;
  --muted:#64736d;
  --line:#dfe5df}
* {
  box-sizing:border-box}
body {
  margin:0;
  font-size:16px;
  line-height:1.5}
button,input,textarea,select {
  font:inherit}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent}
button {
  cursor:pointer;
  border:0}
button:disabled {
  cursor:not-allowed;
  opacity:.55}
button:focus-visible,a:focus-visible {
  outline:3px solid #688f28;
  outline-offset:4px}
a {
  color:inherit;
  text-decoration:none}
h1,h2,h3,p {
  margin:0}
h1 {
  font-size:clamp(1.9rem,3vw,2.6rem);
  line-height:1.15;
  letter-spacing:-.045em;
  max-width:650px;
  font-weight:650}
h2 {
  font-size:1.4rem;
  line-height:1.3;
  letter-spacing:-.025em}
h3 {
  font-size:1.13rem;
  line-height:1.4;
  letter-spacing:-.02em}
p {
  color:var(--muted);
  margin-top:10px}
small,.small {
  font-size:.875rem}
.muted {
  color:var(--muted)}
.eyebrow {
  font-size:.75rem;
  letter-spacing:.12em;
  font-weight:700;
  display:block;
  margin-bottom:14px}
.shell {
  display:flex;
  min-height:100vh}
.sidebar {
  width:255px;
  flex-shrink:0;
  background:#fff;
  border-right:1px solid var(--line);
  position:sticky;
  top:0;
  height:100vh;
  padding:34px 22px;
  display:flex;
  flex-direction:column}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.2rem;
  font-weight:750;
  letter-spacing:-.04em}
.brand small {
  font-size:.75rem;
  display:block;
  font-weight:400;
  letter-spacing:0;
  color:var(--muted);
  margin-top:2px}
.brand-mark {
  width:43px;
  height:43px;
  border-radius:13px;
  background:var(--green);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.6rem;
  position:relative;
  flex-shrink:0}
.brand-mark span {
  font-size:.875rem;
  color:var(--lime);
  align-self:flex-end;
  margin-bottom:4px}
.side-label {
  font-size:.75rem;
  letter-spacing:.14em;
  color:var(--muted);
  margin:52px 12px 14px}
.nav-item {
  display:flex;
  align-items:center;
  gap:13px;
  padding:13px 15px;
  border-radius:9px;
  width:100%;
  background:none;
  color:#65756f;
  text-align:left;
  margin:4px 0;
  font-size:.94rem;
  font-weight:550}
.nav-item>span {
  font-size:1.15rem;
  width:20px}
.nav-item.selected {
  background:#e9f0e7;
  color:var(--green)}
.nav-item:hover {
  background:#f0f4ed}
.nav-item b {
  margin-left:auto;
  background:var(--green);
  color:white;
  border-radius:6px;
  padding:1px 7px;
  font-size:.75rem}
.sidebar-bottom {
  margin-top:auto}
.profile {
  border-top:1px solid var(--line);
  display:flex;
  gap:10px;
  margin-top:22px;
  padding-top:22px;
  font-size:.875rem;
  font-weight:600}
.profile>span {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  background:#efe7dc;
  border-radius:50%}
.profile small {
  display:block;
  font-weight:400;
  font-size:.75rem;
  color:var(--muted)}
.main-shell {
  flex:1;
  min-width:0}
.topbar {
  height:76px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 42px;
  font-size:.875rem;
  color:var(--muted)}
.account-label {
  border:1px solid #ccd9ce;
  padding:6px 12px;
  border-radius:20px;
  font-size:.8rem}
main#main {
  max-width:1280px;
  padding:44px 42px 64px;
  margin:auto;
  min-height:calc(100vh - 150px)}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:32px}
.page-heading p {
  max-width:600px}
.page-heading .eyebrow {
  color:#657b64}
.pill {
  background:#e7eedf;
  white-space:nowrap;
  border-radius:20px;
  padding:9px 15px;
  color:#3d5b36;
  font-size:.875rem}
.hero-grid {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:20px;
  margin-bottom:36px}
.balance-panel,.goal-panel {
  border-radius:16px;
  padding:28px 30px}
.balance-panel {
  background:var(--green);
  color:#fff}
.balance-panel .eyebrow {
  color:#b4c9bb}
.big-number {
  font-size:4.4rem;
  font-weight:650;
  line-height:1.25;
  letter-spacing:-.06em}
.big-number span {
  font-size:1rem;
  font-weight:400;
  letter-spacing:0;
  margin-left:12px;
  color:#bdcec2}
.balance-bottom {
  display:flex;
  gap:22px;
  border-top:1px solid #41635a;
  padding-top:18px;
  margin-top:21px;
  font-size:.8rem;
  color:#d1dfd2}
.goal-panel {
  background:#e4edce;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center}
.goal-panel .eyebrow {
  color:#596b40}
.goal-panel h2 {
  max-width:320px;
  font-size:1.65rem}
.goal-panel .text-button {
  margin-top:14px;
  padding-left:0}
.goal-panel p {
  font-size:.9rem}
progress {
  display:block;
  width:100%;
  height:9px;
  margin-top:22px;
  border:0;
  border-radius:9px;
  overflow:hidden;
  background:#cbd6b5}
progress::-webkit-progress-bar {
  background:#cbd6b5}
progress::-webkit-progress-value {
  background:var(--green)}
progress::-moz-progress-bar {
  background:var(--green)}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:28px 0 18px}
.section-heading h2 span {
  font-size:.8rem;
  border-radius:8px;
  background:#e3e9df;
  padding:3px 8px;
  margin-left:6px}
.section-heading>.muted {
  font-size:.8rem}
.cards {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));
  gap:18px}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  display:flex;
  flex-direction:column;
  min-width:0}
.card-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:20px}
.category {
  font-size:.75rem;
  letter-spacing:.1em;
  color:#77847b;
  font-weight:700}
.points {
  font-weight:700;
  color:#2e573b;
  font-size:1.4rem;
  white-space:nowrap}
.points small {
  font-size:.8rem;
  font-weight:500}
.card p {
  font-size:.94rem;
  overflow-wrap:anywhere}
.card h3 {
  overflow-wrap:anywhere}
.meta {
  font-size:.8rem;
  margin-top:22px;
  color:#73816f}
.card-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:auto;
  padding-top:23px}
.primary,.secondary,.text-button {
  border-radius:8px;
  padding:11px 15px;
  font-size:.875rem;
  font-weight:600;
  min-height:44px}
.primary {
  background:var(--green);
  color:#fff}
.primary:hover {
  background:#27584b}
.secondary {
  background:#edf1e8;
  color:#345037;
  border:1px solid #d6dfce}
.secondary:hover {
  background:#e0e8d9}
.text-button {
  background:transparent;
  color:#426046;
  padding:8px}
.text-button:hover {
  background:#edf2e6}
.done {
  font-size:.875rem;
  color:#48713f;
  padding:11px 0}
.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  margin-bottom:30px}
.stats>div {
  padding:22px;
  border-right:1px solid var(--line)}
.stats>div:last-child {
  border:0}
.stats span {
  font-size:.8rem;
  color:var(--muted)}
.stats strong {
  display:block;
  font-size:2.1rem;
  letter-spacing:-.04em}
.stats strong.word {
  font-size:1.5rem}
.stats strong small {
  font-weight:400;
  color:var(--muted);
  letter-spacing:0}
.stats .text-button {
  padding:0;
  min-height:24px}
.entry {
  display:flex;
  align-items:center;
  gap:18px;
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px;
  margin-bottom:12px}
.entry-icon {
  height:46px;
  width:46px;
  display:grid;
  place-items:center;
  background:#e8efdf;
  color:#466639;
  border-radius:12px;
  flex-shrink:0;
  font-size:1.5rem}
.entry-icon.reward {
  background:#f3ead6;
  color:#84672a}
.entry-main {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere}
.entry-main p {
  font-size:.875rem;
  margin-top:5px}
.entry-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  max-width:260px}
.status.approved,.status.delivered {
  color:#47703a}
.status.pending {
  color:#8b6b2b}
.status.declined {
  color:#9b583c}
.feedback {
  background:#f4f5ef;
  border-radius:6px;
  padding:8px}
.reward-symbol {
  height:88px;
  background:#edf1e4;
  color:#789143;
  border-radius:9px;
  display:grid;
  place-items:center;
  font-size:3rem;
  margin-bottom:22px}
.reward:nth-child(3n+2) .reward-symbol {
  background:#f2ebdd;
  color:#a18143}
.reward:nth-child(3n+3) .reward-symbol {
  background:#e3ecea;
  color:#447769}
.empty {
  text-align:center;
  padding:42px 24px;
  background:#edf1eb;
  border:1px dashed #ccd7c8;
  border-radius:14px;
  margin:15px 0}
.empty-mark {
  background:#e0e8d7;
  display:grid;
  place-items:center;
  border-radius:50%;
  width:46px;
  height:46px;
  margin:0 auto 14px;
  font-size:1.4rem;
  color:#5a7648}
.empty p {
  max-width:430px;
  margin:8px auto 0;
  font-size:.94rem}
.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px}
.panel h2 {
  font-size:1.2rem}
.settings-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px}
.calendar {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px}
.day {
  background:#fff;
  border:1px solid var(--line);
  text-align:left;
  padding:12px 14px;
  border-radius:10px;
  display:flex;
  flex-direction:column;
  min-height:115px;
  color:#829086}
.day strong {
  font-size:1.65rem;
  color:#536252}
.day span {
  font-size:.75rem}
.day.here,.day.arrival,.day.departure {
  background:#e5edda;
  color:#4f6b39;
  border-color:#cbd7bd}
.day.is-today {
  outline:2px solid #416246;
  outline-offset:2px}
.day.here strong,.day.arrival strong,.day.departure strong {
  color:#284a2b}
.weekday-picker {
  display:flex;
  gap:8px;
  margin:18px 0;
  flex-wrap:wrap}
.weekday-picker label {
  margin:0}
.weekday-picker input {
  width:auto;
  position:absolute;
  opacity:0}
.weekday-picker span {
  display:block;
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:8px;
  cursor:pointer}
.weekday-picker input:checked+span {
  background:var(--green);
  color:#fff}
.weekday-picker input:focus-visible+span {
  outline:3px solid #8db442}
form {
  margin-top:20px}
label {
  display:block;
  font-size:.875rem;
  font-weight:600;
  margin:17px 0}
label small {
  display:block;
  color:var(--muted);
  font-weight:400;
  margin-top:7px}
input,select,textarea {
  display:block;
  width:100%;
  padding:11px 12px;
  border:1px solid #cbd6cc;
  background:#fff;
  border-radius:7px;
  margin-top:7px;
  color:#243d30;
  min-height:46px}
input:focus,select:focus,textarea:focus {
  outline:2px solid #8aa776;
  outline-offset:1px}
textarea {
  resize:vertical}
form>.primary {
  width:100%;
  margin-top:9px}
dialog {
  width:min(530px,calc(100% - 28px));
  max-height:90dvh;
  border:0;
  border-radius:16px;
  padding:28px;
  color:#20332f;
  box-shadow:0 30px 80px #102d3333}
dialog::backdrop {
  background:#10282188;
  backdrop-filter:blur(4px)}
.modal-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px}
.close {
  width:42px;
  height:42px;
  border-radius:50%;
  font-size:1.5rem;
  background:#f0f3ec;
  color:#53694f}
.two-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px}
.auth {
  max-width:440px;
  margin:8vh auto;
  padding:30px}
.auth>.eyebrow {
  margin-top:48px;
  font-size:.75rem}
.auth h1 {
  font-size:2.5rem}
.auth form {
  margin-top:30px}
.auth .primary {
  display:flex;
  justify-content:space-between}
.auth>.small {
  margin-top:24px;
  text-align:center}
footer {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding:20px 42px;
  color:#7f8a80;
  font-size:.75rem}
#toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translate(-50%,20px);
  background:#173b32;
  color:#fff;
  padding:14px 22px;
  border-radius:10px;
  box-shadow:0 8px 25px #0002;
  max-width:calc(100% - 30px);
  width:max-content;
  z-index:10000;
  opacity:0;
  pointer-events:none;
  transition:.2s}
#toast.visible {
  opacity:1;
  transform:translate(-50%,0)}
body.busy {
  cursor:progress}
body.busy button {
  pointer-events:none;
  opacity:.65}
.error {
  color:#a54331}
@media(min-width:1500px) {
  main#main {
  padding-top:60px}
.cards {
  grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1100px) {
  .sidebar {
  width:218px;
  padding:30px 16px}
main#main {
  padding:32px 25px}
.topbar {
  padding:0 25px}
.page-heading {
  align-items:flex-start}
.stats>div {
  padding:17px}
.balance-panel,.goal-panel {
  padding:24px}
.calendar {
  gap:6px}
.day {
  padding:9px}
.entry {
  flex-wrap:wrap}
.entry-actions {
  margin-left:64px;
  max-width:none}
.settings-grid {
  grid-template-columns:1fr}
}
@media(max-width:760px) {
  .shell {
  display:block}
.sidebar {
  position:relative;
  width:auto;
  height:auto;
  padding:16px 18px;
  border-right:0;
  border-bottom:1px solid var(--line)}
.brand small,.side-label,.profile {
  display:none}
.brand {
  font-size:1.08rem}
.brand-mark {
  width:34px;
  height:34px;
  border-radius:10px;
  font-size:1.3rem}
.sidebar nav {
  display:flex;
  gap:5px;
  overflow:auto;
  margin-top:14px}
.nav-item {
  white-space:nowrap;
  justify-content:center;
  padding:10px 12px;
  font-size:.8rem;
  min-height:44px;
  gap:5px}
.nav-item>span {
  font-size:1rem;
  width:auto}
.sidebar-bottom {
  position:absolute;
  right:14px;
  top:15px;
  display:flex;
  gap:4px}
.sidebar-bottom .nav-item {
  font-size:.75rem;
  padding:8px;
  min-height:36px;
  margin:0}
.sidebar nav .nav-item b {
  display:none}
.topbar {
  height:48px;
  padding:0 20px;
  font-size:.75rem}
.account-label {
  font-size:.75rem;
  padding:3px 8px}
main#main {
  padding:28px 18px 44px}
.page-heading {
  display:block;
  margin-bottom:24px}
.page-heading>button,.page-heading>.pill {
  display:inline-block;
  margin-top:16px}
.page-heading p {
  font-size:.94rem}
.hero-grid {
  grid-template-columns:1fr;
  gap:14px}
.balance-panel {
  padding:24px}
.big-number {
  font-size:4rem}
.balance-bottom {
  margin-top:15px}
.goal-panel {
  padding:23px}
.goal-panel h2 {
  max-width:none;
  font-size:1.35rem}
.goal-panel .eyebrow {
  margin-bottom:9px}
.cards {
  grid-template-columns:1fr}
.section-heading {
  align-items:flex-start}
.section-heading>.muted {
  max-width:120px;
  text-align:right}
.stats {
  grid-template-columns:1fr 1fr}
.stats>div:nth-child(2) {
  border:0}
.stats>div:nth-child(-n+2) {
  border-bottom:1px solid var(--line)}
.entry {
  padding:17px;
  gap:12px}
.entry-actions {
  margin-left:0;
  width:100%}
.entry-actions button {
  flex:1}
.entry-icon {
  width:38px;
  height:38px;
  border-radius:10px}
.calendar {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px}
.day {
  padding:10px;
  min-height:102px}
.section-heading>div {
  display:flex;
  gap:5px}
.section-heading>div button {
  font-size:.75rem;
  padding:8px}
.weekday-picker {
  gap:5px}
.weekday-picker span {
  padding:10px;
  font-size:.8rem}
.panel {
  padding:21px}
.section-heading h2 {
  font-size:1.25rem}
footer {
  padding:18px;
  font-size:.75rem}
footer span {
  max-width:180px;
  text-align:right}
dialog {
  padding:22px}
.auth {
  margin:4vh auto}
.two-fields {
  grid-template-columns:1fr}
.sidebar nav {
  scrollbar-width:none}
}
@media(prefers-reduced-motion:reduce) {
  * {
  transition:none!important}
}

.demo-note {
  background:#e4edce;
  border-radius:8px;
  padding:14px;
  font-size:.875rem;
  margin-top:18px}


/* Keep James's space focused on the task in front of him. */
.james-space .brand small,
.james-space .side-label,
.james-space .profile small,
.james-space footer,
.james-space .task .category {
  display: none;
}
.james-space .sidebar nav { margin-top: 32px; }
.james-space .topbar { display: none; }
.james-space .task .card-top { justify-content: flex-end; margin-bottom: 8px; }
.james-space .task p:empty { display: none; }
.away-day { border: 0; padding: 48px 24px; }
@media (max-width: 760px) {
  .james-space .sidebar nav { margin-top: 14px; }
}
.james-space:has(.demo-label) .topbar { display: flex; }

.expired-task { background: #f4f3ef; border-color: #d7d3c9; }
.expired-label:disabled { opacity: 1; color: #815427; background: #eee4d5; }
.expired-task .points { color: #756d61; }

.james-balance { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 28px; }
.james-balance h2 { font-size: 1.5rem; font-weight: 500; }
.james-balance h2 strong { color: var(--green); font-weight: 750; }
.james-balance .balance-note { font-size: .875rem; margin-top: 14px; }

.deduction-entry { background: #fff5f5; border-color: #edc5c5; }
.deduction-entry .entry-icon { background: #f9dddd; color: #a52626; }
.deduction-entry .category,
.deduction-entry h3,
.deduction-entry .entry-main p { color: #a52626; }

.when-picker {
  border:0;
  padding:0;
  margin:17px 0}
.when-picker legend {
  font-size:.875rem;
  font-weight:600;
  padding:0}
.when-picker .weekday-picker {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
  margin:8px 0}
.when-picker .weekday-picker span {
  text-align:center;
  white-space:nowrap;
  padding:10px 8px}
.when-picker label {
  margin:8px 0}
form>.add-another {
  width:100%;
  margin-top:9px}
.when-picker .weekday-picker label {
  margin:0}

.need-picker {
  margin-top:16px}
.field-label {
  display:block;
  font-size:.875rem;
  font-weight:600}
.need-tag {
  margin-right:auto;
  font-size:.75rem;
  font-weight:700;
  padding:3px 9px;
  border-radius:999px}
.need-tag.must {
  background:var(--green);
  color:#fff}
.need-tag.optional {
  background:#eef1ea;
  color:#56645b}
.card.must-task {
  border-left:4px solid var(--green)}
.card.optional-task {
  border-style:dashed;
  background:#fbfcf9}
