.mp-tabs {display:flex;flex-wrap:wrap;gap:.2rem;border-bottom:1px solid var(--station-edge);margin-top:1.1rem}
.mp-tabs a {display:inline-flex;align-items:center;min-height:46px;padding:.45rem 1rem;border-bottom:3px solid transparent;text-decoration:none;font-weight:650;color:var(--station-muted)}
.mp-tabs a[aria-current="page"] {border-color:var(--brand-gold);color:var(--brand-navy)}
.mp-top {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.65rem}
.mp-heading {margin:0 0 .45rem}
.mp-chips {display:flex;flex-wrap:wrap;gap:.4rem;margin:.7rem 0 .85rem;list-style:none;padding:0}
.mp-chips li {padding:.15rem .5rem;background:#edf2f8;color:#283e60;border-radius:5px;font-variant-numeric:tabular-nums}
.mp-list {display:grid;gap:.9rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.mp-list .rule-card {border-top:3px solid #abc0d9}
.mp-list .rule-card h3 {margin:.2rem 0 .5rem}
.mp-list .rule-card .meta:last-child {margin-top:auto;padding-top:.7rem}
.mp-stat {border-top:3px solid var(--brand-gold)}
.mp-timeline {list-style:none;margin:1rem 0 0;padding:0}
.mp-timeline li {padding:.75rem 0;border-top:1px solid var(--station-edge)}
.mp-timeline li .mp-chips {margin:.4rem 0 .1rem}
.mp-timeline p,.mp-review {white-space:pre-wrap;overflow-wrap:anywhere}
.mp-form {display:grid;gap:.6rem;margin-top:1rem;max-width:43rem}
.mp-form label {display:grid;gap:.2rem;font-weight:600}
.mp-form input,.mp-form textarea,.mp-share-input {font:inherit;min-width:0;width:100%;border:1px solid #aebed2;border-radius:7px;padding:.6rem .7rem;color:var(--brand-navy);background:#fff;min-height:44px}
.mp-form textarea {min-height:6rem;resize:vertical}
.mp-form button {justify-self:start}
.mp-action-status {display:block;min-height:0;color:var(--station-muted);margin-top:.5rem;overflow-wrap:anywhere}
.mp-action-status:empty {display:none}
.mp-share-input {max-width:45rem;margin-top:.6rem}
.mp-control {margin-top:1rem;padding-top:1rem;border-top:1px solid var(--station-edge)}
.mp-chart {margin:1rem 0 0}
.mp-chart canvas {display:block;width:100%;height:190px}
.mp-chart input[type=range] {display:block;width:100%;margin:.4rem 0}
.mp-chart output {display:block;font-variant-numeric:tabular-nums}
.mp-legend {display:flex;gap:1rem;flex-wrap:wrap;align-items:center;font-size:.94rem}
.mp-legend span::before {content:"";display:inline-block;width:1rem;border-top:3px solid #a77c1b;vertical-align:middle;margin-right:.35rem}
.mp-legend span:last-child::before {border-color:#6689b3;border-top-style:dashed}
.mp-article strong {color:var(--brand-navy)}
@media(max-width:600px){
  .mp-list {grid-template-columns:minmax(0,1fr)}
  .mp-article .actions {gap:.4rem}
  .mp-article .actions .button {padding:.4rem .7rem}
}
.mp-chart {padding:1rem;background:var(--brand-navy);border-radius:10px;color:#f6f8fb}
.mp-legend span::before {border-color:var(--brand-gold)}
.mp-legend span:last-child::before {border-color:var(--brand-chart-peer)}
.mp-auto,.mp-fieldset,.mp-thesis-list>div {border:1px solid var(--station-edge);border-radius:10px;padding:.9rem 1rem}
.mp-auto {background:#f5f8fb}
.mp-fieldset {min-inline-size:0;margin:.4rem 0;display:grid;gap:.85rem}
.mp-fieldset legend {padding-inline:.35rem;color:var(--brand-navy);font-weight:700}
.mp-fieldset .coverage,.mp-auto p {margin:0}
.mp-fieldset input[type=date] {max-width:17rem}
.mp-thesis-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:1rem}
.mp-thesis-list>div:last-child {grid-column:1/-1}
.mp-thesis-list dt {font-weight:650}
.mp-thesis-list dd {margin-top:.35rem;line-height:1.55;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere}
.mp-form label.mp-checkbox {display:flex;align-items:center;gap:.6rem;min-height:44px;font-weight:500}
.mp-checkbox input[type=checkbox] {width:1.2rem;height:1.2rem;min-height:0;padding:0;accent-color:var(--brand-navy);flex:none}
.mp-form select {max-width:100%;min-width:0;font-size:1rem;min-height:44px}
.mp-permissions summary,.mp-note-entry summary {cursor:pointer;min-height:44px;align-content:center;font-weight:650;overflow-wrap:anywhere}
.mp-permissions {border-block-start:1px solid var(--station-edge);padding-block:.4rem}
.mp-permissions[open]>.mp-form {margin:.4rem 0}
.mp-note-entry {scroll-margin:5rem}
.mp-note-entry summary span {display:inline-block;vertical-align:middle}
.mp-readers {margin:.15rem .4rem;color:var(--station-muted);font-weight:500;font-size:.9rem}
.mp-note-body {padding:.5rem 0 .5rem 1.15rem}
.mp-note-body h3 {font-size:1rem;margin:.65rem 0 .2rem}
.mp-referred {border-left:3px solid var(--brand-gold);padding-left:.7rem}
#sharing {scroll-margin-top:1rem}
@media(max-width:650px){
  .mp-thesis-list {grid-template-columns:minmax(0,1fr)}
  .siteHead .bar {flex-wrap:wrap}
  .siteHead nav {flex-wrap:wrap}
}
.mp-brand-bar {display:flex;align-items:center;gap:.7rem;background:#fff;border:1px solid var(--station-edge);border-left:4px solid var(--author-accent,var(--brand-gold));border-radius:10px;padding:.65rem 1rem;margin-bottom:.7rem}
.mp-brand-bar img {object-fit:contain;flex:none}
.mp-brand-bar small {display:block;font-size:.85rem;color:var(--station-muted)}
.mp-brand-name {font-size:1.05rem;font-weight:720;text-decoration:none;overflow-wrap:anywhere}
