:root {
    color-scheme: light;
    --ink: #16364a;
    --rule: #d9e0e5;
    --label: #f3f5f7;
    --stripe: #eef4f6;
    --pale: #f8fafb;
    --accent: #ff6800;
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    color: #000;
    font: 16px/1.5 Arial, sans-serif;
    background: var(--pale);
  }
  .sheet {
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: min(100%, 1080px);
    min-height: 100vh;
    min-height: 100svh;
    margin-inline: auto;
    padding: clamp(22px, 5.5vw, 64px);
    background: #fff url("/assets/quote-watermark.png") right 14px bottom 74px / auto min(73%, 680px) no-repeat;
    box-shadow: 0 0 0 1px var(--rule);
  }
  .masthead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }
  .brand {
    display: block;
    width: clamp(162px, 30vw, 306px);
    max-width: 66%;
    height: auto;
  }
  main { padding-block: clamp(26px, 5vw, 54px) 48px; }
  h1 { margin: 0; font-size: clamp(27px, 4.4vw, 42px); line-height: 1.2; }
  .subtitle { margin: 6px 0 24px; color: #53636d; }
  .access {
    border: 1px solid var(--rule);
    background: #fff;
  }
  h2 {
    margin: 0;
    padding: 9px 16px;
    background: var(--ink);
    color: #fff;
    font-size: 1.0625rem;
  }
  .credentials { margin: 0; }
  .row {
    display: grid;
    grid-template-columns: minmax(110px, 25%) minmax(0, 1fr);
    border-bottom: 1px solid var(--rule);
  }
  .row > span:not(.input-cell), .input-cell { margin: 0; padding: 11px 16px; }
  .row > span:not(.input-cell) {
    display: flex;
    align-items: center;
    background: var(--label);
    border-inline-end: 1px solid var(--rule);
    font-weight: 700;
  }
  .input-cell { background: var(--stripe); }
  .row:nth-of-type(even) .input-cell { background: var(--pale); }
  .field {
    width: 100%;
    font: inherit;
    min-height: 38px;
    border: 1px solid var(--rule);
    background: #fff;
    padding: 6px 10px;
    color: #53636d;
    font-size: .9375rem;
  }
  .actions { padding: 12px 16px; background: var(--pale); }
  .button {
    display: inline-block;
    border: 0;
    font: inherit;
    cursor: pointer;
    padding: 9px 25px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-align: center;
  }
  .note { margin: 12px 0 0; color: var(--ink); font-size: .875rem; }
  .button:hover { background: #102a3a; }
  .field:focus-visible, .button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }
  .auth-error {
    margin: 0;
    padding: 10px 16px;
    color: #a02218;
    background: #fff0ee;
  }
  footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: auto;
    padding-top: 11px;
    border-top: 4px solid var(--accent);
    color: var(--ink);
    font-size: .875rem;
  }
  @media (max-width: 480px) {
    .sheet { background-size: auto 58%; background-position: right -48px bottom 66px; }
    .row > span:not(.input-cell), .input-cell, h2, .actions { padding-inline: 10px; }
    .button { display: block; }
  }
