/* Ethicora. Dashboard shell in watercolour: soft washes, pastel tones, deep slate ink. */

:root {
  --bg: #f6f3ee;                 /* warm paper */
  --surface: rgba(255, 255, 255, .78);
  --surface-solid: #fffdf9;
  --surface-2: #f3efe8;
  --ink: #33403f;                /* deep slate, never pure black */
  --muted: #7d8886;
  --line: #e6e0d6;
  --side: #e3eae2;               /* pale sage wash for the sidebar */
  --side-ink: #33403f;
  --side-muted: #7d8886;
  --sage: #a9c5b3;
  --sage-deep: #6f9a84;
  --sage-soft: #e1ede5;
  --blush: #e9bfc0;
  --blush-deep: #c48a90;
  --blush-soft: #f7e6e6;
  --sand: #f0dfbb;
  --sand-deep: #b8985a;
  --sand-soft: #f9f0dc;
  --sky: #bfd3e4;
  --sky-deep: #6f93b3;
  --sky-soft: #e6eef5;
  --lilac: #d3cbe4;
  --lilac-deep: #8f83b3;
  --lilac-soft: #ece8f3;
  --danger: #b86b6b;
  --shadow: 0 10px 30px rgba(60, 70, 60, .07);
  --shadow-lg: 0 24px 60px rgba(60, 70, 60, .12);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --sans: "Inter", "SF Pro Text", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f2422;
    --surface: rgba(44, 50, 48, .82);
    --surface-solid: #2c3230;
    --surface-2: #343b38;
    --ink: #eceae4;
    --muted: #a3aba7;
    --line: #3d4542;
    --side: #262c2a;
    --side-ink: #eceae4;
    --side-muted: #a3aba7;
    --sage: #6f9a84;
    --sage-deep: #a9c5b3;
    --sage-soft: #33453c;
    --blush: #b3888c;
    --blush-deep: #e9bfc0;
    --blush-soft: #4a3a3c;
    --sand: #b8a06a;
    --sand-deep: #f0dfbb;
    --sand-soft: #4a4232;
    --sky: #7c9bb6;
    --sky-deep: #bfd3e4;
    --sky-soft: #33404a;
    --lilac: #9a8fbd;
    --lilac-deep: #d3cbe4;
    --lilac-soft: #3d3948;
    --shadow: 0 10px 30px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  /* watercolour washes bleeding into the paper */
  background-image:
    radial-gradient(60rem 40rem at 85% -10%, rgba(191, 211, 228, .55), transparent 60%),
    radial-gradient(50rem 36rem at -10% 40%, rgba(169, 197, 179, .45), transparent 60%),
    radial-gradient(48rem 40rem at 70% 110%, rgba(233, 191, 192, .40), transparent 60%),
    radial-gradient(40rem 30rem at 30% 90%, rgba(240, 223, 187, .40), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 .9rem; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; padding: .5rem 1rem; background: var(--ink); color: var(--surface-solid); z-index: 20; }
.skip:focus { left: 1rem; top: 1rem; }
.icon { vertical-align: middle; flex: none; }

/* ------------------------------------------------------------ shell */
.shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  color: var(--side-ink);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: .25rem;
  background-color: var(--side);
  background-image:
    radial-gradient(30rem 24rem at 20% 0%, rgba(191, 211, 228, .55), transparent 65%),
    radial-gradient(28rem 30rem at 90% 100%, rgba(233, 191, 192, .35), transparent 65%);
  border-right: 1px solid rgba(255,255,255,.5);
}
.brand { display: flex; align-items: center; gap: .7rem; font-size: 1.45rem; font-weight: 700; padding: .25rem .5rem; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--sage), var(--sky) 55%, var(--blush)); color: var(--ink); }
.sidebar-rule { height: 1px; background: rgba(51,64,63,.12); margin: 1.4rem 0 1.6rem; }

.user-chip {
  display: flex; align-items: center; gap: .8rem;
  padding: .6rem .7rem; border-radius: 16px;
  background: rgba(255,255,255,.55); margin-bottom: 1.8rem;
}
.user-chip:hover { background: rgba(255,255,255,.8); }
.user-name { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chev { color: var(--side-muted); display: inline-flex; }

.avatar {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-solid); color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  border: 3px solid transparent; flex: none;
}
.avatar.lg { width: 64px; height: 64px; font-size: 1.1rem; }
.ring-purple { box-shadow: 0 0 0 2px var(--lilac); background: var(--lilac-soft); }
.ring-pink { box-shadow: 0 0 0 2px var(--blush); background: var(--blush-soft); }
.ring-yellow { box-shadow: 0 0 0 2px var(--sand); background: var(--sand-soft); }

.nav-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--side-muted); margin: 1.2rem .6rem .5rem; font-weight: 600; }
.nav { display: flex; flex-direction: column; gap: .2rem; }
.nav a, .nav-form button {
  display: flex; align-items: center; gap: .9rem;
  padding: .75rem .8rem; border-radius: 16px;
  color: var(--side-ink); font: inherit; font-weight: 500; font-size: .95rem;
  background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
}
.nav a .icon, .nav-form button .icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--side-ink); }
.nav a:hover, .nav-form button:hover { background: rgba(255,255,255,.5); }
.nav a.active { background: var(--surface-solid); color: var(--ink); box-shadow: var(--shadow); }
.nav a.active .icon { background: var(--sage-soft); color: var(--sage-deep); }
.sidebar-foot { margin-top: auto; padding: 1.5rem .5rem 0; font-size: .78rem; color: var(--side-muted); }

.main { padding: 2.5rem 3rem 4rem; min-width: 0; }

/* ------------------------------------------------------------ topbar */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.hero { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.hero em { font-style: normal; color: var(--sage-deep); }
.topbar-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.pill, button.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.3rem; border-radius: 16px;
  background: var(--surface-solid); color: var(--ink); border: 1px solid var(--line);
  font: inherit; font-weight: 500; font-size: .92rem; cursor: pointer; box-shadow: var(--shadow);
}
.pill:hover { border-color: var(--sage-deep); color: var(--sage-deep); }
.pill.icon-only { padding: .8rem; }
.pill.dark { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.pill.dark:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.accent { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.pill.accent:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.sm { padding: .55rem .95rem; font-size: .85rem; border-radius: 12px; box-shadow: none; }
.pill.ghost { background: transparent; box-shadow: none; }
.pill.danger:hover { border-color: var(--danger); color: var(--danger); }
.pill.disabled { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------------ grid and cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.row { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.row > * { flex: 1 1 14rem; }

/* Stat cards: a pastel wash with a lighter cloud bleeding in from the right. */
.stat {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: 1.4rem 1.6rem; min-height: 170px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--ink); box-shadow: var(--shadow);
}
.stat::after {
  content: ""; position: absolute; right: -20%; top: -20%; width: 75%; height: 150%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,.35) 60%, transparent);
  filter: blur(6px);
}
.stat::before {
  content: ""; position: absolute; left: -10%; bottom: -30%; width: 55%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent);
  filter: blur(10px);
}
.stat > * { position: relative; z-index: 1; }
.stat.purple { background: linear-gradient(135deg, var(--lilac), var(--sky)); }
.stat.pink { background: linear-gradient(135deg, var(--blush), var(--sand)); }
.stat.yellow { background: linear-gradient(135deg, var(--sand), var(--sage)); }
.stat.dark { background: linear-gradient(135deg, var(--sage), var(--sky)); }
.stat-label { font-size: .8rem; font-weight: 600; display: inline-flex; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.55); width: max-content; color: var(--ink); }
.stat-value { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.stat-sub { font-size: .85rem; opacity: .8; margin-top: .4rem; }
.stat-topright { position: absolute; right: 1.3rem; top: 1.3rem; z-index: 1; font-size: .75rem; opacity: .85; }

.tile {
  position: relative; border-radius: var(--r-xl); padding: 1.4rem 1.5rem; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink); box-shadow: var(--shadow); overflow: hidden;
}
.tile::after { content: ""; position: absolute; right: -15%; top: -30%; width: 60%; height: 90%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.6), transparent); filter: blur(8px); }
.tile > * { position: relative; z-index: 1; }
.tile.purple { background: linear-gradient(135deg, var(--lilac-soft), var(--lilac)); }
.tile.pink { background: linear-gradient(135deg, var(--blush-soft), var(--blush)); }
.tile.yellow { background: linear-gradient(135deg, var(--sand-soft), var(--sand)); }
.tile.dark { background: linear-gradient(135deg, var(--sage-soft), var(--sage)); }
.tile.soft { background: var(--surface); }
.tile-icon { position: absolute; top: 1.2rem; right: 1.2rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.8); color: var(--ink); }
.tile-label { font-weight: 600; font-size: 1.05rem; }
.tile-sub { font-size: .85rem; opacity: .8; }
.tile-value { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; margin: .2rem 0; }
.tile.link:hover { transform: translateY(-2px); transition: transform .15s; }

/* ------------------------------------------------------------ panels */
.panel { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.6); }
.panel-head { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; }
.panel-head h2 { font-size: 1.15rem; font-weight: 600; flex: 1; }
.panel-head .meta { flex: none; }
.panel-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.panel-icon.purple { background: var(--lilac-soft); color: var(--lilac-deep); }
.panel-icon.pink { background: var(--blush-soft); color: var(--blush-deep); }
.panel-icon.yellow { background: var(--sand-soft); color: var(--sand-deep); }
.panel-tools { display: flex; gap: .5rem; align-items: center; }
.panel-body { padding: .25rem 1.5rem 1.5rem; }
.panel.collapsed .panel-body { display: none; }
.panel-toggle { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.panel-toggle:hover { background: var(--sage-soft); color: var(--sage-deep); }

.prose p { max-width: 62ch; color: var(--ink); font-size: 1rem; }
.prose .lead { font-size: 1.2rem; font-weight: 500; }
.meta, .hint, .quiet { color: var(--muted); font-size: .88rem; }
.hint { margin: -.2rem 0 .6rem; }
.notice { display: flex; gap: .8rem; align-items: center; padding: .9rem 1.1rem; border-radius: var(--r-md); background: var(--sage-soft); color: var(--sage-deep); font-weight: 500; font-size: .92rem; }
.notice.warn { background: var(--sand-soft); color: var(--sand-deep); }
.notice.pink { background: var(--blush-soft); color: var(--blush-deep); }
.verified { color: var(--sage-deep); font-weight: 600; font-size: .82rem; }
.verified::before { content: "✓ "; }

/* chips and states */
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.chip.open, .chip.approved, .chip.accepted, .chip.done, .chip.sent { background: var(--sage-soft); color: var(--sage-deep); }
.chip.selective, .chip.pending, .chip.in_progress, .chip.active, .chip.draft, .chip.waitlisted { background: var(--sand-soft); color: var(--sand-deep); }
.chip.closed, .chip.declined, .chip.rejected, .chip.completed, .chip.upcoming, .chip.suppressed { background: var(--blush-soft); color: var(--blush-deep); }

/* ------------------------------------------------------------ lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list .grow { flex: 1; min-width: 12rem; }
.list .title { font-weight: 600; }
.list form.inline { display: inline; }

.people { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: .5rem 0 .25rem; }
.person { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 96px; text-align: center; }
.person .avatar { width: 68px; height: 68px; font-size: 1rem; }
.person span.name { font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--surface-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.person.add .avatar { background: var(--surface-2); color: var(--muted); box-shadow: 0 0 0 2px var(--line); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; border: 1px solid rgba(255,255,255,.6); }
.card:hover { box-shadow: var(--shadow-lg); }
.card-top { display: flex; align-items: center; gap: .9rem; }
.card h2, .card h3 { font-size: 1.05rem; font-weight: 600; }
.card p { margin: 0; }
.card .card-foot { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: auto; padding-top: .5rem; }

.dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.5rem; margin: 0; }
.dl dt { color: var(--muted); font-size: .88rem; }
.dl dd { margin: 0; }
.dl.stacked { grid-template-columns: 1fr; gap: .2rem; }
.dl.stacked dt { margin-top: 1rem; font-weight: 600; color: var(--ink); }
.dl.stacked dd { white-space: pre-line; }

.amounts { display: flex; flex-wrap: wrap; gap: .8rem; }
.amount { padding: 1.2rem 1.6rem; border-radius: var(--r-lg); background: var(--surface-solid); border: 1px solid var(--line); font-weight: 600; font-size: 1.15rem; box-shadow: var(--shadow); }

/* ------------------------------------------------------------ forms */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form h2 { font-size: 1.05rem; font-weight: 600; margin-top: 1rem; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field legend { padding: 0; }
.field label.choice { font-weight: 500; display: flex; gap: .6rem; align-items: center; padding: .6rem .9rem; border-radius: var(--r-md); border: 1px solid var(--line); margin: 0 0 .45rem; cursor: pointer; background: var(--surface-solid); }
.field label.choice:has(input:checked) { border-color: var(--sage-deep); background: var(--sage-soft); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .45rem; }
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface-solid);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem 1rem;
}
input:focus, textarea:focus, select:focus { border-color: var(--sage-deep); outline: none; box-shadow: 0 0 0 3px var(--sage-soft); }
input:disabled { color: var(--muted); background: var(--surface-2); }
textarea { resize: vertical; min-height: 6rem; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--sage-deep); width: 1.05rem; height: 1.05rem; margin: 0; }
.field-error, .form-error { color: var(--danger); font-size: .88rem; margin: .4rem 0 0; font-weight: 500; }
.form-error { padding: .8rem 1rem; border-radius: var(--r-md); background: var(--blush-soft); margin: 0; }
[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-show-for] { display: none; }
[data-show-for].visible { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.inline-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.inline-row input[type="text"] { flex: 1 1 14rem; width: auto; }
.inline-row select { width: auto; }
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .9rem; align-items: end; }
.filters label { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }

/* ------------------------------------------------------------ project workspace */
.phases { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.phase { flex: 1 1 150px; border-radius: var(--r-lg); padding: 1rem 1.1rem; background: var(--surface-2); display: flex; flex-direction: column; gap: .4rem; min-height: 110px; }
.phase-upcoming { color: var(--muted); }
.phase-active { background: linear-gradient(135deg, var(--sage-soft), var(--sage)); color: var(--ink); }
.phase-done { background: var(--sand-soft); }
.phase-num { font-size: .72rem; font-weight: 700; letter-spacing: .08em; opacity: .7; }
.phase-title { font-weight: 600; }
.phase form { margin-top: auto; }

.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.task:first-child { border-top: 0; }
.task-title { flex: 1; font-weight: 500; }
.task-done .task-title { color: var(--muted); text-decoration: line-through; }
button.check { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: var(--surface-solid); cursor: pointer; display: grid; place-items: center; color: #fff; padding: 0; flex: none; }
.task-done button.check { background: var(--sage-deep); border-color: var(--sage-deep); }

.updates { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.update { display: flex; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: var(--surface-2); }
.update .avatar { width: 38px; height: 38px; font-size: .75rem; }
.update-system { background: transparent; border: 1px dashed var(--line); }
.update-system p:last-child { color: var(--muted); }
.update p { margin: 0 0 .2rem; white-space: pre-line; }

.draft-body { white-space: pre-wrap; font: inherit; font-size: .92rem; background: var(--surface-2); border-radius: var(--r-md); padding: 1rem 1.1rem; overflow-x: auto; margin: .5rem 0 0; }
.review-questions { border-radius: var(--r-lg); background: var(--sky-soft); color: var(--ink); padding: 1.1rem 1.4rem; }
.review-questions ol { margin: .4rem 0 .4rem 1.2rem; padding: 0; }
details summary { cursor: pointer; color: var(--muted); font-size: .9rem; }

.sidebar-foot a { color: var(--side-ink); text-decoration: underline; text-underline-offset: 3px; }
.page-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.page-foot nav { display: flex; gap: 1.25rem; }
.page-foot a { color: var(--muted); }
.page-foot a:hover { color: var(--ink); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-side { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; padding: 1.25rem 1rem; border-right: 0; }
  .sidebar-rule { margin: 1rem 0; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .nav a, .nav-form button { width: auto; padding: .5rem .7rem; }
  .nav-form { display: inline; }
  .nav-label { margin: .6rem .4rem .3rem; }
  .sidebar-foot { display: none; }
  .user-chip { margin-bottom: .6rem; }
  .main { padding: 1.5rem 1.1rem 3rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat { min-height: 140px; }
}
