:root {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; }
header { background: var(--header); color: #fff; }
.login-header {
  width: min(1240px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 56px);
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-weight: 680; font-size: 1.24rem; letter-spacing: -.04em;
}
.brand span {
  display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #99bf9c;
  color: #cbe7c0; border-radius: 6px; font: italic bold 1.24rem Georgia, serif;
}
main {
  width: min(calc(100% - 32px), 480px); margin: clamp(28px, 10vh, 96px) auto;
  padding: clamp(20px, 5vw, 38px); border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
}
h1 { font-size: clamp(1.75rem, 7vw, 2.3rem); font-weight: 700; letter-spacing: -.05em; margin: 0 0 14px; line-height: 1.13; }
h2 { font-size: 1.18rem; letter-spacing: -.035em; margin: 23px 0 10px; }
p { color: var(--muted); line-height: 1.56; font-size: .97rem; margin: 0 0 19px; }
strong { color: var(--text); }
button {
  min-height: 46px; padding: 9px 16px; border: 1px solid var(--action); border-radius: 8px;
  background: var(--action); color: var(--action-text); font: inherit; font-weight: 650; cursor: pointer;
}
button:hover:not(:disabled) { background: var(--action); }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.code {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px; background: var(--soft); border: 1px solid var(--tint-line); border-radius: 9px; margin-bottom: 16px;
}
output {
  max-width: 100%; font: 650 clamp(1rem, 5vw, 1.45rem)/1.3 ui-monospace, Consolas, monospace;
  letter-spacing: .03em; color: var(--tint-text); overflow-wrap: anywhere; user-select: all;
}
.code button { padding: 6px 10px; font-size: .85rem; background: var(--surface); border-color: var(--strong-line); color: var(--accent); }
.code button:hover:not(:disabled) { background: var(--hover); }
#status { margin: 16px 0 0; color: var(--soft-text); font-size: .92rem; }
#status:empty, [hidden] { display: none !important; }
@media (max-width: 550px) { .login-header { min-height: 56px; } }
