/* Base Layout & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-brand);
  background-color: #F8F9FA;
  color: var(--crowe-gray-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Top Bar */
.crowe-topbar {
  background: #011E41;
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(1, 30, 65, 0.25);
}

.topbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.brand-titles {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 16px;
}

.brand-main-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #FFFFFF;
}

.brand-sub-title {
  font-size: 12px;
  color: #54C0E8;
  font-weight: 400;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.strapline-badge {
  background: rgba(245, 168, 0, 0.15);
  color: #F5A800;
  border: 1px solid rgba(245, 168, 0, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.lang-switch-btn {
  background: #F5A800;
  color: #011E41;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.lang-switch-btn:hover {
  background: #ffba24;
  transform: translateY(-1px);
}

/* Main Navigation Bar */
.crowe-navbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--crowe-gray-border);
  position: sticky;
  top: 62px;
  z-index: 999;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.nav-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #555555;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tab-btn:hover {
  color: var(--crowe-indigo);
  background: #F4F6F9;
}

.nav-tab-btn.active {
  color: var(--crowe-indigo);
  border-bottom-color: var(--crowe-amber);
  background: #FFFFFF;
}

/* Main Container */
.main-content-wrapper {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 24px 80px 24px;
}

.app-section {
  display: none;
}

.app-section.active {
  display: block;
}

/* Hero / Section Header Banner */
.section-header-banner {
  background: linear-gradient(135deg, #011E41 0%, #0d2e59 100%);
  color: #FFFFFF;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.section-header-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 240px;
  height: 240px;
  background: #F5A800;
  transform: rotate(25deg);
  opacity: 0.15;
  pointer-events: none;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 15px;
  color: #D2DFED;
  max-width: 860px;
  line-height: 1.6;
}

/* Original Raw Files Highlights Bar */
.raw-files-bar {
  background: #FFFFFF;
  border: 2px solid var(--crowe-amber);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 16px;
}

.raw-files-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.raw-badge {
  background: #F5A800;
  color: #011E41;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
}

.raw-text-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--crowe-indigo);
}

.raw-text-sub {
  font-size: 13px;
  color: #666666;
}

.raw-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-raw-download {
  background: #011E41;
  color: #FFFFFF;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-raw-download:hover {
  background: #003F9F;
  transform: translateY(-1px);
}

/* Sub Tabs Inside Guide */
.guide-subtabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--crowe-gray-border);
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.subtab-btn {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #555555;
  transition: var(--transition-fast);
}

.subtab-btn:hover {
  border-color: var(--crowe-indigo);
  color: var(--crowe-indigo);
}

.subtab-btn.active {
  background: var(--crowe-indigo);
  color: #FFFFFF;
  border-color: var(--crowe-indigo);
}

.guide-panel {
  display: none;
}

.guide-panel.active {
  display: block;
}

/* Card Grids */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #F4F6F9;
  color: var(--crowe-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--crowe-indigo);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

/* Color Swatches */
.swatch-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--crowe-gray-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.swatch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.swatch-preview {
  height: 100px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8px 12px;
}

.swatch-copy-hint {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,0.5);
  color: #FFF;
  padding: 2px 8px;
  border-radius: 4px;
}

.swatch-info {
  padding: 14px;
}

.swatch-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--crowe-indigo);
  margin-bottom: 6px;
}

.swatch-hex {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.swatch-meta {
  font-size: 11px;
  color: #777777;
  line-height: 1.4;
}

/* Contrast Calculator Box */
.contrast-box {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.contrast-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.color-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-input-group input[type="color"] {
  width: 40px;
  height: 36px;
  border: 1px solid var(--crowe-gray-border);
  border-radius: 6px;
  cursor: pointer;
}

.contrast-result-card {
  background: #F4F6F9;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ratio-display {
  font-size: 32px;
  font-weight: 800;
  color: var(--crowe-indigo);
}

.badge-pass {
  background: #E6F7F0;
  color: #05AB8C;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.badge-fail {
  background: #FDE8EF;
  color: #E5376B;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

/* Comparison Table (Slidedocs vs Onscreen) */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.guide-table th {
  background: #011E41;
  color: #FFFFFF;
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.guide-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--crowe-gray-border);
  font-size: 14px;
}

.guide-table tr:hover {
  background: #F8F9FA;
}

/* PDF Library & Viewer */
.pdf-viewer-container {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.viewer-top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--crowe-gray-border);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.viewer-nav-btn {
  background: #011E41;
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.viewer-nav-btn:hover {
  background: #003F9F;
}

.viewer-main-stage {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.viewer-thumbnails-panel {
  width: 220px;
  max-height: 680px;
  overflow-y: auto;
  border-right: 1px solid var(--crowe-gray-border);
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumb-item {
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-fast);
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.thumb-item:hover {
  border-color: #54C0E8;
}

.thumb-item.active {
  border-color: var(--crowe-amber);
  box-shadow: 0 0 0 2px rgba(245, 168, 0, 0.4);
}

.thumb-item img {
  width: 100%;
  display: block;
}

.thumb-item-label {
  font-size: 11px;
  text-align: center;
  padding: 4px;
  font-weight: 600;
  color: #666666;
}

.viewer-large-display {
  flex: 1;
  background: #ECEFF3;
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.viewer-current-img {
  max-width: 100%;
  max-height: 750px;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  background: #FFFFFF;
}

.viewer-page-info {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--crowe-indigo);
  text-align: center;
}

/* 26 Layouts Cards */
.layouts-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.layout-card {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.layout-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--crowe-indigo);
}

.layout-mini-preview {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  display: block !important;
  user-select: none;
  border-bottom: 1px solid #ECEFF3;
  cursor: pointer;
  background: #011E41;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.layout-card:hover .layout-mini-preview {
  box-shadow: inset 0 0 0 2px var(--crowe-indigo);
}

.layout-mini-preview.theme-light {
  background: #FFFFFF;
}

/* ----------------------------------------------------
   High-Fidelity 16:9 Mini Slide Wireframe Previews (26 Layouts)
   ---------------------------------------------------- */
.mini-slide-root {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  font-family: Arial, "Helvetica Neue", "PingFang TC", "Microsoft JhengHei", sans-serif;
  overflow: hidden;
}

.mini-slide-root.theme-light {
  background: #FFFFFF;
  color: #011E41;
}

.mini-slide-root.theme-dark {
  background: #011E41;
  color: #FFFFFF;
}

.mini-slide-root.theme-special {
  background: #011E41;
  color: #FFFFFF;
}

.mini-slide-root.theme-photo {
  background: #011E41;
  color: #FFFFFF;
}

/* Corner Tag / Badge */
.mini-corner-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 10;
  letter-spacing: 0.3px;
}

.mini-corner-badge.light {
  background: rgba(1, 30, 65, 0.08);
  color: #011E41;
  border: 1px solid rgba(1, 30, 65, 0.12);
}

.mini-corner-badge.dark {
  background: rgba(245, 168, 0, 0.18);
  color: #F5A800;
  border: 1px solid rgba(245, 168, 0, 0.3);
}

.mini-corner-badge.photo {
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header */
.mini-slide-header {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(1, 30, 65, 0.08);
  flex-shrink: 0;
  z-index: 2;
}

.mini-slide-header.dark {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-header-title {
  font-size: 9px;
  font-weight: 700;
  max-width: 210px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.mini-header-logo {
  height: 10px;
  width: auto;
  object-fit: contain;
}

/* Body */
.mini-slide-body {
  flex: 1;
  padding: 6px 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  box-sizing: border-box;
  z-index: 1;
}

/* Footer */
.mini-slide-footer {
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 6.5px;
  border-top: 1px solid rgba(1, 30, 65, 0.06);
  flex-shrink: 0;
  z-index: 2;
}

.mini-slide-footer.light {
  color: #888888;
}

.mini-slide-footer.dark {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

/* Cover Specifics */
.mini-cover-logo {
  position: absolute;
  top: 10px;
  right: 12px;
  height: 11px;
  width: auto;
  z-index: 4;
}

.mini-cover-content {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 66%;
  z-index: 3;
}

.mini-cover-headline {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  margin: 4px 0 3px 0;
  letter-spacing: -0.3px;
}

.mini-cover-subline {
  font-size: 7.5px;
  color: #666666;
  margin-bottom: 5px;
}

.mini-cover-author {
  font-size: 6.5px;
  color: #003F9F;
  font-weight: 600;
}

.mini-pill-amber {
  display: inline-block;
  font-size: 6.5px;
  font-weight: 700;
  color: #011E41;
  background: #FFF4D9;
  border: 1px solid #FFE3A3;
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}

.mini-pill-dark {
  display: inline-block;
  font-size: 6.5px;
  font-weight: 700;
  color: #F5A800;
  background: rgba(245, 168, 0, 0.15);
  border: 1px solid rgba(245, 168, 0, 0.3);
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}

/* SmartPath Geometry Accents */
.mini-smartpath-angle-light {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 32%;
  background: #F5A800;
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.mini-smartpath-angle-dark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 42%;
  background: #F5A800;
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.mini-smartpath-section-light {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 25%;
  background: #F5A800;
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.mini-smartpath-section-dark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  height: 45%;
  background: #F5A800;
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.mini-smartpath-closing-amber {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  background: #F5A800;
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.mini-smartpath-closing-cyan {
  position: absolute;
  right: 22%;
  top: 0;
  bottom: 0;
  width: 14%;
  background: #54C0E8;
  opacity: 0.6;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

/* Canvas Blueprint */
.mini-canvas-blueprint {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.mini-canvas-blueprint.light {
  border: 1px dashed #B0BEC5;
  background: rgba(1, 30, 65, 0.02);
  color: #546E7A;
}

.mini-canvas-blueprint.dark {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: #B0BEC5;
}

/* Exec Callout */
.mini-exec-callout {
  width: 100%;
  padding: 8px 10px;
  border-radius: 0 4px 4px 0;
  box-sizing: border-box;
}

.mini-exec-callout.light {
  border-left: 3px solid #F5A800;
  background: #F8F9FA;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.mini-exec-callout.dark {
  border-left: 3px solid #F5A800;
  background: rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bullets */
.mini-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  justify-content: center;
}

.mini-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.mini-bullet-dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
}

.mini-skel-bar {
  border-radius: 2px;
  transition: width 0.2s ease;
}

/* Two-column cards */
.mini-col-card {
  flex: 1;
  height: 100%;
  padding: 6px 8px;
  border-radius: 3px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-col-card.light {
  background: #F8F9FA;
  border: 1px solid #ECEFF3;
}

.mini-col-card.light.active {
  background: #F0F7FC;
  border: 1px solid #CFE2FE;
}

.mini-col-card.dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-col-card.dark.active {
  background: rgba(84, 192, 232, 0.08);
  border: 1px solid rgba(84, 192, 232, 0.28);
}

/* Chart */
.mini-chart-box {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  padding: 4px 6px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mini-chart-box.light {
  background: #F8F9FA;
  border: 1px solid #ECEFF3;
}

.mini-chart-box.dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 85%;
  border-bottom: 1px solid rgba(1, 30, 65, 0.15);
  padding-bottom: 2px;
}

.mini-chart-box.dark .mini-chart-bars {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mini-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  height: 100%;
  justify-content: flex-end;
  width: 14%;
}

.mini-chart-fill {
  width: 100%;
  border-radius: 2px 2px 0 0;
}

/* Table */
.mini-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 6.5px;
  text-align: left;
}

.mini-data-table th, .mini-data-table td {
  padding: 3px 4px;
}

.mini-data-table.light th {
  background: #011E41;
  color: #FFFFFF;
  font-weight: 700;
}

.mini-data-table.light tr:nth-child(even) {
  background: #F8F9FA;
}

.mini-data-table.light tr:nth-child(odd) {
  background: #FFFFFF;
}

.mini-data-table.light td {
  border-bottom: 1px solid #ECEFF3;
  color: #333333;
}

.mini-data-table.dark th {
  background: rgba(84, 192, 232, 0.25);
  border-bottom: 1px solid #54C0E8;
  color: #FFFFFF;
  font-weight: 700;
}

.mini-data-table.dark tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.06);
}

.mini-data-table.dark tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.mini-data-table.dark td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
}

/* Blank Watermark */
.mini-blank-watermark {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mini-blank-watermark.light {
  border: 1px dashed #CBD5E1;
  color: #94A3B8;
  background: #FAFAFA;
}

.mini-blank-watermark.dark {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.02);
}

.layout-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.layout-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--crowe-indigo);
  margin-bottom: 6px;
}

.layout-card-desc {
  font-size: 12px;
  color: #666666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.layout-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ECEFF3;
}

.btn-use-layout {
  background: var(--crowe-amber);
  color: #011E41;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-use-layout:hover {
  background: #ffba24;
}

.btn-inspect-layout {
  background: rgba(1, 30, 65, 0.05);
  color: #011E41;
  border: 1px solid #D1D5DB;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-inspect-layout:hover {
  background: rgba(1, 30, 65, 0.1);
}

/* Smart Slide Builder Studio */
.builder-layout-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .builder-layout-grid {
    grid-template-columns: 1fr;
  }
}

.builder-controls-panel {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--crowe-indigo);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--crowe-gray-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: #333333;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--crowe-blue);
  box-shadow: 0 0 0 3px rgba(0, 63, 159, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--crowe-indigo);
  cursor: pointer;
  margin-bottom: 8px;
}

.builder-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-export-pptx {
  background: #011E41;
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.btn-export-pptx:hover {
  background: #003F9F;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  color: var(--crowe-indigo);
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: #F4F6F9;
  border-color: var(--crowe-indigo);
}

/* 16:9 Live Canvas Display */
.builder-canvas-panel {
  background: #ECEFF3;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.slide-canvas-169 {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  background: #FFFFFF;
  box-shadow: var(--shadow-xl);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Slide Content Formatting Inside Live 16:9 Canvas */
.slide-cover-layout,
.slide-content-layout,
.slide-statement-layout,
.slide-thankyou-layout {
  width: 100%;
  height: 100%;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.slide-cover-layout.theme-dark,
.slide-content-layout.theme-dark,
.slide-statement-layout.theme-dark {
  background: #011E41;
  color: #FFFFFF;
}

.slide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.slide-logo {
  height: 32px;
  width: auto;
}

.slide-service-listing {
  font-size: 13px;
  font-weight: 700;
  color: #003F9F;
  letter-spacing: 0.5px;
}

.slide-cover-layout.theme-dark .slide-service-listing {
  color: #54C0E8;
}

.slide-strapline-badge {
  font-size: 13px;
  font-weight: 600;
  color: #F5A800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.slide-tag {
  font-size: 11px;
  font-weight: 700;
  color: #003F9F;
  background: rgba(0, 63, 159, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.slide-content-layout.theme-dark .slide-tag {
  color: #54C0E8;
  background: rgba(84, 192, 232, 0.15);
}

.slide-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.slide-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
}

.slide-en-subtitle {
  font-size: 13px;
  font-style: italic;
  margin-top: 2px;
}

.slide-body-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 20px 0;
  flex: 1;
}

.slide-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slide-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-top: 6px;
  flex-shrink: 0;
}

.slide-angled-callout {
  padding: 14px 20px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  border-radius: 4px 0 0 4px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #777777;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 12px;
}

.slide-cover-layout.theme-dark .slide-footer,
.slide-content-layout.theme-dark .slide-footer {
  border-top-color: rgba(255,255,255,0.1);
  color: #A0B4C8;
}

.smartpath-accent-graphic {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 180px;
  height: 180px;
  background: #F5A800;
  transform: rotate(20deg);
  opacity: 0.15;
  pointer-events: none;
}

/* Compliance Checker Cards */
.compliance-container {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.compliance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--crowe-gray-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.score-badge {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.score-perfect {
  background: #E6F7F0;
  color: #05AB8C;
  border: 1px solid #05AB8C;
}

.score-good {
  background: #FEF6E6;
  color: #D99100;
  border: 1px solid #F5A800;
}

.score-warning {
  background: #FDE8EF;
  color: #E5376B;
  border: 1px solid #E5376B;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.check-item-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F8F9FA;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--crowe-gray-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.check-item-label:hover {
  background: #FFFFFF;
  border-color: var(--crowe-blue);
}

.check-item-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.check-item-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--crowe-indigo);
}

.audit-feedback-area {
  margin-top: 20px;
}

.audit-success-banner {
  background: #E6F7F0;
  border: 1px solid #05AB8C;
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.audit-warning-title {
  font-size: 15px;
  font-weight: 700;
  color: #E5376B;
  margin-bottom: 12px;
}

.audit-item-card {
  background: #FFF5F7;
  border-left: 4px solid #E5376B;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 10px;
}

.audit-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #B01040;
  margin-bottom: 4px;
}

.audit-item-desc {
  font-size: 13px;
  color: #555555;
}

/* AI Prompt Studio */
.prompt-card {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.prompt-textarea {
  width: 100%;
  min-height: 140px;
  background: #F4F6F9;
  border: 1px solid var(--crowe-gray-border);
  border-radius: 6px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #333333;
  margin: 14px 0;
  line-height: 1.5;
}

/* Footer */
.crowe-footer {
  background: #011E41;
  color: #A0B4C8;
  padding: 32px 24px;
  border-top: 3px solid #F5A800;
  font-size: 13px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

/* Modal Overlay & Dialog */
.api-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(1, 30, 65, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.api-modal-overlay.open,
.api-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.api-modal-dialog {
  background: #FFFFFF;
  width: 90%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--crowe-gray-border);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.api-modal-overlay.open .api-modal-dialog,
.api-modal-overlay.active .api-modal-dialog {
  transform: translateY(0);
}

.api-modal-header {
  background: #011E41;
  color: #FFFFFF;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.api-modal-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-modal-close {
  background: none;
  border: none;
  color: #A0B4C8;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s ease;
}

.btn-modal-close:hover {
  color: #FFFFFF;
}

.api-modal-body {
  padding: 24px;
}

.api-modal-desc {
  font-size: 13px;
  color: #555555;
  margin-bottom: 18px;
  line-height: 1.5;
}

.api-key-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.api-key-input-wrapper input {
  padding-right: 44px;
}

.btn-toggle-mask {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #777777;
}

.api-status-indicator {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.api-test-box {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  display: none;
}

.api-test-box.success {
  display: block;
  background: #E6F7F0;
  color: #05AB8C;
  border: 1px solid #05AB8C;
}

.api-test-box.error {
  display: block;
  background: #FDE8EF;
  color: #E5376B;
  border: 1px solid #E5376B;
}

.api-modal-footer {
  padding: 16px 24px;
  background: #F8F9FA;
  border-top: 1px solid var(--crowe-gray-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* AI Smart Toolbar in Slide Builder */
.builder-ai-toolbar {
  background: linear-gradient(135deg, #011E41 0%, #0d2e59 100%);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--crowe-amber);
}

.ai-toolbar-header {
  font-size: 14px;
  font-weight: 700;
  color: #F5A800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-toolbar-input-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-topic-input {
  flex: 1;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  color: #011E41;
}

.ai-topic-input:focus {
  outline: none;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px var(--crowe-amber);
}

.btn-ai-action {
  background: #F5A800;
  color: #011E41;
  border: none;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-ai-action:hover {
  background: #ffba24;
  transform: translateY(-1px);
}

.btn-ai-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-ai-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: wait !important;
}

/* ========================================================
   Gemini Benchmark & Cost Analysis Styles
   ======================================================== */
.benchmark-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.benchmark-metric-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid #011E41;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benchmark-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.benchmark-metric-card.gold-card {
  border-top-color: #F5A800;
}

.benchmark-metric-card.cyan-card {
  border-top-color: #54C0E8;
}

.benchmark-metric-card.green-card {
  border-top-color: #05AB8C;
}

.benchmark-metric-val {
  font-size: 26px;
  font-weight: 800;
  color: #011E41;
  margin: 6px 0;
  font-family: var(--font-brand);
}

.benchmark-metric-label {
  font-size: 13px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benchmark-metric-sub {
  font-size: 12px;
  color: #888888;
  line-height: 1.4;
}

/* Benchmark Table */
.benchmark-table-wrapper {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 28px;
  border: 1px solid #E1E5EB;
}

.benchmark-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.benchmark-data-table th {
  background: #011E41;
  color: #FFFFFF;
  padding: 12px 16px;
  font-weight: 700;
  white-space: nowrap;
}

.benchmark-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ECEFF3;
  color: #333333;
  vertical-align: middle;
}

.benchmark-data-table tr:nth-child(even) {
  background: #F8F9FA;
}

.benchmark-data-table tr:hover {
  background: #F0F4F8;
}

.badge-status-ok {
  background: #E6F7F3;
  color: #05AB8C;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.badge-status-warn {
  background: #FFF8E6;
  color: #B37400;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.badge-status-err {
  background: #FFF0F4;
  color: #E5376B;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* Field Notes Cards */
.field-note-box {
  background: #FFFFFF;
  border-radius: 8px;
  border-left: 5px solid #F5A800;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.field-note-title {
  font-size: 16px;
  font-weight: 700;
  color: #011E41;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.field-note-body {
  font-size: 13.5px;
  color: #444444;
  line-height: 1.65;
}

/* Cost Analysis Cards Grid */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.cost-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 22px;
  border: 1px solid #E1E5EB;
  box-shadow: var(--shadow-sm);
}

.cost-card-header {
  border-bottom: 1px solid #ECEFF3;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.cost-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #011E41;
}

.cost-calc-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.25);
}

.btn-loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: wait !important;
}

/* ========================================================
   Gemini Benchmark & Cost Analysis Styles
   ======================================================== */
.benchmark-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.benchmark-metric-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid #011E41;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benchmark-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.benchmark-metric-card.gold-card {
  border-top-color: #F5A800;
}

.benchmark-metric-card.cyan-card {
  border-top-color: #54C0E8;
}

.benchmark-metric-card.green-card {
  border-top-color: #05AB8C;
}

.benchmark-metric-val {
  font-size: 26px;
  font-weight: 800;
  color: #011E41;
  margin: 6px 0;
  font-family: var(--font-brand);
}

.benchmark-metric-label {
  font-size: 13px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benchmark-metric-sub {
  font-size: 12px;
  color: #888888;
  line-height: 1.4;
}

/* Benchmark Table */
.benchmark-table-wrapper {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 28px;
  border: 1px solid #E1E5EB;
}

.benchmark-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.benchmark-data-table th {
  background: #011E41;
  color: #FFFFFF;
  padding: 12px 16px;
  font-weight: 700;
  white-space: nowrap;
}

.benchmark-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ECEFF3;
  color: #333333;
  vertical-align: middle;
}

.benchmark-data-table tr:nth-child(even) {
  background: #F8F9FA;
}

.benchmark-data-table tr:hover {
  background: #F0F4F8;
}

.badge-status-ok {
  background: #E6F7F3;
  color: #05AB8C;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.badge-status-warn {
  background: #FFF8E6;
  color: #B37400;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.badge-status-err {
  background: #FFF0F4;
  color: #E5376B;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* Field Notes Cards */
.field-note-box {
  background: #FFFFFF;
  border-radius: 8px;
  border-left: 5px solid #F5A800;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.field-note-title {
  font-size: 16px;
  font-weight: 700;
  color: #011E41;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.field-note-body {
  font-size: 13.5px;
  color: #444444;
  line-height: 1.65;
}

/* Cost Analysis Cards Grid */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.cost-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 22px;
  border: 1px solid #E1E5EB;
  box-shadow: var(--shadow-sm);
}

.cost-card-header {
  border-bottom: 1px solid #ECEFF3;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.cost-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #011E41;
}

.cost-calc-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: #555555;
  border-bottom: 1px dashed #F0F0F0;
}

.cost-calc-row.total-row {
  border-top: 2px solid #011E41;
  border-bottom: none;
  font-weight: 800;
  color: #011E41;
  font-size: 14px;
  margin-top: 8px;
  padding-top: 10px;
}

/* AI Dual-Mode Toolbar (Text Paste vs File Upload) */
.ai-mode-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.ai-mode-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ai-mode-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ai-mode-btn.active {
  background: #F5A800;
  color: #011E41;
  border-color: #F5A800;
  font-weight: 700;
}

.ai-presets-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

.ai-preset-chip {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ai-preset-chip:hover {
  background: rgba(245, 168, 0, 0.3);
  border-color: #F5A800;
  color: #F5A800;
}

.file-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 10px;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: #F5A800;
  background: rgba(245, 168, 0, 0.12);
}

.file-dropzone-icon {
  font-size: 32px;
  margin-bottom: 6px;
}

.file-dropzone-text {
  font-size: 13px;
  color: #FFFFFF;
  font-weight: 600;
}

.file-dropzone-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.file-summary-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 10px;
  font-size: 12px;
}

/* Showcase Section Styles */
.showcase-pipeline-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #011E41 0%, #003F9F 100%);
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pipeline-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.pipeline-step-title {
  font-size: 13px;
  font-weight: 700;
}

.pipeline-step-sub {
  font-size: 11px;
  opacity: 0.8;
}

.pipeline-arrow {
  color: #F5A800;
  font-weight: bold;
  font-size: 18px;
}

.showcase-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  color: #011E41;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.showcase-tab-btn:hover {
  background: #F4F6F9;
  border-color: #003F9F;
}

.showcase-tab-btn.active {
  background: #011E41;
  color: #FFFFFF;
  border-color: #011E41;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

.showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.showcase-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ECEFF3;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #011E41;
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-article-box {
  background: #F8F9FA;
  border: 1px solid #E1E5EB;
  border-radius: 6px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #333333;
  max-height: 280px;
  overflow-y: auto;
  font-family: inherit;
  white-space: pre-wrap;
  margin-bottom: 14px;
}

.showcase-code-box {
  background: #011E41;
  color: #E2E8F0;
  border-radius: 6px;
  padding: 14px;
  font-family: 'Consolas', monospace;
  font-size: 12px;
  line-height: 1.5;
  max-height: 280px;
  overflow-y: auto;
  white-space: pre-wrap;
  margin-bottom: 14px;
}

.showcase-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.showcase-meta-item {
  background: #F4F6F9;
  border-radius: 6px;
  padding: 10px 12px;
  border-left: 3px solid #003F9F;
}

.showcase-meta-item.gold {
  border-left-color: #F5A800;
  background: #FFFDF5;
}

.showcase-meta-item.green {
  border-left-color: #05AB8C;
  background: #F0FBF8;
}

.showcase-meta-label {
  font-size: 11px;
  color: #666666;
  text-transform: uppercase;
}

.showcase-meta-val {
  font-size: 14px;
  font-weight: 700;
  color: #011E41;
  margin-top: 2px;
}

/* ========================================================
   Agent Hub & Resource Packager Styles
   ======================================================== */
.agent-subtabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #E1E5EB;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.agent-subtab-btn {
  background: #FFFFFF;
  border: 1px solid #E1E5EB;
  color: #011E41;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.agent-subtab-btn:hover {
  background: #F4F6F9;
  border-color: #003F9F;
}

.agent-subtab-btn.active {
  background: #011E41;
  color: #FFFFFF;
  border-color: #011E41;
  box-shadow: var(--shadow-sm);
}

.agent-step-card {
  background: #FFFFFF;
  border: 1px solid var(--crowe-gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.agent-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ECEFF3;
}

.agent-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #011E41;
  color: #F5A800;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.agent-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #011E41;
}

.agent-advice-box {
  background: #FFFDF5;
  border: 1px solid #F5A800;
  border-left: 5px solid #F5A800;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.agent-manifest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.agent-manifest-item {
  background: #F8F9FA;
  border: 1px solid #E1E5EB;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-manifest-icon {
  font-size: 24px;
}

.agent-throw-box {
  background: #EBF4FF;
  border: 1px solid #003F9F;
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 16px;
}

/* Multi-Slide Deck Navigation Bar */
.deck-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #D5D9E0;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 12px;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.deck-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-deck-arrow {
  background: #F0F4F8;
  border: 1px solid #C8D0DC;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #011E41;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-deck-arrow:hover {
  background: #011E41;
  color: #FFFFFF;
  border-color: #011E41;
}

.deck-counter-badge {
  font-size: 12px;
  font-weight: 700;
  color: #011E41;
  background: #EBF4FF;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.deck-pills-container {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  max-width: 650px;
  padding: 2px 0;
}

.deck-slide-pill {
  background: #F0F4F8;
  border: 1px solid #D5D9E0;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11.5px;
  color: #444444;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.deck-slide-pill:hover {
  border-color: #003F9F;
  color: #003F9F;
}

.deck-slide-pill.active {
  background: #011E41;
  color: #FFFFFF;
  border-color: #011E41;
  font-weight: 700;
}

/* Layout 08: Four Metrics Cards Grid (16:9 Canvas) */
.slide-body-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 10px 0;
  flex: 1;
}

.slide-metric-card {
  background: #F8F9FA;
  border: 1px solid #E1E5EB;
  border-top: 4px solid #003F9F;
  border-radius: 6px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.slide-metric-card.gold-card {
  border-top-color: #F5A800;
}

.slide-metric-card.cyan-card {
  border-top-color: #54C0E8;
}

.slide-metric-card.teal-card {
  border-top-color: #05AB8C;
}

.slide-metric-val {
  font-size: 26px;
  font-weight: 800;
  color: #011E41;
  margin-bottom: 4px;
  font-family: var(--font-brand);
}

.slide-metric-label {
  font-size: 13px;
  font-weight: 700;
  color: #003F9F;
  margin-bottom: 6px;
  line-height: 1.35;
}

.slide-metric-note {
  font-size: 11.5px;
  color: #666666;
  line-height: 1.4;
}

/* Layout 14: Timeline Horizontal Roadmap (16:9 Canvas) */
.slide-body-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 12px 0;
  flex: 1;
}

.slide-timeline-step {
  background: #F8F9FA;
  border: 1px solid #E1E5EB;
  border-radius: 6px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-step-badge {
  display: inline-block;
  background: #011E41;
  color: #F5A800;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.timeline-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #011E41;
  margin-bottom: 6px;
}

.timeline-step-desc {
  font-size: 12.5px;
  color: #555555;
  line-height: 1.45;
}

/* ==========================================================================
   Crowe Presentation Masterclass & Guidelines Overhaul Styles
   ========================================================================== */

/* 1. Master Presentation Hero Banner */
.pres-master-banner {
  background: linear-gradient(135deg, #011E41 0%, #08264D 60%, #003F9F 100%);
  color: #FFFFFF;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(1, 30, 65, 0.25);
  border-left: 6px solid #F5A800;
}

.pres-master-banner::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 280px;
  height: 280px;
  background: #F5A800;
  transform: rotate(20deg);
  opacity: 0.12;
  pointer-events: none;
}

.pres-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 168, 0, 0.2);
  border: 1px solid #F5A800;
  color: #F5A800;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pres-master-title {
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.pres-master-strapline {
  font-size: 18px;
  font-weight: 600;
  color: #54C0E8;
  margin-bottom: 12px;
}

.pres-master-desc {
  font-size: 15px;
  color: #D2DFED;
  max-width: 900px;
  line-height: 1.7;
}

/* 2. Master Live 16:9 Presentation Stage */
.pres-stage-container {
  background: #FFFFFF;
  border: 1px solid #E1E5EB;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

.pres-stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EAEFF5;
}

.pres-stage-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pres-stage-tab-btn {
  background: #F4F6F9;
  border: 1px solid #D2DFED;
  color: #011E41;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pres-stage-tab-btn:hover {
  background: #E8F0FA;
  border-color: #003F9F;
}

.pres-stage-tab-btn.active {
  background: #011E41;
  color: #FFFFFF;
  border-color: #011E41;
  box-shadow: 0 4px 10px rgba(1, 30, 65, 0.2);
}

.pres-stage-tab-btn.active .tab-icon-badge {
  color: #F5A800;
}

.pres-stage-canvas-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.pres-stage-aspect-169 {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #011E41;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Master Slide Breakdown Card & Notes Drawer */
.pres-stage-breakdown {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 860px) {
  .pres-stage-breakdown {
    grid-template-columns: 1fr;
  }
}

.pres-breakdown-card {
  background: #F8F9FA;
  border: 1px solid #E1E5EB;
  border-radius: 8px;
  padding: 16px 20px;
}

.pres-breakdown-title {
  font-size: 14px;
  font-weight: 700;
  color: #011E41;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pres-breakdown-body {
  font-size: 13px;
  line-height: 1.6;
  color: #444444;
}

.pres-notes-drawer-content {
  font-size: 13px;
  line-height: 1.6;
  color: #011E41;
  background: #FFFDF4;
  border-left: 3px solid #F5A800;
  padding: 10px 14px;
  border-radius: 4px;
  margin-top: 6px;
}

/* 3. The Two PowerPoint Philosophies Section */
.pres-section-heading {
  font-size: 22px;
  font-weight: 800;
  color: #011E41;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pres-section-subheading {
  font-size: 14px;
  color: #666666;
  margin-bottom: 22px;
  line-height: 1.6;
}

.philosophies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .philosophies-grid {
    grid-template-columns: 1fr;
  }
}

.philosophy-card {
  background: #FFFFFF;
  border: 2px solid #E1E5EB;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.philosophy-card.onscreen-card {
  border-top: 6px solid #003F9F;
}

.philosophy-card.slidedoc-card {
  border-top: 6px solid #05AB8C;
}

.philosophy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.philosophy-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.philosophy-icon {
  font-size: 28px;
}

.philosophy-type-title {
  font-size: 18px;
  font-weight: 800;
  color: #011E41;
}

.philosophy-motto {
  font-size: 13.5px;
  font-style: italic;
  color: #555555;
  background: #F4F6F9;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  border-left: 3px solid #F5A800;
}

.philosophy-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 13.5px;
  color: #333333;
}

.philosophy-specs li {
  padding: 6px 0;
  border-bottom: 1px dashed #EAEFF5;
  display: flex;
  gap: 8px;
}

.philosophy-specs strong {
  color: #011E41;
  min-width: 76px;
}

.philosophy-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
}

.philosophy-tag {
  background: #E8F0FA;
  color: #003F9F;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* 4. Four Deadly Showdowns: DO vs. DON'T */
.dodont-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.dodont-card {
  background: #FFFFFF;
  border: 1px solid #E1E5EB;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.dodont-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F0F3F7;
}

.dodont-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #011E41;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dodont-card-rule-tag {
  background: #FEF6E6;
  color: #B26A00;
  border: 1px solid #F5A800;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
}

.dodont-comparison-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 780px) {
  .dodont-comparison-stage {
    grid-template-columns: 1fr;
  }
}

.dodont-col {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #E1E5EB;
  display: flex;
  flex-direction: column;
}

.dodont-col.col-bad {
  border-color: #F8D7DA;
  background: #FFF9F9;
}

.dodont-col.col-good {
  border-color: #D4EDDA;
  background: #F9FFF9;
}

.dodont-badge-bar {
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dodont-col.col-bad .dodont-badge-bar {
  background: #F8D7DA;
  color: #721C24;
}

.dodont-col.col-good .dodont-badge-bar {
  background: #D4EDDA;
  color: #155724;
}

.slide-mini-mockup {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.mockup-bad-content {
  background: #FFFFFF;
  border: 1px solid #DDD;
  font-size: 9.5px;
  line-height: 1.35;
  color: #333333;
}

.mockup-good-content {
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px #E1E5EB;
}

.dodont-explain {
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #444444;
  border-top: 1px solid #EAEFF5;
}

/* 5. Master Action Hub */
.pres-action-hub {
  background: linear-gradient(135deg, #F4F6F9 0%, #E8F0FA 100%);
  border: 2px solid #003F9F;
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.pres-action-hub-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: #011E41;
  margin-bottom: 4px;
}

.pres-action-hub-text p {
  font-size: 13.5px;
  color: #555555;
}

.pres-action-hub-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hub-primary {
  background: #011E41;
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-hub-primary:hover {
  background: #003F9F;
  transform: translateY(-2px);
}

.btn-hub-gold {
  background: #F5A800;
  color: #011E41;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-hub-gold:hover {
  background: #E09800;
  transform: translateY(-2px);
}

/* ==========================================================================
   WYSIWYG In-Place Text Editing Styles (Direct Slide Editing)
   ========================================================================== */
[contenteditable="true"] {
  outline: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  border-radius: 3px;
  cursor: text;
}

[contenteditable="true"]:hover {
  outline: 1.5px dashed #54C0E8;
  outline-offset: 2px;
  background-color: rgba(84, 192, 232, 0.08);
}

[contenteditable="true"]:focus {
  outline: 2px solid #003F9F;
  outline-offset: 2px;
  background-color: rgba(0, 63, 159, 0.06);
}

.theme-dark [contenteditable="true"]:hover {
  outline-color: #F5A800;
  background-color: rgba(245, 168, 0, 0.12);
}

.theme-dark [contenteditable="true"]:focus {
  outline-color: #F5A800;
  background-color: rgba(245, 168, 0, 0.18);
}

.inline-edit-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   16:9 Vector PDF Print Stylesheet (window.print() Engine)
   ========================================================================== */
#print-slides-deck-container {
  display: none;
}

@media print {
  @page {
    size: 16in 9in landscape;
    margin: 0;
  }

  html, body {
    background: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 16in !important;
    height: auto !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hide all UI elements, topbar, nav, sidebars, buttons, toolbars */
  .crowe-topbar,
  .crowe-navbar,
  .builder-controls-panel,
  .deck-nav-bar,
  .builder-ai-toolbar,
  .section-header-banner,
  .guide-subtabs,
  .topbar-actions,
  .raw-files-bar,
  .modal-backdrop,
  .btn-export-pptx,
  .btn-secondary,
  .builder-actions,
  .inline-edit-hint-badge,
  .app-section,
  header,
  nav,
  footer {
    display: none !important;
  }

  /* Show only the dedicated print container */
  #print-slides-deck-container {
    display: block !important;
    width: 16in !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .print-slide-page {
    width: 16in !important;
    height: 9in !important;
    page-break-after: always !important;
    break-after: page !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* High fidelity typography inside printed slides */
  .print-slide-page .slide-cover-layout,
  .print-slide-page .slide-content-layout {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  /* Disable hover outlines when printing */
  [contenteditable="true"] {
    outline: none !important;
    background: transparent !important;
  }
}

/* Embedded 37-page manual toolbar offset below sticky navbar */
#section-library .guide-toolbar {
  position: sticky;
  top: 110px;
  z-index: 990;
}




/* --- English PDF Original Strip for Section Guide --- */
.original-pdf-strip {
  background: #011E41;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(84, 192, 232, 0.3);
  box-shadow: 0 4px 16px rgba(1, 30, 65, 0.15);
}

.pdf-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.pdf-strip-badge {
  background: #54C0E8;
  color: #011E41;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pdf-strip-pages {
  font-size: 12px;
  color: #CBD5E1;
  font-weight: 500;
}

.pdf-strip-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.pdf-preview-box {
  background: #082852;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.pdf-preview-box:hover {
  transform: translateY(-2px);
  border-color: #F5A800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.pdf-preview-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.4142 / 1;
  object-fit: contain;
  background: #FFFFFF;
  display: block;
}

.pdf-caption {
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: #011E41;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.zh-translation-badge-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #05AB8C;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.tab-copyright-footer {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid #E1E5EB;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #003F9F;
  letter-spacing: 0.5px;
}

/* Global Sticky or End Footer */
.crowe-page-footer {
  background: #011E41;
  color: #FFFFFF;
  border-top: 3px solid #F5A800;
  padding: 24px 0;
  margin-top: 48px;
}

.crowe-page-footer .footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: #CBD5E1;
}

.crowe-page-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crowe-page-footer .footer-center {
  color: #F5A800;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(245, 168, 0, 0.12);
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid rgba(245, 168, 0, 0.3);
}

.crowe-page-footer .footer-right {
  font-size: 12px;
  color: #94A3B8;
}
