/* Olde Hansa design system: the DARK theme (owner, 22.10.2026). Two looks: Light (no attribute, untouched) and Dark, html[data-theme="dark"],
   chosen by the visitor with the two-word switch Light / Dark. (A third, blue version was tried and dropped: the colours did not match.)
   Shared like the other ds files, so the booking pages can adopt it (link this file and initials-dark.css, put lib/ds/theme.js INIT in the
   head, public/ds/theme.js at the end, and the toggle in the header). B2B never loads it and is always light.
   The painted initials of the dark theme are their OWN warm art (public/ds/initials-dark.css, ru-initials.css): Golden Ochre letters on an
   Orange ornament, made from the light initials by tools/initials-dark.js, not a brightness filter (that read as a cold lemon yellow).

   TOKENS, built from the brand palette of the Olde Hansa Design Manual (Dark Brown #532511, Blue #006db4, Golden Ochre #D69256,
   Orange #c96125, Pale Brown #8B6E51, Dark Blue #3e3e8b, Dark Red #8b241d, Green #557035) plus parchment #F6EED3 of the pages:
     --oh-g0  #190B05  Dark Brown x 0.30  footer, deepest ground          --oh-g1  #231007  Dark Brown x 0.42  the page
     --oh-bar #281208  Dark Brown x 0.48  header bar                      --oh-g2  #2E1409  Dark Brown x 0.55  raised panels
     --oh-g3  #3C1B0C  Dark Brown x 0.72  inputs, hover                   --oh-g4  #4B210F  Dark Brown x 0.90  pressed
     --oh-tx  #F4E8CB  parchment + 6% Golden Ochre  body text             --oh-hd  #F6EED3  parchment  headings
     --oh-mu  #D6C8AC  parchment + 30% Pale Brown   secondary text        --oh-edge #987D61 Pale Brown + 12% parchment  borders
     --oh-acc #D69256 Golden Ochre                                         rubrics, prices, active nav
     --oh-lk  #DFAC79 Golden Ochre + 28% parchment (links)   --oh-lkh #E8C59B (link hover)
     --oh-init #CE7539 Orange + 40% Golden Ochre                           small painted first letters
     --oh-btn #A13920 Dark Red + 35% Orange (button ground, text parchment)   --oh-btnh #AD4621 (hover)
     --oh-sel-bg / --oh-sel-fg  parchment on Dark Brown                    the chosen chip, slot, filter
     status: green ground Green x 0.55 #2F3E1D, text Green + 50% parchment #A6AF84; red ground Dark Red x 0.5 #46120F, text #E1C6AF;
             amber ground Golden Ochre x 0.35 #4B331E, text #E9C9A1
   Contrast (WCAG 2.2 AA) of every pair: node tools/theme-contrast.js.                                                           */
html[data-theme="dark"]{color-scheme:dark;--oh-g0:#190B05;--oh-g1:#231007;--oh-bar:#281208;--oh-g2:#2E1409;--oh-g3:#3C1B0C;--oh-g4:#4B210F;--oh-tx:#F4E8CB;--oh-hd:#F6EED3;--oh-mu:#D6C8AC;--oh-edge:#987D61;--oh-acc:#D69256;--oh-lk:#DFAC79;--oh-lkh:#E8C59B;--oh-ln:rgba(214,146,86,.32);--oh-init:#CE7539;--oh-btn:#A13920;--oh-btnh:#AD4621;--oh-sel-bg:#F4E8CB;--oh-sel-fg:#231007;--oh-ok-bg:#2F3E1D;--oh-ok-fg:#A6AF84;--oh-bad-bg:#46120F;--oh-bad-fg:#E1C6AF;--oh-wait-bg:#4B331E;--oh-wait-fg:#E9C9A1;--oh-focus:#E8C59B}

html[data-theme="dark"] body{background:var(--oh-g0)}
html[data-theme="dark"]{scrollbar-color:var(--oh-edge) var(--oh-g1)}
html[data-theme="dark"] a{color:var(--oh-lk)}
html[data-theme="dark"] a:hover{color:var(--oh-lkh)}
html[data-theme="dark"] ::selection{background:var(--oh-acc);color:var(--oh-g1)}
html[data-theme="dark"] :focus-visible{outline-color:var(--oh-focus)}

/* the page ground: deep Dark Brown, no paper texture */
html[data-theme="dark"] .pg{background:var(--oh-g1);color:var(--oh-tx)}
html[data-theme="dark"] .vellum{background:var(--oh-g2)}
html[data-theme="dark"] .band{background-color:var(--oh-g2);filter:brightness(.62) saturate(1.15)}

/* header */
html[data-theme="dark"] .bar{background:var(--oh-bar);border-bottom-color:var(--oh-ln)}
html[data-theme="dark"] .bar img,html[data-theme="dark"] .brand img{filter:brightness(0) invert(.92) sepia(.28) saturate(1.3)}
html[data-theme="dark"] .mainnav a,html[data-theme="dark"] .navlink,html[data-theme="dark"] .lang-btn,html[data-theme="dark"] .icon-btn,html[data-theme="dark"] .mtab,html[data-theme="dark"] .bar .langs,html[data-theme="dark"] .bar .langs a,html[data-theme="dark"] .burger{color:var(--oh-tx)}
html[data-theme="dark"] .mainnav a:hover,html[data-theme="dark"] .navlink:hover{color:var(--oh-lkh)}
html[data-theme="dark"] .mainnav a[aria-current],html[data-theme="dark"] .bar .langs a[aria-current],html[data-theme="dark"] .mtab[aria-current]{color:var(--oh-acc);border-bottom-color:var(--oh-acc)}
html[data-theme="dark"] .mtab[aria-current]{box-shadow:inset 0 -2px 0 var(--oh-acc)}
html[data-theme="dark"] .util{background:var(--oh-g0)}
html[data-theme="dark"] .tabstrip,html[data-theme="dark"] .foot-strip,html[data-theme="dark"] .backlink{background:var(--oh-g2);border-color:var(--oh-ln)}
html[data-theme="dark"] .foot-strip .wrap{color:var(--oh-mu)}
html[data-theme="dark"] .foot{background:#1E120B}
html[data-theme="dark"] .skip{background:var(--oh-g2);color:var(--oh-tx)}

/* type */
html[data-theme="dark"] .h1,html[data-theme="dark"] .h2,html[data-theme="dark"] .h3,html[data-theme="dark"] .tx-strong{color:var(--oh-hd)}
html[data-theme="dark"] .lead,html[data-theme="dark"] .muted{color:var(--oh-mu)}
html[data-theme="dark"] .rubric,html[data-theme="dark"] .facts li,html[data-theme="dark"] .mrow .pr,html[data-theme="dark"] .titlerow .price,html[data-theme="dark"] .dishprice,html[data-theme="dark"] .idx .pr,html[data-theme="dark"] .readmore,html[data-theme="dark"] .feast .pr,html[data-theme="dark"] .more b,html[data-theme="dark"] .faqq .sign,html[data-theme="dark"] .dblock .d{color:var(--oh-acc)}
html[data-theme="dark"] .way2>span:first-child{color:var(--oh-acc)}
html[data-theme="dark"] .crumbs,html[data-theme="dark"] .crumbs a,html[data-theme="dark"] .dishdesc,html[data-theme="dark"] .dishmeta .al,html[data-theme="dark"] .dl .al,html[data-theme="dark"] .menunote,html[data-theme="dark"] .way2>span+span,html[data-theme="dark"] .feast .why,html[data-theme="dark"] .rsum .row span:first-child,html[data-theme="dark"] .facts2>div span:first-child,html[data-theme="dark"] .tbl th,html[data-theme="dark"] .slotgrp .gs,html[data-theme="dark"] .cal-g .wd,html[data-theme="dark"] .oh-cc__on{color:var(--oh-mu)}
html[data-theme="dark"] .crumbs a:hover{color:var(--oh-lkh)}
html[data-theme="dark"] .dish::first-letter,html[data-theme="dark"] .mrow .nm::first-letter,html[data-theme="dark"] .card-link .t::first-letter,html[data-theme="dark"] .idx .nm::first-letter,html[data-theme="dark"] .dn::first-letter,html[data-theme="dark"] .chapbar a::first-letter,html[data-theme="dark"] .ritualrow .num,html[data-theme="dark"] .yr .y,html[data-theme="dark"] .secnum{color:var(--oh-init)}
html[data-theme="dark"] .ul,html[data-theme="dark"] a.mrow .nm,html[data-theme="dark"] .idx .nm,html[data-theme="dark"] .post .pt{text-decoration-color:var(--oh-init)}
html[data-theme="dark"] .photo,html[data-theme="dark"] .idxph,html[data-theme="dark"] .split .media>img{outline-color:var(--oh-ln)}
html[data-theme="dark"] .ph{background:var(--oh-g2);border-color:var(--oh-edge);color:var(--oh-mu)}
html[data-theme="dark"] .rule,html[data-theme="dark"] .mrow,html[data-theme="dark"] .facts li,html[data-theme="dark"] .idx,html[data-theme="dark"] .idx a,html[data-theme="dark"] .chap+.chap,html[data-theme="dark"] .alacartepage,html[data-theme="dark"] .course,html[data-theme="dark"] .dl,html[data-theme="dark"] .dl li,html[data-theme="dark"] .way2,html[data-theme="dark"] .faqgrid,html[data-theme="dark"] .faqlist,html[data-theme="dark"] .faqitem,html[data-theme="dark"] .years,html[data-theme="dark"] .yr,html[data-theme="dark"] .chronlist,html[data-theme="dark"] .chrongrid .chronlist article,html[data-theme="dark"] .guildsec,html[data-theme="dark"] .glance .gl+.gl,html[data-theme="dark"] .block,html[data-theme="dark"] .slotgrp,html[data-theme="dark"] .rsum .row,html[data-theme="dark"] .facts2,html[data-theme="dark"] .facts2>div,html[data-theme="dark"] .tbl td,html[data-theme="dark"] .more{border-color:var(--oh-ln)}
html[data-theme="dark"] .mrow,html[data-theme="dark"] .idx a,html[data-theme="dark"] .post{color:var(--oh-tx)}
html[data-theme="dark"] .filters,html[data-theme="dark"] .tbl th{border-color:var(--oh-edge)}
html[data-theme="dark"] .filters button+button{border-left-color:var(--oh-ln)}

/* text carried by a light-ground rule of site.css / components.css */
html[data-theme="dark"] .feastcard .cardtitle .nm,html[data-theme="dark"] .cardprice .amt,html[data-theme="dark"] .dn,html[data-theme="dark"] .dl li,html[data-theme="dark"] .ritualrow .txt,html[data-theme="dark"] .faqq,html[data-theme="dark"] .chapbar a,html[data-theme="dark"] .pull,html[data-theme="dark"] .blockh h2,html[data-theme="dark"] .feast .nm,html[data-theme="dark"] .dine .t,html[data-theme="dark"] .slotgrp .gl,html[data-theme="dark"] .code,html[data-theme="dark"] .more,html[data-theme="dark"] .field label,html[data-theme="dark"] .lbl,html[data-theme="dark"] .cal-h b{color:var(--oh-hd)}
html[data-theme="dark"] .faqq:hover,html[data-theme="dark"] .chapbar a:hover,html[data-theme="dark"] .post:hover .pt{color:var(--oh-lkh)}
html[data-theme="dark"] .stepfree,html[data-theme="dark"] .dishtag{color:var(--oh-ok-fg)}
html[data-theme="dark"] .pull{border-left-color:var(--oh-init)}

/* buttons: the red turns richer (Dark Red + Orange), the outline button takes the parchment colour */
html[data-theme="dark"] .btn-red{background:var(--oh-btn);color:var(--oh-hd);box-shadow:inset 0 0 0 1px var(--oh-acc)}
html[data-theme="dark"] .btn-red:hover{background:var(--oh-btnh);color:#FFFFFF}
html[data-theme="dark"] .btn-line{color:var(--oh-tx);box-shadow:inset 0 0 0 1px var(--oh-tx)}
html[data-theme="dark"] .btn-line:hover{background:var(--oh-tx);color:var(--oh-g1)}
html[data-theme="dark"] .seg{color:var(--oh-tx)}
html[data-theme="dark"] .seg:hover{background:var(--oh-g3);color:var(--oh-hd)}
html[data-theme="dark"] .seg.on{background:var(--oh-sel-bg);color:var(--oh-sel-fg)}
html[data-theme="dark"] .segnav{box-shadow:inset 0 0 0 1px var(--oh-edge)}

/* the menu book and cards: raised panels */
html[data-theme="dark"] .book,html[data-theme="dark"] .book-card,html[data-theme="dark"] .panel,html[data-theme="dark"] .done{background:var(--oh-g2);box-shadow:0 0 0 1px var(--oh-ln),0 26px 50px -28px rgba(0,0,0,.8)}
html[data-theme="dark"] .book::before{background:linear-gradient(90deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.16) 40%,rgba(0,0,0,.34) 50%,rgba(0,0,0,.16) 60%,rgba(0,0,0,0) 100%)}
html[data-theme="dark"] .dblock{background:var(--oh-g3);color:var(--oh-tx);box-shadow:inset 0 0 0 1px var(--oh-edge),inset 0 0 0 4px var(--oh-g3),inset 0 0 0 5px var(--oh-ln)}
html[data-theme="dark"] .chapbar{background:var(--oh-bar);border-color:var(--oh-ln)}
html[data-theme="dark"] .chapbar a+a{border-left-color:var(--oh-ln)}
html[data-theme="dark"] .opennow2 .dot{background:var(--oh-ok-fg)}
html[data-theme="dark"] .opennow2.closed .dot{background:var(--oh-edge)}
html[data-theme="dark"] .crest{background:var(--oh-hd)}

/* ink drawings (the house drawing, the map, the ornament) are drawn for parchment: here they become light ink on the dark ground.
   invert + hue-rotate keeps the warm tones from turning blue; screen replaces multiply */
html[data-theme="dark"] .ink{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}

/* illuminated initials: dark gold keeps the brown/orange art lifted off the ground; dark blue swaps in the blue art (initials-blue.css) */

/* forms and the booking components (ready for the booking pages to adopt) */
html[data-theme="dark"] .inp,html[data-theme="dark"] .qty,html[data-theme="dark"] .choice,html[data-theme="dark"] .chipbtn,html[data-theme="dark"] .slot,html[data-theme="dark"] .cal-g button,html[data-theme="dark"] .cal-h button,html[data-theme="dark"] .dot{background:var(--oh-g3);border-color:var(--oh-edge);color:var(--oh-hd)}
html[data-theme="dark"] .qty{box-shadow:inset 0 0 0 1px var(--oh-edge)}
html[data-theme="dark"] .qty button{color:var(--oh-hd)}
html[data-theme="dark"] .qty button:hover,html[data-theme="dark"] .cal-g button:hover{background:var(--oh-g4)}
html[data-theme="dark"] .inp:focus{outline-color:var(--oh-focus);border-color:var(--oh-focus)}
html[data-theme="dark"] .choice:hover{border-color:var(--oh-tx)}
html[data-theme="dark"] .choice[aria-pressed=true],html[data-theme="dark"] .choice[aria-checked=true]{background:var(--oh-g4);box-shadow:inset 0 0 0 2px var(--oh-acc);border-color:var(--oh-acc)}
html[data-theme="dark"] [aria-pressed=true]>.dot,html[data-theme="dark"] [aria-checked=true]>.dot{border-color:var(--oh-acc)}
html[data-theme="dark"] .chipbtn[aria-pressed=true],html[data-theme="dark"] .slot[aria-pressed=true],html[data-theme="dark"] .cal-g button[aria-pressed=true],html[data-theme="dark"] .filters button[aria-pressed=true]{background:var(--oh-sel-bg);color:var(--oh-sel-fg);border-color:var(--oh-sel-bg)}
html[data-theme="dark"] .filters button{color:var(--oh-tx)}
html[data-theme="dark"] .cal-g button[disabled]{background:transparent;color:#967B5E}
html[data-theme="dark"] .slot .few{color:var(--oh-acc)}
html[data-theme="dark"] .step{background:var(--oh-btn);color:var(--oh-hd)}
html[data-theme="dark"] .alert{background:var(--oh-bad-bg);color:var(--oh-bad-fg);box-shadow:inset 0 0 0 1px var(--oh-ln)}
html[data-theme="dark"] .tag-ok{background:var(--oh-ok-bg);color:var(--oh-ok-fg)}
html[data-theme="dark"] .tag-wait{background:var(--oh-wait-bg);color:var(--oh-wait-fg)}
html[data-theme="dark"] .tag-bad{background:var(--oh-bad-bg);color:var(--oh-bad-fg)}
html[data-theme="dark"] .tag-mute{background:var(--oh-g3);color:var(--oh-tx)}
html[data-theme="dark"] .chk input,html[data-theme="dark"] .oh-cc__lab input{accent-color:var(--oh-acc)}

/* the consent banner and dialog */
html[data-theme="dark"] .oh-cc{background:var(--oh-g2);color:var(--oh-tx);border-top-color:var(--oh-ln);box-shadow:inset 0 3px 0 var(--oh-g2),inset 0 4px 0 var(--oh-ln),0 -14px 34px rgba(0,0,0,.5)}
html[data-theme="dark"] .oh-cc__title,html[data-theme="dark"] .oh-cc__lab{color:var(--oh-hd)}
html[data-theme="dark"] .oh-cc__txt{color:var(--oh-tx)}
html[data-theme="dark"] .oh-cc__link{color:var(--oh-lk)}
html[data-theme="dark"] .oh-cc__link:hover{color:var(--oh-lkh)}
html[data-theme="dark"] .oh-cc__saved{color:var(--oh-ok-fg)}
html[data-theme="dark"] .oh-cc__preview{background:var(--oh-wait-bg);color:var(--oh-wait-fg);border-left-color:var(--oh-init)}
html[data-theme="dark"] .oh-cc__btn{color:var(--oh-tx);border-color:var(--oh-tx)}
html[data-theme="dark"] .oh-cc__btn:hover{background:var(--oh-tx);color:var(--oh-g1)}
html[data-theme="dark"] .oh-cc__choose{border-top-color:var(--oh-ln)}
html[data-theme="dark"] .oh-cc__d,html[data-theme="dark"] .oh-cc__foot,html[data-theme="dark"] .oh-cc__x{color:var(--oh-mu)}
html[data-theme="dark"] .oh-cc__x:hover{color:var(--oh-lkh)}
html[data-theme="dark"] .oh-cc--dialog{border-color:var(--oh-ln);box-shadow:inset 0 0 0 4px var(--oh-g2),inset 0 0 0 5px var(--oh-ln),0 24px 60px rgba(0,0,0,.7)}
html[data-theme="dark"] .oh-cc--dialog .oh-cc__btns,html[data-theme="dark"] .oh-cc__btns{background:var(--oh-g2)}

/* the switch itself: three words in OH Antique (no icons), a segmented control. The active word is accented and underlined. */
.themesw{display:inline-flex;align-items:center;gap:.9em;padding:0;margin:0;font-family:'OH Antique',Georgia,serif;font-size:13px;letter-spacing:.1em;text-transform:uppercase;line-height:1}
.themesw button{padding:6px 0;margin:0;border:0;border-bottom:1px solid transparent;background:transparent;color:inherit;cursor:pointer;font:inherit;letter-spacing:inherit;text-transform:inherit;line-height:1}
.themesw button[aria-pressed=true]{color:#E2A468;border-bottom-color:currentColor}
.themesw button:hover:not([aria-pressed=true]){color:#F7D3A6}
.themesw button:focus-visible{outline:2px solid #F2C48F;outline-offset:4px}
/* one eye button (owner, 23.10.2026): the brand "o" as a mask in the current text colour; pressed = dark on, the eye turns Golden Ochre.
   25.10.2026 (owner): the "o" lies on its side with a pupil in the middle, so it reads as an eye (public/ds/o-eye2-mask.png, made from o-eye-mask.png) */
.themesw .themeeye{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;color:inherit}
.themesw .themeeye .eye{display:block;width:22px;height:22px;background:currentColor;-webkit-mask:url(/ds/o-eye2-mask.png) center/contain no-repeat;mask:url(/ds/o-eye2-mask.png) center/contain no-repeat}
.themesw .themeeye:hover{color:#E2A468}
.themesw .themeeye[aria-pressed=true]{color:#E2A468;border-bottom-color:transparent}
.ds-theme{display:flex;align-items:center;padding-top:6px;color:#F4ECD6}
.ds-theme .themesw .themeeye{width:44px;height:44px}
.ds-theme .themesw .themeeye .eye{width:28px;height:28px}

/* 26.10.2026: the carousel arrows, the concise lists and the Menu page index (site.css) on the dark ground */
html[data-theme="dark"] .car-btn{background:rgba(244,232,203,.12);color:var(--oh-hd)}
html[data-theme="dark"] .car-btn:hover{background:rgba(244,232,203,.22)}
html[data-theme="dark"] .car-track:focus-visible,html[data-theme="dark"] .car-btn:focus-visible{outline-color:var(--oh-focus)}
html[data-theme="dark"] .clist .nm{color:var(--oh-hd)}
html[data-theme="dark"] .clist .nm::first-letter,html[data-theme="dark"] .menuidx a::first-letter{color:var(--oh-init)}
html[data-theme="dark"] .clist .pr{color:var(--oh-acc)}

/* 26.10.2026 evening: the green vegetarian chapter and the carousel's Pause word on the dark ground */
html[data-theme="dark"] .chapbar a.vegchap{color:#9DC47A}
html[data-theme="dark"] .car-pause{border-color:var(--oh-edge);color:var(--oh-hd)}
