:root{--ink:#141a2b;--navy:#1e2740;--muted:#6b748c;--paper:#f7f8fb;--line:#dce0e9;--red:#e8382b;--orange:#f7712f;--gold:#fbaf3c;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Source Sans 3',system-ui,sans-serif;font-size:16px;line-height:1.55}header{background:white;border-bottom:1px solid var(--line);padding:18px 5vw;display:flex;align-items:center;gap:30px;flex-wrap:wrap}.brand img{width:150px;max-height:54px;object-fit:contain}nav{display:flex;gap:20px;flex:1;flex-wrap:wrap}a{color:var(--navy);text-decoration:none}a:hover{text-decoration:underline}main{max-width:1160px;margin:48px auto;padding:0 24px}h1,h2,h3{font-family:Nunito,system-ui,sans-serif;line-height:1.15;letter-spacing:-.025em}h1{font-size:clamp(30px,5vw,48px)}.hero{border-radius:26px;background:var(--navy);color:white;padding:42px;margin-bottom:30px}.hero p{color:#dce0e9;max-width:640px}.eyebrow{color:var(--gold);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:700}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}.card,.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:18px}.card h2{font-size:22px}.price{font-size:26px;font-weight:800;color:#d92c1c}.meta{font-size:14px;color:var(--muted)}button,.button{display:inline-block;border:0;border-radius:999px;background:linear-gradient(135deg,var(--orange),#e12a1c);color:white;padding:12px 24px;font:600 16px system-ui;cursor:pointer;min-height:48px}button:hover,.button:hover{filter:brightness(.95);text-decoration:none}input,select,textarea{width:100%;padding:12px;border:1px solid #c3c9d6;border-radius:10px;font:inherit;min-height:48px}input[type=checkbox]{width:auto;min-height:0}label{display:block;margin:16px 0 6px;font-weight:600}form{max-width:680px}form.inline{display:inline-block;margin:8px 8px 0 0}.search{display:flex;gap:12px;max-width:none;margin:24px 0}.search input{flex:1}.alert{padding:18px;border-radius:12px;background:#fff0e8;border:1px solid #e8382b;margin:20px 0}.success{border-color:#338454;background:#eefaf3}table{border-collapse:collapse;width:100%;background:white}td,th{text-align:start;padding:14px;border-bottom:1px solid var(--line)}.table-wrap{overflow:auto}footer{max-width:1160px;margin:60px auto;padding:24px;color:var(--muted)}:focus-visible{outline:3px solid #2c62d6;outline-offset:3px}.tabs{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:26px}small{color:var(--muted)}@media(max-width:640px){header{gap:16px}nav{gap:14px}main{margin-top:24px}.hero{padding:26px}.search{flex-wrap:wrap}h1{font-size:32px}}
.tabs [aria-current=page]{font-weight:800;color:#d92c1c;border-bottom:3px solid #e8382b}summary{cursor:pointer;font-weight:700;padding:6px 0;min-height:44px}details[open] summary{margin-bottom:18px}input[readonly]{background:#f7f8fb;color:#6b748c}.search input{min-width:160px}

.promotion-image{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:14px;background:#f7f8fb;margin-bottom:16px}.public-search{max-width:none}.public-search .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}

@media(max-width:640px){header{justify-content:space-between;gap:10px 16px}header .brand img{width:92px}header>nav{order:3;flex:1 1 100%;gap:0 16px}header>nav>a{display:inline-flex;align-items:center;min-height:44px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}}

/* Public shop identity and owner-managed media. */
.shop-identity{position:relative;margin-block-end:1rem;padding-block-end:1.5rem}
.shop-cover{display:block;width:100%;max-height:280px;aspect-ratio:3/1;object-fit:cover;border-radius:18px;background:#eef2ff}
.shop-cover-fallback{background:linear-gradient(120deg,#e0e7ff,#f0fdfa)}
.shop-logo{display:block;width:96px;height:96px;object-fit:contain;border-radius:20px;background:#fff;border:3px solid #fff}
.shop-identity .shop-logo{position:relative;margin-block-start:-48px;margin-inline-start:24px}
.shop-logo-fallback{display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:#4338ca;background:#eef2ff}
@media(max-width:480px){.shop-cover{aspect-ratio:2/1}.shop-logo{width:80px;height:80px}.shop-identity .shop-logo{margin-block-start:-40px;margin-inline-start:16px}}

.follow-confirmation{max-width:36rem;margin:2rem auto;text-align:center}.follow-check{display:grid;place-items:center;width:90px;height:90px;margin:0 auto 1.5rem;border-radius:50%;background:#E7F5F0;color:#0B6B4E;font-size:2.5rem}

.promotion-gallery{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory}.promotion-gallery figure{flex:0 0 min(85vw,30rem);margin:0;scroll-snap-align:start}.promotion-gallery img{width:100%;object-fit:contain}.promotion-gallery figcaption{text-align:center}

.qr-material-preview { text-align:center; margin:1rem 0; }
.qr-material-preview img { max-width:100%; max-height:420px; object-fit:contain; }

.admin-workspace-nav{padding:18px;background:white;border:1px solid var(--line);border-radius:16px;margin-bottom:26px;display:flex;gap:8px 18px;flex-wrap:wrap}.admin-workspace-nav a{min-height:40px;display:flex;align-items:center;font-weight:600}.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-metrics .panel{display:flex;flex-direction:column;gap:12px}.admin-metrics strong{font-size:32px;color:var(--navy)}@media(max-width:640px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workspace-nav{gap:6px 14px}}
/* Merchant support and small, dismissible sponsored placements. */
.support-message{white-space:pre-wrap;overflow-wrap:anywhere}.banner-preview{width:160px;height:160px;object-fit:contain;background:#fff}.sponsor-banner{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));inset-inline-end:18px;width:176px;padding:8px;background:#fff;color:#293449;border:1px solid #dce2ec;border-radius:12px;box-shadow:0 6px 28px #19233725;z-index:50;animation:banner-rise .25s ease-out}.sponsor-banner[hidden]{display:none}.sponsor-banner>div{display:flex;justify-content:space-between;align-items:center;font-size:10px}.sponsor-banner button{min-height:32px;min-width:32px;padding:0;background:transparent;color:#293449;font-size:22px}.sponsor-banner img{display:block;width:160px;height:160px;object-fit:contain}.sponsor-banner a{display:block}.sponsor-banner:focus-within{outline:2px solid #2c62d6}@keyframes banner-rise{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.sponsor-banner{animation:none}}

.promotion-description{white-space:pre-wrap;overflow-wrap:anywhere}

.social-post{max-width:720px;margin:18px auto}.social-post header{position:static;display:flex;justify-content:space-between;gap:12px;padding:0;background:none;box-shadow:none;flex-wrap:wrap}.social-post time{font-size:.8rem;color:#687078}.social-post .promotion-image{width:100%;max-height:460px;object-fit:contain}.post-actions{display:flex;align-items:center;gap:18px}.post-actions form{margin:0}.post-actions button{padding:8px 12px}

.post-logo{width:44px;height:44px;border-radius:12px;object-fit:contain;float:inline-start;margin-inline-end:12px}
.notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:1px solid var(--line);border-radius:50%;font-size:21px;background:white}.notification-badge{position:absolute;top:-5px;right:-7px;background:#c6271d;color:white;border:2px solid white;border-radius:12px;padding:0 5px;font:700 11px/18px system-ui}.inbox-row{background:white;border-bottom:1px solid var(--line);padding:16px;margin:0}.inbox-row h2{font-size:18px;line-height:1.35;margin:6px 0;overflow-wrap:break-word}.inbox-row .eyebrow{color:var(--muted);margin:0;font-size:11px}.inbox-row p.meta{margin:8px 0}.inbox-row form{display:inline-block;margin:0 8px 0 0}.inbox-row form p{margin:0}.inbox-row button{min-height:44px;font-size:14px;padding:8px 14px}[data-notification-items]{border:1px solid var(--line);border-radius:12px;overflow:hidden}[data-notification-pager]{padding:16px 0}[data-notification-feed][aria-busy=true] [data-notification-next]{opacity:.5;cursor:wait}

/* Public header follows the same content grid as main. */
.public-header{padding:0;display:block}.public-header-inner{max-width:1160px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.public-header-inner nav{gap:6px 16px}.public-header-inner nav>a,.public-languages>a{display:inline-flex;align-items:center;min-height:44px}.public-languages{display:flex;gap:10px}.public-header-inner .brand{flex-shrink:0}@media(max-width:640px){.public-header-inner{gap:8px 16px;padding:12px 24px;justify-content:space-between}.public-header-inner nav{order:3;flex:1 1 100%;gap:0 16px}}

/* Country-dependent geography and fiscal fields must honor hidden despite label layout rules. */
.registration-grid [hidden],[data-italian223][hidden]{display:none!important}

/* PDF first-page clickable boxes, shared by public and merchant screens. */
.pdf-box247{display:block;width:100%;max-width:640px;margin:0 auto 12px;padding:0;overflow:hidden;border:1px solid #dde3eb;border-radius:6px;background:#f4f5f8;color:#22345e;text-align:center;cursor:pointer}.pdf-box247 img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}.pdf-box247 span{display:block;padding:10px;background:#fff;font-size:14px}.pdf-box247:focus-visible{outline:3px solid #fa582f;outline-offset:3px}

.pdf-box247[hidden]{display:none}
