:root {
  --ppt-primary: #2563eb;
  --ppt-primary-dark: #1d4ed8;
  --ppt-ink: #0f172a;
  --ppt-muted: #64748b;
  --ppt-soft: #f8fafc;
  --ppt-soft-2: #eef4ff;
  --ppt-line: #dbe4f0;
  --ppt-card: rgba(255, 255, 255, 0.94);
  --ppt-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --ppt-radius: 28px;
}

.ppt-demo-section {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
}

.ppt-demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(124, 58, 237, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
  z-index: -2;
}

.ppt-demo-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  z-index: -1;
}

.ppt-demo-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.ppt-demo-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(520px, 1.65fr);
  gap: 24px;
  align-items: start;
}

.ppt-studio-card,
.ppt-output-card {
  border: 1px solid rgba(219, 228, 240, 0.92);
  background: var(--ppt-card);
  border-radius: var(--ppt-radius);
  box-shadow: var(--ppt-shadow);
  backdrop-filter: blur(18px);
}

.ppt-studio-card {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.ppt-output-card {
  min-height: 650px;
  padding: 28px;
}

.ppt-studio-card h2,
.ppt-output-card h2 {
  margin: 8px 0 10px;
  color: var(--ppt-ink);
  letter-spacing: -0.04em;
}

.ppt-helper {
  margin: 0 0 22px;
  color: var(--ppt-muted);
  line-height: 1.7;
  word-break: keep-all;
}

.ppt-form {
  display: grid;
  gap: 16px;
}

.ppt-form label,
.manual-subtopic label {
  display: grid;
  gap: 8px;
  color: var(--ppt-ink);
  font-weight: 800;
  font-size: 0.94rem;
}

.ppt-form input,
.ppt-form select,
.manual-subtopic input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--ppt-line);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.94);
  color: var(--ppt-ink);
  padding: 0 15px;
  font-weight: 750;
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease, transform .22s ease;
}

.ppt-form input:focus,
.ppt-form select:focus,
.manual-subtopic input:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #fff;
}

.ppt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}

.ppt-layout-row {
  align-items: stretch;
}

.ppt-layout-help {
  margin: 28px 0 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(219, 228, 240, 0.86);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.85);
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
  word-break: keep-all;
}

.ppt-toggle {
  min-height: 50px;
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px !important;
  padding: 0 14px;
  border: 1px solid var(--ppt-line);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.94);
  cursor: pointer;
  user-select: none;
}

.ppt-toggle input {
  width: auto;
  height: auto;
  accent-color: var(--ppt-primary);
}

.ppt-action-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 4px;
}

.ppt-action-row .btn,
.ppt-result-actions .btn {
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.ppt-action-row .btn:hover,
.ppt-result-actions .btn:hover {
  transform: translateY(-2px);
}

.ppt-action-row .btn.primary,
.ppt-result-actions .btn.primary {
  background: linear-gradient(135deg, var(--ppt-primary), var(--ppt-primary-dark));
  color: #fff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.ppt-action-row .btn.secondary,
.ppt-result-actions .btn.secondary {
  background: #fff;
  color: var(--ppt-ink);
  border: 1px solid rgba(219, 228, 240, 0.94);
}

.subtopic-panel {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ppt-line);
}

.subtopic-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--ppt-ink);
}

.subtopic-count {
  color: var(--ppt-primary);
  font-size: 0.88rem;
  font-weight: 900;
}

.subtopic-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.subtopic-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 12px;
  border: 1px solid rgba(219, 228, 240, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.subtopic-item:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.subtopic-item input {
  margin-top: 3px;
  accent-color: var(--ppt-primary);
}

.subtopic-item strong {
  display: inline;
  color: var(--ppt-ink);
  font-size: 0.95rem;
}

.subtopic-item em {
  display: inline;
  margin-left: 4px;
  color: #475569;
  font-style: italic;
  line-height: 1.6;
}

.subtopic-empty {
  padding: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  border-radius: 16px;
  color: #64748b;
  background: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
}

.manual-subtopic {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.manual-subtopic button {
  height: 44px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  background: #eaf1ff;
  color: var(--ppt-primary);
  font-weight: 900;
  cursor: pointer;
}

.ppt-output-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ppt-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.92);
  color: var(--ppt-primary);
  font-size: 0.84rem;
  font-weight: 900;
}

.ppt-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.11);
}

.ppt-status[data-status="loading"]::before {
  animation: pptPulse 1s ease-in-out infinite;
}

.ppt-status[data-status="error"] {
  color: #dc2626;
  background: rgba(254, 242, 242, 0.92);
}

.ppt-status[data-status="done"] {
  color: #059669;
  background: rgba(236, 253, 245, 0.92);
}

@keyframes pptPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: .55; }
}

.ppt-result-actions {
  display: none;
  gap: 12px;
  align-items: center;
  margin: 10px 0 20px;
}

.ppt-preview-empty {
  min-height: 430px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.74));
  color: var(--ppt-muted);
  text-align: center;
}

.ppt-preview-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ppt-ink);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.ppt-preview-empty p {
  margin: 0;
  color: var(--ppt-muted);
}

.slide-preview-list {
  display: grid;
  gap: 14px;
}

.slide-preview-card {
  position: relative;
  overflow: hidden;
  padding: 18px 20px 18px;
  border: 1px solid rgba(219, 228, 240, 0.96);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.075);
  animation: slideCardIn .42s ease both;
}

.slide-preview-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ppt-primary), #7c3aed);
  opacity: .85;
}

@keyframes slideCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.deck-summary-card {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.88));
}

.slide-preview-card[data-layout="full_image_only"] {
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(37, 99, 235, 0.58)),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.35), transparent 30%);
  color: #fff;
}

.slide-preview-card[data-layout="full_image_only"] h3,
.slide-preview-card[data-layout="full_image_only"] p,
.slide-preview-card[data-layout="full_image_only"] .slide-preview-topline {
  color: #fff;
}

.slide-preview-card[data-layout="reference_image"]::before {
  background: linear-gradient(180deg, #7c3aed, var(--ppt-primary));
}

.slide-preview-card[data-layout="text_only"]::before {
  background: linear-gradient(180deg, #64748b, #94a3b8);
}

.slide-preview-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--ppt-primary);
  font-size: 0.82rem;
  font-weight: 950;
}

.slide-preview-card h3 {
  margin: 0 0 8px;
  color: var(--ppt-ink);
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.slide-preview-card p {
  margin: 0 0 10px;
  color: #475569;
  line-height: 1.6;
}

.slide-preview-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #334155;
  line-height: 1.72;
}

.slide-preview-card li + li {
  margin-top: 3px;
}

.ppt-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(10px);
}

.ppt-loading.is-active,
.ppt-loading[aria-hidden="false"] {
  display: grid;
}

.ppt-loading-card {
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.36);
  text-align: center;
  animation: loadingIn .26s ease both;
}

@keyframes loadingIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ppt-robot {
  position: relative;
  width: 130px;
  height: 96px;
  margin: 0 auto 18px;
}

.ppt-robot-head {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 76px;
  height: 60px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ppt-primary), #7c3aed);
  box-shadow: 0 18px 38px rgba(37, 99, 235, .25);
  animation: robotFloat 1.7s ease-in-out infinite;
}

.ppt-robot-head::before,
.ppt-robot-head::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
}

.ppt-robot-head::before { left: 23px; }
.ppt-robot-head::after { right: 23px; }

@keyframes robotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.ppt-slide-stack {
  position: absolute;
  right: 2px;
  bottom: 8px;
  width: 70px;
  height: 58px;
}

.ppt-slide-stack span {
  position: absolute;
  inset: auto 0 0 auto;
  width: 58px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(219, 228, 240, .95);
  box-shadow: 0 12px 24px rgba(15,23,42,.12);
}

.ppt-slide-stack span:nth-child(1) { transform: translate(-14px, -14px) rotate(-6deg); }
.ppt-slide-stack span:nth-child(2) { transform: translate(-7px, -7px) rotate(3deg); }
.ppt-slide-stack span:nth-child(3) { transform: translate(0, 0); }

.ppt-loading-card h2 {
  margin: 0 0 10px;
  color: var(--ppt-ink);
  letter-spacing: -0.04em;
}

.ppt-loading-card p {
  margin: 0;
  color: var(--ppt-muted);
  line-height: 1.65;
}

.ppt-progress {
  height: 9px;
  margin-top: 22px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ppt-progress::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ppt-primary), #7c3aed);
  animation: progressMove 1.25s ease-in-out infinite;
}

@keyframes progressMove {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

@media (max-width: 1080px) {
  .ppt-demo-grid { grid-template-columns: 1fr; }
  .ppt-studio-card { position: relative; top: auto; }
}

@media (max-width: 680px) {
  .ppt-demo-shell { width: min(100% - 28px, 1320px); }
  .ppt-studio-card,
  .ppt-output-card { padding: 20px; border-radius: 22px; }
  .ppt-form-row { grid-template-columns: 1fr; }
  .ppt-layout-help { margin-top: 0; }
  .ppt-output-header { flex-direction: column; }
  .ppt-result-actions,
  .ppt-action-row { flex-direction: column; align-items: stretch; }
}
/* Optional additions for the mixed-layout PPT generator UI. Append to static/ppt/ppt_demo.css if needed. */
.ppt-layout-hint {
  align-self: end;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
}

.subtopic-empty {
  padding: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  border-radius: 14px;
  color: #64748b;
  background: rgba(248, 250, 252, 0.7);
}

.subtopic-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.subtopic-item em {
  display: block;
  margin-top: 0.22rem;
  color: #64748b;
  font-size: 0.86rem;
  font-style: normal;
}

.ppt-loading.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.slide-preview-card[data-layout="full_image_only"] {
  border-left: 4px solid #7c3aed;
}

.slide-preview-card[data-layout="text_full_reference"] {
  border-left: 4px solid #2563eb;
}

.slide-preview-card[data-layout="text_only"] {
  border-left: 4px solid #64748b;
}

.slide-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.slide-preview-meta span,
.slide-preview-topline span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
}
/* 기존 ppt_demo.css 효과를 덮어쓰지 않는 최소 추가 스타일 */
.ppt-layout-policy-row {
  align-items: stretch;
}

.ppt-layout-policy-row label {
  min-width: 0;
}

.ppt-layout-hint {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.78);
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
}

.ppt-toggle input:disabled + span,
.ppt-toggle:has(input:disabled) {
  opacity: 0.68;
}

/* Agentic RAG / chartify additions */
.ppt-smart-panel {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.9);
}

.ppt-panel-head {
  display: grid;
  gap: 8px;
}

.ppt-panel-head > span {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
  word-break: keep-all;
}

.ppt-smart-panel textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid var(--ppt-line);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.94);
  color: var(--ppt-ink);
  padding: 12px 14px;
  font-weight: 700;
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.ppt-smart-panel textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #fff;
}

.ppt-smart-panel[aria-disabled="true"] {
  opacity: 0.62;
}

.ppt-agent-panel {
  background:
    radial-gradient(circle at 90% 12%, rgba(124, 58, 237, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(239,246,255,.94), rgba(250,245,255,.78));
}

.ppt-rag-summary {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
}

.slide-preview-meta .is-agent,
.slide-preview-topline .is-agent {
  background: rgba(124, 58, 237, 0.10);
  color: #7c3aed;
}

/* Agentic visual-reference controls */
.ppt-reference-help {
  margin: 0;
  min-height: 50px;
  align-self: end;
  font-size: 0.84rem;
}

.ppt-smart-panel select:disabled,
.ppt-smart-panel input:disabled,
.ppt-smart-panel textarea:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.ppt-smart-panel .ppt-form-row + .ppt-form-row {
  margin-top: 0;
}


.ppt-subsection {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.ppt-subsection[hidden] {
  display: none;
}

.ppt-subsection-head {
  display: grid;
  gap: 6px;
}

.ppt-subsection-head span {
  color: #64748b;
  font-size: 0.83rem;
  line-height: 1.5;
}

/* Full-paper mode additions */
.ppt-paper-panel[aria-disabled="true"],
.ppt-smart-panel[aria-disabled="true"] {
  opacity: 0.76;
}

.ppt-paper-panel {
  border-color: rgba(14, 165, 233, 0.28);
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.9));
}

.ppt-paper-help {
  margin-top: 4px;
}


.ppt-subtopic-source-row .ppt-layout-help {
  margin-top: 28px;
}

.ppt-rag-gate-panel {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.86));
}

/* Single merged RAG / Full Paper panel */
.ppt-panel-head-toggle {
  display: grid;
  gap: 10px;
}

.ppt-panel-toggle {
  justify-content: flex-start;
  width: 100%;
}

.ppt-merged-section-head {
  margin-top: 14px;
}

/* Dashboard image review stage */
.ppt-image-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.ppt-review-card {
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
}
.ppt-review-image-wrap {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10.6;
  background: linear-gradient(135deg,#f8fafc,#eef2ff);
  border-bottom: 1px solid rgba(226,232,240,.92);
}
.ppt-review-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ppt-review-placeholder {
  color: #64748b;
  font-weight: 800;
}
.ppt-review-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.ppt-review-body h3 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  letter-spacing: -.02em;
}
.ppt-review-body p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.ppt-review-body textarea {
  width: 100%;
  min-height: 74px;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.ppt-review-body textarea:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(99,102,241,.11);
}
.ppt-review-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ppt-review-actions .mini-button {
  cursor: pointer;
}
.ppt-review-stage-card {
  border: 1px solid rgba(99,102,241,.18);
  background: linear-gradient(135deg,#ffffff,#f8faff);
}

/* Dashboard PPT image-review handoff */
.ppt-review-handoff-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 28px;
  width: min(100%, 980px);
  min-height: 300px;
  border: 1px solid rgba(99, 102, 241, .18);
  border-radius: 30px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, .18), transparent 34%),
    radial-gradient(circle at 18% 100%, rgba(79, 70, 229, .14), transparent 32%),
    linear-gradient(135deg, #fff, #f8fbff 65%, #eef4ff);
  box-shadow: 0 26px 80px rgba(15, 23, 42, .10);
}
.ppt-review-handoff-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}
.ppt-review-handoff-copy h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 2.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.ppt-review-handoff-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}
.ppt-review-handoff-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.ppt-review-handoff-state {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 176px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 26px;
  background: rgba(255,255,255,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.ppt-review-handoff-state strong {
  color: #1d4ed8;
  font-size: 24px;
  letter-spacing: -.04em;
}
.ppt-review-handoff-state small {
  margin-top: 4px;
  color: #64748b;
  font-weight: 800;
}
.handoff-orbit {
  position: absolute;
  width: 106px;
  height: 106px;
  border: 2px solid rgba(59,130,246,.16);
  border-top-color: rgba(37,99,235,.72);
  border-radius: 999px;
  animation: handoffSpin 1.05s linear infinite;
}
@keyframes handoffSpin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .ppt-review-handoff-card { grid-template-columns: 1fr; }
  .ppt-review-handoff-state { min-height: 150px; }
}
