/* AIM Northwest review gate. Uses the proposed Direction A tokens from src/app/globals.css. */
:root {
  --ink: #123b50;
  --link: #185a85;
  --action: #17634b;
  --action-hover: #104c39;
  --mint: #eaf5ef;
  --paper: #ffffff;
  --muted: #425b66;
  --line: #cbd8de;
  --control: #617a88;
  --focus: #ffd45c;
  --error: #9e1e15;
  --notice: #fbf5e8;
  --notice-border: #865c17;
  --num-on-ink: #c0dfed;
  --row-hover: #f2f7f9;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--mint);
  color: var(--ink);
  font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
h1,
p,
ul {
  margin: 0;
}
a {
  color: var(--link);
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--focus);
}
.nowrap {
  white-space: nowrap;
}
.notice {
  background: var(--notice);
  border-bottom: 2px solid var(--notice-border);
  padding: 0.75rem clamp(1rem, 0.25rem + 3.75vw, 4rem);
  font-size: 1rem;
}
.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 1rem + 5vw, 5rem) clamp(1rem, 0.25rem + 3.75vw, 2rem);
}
.wordmark {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 0.75rem;
  color: var(--muted);
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 6px solid var(--action);
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.5rem);
}
form {
  margin-top: 1.5rem;
}
label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
input[type="password"] {
  display: block;
  width: 100%;
  max-width: 24rem;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--control);
  border-radius: 0;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}
input[aria-invalid="true"] {
  border-color: var(--error);
  border-width: 3px;
}
.error {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 5px solid var(--error);
  background: #fdf1f0;
  color: var(--error);
}
.button {
  display: inline-block;
  margin-top: 1.25rem;
  min-height: 3rem;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--action);
  background: var(--action);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
}
.button-secondary {
  background: transparent;
  color: var(--action);
}
.button-secondary:hover {
  background: var(--paper);
  color: var(--action-hover);
}
.options {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.options li {
  border-bottom: 1px solid var(--line);
}
.option {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 2vw, 2rem);
  padding: 1.25rem 1rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
a.option:hover {
  background: var(--row-hover);
}
a.option:hover .title {
  text-decoration: underline;
}
.num {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--ink);
  color: var(--num-on-ink);
  font-weight: 700;
  font-size: 1.25rem;
}
.text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--link);
}
.desc {
  color: var(--muted);
  font-size: 1rem;
}
.arrow {
  flex: none;
  font-size: 1.5rem;
  color: var(--action);
}
.option-disabled .num {
  background: var(--muted);
}
.option-disabled .title {
  color: var(--muted);
}
.signout {
  margin-top: 1.5rem;
}
@media (forced-colors: active) {
  .num,
  .wordmark {
    border: 2px solid CanvasText;
  }
}
