
/* ---------------------------------------------------------------------------
   Sky palette. script/sky.js works out how high the sun is where the visitor
   is and sets, on <html>:
     data-sky-mode  "light" (sun up) or "dark" (sun down)
     --sky-level    1 → 0 within that mode
                    light: 1 = high sun (white page), 0 = sun on the horizon (warm paper)
                    dark:  1 = just after sunset (warm umber, the paper gone dark), 0 = deep night (near black)
   Every colour below is a blend between the two ends of the current mode, so
   the whole site drifts through levels of light and dark over the day.
   Without JavaScript the page is simply the bright daytime one.
   --------------------------------------------------------------------------- */
:root {
    --sky-level: 1;
    --k: calc(var(--sky-level) * 100%);
    color-scheme: light;
    --bg:          color-mix(in oklab, #ffffff var(--k), #f5ecdc);
    --fg:          color-mix(in oklab, #000000 var(--k), #1d170e);
    --fg-strong:   color-mix(in oklab, #111111 var(--k), #1d170e);
    --fg-soft:     color-mix(in oklab, #333333 var(--k), #3b3122);
    --muted:       color-mix(in oklab, #666666 var(--k), #6e6250);
    --line:        color-mix(in oklab, #dddddd var(--k), #d9cab0);
    --line-soft:   color-mix(in oklab, #e8e8e8 var(--k), #e2d5bd);
    --line-strong: color-mix(in oklab, #999999 var(--k), #9c8c72);
    --panel:       color-mix(in oklab, #f8f8f8 var(--k), #eee3cf);
    --panel-2:     color-mix(in oklab, #eeeeee var(--k), #e5d8c0);
    --card:        color-mix(in oklab, #ffffff var(--k), #faf4e8);
    --link:        color-mix(in oklab, #344478 var(--k), #3d3f7a);
    --link-hover:  color-mix(in oklab, #1d4ed8 var(--k), #2a3fae);
    --red:         color-mix(in oklab, #861221 var(--k), #8a2418);
    --mark:        hsla(50, 100%, 50%, 0.18);
    --icon-filter: none;
}
:root[data-sky-mode="dark"] {
    color-scheme: dark;
    --bg:          color-mix(in oklab, #2a231d var(--k), #0c0a08);
    --fg:          color-mix(in oklab, #ece6dc var(--k), #d4cec4);
    --fg-strong:   color-mix(in oklab, #ffffff var(--k), #f0ebe2);
    --fg-soft:     color-mix(in oklab, #dcd4c8 var(--k), #bfb9ae);
    --muted:       color-mix(in oklab, #b5a998 var(--k), #92897c);
    --line:        color-mix(in oklab, #4d4237 var(--k), #2c2620);
    --line-soft:   color-mix(in oklab, #433a30 var(--k), #231e19);
    --line-strong: color-mix(in oklab, #8f806d var(--k), #645a4d);
    --panel:       color-mix(in oklab, #332b24 var(--k), #14110e);
    --panel-2:     color-mix(in oklab, #3e342b var(--k), #1d1915);
    --card:        color-mix(in oklab, #3a3129 var(--k), #1a1612);
    --link:        color-mix(in oklab, #e9c999 var(--k), #d9b888);
    --link-hover:  color-mix(in oklab, #f8e4c4 var(--k), #edd3a8);
    --red:         color-mix(in oklab, #ffa397 var(--k), #ee8b80);
    --mark:        hsla(50, 100%, 60%, 0.22);
    --icon-filter: invert(1) brightness(0.9);
}
/* the seed head (script/background.js) sits behind everything, on black */
/* the catalogue's circles: a window onto a canvas slightly larger than the page (room for the blur) */
#circles_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}
#circles_background canvas {
    position: absolute;
    left: -110px;
    top: -110px;
}
body.seed-page {
    background: #fff;
}
:root[data-sky-mode="dark"] body.seed-page {
    background: #000;
}
#seeds_background {
    position: absolute;      /* fixed to the page, so it scrolls with it; the script sets its height */
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}
html, body {
    transition: background-color 1.5s ease, color 1.5s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    color: var(--fg);
    font-family: arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
body {
    background: var(--bg);
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    list-style-type: none;
    padding-left: 0;
}
mark {
    background-color: var(--mark);
    color: inherit;
}
a.general_link:link,
a.general_link:visited,
a.general_link:active {
    text-decoration: none;
    color: var(--link);
}
a.general_link:hover {
    text-decoration: none;
    color: var(--link-hover);
}
span.gray_value {
    color: var(--muted);
}
ul.padded_list li {
    padding-bottom: 10px;
}
ul.padded_list li:last-child {
    padding-bottom: 0;
}

.rounded_box {
    padding: 20px;   /* side padding added 2026-11-20: with a visible box colour, text was touching the box's edge */
    border-radius: 8px;
    background: var(--panel);
    margin-bottom: 20px;
    font-size: 15px;
}
.rounded_box_heading {
    display: block;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}
