/* Rare Beer brand: #7E2828, #CDA034, #050000, #C4BABA.
   Semantic green/red retain success/error meaning; label artwork is not recolored. */
:root{--bg:#171313;--gold:#CDA034;--brand:#7E2828;--border:#35353b;color-scheme:dark}
:root[data-rb-theme="light"]{--bg:#fff;--card:#faf8f8;--text:#050000;--muted:#625757;--gold:#7E2828;--yes:#216b38;--no:#a12b2b;--border:#C4BABA;color-scheme:light}
:root[data-rb-theme="dark"] body{background-color:#171313;background-image:url("/static/home-assets/cover-dark-texture.png");background-position:center top;background-size:auto 100vh;background-repeat:repeat-x;background-attachment:fixed}:root[data-rb-theme="light"] body{background:var(--bg)}
button{color:#050000}
.rb-engine-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding-bottom:22px;margin-bottom:32px}
.rb-engine-brand{color:var(--gold);font-size:17px;font-weight:900;letter-spacing:2px;text-decoration:none}
.rb-engine-brand span{color:var(--text)}
.rb-create-logo{flex-shrink:0;display:block;line-height:0}.rb-create-logo svg{display:block;width:42px;height:59px}
[data-rb-theme="dark"] .rb-create-logo svg{filter:invert(1)}
.rb-theme-switch{display:flex;gap:2px;padding:3px;border:1px solid var(--border);border-radius:22px;flex-shrink:0}
.rb-theme-switch button{display:grid;place-items:center;grid-column:auto;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted)}
.rb-theme-switch svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rb-theme-switch button:hover{background:rgba(196,186,186,.15)}
.rb-theme-switch button[aria-pressed="true"]{background:rgba(205,160,52,.14);color:#CDA034}
[data-rb-theme="light"] .rb-theme-switch button[aria-pressed="true"]{background:rgba(126,40,40,.09);color:#7E2828}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.header-actions{flex-wrap:wrap;justify-content:flex-end}
.admin-header{flex-wrap:wrap}
.label-designer{background:var(--card);border-color:var(--border)}
[data-rb-theme="light"] .card{background:var(--card);border-color:var(--border)}
[data-rb-theme="light"] :is(select,input,.notes,.stat,.detail-block,.parameter-group,.void-modal-card){background:#fff;border-color:var(--border);color:var(--text)}
[data-rb-theme="light"] :is(th,td,.created-label-preview,.label-template-card){border-color:var(--border)}
[data-rb-theme="light"] button{color:#fff}
[data-rb-theme="light"] :is(.choose,.void-button){background:transparent;color:var(--gold)}
[data-rb-theme="light"] .void-button{color:var(--no)}
[data-rb-theme="light"] .secondary{background:#eee9e9;color:var(--text)}
[data-rb-theme="light"] .danger-button{background:var(--no);color:#fff}
[data-rb-theme="light"] .warning-text{background:rgba(205,160,52,.12);border-color:#CDA034;color:#7E2828}
[data-rb-theme="light"] .calendar-day{background:#fff;border-color:var(--border)}
[data-rb-theme="light"] .calendar-day.today{border-color:#7E2828;background:rgba(205,160,52,.08)}
[data-rb-theme="light"] .calendar-day.outside{opacity:.65}
[data-rb-theme="light"] .calendar-event{background:#eee9e9;color:var(--text)}
[data-rb-theme="light"] .calendar-event.overdue{background:rgba(161,43,43,.08)}
[data-rb-theme="light"] .rb-reserve-link{background:#7E2828!important;color:#fff!important}
[data-rb-theme="light"] .rb-theme-switch button{color:var(--muted)}
[data-rb-theme="light"] .rb-theme-switch button[aria-pressed="true"]{color:#7E2828}
@media(max-width:700px){.header-actions{justify-content:flex-start}.rb-theme-switch button{width:36px;height:36px}.wrap{padding-top:22px}}
