  :root {
    --bench: #dde1e4;       /* the workbench the form is lying on */
    --paper: #fdfdfb;       /* the form itself */
    --ink: #000000;         /* what's typed onto the form */
    --form-blue: #1d4e89;   /* printed rules and field labels */
    --serial-red: #c8102e;  /* the order number */
    --marker: #fff2a0;      /* highlighter over the price */

    --body: "Barlow", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    --cond: "Barlow Condensed", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Arial Narrow", Arial, sans-serif;
  }

  * { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; }

  body {
    margin: 0;
    padding: 40px 16px 56px;
    background: var(--bench);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.5;
  }

  a { color: var(--form-blue); text-underline-offset: 3px; }
  a:focus-visible { outline: 3px solid var(--form-blue); outline-offset: 3px; }

  /* ---------- the form ---------- */

  .order {
    max-width: 760px;
    margin: 0 auto;
    background: var(--paper);
    border: 2px solid var(--form-blue);
    box-shadow: 0 1px 0 #b9c0c6, 0 14px 30px -18px rgba(20, 40, 70, .55);
  }

  .order > section,
  .order > header,
  .order > footer {
    padding: 22px 28px;
    border-bottom: 1.5px solid var(--form-blue);
  }
  .order > footer { border-bottom: 0; }

  .label {
    display: block;
    margin: 0 0 6px;
    font-family: var(--cond);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .02em;
    color: var(--form-blue);
  }

  /* ---------- header ---------- */

  .order > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    border-bottom-style: dashed;   /* the tear line under the stub */
  }

  h1 {
    margin: 0;
    font-family: var(--cond);
    font-weight: 600;
    font-size: clamp(40px, 9vw, 64px);
    line-height: .95;
    letter-spacing: -.005em;
    color: var(--form-blue);
  }

  .job {
    margin: 8px 0 0;
    font-size: 21px;
    font-weight: 500;
  }

  .serial {
    flex: none;
    text-align: right;
    font-family: var(--cond);
    color: var(--serial-red);
  }
  .serial small {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .02em;
  }
  .serial b {
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .04em;
  }

  /* ---------- two-up field rows ---------- */

  .pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 !important;
  }
  .pair > div { padding: 22px 28px; }
  .pair > div + div { border-left: 1.5px solid var(--form-blue); }

  .pair p { margin: 0; }
  .who { font-size: 21px; font-weight: 600; }

  /* ID-photo box printed on the form */
  .id {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .id img {
    flex: none;
    width: 92px;
    height: 92px;
    display: block;
    border: 1.5px solid var(--form-blue);
    padding: 3px;
    background: var(--paper);
  }

  /* a second field inside the same box on the form */
  .label.sub { margin-top: 18px; }

  /* ---------- body copy ---------- */

  .lede {
    margin: 0;
    max-width: 62ch;
  }

  /* ---------- work list ---------- */

  .work {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
  }
  .work li {
    position: relative;
    padding: 9px 0 9px 38px;
    border-bottom: 1px solid #c9d3df;
  }
  .work li:last-child { border-bottom: 0; }

  .work li::before {             /* the printed checkbox */
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--form-blue);
    background: var(--paper);
  }
  .work li::after {              /* the pen tick */
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 8px;
    height: 16px;
    border: solid var(--form-blue);
    border-width: 0 3px 3px 0;
    transform: rotate(40deg);
  }

  /* ---------- price ---------- */

  .price {
    margin: 0 0 10px;
    font-family: var(--cond);
    font-weight: 600;
    font-size: 56px;
    line-height: 1;
  }
  .price span {
    background: linear-gradient(transparent 38%, var(--marker) 38%, var(--marker) 92%, transparent 92%);
    padding: 0 6px;
    margin-left: -6px;
  }
  .price-note { margin: 6px 0 0; }

  .terms { margin: 0; padding-left: 20px; }
  .terms li + li { margin-top: 6px; }

  /* ---------- steps (a real sequence) ---------- */

  .steps {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
  }
  .steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 12px 38px;
  }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--form-blue);
    border-radius: 50%;
    font-family: var(--cond);
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    color: var(--form-blue);
  }

  /* ---------- sample line items ---------- */

  .lines {
    width: 100%;
    margin: 4px 0 0;
    border-collapse: collapse;
    font-size: 16px;
  }
  .lines th {
    padding: 0 10px 6px 0;
    text-align: left;
    font-family: var(--cond);
    font-weight: 500;
    font-size: 15px;
    color: var(--form-blue);
    border-bottom: 1.5px solid var(--form-blue);
  }
  .lines td {
    padding: 9px 10px 9px 0;
    vertical-align: top;
    border-bottom: 1px solid #c9d3df;
  }
  .lines tr:last-child td { border-bottom: 0; }
  .lines td:first-child { font-weight: 600; width: 22%; }
  .lines td:nth-child(2) { width: 36%; }
  .sample-note { margin: 0 0 10px; font-size: 15px; color: #333; }

  /* ---------- contact ---------- */

  .email {
    font-size: 24px;
    font-weight: 600;
    word-break: break-word;
  }
  address { font-style: normal; margin-top: 10px; }
  .fine { margin: 14px 0 0; font-size: 15px; color: #333; }

  .todo { background: var(--marker); padding: 0 4px; }

  /* ---------- small screens ---------- */

  @media (max-width: 600px) {
    body { padding: 16px 10px 40px; font-size: 16px; }
    .order > section, .order > header, .order > footer, .pair > div { padding: 18px 18px; }
    .pair { grid-template-columns: 1fr; }
    .pair > div + div { border-left: 0; border-top: 1.5px solid var(--form-blue); }
    .price { font-size: 48px; }
    .id img { width: 80px; height: 80px; }

    .lines thead { display: none; }
    .lines, .lines tbody, .lines tr, .lines td { display: block; width: auto !important; }
    .lines tr { padding: 10px 0; border-bottom: 1px solid #c9d3df; }
    .lines tr:last-child { border-bottom: 0; }
    .lines td { padding: 2px 0; border: 0; }
    .lines td[data-label]::before {
      content: attr(data-label) ": ";
      font-family: var(--cond);
      font-weight: 500;
      color: var(--form-blue);
    }
  }

  @media print {
    body { background: #fff; padding: 0; }
    .order { box-shadow: none; }
  }

  /* ---------- additions for the 2026-11 eBay origin-check version ---------- */

  html[lang="ja"] body { line-height: 1.75; }
  html[lang="ja"] .fine { line-height: 1.6; }

  .lang { margin: 0 0 10px; font-family: var(--cond); font-weight: 500; font-size: 15px; letter-spacing: .02em; }
  .lang a { color: var(--form-blue); }

  .work li b { font-weight: 600; }
  .lede + .lede { margin-top: 12px; }
  .price-note { max-width: 36ch; }

  .lines td:first-child { width: 20%; }
  .lines td:nth-child(2) { width: 16%; white-space: nowrap; }
  @media (max-width: 600px) { .lines td:nth-child(2) { white-space: normal; } }

  /* ---------- additions for the privacy pages (2026-11) ---------- */

  .doc h1 { font-size: clamp(26px, 7vw, 48px); line-height: 1.1; }

  /* ---------- additions for the picture guide (2026-11) ---------- */

  .step {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
  }
  .step small {                  /* "Step 1": printed like a field label on the form */
    display: block;
    font-family: var(--cond);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .02em;
    color: var(--form-blue);
  }

  .shot { margin: 14px 0; }
  .shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1.5px solid var(--form-blue);
    padding: 3px;
    background: #fff;
  }
  .shot figcaption { margin-top: 6px; font-size: 15px; color: #333; }

  .marks {                       /* the same red numbers as on the picture */
    list-style: none;
    margin: 12px 0;
    padding: 0;
    counter-reset: mark;
  }
  .marks li {
    counter-increment: mark;
    position: relative;
    padding: 0 0 10px 38px;
    max-width: 62ch;
  }
  .marks li:last-child { padding-bottom: 0; }
  .marks li::before {
    content: counter(mark);
    position: absolute;
    left: 0;
    top: 3px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--serial-red);
    color: #fff;
    font-family: var(--cond);
    font-weight: 600;
    font-size: 17px;
    line-height: 26px;
    text-align: center;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .lede + .shot, .lede + .terms { margin-top: 14px; }
  .guide .terms li { max-width: 62ch; }

  /* ---------- additions for the sample report and the operator page (2026-11-22) ---------- */

  .shot.page { max-width: 420px; }                 /* one page of the sample report, on the home pages */
  .shot.page + p { margin-top: 10px; }
  .lines.rows td:first-child { width: 24%; }        /* the operator page: a label and what it says */
  .lines.rows td:nth-child(2) { width: auto; white-space: normal; }
