/* Shared identity in the published reader and the owner's live preview. */
:is(.ap-carta-identity,.ap-studio-screen){--carta-accent:#0a5c63;--carta-soft:#e4f0ee}
:is(.ap-carta-identity,.ap-studio-screen)[data-theme=jardim]{--carta-accent:#27563b;--carta-soft:#edf3e9}
:is(.ap-carta-identity,.ap-studio-screen)[data-theme=vinho]{--carta-accent:#85243d;--carta-soft:#f8edf0}
.ap-menu-document .ap-carta-cover{display:block;width:100%;height:clamp(180px,25vw,340px);max-height:340px;object-fit:cover;border-radius:12px}
.ap-carta-brand{display:flex;gap:22px;align-items:center;padding:26px 0}.ap-carta-brand>img{width:88px;height:88px;object-fit:contain;flex:0 0 88px;background:#fff;border-radius:10px}.ap-carta-brand h2{font-family:Fraunces,Georgia,serif;font-size:clamp(26px,3vw,40px);line-height:1.2;color:var(--carta-accent);margin:4px 0;overflow-wrap:anywhere}.ap-carta-brand p{margin:0;font-size:13px;color:#4f6468}
.ap-carta-identity .qr-price{color:var(--carta-accent)}.ap-carta-identity .qr-category-nav button[aria-pressed=true]{background:var(--carta-accent);border-color:var(--carta-accent)}.ap-carta-identity .qr-diet-note{background:var(--carta-soft)}
.ap-carta-identity .qr-group h2{color:var(--carta-accent)}
.ap-carta-identity[data-layout=photos] .qr-item{display:block}.ap-carta-identity[data-layout=photos] .qr-photo{width:100%;height:auto;aspect-ratio:4/3;margin-bottom:16px}.ap-carta-identity[data-layout=photos] .qr-items{gap:0 30px}
.ap-studio-screen .ap-carta-cover{height:180px;border-radius:0}.ap-studio-screen .ap-carta-brand{padding:20px;gap:12px}.ap-studio-screen .ap-carta-brand>img{width:58px;height:58px;flex-basis:58px}.ap-studio-screen .ap-carta-brand h2{font-size:25px}.ap-studio-screen .ap-carta-categories{display:flex;gap:8px;overflow:auto;padding:0 18px 14px;position:sticky;top:0;background:#fff;z-index:1}.ap-studio-screen .ap-carta-categories a{white-space:nowrap;padding:10px 14px;color:var(--carta-accent);background:var(--carta-soft);border-radius:22px;font-size:13px}.ap-studio-screen .ap-carta-group{padding:10px 20px}.ap-studio-screen .ap-carta-group>h2{font:600 24px Fraunces,Georgia,serif;color:var(--carta-accent)}.ap-studio-screen .ap-carta-item{display:flex;gap:14px;border-bottom:1px solid #d5e1de;padding:18px 0}.ap-studio-screen .ap-carta-item>img{width:80px;height:94px;object-fit:cover;border-radius:8px}.ap-studio-screen .ap-carta-item>div{min-width:0;flex:1}.ap-studio-screen .ap-carta-item h3{font-size:17px;line-height:1.3;margin:0 0 8px;overflow-wrap:anywhere}.ap-studio-screen .ap-carta-item p{font-size:13px;margin:0 0 8px;white-space:pre-line;overflow-wrap:anywhere}.ap-studio-screen .ap-carta-item strong{font-size:16px;color:var(--carta-accent)}.ap-studio-screen[data-layout=photos] .ap-carta-item{display:block}.ap-studio-screen[data-layout=photos] .ap-carta-item>img{width:100%;height:auto;aspect-ratio:4/3;margin-bottom:14px}.ap-studio-workspace[data-preview=desktop] .ap-carta-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.ap-studio-workspace[data-preview=desktop] .ap-studio-screen .ap-carta-cover{height:280px}
@media(max-width:520px){.ap-carta-brand{gap:14px}.ap-carta-brand>img{width:64px;height:64px;flex-basis:64px}.ap-studio-workspace[data-preview=desktop] .ap-carta-items{grid-template-columns:1fr}}

