/* The scorecard picture page (scorecard.py). Loaded after site.css, on /scorecard/ only.
   Made for golfers of 50 to 60 on a phone: big boxes, three to a row, a number pad for the scores, copper only on the
   two things to tap (make the picture, send it). */
.scp__in { max-width: 640px; }
.scp h1 { font-size: clamp(2.5rem, 9vw, 4rem); margin-top: 6px; }
.scp__lede { margin-top: 10px; font-size: 1.1875rem; color: var(--muted); }
.scp__form { display: grid; gap: 22px; margin-top: 26px; }
.scp label, .scp legend { display: block; margin-bottom: 6px; padding: 0; font: 700 1.0625rem/1.3 var(--body); color: var(--ink); }
.scp label small { font-weight: 400; font-size: .9375rem; color: var(--muted); }
.scp select, .scp input[type="text"], .scp input[type="date"] { display: block; width: 100%; min-height: 56px; padding: 10px 14px; border: 2px solid rgb(16 33 61 / .3);
  border-radius: 10px; background: var(--white); color: var(--ink); font: 400 1.1875rem/1.2 var(--body); }
.scp fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.scp__two { display: grid; gap: 22px; }
.scp__nine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
.scp__cell { display: grid; gap: 4px; }
.scp__cell span { display: flex; justify-content: space-between; align-items: baseline; font-size: .9375rem; color: var(--muted); }
.scp__cell span b { font: 400 1.375rem/1 var(--display); color: var(--ink); }
.scp__cell span i { font-style: normal; }
.scp__cell span select { width: auto; min-height: 32px; padding: 2px 6px; border-width: 1.5px; border-radius: 6px; font-size: .9375rem; }
.scp__cell input { width: 100%; min-height: 60px; padding: 6px; border: 2px solid rgb(16 33 61 / .3); border-radius: 10px; background: var(--white); color: var(--ink);
  font: 700 1.75rem/1 var(--body); text-align: center; font-variant-numeric: tabular-nums; }
.scp select:focus-visible, .scp input:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-color: var(--navy); }
.scp__sub { margin-top: 8px; color: var(--muted); }
.scp__total { padding: 14px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: 1.1875rem; }
.scp__total b { font: 400 1.75rem/1 var(--display); margin-right: .15em; }
.scp__err { padding: 12px 16px; border-radius: 10px; background: #FDECEA; color: #8C1D0E; font-weight: 700; }
.scp__go { width: 100%; min-height: 60px; font-size: 1.1875rem; }
.scp__result { margin-top: 30px; display: grid; gap: 14px; scroll-margin-top: 70px; }
.scp__result img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 40px -18px rgb(10 22 40 / .55); }
.scp__result .row > * { flex: 1 1 150px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.scp__note, .scp__private { color: var(--muted); }
.scp__private { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .scp__two { grid-template-columns: 1fr 1fr; } .scp__nine { grid-template-columns: repeat(9, 1fr); gap: 8px 6px; }
  .scp__cell span { flex-direction: column; align-items: center; gap: 2px; } .scp__cell input { min-height: 52px; font-size: 1.375rem; padding: 4px 2px; } }
@media print { .scp__form, .scp__private, .scp__result .row, .scp__note { display: none; } }
