:root {
  --navy: #09283f;
  --blue: #0877b5;
  --cyan: #55cde9;
  --ink: #1b3445;
  --muted: #637581;
  --line: #d7e2e8;
  --paper: #fff;
  --bg: #f3f7f9;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }

/* Shared site shell */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 84px;
  margin: 0;
  padding-right: max(20px, calc((100% - var(--content)) / 2));
  padding-left: max(20px, calc((100% - var(--content)) / 2));
  border-top: 4px solid #139bd2;
  border-bottom: 1px solid #377493;
  background: #06243d;
}
.logo { display: flex; align-items: center; color: inherit; text-decoration: none; }
.logo img { display: block; width: 212px; height: 44px; object-fit: contain; object-position: left center; }
.site-header .logo img { filter: none; }
.site-header nav { display: flex; align-items: center; gap: 28px; color: #e9f4f8; font-size: 14px; font-weight: 700; }
.site-header nav a { color: inherit; text-decoration: none; }
.site-header nav a:hover, .site-header nav a.active { color: #5bd0ee; }

.site-footer { width: 100%; margin-top: 55px; padding: 46px max(20px, calc((100% - var(--content)) / 2)) 24px; border-top: 4px solid #49c2df; background: #0b4865; color: #d0e1e8; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1.6fr) repeat(auto-fit, minmax(130px, 1fr)); gap: 48px; }
.footer-brand strong { display: block; color: #fff; font: 600 25px Georgia, serif; }
.footer-brand-copy { max-width: 360px; margin: 9px 0 17px; color: #d0e1e8; line-height: 1.7; }
.footer-brand-copy p { margin: 0 0 8px; }
.footer-brand small { color: #55d7ef; font-size: 8px; font-weight: 900; letter-spacing: 2px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column b { margin-bottom: 5px; color: #fff; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.site-footer a { color: #d0e1e8; text-decoration: none; }
.site-footer a:hover { color: #63d5ef; }
.footer-disclaimer { margin-top: 34px; padding: 18px 0; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; }
.footer-disclaimer b { color: #d9e9ef; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.footer-notice-copy { max-width: 900px; margin: 5px 0 0; color: #b7ced8; font-size: 11px; line-height: 1.6; }
.footer-notice-copy p { margin: 0 0 7px; }
.footer-custom-html { padding: 17px 0; border-bottom: 1px solid #ffffff20; color: #c6dbe4; }
.footer-bottom { padding-top: 19px; color: #9ebbc7; font-size: 10px; }

.search { display: flex; background: #fff; border: 1px solid #9eb4c1; }
.search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 16px 18px; font: inherit; }
.search button { border: 0; background: #0b85c4; color: #fff; padding: 0 28px; font-weight: 800; }
.breadcrumb { color: #76909e; font-size: 9px; font-weight: 900; letter-spacing: 1.4px; }

/* Homepage */
.hero-a {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 350px;
  padding: 50px max(60px, calc((100% - var(--content)) / 2 + 60px)) 48px;
  background: linear-gradient(90deg, rgba(3, 27, 51, .95), rgba(4, 38, 67, .78) 55%, rgba(5, 49, 78, .48)), url('/assets/science-header.webp') center 48% / cover;
}
.hero-a > div { width: 100%; }
.hero-a em, .title em, .resource-heading em {
  display: block;
  color: #60d1ee;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.hero-a h1 { max-width: none; margin: 8px 0 15px; color: #fff; font: 400 clamp(39px, 4.1vw, 54px)/1.08 Arial, Helvetica, sans-serif; letter-spacing: -1.4px; }
.hero-a > div > p { max-width: 900px; margin-bottom: 0; color: #d5e8ef; font-size: 16px; }
.hero-a .search { width: 100%; margin-top: 26px; border: 0; box-shadow: 0 18px 42px #00172c66; }
.hero-a .search input { padding: 22px 24px; font-size: 18px; }
.hero-a .search button { min-width: 145px; font-size: 15px; }
.quick-searches { display: flex; align-items: center; gap: 22px; margin-top: 14px; color: #fff; font-size: 12px; }
.quick-searches b { color: #91dff2; }
.quick-searches a { color: #fff; text-underline-offset: 3px; }
.quick-searches a:hover { color: #67d4ee; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; padding: 14px max(26px, calc((100% - var(--content)) / 2 + 26px)); background: #082f4d; color: #e9f3f8; font-size: 12px; font-weight: 700; letter-spacing: .6px; }
.trust-strip span { text-align: center; border-right: 1px solid #ffffff2b; }
.trust-strip span:last-child { border: 0; }

.module { width: min(var(--content), calc(100% - 40px)); margin: 30px auto 0; padding: 40px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px #183e560d; }
.title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.title em { margin-bottom: 9px; color: var(--blue); }
.title h2 { margin: 0; color: var(--navy); font: 600 32px Georgia, serif; }
.title p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.title > a { color: var(--blue); font-size: 13px; font-weight: 700; }
.journal-title { padding-bottom: 14px; border-bottom: 4px solid var(--navy); }
.topic-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-category-grid { grid-template-columns: repeat(5, 1fr); }
.resource-category-grid { grid-template-columns: repeat(4, 1fr); }
.category-grid a { position: relative; display: flex; align-items: flex-end; min-height: 72px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfdfe; color: var(--navy); font-size: 14px; font-weight: 700; }
.category-grid a span { position: absolute; top: 11px; left: 17px; color: #7d97a7; font-size: 10px; }
.category-grid a b { position: absolute; top: 24px; right: 15px; color: #7ca8be; }
.resource-heading { margin: 34px 0 14px; }
.resource-heading em { color: var(--blue); }
.resource-heading h3 { margin: 4px 0 0; color: var(--navy); font: 600 21px Georgia, serif; }
.about-query { display: grid; grid-template-columns: 300px 1fr; gap: 0; margin: 40px -40px 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.about-query > div:first-child { position: relative; overflow: hidden; padding: 38px 34px; background: linear-gradient(145deg, #062b47, #0b5974); }
.about-query > div:first-child::after { position: absolute; right: -32px; bottom: -55px; width: 150px; height: 150px; border: 1px solid #63d6ef38; border-radius: 50%; content: ""; }
.about-query > div:last-child { padding: 32px 40px; }
.about-query em, .method-heading em { color: var(--blue); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: 1.3px; }
.about-query > div:first-child em { color: #72d9ef; }
.about-query h2, .method-heading h2 { margin: 6px 0 0; color: var(--navy); font: 600 29px/1.2 Georgia, serif; }
.about-query > div:first-child h2 { color: #fff; font-size: 34px; }
.about-query > div:first-child a { position: relative; z-index: 1; display: inline-block; margin-top: 28px; color: #9ee6f4; font-size: 11px; font-weight: 800; text-decoration: none; }
.about-query > div:first-child a:hover { color: #fff; }
.about-query p { margin: 0 0 11px; color: #3f5b69; font-size: 13px; line-height: 1.75; }
.about-query p:last-child { margin-bottom: 0; }
.information-method { margin: 38px -40px -40px; padding: 35px 40px 40px; border-top: 4px solid var(--navy); background: #f1f6f8; }
.method-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 22px; }
.method-heading p { margin: 0; color: var(--muted); font-size: 13px; text-align: right; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method-grid article { min-height: 170px; padding: 23px; border: 1px solid #d5e2e8; border-top: 3px solid #1599cf; background: #fff; box-shadow: 0 8px 22px #123d5610; }
.method-grid span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #e4f4f8; color: var(--blue); font-size: 9px; font-weight: 900; }
.method-grid h3 { margin: 20px 0 7px; color: var(--navy); font: 600 18px Georgia, serif; }
.method-grid p { margin: 0; color: #536b77; font-size: 12px; line-height: 1.65; }
.issue { display: flex; justify-content: space-between; padding-bottom: 11px; border-bottom: 5px solid var(--navy); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; }
.module-issue { margin: -8px 0 27px; }

.paper-list { border-top: 2px solid var(--navy); }
.paper-list article { display: grid; grid-template-columns: 45px 1fr 20px; gap: 16px; padding: 22px 10px; border-bottom: 1px solid var(--line); transition: .15s; }
.paper-list article:hover { background: #f5fafc; padding-left: 16px; }
.paper-index { color: #93a6b1; font: 16px Georgia, serif; }
.paper-list small { color: #6c8390; font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.paper-list h3 { margin: 3px 0 5px; color: #075b8c; font-size: 18px; line-height: 1.3; }
.paper-list h3 a { color: inherit; text-decoration: none; }
.paper-list h3 a:hover { color: var(--blue); text-decoration: underline; }
.paper-list p { margin-bottom: 7px; color: #516673; font-size: 14px; }
.paper-list time { color: #768995; font-size: 11px; }
.paper-list article > b { color: #75a0b7; }

.question-band { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; padding: 45px; }
.hybrid-questions { width: min(var(--content), calc(100% - 40px)); margin: 30px auto 0; border-left: 5px solid var(--blue); background: linear-gradient(105deg, #e1f1f7, #f5f9fa); }
.question-band small { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.question-band h2 { font: 500 35px Georgia, serif; }
.question-band > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
.question-band a { display: flex; justify-content: space-between; padding: 13px 5px; border-bottom: 1px solid #bdcdd5; font-size: 13px; font-weight: 700; }

/* List page */
.research-list-page .list-hero { width: 100%; padding: 32px max(20px, calc((100% - var(--content)) / 2)) 34px; border-bottom: 4px solid #1599cf; background: linear-gradient(105deg, #072943, #0b5271); }
.list-hero .breadcrumb { margin-bottom: 16px; color: #a5ccdc; }
.list-hero__grid { display: grid; grid-template-columns: 1fr 520px; gap: 60px; align-items: end; }
.list-hero em { color: #62d3ee; font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: 1.4px; }
.list-hero h1 { margin: 5px 0 8px; color: #fff; font: 600 44px Georgia, serif; }
.list-hero p { max-width: 610px; margin: 0; color: #d4e7ee; font-size: 14px; }
.list-hero .search { border: 0; box-shadow: 0 16px 38px #00182e66; }
.list-layout { display: grid; grid-template-columns: 255px 1fr; gap: 24px; align-items: start; width: min(var(--content), calc(100% - 40px)); margin: 30px auto 0; }
.filter-panel, .results-panel { border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 30px #183e560c; }
.filter-panel { padding-bottom: 12px; }
.filter-title { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 3px solid var(--navy); font-size: 10px; letter-spacing: 1px; }
.filter-title button { border: 0; background: none; color: var(--blue); font-size: 10px; font-weight: 800; }
.filter-panel label { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; padding: 12px 15px; border-bottom: 1px solid #e4ecef; color: #425c6b; font-size: 12px; cursor: pointer; }
.filter-panel label.selected { border-left: 3px solid var(--blue); background: #eef7fa; color: var(--navy); font-weight: 800; }
.filter-panel input { accent-color: var(--blue); }
.filter-panel label span { color: #8296a2; font-size: 10px; }
.filter-panel .topic-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e4ecef; color: #425c6b; font-size: 12px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.filter-panel .topic-filter span { flex: 0 0 auto; color: #8296a2; font-size: 10px; font-weight: 800; }
.filter-panel .topic-filter:hover { padding-left: 19px; background: #f3f8fa; color: var(--blue); }
.filter-panel .topic-filter.selected { border-left: 3px solid var(--blue); background: #eaf5f8; color: var(--navy); }
.filter-panel .topic-filter.selected span { padding: 3px 7px; border-radius: 10px; background: #d4eaf2; color: #27617d; }
.results-panel { padding: 0 30px 30px; }
.results-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 15px; border-bottom: 4px solid var(--navy); }
.results-head > div { display: flex; flex-direction: column; }
.results-head b,
.results-head h2 { margin: 0; font-family: inherit; font-size: 11px; letter-spacing: 1.1px; }
.results-head span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.results-head select { padding: 8px 28px 8px 10px; border: 1px solid var(--line); background: #fff; color: #435c6a; font-size: 11px; }
.list-results { border: 0; }
.list-results article { grid-template-columns: 38px 1fr 18px; padding: 22px 4px; }
.list-results h3 { font-family: Georgia, serif; font-size: 19px; }
.page-numbers { display: flex; align-items: center; gap: 7px; margin-top: 25px; }
.page-numbers a { display: grid; min-width: 37px; height: 37px; padding: 0 10px; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 11px; font-weight: 700; }
.page-numbers a.current { border-color: var(--blue); background: var(--blue); color: #fff; }
.page-numbers a.disabled { color: #a8b5bc; }
.page-numbers span { padding: 0 5px; color: #8295a0; }

/* Category page */
.category-hero { width: 100%; min-height: 230px; padding: 34px max(40px, calc((100% - var(--content)) / 2 + 40px)) 38px; border-bottom: 4px solid #1599cf; background: linear-gradient(105deg, #072943 0%, #0a3c5d 70%, #0b5972 100%); }
.category-hero__content { display: grid; grid-template-columns: minmax(0, 820px) 170px; gap: 65px; align-items: center; }
.category-hero .breadcrumb { margin-bottom: 18px; color: #9fc8d9; }
.category-hero em { color: #64d3ef; font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: 1.4px; }
.category-hero h1 { max-width: 820px; margin: 6px 0 10px; color: #fff; font: 600 clamp(38px, 4vw, 50px)/1.05 Georgia, serif; letter-spacing: -1.5px; }
.category-hero p { max-width: 760px; margin: 0; color: #d6e8ef; font-size: 14px; line-height: 1.6; }
.category-hero aside { padding: 18px; border: 1px solid #ffffff30; border-top: 3px solid var(--cyan); background: #062c4978; }
.category-hero aside strong { display: block; color: #fff; font: 600 30px Georgia, serif; }
.category-hero aside span { display: block; color: #c7e0e9; font-size: 11px; }
.category-hero aside small { display: flex; align-items: center; gap: 7px; margin-top: 15px; color: #b8e3d2; font-size: 10px; font-weight: 800; }
.category-hero aside small i { width: 7px; height: 7px; border-radius: 50%; background: #26a66c; }
.category-toolbar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 180px; gap: 16px; width: 100%; margin-top: -24px; padding: 0 max(34px, calc((100% - var(--content)) / 2 + 34px)); }
.category-toolbar .search { border: 0; box-shadow: 0 13px 32px #082b452b; }
.category-toolbar .search input { padding: 19px 20px; }
.category-toolbar select { border: 0; background: #fff; color: #48606e; box-shadow: 0 13px 32px #082b451c; }
.category-content { display: grid; grid-template-columns: 1fr 220px; gap: 22px; align-items: start; width: min(var(--content), calc(100% - 40px)); margin: 38px auto 0; }
.category-main { padding: 0 30px 30px; border: 1px solid var(--line); background: #fff; }
.category-overview { margin: 0 -30px 28px; padding: 27px 30px 25px; border-bottom: 1px solid var(--line); background: #f7fafb; }
.category-overview em { color: var(--blue); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: 1.3px; }
.category-overview h2 { margin: 5px 0 8px; color: var(--navy); font: 600 27px/1.2 Georgia, serif; }
.category-overview p { max-width: 780px; margin: 0; color: #405d6c; font-size: 13px; line-height: 1.7; }
.category-overview .category-details { margin-top: 11px; }
.category-topics { margin-top: 17px; padding: 15px 17px; border-left: 3px solid var(--cyan); background: #eaf5f8; }
.category-topics > b { color: var(--navy); font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.category-topics ul { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.category-topics li { color: #315568; font-size: 11px; }
.category-topics li::before { margin-right: 6px; color: var(--blue); content: "•"; }
.category-overview .category-aliases { margin-top: 12px; padding-top: 11px; border-top: 1px solid #dce7eb; color: #58717e; font-size: 11px; }
.related-categories { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.related-categories > b { padding: 17px; border-bottom: 3px solid var(--navy); font-size: 10px; letter-spacing: 1px; }
.related-categories > a { padding: 12px 16px; border-bottom: 1px solid var(--line); color: #385668; font-size: 12px; text-decoration: none; }
.related-categories > a:hover { background: #edf7fa; color: var(--blue); }

/* Article page */
.article-head { width: 100%; padding: 34px max(20px, calc((100% - var(--content)) / 2)) 36px; border-bottom: 4px solid #1599cf; background: linear-gradient(105deg, #072943, #0a4566); }
.article-head .breadcrumb { margin-bottom: 16px; color: #a4cad9; }
.article-head .breadcrumb a,
.article-head .breadcrumb a:visited { color: #a4cad9; text-decoration: none; }
.article-head .breadcrumb a:hover { color: #69d6ef; }
.article-label { color: #68d3ed; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; }
.article-head h1 { max-width: 980px; margin: 7px 0 13px; color: #fff; font: 600 clamp(38px, 4.3vw, 54px)/1.06 Georgia, serif; letter-spacing: -1.6px; }
.article-deck { max-width: 900px; margin-bottom: 14px; color: #d6e8ef; font: 17px/1.5 Georgia, serif; }
.article-meta { display: flex; gap: 22px; max-width: 860px; padding-top: 17px; border-top: 1px solid #ffffff3d; color: #b9d2dc; font-size: 11px; }
.article-meta span:first-child { color: #fff; font-weight: 800; }
.article-shell { display: grid; grid-template-columns: 190px minmax(0, 720px) 190px; gap: 30px; align-items: start; width: min(var(--content), calc(100% - 40px)); margin: 32px auto 0; padding-top: 34px; border-top: 5px solid var(--navy); }
.article-toc { position: sticky; top: 20px; display: flex; flex-direction: column; border-top: 3px solid var(--blue); background: #fff; }
.article-toc b { padding: 16px; color: var(--navy); font-size: 9px; letter-spacing: 1.3px; }
.article-toc a { padding: 10px 16px; border-top: 1px solid #e5ecef; color: #526b79; font-size: 11px; text-decoration: none; }
.article-toc a:hover { color: var(--blue); }
.article-content { padding: 38px 46px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 35px #183e560c; }
.article-content p { color: #3d5664; font: 16px/1.8 Georgia, serif; }
.article-content .article-lead { color: #173d53; font-size: 20px; line-height: 1.65; }
.article-content h2 { margin: 42px 0 12px; padding-top: 5px; color: var(--navy); font: 600 31px/1.2 Georgia, serif; }
.article-content h3 { margin: 28px 0 8px; color: #17445e; font-size: 19px; }
.article-content table { width: 100%; margin: 30px 0; border: 1px solid #b8cbd5; border-collapse: collapse; background: #fff; color: #294653; font-size: 13px; line-height: 1.5; }
.article-content thead { background: var(--navy); color: #fff; }
.article-content th { padding: 13px 14px; border: 1px solid #315970; font-size: 11px; letter-spacing: .25px; text-align: left; vertical-align: top; }
.article-content td { padding: 12px 14px; border: 1px solid #d3e0e6; text-align: left; vertical-align: top; }
.article-content tbody tr:nth-child(even) { background: #f2f7f9; }
.article-content tbody tr:hover { background: #e9f4f7; }
.article-content caption { padding: 0 0 10px; color: var(--navy); font: 600 16px Georgia, serif; text-align: left; }
.article-summary { margin: -12px 0 32px; padding: 24px 26px; border-left: 4px solid var(--blue); background: #eaf5f8; }
.article-summary > b { color: var(--blue); font-size: 9px; letter-spacing: 1.4px; }
.article-summary ul { margin: 12px 0 0; padding-left: 20px; color: #294d60; font-size: 13px; line-height: 1.7; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0; border: 1px solid var(--line); }
.fact-grid div { padding: 18px; border-right: 1px solid var(--line); }
.fact-grid div:last-child { border: 0; }
.fact-grid small, .article-side b { display: block; margin-bottom: 5px; color: #72909f; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
.fact-grid strong { color: var(--navy); font: 600 14px Georgia, serif; }
.article-content blockquote { margin: 32px 0; padding: 22px 25px; border: 0; background: var(--navy); color: #fff; }
.article-content blockquote b { color: #74c9e7; font-size: 9px; letter-spacing: 1.3px; }
.article-content blockquote p { margin: 7px 0 0; color: #e1edf2; font-size: 16px; }
.article-related-link { display: flex; flex-direction: column; margin: 28px 0; padding: 20px; border: 1px solid #b9d9e5; background: #f3fafc; text-decoration: none; }
.article-related-link span { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }
.article-related-link b { margin-top: 4px; color: var(--navy); font: 600 17px Georgia, serif; }
.article-faq { width: 100%; margin: 45px 0 0; }
.article-faq h2 { margin-top: 5px; }
.article-faq details { padding: 17px 3px; border-top: 1px solid var(--line); }
.article-faq summary { color: var(--navy); font-size: 14px; font-weight: 800; cursor: pointer; }
.article-faq details p { margin: 12px 0 0; font-size: 14px; }
.article-note { margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-note b { color: var(--navy); font-size: 11px; }
.article-note p { margin: 5px 0 0; color: #71838d; font: 12px/1.6 Arial, sans-serif; }
.article-side { display: flex; flex-direction: column; gap: 15px; }
.article-side > div { padding: 17px; border-top: 3px solid var(--navy); background: #fff; }
.article-side a, .article-side span { display: block; color: #24546d; font-size: 11px; font-weight: 700; text-decoration: none; }
.article-side small { display: block; margin-top: 8px; color: #82949e; font-size: 9px; }
.article-more { display: grid; grid-template-columns: 280px 1fr; gap: 40px; width: min(var(--content), calc(100% - 40px)); margin: 30px auto 0; padding: 35px 40px; border-left: 5px solid var(--blue); background: #e5f2f6; }
.article-more h2 { margin: 4px 0; color: var(--navy); font: 600 28px Georgia, serif; }
.article-more > div:last-child { display: grid; }
.article-more a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #bdd1da; color: #244c61; font-size: 12px; font-weight: 700; }

/* Information and policy pages */
.info-head { padding: 46px max(20px, calc((100% - 900px) / 2)) 42px; border-bottom: 4px solid #1599cf; background: linear-gradient(105deg, #072943, #0a4566); color: #fff; }
.info-head .breadcrumb { margin-bottom: 22px; color: #9fc8d9; }
.info-head em { color: #64d3ef; font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: 1.4px; }
.info-head h1 { margin: 5px 0 10px; font: 600 clamp(38px, 5vw, 54px)/1.08 Georgia, serif; }
.info-head p { max-width: 760px; margin: 0; color: #d6e8ef; font-size: 15px; line-height: 1.65; }
.info-content { width: min(900px, calc(100% - 40px)); margin: 36px auto 0; padding: 38px 48px; border: 1px solid var(--line); background: #fff; }
.info-content h2 { margin: 32px 0 9px; color: var(--navy); font: 600 26px/1.2 Georgia, serif; }
.info-content h2:first-child, .info-content .policy-date + h2 { margin-top: 0; }
.info-content p { color: #405966; font: 15px/1.78 Georgia, serif; }
.info-content a { color: var(--blue); }
.policy-date { margin-bottom: 28px; padding: 12px 15px; background: #edf5f8; font-family: Arial, sans-serif !important; font-size: 12px !important; }
.search-results-panel { width: min(900px, calc(100% - 40px)); margin: 34px auto 0; padding: 0 30px 30px; border: 1px solid var(--line); background: #fff; }
.empty-state { padding: 28px 0; color: var(--muted); }
.pagination__slot { display: flex; align-items: center; gap: 7px; padding: 0 !important; }
.pagination__ellipsis { padding: 0 4px !important; }

@media (max-width: 900px) {
  .article-shell { grid-template-columns: 1fr; }
  .article-toc, .article-side { display: none; }
  .article-content { padding: 28px 22px; }
  .article-content table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
  .article-meta { flex-wrap: wrap; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .article-more { grid-template-columns: 1fr; padding: 28px 22px; }
}

@media (max-width: 800px) {
  .site-header { height: 74px; padding: 0 12px; }
  .logo img { width: 176px; height: 40px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:not(.active) { display: none; }
  .hero-a { min-height: 0; padding: 38px 24px; }
  .hero-a h1 { font-size: 39px; }
  .hero-a .search input { padding: 17px; }
  .quick-searches { gap: 12px; overflow: hidden; white-space: nowrap; }
  .trust-strip { grid-template-columns: 1fr; gap: 7px; padding: 14px 18px; }
  .trust-strip span { border: 0; }
  .module { padding: 28px 20px; }
  .title { align-items: start; }
  .product-category-grid, .resource-category-grid { grid-template-columns: 1fr 1fr; }
  .about-query { grid-template-columns: 1fr; margin: 32px -20px 0; }
  .about-query > div:first-child, .about-query > div:last-child { padding: 28px 20px; }
  .information-method { margin: 32px -20px -28px; padding: 28px 20px; }
  .method-heading { grid-template-columns: 1fr; gap: 7px; }
  .method-heading p { text-align: left; }
  .method-grid { grid-template-columns: 1fr; }
  .paper-list article { grid-template-columns: 30px 1fr 12px; }
  .question-band { grid-template-columns: 1fr; }
  .research-list-page .list-hero { padding: 34px 20px; }
  .list-hero__grid, .list-layout, .category-hero__content, .category-toolbar, .category-content { grid-template-columns: 1fr; }
  .list-hero h1, .category-hero h1 { font-size: 42px; }
  .list-layout { width: min(100% - 24px, var(--content)); }
  .filter-panel, .related-categories { display: none; }
  .results-panel, .category-main { padding: 0 18px 24px; }
  .results-head { align-items: flex-start; gap: 15px; }
  .page-numbers { overflow: auto; }
  .category-hero { min-height: 0; padding: 42px 24px 58px; }
  .category-hero aside { display: none; }
  .category-toolbar { margin-top: -24px; padding: 0 12px; }
  .category-toolbar select { display: none; }
  .category-content { width: min(100% - 24px, var(--content)); margin-top: 36px; }
  .category-overview { margin: 0 -18px 28px; padding: 24px 18px; }
  .article-head { padding: 38px 20px; }
  .article-head h1 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .info-head { padding: 36px 20px; }
  .info-content { width: calc(100% - 24px); padding: 28px 20px; }
}

/* The local Kimi generation console is intentionally isolated from the public site chrome. */
.admin-root { min-height: 100vh; padding: 24px; background: #f5f5f5; color: #222; }
.admin-container { width: min(1180px, 100%); margin: 0 auto; }
.admin-page > h1 { margin-bottom: 4px; color: #222; font: 700 2rem/1.2 Arial, sans-serif; }
.admin-section { margin-bottom: 20px; padding: 16px 20px; border: 1px solid #ddd; border-radius: 4px; background: #fff; }
.admin-section h2 { margin-top: 0; color: #222; font: 700 1.1rem/1.4 Arial, sans-serif; }
.admin-section .stats { display: flex; gap: 16px; flex-wrap: wrap; }
.admin-section .stat { min-width: 110px; padding: 10px 18px; border-radius: 4px; text-align: center; background: #e9f7fb; }
.admin-section .stat .num { font-size: 1.5rem; font-weight: 700; }
.admin-section .stat .label { color: #555; font-size: .8rem; }
.admin-section textarea { width: 100%; min-height: 120px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.admin-section input[type='number'] { width: 100px; padding: 6px; border: 1px solid #ccc; border-radius: 4px; }
.admin-section button { padding: 8px 16px; margin: 4px 6px 4px 0; border: 1px solid #0877b5; border-radius: 4px; color: #fff; background: #0877b5; cursor: pointer; }
.admin-section button.secondary { color: #0877b5; background: #fff; }
.admin-section button:disabled { opacity: .5; cursor: default; }
.admin-section .msg { margin-top: 8px; color: #333; font-size: .9rem; white-space: pre-wrap; }
.admin-section table.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-section table.admin-table th,
.admin-section table.admin-table td { padding: 6px 8px; border-bottom: 1px solid #eee; text-align: left; }
.admin-section .badge { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #eee; font-size: .75rem; }
.admin-section .badge.published { background: #d9f5e3; }
.admin-section .badge.failed { background: #fde0e0; }
.admin-section .badge.running { background: #fff3c4; }

/* Independent PHP content admin */
.cms-body { min-height: 100vh; background: #eef3f6; color: #18384a; }
.cms-header { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 max(24px, calc((100% - 1120px) / 2)); background: #06243d; color: #fff; }
.cms-header a { color: inherit; text-decoration: none; }
.cms-header nav { display: flex; gap: 24px; font-size: 13px; }
.cms-main { width: min(1120px, calc(100% - 32px)); margin: 32px auto; }
.cms-main h1 { margin-bottom: 6px; color: #09283f; font: 600 34px Georgia, serif; }
.cms-main h2 { margin-top: 34px; color: #09283f; font: 600 22px Georgia, serif; }
.cms-lead { color: #607784; }
.cms-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.cms-stats article { padding: 25px; border: 1px solid #d5e2e8; background: #fff; }
.cms-stats strong { display: block; color: #0877b5; font-size: 31px; }
.cms-stats span { color: #667b87; font-size: 12px; }
.cms-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cms-actions a, .cms-title > a { padding: 11px 15px; border: 1px solid #0877b5; background: #fff; color: #0877b5; font-size: 12px; font-weight: 700; text-decoration: none; }
.cms-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.cms-title p { margin: 0; color: #718692; }
.cms-title form { display: flex; }
.cms-title input { min-width: 260px; padding: 10px; border: 1px solid #becfd7; }
.cms-title button { border-radius: 0; }
.cms-table { width: 100%; border-collapse: collapse; background: #fff; }
.cms-table th, .cms-table td { padding: 13px 15px; border-bottom: 1px solid #e0e8ec; text-align: left; font-size: 13px; }
.cms-table th { background: #e4f0f5; color: #315369; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.cms-table small { display: block; margin-top: 3px; color: #80929b; }
.cms-table a { color: #0877b5; font-weight: 700; }
.cms-form, .cms-login { padding: 28px; border: 1px solid #d5e2e8; background: #fff; }
.cms-form label, .cms-login label { display: grid; gap: 7px; margin: 0 0 19px; color: #315165; font-size: 12px; font-weight: 700; }
.cms-form input, .cms-form textarea, .cms-form select, .cms-login input { width: 100%; padding: 10px 12px; border: 1px solid #bfcfd7; background: #fff; color: #18384a; font: 14px Arial, sans-serif; }
.cms-form textarea { resize: vertical; line-height: 1.55; }
.cms-form .code-field { font-family: Consolas, monospace; font-size: 12px; }
.cms-form .check { display: flex; align-items: center; flex-direction: row; gap: 9px; }
.cms-form .check input { width: auto; }
.cms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cms-form button, .cms-login button, .cms-title button { padding: 11px 20px; border: 0; background: #0877b5; color: #fff; font-weight: 800; cursor: pointer; }
.cms-login { max-width: 430px; margin: 80px auto; }
.cms-success { padding: 12px 15px; border-left: 4px solid #279766; background: #e5f5ed; }
.cms-error { padding: 12px 15px; border-left: 4px solid #c44141; background: #fbeaea; }
.cms-category-articles { margin-top: 28px; padding: 28px; border: 1px solid #d5e2e8; background: #fff; }
.cms-category-articles h2 { margin: 0; color: #153c52; }
.cms-picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cms-picker { min-width: 0; padding: 20px; border: 1px solid #dbe5ea; background: #f8fbfc; }
.cms-picker h3 { display: flex; justify-content: space-between; margin: 0; color: #173e54; }
.cms-picker h3 small, .cms-help { color: #718692; font-size: 11px; font-weight: 400; }
.cms-check-list { max-height: 430px; margin: 15px 0; overflow: auto; border-top: 1px solid #dbe5ea; }
.cms-check-list label { display: flex; gap: 10px; padding: 11px 4px; border-bottom: 1px solid #dbe5ea; cursor: pointer; }
.cms-check-list input { margin-top: 3px; }
.cms-check-list span, .cms-check-list b, .cms-check-list small { display: block; }
.cms-check-list b { color: #234c61; font-size: 12px; }
.cms-check-list small { margin-top: 3px; color: #82949e; font-size: 10px; }
.cms-picker button { padding: 10px 16px; border: 0; background: #0877b5; color: #fff; font-weight: 800; cursor: pointer; }
.cms-picker .cms-danger { background: #a63f3f; }
.cms-link-search { margin-bottom: 24px; }
.cms-link-results { margin-bottom: 28px; }
.cms-link-results .cms-title { align-items: center; }
.cms-batch-actions { display: flex; align-items: center; gap: 16px; }
.cms-batch-actions label { color: #315165; font-size: 12px; font-weight: 700; cursor: pointer; }
.cms-link-candidates { max-height: 520px; }
.cms-link-rules { padding: 26px; border: 1px solid #d5e2e8; background: #fff; }
.cms-link-rules h2 { margin-top: 0; color: #153c52; }
.cms-text-danger { padding: 0; border: 0; background: none; color: #a63f3f; font-weight: 700; cursor: pointer; }
.cms-footer-guide { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding: 18px 20px; border-left: 4px solid #1496c7; background: #eaf5f9; }
.cms-footer-guide b,.cms-footer-guide span { display: block; }
.cms-footer-guide b { color: #143e54; }
.cms-footer-guide span { margin-top: 4px; color: #587685; font-size: 12px; }
.cms-footer-guide a { flex: 0 0 auto; padding: 10px 14px; background: #0877b5; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.cms-footer-editor { display: grid; gap: 20px; padding: 0; border: 0; background: transparent; }
.cms-footer-panel { padding: 25px 28px; border: 1px solid #d5e2e8; background: #fff; }
.cms-panel-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.cms-panel-heading>span { display: grid; place-items: center; width: 32px; height: 32px; background: #0b526f; color: #fff; font-size: 11px; font-weight: 900; }
.cms-panel-heading h2 { margin: 0; color: #153c52; }
.cms-panel-heading p { margin: 4px 0 0; color: #718692; font-size: 12px; }
.cms-visibility-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cms-visibility-grid label { display: grid; grid-template-columns: auto 1fr; gap: 3px 9px; margin: 0; padding: 15px; border: 1px solid #cfdde4; background: #f8fbfc; cursor: pointer; }
.cms-visibility-grid input { grid-row: 1/3; width: auto; margin-top: 3px; }
.cms-visibility-grid b { color: #284f64; font-size: 12px; }
.cms-visibility-grid small { color: #78909c; font-size: 10px; }
.cms-sticky-save { position: sticky; bottom: 12px; z-index: 4; display: flex; justify-content: flex-end; padding: 12px; border: 1px solid #c9dbe3; background: #fffffff2; box-shadow: 0 8px 25px #173e5424; }
.cms-footer-manager { margin-top: 28px; padding: 28px; border: 1px solid #d5e2e8; background: #fff; }
.cms-footer-manager h2 { margin: 0; color: #153c52; }
.cms-footer-section { position: relative; margin-top: 20px; padding: 20px; border: 1px solid #dbe5ea; background: #f8fbfc; }
.cms-footer-section-label { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; color: #77909d; font-size: 10px; text-transform: uppercase; }
.cms-footer-section-label b { color: #0877b5; }
.cms-footer-section-head { display: grid; grid-template-columns: 1fr 100px auto; gap: 12px; align-items: end; padding-right: 100px; }
.cms-footer-section-head label { display: grid; gap: 5px; color: #315165; font-size: 11px; font-weight: 700; }
.cms-footer-section-head input,.cms-footer-add-link input,.cms-footer-link-row input,.cms-footer-add-section input { min-width: 0; padding: 9px 10px; border: 1px solid #bfcfd7; }
.cms-footer-section-head button,.cms-footer-add-link button,.cms-footer-link-row button,.cms-footer-add-section button { padding: 10px 14px; border: 0; background: #0877b5; color: #fff; font-weight: 700; cursor: pointer; }
.cms-delete-form { position: absolute; top: 28px; right: 20px; }
.cms-footer-link-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 10px; }
.cms-footer-link-row>form:first-child { display: grid; grid-template-columns: 1fr 1.4fr 75px auto; gap: 8px; }
.cms-footer-link-row>form:last-child { display: flex; align-items: center; }
.cms-footer-link-head { display: grid; grid-template-columns: 1fr 1.4fr 75px auto; gap: 8px; margin: 15px 45px 0 0; color: #758d99; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.cms-footer-add-link { display: grid; grid-template-columns: 1fr 1.4fr 75px auto; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #dbe5ea; }
.cms-footer-add-section { display: grid; grid-template-columns: 1fr 100px auto; gap: 10px; margin-top: 22px; }
.cms-page-delete { margin-top: 16px; text-align: right; }
.cms-page-delete button { padding: 10px 15px; border: 1px solid #b94a4a; background: #fff; color: #a43636; font-weight: 800; cursor: pointer; }
.cms-rich-editor { overflow: hidden; border: 1px solid #bfcfd7; background: #fff; }
.cms-editor-toolbar { display: flex; flex-wrap: wrap; gap: 1px; padding: 6px; border-bottom: 1px solid #d7e2e7; background: #eef4f6; }
.cms-editor-toolbar button { min-width: 34px; padding: 7px 9px; border: 0; background: #fff; color: #315165; font-size: 11px; cursor: pointer; }
.cms-editor-toolbar button:hover { background: #dcebf1; }
.cms-editor-toolbar .cms-editor-mode { margin-left: auto; background: #0b526f; color: #fff; }
.cms-editor-visual,.cms-editor-source { width: 100%; min-height: 180px; padding: 16px; border: 0 !important; outline: 0; background: #fff; color: #233f4e; font: 14px/1.65 Arial,sans-serif; }
.cms-rich-editor[data-size="small"] .cms-editor-visual,.cms-rich-editor[data-size="small"] .cms-editor-source { min-height: 105px; }
.cms-rich-editor[data-size="large"] .cms-editor-visual,.cms-rich-editor[data-size="large"] .cms-editor-source { min-height: 480px; }
.cms-editor-source { resize: vertical; font-family: Consolas,monospace; font-size: 12px; }
.cms-editor-visual h2 { color: #153c52; font-size: 24px; }
.cms-editor-visual h3 { color: #234f65; font-size: 19px; }
.product-recommendations { display: grid; grid-template-columns: 260px 1fr; gap: 35px; width: min(var(--content),calc(100% - 40px)); margin: 30px auto 0; padding: 28px 34px; border: 1px solid #c7dce5; background: #f7fbfc; }
.product-recommendations small { color: #0877b5; font-weight: 900; letter-spacing: 1px; }
.product-recommendations h2 { margin: 5px 0; color: #09283f; font: 600 25px Georgia,serif; }
.product-recommendations > div:last-child { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.product-recommendations a { display: flex; flex-direction: column; padding: 14px; border: 1px solid #d3e1e7; background: #fff; text-decoration: none; }
.product-recommendations a b { color: #163f56; }
.product-recommendations a span { margin-top: 5px; color: #0877b5; font-size: 11px; }
@media(max-width:700px){.cms-stats,.cms-grid,.cms-picker-grid,.cms-visibility-grid,.product-recommendations,.product-recommendations>div:last-child{grid-template-columns:1fr}.cms-header nav{gap:10px}.cms-title,.cms-footer-guide{align-items:stretch;flex-direction:column}.cms-title input{min-width:0}.cms-table th:nth-child(2),.cms-table td:nth-child(2){display:none}.cms-footer-section-head,.cms-footer-add-link,.cms-footer-add-section,.cms-footer-link-row>form:first-child{grid-template-columns:1fr}.cms-footer-section-head{padding-right:0}.cms-delete-form{position:static;margin-top:10px}.cms-footer-link-head{display:none}.cms-footer-link-row{grid-template-columns:1fr auto}}

