/* Home Base — household dashboard skeleton */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #23211c;
  --muted: #6f6a5e;
  --line: #e6e1d5;
  --accent: #b3541e;      /* warm terracotta */
  --accent-soft: #f6e8dc;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-size: 28px;
  background: var(--accent-soft);
  color: var(--accent);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.brand h1 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.tagline { margin: 0; color: var(--muted); font-size: 14px; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.tab:hover { background: var(--accent-soft); color: var(--ink); }
.tab.active {
  background: var(--ink);
  color: #fff;
}

/* Panels */
main { padding-top: 28px; padding-bottom: 60px; }
.panel { display: none; }
.panel.active { display: block; animation: fade .18s ease-in; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.01em; }
.lede { color: var(--muted); margin: 0 0 24px; max-width: 640px; }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-cta { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 14px; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { border-color: var(--accent); }

/* Empty states */
.empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
}
.empty h3 { margin: 0 0 10px; color: var(--ink); font-size: 17px; }
.empty-state {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.empty-state p { margin: 0; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 6px 0 6px 30px; position: relative; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 14px; height: 14px;
  border: 2px solid var(--line);
  border-radius: 4px;
}

/* Project board */
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.board-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.board-col h3 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  h2 { font-size: 22px; }
}
