:root {
  --header-height: 74px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #080a0e;
  background: #f5f6fa;
  font-synthesis: none;
  --blue: #2b48ff;
  --orange: #ff5900;
  --ink: #080a0e;
  --secondary: #434b5d;
  --muted: #667085;
  --line: #dce0ea;
  --paper: #fff;
  --canvas: #f5f6fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -70px; left: 16px; z-index: 50; padding: 12px 16px; background: #fff; }
.skip-link:focus { top: 12px; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site main { flex: 1; }
.site-header { display: flex; align-items: center; gap: 16px; height: var(--header-height); padding: 8px clamp(18px, 4vw, 56px); background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.mon-identity { flex: 0 0 auto; display: inline-flex; min-height: 44px; align-items: center; padding: 3px 0; }
.mon-logo { display: block; width: 152px; height: auto; object-fit: contain; }
.identity-rule { width: 1px; align-self: stretch; min-height: 28px; margin: 10px 2px; background: var(--line); }
.wordmark { flex: 1; display: inline-flex; align-items: center; min-width: 0; gap: 13px; font-size: clamp(16px, 2vw, 19px); font-weight: 780; letter-spacing: -.03em; text-decoration: none; }
.wordmark-text { display: block; overflow: hidden; text-overflow: ellipsis; }
.header-actions { margin-left: auto; display: flex; gap: 14px; align-items: center; flex: 0 0 auto; }
.institution { color: var(--muted); font-size: 12px; white-space: nowrap; }
.language-switch { display: flex; border: 1px solid var(--line); background: var(--paper); padding: 3px; gap: 2px; }
.language-switch button { border: 0; background: transparent; color: var(--secondary); font-size: 11px; font-weight: 800; padding: 9px 11px; letter-spacing: .04em; min-width: 45px; }
.language-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: #fff; margin: 0; border-top: 4px solid var(--orange); }
.hero-inner { max-width: 1140px; margin: 0 auto; padding: clamp(48px, 6vw, 82px) 24px clamp(52px, 6vw, 86px); position: relative; z-index: 1; }
.hero-eyebrow, .section-kicker { display: block; font-size: 11px; text-transform: uppercase; font-weight: 760; letter-spacing: .12em; }
.hero-eyebrow { color: rgba(255,255,255,.82); }
.hero h1 { margin: 13px 0 15px; max-width: 850px; font-size: clamp(40px, 6.8vw, 80px); line-height: 1.02; letter-spacing: -.055em; }
.hero p { max-width: 660px; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; color: rgba(255,255,255,.88); margin: 0; }
.hero-art { position: absolute; right: -160px; top: -130px; width: 430px; height: 430px; opacity: .12; pointer-events: none; z-index: 0; }
.catalog-section { max-width: 1140px; margin: 0 auto; padding: 58px 24px 90px; scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.section-kicker { color: var(--blue); margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading-tools { display: flex; align-items: end; gap: 18px; }
.sort-field { width: 230px; }
.catalog-count { margin: 0 0 11px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.catalog-controls { margin: 20px 0 26px; display: grid; grid-template-columns: minmax(220px, 2fr) minmax(145px, 1fr) minmax(185px, 1fr) auto; align-items: end; gap: 12px; }
.filter-field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.filter-field label { font-size: 12px; font-weight: 700; color: var(--secondary); }
.filter-field input, .filter-field select { height: 46px; width: 100%; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid #bfc6d8; border-radius: 0; font-size: 14px; min-width: 0; }
.filter-field input::placeholder { color: #727989; }
.section-heading-tools .sort-field select { height: 40px; font-size: 13px; }
.clear-filters { height: 46px; padding: 0 12px; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; }
.clear-filters:hover { border-color: var(--blue); }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.card { min-width: 0; display: flex; flex-direction: column; min-height: 266px; background: #fff; padding: 23px; border: 1px solid var(--line); text-decoration: none; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card::before { content: ""; position: absolute; left: 23px; top: 0; width: 46px; height: 3px; background: var(--blue); }
.card:hover { border-color: #9aa9ff; box-shadow: 0 10px 30px rgba(43,72,255,.07); transform: translateY(-2px); }
.card-controlled .card-category { padding-right: 34px; }
.card-access-lock {
  position: absolute; top: 17px; right: 18px; z-index: 1;
  width: 24px; height: 24px;
  background: url("./lock-outline.svg") center / 20px 20px no-repeat;
}
.card-category { display: block; color: var(--blue); font-weight: 820; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin: 7px 0 16px; }
.card-title { font-weight: 780; font-size: 21px; line-height: 1.18; letter-spacing: -.025em; margin-bottom: 10px; }
.card-summary { display: block; color: var(--secondary); font-size: 13px; line-height: 1.48; margin-bottom: 18px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card-tag { display: inline-block; padding: 4px 7px; background: #eef0fb; color: #2839a8; font-size: 10px; font-weight: 650; line-height: 1.3; }
.card-footer { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 13px; font-size: 11px; color: var(--muted); }
.card-owner { max-width: 78%; line-height: 1.3; }
.card-arrow { color: var(--blue); font-size: 21px; line-height: 1; }
.empty-state, .load-error { padding: 18px; background: #fff; border: 1px solid var(--line); color: var(--secondary); }
body.viewer-active { overflow: hidden; }
body.viewer-active .site { height: 100dvh; min-height: 0; }
body.viewer-active .site main { min-height: 0; }
body.viewer-active .wordmark, body.viewer-active .institution { display: none; }
.viewer-back, .external-link { display: inline-flex; align-items: center; color: var(--blue); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; min-height: 36px; flex: 0 0 auto; }
.viewer-back:hover, .external-link:hover { text-decoration: underline; }
.viewer-product-title { display: block; flex: 1 1 0; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 760; text-align: left; }
.viewer { height: calc(100dvh - var(--header-height)); min-height: 0; display: flex; flex-direction: column; }
.frame-container { flex: 1 1 0; min-height: 0; width: 100%; background: #eef1f8; }
.frame-container iframe { width: 100%; height: 100%; display: block; border: 0; background: #fff; }
.viewer-missing { margin: auto; max-width: 500px; padding: 30px; text-align: center; }
.viewer-missing a { color: var(--blue); }
.footer { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 25px clamp(18px,4vw,56px); border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 11px; line-height: 1.5; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--secondary); white-space: nowrap; text-decoration: none; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
body.viewer-active .footer { display: none; }
.no-script { padding: 14px; }
@media (max-width: 900px) { .mon-logo { width: 124px; } .cards { grid-template-columns: repeat(2,minmax(0,1fr)); } .catalog-controls { grid-template-columns: minmax(200px, 2fr) 1fr 1fr; } .clear-filters { grid-column: 1 / -1; justify-self: start; } .institution { display: none; } }
@media (max-width: 590px) {
  :root { --header-height: 66px; }
  .site-header { padding: 9px 12px; gap: 8px; }
  .wordmark { gap: 8px; font-size: 14px; }
  .mon-identity, .identity-rule { display: none; }
  .language-switch button { min-width: 33px; font-size: 10px; padding: 8px 5px; }
  .header-actions { gap: 5px; }
  .viewer-back { font-size: 11px; }
  .viewer-product-title { font-size: 12px; }
  .external-link { font-size: 0; width: 38px; justify-content: center; }
  .external-link::after { content: '↗'; font-size: 21px; }
  .catalog-controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .filter-search { grid-column: 1 / -1; }
  .clear-filters { grid-column: 1 / -1; }
  .hero-inner { padding: 48px 19px 52px; }
  .hero-art { width: 260px; height: 260px; top: -74px; right: -90px; }
  .catalog-section { padding: 36px 18px 64px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { min-height: 216px; padding: 20px; }
  .card::before { left: 20px; }
  .card-title { font-size: 20px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .section-heading-tools { width: 100%; justify-content: space-between; }
  .sort-field { width: min(230px, 65%); }
  .section-heading-tools .sort-field select { height: 44px; }
  .catalog-count { padding-top: 6px; }
  .viewer { height: calc(100dvh - var(--header-height)); min-height: 0; }
  .footer { flex-direction: column; padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

@media (max-width: 385px) {
  body.viewer-active .viewer-back span { display: none; }
  body.viewer-active .viewer-back { font-size: 20px; width: 26px; }
}
