/* Desk Flow studio — screens inside the real NF shell (nf/nf-admin.css). White paper on a warm white page, charcoal ink,
   soft Minimal shadows instead of borders, the original charcoal sidebar. Red marks live and the playhead only. */
html {
  --df-page: #fbfbfa; --df-card: #fff; --df-neutral: #f4f6f8; --df-ink: #1c252e; --df-ink-2: #637381; --df-ink-3: #919eab; --df-inv: #0b0b0c;
  --df-line: rgb(145 158 171 / 20%); --df-input: rgb(145 158 171 / 28%); --df-hover: rgb(145 158 171 / 8%); --df-sel: rgb(145 158 171 / 16%);
  --df-live: #e71932; --df-ok: #118d57; --df-ok-bg: rgb(34 197 94 / 16%); --df-err: #b71d18;
  --df-shadow: 0 0 2px 0 rgb(145 158 171 / 20%), 0 12px 24px -4px rgb(145 158 171 / 12%);
  --df-shadow-hi: 0 0 2px 0 rgb(145 158 171 / 24%), 0 20px 40px -4px rgb(145 158 171 / 24%);
  --df-drop: 0 0 2px 0 rgb(145 158 171 / 24%), -20px 20px 40px -4px rgb(145 158 171 / 24%);
  --df-r: 8px; --df-ease: cubic-bezier(.4, 0, .2, 1);
  background: var(--df-page); color-scheme: light;
}
@media (min-width: 1200px) { html[data-ui="v3"][data-ui], html[data-ui="v3"][data-navopen] { --nw: 208px; } }
body { margin: 0; background: var(--df-page); font-family: var(--gt-font-body, "Assistant", system-ui, sans-serif); }
html[data-ui="v3"] .v3 .main { background: var(--df-page); }
* { box-sizing: border-box; }
.df-view { padding: 0 var(--gt-page-px, 24px) 40px; display: flex; flex-direction: column; gap: 24px; }
.df-view[hidden] { display: none; }
.df-card { background: var(--df-card); border-radius: 16px; box-shadow: var(--df-shadow); }
.df-grow { flex: 1; }
.df-view svg, .df-drw svg, .df-pop svg { stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.df-view > .gt-ph { padding-block: 24px 0; }
.df-view > .gt-ph h1 { color: var(--df-ink); margin-block: 6px 4px; }

/* atoms */
.df-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--df-sel); color: var(--df-ink-2); }
.df-chip.live { background: var(--df-live); color: #fff; }
.df-chip.ok { background: var(--df-ok-bg); color: var(--df-ok); }
.df-chip.dark { background: rgb(0 0 0 / 60%); color: #fff; }
.df-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--df-sel); color: var(--df-ink-2); }
.df-hint { font-size: 13px; color: var(--df-ink-2); line-height: 1.5; }
.df-fl { display: block; font-size: 12px; font-weight: 600; color: var(--df-ink-2); margin-bottom: 6px; }
kbd { font: 700 11px/18px inherit; font-family: inherit; padding: 0 5px; border-radius: 4px; background: var(--df-sel); color: var(--df-ink); }
.df-btn { height: 36px; padding: 0 12px; border-radius: var(--df-r); border: 0; background: var(--df-sel); color: var(--df-ink); font: 700 14px/1 inherit; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s var(--df-ease), box-shadow .2s; }
.df-btn svg { width: 18px; height: 18px; }
.df-btn:hover { background: rgb(145 158 171 / 24%); }
.df-pri { background: var(--df-inv); color: #fff; }
@media (hover: hover) { .df-pri:hover { background: #454f5b; box-shadow: 0 8px 16px 0 rgb(0 0 0 / 16%); } }
.df-out { background: transparent; box-shadow: inset 0 0 0 1px var(--df-input); }
.df-out:hover { background: var(--df-hover); box-shadow: inset 0 0 0 1px var(--df-ink); }
.df-txt { background: none; }
.df-txt:hover { background: var(--df-hover); }
.df-err { color: var(--df-err); }
.df-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.df-ib2 { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--df-ink-2); display: grid; place-items: center; cursor: pointer; }
.df-ib2:hover { background: var(--df-hover); color: var(--df-ink); }
.df-ib2 svg { width: 20px; height: 20px; }
.df-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--df-neutral); }
.df-seg button { height: 32px; min-width: 40px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--df-ink-2); font: 600 13px inherit; font-family: inherit; cursor: pointer; display: grid; place-items: center; }
.df-seg button svg { width: 18px; height: 18px; }
.df-seg button[aria-pressed="true"] { background: var(--df-card); color: var(--df-ink); font-weight: 700; box-shadow: 0 1px 2px 0 rgb(145 158 171 / 24%); }
.df-fld { position: relative; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--df-input); border-radius: var(--df-r); background: var(--df-card); color: var(--df-ink); font: 15px inherit; font-family: inherit; white-space: nowrap; cursor: pointer; min-width: 0; width: 100%; }
.df-fld:hover, .df-fld:focus-within { border-color: var(--df-ink); }
.df-fld > svg { width: 20px; height: 20px; color: var(--df-ink-2); flex: none; }
.df-fld .cv { margin-inline-start: auto; }
.df-fld select, .df-fld input { border: 0; outline: 0; background: none; color: inherit; font: inherit; min-width: 0; flex: 1; height: 100%; cursor: pointer; font-variant-numeric: tabular-nums; }
.df-fld-sm { height: 40px; font-size: 14px; width: auto; }
.df-fld-w { position: relative; display: block; }
.df-chk { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--df-ink); cursor: pointer; }
.df-chk input { width: 18px; height: 18px; accent-color: var(--df-inv); }
:focus-visible { outline: 2px solid var(--df-ink); outline-offset: 2px; }

/* the broadcast */
.ll-lv { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; padding: 20px; }
.ll-player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0b0f14 center / cover no-repeat; }
.ll-air { position: absolute; top: 12px; inset-inline-end: 12px; background: rgb(0 0 0 / 60%); color: #fff; }
.ll-air.live { background: var(--df-live); }
.ll-air.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.ll-tc { position: absolute; top: 12px; inset-inline-start: 12px; background: rgb(0 0 0 / 60%); color: #fff; height: 28px; padding: 0 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.ll-ctl { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 4px; padding: 8px; background: linear-gradient(to top, rgb(0 0 0 / 72%), transparent); color: #fff; }
.ll-cb { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.ll-cb:hover { background: rgb(255 255 255 / 14%); }
.ll-cb svg { width: 20px; height: 20px; }
#llPlay svg path { fill: currentColor; stroke: none; }
.ll-gl { margin-inline-start: auto; border: 0; background: none; color: #fff; font: 700 12px inherit; font-family: inherit; opacity: .9; cursor: pointer; padding: 8px; border-radius: 6px; }
.ll-gl:hover { background: rgb(255 255 255 / 14%); }
.ll-tl { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ll-tlh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ll-ch { font-size: 18px; color: var(--df-ink); }
.ll-prog { font-size: 14px; color: var(--df-ink-2); }
.ll-strip { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; height: 112px; border-radius: 10px; overflow: hidden; background: var(--df-neutral); }
.ll-slot { position: relative; border: 0; padding: 0; background: #d8dde3 center / cover no-repeat; cursor: pointer; min-width: 0; }
.ll-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 55%), transparent 55%); }
.ll-slot .t { position: absolute; inset-inline-start: 8px; bottom: 6px; z-index: 1; color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ll-slot .fl { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 1; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 3px; background: rgb(255 255 255 / 92%); color: var(--df-ink); font-size: 11px; font-weight: 800; }
.ll-slot .fl svg { width: 14px; height: 14px; }
.ll-slot .fl.on { background: var(--df-inv); color: #fff; }
.ll-slot[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--df-inv); }
.ll-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--df-live); pointer-events: none; z-index: 2; }
.ll-now::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--df-live); }
.ll-tlf { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ll-say { font-size: 15px; line-height: 1.6; color: var(--df-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ll-say .now { color: var(--df-ink); font-weight: 600; }

/* items box */
.ll-tabs { display: flex; gap: 40px; padding: 0 24px; border-bottom: 1px solid var(--df-line); overflow-x: auto; scrollbar-width: none; }
.ll-tabs button { height: 48px; border: 0; background: none; color: var(--df-ink-2); font: 500 14px inherit; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; padding: 0; box-shadow: inset 0 -2px 0 transparent; }
.ll-tabs button[aria-selected="true"] { color: var(--df-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--df-ink); }
.ll-tabs button[aria-selected="true"] .df-count { background: var(--df-inv); color: #fff; }
.ll-fr { display: flex; align-items: flex-end; gap: 12px; padding: 20px 24px 0; flex-wrap: wrap; }
.ll-fr .df-fld-w { min-width: 150px; }
.ll-fr .ll-q { flex: 1; min-width: 220px; }
.ll-fr2 { display: flex; align-items: flex-end; gap: 16px; padding: 16px 24px 20px; flex-wrap: wrap; }
.ll-exr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ll-exr input { flex: none; width: 84px; text-align: center; }
.ll-exr .ar { color: var(--df-ink-3); }
.ll-res { display: flex; align-items: center; gap: 8px; padding: 16px 24px; flex-wrap: wrap; border-top: 1px dashed var(--df-line); border-bottom: 1px dashed var(--df-line); min-height: 64px; }
.ll-n { font-size: 15px; color: var(--df-ink); }
.ll-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ll-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 10px; border-radius: 10px; font-size: 13px; font-weight: 500; background: var(--df-sel); color: var(--df-ink); }
.ll-chip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.ll-chip button { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--df-ink-3); color: #fff; font-size: 10px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.ll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; padding: 20px 24px; }
.ll-sec { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--df-ink-2); padding-top: 4px; }
.ll-it { display: flex; flex-direction: column; border-radius: 12px; background: var(--df-card); box-shadow: var(--df-shadow); overflow: hidden; transition: box-shadow .2s var(--df-ease), transform .2s var(--df-ease); cursor: pointer; }
.ll-it:hover { box-shadow: var(--df-shadow-hi); transform: translateY(-2px); }
.ll-it.new { box-shadow: 0 0 0 2px var(--df-inv), var(--df-shadow); }
.ll-th { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #2b3642, #10151b 70%) center / cover no-repeat; }
.ll-th .r { position: absolute; inset-inline-start: 8px; bottom: 8px; }
.ll-th .d { position: absolute; inset-inline-end: 8px; bottom: 8px; }
.ll-th .m { position: absolute; top: 8px; inset-inline-end: 8px; }
.ll-tx { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ll-t { font-size: 14px; line-height: 22px; color: var(--df-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.ll-t mark { background: var(--df-sel); color: var(--df-ink); font-weight: 700; border-radius: 3px; }
.ll-m { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 12px; color: var(--df-ink-2); flex-wrap: wrap; }
.ll-m .df-btn { margin-inline-start: auto; height: 30px; padding: 0 10px; font-size: 13px; }
.ll-grid.list { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 8px; }
.ll-grid.list .ll-sec { padding: 16px 0 8px; }
.ll-grid.list .ll-it { flex-direction: row; align-items: center; box-shadow: none; border-radius: 0; border-bottom: 1px dashed var(--df-line); padding: 10px 0; gap: 16px; }
.ll-grid.list .ll-it:hover { transform: none; background: var(--df-hover); }
.ll-grid.list .ll-th { width: 128px; flex: none; border-radius: 8px; }
.ll-grid.list .ll-th .df-chip:not(.r) { display: none; }
.ll-grid.list .ll-tx { flex-direction: row; align-items: center; padding: 0; }
.ll-grid.list .ll-t { min-height: 0; -webkit-line-clamp: 1; flex: 1; }
.ll-grid.list .ll-m { margin: 0; }
.ll-empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--df-ink-2); }
.ll-pg { display: flex; align-items: center; gap: 12px; padding: 0 24px 20px; }
.ll-pgb { display: flex; gap: 4px; }
.ll-pgb button { min-width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--df-ink); font: 600 14px inherit; font-family: inherit; cursor: pointer; display: grid; place-items: center; }
.ll-pgb button svg { width: 18px; height: 18px; }
.ll-pgb button[aria-current="true"] { background: var(--df-inv); color: #fff; }
.ll-pgb button:disabled { color: var(--df-ink-3); cursor: default; }

/* date popover */
.df-pop { position: absolute; z-index: 40; top: calc(100% + 8px); inset-inline-start: 0; background: var(--df-card); border-radius: 12px; box-shadow: var(--df-drop); display: flex; }
.df-pop[hidden] { display: none; }
.cal-pre { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-inline-end: 1px solid var(--df-line); min-width: 150px; }
.cal-pre button { height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--df-ink); font: 500 14px inherit; font-family: inherit; text-align: start; cursor: pointer; white-space: nowrap; }
.cal-pre button:hover { background: var(--df-hover); }
.cal-pre button[aria-pressed="true"] { background: var(--df-sel); font-weight: 700; }
.cal-m { padding: 16px 20px; width: 320px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-h b { font-size: 15px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-g .w { font-size: 12px; color: var(--df-ink-3); padding: 6px 0; }
.cal-g button { height: 38px; border: 0; border-radius: 50%; background: none; color: var(--df-ink); font: 500 14px inherit; font-family: inherit; cursor: pointer; position: relative; }
.cal-g button:hover:not(:disabled) { background: var(--df-hover); }
.cal-g button:disabled { color: var(--df-ink-3); opacity: .5; cursor: default; }
.cal-g button.rec::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--df-ink); }
.cal-g button.in { background: var(--df-sel); border-radius: 6px; }
.cal-g button.on { background: var(--df-inv); color: #fff; }
.cal-g button.on::after { background: #fff; }
.cal-f { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--df-line); margin-top: 12px; padding-top: 12px; }

/* filters drawer */
.df-scrim { position: fixed; inset: 0; z-index: 2000; background: rgb(28 37 46 / 48%); }
.df-scrim[hidden], .df-drw[hidden] { display: none; }
.df-drw { position: fixed; z-index: 2001; top: 0; bottom: 0; inset-inline-end: 0; width: min(320px, 100vw); background: var(--df-card); box-shadow: var(--df-drop); display: flex; flex-direction: column; animation: drw .25s var(--df-ease); }
@keyframes drw { from { transform: translateX(24px); opacity: 0; } }
.df-drw header { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 16px 20px; border-bottom: 1px solid var(--df-line); }
.df-drw header b { font-size: 18px; }
.drw-b { flex: 1; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 28px; }
.drw-b h4 { margin: 0 0 12px; font-size: 14px; color: var(--df-ink); }
.ll-wd { display: flex; gap: 6px; flex-wrap: wrap; }
.ll-wd button { width: 40px; height: 36px; border: 0; border-radius: 8px; background: var(--df-neutral); color: var(--df-ink-2); font: 700 13px inherit; font-family: inherit; cursor: pointer; }
.ll-wd button[aria-pressed="true"] { background: var(--df-inv); color: #fff; }
.ll-hr { position: relative; height: 56px; }
.ll-hr input[type="range"] { position: absolute; left: 0; right: 0; top: 4px; width: 100%; margin: 0; pointer-events: none; appearance: none; background: none; }
.ll-hr input[type="range"]::-webkit-slider-thumb { pointer-events: auto; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--df-inv); cursor: pointer; }
.ll-hr input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--df-inv); cursor: pointer; }
.ll-hr::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 6px; border-radius: 3px; background: var(--df-neutral); }
.ll-hrl { position: absolute; left: 0; right: 0; top: 34px; display: flex; justify-content: space-between; font-size: 12px; color: var(--df-ink-2); font-variant-numeric: tabular-nums; }
.ll-hrl b { color: var(--df-ink); }
.ll-sv { display: flex; flex-direction: column; gap: 8px; }
.ll-sv button { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 10px; background: var(--df-neutral); color: var(--df-ink); font: 500 14px inherit; font-family: inherit; text-align: start; cursor: pointer; }
.ll-sv button:hover { background: var(--df-sel); }
.df-drw footer { display: flex; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--df-line); }
.df-drw footer .df-btn { flex: 1; }

.df-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; transition: .2s; background: var(--df-inv); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; z-index: 3000; pointer-events: none; }
.df-toast.on { opacity: 1; transform: translate(-50%, 0); }
.ia-it[aria-disabled="true"] { opacity: .42; cursor: default; }
.ia-it[aria-disabled="true"]:hover { background: none !important; }

@media (max-width: 1199px) { .ll-lv { grid-template-columns: 340px minmax(0, 1fr); } }
@media (max-width: 860px) { .ll-lv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { html[data-ui="v3"][data-phonenav="1"] .v3 .side.ia { transform: none; visibility: visible; inset-block: 0; } }
@media (max-width: 600px) {
  .df-view { padding-inline: 12px; gap: 16px; }
  .ll-lv { padding: 12px; gap: 14px; }
  .ll-strip { height: 84px; }
  .ll-tlf .df-hint { display: none; }
  .ll-tlf .df-btn { flex: 1; }
  .ll-tabs { gap: 24px; padding: 0 16px; }
  .ll-fr, .ll-fr2 { padding-inline: 16px; }
  .ll-fr .df-fld-w { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .ll-fr .ll-q { flex-basis: 100%; order: -1; }
  .ll-fbtn { flex: 1 1 100%; }
  .ll-res, .ll-grid { padding-inline: 16px; }
  .ll-pg { padding-inline: 16px; }
  .ll-grid.list .ll-th { width: 96px; }
  .ll-grid.list .ll-m .df-btn { display: none; }
  .df-pop { position: fixed; inset: auto 8px 8px 8px; flex-direction: column; }
  .cal-pre { flex-direction: row; overflow-x: auto; border: 0; border-bottom: 1px solid var(--df-line); }
  .cal-pre button { flex: none; }
  .cal-m { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .df-toast, .ll-it, .df-drw { transition: none; animation: none; } }
[hidden] { display: none !important; }
.ll-chip button { min-width: 18px !important; min-height: 18px !important; width: 18px !important; height: 18px !important; }
@media (max-width: 600px) { .ll-fr2 > .df-grow { display: none; } .ll-fr2 > div:last-child .df-fl { display: none; } .ll-fr2 > div:last-child { margin-inline-start: auto; } }
/* boxes geometry pass (26.11): controls 36 · touch 44 · small 32 · no text under 11px */
.df-fld-sm { height: 36px; }
.ll-cb { width: 44px; height: 44px; }
.ll-m .df-btn { height: 32px; }
.cal-g button { height: 36px; }
.ll-gl { height: 36px; }

/* the recording itself, under the player's own controls */
.ll-player .df-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b0b0c; }
.ll-player.has-video { background-image: none !important; }
.ed-img .df-video { position: absolute; max-width: none; object-fit: contain; background: transparent; }
.ed-img .ed-bgblur { position: absolute; filter: blur(14px) brightness(.8); transform: scale(1.04); }
.ed-img .ed-bgblur[hidden] { display: none; }
.ed-img.has-video { background-image: none !important; }

.ll-tlf #llCutHere { margin-inline-start: 0; }
/* one row on PC: the hint gives way (ellipsis) before the two buttons ever wrap */
.ll-tlf .ll-kbd { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-tlf .df-grow { display: none; }
.ll-tlf .df-btn { flex: none; }
@media (hover: none), (max-width: 767px) { .ll-kbd { display: none; } .ll-tlf { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .ll-tlf .df-btn { width: 100%; justify-content: center; } .ll-tlf .df-grow { display: none; } }

/* ── JC-NF-LOGGER-LAYOUT-003 · logger as on i24, built from the boxes (Minimal user-table: tabs → toolbar → filters-result → list) ── */
.df-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#v-live-logger > .gt-ph { padding-block: 16px 0; margin-bottom: 0 !important; }
#v-live-logger > .gt-ph h1 { margin-block: 4px 0; }
#v-live-logger > .gt-ph .gt-ph-sub { display: none; }

/* toolbar — Minimal user-table-toolbar: padding 20, gap 16, outlined fields 56 high, select 200 wide, search grows */
.ll-bar { display: flex; align-items: center; gap: 16px; padding: 20px; padding-inline-end: 8px; }
.ll-mv { display: contents; }
.ll-bar .df-fld-w { position: relative; flex: none; width: 200px; }
.ll-bar .ll-q { flex: 1 1 auto; width: auto; min-width: 0; }
.ll-bar .df-fld { height: 56px; padding: 0 14px; border-radius: 8px; font-size: 15px; }
.ll-bar .df-fld select { font-size: 15px; }
/* the shrunk outlined label sits on the border, as in the boxes */
.ll-bar .df-fld-w > .df-fl:not(.df-sr) { position: absolute; z-index: 1; top: -9px; inset-inline-start: 10px; margin: 0; padding: 0 4px; background: var(--df-card); font-size: 12px; line-height: 18px; font-weight: 600; color: var(--df-ink-2); pointer-events: none; }
.ll-bar .df-seg[aria-label="View"] { flex: none; }
/* job-filters-button: text button, filter icon at the end, badge on the icon */
.ll-bar .ll-fbtn { flex: none; height: 36px; padding: 0 8px; font-weight: 700; flex-direction: row-reverse; gap: 8px; position: relative; }
.ll-bar .ll-fbtn svg { width: 20px; height: 20px; }
.ll-bar .ll-fbtn .df-count { position: absolute; top: 0; inset-inline-end: 0; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; }

/* filters-result — "N items found", then one dashed group per filter (radius 8, padding 8, gap 8), soft small chips */
.ll-res { display: block; padding: 0 20px 20px; border: 0; min-height: 0; }
.ll-rn { font-size: 14px; line-height: 1.57; margin-bottom: 12px; }
.ll-rn span { color: var(--df-ink-2); }
.ll-res .ll-chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; vertical-align: middle; }
.ll-fg { display: inline-flex; align-items: center; gap: 8px; padding: 8px; border: 1px dashed var(--df-line); border-radius: 8px; overflow: hidden; }
.ll-fgl { height: 24px; line-height: 24px; font-size: 14px; font-weight: 600; }
.ll-res .ll-chip { height: 24px; padding: 0 2px 0 8px; gap: 2px; border-radius: 8px; font-size: 13px; font-weight: 500; background: rgb(145 158 171 / 16%); }
.ll-res .ll-chip button { width: 16px !important; height: 16px !important; min-width: 16px !important; min-height: 16px !important; margin-inline-end: 2px; padding: 0; background: none; color: var(--df-ink-3); }
.ll-res .ll-chip button svg { width: 16px; height: 16px; }
#llClear { vertical-align: middle; margin-inline-start: 8px; }
.ll-grid { border-top: 1px dashed var(--df-line); }

/* the phone logger drawer is hidden on PC/tablet; the item ▶ badge only shows on the phone */
.ll-d, .drw-mob, .ll-tp { display: none; }
/* tablet (601–860): broadcast stays beside the logger */
@media (max-width: 860px) {
  .ll-lv { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 12px; padding: 12px; }
  .ll-tlh .ll-prog { display: none; }
  .ll-strip { height: 96px; }
  .ll-bar { flex-wrap: wrap; }
  .ll-bar .ll-q { flex-basis: 100%; order: 5; }
}

/* filters body (side drawer on PC, drawer panel on the phone): outlined 56 fields, label on the border, From | To side by side */
.drw-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 8px; }
.drw-b .df-fld-w { position: relative; width: 100%; }
.drw-b .df-fld-w .df-fld { height: 56px; border-radius: 8px; }
.drw-b .df-fld-w > .df-fl:not(.df-sr) { position: absolute; z-index: 1; top: -9px; inset-inline-start: 10px; margin: 0; padding: 0 4px; background: var(--df-card); font-size: 12px; line-height: 18px; font-weight: 600; color: var(--df-ink-2); pointer-events: none; }
.drw-b section > .df-fld-w:first-of-type, .drw-b .drw-mob-b { margin-top: 8px; }
.drw-b .ll-exr input { width: 76px; }
/* ══ JC-NF-LOGGER-PHONE-008 · the phone, as one system ═══════════════════════════════════════════════════════
   Measured from the Claude app (360pt): bottom bar = floating pill, 20 from the sides, 58 high, radius 29, selected item
   in a soft pill 3 inset; the composer card = 16 from the sides, radius 28, 16 above the bar. Our logger drawer sits
   exactly where the composer sits. Motion = the Sport 1 feed drawer (.32s cubic-bezier(.22,.9,.24,1), velocity snap).
   Grid: 4pt. Every target ≥ 44 high except the 32 close glyph (inside a 44 hit row). */
@media (max-width: 600px) {
  :root { --bn-h: 58px; --bn-b: calc(8px + env(safe-area-inset-bottom)); --bn-x: 20px; --dr-x: 16px; --dr-gap: 16px;
          --dr-bottom: calc(var(--bn-b) + var(--bn-h) + var(--dr-gap)); --dr-r: 28px; }

  /* page = only the items */
  #v-live-logger { padding: 0 0 calc(var(--ll-peek, 124px) + var(--dr-bottom) + 12px); gap: 0; }
  #v-live-logger > .gt-ph, .ll-lv, .df-drw, .df-scrim:not(.ll-shs) { display: none !important; }
  .ll-box { border-radius: 0; box-shadow: none; padding: 0; }
  .ll-res { display: none; padding: 8px 16px 0; }
  .ll-res:has(#llClear:not([hidden])) { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .ll-res .ll-rn { display: none; }
  .ll-res .ll-chips { flex-wrap: nowrap; }
  .ll-res .ll-fg { padding: 4px 6px; flex: none; }
  .ll-res .ll-fgl { font-size: 12px; }
  #llClear { flex: none; height: 32px; margin: 0; }
  .ll-grid { display: block; padding: 0 16px; border: 0; }
  .ll-sec { position: sticky; top: 0; z-index: 2; background: var(--df-card); padding: 12px 0 4px; font-size: 12px; line-height: 16px; }
  .ll-it { flex-direction: row; align-items: center; gap: 12px; height: 88px; padding: 12px 0; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--df-line); }
  .ll-it:hover { transform: none; box-shadow: none; }
  .ll-th { width: 112px; height: 63px; aspect-ratio: auto; flex: none; border-radius: 8px; overflow: hidden; }
  .ll-th .df-chip { height: 20px; font-size: 11px; padding: 0 6px; }
  .ll-th .r { inset-inline-start: 4px; bottom: 4px; }
  .ll-th .d, .ll-th .m { display: none; }
  .ll-tp { display: grid; place-items: center; position: absolute; z-index: 2; top: 4px; left: 4px; width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; margin: 0; border: 0; border-radius: 50%; background: rgb(0 0 0 / 55%); color: #fff; }
  .ll-tp svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
  .ll-tx { padding: 0; gap: 4px; justify-content: center; min-width: 0; }
  .ll-t { font-size: 14px; line-height: 20px; min-height: 0; }
  .ll-m { margin: 0; font-size: 12px; line-height: 16px; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
  .ll-m .df-chip { height: 20px; font-size: 11px; padding: 0 6px; }
  .ll-m .df-btn { display: none; }
  .ll-pg { padding: 12px 16px; }

  /* the bottom bar */
  .df-bnav { position: fixed; z-index: 1300; inset-inline: var(--bn-x); bottom: var(--bn-b); height: var(--bn-h); display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 3px; border-radius: calc(var(--bn-h) / 2); background: var(--df-card); border: 1px solid var(--df-line); box-shadow: 0 4px 16px rgb(0 0 0 / 8%); }
  .df-bnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--df-ink-2);
    border-radius: calc((var(--bn-h) - 6px) / 2); font: 600 12px/16px inherit; font-family: inherit; cursor: pointer; min-height: 0 !important; transition: background .2s var(--df-ease), color .2s; }
  .df-bnav button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .df-bnav button[aria-current="true"] { background: var(--df-sel); color: var(--df-ink); }
  .df-bdot { position: absolute; top: 9px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--df-live); border: 2px solid var(--df-card); }

  /* the drawer: a floating card in the composer's place — clipped by its frame so it rises out of the bar, never over it */
  .ll-dwrap { position: fixed; z-index: 1200; inset-inline: var(--dr-x); top: 8px; bottom: var(--dr-bottom); overflow: hidden; pointer-events: none;
    border-radius: 0 0 var(--dr-r) var(--dr-r); filter: drop-shadow(0 4px 16px rgb(0 0 0 / 10%)); }
  .ll-d { position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: auto; transform: translate3d(0, 100%, 0);
    background: var(--df-card); color: var(--df-ink); border: 1px solid var(--df-line); border-radius: var(--dr-r); overflow: hidden; will-change: transform; touch-action: none; }
  .ll-dh { flex: none; padding: 8px 0 12px; cursor: grab; touch-action: none; }
  .ll-grip { display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--df-line); margin: 0 auto 4px; }
  .ll-dtabs { display: flex; align-items: center; height: 40px; padding-inline-end: 8px; }
  .ll-dtabs > div { flex: 1; min-width: 0; }
  .ll-dtabs .ll-tabs { position: static; border: 0; padding: 0 12px; gap: 16px; background: none; }
  .ll-dtabs .ll-tabs button { height: 40px; font-size: 14px; }
  .ll-dx { flex: none; display: none; width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; border-radius: 50%; border: 0; background: var(--df-sel); color: var(--df-ink); place-items: center; cursor: pointer; }
  .ll-dx svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
  .ll-d[data-state="half"] .ll-dx, .ll-d[data-state="full"] .ll-dx { display: grid; }
  .ll-dstriprow { display: flex; gap: 4px; padding: 8px 12px 0; height: 62px; }
  .ll-dplay { flex: none; width: 44px; height: 100%; border: 0; border-radius: 8px; background: var(--df-sel); color: var(--df-ink); display: grid; place-items: center; cursor: pointer; }
  .ll-dplay svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
  .ll-dstrip { flex: 1; min-width: 0; }
  .ll-dstrip .ll-strip { touch-action: pan-x; }   /* vertical swipes on the strip move the drawer (JC-DESK360-DRAWER-SWIPE-001) */
  .ll-dstrip .ll-strip { height: 100%; grid-auto-columns: calc((100% - 4px) / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 8px; }
  .ll-dstrip .ll-strip::-webkit-scrollbar { display: none; }
  .ll-dstrip .ll-slot { scroll-snap-align: end; }
  .ll-dstrip .ll-slot .t { font-size: 11px; inset-inline-start: 6px; bottom: 4px; }
  .ll-dstrip .ll-slot .fl { top: 4px; inset-inline-end: 4px; min-width: 20px; height: 20px; padding: 0 4px; font-size: 10px; }
  .ll-dstrip .ll-slot .fl svg { width: 12px; height: 12px; }
  .ll-db { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 4px 12px 16px; border-top: 1px solid var(--df-line); }
  .ll-dp { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
  .ll-dp[hidden] { display: none; }
  /* Live */
  .ll-dmeta { display: none; }
  .ll-db .ll-player { border-radius: 12px; }
  .ll-dsay .ll-say { font-size: 15px; line-height: 22px; -webkit-line-clamp: 4; }
  .ll-db .ll-tlf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ll-db .ll-tlf .ll-kbd { display: none; }
  .ll-db .ll-tlf .df-btn { width: 100%; height: 48px; justify-content: center; }
  /* Search */
  .ll-dbar .ll-bar { padding: 0; gap: 0; }
  .ll-dbar .ll-bar > :not(.ll-q) { display: none !important; }
  .ll-dbar .ll-q { flex: 1; }
  .ll-dbar .df-fld { height: 48px; border-radius: 12px; }
  .ll-dhint { margin: 0; font-size: 13px; line-height: 18px; color: var(--df-ink-2); }
  /* Filters (the former side drawer's body + footer) */
  #llDFil .drw-b { padding: 0; overflow: visible; gap: 24px; }
  #llDFil .drw-b h4 { margin-bottom: 4px; }
  .drw-mob { display: block; }
  .drw-mob-b { display: flex; flex-direction: column; gap: 20px; }
  .drw-mob-b .df-pop { inset-inline: 0; width: auto; }
  #llDFil footer { position: sticky; bottom: -16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px -12px -16px; padding: 12px; background: var(--df-card); border-top: 1px solid var(--df-line); }
  #llDFil footer .df-btn { height: 48px; }
  html.ll-lock, html.ll-lock body { overflow: hidden; }
}
.df-bnav { display: none; }
@media (max-width: 600px) { .df-bnav { display: grid; } }
@media (max-width: 600px) {
  /* the list fades out under the bottom stack (drawer + bar), so nothing reads through the 16 gap */
  #v-live-logger::after { content: ""; position: fixed; z-index: 1100; inset-inline: 0; bottom: 0; height: calc(var(--dr-bottom) + 8px); pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--df-card) 16px); }
  .ll-dtabs .ll-tabs { gap: 20px; }
}
/* ── JC-NF-SHELL-PHONE-001 · areas on top (no sidebar), the area's actions in the bottom bar ── */
.df-areas, #v-files { display: none; }
@media (max-width: 600px) {
  .top .burger, #ia-side { display: none !important; }
  .df-areas { display: flex; position: sticky; top: 0; z-index: 5; height: 44px; gap: 4px; padding: 4px 16px; background: var(--df-card); border-bottom: 1px solid var(--df-line); overflow-x: auto; scrollbar-width: none; }
  .df-areas button { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: none; color: var(--df-ink-2); font: 600 14px/1 inherit; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
  .df-areas button[aria-selected="true"] { background: var(--df-inv); color: #fff; }
  .df-areas button i { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; background: var(--df-sel); color: var(--df-ink-2); }
  #v-files:not([hidden]) { display: block; }
  .df-soon { display: grid; justify-items: center; gap: 8px; padding: 72px 32px; text-align: center; color: var(--df-ink-2); }
  .df-soon svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .df-soon b { font-size: 18px; color: var(--df-ink); }
  .df-soon p { margin: 0; max-width: 32ch; font-size: 14px; line-height: 20px; }
  .ll-sec { top: 44px; }                                   /* section headers stick under the areas row */
  /* the editor: its own dock retires — the shell bar carries its tools; the stage fits above the bar */
  .ed-dock { display: none !important; }
  #v-editor.ed { height: calc(100dvh - var(--hh, 64px) - 44px - var(--bn-h) - var(--bn-b) - 12px); }
  #edPanel { left: var(--dr-x); right: var(--dr-x); bottom: var(--dr-bottom); border-radius: var(--dr-r); border: 1px solid var(--df-line); box-shadow: 0 4px 16px rgb(0 0 0 / 10%); z-index: 1200; }
  #edPanel[data-snap="half"] { height: 46dvh; } #edPanel[data-snap="full"] { height: calc(100dvh - var(--dr-bottom) - 72px); }
  #edPanel[data-snap="closed"] { border: 0; box-shadow: none; }
}
@media (max-width: 600px) {
  .df-areas button { min-height: 36px !important; max-height: 36px; }
  .df-toast { bottom: calc(var(--dr-bottom) + 8px) !important; }
  /* the editor's own duplicates of the bar retire: the top Export and the panel's tab row */
  #edExport, #edTabs { display: none !important; }
  /* JC-NF-SHELL-PHONE-001 · Export is the same floating card as every drawer: inset 16, radius 28, 16 above the bar,
     a grip that drags it closed, the list scrolls inside and the two actions stay pinned at its foot */
  #edModal { inset: auto var(--dr-x) var(--dr-bottom); padding: 0; display: block; z-index: 1250; pointer-events: none; }
  #edModal[hidden] { display: none; }
  #edModal .ed-mc { width: 100%; max-height: calc(100dvh - var(--dr-bottom) - 72px); padding: 0 0 16px; gap: 0; border-radius: var(--dr-r);
    border: 1px solid var(--df-line); box-shadow: 0 4px 16px rgb(0 0 0 / 10%); overflow: hidden; animation: ed-rise .36s cubic-bezier(.22, 1, .36, 1); touch-action: pan-y; }
  #edModal .ed-mc.drag { animation: none; transition: none; }
  #edModal .ed-mc.back { transition: transform .28s cubic-bezier(.22, 1, .36, 1); }
  #edModal .ed-mgrip { display: grid; place-items: center; height: 24px; flex: none; cursor: grab; touch-action: none; }
  #edModal .ed-mgrip i { width: 36px; height: 4px; border-radius: 2px; background: var(--df-ink-3); opacity: .5; }
  #edModal h3 { padding: 0 16px; font-size: 17px; line-height: 24px; }
  #edModal #edModalS { padding: 4px 16px 12px; font-size: 13px; line-height: 18px; }
  #edModal .ed-ex { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px; gap: 8px; }
  #edModal .ed-ex button { min-height: 64px; flex: none; padding: 10px 12px; border-radius: 14px; }
  #edModal .ed-ex .ed-nm b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #edModal .ed-exn { padding: 12px 16px 0; margin: 0; font-size: 12px; line-height: 16px; }
  #edModal .ed-mf { display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 12px 16px 0; margin: 0; border-top: 1px solid var(--df-line); }
  #edModal .ed-mf .df-grow { display: none; }
  #edModal #edModalGo { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@keyframes ed-rise { from { transform: translateY(calc(100% + 24px)); } to { transform: none; } }
@media (min-width: 601px) { #edModal .ed-mgrip { display: none; } }
@media (prefers-reduced-motion: reduce) { #edModal .ed-mc { animation: none !important; } }

/* JC-DESK360-HEADLESS-001 · sign-in card: centred on wide screens, the floating drawer card on the phone */
.df-sign { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 16px; background: rgb(28 37 46 / 48%); }
.df-sign[hidden] { display: none; }
.df-sign-c { width: min(400px, 100%); background: var(--df-card); border-radius: 16px; box-shadow: var(--df-drop); padding: 24px; display: flex; flex-direction: column; gap: 16px; animation: ed-rise .36s cubic-bezier(.22, 1, .36, 1); }
.df-sign-c h3 { margin: 0; font-size: 18px; line-height: 24px; color: var(--df-ink); }
.df-sign-c .df-hint { margin: -8px 0 0; }
.df-sign-c .ed-mgrip { display: none; }
.df-sign-in { display: flex; flex-direction: column; gap: 16px; }
.df-sign-in[hidden] { display: none; }
.df-sign-in input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 16px; color: var(--df-ink); outline: none; }
.df-sign-err { margin: -4px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--df-live); }
.df-sign-err[hidden] { display: none; }
.df-sign-f { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
#abtn.df-av-out { background: var(--df-card); color: var(--df-ink); box-shadow: inset 0 0 0 1.5px var(--df-ink); }
@media (max-width: 600px) {
  .df-sign { place-items: end stretch; padding: 0 var(--dr-x) var(--dr-bottom); background: rgb(28 37 46 / 32%); }
  .df-sign-c { width: 100%; border-radius: var(--dr-r); border: 1px solid var(--df-line); box-shadow: 0 4px 16px rgb(0 0 0 / 10%); padding: 0 16px 16px; gap: 16px; }
  .df-sign-c .ed-mgrip { display: grid; place-items: center; height: 24px; margin-bottom: -8px; }
  .df-sign-c .ed-mgrip i { width: 36px; height: 4px; border-radius: 2px; background: var(--df-ink-3); opacity: .5; }
}
#dfSignGo { background: var(--df-inv) !important; color: #fff !important; }
#dfSignGo:disabled { opacity: .5; }
/* JC-DESK360-CLEAN-001 · the production gate: only the sign-in, nothing behind it to play with */
html.df-gate .ll-dwrap, html.df-gate #dfBnav, html.df-gate .ll-tl, html.df-gate .ll-bar, html.df-gate .ll-res { visibility: hidden; }
html.df-gate .df-sign { background: var(--df-bg, #f4f6f8); }

/* ── JC-DESK360-WH-001 · Clipping, Field inbox, Ready to publish, Warehouse ── */
.wh-up { padding: 8px; }
.wh-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 20px; border: 1.5px dashed var(--df-input); border-radius: 12px; text-align: center; cursor: pointer;
  color: var(--df-ink); transition: background .2s var(--df-ease), border-color .2s var(--df-ease); }
.wh-drop:hover, .wh-drop.on { background: var(--df-hover); border-color: var(--df-ink-3); }
.wh-drop b { font-size: 16px; }
.wh-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--df-neutral); color: var(--df-ink-2); }
.wh-pick { margin-top: 8px; pointer-events: none; }
.wh-prog { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 8px; }
.wh-prog .wh-bar { height: 6px; border-radius: 3px; background: var(--df-sel); overflow: hidden; }
.wh-prog .wh-bar i { display: block; height: 100%; width: 0; background: var(--df-ink); border-radius: 3px; transition: width .2s linear; }
.wh-pt { font-size: 13px; color: var(--df-ink-2); font-variant-numeric: tabular-nums; }
.wh-link { display: flex; align-items: flex-end; gap: 12px; padding: 16px 20px; }
.wh-link .df-fld-w { flex: 1; min-width: 0; }
.wh-share { display: flex; align-items: center; gap: 12px; padding: 14px 20px; flex-wrap: wrap; }
.wh-url { flex: 1; min-width: 0; font-size: 14px; color: var(--df-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-box { overflow: hidden; }
.wh-bar2 { display: flex; align-items: center; gap: 12px; padding: 16px 24px; }
.wh-q { flex: 0 1 360px; }
.wh-n { margin-inline-start: auto; }
.wh-tabs { padding-inline: 24px; }
.wh-it { position: relative; }
.wh-it .ll-tp { display: grid; place-items: center; position: absolute; inset: 0; margin: auto; z-index: 2; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgb(0 0 0 / 55%); color: #fff; cursor: pointer; transition: transform .2s var(--df-ease), background .2s var(--df-ease); }
.wh-it .ll-tp:hover { transform: scale(1.06); background: rgb(0 0 0 / 70%); }
.wh-it .ll-tp svg { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-inline-start: 3px; }
.wh-it .ll-t { min-height: 0; font-weight: 600; }
.wh-meta { font-size: 12px; color: var(--df-ink-2); font-variant-numeric: tabular-nums; }
.wh-st { font-weight: 700; color: var(--df-ink); }
.wh-st.ready, .wh-st.published { color: var(--df-ok); }
.wh-st.failed { color: var(--df-err); }
.wh-err { font-size: 12px; color: var(--df-err); }
.wh-acts { display: grid !important; grid-template-columns: 1fr 1fr 40px; gap: 8px; align-items: center; }
.wh-acts .df-pri { grid-column: 1 / -1; order: -1; }
.wh-acts .df-btn { width: 100%; min-width: 0; justify-content: center; padding-inline: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-it { cursor: pointer; }
#whPvF .wh-acts { flex: 0 1 460px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) 40px; }
#whPvF .wh-acts .df-pri { grid-column: auto; order: 0; }
#whPvF { position: relative; flex-wrap: wrap; }

.wh-acts .df-btn { text-decoration: none; }
.wh-more { margin-inline-start: auto; }
.wh-spin { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; border-radius: 50%; border: 3px solid rgb(255 255 255 / 25%); border-top-color: #fff; animation: wh-spin .9s linear infinite; }
@keyframes wh-spin { to { transform: rotate(360deg); } }
.wh-it.busy .ll-th::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 8%), transparent); animation: wh-sheen 1.6s linear infinite; }
@keyframes wh-sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.wh-menu { position: fixed; z-index: 1500; width: 220px; padding: 6px; border-radius: 12px; background: var(--df-card); box-shadow: var(--df-drop); display: flex; flex-direction: column; }
.wh-menu button { all: unset; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--df-ink); cursor: pointer; }
.wh-menu button:hover, .wh-menu button:focus-visible { background: var(--df-hover); }
.wh-ren { width: 100%; font: inherit; font-weight: 600; padding: 4px 8px; border: 1px solid var(--df-ink-3); border-radius: 6px; }
.wh-pv { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 24px; background: rgb(11 11 12 / 72%); }
.wh-pv[hidden] { display: none; }
.wh-pvc { width: min(960px, 100%); max-height: 100%; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--df-card); box-shadow: var(--df-shadow-hi); }
.wh-pvc .df-btn { min-height: 40px; }
.wh-pvc header, .wh-pvc footer { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.wh-pvc header b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-pvc footer { justify-content: space-between; }
.wh-pvc video { width: 100%; max-height: 70vh; background: #000; display: block; }
@media (max-width: 600px) {
  .wh-drop { padding: 24px 16px; }
  .wh-link { flex-direction: column; align-items: stretch; }
  .wh-bar2 { padding: 12px 16px; }
  .wh-q { flex: 1; }
  .wh-tabs { padding-inline: 12px; display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .wh-tabs [role=tab] { flex: none; white-space: nowrap; }
  /* phone: a card is a row to tap; every action lives in the sheet it opens (the buttons squeezed the titles out of the card) */
  .wh-it .wh-acts { display: none !important; }
  .wh-it .ll-t { -webkit-line-clamp: 2; }
  #whPvF { flex-direction: column; align-items: stretch; }
  #whPvF .wh-acts { flex: none; grid-template-columns: 1fr 1fr 40px; }
  #whPvF .wh-acts .df-pri { grid-column: 1 / -1; order: -1; }
  .wh-pvc { padding-bottom: env(safe-area-inset-bottom); }
  .wh-pv { padding: 0; align-items: end; }
  .wh-pvc { border-radius: 16px 16px 0 0; }
}

/* JC-DESK360-ONE-EDITOR-001 · record, field notes, the editor's "what is it for" */
.wh-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.wh-btns .wh-pick { margin: 0; }
.wh-cam { pointer-events: auto; }
.wh-notes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; padding: 16px 12px 8px; }
.wh-pt .wh-go { margin-inline-start: 8px; vertical-align: middle; }
.wh-cam-sh video { aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.wh-cam-sh footer { justify-content: center; gap: 12px; }
.wh-cam-sh #whCamRec[data-on="1"] { background: var(--df-live); border-color: var(--df-live); }
.wh-camt { font-variant-numeric: tabular-nums; color: var(--df-live); font-weight: 700; }
.wh-camh { padding: 8px 16px 0; text-align: center; min-height: 28px; }
.ed-rcp { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--df-card); box-shadow: var(--df-shadow); }
.ed-rcp > b { font-size: 15px; color: var(--df-ink); }
.ed-rcp > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ed-rcp button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--df-line); cursor: pointer; min-height: 56px; }
.ed-rcp button:hover { background: var(--df-hover); }
.ed-rcp button[aria-pressed="true"] { background: var(--df-inv); border-color: var(--df-inv); color: #fff; }
.ed-rcp button span { font-weight: 700; font-size: 14px; }
.ed-rcp button small { font-size: 12px; color: var(--df-ink-2); }
.ed-rcp button[aria-pressed="true"] small { color: rgb(255 255 255 / 72%); }
.ed-rcp button:focus-visible { outline: 2px solid var(--df-ink); outline-offset: 2px; }
/* the video sheet fits the visible phone screen: the actions under the picture are always in view (they fell below the fold) */
.wh-pvc { max-height: 100dvh; }
.wh-pvc video { flex: 1 1 auto; min-height: 0; max-height: none; object-fit: contain; }
.ed-rcp[data-folded="1"] { padding: 6px 8px 6px 16px; }
.ed-rcp1 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--df-ink-2); }
.ed-rcp1 b { color: var(--df-ink); }
.ed-rcp1 small { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .ed-rcp { padding: 12px; gap: 8px; }
  .ed-rcp button small { display: none; }
  .ed-rcp button { min-height: 44px; justify-content: center; }
  .ed-rcp1 small { display: none; }
  .wh-notes { grid-template-columns: 1fr 1fr; }
  .wh-notes .df-fld-w:first-child { grid-column: 1 / -1; }
  .wh-pvc { max-height: calc(100dvh - 24px); }
  .wh-pvc video { max-height: 48dvh; }
  .ed-rcp > div { grid-template-columns: 1fr 1fr; }
}

/* JC-DESK360-NF-KIT-001 · the NF kit draws the graphics on the stage; the editable boxes stay on top as invisible handles */
.ed-kit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.kit-on .ed-ovs { z-index: 3; }
.kit-on .ed-ov > * { opacity: 0; }
.kit-on .ed-ov.on { outline: 1px dashed rgb(255 255 255 / 70%); outline-offset: 2px; }
.kit-on #edBug { display: none; }

/* JC-DESK360-LOGO-001: the Desk Flow wordmark stays in the top centre on every screen.
   Below 1200px the old shell swapped it for an animated canvas mark that this build never draws, so the centre was empty. */
@media (max-width: 1199px){
  html[data-ui="v3"] .v3 .gm-ctrlogo .gt-mkc { display: none; }
  html[data-ui="v3"] .v3 .gm-ctrlogo .gt-wd { display: block; block-size: 18px; }
}
/* phone: three icons sit on the right, so the wordmark is centred in the free space between the NF mark and the search icon */
@media (max-width: 599px){
  html[data-ui="v3"] .v3 header.top .gt-id { order: -2; }
  html[data-ui="v3"] .v3 header.top .gm-ctr { position: static; transform: none; order: -1; flex: 1 1 auto; min-width: 0; justify-content: center; }
  html[data-ui="v3"] .v3 .gm-ctrlogo .gt-wd { block-size: 15px; }
}
