:root {
  color-scheme: light;
  --ink: #132932;
  --muted: #51676e;
  --line: #bfced0;
  --paper: #fff;
  --ground: #eef3f2;
  --accent: #086858;
  --error: #a82b26;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--ground);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #2b9a87;
  outline-offset: 3px;
}

.top { background: var(--ink); color: var(--paper); }
.top-inner {
  max-width: 1220px;
  min-height: 64px;
  margin: auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { font-size: 22px; font-weight: 750; letter-spacing: -.055em; }
.wordmark span { display: inline-block; width: 7px; height: 7px; margin-left: 3px; background: #77d9c1; }

main { max-width: 1220px; padding: clamp(28px, 7vw, 86px) clamp(20px, 5vw, 40px); margin: auto; }
.login {
  max-width: 820px;
  margin: clamp(0px, 4vh, 45px) auto 0;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
}
.access-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(24px, 5vw, 42px);
  color: #effbf6;
  background: #125147;
  border-bottom: 7px solid #77d9c1;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.03;
}
.access-note p { color: #d0e9e3; }
#login-form { padding: clamp(24px, 5vw, 42px); }
h2 { font-size: 24px; line-height: 1.22; letter-spacing: -.03em; }
h3 { font-size: 16px; }
label { display: block; margin: 22px 0 8px; font-weight: 650; }
label span { margin-left: 6px; color: var(--muted); font-weight: 400; font-size: 14px; }
input, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  color: var(--ink);
  background: #fbfdfd;
  border: 1px solid var(--line);
  border-radius: 9px;
}
input { letter-spacing: .15em; }
textarea { resize: vertical; line-height: 1.55; }
textarea::placeholder { color: var(--muted); opacity: 1; }
button {
  cursor: pointer;
  margin-top: 21px;
  padding: 11px 18px;
  color: var(--paper);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 650;
}
button:hover { background: #075345; }
button:disabled { cursor: wait; opacity: .72; }
.secondary { color: var(--accent); background: var(--paper); border-color: var(--line); }
.secondary:hover { background: var(--ground); }
.logout { margin: 0; background: transparent; color: #e2efed; border-color: #576d72; }
.status { margin-top: 10px; min-height: 1.5em; font-size: 14px; color: var(--muted); }
.status[data-error="true"] { color: var(--error); }

.workspace-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 33px; }
.workspace-title span { color: var(--muted); font-size: 14px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.panel { min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: clamp(19px, 3vw, 30px); }
.result { border-top: 4px solid var(--accent); }
.result h2 { margin-bottom: 22px; }
.empty { padding: 20px; border: 1px dashed var(--line); border-radius: 9px; background: #f7faf9; color: var(--muted); }
.empty p { max-width: 34ch; }
.checks { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; }
.checks ul { margin: 7px 0 0; padding-inline-start: 21px; }
.checks li + li { margin-top: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 690px) {
  .login, .columns { grid-template-columns: minmax(0, 1fr); }
  .access-note br { display: none; }
  .workspace-title { margin-bottom: 23px; }
}
