/* Wygląd widoków jest w stylach inline (z makiet). Tu tylko to, czego inline się nie da. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/space-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/space-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0B0D10; color: #F2F4F7; font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.4; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

a { color: #A9B4C0; text-decoration: none; transition: color 120ms ease-out; }
a:hover { color: #F2F4F7; }
button { font: inherit; color: inherit; }
.btn { transition: background-color 120ms ease-out; }
.btn:hover:not([aria-pressed="true"]) { background-color: #1A2027 !important; }
.cta:hover { color: #0B0D10; }
:focus-visible { outline: 2px solid #FFD60A; outline-offset: 2px; }

.plot { cursor: crosshair; touch-action: pan-y; }
.plot:focus-visible { outline-offset: 4px; }
.cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: #F2F4F7; pointer-events: none; }
.tip { position: absolute; top: 12px; z-index: 2; width: 216px; background: #1A2027; border: 1px solid #66717F; border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; pointer-events: none; }
.tip-head { font-family: "JetBrains Mono", monospace; font-weight: 700; color: #F2F4F7; }
.tip-row { display: flex; justify-content: space-between; gap: 12px; }
.tip-row > span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #A9B4C0; }
.tip-row > span:first-child > i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tip-row > span:last-child { font-family: "JetBrains Mono", monospace; color: #F2F4F7; white-space: nowrap; }
.tip-total { border-top: 1px solid #66717F; padding-top: 6px; }
.tip-total > span:first-child { color: #F2F4F7; font-weight: 600; }
.tip-total > span:last-child { font-weight: 700; }
.float-tip { position: fixed; z-index: 10; max-width: 280px; background: #1A2027; border: 1px solid #66717F; border-radius: 8px; padding: 8px 12px; font-size: 13px; color: #F2F4F7; pointer-events: none; }
[data-tip]:hover, [data-tip]:focus-visible { outline: 2px solid #F2F4F7; outline-offset: -1px; }
.bar[data-tip]:hover, .bar[data-tip]:focus-visible { outline: none; background: #1A2027 !important; }
[data-swap][aria-busy="true"] { opacity: .6; }

.dt { width: 100%; border-collapse: collapse; font-size: 14px; }
.dt th { text-align: left; font-weight: 500; font-size: 13px; color: #A9B4C0; padding: 0 12px 10px 0; }
.dt td { padding: 10px 12px 10px 0; border-top: 1px solid #262E38; }
.dt .r { text-align: right; }
.dt td.r { font-family: "JetBrains Mono", monospace; white-space: nowrap; }

.osm-dark { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.4); }
.leaflet-container { background: #12161B !important; font-family: inherit !important; }
.leaflet-control-attribution { background: rgba(11, 13, 16, .7) !important; color: #A9B4C0 !important; font-size: 10px; }
.leaflet-control-attribution a { color: #A9B4C0 !important; }

@media (prefers-reduced-motion: reduce) { a, .btn { transition: none; } }
