/* Candela shell: page, header and tab bar. Basic search's own rules are in search.css.
   Colors are tokens so a reskin is a token swap. */
:root {
  color-scheme: light;
  --ink: #192f29;
  --muted: #54685f;
  --rule: #cdd6ce;
  --forest: #173e34;
  --canvas: #f5f6f0;
  --paper: #fffffc;
  font: 15px/1.45 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #467ab1; outline-offset: 2px; }

header { display: flex; align-items: center; gap: 22px; min-height: 54px; padding: 0 24px;
  background: var(--forest); color: #e4ece3; }
header .brand { color: #fff; font-weight: 700; letter-spacing: .2px; white-space: nowrap; text-decoration: none; font-size: 16px; }
nav.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
nav.tabs a { display: inline-flex; align-items: center; gap: 7px; color: #c9d8cc; text-decoration: none;
  padding: 16px 10px 13px; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
nav.tabs a:hover { color: #fff; }
nav.tabs a[aria-current="page"] { color: #fff; border-bottom-color: #9fd3b5; font-weight: 600; }
/* Decorative 16px line icons; the label carries the meaning. */
nav.tabs .nav-ic { flex: none; opacity: .9; }

main { max-width: 1280px; margin: 0 auto; padding: 22px 24px 60px; }
#placeholder { max-width: 680px; margin: 60px auto; text-align: center; color: var(--muted); }
#placeholder h1 { color: var(--ink); font-size: 24px; margin: 0 0 8px; }

/* The six tabs need about 950px beside the name; below that they take their own row. */
@media (max-width: 1000px) {
  header { flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px 0; }
  nav.tabs { order: 2; flex-basis: 100%; }
  nav.tabs a { padding: 10px 8px 9px; }
  main { padding: 16px; }
}

/* Sign-in and sign-out. */
.signout { margin-left: auto; background: transparent; color: #e4ece3; border: 1px solid #6f8f82;
  border-radius: 6px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.signout:hover { background: #24584a; }
.login { max-width: 420px; margin: 64px auto; padding: 28px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 8px; }
.login h1 { margin: 0 0 6px; font-size: 22px; }
.login-lead { margin: 0 0 18px; color: var(--muted); }
.login label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 12px 0 4px; }
.login input { width: 100%; padding: 9px 11px; border: 1px solid #b9c6bc; border-radius: 6px; background: #fff; }
.login-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.login button[type="submit"] { background: var(--forest); color: #fff; border: 1px solid var(--forest);
  border-radius: 6px; padding: 8px 16px; font-weight: 600; cursor: pointer; }
.login button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.login .link { background: none; border: 0; color: #2f5f8f; cursor: pointer; padding: 0; }
#auth-status { min-height: 1.2em; margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
