:root {
  color-scheme: light;
  --ink: #153b32;
  --muted: #61736b;
  --paper: #f6f5ed;
  --line: #d8ded4;
  --accent: #d9ef8a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button.secondary,
.button.secondary {
  background: transparent;
  color: var(--ink);
}
button.danger {
  background: #9c342e;
  border-color: #9c342e;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #879b36;
  outline-offset: 3px;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 24px 6%;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 12px;
  margin-top: 5px;
}
.brand-mark {
  display: flex;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid #c5d0c5;
  border-radius: 8px;
  padding: 4px;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 36px 6% 60px;
  min-height: 75vh;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    44px/1.08 Georgia,
    serif;
  letter-spacing: -1.5px;
  max-width: 680px;
}
h2 {
  font:
    29px/1.2 Georgia,
    serif;
}
h3 {
  font-size: 19px;
}
p {
  line-height: 1.65;
}
.hero {
  padding: 25px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.hero p {
  color: var(--muted);
  max-width: 560px;
}
.hero .eyebrow {
  color: var(--ink);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill {
  display: inline-block;
  font-size: 12px;
  background: #e6ebdf;
  border-radius: 30px;
  padding: 7px 12px;
}
.workspace {
  display: grid;
  gap: 24px;
}
.panel,
.screening,
.ticket {
  border: 1px solid var(--line);
  background: #fffef8;
  border-radius: 14px;
  padding: 24px;
}
.login-panel {
  align-self: start;
}
.workspace > .login-panel {
  grid-row: 1;
}
.grid {
  display: grid;
  gap: 16px;
}
.screening {
  position: relative;
  overflow: hidden;
}
.film-art {
  display: flex;
  align-items: end;
  height: 150px;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 22px;
  background:
    radial-gradient(ellipse at 30% 120%, #e6d2a5 0 30%, transparent 31%),
    linear-gradient(135deg, #203e38, #88a890);
  color: white;
}
.screening:nth-child(2n) .film-art {
  background:
    radial-gradient(ellipse at 70% 130%, #dfab78 0 38%, transparent 39%),
    linear-gradient(135deg, #513b4c, #ada088);
}
.film-art span {
  font:
    40px Georgia,
    serif;
  opacity: 0.75;
}
.screening h3 {
  margin-bottom: 8px;
}
.screening .details {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.screening .bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status {
  font-size: 12px;
  font-weight: 650;
  display: inline-block;
  background: var(--accent);
  padding: 6px 10px;
  border-radius: 5px;
}
.status.closed {
  background: #e8ded4;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 6px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bcc8bd;
  border-radius: 7px;
  color: var(--ink);
  background: white;
  min-height: 45px;
}
input[type='checkbox'] {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: start;
  font-weight: 400;
  line-height: 1.5;
  margin: 18px 0;
}
form > button {
  margin-top: 18px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.row > label {
  flex: 1;
}
.toolbar {
  justify-content: space-between;
  margin-bottom: 24px;
}
.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.banner {
  padding: 14px 18px;
  background: #e9eddd;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}
.warning {
  color: #82261f;
  background: #f9e4d9;
  padding: 16px;
  border-radius: 8px;
}
.reservation-notice {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  border: 1px solid #bccb8c;
  border-left: 6px solid #718536;
  border-radius: 12px;
  padding: clamp(18px, 4vw, 28px);
  color: var(--ink);
  background: #edf4c8;
  overflow-wrap: anywhere;
}
.reservation-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-size: 22px;
  font-weight: 750;
}
.reservation-notice .eyebrow {
  margin-bottom: 8px;
}
.reservation-notice h2 {
  margin-bottom: 12px;
  font:
    750 22px/1.3 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.reservation-notice p,
.reservation-notice li {
  white-space: pre-line;
}
.reservation-notice p {
  margin-bottom: 12px;
}
.reservation-notice ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.65;
}
.reservation-notice li + li {
  margin-top: 8px;
}
.reservation-notice-content > :last-child {
  margin-bottom: 0;
}
.ticket {
  max-width: 700px;
}
.ticket h2 {
  margin-top: 18px;
}
.qr {
  max-width: 240px;
  width: 100%;
  border: 12px solid white;
  display: block;
  margin: 22px 0;
}
code {
  overflow-wrap: anywhere;
  font-size: 15px;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  font-size: 14px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
#message {
  position: fixed;
  bottom: 24px;
  left: 5%;
  right: 5%;
  z-index: 5;
  color: white;
  background: #243c33;
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: 0 8px 32px #0003;
}
#message.error {
  background: #8b3029;
}
dialog {
  border: none;
  border-radius: 14px;
  padding: 28px;
  width: min(580px, 94%);
  max-height: 90vh;
  color: var(--ink);
  background: #fffef8;
}
dialog::backdrop {
  background: #112f27a8;
}
.tabs {
  margin: 20px 0;
}
.tabs button {
  padding: 9px 14px;
}
.tabs button.active {
  background: var(--accent);
  color: var(--ink);
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
td button {
  padding: 7px 10px;
  margin: 2px;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
}
.metric strong {
  font:
    35px Georgia,
    serif;
  display: block;
  margin-top: 10px;
}
video {
  width: 100%;
  max-height: 320px;
  background: #1b2823;
  border-radius: 10px;
  margin-top: 20px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 24px 6%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.privacy {
  max-width: 850px;
}
.privacy h1 {
  margin-top: 30px;
}
.notice {
  overflow-wrap: anywhere;
  font:
    15px/1.8 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
@media (min-width: 700px) {
  .workspace > .login-panel {
    grid-row: auto;
  }
  h1 {
    font-size: 64px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition: background 0.15s;
  }
}

.film-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 22px;
}
.cover-editor {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.cover-editor [hidden] {
  display: none;
}
#cover-preview {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: grab;
  touch-action: none;
}
#cover-preview:active {
  cursor: grabbing;
}
