/* Slides keep the available stage height; dense content scrolls inside its panel. */
.theory-card h3 {
  min-height: 0;
}
/* Match the desktop selector so its six-column grid cannot leak into compact layouts. */
@media screen and (max-width: 1100px), screen and (max-height: 740px) {
  .slide#peta .discussion-order {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: minmax(min-content, 1fr);
    gap: 12px;
  }
  #peta .discussion-chapter:nth-child(n) {
    display: grid;
    grid-column: auto;
    grid-template-columns: minmax(130px, 0.55fr) minmax(0, 2fr);
    align-items: start;
    gap: 16px;
    padding-top: 10px;
    min-height: min-content;
  }
  #peta .discussion-chapter h3 {
    min-height: 0;
    font-size: 17px;
    line-height: 1.3;
    margin: 0;
  }
  #peta .discussion-chapter h3 span {
    font-size: 11px;
    margin-bottom: 6px;
  }
  #peta .discussion-chapter .discussion-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(44px, auto);
    gap: 6px;
  }
  #peta .discussion-order button {
    min-width: 0;
    align-items: center;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.35;
  }
  #peta .discussion-order button span {
    flex: none;
    font-size: 11px;
    padding-top: 0;
  }
}
@media screen and (max-width: 600px) {
  #peta .discussion-chapter:nth-child(n) {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #peta .discussion-chapter h3 {
    display: flex;
    align-items: baseline;
    gap: 9px;
  }
  #peta .discussion-chapter h3 span {
    margin: 0;
    flex: none;
  }
  #peta .discussion-chapter .discussion-topics {
    grid-template-columns: 1fr;
  }
  #peta .discussion-order button {
    font-size: 15px;
  }
}
@media screen and (max-width: 1100px), screen and (max-height: 740px) {
  #stage {
    scroll-snap-type: y proximity;
  }
  #stage .slide > .slide-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    gap: 14px;
  }
  #stage .slide > .slide-content > * {
    min-height: 0;
    max-height: 100%;
    overflow: auto !important;
    flex: 1;
  }
  #stage .slide:not(.cover) > .slide-head {
    position: static;
  }
  .scope-grid,
  .theory-grid,
  .study-grid,
  .method-overview,
  .stage-flow,
  .methodology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(min-content, max-content);
    height: auto;
  }
  .scope-block,
  .theory-card,
  .study-card,
  .method-card,
  .stage-card,
  .methodology-card {
    min-height: min-content;
  }
  .scope-block {
    grid-template-rows: auto 100px auto auto;
  }
  .scope-visual img {
    height: 100px;
  }
  .theory-card img {
    height: 150px;
  }
  .theory-card h3,
  .study-card h3,
  .methodology-card h3 {
    font-size: 17px;
  }
  .theory-card p,
  .study-compact,
  .method-card p,
  .method-boundary,
  .scope-compact {
    font-size: 14px;
    line-height: 1.45;
  }
  .benefit-columns,
  .merged-research {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: minmax(min-content, max-content);
    align-content: start;
  }
  .merged-research > section {
    min-height: min-content;
  }
  .benefit-column {
    min-height: min-content;
  }
  .benefit-column img {
    height: 140px;
  }
  .merged-research .gap-grid {
    flex: none;
    height: auto;
    grid-template-rows: none;
    grid-auto-rows: minmax(min-content, max-content);
  }
  .merged-research .gap-card {
    grid-template-rows: auto 100px auto auto;
    min-height: min-content;
  }
  .merged-position .position-points {
    grid-template-rows: none;
    grid-auto-rows: auto;
    flex: none;
  }
  .position-points > li {
    padding-block: 12px;
  }
  .equipment-list {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .equipment-row {
    min-height: min-content;
  }
}

/* A short laptop still has enough width for the desktop evidence columns. */
@media screen and (max-width: 1100px) {
  .results-composition {
    height: 100%;
    min-height: 0;
  }
  .results-composition .results-topic {
    min-height: min-content;
  }
  .results-topics {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .results-evidence {
    width: 100%;
    max-width: 100%;
    height: 320px;
    min-height: 320px;
    flex: none;
  }
  .results-redesign .results-evidence {
    height: 320px;
    min-height: 320px;
  }
  .results-topic,
  .results-redesign .results-topic {
    padding: 14px;
    gap: 8px;
    min-height: min-content;
  }
  .results-topic .results-key,
  .results-topic ul.slide-facts,
  .results-redesign .results-topic .results-key,
  .results-redesign .results-topic ul.slide-facts {
    font-size: 13px;
    line-height: 1.4;
  }
  .results-topic h3,
  .results-redesign .results-topic h3 {
    font-size: 16px;
  }
  .integration-journey,
  .model-annotations,
  .api-operation-notes,
  .field-evaluation-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .model-blueprints,
  .api-workbench,
  .analytics-explainer,
  .ai-delivery,
  .rules-management {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .model-blueprints > *,
  .api-workbench > *,
  .analytics-explainer > *,
  .ai-delivery > *,
  .rules-management > * {
    flex: none;
    min-height: min-content;
  }
  .model-blueprint {
    grid-template-rows: auto auto;
  }
  .api-request-path {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }
  .api-request-path .api-path-step {
    min-height: min-content;
  }
  .analytics-product {
    grid-template-rows: auto auto;
  }
  .calculation-sheet > .results-topic,
  .ai-processing-lane > .results-topic {
    flex: none;
  }
  .ai-processing-lane {
    min-height: min-content;
  }
  .ai-processing-lane,
  .ai-output,
  .ai-secondary-evidence {
    gap: 12px;
  }
  .ai-processing-lane > .results-topic,
  .rules-operations .results-topic {
    padding-left: 40px;
  }
  .ai-output {
    grid-template-rows: auto auto;
  }
  .ai-output .ai-desktop-evidence {
    height: 180px;
    min-height: 180px;
  }
  .rules-operations {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .rules-operations .results-topic {
    min-height: min-content;
  }
  .rules-management > .rules-invariants > .rules-parameter-list {
    flex: none;
    padding: 14px;
  }
  .validation-summary {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .validation-group {
    min-height: 90px;
  }
  .field-evaluation-board {
    grid-template-rows: auto auto;
  }
}

@media screen and (max-width: 1100px), screen and (max-height: 740px) {
  .closing-visuals .methodology-card {
    min-height: min-content;
  }
  #kesimpulan .methodology-grid {
    grid-template-columns: 1fr;
  }
  .conclusion-chain {
    flex-direction: row;
  }
  .conclusion-chain .diagram-arrow {
    transform: none;
  }
  #lanjutan .methodology-card {
    grid-column: auto;
  }
  .closing-visuals .methodology-card h3 {
    min-height: 0;
  }
  .closing-visuals .conclusion-limit {
    font-size: 13px;
  }
  .thesis-advisor-label,
  .thesis-advisor-name {
    font-size: clamp(14px, 1.2cqw, 18px);
  }
  .thesis-advisor-nip {
    font-size: clamp(12px, 1.05cqw, 16px);
  }
  .thesis-author {
    font-size: clamp(18px, 1.85cqw, 24px);
  }
  .scope-block h3,
  .methodology-card h3,
  .position-points h3 {
    font-size: 17px;
  }
  .scope-block p,
  .methodology-card p,
  .methodology-card ul,
  .position-points p,
  .conclusion-limit {
    font-size: 14px;
    line-height: 1.5;
  }
  .scope-detail,
  .card-hint,
  .suggestion-label {
    font-size: 12px;
  }
  .conclusion-chain .diagram-node strong {
    font-size: 14px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) and (min-height: 601px) {
  #stage .slide#teori > .slide-content > .theory-grid {
    overflow-y: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(min-content, max-content);
    align-content: start;
  }
  #teori .theory-card {
    min-height: min-content;
  }
  #teori .theory-card img {
    height: 140px;
  }
  #teori .theory-card h3 {
    font-size: 17px;
  }
  #teori .theory-card p {
    font-size: 14px;
    line-height: 1.45;
  }
  #stage #peralatan > .slide-content > .equipment-list {
    overflow: auto;
    grid-template-rows: none;
    grid-auto-rows: max-content;
    align-content: start;
  }
  #peralatan .equipment-row {
    min-height: min-content;
  }
  #stage #analitika > .slide-content > .results-composition {
    overflow: auto;
    grid-template-rows: 140px minmax(0, 1fr);
  }
  #analitika .results-explanation {
    min-height: min-content;
  }
  #analitika .results-topics {
    grid-template-rows: repeat(2, auto);
    align-content: start;
  }
  #stage #ai-implementasi > .slide-content > .results-composition,
  #stage #aturan > .slide-content > .results-composition {
    overflow: auto;
  }
  #ai-implementasi .ai-delivery,
  #ai-implementasi .ai-processing-lane,
  #aturan .rules-management,
  #aturan .rules-operations {
    min-height: min-content;
  }
  #ai-implementasi .ai-processing-lane,
  #aturan .rules-operations {
    gap: 10px;
  }
  #ai-implementasi .ai-processing-step {
    flex: none;
    min-height: min-content;
    padding: 12px 12px 12px 36px;
    gap: 8px;
  }
  #ai-implementasi .ai-processing-step .results-key,
  #ai-implementasi .ai-processing-step .slide-facts {
    font-size: 13px;
    line-height: 1.4;
  }
  #ai-implementasi .ai-processing-step h3 {
    font-size: 16px;
  }
  #aturan .rules-operations {
    grid-template-rows: none;
    grid-auto-rows: minmax(min-content, 1fr);
  }
  #aturan .rules-operations .results-topic {
    min-height: min-content;
  }
}

@media screen and (min-width: 1101px) and (max-width: 1300px) and (min-height: 601px) and (max-height: 740px) {
  #kesimpulan .methodology-card {
    gap: 5px;
    padding: 10px;
  }
  #kesimpulan .conclusion-chain {
    gap: 6px;
  }
  #kesimpulan .conclusion-chain .visual-icon {
    width: 40px;
    height: 40px;
  }
  #kesimpulan .conclusion-limit {
    margin-top: 0;
    padding-top: 0;
  }
}

@media screen and (min-width: 1201px) and (min-height: 601px) {
  #stage .slide#teori > .slide-content > .theory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-y: auto;
  }
  #teori .theory-card h3 {
    min-height: 2.6em;
  }
  #teori .theory-card p {
    font-size: 14px;
    line-height: 1.4;
  }
  #teori .theory-card img {
    height: clamp(90px, calc((var(--stage-height, 606px) - 430px) / 2), 200px);
  }
}

@media screen and (min-width: 1600px) and (min-height: 900px) {
  .results-topic h3,
  .results-redesign .results-topic h3 {
    font-size: 19px;
  }
  .results-topic .results-key,
  .results-redesign .results-topic .results-key {
    font-size: 15px;
    line-height: 1.4;
  }
  .results-topic ul.slide-facts,
  .results-redesign .results-topic ul.slide-facts {
    font-size: 16px;
    line-height: 1.4;
  }
  .results-evidence .gallery-caption,
  .results-redesign .gallery-caption {
    font-size: 12px;
  }
  .validation-group strong {
    font-size: 18px;
  }
  .validation-group small {
    font-size: 14px;
  }
}

@media screen and (min-width: 2200px) and (min-height: 1200px) {
  #teori .theory-card h3 {
    font-size: 21px;
  }
  #teori .theory-card p {
    font-size: 18px;
    line-height: 1.45;
  }
  #teori .theory-card img {
    height: 260px;
  }
  #teori .theory-card figcaption {
    font-size: 13px;
  }
  .results-topic h3,
  .results-redesign .results-topic h3 {
    font-size: 20px;
  }
  .results-topic .results-key,
  .results-redesign .results-topic .results-key {
    font-size: 16px;
  }
  .results-topic ul.slide-facts,
  .results-redesign .results-topic ul.slide-facts {
    font-size: 17px;
    line-height: 1.45;
  }
  .results-evidence .gallery-caption,
  .results-redesign .gallery-caption {
    font-size: 12px;
  }
  .validation-group strong {
    font-size: 18px;
  }
  .validation-group small {
    font-size: 14px;
  }
}

@media screen and (max-width: 800px) {
  #stage .slide#diskusi > .slide-content {
    overflow: auto;
    display: block;
  }
  #stage #diskusi .closing-layout {
    min-height: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    flex: none;
    padding-block: 16px;
    gap: 16px;
  }
  #diskusi .closing-title {
    font-size: clamp(42px, 10vw, 61px);
  }
}

@media screen and (max-width: 600px) {
  .merged-research .gap-grid {
    grid-template-columns: 1fr;
  }
  .scope-grid,
  .theory-grid,
  .study-grid,
  .method-overview,
  .stage-flow,
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  .scope-block {
    padding: 14px;
    gap: 10px;
  }
  .scope-block-head {
    display: flex;
    align-items: baseline;
  }
  .scope-block-head > span {
    font-size: 13px;
  }
  .scope-visual {
    height: 130px;
  }
  .study-compact {
    font-size: 15px;
    line-height: 1.5;
  }
  .methodology-card,
  .theory-card,
  .study-card {
    padding: 14px;
  }
  .shared-slide-heading h2 {
    font-size: clamp(24px, 6vw, 30px);
  }
  .slide-head h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .shortcuts p {
    flex-wrap: wrap;
    gap: 8px;
  }
  .shortcuts kbd {
    margin-left: 0;
  }
}

/* Tablets have room for paired content and evidence instead of one long column. */
@media screen and (min-width: 760px) and (max-width: 1100px) and (min-height: 900px) {
  #peta .discussion-order button {
    padding: 10px;
    font-size: 16px;
    line-height: 1.4;
  }
  .integration-journey,
  .integration-evidence-pair,
  .model-blueprints,
  .model-annotations,
  .api-operation-notes,
  .field-evaluation-board,
  .field-evaluation-notes,
  .validation-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px;
    align-content: start;
  }
  .model-blueprint {
    display: grid;
    grid-template-rows: auto auto;
  }
  .ai-delivery,
  .api-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 14px;
  }
  .ai-output .ai-desktop-evidence {
    height: 190px;
    min-height: 190px;
  }
  .ai-output .ai-secondary-evidence > .results-evidence {
    height: 300px;
    min-height: 300px;
  }
  .rules-management {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: 'operations invariants' 'operations evidence';
    grid-template-rows: auto auto;
    align-items: start;
    gap: 12px;
  }
  .rules-management > .rules-invariants {
    align-self: start;
  }
  .rules-management > .rules-invariants > .rules-parameter-list > div {
    padding: 12px;
  }
}

/* Portrait tabs need a centered cover, with the photograph and title sharing the height. */
@media screen and (max-width: 1100px) and (orientation: portrait) {
  #pembuka .thesis-cover {
    gap: 16px;
    overflow: hidden !important;
  }
  #pembuka .thesis-main {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    gap: 18px;
  }
  #pembuka .thesis-main > .thesis-portrait {
    width: clamp(100px, 20cqw, 180px);
  }
  #pembuka .thesis-title {
    text-align: center;
    max-width: 760px;
  }
  #pembuka .thesis-title h1 {
    font-size: clamp(23px, 4.3cqw, 36px);
    line-height: 1.16;
  }
  #pembuka .thesis-title h1 span {
    display: inline;
  }
  #pembuka .thesis-author {
    display: table;
    min-width: 0;
    margin: 14px auto 0;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: clamp(15px, 2.5cqw, 20px);
    line-height: 1.3;
  }
  #pembuka .thesis-advisors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    text-align: center;
  }
  #pembuka .thesis-advisor-label,
  #pembuka .thesis-advisor-name {
    font-size: clamp(11px, 1.8cqw, 15px);
  }
  #pembuka .thesis-advisor-nip {
    font-size: clamp(10px, 1.5cqw, 12px);
  }
}

@media screen and (min-width: 801px) and (max-width: 1100px) and (orientation: portrait) {
  #teori .theory-card img {
    height: clamp(64px, calc((var(--stage-height) - 700px) / 4), 120px);
  }
  #teori .theory-card h3 {
    font-size: 15px;
    line-height: 1.25;
  }
  #teori .theory-card p {
    font-size: 13px;
    line-height: 1.4;
  }
  #teori .theory-card figcaption {
    font-size: 11px;
    line-height: 1.3;
  }
}

@media screen and (max-width: 360px) and (orientation: portrait) {
  #pembuka .thesis-cover {
    gap: 10px;
  }
  #pembuka .thesis-main {
    gap: 10px;
  }
  #pembuka .thesis-main > .thesis-portrait {
    width: 78px;
  }
  #pembuka .thesis-title h1 {
    font-size: 19px;
  }
  #pembuka .thesis-author {
    margin-top: 10px;
    padding: 7px 10px;
    font-size: 13px;
  }
  #pembuka .thesis-advisors {
    gap: 10px;
  }
}

@media screen and (max-height: 740px) and (max-width: 900px) and (orientation: landscape) {
  #pembuka .thesis-cover {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 24%);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 16px;
  }
  #pembuka .thesis-main {
    grid-template-columns: 18% minmax(0, 1fr);
    gap: 12px;
  }
  #pembuka .thesis-main > .thesis-portrait {
    width: 100%;
  }
  #pembuka .thesis-title h1 {
    font-size: clamp(13px, 2.2cqw, 21px);
  }
  #pembuka .thesis-title h1 span {
    display: inline;
  }
  #pembuka .thesis-author {
    min-width: 0;
    margin: 10px 0 0;
    padding: 6px 9px;
    border-radius: 16px;
    font-size: clamp(11px, 1.6cqw, 15px);
  }
  #pembuka .thesis-advisors {
    gap: 10px;
  }
  #pembuka .thesis-advisor-label,
  #pembuka .thesis-advisor-name {
    font-size: 11px;
  }
  #pembuka .thesis-advisor-nip {
    font-size: 10px;
  }
}

@media screen and (max-width: 360px) {
  .method-card > .diagram-rail {
    flex-direction: column;
    flex: none;
    min-height: min-content;
    gap: 10px;
    padding-block: 10px;
  }
  .method-card > .diagram-rail .diagram-arrow {
    transform: rotate(90deg);
  }
  .method-card > .diagram-rail .diagram-node {
    flex: none;
  }
}

@media screen and (min-width: 1101px) and (min-height: 741px) and (max-height: 850px) {
  #stage .slide > .slide-content > .closing-visuals {
    overflow-y: auto;
    grid-template-rows: minmax(min-content, 1fr);
    grid-auto-rows: minmax(min-content, 1fr);
  }
  .closing-visuals > .methodology-card {
    min-height: min-content;
  }
}

/* Dialog headers leave room for scrollable text and full-size image viewers. */
#panel {
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 16px);
}
.panel-head > div {
  min-width: 0;
}
.panel-head h2 {
  overflow-wrap: anywhere;
}
#panel-body {
  min-height: 0;
  overflow-wrap: anywhere;
}
.close-button {
  flex: none;
}
@media screen and (max-width: 600px) {
  .panel-head {
    padding: 14px;
    gap: 10px;
  }
  .panel-head h2 {
    font-size: 22px;
    line-height: 1.2;
  }
  #panel-body {
    padding: 14px;
  }
  .close-button {
    min-height: 36px;
  }
  .overview-grid {
    gap: 10px;
  }
  .thumbnail-label {
    font-size: 12px;
  }
}
@media screen and (max-height: 500px) {
  .thesis-frame > .thesis-marks {
    padding-block: 4px;
  }
  .thesis-frame > .thesis-marks .thesis-partners img {
    width: 35px;
    height: 30px;
  }
  .thesis-frame > .thesis-marks .thesis-partners img:nth-child(2) {
    height: 32px;
  }
  .thesis-frame > .thesis-marks .thesis-partners img:nth-child(3) {
    width: 27px;
    height: 27px;
  }
  .thesis-frame > .thesis-marks .thesis-department {
    width: 180px;
  }
  .thesis-frame > .thesis-bottom {
    padding-block: 4px;
  }
  .shared-slide-heading h2 {
    font-size: 24px;
  }
  .panel-head {
    padding: 10px 14px;
    gap: 10px;
  }
  .panel-head .eyebrow {
    display: none;
  }
  .panel-head h2 {
    font-size: 20px;
    line-height: 1.2;
  }
  #panel-body {
    padding: 12px 14px;
  }
}
@media screen and (max-width: 320px) {
  .controlbar {
    padding-inline: 8px;
    gap: 4px;
  }
  .controlbar .progress {
    display: none;
  }
  .controlbar .slide-meta {
    flex: none;
  }
  .controlbar .icon-button {
    width: 32px;
  }
  .controlbar .tools,
  .controlbar .arrows {
    gap: 4px;
  }
  .controlbar .footer-tools {
    gap: 8px;
  }
  .controlbar .arrows {
    padding-left: 8px;
  }
}
@media screen and (pointer: coarse) {
  :root {
    --foot: 62px;
  }
  .controlbar .icon-button {
    height: 44px;
  }
  .close-button,
  .gallery-controls button,
  .gallery-controls select,
  .source-access button,
  .results-actions button,
  .equipment-detail {
    min-height: 44px;
  }
}

@media screen and (min-width: 1101px) and (min-height: 641px) {
  .slide#peta .discussion-chapter:nth-child(4) .discussion-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #stage .slide#lingkup > .slide-content > .scope-grid {
    grid-template-rows: repeat(2, minmax(min-content, 1fr));
    overflow: auto;
  }
  #lingkup .scope-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 0;
    padding: 12px;
  }
  #lingkup .scope-visual,
  #lingkup .scope-scene {
    height: clamp(68px, 10vh, 110px);
    flex: none;
    margin: 0;
  }
  #lingkup .scope-block p {
    margin: 0;
  }
  #lingkup .scope-detail {
    margin-top: auto;
    align-self: flex-start;
  }
  #stage .slide#teori > .slide-content > .theory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(min-content, 1.4fr) minmax(min-content, 1fr);
    overflow-y: auto;
  }
  #teori .theory-card > figure {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 120px;
    contain: size;
  }
  #teori .theory-card h3 {
    min-height: 0;
  }
  #teori .theory-card img {
    flex: 1;
    height: 0;
    min-height: 0;
    object-fit: contain;
  }
  #teori .theory-card figcaption {
    flex: none;
  }
  #stage .slide#terdahulu > .slide-content > .study-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(min-content, 1fr));
    overflow-y: auto;
  }
  #terdahulu .study-card {
    grid-column: span 3;
    padding: clamp(10px, 1vw, 16px);
  }
  #terdahulu .study-card:nth-child(-n + 3) {
    grid-column: span 4;
  }
  #terdahulu .study-full {
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.4;
  }
}
.scope-notes {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.4;
}

@media screen and (min-width: 1101px) and (min-height: 741px) {
  #kesimpulan .conclusion-chain .visual-icon {
    width: clamp(32px, 5.5vh, 64px);
    height: clamp(32px, 5.5vh, 64px);
  }
}
