html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: #090b0f; }
[hidden] { display: none !important; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: #ff9097; }
:focus-visible { outline: 3px solid #ff9097; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 5; top: -100px; left: 16px; padding: 14px; background: #12171e; }
.skip-link:focus { top: 12px; }
.preview-label,.selector-help,.roster-footer,.not-listed { color: #aeb6c2; font-size: 13px; line-height: 1.6; }
.preview-label { max-width: 220px; text-align: right; }
.roster-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 20px; color: #aeb6c2; font-size: 13px; }
.roster-stats strong { color: #f5f4ef; font-size: 19px; margin-right: 5px; }
.selector-help { grid-column: 1 / -1; margin: 0; }
.mpt-selector select { width: 100%; min-width: 0; }
.roster-directory { margin-top: 56px; }
.directory-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.directory-heading h2,.profile-main h2,.profile-main h3,.profile-aside h3 { margin: 0 0 16px; letter-spacing: -.02em; }
.directory-heading h2 { font-size: 32px; }
#search-form label { display: block; font-size: 12px; color: #aeb6c2; margin-bottom: 8px; }
.search-controls { display: flex; gap: 8px; }
input,textarea { border: 1px solid #45505e; border-radius: 4px; background: #12171e; color: #f5f4ef; padding: 12px; min-width: 0; }
input { width: min(50vw,260px); }
.secondary-button { border: 1px solid #45505e; border-radius: 4px; background: #1c232c; color: #f5f4ef; padding: 12px 16px; min-height: 44px; }
.secondary-button:hover:not(:disabled) { border-color: #ff7880; }
#directory-count { color: #aeb6c2; font-size: 13px; margin: 24px 0 16px; }
.roster-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.roster-card { display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 22px; background: #12171e; border: 1px solid #303844; border-radius: 5px; min-width: 0; }
.roster-card h3 { margin: 0; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.roster-card p { margin: 0; color: #aeb6c2; font-size: 13px; line-height: 1.55; }
.roster-card .card-make { color: #ff9097; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.roster-card button { margin-top: auto; }
.roster-card .card-state { font-size: 12px; border-top: 1px solid #303844; padding-top: 12px; width: 100%; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 24px 0; font-size: 13px; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,320px); gap: 24px; margin: 40px 0 64px; scroll-margin-top: 20px; }
.profile-main,.profile-aside { min-width: 0; }
.profile-main h2 { font-size: clamp(30px,4vw,46px); line-height: 1.05; margin-top: 20px; overflow-wrap: anywhere; }
.profile-main p { color: #bdc5ce; line-height: 1.7; }
.profile-panel { padding: 24px; margin-top: 24px; border: 1px solid #303844; background: #12171e; border-radius: 4px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; gap: 20px; }
.spec-grid div { min-width: 0; }
.spec-grid dt { color: #aeb6c2; font-size: 12px; margin-bottom: 6px; }
.spec-grid dd { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.profile-aside { align-self: start; position: sticky; top: 24px; border: 1px solid #303844; border-top: 3px solid #e3222e; padding: 24px; background: #1c232c; }
.profile-aside p { color: #bdc5ce; font-size: 14px; line-height: 1.65; }
.profile-aside button { width: 100%; white-space: normal; }
.profile-aside dl { display: grid; gap: 16px; margin: 24px 0; }
.profile-aside dt { font-size: 12px; color: #aeb6c2; margin-bottom: 5px; }
.profile-aside dd { margin: 0; font-size: 14px; }
.assessment-list { margin: 0; padding-left: 20px; }
.assessment-list li { padding: 8px 0; line-height: 1.6; }
.assessment-list strong { display: block; }
.assessment-list span { color: #bdc5ce; font-size: 14px; }
.profile-source { font-size: 12px; padding-top: 20px; line-height: 1.6; color: #aeb6c2; }
.roster-process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; border-top: 1px solid #303844; padding: 40px 0; margin-top: 52px; }
.roster-process span { color: #ff9097; font-size: 13px; }
.roster-process h2 { font-size: 24px; margin: 12px 0; }
.roster-process p { color: #aeb6c2; font-size: 14px; line-height: 1.6; }
.roster-footer { border-top: 1px solid #303844; padding-top: 24px; max-width: 800px; }
dialog { width: min(90vw,600px); max-height: 90svh; overflow-y: auto; padding: 28px; border: 1px solid #45505e; border-top: 3px solid #e3222e; border-radius: 6px; background: #12171e; color: #f5f4ef; }
dialog::backdrop { background: #000c; }
dialog p { line-height: 1.65; }
dialog textarea { width: 100%; margin-top: 10px; resize: vertical; }
dialog .preview-label { text-align: left; max-width: none; }
.dialog-close { display: block; margin: 0 0 24px auto; }
.no-script { color: #fff; padding: 24px; }
.roster-top-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.roster-top-links a { color: #f5f4ef; padding: 12px 16px; min-height: 44px; border: 1px solid #45505e; border-radius: 4px; font-size: 14px; text-decoration: none; }
.roster-top-links a[aria-current="page"] { background: #1c232c; border-bottom-color: #e3222e; }
.roster-top-links a:hover { border-color: #ff9097; }
.roster-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; line-height: 1.6; margin-top: 32px; color: #aeb6c2; }
.roster-breadcrumbs a { padding: 10px 0; }
.roster-breadcrumbs { scroll-margin-top: 64px; }
.roster-breadcrumbs [aria-current] { overflow-wrap: anywhere; color: #f5f4ef; }
.profile-navigation { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.mpt-catalogue-bar { flex-wrap: wrap; gap: 16px; }
.mpt-catalogue-bar > .preview-label { flex-basis: 100%; max-width: none; }
#verified-contact { margin-top: 16px; }
@media(max-width:600px) { .roster-top-links { margin-left: 0; width: 100%; } .roster-top-links a { flex: 1; text-align: center; padding: 12px 8px; } .mpt-catalogue-bar > .preview-label { text-align: left; } .profile-navigation button { flex: 1; } }
@media(max-width:900px) { .roster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .profile-layout { grid-template-columns: 1fr; } .profile-aside { position: static; } }
@media(max-width:600px) { .roster-grid,.roster-process { grid-template-columns: 1fr; } .roster-card { padding: 20px; } .mpt-catalogue-intro h1 { font-size: 44px; } .roster-stats { gap: 12px 22px; } .profile-panel { padding: 20px; } .spec-grid { grid-template-columns: 1fr; } .preview-label { font-size: 11px; max-width: 150px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
