/* MilitarySci 2.3.6 — genuinely distinct single-page systems.
 * Layout is domain-specific; palette, typography and surfaces stay token-driven.
 */

/* Shared single-page frame */
.msi-entity-experience { width:var(--msi-content, min(1480px,calc(100% - 64px))); max-width:1480px; margin-inline:auto; padding-block:20px 64px; }
.msi-entity-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0 0 18px; color:var(--text-3); font-size:11px; }
.msi-entity-breadcrumb a { color:var(--text-2); text-decoration:none; }
.msi-entity-breadcrumb a:hover { color:var(--brand); }
.msi-single-eyebrow { display:inline-flex; align-items:center; gap:8px; color:var(--brand); font:850 9px var(--mono); letter-spacing:.13em; text-transform:uppercase; }
.msi-single-status { display:inline-flex; align-items:center; gap:7px; width:max-content; padding:6px 10px; color:var(--text-2); border:1px solid var(--hairline); border-radius:999px; background:var(--surface-2); font-size:10px; font-weight:800; }
.msi-single-status.is-verified { color:var(--ok); border-color:color-mix(in srgb,var(--ok) 34%,var(--hairline)); background:color-mix(in srgb,var(--ok) 8%,var(--surface)); }
.msi-single-section-nav { position:sticky; top:calc(var(--topbar-h,64px) + var(--segnav-h,40px) + 8px); z-index:24; display:flex; flex-wrap:nowrap; gap:7px; overflow-x:auto; margin:14px 0 18px; padding:9px; border:1px solid var(--hairline); border-radius:13px; background:color-mix(in srgb,var(--surface) 92%,transparent); box-shadow:var(--sh-1); backdrop-filter:blur(14px); scrollbar-width:thin; }
.msi-single-section-nav a { display:inline-flex; flex:none; align-items:center; min-height:33px; padding:6px 12px; color:var(--text-2); border:1px solid transparent; border-radius:8px; text-decoration:none; font-size:10px; font-weight:800; white-space:nowrap; }
.msi-single-section-nav a:hover { color:var(--text); border-color:var(--hairline); background:var(--surface-2); }
.msi-entity-experience .msi-detail-panel { min-width:0; overflow:hidden; padding:clamp(17px,2.3vw,25px); border:1px solid var(--hairline); border-radius:16px; background:var(--surface); box-shadow:var(--sh-1); }
.msi-entity-experience .msi-detail-panel__heading { display:flex; flex-direction:column; align-items:flex-start; gap:5px; margin-bottom:16px; }
.msi-entity-experience .msi-detail-panel__heading > span { color:var(--text-3); font:800 9px var(--mono); letter-spacing:.12em; }
.msi-entity-experience .msi-detail-panel__heading h2 { margin:0; color:var(--text); font-size:clamp(17px,2vw,22px); font-weight:900; }
.msi-entity-experience .msi-detail-overview { scroll-margin-top:150px; }
.msi-entity-experience .msi-detail-prose { color:var(--text-2); font-size:14px; line-height:2.05; }
.msi-entity-experience .msi-detail-prose h2,.msi-entity-experience .msi-detail-prose h3 { color:var(--text); }
.msi-entity-experience .msi-detail-prose a { color:var(--brand); }
.msi-entity-experience .msi-detail-lede { margin:0 0 14px; color:var(--text); font-size:15px; font-weight:750; line-height:1.95; }
.msi-entity-experience .msi-detail-facts-panel dl { display:grid; gap:0; margin:0; }
.msi-entity-experience .msi-detail-facts-panel dl > div { display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid var(--hairline); }
.msi-entity-experience .msi-detail-facts-panel dt { color:var(--text-3); font-size:10px; }
.msi-entity-experience .msi-detail-facts-panel dd { margin:0; color:var(--text); font-size:11px; font-weight:800; text-align:end; }
.msi-entity-experience .msi-detail-correction p { color:var(--text-2); font-size:11px; line-height:1.8; }
.msi-entity-experience .msi-detail-correction a,.msi-entity-experience .msi-company-channels a,.msi-entity-experience .msi-organization-official a,.msi-entity-experience .msi-company-trust a { color:var(--brand); font-size:11px; font-weight:850; text-decoration:none; }
.msi-single-related-group { margin-block:16px; }
.msi-single-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.msi-single-related-grid > article { min-width:0; }
.msi-single-related-grid .msi-domain-card,.msi-single-related-grid .msi-exhibition-card { height:100%; }
.msi-single-related-grid .msi-relation-record { display:flex; flex-direction:column; gap:6px; min-height:92px; padding:13px; color:var(--text); border:1px solid var(--hairline); border-radius:12px; background:var(--surface-2); text-decoration:none; }
.msi-single-related-grid .msi-relation-record span,.msi-single-related-grid .msi-relation-record i { color:var(--text-3); font-size:9px; font-style:normal; }
.msi-single-related-grid .msi-relation-record b { font-size:13px; }

/* Explicit coverage for template-only blocks that used to fall through to generic markup. */
.msi-detail-relations,.msi-detail-sources,.msi-detail-timeline { scroll-margin-top:150px; }
.msi-special-record-dossier { display:grid; gap:16px; min-width:0; }
.msi-special-record-dossier > .msi-detail-panel { min-width:0; }
.msi-company-media .mst-gallery-wrap,.msi-exhibition-media .mst-gallery-wrap { margin:8px 0 0 !important; }
.msi-company-media .mst-gallery img,.msi-exhibition-media .mst-gallery img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.msi-edition-exhibitors,.msi-edition-sponsors,.msi-exhibition-floorplans { min-width:0; }
.msi-event-profile { display:grid; gap:16px; min-width:0; }
.msi-event-agenda { scroll-margin-top:150px; }
.msi-organization-charter { min-width:0; }
.msi-person-hero__content { display:grid; justify-items:start; align-content:center; gap:7px; min-width:0; }
.msi-person-hero__content h1 { margin:5px 0 7px; color:var(--text); font-size:clamp(27px,3.6vw,43px); font-weight:950; line-height:1.2; }
.msi-person-hero__content > p { margin:0; color:var(--text-2); font-size:12px; line-height:1.8; }
.msi-person-hero__content .msi-person-role { color:var(--brand) !important; font-weight:850; }
.msi-report-publication { display:grid; gap:16px; min-width:0; }
.msi-report-publication__grid { min-width:0; }
.msi-report-publication__header .msi-entity-actions { display:flex; flex-wrap:wrap; gap:7px; }
.msi-exhibition-logistics,.msi-exhibition-registration,.msi-exhibition-floorplans { scroll-margin-top:150px; }
.msi-exhibition-logistics__grid b { overflow-wrap:anywhere; }
.msi-venue-profile-workspace,.msi-pavilion-workspace,.msi-exhibitor-workspace { display:grid; gap:16px; min-width:0; }
.msi-exhibitor-participation,.msi-venue-location-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; overflow:hidden; border:1px solid var(--hairline); border-radius:14px; background:var(--surface); }
.msi-exhibitor-participation > div,.msi-venue-location-strip > div { display:grid; gap:6px; padding:13px 15px; border-inline-start:1px solid var(--hairline); }
.msi-exhibitor-participation > div:first-child,.msi-venue-location-strip > div:first-child { border-inline-start:0; }
.msi-exhibitor-participation span,.msi-venue-location-strip span { color:var(--text-3); font:800 8px var(--mono); }
.msi-exhibitor-participation b,.msi-venue-location-strip b { color:var(--text); font-size:11px; }
.msi-person-profile > main,.msi-person-profile > aside { min-width:0; }
.msi-member-profile-page .ent-head { background:var(--surface); border-color:var(--hairline); border-radius:0 0 16px 16px; }
.msi-member-profile-page .member-cover { background-color:var(--surface-2); }

/* Equipment — technical dossier, identity strip, specs and evidence/media */
.msi-equipment-profile { --single-tone:var(--d-eq,var(--brand)); }
.msi-equipment-cover,.msi-company-cover,.msi-exhibition-cover { position:relative; isolation:isolate; display:flex; align-items:center; min-height:350px; overflow:hidden; margin-bottom:0; padding:clamp(24px,4vw,45px); border:1px solid var(--hairline); border-radius:20px; background:linear-gradient(135deg,var(--surface),var(--surface-2)); box-shadow:var(--sh-2); }
.msi-equipment-cover__image,.msi-company-cover__image,.msi-exhibition-cover__image { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; }
.msi-equipment-cover__scrim,.msi-company-cover__scrim,.msi-exhibition-cover__scrim { position:absolute; z-index:-1; inset:0; background:linear-gradient(to left,color-mix(in srgb,var(--surface) 98%,transparent) 0%,color-mix(in srgb,var(--surface) 88%,transparent) 48%,color-mix(in srgb,var(--surface) 18%,transparent) 100%),linear-gradient(0deg,color-mix(in srgb,var(--surface) 65%,transparent),transparent 68%); }
.msi-equipment-cover__content { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:10px; width:min(760px,78%); }
.msi-equipment-cover h2,.msi-company-cover h2,.msi-exhibition-cover h2 { margin:0; color:var(--text); font-size:clamp(30px,4.5vw,54px); font-weight:950; line-height:1.14; letter-spacing:-.045em; }
.msi-equipment-cover__content > p,.msi-company-cover__identity p,.msi-exhibition-cover__content > p { margin:0; color:var(--text-2); font-size:13px; line-height:1.9; }
.msi-equipment-serial { align-self:flex-end; display:flex; flex-direction:column; gap:7px; min-width:175px; margin-inline-start:auto; padding:15px; border:1px solid var(--hairline); border-radius:13px; background:color-mix(in srgb,var(--surface) 84%,transparent); backdrop-filter:blur(12px); }
.msi-equipment-serial span,.msi-equipment-record-card span { color:var(--text-3); font:800 8px var(--mono); letter-spacing:.12em; }
.msi-equipment-serial b,.msi-equipment-record-card b { color:var(--text); font:900 16px var(--mono); }
.msi-equipment-identity-strip { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); overflow:hidden; margin:14px 0 18px; border:1px solid var(--hairline); border-radius:14px; background:var(--surface); }
.msi-equipment-identity-strip > div { display:flex; flex-direction:column; justify-content:center; gap:6px; min-width:0; min-height:75px; padding:13px 15px; border-inline-start:1px solid var(--hairline); }
.msi-equipment-identity-strip > div:last-child { border-inline-start:0; }
.msi-equipment-identity-strip span,.msi-company-snapshot span,.msi-company-capability-grid span,.msi-exhibition-logistics__grid span { color:var(--text-3); font-size:9px; }
.msi-equipment-identity-strip b,.msi-company-snapshot b,.msi-company-capability-grid b,.msi-exhibition-logistics__grid b { color:var(--text); font-size:11px; font-weight:850; line-height:1.65; }
.msi-equipment-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,340px); gap:18px; align-items:start; }
.msi-equipment-main,.msi-equipment-rail,.msi-company-main,.msi-company-rail,.msi-organization-main,.msi-organization-rail,.msi-exhibition-main,.msi-exhibition-rail { display:grid; gap:16px; min-width:0; }
.msi-equipment-rail { position:sticky; top:calc(var(--topbar-h,64px) + var(--segnav-h,40px) + 68px); }
.msi-equipment-record-card { display:flex; flex-direction:column; gap:7px; padding:17px; border:1px solid var(--hairline); border-radius:15px; background:linear-gradient(135deg,var(--surface),var(--surface-2)); }
.msi-equipment-record-card small { color:var(--text-3); font-size:9px; }
.msi-equipment-record-card small.is-verified { color:var(--ok); }
.msi-equipment-media .mst-gallery-wrap { margin:8px 0 0 !important; }
.msi-equipment-media .mst-gallery .swiper-slide { overflow:hidden; border:1px solid var(--hairline); border-radius:12px; background:var(--surface-2); }
.msi-equipment-media .mst-gallery img { aspect-ratio:16/10 !important; object-fit:cover; border-radius:0 !important; }
.msi-equipment-profile .msi-spec-group { margin-top:13px; padding:14px; border:1px solid var(--hairline); border-radius:12px; background:var(--surface-2); }
.msi-equipment-profile .msi-spec-group h3 { margin:0 0 8px; color:var(--text); font-size:12px; }
.msi-equipment-profile .msi-spec-group dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 15px; margin:0; }
.msi-equipment-profile .msi-spec-group dl > div { display:flex; flex-direction:column; gap:4px; padding:9px 0; border-bottom:1px solid var(--hairline); }
.msi-equipment-profile .msi-spec-group dt { color:var(--text-3); font-size:9px; }
.msi-equipment-profile .msi-spec-group dd { margin:0; color:var(--text); font-size:11px; font-weight:800; }
.msi-equipment-related-stack { display:grid; gap:1px; }

/* Company — cover + corporate identity + products, leadership, exhibitions */
.msi-company-profile { --single-tone:var(--d-co,var(--brand)); }
.msi-company-cover { min-height:330px; justify-content:space-between; gap:22px; }
.msi-company-cover__scrim { background:linear-gradient(to left,color-mix(in srgb,var(--surface) 97%,transparent) 0%,color-mix(in srgb,var(--surface) 87%,transparent) 58%,color-mix(in srgb,var(--surface) 25%,transparent) 100%),linear-gradient(0deg,color-mix(in srgb,var(--surface) 60%,transparent),transparent 72%); }
.msi-company-cover__identity { position:relative; display:grid; grid-template-columns:112px minmax(0,1fr); align-items:center; gap:20px; width:min(850px,75%); }
.msi-company-logo { display:grid; place-items:center; width:112px; height:112px; overflow:hidden; padding:13px; border:1px solid var(--hairline); border-radius:18px; background:var(--surface); box-shadow:var(--sh-2); }
.msi-company-logo img { width:100%; height:100%; object-fit:contain; }
.msi-company-logo span,.msi-organization-emblem span { color:var(--brand); font-size:28px; font-weight:950; }
.msi-company-cover__identity > div:last-child { display:grid; justify-items:start; gap:9px; }
.msi-company-cover__badges { display:flex; flex-wrap:wrap; gap:7px; }
.msi-company-cover__badges > span:not(.msi-single-status) { padding:6px 9px; color:var(--text-2); border:1px solid var(--hairline); border-radius:999px; background:var(--surface); font-size:9px; }
.msi-company-cover__actions { position:relative; display:flex; flex-direction:column; gap:8px; flex:none; }
.msi-company-snapshot { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:0; margin:14px 0 18px; border:1px solid var(--hairline); border-radius:14px; background:var(--surface); }
.msi-company-snapshot > div { display:flex; flex-direction:column; gap:6px; min-width:0; padding:14px 16px; border-inline-start:1px solid var(--hairline); }
.msi-company-snapshot > div:last-child { border-inline-start:0; }
.msi-company-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,320px); gap:18px; align-items:start; }
.msi-company-capability-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.msi-company-capability-grid article { display:grid; gap:6px; min-width:0; padding:13px; border:1px solid var(--hairline); border-radius:11px; background:var(--surface-2); }
.msi-company-channels { display:grid; gap:0; }
.msi-company-channels a { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--hairline); }
.msi-company-trust { display:grid; gap:9px; }
.msi-company-trust > span { color:var(--text-3); font:800 8px var(--mono); letter-spacing:.1em; }
.msi-company-trust > b { color:var(--text); font-size:13px; }

/* Organization — charter, mandate, geographic remit and institutional network */
.msi-organization-profile { --single-tone:var(--d-or,var(--brand)); }
.msi-organization-hero { display:grid; grid-template-columns:130px minmax(0,1fr) auto; align-items:center; gap:24px; min-height:250px; padding:clamp(22px,3vw,34px); border:1px solid var(--hairline); border-radius:18px; background:radial-gradient(circle at 7% 100%,color-mix(in srgb,var(--brand) 10%,transparent),transparent 35%),linear-gradient(125deg,var(--surface),var(--surface-2)); box-shadow:var(--sh-1); }
.msi-organization-emblem { display:grid; place-items:center; width:122px; height:122px; overflow:hidden; padding:12px; border:1px solid var(--hairline-strong); border-radius:22px; background:var(--surface-2); }
.msi-organization-emblem img { width:100%; height:100%; object-fit:contain; }
.msi-organization-hero__main { display:grid; justify-items:start; gap:9px; min-width:0; }
.msi-organization-hero__main h2 { margin:0; color:var(--text); font-size:clamp(26px,3.2vw,39px); font-weight:950; line-height:1.2; }
.msi-organization-hero__main > p { margin:0; color:var(--text-2); font-size:12px; line-height:1.8; }
.msi-organization-hero__main .msi-organization-mandate { max-width:740px; color:var(--text); font-size:13px; font-weight:700; }
.msi-organization-authority { display:grid; width:210px; max-width:100%; gap:10px; padding:17px; border:1px solid var(--hairline); border-radius:13px; background:var(--surface); }
.msi-organization-authority span { color:var(--text-3); font:800 8px var(--mono); letter-spacing:.1em; }
.msi-organization-authority b { color:var(--text); font-size:14px; }
.msi-organization-authority small { color:var(--text-2); font-size:10px; }
.msi-organization-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,320px); gap:18px; align-items:start; }
.msi-organization-charter__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.msi-organization-charter__grid > div { display:grid; gap:6px; padding:13px; border:1px solid var(--hairline); border-radius:11px; background:var(--surface-2); }
.msi-organization-charter__grid span { color:var(--text-3); font-size:9px; }
.msi-organization-charter__grid b { color:var(--text); font-size:11px; }
.msi-organization-official { display:grid; gap:10px; }

/* Exhibition edition — event cycle, dates, venue, participants, programme */
.msi-exhibition-profile { --single-tone:var(--d-ex,var(--brand)); }
.msi-exhibition-cover { min-height:360px; justify-content:space-between; gap:20px; }
.msi-exhibition-cover__scrim { background:linear-gradient(to left,color-mix(in srgb,var(--surface) 97%,transparent) 0%,color-mix(in srgb,var(--surface) 85%,transparent) 57%,color-mix(in srgb,var(--surface) 22%,transparent) 100%),linear-gradient(0deg,color-mix(in srgb,var(--surface) 72%,transparent),transparent 75%); }
.msi-exhibition-cover__content { position:relative; display:grid; flex:1; justify-items:start; gap:10px; width:auto; min-width:0; }
.msi-exhibition-cover__content h2 { font-size:clamp(32px,4.2vw,52px); }
.msi-exhibition-date-card { position:relative; display:grid; gap:12px; width:230px; flex:none; padding:17px; border:1px solid var(--hairline); border-radius:14px; background:color-mix(in srgb,var(--surface) 88%,transparent); backdrop-filter:blur(13px); }
.msi-exhibition-date-card > span { color:var(--text-3); font:800 8px var(--mono); letter-spacing:.1em; }
.msi-exhibition-date-card > div { display:grid; gap:4px; padding-bottom:10px; border-bottom:1px solid var(--hairline); }
.msi-exhibition-date-card small { color:var(--text-3); font-size:9px; }
.msi-exhibition-date-card b { color:var(--text); font:850 13px var(--mono); }
.msi-exhibition-date-card em { width:max-content; padding:5px 8px; color:var(--brand); border-radius:7px; background:var(--brand-soft); font-size:9px; font-style:normal; font-weight:850; }
.msi-exhibition-stats { display:flex; flex-wrap:wrap; align-items:stretch; gap:0; margin:14px 0 18px; border:1px solid var(--hairline); border-radius:14px; background:var(--surface); }
.msi-exhibition-stats > div { display:flex; flex-direction:column; justify-content:center; gap:5px; min-width:130px; padding:14px 18px; border-inline-start:1px solid var(--hairline); }
.msi-exhibition-stats > div:first-child { border-inline-start:0; }
.msi-exhibition-stats > div > b { color:var(--text); font:900 22px var(--mono); }
.msi-exhibition-stats > div > span { color:var(--text-3); font-size:9px; }
.msi-exhibition-stats .msi-exhibition-trust { flex:1; min-width:200px; }
.msi-exhibition-stats .msi-exhibition-trust > b { font:850 12px var(--font); }
.msi-exhibition-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,320px); gap:18px; align-items:start; }
.msi-exhibition-logistics__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.msi-exhibition-logistics__grid > div { display:grid; gap:6px; padding:14px; border:1px solid var(--hairline); border-radius:11px; background:var(--surface-2); }
.msi-exhibition-logistics__grid small { color:var(--text-3); font-size:9px; }
.msi-exhibition-registration { display:grid; gap:10px; }
.msi-exhibition-registration > span { color:var(--text-3); font:800 8px var(--mono); letter-spacing:.1em; }
.msi-exhibition-registration h3 { margin:0; color:var(--text); font-size:15px; }
.msi-exhibition-registration p { margin:0; color:var(--text-2); font-size:11px; line-height:1.8; }
.msi-exhibition-registration .msi-action { width:max-content; }

/* Reports / events / professional records */
.msi-report-publication__header { display:grid; grid-template-columns:180px minmax(0,1fr) 175px; align-items:center; gap:24px; padding:clamp(22px,3vw,34px); border:1px solid var(--hairline); border-radius:18px; background:linear-gradient(135deg,var(--surface),var(--surface-2)); box-shadow:var(--sh-1); }
.msi-report-publication__cover { display:grid; place-items:center; width:170px; height:220px; overflow:hidden; border:1px solid var(--hairline); border-radius:11px; background:var(--surface-3); box-shadow:var(--sh-2); }
.msi-report-publication__cover img { width:100%; height:100%; object-fit:cover; }
.msi-report-publication__cover > span { display:grid; justify-items:center; gap:12px; color:var(--brand); }
.msi-report-publication__cover b { color:var(--text-3); font:800 8px var(--mono); }
.msi-report-publication__identity { display:grid; justify-items:start; gap:9px; }
.msi-report-publication__identity h2 { margin:0; color:var(--text); font-size:clamp(25px,3.3vw,40px); font-weight:950; line-height:1.22; }
.msi-report-publication__identity p { margin:0; color:var(--text-2); font-size:12px; }
.msi-report-publication__serial { display:grid; gap:8px; padding:15px; border:1px solid var(--hairline); border-radius:12px; background:var(--surface); }
.msi-report-publication__serial span { color:var(--text-3); font:800 8px var(--mono); }
.msi-report-publication__serial b { color:var(--text); font:900 13px var(--mono); }
.msi-report-publication__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(265px,310px); gap:18px; align-items:start; margin-top:17px; }
.msi-report-publication__grid > main,.msi-report-publication__grid > aside { display:grid; gap:16px; min-width:0; }
.msi-report-access { display:grid; gap:9px; }
.msi-report-access > span { color:var(--text-3); font:800 8px var(--mono); }
.msi-report-access > b { color:var(--text); font-size:14px; }
.msi-report-access p { margin:0; color:var(--text-2); font-size:11px; line-height:1.8; }
.msi-report-access a { color:var(--brand); font-size:11px; font-weight:850; }
.msi-event-agenda-hero { display:grid; grid-template-columns:105px minmax(0,1fr); align-items:center; gap:22px; padding:25px; border:1px solid var(--hairline); border-radius:17px; background:var(--surface); }
.msi-event-agenda-hero--undated { grid-template-columns:minmax(0,1fr); }
.msi-event-agenda-hero h2 { margin:7px 0; color:var(--text); font-size:clamp(24px,3vw,36px); font-weight:950; }
.msi-event-agenda-hero p { color:var(--text-2); font-size:12px; }
.msi-event-profile__grid,.msi-person-profile { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,320px); gap:18px; margin-top:16px; align-items:start; }
.msi-event-profile__grid > main,.msi-event-profile__grid > aside,.msi-person-profile > main,.msi-person-profile > aside { display:grid; gap:15px; min-width:0; }
.msi-event-agenda__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.msi-event-agenda__grid > div { display:grid; gap:5px; padding:12px; border:1px solid var(--hairline); border-radius:10px; background:var(--surface-2); }
.msi-event-agenda__grid span { color:var(--text-3); font-size:9px; }
.msi-event-agenda__grid b { color:var(--text); font-size:11px; }

/* Community article — editorial feature page, distinct from short updates */
.msi-community-single-page { width:min(1280px,calc(100% - 40px)); max-width:1280px !important; margin-inline:auto !important; }
/* Exhibition edition details — participant, schedule and published map records. */
.msi-edition-company-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.msi-edition-company-grid > article { display:grid; align-content:start; gap:7px; min-width:0; }
.msi-edition-company-grid > article > small { color:var(--text-3); font-size:9px; }
.msi-edition-sessions ol { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.msi-edition-sessions li { display:grid; grid-template-columns:minmax(110px,150px) minmax(0,1fr) auto; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid var(--hairline); }
.msi-edition-sessions li:last-child { border-bottom:0; }
.msi-edition-sessions time { color:var(--brand); font:800 10px var(--mono); }
.msi-edition-sessions li > div { display:grid; gap:4px; }
.msi-edition-sessions li b { color:var(--text); font-size:12px; }
.msi-edition-sessions li small { color:var(--text-3); font-size:10px; }
.msi-edition-sessions li > a,.msi-exhibition-series-link { color:var(--brand); font-size:10px; font-weight:850; text-decoration:none; }
.msi-exhibition-series-link { display:inline-flex; margin-top:13px; }
.msi-floorplan-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.msi-floorplan-grid figure { display:grid; gap:8px; min-width:0; margin:0; padding:10px; border:1px solid var(--hairline); border-radius:12px; background:var(--surface-2); }
.msi-floorplan-grid figure a { display:grid; place-items:center; min-height:130px; overflow:hidden; border-radius:8px; background:var(--surface-3); }
.msi-floorplan-grid img { display:block; width:100%; max-height:340px; object-fit:contain; }
.msi-floorplan-grid figcaption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:7px; }
.msi-floorplan-grid figcaption b { color:var(--text); font-size:11px; }
.msi-floorplan-grid figcaption span { color:var(--text-3); font:800 9px var(--mono); }

.msi-article-single { display:block; overflow:visible; margin-top:16px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.msi-article-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.82fr); gap:28px; align-items:center; padding:clamp(22px,3.5vw,40px); border:1px solid var(--hairline); border-radius:19px; background:linear-gradient(130deg,var(--surface),var(--surface-2)); box-shadow:var(--sh-1); }
.msi-article-hero--text-only { grid-template-columns:minmax(0,1fr); }
.msi-article-hero--text-only .msi-article-hero__copy { max-width:980px; }
.msi-article-hero__copy { display:grid; justify-items:start; gap:14px; min-width:0; }
.msi-article-labels { display:flex; flex-wrap:wrap; gap:7px; }
.msi-article-hero h1 { margin:0; color:var(--text); font-size:clamp(29px,4vw,49px); font-weight:950; line-height:1.28; letter-spacing:-.04em; }
.msi-article-deck { margin:0; color:var(--text-2); font-size:15px; line-height:1.9; }
.msi-article-byline { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; width:100%; padding-top:14px; border-top:1px solid var(--hairline); }
.msi-article-byline > a { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; }
.msi-article-byline > a > span:last-child { display:grid; gap:4px; }
.msi-article-byline b { font-size:11px; }
.msi-article-byline small { color:var(--text-3); font-size:9px; }
.msi-article-actions { display:flex; flex-wrap:wrap; gap:6px; }
.msi-article-hero__visual { position:relative; overflow:hidden; min-height:280px; margin:0; border:1px solid var(--hairline); border-radius:14px; background:var(--surface-3); }
.msi-article-hero__visual img { display:block; width:100%; height:100%; min-height:280px; object-fit:cover; }
.msi-article-hero__visual figcaption { position:absolute; inset-inline:0; bottom:0; padding:9px 12px; color:var(--text); background:color-mix(in srgb,var(--surface) 88%,transparent); font-size:9px; }
.msi-article-reading-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:20px; align-items:start; margin-top:20px; }
.msi-article-reader { min-width:0; padding:clamp(22px,4vw,48px); border:1px solid var(--hairline); border-radius:16px; background:var(--surface); }
.msi-article-reader__meta { display:flex; flex-wrap:wrap; gap:12px; padding-bottom:13px; margin-bottom:23px; color:var(--text-3); border-bottom:1px solid var(--hairline); font:800 9px var(--mono); }
.msi-article-content { color:var(--text-2); font-size:15px; line-height:2.15; }
.msi-article-content > p:first-child { font-size:17px; color:var(--text); }
.msi-article-content h2 { margin:2em 0 .7em; padding-inline-start:13px; color:var(--text); border-inline-start:3px solid var(--brand); font-size:22px; font-weight:900; line-height:1.45; }
.msi-article-content h3 { margin:1.7em 0 .6em; color:var(--text); font-size:17px; font-weight:850; }
.msi-article-content blockquote { margin:24px 0; padding:17px 20px; color:var(--text); border-inline-start:3px solid var(--brand); border-radius:0 12px 12px 0; background:var(--surface-2); }
.msi-article-content img { height:auto; border-radius:12px; }
.msi-article-content a { color:var(--brand); }
.msi-article-rail { display:grid; gap:12px; position:sticky; top:calc(var(--topbar-h,64px) + 80px); }
.msi-article-rail > section { display:grid; gap:9px; padding:16px; border:1px solid var(--hairline); border-radius:13px; background:var(--surface); }
.msi-article-rail__eyebrow { color:var(--text-3); font:800 8px var(--mono); letter-spacing:.1em; }
.msi-article-rail > section > b { color:var(--text); font:900 15px var(--mono); }
.msi-article-rail p { margin:0; color:var(--text-2); font-size:10px; line-height:1.8; }
.msi-article-rail > section > div { display:flex; align-items:baseline; gap:7px; padding-top:8px; border-top:1px solid var(--hairline); }
.msi-article-rail > section > div span { color:var(--text); font:900 20px var(--mono); }
.msi-article-rail > section > div small { color:var(--text-3); font-size:9px; }
.msi-article-related a { color:var(--brand); text-decoration:none; }
.msi-article-single + .post-engagement-bar,.msi-community-single-page .post-engagement-bar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:16px; padding:15px 18px; border:1px solid var(--hairline); border-radius:13px; background:var(--surface); }
.msi-community-single-page .comments { margin-top:18px; padding:clamp(18px,3vw,28px); border:1px solid var(--hairline); border-radius:16px; background:var(--surface); }

/* Member directory — card-based professional roster, not horizontal rows */
.msi-members-directory-page .memberlist { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:18px; }
.msi-member-directory-card { display:flex; flex-direction:column; gap:14px; min-width:0; min-height:205px; padding:17px; border:1px solid var(--hairline); border-radius:16px; background:linear-gradient(145deg,var(--surface),var(--surface-2)); box-shadow:var(--sh-1); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.msi-member-directory-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--brand) 38%,var(--hairline)); box-shadow:var(--sh-2); }
.msi-member-directory-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.msi-member-directory-card__identity { display:flex; align-items:center; gap:12px; min-width:0; color:var(--text); text-decoration:none; }
.msi-member-directory-card__avatar { flex:none; border:2px solid var(--surface-3); box-shadow:0 0 0 1px var(--hairline); }
.msi-member-directory-card__name { display:grid; gap:5px; min-width:0; }
.msi-member-directory-card__name b { color:var(--text); font-size:13px; font-weight:900; line-height:1.5; }
.msi-member-directory-card__name small { color:var(--text-3); font-size:9px; }
.msi-member-verification-mark { display:grid; place-items:center; width:30px; height:30px; flex:none; color:var(--text-3); border:1px solid var(--hairline); border-radius:9px; background:var(--surface-2); }
.msi-member-verification-mark.is-verified { color:var(--ok); border-color:color-mix(in srgb,var(--ok) 35%,var(--hairline)); }
.msi-member-directory-card__profession { display:grid; gap:4px; min-height:45px; }
.msi-member-directory-card__profession span { color:var(--text-3); font-size:9px; }
.msi-member-directory-card__profession b { color:var(--text-2); font-size:11px; line-height:1.6; }
.msi-member-directory-card__badges { display:flex; flex-wrap:wrap; gap:6px; min-height:25px; }
.msi-member-directory-card__footer { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto; padding-top:12px; border-top:1px solid var(--hairline); }
.msi-member-followers { display:flex; align-items:baseline; gap:5px; }
.msi-member-followers b { color:var(--text); font:850 12px var(--mono); }
.msi-member-followers small { color:var(--text-3); font-size:9px; }

/* Member profile — identity header and activity areas */
.msi-member-profile-page .member-cover { min-height:205px; max-height:300px; margin-bottom:-38px !important; border-radius:18px 18px 0 0 !important; background-image:linear-gradient(0deg,color-mix(in srgb,var(--bg) 38%,transparent),transparent 70%),var(--member-cover-image); background-position:center; background-size:cover; }
.msi-member-profile-page .ent-head { display:grid; grid-template-columns:92px minmax(0,1fr) auto; gap:16px; align-items:end; padding:18px 22px; border:1px solid var(--hairline); }
.msi-member-profile-page .ent-head-main { min-width:0; }
.msi-member-profile-page .ent-actions { display:flex; flex-wrap:wrap; gap:8px; }
.msi-member-profile-page .ent-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,320px); align-items:start; }
.msi-member-profile-page .ent-main { display:grid; gap:16px; min-width:0; }
.msi-member-profile-page .ent-side { display:grid; gap:14px; min-width:0; }
.msi-member-profile-page .statstrip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:hidden; border:1px solid var(--hairline); border-radius:14px; background:var(--surface); }
.msi-member-profile-page .statstrip .stat { padding:15px; border-inline-start:1px solid var(--hairline); }
.msi-member-profile-page .statstrip .stat-v { color:var(--text); font-size:20px; font-weight:900; }
.msi-member-profile-page .oblock { padding:17px; }

/* Keep old entity types token-based too; no screenshot-specific fixed palette. */
.msi-entity-hero--equipment,.msi-entity-hero--exhibition,.msi-entity-hero--corporate,.msi-entity-hero--institutional,.msi-entity-hero--event,.msi-entity-hero--timeline,.msi-entity-hero--venue,.msi-entity-hero--pavilion,.msi-entity-hero--exhibitor,.msi-historical-record__dateline { color:var(--text); border-color:var(--hairline); background:linear-gradient(130deg,var(--surface),var(--surface-2)); }
.msi-entity-hero--equipment h1,.msi-entity-hero--exhibition h1,.msi-entity-hero--corporate h1,.msi-entity-hero--institutional h1,.msi-entity-hero--event h1,.msi-entity-hero--timeline h1,.msi-entity-hero--venue h1,.msi-entity-hero--pavilion h1,.msi-entity-hero--exhibitor h1,.msi-historical-record__dateline b { color:var(--text); }
.msi-entity-hero--equipment .msi-entity-kicker,.msi-entity-hero--exhibition .msi-entity-kicker,.msi-entity-hero--corporate .msi-entity-kicker,.msi-entity-hero--institutional .msi-entity-kicker,.msi-historical-record__dateline > span { color:var(--brand); }
.msi-exhibitor-hero-logo { background:var(--surface); }

@media (max-width:1120px) {
  .msi-members-directory-page .memberlist { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .msi-equipment-workspace,.msi-company-workspace,.msi-organization-workspace,.msi-exhibition-workspace { grid-template-columns:minmax(0,1fr) 285px; }
  .msi-article-hero { grid-template-columns:minmax(0,1fr) minmax(290px,.75fr); }
}
@media (max-width:900px) {
  .msi-exhibitor-participation,.msi-venue-location-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .msi-exhibitor-participation > div:nth-child(2n),.msi-venue-location-strip > div:nth-child(2n) { border-inline-start:0; }
  .msi-exhibitor-participation > div,.msi-venue-location-strip > div { border-bottom:1px solid var(--hairline); }

  .msi-equipment-workspace,.msi-company-workspace,.msi-organization-workspace,.msi-exhibition-workspace,.msi-report-publication__grid,.msi-event-profile__grid,.msi-person-profile,.msi-article-reading-layout { grid-template-columns:minmax(0,1fr); }
  .msi-equipment-rail,.msi-article-rail { position:static; }
  .msi-organization-hero { grid-template-columns:100px minmax(0,1fr); }
  .msi-organization-authority { grid-column:1/-1; width:100%; }
  .msi-report-publication__header { grid-template-columns:145px minmax(0,1fr); }
  .msi-report-publication__cover { width:140px; height:190px; }
  .msi-report-publication__serial { grid-column:1/-1; }
  .msi-article-hero { grid-template-columns:minmax(0,1fr); }
  .msi-article-hero__visual,.msi-article-hero__visual img { min-height:240px; max-height:420px; }
}
@media (max-width:680px) {
  .msi-exhibitor-participation,.msi-venue-location-strip { grid-template-columns:minmax(0,1fr); }
  .msi-exhibitor-participation > div,.msi-venue-location-strip > div { border-inline-start:0; }
  .msi-exhibition-stats > div { min-width:50%; }
  .msi-person-hero { grid-template-columns:74px minmax(0,1fr); gap:12px; padding:18px; }
  .msi-person-portrait { width:70px; height:70px; }
  .msi-person-verification { grid-column:1/-1; }

  .msi-entity-experience { width:calc(100% - 28px); padding-block:14px 42px; }
  .msi-equipment-cover,.msi-company-cover,.msi-exhibition-cover { flex-direction:column; align-items:stretch; gap:16px; min-height:unset; padding:20px 16px; }
  .msi-equipment-cover__scrim,.msi-company-cover__scrim,.msi-exhibition-cover__scrim { background:linear-gradient(0deg,color-mix(in srgb,var(--surface) 97%,transparent),color-mix(in srgb,var(--surface) 83%,transparent)); }
  .msi-equipment-cover__content,.msi-company-cover__identity,.msi-exhibition-cover__content { width:100%; }
  .msi-equipment-serial { align-self:flex-start; margin:0; }
  .msi-equipment-identity-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .msi-equipment-identity-strip > div { min-height:64px; border-bottom:1px solid var(--hairline); }
  .msi-equipment-identity-strip > div:nth-child(2n) { border-inline-start:0; }
  .msi-equipment-identity-strip > div:last-child { grid-column:1/-1; border-bottom:0; }
  .msi-equipment-profile .msi-spec-group dl { grid-template-columns:minmax(0,1fr); }
  .msi-company-cover__identity { grid-template-columns:76px minmax(0,1fr); gap:12px; }
  .msi-company-logo { width:76px; height:76px; padding:8px; }
  .msi-company-cover__actions { flex-direction:row; flex-wrap:wrap; }
  .msi-company-snapshot { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .msi-company-snapshot > div:nth-child(2n) { border-inline-start:0; }
  .msi-company-snapshot > div { border-bottom:1px solid var(--hairline); }
  .msi-company-capability-grid,.msi-organization-charter__grid,.msi-exhibition-logistics__grid { grid-template-columns:minmax(0,1fr); }
  .msi-organization-hero { grid-template-columns:74px minmax(0,1fr); gap:13px; padding:18px 14px; }
  .msi-organization-emblem { width:72px; height:72px; padding:8px; border-radius:14px; }
  .msi-organization-authority { grid-column:1/-1; width:100%; }
  .msi-exhibition-date-card { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .msi-exhibition-date-card > span,.msi-exhibition-date-card em { grid-column:1/-1; }
  .msi-exhibition-stats > div { min-width:50%; border-bottom:1px solid var(--hairline); }
  .msi-exhibition-stats > div:nth-child(2n) { border-inline-start:0; }
  .msi-exhibition-stats .msi-exhibition-trust { flex-basis:100%; }
  .msi-report-publication__header { grid-template-columns:95px minmax(0,1fr); gap:13px; padding:17px; }
  .msi-report-publication__cover { width:92px; height:130px; }
  .msi-report-publication__identity h2 { font-size:22px; }
  .msi-report-publication__serial { grid-column:1/-1; }
  .msi-event-agenda-hero { grid-template-columns:70px minmax(0,1fr); gap:12px; padding:17px; }
  .msi-event-agenda__grid { grid-template-columns:minmax(0,1fr); }
  .msi-single-related-grid { grid-template-columns:minmax(0,1fr); }
  .msi-single-related-grid,.msi-edition-company-grid,.msi-floorplan-grid { grid-template-columns:minmax(0,1fr); }
  .msi-edition-sessions li { grid-template-columns:minmax(0,1fr); gap:7px; }
  .msi-community-single-page { width:calc(100% - 24px); }
  .msi-article-hero { padding:17px; gap:18px; }
  .msi-article-hero h1 { font-size:27px; }
  .msi-article-deck { font-size:13px; }
  .msi-article-reader { padding:20px 16px; }
  .msi-article-content { font-size:14px; }
  .msi-members-directory-page .memberlist { grid-template-columns:minmax(0,1fr); }
  .msi-member-profile-page .ent-head { grid-template-columns:70px minmax(0,1fr); padding:15px; align-items:center; }
  .msi-member-profile-page .profile-ava-ring { width:66px; height:66px; }
  .msi-member-profile-page .ent-actions { grid-column:1/-1; }
  .msi-member-profile-page .statstrip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .msi-member-profile-page .statstrip .stat:nth-child(2n) { border-inline-start:0; }
}
@media (prefers-reduced-motion:reduce) {
  .msi-member-directory-card { transition:none; }
  .msi-member-directory-card:hover { transform:none; }
}
