@font-face { font-family: Manrope; src: url('/fonts/manrope-regular.ttf') format('truetype'); font-display: swap; font-weight: 400; }
@font-face { font-family: Manrope; src: url('/fonts/manrope-medium.ttf') format('truetype'); font-display: swap; font-weight: 500 800; }

:root {
  color-scheme: light;
  --paper: #edf2fc;
  --white: #fff;
  --navy: #2246b9;
  --navy-deep: #101a34;
  --ink: #16213a;
  --muted: #526077;
  --accent: #3b55a6;
  --line: #d9e3f3;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Manrope, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 4% 15%, #d9edff 0%, #d9edff00 51%), radial-gradient(ellipse at 92% 8%, #d9dfff 0%, #d9dfff00 55%), var(--paper); background-attachment: fixed; font: 400 .93rem/1.5 var(--sans); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 2px solid #365adb; outline-offset: 3px; }
.symbols { position: absolute; width: 0; height: 0; }
.icon { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 26px; width: min(100%, 1660px); margin-inline: auto; padding: 21px clamp(17px, 3vw, 42px); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; position: sticky; top: 21px; height: calc(100dvh - 42px); min-height: 470px; padding: 16px 12px 13px; border: 1px solid #fff; border-radius: 26px; color: var(--ink); background: #f7fbffd4; -webkit-backdrop-filter: blur(24px) saturate(145%); backdrop-filter: blur(24px) saturate(145%); box-shadow: inset 0 1px 1px #fff, 0 16px 42px #4262a222; }
.brand { display: flex; gap: 10px; align-items: center; padding: 3px 5px 17px; border-bottom: 1px solid #cbdaf0; text-decoration: none; }
.monogram { display: grid; place-content: center; grid-auto-flow: column; align-items: baseline; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid #ffffff91; border-radius: 14px; font: 730 15px/1 var(--sans); color: #fff; background: linear-gradient(142deg, #648bff 0%, #384ed1 58%, #283e9e 100%); box-shadow: inset 0 1px 1px #ffffff9e, 0 5px 11px #384ed148; }
.monogram span { margin-inline: 1px; font-size: .77em; color: #dce7ff; }
.brand strong { display: block; color: var(--ink); font: 720 1.08rem/1.1 var(--sans); letter-spacing: -.04em; white-space: nowrap; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 740; letter-spacing: .1em; }
.navigation { display: grid; gap: 5px; margin-top: 16px; }
.navigation button, .sidebar-footer a, .sidebar-footer button { display: flex; gap: 10px; align-items: center; min-height: 44px; color: #35445e; border: 1px solid transparent; background: transparent; text-align: left; text-decoration: none; border-radius: 14px; padding: 8px 11px; font-size: .88rem; font-weight: 650; }
.navigation button:hover, .sidebar-footer a:hover, .sidebar-footer button:hover { background: #e3ecfd; }
.navigation button[aria-current="page"] { background: linear-gradient(150deg, #f7fbff, #dfeaff 95%); border-color: #fff; color: #2144a8; box-shadow: inset 0 1px 1px #fff, 0 5px 11px #4b65ad1f; }
.navigation button[aria-current="page"] .icon, .sidebar-footer .icon { color: var(--navy); }
.sidebar-footer { display: grid; margin-top: auto; padding-top: 9px; border-top: 1px solid #cbdaf0; }
.sidebar-footer button { margin-top: 4px; }
.workspace { width: min(100%, 1440px); min-width: 0; margin-inline: auto; padding: 0 0 12px; }
.demo-note { margin: 12px 0; padding: 10px 14px; border-radius: 10px; background: #e9f0ff; color: #253e78; font-size: .86rem; line-height: 1.5; }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin: 0 2px 13px; color: var(--muted); font-size: .82rem; }
.topline span:first-child { color: #2b3e68; font-size: .93rem; font-weight: 730; letter-spacing: -.015em; }
.event-date { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #fff; border-radius: 999px; background: #f4f8ffb8; color: #354b78; font-weight: 620; }
.event-date .icon { width: 14px; height: 14px; }
.hero { display: grid; grid-template-columns: 1fr .7fr; position: relative; isolation: isolate; min-height: clamp(225px, 27vw, 320px); overflow: hidden; border: 1px solid #ffffff7a; border-radius: 29px; color: #fff; background: var(--navy-deep); box-shadow: 0 15px 35px #253d792f; }
.hero-copy { z-index: 1; display: flex; flex-direction: column; justify-content: end; min-width: 0; padding: 31px 0 clamp(22px, 4vw, 51px) clamp(24px, 4vw, 58px); }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(90deg, #121e3c 7%, #121e3cf0 33%, #121e3c10 72%), linear-gradient(0deg, #0d152c9c, #16274400 62%), url('/film-poster-v3.jpg') 75% 57% / cover no-repeat; z-index: -1; }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: .71rem; font-weight: 750; letter-spacing: .12em; }
.hero .eyebrow { color: #d6e2ff; }
.hero h1 { margin: 0; font: 735 clamp(2.65rem, 5.2vw, 5.25rem)/.96 var(--sans); letter-spacing: -.072em; }
.hero-copy > p:last-child { max-width: 42ch; margin: 12px 0 0; color: #e0eaff; font-size: .92rem; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block: 19px; }
.metric { display: grid; grid-template-columns: 1fr auto; gap: 6px 7px; min-width: 0; min-height: 91px; padding: 14px 16px 13px; border: 1px solid #fff; border-radius: 19px; background: #f8fbff; box-shadow: 0 6px 20px #38589412; }
.metric .icon { grid-area: 1 / 2 / 3 / 3; align-self: start; box-sizing: content-box; width: 16px; height: 16px; padding: 8px; border-radius: 11px; color: #3255b5; background: #e6edff; }
.metric:nth-child(2) .icon { color: #176659; background: #e0f3ef; }
.metric:nth-child(3) .icon { color: #7447a6; background: #f1eaff; }
.metric:nth-child(4) .icon { color: #52688d; background: #e9eff8; }
.metric strong { grid-column: 1; align-self: end; font: 735 2.05rem/.95 var(--sans); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.metric span { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; font-weight: 550; }
.surface { border: 1px solid #fff; border-radius: 22px; background: #fbfdff; box-shadow: 0 12px 33px #3d568d16; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 21px; }
h2 { margin: 0; font: 735 1.7rem/1.1 var(--sans); letter-spacing: -.05em; overflow-wrap: anywhere; }
.section-head p, .menu-settings p:not(.eyebrow) { color: var(--muted); margin: 5px 0 0; font-size: .83rem; }
.actions, .dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.button { display: inline-flex; gap: 7px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #f5f8ff; color: var(--navy); font-size: .82rem; font-weight: 680; text-decoration: none; text-align: center; }
.button.primary { color: #fff; border-color: #2146bf; background: linear-gradient(155deg, #3d60e2, #2244bd); box-shadow: inset 0 1px 1px #ffffff69, 0 4px 10px #2d4fc13c; }
.button.primary:hover { background: #1d3da9; }
.button.secondary:hover { background: #e8efff; }
.button.quiet { border-color: transparent; }
.button.quiet:hover { background: #e9effd; }
.tools { display: flex; justify-content: space-between; gap: 10px; padding: 0 21px 13px; }
.search { display: flex; flex: 0 1 375px; align-items: center; gap: 8px; min-width: 0; padding: 0 11px; color: var(--accent); border: 1px solid var(--line); border-radius: 13px; background: #f5f8ff; }
.search:focus-within { outline: 2px solid #365adb; }
.search input { min-width: 0; width: 100%; min-height: 40px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .83rem; }
.tools select, .field input, .field textarea, .field select { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #cddbf0; border-radius: 12px; padding: 8px 10px; color: var(--ink); background: var(--white); }
.tools select { width: auto; max-width: 45%; font-size: .8rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; }
th, td { padding: 12px 13px; text-align: left; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 21px; }
th:last-child, td:last-child { padding-right: 21px; text-align: right; }
th { background: #edf3fc; color: #4d607d; font-size: .7rem; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
tbody tr + tr { border-top: 1px solid #e0e8f6; }
td:first-child { min-width: 170px; overflow-wrap: anywhere; }
td strong { font-weight: 750; }
td small { display: block; color: var(--muted); margin-top: 2px; }
.row-action { white-space: nowrap; }
.mobile-label { display: none; }
.pill { display: inline-flex; width: fit-content; align-items: center; gap: 6px; border-radius: 30px; padding: 4px 9px; background: #e9efff; color: #354e9a; font-size: .75rem; font-weight: 670; white-space: nowrap; }
.pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.yes { background: #e0f4ec; color: #175c47; }
.pill.no { background: #f8e9ed; color: #933b52; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 31px 20px 34px; border-top: 1px solid var(--line); text-align: center; }
.empty > .icon { box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border-radius: 15px; color: #3654b7; background: #e8efff; }
.empty h3 { margin: 1px 0 0; font: 720 1.2rem/1.15 var(--sans); letter-spacing: -.025em; }
.empty p { margin: 0; color: var(--muted); font-size: .83rem; }
.empty .button { margin-top: 4px; }
.workspace-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 19px; color: var(--muted); font-size: .72rem; }
.workspace-footer span:first-child { color: var(--accent); font-size: .7rem; font-weight: 750; letter-spacing: .11em; }
.workspace-footer a, .login-credit a { color: inherit; text-underline-offset: .2em; }
.menu-settings { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 23px 32px; padding: 25px; margin: 0 0 19px; }
.menu-settings form { display: grid; justify-items: start; gap: 10px; }
.menu-settings .pill { margin-top: 10px; }
.menu-settings p { max-width: 45ch; }
.menu-settings .field { width: 100%; }
.meal-tally { margin: 13px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .81rem; }
.meal-tally li { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 5px 1px; }
.meal-tally strong { color: var(--ink); }
.bill-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 16px 0 0; }
.bill-summary > div { min-width: 0; padding: 8px 10px; border-radius: 12px; background: #eef3ff; }
.bill-summary dt { color: var(--muted); font-size: .74rem; }
.bill-summary dd { margin: 1px 0 0; color: #223b80; font-size: 1.08rem; font-weight: 720; font-variant-numeric: tabular-nums; }
.pricing { width: 100%; }
.segments { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 3px; padding: 3px; border: 1px solid #e0e8fb; border-radius: 14px; background: #eef3fc; }
.segments label { position: relative; min-width: 0; cursor: pointer; }
.segments input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segments span { display: grid; place-content: center; min-height: 38px; padding: 3px 5px; border: 1px solid transparent; border-radius: 11px; color: #435678; font-size: .76rem; font-weight: 650; text-align: center; }
.segments input:checked + span { border-color: #fff; color: #2448b3; background: #fff; box-shadow: 0 3px 8px #425eae28; }
.segments input:focus-visible + span { outline: 2px solid #365adb; }
.price-lines { display: grid; gap: 5px; }
.price-lines strong { margin-top: 5px; color: var(--muted); font-size: .75rem; }
.field.dish-price { display: grid; grid-template-columns: minmax(0, 1fr) 95px; align-items: center; gap: 7px; }
.dish-price span { overflow-wrap: anywhere; }
.dish-price input { margin-top: 0; }
.payment-detail .button { margin-top: 10px; }
.field { display: block; font-weight: 750; font-size: .82rem; }
.field small { color: var(--muted); font-weight: 400; margin-left: 5px; }
.field input, .field textarea, .field select { display: block; margin-top: 5px; font-weight: 400; }
.field textarea { resize: vertical; }
.checkbox { font-size: .84rem; display: flex; gap: 8px; align-items: center; }
.checkbox input { accent-color: var(--navy); width: 17px; height: 17px; }
.message { margin-top: 12px; padding: 9px 13px; border: 1px solid #d5e1fb; border-radius: 12px; color: #314985; background: #edf3ff; }
.error { margin: 0; color: #a32940; font-size: .83rem; }
.loading { margin: 30px; }
dialog { width: min(570px, calc(100% - 26px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #fff; border-radius: 24px; color: var(--ink); background: #fbfdff; box-shadow: 0 24px 70px #192b6d64; }
dialog::backdrop { background: #1323486e; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.dialog-head { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 18px; background: #f8fbffe8; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.dialog-body { display: grid; gap: 14px; padding: 17px 18px 20px; }
.dialog-actions { justify-content: flex-end; }
.icon-button { display: inline-grid; place-content: center; width: 39px; height: 39px; flex: 0 0 auto; border: 1px solid transparent; border-radius: 50%; color: var(--navy); background: #ecf2ff; }
.icon-button:hover { background: #e0ebff; }
.detail-meta { display: grid; gap: 7px; margin: 0; }
.detail-meta > div { display: grid; grid-template-columns: minmax(100px, 30%) 1fr; gap: 8px; }
.detail-meta dt { color: var(--muted); font-size: .79rem; }
.detail-meta dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-section { border-top: 1px solid var(--line); padding-top: 13px; }
.detail-section h3 { margin: 0 0 6px; font: 710 1.13rem/1.1 var(--sans); letter-spacing: -.025em; }
.detail-section p { margin: 0 0 9px; color: var(--muted); font-size: .82rem; }
.detail-section ul { margin: 6px 0 12px; padding-left: 20px; overflow-wrap: anywhere; }
.form-group, .meal-card { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 9px 11px 12px; border: 1px solid var(--line); border-radius: 14px; }
.form-group legend, .meal-card legend { padding-inline: 5px; font-weight: 750; }
.form-group > p, .form-hint { margin: 0; color: var(--muted); font-size: .82rem; }
.form-group > button { justify-self: start; }
.roster, .party-answers, .manual-fields { display: grid; gap: 9px; }
.roster-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(86px, .36fr) auto; gap: 6px; align-items: end; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.party-answer { display: grid; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 13px; }
.party-answer small { color: var(--muted); }
.detail-section .party-detail { list-style: none; padding: 0; margin: 0; }
.party-detail li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; }
.party-detail li + li { border-top: 1px solid var(--line); }
.party-detail small { display: block; color: var(--muted); }
.preview-dialog { width: min(705px, calc(100% - 26px)); }
.preview-dialog iframe { display: block; width: 100%; height: min(72vh, 740px); border: 0; background: #edf2fc; }
.preview-dialog.preview-immersive { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; max-height: none; border: 0; border-radius: 0; }
.preview-dialog.preview-immersive .dialog-head { display: none; }
.preview-dialog.preview-immersive iframe { height: 100dvh; }
.login { display: grid; place-items: center; min-height: 100svh; padding: 22px; }
.login form, .login-card { display: grid; gap: 15px; width: min(100%, 450px); padding: clamp(23px, 5vw, 38px); border: 1px solid #fff; border-radius: 30px; background: #f8fbffde; backdrop-filter: blur(18px); box-shadow: 0 18px 60px #294d9b29; }
.login h1 { margin: -6px 0 0; font: 740 2.9rem/1 var(--sans); letter-spacing: -.065em; }
.login .eyebrow { margin: 0; }
.login .login-brand { font-size: .9rem; letter-spacing: .015em; }
.login-credit { margin: 0; color: var(--muted); font-size: .75rem; text-align: center; }
.login-intro { margin: 0; color: var(--muted); }
.login-logo { width: 42px; height: 42px; border-radius: 14px; }
.login-home { justify-self: start; color: var(--muted); font-size: .82rem; text-underline-offset: .2em; }
.share-card { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 12px 0 16px; padding: 14px; border: 1px solid #d8e4f7; border-radius: 16px; background: #edf4ff; }
.share-card div { flex: 1 1 220px; }
.share-card p { margin: 4px 0 0; color: var(--muted); font-size: .83rem; }
#wording-copy-status { flex-basis: 100%; }
#login-code-fields, #wording-fields { display: grid; gap: 12px; }
#login-code-fields input[name="code"] { letter-spacing: .26em; font-variant-numeric: tabular-nums; }
.stats { margin-top: 18px; }
.video-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0 21px 18px; }
.video-stats div { padding: 12px 14px; border-radius: 15px; background: #edf3fc; }
.video-stats dt, .stats-status { color: var(--muted); }
.video-stats dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 720; }
.stats-status { margin: 0 21px 16px; }
.button.danger { color: #a12e43; border-color: #f0c9d2; background: #fff0f3; }
.button.danger:hover { background: #fbe2e8; }

@media (max-width: 1090px) { .app { grid-template-columns: 184px minmax(0, 1fr); gap: 15px; } .sidebar { padding-inline: 9px; } .brand { gap: 8px; } .brand strong { font-size: 1rem; } }
@media (max-width: 730px) {
  .app { display: block; padding: 11px 12px; }
  .sidebar { position: static; min-height: 0; height: auto; padding: 11px 12px 8px; border-radius: 22px; }
  .brand { width: fit-content; padding: 0; border: 0; }
  .brand strong { font-size: 1.1rem; }
  .monogram { width: 37px; height: 37px; font-size: 13px; }
  .navigation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 9px 0 0; }
  .navigation button { justify-content: center; padding-inline: 4px; gap: 5px; font-size: .78rem; }
  .sidebar-footer { display: flex; flex-wrap: wrap; padding: 0; margin-top: 5px; border: 0; }
  .sidebar-footer a, .sidebar-footer button { min-height: 37px; margin: 0; padding-inline: 9px; font-size: .76rem; }
  .workspace { padding: 13px 0 8px; }
  .topline { margin-bottom: 11px; font-size: .73rem; }
  .hero { min-height: 190px; grid-template-columns: 1fr; border-radius: 22px; }
  .hero-copy { padding: 22px 14px 24px 17px; }
  .hero-photo { background-image: linear-gradient(90deg, #101a36 2%, #101a368c 64%, #101a3628), url('/film-poster-v3.jpg'); }
  .hero-copy > p:last-child { max-width: 32ch; font-size: .78rem; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 8px; margin-block: 12px; }
  .metric { min-height: 76px; padding: 9px 11px; border-radius: 16px; }
  .section-head, .tools { padding-inline: 12px; }
  .section-head { padding-block: 12px; }
  .menu-settings { grid-template-columns: 1fr; padding: 15px; gap: 14px; }
  th:first-child, td:first-child { padding-left: 12px; }
  th:last-child, td:last-child { padding-right: 12px; }
}
@media (max-width: 620px) {
  .table-wrap { overflow: visible; }
  table, tbody, tr { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody { border-top: 1px solid var(--line); }
  tbody tr { padding: 10px 0; }
  td { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 4px 12px; }
  td:first-child { display: block; padding-bottom: 7px; }
  td:last-child { justify-content: flex-end; }
  .mobile-label { display: inline; color: var(--muted); font-size: .76rem; }
}
@media (max-width: 420px) {
  .tools { display: grid; }
  .tools select { width: 100%; max-width: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .sidebar, .dialog-head { background: #f7fbff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  dialog::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
