ticket-theme{display:inline-flex;align-items:center;max-width:100%;letter-spacing:normal}
ticket-theme label{display:inline-flex;align-items:center;gap:.4rem;font:600 .78rem/1.25 system-ui,sans-serif;text-transform:none}
ticket-theme select{font:inherit;text-transform:none;min-height:36px;padding:5px 7px;max-width:100%;cursor:pointer}
.brand ticket-theme{margin-inline-start:auto}
.brand:has(ticket-theme){flex-wrap:wrap}
.store-top{flex-wrap:wrap}
.store-top .brand:has(ticket-theme){flex:1 1 18rem}
.tv ticket-theme select{font-size:1rem}
@media(max-width:440px){
 .store-top .brand:has(ticket-theme){flex-basis:100%}
 .store-top a.btn{flex:1;min-width:0}
 .top .row:has(ticket-theme){flex-wrap:wrap}
}
@media screen {
 html[data-theme=claro] .tv{background:#f4f7f5;color:#17382f}
 html[data-theme=claro] .tv :is(h1,h3){color:#122d32}
 html[data-theme=claro] .tv :is(h2,.brand em){color:#006655}
 html[data-theme=claro] .tv .small{color:#455c52}
 html[data-theme=claro] .tv .product{border-color:#b8ccc1}

 :root[data-theme=escuro]{
  color-scheme:dark;--ink:#eef5f2;--muted:#b4c7c1;--line:#3b524e;--dark:#101e20;--accent:#13735e;--mint:#93efbd;--soft:#213932;
  --canvas:#101a1c;--surface:#192727;--raised:#213331;--selected:#294b3f;--highlight:#a1edc7;--input:#132222;
  background:var(--canvas);color:var(--ink)
 }
 [data-theme=escuro] body{background:var(--canvas);color:var(--ink)}
 [data-theme=escuro] :is(.top,.tile,.card,.board,.menu-card,.store-item,.event-toolbar,.access-dialog,.gallery-page article,.store-item .item-face){
  background-color:var(--surface);border-color:var(--line);color:var(--ink)
 }
 [data-theme=escuro] :is(.card .card,.tile:first-child,.point-card,.photo-tile,.selected-photo,.category-chip,.tabs button.alt,.stepper button,.item-step button:first-child,.store-item .custom-link,.profile-picker select,button.alt,a.alt){
  background:var(--raised);border-color:var(--line);color:var(--ink)
 }
 [data-theme=escuro] :is(button.alt:hover,a.alt:hover,.point-card:hover,.category-chip:hover,tbody tr:hover,.eye-toggle:hover){background:var(--selected)}
 [data-theme=escuro] :is(.tabs button.active,.category-chip[aria-pressed=true],.photo-tile.selected){background:var(--selected);color:var(--highlight);border-color:#6dba94}
 [data-theme=escuro] :is(input,textarea,select){background-color:var(--input);border-color:#617973;color:var(--ink);accent-color:#64c998}
 [data-theme=escuro] :is(input,textarea)::placeholder{color:#a6b9b2}
 [data-theme=escuro] :is(a:not(.btn),button.link,.brand em,.mark-price,.item-copy b,.op-create summary,.unit-group summary,.profile-picker span,.eye-toggle,.point-card .icon,.catalog-cards .icon){color:var(--highlight)}
 [data-theme=escuro] :is(.point-card strong,.cost-row b){color:var(--ink)}
 [data-theme=escuro] :is(.tile .label,th,.menu-card small,.catalog-cards p,.access-dialog p,.hint,.small){color:var(--muted)}
 [data-theme=escuro] :is(.unit-count,.badge,.tile .mark,.point-card .icon){background:#284639;color:#bcf2d3}
 [data-theme=escuro] .badge.ok,[data-theme=escuro] .notice.good{background:#153f2c;color:#c1f6d4;border-color:#427659}
 [data-theme=escuro] .badge.warn,[data-theme=escuro] .term-field [aria-pressed=true]{background:#47381e;color:#ffe0a1}
 [data-theme=escuro] .notice{background:#213c36;color:#d5ede1;border-color:#48665b}
 [data-theme=escuro] :is(.notice.err,.form-error){background:#442922;color:#ffcec0;border-color:#8a584c}
 [data-theme=escuro] :is(td,th,fieldset,.event-editor fieldset,.fee-filters fieldset,.wallet-unit){border-color:var(--line)}
 [data-theme=escuro] :is(.track,.menu-photo,.item-face .item-photo,.storefront .item-photo img,.storefront .cart-thumb,.detail-photo,.tv .menu-photo,.option-photo){background-color:var(--raised)}
 [data-theme=escuro] :is(.qty-dot,.cart-dock button){background:#14553f;color:white}
 [data-theme=escuro] .access-dialog::backdrop{background:#0009}
 [data-theme=escuro] .consumo-aprovado .card h2{color:#96f4b6}
 [data-theme=escuro] .scan-approved :is(h1,h2,p){color:white}
 [data-theme=escuro] :focus-visible{outline-color:#81eab2}
 [data-theme=escuro] .qr,[data-theme=escuro] .unit-qr{color-scheme:light;background:white;color:black}
}
@media print{
 ticket-theme{display:none!important}
 html{color-scheme:light}
}
