/* The Green Room: Level Up Media client portal.
   Level Up brand (lime #ACEA15 on green-black, DM Sans) on a premium app layout:
   glass panels, real photography, rounded corners, pill buttons. */

:root {
  color-scheme: dark;
  --bg: #070906;
  --bg-2: #0D100B;
  --glass: rgba(17, 21, 14, .68);
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .07);
  --surface-3: rgba(255, 255, 255, .1);
  --stroke: rgba(255, 255, 255, .075);
  --stroke-2: rgba(255, 255, 255, .14);
  --text: #F3F5EF;
  --mute: #9CA394;
  --dim: #646B5E;
  --lime: #ACEA15;
  --lime-2: #E3FC9A;
  --lime-ink: #0B1000;
  --lime-wash: rgba(172, 234, 21, .12);
  --amber: #F3C969;
  --amber-wash: rgba(243, 201, 105, .13);
  --red: #FF8A72;
  --red-wash: rgba(255, 138, 114, .13);
  --sky: #8CCBFF;
  --sky-wash: rgba(140, 203, 255, .12);
  --head: 'Inter Tight', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --rail: 264px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
/* soft lime glow + the flowing line texture from levelupmedia.co */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 88% -12%, rgba(172, 234, 21, .09), transparent 60%),
    radial-gradient(700px 520px at -12% 112%, rgba(172, 234, 21, .05), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900' fill='none' stroke='%23ACEA15' stroke-opacity='.045' stroke-width='1.2'%3E%3Cpath d='M-50 120C250 40 450 260 750 170S1200 40 1450 120'/%3E%3Cpath d='M-50 210C250 130 450 350 750 260S1200 130 1450 210'/%3E%3Cpath d='M-50 300C250 220 450 440 750 350S1200 220 1450 300'/%3E%3Cpath d='M-50 390C250 310 450 530 750 440S1200 310 1450 390'/%3E%3Cpath d='M-50 480C250 400 450 620 750 530S1200 400 1450 480'/%3E%3Cpath d='M-50 570C250 490 450 710 750 620S1200 490 1450 570'/%3E%3Cpath d='M-50 660C250 580 450 800 750 710S1200 580 1450 660'/%3E%3Cpath d='M-50 750C250 670 450 890 750 800S1200 670 1450 750'/%3E%3C/svg%3E") center / cover no-repeat;
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#app { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }
img { display: block; max-width: 100%; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.lime { color: var(--lime); }
.mute { color: var(--mute); }
.kicker { font-size: 13px; font-weight: 500; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.glass {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
}
.panel { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--text); color: #0A0B09;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 255, 255, .1); }
.btn.lime { background: var(--lime); color: var(--lime-ink); }
.btn.lime:hover { box-shadow: 0 10px 34px rgba(172, 234, 21, .32); }
.btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.btn.ghost:hover { background: var(--surface-3); }
.btn.danger { background: var(--red-wash); color: var(--red); box-shadow: inset 0 0 0 1px rgba(255, 138, 114, .3); }
.btn.sm { height: 36px; padding: 0 15px; font-size: 13px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn svg.i { width: 16px; height: 16px; }
.linkbtn { color: var(--lime); font-weight: 600; font-size: 14px; }
.linkbtn:hover { color: var(--lime-2); }
.linkbtn.mute { color: var(--mute); font-weight: 500; }
.linkbtn.mute:hover { color: var(--text); }
.iconbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--mute); transition: background .2s, color .2s; }
.iconbtn:hover { background: var(--surface-2); color: var(--text); }
.iconbtn svg.i { width: 15px; height: 15px; }

/* ---------- small pieces ---------- */
.av { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: linear-gradient(145deg, #2b3324, #151a11); color: var(--text); font-weight: 600; font-size: 13px; box-shadow: inset 0 0 0 1px var(--stroke-2); }
.av.sm { width: 28px; height: 28px; font-size: 10.5px; }
.av.lg { width: 52px; height: 52px; font-size: 16px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--mute); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.plain::before { display: none; }
.pill.ready, .pill.lime { background: var(--lime-wash); color: var(--lime); }
.pill.changes, .pill.amber { background: var(--amber-wash); color: var(--amber); }
.pill.overdue, .pill.red { background: var(--red-wash); color: var(--red); }
.pill.waiting, .pill.sky { background: var(--sky-wash); color: var(--sky); }
.pill.idle { color: var(--dim); }
.pill.solid { background: var(--lime); color: var(--lime-ink); }
.pill.dark { background: rgba(7, 9, 6, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); }
.pill.dark.ready { color: var(--lime); }
.pill.dark.changes { color: var(--amber); }
.pill.dark.overdue { color: var(--red); }
.pill.dark.waiting { color: var(--sky); }
.count { min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--lime); color: var(--lime-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--dim); }
.dot.ready { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.dot.changes { background: var(--amber); }
.dot.overdue { background: var(--red); }
.dot.waiting { background: var(--sky); }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #6E9A0E, var(--lime)); transition: width 1s var(--ease); }

/* progress ring */
.ring-wrap { position: relative; display: inline-grid; place-items: center; flex: none; }
.ring { display: block; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: rgba(255, 255, 255, .09); }
.ring .val { fill: none; stroke: var(--lime); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); animation: ringIn 1.3s var(--ease) both; filter: drop-shadow(0 0 6px rgba(172, 234, 21, .35)); }
@keyframes ringIn { from { stroke-dashoffset: var(--full); } }
.ring-wrap .in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring-wrap .in b { font-family: var(--head); font-weight: 600; letter-spacing: -.04em; }
.ring-wrap .in small { color: var(--mute); font-size: 11.5px; margin-top: 4px; display: block; }

/* check circle */
.check {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  box-shadow: inset 0 0 0 1.6px var(--stroke-2);
  display: grid; place-items: center; transition: all .35s var(--ease);
}
.check svg.i { width: 14px; height: 14px; stroke-width: 3; opacity: 0; color: var(--lime-ink); transform: scale(.4); transition: all .35s var(--ease); }
.check.on { background: var(--lime); box-shadow: 0 0 18px rgba(172, 234, 21, .4); }
.check.on svg.i { opacity: 1; transform: none; }
.check.warn { box-shadow: inset 0 0 0 1.6px var(--amber); }
.check.warn::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* ---------- sign in ---------- */
.signin { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 100vh; }
.signin .photo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px 48px; isolation: isolate; }
.signin .photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; z-index: -2; transform: scale(1.04); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translateX(-1.5%); } }
.signin .photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 9, 6, .96) 6%, rgba(7, 9, 6, .45) 52%, rgba(7, 9, 6, .55)), linear-gradient(90deg, rgba(7, 9, 6, .6), transparent 70%); }
.signin .photo .logo { width: 230px; }
.signin h1 { font-size: clamp(46px, 5.4vw, 84px); max-width: 640px; }
.signin .photo p { color: rgba(243, 245, 239, .78); font-size: 17px; max-width: 460px; margin: 18px 0 30px; }
.steps3 { display: flex; gap: 10px; flex-wrap: wrap; }
.steps3 div { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.steps3 i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: var(--lime); color: var(--lime-ink); }
.signin .side { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 5vw, 72px); }
.signin .card { width: 100%; max-width: 420px; margin: 0 auto; }
.signin .card h2 { font-size: 34px; margin: 26px 0 8px; }
.signin .card > p { color: var(--mute); margin: 0 0 26px; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--stroke); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button, .seg a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--mute); white-space: nowrap; transition: all .3s var(--ease); }
.seg .on { background: var(--text); color: #0A0B09; }
.seg .on .count { background: var(--lime-ink); color: var(--lime); }
.seg :not(.on):hover { color: var(--text); }
.signin .seg { width: 100%; }
.signin .seg button { flex: 1; justify-content: center; }
.producer-chip { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; width: max-content; max-width: 100%; }
.producer-chip b { display: block; font-size: 14px; line-height: 1.25; }
.producer-chip small { color: var(--mute); font-size: 12px; }
.demo-box { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-md); background: var(--lime-wash); border: 1px solid rgba(172, 234, 21, .22); font-size: 13.5px; }
.demo-box .t { font-weight: 700; color: var(--lime); display: block; margin-bottom: 6px; }
.demo-box .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; color: var(--mute); }
.demo-box .row b { color: var(--text); font-weight: 600; }
.powered { margin-top: 34px; font-size: 12px; color: var(--dim); text-align: center; }
.powered a:hover { color: var(--lime); }

/* ---------- forms ---------- */
.f { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.f > span { font-size: 13px; font-weight: 500; color: var(--mute); }
.f small { font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.in {
  width: 100%; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke); color: var(--text);
  padding: 13px 16px; outline: none; border-radius: 14px; transition: border-color .25s, background .25s;
}
.in::placeholder { color: var(--dim); }
.in:focus { border-color: rgba(172, 234, 21, .55); background: rgba(255, 255, 255, .06); }
textarea.in { min-height: 100px; resize: vertical; line-height: 1.55; }
select.in { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239CA394' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select option, select optgroup { background: #12160f; color: var(--text); }
input[type=date].in::-webkit-calendar-picker-indicator { filter: invert(.8); }
input.code { letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
label.checkrow { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--mute); cursor: pointer; margin-bottom: 18px; }
label.checkrow input { accent-color: var(--lime); width: 18px; height: 18px; margin-top: 2px; }
.err { color: var(--red); font-size: 13.5px; margin-bottom: 10px; }
.err:empty { display: none; }

/* ---------- client app ---------- */
.ctop {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 20px; padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(7, 9, 6, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--stroke);
}
.ctop .logo { width: 176px; }
.ctop .seg { margin: 0 auto; }
.ctop .me { display: flex; align-items: center; gap: 12px; }
.ctop .me b { display: block; font-size: 14px; line-height: 1.2; }
.ctop .me small { color: var(--mute); font-size: 12px; }
.ctop .me .out { color: var(--dim); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.ctop .me .out:hover { color: var(--text); background: var(--surface-2); }

.page { padding: 28px clamp(16px, 4vw, 40px) 120px; max-width: 1320px; margin: 0 auto; animation: rise .55s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.photo-hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 400px; display: flex; align-items: flex-end;
  padding: 40px; isolation: isolate;
}
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; transform: scale(1.03); animation: drift 26s ease-in-out infinite alternate; }
.photo-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 6, .92) 0%, rgba(7, 9, 6, .55) 52%, rgba(7, 9, 6, .15) 100%),
    linear-gradient(0deg, rgba(7, 9, 6, .9) 0%, transparent 60%);
}
.photo-hero.noimg { background: radial-gradient(700px 400px at 80% 0%, rgba(172, 234, 21, .16), transparent 60%), var(--bg-2); border: 1px solid var(--stroke); }
.photo-hero h1 { font-size: clamp(44px, 6vw, 86px); margin-top: 14px; }
.photo-hero .sub { margin: 16px 0 0; max-width: 480px; color: rgba(243, 245, 239, .8); font-size: 16.5px; }
.hero-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; width: 100%; flex-wrap: wrap; }
.hero-act { display: flex; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 13.5px; font-weight: 500; color: rgba(243, 245, 239, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all .25s var(--ease); }
.chip:hover { color: var(--text); background: rgba(255, 255, 255, .14); }
.chip.on { background: var(--text); color: #0A0B09; }
.chip svg.i { width: 14px; height: 14px; }

.score-card { padding: 20px 26px 20px 20px; display: flex; align-items: center; gap: 20px; }
.score-card .lbl { font-size: 13px; color: var(--mute); }
.score-card .num { font-family: var(--head); font-weight: 600; font-size: 34px; letter-spacing: -.04em; line-height: 1.05; margin: 4px 0 6px; }
.score-card .delta { font-size: 13px; font-weight: 600; color: var(--mute); }
.score-card .delta.late { color: var(--red); }
.score-card .delta.soon { color: var(--amber); }
.score-card .delta.live { color: var(--lime); }

/* complete state */
.live-banner { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 20px 24px; border-radius: var(--r-lg); background: linear-gradient(110deg, rgba(172, 234, 21, .18), rgba(172, 234, 21, .04)); border: 1px solid rgba(172, 234, 21, .3); animation: rise .6s var(--ease); }
.live-banner b { font-family: var(--head); font-size: 19px; letter-spacing: -.02em; display: block; }
.live-banner p { margin: 2px 0 0; color: var(--mute); font-size: 14.5px; }
.pulse { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(172, 234, 21, .55); animation: pulse 2.2s infinite; }
.pulse svg.i { width: 20px; height: 20px; stroke-width: 2.6; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(172, 234, 21, .5); } 70% { box-shadow: 0 0 0 16px rgba(172, 234, 21, 0); } 100% { box-shadow: 0 0 0 0 rgba(172, 234, 21, 0); } }
.photo-hero.sweep::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, transparent 30%, rgba(172, 234, 21, .35) 50%, transparent 70%); animation: sweep 1.3s var(--ease) both; pointer-events: none; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 40px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-h h2 { font-size: 26px; }
.sec-h p { margin: 6px 0 0; color: var(--mute); font-size: 14px; }
.side-col { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }

/* task list */
.tasks { display: flex; flex-direction: column; gap: 10px; }
.task { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); transition: background .3s, border-color .3s; }
.task:hover { border-color: var(--stroke-2); }
.task.expanded { background: var(--surface-2); border-color: var(--stroke-2); }
.task-head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; }
.task-head .t { flex: 1; min-width: 0; }
.task-head .t b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.task-head .t small { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); font-size: 13px; margin-top: 3px; }
.task-head .t small svg.i { width: 14px; height: 14px; }
.task.done .task-head .t b { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--dim); }
.chev { color: var(--dim); display: grid; place-items: center; transition: transform .3s var(--ease); }
.task.expanded .chev { transform: rotate(180deg); color: var(--text); }
.task-body { display: none; padding: 0 20px 22px 64px; }
.task.expanded .task-body { display: block; animation: rise .4s var(--ease); }
.task-body .detail { margin: 0 0 16px; color: rgba(243, 245, 239, .78); }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.dropzone { border: 1.5px dashed var(--stroke-2); border-radius: var(--r-md); padding: 26px 20px; text-align: center; color: var(--mute); cursor: pointer; margin-bottom: 18px; transition: all .25s; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dropzone svg.i { width: 24px; height: 24px; color: var(--lime); }
.dropzone b { color: var(--text); font-weight: 600; }
.dropzone small { font-size: 12.5px; color: var(--dim); }
.dropzone:hover, .dropzone.over { border-color: var(--lime); background: var(--lime-wash); }

/* approval preview */
.preview { border-radius: var(--r-md); overflow: hidden; background: #000; border: 1px solid var(--stroke); margin-bottom: 16px; }
.preview img { width: 100%; max-height: 420px; object-fit: contain; background: #000; }
.preview .cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-2); font-size: 13.5px; }
.preview .cap span { color: rgba(243, 245, 239, .85); }
.preview .cap a { color: var(--lime); font-weight: 600; white-space: nowrap; }
.preview.linkonly { background: var(--bg-2); }
.preview.linkonly .cap { padding: 16px; }
.answer { padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin-bottom: 10px; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
.answer .who { display: block; font-size: 12px; font-weight: 600; color: var(--lime); margin-bottom: 2px; }
.answer.warn .who { color: var(--amber); }
.answer a { color: var(--lime-2); }
.filelist { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.file { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 13.5px; }
.file .ext { width: 34px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--lime-wash); color: var(--lime); font-size: 10px; font-weight: 700; text-transform: uppercase; flex: none; }
.file a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file a:hover { color: var(--lime); }
.file small { color: var(--dim); }
.file button { color: var(--dim); font-size: 18px; width: 24px; }
.file button:hover { color: var(--red); }

/* producer card */
.producer {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 360px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  border: 1px solid var(--stroke);
}
.producer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: -2; }
.producer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0B0E09 18%, rgba(11, 14, 9, .55) 55%, rgba(11, 14, 9, .05)); }
.producer .k { font-size: 12.5px; color: var(--lime); font-weight: 600; }
.producer h3 { font-size: 30px; margin: 6px 0 4px; }
.producer p { color: rgba(243, 245, 239, .75); margin: 6px 0 20px; font-size: 14.5px; }
.producer .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-list { padding: 8px; }
.mini-list .h { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 6px; font-size: 13px; color: var(--mute); }
.mini-row { display: flex; gap: 12px; padding: 10px 12px; border-radius: 14px; font-size: 14px; transition: background .2s; }
.mini-row:hover { background: var(--surface); }
.mini-row p { margin: 2px 0 0; color: var(--mute); font-size: 13px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* past episodes */
.eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ep { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.ep:hover { transform: translateY(-3px); border-color: var(--stroke-2); }
.ep .th { position: relative; aspect-ratio: 16/9; background: var(--bg-2); overflow: hidden; }
.ep .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ep:hover .th img { transform: scale(1.05); }
.ep .th .pill { position: absolute; left: 12px; top: 12px; }
.ep .bd { padding: 16px 18px 18px; }
.ep h4 { font-size: 18px; margin-bottom: 4px; }
.ep .bd > p { margin: 0; color: var(--mute); font-size: 13px; }
.ep details { margin-top: 12px; }
.ep summary { cursor: pointer; color: var(--lime); font-size: 13.5px; font-weight: 600; list-style: none; }
.ep summary::-webkit-details-marker { display: none; }
.ep details[open] summary { margin-bottom: 12px; }
.ep .resp-item { margin-bottom: 12px; font-size: 14px; }
.ep .resp-item > b { display: block; margin-bottom: 6px; font-weight: 600; }

/* chat */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 170px); min-height: 480px; border-radius: var(--r-xl); overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--stroke); }
.chat-h b { display: block; font-size: 15.5px; line-height: 1.25; }
.chat-h small { color: var(--mute); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.chat-h small .dot { width: 7px; height: 7px; }
.chat { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.log { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin; }
.daysep { align-self: center; font-size: 12px; color: var(--dim); margin: 14px 0 8px; padding: 4px 12px; border-radius: 999px; background: var(--surface); }
.msg { max-width: min(74%, 560px); padding: 11px 15px 8px; border-radius: 20px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; animation: rise .35s var(--ease); }
.msg time { display: block; font-size: 11px; margin-top: 4px; opacity: .6; text-align: right; }
.msg.them { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--lime); color: var(--lime-ink); border-bottom-right-radius: 6px; }
.msg.me a { color: var(--lime-ink); text-decoration: underline; }
.msg.them a { color: var(--lime-2); }
.msg .filelist { margin: 8px 0 0; }
.msg.me .file { background: rgba(11, 16, 0, .12); }
.msg.me .file .ext { background: rgba(11, 16, 0, .15); color: var(--lime-ink); }
.pending { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 8px; }
#chatform { display: flex; align-items: flex-end; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--stroke); background: rgba(7, 9, 6, .4); }
#chatform textarea { flex: 1; resize: none; min-height: 46px; max-height: 160px; padding: 12px 18px; border-radius: 23px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); outline: none; line-height: 1.45; }
#chatform textarea:focus { border-color: rgba(172, 234, 21, .5); }
#chatform .clip { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); background: var(--surface-2); flex: none; }
#chatform .clip:hover { color: var(--text); }
#chatform .btn { width: 46px; padding: 0; flex: none; }
.empty { text-align: center; padding: 48px 20px; color: var(--mute); }
.empty h3 { font-size: 24px; color: var(--text); margin-bottom: 8px; }
.empty .btn { margin-top: 18px; }

/* ---------- producer (admin) shell ---------- */
.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 16px 18px; overflow-y: auto; scrollbar-width: thin; border-right: 1px solid var(--stroke); background: rgba(7, 9, 6, .5); }
.rail > * { flex-shrink: 0; }
.rail .logo { width: 196px; margin: 0 8px 36px; }
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font-weight: 500; font-size: 14.5px; color: var(--mute); transition: background .25s, color .25s; min-width: 0; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.on { color: var(--text); background: var(--surface-2); }
.nav a.on svg.i { color: var(--lime); }
.nav a .count { margin-left: auto; }
.nav a .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav.shows a { padding: 8px 12px 8px 8px; }
.rail-lbl { display: flex; justify-content: space-between; align-items: center; padding: 26px 12px 10px; font-size: 12.5px; color: var(--dim); font-weight: 600; }
.rail-lbl button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); background: var(--surface-2); }
.rail-lbl button:hover { color: var(--lime-ink); background: var(--lime); }
.rail-lbl button svg.i { width: 14px; height: 14px; }
.rail .me { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--stroke); }
.rail .me b { font-size: 14px; font-weight: 600; display: block; line-height: 1.2; }
.rail .me small { color: var(--mute); font-size: 12px; }
.rail .me button { margin-left: auto; color: var(--dim); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.rail .me button:hover { color: var(--text); background: var(--surface-2); }
.rail .spacer { height: 24px; }
.mtop, .tabbar { display: none; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 12px 0 32px; flex-wrap: wrap; }
.head h1 { font-size: clamp(40px, 5vw, 66px); margin-top: 12px; }
.head p { margin: 14px 0 0; color: var(--mute); max-width: 560px; font-size: 16px; }
.head p b { color: var(--text); font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 4px; transition: transform .35s var(--ease), border-color .35s; }
.stat:hover { transform: translateY(-2px); border-color: var(--stroke-2); }
.stat .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--mute); margin-bottom: 12px; }
.stat .v { font-family: var(--head); font-weight: 600; font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.stat .l { font-weight: 600; font-size: 14px; margin-top: 6px; }
.stat small { color: var(--mute); font-size: 12.5px; }
.stat.ready { background: linear-gradient(160deg, rgba(172, 234, 21, .16), rgba(172, 234, 21, .03)); border-color: rgba(172, 234, 21, .28); }
.stat.ready .ico { background: var(--lime); color: var(--lime-ink); }
.stat.ready .v { color: var(--lime); }
.stat.overdue .ico { background: var(--red-wash); color: var(--red); }
.stat.overdue .v { color: var(--red); }
.stat.unread .ico { background: var(--sky-wash); color: var(--sky); }
.stat.waiting .ico { color: var(--text); }

.showgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.show { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.show:hover { transform: translateY(-3px); border-color: var(--stroke-2); background: var(--surface-2); }
.show .ph { position: relative; aspect-ratio: 16/8; overflow: hidden; background: radial-gradient(400px 200px at 80% 0%, rgba(172, 234, 21, .18), transparent 60%), var(--bg-2); }
.show .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .7s var(--ease); }
.show:hover .ph img { transform: scale(1.05); }
.show .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 9, 6, .8), transparent 55%); }
.show .ph .pill { position: absolute; left: 12px; top: 12px; z-index: 1; }
.show .ph .msgbadge { position: absolute; right: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--sky); color: #04121F; font-size: 12px; font-weight: 700; }
.show .ph .msgbadge svg.i { width: 13px; height: 13px; stroke-width: 2.4; }
.show .ph .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-size: 48px; font-weight: 600; color: rgba(243, 245, 239, .18); letter-spacing: -.04em; }
.show .ph h3 { position: absolute; left: 16px; bottom: 12px; right: 16px; z-index: 1; font-size: 21px; }
.show .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.show .who { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--mute); }
.prog .row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.prog .row b { font-weight: 600; }
.show .none { font-size: 13px; color: var(--dim); }

.feed { padding: 8px; }
.fitem { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: background .2s; position: relative; }
.fitem:hover { background: var(--surface); }
.fitem .fx { position: relative; flex: none; }
.fitem .fx .kind { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #0D100B; }
.fitem .fx .kind svg.i { width: 10px; height: 10px; stroke-width: 3; }
.fitem .fx .kind.complete { background: var(--lime); color: var(--lime-ink); }
.fitem .fx .kind.message { background: var(--sky); color: #04121F; }
.fitem .fx .kind.task { background: #3A4334; color: var(--text); }
.fitem .fx .kind.changes { background: var(--amber); color: #1F1600; }
.fitem .tx { flex: 1; min-width: 0; font-size: 14px; color: var(--mute); line-height: 1.45; padding-right: 14px; }
.fitem.unread .tx { color: var(--text); }
.fitem .tx time { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.fitem.unread::after { content: ''; position: absolute; right: 12px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.alerts-cta { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); margin-bottom: 12px; background: var(--lime-wash); border: 1px solid rgba(172, 234, 21, .22); font-size: 13.5px; }
.alerts-cta svg.i { color: var(--lime); }
.alerts-cta span { flex: 1; }

/* producer: client page */
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--mute); font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.back:hover { color: var(--text); }
.back svg.i { width: 16px; height: 16px; }
.client-hero { min-height: 300px; }
.client-hero h1 { font-size: clamp(40px, 5vw, 70px); }
.meta-row { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: rgba(243, 245, 239, .75); align-items: center; }
.tabs-row { margin: 26px 0 24px; }

.pack { padding: 0; overflow: hidden; margin-bottom: 22px; }
.pack-h { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--stroke); flex-wrap: wrap; }
.pack-h .l { flex: 1; min-width: 200px; }
.pack-h h2 { font-size: 24px; }
.pack-h p { margin: 4px 0 0; color: var(--mute); font-size: 14px; }
.pack-h .note { color: rgba(243, 245, 239, .75); font-size: 14px; margin-top: 8px; }
.pack-h .r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pack.live { border-color: rgba(172, 234, 21, .35); background: linear-gradient(180deg, rgba(172, 234, 21, .07), var(--surface) 140px); }
.atask { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--stroke); align-items: start; }
.atask:last-of-type { border-bottom: 0; }
.atask .t b { display: block; font-weight: 600; font-size: 15px; }
.atask .t > small { color: var(--mute); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.atask .t .detail { color: var(--mute); font-size: 14px; margin-top: 4px; }
.atask .t .resp { margin-top: 10px; }
.atask .t .resp:empty { display: none; }
.atask .t .preview { max-width: 440px; margin: 12px 0 4px; }
.atask.done .t b { color: var(--mute); }
.atask .tools { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.addrow { padding: 14px 24px 20px; border-top: 1px solid var(--stroke); }
.produced-list { margin-top: 36px; }
.produced-list details { padding: 16px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--stroke); margin-bottom: 10px; }
.produced-list summary { cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.produced-list summary small { color: var(--mute); font-weight: 400; }

.form-panel { max-width: 760px; }
.form-panel section { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); margin-bottom: 18px; }
.form-panel h2 { font-size: 21px; margin-bottom: 6px; }
.form-panel .h { color: var(--mute); margin: 0 0 22px; font-size: 14px; }
.row-btns { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* templates */
.tpl { padding: 0; margin-bottom: 18px; overflow: hidden; }
.tpl .th { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-bottom: 1px solid var(--stroke); }
.tpl .th > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tpl .th input { background: transparent; border: 0; outline: none; padding: 2px 0; }
.tpl .th input[data-tf=name] { font-family: var(--head); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.tpl .th input[data-tf=blurb] { color: var(--mute); font-size: 14px; }
.tpl-row { display: grid; grid-template-columns: 30px 170px minmax(0, 1fr) auto; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--stroke); align-items: start; }
.tpl-row .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--mute); margin-top: 9px; }
.tpl-row .in { padding: 10px 14px; font-size: 14px; }
.tpl-row textarea.in { min-height: 56px; margin-top: 8px; }
.tpl-row .tools { display: flex; flex-direction: column; }

/* template picker in modals */
.tplpick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.tplpick label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); cursor: pointer; transition: all .2s; }
.tplpick label:has(input:checked) { border-color: rgba(172, 234, 21, .5); background: var(--lime-wash); }
.tplpick input { accent-color: var(--lime); margin-top: 4px; }
.tplpick b { display: block; font-weight: 600; font-size: 14.5px; }
.tplpick small { color: var(--mute); font-size: 13px; }
.fieldlbl { display: block; font-size: 13px; font-weight: 500; color: var(--mute); margin-bottom: 8px; }

/* ---------- dialog + toast ---------- */
dialog#modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--stroke-2); border-radius: var(--r-xl); background: #10140D; color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
dialog#modal::backdrop { background: rgba(3, 4, 2, .72); backdrop-filter: blur(6px); }
dialog#modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
#modal-body { padding: 30px; }
#modal-body h2 { font-size: 26px; margin-bottom: 6px; }
#modal-body .lead { color: var(--mute); margin: 0 0 22px; }
.mfoot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.codebox { font-family: var(--head); font-size: 40px; font-weight: 600; letter-spacing: .1em; text-align: center; padding: 22px; border-radius: var(--r-lg); background: var(--lime-wash); color: var(--lime); border: 1px solid rgba(172, 234, 21, .3); margin-bottom: 20px; }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 200; padding: 13px 20px; border-radius: 999px; background: var(--text); color: #0A0B09; font-weight: 600; font-size: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: all .35s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--red); color: #1A0500; }

.loading { min-height: 100vh; display: grid; place-items: center; }
.loading.inline { min-height: 300px; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--lime); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .showgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .grid-2 { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .producer { min-height: 300px; }
  .showgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .signin { grid-template-columns: 1fr; }
  .signin .photo { min-height: 56vh; padding: 24px 20px 30px; }
  .signin .photo .logo { width: 180px; }
  .signin .photo p { font-size: 15.5px; margin-bottom: 22px; }
  .signin .side { padding: 30px 16px 40px; }
  .signin .card h2 { margin-top: 22px; font-size: 28px; }

  .ctop { padding: 12px 16px; }
  .ctop .logo { width: 150px; }
  .ctop .seg { display: none; }
  .ctop .me { margin-left: auto; }
  .ctop .me > div { display: none; }

  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .mtop { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; position: sticky; top: 0; z-index: 30; background: rgba(7, 9, 6, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--stroke); }
  .mtop .logo { width: 150px; }
  .mtop button { color: var(--mute); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }

  .tabbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    padding: 6px; border-radius: 26px; gap: 4px;
    background: rgba(17, 21, 14, .86); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid var(--stroke-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px 7px; border-radius: 20px; font-size: 11px; font-weight: 600; color: var(--mute); position: relative; }
  .tabbar a svg.i { width: 21px; height: 21px; }
  .tabbar a.on { color: var(--lime-ink); background: var(--lime); }
  .tabbar a .count { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 17px; height: 17px; font-size: 10px; background: var(--sky); color: #04121F; }

  .page { padding: 16px 16px 120px; }
  .photo-hero { min-height: 0; padding: 140px 20px 22px; border-radius: var(--r-lg); }
  .photo-hero::before { background: linear-gradient(0deg, rgba(7, 9, 6, .97) 30%, rgba(7, 9, 6, .45) 75%, rgba(7, 9, 6, .2)); }
  .photo-hero .sub { font-size: 15px; }
  .hero-grid { gap: 18px; }
  .score-card { width: 100%; padding: 16px; }
  .score-card .num { font-size: 28px; }
  .client-hero { padding-top: 110px; }
  .hero-act { width: 100%; }
  .hero-act .btn { flex: 1; }
  .grid-2 { margin-top: 28px; gap: 24px; }
  .task-head { padding: 16px; gap: 14px; }
  .task-body { padding: 0 16px 18px; }
  .live-banner { padding: 16px; gap: 14px; }
  .head { margin-bottom: 22px; }
  .head .btn { width: 100%; }
  .stats { gap: 10px; }
  .stat { padding: 16px; }
  .stat .v { font-size: 32px; }
  .stat .ico { margin-bottom: 8px; }
  .showgrid { grid-template-columns: 1fr; }
  .chat-wrap { height: calc(100vh - 190px); height: calc(100dvh - 190px); min-height: 380px; border-radius: var(--r-lg); }
  .msg { max-width: 86%; }
  .atask { grid-template-columns: 28px minmax(0, 1fr); padding: 16px; }
  .atask .tools { grid-column: 2; justify-content: flex-start; margin-left: -10px; }
  .pack-h { padding: 18px 16px; }
  .addrow { padding: 12px 16px 16px; }
  .tpl-row { grid-template-columns: 28px minmax(0, 1fr); padding: 14px 16px; }
  .tpl-row > * { grid-column: 2; }
  .tpl-row .num { grid-column: 1; grid-row: 1; }
  .tpl-row .tools { flex-direction: row; }
  .tpl .th { padding: 18px 16px; }
  .form-panel section { padding: 20px; }
  #modal-body { padding: 24px 20px; }
  #toast { bottom: 100px; }
}

/* ---------- small-screen polish ---------- */
.signin .photo { gap: 28px; }
.demo-box .row button { white-space: nowrap; }
.demo-box .row b { white-space: nowrap; }
.tpl .th > div { min-width: 0; }
.tpl .th input { width: 100%; min-width: 0; }
@media (max-width: 900px) {
  .demo-box .row { flex-wrap: wrap; row-gap: 2px; }
  .tpl .th { flex-wrap: wrap; }
  .tpl .th .pill { display: none; }
  .head .hero-act { width: 100%; }
  .head .hero-act .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; }
}

/* ---------- strategy page ---------- */
.strat-hero { padding: 44px 40px; border-radius: var(--r-xl); border: 1px solid var(--stroke); background: radial-gradient(800px 420px at 100% 0%, rgba(172, 234, 21, .16), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(172, 234, 21, .06), transparent 60%), var(--bg-2); }
.strat-hero h1 { font-size: clamp(38px, 5vw, 68px); margin: 14px 0 16px; max-width: 900px; }
.strat-hero .lead { font-size: 18px; line-height: 1.6; color: rgba(243, 245, 239, .84); max-width: 760px; margin: 0 0 24px; }
.sec { margin-top: 56px; }
.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.goal-card { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 8px; }
.goal-card .gnum { font-size: 40px; line-height: 1; color: var(--lime); }
.goal-card h3 { font-size: 18px; margin-top: 8px; }
.goal-card .gt { font-family: var(--head); font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.goal-card p { margin: 0; color: var(--mute); font-size: 14px; }
.aud { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.aud .k { font-size: 12.5px; font-weight: 600; color: var(--lime); }
.aud h2 { font-size: 26px; margin: 6px 0 10px; }
.aud p { margin: 0; color: rgba(243, 245, 239, .8); }
.personas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.personas li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 14.5px; }
.personas svg.i { color: var(--lime); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pillar { padding: 24px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(172, 234, 21, .08), rgba(172, 234, 21, 0) 55%), var(--surface); border: 1px solid var(--stroke); }
.pillar h3 { font-size: 20px; margin-bottom: 8px; }
.pillar p { margin: 0 0 14px; color: var(--mute); font-size: 14.5px; }
.pillar .ex { display: flex; flex-wrap: wrap; gap: 6px; }
.cadence { padding: 8px; }
.cad { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px; }
.cad + .cad { border-top: 1px solid var(--stroke); }
.cad b { display: block; font-weight: 600; }
.cad small { color: var(--mute); font-size: 13px; }
.roadmap { position: relative; padding-left: 8px; }
.roadmap::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--lime), rgba(172, 234, 21, .1)); border-radius: 2px; }
.rm { position: relative; display: grid; grid-template-columns: 8px 1fr; gap: 22px; padding-bottom: 26px; }
.rm .dot { margin-top: 7px; width: 8px; height: 8px; }
.rm .when { font-size: 12.5px; font-weight: 600; color: var(--lime); }
.rm h3 { font-size: 19px; margin: 4px 0 6px; }
.rm p { margin: 0; color: var(--mute); font-size: 14.5px; }
.kpi { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--stroke); font-size: 14px; }
.kpi .kv { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.kpi .kv small { color: var(--mute); }
.kpi .kv svg.i { width: 14px; height: 14px; color: var(--dim); }
.kpi .kv b { font-family: var(--head); font-size: 17px; }
.nextsteps .ns { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 14.5px; }
.nextsteps .check { width: 24px; height: 24px; }

/* publish bar (staff) */
.pubbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px 14px 20px; border-radius: var(--r-lg); background: var(--amber-wash); border: 1px solid rgba(243, 201, 105, .3); margin-bottom: 18px; }
.pubbar.live { background: var(--lime-wash); border-color: rgba(172, 234, 21, .3); }
.pubbar .l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.jobcard { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.jobcard b { font-family: var(--head); font-size: 17px; }
.jobcard p { margin: 2px 0 0; color: var(--mute); font-size: 14px; }
.jobcard > div:not(.spinner) { flex: 1; }
.jobcard.bad { border-color: rgba(255, 138, 114, .35); background: var(--red-wash); }
.jobcard.bad > svg.i { color: var(--red); width: 22px; height: 22px; }
.spinner.sm { width: 30px; height: 30px; flex: none; border-width: 3px; }
.aioff { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13px; color: var(--mute); }
.aioff svg.i { width: 16px; height: 16px; color: var(--amber); margin-top: 2px; }
.dropzone.big { padding: 46px 20px; margin: 0; }
.dropzone.big svg.i { width: 34px; height: 34px; }
.dropzone.big b { font-family: var(--head); font-size: 20px; }

/* ---------- analytics ---------- */
.stat .delta { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; margin-top: 6px; }
.stat .delta svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.stat .delta.up { color: var(--lime); }
.stat .delta.down { color: var(--red); }
.chart-panel { padding: 24px 22px 14px; }
.barchart { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
.barchart .base { stroke: var(--stroke-2); stroke-width: 1; }
.barchart .bar path { fill: var(--lime); opacity: .34; transition: opacity .2s; }
.barchart .bar.cur path { opacity: 1; }
.barchart .bar:hover path { opacity: .85; }
.barchart .bar.cur:hover path { opacity: 1; }
.barchart .hit { fill: transparent; }
.barchart .vl { fill: var(--text); font: 600 13px var(--head); }
.barchart .xl { fill: var(--mute); font: 500 12px var(--body); }
#charttip { position: fixed; z-index: 300; transform: translate(-50%, -100%); padding: 7px 12px; border-radius: 10px; background: var(--text); color: #0A0B09; font-size: 12.5px; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .15s; white-space: nowrap; }
#charttip.show { opacity: 1; }
.toprow { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--stroke); font-size: 14.5px; }
.toprow .rk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--mute); }
.toprow b { font-weight: 600; }
.toprow .tv { font-family: var(--head); font-weight: 600; white-space: nowrap; }
.toprow .tv small { color: var(--mute); font-family: var(--body); font-weight: 500; }
.note-card { padding: 22px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(172, 234, 21, .14), rgba(172, 234, 21, .03)); border: 1px solid rgba(172, 234, 21, .22); }
.note-card .nh { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.note-card p { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; }
.hl { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 14.5px; }
.hl svg.i { color: var(--lime); width: 16px; height: 16px; margin-top: 3px; }
.hist summary { cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 17px; list-style: none; }
.hist summary::-webkit-details-marker { display: none; }
.hist[open] summary { margin-bottom: 14px; }
.tablewrap { overflow-x: auto; }
.mtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mtable th { text-align: left; color: var(--mute); font-weight: 500; padding: 6px 8px; white-space: nowrap; }
.mtable td { padding: 8px; border-top: 1px solid var(--stroke); white-space: nowrap; }
table.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ana-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ana-tools > div:first-child { flex: 1; min-width: 260px; }
.replist { padding: 6px 8px; }
.rep { display: grid; grid-template-columns: minmax(160px, 1.2fr) 2fr auto; gap: 16px; align-items: center; padding: 14px 12px; }
.rep + .rep { border-top: 1px solid var(--stroke); }
.rep .l b { display: block; font-family: var(--head); font-size: 16px; }
.rep .l small { display: block; color: var(--mute); font-size: 12.5px; }
.rep.draft .l small:first-of-type { color: var(--amber); }
.rep .l small.warnnote { display: flex; gap: 6px; align-items: flex-start; margin-top: 4px; color: var(--amber); }
.rep .warnnote svg.i { width: 14px; height: 14px; margin-top: 2px; }
.rep .m { display: flex; gap: 22px; flex-wrap: wrap; }
.rep .m b { display: block; font-family: var(--head); font-size: 18px; }
.rep .m small { color: var(--mute); font-size: 12px; }
.rep .tools { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.member { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 16px; }
.member.owner { background: linear-gradient(160deg, rgba(172, 234, 21, .12), rgba(172, 234, 21, .02)); border-color: rgba(172, 234, 21, .25); }
.member.off { opacity: .55; }
.member .mh { display: flex; align-items: center; gap: 14px; }
.member .mh > div { flex: 1; min-width: 0; }
.member h3 { font-size: 18px; }
.member .mh small { color: var(--mute); font-size: 13px; }
.member .perms { display: flex; flex-wrap: wrap; gap: 6px; }
.perm { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--dim); background: rgba(255, 255, 255, .03); }
.perm svg.i { width: 12px; height: 12px; stroke-width: 2.6; }
.perm.on { color: var(--text); background: var(--surface-2); }
.perm.on svg.i { color: var(--lime); }
.member .mf { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mute); }
.member .mf span { display: flex; gap: 8px; align-items: center; }
.member .mf svg.i { width: 14px; height: 14px; }
.member .tools { display: flex; gap: 2px; flex-wrap: wrap; margin: -4px 0 -6px -10px; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
.mgrid.two { grid-template-columns: 1fr 1fr; }
.permpick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.permpick label { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 12px; background: var(--surface); border: 1px solid var(--stroke); font-size: 13.5px; cursor: pointer; transition: all .2s; }
.permpick label:has(input:checked) { border-color: rgba(172, 234, 21, .45); background: var(--lime-wash); }
.permpick input { accent-color: var(--lime); }
.permpick[hidden] { display: none; }
.msg .by { display: block; font-size: 11.5px; font-weight: 700; color: var(--lime); margin-bottom: 2px; }
.msg.me .by { color: rgba(11, 16, 0, .7); }
dialog#modal { width: min(620px, calc(100vw - 24px)); }

@media (max-width: 900px) {
  .strat-hero { padding: 28px 20px; border-radius: var(--r-lg); }
  .strat-hero .lead { font-size: 16px; }
  .aud { grid-template-columns: 1fr; }
  .sec { margin-top: 40px; }
  .rep { grid-template-columns: 1fr; gap: 10px; }
  .rep .tools { justify-content: flex-start; margin-left: -10px; }
  .mgrid { grid-template-columns: 1fr 1fr; }
  .permpick { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .chart-panel { padding: 18px 14px 10px; }
  .chart-panel .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chart-panel .chips .chip { flex: none; }
  .tabbar a { font-size: 10px; padding: 8px 2px 7px; }
}

.rep .warnnote span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1000px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .ana-tools .hero-act { width: 100%; } .ana-tools .hero-act .btn { flex: 1 1 auto; } .meta-row { min-width: 0; } .meta-row span { overflow-wrap: anywhere; } }

@media (max-width: 900px) { .shell { grid-template-columns: minmax(0, 1fr); } .rep > * { min-width: 0; } }

/* ---------- content planner ---------- */
:root { --st-idea: #868E7D; --st-planned: #8CCBFF; --st-production: #F3C969; --st-review: #FF9E5E; --st-scheduled: #D9F58A; --st-published: #ACEA15; }
.st-idea { --st: var(--st-idea); } .st-planned { --st: var(--st-planned); } .st-production { --st: var(--st-production); }
.st-review { --st: var(--st-review); } .st-scheduled { --st: var(--st-scheduled); } .st-published { --st: var(--st-published); }
.sd { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--st, var(--dim)); display: inline-block; }
.sd.private { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mute); }
.cal-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-bar .mnav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.cal-bar .mnav h2 { font-size: 26px; min-width: 200px; text-align: center; }
.cal-bar .mnav .iconbtn { width: 38px; height: 38px; padding: 0; justify-content: center; }
.cal-bar .mnav .iconbtn svg.i { width: 18px; height: 18px; }
.seg.sm button { height: 34px; padding: 0 14px; font-size: 13px; }
.seg.sm svg.i { width: 15px; height: 15px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; font-size: 12.5px; color: var(--mute); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal { border-radius: var(--r-lg); border: 1px solid var(--stroke); overflow: hidden; background: var(--surface); }
.cal-h { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--stroke); }
.cal-h span { padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--mute); }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cday { min-height: 128px; padding: 8px; border-right: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 4px; transition: background .2s; min-width: 0; }
.cday:nth-child(7n) { border-right: 0; }
.cday.out { background: rgba(0, 0, 0, .25); }
.cday.out .dn span { color: var(--dim); }
.cday.over { background: var(--lime-wash); box-shadow: inset 0 0 0 1.5px rgba(172, 234, 21, .6); }
.cday .dn { display: flex; justify-content: space-between; align-items: center; height: 24px; }
.cday .dn span { font-size: 12.5px; font-weight: 600; color: var(--mute); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.cday.today .dn span { background: var(--lime); color: var(--lime-ink); }
.addday { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--dim); opacity: 0; transition: opacity .2s; }
.addday svg.i { width: 13px; height: 13px; }
.cday:hover .addday { opacity: 1; }
.addday:hover { background: var(--lime); color: var(--lime-ink); }
.cchip { display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0; padding: 5px 7px; border-radius: 9px; font-size: 12px; font-weight: 500; text-align: left; background: rgba(255, 255, 255, .055); border-left: 3px solid var(--st, var(--dim)); transition: background .2s, transform .2s; }
.cchip:hover { background: rgba(255, 255, 255, .1); }
.cchip span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cchip > svg.i { width: 12px; height: 12px; color: var(--mute); }
.cchip .sd { display: none; }
.cchip.private { background: transparent; border: 1px dashed var(--stroke-2); border-left: 3px solid var(--st, var(--dim)); color: var(--mute); }
.cchip.dragging { opacity: .4; }
.cchip[draggable="true"] { cursor: grab; }
.cchip .flag { width: 16px; height: 16px; border-radius: 50%; background: var(--amber); color: #1F1600; font-size: 11px; display: grid; place-items: center; flex: none; }
.cchip .ok { color: var(--lime); display: grid; place-items: center; }
.cchip .ok svg.i { width: 12px; height: 12px; stroke-width: 3; }
.av.xs { width: 16px; height: 16px; font-size: 7px; }
.cday .more { font-size: 11.5px; color: var(--mute); text-align: left; padding: 2px 6px; }
.cday .more:hover { color: var(--lime); }
.agenda { display: flex; flex-direction: column; gap: 10px; }
.aday { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.adate { border-radius: 14px; background: var(--surface-2); text-align: center; padding: 10px 0 8px; line-height: 1.1; }
.adate b { display: block; font-family: var(--head); font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.adate span { font-size: 11px; color: var(--mute); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.aday.today .adate { background: var(--lime); color: var(--lime-ink); }
.aday.today .adate span { color: var(--lime-ink); }
.arows { display: flex; flex-direction: column; gap: 6px; }
.arow { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); text-align: left; transition: border-color .2s, background .2s; }
.arow:hover { border-color: var(--stroke-2); background: var(--surface-2); }
.arow .ti { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--st, var(--dim)) 16%, transparent); color: var(--st, var(--mute)); }
.arow .ti svg.i { width: 17px; height: 17px; }
.arow .tx { flex: 1; min-width: 0; }
.arow .tx b { display: block; font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arow .tx b em { font-style: normal; color: var(--lime); font-weight: 600; }
.arow .tx small { color: var(--mute); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arow .tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill.st { background: color-mix(in srgb, var(--st) 15%, transparent); color: var(--st); }
.tray-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tray-list .cchip { width: auto; max-width: 340px; padding: 8px 12px; font-size: 13px; }
.okbar { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: var(--lime-wash); border: 1px solid rgba(172, 234, 21, .25); margin-bottom: 20px; font-size: 14px; }
.okbar svg.i { color: var(--lime); }
.asks { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; border-color: rgba(243, 201, 105, .3); }
.jobcard.good { border-color: rgba(172, 234, 21, .3); background: var(--lime-wash); }
.jobcard.good > svg.i { color: var(--lime); width: 22px; height: 22px; }
.platpick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.platpick label { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--stroke); font-size: 13px; cursor: pointer; }
.platpick label:has(input:checked) { border-color: rgba(172, 234, 21, .45); background: var(--lime-wash); }
.platpick input { accent-color: var(--lime); }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ptags .pill svg.i { width: 12px; height: 12px; }
select.showfilter { width: auto; min-width: 200px; border-radius: 999px; padding: 10px 40px 10px 18px; }
.planreq { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--amber); }
.planreq svg.i { width: 14px; height: 14px; }
.pastlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; }
.pastlink svg.i { width: 15px; height: 15px; }
@media (max-width: 1100px) { .cday { min-height: 110px; padding: 6px; } .cchip { font-size: 11px; padding: 4px 6px; } .cchip > svg.i { display: none; } }
@media (max-width: 900px) {
  .cal-bar { gap: 10px; }
  .cal-bar .mnav { width: 100%; justify-content: space-between; margin: 0; }
  .cal-bar .mnav h2 { font-size: 21px; min-width: 0; }
  .cal-bar .hero-act { width: 100%; }
  .cal-bar .hero-act .btn { flex: 1 1 auto; }
  .cal-h span { padding: 8px 4px; text-align: center; font-size: 11px; }
  .cday { min-height: 64px; padding: 4px; gap: 3px; }
  .cday .dn { justify-content: center; height: 20px; }
  .cday .dn span { font-size: 11px; width: 20px; height: 20px; }
  .addday { display: none; }
  .cchip { padding: 0; height: 6px; border-radius: 3px; border-left: 0; background: var(--st, var(--dim)); }
  .cchip.private { background: transparent; border: 1px dashed var(--mute); }
  .cchip > *, .cchip .av { display: none; }
  .cday .more { font-size: 10px; padding: 0 2px; }
  .aday { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .arow { padding: 10px 12px; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
  .arow .tx { flex-basis: calc(100% - 50px); }
  .arow .tags { width: 100%; justify-content: flex-start; padding-left: 46px; }
  .head select.showfilter { width: 100%; }
}

/* ---------- recording sources ---------- */
.pmark { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font: 700 12px var(--head); letter-spacing: -.02em; color: #fff; background: #2C3328; box-shadow: inset 0 0 0 1px var(--stroke-2); }
.pm-riverside { background: linear-gradient(145deg, #5B3BE8, #2E1C8C); }
.pm-zoom { background: #2D6CF6; }
.pm-streamyard { background: #6C2BD9; }
.pm-googledrive { background: #1E8E3E; }
.pm-dropbox { background: #0061FE; }
.pm-onedrive { background: #0F6CBD; }
.pm-youtube { background: #D93025; }
.pm-descript, .pm-squadcast, .pm-zencastr { background: #3A3F55; }
.provlink { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin-bottom: 10px; border: 1px solid var(--stroke); transition: border-color .2s; }
.provlink:hover { border-color: var(--stroke-2); }
.provlink > span:not(.pmark) { flex: 1; min-width: 0; }
.provlink b { display: block; font-size: 14px; }
.provlink small { display: block; color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provlink > svg.i { color: var(--mute); width: 16px; height: 16px; }
.rvcard { padding: 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(91, 59, 232, .14), rgba(91, 59, 232, .03)); border: 1px solid rgba(124, 99, 255, .3); margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px; }
.rvh { display: flex; gap: 12px; align-items: center; }
.rvh b { display: block; font-size: 14.5px; }
.rvh small { color: var(--mute); font-size: 12.5px; }
.rvfiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.rvf { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); font-size: 12.5px; }
.rvf span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvf small { color: var(--mute); }
.rvf svg.i { width: 14px; height: 14px; color: #B9A8FF; }
a.rvf:hover { background: rgba(0, 0, 0, .4); color: var(--text); }
.rvpick { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 16px; margin-bottom: 14px; background: linear-gradient(160deg, rgba(91, 59, 232, .16), rgba(91, 59, 232, .04)); border: 1px solid rgba(124, 99, 255, .35); transition: transform .2s; }
.rvpick:hover { transform: translateY(-1px); }
.rvpick > span:not(.pmark) { flex: 1; }
.rvpick b { display: block; font-size: 14.5px; }
.rvpick small { color: var(--mute); font-size: 13px; }
.rvbanner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: linear-gradient(160deg, rgba(91, 59, 232, .14), rgba(91, 59, 232, .03)); border: 1px solid rgba(124, 99, 255, .3); margin-bottom: 18px; flex-wrap: wrap; }
.rvbanner > span:not(.pmark) { flex: 1; min-width: 200px; }
.rvbanner b { display: block; font-size: 14.5px; }
.rvbanner small { color: var(--mute); font-size: 13px; }
.rvbanner.off { background: var(--surface); border-color: var(--stroke); }
.rvbanner.off .pmark { opacity: .5; }
.rvlist { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; max-height: 60vh; overflow-y: auto; }
@media (max-width: 900px) { .rvbanner .btn { width: 100%; } }

/* ---------- view as client + invites ---------- */
.asbar { position: sticky; top: 64px; z-index: 29; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px clamp(16px, 4vw, 40px); background: linear-gradient(90deg, rgba(172, 234, 21, .22), rgba(172, 234, 21, .08)); border-bottom: 1px solid rgba(172, 234, 21, .3); font-size: 13.5px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.asbar > svg.i { color: var(--lime); }
.asbar > span { flex: 1; min-width: 200px; }
.joinmail { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: 14px; margin-bottom: 14px; }
.joinmail svg.i { color: var(--lime); }
.invlink { display: flex; gap: 8px; margin-bottom: 16px; }
.invlink .in { font-size: 13px; color: var(--mute); }
.invlink .btn { flex: none; }
.invsend { display: flex; gap: 8px; flex-wrap: wrap; }
.invsend .btn { flex: 1 1 auto; }
@media (max-width: 900px) { .asbar { top: 58px; } .asbar .btn { width: 100%; } .invlink { flex-direction: column; } }

/* ---------- production (v6) ---------- */
:root { --st-assets: #F3C969; --st-toedit: #7FDDAA; --st-editing: #C9A3FF; --st-ready: #D9F58A; --st-scheduled: #6FD3E8; }
.st-assets { --st: var(--st-assets); } .st-toedit { --st: var(--st-toedit); } .st-editing { --st: var(--st-editing); } .st-ready { --st: var(--st-ready); } .st-scheduled { --st: var(--st-scheduled); }
.btn.sm.on { background: var(--text); color: #0A0B09; box-shadow: none; }
.flag.sm { width: 14px; height: 14px; font-size: 10px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--red); color: #1A0500; }
.cchip.blocked { box-shadow: inset 0 0 0 1px rgba(255, 138, 114, .5); }
.cchip.blocked .flag { background: var(--red); color: #1A0500; }
.blk { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; color: var(--amber); margin-top: 6px; line-height: 1.35; }
.blk svg.i { width: 13px; height: 13px; flex: none; margin-top: 2px; }
.blk.late { color: var(--red); }
.blk.ok { color: var(--mute); }
.arow .tx .blk { margin-top: 4px; }
.arow.static { cursor: default; }
.arow.static:hover { border-color: var(--stroke); background: var(--surface); }
.blockedpanel { border-color: rgba(255, 138, 114, .35); }
.blockedpanel h2 { display: flex; align-items: center; gap: 8px; color: var(--red); }

.pboard { display: grid; grid-template-columns: repeat(7, minmax(200px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.bcol { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 8px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
.bch { display: flex; align-items: center; gap: 8px; padding: 6px 6px 4px; font-size: 13px; }
.bch b { flex: 1; font-weight: 600; }
.bch span { font-size: 12px; color: var(--mute); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; }
.bcard { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); border-left: 3px solid var(--st, var(--dim)); transition: border-color .2s, transform .2s, background .2s; }
.bcard:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.bcard.blocked { border-color: rgba(255, 138, 114, .45); border-left-color: var(--red); }
.bcard.private { border-style: dashed; }
.bcard .bt b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.bcard .bt em { display: block; font-style: normal; font-size: 11.5px; color: var(--lime); font-weight: 600; margin-bottom: 2px; }
.bcard .bm { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--surface-2); color: var(--mute); }
.tag svg.i { width: 11px; height: 11px; }
.tag.pil { color: var(--text); }
.bcard .bm2 { font-size: 11.5px; color: var(--dim); }
.bcard .pill { height: 22px; font-size: 11px; align-self: flex-start; }
.bempty { font-size: 12px; color: var(--dim); padding: 6px; }

.mixpanel { margin-bottom: 16px; }
.mixrow { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr 90px; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--stroke); }
.mixl b { display: block; font-size: 14px; font-weight: 600; }
.mixl small { color: var(--mute); font-size: 12px; }
.mixbar { position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); }
.mixbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--lime); }
.mixbar em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--text); border-radius: 2px; }
.mixv { text-align: right; }
.mixv b { display: block; font-family: var(--head); font-size: 16px; }
.mixv small { font-size: 11.5px; color: var(--mute); }
.mixv small.off { color: var(--amber); }
.fmtmix { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fmtmix .fieldlbl { width: 100%; }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); font-size: 12.5px; }
.fchip small { color: var(--mute); }

.duepanel { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.duepanel .tags { align-items: center; }

dialog#modal.wide { width: min(880px, calc(100vw - 24px)); }
.pcsec { border: 1px solid var(--stroke); border-radius: var(--r-md); padding: 14px; margin-bottom: 18px; background: rgba(0, 0, 0, .18); }
.pchead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pcrow { border-top: 1px solid var(--stroke); padding: 10px 0; }
.pcrow:first-child { border-top: 0; padding-top: 0; }
.pcmain { display: grid; grid-template-columns: minmax(0, 1.4fr) 110px minmax(0, 1.3fr) 140px auto auto; gap: 8px; align-items: center; }
.pcmain .in { padding: 9px 11px; font-size: 13px; }
.req { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--mute); white-space: nowrap; }
.req input { accent-color: var(--lime); }
.pcstate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.pcstate .warnnote { display: inline-flex; gap: 5px; align-items: center; color: var(--amber); font-size: 12.5px; }
.pcstate .warnnote svg.i { width: 13px; height: 13px; }
.pcacts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 2px; }
.pcresp { margin-top: 8px; }
.cpieces { margin: 16px 0 6px; display: flex; flex-direction: column; gap: 6px; }
.cpc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.cpc > span:first-child { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.cpc > span:first-child small { color: var(--mute); font-size: 12px; margin-left: 4px; }
.cpc svg.i { width: 15px; height: 15px; color: var(--mute); }
.etype { border: 1px solid var(--stroke); border-radius: var(--r-md); padding: 14px; margin-bottom: 14px; }
.etpiece { display: grid; grid-template-columns: minmax(0, 1.3fr) 110px minmax(0, 1.3fr) 90px auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.etpiece .in { padding: 9px 11px; font-size: 13px; }
.dd { display: inline-flex; align-items: center; gap: 6px; }
.dd .in { width: 72px; }
.dd small { color: var(--mute); font-size: 12px; }
.pillrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 8px; }

.brandrow { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.btile { width: 120px; height: 120px; flex: none; border-radius: 20px; background: #fff; display: grid; place-items: center; padding: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--stroke-2); }
.btile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.btile.word { background: var(--bg-2); color: var(--bc, var(--lime)); font-family: var(--head); font-weight: 700; font-size: 18px; text-align: center; line-height: 1.1; letter-spacing: -.02em; }
.brandctl { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 12px; }
.colorpick { display: inline-flex; align-items: center; gap: 10px; }
.colorpick input[type=color] { width: 46px; height: 36px; border: 0; padding: 0; background: none; border-radius: 10px; cursor: pointer; }
.colorpick code { font-size: 12.5px; color: var(--mute); }
.corow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--stroke); }
.corow > div { flex: 1; min-width: 0; }
.corow b { display: block; font-size: 14px; }
.corow small { color: var(--mute); font-size: 12.5px; }
.corow.off { opacity: .55; }
.corow .tools { display: flex; gap: 2px; flex-wrap: wrap; }
.cbrand { display: inline-flex; align-items: center; gap: 12px; }
.cbrand .btile { width: 46px; height: 46px; border-radius: 12px; padding: 4px; }
.cbrand .btile.word { width: auto; min-width: 46px; height: 40px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.cbrand .inside { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--mute); }
.cbrand .inside img { width: 92px; }

@media (max-width: 900px) {
  .pboard { grid-template-columns: repeat(7, 78vw); }
  .mixrow { grid-template-columns: 1fr 70px; }
  .mixbar { grid-column: 1 / -1; grid-row: 2; }
  .pcmain { grid-template-columns: 1fr 1fr; }
  .pcmain [data-pf=name] { grid-column: 1 / -1; }
  .etpiece { grid-template-columns: 1fr 1fr; }
  .etpiece [data-xf=name] { grid-column: 1 / -1; }
  .cbrand .inside img { width: 70px; }
  .cbrand .inside { display: none; }
  .cpc { flex-wrap: wrap; }
}

.av.logo-av { background: #fff; object-fit: contain; padding: 2px; }
.show .ph[style] { background: radial-gradient(400px 200px at 80% 0%, color-mix(in srgb, var(--bc) 30%, transparent), transparent 70%), var(--bg-2); }
.show .ph .phlogo { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 34px; }
.show .ph .phlogo img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 18px; padding: 8px; }

/* ---------- client brand v2 ---------- */
.btile { background: #0B0D0A; }
.btile.word { background: var(--bg-2); }
.av.logo-av { background: #0B0D0A; }
.show .ph .phlogo img { background: #0B0D0A; }
body.brand-condensed .page h1, body.brand-condensed .page .duepanel h2, body.brand-condensed .page .sec-h h2 { font-family: 'Oswald', var(--head); text-transform: uppercase; letter-spacing: .005em; font-weight: 600; }
body.brand-condensed .page h1 .serif { font-family: 'Oswald', var(--head); font-style: normal; color: var(--lime); }
.brandcard { margin-bottom: 18px; }
.brandcard .bch2 { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.brandcard .btile { width: 58px; height: 58px; border-radius: 14px; padding: 4px; }
.brandcard .k { font-size: 12px; font-weight: 600; color: var(--lime); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sw { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface-2); font-size: 12.5px; }
.sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--stroke-2); }
.sw small { color: var(--mute); }
.bnotes { margin: 0; color: rgba(243, 245, 239, .82); font-size: 14px; line-height: 1.6; }

/* ---------- strategy module + ideas brief ---------- */
.startgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 6px; }
.startopt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--stroke-2); color: inherit; text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, transform .15s; }
.startopt:hover { border-color: var(--lime); transform: translateY(-1px); }
.startopt svg { width: 22px; height: 22px; color: var(--lime); }
.startopt b { font-size: 15px; }
.startopt span { font-size: 13px; color: var(--mute); }
.rowsblk { margin-bottom: 18px; }
.rowsed { display: grid; gap: 8px; margin-bottom: 8px; }
.rowed { display: flex; gap: 8px; align-items: flex-start; }
.rowed .in { flex: 1 1 0; min-width: 0; }
.rowed .in.sm { flex: 0 0 150px; }
.rowed textarea.in { min-height: 64px; flex: 2 1 0; }
.rowed .iconbtn { flex: 0 0 auto; margin-top: 6px; }
.bsec { padding: 14px; border-radius: 14px; background: var(--surface-2); margin-bottom: 12px; }
.bsech { display: flex; gap: 8px; margin-bottom: 10px; }
.bsech .in { flex: 1; font-weight: 600; }
.briefsec { margin-top: 56px; }
.bgroups { display: grid; gap: 26px; }
.bgroup h3 { font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--mute); margin: 0 0 10px; }
.bitems { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.bitem { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid transparent; }
.bitem.more { border-color: color-mix(in srgb, var(--lime) 55%, transparent); }
.bitem.skip { opacity: .55; }
.bitem h4 { margin: 0; font-size: 15.5px; line-height: 1.35; letter-spacing: 0; font-weight: 650; }
.bitem p { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(243, 245, 239, .78); }
.bitem .bmine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--mute); font-size: 13px; }
.bitem .bmine svg { width: 14px; height: 14px; }
.breact { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.rbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--stroke-2); background: transparent; color: inherit; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.rbtn svg { width: 14px; height: 14px; }
.rbtn:hover { border-color: var(--lime); }
.rbtn.on { background: var(--lime); border-color: var(--lime); color: #0B0D0A; }
.rbtn.on.skip { background: var(--surface-1, #2a2d27); border-color: var(--stroke-2); color: inherit; }
.rbtn.plain { border-color: transparent; color: var(--mute); }
.prefs { margin-top: 26px; }
.prefrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--stroke-2); }
.prefrow:first-of-type { border-top: 0; }
.prefrow div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prefrow small { color: var(--mute); }
.prefrow.done { opacity: .5; }
button.okbar { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
@media (max-width: 720px) {
  .startgrid { grid-template-columns: minmax(0, 1fr); }
  .rowed { flex-wrap: wrap; }
  .rowed .in.sm { flex: 1 1 120px; }
  .rowed .in, .rowed textarea.in { flex: 1 1 100%; }
}
