/* ADIO team board — Peoria clinic, no external assets */
:root {
  --pine: #1c3b31;
  --pine-deep: #12261f;
  --pine-mid: #2f5a49;
  --copper: #b85c38;
  --copper-deep: #8d4124;
  --cream: #f6efe4;
  --paper: #fffaf3;
  --sand: #e8d8c4;
  --ink: #1b2621;
  --muted: #5e6d64;
  --line: #dccbb6;
  --gold: #c9844a;
  --blush: #d9896a;
  --shadow: 0 14px 40px rgba(28, 40, 34, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 100% -10%, rgba(217, 137, 106, 0.28), transparent 60%),
    radial-gradient(900px 380px at -10% 0%, rgba(47, 90, 73, 0.16), transparent 55%),
    var(--cream);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
a { color: var(--copper-deep); }
a:hover { color: var(--pine); }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  background: linear-gradient(115deg, var(--pine-deep) 0%, var(--pine) 46%, #3d4a32 78%, #8d5340 100%);
  color: #f8f1e6;
  border-bottom: 4px solid var(--copper);
}
.brand-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  padding: 22px 0 8px;
}
.brand {
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  margin: 0;
  font-weight: 600;
}
.brand span { display: block; font-family: "Avenir Next", "Segoe UI", sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #e7c7ae; font-weight: 600; margin-bottom: 4px; }
.eyebrow { margin: 0; color: #f0d7c4; font-size: 0.92rem; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 0 16px; }
nav a {
  color: #f6efe4;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246, 239, 228, 0.28);
  font-size: 0.95rem;
}
nav a:hover { background: rgba(255, 250, 243, 0.1); }
nav a.active { background: var(--copper); border-color: var(--copper); color: #fffaf3; }
main { padding: 28px 0 48px; }
h1, h2, h3 { font-family: Georgia, "Palatino Linotype", Palatino, serif; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.08; margin: 0 0 10px; color: var(--pine-deep); }
h2 { font-size: 1.7rem; margin: 0 0 8px; color: var(--pine); }
h3 { margin: 0 0 6px; font-size: 1.2rem; }
.lede { font-size: 1.12rem; max-width: 42rem; color: var(--muted); margin: 0 0 22px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 28px; }
.value {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--copper);
  border-radius: 16px;
  padding: 20px 22px 18px;
  box-shadow: var(--shadow);
}
.value:nth-child(2) { border-left-color: var(--pine-mid); }
.value:nth-child(3) { border-left-color: var(--gold); }
.value:nth-child(4) { border-left-color: var(--blush); }
.value .kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--copper-deep); font-weight: 700; }
.value p { margin: 6px 0 0; font-family: Georgia, Palatino, serif; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--pine-deep); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .panel, .metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.card { padding: 18px 18px 16px; text-decoration: none; color: inherit; display: block; }
.card:hover { border-color: var(--copper); }
.card strong { font-family: Georgia, Palatino, serif; font-size: 1.25rem; color: var(--pine); display: block; margin-bottom: 4px; }
.card span { color: var(--muted); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric { padding: 18px 20px 16px; }
.metric .num {
  font-family: Georgia, Palatino, serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--pine-deep);
  margin: 8px 0 6px;
}
.metric .label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: var(--copper-deep); }
.note { color: var(--muted); font-size: 0.95rem; margin: 6px 0 0; }
.flag {
  display: inline-block;
  margin-top: 8px;
  background: #f3e2d2;
  color: var(--copper-deep);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}
.split { margin: 8px 0 0; color: var(--ink); }
.panel { padding: 20px; margin-top: 22px; }
form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 650; color: var(--pine); }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbbba6;
  border-radius: 10px;
  padding: 9px 10px;
}
textarea { min-height: 84px; resize: vertical; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
button, .btn {
  background: var(--copper);
  color: #fffaf3;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
}
button:hover { background: var(--copper-deep); }
.draft-banner {
  background: #f8e7d4;
  border: 1px dashed var(--copper);
  color: var(--copper-deep);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 14px;
  font-weight: 650;
}
.confirm {
  display: none;
  background: #e5f0e6;
  border: 1px solid #8eae96;
  color: var(--pine-deep);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
}
.confirm.show { display: block; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--sand);
  color: var(--pine-deep);
}
.tag.open { background: #e4f0df; color: #1d4a32; }
.tag.parked { background: #f6e6c8; color: #7a4e16; }
.tag.local { background: #f6d9cf; color: var(--copper-deep); }
.swot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.swot article { background: var(--paper); border-radius: 16px; border: 1px solid var(--line); padding: 14px 14px 8px; box-shadow: var(--shadow); }
.swot h3 { font-size: 1.15rem; }
.swot ul { margin: 8px 0 10px; padding-left: 18px; }
.swot li { margin: 0 0 6px; }
.empty {
  background: repeating-linear-gradient(-45deg, #fffaf3, #fffaf3 10px, #f8f1e6 10px, #f8f1e6 20px);
  border: 1px dashed #c3ad93;
  border-radius: 16px;
  padding: 18px;
}
.cols { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.cols span { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 0.88rem; }
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  padding: 16px 0 28px;
}
@media (max-width: 860px) {
  .values, .metrics, .cards, .swot, form { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .brand-row { flex-direction: column; align-items: flex-start; }
}

body.tool { min-height: 100vh; display: flex; flex-direction: column; }
body.tool main { flex: 1; display: flex; flex-direction: column; padding-top: 18px; padding-bottom: 12px; }
body.tool main > .wrap { flex: 1; display: flex; flex-direction: column; width: min(1280px, calc(100% - 32px)); }
.tool-note { margin: 0 0 10px; color: var(--muted); }
.tool-frame {
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 230px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hire-slot { min-height: 420px; display: flex; flex-direction: column; justify-content: center; }


@font-face {
  font-family: "ADIO Cinzel";
  src: url("fonts/Cinzel.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "ADIO Cormorant";
  src: url("fonts/Cormorant-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
body.home {
  background: #140e0b;
  min-height: 100vh;
}
body.home main.stage {
  min-height: 100vh;
  margin: 0;
  padding: 22px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(16, 10, 8, 0.55) 0%, rgba(16, 10, 8, 0.08) 16%, rgba(16, 10, 8, 0) 28%),
    radial-gradient(ellipse 46% 62% at 50% 46%, rgba(22, 10, 6, 0.48), rgba(22, 10, 6, 0.08) 62%, transparent 76%),
    url("hero.jpg") center 58% / cover no-repeat;
}
.float-nav {
  width: min(1120px, calc(100% - 36px));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  z-index: 2;
}
.float-nav a {
  color: #f6efe4;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246, 239, 228, 0.55);
  background: rgba(18, 14, 12, 0.28);
  backdrop-filter: blur(6px);
  font-size: 0.95rem;
}
.float-nav a:hover { background: rgba(255, 250, 243, 0.16); color: #fffaf3; }
.float-nav a.active { background: #1d484d; border-color: #1d484d; color: #eee8df; }
.poster {
  position: relative;
  z-index: 1;
  margin-top: 7vh;
  text-align: center;
  color: #fffaf4;
  text-shadow: 0 2px 16px rgba(20, 8, 4, 0.55);
}
.brand-logo {
  display: block;
  width: min(460px, 78vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 22px rgba(20, 10, 6, 0.45));
}
.values-kicker {
  display: inline-block;
  margin: 28px 0 10px;
  padding: 10px 18px;
  border-radius: 4px;
  background: #c09a5b;
  color: #37383c;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-shadow: none;
}
.poster-values {
  list-style: none;
  margin: 18px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.poster-values strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: #eee8df;
}
.poster-values span {
  display: block;
  margin-top: 3px;
  font-family: Georgia, "Palatino Linotype", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  letter-spacing: 0.01em;
  color: #eee8df;
}
@media (max-width: 720px) {
  .poster { margin-top: 4vh; }
  .wordmark span { letter-spacing: 0.28em; padding-left: 0.28em; }
}

.metric .num.grade-red { color: #9c2f2f; }
.metric .num.grade-yellow { color: #a07a12; }
.metric .num.grade-green { color: #1d484d; }
.goal-chart { width: 100%; height: auto; margin-top: 8px; }
.goal-chart .axis, .goal-chart .pt {
  font-size: 13px;
  fill: #5e6d64;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}
.goal-chart .pt { fill: #1d484d; font-weight: 700; }

.month-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 18px;
}
.month-nav button {
  background: transparent;
  color: var(--pine-deep);
  border: 1px solid rgba(28, 59, 49, 0.28);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
}
.month-nav button:hover { background: rgba(184, 92, 56, 0.12); color: var(--pine-deep); }
.month-nav button.active,
.month-nav button.active:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fffaf3;
}
.goal-chart .goal {
  fill: #8d4124;
  font-size: 12px;
  font-weight: 700;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(192, 154, 91, 0.35), transparent 55%),
    radial-gradient(700px 420px at -10% 100%, rgba(29, 72, 77, 0.18), transparent 50%),
    #eee8df;
}
.login-card {
  width: min(420px, calc(100% - 32px));
  background: #fffaf3;
  border: 1px solid rgba(55, 56, 60, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(29, 40, 34, 0.12);
  padding: 36px 32px 28px;
}
.login-card h1 {
  margin: 8px 0 6px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.login-mark {
  margin: 0;
  color: #1d484d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.login-card .lede { font-size: 0.98rem; margin-bottom: 18px; }
.login-card [hidden] { display: none !important; }
.login-card form, .login-card section { display: block; margin: 0; grid-template-columns: none; }
.login-card h2 { margin: 0 0 12px; font-size: 1.05rem; }
.login-card label { display: block; margin: 0 0 14px; font-size: 0.92rem; font-weight: 650; color: #37383c; }
.login-card input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #d9d0c4;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}
.login-card input:focus { outline: 2px solid #1d484d; border-color: #1d484d; }
.login-card button {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: #1d484d;
  color: #eee8df;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.login-card button:hover { background: #163a3e; }
.login-card #login-status:empty { display: none; }
.login-back { display: inline-block; margin-top: 18px; font-size: 0.92rem; }
