:root {
  color-scheme: light;
  --ink: #101626;
  --muted: #4b576b;
  --line: #d8e1ed;
  --blue: #083ddb;
  --blue-deep: #002cad;
  --ice: #e4efff;
  --paper: #fff;
  --sidebar: #eef2f7;
  --sidebar-width: 216px;
  --gutter: clamp(20px, 3.25vw, 48px);
  --radius: 13px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
body:has(.drawer[open]) { overflow: hidden; }
a { color: var(--blue); text-underline-offset: 0.19em; }
a:hover { color: var(--blue-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { opacity: .58; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #d4e4ff; }
svg { display: block; flex: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.10; text-wrap: pretty; overflow-wrap: break-word; }
h1 { font-size: clamp(2.55rem, 5.0vw, 4.45rem); letter-spacing: -.061em; font-weight: 820; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.32rem); letter-spacing: -.041em; font-weight: 790; }
h3 { font-size: 1.17rem; letter-spacing: -.022em; font-weight: 760; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin-block: 0 1em; padding-inline-start: 1.4em; }
hr { border: 0; border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 10; inset: 9px auto auto 9px; transform: translateY(-175%); padding: .65rem 1rem; border-radius: 8px; background: var(--blue); color: white; font-weight: 700; }
.skip:focus { transform: none; color: white; }
.icon { width: 22px; height: 22px; }
.icon--small { width: 17px; height: 17px; }
.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); overflow-y: auto; overscroll-behavior: contain; background: var(--sidebar); border-right: 1px solid #e7ecf3; padding: 21px 13px 22px; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #0a101d; text-decoration: none; font-weight: 840; font-size: 1.76rem; letter-spacing: -.067em; line-height: 1; padding: 4px 0; }
.brand:hover { color: var(--blue-deep); }
.brand img { width: 34px; height: 34px; }
.sidebar > .brand { margin: 0 10px 25px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nav-list a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 8px 11px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 640; line-height: 1.23; }
.nav-list a .icon { color: #404c61; }
.nav-list a:hover, .nav-list a[aria-current] { color: #082675; background: #d6e2fb; }
.nav-list a[aria-current] .icon { color: var(--blue); }
.project-nav { margin: 23px 6px 0; border-top: 1px solid #cfd9e7; padding-top: 16px; }
.nav-caption { color: #566276; font-size: .72rem; font-weight: 790; text-transform: uppercase; letter-spacing: .10em; padding-inline: 5px; margin-bottom: 7px; }
.project-nav .nav-list a, .project-nav .is-planned { min-height: 37px; padding: 4px 6px; }
.project-nav .is-planned { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted); font-weight: 650; }
.project-nav .status-text { font-size: .75rem; font-weight: 570; }
.project-dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--project-dot, #7180a2); }
.project-air { --project-bg: #daf2cf; --project-ink: #245b19; --project-dot: #3e9b2c; }
.project-costs { --project-bg: #ffe5d3; --project-ink: #824004; --project-dot: #e26b10; }
.project-crypto { --project-bg: #eadcff; --project-ink: #5d2298; --project-dot: #802cc2; }
.project-data { --project-bg: #d8f3ef; --project-ink: #0d6459; --project-dot: #1a988a; }
.project-maps { --project-bg: #d7edff; --project-ink: #135298; --project-dot: #2288dc; }
.project-sky { --project-bg: #e1e5ff; --project-ink: #263fa8; --project-dot: #264fd8; }
.project-pispace { --project-bg: #e5ecff; --project-ink: #263d83; --project-dot: #3159d8; }
.languages { margin: 19px 6px 0; border-top: 1px solid #cfd9e7; padding-top: 13px; }
.languages summary { display: flex; align-items: center; gap: 8px; padding: 5px; min-height: 37px; border-radius: 6px; cursor: pointer; font-size: .89rem; font-weight: 670; }
.languages summary::-webkit-details-marker { display: none; }
.languages summary .chevron { margin-inline-start: auto; }
.languages[open] summary .chevron { transform: rotate(180deg); }
.languages .nav-list { gap: 1px; }
.languages .nav-list a, .languages .missing-language { min-height: 34px; font-size: .85rem; padding: 6px 8px; }
.languages .missing-language { display: block; color: var(--muted); }
.drawer, .mobile-bar, .mobile-fallback { display: none; }
.main-frame { margin-inline-start: var(--sidebar-width); }
.canvas { width: 100%; max-width: 1310px; margin: 0 auto; padding: 35px var(--gutter) 30px; }
.page-head { margin-bottom: 29px; }
.page-head h1 + p, .hero h1 + p { color: var(--muted); font-size: clamp(1.06rem, 1.7vw, 1.34rem); max-width: 70ch; margin-top: .49em; margin-bottom: 0; }
.hero { margin-bottom: 27px; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.65rem); }
.hero .search-form { margin-top: clamp(1.25rem, 3vw, 2rem); }
.search-box { margin: 0; display: flex; align-items: stretch; min-height: 59px; border: 2px solid var(--blue); border-radius: 11px; }
.search-entry { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; padding-inline: 16px 9px; }
.search-entry .icon { width: 25px; height: 25px; color: #58677c; }
.search-entry input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: clamp(1rem, 2vw, 1.22rem); padding: 10px 1px; }
.search-entry input:focus { outline-offset: 1px; }
.search-entry input::placeholder { color: #566176; opacity: 1; }
.search-go { background: var(--blue); color: #fff; min-width: 82px; display: grid; place-items: center; border: 0; border-radius: 7px; margin: -1px; }
.search-go:hover { background: var(--blue-deep); }
.search-go .icon { width: 27px; height: 27px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 15px; margin-top: 17px; }
.hero-actions .chip-row { margin: 0; }
.hero-planner { align-self: center; min-height: 34px; align-items: center; font-size: .88rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px 9px; margin: 17px 0 0; padding: 0; list-style: none; align-items: center; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 5px 15px; background: #e9eef5; border-radius: 999px; color: #172030; text-decoration: none; font-size: .88rem; font-weight: 680; line-height: 1.2; }
.chip:hover { background: #dae5fb; color: #0c2e8e; }
.chip[aria-current], .chip--all { background: var(--blue); color: #fff; min-width: 64px; }
.chip--all:hover { background: var(--blue-deep); color: #fff; }
.chip--static { color: #526078; background: #eff2f7; }
.section { margin-bottom: 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; margin: 0 0 14px; }
.section-lead { color: var(--muted); margin: -6px 0 15px; }
.text-link { display: inline-flex; align-items: center; gap: .4em; align-self: start; font-weight: 730; text-decoration: none; line-height: 1.3; }
.text-link:hover { text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; display: flex; min-width: 0; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: #fff; }
.card:hover, .card:focus-within { border-color: #9ab5ee; box-shadow: 0 3px 14px #23467e10; }
.card__art { width: 100%; aspect-ratio: 480/252; border-radius: 8px; overflow: hidden; background-color: #edf3fb; object-fit: cover; }
.card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 10px 5px 5px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 7px; line-height: 1.25; font-size: .72rem; color: var(--muted); font-weight: 670; }
.owner { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 9px; background: var(--project-bg, #e5ebfa); color: var(--project-ink, #273d77); font-size: .74rem; font-weight: 790; }
.card h2, .card h3 { overflow-wrap: anywhere; font-size: clamp(1.08rem, 1.55vw, 1.37rem); }
.card__summary { overflow-wrap: anywhere; margin: 6px 0 10px; color: #263246; font-size: .9rem; line-height: 1.43; }
.card .text-link { margin-top: auto; font-size: .9rem; min-height: 30px; }
.card .text-link::after, .download-card .text-link::after { position: absolute; inset: 0; border-radius: inherit; content: ""; }
.lang-note { margin: 0 0 7px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.downloads { background: var(--ice); padding: clamp(14px, 2vw, 23px); border-radius: var(--radius); }
.download-card { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 4px 10px; padding: 13px; border-radius: 10px; position: relative; min-width: 0; background: var(--paper); border: 1px solid #d2e0f6; }
.download-card:hover, .download-card:focus-within { border-color: #88a8e9; }
.download-card .tile-icon { grid-column: 1; grid-row: 1 / 4; display: grid; place-items: center; width: 41px; height: 41px; border-radius: 9px; background: #e7efff; color: var(--blue); }
.download-card h3 { grid-column: 2; font-size: 1rem; }
.download-card p, .download-card .text-link { grid-column: 2; font-size: .8rem; margin-bottom: 0; }
.download-card p { color: var(--muted); line-height: 1.4; }
.download-card .text-link { padding-top: 2px; }
.planner-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, 30%); align-items: center; gap: 12px 25px; border-radius: var(--radius); padding: 18px 22px; border: 1px solid #d3dff7; background: #f3f7ff; }
.planner-promo img { width: 100%; max-height: 130px; object-fit: cover; border-radius: 8px; }
.planner-promo p { color: var(--muted); margin-top: 6px; margin-bottom: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .48em; min-height: 42px; border: 1px solid transparent; border-radius: 8px; background: var(--blue); color: #fff; padding: 7px 13px; text-decoration: none; font-weight: 700; text-align: center; line-height: 1.25; }
.button:hover { background: var(--blue-deep); color: #fff; }
.button--quiet { color: var(--blue); background: white; border-color: #b3c5ea; }
.button--quiet:hover { color: var(--blue-deep); background: #edf4ff; }
.button--danger { color: #8b2035; background: #fff; border-color: #d9b2bc; }
.button--danger:hover { color: #6d1123; background: #fff0f3; }
.breadcrumbs { margin: 0 0 13px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 3px 8px; padding: 0; font-size: .85rem; margin: 0; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: baseline; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: #62748b; }
.breadcrumbs a { font-weight: 600; }
.filters { margin-top: 12px; display: grid; gap: 9px 12px; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; }
.field { display: grid; gap: 4px; min-width: 0; color: var(--ink); font-size: .9rem; font-weight: 660; }
.field :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 43px; padding: 7px 9px; background: #fff; border: 1px solid #9aabc3; border-radius: 7px; font-weight: 430; }
.field textarea { min-height: 82px; resize: vertical; }
.field textarea::placeholder, .field input::placeholder { color: #626d82; }
.search-results { margin-top: 26px; }
.search-results .section-head { margin-bottom: 12px; }
.search-results h2 { font-size: 1.32rem; letter-spacing: -.02em; }
.empty { padding: 17px; border-radius: 9px; background: #f1f6fd; border: 1px solid var(--line); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 18px; color: var(--muted); font-size: .88rem; }
.article { width: min(100%, 840px); }
.article .page-head { margin-bottom: 20px; }
.article .page-head h1 { font-size: clamp(2.32rem, 4.65vw, 3.82rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .83rem; margin-top: 15px; }
.article-image { display: block; width: 100%; max-height: 260px; aspect-ratio: 480/252; border-radius: var(--radius); object-fit: cover; margin-bottom: 25px; }
.prose { max-width: 77ch; color: #242e42; }
.prose h2 { color: var(--ink); margin: 1.4em 0 .47em; font-size: clamp(1.42rem, 2.3vw, 2.1rem); }
.prose h3 { color: var(--ink); margin: 1.3em 0 .47em; }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose li + li { margin-top: .32em; }
.prose .callout { margin: 1.15rem 0; padding: 13px 16px; border: 1px solid #c4d8f5; border-inline-start: 4px solid var(--blue); background: #eef5ff; border-radius: 8px; }
.callout h3 { margin: 0 0 4px; }
.table-scroll { overflow-x: auto; margin: 1.2rem 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table caption { text-align: start; color: var(--ink); font-weight: 740; margin-bottom: 5px; }
.data-table th, .data-table td { text-align: start; vertical-align: top; padding: 8px 10px; border: 1px solid #cfd9e8; min-width: 82px; }
.data-table th { background: #eaf1fc; color: #1d2e51; }
.data-table tbody tr:nth-child(even) { background: #f7faff; }
.article-chart { margin: 1.15rem 0; padding: 13px 16px; border: 1px solid #c4d8f5; border-radius: 8px; background: #f5f8fe; }
.article-chart figcaption { font-weight: 740; color: var(--ink); }
.article-chart dl { margin: 7px 0 0; }
.article-chart dt { margin-top: 8px; font-weight: 650; }
.article-chart dd { margin: 0; display: grid; grid-template-columns: max-content minmax(40px, 1fr); align-items: center; gap: 9px; max-width: 500px; font-size: .88rem; }
.article-chart meter { width: 100%; height: 14px; }
.article-chart meter::-webkit-meter-bar { background: #e0e9fa; border: 0; }
.article-chart meter::-webkit-meter-optimum-value { background: var(--blue); }
.article-chart meter::-moz-meter-bar { background: var(--blue); }
.worksheet { border: 1px solid var(--line); border-radius: 9px; padding: 13px 15px; margin: 1.15em 0; }
.worksheet h3 { margin-top: 0; }
.worksheet li { border-bottom: 1px dotted #8899b1; min-height: 2.6em; padding-bottom: .4em; }
.file-list, .source-list, .related-list, .editorial-list { list-style: none; margin: 0; padding: 0; }
.file-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.source-list li, .related-list li, .editorial-list li { border-top: 1px solid var(--line); padding: 9px 0; }
.source-list li:last-child, .related-list li:last-child, .editorial-list li:last-child { border-bottom: 1px solid var(--line); }
.source-list a, .related-list a, .editorial-list a { font-weight: 730; line-height: 1.35; }
.source-list p, .related-list p, .editorial-list p { color: var(--muted); margin: 3px 0 0; line-height: 1.45; font-size: .89rem; }
.article-extra { margin-top: 27px; }
.article-extra h2 { margin-bottom: 10px; }
.editorial-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.file-locale { margin-top: 7px; }
.inline-meta { color: var(--muted); font-size: .82rem; }
.site-footer { border-top: 1px solid var(--line); padding: 16px 0 3px; margin-top: 30px; }
.site-footer p { font-size: .83rem; line-height: 1.45; color: var(--muted); margin-bottom: 7px; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 15px; row-gap: 3px; margin: 0; padding: 0; list-style: none; }
.footer-links a { font-size: .82rem; display: inline-flex; align-items: center; min-height: 28px; }
@media (max-width: 1110px) {
  :root { --sidebar-width: 190px; --gutter: 25px; }
  .sidebar { padding-inline: 10px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .button { justify-self: start; }
}
@media (max-width: 960px) {
  .sidebar { display: none; }
  .main-frame { margin-inline-start: 0; }
  .mobile-bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 58px; padding: 7px var(--gutter); background: var(--sidebar); border-bottom: 1px solid var(--line); }
  .mobile-bar .brand { font-size: 1.58rem; }
  .mobile-bar .brand img { width: 30px; height: 30px; }
  .mobile-actions { display: flex; gap: 4px; align-items: center; min-width: 88px; }
  .icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 7px; border: 0; border-radius: 7px; background: transparent; color: #172754; text-decoration: none; }
  .icon-button:hover { background: #dce8fc; color: var(--blue); }
  .mobile-fallback { position: absolute; z-index: 2; inset: 7px var(--gutter) auto auto; display: block; }
  .mobile-fallback summary { cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 7px; color: #172754; }
  .mobile-fallback summary::-webkit-details-marker { display: none; }
  .mobile-fallback summary:hover { background: #dce8fc; color: var(--blue); }
  .mobile-fallback .fallback-panel { position: absolute; inset: 49px 0 auto auto; width: min(325px, calc(100vw - var(--gutter) * 2)); max-height: calc(100dvh - 70px); overflow: auto; padding: 13px; background: var(--sidebar); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 8px 23px #11265127; }
  .drawer[open] { display: block; position: fixed; inset: 0 0 0 auto; margin: 0; padding: 12px 14px 20px; width: min(340px, calc(100% - 22px)); max-width: none; height: 100%; max-height: none; border: 0; background: var(--sidebar); color: var(--ink); box-shadow: -7px 0 42px #1126513d; overflow: auto; }
  .drawer::backdrop { background: #12213a63; }
  .drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 9px; }
  .drawer__top p { margin: 0; font-size: 1.07rem; font-weight: 760; }
  .canvas { padding-top: 23px; }
}
@media (max-width: 650px) {
  :root { --gutter: 15px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card { padding: 6px; }
  .card__body { padding: 8px 3px 3px; }
  .card__summary { font-size: .81rem; }
  .card__meta { gap: 4px 5px; }
  .search-go { min-width: 53px; }
  .search-entry { gap: 8px; padding-inline: 9px 3px; }
  .search-entry .icon { width: 20px; height: 20px; }
  .search-box { min-height: 52px; }
  .hero-actions { margin-top: 12px; gap: 4px 12px; }
  .chip-row { margin-top: 12px; gap: 5px 6px; }
  .chip { padding-inline: 10px; font-size: .82rem; min-height: 34px; }
  .editorial-columns { grid-template-columns: 1fr; gap: 17px; }
  .downloads .grid { grid-template-columns: 1fr; gap: 6px; }
  .download-card { padding: 10px; }
  .planner-promo { padding: 14px; grid-template-columns: 1fr; }
  .planner-promo img { display: none; }
  .page-head { margin-bottom: 18px; }
}
@media (max-width: 370px) {
  h1, .hero h1 { font-size: 2.43rem; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print {
  .sidebar, .site-footer, .mobile-bar, .mobile-fallback, .drawer, .skip, .breadcrumbs, .button, .pagination, .article-image { display: none !important; }
  .main-frame { margin-inline-start: 0; }
  .canvas { max-width: none; padding: 0; }
  .article, .prose { width: 100%; max-width: none; }
  body { color: #000; font-size: 10pt; line-height: 1.35; }
  h1, .article .page-head h1 { font-size: 24pt; letter-spacing: -.03em; }
  h2, .prose h2 { font-size: 16pt; }
  h1, h2, h3 { break-after: avoid; }
  .callout, .worksheet, tr, .source-list li { break-inside: avoid; }
  a { color: #000; }
}
