@font-face { font-family: Manrope; src: url('/assets/manrope.ttf') format('truetype'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root { color-scheme: dark; --bg: #111310; --surface: #1b1f18; --border: #30372a; --text: #f1f2eb; --muted: #a0aa96; --lime: #d5f77b; --orange: #ebbc83; font-family: Manrope, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; outline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--lime); }
button { transition: background .15s, color .15s, border-color .15s; }
button:hover { color: var(--lime); }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--lime); color: var(--bg); }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--lime); color: var(--bg); }
.skip-link:focus { top: 15px; }
.site-header { border-bottom: 1px solid #272d22; }
.header-inner { max-width: 1008px; padding: 0 32px; margin: auto; height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: -1.25px; }
.brand > .icon { width: 30px; height: 30px; margin-right: 9px; stroke-width: 2.7; color: var(--lime); }
.brand > span { color: var(--lime); }
.icon-button { min-width: 44px; height: 44px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.icon-button:hover { background: #26301e; }
.options-button { border: 1px solid var(--border); }
.options-button .icon { width: 25px; height: 25px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.invite-button { display: flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #53663d; border-radius: 8px; padding: 9px 14px; font-size: 14px; color: var(--lime); }
.invite-button > .icon { width: 17px; height: 17px; }
.crew-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 14px; font-size: 14px; color: #b3c6a1; overflow-wrap: anywhere; }
#sync-status { color: #94ac7b; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
#sync-status[data-status="offline"] { color: var(--orange); }
button:disabled { cursor: wait; opacity: .55; }
.link-access-note { font-size: 14px; color: #a7bb96; line-height: 1.8; margin: 18px 0; }
.local-link-note { font-size: 14px; color: var(--orange); line-height: 1.7; margin-top: 18px; }
#crew-link { font-size: 14px; }
.join-people { display: grid; gap: 9px; margin: 20px 0 4px; padding: 0; list-style: none; }
.join-people > li { min-width: 0; }
.join-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 12px; text-align: left; border: 1px solid #475d35; border-radius: 8px; font-size: 16px; }
button.join-option:hover { background: #26331e; border-color: #829e62; }
.join-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.join-arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -5px -5px -5px auto; border-radius: 6px; flex-shrink: 0; color: #b4c3a7; }
.join-arrow > .icon { width: 18px; height: 18px; }
.join-new-person { cursor: text; }
.join-new-person:focus-within { border-color: #829e62; }
.join-new-person input { width: 100%; min-width: 0; flex: 1; padding: 7px 0; background: transparent; border: 0; color: var(--text); outline: 0; }
.join-new-person input::placeholder { color: var(--muted); opacity: 1; }
.join-new-avatar { background: #283321; color: #b4c3a7; }
.join-new-avatar > .icon { width: 17px; height: 17px; }
.join-access-note { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 18px 0; }
.person-self { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; font-size: 15px; }
.personal-access-field { margin-top: 28px; }
.personal-invitations { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 24px; }
.personal-invitations .button { margin: -6px 0 24px; }
button.join-arrow:hover:enabled { background: #303e25; color: var(--lime); }
button.join-arrow:disabled { opacity: .35; cursor: default; }
#join-crew-error:empty { display: none; }
.modal-header h2[tabindex="-1"]:focus { outline: none; }
.page-shell { max-width: 1008px; margin: auto; padding: 42px 32px 60px; }
.festival-heading { margin-bottom: 24px; }
.festival-heading h1 { font-size: 42px; letter-spacing: -1.6px; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.festival-year { color: #7f8d71; font-size: 26px; letter-spacing: -.6px; font-weight: 400; margin-left: 6px; white-space: nowrap; }
.festival-switch { display: flex; align-items: center; gap: 24px; max-width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); text-align: left; font: inherit; letter-spacing: inherit; line-height: inherit; }
.festival-switch:hover { border-color: var(--lime); color: var(--text); }
.festival-switch-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.festival-switch-label { color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 500; letter-spacing: 0; }
.festival-switch-name { overflow-wrap: anywhere; }
.festival-switch > .icon { width: 24px; height: 24px; color: #9baa8d; }
.lineup-note { color: var(--muted); font-size: 14px; margin: 14px 0; }
.festival-date { font-size: 16px; color: var(--muted); margin-top: 8px; }
.demo-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; margin-bottom: 24px; border-radius: 8px; background: #1e2518; color: #acba9c; font-size: 14px; }
.demo-banner > div { max-width: 70ch; }
.demo-banner strong { display: block; margin-bottom: 4px; color: var(--text); font-weight: 600; }
.demo-banner p { line-height: 1.6; }
.demo-banner > button { display: flex; gap: 9px; align-items: center; color: var(--lime); font-size: 14px; font-weight: 500; min-height: 28px; padding: 3px 0; }
.demo-banner > button { flex-shrink: 0; min-height: 44px; }
.demo-banner > button .icon { width: 17px; height: 17px; }
.storage-alert { padding: 14px 16px; border: 1px solid #ad8654; border-radius: 8px; color: var(--orange); display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.storage-alert button { text-decoration: underline; }
.view-tabs { display: flex; gap: 34px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.view-tab { position: relative; min-height: 54px; padding: 0 0 15px; font-size: 18px; font-weight: 500; color: var(--muted); }
.view-tab.active { color: var(--lime); }
.view-tab.active:after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--lime); border-radius: 3px; }
.planning-navigation { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.planning-navigation .view-tabs { border: 0; margin: 0; flex-shrink: 0; }
.view-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; padding-bottom: 5px; }
.context-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 7px 0; color: var(--lime); font-size: 14px; text-align: left; }
.context-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.context-button > .icon { width: 17px; height: 17px; }
.person-picker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.control-label { font-size: 15px; color: var(--muted); flex-shrink: 0; }
.person-options { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 5px; margin: -5px; }
.person-option { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 7px 19px; border: 1px solid var(--border); border-radius: 7px; font-size: 15px; color: #c2ccba; white-space: nowrap; flex-shrink: 0; max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
.person-option:hover { border-color: #8caa60; }
.person-option.active { border-color: #829c59; background: #2b381f; color: var(--lime); }
.progress-count { color: var(--muted); font-size: 14px; white-space: nowrap; margin-left: auto; padding-left: 10px; }
.search-box { display: flex; align-items: center; gap: 11px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: #171c13; margin-bottom: 12px; }
.search-box > .icon { color: #89997a; width: 19px; height: 19px; }
.search-box input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 0; outline: 0; font-size: 15px; color: var(--text); }
.search-box input::placeholder { color: #89997a; }
.search-box:focus-within { border-color: #94af69; }
.day-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.day-filter { min-height: 42px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 7px; color: #b5c2a7; font-size: 14px; white-space: nowrap; }
.day-filter:hover { border-color: #829c59; }
.day-filter.active { border-color: #829c59; background: #2b381f; color: var(--lime); }
.act-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid #2b3225; min-height: 102px; }
.act-identity { display: flex; gap: 18px; align-items: center; min-width: 0; flex: 1; }
.act-photo { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: #283321; color: #899f72; }
.act-photo > span { display: flex; }
.act-image { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.45); }
.act-photo:has(.act-placeholder) { background: radial-gradient(ellipse at 75% 5%, hsl(var(--artist-hue) 24% 25% / .8), transparent 75%), linear-gradient(160deg, #283220, var(--surface)); }
.act-photo > .act-placeholder { font-size: 24px; font-weight: 750; letter-spacing: -1px; color: hsl(var(--artist-hue) 35% 65% / .6); }
.act-identity h3, .act-identity h4 { font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -.35px; overflow-wrap: anywhere; }
.rating-buttons { display: grid; grid-template-columns: repeat(3, 118px); gap: 8px; flex-shrink: 0; }
.rating-button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 9px; border: 1px solid #3a4431; border-radius: 7px; font-size: 14px; color: #b5c2a7; }
.rating-button > .icon { width: 16px; height: 16px; }
.rating-button > span { white-space: nowrap; }
.rating-button:hover { background: #26331c; border-color: #91a873; color: #e1edcf; }
.rating-button:disabled { opacity: .4; cursor: default; }
.rating-button:disabled:hover { background: transparent; border-color: #3a4431; color: #b5c2a7; }
.rating-0.selected { border-color: #748066; background: #30382a; color: #e0e6d9; }
.rating-1.selected { border-color: #b09265; background: #3e3525; color: #e8c28a; }
.rating-2.selected { border-color: var(--lime); background: var(--lime); color: #273617; font-weight: 600; }
.selection-group { margin: 30px 0 36px; }
.selection-group > h3 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; font-weight: 500; letter-spacing: -.4px; line-height: 1.4; margin-bottom: 8px; }
.selection-group > h3 > span { font-size: 15px; font-weight: 400; color: #8b9c7b; letter-spacing: 0; }
.selection-group.matches > h3 { color: var(--lime); }
.pick-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid #2b3225; }
.pick-row .act-photo { width: 56px; height: 56px; }
.pick-row .act-identity p { font-size: 14px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.pick-row > .icon { width: 19px; height: 19px; margin-right: 10px; }
.must-icon { color: var(--lime); }
.nice-icon { color: var(--orange); }
.empty-state { text-align: center; padding: 64px 20px; }
.empty-state > .icon { width: 32px; height: 32px; color: var(--lime); margin-bottom: 17px; }
.empty-state h3 { font-size: 22px; font-weight: 500; }
.empty-state p { color: var(--muted); margin: 8px 0 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 17px; min-height: 46px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 500; }
.button .icon { width: 17px; height: 17px; }
.button.primary { background: var(--lime); color: #253717; }
.button.primary:hover { background: #e2ff9c; }
.button.secondary { border-color: #4b5a3d; color: #c7d5b9; }
.button.secondary:hover { background: #28361f; }
.full-width { width: 100%; }
.loading { min-height: 100vh; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; color: var(--muted); }
.loading-error h1 { font-size: 26px; color: var(--text); }
.loading-error p { max-width: 480px; }
.loading-error > .icon { width: 40px; height: 40px; color: var(--lime); }
.image-failed { visibility: hidden; }
/* Occasional tasks live in one menu, with the same readable type sizes. */
dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 28px; border: 1px solid #45553a; border-radius: 12px; background: #1a2115; color: var(--text); box-shadow: 0 20px 100px #0008; }
dialog::backdrop { background: #060905bb; backdrop-filter: blur(5px); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.modal-header h2 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.7px; }
.modal-header > .icon-button { margin: -7px -9px -7px 0; flex-shrink: 0; }
.modal-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; margin: -10px 0 10px; padding: 6px 0; color: var(--lime); font-size: 14px; text-align: left; }
.modal-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.modal-back > .icon { width: 18px; height: 18px; }
.modal-subtitle { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 24px; }
.settings-list { margin: 20px 0; }
.settings-list > button { display: flex; align-items: center; width: 100%; gap: 14px; min-height: 60px; padding: 12px 2px; border-bottom: 1px solid #36472b; text-align: left; font-size: 16px; }
.settings-list > button > .icon { color: #9bb485; width: 19px; height: 19px; }
.settings-list > button > .icon:last-child { margin-left: auto; width: 17px; height: 17px; }
.settings-note, .source-note { color: #91a17f; font-size: 13px; line-height: 1.8; margin-top: 14px; }
.source-note a { color: #bbcea9; text-decoration: underline; text-underline-offset: 3px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; color: #d9eac7; background: #3b4f2c; font-size: 13px; font-weight: 600; }
.color-1 { background: #594332; color: #f2c09b; }.color-2 { background: #42465c; color: #d4d7ff; }.color-3 { background: #3d554a; color: #c9ead7; }.color-4 { background: #594354; color: #e9bfdf; }.color-5 { background: #5c5335; color: #e8d894; }
.crew-field { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.crew-field label { display: flex; flex-direction: column; flex: 1; gap: 6px; font-size: 14px; color: #b0c49e; min-width: 0; }
.crew-field input, .field input, .field textarea { width: 100%; border: 1px solid #4a5a3d; border-radius: 6px; background: #12190e; padding: 11px 12px; font-size: 16px; color: var(--text); min-width: 0; }
.crew-field input:focus, .field input:focus, .field textarea:focus { outline: 0; border-color: var(--lime); }
.crew-field input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #7e946c; }
.crew-field > .icon-button { align-self: end; margin-bottom: 2px; }
.text-button { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); min-height: 44px; font-size: 14px; }
.text-button > .icon { width: 18px; height: 18px; }
.add-person-button { margin-left: 46px; }
.form-error { color: #efb78a; font-size: 14px; line-height: 1.7; margin-top: 10px; }
.modal-actions { display: flex; justify-content: end; gap: 10px; border-top: 1px solid #39492f; padding-top: 20px; margin-top: 24px; flex-wrap: wrap; }
.form-row { display: flex; gap: 14px; }.form-row > .field { flex: 1; min-width: 0; }.form-row > .year-field { flex: 0 0 100px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: #b9cda7; margin-bottom: 20px; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field-hint { display: block; color: #91a57e; font-size: 14px; line-height: 1.7; margin: -7px 0 16px; }
.file-import { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--lime); font-size: 14px; cursor: pointer; }
.file-import input, .data-actions input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-import:focus-within, .data-actions > label:focus-within { outline: 2px solid var(--lime); outline-offset: 4px; }
.festival-search { margin-top: 22px; }
.festival-options { display: flex; flex-direction: column; gap: 10px; max-height: min(52dvh, 540px); overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #52683d transparent; margin: 16px -5px 12px; padding: 5px; }
.festival-option { display: flex; align-items: center; gap: 13px; text-align: left; width: 100%; border: 1px solid #415533; border-radius: 8px; padding: 16px; }
.festival-option.selected { background: #293d1c; border-color: #829e62; }
.festival-option:hover { border-color: #829e62; background: #26331e; }
.festival-option:disabled { opacity: .6; cursor: wait; }
.festival-option > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }
.festival-option strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.festival-option > span:nth-child(2) > span { font-size: 14px; color: #9ab485; }
.festival-option > .icon { width: 18px; height: 18px; color: var(--lime); }
.festival-option-icon { color: #a8be95; }
.ranking-rules { margin: 24px 0; padding-left: 24px; }
.ranking-rules li { font-size: 15px; color: #b6c8a6; line-height: 1.8; margin-bottom: 16px; padding-left: 4px; }
.ranking-rules li::marker { color: var(--lime); }
.help-note { font-size: 14px; line-height: 1.8; color: #99ad85; margin: 20px 0; }
.data-actions { display: flex; flex-direction: column; gap: 12px; }
.data-actions > button, .data-actions > label { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid #405631; border-radius: 8px; padding: 16px; text-align: left; cursor: pointer; }
.data-actions > button:hover, .data-actions > label:hover { background: #293a1e; }
.data-actions > button > span, .data-actions > label > span { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.data-actions strong { font-size: 15px; font-weight: 500; color: #e0eed5; }
.data-actions span > span { font-size: 14px; line-height: 1.6; color: #99af86; }
.data-actions .icon { width: 18px; height: 18px; color: #acc790; }
.privacy-note { display: flex; align-items: start; gap: 10px; background: #27351e; padding: 16px; border-radius: 8px; margin-top: 24px; }
.privacy-note .icon { width: 17px; height: 17px; color: #a3bd89; margin-top: 3px; }
.privacy-note p { font-size: 14px; line-height: 1.8; color: #a6bb93; }
.restore-summary { border: 1px solid #415b31; border-radius: 8px; text-align: center; padding: 24px; }
.restore-summary > .icon { display: block; color: var(--lime); margin: 0 auto 14px; }
.restore-summary strong { font-size: 16px; }.restore-summary p { font-size: 14px; color: #9eb78a; margin-top: 8px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; z-index: 100; max-width: calc(100vw - 32px); width: max-content; background: #dfedce; border: 1px solid #abc490; color: #25351a; border-radius: 8px; box-shadow: 0 5px 30px #0006; display: flex; align-items: center; gap: 9px; padding: 13px 18px; font-size: 14px; transition: opacity .2s, transform .2s, visibility .2s; }
#toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
#toast > .icon { width: 17px; height: 17px; }
@media (max-width: 800px) {
  .rating-buttons { grid-template-columns: repeat(3, 104px); gap: 6px; }
  .rating-button { font-size: 13px; gap: 5px; padding: 10px 6px; }
  .rating-button > .icon { width: 15px; height: 15px; }
  .act-row { gap: 18px; }.act-identity { gap: 14px; }.act-identity h3 { font-size: 18px; }
  .act-photo { width: 56px; height: 56px; }
}
@media (max-width: 640px) {
  .day-filters { gap: 6px; margin: 16px 0 6px; }.day-filter { flex: 1 0 auto; min-width: 0; min-height: 42px; padding: 8px; }
  .header-actions { gap: 8px; }.invite-button { padding: 9px 11px; font-size: 13px; }.invite-button > .icon { display: none; }.crew-bar { gap: 8px; font-size: 13px; }#sync-status { font-size: 12px; }
  .header-inner { height: 68px; padding: 0 20px; }.brand { font-size: 24px; }.brand > .icon { width: 28px; height: 28px; }
  .page-shell { padding: 28px 20px 40px; }.festival-heading { margin-bottom: 20px; }
  .festival-heading h1 { font-size: 33px; letter-spacing: -1.2px; }.festival-year { font-size: 22px; margin-left: 2px; }.festival-switch { gap: 12px; padding: 11px 13px; width: 100%; justify-content: space-between; }.festival-switch > .icon { width: 20px; height: 20px; }
  .festival-date { font-size: 15px; margin-top: 7px; }
  .demo-banner { flex-direction: column; align-items: flex-start; font-size: 14px; padding: 12px 13px; gap: 8px; margin-bottom: 22px; }.demo-banner > button { font-size: 14px; min-height: 44px; }
  .view-tabs { gap: 28px; margin-bottom: 22px; }.view-tab { font-size: 17px; min-height: 48px; padding-bottom: 13px; }
  .planning-navigation { display: block; border: 0; margin-bottom: 18px; }
  .planning-navigation .view-tabs { border-bottom: 1px solid var(--border); margin-bottom: 8px; }
  .view-actions { justify-content: flex-start; gap: 0 18px; padding: 0; }
  .person-picker { flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }.control-label { font-size: 14px; }
  .person-options { max-width: 100%; }.person-option { font-size: 15px; min-height: 40px; padding: 6px 16px; }
  .progress-count { font-size: 13px; padding-left: 0; }.search-box { min-height: 46px; margin-bottom: 4px; }.search-box input { font-size: 16px; }
  .act-row { display: block; padding: 19px 0; min-height: 0; }.act-identity { gap: 13px; }.act-photo { width: 48px; height: 48px; border-radius: 7px; }
  .act-identity h3, .act-identity h4 { font-size: 18px; }.rating-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
  .rating-button { min-height: 46px; font-size: 14px; gap: 6px; padding: 10px 6px; }.rating-button > .icon { width: 16px; height: 16px; }
  .selection-group { margin: 26px 0 30px; }.selection-group > h3 { font-size: 19px; gap: 10px; }.selection-group > h3 > span { font-size: 14px; }
  .pick-row { padding: 16px 0; gap: 14px; }.pick-row .act-photo { width: 48px; height: 48px; }.pick-row .act-identity p { font-size: 14px; }.pick-row > .icon { margin-right: 3px; }
  .empty-state { padding: 48px 12px; }.empty-state h3 { font-size: 21px; }.empty-state p { font-size: 15px; }
  dialog { padding: 23px; max-height: calc(100dvh - 32px); }.modal-header h2 { font-size: 24px; }.modal-subtitle { font-size: 15px; }
  .modal-actions .button { font-size: 14px; padding: 11px 13px; }.crew-field { gap: 8px; }.crew-field > .avatar { width: 28px; height: 28px; font-size: 12px; }.add-person-button { margin-left: 36px; }
}
@media (max-width: 380px) {
  .day-filter { font-size: 13px; padding: 8px 6px; }
  .header-inner { padding: 0 16px; }.page-shell { padding-left: 16px; padding-right: 16px; }.festival-heading h1 { font-size: 31px; }.festival-year { font-size: 20px; }
  .person-picker { gap: 9px; }.person-option { padding-left: 14px; padding-right: 14px; }.progress-count { font-size: 13px; }
  .rating-buttons { gap: 6px; }.rating-button { font-size: 13px; gap: 5px; }.rating-button > .icon { width: 14px; height: 14px; }
}
@media (min-width: 700px) {
  .header-inner, .page-shell { max-width: 1168px; }
  .act-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
  .act-list .act-row { display: flex; flex-direction: column; align-items: stretch; justify-content: start; gap: 0; min-height: 0; padding: 0; overflow: hidden; background: var(--surface); border: 1px solid #3b4532; border-radius: 12px; transition: border-color .15s; }
  .act-list .act-row:hover { border-color: #809b5a; }
  .act-list .act-identity { position: relative; display: block; flex: none; width: 100%; }
  .act-list .act-photo { position: relative; display: block; width: 100%; height: 200px; border-radius: 0; background: var(--surface); }
  .act-list .act-photo > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
  .act-list .act-photo > span > .icon { width: 42px; height: 42px; }
  .act-list .act-photo > .act-placeholder { font-size: 82px; letter-spacing: -5px; color: hsl(var(--artist-hue) 30% 65% / .25); padding-bottom: 20px; }
  .act-list .act-image {
    object-position: center 30%; filter: saturate(.6);
    mask-image: linear-gradient(180deg, #000 25%, rgb(0 0 0 / .88) 45%, rgb(0 0 0 / .52) 65%, rgb(0 0 0 / .15) 83%, transparent 97%);
  }
  .act-list .act-identity h3 { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; font-size: 22px; line-height: 1.25; font-weight: 700; color: #fff; text-shadow: 0 2px 12px #0008; }
  .act-list .rating-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px; }
  .act-list .rating-button { flex-direction: column; min-height: 65px; gap: 6px; padding: 9px 4px; font-size: 14px; }
  .act-list .rating-button > .icon { width: 18px; height: 18px; }
  .selection-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pick-row { padding: 17px; background: var(--surface); border: 1px solid #3b4532; border-radius: 10px; }
}
@media (min-width: 1000px) {
  .act-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; } }

/* A small design chooser lives in settings; the planning screen stays focused. */
.design-options { display: grid; gap: 12px; margin: 20px -4px 12px; padding: 4px; max-height: 55dvh; overflow-y: auto; overscroll-behavior: contain; }
.design-option { display: flex; align-items: center; gap: 16px; min-height: 82px; padding: 16px; border: 1px solid var(--border); border-radius: 6px; }
.design-option:hover, .design-option.selected { border-color: var(--lime); }
.design-option strong { flex: 1; font-size: 16px; font-weight: 600; }
.design-option > .icon { width: 19px; height: 19px; color: var(--lime); }
.design-swatch { width: 64px; height: 48px; display: flex; align-items: end; gap: 4px; padding: 9px; border-radius: 3px; flex-shrink: 0; background: var(--swatch-bg); border: 1px solid var(--border); }
.design-swatch i { display: block; width: 13px; height: 18px; border-radius: 2px; background: var(--swatch-surface); }
.design-swatch i:last-child { background: var(--swatch-accent); }
