/* The gift door (lane fritz-gift-anyone), after lessons.css: the website's black and white, one type scale (30, 24,
   20, 17, 15, 13; weights 500, 650, 750). A label 12 px above its box, a hint 8 px under it, 32 px from one field to
   the next, 40 px between sections, left edges on one line. Titles and presses centred, forms left. 16 px gutter. */
.gb-logo { display: flex; justify-content: center; padding: 24px 16px 0; }
.gb-logo img { display: block; width: 180px; height: auto; }
#gift { display: block; max-width: 560px; margin: 0 auto; padding: 16px 16px 56px; }
#gift h1 { margin: 8px 0 12px; font-weight: 500; font-size: 30px; }
#gift .lead { margin: 0 0 32px; color: var(--slate); font-size: 17px; font-weight: 500; }
.gb-card { padding: 24px 0 0; }
.gb-top { display: grid; grid-template-columns: 88px 1fr 88px; align-items: center; min-height: var(--tap); }
.gb-back { justify-self: start; min-height: var(--tap); padding: 0 8px 0 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 17px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gb-bar { display: flex; gap: 6px; justify-self: center; width: 120px; }
.gb-bar i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--edge); opacity: .35; }
.gb-bar i.on { background: var(--ink); opacity: 1; }
.gb-q { margin: 0 0 12px; color: var(--ink); font: 650 20px/1.3 var(--text); text-align: left; }
.gb-sec { margin-top: 40px; }
.gb-tag { color: var(--muted); font-size: 15px; font-weight: 500; }
.gb-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gb-pick { min-height: 64px; padding: 12px 16px; border: 1.5px solid var(--edge); border-radius: 16px; background: var(--card); color: var(--ink); font: 650 20px/1.2 var(--text); cursor: pointer; }
/* picked: the family rule, a white pill that fills black with white words (Ry, 23 Nov 2026) */
.gb-pick.on { border-color: var(--ink); background: var(--ink); color: var(--card); }
.gb-pick-wide { grid-column: 1 / -1; font-size: 17px; }
.gb-two .gb-pick { font-size: 17px; min-height: var(--tap); }
#gift .form > .label { margin: 32px 0 12px; font-size: 15px; }
#gift .form > .label:first-child { margin-top: 0; }
#gift .gb-picks + .form > .label:first-child { margin-top: 32px; }
#gift .form > .hint { margin: 8px 0 0; }
#gift .hint.is-bad { color: var(--ink); font-weight: 650; }
#gift input[type="date"], #gift textarea { display: block; box-sizing: border-box; width: 100%; min-height: var(--tap); padding: 10px 14px; border: 1.5px solid var(--edge); border-radius: 12px; background: var(--card); color: var(--ink); font: 500 17px/1.4 var(--text); }
#gift textarea { min-height: 96px; resize: vertical; }
#gift input[type="date"]:focus, #gift textarea:focus { border-color: var(--ink); outline: none; }
#gift textarea[aria-invalid="true"] { border: 2.5px solid var(--ink); }
.gb-sum { margin-top: 40px; padding: 16px; border-radius: 16px; background: var(--card); box-shadow: var(--depth-1); }
.gb-sum-line { margin: 0; color: var(--ink); font-size: 17px; font-weight: 650; }
.gb-mail { margin-top: 12px; }
.gb-mail summary { min-height: var(--tap); display: flex; align-items: center; color: var(--ink); font-size: 15px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gb-mail-body { padding: 12px 16px; border: 1.5px solid var(--edge); border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.gb-mail-body p { margin: 0 0 12px; }
.gb-mail-body p:last-child { margin-bottom: 0; }
.gb-msg { margin-top: 16px; }
#gift .press { margin-top: 32px; background: var(--ink); color: #fff; }
.gb-call { margin-top: 24px; }
.gb-quiet, .gb-centre { margin: 12px 0 0; text-align: center; }
.gb-quiet { color: var(--slate); font-size: 15px; font-weight: 500; }
.gb-soft { color: var(--slate); font-size: 15px; font-weight: 500; }
.gb-tick { width: 56px; height: 56px; margin: 8px auto 0; border-radius: 50%; background: var(--ink); }
.gb-tick::after { content: ""; display: block; width: 100%; height: 100%; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 29l7 7 15-16'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 29l7 7 15-16'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 768px) { #gift { padding-top: 32px; } }
/* Have a code? (lane fritz-gift-page-code): the quiet press at the left under the summary, as on the account's Pay; the
   box itself is app/lessons/promo/box.css (a label 12 px above its box, 32 px from the summary) */
.gb-card .gb-code-open { justify-content: flex-start; margin-top: 24px; padding: 0; }
