.commerce-groups{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}.print-example{width:100%;aspect-ratio:1/1.2;background-image:url('assets/impressao-exemplos-mb.png');background-size:300% 100%;background-repeat:no-repeat}.bleed-stage{position:relative;max-width:100%;margin:20px auto;border:1px solid #aaa;background:repeating-linear-gradient(45deg,#fafafa,#fafafa 7px,#eee 7px,#eee 8px)}.bleed-stage canvas{display:block;width:100%;height:auto}.trim-guide{position:absolute;border:1px dashed #ff005c;box-shadow:0 0 0 1px white;pointer-events:none}.bleed-legend{font-size:13px;line-height:1.5}.price-entry{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.price-badge{font-size:16px;color:var(--pink);font-weight:bold}.commerce-admin{overflow-x:auto}.commerce-admin input,.commerce-admin select{padding:10px;width:100%}@media(max-width:800px){.commerce-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important}.price-entry{grid-template-columns:1fr 1fr}}@media(max-width:450px){.commerce-groups{gap:8px!important}.commerce-groups button{font-size:12px;padding:10px 5px}}

/* Administration has its own header, aligned with the persistent sidebar. */
body:has(.adminbody)>header{padding:0 18px;justify-content:flex-start;gap:0}
body:has(.adminbody)>header>.brand{width:204px;display:flex;align-items:center;justify-content:flex-start}
body:has(.adminbody)>header>.navlinks,body:has(.adminbody)>header>.actions{display:none}
@media(max-width:850px){body:has(.adminbody)>header{padding-left:10px}body:has(.adminbody)>header>.brand{width:160px}}
@media(max-width:500px){body:has(.adminbody)>header{padding-left:6px}body:has(.adminbody)>header>.brand{width:128px}body:has(.adminbody)>header>.brand img{max-width:120px}}

.legal-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:18px;padding:24px 18px;border-top:1px solid var(--line);font:14px Arial,sans-serif;letter-spacing:0}.legal-links a{text-decoration:underline;text-underline-offset:4px}.legal-links a:hover,.legal-links a:focus{color:var(--pink)}.legal-page{max-width:1000px}.legal-page h1{font-size:clamp(30px,5vw,54px)}.legal-page h2{font-family:Arial,sans-serif;font-weight:700;font-size:22px;margin:32px 0 12px}.legal-page p{line-height:1.7}.legal-page a{text-decoration:underline;text-underline-offset:3px}.legal-page th,.legal-page td{white-space:normal;vertical-align:top;line-height:1.5}body:has(.adminbody) .legal-links{display:none}
