/* Great Notion tenant — styling for the shared workspace status board. */
:root {
  --brand: #2f6f4f;
  --ink: #1b231e;
  --muted: #6a7670;
  --line: #e2e8e4;
  --bg: #f7faf8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar .brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--brand);
  text-decoration: none;
}
.topbar nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.topbar nav a:hover { color: var(--brand); }
main { max-width: 56rem; margin: 0 auto; padding: 1.75rem 1.5rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
}
.card.signin { max-width: 30rem; margin: 0 auto; }
h1 { margin-top: 0; letter-spacing: -0.02em; }
h2 { font-size: 1.05rem; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.muted { color: var(--muted); }
.muted.small { font-size: 0.82rem; margin: 0.2rem 0 0; }
.intro { margin-top: 0.2rem; }
a { color: var(--brand); }

/* Board sections */
.board-section { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.board-section:first-of-type { border-top: 0; padding-top: 0.4rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 36rem) { .two-col { grid-template-columns: 1fr; gap: 0.6rem; } }

/* Deliverables — status pill + name + note */
.deliverables { list-style: none; padding: 0; margin: 0; }
.deliverables li { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.deliverables li:first-child { border-top: 0; }
.deliverable-head { display: flex; align-items: center; gap: 0.65rem; }
.deliverable-name { font-weight: 650; }
.pill {
  display: inline-flex; align-items: center;
  padding: 0.16rem 0.6rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
  background: #eef1ef; color: var(--muted); border-color: #dde4e0;
}
.pill-live { background: #e7f6ec; color: #1f7a3f; border-color: #b9e0c5; }
.pill-provisioning { background: #fff3e0; color: #b25e00; border-color: #f3d9ad; }
.pill-scoping { background: #e8f0fe; color: #1a56db; border-color: #c3d8fb; }
.pill-blocked { background: #fcebeb; color: #a23b3b; border-color: #ecc2c2; }
.pill-done { background: #e7f6ec; color: #1f7a3f; border-color: #b9e0c5; }

/* Optional live link + iframe preview on a deliverable */
.deliverable-link { margin-left: auto; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.deliverable-embed {
  margin-top: 0.6rem; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; background: #fff;
}
.deliverable-embed iframe { display: block; width: 100%; height: 24rem; border: 0; }
@media (max-width: 36rem) { .deliverable-embed iframe { height: 16rem; } }

/* Due lists */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 0.3rem 0 0.3rem 1.4rem; font-size: 0.95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.7rem;
  width: 0.7rem; height: 0.7rem; border-radius: 3px;
  border: 1.5px solid var(--brand); opacity: 0.7;
}

/* Decisions log */
.decisions { list-style: none; padding: 0; margin: 0; }
.decisions li {
  display: grid; grid-template-columns: max-content 1fr; gap: 0.8rem;
  padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.95rem;
}
.decisions li:first-child { border-top: 0; }
.decision-date { color: var(--muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; padding-top: 0.12rem; }

/* sign-in form */
.signin-form label { display: block; margin: 14px 0 6px; font-weight: 600; }
.signin-form input[type=email] {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  border: 1px solid #ccc; border-radius: 8px; font-size: 16px;
}
.signin-form button {
  margin-top: 14px; padding: 10px 16px; border: 0; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 15px; cursor: pointer;
}
.signin-form button:hover { filter: brightness(1.08); }
.banner { padding: 10px 14px; border-radius: 8px; margin: 14px 0; font-size: 14px; line-height: 1.5; }
.banner-ok { background: #eaf6ec; border: 1px solid #b6dcbd; }
.banner-err { background: #fcebeb; border: 1px solid #e6b6b6; }
