/* Additions to the approved demo stylesheet (app.css).
   app.css is lifted from the demo unchanged so it can be re-extracted cleanly if
   the demo is ever rebuilt. Everything the working portal needs on top lives here. */

/* The demo's nav items are buttons; the real portal navigates with links. */
.nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  color: var(--ink-2); font-weight: 500; font-size: 14px; text-decoration: none;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.on { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.nav .cnt {
  background: var(--surface-2); color: var(--ink-2);
  border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600;
}
.nav a.on .cnt { background: var(--accent); color: var(--accent-ink); }

/* A saved / not-saved message, shown once then cleared. */
.flash {
  border-radius: 10px; padding: 10px 14px; margin-bottom: 16px;
  font-size: 13.5px; font-weight: 500;
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line-2);
}
.flash.good { background: var(--good-tint); color: var(--good); border-color: transparent; }
.flash.warn { background: var(--warn-tint); color: var(--warn); border-color: transparent; }
.flash.crit { background: var(--crit-tint); color: var(--crit); border-color: transparent; }

.inp.wide, textarea.wide { width: 100%; }
textarea { min-height: 90px; resize: vertical; font-family: inherit; }

.formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 720px) { .formgrid { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 16px; }

/* "Coming in milestone N" screens, and the empty list. */
.empty {
  text-align: center; padding: 44px 24px; color: var(--ink-2);
}
.empty h2 { font-size: 17px; margin-bottom: 8px; justify-content: center; }
.empty p { margin: 0 auto; max-width: 46ch; font-size: 13.5px; line-height: 1.55; }
.empty .chip { margin-bottom: 14px; }

/* Sign-in page: the only screen without the sidebar. */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.signin .panel { width: 100%; max-width: 380px; }
.signin .brand { justify-content: center; margin-bottom: 18px; }

.linkrow { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
a.tel, .linkrow a { color: var(--accent); text-decoration: none; font-weight: 600; }
a.tel:hover, .linkrow a:hover { text-decoration: underline; }

.timeline { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.timeline li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.timeline li:first-child { border-top: 0; }
.timeline b { color: var(--ink); font-weight: 600; }
