@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-300.woff2") format("woff2"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }

:root {
  --night: #06121b;
  --night-2: #091a25;
  --panel: #0d202c;
  --panel-deep: #07151e;
  --paper: #f0eee8;
  --muted: #aab8be;
  --muted-dark: #8397a1;
  --line: rgba(185, 202, 210, .24);
  --line-strong: rgba(185, 202, 210, .42);
  --copper: #cf7f55;
  --copper-light: #e09268;
  --blue: #83bdcc;
  --content: 1480px;
  --font-sans: "IBM Plex Sans", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --header-height: 82px;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--paper); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { text-wrap: pretty; }
section[id] { scroll-margin-top: calc(var(--header-height) + 18px); }

.sr-only { 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: fixed; z-index: 100; left: 16px; top: -90px; padding: 13px 17px; background: var(--paper); color: var(--night); text-decoration: none; transition: top .15s ease; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: var(--header-height); padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(6, 18, 27, .94); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; column-gap: 13px; color: var(--paper); text-decoration: none; }
.brand-symbol { color: var(--blue); font-family: Georgia, serif; font-size: 39px; font-weight: 400; line-height: 1; }
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: .19em; line-height: 1; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 38px); }
.main-nav a { position: relative; min-height: 44px; padding: 29px 0 27px; display: inline-flex; align-items: center; color: #c9d2d6; font-size: 14px; text-decoration: none; }
.main-nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: 19px; height: 1px; background: var(--copper); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: #fff; }
.menu-button { display: none; }
.language-switcher { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-left: clamp(4px, .7vw, 12px); padding-left: clamp(14px, 1.4vw, 24px); border-left: 1px solid var(--line); color: #81959e; font: 500 11px/1 var(--font-mono); letter-spacing: .045em; }
.language-switcher a, .language-switcher span { min-height: 44px; display: inline-flex; align-items: center; padding: 0; color: #aebdc3; text-decoration: none; }
.language-switcher a::after { display: none; }
.language-switcher a:hover, .language-switcher a:focus-visible { color: #fff; }
.language-switcher [aria-current="true"] { color: var(--copper-light); }

.eyebrow { margin: 0 0 21px; color: var(--copper); font: 500 12px/1.5 var(--font-mono); letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { color: var(--blue); }
h1 { max-width: 100%; margin: 0; font-size: clamp(48px, 5.8vw, 92px); font-weight: 300; line-height: .97; letter-spacing: -.048em; }
h2 { margin: 0; font-size: clamp(36px, 4vw, 62px); font-weight: 300; line-height: 1.02; letter-spacing: -.04em; }
h2 span { color: var(--blue); }

.hero { min-height: calc(100vh - var(--header-height)); padding: clamp(50px, 6vw, 86px) 4vw 62px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .62fr); gap: clamp(44px, 6vw, 105px); align-items: center; background: radial-gradient(circle at 16% 24%, rgba(36, 84, 107, .24), transparent 34%), linear-gradient(135deg, var(--night), #071824 72%, #0b1b24); }
.hero-copy { max-width: 780px; min-width: 0; }
.hero-lead { max-width: 660px; margin: 31px 0 13px; color: #c2ccd0; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.6; }
.search-guidance { margin: 0 0 30px; color: #91a2aa; font-size: 16px; line-height: 1.65; }
.hero-search { max-width: 710px; min-height: 68px; display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 7px 7px 7px 22px; border: 1px solid rgba(142, 180, 195, .48); background: rgba(3, 14, 22, .64); box-shadow: 0 18px 60px rgba(0, 0, 0, .14); }
.hero-search:focus-within { border-color: var(--blue); }
.hero-search svg, .archive-query svg { width: 22px; fill: none; stroke: var(--blue); stroke-width: 1.5; }
.hero-search input, .archive-query input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--paper); font-size: 16px; }
.hero-search input::placeholder, .archive-query input::placeholder { color: #81939d; }
.hero-search button, .search-button { min-width: 48px; min-height: 52px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 24px; background: var(--copper); color: var(--night); cursor: pointer; font-weight: 600; }
.hero-search button:hover, .search-button:hover { background: var(--copper-light); }
.hero-meta { max-width: 710px; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); list-style: none; }
.hero-meta li { padding: 20px 0 0; }
.hero-meta li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-meta strong { display: block; color: #dce7e9; font: 400 17px/1.2 var(--font-mono); white-space: nowrap; }
.hero-meta span { display: block; margin-top: 9px; color: #8ea0a9; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.hero-image-wrap { align-self: center; width: min(100%, 500px); height: min(62vh, 570px); min-height: 460px; margin: 0 0 0 auto; position: relative; overflow: hidden; border: 1px solid rgba(207, 127, 85, .68); background: #02090d; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 100px rgba(0, 0, 0, .3); pointer-events: none; }
.hero-image-wrap picture, .hero-image-wrap img { width: 100%; height: 100%; }
.hero-image-wrap img { object-fit: cover; object-position: center 42%; }
.hero-image-wrap figcaption { position: absolute; z-index: 2; inset: auto 0 0; padding: 52px 20px 18px; display: flex; justify-content: space-between; gap: 18px; color: #cbd5d8; background: linear-gradient(transparent, rgba(0, 6, 10, .92)); font: 400 12px/1.5 var(--font-mono); letter-spacing: .035em; }
.hero-image-wrap figcaption span:last-child { color: #91a3ab; text-align: right; }

.latest-section, .telescope-section { padding: 112px 4vw 126px; background: #091720; border-top: 1px solid var(--line); }
.section-heading { max-width: var(--content); margin: 0 auto 53px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .65fr); gap: 70px; align-items: end; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.section-heading.compact { align-items: start; }
.results { max-width: var(--content); margin: 0 auto; border: 1px solid var(--line); background: rgba(3, 14, 21, .18); }
.result-list { display: grid; }
.observation-preview { position: relative; display: grid; grid-template-columns: 50px minmax(270px, 1.3fr) minmax(340px, 1fr) auto; gap: 30px; align-items: center; padding: 39px 25px; border-bottom: 1px solid var(--line); transition: background .18s ease; }
.observation-preview:last-child { border-bottom: 0; }
.observation-preview:hover { background: rgba(27, 58, 72, .28); }
.observation-number { align-self: start; color: #7d929c; font: 400 12px/1 var(--font-mono); }
.observation-title > span { color: #98a9b1; font: 500 12px/1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.observation-title h3 { margin: 10px 0 10px; font-size: clamp(25px, 2vw, 32px); font-weight: 400; }
.observation-title h3 i { color: var(--copper); font-style: normal; }
.observation-title p { max-width: 630px; margin: 0; color: #a1b0b7; font-size: 15px; line-height: 1.65; }
.observation-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0; }
.observation-data dt, .record-meta dt, .report-facts dt { color: #91a4ad; font: 500 12px/1.25 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.observation-data dd { margin: 7px 0 0; color: #cbd4d7; font: 400 13px/1.4 var(--font-mono); }
.material-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.observation-preview .material-tags { position: absolute; right: 25px; top: 16px; }
.material-tags span { padding: 6px 8px; border: 1px solid #476775; color: #9cc7d1; font: 500 11px/1.2 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.text-link, .primary-link, .record-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: #dce4e6; text-decoration: none; }
.text-link { justify-self: end; border-bottom: 1px solid var(--copper); font-size: 13px; white-space: nowrap; }
.primary-link { padding: 14px 18px; border: 1px solid var(--copper); font-size: 14px; }
.primary-link:hover { background: rgba(207, 127, 85, .12); }
.section-action { max-width: var(--content); margin: 28px auto 0; display: flex; justify-content: flex-end; }
.data-error { margin: 0; padding: 22px 25px; border-top: 1px solid rgba(207, 127, 85, .38); color: #d0b3a4; text-align: center; background: rgba(207, 127, 85, .08); }

.observatory-section { padding: 112px 4vw 122px; display: grid; grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr); gap: clamp(50px, 7vw, 120px); align-items: center; background: radial-gradient(circle at 82% 28%, rgba(36, 84, 107, .19), transparent 34%), linear-gradient(135deg, var(--night), #071824 72%, #0b1b24); border-top: 1px solid var(--line); }
.documentary-image { width: min(100%, 560px); margin: 0; border: 1px solid var(--line); background: #02090d; }
.documentary-image picture { display: grid; place-items: center; }
.documentary-image img { width: 100%; max-height: 610px; object-fit: contain; object-position: center; }
.documentary-image figcaption { padding: 16px 20px; border-top: 1px solid var(--line); color: #a9b8be; background: #07151e; font-size: 13px; line-height: 1.55; }
.observatory-copy { display: flex; flex-direction: column; justify-content: center; }
.observatory-copy .eyebrow { margin-bottom: 17px; }
.observatory-copy h2 { margin-bottom: 35px; }
.observatory-copy > p { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.observatory-specs { margin: 23px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.observatory-specs div { padding: 17px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.observatory-specs dt, .spec-list dt { color: #94a7b0; font: 500 12px/1.25 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.observatory-specs dd { margin: 8px 0 0; color: #d7dfe1; font-size: 14px; line-height: 1.45; }

.telescope-section { background: var(--panel-deep); }
.telescope-gallery { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.telescope-image-card { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: #0b1b25; }
.image-contain { flex: 1; display: grid; place-items: center; overflow: visible; background: #02090d; }
.image-contain picture { width: 100%; display: grid; place-items: center; }
.image-contain img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.telescope-gallery figcaption { min-height: 92px; padding: 20px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }
.telescope-gallery figcaption strong { font-weight: 500; }
.telescope-gallery figcaption span { color: #a2b1b7; font-size: 13px; line-height: 1.55; }
.telescope-specifications { max-width: var(--content); margin: 28px auto 0; }
.spec-heading { padding: 0; }
.spec-heading .eyebrow { margin: 0; }
.spec-list { margin: 23px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-list div { padding: 17px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-list dd { margin: 8px 0 0; color: #d7dfe1; font-size: 14px; line-height: 1.45; }

.contact-section { padding: 118px 4vw; background: #0c202b; border-top: 1px solid var(--line); }
.contact-section > .eyebrow, .contact-section > h2, .contact-intro { text-align: center; }
.contact-section h2 { max-width: 900px; margin: 0 auto 24px; }
.contact-intro { max-width: 720px; margin: 0 auto 43px; color: #aab9bf; font-size: 17px; line-height: 1.7; }
.contact-form { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); background: rgba(3, 14, 21, .42); text-align: left; }
.contact-field { display: flex; flex-direction: column; gap: 10px; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { color: #b7c5ca; font: 500 12px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.contact-field label span { color: #7f939c; font-weight: 400; text-transform: none; }
.contact-field input, .contact-field textarea { width: 100%; border: 1px solid #486675; border-radius: 0; padding: 14px 15px; background: #07151d; color: var(--paper); font-size: 16px; }
.contact-field input { min-height: 52px; }
.contact-field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 1px var(--blue); }
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.contact-submit { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.contact-submit p { max-width: 560px; margin: 0; color: #91a4ac; font-size: 13px; line-height: 1.65; }
.contact-submit a, .legal-page a { color: #c3dce2; text-underline-offset: 4px; }
.contact-submit button { flex: 0 0 auto; min-height: 52px; padding: 0 22px; border: 1px solid var(--copper); background: var(--copper); color: var(--night); cursor: pointer; font-weight: 600; }
.contact-submit button:hover { background: var(--copper-light); }
.form-status { max-width: 900px; margin: 0 auto 20px; padding: 16px 18px; border-left: 2px solid var(--blue); background: rgba(131, 189, 204, .09); color: #d4e2e5; text-align: left; font-size: 15px; line-height: 1.55; }
.form-status.is-error { border-left-color: var(--copper); background: rgba(207, 127, 85, .09); }
.contact-noscript { max-width: 900px; margin: 18px auto 0; color: #d0b3a4; font-size: 14px; text-align: center; }
.site-footer { padding: 36px 4vw; display: grid; grid-template-columns: 1fr auto auto auto; gap: 35px; align-items: center; border-top: 1px solid var(--line); color: #92a3ab; font: 400 12px/1.5 var(--font-mono); letter-spacing: .035em; }
.site-footer p { margin: 0; }
.site-footer a:not(.brand) { color: #aab9bf; text-underline-offset: 4px; }
.footer-brand .brand-symbol { font-size: 30px; }
.footer-brand .brand-name { font-size: 12px; }
.noscript-message { position: fixed; z-index: 80; right: 20px; bottom: 20px; max-width: 520px; margin: 0; padding: 14px 18px; border: 1px solid var(--copper); background: #07151e; color: #d5dfe1; font-size: 14px; line-height: 1.5; }

/* Rättigheter och integritet */
.legal-page { background: #07151e; }
.legal-main { max-width: 1040px; margin: 0 auto; padding: 88px 4vw 120px; }
.legal-header { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal-header h1 { font-size: clamp(46px, 6.5vw, 82px); }
.legal-lead { max-width: 760px; margin: 28px 0 0; color: #b3c0c5; font-size: 18px; line-height: 1.72; }
.legal-content { display: grid; gap: 0; }
.legal-section { padding: 46px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 18px); }
.legal-section h2 { margin-bottom: 23px; font-size: clamp(30px, 3.6vw, 46px); }
.legal-section p, .legal-section li { color: #aebdc2; font-size: 16px; line-height: 1.76; }
.legal-section p { max-width: 820px; margin: 0; }
.legal-section p + p { margin-top: 18px; }
.legal-section ul { max-width: 820px; margin: 18px 0 0; padding-left: 22px; }
.legal-section li + li { margin-top: 8px; }

/* 404 */
.error-page .legal-main { min-height: calc(100vh - var(--header-height) - 112px); }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.error-actions .primary-link { color: #dce4e6; }
.error-nav { display: flex; }

/* Observationsarkiv */
.archive-page { background: #07151e; }
.archive-hero { padding: 94px 4vw 62px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 8%, rgba(36, 84, 107, .22), transparent 38%), var(--night); }
.archive-hero > * { max-width: var(--content); margin-left: auto; margin-right: auto; }
.archive-hero h1 { font-size: clamp(49px, 6.5vw, 94px); }
.archive-hero > p:not(.eyebrow):not(.archive-notice) { max-width: 800px; margin-top: 29px; margin-left: max(0px, calc((100% - var(--content)) / 2)); color: #b4c0c5; font-size: 18px; line-height: 1.72; }
.archive-notice { max-width: 800px; margin-top: 25px; margin-left: max(0px, calc((100% - var(--content)) / 2)); padding: 14px 18px; border-left: 2px solid var(--copper); background: rgba(207, 127, 85, .08); color: #cab8ae; font-size: 14px; line-height: 1.55; }
.archive-workspace { padding: 56px 4vw 122px; }
.archive-search { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 1.65fr) 1fr .7fr 1fr auto; gap: 15px; padding: 24px; border: 1px solid var(--line); background: rgba(3, 14, 21, .56); }
.archive-search > label, .archive-query > label { display: flex; flex-direction: column; gap: 10px; color: #9db0b8; font: 500 12px/1.25 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.archive-query > div { height: 52px; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 12px; align-items: center; padding: 0 15px; border: 1px solid #486675; }
.archive-query > div:focus-within { border-color: var(--blue); }
.archive-search select { width: 100%; height: 52px; padding: 0 13px; border: 1px solid #486675; background: #07151d; color: #d5dddf; }
.filter-actions { align-self: end; display: flex; gap: 8px; }
.reset-button { min-width: 48px; min-height: 52px; padding: 0 15px; border: 1px solid #506c78; background: transparent; color: #c0cbd0; cursor: pointer; }
.reset-button:hover { background: rgba(127, 181, 196, .09); }
.archive-status { max-width: var(--content); min-height: 66px; margin: 24px auto 0; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); background: rgba(3, 14, 21, .35); }
.archive-status p { margin: 0; color: var(--copper); font: 500 12px/1.4 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.archive-status span { color: #a1b0b7; font: 400 12px/1 var(--font-mono); }
.archive-list { max-width: var(--content); margin: 0 auto; border: 1px solid var(--line); border-top: 0; }
.observation-record { display: grid; grid-template-columns: minmax(170px, .3fr) minmax(0, 1.7fr); border-bottom: 1px solid var(--line); background: rgba(6, 18, 27, .42); }
.observation-record:last-child { border-bottom: 0; }
.record-date { padding: 34px 24px; border-right: 1px solid var(--line); }
.record-date time { display: block; color: #d6dfe1; font-size: 17px; line-height: 1.45; }
.record-date span { display: block; margin-top: 12px; color: var(--copper); font: 500 12px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.record-body { padding: 34px clamp(24px, 4vw, 58px) 42px; }
.record-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.record-kicker { margin: 0 0 8px; color: #9eb0b8; font: 500 12px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.record-heading h2 { font-size: clamp(30px, 3vw, 48px); }
.record-heading h2 span { color: var(--copper); }
.record-summary { max-width: 900px; margin: 24px 0; color: #b4c0c5; font-size: 16px; line-height: 1.72; }
.record-meta { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.record-meta div { padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-meta dd { margin: 8px 0 0; color: #d6dee0; font-size: 14px; line-height: 1.45; }
.record-link { margin-top: 23px; border-bottom: 1px solid var(--copper); font-size: 13px; }
.archive-workspace > .empty-state, .archive-workspace > .data-error { max-width: var(--content); margin: 0 auto; }
.empty-state { padding: 72px 25px; text-align: center; border: 1px solid var(--line); border-top: 0; }
.empty-state h2 { font-size: 31px; }
.empty-state p { color: #a9b7bd; }
.empty-state button { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--copper); background: transparent; cursor: pointer; }

/* Enskild observationsrapport */
.report-page { background: #07151e; }
.report-main { max-width: var(--content); margin: 0 auto; padding: 72px 4vw 120px; }
.breadcrumbs { margin: 0 0 48px; color: #9aabb2; font: 400 12px/1.5 var(--font-mono); }
.breadcrumbs a { color: #a9c7ce; text-underline-offset: 4px; }
.report-header { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .45fr); gap: 70px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.report-header h1 { font-size: clamp(48px, 7vw, 100px); }
.report-header h1 span { display: block; margin-top: 10px; color: #afbdc2; font-size: .38em; letter-spacing: -.02em; line-height: 1.15; }
.report-intro { max-width: 760px; margin: 28px 0 0; color: #b5c1c6; font-size: 18px; line-height: 1.72; }
.report-status { align-self: start; padding: 22px; border: 1px solid rgba(207, 127, 85, .48); background: rgba(207, 127, 85, .08); }
.report-status strong { display: block; color: var(--copper); font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.report-status p { margin: 10px 0 0; color: #c8b8b0; font-size: 14px; line-height: 1.55; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 54px; padding-top: 54px; }
.report-section + .report-section { margin-top: 42px; }
.report-section h2 { margin-bottom: 19px; font-size: clamp(30px, 3vw, 44px); }
.report-section p { margin: 0; color: #b0bec3; font-size: 17px; line-height: 1.78; }
.report-note { padding: 28px; border-left: 2px solid var(--copper); background: rgba(13, 32, 44, .62); }
.report-media-empty { padding: 28px; border: 1px dashed #486675; color: #98aab2; font-size: 14px; line-height: 1.6; }
.report-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.report-facts div { padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.report-facts dd { margin: 8px 0 0; color: #d5dee0; font-size: 14px; line-height: 1.48; overflow-wrap: normal; word-break: normal; }
.glossary-term { min-height: 25px; margin: -5px 0; padding: 4px 0; border: 0; border-bottom: 1px dotted rgba(131, 189, 204, .78); display: inline-flex; align-items: center; gap: 7px; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: help; }
.glossary-term:hover, .glossary-term[aria-expanded="true"] { color: #c7e5ec; border-bottom-color: var(--copper); }
.glossary-icon { width: 16px; height: 16px; border: 1px solid #60818f; border-radius: 50%; display: inline-grid; place-items: center; color: var(--blue); font: 500 10px/1 var(--font-sans); letter-spacing: 0; text-transform: none; }
.glossary-popover { position: fixed; z-index: 90; width: min(430px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 24px)); padding: 22px; overflow-y: auto; border: 1px solid rgba(131, 189, 204, .7); background: #0a1b25; color: var(--paper); box-shadow: 0 24px 70px rgba(0, 0, 0, .52); }
.glossary-popover[hidden] { display: none; }
.glossary-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.glossary-popover h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.glossary-popover h3 { margin: 21px 0 10px; color: var(--copper-light); font: 500 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.glossary-popover p { margin: 12px 0 0; color: #bdc9cd; font-size: 14px; line-height: 1.62; }
.glossary-popover .glossary-note { padding: 12px 13px; border-left: 2px solid var(--copper); background: rgba(207, 127, 85, .08); color: #d3c6c0; }
.glossary-close { flex: 0 0 34px; width: 34px; height: 34px; margin: -7px -7px 0 0; padding: 0; border: 1px solid var(--line-strong); display: grid; place-items: center; background: transparent; color: #ced9dc; cursor: pointer; font-size: 22px; line-height: 1; }
.glossary-scale { margin: 0; padding: 0; display: grid; gap: 1px; list-style: none; background: rgba(185, 202, 210, .18); }
.glossary-scale li { min-height: 38px; padding: 8px 9px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: start; background: #0b202b; color: #bcc9cd; font-size: 12px; line-height: 1.45; }
.glossary-scale li strong { color: var(--blue); font: 500 13px/1.45 var(--font-mono); }
.glossary-scale li em { grid-column: 2; margin-top: -4px; color: var(--copper-light); font: 500 10px/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.glossary-scale li.is-current { background: rgba(207, 127, 85, .14); box-shadow: inset 2px 0 var(--copper); }
.report-side h2 { margin: 0 0 18px; font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.report-side section + section { margin-top: 34px; }
.report-aliases { margin: 0; color: #a7b6bc; font-size: 14px; line-height: 1.65; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.report-actions a, .report-actions button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line-strong); background: transparent; color: #d8e0e2; cursor: pointer; text-decoration: none; }
.report-actions a:first-child { border-color: var(--copper); }
.report-revision { margin: 45px 0 0; color: #8799a2; font: 400 12px/1.6 var(--font-mono); }

@media (max-width: 1180px) {
  .archive-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .archive-query { grid-column: span 2; }
  .filter-actions { grid-column: 3; grid-row: 2; }
}

@media (max-width: 1100px) {
  :root { --header-height: 72px; }
  .site-header { min-height: var(--header-height); }
  .brand-symbol { font-size: 34px; }
  .menu-button { display: flex; width: 48px; height: 48px; border: 0; background: transparent; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; cursor: pointer; }
  .menu-button span { display: block; width: 27px; height: 1px; background: #d8e0e2; }
  .main-nav { display: none; position: absolute; inset: var(--header-height) 0 auto; padding: 14px 4vw 25px; flex-direction: column; align-items: stretch; gap: 0; background: #07151e; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 15px 0; text-align: left; }
  .main-nav a::after { bottom: 7px; }
  .language-switcher { justify-content: flex-start; margin: 9px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .language-switcher a, .language-switcher span { min-height: 38px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 36px; }
  .observation-preview { grid-template-columns: 35px minmax(0, 1fr) minmax(0, 1fr); }
  .observation-preview .text-link { grid-column: 2 / -1; justify-self: start; }
  .observation-preview .material-tags { position: static; grid-column: 2 / -1; }
  .observatory-section { grid-template-columns: .9fr 1.1fr; gap: 46px; }
  .site-footer { grid-template-columns: 1fr auto auto; }
  .site-footer > p:last-child { grid-column: 2 / -1; justify-self: end; }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .site-header { min-height: var(--header-height); }
  .brand-symbol { font-size: 34px; }
  .menu-button { display: flex; width: 48px; height: 48px; border: 0; background: transparent; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; cursor: pointer; }
  .menu-button span { display: block; width: 27px; height: 1px; background: #d8e0e2; }
  .main-nav { display: none; position: absolute; inset: var(--header-height) 0 auto; padding: 14px 4vw 25px; flex-direction: column; align-items: stretch; gap: 0; background: #07151e; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 15px 0; text-align: left; }
  .main-nav a::after { bottom: 7px; }
  .language-switcher { justify-content: flex-start; margin: 9px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .language-switcher a, .language-switcher span { min-height: 38px; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 70px; }
  .hero-image-wrap { width: min(100%, 560px); min-height: 560px; height: 68vh; margin-left: 0; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .observation-preview { grid-template-columns: 34px minmax(0, 1fr); }
  .observation-data, .observation-preview .material-tags, .observation-preview .text-link { grid-column: 2; }
  .observatory-section { grid-template-columns: minmax(0, 1fr); }
  .documentary-image { width: min(100%, 520px); }
  .telescope-gallery { grid-template-columns: minmax(0, 1fr); }
  .telescope-gallery figcaption { min-height: 0; }
  .site-footer { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .site-footer > p:last-child { grid-column: auto; justify-self: start; }
  .archive-hero { padding-top: 72px; }
  .archive-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-query { grid-column: span 2; }
  .filter-actions { grid-column: auto; grid-row: auto; }
  .observation-record { grid-template-columns: minmax(0, 1fr); }
  .record-date { border-right: 0; border-bottom: 1px solid var(--line); }
  .record-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-header, .report-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .report-status { max-width: 520px; }
  .contact-submit { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 20px; }
  .archive-hero h1 { font-size: clamp(39px, 12vw, 49px); }
  .brand { column-gap: 9px; }
  .brand-name { font-size: 11px; letter-spacing: .11em; }
  .hero, .latest-section, .telescope-section, .contact-section, .archive-hero, .archive-workspace, .legal-main { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(39px, 12vw, 55px); letter-spacing: -.05em; }
  h2 { font-size: clamp(34px, 10vw, 48px); }
  .hero-search { grid-template-columns: 22px minmax(0, 1fr); padding: 11px 14px; }
  .hero-search button { grid-column: 1 / -1; width: 100%; }
  .hero-meta { grid-template-columns: minmax(0, 1fr); }
  .hero-meta li { padding: 17px 0; border-bottom: 1px solid var(--line); }
  .hero-meta li + li { padding-left: 0; border-left: 0; }
  .hero-image-wrap { min-height: 450px; height: 62vh; }
  .hero-image-wrap figcaption { flex-direction: column; gap: 4px; }
  .hero-image-wrap figcaption span:last-child { text-align: left; }
  .observation-preview { gap: 16px; padding: 30px 16px; }
  .observation-data { grid-template-columns: minmax(0, 1fr); }
  .observatory-section { padding: 76px 20px 86px; }
  .documentary-image img { max-height: 520px; }
  .observatory-specs, .spec-list { grid-template-columns: minmax(0, 1fr); }
  .spec-list div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .contact-field-wide { grid-column: auto; }
  .contact-submit button { width: 100%; justify-content: center; }
  .archive-search { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .archive-query { grid-column: auto; }
  .filter-actions { flex-direction: column; }
  .archive-status { align-items: flex-start; flex-direction: column; gap: 8px; padding: 17px; }
  .record-heading { flex-direction: column; }
  .record-meta, .report-facts { grid-template-columns: minmax(0, 1fr); }
  .record-body { padding-left: 18px; padding-right: 18px; }
  .report-main { padding: 48px 20px 84px; }
  .breadcrumbs { margin-bottom: 35px; }
  .report-header h1 { font-size: clamp(44px, 15vw, 64px); }
  .report-actions { flex-direction: column; }
  .report-actions a, .report-actions button { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@page {
  size: A4;
  margin: 15mm;
}

@media print {
  :root { color-scheme: light; }
  body, .report-page { background: #fff; color: #111; }
  .site-header, .site-footer, .report-actions, .skip-link, .noscript-message, .glossary-popover, .glossary-icon { display: none !important; }
  .report-main { max-width: none; padding: 0; }
  .breadcrumbs { margin-bottom: 24px; color: #444; }
  .breadcrumbs a { color: #333; }
  .eyebrow { color: #7a3f2e; }
  .report-header, .report-layout { display: block; border-color: #888; }
  .report-status, .report-note { margin-top: 24px; border-color: #666; background: #f4f4f4; }
  .report-section p, .report-intro, .report-aliases, .report-status p, .report-facts dd { color: #222; }
  .report-media-empty { color: #333; border-color: #777; background: #fff; }
  .report-media-item figcaption { color: #333; }
  .report-revision { color: #444; }
  .report-facts { margin-top: 28px; border-color: #888; }
  .report-facts div { break-inside: avoid; border-color: #999; }
  .report-facts dt { color: #444; }
  .glossary-term { border: 0; padding: 0; color: #111; }
  a { color: #111; text-decoration: none; }
}


/* Observationsrapporter – strukturerad informationsmodell, arbetsversion 2.1 */
.report-header-clean { display: block; }
.report-header-clean > div { max-width: 900px; }
.report-layout { grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); }
.report-primary { min-width: 0; }
.report-side { min-width: 0; }
.report-data-section + .report-data-section { margin-top: 42px; }
.report-data-section > h2 { padding-bottom: 14px; border-bottom: 1px solid rgba(185, 202, 210, .18); }
.report-data-group + .report-data-group { margin-top: 18px; }
.report-data-group h3 { margin: 0; padding: 11px 14px; border: 1px solid var(--line); border-bottom: 0; background: rgba(13, 32, 44, .46); color: var(--copper-light); font: 500 11px/1.35 var(--font-mono); letter-spacing: .085em; text-transform: uppercase; }
.report-data-group .report-facts { border-top: 1px solid var(--line); }
.report-facts div { min-width: 0; }
.report-facts dd { overflow-wrap: normal; word-break: normal; }
.report-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-media-item { margin: 0; }
.report-media-link { display: block; border: 1px solid var(--line); background: #06121b; text-decoration: none; }
.report-media-link img { display: block; width: 100%; height: auto; }
.report-media-item figcaption { margin-top: 10px; color: #98aab2; font-size: 13px; line-height: 1.6; }
.media-lightbox { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(2, 9, 14, .93); }
.media-lightbox[hidden] { display: none; }
.media-lightbox figure { max-width: min(94vw, 1500px); max-height: 90vh; margin: 0; display: grid; gap: 12px; justify-items: center; }
.media-lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.media-lightbox figcaption { color: #c2cdd1; font-size: 14px; line-height: 1.55; text-align: center; }
.media-lightbox-close { position: fixed; top: 20px; right: 20px; width: 44px; height: 44px; border: 1px solid #66818d; background: #07151e; color: #e2e8ea; font-size: 28px; cursor: pointer; }
@media (max-width: 760px) { .report-media-grid { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .report-data-section, .report-data-group, .report-media-item { break-inside: avoid; }
  .report-data-group h3 { color: #333; background: #eee; border-color: #aaa; }
  .media-lightbox { display: none !important; }
}
@media (max-width: 940px) {
  .report-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
.report-data-group .report-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .report-data-group .report-facts > div:last-child:nth-child(odd) { grid-column: auto; }
}


/* Source lists for verified object data */
.report-sources { margin-top: 38px; padding: 24px 26px; border: 1px solid rgba(193, 129, 69, .34); background: rgba(13, 32, 44, .48); }
.report-sources h2 { margin-bottom: 10px; font-size: 24px; }
.report-sources p { font-size: 15px; line-height: 1.6; }
.report-sources ul { margin: 14px 0 0; padding-left: 20px; color: #b0bec3; }
.report-sources li { line-height: 1.55; }
.report-sources li + li { margin-top: 7px; }
.report-sources a { color: var(--copper-light); text-underline-offset: 3px; }
@media print { .report-sources { border-color: #999; background: #f4f4f4; } .report-sources p, .report-sources ul { color: #222; } .report-sources a { color: #222; } }

/* Observationskartor – version 2.3 */
.archive-result-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 26px; flex: 1; }
.archive-view-toggle { display: inline-flex; padding: 3px; border: 1px solid #3d5966; background: #06121b; }
.archive-view-toggle button { min-height: 36px; padding: 7px 14px; border: 0; background: transparent; color: #9fb1b8; font: 500 11px/1 var(--font-mono); letter-spacing: .065em; text-transform: uppercase; cursor: pointer; }
.archive-view-toggle button[aria-pressed="true"] { background: rgba(207, 127, 85, .16); color: var(--copper-light); }
.archive-view-toggle button:focus-visible, .archive-map-marker:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.archive-map-shell { max-width: var(--content); margin: 0 auto; padding: clamp(22px, 3.3vw, 46px); border: 1px solid var(--line); border-top: 0; background: rgba(3, 14, 21, .55); }
.archive-map-shell[hidden] { display: none; }
.archive-map-intro { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(280px, 1.3fr); gap: 48px; align-items: end; margin-bottom: 28px; }
.archive-map-intro h2 { margin-top: 7px; font-size: clamp(34px, 4vw, 54px); }
.archive-map-intro > p { max-width: 680px; margin: 0; color: #aebcc1; font-size: 15px; line-height: 1.7; }
.archive-sky-map { position: relative; overflow: hidden; width: min(100%, 1080px); aspect-ratio: 1 / 1; margin: 0 auto; border: 1px solid #2f4b58; background: var(--night); }
.archive-sky-map > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.archive-map-markers { position: absolute; inset: 0; }
.archive-map-marker { --label-x: 12px; --label-y: -20px; position: absolute; z-index: 2; width: 24px; height: 24px; padding: 0; transform: translate(-50%, -50%); border: 2px solid var(--copper-light); border-radius: 50%; background: rgba(6, 18, 27, .92); box-shadow: 0 0 0 4px rgba(207, 127, 85, .18); color: #eef3f4; cursor: pointer; }
.archive-map-marker::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--copper-light); }
.archive-map-marker-label { position: absolute; left: var(--label-x); top: var(--label-y); min-width: max-content; padding: 4px 7px; border: 1px solid rgba(207, 127, 85, .62); background: rgba(6, 18, 27, .92); color: #e8edef; font: 500 12px/1 var(--font-mono); letter-spacing: .035em; }
.archive-map-marker:hover, .archive-map-marker[aria-current="true"] { border-color: #f1a57b; box-shadow: 0 0 0 6px rgba(207, 127, 85, .27); }
.archive-map-marker[hidden] { display: none; }
.archive-map-key { display: flex; align-items: center; gap: 9px; margin: 13px 0 0; color: #8298a1; font: 400 11px/1.4 var(--font-mono); letter-spacing: .055em; text-transform: uppercase; }
.archive-map-key span { width: 10px; height: 10px; border: 2px solid var(--copper-light); border-radius: 50%; }
.archive-map-shell + .archive-list { border-top: 0; }
.archive-map-shell + .archive-list:not([hidden]) { margin-top: 0; }

.report-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.report-context-grid > .report-section { min-width: 0; margin-top: 0; }
.report-context-grid .report-section h2 { margin-bottom: 14px; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.report-context-grid .report-media-grid { grid-template-columns: minmax(0, 1fr); }
.report-location-map { margin: 0; }
.report-location-map img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border: 1px solid var(--line); background: var(--night); }
.report-location-map figcaption { margin-top: 10px; color: #98aab2; font-size: 13px; line-height: 1.6; }
.report-visibility-note { display: block; margin-bottom: 4px; color: #cfd8db; font-weight: 500; }

@media (max-width: 760px) {
  .archive-status { gap: 16px; }
  .archive-result-summary { width: 100%; flex-direction: column; gap: 7px; }
  .archive-view-toggle { width: 100%; }
  .archive-view-toggle button { flex: 1; }
  .archive-map-shell { padding: 17px; }
  .archive-map-intro { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .archive-sky-map { width: 100%; aspect-ratio: 1 / 1; }
  .archive-sky-map > img { width: 100%; max-width: 100%; height: 100%; position: static; transform: none; }
  .archive-map-markers { width: auto; left: 0; }
  .archive-map-marker-label { font-size: 10px; }
  .report-context-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .archive-view-toggle, .archive-map-shell { display: none !important; }
  .report-context-grid > .report-section,
  .report-location-map { break-inside: avoid; }
  .report-location-map { display: block !important; }
  .report-location-map img { border-color: #888; }
  .report-location-map figcaption { color: #333; }
}

/* Astronomiska tider – version 2.6 */
.astro-tomorrow-section {
  padding: clamp(82px, 7vw, 112px) 4vw clamp(92px, 8vw, 126px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 15%, rgba(36, 84, 107, .18), transparent 32%),
    linear-gradient(145deg, #06121b, #081923 70%, #0a1d27);
}
.astro-tomorrow-heading {
  max-width: var(--content);
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: end;
}
.astro-tomorrow-heading .eyebrow { margin-bottom: 17px; }
.astro-tomorrow-heading > p {
  max-width: 650px;
  margin: 0;
  color: #aab9bf;
  font-size: 16px;
  line-height: 1.72;
}
.astro-tomorrow-panel {
  max-width: var(--content);
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  background: rgba(3, 14, 21, .58);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .14);
}
.astro-timezone-note {
  display: block;
  margin-top: .65em;
  color: #aebdc2;
}

.astro-panel-topline {
  min-height: 62px;
  padding: 14px 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.astro-day-toggle {
  display: inline-flex;
  width: max-content;
  padding: 3px;
  border: 1px solid var(--line-strong);
  background: rgba(3, 14, 21, .55);
}
.astro-day-toggle button {
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a8bac0;
  cursor: pointer;
  font: 500 10px/1.2 var(--font-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: color .18s ease, background-color .18s ease;
}
.astro-day-toggle button:hover { color: #f0eee8; }
.astro-day-toggle button[aria-pressed="true"] {
  background: rgba(210, 126, 83, .18);
  color: var(--copper-light);
}
.astro-day-toggle button:focus-visible {
  outline: 1px solid var(--copper-light);
  outline-offset: 2px;
}
.astro-day-toggle button:disabled { cursor: wait; opacity: .68; }
.astro-panel-date,
.astro-panel-status {
  margin: 0;
  font: 500 12px/1.5 var(--font-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.astro-panel-date { color: var(--copper-light); text-align: center; }
.astro-panel-status { color: #80959e; text-align: right; text-transform: none; letter-spacing: .025em; }
.astro-panel-status[hidden] { display: none; }
.astro-tomorrow-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.16fr) minmax(0, 1.25fr) minmax(0, 1.05fr);
}
.astro-card {
  min-height: 238px;
  padding: clamp(20px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-right: 1px solid var(--line);
  background: rgba(8, 27, 38, .36);
}
.astro-card:last-child { border-right: 0; }
.astro-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.astro-card-heading p,
.astro-phase-copy p {
  margin: 0 0 7px;
  color: #8198a1;
  font: 500 10px/1.35 var(--font-mono);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.astro-card h3,
.astro-phase-copy h3 {
  margin: 0;
  color: #e3e9ea;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.astro-card-symbol {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(131, 189, 204, .34);
  border-radius: 50%;
  color: var(--blue);
}
.astro-sun-symbol::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1px solid var(--copper-light);
  border-radius: 50%;
  background: rgba(224, 146, 104, .16);
  box-shadow: 0 0 17px rgba(224, 146, 104, .2);
}
.astro-moon-symbol::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset -6px 0 0 #d8e1e3;
  transform: translateX(-3px);
}
.astro-dark-symbol { color: var(--copper-light); font-size: 18px; }
.astro-times {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.astro-times-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.astro-times.astro-times-three > div + div { padding-left: 12px; }
.astro-times > div { padding: 19px 0 0; }
.astro-times > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.astro-times dt {
  height: 2.5em;
  min-height: 2.5em;
  display: flex;
  align-items: flex-start;
  color: #8298a1;
  font: 500 10px/1.25 var(--font-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.astro-times dd {
  margin: 9px 0 0;
  color: #f0eee8;
  font: 400 clamp(18px, 1.45vw, 24px)/1.1 var(--font-mono);
  letter-spacing: -.03em;
  white-space: nowrap;
}
.astro-times-three dd { font-size: clamp(18px, 1.45vw, 24px); }
.astro-card-note {
  margin: -15px 0 0;
  color: #adbdc2;
  font-size: 12px;
  line-height: 1.55;
}
.astro-card-note[hidden] { display: none; }
@media (min-width: 1161px) {
  .astro-card:not(.astro-phase-card) h3 { white-space: nowrap; }
}

.astro-phase-card {
  padding-top: 20px;
  padding-bottom: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.3vw, 18px);
  background: rgba(11, 34, 46, .55);
}
.astro-phase-visual { flex: 0 0 128px; display: grid; place-items: center; }
.astro-moon-canvas {
  width: min(128px, 100%);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #0d202c 0 58%, transparent 59%);
}
.astro-phase-copy { flex: 1 1 150px; min-width: 0; }
.astro-phase-copy h3 { font-size: clamp(18px, 1.25vw, 21px); }
.astro-phase-copy strong {
  display: block;
  margin-top: 13px;
  color: var(--copper-light);
  font: 500 13px/1.4 var(--font-mono);
  letter-spacing: .025em;
}
.astro-observing-window {
  padding: clamp(22px, 2.3vw, 32px) clamp(22px, 2.5vw, 36px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(260px, .9fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(210, 126, 83, .09), rgba(11, 34, 46, .5));
}
.astro-window-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.astro-window-heading p {
  margin: 0 0 7px;
  color: #8198a1;
  font: 500 10px/1.35 var(--font-mono);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.astro-window-heading h3 {
  margin: 0;
  color: #e3e9ea;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.astro-window-symbol { color: var(--copper-light); font-size: 18px; }
.astro-window-result {
  display: flex;
  align-items: baseline;
  gap: 20px;
  white-space: nowrap;
}
.astro-window-result strong {
  color: #f0eee8;
  font: 400 clamp(24px, 2.2vw, 34px)/1.15 var(--font-mono);
  letter-spacing: -.04em;
}
.astro-window-result span {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--copper-light);
  font: 500 13px/1.4 var(--font-mono);
  letter-spacing: .025em;
}
.astro-window-detail {
  margin: 0;
  color: #a7b7bc;
  font-size: 13px;
  line-height: 1.6;
}
.astro-planet-section {
  border-top: 1px solid var(--line);
  background: rgba(6, 22, 31, .72);
}
.astro-planet-heading {
  padding: clamp(25px, 2.8vw, 38px) clamp(22px, 2.5vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .65fr);
  gap: 28px;
  align-items: end;
}
.astro-planet-heading > div > p {
  margin: 0 0 8px;
  color: #8198a1;
  font: 500 10px/1.35 var(--font-mono);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.astro-planet-heading h3 {
  max-width: 760px;
  margin: 0;
  color: #e3e9ea;
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.astro-planet-heading > p {
  margin: 0;
  color: #9badb3;
  font-size: 13px;
  line-height: 1.6;
}
.astro-planet-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.astro-planet-table {
  width: 100%;
  min-width: 970px;
  border-collapse: collapse;
  table-layout: fixed;
}
.astro-planet-table th,
.astro-planet-table td {
  padding: 17px clamp(12px, 1.5vw, 22px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.astro-planet-table th:last-child,
.astro-planet-table td:last-child { border-right: 0; }
.astro-planet-table tbody tr:last-child th,
.astro-planet-table tbody tr:last-child td { border-bottom: 0; }
.astro-planet-table thead th {
  padding-top: 12px;
  padding-bottom: 12px;
  color: #8298a1;
  background: rgba(3, 14, 21, .55);
  font: 500 10px/1.35 var(--font-mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.astro-planet-table thead th:nth-child(1) { width: 12%; }
.astro-planet-table thead th:nth-child(2),
.astro-planet-table thead th:nth-child(4) { width: 10%; }
.astro-planet-table thead th:nth-child(3) { width: 13%; }
.astro-planet-table thead th:nth-child(5) { width: 8%; }
.astro-planet-table thead th:nth-child(6) { width: 12%; }
.astro-planet-table thead th:nth-child(7) { width: 11%; }
.astro-planet-table thead th:nth-child(8) { width: 24%; }
.astro-planet-table tbody th {
  color: #e7ecec;
  font-size: 16px;
  font-weight: 400;
}
.astro-planet-table tbody tr:nth-child(even) { background: rgba(14, 39, 51, .25); }
.astro-planet-name,
.astro-planet-primary { display: block; }
.astro-planet-table small {
  display: block;
  margin-top: 4px;
  color: #8198a1;
  font: 500 10px/1.4 var(--font-mono);
  letter-spacing: .035em;
}
.astro-planet-primary {
  color: #dce6e8;
  font: 400 14px/1.4 var(--font-mono);
}
.astro-planet-magnitude .astro-planet-primary { color: var(--copper-light); }
.astro-planet-constellation .astro-planet-primary { font-family: var(--font-sans); }
.astro-planet-observation .astro-planet-primary { font-family: var(--font-sans); font-size: 14px; }
.astro-planet-elongation .astro-planet-primary { color: var(--copper-light); }
.astro-planet-loading td { color: #8198a1; font: 400 12px/1.5 var(--font-mono); }
.astro-planet-note {
  margin: 0;
  padding: 14px clamp(22px, 2.5vw, 36px);
  border-top: 1px solid var(--line);
  color: #8398a1;
  font-size: 11px;
  line-height: 1.6;
}
.astro-panel-note {
  margin: 0;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  color: #8398a1;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 1160px) {
  .astro-tomorrow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .astro-card { border-bottom: 1px solid var(--line); }
  .astro-card:nth-child(2) { border-right: 0; }
  .astro-card:nth-child(n+3) { border-bottom: 0; }
  .astro-observing-window { grid-template-columns: minmax(260px, 1fr) auto; }
  .astro-window-detail { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .astro-tomorrow-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .astro-panel-topline { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 10px; }
  .astro-panel-date { text-align: left; }
  .astro-panel-status { text-align: left; }
  .astro-tomorrow-grid { grid-template-columns: minmax(0, 1fr); }
  .astro-card,
  .astro-card:nth-child(2),
  .astro-card:nth-child(n+3) { min-height: 238px; border-right: 0; border-bottom: 1px solid var(--line); }
  .astro-card:last-child { border-bottom: 0; }
  .astro-phase-card { min-height: 230px; flex-direction: row; }
  .astro-times dd { font-size: 22px; }
  .astro-observing-window { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .astro-window-detail { grid-column: auto; }
  .astro-planet-heading { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .astro-planet-table-wrap { overflow: visible; }
  .astro-planet-table { min-width: 0; table-layout: auto; }
  .astro-planet-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .astro-planet-table,
  .astro-planet-table tbody,
  .astro-planet-table tr { display: block; }
  .astro-planet-table tbody tr { padding: 20px 22px; border-bottom: 1px solid var(--line); }
  .astro-planet-table tbody tr:last-child { border-bottom: 0; }
  .astro-planet-table tbody th,
  .astro-planet-table tbody td {
    display: grid;
    grid-template-columns: minmax(105px, .65fr) minmax(0, 1fr);
    gap: 16px;
    padding: 9px 0;
    border: 0;
  }
  .astro-planet-table tbody th::before,
  .astro-planet-table tbody td::before {
    content: attr(data-label);
    color: #8298a1;
    font: 500 9px/1.45 var(--font-mono);
    letter-spacing: .075em;
    text-transform: uppercase;
  }
  .astro-planet-table tbody th { padding-top: 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
  .astro-planet-table tbody th .astro-planet-name { color: var(--copper-light); }
  .astro-planet-table tbody th small,
  .astro-planet-table tbody td small { grid-column: 2; margin-top: -12px; }
  .astro-planet-loading td { display: block; }
  .astro-planet-loading td::before { content: none; }
}

@media (max-width: 420px) {
  .report-context-grid .report-section h2 { font-size: 22px; }
  .astro-phase-card { flex-direction: column; text-align: center; }
  .astro-phase-visual { flex-basis: auto; }
  .astro-phase-copy { flex-basis: auto; }
  .astro-window-result { align-items: flex-start; flex-direction: column; gap: 8px; white-space: normal; }
  .astro-window-result span { padding-left: 0; border-left: 0; }
}

@media print {
  .astro-tomorrow-section { display: none !important; }
}

/* Observation planning 2.6.15 */
.astro-summary-panel { padding: clamp(22px, 3vw, 34px); }
.astro-summary-panel .astro-timezone-note { margin: 0 0 18px; }
.astro-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.astro-summary-grid > div { min-width: 0; padding: 20px 22px; border-right: 1px solid var(--line); background: rgba(7, 27, 39, .34); }
.astro-summary-grid > div:last-child { border-right: 0; }
.astro-summary-grid span, .planning-weather-grid span { display: block; color: #8298a1; font: 500 10px/1.3 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.astro-summary-grid strong, .planning-weather-grid strong { display: block; margin-top: 9px; color: #f0eee8; font: 400 clamp(18px, 1.45vw, 24px)/1.15 var(--font-mono); }
.astro-summary-grid small, .planning-weather-grid small { display: block; margin-top: 7px; color: #a9bac0; font-size: 12px; line-height: 1.45; }
.astro-summary-action { margin: 20px 0 0; }
.planning-main { width: min(100% - 40px, 1280px); margin: 0 auto; }
.planning-intro { padding: clamp(58px, 8vw, 92px) 0 34px; }
.planning-intro h1 { max-width: 900px; margin: 8px 0 18px; font-size: clamp(38px, 6vw, 72px); line-height: .98; }
.planning-intro > p:last-child { max-width: 860px; color: #b9c6ca; font-size: 17px; line-height: 1.75; }
.planning-section { padding-top: 20px; }
.planning-panel { margin-bottom: 80px; }
.planning-date-row { display: grid; grid-template-columns: auto minmax(210px, 270px) minmax(180px, 1fr); gap: 18px; align-items: end; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.planning-date-field { display: grid; gap: 7px; color: #8298a1; font: 500 10px/1.3 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.planning-date-field input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #35505c; border-radius: 0; color: #f0eee8; background: #071b27; font: 400 15px/1.2 var(--font-mono); color-scheme: dark; }
.planning-date-field input:disabled { opacity: .48; cursor: not-allowed; }
.planning-coverage { justify-self: end; margin: 0 0 10px; color: var(--copper-light); font: 500 12px/1.4 var(--font-mono); }
.planning-date-note { margin: 12px 24px 0; color: #91a6ae; font-size: 12px; }
.planning-status-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px 24px 4px; }
.planning-status-row .astro-panel-date { text-align: left; }
.planning-inline-status { margin: 14px 0 0; color: #91a6ae; font: 500 12px/1.5 var(--font-mono); }
.planning-weather-section, .planning-constellation-section { padding: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.planning-weather-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 22px; border: 1px solid var(--line); }
.planning-weather-grid > div { padding: 20px; border-right: 1px solid var(--line); background: rgba(7, 27, 39, .28); }
.planning-weather-grid > div:last-child { border-right: 0; }
.planning-empty-message { margin: 20px 0 0; padding: 18px 20px; border: 1px solid var(--line); color: #b7c5ca; background: rgba(7, 27, 39, .3); }
.planning-constellation-table { min-width: 760px; }
.planning-constellation-table th:first-child { min-width: 190px; }

@media (max-width: 900px) {
  .astro-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .astro-summary-grid > div:nth-child(2) { border-right: 0; }
  .astro-summary-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .planning-weather-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planning-weather-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .planning-weather-grid > div:nth-child(even) { border-right: 0; }
  .planning-weather-grid > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .planning-date-row { grid-template-columns: 1fr 1fr; }
  .planning-coverage { grid-column: 1 / -1; justify-self: start; margin: 0; }
}
@media (max-width: 640px) {
  .planning-main { width: min(100% - 24px, 1280px); }
  .planning-date-row, .planning-status-row { grid-template-columns: 1fr; }
  .planning-date-row { align-items: stretch; }
  .planning-status-row .astro-panel-status { text-align: left; }
  .planning-weather-section, .planning-constellation-section { padding: 26px 18px; }
  .astro-summary-grid, .planning-weather-grid { grid-template-columns: 1fr; }
  .astro-summary-grid > div, .planning-weather-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .astro-summary-grid > div:last-child, .planning-weather-grid > div:last-child { border-bottom: 0; }
  .planning-constellation-table { min-width: 0; }
}

/* 2.6.16 consistency correction */
@media (min-width: 721px) {
  .report-data-group .report-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-data-group .report-facts dd { font-size: 14px; overflow-wrap: normal; word-break: normal; }
  .report-data-group .report-facts dt,
  .report-data-group .glossary-term { overflow-wrap: normal; word-break: normal; }
}

/* Visual QA corrections 2.6.17 */
.planning-panel > .astro-timezone-note { margin: 8px 24px 16px; }
.planning-constellation-table-wrap[hidden] { display: none !important; }
@media (max-width: 1160px) {
  .astro-tomorrow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .astro-card:not(.astro-phase-card) h3 { white-space: normal; }
}
@media (max-width: 760px) {
  .planning-panel > .astro-timezone-note { margin: 8px 18px 14px; }
  .astro-phase-visual { flex-basis: 118px; }
  .astro-moon-canvas { width: min(118px, 100%); }
}


/* Total cloud-cover forecast 2.6.24 */
.astro-summary-cloud { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 14px 22px; align-items: baseline; padding: 14px 22px; border: 1px solid var(--line); border-bottom: 0; background: rgba(7, 27, 39, .34); }
.astro-summary-cloud span, .planning-cloud-heading span { color: #8298a1; font: 500 10px/1.3 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.astro-summary-cloud strong { color: #f0eee8; font: 400 18px/1.15 var(--font-mono); white-space: nowrap; }
.astro-summary-cloud small { color: #a9bac0; font-size: 12px; line-height: 1.45; }
.planning-cloud-card { margin-top: 22px; border: 1px solid var(--line); background: rgba(7, 27, 39, .28); }
.planning-cloud-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding: 18px 20px 16px; }
.planning-cloud-heading small { display: block; margin-top: 6px; color: #a9bac0; font-size: 12px; line-height: 1.45; }
.planning-cloud-heading > strong { color: #f0eee8; font: 400 clamp(20px, 1.6vw, 26px)/1.1 var(--font-mono); white-space: nowrap; }
.planning-cloud-series { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(74px, 1fr); overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: thin; }
.planning-cloud-series.is-empty { display: block; }
.planning-cloud-point { min-width: 0; padding: 14px 10px 13px; border-right: 1px solid var(--line); text-align: center; }
.planning-cloud-point:last-child { border-right: 0; }
.planning-cloud-point time { display: block; min-height: 1.35em; color: #91a6ae; font: 500 11px/1.35 var(--font-mono); white-space: nowrap; }
.planning-cloud-point strong { display: block; margin-top: 7px; color: #f0eee8; font: 400 18px/1.15 var(--font-mono); white-space: nowrap; }
.planning-cloud-meter { display: block; height: 3px; margin-top: 10px; background: rgba(130, 152, 161, .18); }
.planning-cloud-meter i { display: block; height: 100%; background: var(--copper-light); }
.planning-cloud-empty { grid-column: 1 / -1; margin: 0; padding: 16px 20px; color: #a9bac0; font-size: 13px; }
@media (max-width: 640px) {
  .astro-summary-cloud { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .astro-summary-cloud small { grid-column: 1 / -1; }
  .planning-cloud-heading { grid-template-columns: 1fr; gap: 10px; }
  .planning-cloud-heading > strong { justify-self: start; }
  .planning-cloud-series { grid-auto-columns: minmax(78px, 1fr); }
}


/* Observing opportunity 2.6.26 */
.astro-summary-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-bottom:0}.astro-summary-highlight{min-width:0;padding:16px 22px;border-right:1px solid var(--line);background:rgba(7,27,39,.34)}.astro-summary-highlight:last-child{border-right:0}.astro-summary-highlight>span,.planning-opportunity-heading p{display:block;margin:0;color:#8298a1;font:500 10px/1.3 var(--font-mono);letter-spacing:.09em;text-transform:uppercase}.astro-summary-highlight>strong{display:block;margin-top:7px;color:#f0eee8;font:400 18px/1.15 var(--font-mono)}.astro-summary-highlight>small{display:block;margin-top:6px;color:#a9bac0;font-size:12px;line-height:1.45}.planning-opportunity{display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(280px,1fr);gap:clamp(24px,3vw,48px);align-items:center;padding:18px clamp(22px,2.5vw,36px);border-top:1px solid var(--line);background:rgba(7,27,39,.34)}.planning-opportunity-heading h3{margin:5px 0 0;color:#e3e9ea;font-size:clamp(18px,1.45vw,22px);font-weight:400;line-height:1.2;letter-spacing:-.02em}.planning-opportunity>strong{color:var(--copper-light);font:500 clamp(17px,1.3vw,21px)/1.2 var(--font-mono);white-space:nowrap}.planning-opportunity>p{margin:0;color:#a9bac0;font-size:12px;line-height:1.55}@media(max-width:900px){.planning-opportunity{grid-template-columns:minmax(220px,1fr) auto;gap:14px 24px}.planning-opportunity>p{grid-column:1/-1}}@media(max-width:640px){.astro-summary-highlights{grid-template-columns:1fr}.astro-summary-highlight{border-right:0;border-bottom:1px solid var(--line)}.astro-summary-highlight:last-child{border-bottom:0}.planning-opportunity{grid-template-columns:1fr;gap:10px;padding:18px}.planning-opportunity>strong{white-space:normal}}


/* Weather diagnostics and precipitation 2.6.28 */
.planning-weather-source { margin-top: 8px; }


/* 2.6.31: keep the temperature range and unit together in the five-column weather summary. */
.planning-weather-grid strong[data-planning-value="temperature"] {
  white-space: nowrap;
  font-size: clamp(17px, 1.25vw, 21px);
}


/* 2.6.33 – samlad sida för observatorium och instrument */
.observatory-page-hero {
  padding: clamp(64px, 7vw, 104px) 4vw 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .72fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  background: radial-gradient(circle at 18% 18%, rgba(36, 84, 107, .24), transparent 34%), linear-gradient(135deg, var(--night), #071824 72%, #0b1b24);
  border-bottom: 1px solid var(--line);
}
.observatory-page-hero-copy { max-width: 820px; }
.observatory-page-hero h1 { font-size: clamp(50px, 6.5vw, 96px); }
.observatory-page-lead { max-width: 760px; margin: 30px 0 0; color: #bcc8cc; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.65; }
.observatory-page-hero .documentary-image { width: min(100%, 590px); margin-left: auto; }
.observatory-page-hero .documentary-image img { max-height: 650px; }
.observatory-page-index {
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: #081720;
}
.observatory-page-index nav {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.observatory-page-index a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 0 25px;
  border-left: 1px solid var(--line);
  color: #b8c6cb;
  font: 500 12px/1.3 var(--font-mono);
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.observatory-page-index a:last-child { border-right: 1px solid var(--line); }
.observatory-page-index a:hover, .observatory-page-index a:focus-visible { color: #fff; background: rgba(131, 189, 204, .07); }
.observatory-page-section { padding: 108px 4vw 120px; border-bottom: 1px solid var(--line); }
.observatory-page-section.is-deep { background: var(--panel-deep); }
.observatory-page-section.is-blue { background: #0a1d28; }
.observatory-page-inner { max-width: var(--content); margin: 0 auto; }
.observatory-page-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .72fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.observatory-page-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.observatory-page-heading h2 { max-width: 850px; }
.observatory-page-heading h3 { margin: 0; font-size: clamp(30px, 3.1vw, 48px); font-weight: 300; line-height: 1.08; letter-spacing: -.035em; }
.observatory-page-heading h3 span { color: var(--blue); }
.observatory-feature-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}
.observatory-feature-grid.reverse { grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); }
.observatory-feature-grid.reverse .observatory-feature-copy { order: 1; }
.observatory-feature-grid.reverse .instrument-figure { order: 2; }
.instrument-figure { margin: 0; border: 1px solid var(--line); background: #02090d; }
.instrument-figure picture { display: block; }
.instrument-figure img { width: 100%; max-height: 720px; object-fit: contain; object-position: center; }
.instrument-figure figcaption { padding: 17px 20px; border-top: 1px solid var(--line); background: #07151e; color: #a9b8be; font-size: 13px; line-height: 1.55; }
.instrument-figure figcaption strong { display: block; margin-bottom: 5px; color: #dce5e7; font-weight: 500; }
.observatory-feature-copy > p { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.74; }
.observatory-page-section .observatory-specs,
.observatory-page-section .spec-list { margin-top: 26px; }
.observatory-facts-title { margin: 0 0 18px; color: var(--copper); font: 500 12px/1.5 var(--font-mono); letter-spacing: .15em; text-transform: uppercase; }
.mirror-panel {
  margin-top: 72px;
  padding: clamp(30px, 4.5vw, 58px);
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr);
  gap: clamp(36px, 6vw, 84px);
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 0 0, rgba(131, 189, 204, .09), transparent 34%), #081922;
}
.mirror-panel-copy h3 { margin: 0 0 23px; font-size: clamp(32px, 3.4vw, 52px); font-weight: 300; line-height: 1.06; letter-spacing: -.035em; }
.mirror-panel-copy p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.mirror-panel .spec-list { margin: 0; }
.observatory-page-note { max-width: var(--content); margin: 0 auto; padding: 22px 4vw; color: #8fa2aa; font-size: 13px; line-height: 1.65; }

@media (max-width: 1000px) {
  .observatory-page-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); gap: 42px; }
  .observatory-page-heading { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .observatory-feature-grid, .observatory-feature-grid.reverse { grid-template-columns: minmax(0, 1fr); }
  .observatory-feature-grid.reverse .observatory-feature-copy, .observatory-feature-grid.reverse .instrument-figure { order: initial; }
  .instrument-figure { width: min(100%, 680px); }
  .mirror-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .observatory-page-hero { grid-template-columns: minmax(0, 1fr); padding: 70px 20px 62px; }
  .observatory-page-hero .documentary-image { width: min(100%, 560px); margin-left: 0; }
  .observatory-page-index { padding: 0 20px; }
  .observatory-page-index nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); }
  .observatory-page-index a { min-height: 54px; padding: 0 14px; border-left: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .observatory-page-section { padding: 78px 20px 88px; }
  .mirror-panel { margin-top: 52px; padding: 26px 20px; }
}
@media (max-width: 460px) {
  .observatory-page-index nav { grid-template-columns: minmax(0, 1fr); }
}


/* 2.6.34 – Observatorium som landningssida med separata tekniska undersidor */
.observatory-landing .observatory-page-hero {
  padding-bottom: clamp(64px, 7vw, 92px);
}
.observatory-entry-section {
  padding: clamp(72px, 8vw, 112px) 4vw clamp(88px, 9vw, 128px);
  border-bottom: 1px solid var(--line);
  background: var(--panel-deep);
}
.observatory-entry-inner {
  max-width: var(--content);
  margin: 0 auto;
}
.observatory-entry-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}
.observatory-entry-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.observatory-entry-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.observatory-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}
.observatory-entry-card {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(250px, 37vw) auto;
  max-height: 690px;
  color: inherit;
  text-decoration: none;
  background: #07151e;
  transition: background-color .18s ease, transform .18s ease;
}
.observatory-entry-card:hover,
.observatory-entry-card:focus-visible {
  background: #0a1c27;
}
.observatory-entry-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #02090d;
}
.observatory-entry-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 13, 19, .62));
  pointer-events: none;
}
.observatory-entry-media picture,
.observatory-entry-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.observatory-entry-media img {
  object-fit: cover;
  transition: transform .45s ease;
}
.observatory-entry-card:hover .observatory-entry-media img,
.observatory-entry-card:focus-visible .observatory-entry-media img {
  transform: scale(1.018);
}
.observatory-entry-card.is-mirror .observatory-entry-media img { object-position: center 48%; }
.observatory-entry-card.is-refractor .observatory-entry-media img { object-position: 71% center; }
.observatory-entry-copy {
  padding: clamp(24px, 3vw, 34px);
  min-height: 190px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
}
.observatory-entry-copy .eyebrow { margin-bottom: 9px; }
.observatory-entry-copy h3 {
  margin: 0;
  color: #eef2f2;
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.observatory-entry-copy p:not(.eyebrow) {
  margin: 15px 0 0;
  color: #aebdc2;
  font-size: 14px;
  line-height: 1.65;
}
.observatory-entry-link {
  margin-top: 24px;
  color: var(--copper-light);
  font: 500 11px/1.3 var(--font-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.observatory-detail-page main { overflow: hidden; }
.observatory-detail-hero {
  padding: clamp(52px, 6vw, 86px) 4vw clamp(64px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 18% 18%, rgba(36, 84, 107, .24), transparent 34%), linear-gradient(135deg, var(--night), #071824 72%, #0b1b24);
}
.observatory-detail-copy { max-width: 840px; }
.observatory-backlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: #94a9b1;
  font: 500 11px/1.3 var(--font-mono);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.observatory-backlink:hover,
.observatory-backlink:focus-visible { color: #fff; }
.observatory-detail-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.1vw, 88px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.05em;
}
.observatory-detail-lead {
  max-width: 780px;
  margin: 28px 0 0;
  color: #bcc8cc;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.65;
}
.observatory-detail-hero figure {
  width: min(100%, 620px);
  margin: 0 0 0 auto;
  border: 1px solid var(--line-strong);
  background: #02090d;
}
.observatory-detail-hero picture { display: block; }
.observatory-detail-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.observatory-detail-hero.is-portrait img { object-position: center 42%; }
.observatory-detail-hero.is-newton img {
  aspect-ratio: 4 / 5;
  object-position: center 26%;
}
.observatory-detail-hero.is-refractor img { object-position: 72% center; }
.observatory-detail-hero figcaption {
  padding: 14px 17px;
  border-top: 1px solid var(--line);
  color: #9fb0b6;
  font-size: 12px;
  line-height: 1.55;
}
.observatory-detail-facts {
  padding: clamp(62px, 7vw, 92px) 4vw;
  border-bottom: 1px solid var(--line);
  background: #081720;
}
.observatory-detail-facts-inner,
.observatory-tech-inner {
  max-width: var(--content);
  margin: 0 auto;
}
.observatory-detail-facts .observatory-facts-title { margin-bottom: 21px; }
.observatory-detail-facts .observatory-specs { margin-top: 0; }
.observatory-tech-section {
  padding: clamp(76px, 8vw, 112px) 4vw;
  border-bottom: 1px solid var(--line);
}
.observatory-tech-section.is-deep { background: var(--panel-deep); }
.observatory-tech-section.is-blue { background: #0a1d28; }
.observatory-tech-block {
  display: grid;
  grid-template-columns: minmax(260px, .52fr) minmax(0, 1.18fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: start;
}
.observatory-tech-block + .observatory-tech-block {
  margin-top: clamp(68px, 8vw, 110px);
  padding-top: clamp(58px, 7vw, 92px);
  border-top: 1px solid var(--line);
}
.observatory-tech-title .eyebrow { margin-bottom: 12px; }
.observatory-tech-title h2,
.observatory-tech-title h3 {
  margin: 0;
  color: #eef2f2;
  font-size: clamp(30px, 3.35vw, 50px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.observatory-tech-copy {
  max-width: 800px;
  color: #b7c4c8;
  font-size: 17px;
  line-height: 1.78;
}
.observatory-tech-copy p { margin: 0 0 1.25em; }
.observatory-tech-copy p:last-child { margin-bottom: 0; }
.observatory-tech-copy strong { color: #e4eaeb; font-weight: 500; }
.observatory-tech-copy .spec-list { margin-top: 30px; }
.observatory-inline-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--copper-light);
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.observatory-inline-link:hover,
.observatory-inline-link:focus-visible { color: #fff; }
.technical-figure {
  margin: 34px 0 0;
  border: 1px solid var(--line-strong);
  background: #050e14;
}
.technical-figure.is-light { background: #fff; }
.technical-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.technical-figure figcaption {
  padding: 14px 17px;
  border-top: 1px solid var(--line);
  background: #07151e;
  color: #9fb0b6;
  font-size: 12px;
  line-height: 1.55;
}
.observatory-detail-endnav {
  padding: 28px 4vw;
  border-bottom: 1px solid var(--line);
  background: #06131c;
}
.observatory-detail-endnav nav {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
}
.observatory-detail-endnav a {
  color: #9fb0b6;
  font: 500 11px/1.5 var(--font-mono);
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.observatory-detail-endnav a[aria-current="page"] { color: var(--copper-light); }
.observatory-detail-endnav a:hover,
.observatory-detail-endnav a:focus-visible { color: #fff; }

@media (max-width: 1000px) {
  .observatory-entry-intro { grid-template-columns: minmax(0, 1fr); }
  .observatory-detail-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); gap: 42px; }
  .observatory-tech-block { grid-template-columns: minmax(220px, .5fr) minmax(0, 1fr); gap: 42px; }
}
@media (max-width: 760px) {
  .observatory-entry-section { padding-left: 20px; padding-right: 20px; }
  .observatory-entry-grid { grid-template-columns: minmax(0, 1fr); }
  .observatory-entry-card { grid-template-rows: minmax(245px, 65vw) auto; }
  .observatory-entry-copy { min-height: 0; }
  .observatory-detail-hero { grid-template-columns: minmax(0, 1fr); padding: 58px 20px 64px; }
  .observatory-detail-hero figure { width: 100%; margin-left: 0; }
  .observatory-detail-facts, .observatory-tech-section, .observatory-detail-endnav { padding-left: 20px; padding-right: 20px; }
  .observatory-tech-block { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .observatory-tech-block + .observatory-tech-block { margin-top: 62px; padding-top: 54px; }
}


/* 2.6.38: canonical shared stylesheet; cache version is supplied via ?v=2.6.38. */
