/* A browser-local colour preference. The unselected site keeps its original palette. */
[data-seehof-commandbar] .seehof-color-brand-group{display:flex;align-items:center;gap:15px;flex:0 0 auto;min-width:0}
[data-seehof-commandbar] .seehof-color-home[data-nav-brand]{min-width:0!important;flex:0 1 auto!important}
[data-seehof-commandbar] .seehof-color-open{display:grid;place-items:center;flex:none;width:48px;height:48px;min-height:48px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;box-shadow:none;touch-action:manipulation}
[data-seehof-commandbar] .seehof-color-open:hover .seehof-circle-mark{box-shadow:0 0 0 5px #7867b618}
[data-seehof-commandbar] .seehof-color-open:focus-visible{outline:2px solid #7867b6!important;outline-offset:3px!important}
#seehof-color-panel[hidden]{display:none!important}
body:has(#seehof-color-panel:not([hidden]))>:is(.seehof-magic-canvas,.seehof-magic-rainbow){display:none!important}
#seehof-color-panel{position:fixed;z-index:1100;box-sizing:border-box;width:344px;max-width:calc(100vw - 24px);margin:0;padding:22px;border:1px solid #d9dedb;border-radius:20px;background:#fff;color:#263833;box-shadow:0 20px 70px #142c332b;overflow:auto;overscroll-behavior:contain;font:400 14px/1.5 Jost,system-ui,sans-serif;text-align:left;color-scheme:light;--seehof-color-ui-accent:#7867b6;--seehof-color-ui-ink:#5b488e}
#seehof-color-panel *{box-sizing:border-box}
#seehof-color-panel .seehof-color-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#seehof-color-panel .seehof-color-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
#seehof-color-panel h2{font:500 22px/1.2 Jost,system-ui,sans-serif;letter-spacing:-.02em;color:#263833;margin:0;padding:0}
#seehof-color-panel p{font:inherit;margin:8px 0 0;color:#55645f}
#seehof-color-panel button{font:inherit;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal}
#seehof-color-close{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:0;border:0;border-radius:50%;color:#51625b;background:#f1f4f1;font-size:24px!important;line-height:1}
#seehof-color-panel .seehof-color-wheel{position:relative;display:block;width:196px;height:196px;margin:22px auto;border-radius:50%;border:4px solid white;outline:1px solid #d9dedb;background:radial-gradient(circle,#fff 0%,#ffffff00 70%),conic-gradient(from 90deg,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);touch-action:none;cursor:crosshair;box-shadow:0 0 0 4px #7867b610}
#seehof-color-panel .seehof-color-marker{position:absolute;left:50%;top:50%;width:16px;height:16px;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #1a292977;pointer-events:none;background:var(--seehof-color-ui-accent)}
#seehof-color-panel .seehof-color-presets{display:flex;justify-content:space-between;gap:10px;margin:0 0 18px}
#seehof-color-panel .seehof-color-presets button{position:relative;width:36px;height:36px;flex:none;padding:0;border:4px solid white;border-radius:50%;outline:1px solid #d8dfda;background:var(--seehof-swatch)}
#seehof-color-panel .seehof-color-presets button[aria-pressed=true]{outline:2px solid #354d42;outline-offset:2px}
#seehof-color-panel .seehof-color-control{display:grid;grid-template-columns:76px minmax(0,1fr) 32px;align-items:center;gap:9px;color:#52615c;font:inherit;margin:14px 0}
#seehof-color-panel input[type=range]{display:block;appearance:auto;-webkit-appearance:auto;min-width:0;width:100%;height:24px;margin:0;padding:0;border:0;background:transparent;accent-color:var(--seehof-color-ui-ink);cursor:pointer}
#seehof-color-panel output{font-size:11px;color:#52615c;text-align:right;font-variant-numeric:tabular-nums}
#seehof-color-panel .seehof-color-hex-row{display:flex;align-items:center;gap:10px;border-top:1px solid #e1e6e2;margin-top:20px;padding-top:18px}
#seehof-color-panel .seehof-color-hex-row label{font:inherit;color:#52615c;margin-right:auto}
#seehof-color-hex{font:400 14px/1.4 ui-monospace,monospace;min-width:0;width:108px;max-width:100%;height:38px;padding:8px 10px;border:1px solid #cdd7d0;border-radius:7px;background:#fff;color:#263833;box-shadow:none}
#seehof-color-hex[aria-invalid=true]{border-color:#a63b37}
#seehof-color-panel .seehof-color-preview{display:block;width:30px;height:30px;flex:none;border:3px solid white;outline:1px solid #d8dfda;border-radius:5px;background:var(--seehof-color-ui-accent)}
#seehof-color-panel #seehof-color-error{font-size:12px;color:#9b302e;margin:8px 0 0}
#seehof-color-error:empty{display:none}
#seehof-color-reset{display:block;min-height:42px;padding:8px 0;margin:6px 0 0;border:0;background:transparent;color:var(--seehof-color-ui-ink);font-weight:500!important;text-decoration:underline;text-underline-offset:4px}
#seehof-color-panel .seehof-color-note{font-size:12px;line-height:1.5;margin:2px 0 0;color:#637169}
#seehof-color-panel :focus-visible{outline:3px solid #344f44;outline-offset:3px}
@media(max-width:480px){[data-seehof-commandbar] .seehof-color-brand-group{gap:10px}[data-seehof-commandbar] .seehof-color-open{width:44px;height:44px;min-height:44px}#seehof-color-panel{padding:20px}}
@media(max-width:360px){[data-seehof-commandbar] .seehof-color-brand-group{gap:7px}[data-seehof-commandbar] .seehof-color-home .seehof-brand-type strong{font-size:20px}[data-seehof-commandbar] .seehof-color-home .seehof-brand-type small{font-size:7px}[data-seehof-commandbar] [data-nav-shell]{padding-inline:16px!important}#seehof-color-panel .seehof-color-presets{gap:6px}#seehof-color-panel .seehof-color-presets button{width:32px;height:32px}}
/* Map the visitor's colour to light paper, legible ink and deep surfaces.
   Photographs, films, document scans, the rainbow ring and hero image stay intact. */
html[data-seehof-color=custom]{--sh-paper:var(--seehof-user-subtle);--sh-ink:var(--seehof-user-ink);--sh-muted:var(--seehof-user-ink);--sh-line:var(--seehof-user-line);--sh-gold:var(--seehof-user-accent);--sh-violet:var(--seehof-user-ink);--cream:var(--seehof-user-subtle);--sand:var(--seehof-user-soft);--ink:var(--seehof-user-ink);--ink-soft:var(--seehof-user-ink);--line:var(--seehof-user-line);--sun:var(--seehof-user-accent);--sun-soft:var(--seehof-user-soft);--gold:var(--seehof-user-accent);--sky-deep:var(--seehof-user-deep);--forest:var(--seehof-user-deep);--leaf-deep:var(--seehof-user-ink)}
html[data-seehof-color=custom] body{background:var(--seehof-user-subtle);color:var(--seehof-user-ink)}
html[data-seehof-color=custom] :is(.seehof-topic-main,.sh-place-main,.seehof-home-idea,.seehof-home-places,.seehof-home-documents,.auction-documents){background:var(--seehof-user-subtle)!important;color:var(--seehof-user-ink)!important;--place-accent:var(--seehof-user-ink);--place-soft:var(--seehof-user-soft)}
html[data-seehof-color=custom] :is(.seehof-home-cannabis,.sh-place-next,.sh-place-film){background:var(--seehof-user-soft)!important;color:var(--seehof-user-ink)!important}
html[data-seehof-color=custom] :is(.seehof-place-card,.dga-project-card,.auction-document-card,.video-db-copy,.sh-main-film-link){background:var(--seehof-user-subtle)!important;color:var(--seehof-user-ink)!important;border-color:var(--seehof-user-line)!important}
html[data-seehof-color=custom] :is(.seehof-topic-main,.sh-place-main,.seehof-home-idea,.seehof-home-places,.seehof-home-documents,.seehof-home-cannabis,.dga-project-card,.video-db-copy) :is(h1,h2,h3,h4,p,li,a,small,strong,summary,figcaption,dt,dd,th,td,label,blockquote,.eyebrow){color:var(--seehof-user-ink)!important}
html[data-seehof-color=custom] :is(.seehof-home-next,.seehof-footer,.video-database,.dga-project){background:var(--seehof-user-deep)!important}
html[data-seehof-color=custom] :is(.seehof-home-next,.seehof-footer,.video-db-heading,.video-db-library-head) :is(h2,h3,p,a,strong,span,figcaption),html[data-seehof-color=custom] .video-db-note{color:var(--seehof-user-on-deep)!important}
html[data-seehof-color=custom] .video-db-filters button{color:var(--seehof-user-on-deep)!important;border-color:var(--seehof-user-line)!important}
html[data-seehof-color=custom] .video-db-filters button.is-active,html[data-seehof-color=custom] .auction-document-filters button[aria-pressed=true]{background:var(--seehof-user-accent)!important;color:var(--seehof-user-on-accent)!important;border-color:var(--seehof-user-accent)!important}
html[data-seehof-color=custom] .video-db-filters button.is-active span{color:inherit!important}
html[data-seehof-color=custom] .auction-document-card-copy :is(p,h3),html[data-seehof-color=custom] .auction-document-transcript{color:var(--seehof-user-ink)!important}
html[data-seehof-color=custom] header[data-seehof-commandbar],html[data-seehof-color=custom] [data-seehof-commandbar] [data-nav-panel]{background:var(--seehof-user-subtle)!important;color:var(--seehof-user-ink)!important;border-color:var(--seehof-user-line)!important}
html[data-seehof-color=custom] [data-seehof-commandbar] :is([data-nav-brand],[data-nav-toplink],[data-nav-sublink],[data-nav-toggle],.seehof-brand-type strong,.seehof-brand-type small,.seehof-panel-caption){color:var(--seehof-user-ink)!important}
html[data-seehof-color=custom] [data-seehof-commandbar] :is([data-nav-toggle],[data-nav-toplink]:hover,[data-nav-sublink]:hover,a[aria-current=page]),html[data-seehof-color=custom] [data-seehof-commandbar] details[open]>summary{background:var(--seehof-user-soft)!important;border-color:var(--seehof-user-line)!important}
html[data-seehof-color=custom] [data-seehof-commandbar] .seehof-circle-mark:before{background:var(--seehof-user-subtle)}
html[data-seehof-color=custom] [data-seehof-commandbar] .seehof-circle-dot{background:var(--seehof-user-accent);box-shadow:0 0 0 1px var(--seehof-user-ink)}
html[data-seehof-color=custom] [data-seehof-commandbar] [data-nav-cta]{color:var(--seehof-user-ink)!important;border-color:var(--seehof-user-ink)!important}
html[data-seehof-color=custom] :is([data-seehof-commandbar] .seehof-commandbar-donate,.hero .btn-sun,.seehof-topic-article button){background:var(--seehof-user-accent)!important;color:var(--seehof-user-on-accent)!important;border-color:var(--seehof-user-accent)!important}
