/* ── a brand's organic calendar (organic.js, migration 093) ─────────────── */
:root {
  --oc-problem: #fde4d8;    --oc-problem-ink: #8f3511;
  --oc-ingredient: #dcf1e2; --oc-ingredient-ink: #1d6236;
  --oc-compare: #e1e8ff;    --oc-compare-ink: #1b3fcc;
  --oc-myth: #efe5fb;       --oc-myth-ink: #5a2c90;
  --oc-habit: #fbf0c4;      --oc-habit-ink: #665400;
}
:root[data-theme='dark'] {
  --oc-problem: #4a2a1d;    --oc-problem-ink: #ffc2a8;
  --oc-ingredient: #1d3a27; --oc-ingredient-ink: #a8e6bb;
  --oc-compare: #22294a;    --oc-compare-ink: #b8c7ff;
  --oc-myth: #352646;       --oc-myth-ink: #dcc6fa;
  --oc-habit: #3d3516;      --oc-habit-ink: #f1df8c;
}

.oc-tag { display: inline-flex; align-self: flex-start; font-size: 10.5px; font-weight: 650; letter-spacing: .01em; padding: 1px 7px;
  border-radius: 999px; line-height: 1.6; white-space: nowrap; }
.oc-p-problem { background: var(--oc-problem); color: var(--oc-problem-ink); }
.oc-p-ingredient { background: var(--oc-ingredient); color: var(--oc-ingredient-ink); }
.oc-p-compare { background: var(--oc-compare); color: var(--oc-compare-ink); }
.oc-p-myth { background: var(--oc-myth); color: var(--oc-myth-ink); }
.oc-p-habit { background: var(--oc-habit); color: var(--oc-habit-ink); }

/* status: who the day waits for */
.oc-st { display: inline-flex; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; line-height: 1.6; white-space: nowrap;
  border: 1px solid var(--border-strong); color: var(--ink-2); background: var(--surface);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.oc-st-me { background: var(--act); color: var(--act-ink); border-color: transparent; }
.oc-st-machine { background: var(--motion); color: var(--motion-ink); border-color: transparent; }
.oc-st.is-posted { background: var(--settled); color: var(--settled-ink); border-color: transparent; }
.oc-st.is-skipped { text-decoration: line-through; color: var(--ink-3); }
.oc-st.is-late { background: var(--crit-soft); color: var(--crit-ink); border-color: transparent; }
.oc-steps { display: inline-flex; gap: 2px; align-items: center; }
.oc-steps i { width: 5px; height: 5px; border-radius: 50%; background: var(--surface-4); }
.oc-steps i.on { background: var(--ink-2); }

.oc-act-n { font-style: normal; color: var(--act-mute); font-weight: 600; }
:root[data-theme='dark'] .oc-act-n { color: var(--act); }
.oc-late-n { font-style: normal; color: var(--crit-ink); font-weight: 600; }
.oc-eyebrow { display: block; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }

/* ── the box on the brand's page: the next seven days ── */
.oc-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.oc-wday { display: flex; flex-direction: column; gap: 6px; padding: 10px; min-height: 118px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); color: inherit; text-decoration: none; transition: border-color .13s ease, transform .13s ease; }
.oc-wday:hover { border-color: var(--ink-3); }
.oc-wday.is-today { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.oc-wday.is-empty { background: var(--surface-2); }
.oc-wdate { font-size: 11.5px; font-weight: 650; color: var(--ink-2); }
.oc-wtopic { flex: 1; font-size: 12.5px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oc-wnone { font-size: 11.5px; color: var(--ink-3); }
.oc-wday .oc-st { align-self: flex-start; }
.oc-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ── the calendar's own page ── */
.oc-sum { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr); gap: 16px 24px; align-items: start; }
.oc-sum-post { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; text-align: start; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); cursor: pointer; }
.oc-sum-post:hover { border-color: var(--ink-3); }
.oc-sum-post b { font-size: 15px; line-height: 1.45; color: var(--ink); font-weight: 650; }
.oc-sum-post.is-empty { flex-direction: row; align-items: center; color: var(--ink-2); font-size: 13px; font-weight: 600; border-style: dashed; }
.oc-sum-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.oc-sum-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.oc-sum-stats b { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.oc-sum-stats span { font-size: 11.5px; color: var(--ink-3); line-height: 1.35; }
.oc-sum-stats .is-act { background: var(--act); border-color: transparent; }
.oc-sum-stats .is-act b, .oc-sum-stats .is-act span { color: var(--act-ink); }
.oc-sum-stats .is-late { background: var(--crit-soft); border-color: transparent; }
.oc-sum-stats .is-late b, .oc-sum-stats .is-late span { color: var(--crit-ink); }
.oc-queue { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; }
.oc-qrow { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; text-align: start; cursor: pointer; }
.oc-qrow:hover { background: var(--wash); }
.oc-qdate { font-size: 12px; font-weight: 600; color: var(--ink-2); width: 92px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.oc-qtopic { flex: 1; min-width: 0; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-gap { grid-column: 1 / -1; }

.oc-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.oc-nav-m, .oc-nav-r { display: flex; align-items: center; gap: 8px; }
.oc-nav-m h3 { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.01em; min-width: 150px; text-align: center; }
.oc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; font-size: 12px; color: var(--ink-3); }
.oc-legend > span { display: inline-flex; align-items: center; gap: 6px; cursor: help; }

.oc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.oc-dow { font-size: 11px; font-weight: 650; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; padding: 0 4px 2px; }
.oc-day { position: relative; display: flex; flex-direction: column; gap: 5px; min-height: 128px; padding: 8px; text-align: start;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; overflow: hidden;
  transition: border-color .13s ease, background .13s ease; }
.oc-day:hover { border-color: var(--ink-3); }
.oc-day.has-post::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; }
.oc-pb-problem::before { background: var(--oc-problem-ink); }
.oc-pb-ingredient::before { background: var(--oc-ingredient-ink); }
.oc-pb-compare::before { background: var(--oc-compare-ink); }
.oc-pb-myth::before { background: var(--oc-myth-ink); }
.oc-pb-habit::before { background: var(--oc-habit-ink); }
.oc-day.is-out { opacity: .45; }
.oc-day.is-past.is-empty { background: var(--surface-2); cursor: default; }
.oc-day.is-today { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.oc-day.is-act { background: color-mix(in srgb, var(--act) 6%, var(--surface)); }
.oc-day.is-late { border-color: var(--crit); }
.oc-dwk { display: none; }
.oc-dnum { font-size: 12px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.oc-day.is-today .oc-dnum { display: inline-flex; align-self: flex-start; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); }
.oc-dtopic { flex: 1; font-size: 12px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oc-dfoot { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.oc-dadd { margin: auto; color: var(--ink-3); opacity: 0; transition: opacity .13s ease; }
.oc-day:hover .oc-dadd, .oc-day:focus-visible .oc-dadd { opacity: 1; }
.oc-day.is-drag { opacity: .4; }
.oc-day.is-drop { border-color: var(--commit); box-shadow: inset 0 0 0 2px var(--commit); }
.oc-drag-hint { margin-top: 10px; }

.oc-list { display: flex; flex-direction: column; }
.oc-lrow { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1px solid var(--border); text-align: start; cursor: pointer; }
.oc-lrow:first-child { border-top: 0; }
.oc-lrow:hover { background: var(--wash); }
.oc-lrow.is-today .oc-ldate { color: var(--ink); }
.oc-lrow.is-late .oc-ldate { color: var(--crit-ink); }
.oc-ldate { width: 92px; flex-shrink: 0; font-size: 12px; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.oc-lmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oc-lmain b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.oc-lmain span { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-lend { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }

/* ── one day (the modal) ── */
.oc-flow { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 4px 0 16px; padding: 0; counter-reset: oc; }
.oc-flow li { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--ink-3); }
.oc-flow li.done { background: var(--surface-4); color: var(--ink-2); }
.oc-flow li.cur { background: var(--ink); color: var(--on-ink); }
.oc-ar { font-family: 'IBM Plex Sans Arabic', var(--font); font-size: 15px; line-height: 1.85; }
.oc-script { min-height: 220px; }
.oc-count { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.modal .field:has(.oc-count) { display: flex; align-items: baseline; }
.oc-seg { flex-wrap: wrap; }
.oc-more { margin: 2px 0 14px; border: 1px solid var(--border); border-radius: 12px; padding: 0 12px; }
.oc-more > summary { padding: 10px 0; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.oc-more[open] > summary { margin-bottom: 4px; }
.oc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oc-video { display: block; width: min(280px, 100%); aspect-ratio: 9 / 16; margin: 0 auto 16px; border-radius: 14px; background: #000; }
.oc-audio { width: 100%; margin-bottom: 14px; }
.oc-posted { font-size: 13px; margin-bottom: 14px; color: var(--ink-2); }
.oc-posted a { color: var(--link); font-weight: 600; }
.modal-actions .oc-del { margin-right: auto; }

@media (max-width: 1100px) {
  .oc-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .oc-sum { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .oc-week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .oc-wday { flex: 0 0 64%; scroll-snap-align: start; }
  .oc-sum-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* a month grid is too narrow on a phone: each week becomes a list of its days */
  .oc-grid { grid-template-columns: 1fr; gap: 6px; }
  .oc-dow, .oc-day.is-out, .oc-day.is-past.is-empty { display: none; }
  .oc-day { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 10px 10px 14px; }
  .oc-dwk { display: inline; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-right: 8px; }
  .oc-dtopic { flex: 1 1 100%; order: 3; -webkit-line-clamp: 2; }
  .oc-dfoot { order: 4; flex-direction: row; align-items: center; gap: 8px; }
  .oc-dadd { margin: 0 0 0 auto; opacity: 1; }
  .oc-drag-hint { display: none; }
  .oc-lrow { flex-wrap: wrap; }
  .oc-lend { flex-direction: row; width: 100%; justify-content: flex-start; padding-left: 104px; }
  .oc-form-row { grid-template-columns: 1fr; }
  .oc-nav-m h3 { min-width: 0; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .oc-wday, .oc-day, .oc-dadd { transition: none; }
}
#ocf-pillar-l, #ocf-plat-l { display: block; margin-bottom: 6px; }

/* ── the content machine (099): its bar, progress on the days, its box in a day, what was posted ── */
.oc-mach { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; position: relative; overflow: hidden; }
.oc-mach-l, .oc-mach-r { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.oc-mach-l b { font-size: 14px; color: var(--ink); }
.oc-mach-r span { white-space: nowrap; }
.oc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-4); flex-shrink: 0; }
.oc-dot.on { background: #4E9A2A; box-shadow: 0 0 0 4px rgba(78,154,42,.18); }
.oc-mach-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.oc-mach-bar i { display: block; height: 100%; background: var(--motion); margin-left: auto; transition: width .3s ease; }
.oc-prog { display: block; width: 100%; height: 5px; border-radius: 5px; background: var(--surface-4); overflow: hidden; }
.oc-prog i { display: block; height: 100%; background: var(--motion-ink, #3d2c66); border-radius: inherit; margin-left: auto; }
.oc-mbox { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; margin: 0 0 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; }
.oc-mbox b { font-size: 14px; color: var(--ink); }
.oc-mbox.is-err { background: var(--crit-soft); border-color: transparent; color: var(--crit-ink); }
.oc-mbox.is-err b { color: var(--crit-ink); }
.oc-mbar { display: block; height: 8px; border-radius: 8px; background: var(--surface-4); overflow: hidden; }
.oc-mbar i { display: block; height: 100%; background: var(--motion); border-radius: inherit; margin-left: auto; }
.oc-pubst { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 14px; font-size: 13px; }
.oc-pubst .ok { color: var(--ink); } .oc-pubst .bad { color: var(--crit-ink); }
.oc-pubst a { color: var(--link); font-weight: 600; }

/* the brand characters (102): the box on the calendar, and one character's modal */
.oc-chars { display: flex; flex-direction: column; gap: 12px; }
.oc-chars-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.oc-chars-h b { font-size: 14px; color: var(--ink); }
.oc-chars-row { display: flex; flex-wrap: wrap; gap: 12px; }
.oc-char { display: flex; align-items: center; gap: 12px; min-width: 230px; padding: 8px 16px 8px 8px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface-2); text-align: start; cursor: pointer; font: inherit; color: inherit; }
.oc-char:hover { border-color: var(--ink-3); }
.oc-char.is-off { opacity: .55; }
.oc-char-pic { flex: none; width: 54px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.oc-char-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-char-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oc-char-txt b { font-size: 14px; color: var(--ink); }
.oc-char-txt span { align-self: flex-start; font-size: 15px; font-weight: 650; color: var(--ink-2); }
.oc-char-txt em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.oc-char-ar { font-weight: 650; color: var(--ink-2); }
.oc-charm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: start; }
.oc-charm-media { display: flex; gap: 10px; }
.oc-charm-media figure { flex: 1; min-width: 0; max-width: 220px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.oc-charm-media img, .oc-charm-media video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--surface-3); }
.oc-charm-media figcaption { font-size: 11.5px; color: var(--ink-3); }
.oc-charm-form { display: flex; flex-direction: column; gap: 10px; }
.oc-faces { margin-top: 18px; }
.oc-faces-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.oc-face { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.oc-face img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: var(--surface-3); }
@media (max-width: 760px) {
  .oc-charm { grid-template-columns: 1fr; }
  .oc-char { flex: 1 1 100%; min-width: 0; }
}

/* several voices per character, and one video per voice to choose from (103) */
.oc-voices { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.oc-vrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .9fr) auto; gap: 8px; align-items: center; }
.oc-vadd { align-self: flex-start; }
.oc-takes { margin: 0 0 16px; }
.oc-takes-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.oc-take { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.oc-take video { display: block; width: 100%; max-height: 460px; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 12px; background: #000; }
.oc-take b { font-size: 14px; color: var(--ink); }
@media (max-width: 760px) {
  .oc-vrow { grid-template-columns: minmax(0, 1fr) auto; }
  .oc-vrow [data-vid] { grid-column: 1 / 2; grid-row: 2; }
  .oc-vrow [data-vspeed] { grid-column: 1 / 2; grid-row: 3; }
}

/* a script without its engagement line */
.oc-warn { color: var(--crit-ink); font-weight: 650; }

/* today's video (ELYOX, 2026-10-16): progress, who presents it, the script line by line */
.oc-sum.no-today { grid-template-columns: 1fr; }
.oc-today { display: flex; flex-direction: column; gap: 12px; }
.oc-today.is-empty { gap: 8px; }
.oc-today-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.oc-today-head h3 { margin: 2px 0 0; font-size: 21px; line-height: 1.5; font-weight: 750; color: var(--ink); text-align: start; }
.oc-today-flow { margin: 0; }
.oc-today-bar { margin: 0; }
.oc-today-next { margin: 0; font-size: 13px; color: var(--ink-2); }
.oc-today-next.is-err { color: var(--crit-ink); font-weight: 600; }
.oc-today-body { display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr); gap: 20px; align-items: start; }
.oc-today-media video, .oc-today-ph { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: var(--surface-3); object-fit: contain; }
.oc-today-media video { background: #000; }
.oc-today-ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; text-align: center;
  font-size: 12.5px; line-height: 1.45; color: var(--ink-3); border: 1px dashed var(--border); overflow: hidden; }
.oc-today-ph.has-pic { padding: 0; justify-content: flex-end; border: 0; }
.oc-today-ph.has-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oc-today-ph.has-pic span { position: relative; margin: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.92); color: #3B1D0E; font-weight: 600; }
.oc-today-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); }
.oc-today-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.oc-today-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--ink-2); }
.oc-today-who { display: inline-flex; align-items: center; gap: 8px; }
.oc-today-who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.oc-today-who > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.oc-today-who b { font-size: 13.5px; color: var(--ink); }
.oc-today-who em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.oc-today-who.is-style .oc-today-ic { width: 34px; height: 34px; border-radius: 10px; }
.oc-today-v { white-space: nowrap; }
.oc-today-f > span { display: block; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.oc-today-f > p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.oc-today-cap { white-space: pre-line; }
.oc-today-script { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.oc-today-script li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 9px 12px; background: var(--surface-2); }
.oc-today-script li + li { border-top: 1px solid var(--border); }
.oc-today-script .oc-ts { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.oc-today-script p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink); text-align: right; }
.oc-today-script p b { color: #4E9A2A; font-weight: 750; }
.oc-today-script em { font-style: normal; font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.oc-today-script li.k-hook em { background: #FFF3C4; color: #6B4E00; }
.oc-today-script li.k-cta { background: rgba(78,154,42,.10); }
.oc-today-script li.k-cta em { background: #4E9A2A; color: #fff; }
.oc-today-script li.k-brand p { color: var(--ink-2); font-weight: 650; }
.oc-today-act { display: flex; gap: 8px; }
@media (max-width: 760px) {
  .oc-today-body { grid-template-columns: 1fr; }
  .oc-today-media { max-width: 260px; }
  .oc-today-head { flex-direction: column; }
  .oc-today-script li { grid-template-columns: 38px minmax(0, 1fr); }
  .oc-today-script li em { grid-column: 2; justify-self: end; }
}

/* a character's moments (105), and the brand's content machine on its page */
.oc-face video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: var(--surface-3); }
.oc-brandm { display: flex; flex-direction: column; gap: 10px; }
.oc-brandm p { margin: 0; }

/* 106 · the face that presents a character's video: his faces, one to tap */
.oc-faces { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-facepick { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; padding: 8px 6px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--ink-2); font-size: 11.5px; line-height: 1.3; text-align: center; cursor: pointer; }
.oc-facepick img, .oc-facepick i { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.oc-facepick i { display: grid; place-items: center; font-style: normal; font-weight: 600; }
.oc-facepick:hover { color: var(--ink); border-color: var(--border-strong); }
.oc-facepick.on { color: var(--ink); font-weight: 600; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.oc-facepick.on img { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the film style's storyboard (123): the characters, then every shot with its line and a remark box */
.oc-board { margin: 14px 0; padding: 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; background: var(--card, #fff); }
.oc-board-h { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-bottom: 10px; }
.oc-board-cast { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.oc-board-c { flex: 0 0 120px; margin: 0; }
.oc-board-c img, .oc-board-s img, .oc-board-noimg { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #e5e7eb; }
.oc-board-c figcaption { display: flex; flex-direction: column; font-size: 12px; margin-top: 4px; }
.oc-board-c figcaption span { opacity: .65; }
.oc-board-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.oc-board-s { display: flex; flex-direction: column; gap: 6px; }
.oc-board-t { font-size: 12.5px; line-height: 1.45; }
.oc-board-t p { margin: 2px 0 0; }
.oc-board-k { font-weight: 600; opacity: .7; }
.oc-board-act { opacity: .7; }
.oc-board-rm { font-size: 12.5px; min-height: 0; }
.oc-board-was { font-size: 12px; opacity: .8; }
.oc-board-go { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 14px; }

/* film series (124): the cast, the episodes */
.oc-series .oc-chars-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.oc-series .oc-chars-h .btn { margin-inline-start: auto; }
.oc-ser { border-top: 1px solid var(--line, #e5e7eb); padding-top: 12px; margin-top: 12px; }
.oc-ser-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.oc-ser-h .btn { margin-inline-start: auto; }
.oc-ser-cast { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0; }
.oc-ser-c { flex: 0 0 74px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; text-align: center; }
.oc-ser-c img, .oc-ser-c i { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #e5e7eb; display: block; }
.oc-ser-eps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.oc-ser-eps li { display: flex; align-items: center; gap: 10px; }
.oc-ser-n { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--tint, #eef2e6); }
.oc-ser-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.oc-ser-t em { opacity: .7; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── AGENT FORGE (133): its pillars, the formats (long-form / Short), the list week by week ── */
.oc-p-explain { background: var(--oc-compare); color: var(--oc-compare-ink); }
.oc-p-tools { background: var(--oc-ingredient); color: var(--oc-ingredient-ink); }
.oc-p-build { background: var(--oc-habit); color: var(--oc-habit-ink); }
.oc-p-reality { background: var(--oc-myth); color: var(--oc-myth-ink); }
.oc-p-investigate { background: var(--oc-problem); color: var(--oc-problem-ink); }
.oc-pb-explain::before { background: var(--oc-compare-ink); }
.oc-pb-tools::before { background: var(--oc-ingredient-ink); }
.oc-pb-build::before { background: var(--oc-habit-ink); }
.oc-pb-reality::before { background: var(--oc-myth-ink); }
.oc-pb-investigate::before { background: var(--oc-problem-ink); }
.oc-fmt { display: inline-flex; align-self: flex-start; font-size: 10.5px; font-weight: 650; padding: 1px 7px; border-radius: 999px; line-height: 1.6;
  white-space: nowrap; border: 1px solid var(--border-strong); color: var(--ink-2); background: var(--surface); }
.oc-fmt-long { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.oc-fmt.is-trend { border-style: dashed; }
.oc-day.is-long { background: var(--surface-2); }
.oc-day.is-dim { opacity: .35; }
.oc-lweek { display: flex; flex-direction: column; padding-top: 14px; }
.oc-lweek:first-child { padding-top: 0; }
.oc-lweek .oc-lrow:first-of-type { border-top: 0; }
.oc-lrow.is-long { background: var(--surface-2); border-radius: 10px; }
.oc-lrow.is-long .oc-lmain b { font-size: 14.5px; }
.oc-lmain .oc-lkw, .oc-lmain .oc-lfrom { font-size: 12px; }
.oc-fmt-sum { grid-column: 1 / -1; }

/* 136 · AGENT FORGE: a day holds a long-form and its Shorts — one card per post */
.oc-mday { display: flex; flex-direction: column; gap: 5px; min-height: 128px; min-width: 0; padding: 6px; border: 1px solid var(--border);
  border-radius: 12px; background: var(--surface); }
.oc-mday.is-out { opacity: .45; }
.oc-mday.is-past { background: var(--surface-2); }
.oc-mday.is-today { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.oc-mday.is-today .oc-dnum { display: inline-flex; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); }
.oc-mhead { display: flex; align-items: center; gap: 6px; padding: 0 2px; }
.oc-mcount { margin-left: auto; font-size: 10.5px; font-weight: 650; color: var(--ink-3); white-space: nowrap; }
.oc-chip { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding: 6px 7px 7px 10px;
  text-align: start; font: inherit; color: inherit; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); cursor: pointer; overflow: hidden;
  transition: border-color .13s ease; }
.oc-chip::before, .oc-tm-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; }
.oc-chip:hover { border-color: var(--ink-3); }
.oc-chip-long { background: var(--surface-2); border-color: var(--border-strong); }
.oc-chip.is-act, .oc-tm-card.is-act { background: color-mix(in srgb, var(--act) 7%, var(--surface)); }
.oc-chip.is-late { border-color: var(--crit); }
.oc-chip.is-aside { opacity: .5; }
.oc-chip-top { display: flex; flex-wrap: wrap; gap: 4px; }
.oc-chip-t { font-size: 11.5px; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc-chip-long .oc-chip-t { font-weight: 650; -webkit-line-clamp: 3; }
.oc-chip-pk { font-size: 10px; font-weight: 650; line-height: 1.6; padding: 0 6px; border-radius: 999px; background: var(--act); color: var(--act-ink); white-space: nowrap; }
.oc-chip .oc-st { font-size: 10.5px; }
.oc-madd { display: inline-flex; align-items: center; gap: 3px; margin-top: auto; align-self: flex-start; font: inherit; font-size: 11px; color: var(--ink-3);
  background: none; border: 1px dashed var(--border); border-radius: 8px; padding: 2px 8px; cursor: pointer; opacity: 0; transition: opacity .13s ease; }
.oc-mday:hover .oc-madd, .oc-madd:focus-visible, .oc-mday.is-empty .oc-madd { opacity: 1; }
.oc-tm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.oc-tm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.oc-tm-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px 12px 12px 15px; text-align: start;
  font: inherit; color: inherit; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; overflow: hidden; }
.oc-tm-card:hover { border-color: var(--ink-3); }
.oc-tm-card.is-long { grid-column: span 2; background: var(--surface-2); }
.oc-tm-card b { font-size: 14px; line-height: 1.35; color: var(--ink); }
.oc-tm-card.is-long b { font-size: 16.5px; }
.oc-tm-top { display: flex; flex-wrap: wrap; gap: 6px; }
.oc-tm-next { font-size: 12.5px; color: var(--ink-2); }
.oc-tm-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; }
@media (max-width: 760px) {
  .oc-mday.is-out, .oc-mday.is-past.is-empty { display: none; }
  .oc-mday { min-height: 0; }
  .oc-mday .oc-dwk { display: inline; }
  .oc-madd { opacity: 1; }
  .oc-tm-cards { grid-template-columns: 1fr; }
  .oc-tm-card.is-long { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .oc-chip, .oc-madd { transition: none; } }
