.presentation { max-width: 1500px; margin: 0 auto; }
.pres-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 8px 0 32px; }
.pres-eyebrow { margin: 0 0 12px; font-size: 10px; letter-spacing: .16em; font-weight: 700; color: var(--green); }
.pres-heading h1 { font-size: clamp(26px, 2.7vw, 40px); line-height: 1.3; letter-spacing: -.045em; margin: 0 0 13px; font-weight: 650; }
.pres-intro { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.pres-preview-badge { padding: 6px 12px; background: #edf2ed; color: #6c7e75; border: 1px solid var(--line); border-radius: 20px; font-size: 11px; white-space: nowrap; }
.pres-modebar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.pres-modebar .segmented { padding: 4px; background: #e9eeea; border: 0; }
.pres-modebar .segmented button { padding: 9px 22px; border-radius: 5px; font-weight: 600; font-size: 13px; }
.pres-modebar .segmented button.active { background: white; box-shadow: 0 1px 5px #203c2d12; }
.pres-modebar button span { margin-left: 9px; }
.pres-mode-note { color: var(--muted); font-size: 11px; }
.pres-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
.pres-viewer-column { min-width: 0; }
.pres-viewer { border: 1px solid #29453b; border-radius: 12px; overflow: hidden; background: #142820; color: #d0ded7; }
.pres-viewer-top { padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; border-bottom: 1px solid #ffffff12; }
.pres-data-badge { font-size: 10px; border: 1px solid #ffffff24; color: #b8cbc0; padding: 3px 8px; border-radius: 4px; }
.pres-stage { position: relative; height: clamp(310px, 30vw, 430px); background: radial-gradient(ellipse at 50% 42%, #28493a 0, #152920 72%); }
#presCanvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#presCanvas:active { cursor: grabbing; }
.pres-stage-caption { position: absolute; left: 24px; top: 22px; pointer-events: none; }
.pres-stage-caption span { display: block; font-size: 9px; letter-spacing: .2em; color: #8ca998; margin-bottom: 6px; }
.pres-stage-caption strong { font-size: 15px; font-weight: 500; color: #d1dfd7; }
.pres-stage-hint { position: absolute; bottom: 18px; left: 24px; color: #93ae9f; font-size: 10px; pointer-events: none; }
.pres-stage-hint span { margin: 0 8px; }
.presentation button.pres-reset { position: absolute; right: 18px; bottom: 13px; background: #ffffff08; border-color: #ffffff20; color: #b6cbbf; font-size: 10px; padding: 6px 10px; }
.pres-timeline { display: flex; align-items: center; gap: 10px; padding: 16px 18px 10px; border-top: 1px solid #ffffff12; background: #172d23; }
.pres-timeline button, .pres-timeline select { background: #ffffff08; border: 1px solid #ffffff20; color: #d0ded7; padding: 6px 10px; font-size: 12px; }
.pres-timeline .pres-play { min-width: 68px; background: #c3e9a2; border-color: #c3e9a2; color: #193923; font-weight: 600; }
.pres-timeline button:hover { background: #ffffff20; }
.pres-timeline .pres-play:hover { background: #d4f4b7; }
.pres-timeline input { flex: 1; min-width: 30px; height: 4px; padding: 0; accent-color: #c3e9a2; cursor: pointer; }
.pres-timeline output { font: 10px ui-monospace, monospace; white-space: nowrap; color: #b3c9bc; }
.pres-timeline select { width: 58px; padding: 5px; }
.pres-timeline select option { background: #172d23; }
.pres-view-options { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; background: #172d23; padding: 12px 20px 16px; font-size: 11px; }
.pres-view-options label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pres-view-options input { margin: 0; accent-color: #bce698; }
.pres-view-options > span { margin-left: auto; color: #8ea899; font-size: 10px; }
.pres-hand-options { display: flex; gap: 14px; }
.pres-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.pres-dot-left { background: #c5eea5; }
.pres-dot-right { background: #80cdd2; }
.pres-viewer-footnote { font-size: 11px; color: var(--muted); margin: 11px 2px 0; line-height: 1.7; }
.pres-sidebar { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 27px; display: flex; flex-direction: column; gap: 23px; align-self: start; min-height: 545px; }
.pres-sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pres-sidebar-top .pres-eyebrow { font-size: 9px; margin: 0; }
.pres-sidebar-top > span:last-child:not(.pres-eyebrow) { font: 10px ui-monospace, monospace; color: var(--muted); }
.pres-small-tag { display: inline-block; color: var(--green); background: var(--green-soft); border-radius: 4px; padding: 4px 7px; font-size: 10px; margin-bottom: 11px; }
.pres-sidebar h2 { font-size: 25px; margin: 0 0 10px; font-weight: 600; letter-spacing: -.03em; }
.pres-description { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0; }
.pres-facts { margin: 0; border-top: 1px solid var(--line); padding-top: 14px; font-size: 11px; }
.pres-facts div { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; }
.pres-facts dt { color: var(--muted); }
.pres-facts dd { margin: 0; }
.pres-tip { background: #f4f7f3; border-radius: 6px; padding: 14px; font-size: 11px; }
.pres-tip span { font-weight: 650; color: var(--green); }
.pres-tip p { color: var(--muted); margin: 5px 0 0; line-height: 1.8; }
.pres-try { margin-top: auto; display: flex; justify-content: space-between; padding: 11px 14px; font-size: 12px; }
.pres-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 29px 0 14px; }
.pres-section-heading h2 { font-size: 16px; margin: 0; font-weight: 600; }
.pres-section-heading > span { font-size: 11px; color: var(--muted); }
.pres-example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.pres-example { display: flex; align-items: center; gap: 16px; text-align: left; border: 1px solid var(--line); border-radius: 8px; padding: 15px 18px; min-width: 0; }
.pres-example.active { border-color: #72a38b; background: #f0f6f0; box-shadow: inset 0 0 0 1px #72a38b; }
.pres-example-art { width: 92px; height: 74px; flex-shrink: 0; border-radius: 6px; background: #e9efe7; stroke: #65917a; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pres-example-art circle { fill: #c6dcae; stroke-width: 1; }
.pres-example:nth-child(2) .pres-example-art { background: #eaf0f1; stroke: #6e949a; }
.pres-example:nth-child(3) .pres-example-art { background: #f3efe4; stroke: #ab9a74; }
.pres-example-copy { display: flex; flex-direction: column; gap: 5px; }
.pres-example-copy small { font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.pres-example-copy strong { font-size: 14px; font-weight: 600; }
.pres-example-copy > span { font-size: 11px; color: var(--muted); }
.pres-example-arrow { margin-left: auto; color: var(--green); }
.pres-flow { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 26px; display: flex; gap: 36px; }
.pres-flow-heading { min-width: 220px; }
.pres-flow-heading .pres-eyebrow { font-size: 9px; margin-bottom: 8px; }
.pres-flow h2 { font-size: 15px; font-weight: 600; }
.pres-flow-heading > p:last-child { font-size: 11px; color: var(--muted); margin: 7px 0 0; }
.pres-flow ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; gap: 20px; padding: 0; margin: 0; }
.pres-flow li { display: flex; gap: 12px; align-items: baseline; }
.pres-flow li > span { font: 11px ui-monospace, monospace; color: #8ea296; }
.pres-flow strong { font-size: 12px; font-weight: 600; }
.pres-flow li p { font-size: 11px; color: var(--muted); margin: 6px 0; }
.pres-flow li small { font-size: 10px; color: #87958d; }
.pres-flow li small.pres-ready { color: var(--green); }
.pres-playground { gap: 15px; padding: 24px; }
.pres-playground h2 { font-size: 23px; }
.pres-upload { position: relative; border: 1px dashed #a8c5b3; border-radius: 7px; background: #f7faf6; }
.pres-upload.dragging { background: #e0f0e4; outline: 2px solid var(--green); }
.pres-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; padding: 0; border: 0; }
.pres-upload:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
.pres-upload label { display: flex; flex-direction: column; text-align: center; align-items: center; padding: 20px 7px; gap: 6px; cursor: pointer; }
.pres-upload-icon { font-size: 23px; color: var(--green); }
.pres-upload strong { font-size: 12px; font-weight: 600; }
.pres-upload small { font-size: 10px; color: var(--muted); }
.pres-file-info { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 5px; }
.pres-file-info > div { min-width: 0; flex: 1; }
.pres-file-info strong, .pres-file-info small { display: block; overflow-wrap: anywhere; font-size: 11px; }
.pres-file-info small { color: var(--muted); margin-top: 4px; }
.pres-file-info button { font-size: 10px; padding: 5px; }
.pres-file-status { font-size: 11px; line-height: 1.7; color: var(--green); margin: -3px 0 0; overflow-wrap: anywhere; }
.pres-file-status[data-error="true"] { color: var(--red); }
.pres-pipeline-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 15px; }
.pres-pipeline-label span { font-size: 10px; font-weight: 400; color: var(--muted); }
.pres-playground select { width: 100%; font-size: 12px; margin-top: -6px; background: #f4f6f3; }
.pres-help { font-size: 11px; color: var(--muted); margin: -6px 0 0; line-height: 1.7; }
.presentation button:disabled, .presentation select:disabled { cursor: not-allowed; }
.pres-run { width: 100%; font-size: 12px; }
.pres-back-demo { border: 0; background: transparent; padding: 0; color: var(--green); font-size: 11px; align-self: center; }
.pres-video-stage { height: clamp(310px, 30vw, 430px); display: grid; place-items: center; background: #12231c; }
.pres-video-stage video { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.pres-video-empty { text-align: center; }
.pres-empty-symbol { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; border: 1px solid #ffffff25; background: #ffffff05; color: #9ab0a3; font-size: 26px; }
.pres-video-empty h3 { color: #c8d9ce; font-size: 16px; font-weight: 500; margin: 15px 0 7px; }
.pres-video-empty p { font-size: 12px; line-height: 1.9; color: #8aab97; }
.pres-result-pending { padding: 22px; display: flex; align-items: center; gap: 15px; background: #1c3328; border-top: 1px solid #ffffff12; }
.pres-pending-icon { font-size: 27px; color: #a0bbab; }
.pres-result-pending strong { font-size: 12px; font-weight: 500; }
.pres-result-pending p { color: #91ab9c; font-size: 11px; margin: 5px 0 0; }
.pres-waiting { margin-left: auto; white-space: nowrap; color: #a1b7a8; font-size: 10px; }
@media (max-width: 1200px) {
  .pres-workspace { grid-template-columns: minmax(0, 1fr) 295px; gap: 18px; }
  .pres-sidebar { padding: 22px; min-height: 0; }
  .pres-example { gap: 12px; padding: 12px; }
  .pres-example-art { width: 67px; height: 67px; }
  .pres-flow { flex-direction: column; gap: 22px; }
}
@media (max-width: 760px) {
  .pres-heading { align-items: flex-start; margin: 3px 0 24px; gap: 10px; }
  .pres-preview-badge { font-size: 9px; padding: 4px 7px; }
  .pres-heading h1 { font-size: 27px; }
  .pres-intro { font-size: 12px; }
  .pres-mode-note { display: none; }
  .pres-workspace { grid-template-columns: 1fr; }
  .pres-stage, .pres-video-stage { height: 330px; }
  .pres-sidebar { gap: 16px; }
  .pres-playground { grid-row: 1; }
  .pres-sidebar h2 { font-size: 22px; }
  .pres-facts { display: flex; flex-wrap: wrap; gap: 10px 25px; }
  .pres-facts div { gap: 10px; margin: 3px 0; }
  .pres-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .pres-example-grid { grid-template-columns: 1fr; gap: 10px; }
  .pres-example-art { width: 74px; height: 62px; }
  .pres-example-copy { gap: 3px; }
  .pres-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 15px; }
  .pres-timeline { padding: 12px 10px; gap: 6px; flex-wrap: wrap; }
  .pres-timeline select { width: 48px; }
  .pres-timeline output { font-size: 9px; }
  .pres-timeline button { padding: 5px 8px; }
  .pres-timeline .pres-play { min-width: 57px; }
  .pres-view-options { padding: 5px 12px 14px; gap: 12px; }
  .pres-view-options > span { display: none; }
  .pres-stage-hint { left: 16px; font-size: 9px; bottom: 20px; }
  .pres-stage-caption { left: 16px; }
  .pres-result-pending { padding: 16px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .presentation { scroll-behavior: auto; } }
