/* Check Writing Helper — extras on the shared tool styles (upscaler-app.css) */
#oaf-chk { --up-ink: #18181b; --up-muted: #63636b; --up-line: #e4e4e7; --up-panel: #fff;
  --up-accent: var(--oaf-primary, #4f46e5); --up-accent-2: var(--oaf-secondary, #7c3aed);
  margin: 8px 0 32px; color: var(--up-ink); }
#oaf-chk * { box-sizing: border-box; }
.oaf-chk__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.oaf-chk__form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--up-muted); }
.oaf-chk__form input { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--up-ink);
  padding: 11px 14px; border: 1px solid var(--up-line); border-radius: 12px; background: #fafafa; }
.oaf-chk__form input:focus { outline: 2px solid var(--up-accent); outline-offset: 1px; background: #fff; }
.oaf-chk__amt { grid-column: 1 / -1; }
.oaf-chk__amt input { font-size: 22px; font-weight: 700; }
.oaf-chk__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.oaf-chk__quick button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--up-line);
  background: #fff; color: var(--up-ink); cursor: pointer; }
.oaf-chk__quick button:hover { border-color: var(--up-accent); }
.oaf-chk__answer { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #f5f5ff; border: 1px solid #dcdcfb; }
.oaf-chk__answer small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--up-muted); }
#oaf-chk-words { display: block; font-size: 21px; font-weight: 700; margin: 6px 0 2px; word-break: break-word; }

/* Sample check */
.oaf-chk__check { position: relative; margin-top: 22px; aspect-ratio: 6 / 2.75; width: 100%; container-type: inline-size;
  border-radius: 10px; border: 1px solid #c9d3e1; overflow: hidden;
  background: linear-gradient(135deg, #eef4fb 0%, #f7fbff 45%, #eaf1f8 100%); font-family: Georgia, 'Times New Roman', serif; color: #1e293b; }
.oaf-chk__check::before { content: 'SAMPLE · VOID'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font: 800 11cqw/1 system-ui, sans-serif; letter-spacing: .06em; color: rgba(220, 38, 38, .12); transform: rotate(-12deg); pointer-events: none; }
.ck { position: absolute; font-size: max(8px, 2.1cqw); line-height: 1.2; }
.ck-lbl { position: absolute; font: 600 max(6.5px, 1.55cqw)/1.2 system-ui, sans-serif; color: #475569; }
.ck-line { position: absolute; border-bottom: 1px solid #334155; }
.ck-hand { position: absolute; font: italic 2.6cqw/1 'Segoe Script', 'Brush Script MT', 'Comic Sans MS', cursive; color: #1d4ed8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-box { position: absolute; border: 1px solid #334155; border-radius: 3px; background: rgba(255,255,255,.6); }
.ck-n { position: absolute; width: max(15px, 3.2cqw); height: max(15px, 3.2cqw); border-radius: 50%; background: var(--up-accent); color: #fff;
  font: 700 max(9px, 1.8cqw)/max(15px, 3.2cqw) system-ui, sans-serif; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.oaf-chk__legend { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 14px; }
.oaf-chk__legend li { display: flex; gap: 10px; align-items: baseline; }
.oaf-chk__legend b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--up-accent); color: #fff; font-size: 12px; line-height: 22px; text-align: center; }
@media (max-width: 620px) {
  .oaf-chk__form, .oaf-chk__legend { grid-template-columns: 1fr; }
  #oaf-chk-words { font-size: 18px; }
}
