/* Hockey Parent Guide: one stylesheet, self-hosted Lato (SIL OFL, fonts/OFL.txt), no framework.
   The CSP forbids inline styles, so every style lives here. */

@font-face { font-family: "Lato"; src: url("/fonts/lato-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ice: #f3f7fb;
  --ice-2: #e6f0f8;
  --paper: #ffffff;
  --line: #d8e3ec;
  --line-2: #c3d3e0;
  --navy: #0d2a45;
  --navy-2: #163d61;
  --ink: #1a2633;
  --ink-soft: #3a4a59;
  --muted: #5b6b7a;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --blue: #1d64a6;
  --ok: #17703f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 42, 69, 0.06), 0 8px 24px -12px rgba(13, 42, 69, 0.18);
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ice); color: var(--ink); font-family: var(--sans); font-size: 1.075rem; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-weight: 900; }
h2, h3 { font-weight: 700; }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }

.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; }
.skip-link:focus { left: 1rem; background: var(--paper); padding: 0.5rem 1rem; z-index: 10; }

/* Header ------------------------------------------------------------------ */
.site-header { background: var(--navy); color: #fff; position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 0.75rem 0; }
.brand { color: #fff; text-decoration: none; font-weight: 900; font-size: 1.15rem; letter-spacing: 0.01em; display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 0.25rem; }
.nav a { color: #dce8f3; text-decoration: none; font-size: 0.95rem; font-weight: 700; padding: 0.45rem 0.75rem; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); color: #fff; }
@media (max-width: 900px) {
  .site-header .wrap { flex-direction: column; align-items: stretch; gap: 0.4rem; padding: 0.7rem 0 0.5rem; }
  .nav { overflow-x: auto; scrollbar-width: none; margin: 0 -0.5rem; padding: 0 0.5rem 0.2rem; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 0.9rem; padding: 0.35rem 0.7rem; background: rgba(255, 255, 255, 0.07); }
}

/* Hero (home): rink lines drawn with gradients ----------------------------- */
.hero { position: relative; overflow: hidden; color: #e6eef6; padding: 3.2rem 0 3.6rem;
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), rgba(200, 16, 46, 0.34) calc(50% - 2px), rgba(200, 16, 46, 0.34) calc(50% + 2px), transparent calc(50% + 2px)),
    linear-gradient(90deg, transparent calc(32% - 3px), rgba(90, 160, 230, 0.2) calc(32% - 3px), rgba(90, 160, 230, 0.2) calc(32% + 3px), transparent calc(32% + 3px)),
    linear-gradient(90deg, transparent calc(68% - 3px), rgba(90, 160, 230, 0.2) calc(68% - 3px), rgba(90, 160, 230, 0.2) calc(68% + 3px), transparent calc(68% + 3px)),
    radial-gradient(circle at 50% 50%, transparent 9rem, rgba(90, 160, 230, 0.16) 9rem, rgba(90, 160, 230, 0.16) calc(9rem + 3px), transparent calc(9rem + 3px)),
    linear-gradient(160deg, #173f66 0%, var(--navy) 60%, #0a2036 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero .eyebrow { color: #ff9aa9; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; margin-bottom: 1rem; }
.hero .lede { color: #cfdeeb; max-width: 36rem; font-size: 1.15rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chips a { color: #fff; text-decoration: none; font-size: 0.92rem; font-weight: 700; padding: 0.4rem 0.85rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.chips a:hover { background: rgba(255, 255, 255, 0.2); }
.glance { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.glance h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--red); font-weight: 900; margin: 0 0 0.6rem; }
.glance a { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.85rem; align-items: center; text-decoration: none; color: inherit; padding: 0.75rem 0.3rem; border-top: 1px solid var(--line); }
.glance a:first-of-type { border-top: 0; }
.glance a:hover .q { color: var(--blue); }
.glance .ic { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--ice-2); display: grid; place-items: center; color: var(--navy); }
.glance .ic svg { width: 1.4rem; height: 1.4rem; }
.glance .q { display: block; font-weight: 700; color: var(--navy); line-height: 1.3; }
.glance .a { display: block; color: var(--muted); font-size: 0.93rem; line-height: 1.4; margin-top: 0.15rem; }
@media (max-width: 900px) {
  .hero { padding: 2.2rem 0 2.6rem; background: linear-gradient(90deg, transparent calc(88% - 2px), rgba(200, 16, 46, 0.3) calc(88% - 2px), rgba(200, 16, 46, 0.3) calc(88% + 2px), transparent calc(88% + 2px)), linear-gradient(160deg, #173f66 0%, var(--navy) 60%, #0a2036 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* Buttons ----------------------------------------------------------------- */
.button { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font: inherit; font-weight: 900; letter-spacing: 0.01em; padding: 0.7rem 1.3rem; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(200, 16, 46, 0.7); }
.button:hover, .button:focus-visible { background: var(--red-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.button.secondary:hover { background: var(--blue); color: #fff; }

/* Sections and cards ------------------------------------------------------- */
.band { padding: 2.8rem 0; }
.band.white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 0.5rem 1rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.section-head p { margin: 0.35rem 0 0; color: var(--muted); max-width: 42rem; }
.section-head .more-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 900; color: var(--red); margin: 0 0 0.6rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 1rem; margin: 0 0 0.5rem; }
.cards.three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.2rem 1.2rem; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 2px 4px rgba(13, 42, 69, 0.06), 0 16px 32px -14px rgba(13, 42, 69, 0.28); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.card .ic { width: 2.5rem; height: 2.5rem; border-radius: 11px; display: grid; place-items: center; background: var(--ice-2); color: var(--navy); margin-bottom: 0.8rem; }
.card .ic svg { width: 1.35rem; height: 1.35rem; }
.card.tool .ic { background: var(--navy); color: #fff; }
.card h2, .card h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 0.4rem; }
.card h2 a, .card h3 a { color: var(--navy); text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h2 a:hover, .card h3 a:hover { color: var(--blue); }
.card p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.5; margin: 0; }
.card.featured { grid-column: span 2; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-color: var(--navy); }
.card.featured h3 a, .card.featured h2 a { color: #fff; }
.card.featured p { color: #cfdeeb; }
.card.featured .ic { background: rgba(255, 255, 255, 0.12); color: #fff; }
@media (max-width: 560px) { .card.featured { grid-column: auto; } }

/* Page layout -------------------------------------------------------------- */
.page { padding: 1.8rem 0 1rem; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.1rem; }
.crumbs a { color: var(--muted); }
.layout { display: grid; grid-template-columns: minmax(0, 46rem) 16.5rem; gap: 3.5rem; justify-content: space-between; align-items: start; }
.layout > .sidebar { position: sticky; top: 1.2rem; }
@media (max-width: 1060px) { .layout { grid-template-columns: minmax(0, 1fr); } .layout > .sidebar { display: none; } }
.reading { max-width: 46rem; }
.prose h1 { font-size: clamp(1.95rem, 4vw, 2.7rem); line-height: 1.1; margin-bottom: 0.7rem; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 0.7rem; scroll-margin-top: 1rem; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--red); }
.lede { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 600px) { body { font-size: 1.04rem; } .lede { font-size: 1.1rem; } }
.byline { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.4rem; display: flex; gap: 0.5rem; align-items: center; }
.byline::before { content: ""; width: 1.6rem; height: 2px; background: var(--red); display: inline-block; }
.note { background: var(--ice-2); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 0.95rem 1.15rem; margin: 1.3rem 0 1.5rem; }
.note p:last-child { margin-bottom: 0; }
.small { font-size: 0.9rem; color: var(--muted); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 0.6rem; margin: 0 0 1.8rem; }
.toc p { font-weight: 900; margin: 0 0 0.4rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.toc ol { margin: 0 0 0.4rem; }
.toc li { margin-bottom: 0.2rem; }
@media (min-width: 1061px) { .has-sidebar .toc { display: none; } }

/* Sidebar */
.sidebar .box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.sidebar h2 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); font-weight: 900; margin: 0 0 0.6rem; }
.sidebar ol, .sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.35; padding: 0.33rem 0 0.33rem 0.7rem; border-left: 2px solid var(--line); }
.sidebar li a:hover { color: var(--blue); border-left-color: var(--blue); }
.sidebar .tools a { display: flex; gap: 0.6rem; align-items: center; border-left: 0; padding-left: 0; font-weight: 700; color: var(--navy); }
.sidebar .tools svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--red); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #f8fbfd; }
th { background: var(--ice-2); color: var(--navy); font-weight: 900; font-size: 0.9rem; }

/* Tools */
.tool { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 1.2rem 0 1.8rem; box-shadow: var(--shadow); }
.tool .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 0.9rem 1.2rem; }
.field label, .field .label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 0.3rem; color: var(--navy); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.field input, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 0.55rem 0.7rem; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--blue); outline: 2px solid rgba(29, 100, 166, 0.25); }
.check { display: flex; gap: 0.55rem; align-items: flex-start; margin-top: 0.9rem; font-size: 0.93rem; }
.check input { margin-top: 0.3rem; width: auto; flex: none; }
.result { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.result .big { font-size: 1.7rem; font-weight: 900; color: var(--navy); margin: 0 0 0.3rem; }
.result .err { color: var(--red-dark); font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; margin: 0.6rem 0 1rem; }
.stat { background: var(--ice-2); border-radius: 12px; padding: 0.85rem 1rem; }
.stat b { display: block; font-size: 1.6rem; font-weight: 900; color: var(--navy); line-height: 1.15; }
.stat span { font-size: 0.86rem; color: var(--muted); }
.tool .button.secondary { font-size: 0.88rem; padding: 0.42rem 0.9rem; margin: 0.3rem 0.4rem 0 0; }

/* Diagrams */
.diagram { margin: 1.2rem 0 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 0.8rem; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }
.diagram-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.diagram-pair .diagram { margin: 0; }

/* Glossary */
.glossary { margin: 0.6rem 0 1.6rem; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 900; color: var(--navy); padding-top: 0.75rem; }
.glossary dd { margin: 0.15rem 0 0; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }

/* Books */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.book { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.book img { width: 6rem; height: auto; border-radius: 3px; box-shadow: 0 8px 18px -8px rgba(13, 42, 69, 0.55); }
.book h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.book .sub { font-size: 0.86rem; color: var(--muted); margin: 0 0 0.5rem; }
.book p { font-size: 0.94rem; margin-bottom: 0.6rem; }
.book .buy { font-size: 0.9rem; margin: 0; }
.book .buy a { margin-right: 0.7rem; white-space: nowrap; font-weight: 700; }
.book-aside { margin: 2.2rem 0; }
.book-aside > p.kind { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); font-weight: 900; margin: 0 0 0.5rem; }

/* Printables */
.printable { display: grid; grid-template-columns: 9rem 1fr; gap: 1.2rem; align-items: start; margin-bottom: 1rem; }
.printable img { border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.printable.card:hover { transform: none; }
@media (max-width: 520px) { .printable, .book { grid-template-columns: 1fr; } .book img { width: 7rem; } }

/* End of article */
.more { margin-top: 2.6rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.more ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 0.8rem; }
.more li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1rem; }
.more li::marker { content: none; }
.more li a { font-weight: 700; text-decoration: none; color: var(--navy); }
.more li a:hover { color: var(--blue); }
.more li span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.4; margin-top: 0.2rem; }
.disclaimer { color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b9cadb; font-size: 0.93rem; padding: 2.6rem 0 2.2rem; margin-top: 3rem; }
.site-footer a { color: #e2ecf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-grid h2 { color: #fff; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 900; margin: 0 0 0.7rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid .brand { margin-bottom: 0.7rem; }
.footer-grid p { margin: 0 0 0.6rem; }
.footer-fine { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2rem; padding-top: 1.2rem; font-size: 0.85rem; }
.footer-fine p { margin: 0 0 0.4rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Shop */
.result.err { color: var(--red-dark); font-weight: 700; }
.result:empty { display: none; }
.big-price { font-size: 1.15rem; margin: 0 0 0.4rem; }
.big-price strong { font-size: 1.8rem; font-weight: 900; color: var(--navy); }
#thanks .big { font-size: 1.6rem; font-weight: 900; color: var(--navy); margin: 0 0 0.5rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1rem; }
fieldset.field .check { margin-top: 0.45rem; }
.personal { display: grid; grid-template-columns: minmax(0, 17rem) 1fr; gap: 1.8rem; align-items: start; margin: 1.6rem 0 2rem; }
.personal .tool { margin: 0; }
.cover-preview { position: relative; margin: 0; container-type: inline-size; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 36px -18px rgba(13, 42, 69, 0.55); }
.cover-preview img { display: block; width: 100%; height: auto; }
.cover-preview .plate { position: absolute; left: 4%; right: 4%; top: 52.3%; height: 8.5%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 6.2cqw; letter-spacing: 0.02em; color: #0d2a45; white-space: nowrap; overflow: hidden; }
.cover-preview.goalie .plate { color: #151515; }
@media (max-width: 760px) { .personal { grid-template-columns: 1fr; } .cover-preview { width: 100%; max-width: 15rem; margin: 0 auto; } }

/* Season Edition builder */
.se-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; margin: 1.6rem 0; }
.se-offers .card h3 { margin: 0 0 0.3rem; }
.se-offers .price { font-size: 1.6rem; font-weight: 900; color: var(--navy); margin: 0 0 0.4rem; }
.se-offers .price span { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.se-offers .card p:last-child { margin: 0; font-size: 0.95rem; }
.se-form .se-step { font-size: 1.15rem; margin: 1.8rem 0 0.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.se-form .hint-inline { font-size: 0.85rem; font-weight: 400; color: var(--muted); margin-left: 0.4rem; }
.se-form textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 0.6rem 0.7rem; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; box-sizing: border-box; }
.se-form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(29, 100, 166, 0.25); }
.se-form input[type=color] { width: 100%; height: 2.6rem; padding: 0.2rem; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.se-form input[type=file] { border: 0; padding: 0.4rem 0; }
.se-form .row + .row, .se-form .row + .check { margin-top: 0.9rem; }
.se-form .se-wide { grid-column: span 2; }
@media (max-width: 640px) { .se-form .se-wide { grid-column: auto; } }
.se-form .result p, .se-preview .result p { margin: 0 0 0.3rem; }
.se-preview { margin: 2rem 0; }
.se-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin: 1rem 0 1.4rem; }
.se-shots figure { margin: 0; }
.se-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 10px 24px -16px rgba(13, 42, 69, 0.5); }
.se-shots figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
[hidden] { display: none !important; }
.se-offers .se-best { box-shadow: inset 0 0 0 2px var(--red); }
.se-form .field label { min-height: 2.6em; }
.se-form .field.se-wide label, .se-form [data-for=team] > label, .se-form .field textarea + * { min-height: 0; }

/* Shop: shared links, team orders, award certificates, team books, the email sign-up */
.copy-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.copy-row input { flex: 1 1 18rem; min-width: 0; font: inherit; font-size: 0.9rem; padding: 0.5rem 0.7rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ice); color: var(--ink); }
.copy-row .button { margin: 0; }
.button.small { font-size: 0.85rem; padding: 0.35rem 0.85rem; }
.se-links, .se-share { background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.se-links h3 { margin: 0 0 0.5rem; }
.se-links p, .se-share p { margin: 0 0 0.6rem; }
.se-gift { background: var(--ice); border-radius: 10px; padding: 0.6rem 0.9rem; }
.se-offers.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.se-shots.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
#to-actions { align-items: start; }
#to-actions .tool { margin: 0.6rem 0; }
.aw-rows { display: grid; gap: 0.6rem; margin: 0.8rem 0; }
.aw-row { display: grid; grid-template-columns: minmax(8rem, 1.2fr) 3.4rem minmax(10rem, 1.3fr) minmax(12rem, 2fr) 2rem; gap: 0.5rem; align-items: start; }
.aw-row input, .aw-row select { width: 100%; font: inherit; font-size: 0.93rem; padding: 0.5rem 0.6rem; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); }
.aw-award { display: grid; gap: 0.4rem; }
.aw-remove { border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; padding: 0.4rem 0; cursor: pointer; }
.aw-remove:hover { color: var(--red); }
.aw-tools .button { margin-right: 0.4rem; }
@media (max-width: 760px) {
  .aw-row { grid-template-columns: 1fr 3.4rem 2rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
  .aw-award, .aw-line { grid-column: 1 / -1; }
}
.tb-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; margin: 1rem 0; }
.tb-page { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem; box-shadow: var(--shadow); }
.tb-page img { display: block; width: 100%; height: 11rem; object-fit: cover; border-radius: 8px; }
.tb-page h3 { margin: 0.6rem 0 0.3rem; font-size: 1rem; }
.tb-page p { font-size: 0.9rem; white-space: pre-line; max-height: 9em; overflow: auto; margin: 0 0 0.6rem; }
.signup { display: grid; grid-template-columns: 9rem 1fr; gap: 1.2rem; align-items: start; }
.signup h3 { margin: 0 0 0.4rem; }
.signup p { margin: 0 0 0.6rem; }
.signup .signup-art img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.signup .field { max-width: 24rem; }
.signup .result .button { margin-top: 0.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .signup { grid-template-columns: 1fr; } .signup-art { display: none; } }
.printable.wide { grid-template-columns: 13rem 1fr; }
