/* ===== V1.1: real full-test audio + source-faithful reference-map / flow layouts ===== */
.start-brand:has(img:only-child) { justify-content:center; }
.start-brand:has(img:only-child) img { height:auto; width:min(620px,100%); max-width:100%; }
.brand-logo { height:42px; max-width:320px; }

.matching-template { min-width:0; }
.flow-source { display:grid; gap:10px; justify-items:center; }
.flow-source > h3 { margin:0 0 2px; text-align:center; font-size:17px; }
.flow-box { width:min(520px,100%); border:1px solid #777; padding:12px 14px; text-align:center; line-height:1.55; background:#fff; }
.flow-arrow { font-size:24px; line-height:1; color:#555; }
.flow-box .slot-wrap { margin-top:6px; }
.flow-box .bank-slot { min-width:170px; }

.reference-map-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,.34fr); gap:20px; align-items:start; }
.reference-map-figure { margin:0 0 18px; border:1px solid #d4d4d4; background:#fff; padding:10px; }
.reference-map-image { display:block; width:100%; height:auto; max-height:620px; object-fit:contain; }
.spatial-reference-rows { display:grid; gap:0; }
.reference-map-layout .option-pool { position:sticky; top:0; }
.reference-map-layout .pool-items { display:grid; grid-template-columns:repeat(3,minmax(58px,1fr)); }
.reference-map-layout .pool-chip { justify-content:center; text-align:center; }

@media (max-width: 1050px) {
  .brand-logo { height:36px; max-width:270px; }
  .reference-map-layout { grid-template-columns:1fr; }
  .reference-map-layout .option-pool { position:static; }
}
