/* Oral Guide uses the surrounding workbench palette and a single visible step. */
#panel-oral-guide {
  --og-ink: #f0eadd;
  --og-sub: #aaa699;
  --og-line: #ffffff18;
  --og-gold: #dec489;
  container: oral-guide / inline-size;
}
#panel-oral-guide [hidden],
.og-embedded [hidden] {
  display: none !important;
}
body:has(#panel-oral-guide.active) #studioUtilityDock {
  display: none !important;
}
.og-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 0 26px;
  color: var(--og-ink);
}
.og-head,
.og-section-head,
.og-bottom,
.og-inline,
.og-actions,
.og-task-controls,
.og-file {
  display: flex;
  align-items: center;
  gap: 12px;
}
.og-head,
.og-section-head,
.og-bottom {
  justify-content: space-between;
}
.og-head {
  padding: 0 0 19px;
}
.og-head h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.45;
}
.og-head p,
.og-caption,
.og-job,
.og-card small {
  color: var(--og-sub);
  font-size: 12px;
  line-height: 1.7;
}
.og-head p {
  margin: 4px 0 0;
}
.og-task-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.og-task-controls select {
  max-width: 180px;
}
.og-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
}
.og-button,
.og-suggestion {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  min-height: 35px;
  font: inherit;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--og-line);
  background: #232325;
  color: #eee8dc;
  cursor: pointer;
  line-height: 1.4;
}
.og-button:hover,
.og-suggestion:hover {
  background: #302c24;
  border-color: #ac945f88;
}
.og-gold {
  background: linear-gradient(180deg, #ead7a4, #c6a55f);
  color: #221c12;
  border-color: #dcc38a;
  font-weight: 600;
}
.og-gold:hover {
  background: #e8cf95;
  color: #221c12;
}
.og-button:disabled,
.og-steps button:disabled {
  opacity: 0.55;
  cursor: default;
}
.og-task-controls .og-button {
  color: var(--og-gold);
  border-color: #c1a36580;
  background: #a98d4520;
}
.og-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  border-radius: 13px;
  border: 1px solid var(--og-line);
  background: #19191b;
  padding: 5px;
  margin: 0 0 20px;
}
.og-steps button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 4px;
  border: 1px solid transparent;
  color: #afaca4;
  background: transparent;
  border-radius: 9px;
  min-width: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 550;
  font-size: 13px;
}
.og-steps b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #b3afa3;
  border: 1px solid #ffffff20;
  font-size: 11px;
  line-height: 1;
}
.og-steps button[aria-current='step'] {
  color: #f2d99e;
  border-color: #aa915959;
  background: #c1a05e19;
}
.og-steps button[aria-current='step'] b {
  color: #201c14;
  background: #e2c989;
  border-color: transparent;
}
.og-steps button.og-done b {
  color: #dbbf83;
  border-color: #9e835747;
}
.og-card {
  background: linear-gradient(140deg, #1c1c1f, #161617);
  border: 1px solid var(--og-line);
  border-radius: 14px;
  padding: clamp(18px, 2vw, 30px);
}
.og-card section[data-page] {
  display: grid;
  gap: 17px;
  min-width: 0;
}
.og-card h2 {
  font-size: 17px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 600;
}
.og-card label:not(.og-button),
.og-field {
  display: block;
  font-size: 13px;
  color: #ddd8cc;
  line-height: 1.6;
}
.og-field > span {
  display: block;
  margin-bottom: 7px;
}
.og-card input:not([type='file']):not([type='checkbox']),
.og-card textarea,
.og-card select,
.og-task-controls select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  color: #eee9de;
  border: 1px solid #ffffff1e;
  border-radius: 8px;
  background: #141416;
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
}
.og-card textarea {
  display: block;
  min-height: 78px;
  line-height: 1.75;
  resize: vertical;
}
.og-card #ogOriginal,
.og-card #ogScript {
  min-height: clamp(150px, 22vh, 248px);
}
.og-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-bottom: 1px solid var(--og-line);
  padding-bottom: 7px;
}
.og-choice button {
  padding: 8px 15px;
  font: inherit;
  font-size: 13px;
  border: 0;
  color: #b9b5ab;
  background: none;
  border-radius: 6px;
  cursor: pointer;
}
.og-choice button[aria-pressed='true'] {
  color: #ecd296;
  background: #a78b4a21;
  box-shadow: inset 0 -2px #c4a765;
}
.og-inline {
  margin-top: 6px;
  align-items: stretch;
}
.og-inline input {
  flex: 1;
}
.og-inline button,
.og-file label {
  flex: none;
}
.og-file {
  margin: 10px 0;
  min-width: 0;
  flex-wrap: wrap;
}
.og-file span {
  font-size: 12px;
  color: var(--og-sub);
  overflow-wrap: anywhere;
}
.og-file input[type='file'] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
}
.og-file label:has(+ input:disabled) {
  opacity: 0.5;
}
.og-file:focus-within > label,
.og-shell :focus-visible {
  outline: 2px solid #d9bb7a;
  outline-offset: 2px;
}
.og-actions {
  flex-wrap: wrap;
}
.og-pair,
.og-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(160px, 1fr);
  gap: 18px;
}
.og-pair label input,
.og-pair label select {
  margin-top: 6px;
}
.og-title-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}
.og-title-grid figure {
  margin: 0;
  min-width: 0;
}
.og-title-grid figcaption {
  font-size: 11px;
  color: var(--og-sub);
  margin-top: 6px;
}
.og-source {
  font-size: 12px;
  color: var(--og-sub);
}
.og-source summary {
  cursor: pointer;
  width: fit-content;
}
.og-source p {
  white-space: pre-wrap;
  overflow: auto;
  max-height: 140px;
  line-height: 1.7;
}
.og-job:empty,
.og-title-ideas:empty,
#ogDuration:empty {
  display: none;
}
.og-job,
.og-caption {
  margin: 0;
}
.og-card audio {
  width: min(580px, 100%);
  height: 38px;
}
.og-card video {
  background: #0d0d0f;
  object-fit: contain;
  max-width: 100%;
  max-height: 260px;
  border-radius: 7px;
}
.og-title-grid video {
  width: 100%;
}
.og-title-ideas {
  display: grid;
  gap: 6px;
}
.og-suggestion {
  text-align: left;
  justify-content: flex-start;
  font-size: 12px;
}
.og-bottom {
  padding: 15px 0 4px;
  align-items: flex-start;
}
.og-bottom > div {
  display: flex;
  gap: 7px;
  flex: none;
}
.og-bottom [role='status'] {
  color: var(--og-sub);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.og-bottom .og-error {
  color: #e6b58f;
}
.og-bottom .og-gold .og-icon {
  order: 2;
}
.og-bottom .og-gold {
  min-width: 100px;
}
.og-embed-slot {
  min-width: 0;
}
.og-tool-frame {
  display: block;
  width: 100%;
  height: clamp(520px, 68vh, 850px);
  border: 1px solid #ffffff18;
  border-radius: 9px;
  background: #161618;
  box-sizing: border-box;
}
#ogEditorSlot .og-tool-frame {
  height: clamp(406px, calc(100vh - 428px), 750px);
  height: clamp(406px, calc(100dvh - 428px), 750px);
}
.og-card:has([data-page='5']:not([hidden])) {
  padding: 14px 16px;
}
.og-card [data-page='5'] {
  gap: 10px;
}
.og-reconnect {
  margin: 10px;
}
.og-section-head #ogStyleChoice {
  font-size: 12px;
  color: var(--og-sub);
}
.og-section-head input {
  vertical-align: middle;
  accent-color: var(--og-gold);
}
@container oral-guide (max-width:740px) {
  .og-steps {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .og-steps button {
    flex: 0 0 auto;
    padding: 7px 10px;
  }
  .og-head {
    align-items: flex-start;
  }
  .og-task-controls {
    gap: 5px;
  }
  .og-title-grid,
  .og-pair {
    grid-template-columns: 1fr;
  }
  .og-card {
    padding: 16px;
  }
  .og-task-controls select {
    max-width: 128px;
  }
}
@layer lx {
  .lx nav.tabs.sidebar .og-nav,
  nav.tabs.sidebar .og-nav {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 38px !important;
    margin: 1px 0 6px !important;
    padding: 8px 12px !important;
    text-align: left !important;
    color: #bdb7a6 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    cursor: pointer;
  }
  .lx nav.tabs.sidebar .og-nav.active {
    color: #e8cc8d !important;
    background: #c2a05619 !important;
    border-color: #c2a0564a !important;
  }
  .og-nav .tb-ico {
    width: 21px;
    height: 21px;
    fill: none;
    flex: none;
  }
  #panel-oral-guide textarea {
    min-height: 70px !important;
  }
  #panel-oral-guide #ogOriginal,
  #panel-oral-guide #ogScript {
    min-height: clamp(148px, 21vh, 240px) !important;
  }
  #panel-oral-guide .og-card h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
  }
}
body.og-embedded {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #eee9df;
  background: #161618;
  font:
    13px/1.5 'Microsoft YaHei',
    sans-serif;
  color-scheme: dark;
}
.og-embedded *,
.og-embedded *::before,
.og-embedded *::after {
  box-sizing: border-box;
}
.og-embedded button,
.og-embedded select,
.og-embedded input,
.og-embedded textarea {
  font-family: inherit;
}
.og-embedded .of-engine-switch,
.og-embedded .of-rail,
.og-embedded .of-head .of-actions button[data-guide-hide],
.og-embedded .pub-page-head {
  display: none !important;
}
.og-editor-body #openfilmWorkbench {
  margin: 0;
  width: 100%;
  height: 100dvh;
  border: 0;
  border-radius: 0;
}
.og-editor-body .of-head {
  padding: 7px 10px;
}
.og-editor-body .of-head h2 {
  font-size: 14px !important;
}
.og-editor-body .of-head p {
  display: none;
}
.og-publisher-body {
  padding: 8px;
}
.og-publisher-body #panel-publish-god {
  --pub-text: #ece7db;
  --pub-gold: #d8b76a;
  --pub-line: #ffffff1d;
  --pub-inset: 14px;
  --pub-muted: #aaa69d;
  --pub-dim: #938f85;
}
.og-publisher-body .btn {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 7px;
  background: #27272b;
  color: #e8e4da;
  border: 1px solid #ffffff21;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.og-publisher-body .btn.primary {
  background: #d7b978;
  color: #241e14;
  border-color: #d7b978;
}
.og-publisher-body .btn:disabled {
  opacity: 0.46;
}
.og-publisher-body .publisher-grid {
  gap: 10px;
}
.og-publisher-body #pubPick {
  display: none !important;
}
.og-publisher-body .pub-filebox {
  grid-template-columns: minmax(0, 1fr);
}

/* Scoped to the seven-step desktop guide. Keep layouts tied to the available panel width. */
@layer lx-calm {
  #panel-oral-guide .og-head { align-items:center; padding-bottom:16px!important; }
  #panel-oral-guide .og-head h1 { font-size:clamp(23px,2.1vw,31px)!important; letter-spacing:.015em; }
  #panel-oral-guide .og-steps { background:#151516!important; border:1px solid #ffffff18!important; border-radius:13px!important; padding:6px!important; gap:2px!important; margin-bottom:18px!important; }
  #panel-oral-guide .og-steps button { min-height:44px; border-radius:8px!important; position:relative; }
  #panel-oral-guide .og-steps button:not(:last-child)::after { content:''; position:absolute; width:9px; height:1px; background:#bfa77349; right:-6px; }
  #panel-oral-guide .og-steps button[aria-current=step] { background:linear-gradient(110deg,#4a3c27,#2b251d)!important; border-color:#8c7546!important; color:#fff0cd!important; }
  #panel-oral-guide .og-steps .og-done b { background:#bca46519!important; border-color:#a28a5259!important; }
  #panel-oral-guide .og-card { background:linear-gradient(150deg,#201f20 0,#19191b 36%,#151517 100%)!important; padding:clamp(16px,2.2vw,30px)!important; border-radius:16px!important; }
  #panel-oral-guide .og-card section[data-page] { gap:18px!important; }
  #panel-oral-guide .og-stage-head { display:flex; gap:13px; align-items:center; padding-bottom:16px!important; border-bottom:1px solid #ffffff12; }
  #panel-oral-guide .og-stage-icon { flex:0 0 39px; height:39px; display:grid; place-items:center; background:linear-gradient(145deg,#63503555,#2d2923); border:1px solid #c4a86a36; color:#e3c789; border-radius:11px; }
  #panel-oral-guide .og-stage-icon svg { width:19px; height:19px; }
  #panel-oral-guide .og-stage-head h2 { font-size:20px!important; line-height:1.4!important; }
  #panel-oral-guide .og-stage-head p, #panel-oral-guide .og-caption, #panel-oral-guide .og-picked span, #panel-oral-guide .og-file-line { color:#bcb7ac!important; font-size:12px!important; line-height:1.65!important; margin:2px 0 0!important; }
  #panel-oral-guide :is(.og-pane,.og-ref-dialog) h3,#panel-oral-guide .og-pane h3 label { color:#eee7d8!important; font-size:14px!important; font-weight:650!important; padding:0!important; margin:0!important; line-height:1.55!important; }
  #panel-oral-guide .og-columns,.og-audio-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; min-width:0; }
  #panel-oral-guide .og-pane { display:grid; align-content:start; justify-items:stretch; gap:12px; min-width:0; padding:clamp(14px,1.5vw,20px)!important; background:linear-gradient(145deg,#23222380,#1a191a)!important; border:1px solid #ffffff19; border-radius:11px; }
  #panel-oral-guide :is(#ogShare,#ogIdeas,#ogClone) { display:grid; justify-items:start; gap:11px; }
  #panel-oral-guide :is(#ogShare,#ogIdeas,#ogClone)>:is(input,select,label,.og-file) { width:100%; }
  #panel-oral-guide .og-pane>.og-button,#panel-oral-guide .og-pane>.og-inline-link { justify-self:start; }
  #panel-oral-guide .og-file { gap:8px; margin:0!important; align-items:center; min-height:34px; }
  #panel-oral-guide .og-file span,.og-file-line { overflow-wrap:anywhere; }
  #panel-oral-guide .og-pane label> :is(input:not([type=checkbox]),select) {margin-top:5px!important;}
  #panel-oral-guide .og-pane .og-field>span { font-weight:600; color:#ece6d9; }
  #panel-oral-guide #ogVoiceColumns:has(#ogVoiceDraft[hidden]),#panel-oral-guide .og-title-grid:has(figure[hidden]) { grid-template-columns:minmax(0,1fr); }
  #panel-oral-guide .og-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #panel-oral-guide .og-route { display:flex; align-items:center; gap:12px; min-width:0; min-height:72px; padding:14px 16px!important; text-align:left; font:inherit; color:#dbd5c7!important; background:#202022!important; border:1px solid #ffffff22!important; border-radius:11px!important; cursor:pointer; }
  #panel-oral-guide .og-route>.og-icon { width:21px; height:21px; color:#bea878; }
  #panel-oral-guide .og-route>span { flex:1; min-width:0; }
  #panel-oral-guide .og-route strong,#panel-oral-guide .og-route small { display:block; }
  #panel-oral-guide .og-route strong {font-size:15px!important;}
  #panel-oral-guide .og-route small {color:#b8b1a2!important; margin-top:3px!important; line-height:1.45!important;}
  #panel-oral-guide .og-route i {width:14px;height:14px;border:1px solid #827966;border-radius:50%;flex:none;}
  #panel-oral-guide .og-route[aria-pressed=true] { background:linear-gradient(115deg,#443b2a,#24211d)!important; border-color:#b9995c!important; color:#f6dfb0!important; }
  #panel-oral-guide .og-route[aria-pressed=true] i {background:#dec389;box-shadow:inset 0 0 0 3px #363026;border-color:#dec389;}
  #panel-oral-guide .og-ready-row {border-top:1px solid #ffffff13; padding-top:10px!important;}
  #panel-oral-guide :is(.og-ready-link,.og-inline-link) {display:inline-flex;align-items:center;gap:5px;width:fit-content;padding:4px 0!important;background:none!important;color:#d6c18f!important;border:0!important;font:inherit;font-size:12px!important;cursor:pointer;}
  #panel-oral-guide .og-ready-link[aria-pressed=true] { color:#f8e4b6!important; }
  #panel-oral-guide #ogOwnVideoBox {margin-top:10px;}
  #panel-oral-guide #ogCut {display:grid;gap:13px;min-width:0;}
  #panel-oral-guide .og-cut-head,.og-shelf-tools,.og-picked,.og-project-head,.og-ref-dialog header {display:flex;align-items:center;justify-content:space-between;gap:10px;}
  #panel-oral-guide .og-shelf-tools>span,.og-audio-drawer summary span,.og-ref-dialog small {color:#b5afa3!important;font-size:11px!important;}
  #panel-oral-guide .og-arrow {display:grid;place-items:center;width:28px;height:28px;padding:0!important;border:1px solid #ffffff2a!important;border-radius:50%!important;color:#eddaaf!important;background:#242426!important;cursor:pointer;}
  #panel-oral-guide .og-arrow:disabled {opacity:.4;cursor:default;}
  #panel-oral-guide [data-prev] svg {transform:rotate(180deg);}
  #panel-oral-guide .og-strip {display:grid;grid-auto-flow:column;grid-auto-columns:clamp(116px,11vw,152px);gap:9px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#766442 #212022;padding:2px 2px 7px!important;min-width:0;}
  #panel-oral-guide .og-film-card {position:relative;scroll-snap-align:start;min-width:0;}
  #panel-oral-guide .og-film-select {display:grid;width:100%;padding:0!important;overflow:hidden;text-align:left;color:#e7e1d4!important;background:#1c1b1d!important;border:1px solid #ffffff29!important;border-radius:9px!important;cursor:pointer;}
  #panel-oral-guide .og-film-card.is-picked .og-film-select {border-color:#e1c487!important;background:#3d3526!important;color:#f7e5bc!important;}
  #panel-oral-guide .og-film-select strong {position:relative;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 9px!important;font-size:12px!important;line-height:1.5!important;}
  #panel-oral-guide .is-picked .og-film-select strong::before {content:'✓';display:inline-block;color:#ecd193;margin-right:4px;}
  #panel-oral-guide .og-film-frame {position:relative;display:grid;place-items:center;aspect-ratio:1.55;width:100%;background:#111113;overflow:hidden;}
  #panel-oral-guide .og-film-frame img {position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center var(--poster-focus,38%);display:block;}
  #panel-oral-guide .og-film-card:is([data-id="gold-talk"],[data-id="street"]) {--poster-focus:20%;}
  #panel-oral-guide .og-film-card:is([data-id="amber"],[data-id="editorial"]) {--poster-focus:26%;}
  #panel-oral-guide .og-film-card:is([data-id="seated"],[data-id="venue"],[data-id="food"]) {--poster-focus:49%;}
  #panel-oral-guide .og-film-card:is([data-id="paper-lesson"],[data-id="screen-lesson"]) img {object-fit:contain;}
  #panel-oral-guide .og-film-duration {position:absolute;bottom:4px;right:4px;font:500 10px/1.3 var(--lx-font,sans-serif)!important;color:white!important;background:#0b0b0bcf;border-radius:4px;padding:2px 4px!important;}
  #panel-oral-guide .og-film-play {position:absolute;right:5px;top:5px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%!important;border:1px solid #ffffff7a!important;background:#111114bf!important;color:white!important;font-size:10px!important;cursor:pointer;padding:0!important;}
  #panel-oral-guide .og-picked {flex-wrap:wrap;}
  #panel-oral-guide .og-picked p {margin:0!important;min-width:0;overflow-wrap:anywhere;}
  #panel-oral-guide .og-picked strong {display:block;color:#e9dab7;font-size:13px!important;}
  #panel-oral-guide .og-picked span {display:block;}
  #panel-oral-guide .og-sr-file {position:absolute;width:1px;height:1px;clip-path:inset(50%);opacity:0;}
  #panel-oral-guide label:has(+.og-sr-file:focus-visible) {outline:2px solid #e5c88e!important;outline-offset:2px;}
  #panel-oral-guide .og-check {display:flex!important;align-items:center;gap:6px;cursor:pointer;}
  #panel-oral-guide .og-audio-drawer {display:block;}
  #panel-oral-guide .og-audio-drawer summary {cursor:pointer;color:#e7dfd0;font-weight:600;font-size:13px;}
  #panel-oral-guide .og-audio-drawer summary span {margin-left:8px; font-weight:400;}
  #panel-oral-guide .og-audio-choices {margin-top:10px;}
  #panel-oral-guide .og-audio-search {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;}
  #panel-oral-guide .og-audio-search input {flex:1 1 200px;min-width:0;}
  #panel-oral-guide .og-audio-search small {font-size:12px;color:#c2bbab;}
  #panel-oral-guide .og-audio-choices select {min-width:0;flex:1;max-width:100%;}
  #panel-oral-guide .og-audio-choices>div>div {display:flex;align-items:center;gap:7px;margin-top:5px;}
  #panel-oral-guide .og-audio-choices button {flex:none;}
  #panel-oral-guide .og-audio-drawer audio {margin-top:10px;}
  #panel-oral-guide .og-cut-output video {width:100%!important;max-height:min(52vh,460px)!important;object-fit:contain;background:#0a0a0b;}
  #panel-oral-guide .og-cut-output a {text-decoration:none;}
  #panel-oral-guide .og-project-link {justify-self:start;}
  #panel-oral-guide [data-status]:empty,#panel-oral-guide #ogCut [hidden],#panel-oral-guide [data-page] [hidden] {display:none!important;}
  #panel-oral-guide [data-status] {margin:0!important;color:#d1c09c;font-size:12px;}
  #panel-oral-guide dialog {box-sizing:border-box; margin:auto!important; border:1px solid #6a5c43!important; border-radius:15px!important; color:#efe9dc!important; background:#19191b!important; padding:16px!important; }
  #panel-oral-guide dialog:not([open]) {display:none!important;}
  #panel-oral-guide dialog::backdrop {background:#060608bb;backdrop-filter:blur(4px);}
  #panel-oral-guide .og-ref-dialog[open] {display:grid!important;gap:10px;width:min(700px,92vw)!important;max-height:91vh!important;}
  #panel-oral-guide .og-ref-dialog video {width:100%!important;max-height:68vh!important;object-fit:contain;background:#0a0a0a;}
  #panel-oral-guide .og-editor-dialog[open] {display:flex!important;flex-direction:column;gap:10px;width:calc(100vw - 36px)!important;height:calc(100vh - 34px)!important;max-width:none!important;max-height:none!important;overflow:auto;}
  #panel-oral-guide .og-project-head {justify-content:flex-start;flex-wrap:wrap;}
  #panel-oral-guide .og-project-head h2 {font-size:16px!important;}
  #panel-oral-guide .og-project-head label {margin-left:auto;}
  #panel-oral-guide #ogEditorSlot {flex:1;display:grid;min-height:250px;}
  #panel-oral-guide #ogEditorSlot iframe {width:100%!important;height:100%!important;min-height:250px;border:1px solid #ffffff22!important;}
  #panel-oral-guide #ogPublishMissing:not([hidden]) {display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;}
  #panel-oral-guide #ogPublishMissing span {color:#cbc2b1;}
  #panel-oral-guide .og-shell :focus-visible {outline:2px solid #e2c58e!important;outline-offset:2px;}
  @container oral-guide (max-width:800px) {
    #panel-oral-guide .og-steps {display:flex;overflow-x:auto;scroll-snap-type:x proximity;}
    #panel-oral-guide .og-steps button {flex:1 0 auto;padding:7px 9px!important;scroll-snap-align:start;}
    #panel-oral-guide .og-steps button::after {display:none;}
    #panel-oral-guide .og-columns,#panel-oral-guide .og-title-grid,#panel-oral-guide .og-audio-choices {grid-template-columns:minmax(0,1fr);}
  }
  @container oral-guide (max-width:560px) {
    #panel-oral-guide .og-routes {grid-template-columns:1fr;}
    #panel-oral-guide .og-route {min-height:54px;padding:10px!important;}
    #panel-oral-guide .og-route small {font-size:11px!important;}
    #panel-oral-guide .og-head {flex-wrap:wrap;}
    #panel-oral-guide .og-strip {grid-auto-columns:120px;}
  }
}
body:has(#panel-oral-guide.active [data-page='5']:not([hidden])) #keyBanner {display:none!important;}

@layer lx-calm {
  #panel-oral-guide .og-project-body { position:relative; flex:1 1 0; display:grid; min-height:230px; min-width:0; }
  #panel-oral-guide .og-project-body>#ogEditorSlot { min-height:0; grid-area:1/1; }
  #panel-oral-guide .og-project-body>#ogEditorSlot iframe { min-height:0; }
  #panel-oral-guide .og-project-feedback:not([hidden]) { grid-area:1/1; z-index:2; display:grid; place-items:center; min-height:0; padding:16px; background:radial-gradient(ellipse at 50% 45%,#302a2047,transparent 65%),#151517; border:1px solid #ffffff14; border-radius:10px; }
  #panel-oral-guide .og-project-notice { display:grid; justify-items:center; align-content:center; gap:10px; max-width:390px; text-align:center; }
  #panel-oral-guide .og-project-symbol {display:grid;place-items:center;width:42px;height:42px;background:#302a22;border:1px solid #bb965c4a;color:#dec48c;border-radius:12px;}
  #panel-oral-guide .og-project-symbol svg {width:21px;height:21px;}
  #panel-oral-guide .og-project-notice h3 {color:#f2e9d9!important; margin:0!important;padding:0!important;font-size:17px!important;}
  #panel-oral-guide .og-project-notice p {color:#bfb7a7!important; line-height:1.7!important; font-size:13px!important; margin:0!important; overflow-wrap:anywhere; }
  #panel-oral-guide #ogRetryProject {width:auto!important;min-height:36px!important;height:auto!important;padding:7px 17px!important; margin:4px 0 0!important;justify-self:center;}
  #panel-oral-guide #ogAdvanced[data-stage=loading] .og-project-symbol { animation:ogEngineLight 1.8s ease-in-out infinite alternate; }
  @media(prefers-reduced-motion:reduce) { #panel-oral-guide #ogAdvanced .og-project-symbol { animation:none!important; } }
}
@keyframes ogEngineLight {from{opacity:.55}to{opacity:1}}
