/* Film Set — "Calm & bright": warm paper with grain, soft colour washes, gradient heroes. */
:root {
  --ink: #17171c; --ink-2: #3a3a44; --muted: #6b6b76; --faint: #9a9aa3; --line: #ece8e1; --paper: #fbf8f3; --white: #fff;
  --indigo: #4338ca; --violet: #7c3aed; --pink: #db2777; --coral: #f97362; --orange: #ea580c; --amber: #f59e0b;
  --teal: #0d9488; --green: #16a34a; --sky: #0284c7; --red: #dc2626;
  --indigo-soft: #eef0ff; --violet-soft: #f4edff; --pink-soft: #fdecf4; --orange-soft: #fff1e8; --teal-soft: #e6f7f5; --green-soft: #e9f8ee; --amber-soft: #fff7e2; --red-soft: #fdecec; --sky-soft: #e6f4fc;
  --g-brand: linear-gradient(135deg, #4338ca 0%, #7c3aed 55%, #db2777 100%);
  --g-sun: linear-gradient(135deg, #f97362 0%, #f59e0b 100%);
  --g-sea: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  --g-leaf: linear-gradient(135deg, #16a34a 0%, #0d9488 100%);
  --g-dusk: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  --g-night: linear-gradient(135deg, #1f1d2b 0%, #3b2a5c 100%);
  --shadow: 0 1px 2px rgba(23, 23, 28, .04), 0 6px 20px -8px rgba(23, 23, 28, .12);
  --shadow-lg: 0 10px 30px -10px rgba(67, 56, 202, .35);
  --r: 22px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; min-height: 100dvh; font-size: 16px; line-height: 1.45;
  background:
    var(--grain),
    radial-gradient(60rem 28rem at -10% -8%, rgba(249, 115, 98, .16), transparent 60%),
    radial-gradient(50rem 26rem at 110% -6%, rgba(124, 58, 237, .14), transparent 60%),
    radial-gradient(40rem 30rem at 50% 115%, rgba(13, 148, 136, .08), transparent 60%),
    var(--paper);
  background-attachment: fixed;
}
h1 { font-size: 26px; font-weight: 800; margin: 0; line-height: 1.15; letter-spacing: -.4px; }
h2 { font-size: 18px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.2px; }
p { margin: 0; }
a { color: var(--indigo); text-decoration: none; }
input, select, textarea, button { font: inherit; font-size: 17px; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
:focus-visible { outline: 3px solid rgba(67, 56, 202, .45); outline-offset: 2px; border-radius: 10px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes burst { from { opacity: 1; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4); } }
@keyframes shimmer { from { background-position: -200px 0; } to { background-position: 200px 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* layout */
.auth { max-width: 460px; margin: 0 auto; min-height: 100dvh; padding: 28px 22px 32px; display: flex; flex-direction: column; gap: 14px; animation: rise .35s ease both; }
.page { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.page > * { animation: rise .35s ease both; }
.page > *:nth-child(2) { animation-delay: .04s; } .page > *:nth-child(3) { animation-delay: .08s; } .page > *:nth-child(4) { animation-delay: .12s; } .page > *:nth-child(5) { animation-delay: .16s; }
.page.tight { gap: 0; }
.shell { max-width: 760px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.content { flex: 1; padding-bottom: 112px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grow { flex: 1; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grid12 { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.center { text-align: center; } .pad { padding: 10px; } .block { display: block; } .right { text-align: right; }
.center-col { align-items: center; text-align: center; padding-top: 56px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .b { font-weight: 700; } .pre { white-space: pre-line; }
.ok { color: var(--green); } .danger-text { color: var(--red); } .warn-text { color: #b45309; }
.direction-text { color: var(--violet); } .prod-text { color: var(--orange); } .blue-text { color: var(--indigo); }
.struck { text-decoration: line-through; color: var(--faint); }
.big { font-size: 30px; font-weight: 800; line-height: 1.12; letter-spacing: -.6px; }
.big2 { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.4px; }
.huge { font-size: 46px; font-weight: 800; line-height: 1.02; letter-spacing: -1.2px; }
.huge.dark { font-size: 36px; color: var(--ink); }
.mid { font-size: 20px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 30; padding: 12px 18px 10px; display: flex; align-items: center; gap: 12px;
  background: rgba(251, 248, 243, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.top .film-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 6px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-weight: 700; font-size: 14px; max-width: 70%; }
.top .film-chip i { width: 24px; height: 24px; border-radius: 50%; background: var(--g-brand); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.top .film-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .me { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.top .me small { color: var(--muted); font-size: 12px; font-weight: 700; text-align: right; line-height: 1.2; }

/* floating bottom nav */
.bottom { position: fixed; left: 12px; right: 12px; bottom: max(env(safe-area-inset-bottom), 12px); z-index: 30; max-width: 560px; margin: 0 auto; display: grid; padding: 6px;
  border-radius: 26px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 12px 30px -12px rgba(23, 23, 28, .28), 0 0 0 1px rgba(23, 23, 28, .05); }
.bottom a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border-radius: 20px; color: var(--faint); font-size: 12px; font-weight: 700; transition: color .2s, background .2s; }
.bottom a svg { transition: transform .2s; }
.bottom a[aria-current] { color: var(--indigo); background: var(--indigo-soft); }
.bottom a[aria-current] svg { transform: translateY(-1px) scale(1.06); }
.bottom a:active { transform: scale(.95); }
.dot { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--g-sun); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 2px 6px rgba(249, 115, 98, .5); }
.bottom .dot { position: absolute; top: 4px; left: 50%; margin-left: 6px; }

/* page titles & headers */
.ptitle { padding: 10px 18px 4px; display: flex; flex-direction: column; gap: 6px; animation: rise .3s ease both; }
.eyebrow { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .3px; color: var(--violet); background: var(--violet-soft); padding: 4px 10px; border-radius: 999px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.dark-head { margin: 8px 14px 0; padding: 18px 18px 14px; border-radius: 26px 26px 0 0; background: var(--g-night); color: #fff; position: relative; overflow: hidden; }
.dark-head::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .9; pointer-events: none; }
.dark-head p { color: #c9c3e0; font-size: 13px; font-weight: 700; }
.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 14px 4px; padding: 0 12px 14px; background: var(--g-night); border-radius: 0 0 26px 26px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex-shrink: 0; height: 38px; display: flex; align-items: center; padding: 0 16px; border-radius: 19px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; font-size: 14px; }
.tabs a[aria-current] { background: #fff; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 22px; border-radius: 18px; border: 0; font-weight: 800; font-size: 17px; text-align: center; transition: transform .12s ease, box-shadow .2s, filter .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; }
.btn.wide { width: 100%; } .btn.small { min-height: 44px; font-size: 15px; padding: 0 16px; border-radius: 14px; } .btn.xl { min-height: 62px; font-size: 19px; }
.btn.primary { background: var(--g-brand); color: #fff; box-shadow: var(--shadow-lg); }
.btn.dept { background: var(--g-leaf); color: #fff; box-shadow: 0 10px 26px -10px rgba(22, 163, 74, .55); }
.btn.production { background: var(--g-sun); color: #fff; box-shadow: 0 10px 26px -10px rgba(249, 115, 98, .55); }
.btn.direction { background: var(--g-dusk); color: #fff; box-shadow: 0 10px 26px -10px rgba(124, 58, 237, .5); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.danger { background: #fff; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.soft { background: var(--indigo-soft); color: var(--indigo); }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 15px; font-weight: 700; min-height: 44px; }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: 15px; }
.field small { color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea, .search, .needrow input, .callrow input, .chanrow select {
  min-height: 54px; border-radius: 16px; border: 1.5px solid #e2ddd4; background: #fff; padding: 10px 16px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .search:focus, .needrow input:focus, .callrow input:focus {
  border-color: var(--violet); outline: none; box-shadow: 0 0 0 4px rgba(124, 58, 237, .14); }
.search { border-radius: 999px; padding-left: 20px; box-shadow: var(--shadow); border-color: transparent; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; }
.check input { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--violet); }
.code-input { height: 74px; border-radius: 20px; border: 0; background: #fff; box-shadow: inset 0 0 0 2.5px var(--violet), var(--shadow-lg); text-align: center; font-family: ui-monospace, Menlo, monospace; font-size: 26px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; width: 100%; padding: 0 10px; }
.code-input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--indigo), 0 0 0 6px rgba(124, 58, 237, .15); }
.needrow { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: center; }
.callrow { display: grid; grid-template-columns: 1fr 130px; gap: 8px; align-items: center; }
.form-msg:empty { display: none; }
.form-msg.error { background: var(--red-soft); color: #b91c1c; border-radius: 14px; padding: 12px 14px; font-weight: 600; animation: rise .2s ease both; }
.form-msg.ok { background: var(--green-soft); color: #15803d; border-radius: 14px; padding: 12px 14px; font-weight: 600; animation: rise .2s ease both; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); font-size: 15px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: transform .12s; }
.pill:active { transform: scale(.96); }
.pill.on, .pill:has(input:checked) { background: var(--ink); color: #fff; }
.pill input, .pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick { display: flex; min-height: 60px; align-items: center; justify-content: center; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px #e2ddd4; font-size: 20px; font-weight: 800; cursor: pointer; position: relative; transition: transform .12s; }
.pick:active { transform: scale(.95); }
.pick:has(input:checked) { background: var(--g-sun); color: #fff; box-shadow: 0 8px 20px -8px rgba(249, 115, 98, .6); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; border-bottom: 1px solid var(--line); }
.toggle:last-child { border-bottom: 0; }
.toggle span { display: flex; flex-direction: column; font-weight: 600; }
.toggle small { font-size: 12px; font-weight: 700; }
.toggle input { appearance: none; width: 54px; height: 32px; border-radius: 16px; background: #e2ddd4; position: relative; flex-shrink: 0; cursor: pointer; transition: background .2s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: left .2s cubic-bezier(.3, 1.4, .6, 1); }
.toggle input:checked { background: var(--g-leaf); }
.toggle input:checked::after { left: 25px; }
.chanrow { display: grid; grid-template-columns: 1fr 140px; gap: 8px; align-items: center; padding: 4px 0; }
.chanrow span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; }
.chanrow small { font-size: 12px; font-weight: 700; }

/* cards */
.card { background: #fff; border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); box-shadow: var(--shadow); border: 1px solid rgba(23, 23, 28, .04); }
a.card { transition: transform .12s ease; } a.card:active { transform: scale(.985); }
.card.strong { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow); }
.card.strong-direction { box-shadow: inset 0 0 0 2px var(--violet), var(--shadow); }
.card.strong-danger { box-shadow: inset 0 0 0 2px #fca5a5, var(--shadow); }
.card.strong-warn { box-shadow: inset 0 0 0 2px #fcd34d, var(--shadow); }
.card.cut { box-shadow: inset 0 0 0 1.5px #fca5a5; background: #fffafa; } .card.past { opacity: .7; }
.card.add-scene { background: transparent; box-shadow: none; border: 2px dashed rgba(124, 58, 237, .45); } .card.add-scene summary { color: var(--violet); }
.card.add-scene.prod { border-color: rgba(234, 88, 12, .45); } .card.add-scene.prod summary { color: var(--orange); }
details > summary { min-height: 44px; display: flex; flex-direction: column; justify-content: center; cursor: pointer; list-style: none; font-size: 16px; }
details > summary::-webkit-details-marker { display: none; }
details > summary small { color: var(--muted); font-size: 14px; }
details[open] > summary { margin-bottom: 8px; }
.label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.line:last-child { border-bottom: 0; }
.line.total { border-top: 1px solid #ddd6cb; font-size: 17px; }
.who-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.item { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; }
.sep { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.soft { background: #f7f4ee; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--indigo-soft); color: var(--indigo); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.jobs { margin: 4px 0 0; padding-left: 20px; color: var(--violet); font-size: 14px; }
.plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 800; background: #f1ede6; color: var(--ink-2); }
.badge.everyone { background: var(--indigo-soft); color: var(--indigo); } .badge.dept { background: var(--green-soft); color: #15803d; }
.badge.warn { background: var(--amber-soft); color: #b45309; } .badge.danger { background: var(--red-soft); color: #b91c1c; }
.badge.direction { background: var(--violet-soft); color: var(--violet); } .badge.dark { background: var(--ink); color: #fff; }
.alert { border-radius: 20px; padding: 16px; font-size: 16px; background: linear-gradient(135deg, #fff7e2, #ffefd9); box-shadow: inset 0 0 0 1.5px #fcd34d; }
.alert.info { background: linear-gradient(135deg, #eef0ff, #f4edff); box-shadow: inset 0 0 0 1.5px rgba(124, 58, 237, .25); }
.alert.danger { background: var(--red-soft); box-shadow: inset 0 0 0 1.5px #fca5a5; }
.alert-h { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #b45309; margin-bottom: 6px; }
.empty { border-radius: var(--r); padding: 28px 22px; text-align: center; color: var(--muted); background: rgba(255, 255, 255, .6); border: 1.5px dashed #e2ddd4; }
.note { border-radius: 16px; padding: 14px; font-size: 15px; } .note.direction { background: var(--violet-soft); color: var(--violet); }

/* gradient heroes with grain */
.hero { position: relative; overflow: hidden; border-radius: 28px; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .9; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: rgba(255, 255, 255, .14); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero.blue { background: var(--g-sea); box-shadow: 0 14px 30px -12px rgba(2, 132, 199, .55); }
.hero.purple { background: var(--g-dusk); }
.hero.brand { background: var(--g-brand); }
.hero.sun { background: var(--g-sun); box-shadow: 0 14px 30px -12px rgba(249, 115, 98, .55); }
.hero .hlabel { font-size: 14px; font-weight: 700; opacity: .9; }
.hero .stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.hero .stats3 b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.hero .stats3 small { font-size: 13px; opacity: .85; font-weight: 600; }
.hero .live { color: #fff; }
.hero .live span { background: #fff; }

/* home */
.greet { padding: 6px 18px 0; display: flex; flex-direction: column; gap: 2px; animation: rise .3s ease both; }
.greet small { color: var(--muted); font-weight: 700; font-size: 14px; }
.greet h1 { font-size: 28px; }
.task { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-weight: 700; transition: transform .12s; }
.task:active { transform: scale(.985); }
.task .ticon { width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.task .ticon { flex: none; } .task .ttext { flex: 1; min-width: 0; } .task small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
.task .chev { color: var(--faint); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: 22px; padding: 16px; min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); background: #fff; box-shadow: var(--shadow); transition: transform .12s; }
.tile:active { transform: scale(.97); }
.tile .ticon { width: 44px; height: 44px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; }
.tile b { font-size: 16px; } .tile small { color: var(--muted); font-weight: 600; font-size: 13px; }
.t-indigo { background: var(--g-brand); } .t-sun { background: var(--g-sun); } .t-sea { background: var(--g-sea); } .t-leaf { background: var(--g-leaf); } .t-dusk { background: var(--g-dusk); } .t-night { background: var(--g-night); }
.s-indigo { background: var(--indigo-soft); color: var(--indigo); } .s-sun { background: var(--orange-soft); color: var(--orange); } .s-teal { background: var(--teal-soft); color: var(--teal); } .s-violet { background: var(--violet-soft); color: var(--violet); } .s-green { background: var(--green-soft); color: var(--green); } .s-red { background: var(--red-soft); color: var(--red); }
.caught { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #e9f8ee, #e6f7f5); color: #15803d; font-weight: 700; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px; }
.section-h h2 { margin: 0; font-size: 18px; }

/* avatars */
.av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .3px; }
.av.sm { width: 32px; height: 32px; font-size: 12px; }
.av.c0 { background: var(--g-brand); } .av.c1 { background: var(--g-sun); } .av.c2 { background: var(--g-sea); } .av.c3 { background: var(--g-leaf); } .av.c4 { background: var(--g-dusk); } .av.c5 { background: linear-gradient(135deg, #f59e0b, #db2777); }

.confirmed { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 18px; background: linear-gradient(135deg, #e9f8ee, #e6f7f5); color: #15803d; font-weight: 800; font-size: 17px; animation: pop .4s ease; }
.gotit { position: relative; }
.gotit.done { animation: pop .35s ease; }
.spark { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 3px; pointer-events: none; animation: burst .7s ease-out forwards; }
.notice { display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.notice:last-child { border-bottom: 0; padding-bottom: 0; }
.ntag { font-size: 12px; font-weight: 800; color: var(--violet); }
.notif { display: flex; gap: 12px; padding: 14px; margin-bottom: 8px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.notif:not(.unread) { background: rgba(255, 255, 255, .55); box-shadow: none; }
.ndot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.notif.unread .ndot { background: var(--g-sun); box-shadow: 0 0 0 4px rgba(249, 115, 98, .15); }
.menuitem { display: flex; align-items: center; gap: 14px; min-height: 68px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); padding: 12px 16px; color: var(--ink); transition: transform .12s; }
.menuitem:active { transform: scale(.985); }
.menuitem .ticon { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.menuitem div { display: flex; flex-direction: column; } .menuitem span { color: var(--muted); font-size: 14px; font-weight: 500; }
.live { display: flex; align-items: center; gap: 8px; color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .5px; }
.live span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.bar { height: 10px; border-radius: 5px; background: #ece8e1; overflow: hidden; }
.bar div { height: 100%; background: var(--g-leaf); border-radius: 5px; transition: width .6s ease; }
.daycard { text-decoration: none; }
.entry { background: #fff; border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.entry.early { box-shadow: inset 0 0 0 2px #fcd34d, var(--shadow); } .entry.absent { box-shadow: inset 0 0 0 2px #fca5a5, var(--shadow); }
.calls { display: flex; align-items: center; gap: 6px; font-size: 16px; flex-shrink: 0; } .calls b { font-size: 21px; }
.approval { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.approval li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.approval li span { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f1ede6; color: var(--muted); font-weight: 800; flex-shrink: 0; }
.approval li.done span { background: var(--g-leaf); color: #fff; }
.approval li.cur { font-weight: 800; } .approval li.cur span { background: var(--g-sun); color: #fff; animation: pop 1.6s ease infinite; }
.stats div { background: #fff; border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.stats small { font-size: 12px; color: var(--muted); font-weight: 700; } .stats b { font-size: 22px; }
.stats .warnbox { background: var(--g-sun); color: #fff; } .stats .warnbox small { color: rgba(255, 255, 255, .9); }
.person { border-bottom: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.person:last-child { border-bottom: 0; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: linear-gradient(135deg, #eef0ff, #f4edff); border-radius: 14px; padding: 10px 14px; }
.codebox span { font-size: 13px; color: var(--indigo); font-weight: 700; } .codebox b { font-family: ui-monospace, Menlo, monospace; font-size: 19px; letter-spacing: 1px; }
.logrow { display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 12px 0; }
.h2 { font-size: 18px; font-weight: 800; }
.actorbox { background: #f7f4ee; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }

/* sign-up */
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brandmark i { width: 38px; height: 38px; border-radius: 13px; background: var(--g-brand); display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-lg); }
.steps { display: flex; gap: 6px; } .steps span { flex: 1; height: 6px; border-radius: 3px; background: #ece8e1; } .steps span.on { background: var(--g-brand); }
.who { position: relative; overflow: hidden; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 18px; background: var(--g-brand); color: #fff; box-shadow: var(--shadow-lg); }
.who::before { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; }
.who > * { position: relative; }
.who .muted { color: rgba(255, 255, 255, .85); }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.who-name { font-size: 24px; font-weight: 800; }
.box { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #fff; box-shadow: var(--shadow); }
.channels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.channels li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.cdot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.cdot.c0 { background: var(--g-brand); } .cdot.c1 { background: var(--g-leaf); } .cdot.c2 { background: var(--g-dusk); } .cdot.c3 { background: var(--g-sun); }
.foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.film { width: 100%; text-align: left; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; border: 0; background: #fff; box-shadow: var(--shadow); transition: transform .12s; }
.film:active { transform: scale(.985); }
.film span { flex: 1; display: flex; flex-direction: column; } .film b { font-size: 18px; } .film small { color: var(--muted); font-size: 14px; font-weight: 600; }
.film.current { box-shadow: inset 0 0 0 2.5px var(--violet), var(--shadow-lg); } .film em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #fff; background: var(--g-brand); padding: 5px 10px; border-radius: 999px; }
.addmovie { border-radius: 24px; padding: 18px; margin-top: 8px; background: rgba(255, 255, 255, .6); border: 2px dashed rgba(124, 58, 237, .4); }
.addmovie .h { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: var(--ink); }
.addmovie .h svg { color: var(--violet); }
.big-check { width: 104px; height: 104px; border-radius: 50%; background: var(--g-leaf); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 36px -12px rgba(22, 163, 74, .6); animation: pop .6s ease; }
.tip { background: linear-gradient(135deg, #eef0ff, #f4edff); color: var(--indigo); border-radius: 18px; padding: 16px; font-size: 15px; font-weight: 600; margin: 20px 0; }

/* skeleton */
.skel { display: flex; flex-direction: column; gap: 14px; padding: 24px 18px; max-width: 560px; margin: 0 auto; }
.skel div { border-radius: 22px; background: linear-gradient(90deg, #f1ede6 0px, #faf7f1 120px, #f1ede6 240px) #f1ede6; background-size: 400px 100%; animation: shimmer 1.2s linear infinite; }

/* watermark & toast */
.wm { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.wm div { position: absolute; left: -50%; top: -25%; width: 200%; height: 150%; transform: rotate(-28deg); display: flex; flex-direction: column; justify-content: space-around; }
.wm p { white-space: pre; font-size: 15px; font-weight: 700; color: rgba(23, 23, 28, .06); }
.toast { position: fixed; left: 50%; bottom: 104px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 700; z-index: 60; max-width: 90vw; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: rise .25s ease both; }

/* ---------- Uploads / imports ---------- */
.upl { gap: 12px; }
.uplhead { display: flex; gap: 12px; align-items: center; }
.uplhead .ticon { width: 44px; height: 44px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.uplhead h2 { font-size: 18px; margin: 0; }
.uplbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uplbtns .btn { cursor: pointer; gap: 8px; white-space: nowrap; font-size: 15px; padding: 0 10px; }
.imp > .upl { box-shadow: none; border: 0; padding: 12px 0 0; }
.form-msg.warn { background: var(--amber-soft); color: #b45309; border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.uppreview { display: flex; flex-direction: column; gap: 12px; }
.impday { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.impitem { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.impitem input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--violet); flex-shrink: 0; }
.impitem:has(input:not(:checked)) span { opacity: .45; text-decoration: line-through; }
.block { display: block; }
.allrow { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; margin-bottom: 6px; border-radius: 16px; background: var(--violet-soft); }
.allrow .callrow { grid-template-columns: auto minmax(130px, 1fr) auto; }
.check.strong span { font-size: 16px; }

/* ---------- Artists ---------- */
.artlist { display: flex; flex-direction: column; gap: 10px; }
.artcard { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; transition: transform .12s; }
.artcard:active { transform: scale(.98); }
.artcard .ttext { flex: 1; min-width: 0; }
.artcard .chev { color: var(--faint); display: flex; }
.artcard[hidden] { display: none; }
.back { display: inline-flex; align-items: center; gap: 4px; margin: 8px 16px 0; font-weight: 800; color: var(--muted); }
.back svg { transform: rotate(180deg); }
.artisthero .big2 { margin: 0; }
.artisthero .who-line { margin-bottom: 8px; }
.av.lg { width: 58px; height: 58px; font-size: 21px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); }
.btn.light { background: rgba(255, 255, 255, .92); color: var(--ink); align-self: flex-start; margin-top: 8px; }
.legend { display: flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-left: 8px; }
.legend i.yes { background: var(--green); } .legend i.no { background: var(--red); } .legend i.shoot { background: #fff; box-shadow: inset 0 0 0 2.5px var(--violet); }
.months { display: flex; flex-direction: column; gap: 16px; }
.mname { font-weight: 800; margin: 0 0 6px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
.cal i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--faint); }
.cd { aspect-ratio: 1; min-height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 0; background: #f6f3ee; color: var(--ink-2); font: inherit; font-weight: 700; font-size: 15px; position: relative; padding: 0; }
button.cd { cursor: pointer; transition: transform .1s; } button.cd:active { transform: scale(.9); }
.cd.past { opacity: .5; }
.cd.yes { background: var(--g-leaf); color: #fff; }
.cd.no { background: var(--red); color: #fff; }
.cd.shoot { box-shadow: inset 0 0 0 2.5px var(--violet); }
.cd.shoot::after { content: ""; position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.cd.now { outline: 2px solid var(--ink); outline-offset: 1px; }
.dayscenes { display: block; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.dayscenes .row { gap: 6px; flex-wrap: wrap; justify-content: flex-start; }
.dayscenes .row b { margin-right: auto; }
.dayscenes p { margin: 4px 0 0; }
.dayscenes.clash { background: var(--red-soft); margin: 0 -18px; padding: 12px 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 6px 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px #e2ddd4; font-weight: 800; font-size: 14px; }
.seg label:first-child input:checked + span { background: var(--g-leaf); color: #fff; box-shadow: none; }
.seg label:last-child input:checked + span { background: var(--red); color: #fff; box-shadow: none; }
.datechips { display: flex; flex-wrap: wrap; gap: 8px; }
.datechips .pick { min-height: 44px; font-size: 14px; padding: 0 14px; }
.datechips .pick input { position: absolute; opacity: 0; }
.datechips .pick.yes:has(input:checked) { background: var(--g-leaf); box-shadow: none; }
.datechips .pick.no:has(input:checked) { background: var(--red); box-shadow: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
