:root {
  color-scheme: dark;
  --bg: #202020;
  --panel: #303231;
  --panel-soft: #3a3c3b;
  --line: #555856;
  --text: #eeeeea;
  --muted: #b9bbb5;
  --dim: #858983;
  --cyan: #00c9d8;
  --yellow: #ffb000;
  --orange: #ff8a00;
  --green: #7bd88f;
  --red: #ff5f4a;
  --black: #111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1080px;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

.guide-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.guide-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 6px 10px;
  background: #b9bdb7;
  color: #050505;
  border-bottom: 1px solid #101010;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 172px;
  color: inherit;
  text-decoration: none;
}

.brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #0d0e0e;
  border-radius: 9px;
  background:
    linear-gradient(180deg, #242725 0%, #171918 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.34);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.brand strong {
  font-size: 14px;
}

.guide-controls {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1fr);
  gap: 6px;
  align-items: end;
}

.language-toggle-button {
  display: grid;
  place-items: center;
  width: 64px;
  min-width: 64px;
  height: 28px;
  padding: 0;
  border: 1px solid #151515;
  background: #2f3331;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28);
}

.language-toggle-button[data-locale-target="ko"] {
  background: #c72525;
  color: #fff;
}

.language-toggle-button[data-locale-target="en"] {
  background: #1f5ecb;
  color: #fff;
}

.language-toggle-button:hover {
  filter: brightness(1.1);
}

.guide-command-panel {
  grid-area: command;
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(480px, 0.54fr);
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-bottom: 1px solid #101010;
  border-left: 1px solid var(--line);
  background: #1d1f1e;
}

.filter-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.guide-view-controls {
  display: grid;
  grid-template-columns: auto minmax(92px, 1fr);
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #4d514f;
  background: #202221;
}

.recipe-filter-block {
  display: none;
}

body[data-view-mode="production"] .role-filter-block,
body[data-view-mode="guide"] .stage-filter-block,
body[data-view-mode="videos"] .stage-filter-block {
  display: none;
}

body[data-view-mode="production"] .stage-filter-block,
body[data-view-mode="guide"] .role-filter-block,
body[data-view-mode="videos"] .role-filter-block {
  display: block;
}

.filter-block {
  min-width: 0;
  padding: 6px 8px 7px;
  background: #242625;
  border: 1px solid #3d403e;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.filter-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-head button,
.panel-clear {
  height: 22px;
  padding: 0 7px;
  border: 1px solid #4d514f;
  background: #151615;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.filter-chips {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding-bottom: 1px;
}

.filter-chips button {
  flex: 0 0 auto;
  min-height: 22px;
  max-width: 180px;
  padding: 2px 7px;
  border: 1px solid #4d514f;
  background: #191a19;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-chips button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}

label {
  display: grid;
  gap: 3px;
}

label span {
  color: #202020;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

select,
input {
  height: 28px;
  width: 100%;
  border: 1px solid #202020;
  border-radius: 0;
  background: #e7e9e3;
  color: #000;
  padding: 0 8px;
  font-weight: 700;
}

.guide-layout {
  display: grid;
  grid-template-columns: 310px minmax(560px, 1fr) 320px;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "devices command command"
    "devices guide tips";
  height: calc(100vh - 51px);
  min-height: 0;
}

body[data-view-mode="production"] .guide-layout {
  grid-template-columns: 310px minmax(0, 1fr);
  grid-template-areas:
    "devices command"
    "devices guide";
}

body[data-view-mode="production"] .tips-panel {
  display: none;
}

.device-list-panel,
.tips-panel,
.device-guide {
  min-height: 0;
  overflow: auto;
  border-right: 1px solid var(--line);
}

.device-list-panel {
  grid-area: devices;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #333534;
  color: #f2f3ed;
}

.tips-panel {
  grid-area: tips;
  border-right: 0;
  border-left: 1px solid var(--line);
  background: #333534;
  color: #f2f3ed;
}

.panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 10px;
  background: #2d2f2e;
  border-bottom: 1px solid #464a48;
}

.panel-head span {
  color: #c4c9c2;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-head strong {
  color: var(--yellow);
  font-size: 12px;
}

.coverage-line {
  padding: 5px 8px;
  border-bottom: 1px solid #464a48;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.device-search-label {
  display: grid;
  gap: 3px;
  padding: 6px;
  border-bottom: 1px solid #464a48;
  background: #303231;
}

.device-search-label span {
  color: #c4c9c2;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.device-search-label input {
  width: 100%;
  height: 26px;
  border: 1px solid #565b58;
  background: #222423;
  color: #f2f3ed;
  padding: 0 8px;
  outline: none;
}

.device-search-label input:focus {
  border-color: var(--cyan);
}

mark {
  background: rgba(130, 210, 220, 0.28);
  color: inherit;
  padding: 0 1px;
  box-shadow: inset 0 -0.35em rgba(130, 210, 220, 0.22);
}

.type-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 6px;
  border-bottom: 1px solid #464a48;
}

.type-tabs button,
.device-row,
.recipe-card,
.tip-card,
.topic-card {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.device-list-panel .type-tabs button,
.device-list-panel .device-row,
.tips-panel .tip-card,
.tips-panel .topic-card,
.tips-panel .device-focus-card,
.tips-panel .side-empty {
  border-color: #545957;
  background: #2f3231;
  color: #f2f3ed;
}

.type-tabs button {
  height: 26px;
  padding: 0 6px;
  cursor: pointer;
  font-weight: 800;
}

.type-tabs button.active {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

.device-list {
  display: grid;
  gap: 3px;
  flex: 1;
  min-height: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: none;
  border-top: 1px solid #464a48;
}

.device-row {
  display: grid;
  gap: 2px;
  min-height: 39px;
  padding: 7px 8px;
  text-align: left;
  cursor: pointer;
}

.device-row.active {
  border-color: var(--cyan);
  box-shadow: inset 4px 0 0 var(--cyan);
}

.device-row strong {
  color: var(--yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.device-row span {
  color: #d8ddd5;
  font-size: 11px;
}

.device-guide {
  grid-area: guide;
  padding: 10px;
  background: #1b1d1c;
}

.mode-header {
  margin: 0 0 8px;
  border: 1px solid #4d514f;
  background: #202221;
}

.mode-header .content-tabs {
  margin: 0;
  padding: 7px 8px;
  border-bottom: 1px solid #3f4240;
}

.mode-header .device-title {
  padding: 8px 10px 10px;
  border-bottom: 0;
}

.content-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.content-tabs button {
  height: 26px;
  padding: 0 10px;
  border: 1px solid #4d514f;
  background: #171817;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.content-tabs button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}

.primary-view-tabs {
  align-self: stretch;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.primary-view-tabs button {
  height: 38px;
  min-width: 118px;
  padding: 0 16px;
  border-color: #5b605d;
  background: #171817;
  color: #f2f3ed;
  font-size: 15px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

.primary-view-tabs button.active {
  background: var(--yellow);
  color: #000;
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 176, 0, 0.3);
}

.primary-view-tabs button:hover {
  border-color: var(--yellow);
}

.guide-section-toggle-panel {
  display: grid;
  align-self: center;
  justify-self: start;
  min-width: 116px;
  gap: 3px;
}

.guide-section-toggle-panel[hidden] {
  display: none;
}

.guide-section-toggle-panel > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.guide-section-toggle-panel div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.guide-section-toggle-panel button {
  height: 18px;
  padding: 0 7px;
  border: 1px solid #4d514f;
  background: #171817;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}

.guide-section-toggle-panel button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}

.device-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.device-title h1 {
  margin: 0 0 3px;
  color: var(--yellow);
  font-size: 27px;
  line-height: 1;
}

.device-title p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 13px;
}

.current-focus-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 8px;
  border: 1px solid #454946;
  background: #454946;
}

.current-focus-strip div {
  min-width: 0;
  padding: 7px 9px;
  background: #111;
}

.current-focus-strip span {
  display: block;
  margin-bottom: 3px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.current-focus-strip strong {
  display: block;
  overflow: hidden;
  color: var(--cyan);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-badge {
  display: grid;
  gap: 3px;
  min-width: 108px;
  padding: 6px;
  background: #111;
  border: 1px solid var(--line);
  text-align: right;
}

.source-badge span {
  color: var(--dim);
  font-size: 10px;
  text-transform: uppercase;
}

.source-badge strong {
  color: var(--yellow);
}

.learning-evidence-panel {
  margin: 8px 0 10px;
  border: 1px solid var(--yellow);
  background: #171817;
}

.evidence-title {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  border-bottom: 1px solid #5d5340;
  background: #24211a;
}

.evidence-title span,
.evidence-block span {
  display: block;
  margin-bottom: 3px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.evidence-title strong,
.evidence-block strong {
  color: var(--text);
  font-size: 14px;
}

.evidence-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1px;
  background: #444741;
}

.evidence-block {
  min-width: 0;
  padding: 7px 9px;
  background: #252725;
}

.evidence-mini-stats,
.evidence-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.evidence-mini-stats span,
.evidence-token-row span,
.evidence-token-row em {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #4d514f;
  background: #111;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.evidence-mini-stats b {
  margin-right: 4px;
  color: var(--yellow);
}

.guidebook-lessons {
  margin: 8px 0 12px;
}

.unified-lessons {
  margin: 8px 0 12px;
  padding: 8px;
  border: 1px solid #454946;
  background: #181a19;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 8px;
}

.lesson-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 9px;
  border: 1px solid #5b5f5b;
  background: #111312;
}

.lesson-card h2 {
  margin: 0;
  color: var(--yellow);
  font-size: 16px;
  line-height: 1.2;
}

.lesson-objective {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 7px;
  align-items: center;
  padding: 6px 7px;
  border: 1px solid #39443f;
  background: #0d0e0d;
}

.lesson-objective span,
.lesson-checks span {
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lesson-objective strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.3;
}

.lesson-steps {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-steps li {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(150px, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 26px;
  padding: 5px 7px;
  border: 1px solid #353835;
  background: #0d0e0d;
}

.lesson-steps b {
  color: var(--text);
  font-size: 12px;
}

.lesson-steps strong {
  color: var(--cyan);
  font-size: 12px;
  text-align: right;
}

.lesson-steps em {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  line-height: 1.3;
}

.lesson-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.lesson-checks div {
  display: grid;
  gap: 3px;
  padding: 6px 7px;
  border: 1px solid #39443f;
  background: #111;
}

.lesson-checks div:last-child {
  border-color: #454545;
  background: #181918;
}

.lesson-checks strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.guidebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 8px;
}

.guidebook-card {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid #5b5f5b;
  background: #161716;
}

.guidebook-card h2 {
  margin: 0;
  color: var(--yellow);
  font-size: 16px;
  line-height: 1.2;
}

.guidebook-steps {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guidebook-steps li {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(130px, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 24px;
  padding: 4px 6px;
  border: 1px solid #353835;
  background: #0d0e0d;
}

.guidebook-steps b {
  color: var(--text);
  font-size: 12px;
}

.guidebook-steps strong {
  color: var(--cyan);
  font-size: 12px;
  text-align: right;
}

.guidebook-result {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid #39443f;
  background: #111;
}

.guidebook-result.muted {
  border-color: #454545;
  background: #181918;
}

.guidebook-result span,
.guidebook-foot span {
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.guidebook-result strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.guidebook-foot {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.video-manual-lessons {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.video-manual-card {
  background: #141817;
  border-color: #394b48;
}

.video-manual-card h2 {
  color: var(--cyan);
}

.video-manual-grid {
  grid-template-columns: minmax(0, 1fr);
}

.video-manual-chapters li {
  grid-template-columns: minmax(160px, 1fr) minmax(96px, auto);
}

.video-manual-procedure-card {
  gap: 7px;
  overflow: hidden;
}

.video-manual-objective {
  padding: 7px;
  border: 1px solid #31585d;
  background: #101313;
}

.video-manual-objective span,
.video-manual-device-moves > header {
  display: block;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-manual-objective strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.video-manual-procedure {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-manual-procedure li {
  display: grid;
  grid-template-columns: 66px minmax(96px, 0.7fr) minmax(150px, 1.2fr) minmax(120px, 0.85fr) minmax(140px, 1fr);
  gap: 5px;
  align-items: start;
  padding: 5px;
  border: 1px solid #303735;
  background: #111312;
  min-width: 0;
}

.video-manual-procedure b {
  color: var(--yellow);
  font-size: 10px;
}

.video-manual-procedure strong {
  color: var(--text);
  font-size: 12px;
}

.video-manual-procedure p,
.video-manual-procedure em,
.video-manual-procedure small {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.video-manual-procedure em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

.video-manual-procedure small {
  color: var(--green);
}

.video-manual-device-moves {
  display: grid;
  gap: 5px;
}

.video-manual-device-moves > div {
  padding: 6px;
  border: 1px solid #3f4542;
  background: #151817;
}

.video-manual-device-moves h3 {
  margin: 0;
  color: var(--cyan);
  font-size: 14px;
}

.video-manual-device-moves p {
  margin: 3px 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.video-manual-device-moves ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-manual-device-moves li {
  display: grid;
  grid-template-columns: minmax(82px, 0.75fr) minmax(110px, 0.9fr) minmax(140px, 1.2fr);
  gap: 6px;
  padding: 5px;
  background: #101110;
  min-width: 0;
}

.video-manual-device-moves b {
  color: var(--text);
}

.video-manual-device-moves strong {
  color: var(--yellow);
}

.video-manual-device-moves em {
  color: var(--green);
  font-style: normal;
  overflow-wrap: anywhere;
}

.video-manual-hear-stop {
  margin-top: 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.quick-box {
  min-height: 82px;
  padding: 8px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.quick-box span,
.recipe-card span,
.tip-card span,
.topic-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-box strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.recipe-card-merged {
  border-color: #77704d;
}

.merge-summary {
  display: grid;
  gap: 4px;
  margin: 7px 0 10px;
  padding: 7px 8px;
  border: 1px solid #4d514f;
  background: #141514;
}

.merge-summary strong {
  color: var(--yellow);
  font-size: 12px;
}

.merge-summary span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: none;
}

.variant-list {
  display: grid;
  gap: 5px;
  margin: 8px 0 10px;
}

.variant-list span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 25px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid #3d403d;
  background: #191a19;
  color: var(--muted);
  font-size: 11px;
  text-transform: none;
}

.variant-list b {
  color: var(--text);
}

.variant-list em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.chip-row,
.manual-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 7px 0 10px;
}

.chip-row span,
.manual-list span {
  padding: 4px 7px;
  background: #191a19;
  border: 1px solid var(--line);
  color: var(--muted);
}

.manual-list span:first-child {
  border-color: var(--yellow);
  color: var(--yellow);
}

.video-shelf {
  margin: 12px 0 16px;
}

.mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-heading strong {
  color: var(--yellow);
}

.video-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 8px;
}

.video-shelf-tabs .video-row {
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
}

.video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.video-tabs button {
  height: 28px;
  padding: 0 9px;
  border: 1px solid #4d514f;
  background: #202020;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.video-tabs button small {
  margin-left: 4px;
  color: inherit;
  opacity: 0.72;
}

.video-tabs button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}

.video-empty {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px solid var(--line);
  background: #191a19;
  color: var(--muted);
}

.video-pip {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 10px;
  min-height: 130px;
  padding: 8px;
  background: #111;
  border: 1px solid #4d514f;
  overflow: hidden;
}

.video-pip.is-watched {
  border-color: #79c7d4;
  background: #20363b;
}

.video-frame {
  min-width: 0;
}

.video-thumb-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.video-thumb-link:hover img {
  border-color: var(--cyan);
  filter: brightness(1.08);
}

.video-pip img,
.video-pip iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border: 1px solid #333;
}

.video-pip iframe {
  display: block;
  border: 0;
}

.video-pip div {
  min-width: 0;
}

.video-pip span {
  display: block;
  margin: 0 0 2px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.video-watch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 22px;
  padding: 0 6px;
  border: 1px solid #4d514f;
  background: #181a19;
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.video-watch:hover {
  border-color: var(--cyan);
  color: var(--text);
}

.video-watch i {
  width: 12px;
  height: 12px;
  border: 1px solid #737873;
  background: #0c0d0d;
}

.video-watch.active {
  border-color: #79c7d4;
  background: #173038;
  color: #d7f9ff;
}

.video-watch.active i {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: inset 0 0 0 2px #101211;
}

.video-watch b {
  color: inherit;
  font-size: 10px;
}

.video-pip strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.25;
}

.video-meta {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.video-actions button,
.video-actions a {
  height: 24px;
  padding: 3px 7px;
  border: 1px solid #4d514f;
  background: #202020;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.video-actions button:disabled {
  color: var(--dim);
  cursor: default;
}

.video-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.72);
}

.video-preview-overlay[hidden] {
  display: none;
}

.video-preview-panel {
  position: relative;
  width: min(1120px, calc(100vw - 64px));
  max-height: calc(100vh - 64px);
  padding: 14px;
  border: 1px solid #767a76;
  background: #161817;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.55);
}

.video-preview-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #000;
  background: var(--yellow);
  color: #000;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.video-preview-title {
  display: block;
  max-width: calc(100% - 36px);
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.video-preview-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: min(630px, calc(100vh - 150px));
  border: 0;
  background: #000;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.recipe-card {
  display: grid;
  gap: 8px;
  padding: 9px;
  min-height: 0;
}

.recipe-card h2 {
  margin: 0;
  color: var(--yellow);
  font-size: 16px;
  line-height: 1.2;
}

.recipe-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.recipe-card em {
  color: var(--green);
  font-style: normal;
  font-size: 14px;
}

.recipe-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.control-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 6px;
  border: 1px solid #31585d;
  background: #111;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.objective-line {
  display: grid;
  grid-template-columns: minmax(92px, auto) 1fr;
  gap: 5px 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid #31585d;
  background: #101111;
}

.objective-line span {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.objective-line strong {
  min-width: 0;
  color: var(--yellow);
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.objective-line small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.move-stack {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: move;
}

.move-stack li {
  counter-increment: move;
  display: grid;
  gap: 6px;
  align-items: center;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid #303330;
  background: #171817;
}

.move-stack li.has-motion {
  grid-template-columns: 22px minmax(96px, 0.85fr) minmax(132px, 1fr);
  align-items: start;
}

.move-stack li.no-motion {
  grid-template-columns: 22px minmax(96px, 0.85fr) minmax(132px, 1fr);
}

.move-stack li::before {
  content: counter(move);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  color: #050505;
  font-size: 11px;
  font-weight: 900;
}

.move-stack b {
  min-width: 0;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.move-stack li.has-motion b {
  grid-column: 2 / -1;
}

.move-stack li.has-motion .control-motion {
  grid-column: 2;
}

.move-stack li.has-motion .control-target {
  grid-column: 3;
}

.move-stack strong {
  min-width: 0;
  color: var(--cyan);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.control-motion {
  min-width: 0;
  border: 1px solid #31585d;
  background: #0f1111;
  padding: 5px 6px;
  overflow: hidden;
}

.motion-head {
  display: grid;
  grid-template-columns: minmax(42px, auto) 1fr;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 3px;
}

.motion-head span {
  color: var(--text);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.motion-head b {
  min-width: 0;
  color: var(--yellow);
  font-size: 10px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motion-knob-stack {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.motion-knob {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid #171a19;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #424744 0 45%, transparent 47%),
    conic-gradient(from 220deg, var(--cyan) 0 28deg, #1b1f1e 29deg 305deg, transparent 306deg);
  box-shadow: inset 0 0 0 1px #5a5e5b;
}

.motion-knob i {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 13px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--cyan);
  transform-origin: 50% 13px;
  animation: motionKnobSweep 1.8s ease-in-out infinite;
}

.motion-knob-svg {
  display: block;
  width: 42px;
  height: 42px;
}

.motion-knob-body {
  fill: #3f4542;
  stroke: #111;
  stroke-width: 3;
}

.motion-knob-arc {
  fill: none;
  stroke: #1b1f1e;
  stroke-width: 4;
}

.motion-knob-pointer {
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
}

.motion-scale {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.control-motion svg {
  display: block;
  width: 100%;
  height: 44px;
  background: #111313;
}

.motion-grid {
  fill: none;
  stroke: #343837;
  stroke-width: 1;
}

.env-path,
.filter-curve {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}

.env-path-next {
  stroke: var(--yellow);
  opacity: 0.58;
  animation: motionFade 1.8s ease-in-out infinite;
}

.env-dot,
.filter-dot {
  fill: var(--yellow);
  stroke: #0b0c0c;
  stroke-width: 1;
}

.choice-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 30px;
  align-items: end;
}

.choice-strip i {
  display: block;
  height: 17px;
  border: 1px solid #454a48;
  background: #202321;
}

.choice-strip i:nth-child(2) {
  height: 25px;
  background: var(--yellow);
  animation: choicePulse 1.8s ease-in-out infinite;
}

.control-target {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid #3b3f3c;
  background: #101110;
  color: var(--yellow);
}

.control-target span {
  display: block;
  color: var(--dim);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.control-target i {
  min-width: 0;
  color: var(--yellow);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

@keyframes motionKnobSweep {
  0%,
  100% {
    transform: rotate(var(--from-angle));
  }
  52% {
    transform: rotate(var(--to-angle));
  }
}

@keyframes motionFade {
  0%,
  100% {
    opacity: 0.25;
  }
  52% {
    opacity: 0.9;
  }
}

@keyframes choicePulse {
  0%,
  100% {
    filter: brightness(0.75);
  }
  52% {
    filter: brightness(1.25);
  }
}

.reference-line {
  display: grid;
  gap: 3px;
  padding: 7px 8px;
  border: 1px solid #4d514f;
  background: #151615;
}

.reference-line span {
  margin: 0;
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-line strong {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.tag-cloud span {
  margin: 0;
  padding: 3px 6px;
  border: 1px solid #464947;
  background: #191a19;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
  text-transform: none;
}

.tag-cloud span.primary {
  border-color: #31585d;
  color: var(--cyan);
}

.add-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.add-list b {
  padding: 3px 5px;
  background: #151615;
  color: var(--cyan);
  border: 1px solid #31585d;
  font-size: 11px;
}

.topic-list,
.tip-list {
  display: grid;
  gap: 8px;
  padding: 8px;
}

.topic-card,
.tip-card {
  padding: 11px;
}

.topic-card strong,
.tip-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--yellow);
}

.topic-card p,
.tip-card p {
  margin: 0 0 6px;
  color: #e0e4dc;
  font-size: 13px;
  line-height: 1.4;
}

.tip-card em {
  display: block;
  color: var(--green);
  font-style: normal;
}

.device-focus-card,
.side-empty {
  border: 1px solid var(--line);
  background: #191b1a;
  padding: 11px;
}

.device-focus-card span,
.side-empty span {
  display: block;
  color: #d8ddd5;
  font-size: 12px;
  line-height: 1.35;
}

.device-focus-card strong,
.side-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
}

.device-focus-card p {
  margin: 0 0 8px;
  color: #f1f3ee;
  font-size: 12px;
  line-height: 1.35;
}

.device-focus-moves {
  display: grid;
  gap: 3px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.device-focus-moves li {
  display: grid;
  grid-template-columns: minmax(74px, 0.35fr) 1fr;
  gap: 6px;
  align-items: start;
  padding: 5px 6px;
  background: #101111;
  border-left: 2px solid var(--cyan);
}

.device-focus-card .device-focus-moves b {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: 10px;
}

.device-focus-card .device-focus-moves span {
  color: #f1f3ee;
  font-size: 11px;
  line-height: 1.3;
}

.device-focus-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.device-focus-card b {
  padding: 2px 5px;
  border: 1px solid #3f4542;
  background: #101111;
  color: var(--yellow);
  font-size: 10px;
}

.device-focus-card em {
  display: block;
  margin-top: 7px;
  color: #cfd5cc;
  font-style: normal;
  font-size: 11px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--panel);
}

.production-title h1 {
  color: var(--yellow);
}

.production-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px 7px;
  border-bottom: 1px solid var(--line);
  background: #252726;
}

.production-overview span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 2px 5px;
  border: 1px solid #3d403d;
  background: #151615;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.production-overview b {
  color: var(--cyan);
}

.production-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 1px;
  background: #111;
  border-bottom: 1px solid var(--line);
}

.production-rail-item {
  min-height: 43px;
  padding: 5px;
  border: 0;
  background: #292b2a;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.production-rail-item strong,
.production-rail-item span,
.production-rail-item em {
  display: block;
}

.production-rail-item strong {
  color: var(--yellow);
  font-size: 11px;
}

.production-rail-item span {
  margin-top: 1px;
  font-weight: 900;
}

.production-rail-item em {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.production-rail-item.active {
  background: var(--yellow);
  color: #000;
}

.production-rail-item.active strong,
.production-rail-item.active em {
  color: #000;
}

.production-stage-stack {
  display: grid;
  gap: 6px;
  padding: 6px;
}

.production-stage-section {
  border: 1px solid var(--line);
  background: #262827;
}

.production-stage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px) auto;
  gap: 6px;
  padding: 6px 7px;
  border-bottom: 1px solid var(--line);
  background: #303231;
}

.production-stage-toggle {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.production-stage-toggle:hover {
  background: #353837;
}

.production-expand-indicator {
  align-self: center;
  padding: 3px 7px;
  border: 1px solid #4d514f;
  background: #141514;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.production-stage-section.is-collapsed .production-stage-head {
  border-bottom: 0;
}

.production-stage-head span,
.production-rule-block span,
.production-hear-stop span,
.production-stage-tools b {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.production-stage-head h2 {
  margin: 1px 0 2px;
  color: var(--cyan);
  font-size: 19px;
}

.production-stage-head p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
}

.production-stage-tools div {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 3px;
}

.production-stage-tools span {
  padding: 2px 5px;
  border: 1px solid #464947;
  color: var(--text);
  font-size: 11px;
}

.production-source-line {
  padding: 4px 7px;
  border-bottom: 1px solid var(--line);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.production-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 6px;
}

.production-guide-card {
  display: grid;
  gap: 6px;
  border: 1px solid #535755;
  background: #202221;
  padding: 7px;
}

.production-guide-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 8px;
  align-items: start;
}

.production-primary,
.production-secondary {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.production-guide-card h2 {
  margin: 0;
  color: var(--yellow);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.production-rule-block {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid #31585d;
  background: #101313;
}

.production-rule-block strong {
  display: block;
  margin-top: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
}

.production-device-map {
  display: grid;
  gap: 4px;
  margin-top: 0;
}

.production-device-map > header {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.production-device-card {
  border: 1px solid #3f4542;
  background: #151817;
  padding: 5px;
}

.production-device-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 3px;
}

.production-device-head h3 {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  line-height: 1.15;
}

.production-device-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.production-device-card p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.production-device-card p b {
  color: var(--text);
}

.production-device-card ul {
  display: grid;
  gap: 2px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.production-device-card li {
  display: grid;
  column-gap: 6px;
  row-gap: 2px;
  align-items: start;
  padding: 2px 4px;
  background: #202321;
}

.production-device-card li.has-motion {
  grid-template-columns: 82px 96px minmax(190px, 0.8fr) minmax(220px, 1fr);
  align-items: center;
}

.production-device-card .control-motion {
  padding: 2px;
  border-color: #263b3d;
  background: #0b0d0d;
}

.production-device-card .motion-head {
  grid-template-columns: 1fr;
  gap: 1px;
  margin-bottom: 2px;
}

.production-device-card .motion-head span {
  font-size: 9px;
}

.production-device-card .motion-head b {
  font-size: 9px;
}

.production-device-card .motion-knob-stack {
  gap: 2px;
}

.production-device-card .motion-knob {
  width: 46px;
  height: 46px;
}

.production-device-card .motion-knob i {
  top: 5px;
  height: 18px;
  transform-origin: 50% 18px;
}

.production-device-card .motion-scale {
  margin-top: 2px;
  font-size: 10px;
}

.production-device-card .control-motion svg {
  height: 42px;
}

.production-device-card .choice-strip {
  height: 22px;
}

.production-device-card .choice-strip i {
  height: 12px;
}

.production-device-card .choice-strip i:nth-child(2) {
  height: 18px;
}

.production-device-card li.no-motion {
  grid-template-columns: 102px minmax(170px, 0.72fr) minmax(220px, 1fr);
  align-items: center;
}

.production-device-card li b {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.production-device-card li em {
  color: var(--green);
  font-style: normal;
  overflow-wrap: anywhere;
}

.production-device-card li.has-motion em {
  grid-column: auto;
}

.production-device-card li.no-motion em {
  grid-column: 3;
}

.production-device-card .control-target {
  gap: 1px;
  padding: 0;
  border: 0;
  background: transparent;
}

.production-device-card .control-target span {
  display: none;
}

.production-device-card .control-target i {
  font-size: 14px;
  line-height: 1.18;
}

.production-checklist {
  align-self: start;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.production-checklist li {
  display: grid;
  grid-template-columns: minmax(78px, 0.72fr) minmax(120px, 1fr);
  gap: 3px 6px;
  align-items: start;
  padding: 4px 5px;
  background: #151615;
}

.production-checklist em {
  grid-column: 1 / -1;
}

.production-checklist b {
  color: var(--text);
}

.production-checklist strong {
  color: var(--cyan);
}

.production-checklist em {
  color: var(--muted);
  font-style: normal;
}

.production-hear-stop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.production-hear-stop div {
  padding: 5px;
  border: 1px solid #464947;
  background: #191a19;
}

.production-hear-stop strong {
  display: block;
  margin-top: 3px;
  color: var(--green);
}

.production-hear-stop div:last-child strong {
  color: var(--orange);
}

.production-guide-card footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: 0;
  color: var(--dim);
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  body {
    min-width: 0;
  }

  .guide-topbar,
  .guide-layout,
  .guide-command-panel,
  .filter-strip {
    display: block;
  }

  .guide-layout {
    height: auto;
  }

  .guide-command-panel {
    padding: 8px;
    border-left: 0;
  }

  .primary-view-tabs {
    display: flex;
    margin-bottom: 8px;
  }

  .guide-controls {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .device-list-panel,
  .tips-panel,
  .device-guide {
    max-height: none;
    border: 0;
  }

  .device-list {
    max-height: min(70vh, 846px);
  }

  .recipe-grid,
  .lesson-grid,
  .lesson-objective,
  .lesson-steps li,
  .lesson-checks,
  .quick-grid,
  .evidence-body,
  .evidence-title,
  .video-row,
  .production-stage-head,
  .production-device-card li,
  .production-checklist li,
  .video-manual-procedure li,
  .video-manual-device-moves li,
  .production-hear-stop {
    grid-template-columns: 1fr;
  }
}
