/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --paper: #EADECB;
  --paper-2: #e4d4b8;
  --paper-3: #f4ead8;
  --desk: #d4d2ce;
  --desk-2: #c8c6c2;
  --desk-field: #e8e6e2;
  --desk-line: #b8b5b0;
  --ink: #1A1A1A;
  --muted: rgba(26, 26, 26, 0.62);
  --faint: rgba(26, 26, 26, 0.42);
  --rule: rgba(255, 255, 255, 0.42);
  --go: #109A48;
  --go-deep: #0c7a38;
  --go-teal: #2ECFC4;
  --fail: #8f2d2d;
  --warn: #8a6a2f;
  --radius: 22px;
  --radius-sm: 14px;
  --glass: rgba(255, 255, 255, 0.32);
  --glass-strong: rgba(255, 255, 255, 0.46);
  --glass-border: rgba(255, 255, 255, 0.58);
  --shadow: 0 18px 44px rgba(26, 26, 26, 0.08);
  --blur: blur(20px) saturate(1.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html:has(.roll-list) { overflow-x: clip; scrollbar-width: none; }
html:has(.roll-list)::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(16, 154, 72, 0.1), transparent 50%),
    radial-gradient(900px 420px at 90% 0%, rgba(255, 255, 255, 0.35), transparent 46%),
    var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: -0.011em;
}

a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; color: inherit; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  z-index: 2;
}

.desk-issue {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 24px));
  font-family: Inter, sans-serif;
}
.desk-issue-chip {
  border: 1px solid #c9a24a;
  background: #2a2418;
  color: #f3e6c4;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.desk-issue-panel {
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #1c1b19;
  color: #f0ece6;
  border: 1px solid #3f3d39;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}
.desk-issue-lead {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}
.desk-issue-panel pre {
  margin: 0 0 10px;
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(240, 236, 230, 0.82);
}
.shell { max-width: 1240px; margin: 0 auto; padding: 28px 28px 80px; }
body:has(.device-stage) .shell { max-width: 1280px; }
body:has(.pipe-board) .shell { max-width: 1680px; }
.top-wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 0 18px;
  transition: transform 0.22s ease;
}
.top-wrap.is-away {
  transform: translateY(calc(-100% - 20px));
  pointer-events: none;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; }
.mark {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.wordmark {
  font-family: Poppins, sans-serif;
  font-size: 22px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav a, .nav .nav-icon {
  padding: 4px 10px;
  font-size: 13px;
  font-family: Inter, sans-serif;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
}
.nav a:hover, .nav .nav-icon:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--glass-border);
}
.nav a[data-active="true"], .nav .nav-icon[data-active="true"] {
  color: var(--ink);
  background: var(--glass-strong);
  border-color: var(--glass-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.nav-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
}
.job-card {
  --job-pct: 0;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 90;
  width: min(320px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 16px 18px 14px;
  border-radius: 28px;
  background: rgba(26, 26, 28, 0.52);
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  font-family: Inter, sans-serif;
}
.job-card.is-overdue {
  outline: 1px solid #c9a24a;
}
.job-card.is-overdue .job-card-kicker,
.job-card.is-overdue .job-card-bar span {
  color: #f3e6c4;
}
.job-card.is-idle {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
.job-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.job-card-spark {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #d8d8dc;
}
.job-card-spark svg { width: 14px; height: 14px; }
.job-card-kicker {
  flex: 1 1;
  min-width: 0;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.job-card .job-pause,
.job-card .job-hide {
  width: 26px;
  height: 26px;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}
.job-card.is-review-open,
.desk-job-pill.is-review-open,
.job-next-pill.is-review-open {
  box-shadow: 0 0 0 2px rgba(46, 207, 196, 0.95), 0 0 18px rgba(46, 207, 196, 0.45);
}
.job-card-pct {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: none;
}
.job-card-count {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(244, 244, 245, 0.78);
}
.job-card.is-idle .job-card-count { color: var(--muted); }
.job-card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 6px 0 12px;
}
.job-card-title {
  display: block;
  min-width: 0;
  flex: 1 1;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-card-tags {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
}
.job-card-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.job-card-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--job-pct) * 1%);
  min-width: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--go) 0%, var(--go-teal) 100%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--go-teal) 55%, transparent);
}
.job-card.is-idle .job-card-fill { min-width: 0; width: 0; box-shadow: none; }
.job-card-bar span {
  position: relative;
  z-index: 2;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}
.job-card-foot {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-top: 12px;
}
.job-next-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f4f4f5;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}
.job-next-btn:hover { background: rgba(255, 255, 255, 0.14); }
.album-cover-subject {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brief-pill-wrap { position: relative; }
.brief-view {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}
.brief-drop {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  left: 0;
  width: min(560px, 80vw);
  max-height: 50vh;
  overflow: auto;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f4f4f5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  font: 13px/1.5 ui-sans-serif, system-ui, sans-serif;
  white-space: pre-wrap;
}
.loop-choice {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, 80vw);
  padding: 12px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f4f4f5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.loop-choice p { margin: 0 0 8px; font-size: 13px; }
.loop-choice-rolls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
  margin: 8px 0;
}
.loop-choice label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.loop-choice-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { cursor: -webkit-grab; cursor: grab; }
.filter:active { cursor: -webkit-grabbing; cursor: grabbing; }
.job-next-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px -18px -14px;
  padding: 0 6px 10px;
  list-style: none;
  min-height: 0;
  max-height: min(70vh, 640px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.job-next-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.job-next-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 0 0 32px;
  height: 32px;
  position: relative;
}
.job-next-row.is-picked .job-next-pill {
  border-color: rgba(244, 228, 196, 0.85);
  box-shadow: 0 0 0 1px rgba(244, 228, 196, 0.45);
}
.job-next-row.is-dragging {
  opacity: 0.35;
}
.job-next-row[data-drop="before"] { margin-top: 28px; }
.job-next-row[data-drop="after"] { margin-bottom: 28px; }
.job-next-row[data-drop="before"]::before,
.job-next-row[data-drop="after"]::after {
  content: attr(data-drop-label);
  position: absolute;
  left: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f4e4c4;
  color: #1a1a1a;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 22px;
  white-space: nowrap;
  box-shadow: 0 0 14px 2px rgba(244, 228, 196, 0.55);
  pointer-events: none;
  z-index: 4;
}
.job-next-row[data-drop="before"]::before { top: -25px; }
.job-next-row[data-drop="after"]::after { bottom: -25px; }
.job-next-num {
  flex-shrink: 0;
  width: 28px;
  font-size: 11px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  color: rgba(244, 244, 245, 0.55);
  text-align: right;
}
.job-next-pill {
  display: inline-flex;
  min-width: 0;
  flex: 1 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.job-next-pill:hover { background: rgba(255, 255, 255, 0.16); }
.job-next-tag {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
}
.job-card-md {
  flex-shrink: 1;
  min-width: 0;
  max-width: 18ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #f4f4f5;
  font-size: 10px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.job-card-md:hover { background: rgba(255, 255, 255, 0.18); }
.job-card-md.is-review-open {
  box-shadow: 0 0 0 2px rgba(46, 207, 196, 0.95), 0 0 12px rgba(46, 207, 196, 0.45);
}
.job-next-empty { font-size: 12px; color: rgba(255, 255, 255, 0.48); }
.job-card.is-idle .job-hide,
.job-card.is-idle .job-pause { color: var(--ink); }
.job-card.is-idle .job-hide,
.job-card.is-idle .job-pause {
  background: var(--glass-strong);
  border-color: var(--glass-border);
}
.job-card.is-idle .job-card-title { color: var(--muted); }
.job-card.is-idle .job-card-bar { background: rgba(26, 26, 26, 0.08); }
.job-card.is-idle .job-card-bar span { color: var(--muted); }
.job-card.is-idle .job-next-btn,
.job-card.is-idle .job-next-pill,
.job-card.is-idle .job-next-tag {
  color: var(--ink);
  background: var(--glass-strong);
  border-color: var(--glass-border);
}
.job-card.is-idle .job-next-empty { color: var(--muted); }
.job-toasts {
  position: fixed;
  bottom: 22px;
  right: 16px;
  z-index: 140;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.job-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(340px, calc(100vw - 32px));
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(22, 20, 18, 0.92);
  color: #fff8ee;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  text-align: left;
  font: inherit;
  text-decoration: none;
  overflow: hidden;
}
.job-toast.is-right {
  align-self: flex-end;
  animation: job-toast-in-right 0.38s ease, job-toast-out-right 0.42s ease 6.6s forwards;
}
.job-toast.is-left {
  align-self: flex-start;
  animation: job-toast-in-left 0.38s ease, job-toast-out-left 0.42s ease 6.6s forwards;
}
.job-toast:hover {
  background: rgba(32, 28, 24, 0.96);
}
.job-toast img,
.job-toast-ph {
  width: 56px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}
.job-toast-copy {
  min-width: 0;
  display: block;
}
.job-toast strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 238, 0.62);
}
.job-toast span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: #fff8ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-toast em {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-style: normal;
  color: rgba(255, 248, 238, 0.68);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes job-toast-in-right {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes job-toast-in-left {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes job-toast-out-right {
  to { transform: translateX(44px); opacity: 0; }
}
@keyframes job-toast-out-left {
  to { transform: translateX(-44px); opacity: 0; }
}
.job-card.is-paused .job-card-fill {
  background: linear-gradient(90deg, #e2c35a, #f0a35c);
  box-shadow: 0 0 16px rgba(226, 195, 90, 0.4);
}

.hero { padding: 42px 0 18px; }
.kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--go-deep);
  margin-bottom: 10px;
}
h1, h2, h3, .section-title, .wordmark {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: 42px; line-height: 1.04; max-width: 22ch; }
.lede, .muted, .faint, .howto, p, label, textarea, input, .row, .job-meta, .action-body p, .pipe-col header p {
  font-family: Inter, sans-serif;
}
.lede { max-width: 62ch; color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 14px; }
.album-brief {
  max-width: 68ch;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  white-space: pre-wrap;
}
.ig-id h2, .ig-logo, .feed-next h2, .li-app h2 {
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.grid { display: grid; grid-gap: 16px; gap: 16px; }
.grid.stats { grid-template-columns: repeat(4, 1fr); margin: 28px 0 18px; }
.grid.two { grid-template-columns: 1.2fr 0.8fr; }
.grid.cards { grid-template-columns: repeat(3, 1fr); }
.grid.frames { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.roll-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.roll-fan-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.roll-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.roll-switch button {
  border: 0;
  background: transparent;
  color: #d4d4d8;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.roll-switch button[data-on="true"] {
  background: #f4e4c4;
  color: #1a1a1a;
}
.roll-switch button:disabled {
  opacity: 0.35;
  cursor: default;
}
.roll-fan {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 16px 0 18px;
  border-radius: 0;
  background: transparent;
}
.roll-fan-label {
  margin: 0 12px 0 0;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f4f5;
}

.roll-rename {
  width: 280px;
  padding: 2px 6px;
  border: 1px solid rgba(244, 244, 245, 0.35);
  border-radius: 6px;
  background: transparent;
  text-transform: none;
}
.roll-fan-row {
  display: flex;
  gap: 12px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: 28px;
  padding-bottom: 4px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(18, 18, 20, 0.92);
  scrollbar-width: none;
}
.roll-fan-row::-webkit-scrollbar {
  display: none;
}
.roll-fan-row > .frame {
  flex: 0 0 min(520px, calc((100vw - 80px) / 3));
  width: min(520px, calc((100vw - 80px) / 3));
  min-width: min(520px, calc((100vw - 80px) / 3));
  max-width: none;
  margin: 0;
}
.marquee-box {
  position: fixed;
  z-index: 80;
  border: 1px solid rgba(244, 228, 196, 0.95);
  background: rgba(244, 228, 196, 0.18);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(244, 228, 196, 0.35);
}
.grid.frames.review-frames {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
}
.pass-carousels-title {
  margin: 0 0 14px;
  text-align: left;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.card h2, .card h3 { font-size: 16px; margin-bottom: 10px; }
.stat { padding: 18px 16px; }
.stat b { display: block; font-family: Poppins, sans-serif; font-weight: 600; font-size: 28px; }
.stat span { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--glass-border);
  padding: 6px 10px;
  font-size: 12px;
  background: var(--glass-strong);
  border-radius: 999px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.ok { background: var(--go); }
.dot.bad { background: var(--fail); }
.dot.warn { background: var(--warn); }

.row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  font-size: 14px;
  font-family: Inter, sans-serif;
}
.row:last-child { border-bottom: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 12px; }
.tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--glass-border);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--glass);
  display: inline-flex;
  align-items: center;
}
.tag.ok { border-color: rgba(16, 154, 72, 0.45); color: var(--go-deep); }
.tag.warn { border-color: rgba(138, 106, 47, 0.45); color: var(--warn); }
.tag.bad { border-color: rgba(143, 45, 45, 0.4); color: var(--fail); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.section-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.section-title { font-size: 22px; margin-top: 4px; }
.text-link {
  color: var(--go-deep);
  font-size: 14px;
  border-bottom: 1px solid rgba(16, 154, 72, 0.35);
}
.crumb { margin-top: 22px; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--go-deep); }

.banner {
  background: var(--glass);
  border: 1px solid rgba(143, 45, 45, 0.28);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.banner p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.banner code { font-size: 12px; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 18px; align-items: center; }
.album-search {
  margin-left: auto;
  min-width: 180px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line, #333);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
}
.filter {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 12px;
  cursor: pointer;
  text-transform: capitalize;
  font-size: 13px;
  color: var(--muted);
  border-radius: 999px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.filter[data-active="true"] {
  color: var(--ink);
  border-color: var(--go);
  background: rgba(16, 154, 72, 0.08);
}

.grid.albums { grid-template-columns: repeat(3, 1fr); }
.album-card {
  display: block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: var(--radius);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.album-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #cfc0a6;
}
.album-cover img,
.album-cover video,
.album-cover .video-thumb-pending {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-thumb-pending { background: #cfc0a6; }
.album-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 13px;
}
.album-plat {
  display: grid;
  place-items: center;
  line-height: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.album-cover-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 56px);
}
.album-cover-tag {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 650;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
.album-cover-tag.overdue,
.tag.overdue {
  background: color-mix(in srgb, var(--fail) 72%, #1a1a1a);
  border-color: color-mix(in srgb, var(--fail) 80%, transparent);
  color: #fff;
}
.album-plat .action-mark,
.album-hero-tags .action-mark {
  width: 22px !important;
  height: 22px !important;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.album-plat .action-mark svg,
.album-hero-tags .action-mark svg {
  width: 22px;
  height: 22px;
}
.album-posted {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}
.album-work-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
.album-work-badge svg { width: 16px; height: 16px; display: block; }
.album-work-badge.generating { color: var(--go-deep); }
.album-work-badge.waiting { color: var(--warn); }
.album-work-badge.complete { color: var(--go-deep); opacity: 0.85; }
.album-work-spin {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(16, 154, 72, 0.25);
  border-top-color: var(--go-deep);
  border-radius: 50%;
  animation: submit-spin 0.8s linear infinite;
}
.album-wait,
.album-wait.tag.warn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(18, 18, 18, 0.42);
}
.album-posted + .album-wait,
.album-card:has(.album-posted) .album-wait {
  top: 42px;
}
.album-work { margin: 8px 0 4px; }
.album-work p { margin: 0; }
.album-work-bar {
  display: block;
  height: 4px;
  width: 100%;
  margin-top: 6px;
  background: rgba(26, 26, 26, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.album-work-bar i {
  display: block;
  height: 100%;
  background: var(--go);
  border-radius: 99px;
}
html[data-theme="dark"] .album-work-bar { background: rgba(244, 234, 216, 0.12); }
.album-card.is-generating { border-color: rgba(16, 154, 72, 0.35); }
.posted-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pipe-card .posted-control { margin-top: 8px; }
.album-meta { padding: 10px 14px 12px; }
.album-counts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--ink);
}
.album-counts .icon-btn {
  width: 26px;
  height: 26px;
  padding: 0;
}
.album-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.album-actions { padding: 0 14px 14px; }
.folder-btn { font-size: 12px; padding: 6px 10px; }
.album-meta h3 {
  font-size: 15px;
  line-height: 1.25;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.stat { display: block; }
a.card.stat:hover { border-color: rgba(16, 154, 72, 0.4); }

.frame {
  display: block;
  position: relative;
  background: #cfc0a6;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.frame img,
.frame video { width: 100%; height: 180px; object-fit: cover; display: block; }
.frame figcaption { padding: 8px 10px 10px; font-size: 12px; color: var(--muted); }
.frame.review-frame figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.frame-caption { flex: 1 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.frame-status {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  background: color-mix(in srgb, var(--warn) 22%, var(--glass-strong));
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--warn) 50%, transparent);
}
.frame-status.is-run {
  background: color-mix(in srgb, var(--go) 22%, var(--glass-strong));
  border-color: color-mix(in srgb, var(--go) 50%, transparent);
}
.frame-status.is-done {
  background: color-mix(in srgb, var(--go-deep) 22%, var(--glass-strong));
  border-color: color-mix(in srgb, var(--go-deep) 50%, transparent);
}
.frame-status.is-idle {
  background: var(--glass-strong);
  border-color: var(--glass-border);
  color: var(--muted);
  font-weight: 600;
}
.frame-status.is-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.frame-tools {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: flex-start;
}
.frame-tools .shot-note { margin-top: 0; }
.frame-tools .shot-note.compact:not(:has(textarea)) { margin: 0; }
.album-history { margin-top: 28px; }
.album-history.lane-pill { margin-top: 28px; }
.album-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.album-history-list li {
  display: grid;
  grid-template-columns: 108px 1fr;
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
  font-size: 13px;
}
.album-history-list time {
  color: var(--muted);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.frame-convert {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}
.shot-note {
  margin-top: 8px;
  text-align: left;
}
.shot-note.compact .shot-note-field {
  min-height: 72px;
}
.shot-note-field {
  min-height: 96px;
  font-size: 13px;
}
.shot-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.lightbox-note {
  margin-top: 0;
  text-align: left;
  max-width: none;
  width: 100%;
  flex: 1 1;
  min-height: 0;
  color: var(--ink);
}
.lightbox-note .shot-note-field {
  min-height: 72px;
  background: var(--desk-field);
  border: 1px solid var(--desk-line);
  color: var(--ink);
}
.lightbox-note .shot-note-field::placeholder { color: var(--muted); }
.lightbox-note .btn,
.lightbox-note .text-link,
.lightbox-note .faint,
.lightbox-note .icon-btn {
  color: var(--ink);
}
.lightbox-note .icon-btn,
.lightbox-note .btn {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
}
.lightbox-note .icon-btn:hover:not(:disabled),
.lightbox-note .btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.38);
}
.folder-pick-create {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.folder-pick-create input { flex: 1 1; }
.frame.review-frame img, .frame.review-frame video {
  width: 100%;
  height: 320px;
  max-height: none;
  object-fit: cover;
  background: #cfc0a6;
  display: block;
  border-radius: 0;
}
.frame.review-frame {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  border-radius: 12px;
  border: 0;
  overflow: hidden;
}
.frame.review-frame.sheet img { max-height: 140px; opacity: 0.9; }

.notes {
  width: 100%;
  min-height: 160px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  resize: vertical;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
}
.btn {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 999px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.btn:disabled { opacity: 0.4; cursor: default; }
.btn.compact {
  padding: 7px 13px;
  font-size: 13px;
}
.btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 8px 22px rgba(26, 26, 26, 0.12);
}
.btn.ghost {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--glass-border);
}
.btn.go {
  background: color-mix(in srgb, var(--go-deep) 58%, transparent);
  color: #fff;
  border-color: color-mix(in srgb, var(--go) 50%, var(--glass-border));
}
.btn.go:hover:not(:disabled) {
  background: color-mix(in srgb, var(--go-deep) 78%, transparent);
}

.frame-stage {
  position: relative;
}
.frame-ver {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: background 0.15s ease;
}
.frame-ver:hover {
  background: rgba(255, 255, 255, 0.38);
}
.frame-ver.prev { left: 6px; }
.frame-ver.next { right: 6px; }
.frame-ver-count {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 11px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  white-space: nowrap;
}
.frame-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #cfc0a6;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.frame-open img, .frame-open video { pointer-events: none; }
.frame-queue {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 6;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 11px;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 999px;
  border: 0;
  background: color-mix(in srgb, var(--warn) 88%, #1a1a1a);
  color: #fff8ee;
  box-shadow: 0 8px 18px rgba(26, 26, 26, 0.28);
}
.frame-queue.is-run {
  background: color-mix(in srgb, var(--go) 82%, #1a1a1a);
}
.frame-queue.is-done {
  background: color-mix(in srgb, var(--go-deep) 88%, #1a1a1a);
}
.frame-queue.is-idle {
  background: color-mix(in srgb, #1a1a1a 55%, #cfc0a6);
  color: #fff8ee;
}
.frame-queue.is-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--go) 70%, #1a1a1a);
}
.frame-queue-spin {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 248, 238, 0.3);
  border-top-color: #fff8ee;
  border-radius: 50%;
  animation: frame-spin 0.7s linear infinite;
}
@keyframes frame-spin {
  to { transform: rotate(360deg); }
}
.shot-note-toggle.has-note {
  box-shadow: 0 0 0 2px var(--go);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(380px, 34vw);
  grid-gap: 0;
  gap: 0;
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.build-pills {
  position: absolute;
  left: 16px;
  bottom: 20px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.build-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(48, 48, 52, 0.94);
  color: #f7f4ee;
  font-size: 13px;
  white-space: nowrap;
  line-height: 1.2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.build-pill span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
}
.lightbox-stage {
  margin: 0;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 0;
  height: 100vh;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 52px;
}
.lightbox-preload {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
.lightbox-stage img, .lightbox-stage video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
  background: #1a1a1a;
}
.lightbox-zoom-frame {
  overflow: hidden;
  flex: 1 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.lightbox-zoom-inner {
  cursor: zoom-in;
  transform-origin: center center;
  will-change: transform;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-zoom-inner img,
.lightbox-zoom-inner video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox-zoom-frame.is-expanded .lightbox-zoom-inner {
  cursor: -webkit-grab;
  cursor: grab;
}
.lightbox-zoom-inner:has(video) { cursor: default; }
.lightbox-prompt-edit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1 1;
  overflow: auto;
}
.lightbox-prompt-pair {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  flex: 1 1;
}
.lightbox-prompt-edit label { display: flex; flex-direction: column; gap: 4px; min-height: 0; flex: 1 1; }
.lightbox-prompt-motion {
  flex: 0 0 auto !important;
  min-height: 92px;
}
.lightbox-prompt-motion textarea {
  flex: 0 0 auto !important;
  min-height: 96px;
  max-height: 160px;
}
.lightbox-prompt-edit textarea {
  width: 100%;
  flex: 1 1;
  resize: none;
  min-height: 96px;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--desk-line);
  background: var(--desk-field);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
}
.lightbox-prompt-edit textarea::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.lightbox-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  padding-top: 8px;
  margin-top: 2px;
  background: var(--desk-2);
  position: relative;
  z-index: 2;
}
.lightbox-stage figcaption {
  display: none;
}
.lightbox-x, .lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  color: #fff;
  border-radius: var(--radius-sm);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lightbox-x:hover, .lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.6);
}
.lightbox-x {
  position: relative;
  top: auto;
  right: auto;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  background: var(--glass-strong);
  border-color: var(--glass-border);
}
.lightbox-upscaled,
.frame-upscaled {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 8;
  padding: 5px 11px;
  border-radius: 999px;
  background: #111;
  border: 1px solid #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.frame-upscaled {
  top: 8px;
  left: 8px;
  font-size: 10px;
  padding: 4px 9px;
}
.frame-new,
.lightbox-new {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 8;
  padding: 4px 9px;
  border-radius: 999px;
  background: #1f6b4a;
  border: 1px solid #fff;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.lightbox-new {
  top: 16px;
  right: 16px;
  font-size: 11px;
  padding: 5px 11px;
}
.frame-open:has(.frame-upscaled) .frame-queue {
  top: 36px;
}
.lightbox-stage > .lightbox-upscaled {
  top: 16px;
  left: 64px;
  z-index: 9;
}
.lightbox-stage > .lightbox-x {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 8;
  width: 40px;
  height: 40px;
  font-size: 26px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.lightbox-stage > .lightbox-x:hover {
  background: rgba(255, 255, 255, 0.38);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.lightbox-x:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--ink);
  border-color: var(--glass-border);
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  font-size: 32px;
  z-index: 2;
}
.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }
.lightbox-rail {
  --ink: #f0ece6;
  --muted: rgba(240, 236, 230, 0.64);
  --faint: rgba(240, 236, 230, 0.42);
  --desk: #1c1b19;
  --desk-2: #141312;
  --desk-field: #2a2926;
  --desk-line: #3f3d39;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: calc(100vh - 28px);
  margin: 14px 14px 14px 0;
  overflow: hidden;
  padding: 16px 16px 18px;
  color: var(--ink);
  background: var(--desk);
  border: 1px solid var(--desk-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  z-index: 3;
}
.lightbox-rail-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.lightbox-rail-caption {
  margin: 0;
  flex: 1 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.lightbox-rail-caption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  word-break: break-all;
}
.lightbox-rail-body {
  position: relative;
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.lightbox-rail-body:has(.lightbox-rail-overlay) .lightbox-note {
  visibility: hidden;
  pointer-events: none;
}
.lightbox-rail-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  color: var(--ink);
  background: var(--desk-2);
  border: 1px solid var(--desk-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.lightbox-rail-overlay::-webkit-scrollbar { display: none; width: 0; height: 0; }
.lightbox-rail-overlay p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.lightbox-rail-overlay .kicker {
  color: var(--muted);
}
.lightbox-rail-overlay .faint {
  color: var(--muted);
}

.feed-hero { padding-top: 22px; padding-bottom: 8px; }
.feed-hero h1 { max-width: 12ch; }
.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 14px 0 0;
  flex-wrap: wrap;
}
.feed-glasses { display: flex; gap: 10px; margin-left: auto; }
.glass-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.08);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.glass-switch button {
  background: transparent;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  transition: background 0.15s ease, color 0.15s ease;
}
.glass-switch button:hover {
  background: var(--glass-strong);
  color: var(--ink);
}
.glass-switch button[data-on="true"] {
  background: rgba(26, 26, 26, 0.82);
  color: var(--paper);
}

.device-stage { display: flex; justify-content: center; padding: 8px 0 40px; }
.device {
  position: relative;
  background: #111;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(26, 26, 26, 0.22);
}
.device.laptop {
  width: min(1100px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(26, 26, 26, 0.18);
}
.device.phone {
  width: 390px;
  height: 844px;
  border-radius: 44px;
  border: 12px solid #1a1a1a;
}
.device-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 14px;
  background: rgba(244, 234, 216, 0.72);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.device-dots { display: flex; gap: 6px; }
.device-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9c8aa; display: block; }
.device-dots i:first-child { background: #c97860; }
.device-url {
  flex: 1 1;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  text-align: center;
}
.device-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 118px;
  height: 22px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 16px;
  z-index: 3;
}
.device-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 118px;
  height: 5px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  z-index: 3;
}
.device-screen { height: 100%; overflow: auto; background: #000; }
.device.laptop .device-screen { height: min(78vh, 820px); }

.ig-app { background: #000; color: #f5f5f5; min-height: 100%; font-size: 14px; }
.ig-top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-bottom: 1px solid #1c1c1c;
}
.ig-logo { font-family: "Poppins", serif; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.ig-top-phone { justify-content: space-between; padding: 28px 16px 0; height: 64px; border: 0; }
.ig-dots { letter-spacing: 2px; color: #a8a8a8; }
.ig-profile {
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-gap: 22px;
  gap: 22px;
  padding: 18px 22px 10px;
  align-items: start;
}
.ig-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #fff; }
.ig-laptop .ig-profile { grid-template-columns: 150px 1fr; padding: 28px 40px 12px; }
.ig-laptop .ig-avatar { width: 150px; height: 150px; }
.ig-id h2 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.ig-stats { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.ig-stats b { font-weight: 600; margin-right: 4px; }
.ig-bio { margin-top: 12px; line-height: 1.4; }
.ig-bio strong, .ig-bio p { display: block; margin: 0; white-space: pre-line; }
.ig-cat { color: #a8a8a8; font-size: 13px; margin: 2px 0 4px; }
.ig-followed { color: #a8a8a8; font-size: 13px; margin-top: 8px !important; }
.ig-followed b { color: #f5f5f5; font-weight: 500; }
.ig-actions { display: flex; gap: 8px; margin-top: 14px; }
.ig-actions button {
  flex: 1 1;
  background: #363636;
  border: 0;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
}
.ig-actions .ig-add { flex: 0 0 36px; }
.ig-tabs {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #1c1c1c;
  margin-top: 14px;
  color: #737373;
}
.ig-tabs span { padding: 12px 0 10px; font-size: 16px; }
.ig-tabs span[data-on="true"] { color: #f5f5f5; box-shadow: inset 0 1px 0 #f5f5f5; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 3px; gap: 3px; }
.ig-laptop .ig-grid { grid-template-columns: repeat(4, 1fr); }
.ig-tile { position: relative; aspect-ratio: 1; background: #1a1a1a; display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-tile.next { opacity: 0.42; }
.ig-tile.next em {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.65);
  padding: 3px 6px;
}
.ig-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}
.ig-empty { display: block; height: 100%; background: #222; }
.ig-dock {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 8px 22px;
  border-top: 1px solid #1c1c1c;
}
.ig-dock svg { width: 22px; height: 22px; display: block; }
.ig-dock-me img { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #fff; }

.li-app { background: #f3f2ef; color: #191919; min-height: 100%; font-size: 14px; }
.li-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}
.li-in {
  background: #0a66c2;
  color: #fff;
  font-weight: 700;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 16px;
}
.li-nav input {
  background: #eef3f8;
  border: 0;
  border-radius: 4px;
  padding: 8px 10px;
  width: 220px;
}
.li-nav nav { display: flex; gap: 16px; margin-left: auto; color: #666; font-size: 12px; }
.li-nav nav span[data-on="true"] { color: #191919; font-weight: 600; }
.li-body { display: grid; grid-template-columns: 240px 1fr; grid-gap: 16px; gap: 16px; padding: 16px; max-width: 920px; margin: 0 auto; }
.li-phone .li-body { grid-template-columns: 1fr; padding: 10px; }
.li-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.li-self { padding: 16px; text-align: center; }
.li-self img, .li-start img, .li-post header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.li-self p { color: #666; font-size: 13px; line-height: 1.4; max-height: 5.6em; overflow: hidden; }
.li-self span { color: #0a66c2; font-size: 13px; }
.li-feed { display: grid; grid-gap: 10px; gap: 10px; }
.li-start { display: flex; align-items: center; gap: 10px; padding: 12px; }
.li-start div { flex: 1 1; border: 1px solid #cfcfcf; border-radius: 999px; padding: 10px 14px; color: #666; }
.li-post header { display: flex; gap: 10px; padding: 12px 12px 0; }
.li-post header div { display: grid; }
.li-post header span { color: #666; font-size: 12px; }
.li-post p {
  padding: 8px 12px 12px;
  margin: 0;
  line-height: 1.45;
  white-space: pre-wrap;
  max-height: 8.4em;
  overflow: hidden;
}
.li-media { background: #000; display: block; }
.li-media img, .li-media video { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.li-post footer { padding: 8px 12px 12px; color: #666; font-size: 12px; }
.li-acts { display: flex; justify-content: space-between; margin-top: 8px; border-top: 1px solid #eee; padding-top: 6px; }
.li-acts button { background: none; border: 0; color: #666; cursor: default; padding: 8px; font-weight: 600; }
.li-post.next { opacity: 0.48; }
.li-next {
  background: #eef3f8;
  color: #0a66c2;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.feed-cols { align-items: start; margin-top: 8px; }
.feed-stack { display: grid; grid-gap: 18px; gap: 18px; margin-top: 12px; }
.feed-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: var(--radius);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.feed-card.next { opacity: 0.48; }
.feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.feed-head strong { display: block; font-size: 14px; }
.feed-mark { width: 32px; height: 32px; }
.feed-head .tag { margin-left: auto; }
.feed-media { position: relative; background: #cfc0a6; aspect-ratio: 4 / 5; }
.feed-media a { display: block; width: 100%; height: 100%; }
.feed-media img, .feed-media video, .feed-media a, .feed-media a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(26, 26, 26, 0.7);
  color: var(--paper);
  font-size: 12px;
  padding: 3px 7px;
}
.feed-caption {
  padding: 12px 14px 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  max-height: 8.5em;
  overflow: hidden;
}
.feed-metrics {
  display: flex;
  gap: 14px;
  padding: 0 14px 14px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.prompt {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.feed-next {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
  margin: 28px 0 0;
  padding: 16px;
  background: var(--glass);
  border: 1px dashed rgba(16, 154, 72, 0.45);
  border-radius: var(--radius);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.feed-next img { width: 88px; height: 110px; object-fit: cover; display: block; border-radius: var(--radius-sm); }
.feed-next h2 { font-size: 18px; margin: 4px 0 6px; }
.feed-next-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }

.pipe-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}
.pipe-col {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 12px;
  min-height: 280px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.pipe-col header h2 { font-size: 15px; display: inline; margin-right: 8px; }
.pipe-col header p { color: var(--muted); font-size: 12px; line-height: 1.4; margin: 8px 0 12px; font-family: Inter, sans-serif; }
.pipe-col.drop-on {
  outline: 2px dashed var(--go);
  outline-offset: -4px;
}
.pipe-card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 10px;
}
.pipe-card.can-drag { cursor: -webkit-grab; cursor: grab; }
.pipe-card.is-dragging { opacity: 0.4; }
.pipe-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; margin-bottom: 8px; border-radius: 10px; }
.pipe-card strong { display: block; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.pipe-card .icon-btn { margin-top: 8px; }

.action-lane {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 8px 12px 14px;
  margin: 16px 0 0;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.action-lane header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 6px 8px;
}
.action-lane header h2 { font-size: 16px; }
.action-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto auto auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  margin: 8px 0;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  border-radius: var(--radius-sm);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.action-row.done { opacity: 0.72; }
.action-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.action-mark svg { width: 22px; height: 22px; display: block; }
.action-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.action-body p { margin: 6px 0 0; color: var(--muted); font-size: 13px; font-family: Inter, sans-serif; }
.action-body strong { font-family: Poppins, sans-serif; font-weight: 600; }
.action-check {
  width: 22px;
  height: 22px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--go-deep);
}
.action-check.on { background: rgba(16, 154, 72, 0.12); border-color: rgba(16, 154, 72, 0.4); }
.action-go {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.action-go:hover {
  color: var(--go-deep);
  background: var(--glass);
}
.action-go:disabled {
  opacity: 0.45;
  cursor: default;
}

.job-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px 24px;
  gap: 10px 24px;
  align-items: start;
  padding: 14px 36px 14px 4px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  text-decoration: none;
}
.job-row:last-child { border-bottom: 0; }
.job-main { min-width: 0; text-decoration: none; color: inherit; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.job-title {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.job-id { margin-top: 4px; }
.job-note {
  margin-top: 6px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.job-fail { color: #b42318; }
.job-review {
  position: absolute;
  top: 10px;
  right: 2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--faint);
  text-decoration: none;
}
.job-review:hover {
  color: var(--go-deep);
  background: var(--glass);
}
.machine-blockers ul {
  margin: 0;
  padding-left: 18px;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
}

.bot-row {
  display: block;
  padding: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
.bot-row:last-child { border-bottom: 0; }
.bot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}
.bot-head::-webkit-details-marker,
.bot-head::marker { display: none; content: ""; }
.bot-head .dot { flex: 0 0 8px; }
.bot-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.bot-row strong {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.bot-chevron {
  margin-left: auto;
  color: var(--faint);
  font-size: 12px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.bot-row[open] .bot-chevron { transform: rotate(180deg); }
.bot-body { padding: 0 0 12px 20px; }
.bot-row p { margin: 4px 0 0; line-height: 1.45; }
.feed-next .ig-empty,
.feed-next img { width: 88px; height: 110px; object-fit: cover; display: block; border-radius: var(--radius-sm); }
.eta {
  margin-top: 10px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  white-space: normal;
  text-align: left;
}
.eta strong {
  display: block;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--go-deep);
  margin-bottom: 4px;
}
.eta span { color: var(--ink); }
.eta p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.eta.overdue strong { color: var(--warn); }
.eta-bar {
  display: block;
  height: 4px;
  width: min(220px, 100%);
  margin-top: 8px;
  background: rgba(26, 26, 26, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.eta-bar i {
  display: block;
  height: 100%;
  background: var(--go);
  border-radius: 99px;
}
html[data-theme="dark"] .eta-bar { background: rgba(244, 234, 216, 0.12); }
.job-meta {
  text-align: right;
  white-space: nowrap;
  font-size: 13px;
  font-family: Inter, sans-serif;
  padding-top: 2px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.icon-btn svg { width: 16px; height: 16px; display: block; }
.icon-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.icon-btn.job-pause {
  width: 26px;
  height: 26px;
  border-radius: 999px;
}

.album-actions { padding: 0 14px 14px; display: flex; gap: 8px; }
.folder-btn { font-size: 12px; padding: 6px 10px; }

.frame-pick {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
}
.stills-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}
.stills-toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.stills-toolbar-actions .btn,
.stills-toolbar-actions .icon-btn,
.stills-toolbar-actions .all-toggle-track {
  height: 28px;
  min-height: 28px;
}
.stills-toolbar-actions .btn {
  padding: 0 10px;
  font-size: 12px;
}
.stills-toolbar-actions .icon-btn {
  width: 28px;
  padding: 0;
}
.frame-marks {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.frame-marks .mark-btn { pointer-events: auto; }
.mark-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.mark-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.38);
  transform: scale(1.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.mark-btn.star[data-on="true"] { background: var(--go); color: #04140a; }
.mark-btn.bad { color: #ffd8d0; }
.mark-btn.bad[data-on="true"] { background: var(--fail); color: #fff; }
.frame-roll {
  margin-right: 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.frame.review-frame.is-just-done {
  box-shadow: 0 0 0 2px rgba(46, 207, 196, 0.95), 0 0 18px rgba(46, 207, 196, 0.45);
}
.frame.review-frame.is-starred { outline: none; }
.roll-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
}
.roll-unused {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.frame.review-frame.is-bad { opacity: 0.55; }
.frame.review-frame.picked { outline: 2px solid #f4e4c4; outline-offset: 3px; }
.frame.review-frame:focus,
.frame.review-frame:focus-visible { outline: none; }
.frame.picked { outline: none; }
.frame.review-frame.picked:focus,
.frame.review-frame.picked:focus-visible { outline: 2px solid #f4e4c4; outline-offset: 3px; }
.frame-select {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(22, 20, 18, 0.78);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
}
.frame-select input { margin: 0; width: 16px; height: 16px; accent-color: var(--go); cursor: pointer; }
.lightbox-marks {
  display: flex;
  gap: 10px;
  align-items: center;
}
.lightbox-marks .mark-btn { width: 36px; height: 36px; padding: 0; }
.lightbox-under { display: none; }
.lightbox-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 0;
}
.lightbox-rail .lightbox-tools .mark-btn {
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}
.lightbox-tools-spacer { flex: 1 1; min-width: 8px; }
.lightbox-frame-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.lightbox-frame-actions .icon-btn {
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
}
.lightbox-frame-actions .icon-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.32);
}
.trash-burst {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.trash-burst svg {
  width: 92px;
  height: 92px;
  color: #fff;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
  animation: trash-pop 0.7s ease forwards;
}
@keyframes trash-pop {
  0% { transform: scale(0.35) rotate(-18deg); opacity: 0; }
  28% { transform: scale(1.15) rotate(8deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 0; }
}
.lightbox-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: none;
}
.lightbox-chip:has(.lightbox-prompt-edit) {
  max-width: none;
}
.lightbox-chip-btn,
.lightbox-prompt-btn {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lightbox-chip-btn:hover,
.lightbox-prompt-btn:hover,
.lightbox-chip-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
}
.lightbox-chip-panel,
.lightbox-prompt-pop {
  width: 100%;
  max-height: none;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--desk);
  color: var(--ink);
  border: 1px solid var(--desk-line);
  text-shadow: none;
}
.lightbox-chip-panel::-webkit-scrollbar,
.lightbox-prompt-pop::-webkit-scrollbar { width: 0; height: 0; }
.lightbox-chip-panel p,
.lightbox-prompt-pop p {
  margin: 0 0 10px;
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 13px;
  color: var(--ink);
}
.lightbox-chip-panel .kicker,
.lightbox-prompt-pop .kicker {
  margin: 12px 0 6px;
  color: var(--muted);
}
.lightbox-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.lightbox-history li {
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-gap: 10px;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}
.lightbox-history time {
  color: var(--muted);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.desk-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 20, 18, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.desk-modal-card {
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  margin: 0;
}
.desk-modal-wide {
  width: min(920px, 100%);
}
.folder-pick-search {
  width: 100%;
  margin: 10px 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: inherit;
  font: inherit;
}
.folder-pick {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  max-height: 360px;
  overflow: auto;
  margin: 4px 0 8px;
}
.folder-pick-row {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: inherit;
  cursor: pointer;
}
.folder-pick-row:hover {
  border-color: var(--go);
}
.folder-pick-row:disabled { opacity: 0.5; cursor: default; }

.export-veil { z-index: 220; }
.finder-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 9, 8, 0.38);
}
.finder-window {
  width: min(760px, 100%);
  height: min(560px, 88vh);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: #2b2b2b;
  color: #f3f3f3;
  border: 1px solid #3d3d3d;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #202020;
  border-bottom: 1px solid #3a3a3a;
}
.finder-head strong { font-size: 13px; font-weight: 600; }
.finder-x {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}
.finder-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #323232;
  border-bottom: 1px solid #3a3a3a;
}
.finder-toolbar > button {
  width: 28px;
  height: 28px;
  border: 1px solid #4a4a4a;
  background: #3a3a3a;
  color: inherit;
  border-radius: 4px;
  cursor: pointer;
}
.finder-toolbar > button:disabled { opacity: 0.35; cursor: default; }
.finder-crumb {
  display: flex;
  min-width: 0;
  flex: 1 1;
  gap: 2px;
  overflow: auto;
  background: #1f1f1f;
  border: 1px solid #454545;
  border-radius: 4px;
  padding: 2px 4px;
}
.finder-crumb button {
  border: 0;
  background: transparent;
  color: #d8d8d8;
  font: inherit;
  font-size: 12px;
  padding: 4px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.finder-crumb button:hover { color: #fff; }
.finder-body {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 0;
}
.finder-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  overflow: auto;
  background: #252525;
  border-right: 1px solid #3a3a3a;
}
.finder-side button {
  display: flex;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.finder-side button.is-on,
.finder-side button:hover { background: #3a3a3a; }
.finder-list {
  overflow: auto;
  padding: 8px 10px 16px;
  display: grid;
  align-content: start;
  grid-gap: 2px;
  gap: 2px;
}
.finder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.finder-row:hover { background: #3d3d3d; }
.finder-row.is-on { background: #4a453c; }
.finder-folder-icon { width: 28px; height: 28px; flex-shrink: 0; }
.finder-foot {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #2f2f2f;
  border-top: 1px solid #3a3a3a;
}
.finder-folder-field {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.finder-folder-field form { display: block; }
.finder-folder-field input,
.finder-create input {
  width: 100%;
  height: 32px;
  border: 1px solid #555;
  background: #1f1f1f;
  color: #f3f3f3;
  border-radius: 4px;
  padding: 0 8px;
  font: inherit;
}
.finder-create { display: flex; gap: 8px; }
.finder-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 760px) {
  .finder-body { grid-template-columns: 1fr; }
  .finder-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid #3a3a3a; }
  .lightbox-prompt-pair { grid-template-columns: 1fr; }
}
.export-sheet {
  width: min(880px, 100%);
  max-height: min(92vh, 880px);
}
.export-sheet.is-shake {
  animation: export-shake 0.42s ease;
}
@keyframes export-shake {
  0%, 100% { transform: translateX(0); }
  16% { transform: translateX(-10px); }
  32% { transform: translateX(9px); }
  48% { transform: translateX(-6px); }
  64% { transform: translateX(5px); }
  80% { transform: translateX(-2px); }
}
.export-sheet-head { margin-bottom: 8px; }
.export-sheet-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-gap: 22px;
  gap: 22px;
  align-items: start;
}
.export-cover {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  aspect-ratio: 1;
}
.export-cover img,
.export-cover-empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.export-fields { display: grid; grid-gap: 14px; gap: 14px; }
.export-field { display: grid; grid-gap: 6px; gap: 6px; }
.export-field > span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.export-field input,
.export-jump input,
.export-create input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: inherit;
}
.export-scales {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  grid-gap: 6px;
  gap: 6px;
}
.export-custom-px {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
}
.export-custom-px input {
  width: 140px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: inherit;
}
.export-scale {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.export-scale strong { font-size: 12px; }
.export-scale em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
.export-scale.is-on,
.export-root.is-on,
.export-path.is-open {
  border-color: var(--go);
  box-shadow: inset 0 0 0 1px var(--go);
}
.export-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.export-path strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.export-path span { flex-shrink: 0; }
.export-browser {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.22);
}
.export-roots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.export-root,
.export-folder {
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: inherit;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.export-folder {
  border-radius: 10px;
  width: 100%;
  text-align: left;
}
.export-folder:hover,
.export-root:hover,
.export-scale:hover,
.export-path:hover {
  border-color: var(--go);
}
.export-jump,
.export-create {
  display: flex;
  gap: 8px;
}
.export-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
}
.export-folders {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}
.export-error { color: var(--fail); margin: 8px 0 0; }
.export-sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 760px) {
  .export-sheet-grid { grid-template-columns: 1fr; }
  .export-cover { max-width: 240px; }
  .export-scales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .export-sheet-foot { flex-direction: column; align-items: stretch; }
}
.shot-file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shot-file-chips .btn,
.shot-file-chips .btn.ghost {
  width: auto;
}
.shot-list-board {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  margin: 4px 0 8px;
  padding-right: 4px;
}
.shot-section header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.shot-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}
.shot-section label {
  display: grid;
  grid-template-columns: auto minmax(7.5rem, max-content) 1fr auto;
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  line-height: 1.3;
  padding: 4px 6px;
  border-radius: 8px;
}
.shot-section label:hover {
  background: var(--glass);
}
.shot-section code {
  font-size: 11px;
}
.shot-section em {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shot-section .shot-edit {
  opacity: 0.55;
}
.new-job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}
.new-job-preview {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
}
.mono-line {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  margin: 4px 0 0;
}
.warn-line {
  color: var(--fail);
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
}
.settings-grid { display: grid; grid-gap: 16px; gap: 16px; }
.settings-grid .glass-switch { width: max-content; }
.settings-grid label { display: grid; grid-gap: 6px; gap: 6px; font-size: 13px; color: var(--muted); font-family: Inter, sans-serif; }
.settings-grid input {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.settings-grid .set-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(26, 26, 26, 0.08); }
.howto { font-family: Inter, sans-serif; color: var(--muted); line-height: 1.55; }
.howto li { margin: 8px 0; }

.icon-fields { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px; gap: 16px; }
.icon-preview { display: flex; align-items: center; margin: 8px 0; }
.caption-read {
  white-space: pre-wrap;
  font-family: Inter, sans-serif;
  line-height: 1.55;
  margin: 8px 0 0;
}
.kicker-row { margin-bottom: 10px; }
.notes.short { min-height: 88px; }

.review-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  margin: 22px 0 20px;
  align-items: start;
}
.review-lanes:has(> :only-child) { grid-template-columns: 1fr; }
.lane-card { margin-bottom: 0; }
.lane-pill {
  padding: 0;
  overflow: hidden;
  min-height: 52px;
}
.lane-pill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: left;
  color: inherit;
}
.lane-pill-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lane-pill-head > div:first-child { min-width: 0; flex: 1 1; }
.lane-pill-copy {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.lane-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
.desk-job-block { display: grid; grid-gap: 8px; gap: 8px; position: relative; }
.desk-job-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.desk-job-row .desk-job-pill { flex: 1 1; min-width: 0; }
button.cycle-tag {
  flex-shrink: 0;
  text-transform: none;
}
.briefs-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.briefs-tools .machine-start { margin: 0; }
.add-job-btn {
  min-width: 36px;
  padding: 4px 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.queue-lanes {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  margin: 20px 0 32px;
}
.queue-job-list { display: grid; grid-gap: 2px; gap: 2px; }
.queue-lanes .desk-job-block + .desk-job-block { margin-top: 0; }
.shot-feedback-body .desk-job-block { margin: 0; }
.desk-job-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.desk-job-pill:hover { background: var(--glass-strong); }
.desk-job-name {
  flex: 1 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.desk-job-body {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 2px 12px 8px 14px;
}
.cycle-tag { cursor: pointer; }
.cycle-tag.is-on {
  border-color: var(--go);
  color: var(--go-deep);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--go) 80%, transparent);
}
.cycle-tag.is-off {
  border-color: var(--fail);
  color: var(--fail);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--fail) 80%, transparent);
}
#latest-jobs { margin-bottom: 16px; }
.lane-tag {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--go-deep);
  margin-bottom: 8px;
}
.lane-hint {
  font-family: Inter, sans-serif;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.5;
  font-size: 14px;
}
.lane-hint.tight { margin: 8px 0 10px; font-size: 13px; line-height: 1.4; }
.shot-feedback { padding: 0; overflow: hidden; }
.shot-feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: left;
  color: inherit;
}
.shot-feedback-head h2 { margin: 2px 0 0; font-size: 18px; }
.shot-feedback-head .lane-tag { margin: 0; }
.shot-feedback-chevron {
  color: var(--faint);
  font-size: 12px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.shot-feedback.is-open .shot-feedback-chevron,
.lane-pill.is-open .shot-feedback-chevron { transform: rotate(180deg); }
.shot-feedback-body {
  padding: 0 16px 14px;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  border-top: 1px solid var(--glass-border);
  padding-top: 12px;
}
.glass-switch.compact button { padding: 6px 12px; font-size: 12px; }
.hero-job-stack {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hero-job-stack .machine-start { margin-top: 0; }
.desk-power { margin-top: 18px; }
.desk-power .btn.go {
  font-size: 15px;
  padding: 10px 18px;
}
.job-card-power {
  width: 100%;
  margin: 2px 0 8px;
  justify-content: center;
}
.machine-start.compact .approve-actions { margin: 0; }
.empty-caption {
  padding: 18px;
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
}
.machine-start {
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.machine-start-copy { min-width: 0; flex: 1 1; }
.producer-critter {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  color: var(--go-deep);
}
.producer-critter .critter-fill { fill: var(--go-deep); }
.producer-critter .critter-ear { fill: var(--go-deep); opacity: 0.85; }
.producer-critter .critter-eye { fill: #1a1712; }
html[data-theme="dark"] .producer-critter .critter-eye { fill: #f4ead8; }
html[data-theme="dark"] .producer-critter .critter-eye-shut,
html[data-theme="dark"] .producer-critter .critter-mouth { stroke: #f4ead8; }
.producer-critter .critter-eye-shut {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.producer-critter .critter-mouth {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.producer-critter .critter-shadow { fill: currentColor; opacity: 0.18; }
.producer-critter .critter-zzz { fill: var(--go-deep); opacity: 0.7; }
.producer-critter .critter-tool { fill: var(--ink); }
.producer-critter.is-sleep .critter-zzz { animation: critter-float 1.8s ease-in-out infinite; }
.producer-critter.is-sleep .critter-body { animation: critter-breathe 2.8s ease-in-out infinite; }
.producer-critter.is-idle .critter-eyes { animation: critter-blink 3.2s step-end infinite; }
.producer-critter.is-work .critter-body { animation: critter-bob 0.55s ease-in-out infinite; }
.producer-critter.is-work .critter-tool { animation: critter-wiggle 0.55s ease-in-out infinite; transform-origin: 50px 30px; }
@keyframes critter-blink {
  0%, 42%, 48%, 100% { opacity: 1; }
  45% { opacity: 0; }
}
@keyframes critter-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  50% { transform: translate(2px, -4px); opacity: 0.9; }
}
@keyframes critter-breathe {
  0%, 100% { transform: translateY(1px); }
  50% { transform: translateY(-1px); }
}
@keyframes critter-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes critter-wiggle {
  0%, 100% { transform: rotate(-18deg); }
  50% { transform: rotate(-42deg); }
}

html[data-theme="dark"] {
  --paper: #161412;
  --paper-2: #1d1a16;
  --paper-3: #241f19;
  --ink: #f4ead8;
  --muted: rgba(244, 234, 216, 0.64);
  --faint: rgba(244, 234, 216, 0.42);
  --rule: rgba(255, 255, 255, 0.1);
  --go-deep: #3dce74;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(16, 154, 72, 0.16), transparent 50%),
    radial-gradient(900px 420px at 90% 0%, rgba(255, 255, 255, 0.05), transparent 46%),
    var(--paper);
}
html[data-theme="dark"] .row,
html[data-theme="dark"] .job-row,
html[data-theme="dark"] .bot-row,
html[data-theme="dark"] .settings-grid .set-row {
  border-bottom-color: rgba(244, 234, 216, 0.1);
}
html[data-theme="dark"] .job-fail,
html[data-theme="dark"] .machine-blockers ul { color: #ff8d80; }
html[data-theme="dark"] .btn {
  background: rgba(244, 234, 216, 0.1);
  color: var(--ink);
  border: 1px solid rgba(244, 234, 216, 0.32);
}
html[data-theme="dark"] .btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(244, 234, 216, 0.5);
}
html[data-theme="dark"] .btn.ghost {
  background: rgba(244, 234, 216, 0.1);
  color: var(--ink);
  border: 1px solid rgba(244, 234, 216, 0.32);
}
html[data-theme="dark"] .btn.go {
  background: color-mix(in srgb, var(--go) 48%, transparent);
  color: #fff;
}
html[data-theme="dark"] .btn.go:hover:not(:disabled) {
  background: color-mix(in srgb, var(--go) 72%, transparent);
  color: #fff;
}
html[data-theme="dark"] .icon-btn {
  color: var(--ink);
  background: rgba(244, 234, 216, 0.1);
  border-color: rgba(244, 234, 216, 0.32);
}
html[data-theme="dark"] .icon-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
}
html[data-theme="dark"] .job-card:not(.is-idle) {
  background: rgba(22, 20, 18, 0.48);
  border-color: rgba(255, 255, 255, 0.16);
}
html[data-theme="dark"] .job-card.is-idle .job-card-bar {
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .glass-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .glass-switch button { color: var(--muted); }
html[data-theme="dark"] .glass-switch button[data-on="true"] {
  background: rgba(244, 234, 216, 0.92);
  color: #161412;
}
html[data-theme="dark"] .album-cover,
html[data-theme="dark"] .frame,
html[data-theme="dark"] .frame-open,
html[data-theme="dark"] .feed-media { background: #2a241c; }

@media (max-width: 900px) {
  .grid.stats, .grid.two, .grid.cards, .grid.albums, .icon-fields, .review-lanes { grid-template-columns: 1fr; }
  .top { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 32px; }
  .pipe-board { grid-template-columns: 1fr 1fr; }
  .action-row { grid-template-columns: 36px 1fr auto auto auto auto; }
  .feed-next { grid-template-columns: 1fr; }
  .new-job-grid { grid-template-columns: 1fr; }
  .desk-modal { padding: 12px; }
  .job-meta { text-align: left; }
  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(50vh, 1fr) auto;
  }
  .lightbox-stage {
    height: auto;
    min-height: 50vh;
    padding: 8px 48px;
  }
  .lightbox-stage img, .lightbox-stage video,
  .lightbox-zoom-frame { max-height: 50vh; }
  .lightbox-rail {
    height: auto;
    max-height: 48vh;
    margin: 0 12px 12px;
  }
}

.submit-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(22, 20, 18, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: Inter, sans-serif;
  pointer-events: all;
}
.submit-overlay p,
.submit-overlay .submit-cancel {
  margin: 0;
  letter-spacing: 0.04em;
  color: #fff;
}
.progress-ring {
  position: relative;
  width: 52px;
  height: 52px;
}
.progress-ring svg { display: block; }
.progress-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.progress-ring.is-ink span { color: var(--ink); }
.submit-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  border-radius: 50%;
  animation: submit-spin 0.8s linear infinite;
}
@keyframes submit-spin { to { transform: rotate(360deg); } }
.submit-check {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: submit-pop 0.32s ease;
  color: #fff;
}
.submit-check svg { display: block; }
@keyframes submit-pop {
  from { transform: scale(0.72); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.submit-cancel {
  margin-top: 2px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.submit-cancel:hover {
  background: rgba(255, 255, 255, 0.38);
}
.page-loading {
  min-height: 18vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  font-family: Inter, sans-serif;
}
.page-loading p { margin: 0; color: inherit; }
html[data-theme="dark"] .page-loading,
html[data-theme="dark"] .progress-ring.is-ink span {
  color: #fff;
}

.album-hero-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.album-hero-tag { text-transform: none; letter-spacing: 0.02em; font-weight: 650; }
.album-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.album-title-row h1 { max-width: none; margin: 0; }
.album-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}
.album-attachment {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: inherit;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-attachment:hover { border-color: var(--line, #c9c1b4); }
.album-queue-line {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.album-queue-line.is-none { color: var(--muted); font-weight: 500; }
.album-queue-line.is-queued { color: var(--go-deep); }
.album-queue-line.is-running { color: var(--go); }
.album-card .album-queue-line {
  margin: 4px 0 8px;
  font-size: 12px;
}
.queue-drag-handle {
  flex-shrink: 0;
  width: 14px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: -2px;
  cursor: -webkit-grab;
  cursor: grab;
}
.desk-job-block.is-reorderable { touch-action: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.desk-job-block.is-dragging { opacity: 0.45; cursor: -webkit-grabbing; cursor: grabbing; }
.desk-job-block.is-picked .desk-job-pill {
  box-shadow: 0 0 0 1px rgba(244, 228, 196, 0.75);
}
.desk-job-block.is-dragging .queue-drag-handle { cursor: -webkit-grabbing; cursor: grabbing; }
.desk-job-block.is-drop-before::before,
.desk-job-block.is-drop-after::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 3px;
  background: #f4e4c4;
  border-radius: 999px;
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 0 10px 2px rgba(244, 228, 196, 0.85);
}
.desk-job-block.is-drop-before::before { top: -3px; }
.desk-job-block.is-drop-after::after { bottom: -3px; }
.desk-job-block.is-drop-before::after,
.desk-job-block.is-drop-after::before {
  content: "";
  position: absolute;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--go);
  pointer-events: none;
  z-index: 5;
}
.desk-job-block.is-drop-before::after { top: -6px; }
.desk-job-block.is-drop-after::before { bottom: -6px; }
.album-folder-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-top: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 999px;
}
.album-folder-arrow svg { width: 22px; height: 22px; display: block; }
.album-folder-arrow:hover { background: var(--glass-strong); }
.album-concept {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin-top: 16px;
  max-width: 72ch;
}
.album-concept h3 {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--go-deep);
}
.album-concept p { margin: 0; line-height: 1.55; }
.album-toolbar {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.album-toolbar .btn,
.album-toolbar .cycle-tag,
.album-toolbar .icon-btn {
  height: 36px;
  min-height: 36px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.album-toolbar .btn,
.album-toolbar .cycle-tag {
  padding: 0 14px;
}
.album-toolbar .icon-btn {
  width: 36px;
  padding: 0;
}
.album-toolbar .posted-control {
  gap: 8px;
  flex-wrap: nowrap;
}
.album-mode-switch { width: 100%; display: flex; }
.album-mode-switch button { flex: 1 1; }
.album-feedback-row { display: grid; grid-gap: 10px; gap: 10px; }
.album-feedback-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.frost-file {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 13px;
  overflow: hidden;
}
.frost-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.frost-file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 42ch;
}
.all-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.all-toggle:disabled { opacity: 0.4; cursor: default; }
.all-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 28px;
  border-radius: 999px;
  background: #c8c8c8;
  box-shadow: inset 0 1px 3px rgba(26, 26, 26, 0.16);
  overflow: hidden;
}
.all-toggle.is-on .all-toggle-track { background: #62d15f; }
.all-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(26, 26, 26, 0.2);
  transition: transform 0.18s ease;
  z-index: 1;
}
.all-toggle.is-on .all-toggle-knob { transform: translateX(28px); }
.all-toggle-label {
  width: 100%;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 16px;
}
.all-toggle.is-on .all-toggle-label { padding-left: 0; padding-right: 16px; }
.figma-btn {
  background: var(--glass-strong);
}

@media (max-width: 980px) {
  .grid.frames.review-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid.frames.review-frames { grid-template-columns: 1fr; }
}

.append-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: max-content;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.append-pill.is-on,
.append-master.is-on {
  border-color: rgba(201, 162, 74, 0.55);
  background: rgba(201, 162, 74, 0.28);
}
.append-master { letter-spacing: 0.02em; }
.prompt-append { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.append-drawer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 18, 16, 0.45);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}
.append-head {
  background: none;
  border: 0;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  padding: 2px 0;
}
.append-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.append-hint { margin: 0; font-size: 11px; opacity: 0.7; line-height: 1.4; }
.new-pass-card {
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.new-pass-head { display: flex; justify-content: space-between; align-items: center; }
.new-pass-card textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px;
}
.new-pass-card .lightbox-prompt-actions .btn { width: auto; }
.pill-edit { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.pill-edit-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-edit-row input, .pill-edit-row select { flex: 1 1; min-width: 120px; }
.stills-toolbar-actions .append-pill { height: 28px; }

.produced { margin: 20px 0 8px; }
.produced-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-top: 12px;
  overflow: hidden;
}
.produced-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  overflow: hidden;
}
.produced-card img,
.produced-blank {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
  background: color-mix(in srgb, var(--ink) 8%, var(--glass));
}
.produced-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 10px;
}
.produced-meta strong {
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.produced-meta em {
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
}

.desk-actions { margin: 18px 0 8px; }
.desk-actions-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}
.desk-actions-col header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.desk-actions-col h3 { margin: 0; font-size: 15px; }
.desk-action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 0;
  border-top: 1px solid var(--glass-border);
}
.desk-action img,
.desk-action-blank {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--ink) 8%, var(--glass));
}
.desk-action span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.desk-action strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desk-action em {
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
}
@media (max-width: 720px) {
  .desk-actions-cols { grid-template-columns: 1fr; }
}

.frame-stamp {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.lightbox-rail-caption .frame-stamp {
  margin-top: 2px;
  color: var(--faint);
  word-break: normal;
}

.job-card-show {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 90;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(26, 26, 28, 0.52);
  color: #f4f4f5;
  cursor: pointer;
  -webkit-backdrop-filter: var(--blur);
          backdrop-filter: var(--blur);
}
.job-card-show svg { width: 18px; height: 18px; }
.job-card-show:hover { background: rgba(26, 26, 28, 0.72); }

.album-ctx-hit { display: contents; }
.job-ctx {
  position: fixed;
  z-index: 240;
  min-width: 196px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(26, 26, 28, 0.92);
  color: #f4f4f5;
  box-shadow: var(--shadow);
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}
.job-ctx button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}
.job-ctx button:hover { background: rgba(255, 255, 255, 0.1); }
.job-ctx button.is-danger { color: #f0b4b4; }
.job-ctx button.is-current { background: rgba(255, 255, 255, 0.12); }
.job-ctx-gap {
  height: 1px;
  margin: 4px 6px;
  background: rgba(255, 255, 255, 0.1);
}
.job-ctx-fly {
  position: relative;
}
.job-ctx-fly-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.job-ctx-caret {
  opacity: 0.55;
  font-size: 16px;
  line-height: 1;
}
.job-ctx-sub {
  position: absolute;
  top: -6px;
  left: calc(100% - 10px);
  min-width: 148px;
  padding: 6px 6px 6px 16px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(26, 26, 28, 0.94);
  box-shadow: var(--shadow);
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  z-index: 1;
}
.album-ctx.opens-left .job-ctx-sub {
  left: auto;
  right: calc(100% - 10px);
  padding: 6px 16px 6px 6px;
}
.video-mode-pop {
  position: fixed;
  z-index: 240;
  min-width: 240px;
  pointer-events: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(26, 26, 28, 0.96);
  box-shadow: var(--shadow);
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}
.video-mode-count {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #f4f4f5;
}
.video-mode-pop button {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  text-align: left;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
}
.video-mode-pop button:hover { background: rgba(255, 255, 255, 0.1); }
.video-mode-pop button small {
  display: block;
  opacity: 0.55;
  font-size: 11px;
  font-weight: 400;
}
.video-mode-custom {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 8px 10px 10px;
  color: inherit;
}
.video-mode-custom span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.video-mode-custom textarea {
  width: 100%;
  resize: vertical;
  min-height: 64px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
}
.video-mode-custom button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.frame-motion-tag.is-looping,
.frame-motion-tag.is-dynamic,
.frame-motion-tag.is-custom {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #fff;
  letter-spacing: 0.08em;
}
.frame-motion-tag.is-dynamic { border-color: rgba(120, 210, 190, 0.7); }
.frame-motion-tag.is-custom { border-color: rgba(232, 184, 96, 0.75); }
.frame-motion-tag {
  display: inline-block;
  padding: 1px 6px;
  margin-right: 2px;
  border-radius: 999px;
  background: rgba(16, 154, 72, 0.16);
  color: var(--go-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.album-archived-block {
  margin-top: 36px;
}
.album-archived-block .section-head {
  margin-bottom: 14px;
}

.cal-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px;
}
.cal-month {
  margin: 0;
  flex: 1 1;
  font-size: 20px;
  font-family: Poppins, sans-serif;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}
.cal-dow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 6px;
}
.cal-cell {
  min-height: 118px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-cell.is-pad { background: transparent; border-color: transparent; }
.cal-cell.is-today { outline: 2px solid var(--go); }
.cal-day { font-size: 12px; font-weight: 650; }
.cal-posts { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cal-post {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px;
  border-radius: 10px;
  background: var(--glass-strong);
  font-size: 11px;
  line-height: 1.25;
}
.cal-post img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.cal-post span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cal-post.is-live { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--go) 50%, transparent); }
.cal-post.is-overdue { outline: 1px solid #c45c5c; }
.cal-undated { margin-top: 28px; }
.cal-undated h3 { margin: 0 0 10px; font-size: 14px; }
.cal-undated-list { display: flex; flex-wrap: wrap; gap: 8px; }

.produced { margin: 20px 0 8px; }
.produced-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-top: 12px;
  overflow: hidden;
}
.produced-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.produced-card img,
.produced-blank {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
  background: color-mix(in srgb, var(--ink) 8%, var(--glass));
}
.produced-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 10px;
}
.produced-meta strong {
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.produced-meta em {
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
}

.desk-actions { margin: 18px 0 8px; }
.desk-actions-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}
.desk-actions-col header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.desk-actions-col h3 { margin: 0; font-size: 15px; }
.desk-action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 0;
  border-top: 1px solid var(--glass-border);
  text-decoration: none;
  color: inherit;
}
.desk-action img,
.desk-action-blank {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--ink) 8%, var(--glass));
}
.desk-action span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.desk-action strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desk-action em {
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
}
@media (max-width: 720px) {
  .desk-actions-cols { grid-template-columns: 1fr; }
}

.unseen-card { cursor: zoom-in; }
.unseen-card .frame-open { position: relative; }
.unseen-card .frame-status {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}
.unseen-card figcaption strong {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.unseen-album { text-decoration: none; display: inline-flex; align-items: center; }
.unseen-note { font-size: 12px; align-self: center; flex-basis: 100%; }


