/* Hivemaster shop: the buy box, the withdrawal page and the worker's order pages.

   The site's own type (Michroma for headings, Chakra Petch for text) and colours: the dark
   panels, cyan #3de8ff for links and keyboard focus, and since 16 Nov 2026 (Björn: "keep the
   hexcore color scheme thou, also the menu buttons colours at the top menu was nice, we keep
   that, just not the golden claude look") the deck keys' own hues where the gold was: the one
   action is the deck's spectrum (cyan -> blue -> violet -> magenta -> pink, the menu keys'
   colours) with a dark label; a second button a dark line that turns cyan; the violet for
   ticks and markers, the menu's mint for done, a pink for a warning. No gold, amber, copper or
   yellow. Otherwise flat: solid fills, 1 px lines, square corners; no glows, shadows, light
   sweeps or blur. The spectrum lives only in the tokens below (--hm-primary*). The keyboard
   focus ring is the one 2 px line, so it stays visible. Phone first: one column, 16 px side
   gutter. */

.hm-shop,.hm-buy{--hm-bg:#06090d;--hm-panel:#0b1017;--hm-field:#06090d;--hm-raise:#111821;--hm-line:#242e3a;--hm-line-2:#2a3441;--hm-line-strong:#5a6476;
--hm-text:#e8ecf1;--hm-muted:#a6b1bf;--hm-ink:#06090d;--hm-cyan:#3de8ff;
--hm-primary:linear-gradient(115deg,#69f0fc 0%,#6993fc 25%,#9c69fc 50%,#f969fc 75%,#fc69a1 100%);
--hm-primary-hover:linear-gradient(115deg,#9bf5fd 0%,#9bb7fd 25%,#bd9bfd 50%,#fb9bfd 75%,#fd9bc1 100%);
--hm-on-primary:#06090d;--hm-disabled-bg:#151c25;--hm-disabled-line:#2a3441;--hm-disabled-text:#7d8896;
--hm-link:#3de8ff;--hm-link-hover:#fd9bc1;--hm-focus:#3de8ff;--hm-marker:#9c69fc;
--hm-ok:#69fcd2;--hm-ok-bg:#07160f;--hm-ok-line:#2e8a6c;--hm-info:#8debfa;--hm-info-bg:#07121b;--hm-info-line:#2e6f8a;
--hm-warn:#fd9bab;--hm-warn-bg:#1d0b12;--hm-warn-line:#dd2c4a;--hm-bad:#fd9bab;--hm-test:#fcaffd;--hm-test-bg:#170a17;--hm-test-line:#f969fc}

.hm-shop{margin:0;min-height:100vh;background:var(--hm-bg);color:var(--hm-text);font:400 16px/1.6 'Chakra Petch','Segoe UI',sans-serif;
-webkit-text-size-adjust:100%;text-size-adjust:100%}
.hm-shop *,.hm-shop *::before,.hm-shop *::after,.hm-buy,.hm-buy *,.hm-buy *::before,.hm-buy *::after{box-sizing:border-box}
.hm-shop a,.hm-buy a{color:var(--hm-link);text-underline-offset:3px}
.hm-shop a:hover,.hm-buy a:hover{color:var(--hm-link-hover)}
.hm-shop :focus-visible,.hm-buy :focus-visible{outline:2px solid var(--hm-focus);outline-offset:2px}

.hm-shop-top{display:flex;align-items:center;max-width:720px;margin:0 auto;padding:18px 16px;border-bottom:1px solid var(--hm-line)}
.hm-shop-mark{display:inline-flex;align-items:center;gap:12px;font:400 15px/1 'Michroma',sans-serif;letter-spacing:.22em;color:var(--hm-text)!important;text-decoration:none}
.hm-shop-mark svg{flex:none}
.hm-shop-main{max-width:720px;margin:0 auto;padding:24px 16px 40px}
.hm-shop-foot{display:flex;flex-wrap:wrap;gap:8px 20px;max-width:720px;margin:0 auto;padding:18px 16px 32px;border-top:1px solid var(--hm-line);font-size:14px}

.hm-panel{background:var(--hm-panel);border:1px solid var(--hm-line);padding:22px 18px;margin:0 0 20px}
.hm-panel>:last-child{margin-bottom:0}
.hm-shop h1,.hm-shop h2,.hm-buy-name{font:400 19px/1.45 'Michroma',sans-serif;color:var(--hm-text);margin:0 0 14px;overflow-wrap:anywhere}
.hm-shop h2{font-size:17px}
.hm-shop p{margin:0 0 14px;color:var(--hm-muted)}
.hm-shop strong{color:var(--hm-text);font-weight:600}
.hm-quiet{color:var(--hm-muted)}
.hm-note{font-size:14px;color:var(--hm-muted)}
.hm-test{padding:10px 12px;border:1px solid var(--hm-test-line);background:var(--hm-test-bg);color:var(--hm-test)!important}
.hm-consent{padding:12px 14px;border-left:1px solid var(--hm-marker);background:var(--hm-bg);color:var(--hm-text)!important;font-size:15px}
.hm-shop code,.hm-buy code{font:500 14px/1.5 ui-monospace,Consolas,monospace;color:var(--hm-text);overflow-wrap:anywhere}

.hm-facts{margin:0 0 18px;border-top:1px solid var(--hm-line)}
.hm-facts>div{display:grid;gap:2px;padding:10px 0;border-bottom:1px solid var(--hm-line)}
.hm-facts dt{font-size:13px;color:var(--hm-muted)}
.hm-facts dd{margin:0;color:var(--hm-text);overflow-wrap:anywhere;white-space:pre-wrap}

/* The one action on a page: the deck's spectrum, a dark label. Full width on a phone. Hover: the lighter
   spectrum, swapped at once (no moving light). */
.hm-btn{display:block;width:100%;min-height:48px;padding:13px 18px;border:1px solid transparent;border-radius:0;background:var(--hm-primary);
color:var(--hm-on-primary)!important;font:600 16px/1.3 'Chakra Petch','Segoe UI',sans-serif;text-align:center;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.hm-btn:hover{background:var(--hm-primary-hover)}
.hm-btn:disabled{background:var(--hm-disabled-bg);border-color:var(--hm-disabled-line);color:var(--hm-disabled-text)!important;cursor:not-allowed}
.hm-btn-quiet{background:transparent;border-color:var(--hm-line-strong);color:var(--hm-text)!important}
.hm-btn-quiet:hover{background:var(--hm-raise);border-color:var(--hm-cyan);color:#ffffff!important}
.hm-btn+.hm-btn{margin-top:10px}

/* The order page of a configured product: the box kit/<engine>/mount.js draws into (lead, buttons,
   the notes under them, status). Lists and small headings for those notes come from the general
   rules below (.hm-shop ul, .hm-shop h3). The span[lang] rules serve a kit that still writes a
   lead in two languages (kit 1.1.0 before 14 Nov 2026, round 2). */
#hm-candle-kit{margin:0 0 18px}
.hm-candle-lead>span[lang]{display:block}
.hm-candle-lead>span[lang="de"]{color:var(--hm-text)}
.hm-candle-lead>span[lang="en"]{margin-top:3px}
.hm-shop h3{font:600 15px/1.45 'Chakra Petch','Segoe UI',sans-serif;color:var(--hm-text);margin:18px 0 8px}
.hm-shop ul,.hm-shop ol{margin:0 0 14px;padding-left:20px;color:var(--hm-muted)}
.hm-shop li{margin:0 0 6px}

.hm-status:empty{display:none}
.hm-status{margin:14px 0 0;padding:12px 14px;border:1px solid var(--hm-info-line);background:var(--hm-info-bg);color:var(--hm-info)!important}
.hm-status[data-tone="ok"]{border-color:var(--hm-ok-line);background:var(--hm-ok-bg);color:var(--hm-ok)!important}
.hm-status[data-tone="bad"]{border-color:var(--hm-warn-line);background:var(--hm-warn-bg);color:var(--hm-bad)!important}

/* Form fields (the withdrawal form) */
.hm-shop fieldset{margin:0;padding:0;border:0;min-width:0}
.hm-shop legend{padding:0;margin:0 0 14px;font:400 17px/1.45 'Michroma',sans-serif;color:var(--hm-text)}
.hm-field{margin:0 0 16px}
.hm-field label{display:block;margin:0 0 6px;font-weight:600;color:var(--hm-text)}
.hm-field small{display:block;margin-top:6px;font-size:14px;color:var(--hm-muted)}
.hm-field input,.hm-field textarea{display:block;width:100%;padding:12px;border:1px solid var(--hm-line-2);border-radius:0;background:var(--hm-field);
color:var(--hm-text);font:400 16px/1.5 'Chakra Petch','Segoe UI',sans-serif}
.hm-field textarea{resize:vertical;min-height:110px}
.hm-field input:focus,.hm-field textarea:focus{border-color:var(--hm-cyan)}
.hm-confirm[hidden],.hm-shop [data-step][hidden]{display:none}

/* The buy box: works inside any page, so it brings its own type and colours. In English (since
   14 Nov 2026: the whole shop is English). */
.hm-buy{display:block;max-width:560px;margin:0 0 20px;padding:22px 18px;background:var(--hm-panel);border:1px solid var(--hm-line);
color:var(--hm-text);font:400 16px/1.6 'Chakra Petch','Segoe UI',sans-serif}
.hm-buy p{margin:0 0 12px;color:var(--hm-muted)}
.hm-buy-price{font-size:22px;font-weight:600;color:var(--hm-text)!important}
.hm-buy-email{margin:18px 0 12px}
.hm-buy-waiver{display:flex;gap:12px;align-items:flex-start;margin:0 0 12px;padding:14px;border:1px solid var(--hm-line-2);background:var(--hm-bg);cursor:pointer}
.hm-buy-waiver input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--hm-marker);cursor:pointer}
.hm-buy-waiver span{display:block;color:var(--hm-text);font-size:15px}
/* The required facts directly above the button (FAGG § 8 Abs 1): one framed block. */
.hm-buy-facts{margin:18px 0 14px;padding:14px;border:1px solid var(--hm-text);background:var(--hm-bg);font-size:14px}
.hm-buy-facts p{margin:0 0 10px;color:var(--hm-text)}
.hm-buy-facts>:last-child{margin-bottom:0}
.hm-buy-product strong{color:var(--hm-text);font-size:16px;font-weight:600}
.hm-buy-total{color:var(--hm-text)!important}
.hm-buy-total strong{font-weight:600}
.hm-buy-links a{white-space:nowrap}
/* A configured product (Candle Studio): the design line in the facts, framed by one line; while
   the design cannot be ordered it shows why, in the warning colour. */
.hm-buy-design{padding:10px 12px;border:1px solid var(--hm-line-2)}
.hm-buy .hm-buy-design[data-tone="bad"]{color:var(--hm-bad)}
.hm-buy-pay{margin-top:12px;font-size:14px}
.hm-buy .hm-btn+.hm-note{margin-top:10px}
.hm-buy [hidden]{display:none}

@media (min-width:640px){
  .hm-panel,.hm-buy{padding:28px 30px}
  .hm-btn{display:inline-block;width:auto;min-width:240px}
  .hm-btn+.hm-btn{margin:0 0 0 10px}
  .hm-facts>div{grid-template-columns:180px 1fr;gap:16px}
}
