:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #162242;
  background: #f4f7fc;
  font-synthesis: none;
  --ink: #162242;
  --muted: #52617e;
  --muted-strong: #435472;
  --line: #dce4f1;
  --white: #fff;
  --accent: #4b37a9;
  --accent-quiet: #eeeafe;
  --focus: #7356df;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .75rem 1rem; background: white; border-radius: .5rem; }
.skip-link:focus { transform: none; }

.shell { display: grid; grid-template-columns: 13.75rem minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: #fbfcff; border-right: 1px solid var(--line); padding: 1.85rem 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; width: fit-content; margin: 0 0 2.35rem .5rem; color: #12244c; font-size: 1.85rem; font-weight: 850; line-height: 1; letter-spacing: -.077em; text-decoration: none; }
.brand-dot { color: #6550c4; }
.brand-mark { position: relative; width: 1.65rem; height: 1.67rem; display: block; }
.brand-mark i { position: absolute; display: block; width: .4rem; height: 1.3rem; background: #6550c4; border-radius: .24rem; top: .12rem; }
.brand-mark i:nth-child(1) { left: .29rem; transform: rotate(29deg); }
.brand-mark i:nth-child(2) { left: .85rem; transform: rotate(-29deg); }
.brand-mark i:nth-child(3) { top: .93rem; left: .52rem; width: .57rem; height: .3rem; }
.workspace { display: flex; align-items: center; gap: .65rem; padding: .65rem .55rem; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: .7rem; background: white; }
.workspace-mark { flex: 0 0 2rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: .43rem; background: #e9effb; color: #244476; font-size: .875rem; font-weight: 750; }
.workspace strong, .workspace small { display: block; }
.workspace strong { font-size: .87rem; font-weight: 720; }
.workspace small { margin-top: .16rem; font-size: .79rem; color: var(--muted); }
.nav-label { margin: 0 0 .6rem .55rem; color: var(--muted-strong); font-size: .8rem; font-weight: 740; text-transform: uppercase; letter-spacing: .09em; }
.nav-current, .nav-link { display: flex; min-height: 2.55rem; align-items: center; gap: .6rem; padding: .45rem .65rem; text-decoration: none; font-size: .91rem; font-weight: 620; }
.nav-current { background: var(--accent-quiet); color: #40308d; border-radius: .55rem; font-weight: 745; }
.nav-icon { position: relative; display: block; inline-size: .83rem; block-size: .98rem; border: 1.5px solid currentColor; border-radius: .18rem; }
.nav-icon::after { content: ''; position: absolute; inset: .29rem .14rem auto; height: .2rem; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.nav-link { padding-inline-start: 2.1rem; color: var(--muted-strong); }
.nav-link:hover { color: var(--accent); text-decoration: underline; }

.topbar { background: #fbfcff; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; max-width: 83rem; margin-inline: auto; padding: .55rem clamp(1rem, 3vw, 2.5rem); }
.breadcrumb { display: flex; align-items: center; gap: .62rem; color: var(--muted); font-size: .92rem; }
.breadcrumb strong { color: var(--ink); font-weight: 720; }
.preview-badge { display: inline-flex; align-items: center; padding: .38rem .65rem; border: 1px solid #dbe3f1; border-radius: 2rem; color: #3d4f72; background: #f0f4fb; font-size: .82rem; font-weight: 660; }
main { max-width: 83rem; margin-inline: auto; padding: 1.65rem clamp(1rem, 3vw, 2.5rem) 0; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 1rem; }
.hero { position: relative; isolation: isolate; min-height: 16rem; display: flex; align-items: center; overflow: hidden; padding: 2.1rem clamp(1.35rem, 4vw, 2.85rem); border-radius: 1rem; color: #f8fbff; background: radial-gradient(ellipse at 80% 70%, #273780, transparent 64%), linear-gradient(112deg, #142549 20%, #152855 70%, #1c3270); }
.hero-content { position: relative; z-index: 1; width: min(68%, 35rem); }
.hero h1 { font-size: clamp(2.45rem, 4.9vw, 4.4rem); font-weight: 820; line-height: .99; letter-spacing: -.065em; margin: 0 0 .74rem; }
.hero p { max-width: 29rem; margin: 0 0 1.15rem; font-size: 1.04rem; line-height: 1.52; color: #d9e5fb; }
.hero-action { display: inline-flex; align-items: center; min-height: 2.7rem; padding: .52rem .92rem; border-radius: .47rem; color: #24316b; background: #f0edff; font-size: .93rem; font-weight: 740; text-decoration: none; }
.hero-action:hover { background: white; }
.hero-action:focus-visible { outline-color: #dacdff; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: 40%; min-width: 24rem; overflow: hidden; background: radial-gradient(circle, #c6d8ff3b .75px, transparent .9px) 0 0 / 15px 15px; mask-image: linear-gradient(to right, transparent 1%, black 25%); }
.orbit { position: absolute; width: var(--size); aspect-ratio: 1; top: 50%; left: 57%; transform: translate(-50%, -50%); border: 1px solid #9fb3fc59; border-radius: 50%; }
.orbit-outer { --size: 19.2rem; }
.orbit-inner { --size: 14rem; }
.orbit-core { --size: 8.1rem; border-color: #b3c8ff82; }
.orbit-axis { position: absolute; top: 50%; left: 57%; transform: translate(-50%, -50%); background: #a9bbff4d; }
.orbit-axis-x { height: 1px; width: 19.3rem; }
.orbit-axis-y { height: 19.3rem; width: 1px; }
.orbit-hub { position: absolute; top: 50%; left: 57%; transform: translate(-50%, -50%); width: 3.9rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #c4d1ffb3; border-radius: 1.06rem; background: linear-gradient(140deg, #5067be, #3b4497); box-shadow: 0 0 2.25rem #6276f08c; }
.hub-line { position: absolute; width: 1.75rem; height: 1px; background: #dce7ff; }
.hub-line:nth-child(2) { transform: rotate(60deg); }
.hub-line:nth-child(3) { transform: rotate(-60deg); }
.orbit-tag { position: absolute; display: flex; align-items: center; gap: .45rem; padding: .4rem .54rem; border: 1px solid #9bb5ff7a; border-radius: .44rem; background: #2a3f78; font-size: .81rem; font-weight: 725; color: #edf3ff; box-shadow: 0 .24rem 1rem #101d4755; white-space: nowrap; }
.orbit-dot { width: .4rem; height: .4rem; background: #b1c6ff; border-radius: 50%; }
.tag-fda { top: 19%; left: 34%; }
.tag-hc { top: 41%; right: 1.15rem; }
.tag-mhra { top: 70%; left: 48%; }
.orb-star { position: absolute; width: .35rem; aspect-ratio: 1; border-radius: 50%; background: #a5baff; box-shadow: 0 0 .52rem #bfcbff; }
.star-one { top: 26%; left: 71%; }
.star-two { top: 64%; left: 32%; }
.star-three { top: 76%; left: 75%; }

.sources, .notice-section { margin-top: 1.75rem; }
.section-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: end; margin: 0 0 .9rem; }
.section-heading h2 { margin: 0 0 .28rem; font-size: 1.48rem; line-height: 1.2; letter-spacing: -.035em; font-weight: 790; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.45; font-size: .96rem; }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.source-card { min-width: 0; display: flex; flex-direction: column; padding: 1rem 1rem .89rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--white); box-shadow: 0 .12rem .4rem #17223d08; }
.source-top { display: flex; align-items: center; gap: .65rem; }
.country-code { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; flex: 0 0 2.55rem; border-radius: .57rem; font-size: .88rem; font-weight: 780; letter-spacing: .03em; }
.source-us .country-code { background: #e8eefc; color: #2f4e9a; }
.source-ca .country-code { background: #faeceb; color: #943c39; }
.source-uk .country-code { background: #eeeafe; color: #523d9c; }
.jurisdiction { margin: 0 0 .1rem; color: var(--muted); font-size: .84rem; font-weight: 620; }
.source-top h3 { margin: 0; font-size: 1.16rem; letter-spacing: -.022em; line-height: 1.2; }
.source-summary { margin: .65rem 0 .75rem; padding: 0; color: var(--muted); line-height: 1.4; font-size: .89rem; }
.source-links { margin: auto 0 0; padding: .44rem 0 0; border-top: 1px solid #e6ebf5; list-style: none; }
.source-links a { display: flex; align-items: baseline; gap: .42rem; padding: .37rem 0; font-weight: 655; font-size: .89rem; line-height: 1.3; text-decoration: none; }
.source-links a::before { content: ''; display: inline-block; flex: 0 0 .29rem; height: .29rem; border-radius: .1rem; background: #8270c6; transform: translateY(-.14rem); }
.source-links a:hover, .coordination a:hover { text-decoration: underline; }
.coordination { margin: .8rem 0 0; font-size: .89rem; line-height: 1.45; color: var(--muted); }
.coordination a { font-weight: 680; }

.notice-panel { border: 1px solid var(--line); border-radius: .8rem; background: white; box-shadow: 0 .12rem .4rem #17223d08; }
.controls { display: flex; align-items: end; justify-content: space-between; gap: .8rem; padding: .9rem 1rem .5rem; }
.filter-group { margin: 0; border: 0; min-width: 0; padding: 0; }
.country-filters { display: flex; flex-wrap: wrap; gap: .32rem; }
.country-filters button, .empty-state button { padding: .42rem .65rem; min-height: 2.4rem; border-radius: .46rem; border: 1px solid var(--line); background: white; color: var(--muted-strong); font-size: .87rem; font-weight: 680; }
.country-filters button:hover, .empty-state button:hover { background: #f3f0ff; }
.country-filters button[aria-pressed='true'] { color: #3e2d87; background: #eeeafe; border-color: #dcd4f6; }
.type-filter { display: grid; gap: .18rem; min-width: 9.75rem; }
.type-filter label { font-size: .82rem; color: var(--muted-strong); font-weight: 690; }
.type-filter select { min-height: 2.4rem; padding: .36rem .5rem; border: 1px solid var(--line); border-radius: .46rem; background: white; font-size: .87rem; }
.result-count { color: var(--muted); margin: 0; padding: .36rem 1rem .7rem; font-size: .87rem; }
.notice { border-top: 1px solid #e6ebf5; }
.notice:first-child { border-top: 0; }
.controls:not([hidden]) ~ #notice-list .notice:first-child { border-top: 1px solid #e6ebf5; }
.notice summary { display: grid; grid-template-columns: 4.1rem minmax(10rem, 1fr) minmax(5.5rem, 8rem) minmax(6.7rem, 8.9rem) 4.5rem; align-items: center; gap: .64rem; padding: .77rem 1rem; cursor: pointer; list-style: none; }
.notice summary::-webkit-details-marker { display: none; }
.notice summary:hover { background: #faf9ff; }
.notice summary:focus-visible { outline-offset: -4px; }
.notice-date, .notice-title { display: grid; gap: .18rem; }
.notice-date time, .notice-title strong { font-weight: 745; font-size: .91rem; }
.notice-date span, .notice-title span { color: var(--muted); line-height: 1.36; font-size: .85rem; }
.notice-market { font-size: .87rem; font-weight: 650; }
.notice-type { width: fit-content; padding: .28rem .52rem; border-radius: 2rem; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.type-recall { background: #fbeae9; color: #963932; }
.type-alert { background: #fff2db; color: #794c10; }
.type-field { background: #eeeafe; color: #4a388d; }
.type-incident { background: #e6effb; color: #315088; }
.detail-label { display: flex; justify-content: flex-end; align-items: center; gap: .43rem; color: var(--accent); font-size: .85rem; font-weight: 660; }
.chevron { display: block; width: .42rem; height: .42rem; rotate: 45deg; margin-top: -.19rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.notice[open] .chevron { rotate: 225deg; margin-top: .19rem; }
.notice-detail { margin: 0; padding: .05rem 1rem .95rem 5.75rem; color: var(--muted); font-size: .94rem; line-height: 1.49; }
.notice-detail p { margin: .24rem 0 .35rem; }
.notice-detail a { font-weight: 680; }
.empty-state { padding: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.empty-state p { margin: 0 0 .62rem; }
footer { padding: 1.4rem 0 1.6rem; color: var(--muted); font-size: .89rem; line-height: 1.5; }

@media (max-width: 65rem) {
  .shell { grid-template-columns: 11.5rem minmax(0, 1fr); }
  .sidebar { padding-inline: .72rem; }
  .hero-art { width: 43%; min-width: 19rem; }
  .source-card { padding-inline: .75rem; }
  .notice summary { grid-template-columns: 3.45rem minmax(9rem, 1fr) minmax(4rem, 6rem) minmax(4.5rem, 7.6rem) 4rem; gap: .48rem; }
  .notice-detail { padding-inline-start: 4.95rem; }
}
@media (max-width: 53rem) {
  .shell { display: block; }
  .sidebar { display: none; }
  .topbar-inner { min-height: 3.5rem; }
  main { padding-top: 1.05rem; }
  .hero { min-height: 14rem; }
}
@media (max-width: 40rem) {
  .hero { padding: 1.35rem 1.05rem; min-height: auto; }
  .hero-content { width: 100%; }
  .hero-art { display: none; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.3rem); }
  .hero p { font-size: .99rem; }
  .sources, .notice-section { margin-top: 1.4rem; }
  .source-grid { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .source-card { padding: .85rem; }
  .source-summary { margin-block: .58rem; }
  .source-links a { padding-block: .42rem; }
  .controls { display: grid; grid-template-columns: minmax(0, 1fr); padding: .7rem .7rem .45rem; }
  .type-filter { width: min(100%, 12rem); }
  .result-count { padding-inline: .7rem; }
  .notice summary { grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: .45rem; padding: .72rem .7rem; }
  .notice-date { grid-area: 1 / 1 / span 2; align-self: start; }
  .notice-title { grid-area: 1 / 2 / 2 / span 2; }
  .notice-market { grid-area: 2 / 2; }
  .notice-type { grid-area: 2 / 3; }
  .detail-label { grid-area: 3 / 2 / 4 / span 2; justify-self: start; }
  .notice-detail { padding-inline: 4.4rem .7rem; }
}
@media (forced-colors: active) {
  .brand-mark i, .source-links a::before { forced-color-adjust: none; }
  .nav-current, .country-filters button[aria-pressed='true'] { border: 1px solid Highlight; }
}
