/* Melo Silva Brindes e Vitória Produções — an online converter whose formats you hold in your hand */
:root {
  --page: #f6f6f1; --card: #ffffff; --well: #fbfbf8; --line: #dcdcd2; --line2: #ecece4;
  --ink: #15171c; --ink2: #3f424b; --ink3: #5f626b;
  --violet: #5a3cf0; --violet-d: #4628d8; --violet-50: #f1eeff; --violet-ink: #2a1a8c;
  --lime: #c9f24a;
  --r: 12px; --shadow: 0 1px 2px rgba(21,23,28,.05), 0 14px 34px -22px rgba(21,23,28,.22);
  --sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif; --mono: 'DM Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 15px/1.55 var(--sans); }
::selection { background: var(--lime); color: var(--ink); }
a { color: var(--violet); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.mono { font-family: var(--mono); }
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }

/* tool bar */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; height: 60px; padding: 0 24px; background: var(--page); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; display: block; }
.bar-where { font-size: 13px; color: var(--ink3); padding-left: 18px; border-left: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.bar-tel { color: var(--ink); text-decoration: none; font-size: 13px; color: var(--ink3); }
.bar-tel b { font: 500 14px var(--mono); color: var(--ink); margin-left: 4px; }
.bar-tel:hover b { color: var(--violet); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; padding: 2px; background: var(--card); }
.lang button { border: 0; background: none; font: 500 12px var(--mono); padding: 6px 9px; border-radius: 7px; color: var(--ink3); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* frame */
.app { max-width: 1380px; margin: 0 auto; padding: 22px 24px 56px; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 20px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.tool { grid-column: 1; min-width: 0; scroll-margin-top: 76px; padding: 26px 32px 30px; }
.queue { grid-column: 2; position: sticky; top: 80px; padding: 22px 22px 22px; min-width: 0; max-height: calc(100vh - 100px); overflow: auto; }
.cat { grid-column: 1 / -1; min-width: 0; }

/* tool head */
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tool-h { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink3); letter-spacing: 0; max-width: 60ch; }
.modes { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--well); }
.modes button { border: 0; background: none; padding: 8px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.modes button[aria-selected="true"] { background: var(--ink); color: #fff; }
.modes button:not([aria-selected="true"]):hover { background: var(--line2); }

.pairline { display: flex; align-items: center; gap: .14em; margin: 26px 0 4px; font-size: clamp(54px, 8.2vw, 136px); font-weight: 800; line-height: .92; letter-spacing: -.05em; white-space: nowrap; overflow: hidden; padding-bottom: .04em; }
.pw { display: inline-block; }
.parr { display: inline-flex; position: relative; width: .78em; height: .5em; flex: none; }
.parr svg { width: 100%; height: 100%; fill: none; stroke: var(--violet); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.pairline.no .parr svg { stroke: var(--ink3); }
.pairline.no .parr::after { content: ''; position: absolute; left: 18%; right: 18%; top: 50%; height: .07em; background: var(--ink); transform: rotate(-38deg); border-radius: 2px; }
.pairline.no .pw { color: var(--ink3); }
html .pairline.flip .pa { animation: pwSwap .55s var(--ease) both; }
html .pairline.flip .pb { animation: pwSwap .55s .06s var(--ease) both; }
@keyframes pwSwap { from { transform: translateY(-.22em); opacity: 0; } }
.pairline.pulse .parr svg { animation: arrowGo .7s var(--ease); }
@keyframes pwIn { from { transform: translateY(.28em); opacity: 0; } }
@keyframes arrowGo { 0% { transform: translateX(-.12em); } 60% { transform: translateX(.08em); } 100% { transform: none; } }
html.js:not(.static) .pairline:not(.flip) .pw, html.js:not(.static) .pairline:not(.flip) .parr { animation: pwIn .8s var(--ease) both; }
html.js:not(.static) .pairline:not(.flip) .parr { animation-delay: .12s; } html.js:not(.static) .pairline:not(.flip) .pb { animation-delay: .2s; }
.verb { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink2); }

/* slots */
.slots { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; margin-top: 24px; }
.slot { position: relative; min-width: 0; }
.slot-btn { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'k c' 'p p' 'n n' 's s'; text-align: left; background: var(--well); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px 18px; transition: border-color .25s var(--ease), background .25s var(--ease); }
.slot-btn:hover { border-color: #b9b9ae; background: #fff; }
.slot.open .slot-btn, .slot-btn:focus-visible { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); background: #fff; outline: none; }
#slotB .slot-btn { background: var(--violet-50); border-color: #d6cffb; }
#slotB .slot-btn:hover { background: #ebe6ff; }
.slots { --dx: 0px; --dy: 0px; }
.slots.flip #slotA .pic { position: relative; z-index: 3; animation: picA .65s var(--ease); }
.slots.flip #slotB .pic { position: relative; z-index: 3; animation: picB .65s var(--ease); }
.slots.flip .slot-name, .slots.flip .slot-sub { animation: pwIn .5s .15s var(--ease) both; }
@keyframes picA { from { transform: translate(var(--dx), var(--dy)); } }
@keyframes picB { from { transform: translate(calc(var(--dx) * -1), calc(var(--dy) * -1)); } }
.slot-k { grid-area: k; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.slot-chev { grid-area: c; width: 9px; height: 9px; border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3); transform: rotate(45deg); margin: 2px 4px 0 0; transition: transform .3s var(--ease); }
.slot.open .slot-chev { transform: rotate(225deg); margin-top: 8px; }
.pic { grid-area: p; display: block; height: 220px; margin: 6px -6px 10px; }
.pic svg { width: 100%; height: 100%; display: block; }
.pic.noscale svg { padding: 34px 0 20px; }
svg * { vector-effect: non-scaling-stroke; }
.pic svg *, .pk-pic svg *, .t-pics svg *, .q-pics svg * { fill: none; stroke: var(--ink); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.pic svg .v, .pk-pic svg .v, .t-pics svg .v, .q-pics svg .v { stroke: var(--violet); stroke-width: 1.6; }
.pic svg * { stroke-width: 1.7; } .pic svg .v { stroke-width: 2.3; }
.pic svg .g { stroke: var(--line2); stroke-width: 1; }
.pic svg .base { stroke: var(--line); stroke-width: 1.2; }
.pic svg .bar { stroke: var(--ink3); stroke-width: 1.4; }
.pic svg .m, .pk-pic svg .m, .t-pics svg .m { stroke: var(--ink3); stroke-width: 1; }
.slot-name { grid-area: n; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.slot-sub { grid-area: s; font: 400 13px/1.5 var(--mono); color: var(--ink3); margin-top: 4px; }
.flag { display: inline-block; font: 500 11.5px/1.3 var(--mono); font-style: normal; color: var(--violet-ink); border: 1px dashed var(--violet); border-radius: 6px; padding: 2px 6px; margin-left: 8px; white-space: nowrap; }
.slot-sub .flag { margin-left: 0; margin-top: 6px; display: table; }
.swap { justify-self: center; width: 56px; height: 56px; border-radius: 16px; border: 0; background: var(--violet); color: #fff; display: grid; place-items: center; position: relative; z-index: 2; transition: transform .45s var(--ease), background .2s; }
.swap svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.swap:hover { background: var(--violet-d); transform: rotate(180deg); }
.scale-note { margin: 10px 0 0; font: 400 12px var(--mono); color: var(--ink3); }

/* picker */
.picker { position: absolute; z-index: 25; top: calc(100% + 8px); left: 0; width: min(560px, 150%); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; max-height: 430px; overflow: auto; }
#slotB .picker { left: auto; right: 0; }
.picker[hidden] { display: none; }
.pk-h { grid-column: 1 / -1; margin: 2px 6px 6px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); }
.pk-i { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; border: 1px solid transparent; background: none; border-radius: 9px; padding: 8px 10px; }
.pk-i:hover { background: var(--violet-50); }
.pk-i[aria-selected="true"] { border-color: var(--violet); background: var(--violet-50); }
.pk-pic { height: 44px; display: block; } .pk-pic svg { width: 100%; height: 100%; display: block; }
.pk-t b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.pk-t small { display: block; font: 400 11.5px/1.4 var(--mono); color: var(--ink3); margin-top: 2px; }
.pk-one { grid-column: 1 / -1; margin: 6px; font-size: 12.5px; color: var(--ink3); }

/* swap message */
.swapmsg { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--ink); border-radius: 10px; background: #fff; font-size: 14.5px; animation: pwIn .4s var(--ease); }
.swapmsg[hidden] { display: none; }
.swapmsg b { font-family: var(--mono); font-weight: 500; }
.sm-ico { flex: none; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 50%; position: relative; }
.sm-ico::after { content: ''; position: absolute; left: 2px; right: 2px; top: 7px; height: 2px; background: var(--ink); transform: rotate(-45deg); }
.sm-undo { margin-left: auto; flex: none; border: 0; background: none; color: var(--violet); font-weight: 700; padding: 6px 4px; }
.sm-undo:hover { text-decoration: underline; }

/* run row */
.run { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); transition: opacity .3s; }
.run.off { opacity: .45; }
.qty { display: flex; align-items: center; gap: 12px; }
.qty .lbl { font-size: 14px; font-weight: 700; }
.step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.step button { width: 40px; height: 42px; border: 0; background: none; font-size: 20px; color: var(--ink2); border-radius: 9px; }
.step button:hover { background: var(--line2); }
.step output { min-width: 46px; text-align: center; font: 500 18px var(--mono); }
.unit { font-size: 14px; color: var(--ink3); }
.price { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px; row-gap: 4px; }
.price .tbc { grid-column: 1 / -1; justify-self: start; }
.price-v { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.price-u { font-size: 14px; color: var(--ink2); }
.price-u .eq { color: var(--ink); margin-left: 6px; }
.tbc { font-size: 11.5px; color: var(--ink3); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.btn-main { border: 0; background: var(--violet); color: #fff; font-size: 15px; font-weight: 700; padding: 14px 22px; border-radius: 10px; transition: background .2s, transform .2s var(--ease); }
.btn-main:hover { background: var(--violet-d); }
.btn-main:active { transform: translateY(1px); }
.btn-main:disabled { background: #b8b8c4; cursor: not-allowed; }
.run .btn-main { margin-left: auto; }
.btn-main.wide { width: 100%; margin-top: 16px; }
.btn-line { border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; padding: 13px 18px; border-radius: 10px; }
.btn-line:hover { background: var(--ink); color: #fff; }
.nada { margin: 16px 0 0; font-size: 13px; color: var(--ink3); display: flex; gap: 8px; align-items: baseline; }
.nada::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); transform: translateY(-1px); }

/* ficha */
.ficha { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.ficha > div { padding: 0 18px; border-left: 1px solid var(--line); min-width: 0; }
.ficha > div:first-child { padding-left: 0; border-left: 0; }
.ficha dt { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.ficha dd { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink2); }
.ficha dd .flag { margin: 6px 0 0; display: table; }

/* queue */
.q-head { display: flex; align-items: center; gap: 10px; }
.q-head h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.q-count { margin-left: auto; min-width: 30px; text-align: center; background: var(--ink); color: #fff; border-radius: 7px; padding: 3px 8px; font-size: 13px; }
.queue.got { animation: got .8s var(--ease); }
@keyframes got { 0% { box-shadow: 0 0 0 2px var(--violet), var(--shadow); } 100% { box-shadow: 0 0 0 0 transparent, var(--shadow); } }
.q-empty { margin: 16px 0 0; padding: 16px 16px 6px; border: 1px dashed var(--line); border-radius: 10px; font-size: 14px; color: var(--ink2); }
.q-empty p { margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.q-empty ol { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.q-empty li { counter-increment: st; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: baseline; padding: 0 0 10px; line-height: 1.45; }
.q-empty li::before { content: counter(st); font: 500 12px/22px var(--mono); text-align: center; width: 22px; height: 22px; border-radius: 6px; background: var(--violet-50); color: var(--violet-ink); }
.q-empty[hidden] { display: none; }
.q-list { margin-top: 12px; }
.q-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 92px 28px; grid-template-areas: 'p n v x' 's s s x'; gap: 6px 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line2); }
.q-th { grid-template-areas: 'p n v x'; padding: 0 0 6px; border: 0; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.q-th span:nth-child(4) { display: none; }
.q-th span:nth-child(1) { grid-area: p; } .q-th span:nth-child(2) { grid-area: n; } .q-th span:nth-child(3) { grid-area: v; text-align: right; }
.q-pair { grid-area: p; display: flex; gap: 10px; align-items: center; min-width: 0; }
.q-pair b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.q-pair small { display: block; font-size: 12px; color: var(--ink3); line-height: 1.35; }
.q-pics { display: flex; flex: none; gap: 2px; }
.q-pics i { width: 26px; height: 26px; display: block; } .q-pics svg { width: 100%; height: 100%; display: block; }
.q-n { grid-area: n; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.q-n button { width: 22px; height: 22px; border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 13px; line-height: 1; padding: 0; }
.q-v { grid-area: v; text-align: right; font-size: 14px; }
.q-s { grid-area: s; text-align: left; padding-left: 64px; }
.chip { display: inline-block; background: var(--lime); color: var(--ink); font-size: 10.5px; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.q-x { grid-area: x; width: 28px; height: 28px; border: 0; background: none; border-radius: 7px; display: grid; place-items: center; }
.q-x svg { width: 14px; height: 14px; fill: none; stroke: var(--ink3); stroke-width: 2; stroke-linecap: round; }
.q-x:hover { background: var(--line2); }
.q-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 0 0; border-top: 1px solid var(--ink); font-weight: 700; }
.q-total[hidden] { display: none; }
.q-total b { margin-left: auto; font-size: 20px; font-weight: 500; }
.q-total .tbc { font-weight: 400; }
#ask.used { background: var(--ink); }

.req { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.req[hidden] { display: none; }
.req-law { margin: 0; font-size: 13px; line-height: 1.5; background: var(--violet-50); color: var(--violet-ink); padding: 12px 14px; border-radius: 10px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.fld input, .fld textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 400 15px var(--sans); color: var(--ink); background: #fff; }
.fld textarea { font: 400 12.5px/1.55 var(--mono); background: var(--well); resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--violet); outline-offset: 0; border-color: transparent; }
.req-b { display: flex; gap: 10px; flex-wrap: wrap; }
.req-b .btn-main { flex: 1 1 auto; }
.req-alt { margin: 0; font-size: 13px; color: var(--ink3); }
.req-done { margin: 0; font-size: 12px; color: var(--violet-ink); min-height: 1em; }
.req-done:empty { display: none; }

/* catalogue */
.cat { padding: 34px 0 0; }
.cat-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.cat-head h2 { margin: 0; font-size: 38px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.cat-sub { margin: 0; color: var(--ink3); font-size: 14px; }
.tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: none; padding: 12px 16px 11px; font-size: 15px; font-weight: 600; color: var(--ink3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--violet); }
.tiles { display: grid; grid-template-columns: 300px repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 16px; }
.tab-note { margin: 0; padding: 4px 24px 4px 0; display: grid; align-content: start; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--ink2); }
.tab-note b { font-size: 22px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); line-height: 1.1; }
.tab-note small { font-size: 11.5px; color: var(--ink3); }
.tile { display: grid; gap: 4px; align-content: start; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 12px; transition: border-color .2s, transform .3s var(--ease); }
.tile:hover { border-color: var(--violet); transform: translateY(-2px); }
.tile.cur { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); background: var(--violet-50); }
.t-pics { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.t-pics i { width: 46px; height: 38px; display: block; } .t-pics i svg { width: 100%; height: 100%; display: block; }
.t-pics .t-arr { width: 18px; height: 10px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-code { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.t-name { font-size: 12.5px; color: var(--ink2); line-height: 1.4; }
.t-v { font-size: 15px; margin-top: 4px; } .t-v small { font-size: 12px; color: var(--ink3); }
.t-f { font-size: 11px; color: var(--ink3); }

.sobre { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink); }
.sobre-h { margin: 0 0 14px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.sobre-g { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); gap: 20px; }
.sb { min-width: 0; }
.nw { white-space: nowrap; }
.sb-k { display: block; font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.sb p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.sb a { color: var(--ink); font-family: var(--mono); font-size: 14px; }
.sb-name b { font-size: 17px; letter-spacing: -.01em; }
.now { display: inline-block; margin-top: 8px; font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--ink2); }
.now.on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.now:empty { display: none; }
.fine { margin: 12px 0 0; font-size: 12.5px; color: var(--ink3); max-width: 90ch; }
.sobre .fine:first-of-type { margin-top: 26px; }
.fine-links a { color: var(--ink2); margin-right: 10px; }

/* body class for the legal shell */
body.legal { background: var(--page); }
.legal-main { max-width: 820px; margin: 0 auto; padding: 28px 24px 64px; }
.legal-top { display: flex; align-items: center; height: 60px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.legal-top img { height: 32px; width: auto; display: block; }
.legal-main h1 { font-size: 38px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.legal-main h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 30px; }

@media (max-width: 1100px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .queue { grid-column: 1; position: static; max-height: none; }
  .sobre-g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .ficha > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .bar { gap: 10px; padding: 0 14px; height: 56px; }
  .bar-where { display: none; }
  .brand img { height: 26px; }
  .bar-tel span { display: none; }
  .bar-tel b { font-size: 13px; margin: 0; }
  .app { padding: 12px 12px 40px; gap: 14px; }
  .tool { padding: 18px 16px 22px; }
  .pairline { font-size: 56px; margin-top: 18px; }
  .verb { font-size: 16px; }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .swap { margin: -14px auto; transform: rotate(90deg); width: 50px; height: 50px; }
  .swap:hover { transform: rotate(270deg); }
  .pic { height: 150px; }
  .slot-name { font-size: 19px; }
  .picker { width: 100%; grid-template-columns: minmax(0, 1fr); max-height: 360px; }
  .run { gap: 16px; }
  .run .btn-main { margin-left: 0; width: 100%; }
  .ficha { grid-template-columns: minmax(0, 1fr); }
  .ficha > div { padding: 0; border-left: 0; }
  .queue { padding: 18px 14px; }
  .q-th { display: none; }
  .q-row { grid-template-columns: minmax(0, 1fr) auto 28px; grid-template-areas: 'p p x' 'n v v' 's s s'; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-top: 8px; row-gap: 8px; }
  .q-s { text-align: left; padding-left: 0; }
  .cat-head h2 { font-size: 30px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tab-note { grid-column: 1 / -1; padding: 0 0 6px; }
  .tab-note b { display: none; }
  .tile { padding: 12px 10px 10px; }
  .t-pics i { width: 38px; height: 32px; }
  .t-code { font-size: 15px; }
  .sobre-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-name { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: melo-silva-brindes-e-vitoria-producoes */
.ck { left: auto; right: max(20px, calc((100vw - 1380px) / 2 + 24px)); bottom: 20px; width: min(430px, calc(100vw - 40px)); max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'k' 't' 'p' 'b'; row-gap: 3px; background: #15171c; color: #f6f6f1; border: 0; border-radius: 12px; padding: 14px 16px 10px 18px; font: 400 13px/1.45 'Plus Jakarta Sans', 'Segoe UI', sans-serif; box-shadow: 0 14px 34px -18px rgba(21,23,28,.55); animation: ms-ck-in .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes ms-ck-in { from { transform: translateY(24px); opacity: 0; } }
html.static .ck { animation: none; }
.ck .ck-k { grid-area: k; display: flex; align-items: center; gap: 8px; font: 500 11px/1.3 'DM Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: #c9c9d2; margin: 0; }
.ck .ck-k::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #c9f24a; box-shadow: 0 0 0 3px rgba(201,242,74,.18); }
.ck .ck-t { grid-area: t; margin: 0; }
.ck .ck-t b { display: block; font: 700 15px/1.3 'Plus Jakarta Sans', sans-serif; color: #ffffff; letter-spacing: -.01em; }
.ck .ck-p { grid-area: p; margin: 0; color: #d4d4dc; font-size: 13px; max-width: 64ch; }
.ck .ck-p a { color: #c9f24a; }
.ck .b { grid-area: b; margin: 6px -10px 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.ck button.ok, .ck button.no { background: none; border: 0; border-radius: 8px; padding: 9px 10px; font: 700 13.5px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .01em; cursor: pointer; }
.ck button.ok { color: #c9f24a; }
.ck button.no { color: #f6f6f1; }
.ck button.ok:hover, .ck button.no:hover { background: rgba(255,255,255,.08); }
.ck button:focus-visible, .ck a.more:focus-visible { outline: 2px solid #c9f24a; outline-offset: 2px; }
.ck a.more { margin-left: auto; color: #c9c9d2; font: 500 12px/1 'DM Mono', ui-monospace, monospace; text-decoration: underline; text-underline-offset: 3px; padding: 9px 10px; white-space: nowrap; }
.ck a.more:hover { color: #ffffff; }
/* while the snackbar is open, the queue card stops above it */
@media (min-width: 1101px) { body:has(> .ck) .queue { max-height: calc(100vh - 330px); } }
/* narrower screens: the snackbar joins the page flow right under the tool bar and covers nothing */
@media (max-width: 1100px) {
  body:has(> .ck) { display: flex; flex-direction: column; }
  body:has(> .ck) > .bar { order: -2; }
  body:has(> .ck) > .app { width: 100%; }
  body > .ck { order: -1; position: relative; left: auto; right: auto; bottom: auto; top: auto; width: auto; max-width: 1332px; margin: 12px 24px 0; align-self: stretch; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .ck { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'k b' 't b' 'p b'; column-gap: 20px; }
  .ck .b { margin: 0; flex-wrap: nowrap; }
}
@media (max-width: 760px) {
  body > .ck { margin: 12px 12px 0; padding: 12px 14px 8px; }
  .ck .ck-t b { font-size: 14px; }
  .ck .ck-p { font-size: 12.5px; }
}
footer.seller { background: #ffffff; color: #15171c; border-top: 1px solid #dcdcd2; }
footer.seller a { color: #4628d8; }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
