body{display:flex;flex-direction:column}header{height:auto;min-height:58px;flex-wrap:wrap;padding:8px 16px;flex-shrink:0}nav{flex-wrap:wrap;min-width:0}nav button{white-space:nowrap}main{height:auto;flex:1;min-height:0}.preview-banner{padding:12px 16px;background:#fff4d6;color:#624812;font-size:14px;line-height:1.5;flex-shrink:0}.preview-banner a{color:inherit;text-decoration:underline}
.shop-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:6px 0 20px;padding:24px;background:linear-gradient(120deg,#12263f,#205983);color:#fff;border-radius:14px}.shop-hero h2{font-size:25px;margin:8px 0}.shop-hero p{max-width:720px;line-height:1.6;margin:0;color:#d8e6f2}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700}.shop-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.shop-table{overflow:auto}.shop-note{font-size:12px;color:#765715;max-width:480px;line-height:1.5;margin-top:4px}.shop-table td{vertical-align:top}.shop-help{padding:20px;margin:16px 0;background:#eaf3fb;border-radius:12px;line-height:1.6}.shop-help p{margin-bottom:0}.photo-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;margin-top:18px}.photo-layout img{max-width:100%;max-height:65vh;object-fit:contain;background:#f1f4f8}.photo-layout img:not([src]){display:none}textarea{width:100%;font:inherit;border:1px solid var(--line);border-radius:8px;padding:12px;margin-top:14px}body.saving::after{content:'Salvando… aguarde';position:fixed;inset:0;background:#ffffffb3;z-index:200;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#12263f;cursor:wait}.pays{grid-template-columns:repeat(5,1fr)}.covenant-pay{padding:12px;background:#eef4fb;border-radius:8px;margin-bottom:12px}.covenant-pay[hidden]{display:none}.covenant-pay select{width:100%;padding:10px;margin-top:5px}.shop-print{font:14px system-ui;padding:20px;color:#000;background:#fff}.shop-print h2{font-size:20px}.shop-print td,.shop-print th{padding:8px;border-bottom:1px solid #ccc}.shop-print small{display:block;margin-top:16px}
@media(max-width:850px){.shop-hero{align-items:flex-start;flex-direction:column}.photo-layout{grid-template-columns:1fr}header .logo{order:1}header #adminLock{order:2;margin-left:auto}header nav{order:3;width:100%;flex:0 0 100%;flex-wrap:nowrap;overflow-x:auto}nav button{padding:10px 12px}#guide{bottom:12px;right:12px;max-width:calc(100vw - 24px)}body.hosted main{padding-bottom:90px}.pays{grid-template-columns:repeat(3,1fr)}.grid-sale{height:auto}.shop-hero h2{font-size:22px}.kpis{grid-template-columns:1fr 1fr}}
@media print{#receipt.shop-print{width:190mm;max-width:100%;font-family:system-ui;font-size:12px}@page{margin:5mm}}

.profile-chip{margin-left:auto;border-radius:999px;font-weight:650;white-space:nowrap}
.profile-chip.manager{background:#173a28;border-color:#2b6b49;color:#c9f2da}
.profile-chip.seller{background:#fff3cc;border-color:#e2c766;color:#5a4300}
.profile-chip:hover{filter:brightness(1.08)}
body.profile-seller nav button:not([data-v="venda"])::after{content:"";display:inline-block;width:11px;height:11px;margin-left:6px;vertical-align:-1px;opacity:.8;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23c9d6e6' d='M4 7V5a4 4 0 0 1 8 0v2h1v8H3V7zm2 0h4V5a2 2 0 0 0-4 0z'/%3E%3C/svg%3E") center/contain no-repeat}
