/* styles/02-app-ui.css */

#view-export .export-cover-thumb .pptx-preview-slide.export-cover-thumb-pptx-slide {
  width: 960px;
  height: 540px;
  flex-shrink: 0;
  box-shadow: none;
  border-radius: 0;
}
#view-export .export-cover-thumb .pptx-preview-slide.export-cover-thumb-pptx-slide::after {
  display: none;
}
#view-export .export-cover-thumb--pptx .pptx-preview-slide-inner {
  font-size: 14px;
}
.settings-pptx-theme-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.settings-pptx-theme-swatches { display: inline-flex; gap: 4px; }
.settings-pptx-theme-swatch { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.15); }
.settings-pptx-theme-fonts { font-size: 12px; color: var(--ui-text-muted, #6B625B); }

/* styles/03-print-polish.css */

#pptx-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 30, 0.92);
  z-index: 9515;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}
#pptx-preview-overlay.visible {
  visibility: visible;
  pointer-events: auto;
}
#pptx-preview-overlay .pptx-preview-toolbar .pp-toolbar-title {
  flex: 1 1 auto;
  min-width: 0;
}
#pptx-preview-overlay .pptx-preview-toolbar-end {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}
#pptx-preview-overlay .pptx-preview-toolbar-end .pp-toolbar-meta {
  text-align: right;
  max-width: min(480px, 44vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pptx-preview-scroll-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #1a1a1a;
}
.pptx-preview-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  z-index: 2;
}
.pptx-preview-main {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.pptx-preview-stage-wrap {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 32px;
}
.pptx-preview-stage-host {
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.pptx-preview-thumbs {
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.pptx-preview-thumb {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  position: relative;
  opacity: 0.72;
  transition: opacity 0.15s, border-color 0.15s;
  padding: 0;
  font: inherit;
  color: inherit;
}
.pptx-preview-thumb:hover {
  opacity: 0.9;
}
.pptx-preview-thumb.is-active {
  border-color: var(--pptx-accent, var(--stepbinder-doc-accent, #8A3B1E));
  opacity: 1;
}
.pptx-preview-thumb--divider {
  background: #F7F2EA;
}
.pptx-preview-thumb--deck {
  background: #2a2622;
}
.pptx-preview-thumb-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.65));
  pointer-events: none;
  line-height: 1.2;
  text-align: left;
}
.pptx-preview-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  container-type: inline-size;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.pptx-preview-slide::after {
  content: attr(data-slide-index);
  position: absolute;
  top: 6px;
  left: 10px;
  bottom: auto;
  right: auto;
  font-size: 10px;
  color: #aaa;
  font-family: var(--font-mono, monospace);
  pointer-events: none;
  z-index: 3;
  opacity: 0.55;
}
.pptx-preview-slide-inner {
  position: absolute;
  inset: 0;
  padding: 5% 5.5% 0;
  padding-bottom: 11%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--pptx-font-body, Arial, Helvetica, sans-serif);
  font-size: clamp(10px, 1.15vw, 14px);
  color: #3A332E;
  box-sizing: border-box;
}
.pptx-preview-footer {
  position: absolute;
  left: 5.5%;
  right: 5.5%;
  bottom: 2.6%;
  margin-top: 0;
  padding-top: 0.32em;
  border-top: 2px solid var(--pptx-accent, var(--stepbinder-doc-accent, #8A3B1E));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1em;
  flex-shrink: 0;
  font-size: 1.25cqw;
  color: #6B625B;
  line-height: 1.3;
  background: #fff;
  z-index: 2;
}
.pptx-preview-footer-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pptx-preview-footer-meta {
  flex-shrink: 0;
  text-align: right;
}
.pptx-preview-footer-num {
  flex-shrink: 0;
  width: 4.5cqw;
  text-align: right;
}
.pptx-nl {
  position: absolute;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--pptx-font-body, Arial, Helvetica, sans-serif);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.pptx-preview-slide--divider {
  background: #F7F2EA;
}
.pptx-preview-slide--divider .pptx-preview-slide-inner {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.pptx-preview-slide--divider .pptx-preview-footer {
  background: #F7F2EA;
}
.pptx-preview-divider {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  max-width: 85%;
}
.pptx-preview-divider-title {
  margin: 0;
  font-size: 1.65em;
  font-weight: 700;
  color: #1F1A17;
  line-height: 1.2;
}
.pptx-preview-divider-narr {
  margin: 0;
  font-size: 0.95em;
  color: #6B625B;
  line-height: 1.45;
}
.pptx-preview-divider--split {
  flex: 0 1 auto;
  align-self: center;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.75em;
  max-width: 94%;
  width: 100%;
  text-align: left;
}
.pptx-preview-divider-main {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45em;
  min-width: 0;
  max-width: 24em;
}
.pptx-preview-divider-aside {
  position: relative;
  flex: 0 1 22em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.55em;
  min-width: 0;
  padding: 1em 1.15em 1.1em;
  background: #F7F2EA;
  box-sizing: border-box;
}
.pptx-preview-divider-aside-accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
}
.pptx-preview-divider-aside-label {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pptx-preview-divider-aside .pptx-preview-list {
  margin: 0;
  padding-left: 1.15em;
  text-align: left;
  font-size: 0.92em;
  line-height: 1.45;
  color: #3A332E;
}
.pptx-preview-divider-aside .pptx-preview-list li + li {
  margin-top: 0.35em;
}
.pptx-preview-slide--deck .pptx-preview-slide-inner {
  overflow-y: auto;
}
.pptx-preview-slide--deck .pptx-preview-slide-inner {
  padding: 0;
  display: block;
  overflow: hidden;
}
.pptx-preview-deck-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.pptx-preview-deck-object {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
}
.pptx-preview-deck-text {
  line-height: 1.25;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--pptx-font-body, Arial, Helvetica, sans-serif);
}
.pptx-preview-deck-text .pptx-preview-deck-run {
  display: inline;
}
.pptx-preview-deck-fig {
  margin: 0;
  width: 100%;
  height: 100%;
}
.pptx-preview-deck-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
}
.pptx-preview-deck-table-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pptx-preview-deck-table {
  width: 100%;
  height: 100%;
  font-size: 0.72em;
  border-collapse: collapse;
}
.pptx-preview-deck-rule {
  border-radius: 0;
}
.pptx-preview-body--after-divider {
  margin-top: 0.15em;
}
.pptx-preview-slide--visual .pptx-preview-step-head--visual {
  margin-bottom: 0.25em;
}
.pptx-preview-step-fig--hero {
  flex: 1;
  min-height: 0;
  margin: 0.15em 0 0;
}
.pptx-preview-slide--visual .pptx-preview-cap {
  margin-top: 0.15em;
}
.pptx-preview-slide--combined .pptx-preview-step-head--visual {
  margin-bottom: 0.2em;
}
.pptx-preview-combined-body {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 0.35em;
  align-items: stretch;
}
.pptx-preview-combined-media {
  flex: 0 0 58%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pptx-preview-slide--combined .pptx-preview-combined-media .pptx-preview-step-fig {
  flex: 1;
  min-height: 0;
  margin: 0;
}
.pptx-preview-slide--combined .pptx-preview-combined-media .pptx-mock-shot {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pptx-preview-slide--combined .pptx-preview-cap {
  margin-top: 0.12em;
  text-align: left;
}
.pptx-preview-combined-detail {
  flex: 1;
  min-width: 0;
  min-height: 0;
  font-size: 0.95em;
  line-height: 1.45;
  overflow: hidden;
  color: #1F1A17;
}
.pptx-preview-combined-detail .pptx-preview-step-notes,
.pptx-preview-combined-detail .pptx-preview-step-narr {
  margin: 0 0 0.55em;
  max-height: none;
}
.pptx-preview-combined-detail .pptx-preview-step-notes li,
.pptx-preview-combined-detail .pptx-preview-list li {
  margin: 0 0 0.35em;
}
.pptx-preview-combined-detail .pp-form-tip {
  margin: 0 0 0.35em;
  font-size: 0.95em;
}
.pptx-preview-slide--template .pptx-preview-slide-inner {
  padding: 1.8% 1.25% 0;
  padding-bottom: 11%;
}
.pptx-preview-slide--template .pptx-preview-footer {
  left: 1.25%;
  right: 1.25%;
}
.pptx-preview-step-template {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pptx-preview-step-template-title {
  flex-shrink: 0;
  margin: 0;
  line-height: 1.2;
}
.pptx-preview-step-template-title--compact {
  margin-bottom: 0;
}
.pptx-preview-step-label {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  margin: 0 0 0.12em;
}
.pptx-preview-step-owner {
  font-size: 0.55em;
  color: #6B625B;
  line-height: 1.2;
  margin: 0 0 0.15em;
}
.pptx-preview-step-desc {
  line-height: 1.25;
}
.pptx-preview-step-desc strong {
  font-size: 1.38em;
  font-weight: 700;
  color: var(--pptx-ink, #1F1A17);
}
.pptx-preview-step-desc--compact strong {
  font-size: 1.08em;
}
.pptx-preview-accent--step-title {
  height: 2px;
  
  margin: 0.35em 0 0.65em;
}
.pptx-preview-accent--section {
  height: 2px;
  margin: 0.18em 0 0.28em;
}
.pptx-preview-step-template-title strong {
  font-size: 1.38em;
  font-weight: 700;
  color: #1F1A17;
}
.pptx-preview-step-template-narrative {
  flex-shrink: 0;
  font-size: 0.82em;
  line-height: 1.4;
  color: #3A332E;
  margin: 0 0 0.35em;
  max-height: 22%;
  overflow: hidden;
}
.pptx-preview-step-template-body {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 0.4em;
  align-items: stretch;
}
.pptx-preview-step-template-media {
  flex: 0 0 46%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pptx-preview-slide--template .pptx-preview-step-template-media .pptx-preview-step-fig {
  flex: 1;
  min-height: 0;
  margin: 0;
}
.pptx-preview-slide--template .pptx-preview-cap {
  margin-top: 0.1em;
  text-align: left;
  flex-shrink: 0;
}
.pptx-preview-step-template-detail {
  flex: 1;
  min-width: 0;
  min-height: 0;
  font-size: 0.8em;
  line-height: 1.4;
  overflow: hidden;
}
.pptx-preview-step-template-detail .pptx-preview-step-notes,
.pptx-preview-step-template-detail .pptx-preview-step-narr {
  margin: 0 0 0.35em;
}
.pptx-preview-step-template-detail .pp-form-tip {
  margin: 0 0 0.35em;
  font-size: 0.95em;
}
.pptx-preview-slide--template:not(:has(.pptx-preview-step-template-detail)) .pptx-preview-step-template-media {
  flex: 1;
}
.pptx-preview-step-template-body--stacked {
  flex-direction: column;
  gap: 0.35em;
}
.pptx-preview-step-template-media--stacked {
  flex: 1 1 auto;
  width: calc(100% - 0.8em);
  margin: 0 auto;
  min-height: 38%;
}
.pptx-preview-step-fig--stacked {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0 0.2em;
  box-sizing: border-box;
}
.pptx-preview-step-fig--stacked img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.pptx-preview-step-fig--stacked {
  margin: 0;
}
.pptx-preview-step-template-media--stacked .pptx-preview-cap {
  margin: 0.2em 0 0.35em;
  text-align: left;
}
.pptx-preview-step-template-detail--stacked {
  flex: 0 0 auto;
  width: 100%;
  max-height: 28%;
  font-size: 0.82em;
  overflow: hidden;
}
.pptx-preview-step-template-body--side {
  flex-direction: row;
  align-items: stretch;
  gap: 0.55em;
}
.pptx-preview-step-template-media--side {
  flex: 1 1 58%;
  min-width: 0;
  max-width: 62%;
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}
.pptx-preview-step-template-media--side .pptx-preview-cap {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
}
.pptx-preview-step-underfig-stack {
  margin-top: 0.15em;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  flex: 0 0 auto;
}
.pptx-preview-step-underfig-stack .pptx-preview-callout,
.pptx-preview-step-underfig-stack .pp-form-tip {
  margin: 0;
}
.pptx-preview-step-panel-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  height: auto;
}
.pptx-preview-step-fig--side img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.pptx-preview-step-template-detail--side {
  position: relative;
  flex: 0 1 38%;
  min-width: 2.2in;
  max-height: none;
  font-size: 0.95em;
  line-height: 1.45;
  color: #1F1A17;
  overflow: hidden;
  padding: 0.85em 1em 0.9em 1.1em;
  background: var(--pptx-callout-bg, #FBF8F3);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45em;
  border: none;
}
.pptx-preview-step-template-detail--side .pptx-preview-step-notes {
  margin: 0;
}
.pptx-preview-bottom-callouts {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  padding-top: 0.55em;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
}
.pptx-preview-bottom-callouts .pptx-preview-callout,
.pptx-preview-bottom-callouts .pp-form-tip {
  background: var(--pptx-callout-bg, #FBF8F3);
}
.pptx-preview-bottom-callouts .pp-form-tip {
  margin: 0;
  font-size: 0.95em;
}
.pptx-preview-step-detail {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pptx-preview-step-notes--fill {
  flex: 1;
  min-height: 0;
  font-size: 0.88em;
  line-height: 1.45;
  overflow: hidden;
}
.pptx-preview-step-template-media--full {
  flex: 1 !important;
}
.pptx-preview-cover { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pptx-preview-slide--cover-band .pptx-preview-slide-inner {
  padding-bottom: 0;
}
.pptx-preview-cover--band {
  justify-content: flex-start;
  gap: 0;
}
.pptx-preview-cover-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.45em;
  min-height: 0;
  padding: 0.15em 0 7.5em;
}
.pptx-preview-cover--band .pptx-preview-cover-title {
  
  max-width: min(32ch, 68%);
  font-size: 2em;
  margin: 0;
}
.pptx-preview-cover--band .pptx-preview-cover-desc {
  max-width: min(48ch, 72%);
  margin: 0;
}
.pptx-preview-cover--band .pptx-preview-eyebrow--pill {
  margin-bottom: 0.15em;
}
.pptx-preview-cover-band {
  
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 2;
  width: calc(100% / 0.89);
  transform: translateX(-50%);
  padding: 0.95em 5.5% 1.15em;
  background: #F7F2EA;
  box-sizing: border-box;
}
.pptx-preview-cover-band-accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
}
.pptx-preview-cover-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85em 1.1em;
}
.pptx-preview-cover-band-item {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  min-width: 0;
}
.pptx-preview-cover-band-item .k {
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B625B;
}
.pptx-preview-cover-band-item .v {
  font-size: 0.82em;
  color: #1F1A17;
  line-height: 1.35;
}
.pptx-preview-cover-logo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  max-width: 200px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center right;
}
.pptx-preview-eyebrow {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.4em;
  padding-right: 28%;
}
.pptx-preview-eyebrow--pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: calc(100% - 160px);
  padding: 6px 14px;
  border-radius: 3px;
  background: var(--stepbinder-doc-note-bg, #FBF8F3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding-right: 14px;
}
.pptx-preview-cover-title {
  font-size: 1.75em;
  font-weight: 700;
  color: var(--pptx-ink, #1F1A17);
  margin: 0 0 0.35em;
  line-height: 1.2;
  max-width: 72%;
}
.pptx-preview-cover-desc {
  font-size: 0.9em;
  font-style: italic;
  color: #3A332E;
  margin: 0 0 0.6em;
  max-width: 90%;
}
.pptx-preview-date { font-size: 0.85em; color: #888; margin: 0.25em 0 0; }
.pptx-preview-accent {
  height: 4px;
  width: 100%;
  margin: 0.5em 0 0.75em;
  flex-shrink: 0;
}
.pptx-preview-cover-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  grid-auto-rows: 1fr;
  align-content: stretch;
  font-size: 0.82em;
  margin-top: 0.15em;
}
.pptx-preview-cover-meta-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15em;
  padding: 0.35em 0;
  border-bottom: 1px solid #E4DDD3;
  min-height: 0;
}
.pptx-preview-cover-meta-row:nth-child(odd) {
  padding-right: 1.1em;
}
.pptx-preview-cover-meta-row:nth-child(even) {
  padding-left: 1.1em;
  border-left: 1px solid #E4DDD3;
}
.pptx-preview-cover-meta-row .k {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B625B;
}
.pptx-preview-cover-meta-row .v {
  color: #1F1A17;
  line-height: 1.35;
}
.pptx-preview-head {
  font-size: 1.35em;
  font-weight: 700;
  color: var(--pptx-ink, #1F1A17);
  margin: 0;
  line-height: 1.2;
}
.pptx-preview-head--detail {
  font-size: 1.35em;
}
.pptx-preview-step-detail--after-visual .pptx-preview-accent--section {
  margin-bottom: 0.85em;
}
.pptx-preview-subhead {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0.65em 0 0.25em;
  line-height: 1.25;
}
.pptx-preview-subhead--accent {
  color: var(--pptx-accent, var(--stepbinder-doc-accent, #8A3B1E));
}
.pptx-preview-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  line-height: 1.45;
}
.pptx-preview-raci-narrative {
  flex: 0 0 auto;
  margin: 0 0 0.55em;
}
.pptx-preview-list {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding-left: 1.25em;
  line-height: 1.45;
}
ol.pptx-preview-list {
  list-style: decimal;
}
ul.pptx-preview-list {
  list-style: disc;
}
.pptx-preview-list li {
  margin: 0.15em 0;
}
.pptx-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85em;
  margin-top: 0.25em;
}
.pptx-preview-table th,
.pptx-preview-table td {
  border: 1px solid #E4DDD3;
  padding: 0.35em 0.5em;
  text-align: left;
  vertical-align: top;
}
.pptx-preview-table th {
  background: var(--stepbinder-doc-fill, #F7F2EA);
  font-weight: 700;
}
.pptx-preview-table:not(.pptx-preview-table--wide):not(.pptx-preview-table--raci) th { width: 28%; }
.pptx-preview-table--raci { font-size: 0.82em; }
.pptx-preview-table--raci-compact { font-size: 0.76em; }
.pptx-preview-table--raci-compact td,
.pptx-preview-table--raci-compact th {
  padding: 0.28em 0.35em;
  line-height: 1.25;
}
.pptx-preview-raci-dot { text-align: center !important; width: 2.2em; }
.pptx-preview-raci-legend { font-size: 0.75em; color: #888; margin: 0.35em 0 0; }
.pptx-preview-step-head { margin-bottom: 0.35em; line-height: 1.35; flex-shrink: 0; }
.pptx-preview-step-num { font-weight: 700; font-size: 0.85em; }
.pptx-preview-step-narr { font-size: 0.85em; margin-bottom: 0.25em; flex-shrink: 0; }
.pptx-preview-step-fig {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25em 0;
}
.pptx-preview-step-fig img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-width: 2pt;
  border-style: solid;
  border-color: #000;
  box-sizing: border-box;
}
.pptx-preview-step-notes {
  font-size: 0.85em;
  margin-top: 0.25em;
  max-height: 22%;
  overflow: hidden;
  flex-shrink: 0;
}
.pptx-preview-cap {
  font-size: 0.75em;
  font-style: italic;
  color: #888;
  text-align: center;
  margin: 0.1em 0 0;
  flex-shrink: 0;
}
.pptx-preview-err { font-size: 0.85em; font-style: italic; color: #c00; margin: 0.35em 0; }
.pptx-preview-callout {
  margin: 0 0 0.35em;
  padding: 0.4em 0.55em 0.4em 0.65em;
  border: 0.5px solid #E4DDD3;
  border-left: 2px solid var(--pptx-accent, var(--stepbinder-doc-accent, #8A3B1E));
  font-size: 0.85em;
  line-height: 1.35;
  white-space: pre-wrap;
  flex-shrink: 0;
  box-sizing: border-box;
}
.pptx-preview-labeled-block {
  margin: 0 0 0.55em;
}
.pptx-preview-labeled-head {
  display: block;
  font-size: 0.95em;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.15em;
}
.pptx-preview-slide-inner .pp-form-tip {
  margin: 0.35em 0;
  font-size: 0.85em;
  flex-shrink: 0;
  border: 0.5px solid #E4DDD3;
  border-left: 2px solid var(--pptx-accent, var(--stepbinder-doc-accent, #8A3B1E));
  background: var(--pptx-callout-bg, var(--stepbinder-doc-note-bg, #FBF8F3));
}
.pptx-preview-slide-inner .pp-form-tip strong {
  color: var(--pptx-callout-label, var(--stepbinder-doc-note-strong, #8A3B1E));
}
@media print {
  body > *:not(#print-preview-overlay):not(#html-preview-overlay):not(#pptx-preview-overlay):not(#flowchart-overlay) { display: none !important; }
  #print-preview-overlay {
    position: static !important;
    background: transparent !important;
    display: block !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    forced-color-adjust: none;
  }
  .pp-toolbar { display: none !important; }
  .pp-scroll {
    overflow: visible !important;
    padding: 0 !important;
    gap: 0 !important;
    display: block !important;
  }
  .pp-page {
    box-shadow: none !important;
    page-break-after: always;
    break-after: page;
    margin: 0 !important;
    width: 100% !important;
    background: #fff !important;
    color: #1a1a1a !important;
    display: flex !important;
    flex-direction: column !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    forced-color-adjust: none;
  }
  .pp-page::before {
    background: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .pp-step-block {
    break-inside: avoid-page !important;
    page-break-inside: avoid !important;
  }
  .pp-sop-head,
  .pp-section-head {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .pp-keep-together {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .pp-sop-head + table.pp-meta-table,
  .pp-section-head + table.pp-meta-table {
    break-before: avoid !important;
    page-break-before: avoid !important;
  }
  .pp-step-img,
  .pp-step-canvas {
    background-color: #fff !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    forced-color-adjust: none;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .pp-step-notes,
  .pp-step-section-narrative,
  .pp-step-procedure,
  .pp-step-marker-steps,
  .pp-note {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .pp-page-footer-wrap,
  .pp-page-footer-rule,
  .pp-page-footer {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .pp-page-footer-wrap {
    break-before: avoid !important;
    page-break-before: avoid !important;
  }
  .pp-loading { display: none !important; }
}
.pptx-preview-footer, .pptx-preview-footer-title, .pptx-preview-footer-meta { color: #6B655B; }
.pptx-preview-slide { --stepbinder-doc-muted: #6B655B; }
.pptx-nl-list { margin: 0; padding-left: 1.667cqw; list-style: disc; }
.pptx-nl-list li { margin: 0 0 0.417cqw; padding: 0; }
.pptx-nl-num { margin: 0 0 0.417cqw; }
.pptx-nl-figure { display: block; width: 100%; height: 100%; border: 1px solid #1a1a1a; box-sizing: border-box; }
.pptx-preview-head,
.pptx-preview-cover-title,
.pptx-preview-step-desc strong { font-family: var(--pptx-font-head, Arial, Helvetica, sans-serif); }

/* styles/16-preview-process.css */

#pptx-preview-overlay .pptx-preview-scroll-wrap { background: var(--pv-ground); }
#pptx-preview-overlay .pptx-preview-loading { color: var(--pv-ink); }
#pptx-preview-overlay .pv-main-row { flex-direction: row; }
#pptx-preview-overlay .pptx-preview-stage-wrap {
  background: var(--pv-stage);
  overflow-x: auto;
}
#pptx-preview-overlay .pptx-preview-stage-host { zoom: var(--pv-zoom, 1); }
html[data-ui-theme="dark"] #print-preview-overlay .pv-btn.overlay-close,
html[data-ui-theme="dark"] #html-preview-overlay .pv-btn.overlay-close,
html[data-ui-theme="dark"] #pptx-preview-overlay .pv-btn.overlay-close,
#print-preview-overlay .pv-btn.overlay-close,
#html-preview-overlay .pv-btn.overlay-close,
#pptx-preview-overlay .pv-btn.overlay-close {
  background: var(--pv-panel);
  color: var(--pv-ink);
  border: 1px solid var(--pv-control);
}
#print-preview-overlay .pv-btn.overlay-close:hover,
#html-preview-overlay .pv-btn.overlay-close:hover,
#pptx-preview-overlay .pv-btn.overlay-close:hover { background: var(--pv-soft); color: var(--pv-ink); }
