.phrase-guide .course-guide-table { min-width: 0; table-layout: fixed; }
.phrase-guide .course-guide-table th,
.phrase-guide .course-guide-table td { overflow-wrap: anywhere; }
.phrase-guide .course-guide-table th:first-child { width: 34%; }
.phrase-guide .course-guide-examples dt,
.phrase-guide .course-guide-examples dd { white-space: pre-line; }

.phrase-guide-dialogue { margin-top: 24px; }
.phrase-guide-dialogue + .phrase-guide-dialogue { border-top: 1px solid #cfe4f1; padding-top: 20px; }
.phrase-guide-dialogue h3 { color: #174ea6; font-size: 18px; line-height: 1.5; margin: 0; }
.phrase-guide-turns { margin: 16px 0 0; }
.phrase-guide-turns > div { border-left: 3px solid var(--section-accent, #c1deec); padding: 10px 14px; }
.phrase-guide-turns > div:nth-child(even) { background: #f2f8fc; }
.phrase-guide-turns dt { color: #174ea6; font-size: 16px; font-weight: var(--font-bold, 700); line-height: 1.6; }
.phrase-guide-turns dd { color: #305978; font-size: 15px; line-height: 1.6; margin: 4px 0 0; }
.phrase-guide-speaker { color: #617d90; display: block; font-size: 12px; font-weight: var(--font-semibold, 600); margin-bottom: 2px; }
.phrase-guide .phrase-guide-note { color: #486b7a; font-size: 14px; }

@media (max-width: 600px) {
    .phrase-guide .phrase-guide-table--stacked,
    .phrase-guide .phrase-guide-table--stacked tbody,
    .phrase-guide .phrase-guide-table--stacked tr,
    .phrase-guide .phrase-guide-table--stacked td { display: block; width: 100%; }
    .phrase-guide .phrase-guide-table--stacked caption { box-sizing: border-box; display: block; width: 100%; }
    .phrase-guide .phrase-guide-table--stacked thead { clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }
    .phrase-guide .phrase-guide-table--stacked tbody tr { border-top: 1px solid #cfe4f1; padding: 8px 0; }
    .phrase-guide .phrase-guide-table--stacked td { border: 0; box-sizing: border-box; padding: 4px 10px; }
    .phrase-guide .phrase-guide-table--stacked td::before { color: #617d90; content: attr(data-label); display: block; font-size: 12px; font-weight: var(--font-semibold, 600); margin-bottom: 2px; }
    .phrase-guide .phrase-guide-table--stacked td:first-child { color: #174ea6; font-size: 15px; font-weight: var(--font-bold, 700); }
    .phrase-guide .phrase-guide-table--stacked td:first-child::before { display: none; }
}

@media (max-width: 480px) {
    .phrase-guide .course-guide-table { font-size: 13px; }
    .phrase-guide .course-guide-table th,
    .phrase-guide .course-guide-table td { padding: 9px 6px; }
    .phrase-guide .course-guide-table th:first-child { width: 38%; }
    .phrase-guide-turns > div { padding: 10px; }
}
