:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0c0e15; color: #eeedf6; }
:root[data-theme='dark'] { caret-color: #ecc479; scrollbar-color: #565369 #0c0e15; scrollbar-width: thin; }
:root[data-theme='dark'] ::selection { background: #4c3d6a; color: #eeedf6; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { display: flex; flex-direction: column; }
.demo-banner { flex: none; min-height: 44px; padding: 0 20px; background: #211e18; border-bottom: 1px solid #66543a; color: #ecc479; font-size: 12px; }
.demo-banner strong { font-weight: 650; }
#demo-banner-details { width: 100%; min-width: 0; }
#demo-banner-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; }
#demo-banner-details > summary::-webkit-details-marker { display: none; }
#demo-banner-details > summary::after { content: ''; flex: none; width: 6px; height: 6px; margin-right: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
#demo-banner-details[open] > summary::after { transform: rotate(45deg); }
#demo-banner-details > summary:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; border-radius: 6px; }
.demo-banner-body { display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; padding-bottom: 10px; overflow-wrap: anywhere; }
#demo-pin { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
#demo-controls { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; width: 100%; padding-top: 3px; }
#demo-controls a { color: #ecc479; text-underline-offset: 3px; }
#demo-controls button { width: auto; padding: 6px 10px; border-radius: 10px; border-color: #343649; background: #1e202b; color: #eeedf6; font-size: 12px; }
#demo-controls button[aria-pressed="true"] { background: #722e23; color: #fff3e7; border-color: #e79774; }
#demo-stage { min-height: 0; position: relative; flex: 1; overflow: hidden; }
.demo-intro { width: min(100%, 690px); max-height: 100%; overflow: auto; margin: auto; padding: clamp(28px, 7vh, 84px) 28px; }
.demo-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(145deg,#a38aee,#7758dc); box-shadow: 0 8px 28px #16102066, inset 0 1px 2px #d4c7ff; font-size: 26px; font-weight: 750; }
.demo-eyebrow { margin-top: 28px; font-size: 12px; letter-spacing: .14em; color: #ecc479; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.07; letter-spacing: -.035em; margin: 18px 0 24px; }
p { line-height: 1.6; color: #b6b7cb; }
.demo-scope { margin: 20px 0 26px; font-size: 14px; }
button { width: min(100%, 320px); display: flex; align-items: center; justify-content: space-between; border: 1px solid #ecc479; border-radius: 12px; padding: 16px 20px; background: linear-gradient(180deg,#ecc479,#d5ad62); color: #211a10; font: inherit; font-weight: 750; cursor: pointer; }
button:hover { filter: brightness(1.08); }
button:focus-visible, :root[data-theme='dark'] a:focus-visible { outline: 3px solid #a38aee; outline-offset: 4px; }
button:disabled { opacity: .65; cursor: wait; }
#demo-status { font-size: 12px; }
.demo-sample-choice { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; cursor: pointer; font-size: 14px; }
.demo-sample-choice input { width: 18px; height: 18px; flex: none; accent-color: #ecc479; }
.demo-sample-choice small { display: block; margin-top: 3px; color: #b6b7cb; font-size: 12px; }
#demo-sample-help { width: 100%; font-size: 12px; line-height: 1.5; }
#demo-sample-help summary { cursor: pointer; font-weight: 650; }
#demo-sample-help summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#demo-sample-help ul { margin: 8px 0; padding-left: 18px; }
#demo-sample-help li + li { margin-top: 5px; }
lynx-view.kasse { display: block; width: 100%; height: 100%; }
/* Neutral Light materials shared with Ama Work's Luxury appearance. */
:root[data-theme='light'] { color-scheme: light; background: #f0f4f7; color: #11182d; }
:root[data-theme='light'] body { background: linear-gradient(135deg, #f0f4f7, #f5f8fa 55%, #eef3f7); }
:root[data-theme='light'] .demo-banner { background: #e0ebff; border-bottom-color: #bed4ff; color: #0645c0; }
:root[data-theme='light'] #demo-controls a { color: #0645c0; }
:root[data-theme='light'] #demo-controls button { border-radius: 6px; }
:root[data-theme='light'] .demo-logo { background: linear-gradient(145deg,#ac7cff,#6922e3); box-shadow: 0 8px 36px #6728a64d, inset 0 1px 2px #dec4ff; }
:root[data-theme='light'] .demo-eyebrow { color: #0645c0; }
:root[data-theme='light'] p { color: #344056; }
:root[data-theme='light'] #demo-status { color: #465163; }
:root[data-theme='light'] .demo-sample-choice small { color: #465163; }
:root[data-theme='light'] .demo-sample-choice input { accent-color: #0645c0; }
:root[data-theme='light'] button, :root[data-theme='light'] #demo-controls button { background: linear-gradient(135deg, #165dff, #0645c0); border-color: #0645c0; color: #ffffff; }
:root[data-theme='light'] button:focus-visible { outline-color: #165dff; }
:root[data-theme='light'] #demo-controls button[aria-pressed='true'] { background: #fff0ef; color: #c42625; border-color: #c42625; }
@media (max-width: 600px) { .demo-banner { padding: 0 10px; font-size: 10px; } }
