/* Deferral Without Denial — cinematic print forms (poster register) */
:root {
  --page-pad: 0;
  --cine-navy: #171b24;
  --cine-gold: #be8e62;
  --cine-gold-lt: #d4a878;
  --cine-muted: #aab0ba;
  --cine-white: #ffffff;
}

body.print-form,
body.print-cards {
  margin: 0;
  background: #0e1116;
  color: var(--cine-white);
  -webkit-font-smoothing: antialiased;
}

.print-root {
  display: none;
}

@page {
  size: A4 portrait;
  margin: 0;
}

@page landscape {
  size: A4 landscape;
  margin: 0;
}

@media print {
  body.print-form,
  body.print-cards {
    background: #000;
  }

  .print-subpage-chrome {
    display: none !important;
  }

  .print-root {
    display: block;
  }

  .sheet {
    break-after: page;
    page-break-after: always;
  }

  .sheet:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .sheet.landscape {
    page: landscape;
  }

  .sheet-cine::before,
  .sheet-cine::after,
  .card-cine::before,
  .card-cine-bg,
  .register-hero::before,
  .register-table thead th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cine-panel {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ——— cinematic full-bleed sheet ——— */
.sheet-cine {
  position: relative;
  width: 210mm;
  min-height: 297mm;
  box-sizing: border-box;
  background: #0e1116 center/cover no-repeat;
  color: var(--cine-white);
  overflow: hidden;
}

.sheet-cine--reg { background-image: url(/print/event/thumbs/06-in-person.v7.jpg); }
.sheet-cine--terms { background-image: url(/print/art/thumbs/bg-02.jpg); }
.sheet-cine--station { background-image: url(/print/event/thumbs/09-pending-wall.v7.jpg); }

.sheet-cine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 21, 32, .92) 0%,
    rgba(16, 21, 32, .52) 38%,
    rgba(16, 21, 32, .62) 62%,
    rgba(16, 21, 32, .94) 100%
  );
  pointer-events: none;
}

.sheet-cine::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.sheet-cine-inner {
  position: relative;
  z-index: 1;
  min-height: 297mm;
  display: flex;
  flex-direction: column;
  padding: 14mm 12mm 10mm;
  box-sizing: border-box;
}

/* poster type hierarchy */
.cine-eye {
  text-align: center;
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cine-gold);
  margin: 0 0 4mm;
}

.cine-title {
  text-align: center;
  font-size: 26pt;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0 0 3mm;
  color: var(--cine-white);
}

.cine-title.sm {
  font-size: 20pt;
}

.cine-sub {
  text-align: center;
  font-size: 10pt;
  font-style: italic;
  font-weight: 500;
  color: var(--cine-gold-lt);
  line-height: 1.45;
  margin: 0 auto 8mm;
  max-width: 34em;
}

.cine-sub.plain {
  font-style: normal;
  font-size: 9pt;
  color: var(--cine-muted);
}

/* white form panel — poster CTA pill expanded */
.cine-panel {
  background: rgba(255, 255, 255, .97);
  color: #14171f;
  border-radius: 4px;
  padding: 7mm 8mm 6mm;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  flex: 1;
}

.cine-panel--compact {
  flex: 0;
}

.form-section {
  margin-bottom: 5mm;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section h2 {
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cine-gold);
  margin: 0 0 3mm;
  padding-bottom: 2mm;
  border-bottom: 1px solid rgba(190, 142, 98, .35);
}

.form-section h2 span {
  color: #5f6672;
  font-weight: 600;
}

.hint-line {
  font-size: 7.5pt;
  color: #5f6672;
  margin: 0 0 2mm;
  font-style: italic;
}

.role-pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5mm;
  margin-bottom: 3mm;
}

.role-pick {
  border: 1px solid #e4e6e9;
  background: #f4f5f7;
  padding: 3mm;
  display: flex;
  gap: 2.5mm;
  font-size: 8pt;
  line-height: 1.35;
}

.role-pick .box {
  flex: 0 0 4mm;
  width: 4mm;
  height: 4mm;
  border: 1.5px solid #171b24;
  background: #fff;
}

.role-pick strong {
  display: block;
  font-size: 8.5pt;
  font-weight: 600;
  color: #171b24;
}

.role-pick .sub {
  font-size: 7pt;
  color: #5f6672;
}

.stance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2mm;
  margin-bottom: 3mm;
}

.stance-pick {
  border: 1px solid #e4e6e9;
  padding: 2mm;
  font-size: 7pt;
  display: flex;
  gap: 2mm;
  background: #fff;
}

.stance-pick .box {
  flex: 0 0 3.5mm;
  width: 3.5mm;
  height: 3.5mm;
  border: 1px solid #171b24;
}

.field-row {
  display: grid;
  grid-template-columns: 32mm 1fr;
  gap: 2mm 4mm;
  align-items: end;
  margin-bottom: 3mm;
}

.field-row label {
  font-size: 7.5pt;
  font-weight: 500;
  line-height: 1.25;
}

.field-row .line {
  border-bottom: 1px solid rgba(20, 23, 31, .35);
  min-height: 6.5mm;
}

.field-row .line.tall { min-height: 12mm; }

.field-row.span-all { grid-template-columns: 1fr; }

.checkbox-row {
  display: flex;
  gap: 2.5mm;
  font-size: 7.5pt;
  line-height: 1.45;
  margin-bottom: 2.5mm;
}

.checkbox-row .box {
  flex: 0 0 4mm;
  width: 4mm;
  height: 4mm;
  border: 1.5px solid #171b24;
  background: #fff;
}

.checkbox-row strong { font-weight: 600; }

.consent-block {
  border-left: 2px solid var(--cine-gold);
  background: #f4f5f7;
  padding: 3mm 3mm 3mm 4mm;
}

.consent-intro {
  font-size: 7.5pt;
  color: #5f6672;
  margin: 0 0 2.5mm;
}

.sig-row {
  display: grid;
  grid-template-columns: 1fr 42mm;
  gap: 6mm;
  margin-top: 4mm;
  padding-top: 3mm;
  border-top: 1px solid #e4e6e9;
}

.sig-row label {
  display: block;
  font-size: 7pt;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cine-gold);
  margin-bottom: 1.5mm;
}

.sig-row .line {
  border-bottom: 1px solid #14171f;
  min-height: 8mm;
}

/* terms */
.terms-pull {
  font-size: 9pt;
  font-style: italic;
  color: #60233b;
  line-height: 1.5;
  padding: 3mm 0 3mm 4mm;
  border-left: 2px solid var(--cine-gold);
  background: #fafafa;
  margin-bottom: 4mm;
}

.terms ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: term;
}

.terms li {
  counter-increment: term;
  font-size: 7.5pt;
  line-height: 1.48;
  margin-bottom: 2.5mm;
  padding-left: 6mm;
  position: relative;
}

.terms li::before {
  content: counter(term);
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--cine-gold);
  font-size: 7pt;
}

.terms li strong { font-weight: 600; }

.consent-title {
  font-size: 8pt;
  font-weight: 600;
  margin: 0 0 2.5mm;
}

/* poster footer */
.cine-foot {
  text-align: center;
  margin-top: auto;
  padding-top: 5mm;
}

.cine-foot .line1 {
  font-size: 7.5pt;
  color: var(--cine-muted);
  margin: 0 0 1mm;
}

.cine-foot .line2 {
  font-size: 8pt;
  font-weight: 600;
  color: var(--cine-gold);
  margin: 0;
  letter-spacing: .02em;
}

.cine-ref {
  position: absolute;
  top: 8mm;
  right: 10mm;
  z-index: 2;
  font-size: 6.5pt;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

/* ——— pending wall cards (mini posters) ——— */
:root {
  --card-w: 93mm;
  --card-h: 89mm;
  --sheet-gap: 3mm;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, var(--card-w));
  grid-template-rows: repeat(3, var(--card-h));
  gap: var(--sheet-gap);
  width: calc(var(--card-w) * 2 + var(--sheet-gap));
  margin: 0 auto;
  padding: 8mm 0;
}

.sheet-cards {
  background: #0e1116;
  min-height: 297mm;
}

.card-cine {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
}

.card-cine-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #171b24 0%, #0e1116 45%, #1a2230 100%);
  filter: none;
}

.card-cine-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background: center/cover no-repeat;
}

.card-cine:nth-child(6n+1) .card-cine-bg::after { background-image: url(/print/event/thumbs/09-pending-wall.v7.jpg); }
.card-cine:nth-child(6n+2) .card-cine-bg::after { background-image: url(/print/posters/thumbs/06-the-chair.v2.jpg); }
.card-cine:nth-child(6n+3) .card-cine-bg::after { background-image: url(/print/art/thumbs/bg-07.jpg); }
.card-cine:nth-child(6n+4) .card-cine-bg::after { background-image: url(/print/event/thumbs/09-pending-wall.v7.jpg); }
.card-cine:nth-child(6n+5) .card-cine-bg::after { background-image: url(/print/posters/thumbs/06-the-chair.v2.jpg); }
.card-cine:nth-child(6n+6) .card-cine-bg::after { background-image: url(/print/art/thumbs/bg-07.jpg); }

.card-cine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,21,32,.75) 0%, rgba(16,21,32,.45) 45%, rgba(16,21,32,.88) 100%);
  z-index: 1;
}

.card-cine-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 5mm 6mm 4mm;
  text-align: center;
}

.card-cine .cine-eye {
  font-size: 6pt;
  margin-bottom: 3mm;
}

.card-cine-title {
  font-size: 13pt;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 4mm;
  color: var(--cine-white);
}

.card-cine-prompt {
  font-size: 9.5pt;
  font-style: italic;
  color: var(--cine-gold-lt);
  margin: 0 0 4mm;
}

.write-line {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  min-height: 9mm;
  margin: 0 auto 3mm;
  width: 88%;
}

.card-cine-foot {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 5.5pt;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cine-gold);
  padding: 2.5mm 4mm 3.5mm;
  border-top: 1px solid rgba(190, 142, 98, .35);
}

/* station sign — full poster page */
.station-cine {
  min-height: 297mm;
}

.station-cine .sheet-cine-inner {
  justify-content: center;
  text-align: center;
  padding-top: 20mm;
}

.station-cine .cine-title {
  font-size: 32pt;
  margin-bottom: 5mm;
}

.station-cine .cine-title em {
  font-style: italic;
  font-weight: 500;
}

.station-cine time {
  display: block;
  font-size: 11pt;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--cine-gold);
  margin-bottom: 6mm;
}

.station-cine .instruction {
  font-size: 12pt;
  color: var(--cine-muted);
  line-height: 1.55;
  max-width: 28em;
  margin: 0 auto 10mm;
}

.station-cine .instruction em {
  font-style: italic;
  color: var(--cine-gold-lt);
}

.station-pill {
  display: inline-block;
  background: var(--cine-white);
  color: #171b24;
  font-size: 9pt;
  font-weight: 700;
  padding: 3mm 6mm;
  border-radius: 3px;
  margin-bottom: 12mm;
  letter-spacing: .02em;
}

.cut-mark { position: relative; }

@media print {
  .cut-mark::before,
  .cut-mark::after {
    content: "";
    position: absolute;
    width: 4mm;
    height: 4mm;
    border-color: var(--cine-gold);
    border-style: solid;
    opacity: .6;
    z-index: 3;
  }

  .cut-mark::before {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
  }

  .cut-mark::after {
    bottom: 0;
    right: 0;
    border-width: 0 1px 1px 0;
  }

  .card-cine,
  .station-cine {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ——— sign-in register (landscape poster header) ——— */
.sheet-signin {
  width: 297mm;
  min-height: 210mm;
  background: #fff;
  box-sizing: border-box;
}

.register-hero {
  position: relative;
  height: 38mm;
  background: #0e1116 url(/print/posters/thumbs/07-assembly-day.v6.jpg) center/cover no-repeat;
  color: var(--cine-white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 5mm 10mm;
  box-sizing: border-box;
}

.register-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,21,32,.94) 0%, rgba(16,21,32,.7) 55%, rgba(16,21,32,.88) 100%);
}

.register-hero > * { position: relative; z-index: 1; }

.register-hero .cine-eye {
  text-align: left;
  margin: 0 0 1.5mm;
  font-size: 6.5pt;
}

.register-hero h1 {
  font-size: 16pt;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.1;
}

.register-hero .sub {
  font-size: 9pt;
  font-style: italic;
  color: var(--cine-gold-lt);
  margin: 1mm 0 0;
}

.register-hero .register-meta {
  font-size: 7pt;
  color: var(--cine-muted);
  text-align: right;
  line-height: 1.45;
}

.signin-body {
  padding: 4mm 8mm 6mm;
}

.register-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 7.5pt;
  table-layout: fixed;
}

.register-table th,
.register-table td {
  border: 1px solid #d8dade;
  padding: 1.8mm 2mm;
  height: 7.5mm;
  vertical-align: middle;
}

.register-table thead th {
  background: #171b24;
  color: #fff;
  font-weight: 600;
  font-size: 7pt;
  letter-spacing: .04em;
  border-color: #171b24;
}

.register-table thead th small {
  display: block;
  font-weight: 500;
  color: var(--cine-gold-lt);
  font-size: 6pt;
}

.register-table tbody tr:nth-child(even) td {
  background: #f4f5f7;
}

.register-table .col-no { width: 7mm; text-align: center; color: #5f6672; font-weight: 600; }
.register-table .col-name { width: 28mm; }
.register-table .col-affil { width: 32mm; }
.register-table .col-role { width: 18mm; }
.register-table .col-ticket { width: 14mm; }
.register-table .col-time { width: 16mm; }
.register-table .col-film { width: 10mm; text-align: center; }
.register-table .col-sig { width: 22mm; }

.register-foot {
  display: flex;
  justify-content: space-between;
  font-size: 6.5pt;
  color: #5f6672;
  margin-top: 2.5mm;
  padding-top: 2mm;
  border-top: 1px solid #e4e6e9;
}

.register-foot .url {
  color: var(--cine-gold);
  font-weight: 600;
}
