@font-face { font-family: "Big Shoulders"; src: url("/fonts/bigshoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Amiri Verse"; src: url("/fonts/amiri-verse.woff2") format("woff2"); font-display: swap; }

:root {
  --green: #1f5e4f;
  --deep: #0f3a30;
  --night: #0a2a23;
  --paper: #f1f5ee;
  --sheet: #fbfdf8;
  --ink: #0e1f1a;
  --muted: #55665f;
  --lime: #dcf45a;
  --amber: #f3b23c;
  --line: rgba(14, 31, 26, 0.14);
  --display: "Big Shoulders", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Hanken", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 650; text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; padding: 0; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--deep); color: var(--paper); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .01em; line-height: 1; }
.brand svg { width: 34px; height: 34px; flex: none; }
.top nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.top nav a { text-decoration: none; font-weight: 550; font-size: 15.5px; opacity: .86; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.top .btn { border-color: var(--lime); }
@media (max-width: 760px) { .top nav a { display: none; } .brand { font-size: 21px; } }

/* hero */
.hero { background: var(--deep); color: var(--paper); padding: 56px 0 0; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% -10%, rgba(220, 244, 90, .13), transparent 60%), radial-gradient(700px 420px at -10% 110%, rgba(31, 94, 79, .9), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: end; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(58px, 9.4vw, 136px); line-height: .88; letter-spacing: -.012em; text-wrap: balance; }
.hero-copy { padding-bottom: 72px; }
.hero-copy p { margin-top: 26px; max-width: 34em; font-size: 19px; color: rgba(241, 245, 238, .86); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-count { margin-top: 26px; font-size: 15px; color: rgba(241, 245, 238, .7); }
.hero-count b { color: var(--lime); font-weight: 700; }
.sheet-wrap { position: relative; align-self: end; padding-top: 26px; }
@media (max-width: 940px) { .hero { padding-top: 36px; } .hero .wrap { grid-template-columns: 1fr; gap: 8px; } .hero-copy { padding-bottom: 34px; } }

/* the sign-up sheet */
.sheet { position: relative; background: var(--sheet); color: var(--ink); border-radius: 6px 6px 0 0; padding: 30px 28px 26px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transform: rotate(-1.2deg); transform-origin: 50% 100%; }
.sheet::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; margin-left: -60px; background: rgba(220, 244, 90, .82); transform: rotate(1.5deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.sheet-kicker { font-size: 14px; font-weight: 650; color: var(--green); }
.sheet h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); line-height: 1; margin-top: 6px; text-wrap: balance; }
.sheet-meta { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.sheet .roles { margin-top: 16px; }
.sheet-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--muted); }
@media (max-width: 940px) { .sheet { transform: rotate(-.6deg); padding: 26px 20px 22px; } }
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: pin .7s cubic-bezier(.2, .9, .25, 1.15) both .15s; }
  @keyframes pin { from { transform: translateY(46px) rotate(2.5deg); opacity: 0; } to { transform: rotate(-1.2deg); opacity: 1; } }
}

/* role rows: shared by the hero sheet and the outings list */
.roles { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.role { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.role-name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.role-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(31, 94, 79, .12); color: var(--green); font-size: 12.5px; font-weight: 650; vertical-align: 2px; white-space: nowrap; }
.role-blurb { grid-column: 1; color: var(--muted); font-size: 15px; line-height: 1.4; }
.role-side { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pips { display: flex; flex-wrap: wrap; gap: 5px; max-width: 150px; justify-content: flex-end; }
.pip { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.pip.on { background: var(--ink); }
.pip.me { background: var(--lime); }
.spots { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.role-names { grid-column: 1; font-size: 14px; color: var(--green); font-weight: 550; }
.bar { width: 120px; height: 10px; border-radius: 999px; border: 2px solid var(--ink); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); }
.btn.take { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn.mine { background: var(--lime); border-color: var(--ink); color: var(--ink); }
.btn.full { background: transparent; color: var(--muted); border-color: var(--line); }

/* verse */
.verse { background: var(--green); color: var(--paper); padding: 46px 0; }
.verse .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.verse .ar { font-family: "Amiri Verse", "Geeza Pro", "Noto Naskh Arabic", serif; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.9; direction: rtl; text-align: right; }
.verse .en { font-size: 20px; line-height: 1.45; max-width: 24em; }
.verse cite { display: block; margin-top: 10px; font-style: normal; font-size: 14.5px; opacity: .78; }
@media (max-width: 760px) { .verse .wrap { grid-template-columns: 1fr; gap: 14px; } }

/* sections */
.section { padding: 84px 0; }
.section > .wrap > h2, .split h2 { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 6vw, 76px); line-height: .92; letter-spacing: -.008em; text-wrap: balance; }
.lede { margin-top: 16px; max-width: 38em; font-size: 19px; color: var(--muted); }
@media (max-width: 760px) { .section { padding: 60px 0; } }

/* outings */
.outings { margin-top: 40px; display: grid; gap: 22px; }
.outing { display: grid; grid-template-columns: 148px minmax(0, 1fr) minmax(0, 1.05fr); background: var(--sheet); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; scroll-margin-top: 84px; }
.outing.flash { box-shadow: 0 0 0 6px var(--lime); }
.date { background: var(--green); color: var(--paper); padding: 22px 16px; display: flex; flex-direction: column; justify-content: flex-start; font-family: var(--display); line-height: .9; }
.date .mon { font-weight: 700; font-size: 26px; }
.date .day { font-weight: 900; font-size: 86px; margin-top: 2px; }
.date .dow { font-weight: 700; font-size: 22px; margin-top: 6px; opacity: .85; }
.date.soon { justify-content: center; }
.date.soon .mon { font-size: 30px; line-height: 1; }
.outing.planning .date { background: var(--deep); }
.outing-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.outing-body h3 { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-wrap: balance; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--lime); color: var(--ink); align-self: flex-start; }
.chip.planning { background: transparent; border: 1.5px dashed var(--ink); }
.facts { list-style: none; margin: 0; padding: 0; font-size: 15.5px; color: var(--ink); display: grid; gap: 3px; }
.facts li { display: flex; gap: 8px; }
.facts svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green); }
.outing-body p { color: var(--muted); font-size: 15.5px; }
.outing-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 15px; }
.outing-roles { padding: 18px 24px 20px; border-left: 2px solid var(--ink); min-width: 0; }
.outing-roles .roles { border-top: 0; }
.outing-roles .role:last-child { border-bottom: 0; }
@media (max-width: 1020px) { .outing { grid-template-columns: 120px minmax(0, 1fr); } .outing-roles { grid-column: 1 / -1; border-left: 0; border-top: 2px solid var(--ink); } .date .day { font-size: 68px; } }
@media (max-width: 560px) { .outing { grid-template-columns: 1fr; } .date { flex-direction: row; align-items: baseline; gap: 10px; padding: 12px 18px; } .date .day { font-size: 44px; margin: 0; order: -1; } .date .mon, .date .dow { font-size: 22px; margin: 0; } .outing-body, .outing-roles { padding-inline: 18px; } }
.empty, .skeleton { border: 2px dashed var(--line); border-radius: 10px; padding: 36px 24px; color: var(--muted); }
.skeleton { height: 220px; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%) var(--sheet); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .skeleton { animation: sheen 1.3s linear infinite; } @keyframes sheen { to { background-position: -200% 0; } } }

/* ways to help */
.ways { background: var(--sheet); border-block: 2px solid var(--ink); }
.ways-list { margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.way { display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.way svg { width: 40px; height: 40px; grid-row: span 2; color: var(--green); }
.way dt { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; }
.way dd { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .ways-list { grid-template-columns: 1fr; } }

/* how it works */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--green); }
.steps h3 { font-size: 20px; margin-top: 6px; }
.steps p { color: var(--muted); font-size: 16px; margin-top: 6px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* join */
.join { background: var(--deep); color: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.join .lede { color: rgba(241, 245, 238, .8); }
.join-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: rgba(241, 245, 238, .86); }
.join-points li { display: flex; gap: 10px; }
.join-points svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--lime); }
.form { background: var(--sheet); color: var(--ink); border-radius: 10px; padding: 28px; display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, legend { font-weight: 650; font-size: 15px; }
.field small, .hint { color: var(--muted); font-size: 13.5px; font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="datetime-local"], input[type="date"], input[type="number"], select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; }
textarea { min-height: 92px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 2px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 550; background: #fff; cursor: pointer; user-select: none; }
.chips input:checked + span { background: var(--ink); color: var(--lime); }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.radio-stack { display: grid; gap: 8px; }
.radio-stack label { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 15.5px; }
.radio-stack label:has(input:checked) { border-color: var(--ink); }
.radio-stack input, .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; cursor: pointer; }
.hp { position: absolute; left: -5000px; }
.form-msg { font-size: 15px; font-weight: 600; }
.form-msg.err { color: #a32115; }
.form-done { text-align: left; }
.form-done h3 { font-family: var(--display); font-size: 40px; font-weight: 900; line-height: 1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* faq */
.faq { margin-top: 36px; border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 40px 20px 0; color: var(--muted); max-width: 44em; }

/* footer */
.foot { background: var(--night); color: rgba(241, 245, 238, .8); padding: 44px 0 56px; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot .brand { color: var(--paper); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot small { display: block; margin-top: 10px; max-width: 34em; font-size: 14px; opacity: .8; }

/* dialogs */
dialog { border: 0; padding: 0; border-radius: 14px; width: min(100% - 28px, 480px); max-height: min(92vh, 760px); background: var(--sheet); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); overflow: auto; }
dialog::backdrop { background: rgba(10, 42, 35, .62); backdrop-filter: blur(3px); }
.dlg { padding: 26px 24px 24px; display: grid; gap: 16px; }
.dlg h2 { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: .95; text-wrap: balance; }
.dlg-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; font-size: 26px; line-height: 1; }
.dlg-x:hover { background: var(--line); }
.ticket { border: 2px solid var(--ink); border-radius: 8px; padding: 12px 14px; background: #fff; }
.ticket b { display: block; font-size: 17px; }
.ticket span { color: var(--muted); font-size: 15px; }
.badge { background: var(--lime); border: 2px solid var(--ink); border-radius: 10px; padding: 16px; text-align: center; }
.badge small { display: block; font-weight: 700; font-size: 14px; }
.badge strong { display: block; font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; margin: 4px 0; }
.badge span { font-weight: 600; }
.stack { display: grid; gap: 10px; }
.stack .btn { width: 100%; }
.mine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mine-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 2px solid var(--ink); border-radius: 8px; padding: 10px 12px; background: #fff; }
.mine-list b { display: block; line-height: 1.25; }
.mine-list span { font-size: 14.5px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); max-width: calc(100% - 28px); }

/* admin */
.admin { background: var(--paper); }
.admin main { padding: 28px 0 80px; }
.gate { max-width: 440px; margin: 8vh auto 0; background: var(--sheet); border: 2px solid var(--ink); border-radius: 12px; padding: 28px; display: grid; gap: 16px; }
.gate h1 { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: .95; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 24px; }
.tabs button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 650; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--lime); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--sheet); border: 2px solid var(--ink); border-radius: 10px; padding: 14px 16px; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1; }
.stat span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.a-event { background: var(--sheet); border: 2px solid var(--ink); border-radius: 10px; padding: 18px 20px; margin-bottom: 18px; }
.a-event header { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; justify-content: space-between; }
.a-event h3 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.a-event .when { color: var(--muted); font-size: 15px; }
.a-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.a-role { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.a-role h4 { margin: 0 0 6px; font-size: 16px; display: flex; justify-content: space-between; gap: 10px; }
.a-role h4 span { color: var(--muted); font-weight: 500; }
.a-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.a-people li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: space-between; font-size: 15.5px; padding: 4px 0; }
.a-people .need { color: #a32115; font-weight: 600; }
.a-people a { font-weight: 600; }
.tablewrap { overflow-x: auto; background: var(--sheet); border: 2px solid var(--ink); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13.5px; color: var(--muted); font-weight: 650; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; align-items: center; }
.filters input, .filters select { width: auto; min-width: 200px; min-height: 42px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { padding: 1px 8px; border-radius: 999px; background: rgba(31, 94, 79, .12); color: var(--green); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.editor { display: grid; gap: 14px; }
.role-edit { display: grid; grid-template-columns: minmax(0, 1.2fr) 84px auto; gap: 8px; align-items: center; }
.role-edit [data-f="blurb"] { grid-column: 1 / -1; }
pre.msg { white-space: pre-wrap; background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 14px; font: 15px/1.5 var(--body); margin: 0; max-height: 46vh; overflow: auto; }
dialog.wide { width: min(100% - 28px, 640px); }

/* poster */
.poster-page { background: #d9ded6; }
.poster { width: 8.5in; min-height: 11in; margin: 24px auto; background: var(--deep); color: var(--paper); padding: .7in .7in .6in; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.poster h1 { text-wrap: balance; font-family: var(--display); font-weight: 900; font-size: 1.2in; line-height: .86; letter-spacing: -.01em; }
.poster .sub { margin-top: .28in; font-size: .24in; line-height: 1.35; max-width: 5.6in; color: rgba(241, 245, 238, .9); }
.poster .qr { margin-top: auto; display: grid; grid-template-columns: 2.9in 1fr; gap: .4in; align-items: end; }
.poster .qr-box { background: var(--sheet); padding: .22in; border-radius: 8px; }
.poster .qr-box svg { width: 100%; height: auto; }
.poster .scan { font-family: var(--display); font-weight: 900; font-size: .78in; line-height: .9; color: var(--lime); }
.poster .url { margin-top: .14in; font-size: .215in; font-weight: 600; }
.poster .who { margin-top: .1in; font-size: .17in; opacity: .8; }
.poster-bar { text-align: center; padding: 18px; }
@media print { html, body.poster-page { margin: 0; padding: 0; background: none; } .poster { margin: 0; width: 8.5in; height: 10.98in; min-height: 0; break-inside: avoid; } .poster-bar { display: none; } @page { size: letter; margin: 0; } body { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* The hero sheet is a summary, so each job sits on one compact line. */
.sheet .role-side { display: grid; grid-template-columns: auto auto; column-gap: 16px; row-gap: 4px; align-items: center; justify-items: end; }
.sheet .role-side .btn { grid-column: 2; grid-row: 1 / span 2; }
.sheet .spots { grid-column: 1; }
@media (max-width: 520px) {
  .sheet .role { grid-template-columns: minmax(0, 1fr); }
  .sheet .role-side { grid-column: 1; grid-row: auto; grid-template-columns: 1fr auto; justify-items: start; }
  .sheet .pips { justify-content: flex-start; }
}
