/* Scratch — Plans screen. Everything here is .pl- prefixed.
   Tokens only (from app.css). Flat: no glow, no pulse. */

.pl { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.pl-ribbon {
  margin: 0; padding: 8px 12px; border-radius: var(--r-sm);
  background: var(--brass-soft); color: var(--brass-ink);
  font-size: 13px; font-weight: 600; text-align: center;
}
.pl-note { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-2); font-size: 14px; }
.pl-note.pl-ok { color: var(--good); }

.pl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pl-pro { border-color: var(--brass); }

.pl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pl-name { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.pl-badge { flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pl-badge-pro { background: var(--brass-soft); border-color: var(--brass); color: var(--brass-ink); }

.pl-price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pl-amt { font-size: 40px; line-height: 1; font-weight: 400; letter-spacing: -0.02em; }
.pl-per { font-size: 14px; color: var(--quiet); }
.pl-fine { margin: 0; font-size: 13px; color: var(--quiet); line-height: 1.45; }

.pl-seg { width: 100%; }

.pl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pl-list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.pl-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 5px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }

.pl-preview { margin: 0; font-size: 14px; font-weight: 600; color: var(--brass-ink); }
.pl-promise { margin: 0; font-size: 14px; color: var(--ink-2); border-left: 1px solid var(--brass); padding-left: 12px; }
.pl-manage-t { margin: 0; font-size: 15px; font-weight: 600; }

.pl-msg { margin: 0; font-size: 14px; }
.pl-msg.err { color: var(--bad); }
.pl-msg.ok { color: var(--good); }

.pl a { overflow-wrap: anywhere; }

/* Club code (demo): one quiet text link that opens a small field. Flat, no glow. */
.pl-was { font-size: 18px; color: var(--quiet); text-decoration: line-through; font-weight: 400; }
.pl-ok { color: var(--good); }
.pl-code { display: flex; flex-direction: column; gap: 8px; }
.pl-code-ask { align-self: flex-start; padding: 8px 0; min-height: 44px; background: none; border: 0; color: var(--brass-ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.pl-code-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pl-code-row { display: flex; gap: 8px; }
.pl-code-in { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Go Pro sheet (js/paywall.js) */
.pw { display: flex; flex-direction: column; gap: 12px; }
.pw-lead { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.pw-restore, .pw-later { background: transparent; border-color: transparent; color: var(--ink-2); }
.pw-fine { font-size: 11.5px; }
.pw-links a { color: var(--ink-2); text-decoration: underline; }

/* The Go Pro pop-up, on the dusk green with the course's contour lines behind it (Luke, 2026-11-21: "very white ... our 3D contouring green"). */
.sheet.pw { background: radial-gradient(120% 70% at 85% 0%, #1F5237 0%, rgba(31, 82, 55, 0) 60%), linear-gradient(170deg, #17402A 0%, #102E1F 70%, #0C2217 100%); color: #fff; border: 1px solid rgba(226, 194, 122, .3); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 14px 20px calc(18px + var(--sab)); gap: 14px; box-shadow: 0 -16px 44px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .14); overflow-x: hidden; isolation: isolate; --ink: #fff; --ink-2: rgba(255, 255, 255, .8); --quiet: rgba(255, 255, 255, .62); --line: rgba(255, 255, 255, .14); --line-2: rgba(255, 255, 255, .24); --brass-ink: #E2C27A; }
.sheet.pw::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/img/pro-contours.svg") center / cover no-repeat; opacity: 1; pointer-events: none; }
.sheet.pw .sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet.pw h2 { margin: 0; font-family: var(--serif); font-size: 15px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.sheet.pw .btn.icon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.sheet.pw .pw-lead { font-size: 28px; line-height: 1.12; font-weight: 400; color: #fff; text-wrap: balance; }
.sheet.pw .pl-list { gap: 12px; }
.sheet.pw .pl-list li { color: #fff; font-size: 16px; padding-left: 30px; }
.sheet.pw .pl-list li::before { left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(226, 194, 122, .2) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%23E2C27A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5.3 4.1 7.3 8 2.8'/%3E%3C/svg%3E"); border: 1px solid rgba(226, 194, 122, .55); transform: none; }
.sheet.pw .pl-promise { border-left: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .82); }
.sheet.pw .pl-note { background: rgba(226, 194, 122, .12); border: 1px solid rgba(226, 194, 122, .3); color: #F1DDA8; text-align: center; }
.sheet.pw .btn.primary { background: #F3EEE2; color: #10241A; border-color: transparent; }
.sheet.pw .pw-restore, .sheet.pw .pw-later { color: rgba(255, 255, 255, .8); }
.sheet.pw .pw-fine, .sheet.pw .pl-fine { color: rgba(255, 255, 255, .55); }
.sheet.pw .pw-links a { color: rgba(255, 255, 255, .75); }

/* Monthly / Yearly: the shared control is light-on-light, so it is redrawn for the green sheet (Luke, 2026-11-21: "white on white, I can't see it"). */
.sheet.pw .seg { background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .18); padding: 4px; gap: 4px; }
.sheet.pw .seg > button { color: rgba(255, 255, 255, .82); font-size: 15px; min-height: 44px; border-radius: 10px; }
.sheet.pw .seg > button[aria-pressed="true"] { background: #F3EEE2; color: #10241A; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); outline: 0; }
.sheet.pw .pl-amt { color: #fff; }
.sheet.pw .pl-per { color: rgba(255, 255, 255, .7); }
