:root {
  color-scheme: light;
  --paper: #f5f6f2;
  --surface: #fff;
  --ink: #1b3027;
  --muted: #58665c;
  --border: #dce3da;
  --forest: #18342b;
  --forest-hover: #27483a;
  --sidebar: #172e27;
  --lime: #dbe8a6;
  --warm: #f7ebcf;
  --shadow: 0 3px 10px rgb(24 52 43 / 4%);
  --radius: 16px;
  --display: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.45 var(--sans); }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #a06d19;
  outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.skip-link { position: fixed; z-index: 10; inset: 10px auto auto 10px; padding: 10px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.board-page { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky;
  inset-block-start: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 32px 19px 21px;
  color: #eef3ec;
  background: var(--sidebar);
  z-index: 2;
}
.sidebar :focus-visible { outline-color: var(--lime); }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 6px 45px; text-decoration: none; width: max-content; }
.brand strong { font: 1.28rem/1 var(--display); }
.brand small { display: block; margin-top: 4px; color: #c0cec3; font-size: .77rem; }
.brand-mark {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border: 1px solid #e0edaa;
  border-radius: 11px;
  background: var(--lime);
  color: var(--forest);
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-top: 1.7px solid currentColor;
  border-left: 1.7px solid currentColor;
  border-radius: 2px 0 0;
  transform: translateY(-3px) rotate(45deg);
}
.brand-mark i { position: absolute; bottom: 9px; width: 13px; height: 12px; border: 1.7px solid currentColor; border-top: 0; border-radius: 0 0 2px 2px; }
.brand-mark i::after { content: ""; position: absolute; bottom: 0; left: 4px; height: 6px; border-left: 1.7px solid currentColor; }
.navigation { display: grid; gap: 6px; }
.navigation a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  min-height: 44px;
  border-radius: 9px;
  color: #dde6df;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.navigation a:hover { background: #253f35; }
.navigation a[aria-current="page"] { background: #344e3f; color: #f4f7e9; box-shadow: inset 2px 0 var(--lime); }
.navigation a[aria-current="page"] .nav-icon { color: var(--lime); }
.nav-icon { display: inline-block; position: relative; width: 16px; height: 16px; flex: 0 0 16px; }
.nav-icon::before, .nav-icon::after { content: ""; position: absolute; }
[data-icon="overview"]::before { top: 1px; left: 1px; width: 6px; height: 6px; border-radius: 1px; background: currentColor; box-shadow: 8px 0 currentColor, 0 8px currentColor, 8px 8px currentColor; }
[data-icon="tasks"]::before { inset: 1px; border: 1.5px solid currentColor; border-radius: 3px; }
[data-icon="tasks"]::after { top: 5px; left: 5px; width: 6px; height: 4px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
[data-icon="dates"]::before { inset: 2px 1px 1px; border: 1.5px solid currentColor; border-radius: 2px; }
[data-icon="dates"]::after { inset: 6px 1px auto; height: 1px; background: currentColor; }
[data-icon="budget"]::before { inset: 2px 0; border: 1.5px solid currentColor; border-radius: 3px; }
[data-icon="budget"]::after { top: 6px; right: 0; width: 6px; height: 5px; border: 1px solid currentColor; border-radius: 2px 0 0 2px; background: var(--sidebar); }
[data-icon="activity"]::before { inset: 1px; border: 1.5px solid currentColor; border-radius: 50%; }
[data-icon="activity"]::after { top: 4px; left: 7px; width: 4px; height: 5px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; }

.sidebar-bottom { margin-top: auto; }
.account { position: relative; border-top: 1px solid #385046; padding-top: 13px; }
.account summary { display: flex; align-items: center; gap: 9px; padding: 4px; cursor: pointer; list-style: none; }
.account summary::-webkit-details-marker { display: none; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; flex: none; background: #ded7bd; color: #2d3b2d; border-radius: 50%; font-weight: 800; font-size: .85rem; }
.account-copy { flex: 1; display: grid; font-size: .88rem; }
.account-copy small { color: #c0cec3; font-size: .74rem; }
.chevron { display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: 0 6px 4px 0; }
.account-menu { position: absolute; z-index: 4; bottom: calc(100% + 4px); inset-inline: 0; padding: 5px; background: white; color: var(--ink); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); }
.account-menu a, .account-menu button { display: block; width: 100%; text-align: left; border: 0; padding: 9px; border-radius: 6px; text-decoration: none; background: transparent; font-size: .88rem; }
.account-menu a:hover, .account-menu button:hover { background: var(--paper); }

.main-shell { min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 83px; padding: 14px clamp(22px, 3.5vw, 54px); border-bottom: 1px solid var(--border); background: #fbfcfa; }
.topbar-title { font-weight: 740; font-size: 1.06rem; }
.today { color: var(--muted); font-size: .85rem; margin-top: 2px; }
main { padding: 28px clamp(22px, 3.5vw, 54px) 56px; }
#view { max-width: 1370px; margin-inline: auto; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--forest);
  text-decoration: none;
  font-size: .89rem;
  font-weight: 680;
  white-space: nowrap;
}
.button:hover { background: #edf1eb; border-color: #b3c0b2; }
.button-primary { padding-inline: 14px; background: var(--forest); color: white; border-color: var(--forest); }
.button-primary:hover { background: var(--forest-hover); border-color: var(--forest-hover); }
.button-primary > span:first-child:not(:only-child) { font-size: 1.2rem; line-height: 1; }
.button-quiet { background: transparent; border-color: transparent; }
.button-small { min-height: 35px; padding: 5px 11px; font-size: .84rem; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.45rem; }
.icon-button:hover { border-color: var(--border); background: var(--paper); color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 254px); gap: 22px; align-items: end; position: relative; isolation: isolate; min-height: 225px; overflow: hidden; padding: 30px 33px; background: #24473a; color: #f3f6e9; border-radius: 20px; }
.hero h1 { max-width: 670px; font: 400 clamp(2.4rem, 4.8vw, 4.5rem)/.99 var(--display); letter-spacing: -.042em; }
.hero p { max-width: 530px; color: #dfebe0; margin-top: 14px; font-size: .96rem; }
.hero :focus-visible { outline-color: var(--lime); }
.hero::before, .hero::after { content: ""; z-index: -1; position: absolute; border: 1px solid rgb(218 233 180 / 28%); border-radius: 50%; pointer-events: none; }
.hero::before { width: 660px; height: 370px; top: -210px; right: -190px; transform: rotate(-15deg); box-shadow: 0 0 0 18px rgb(218 233 180 / 11%), 0 0 0 40px rgb(218 233 180 / 7%), 0 0 0 64px rgb(218 233 180 / 6%); }
.hero::after { width: 660px; height: 370px; bottom: -340px; right: -80px; transform: rotate(-14deg); box-shadow: 0 0 0 22px rgb(218 233 180 / 8%), 0 0 0 44px rgb(218 233 180 / 7%); }
.hero-date { display: grid; gap: 5px; padding: 16px 18px; background: rgb(255 255 255 / 12%); border-radius: 12px; border: 1px solid rgb(255 255 255 / 23%); color: inherit; text-decoration: none; }
.hero-date:hover { background: rgb(255 255 255 / 18%); }
.hero-date strong { font: 400 1.53rem/1.18 var(--display); }
.hero-date small { color: #e1ebdc; font-size: .83rem; }
.hero-date .hero-label { color: #e5edae; font-weight: 720; font-size: .8rem; }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 15px; }
.metric { display: grid; align-content: start; gap: 4px; border: 1px solid var(--border); border-radius: 13px; padding: 15px 17px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; }
a.metric:hover { border-color: #a6b9a9; background: #fcfdf9; }
.metric strong { font: 400 1.85rem/1.05 var(--display); color: var(--forest); overflow-wrap: anywhere; }
.metric > span:first-child { font-weight: 700; font-size: .89rem; }
.metric small { color: var(--muted); font-size: .79rem; }
.metric progress { width: 100%; height: 6px; appearance: none; border: none; border-radius: 20px; background: #e8eee5; color: #437255; margin-top: 5px; }
.metric progress::-webkit-progress-bar { background: #e8eee5; border-radius: 20px; }
.metric progress::-webkit-progress-value { background: #437255; border-radius: 20px; }
.metric progress::-moz-progress-bar { background: #437255; border-radius: 20px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 24px; }
.stack { display: grid; gap: 18px; }
.panel { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 17px 18px; border-bottom: 1px solid var(--border); }
.panel-head h2, .panel-head h3 { font: 400 1.42rem/1.13 var(--display); letter-spacing: -.02em; }
.panel-head p, .section-head p, .page-heading p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.action-link { text-decoration-thickness: 1px; text-underline-offset: 3px; color: #375643; font-size: .86rem; font-weight: 700; }
.panel-head .action-link { flex: none; }
.deadlines, .recent-activity { padding: 0 17px; }
.milestone-row { display: grid; grid-template-columns: 51px minmax(0, 1fr); align-items: start; gap: 11px; padding: 12px 0; }
.milestone-row + .milestone-row { border-top: 1px solid var(--border); }
.calendar-date { display: grid; align-content: center; min-height: 47px; padding: 3px; text-align: center; background: #ecf1e6; border-radius: 8px; font-size: .72rem; line-height: 1.1; text-transform: uppercase; color: #385740; font-weight: 750; }
.calendar-date strong { font: 400 1.28rem/1.1 var(--display); }
.milestone-text { min-width: 0; }
.milestone-row .row-name { display: block; margin-bottom: 4px; }
.row-name { display: inline; border: 0; border-radius: 4px; padding: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 680; overflow-wrap: anywhere; }
.row-name:hover { color: #39634c; text-decoration: underline; text-underline-offset: 3px; }
.recent-activity li { padding: 10px 0; font-size: .87rem; overflow-wrap: anywhere; }
.recent-activity li + li { border-top: 1px solid var(--border); }
.meta, .recent-activity small { color: var(--muted); font-size: .79rem; }
.muted { color: var(--muted); }
.empty { padding: 20px; color: var(--muted); }
.loading { padding: 31px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--muted); }

.page-heading, .section-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 19px; }
.page-heading h1 { font: 400 clamp(2.1rem, 4.4vw, 3.25rem)/1 var(--display); letter-spacing: -.039em; }
.section-head h2 { font: 400 1.65rem/1.1 var(--display); letter-spacing: -.022em; }
.filter-bar { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(135px, 1fr)); gap: 12px; padding: 14px; margin-bottom: 20px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; font-size: .88rem; font-weight: 650; }
.field input, .field textarea, .field select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #bdc9bd;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 430;
}
.field input[type="date"] { appearance: none; }
.field textarea { min-height: 105px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 29px;
  background-image: linear-gradient(45deg, transparent 50%, #5c6d61 50%), linear-gradient(135deg, #5c6d61 50%, transparent 50%);
  background-position: calc(100% - 16px) 51%, calc(100% - 11px) 51%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field input[type="checkbox"] { width: 18px; height: 18px; min-height: auto; margin: 0; accent-color: var(--forest); }
.field-check { display: flex; align-items: center; gap: 8px; padding-block: 6px; }
.group + .group { margin-top: 13px; }
.group-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 17px; gap: 8px; border-bottom: 1px solid var(--border); }
.group-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 1rem; font-weight: 730; }
.group-head .button { font-size: .78rem; min-height: 32px; }
.count { padding: 2px 7px; border-radius: 5px; background: #e9efea; color: #425348; font: 650 .76rem var(--sans); }
.task-items > li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px 16px; }
.task-items > li + li { border-top: 1px solid var(--border); }
.task-items .task-title { min-width: 0; }
.task-items .row-name { font-size: .95rem; }
.task-items .task-done .row-name { color: var(--muted); text-decoration: line-through; }
.task-items .meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.task-items .badges { display: flex; justify-content: end; flex-wrap: wrap; gap: 5px; }
.task-toggle { position: relative; min-width: 34px; min-height: 34px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #3b684b; }
.task-toggle:hover { background: #e7f0e5; }
.task-toggle::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid #86988a; border-radius: 5px; }
.task-toggle[aria-pressed="true"]::before { background: #466f52; border-color: #466f52; }
.task-toggle[aria-pressed="true"]::after { content: ""; position: absolute; left: 12px; top: 12px; width: 10px; height: 6px; border: solid white; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; background: #edf0ec; border-radius: 5px; color: #4b5a4e; font-size: .74rem; line-height: 1.55; font-weight: 720; }
.tag-high, .tag-overdue { color: #8a3e2e; background: #f6e7dd; }
.tag-doing, .tag-planned { color: #335674; background: #e7eff7; }
.tag-waiting, .tag-open-issue { color: #72510f; background: #f7ebcf; }
.tag-done, .tag-confirmed { color: #325c40; background: #e4efe2; }
.date-overdue { color: #8a3e2e; font-weight: 720; }
.compact .task-items > li { padding-inline: 11px; }
.compact .task-items > li .tag-high { display: none; }

.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact-card { min-width: 0; padding: 15px; overflow-wrap: anywhere; }
.fact-card h3 { font-size: .95rem; }
.fact-card .fact-value { margin: 8px 0 7px; font: 400 1.29rem/1.2 var(--display); }
.fact-card .description, .milestone-row .description, .budget-list .description { margin-top: 7px; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .88rem; }
.view-section + .view-section { margin-top: 27px; }
.view-section .deadlines { padding-inline: 18px; }
.view-section .milestone-row { padding-block: 13px; }
.budget-metrics { margin: 0 0 20px; }
.budget-list li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(86px, .7fr) minmax(86px, .7fr) minmax(76px, .5fr); align-items: start; padding: 12px 17px; gap: 10px; }
.budget-list li + li { border-top: 1px solid var(--border); }
.budget-list li > span { text-align: right; overflow-wrap: anywhere; }
.budget-list .budget-head { color: var(--muted); font-size: .8rem; font-weight: 700; }
.budget-list .budget-title { min-width: 0; overflow-wrap: anywhere; }
.budget-list .cost-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.budget-list .description { margin-top: 3px; }
.budget-list .amount { font-variant-numeric: tabular-nums; font-weight: 650; }
.activity-list { padding-inline: 18px; }
.activity-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; align-items: baseline; padding: 13px 0; overflow-wrap: anywhere; }
.activity-list li + li { border-top: 1px solid var(--border); }
.activity-list .meta { grid-column: 1; }
.activity-list time { grid-column: 2; grid-row: 1 / span 2; text-align: right; }

.status-region:not(:empty) { position: fixed; right: 20px; bottom: 20px; z-index: 3; max-width: min(360px, calc(100vw - 40px)); padding: 11px 15px; border-radius: 8px; background: var(--forest); color: white; box-shadow: 0 5px 20px #19352a33; font-size: .89rem; }
.status-region[data-error="true"] { background: #862f26; }
.editor { width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 80px #142c2666; }
.editor::backdrop { background: #10251e88; }
.editor form { display: grid; min-width: 0; }
.editor-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px; background: var(--surface); border-bottom: 1px solid var(--border); }
.editor-head h2 { font: 400 1.58rem/1.12 var(--display); }
.editor-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; padding: 16px 18px; }
.editor-fields .field-wide { grid-column: 1 / -1; }
.editor-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; padding: 10px 18px; background: var(--surface); border-top: 1px solid var(--border); }
.editor-actions .button-danger { margin-right: auto; color: #862f26; }
.button-danger:hover { background: #fff1ed; border-color: #e9cdc7; }
.editor-actions .confirm-text { flex-basis: 100%; color: #862f26; font-size: .88rem; }
.form-error { margin: 0 18px 13px; padding: 8px 10px; border-radius: 7px; background: #f9e8e3; color: #862f26; font-size: .9rem; }
.noscript { padding: 16px; }

.login-page { min-height: 100dvh; display: grid; align-content: center; justify-items: center; padding: 24px; background: var(--paper); }
.login-card { width: min(100%, 440px); padding: clamp(22px, 5vw, 36px); border: 1px solid var(--border); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.login-card h1 { font: 400 2.2rem/1.05 var(--display); letter-spacing: -.035em; margin-bottom: 12px; }
.login-card p { margin: 9px 0; color: var(--muted); }
.login-card form { display: grid; gap: 12px; margin-top: 15px; }
.login-card .form-error { margin-inline: 0; }

@media (max-width: 1050px) {
  .board-page { grid-template-columns: 188px minmax(0, 1fr); }
  .sidebar { padding-inline: 13px; }
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 830px) {
  .board-page { display: block; }
  .sidebar { position: sticky; height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 10px; padding: 10px 16px 5px; }
  .brand { margin: 0; }
  .brand-mark { width: 33px; height: 33px; }
  .brand strong { font-size: 1.15rem; }
  .brand-mark i { bottom: 7px; }
  .sidebar-bottom { grid-row: 1; grid-column: 2; align-self: center; margin: 0; }
  .account { border: 0; padding: 0; }
  .account-copy, .account .chevron { display: none; }
  .account-menu { top: calc(100% + 5px); bottom: auto; right: 0; left: auto; min-width: 147px; }
  .navigation { grid-column: 1 / -1; display: flex; gap: 5px; min-width: 0; overflow: auto; }
  .navigation a { min-height: 38px; padding: 7px 8px; gap: 6px; border-radius: 7px; font-size: .8rem; }
  .navigation a[aria-current="page"] { box-shadow: inset 0 -2px var(--lime); }
  .navigation a:focus-visible { outline-offset: -3px; }
  .nav-icon { transform: scale(.9); }
  .topbar { min-height: 70px; padding: 9px 17px; }
  main { padding: 18px 16px 45px; scroll-margin-top: 105px; }
}
@media (max-width: 590px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 17px; padding: 25px 21px 20px; border-radius: 15px; align-items: start; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .hero p { font-size: .89rem; margin-top: 10px; }
  .hero-date { padding: 10px 12px; gap: 2px; }
  .hero-date strong { font-size: 1.27rem; }
  .metrics { gap: 6px; margin-top: 9px; }
  .metric { padding: 10px 7px; gap: 5px; border-radius: 9px; }
  .metric > span:first-child { font-size: .75rem; }
  .metric strong { font-size: clamp(.96rem, 4.5vw, 1.25rem); }
  .metric small { font-size: .7rem; }
  .detail-grid { display: block; margin-top: 15px; }
  .detail-grid .stack { margin-top: 14px; }
  .panel-head { padding: 13px 12px; }
  .panel-head h2, .panel-head h3 { font-size: 1.3rem; }
  .task-items > li { gap: 5px; padding-inline: 7px; }
  .task-items .badges { max-width: 86px; }
  .task-items .row-name { font-size: .89rem; }
  .tag { font-size: .69rem; }
  .page-heading { align-items: center; }
  .filter-bar { padding: 10px; gap: 8px; }
  .facts-grid { grid-template-columns: 1fr; }
  .budget-metrics { margin: 0 0 15px; }
  .budget-list .budget-head { display: none; }
  .budget-list li { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 11px; }
  .budget-list .budget-title { grid-column: 1 / -1; }
  .budget-list li > span { text-align: left; font-size: .88rem; }
  .budget-list .cost-label { position: static; display: block; width: auto; height: auto; clip-path: none; font-size: .72rem; color: var(--muted); }
  .section-head { align-items: center; }
  .section-head h2 { font-size: 1.4rem; }
  .activity-list li { grid-template-columns: minmax(0, 1fr); }
  .activity-list time { grid-column: 1; grid-row: auto; text-align: left; }
}
@media (max-width: 370px) {
  .sidebar { padding-inline: 9px; }
  .topbar, main { padding-inline: 10px; }
  .task-items .meta { gap: 3px; }
}

.budget-limit { color: inherit; text-align: start; }
.budget-limit:hover { border-color: #a6b9a9; background: #fcfdf9; }

.login-symbol {
  display: inline-grid;
  width: 47px;
  height: 47px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--forest);
  background: var(--lime);
  border-radius: 12px;
}
.login-card > .field { margin-block: 15px 9px; }
.login-card .form-error { color: #862f26; }
.login-card form .button-primary { margin-top: 3px; }
.login-card > p:last-child a { color: var(--forest); font-size: .88rem; text-underline-offset: 3px; }
.login-card .button-google {
  width: 100%;
  margin-top: 12px;
  gap: 10px;
  border-color: #747775;
  background: #fff;
  color: #1f1f1f;
  font: 500 .875rem/1.25rem "Google Sans", var(--sans);
}
.login-card .button-google:hover { background: #f8faff; }
.login-card .button-google:focus-visible { outline-color: #1a73e8; }
.login-card .button-google :is(svg, img) { width: 18px; height: 18px; flex: 0 0 18px; }

@media (max-width: 520px) {
  .navigation { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin-inline: -3px; }
  .navigation a { justify-content: center; padding-inline: 2px; }
  .navigation .nav-icon { display: none; }
}
@media (max-width: 370px) {
  .navigation a { font-size: .74rem; }
}
