@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #1f3145;
  --ink-soft: #52687b;
  --muted: #7a8a98;
  --line: #e1e7ec;
  --line-strong: #cbd5dd;
  --paper: #f4f6f8;
  --surface: #ffffff;
  --teal: #ff6b31;
  --teal-dark: #e95723;
  --teal-wash: #fff0e8;
  --rust: #e95723;
  --rust-wash: #fff0e8;
  --shadow: 0 8px 24px rgba(31, 49, 69, .045);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 14px/1.55 Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }

.topbar {
  height: 68px;
  padding: 0 max(calc((100vw - 1180px) / 2), 28px);
  background: var(--ink);
  color: #f6f5ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .1px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: white;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -.4px;
}
.brand small { display: block; margin-top: 1px; color: #aeb9b3; font-size: 10px; font-weight: 450; letter-spacing: .4px; }
.topbar nav { display: flex; align-items: center; gap: 23px; font-size: 12px; }
.topbar nav a, .link-button { color: #d0d5d0; text-decoration: none; }
.topbar nav a:hover, .link-button:hover { color: #fff; }
.signed-in { color: #9da9a3; font-size: 11px; }
.signed-in strong { color: #f4f5f0; font-weight: 550; }
.inline-form { display: inline; }
.link-button { padding: 0; border: 0; background: none; cursor: pointer; font-size: 12px; }

.container { width: min(1180px, calc(100% - 52px)); margin: 46px auto 72px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 29px; }
.eyebrow { margin-bottom: 8px; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: 1.35px; text-transform: uppercase; }
.page-heading h1, .auth-card h1 {
  margin: 0 0 8px;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.12;
}
.page-heading p, .auth-card > p { max-width: 590px; margin: 0; color: var(--ink-soft); font-size: 13px; }
.stats { display: flex; align-items: center; gap: 0; padding: 0 0 3px; }
.stats div { min-width: 76px; padding: 2px 15px; border-left: 1px solid var(--line-strong); text-align: left; }
.stats div:first-child { border-left: 0; }
.stats strong { display: block; font-size: 20px; line-height: 1.1; font-weight: 650; letter-spacing: -.6px; }
.stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .8px; text-transform: uppercase; }

.workspace { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 34px; align-items: start; }
.panel { padding: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel h2, .list-heading h2 { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: -.15px; }
.add-panel h2 { margin-bottom: 18px; }
.form-stack { display: flex; flex-direction: column; gap: 15px; }
.form-stack label { display: grid; gap: 6px; color: #394743; font-size: 11px; font-weight: 650; }
.form-stack label small { display: inline; color: var(--muted); font-size: 10px; font-weight: 450; }
.form-stack input, .form-stack textarea, .form-stack select {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(23,108,99,.12); }
.form-stack textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.button { padding: 10px 13px; border: 1px solid var(--teal); border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: 650; }
.button.primary { background: var(--teal); color: white; }
.button.primary:hover { border-color: var(--teal-dark); background: var(--teal-dark); }
.button span { float: right; font-size: 15px; line-height: 14px; }

.wish-section { min-width: 0; }
.list-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 0 0 13px; border-bottom: 1px solid var(--line-strong); }
.list-heading h2 { font-size: 17px; }
.list-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.filters { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.filters a { padding: 0 0 4px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 11px; }
.filters a:hover { color: var(--ink); }
.filters a.active { border-color: var(--teal); color: var(--teal-dark); font-weight: 650; }
.wish-list { display: grid; }
.wish-card { display: flex; justify-content: space-between; gap: 16px; padding: 18px 4px 17px; border-bottom: 1px solid var(--line); }
.wish-card:first-child { padding-top: 18px; }
.wish-card.complete .wish-title-row h3 { color: #75817c; }
.wish-main { min-width: 0; flex: 1; }
.wish-title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.wish-title-row h3 { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: -.1px; }
.priority { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .65px; text-transform: uppercase; }
.priority.hoog { color: var(--rust); }
.priority.laag { color: #929a94; }
.description { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; white-space: normal; }
.meta { margin: 8px 0 12px; color: #929993; font-size: 10px; }
.status-form { display: flex; flex-wrap: wrap; gap: 18px; }
.check-item { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: #53615b; font-size: 11px; }
.check-item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.checkmark { position: relative; display: inline-block; width: 15px; height: 15px; border: 1px solid #aeb7b0; background: white; }
.check-item input:checked + .checkmark { border-color: var(--teal); background: var(--teal); }
.check-item input:checked + .checkmark::after { position: absolute; top: 1px; left: 4px; width: 4px; height: 8px; border: solid white; border-width: 0 1.5px 1.5px 0; content: ""; transform: rotate(45deg); }
.check-item input:focus-visible + .checkmark { outline: 2px solid #8ab9ae; outline-offset: 2px; }
.delete-form { flex: none; }
.delete-button { padding: 0 4px; border: 0; background: none; color: #929993; cursor: pointer; font-size: 18px; line-height: 20px; }
.delete-button:hover { color: var(--rust); }
.empty-state { padding: 43px 20px; border: 1px dashed var(--line-strong); text-align: center; }
.empty-icon { margin: 0 auto 11px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--teal-wash); color: var(--teal); font-size: 15px; }
.empty-state h3 { margin: 0 0 4px; font-size: 13px; font-weight: 650; }
.empty-state p { margin: 0; color: var(--muted); font-size: 11px; }

.notice { margin-bottom: 18px; padding: 11px 13px; border-left: 3px solid var(--teal); background: var(--teal-wash); color: #27564f; font-size: 12px; }
.notice.error { border-color: var(--rust); background: var(--rust-wash); color: #823f2b; }
.auth-card { width: min(430px, 100%); margin: 48px auto; padding: 32px; border: 1px solid var(--line); border-top: 4px solid var(--teal); background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 29px; }
.auth-card .form-stack { margin-top: 24px; }
.auth-card .button { margin-top: 2px; }
.users-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; }
.users-layout .panel h2 { margin-bottom: 18px; }
.user-list { margin: 0; padding: 0; list-style: none; }
.user-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.user-list li:last-child { border-bottom: 0; }
.user-list strong, .user-list small { display: block; }
.user-list strong { font-size: 12px; }
.user-list small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.role-pill { color: var(--teal-dark); font-size: 10px; }
footer { padding: 21px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 10px; }
footer span { margin: 0 5px; color: #b5bbb4; }

@media (max-width: 850px) {
  .workspace { grid-template-columns: 1fr; gap: 28px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 19px; }
  .stats { width: 100%; }
  .stats div { flex: 1; }
  .users-layout { grid-template-columns: 1fr; }
  .signed-in { display: none; }
}
@media (max-width: 560px) {
  .topbar { height: 62px; padding: 0 15px; }
  .topbar nav { gap: 13px; font-size: 11px; }
  .link-button { font-size: 11px; }
  .brand { font-size: 12px; }
  .brand-mark { width: 31px; height: 31px; }
  .container { width: calc(100% - 30px); margin: 29px auto 50px; }
  .page-heading h1 { font-size: 31px; }
  .stats div { min-width: 0; padding: 2px 11px; }
  .list-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .filters { gap: 14px; }
  .wish-card { padding-right: 0; padding-left: 0; }
  .status-form { gap: 13px; }
  .auth-card { margin: 24px auto; padding: 24px 20px; }
}
