/* Only the two owned Mastering pages; no shared brand changes. */
.aw-mastering-journey-page main,.aw-mastering-journey-page main .container{min-width:0}
.aw-mastering-journey-page .aw-context-rail{background:#fff}
.aw-mastering-journey-page .aw-context-rail__label{color:#475569}
.aw-mastering-journey-page main :is(p,h1,h2,h3,h4,h5,li,dt,dd,button,label,summary){overflow-wrap:anywhere}
.aw-mastering-journey-page main .row{flex-wrap:wrap;min-width:0}
.aw-mastering-journey-page main .row>*{min-width:0;max-width:100%}
.aw-mastering-journey-page main button{min-height:44px;white-space:normal;line-height:1.35}
.aw-mastering-journey-page main :is(.btn-primary,.btn-secondary,.btn-ghost){text-align:center}
.aw-mastering-journey-page #app :is(.btn-secondary,.btn-ghost):is(:hover,:focus-visible){color:#9b1c2a;background:#f8fafc}
.aw-mastering-journey-page .ms-journey{align-items:center;gap:12px;margin-top:12px}
.aw-mastering-journey-page #msJourneyStatus{flex:1 1 240px;margin:0;font-size:1rem;line-height:1.5}
.aw-mastering-journey-page #msCancel[hidden]{display:none!important}
.aw-mastering-journey-page #msExportReceipt{display:block;margin:14px 0 0;padding:12px;border-left:3px solid var(--brand-primary);font-size:1rem;line-height:1.55}
.aw-mastering-journey-page .ms-no-source>:not(canvas){visibility:hidden}
.aw-mastering-journey-page .ms-worked-guide{margin:28px 0;padding:20px;border:1px solid var(--brand-border);border-radius:16px;background:var(--brand-surface)}
.aw-mastering-journey-page .ms-worked-guide h3{margin-top:0}
.aw-mastering-journey-page .ms-guide-table{max-width:100%;overflow-x:auto;margin:16px 0 24px;border:1px solid var(--brand-border);border-radius:12px}
.aw-mastering-journey-page .ms-guide-table:focus-visible{outline:3px solid var(--brand-primary);outline-offset:3px}
.aw-mastering-journey-page .ms-guide-table table{width:100%;border-collapse:collapse;text-align:left}
.aw-mastering-journey-page .ms-guide-table :is(th,td){vertical-align:top;padding:12px;border-bottom:1px solid var(--brand-border);line-height:1.5;overflow-wrap:anywhere}
.aw-mastering-journey-page .ms-guide-table th{font-weight:800}
.aw-mastering-journey-page .ms-guide-table th:first-child{min-width:8rem;width:20%;overflow-wrap:normal;word-break:normal}
@media(max-width:760px){
 .aw-mastering-journey-page .ms-studio{padding:12px}
 .aw-mastering-journey-page .ms-controls .aw-control--macro,.aw-mastering-journey-page .ms-trimbar,.aw-mastering-journey-page .ms-metrics{grid-template-columns:minmax(0,1fr)}
 .aw-mastering-journey-page .ms-dhead{flex-wrap:wrap}
 .aw-mastering-journey-page .ms-dhead .ms-switch{margin-left:0}
 .aw-mastering-journey-page .ms-monitor-head{position:static;flex-wrap:wrap}
 .aw-mastering-journey-page .ms-specwrap{padding-top:0;height:auto}
 .aw-mastering-journey-page .ms-worked-guide{padding:14px}
 .aw-mastering-journey-page .ms-guide-table table{min-width:520px}
}
