.apmc128-filters{display:flex;gap:5px;flex-wrap:wrap;margin:4px 0 7px}.apmc128-filters button,.apmc128-add,.apmc128-dialog button{background:#103c60;color:white;border:1px solid #69c7ef;border-radius:7px;padding:7px 10px;font-weight:700;font-size:11px;cursor:pointer}.apmc128-filters button[aria-pressed=true]{background:#c50932}.apmc-event-card[hidden],.apmc128-dialog [hidden]{display:none!important}.apmc128-dialog{width:min(580px,94vw);max-height:88vh;overflow:auto;background:#112c43;color:white;border:1px solid #53c8f1;border-radius:12px;padding:20px;z-index:2147483647}.apmc128-dialog::backdrop{background:#0009}.apmc128-dialog header,.apmc128-dialog footer{display:flex;justify-content:space-between;gap:8px}.apmc128-dialog label{display:block;margin:9px 0}.apmc128-dialog input:not([type=checkbox]),.apmc128-dialog select,.apmc128-dialog textarea{display:block;width:100%;box-sizing:border-box;color:#13283b;background:white;padding:8px;border-radius:5px}.apmc128-dialog fieldset{border:0;padding:0}.apmc128-preview{max-height:200px;max-width:100%;object-fit:contain}.apmc128-status{white-space:pre-wrap}.apmc128-summary{white-space:pre-line}
.apmc120 .apmc-events-heading{flex-wrap:wrap}.apmc129-live-add{background:#673e94}.apmc129-detail{box-sizing:border-box;width:min(640px,94vw);max-height:90vh;overflow:auto}.apmc129-detail header{position:sticky;top:0;background:#112c43;z-index:2;align-items:center}.apmc129-detail .apmc129-poster{display:block;width:auto;max-width:100%;max-height:65vh;margin:12px auto;object-fit:contain}.apmc129-detail h2,.apmc129-detail h3,.apmc129-detail p,.apmc129-detail li{color:#fff}.apmc129-detail h2{font-size:1.5rem}.apmc129-detail h3{font-size:1.15rem;margin:12px 0 4px}.apmc129-detail .apmc129-description{white-space:pre-wrap}.apmc129-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.apmc129-actions button,.apmc129-actions a{display:inline-flex;align-items:center;justify-content:center;background:#195b91;color:#fff;text-decoration:none;padding:10px 12px;border:1px solid #69c7ef;border-radius:7px;font-weight:700}.apmc129-actions .apmc129-book{background:#20834b}.apmc129-actions button:last-child{background:#67409c}

/* 1.2.10: isolation from theme form styles, including autofill and native date controls. */
dialog.apmc128-dialog {color-scheme:light;color:#fff!important;background:#112c43!important;box-sizing:border-box;}
dialog.apmc128-dialog form,dialog.apmc128-dialog fieldset,dialog.apmc128-dialog label,dialog.apmc128-dialog legend,dialog.apmc128-dialog header,dialog.apmc128-dialog footer,dialog.apmc128-dialog strong,dialog.apmc128-dialog .apmc128-progress,dialog.apmc128-dialog .apmc128-summary,dialog.apmc128-dialog .apmc128-status {color:#fff!important;}
dialog.apmc128-dialog input:not([type=checkbox]):not([type=radio]),dialog.apmc128-dialog select,dialog.apmc128-dialog textarea {color:#13283b!important;-webkit-text-fill-color:#13283b!important;background:#fff!important;caret-color:#13283b!important;border:1px solid #9aafc0!important;opacity:1!important;font-size:16px!important;}
dialog.apmc128-dialog input::placeholder,dialog.apmc128-dialog textarea::placeholder {color:#526576!important;-webkit-text-fill-color:#526576!important;opacity:1!important;}
dialog.apmc128-dialog select option {color:#13283b!important;background:#fff!important;}
dialog.apmc128-dialog input:autofill {color:#13283b!important;box-shadow:0 0 0 1000px #fff inset!important;}
dialog.apmc128-dialog input:focus,dialog.apmc128-dialog select:focus,dialog.apmc128-dialog textarea:focus {outline:2px solid #53c8f1!important;outline-offset:2px;}
dialog.apmc128-dialog input[type=checkbox],dialog.apmc128-dialog input[type=radio]{accent-color:#176ba0;}
dialog.apmc128-dialog button,dialog.apmc128-dialog .apmc129-actions a {color:#fff!important;-webkit-text-fill-color:#fff!important;background:#195b91!important;}
dialog.apmc128-dialog .apmc129-actions .apmc129-book {background:#176c3b!important;}
dialog.apmc128-dialog header button {min-width:40px!important;width:40px!important;height:40px!important;padding:0!important;font-size:22px!important;line-height:1!important;flex:0 0 40px!important;background:#195b91!important;}
dialog.apmc128-dialog input::file-selector-button {color:#fff!important;-webkit-text-fill-color:#fff!important;background:#195b91!important;border:0;border-radius:4px;padding:6px 9px;}
.apmc111-companies{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.apmc111-companies button,.apmc111-company button{background:#164b70!important;color:#fff!important;border:1px solid #72b9e5!important;border-radius:7px;padding:9px 13px;font-weight:700;cursor:pointer}.apmc111-company{position:fixed;inset:0;margin:auto;width:min(760px,95vw);max-height:90vh;overflow:auto;background:#102c42!important;color:#fff!important;border:1px solid #45c6ef;border-radius:12px;padding:16px;z-index:2147483000}.apmc111-company::backdrop{background:#0009}.apmc111-company header{display:flex;justify-content:space-between;align-items:center;gap:8px}.apmc111-company header button{width:36px!important;min-width:0!important;padding:5px!important;font-size:20px}.apmc111-company h2,.apmc111-company h3,.apmc111-company p,.apmc111-company small,.apmc111-company figcaption{color:#fff!important}.apmc111-company a{color:#9edfff!important;text-decoration:underline}.apmc111-company nav{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.apmc111-company button[aria-pressed=true]{background:#b90b36!important}.apmc111-company [hidden]{display:none!important}.apmc111-intro{display:flex;align-items:center;gap:14px;margin:15px 0}.apmc111-intro img{object-fit:contain;border-radius:8px}.apmc111-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.apmc111-gallery figure{margin:0}.apmc111-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}.apmc111-company section{padding:12px 0}

/* 1.2.12: vetrina e spazio scenico, confinati ai popout AP. */
.apmc112-feed{min-width:0}.apmc112-company-label{flex-basis:100%;font-size:12px;font-weight:800;color:#e4eef7;letter-spacing:.08em}.apmc111-companies{padding:12px 4px 4px;border-top:1px solid #69c7ef55;margin-top:10px}.apmc111-company{width:min(1120px,96vw);max-height:92dvh;padding:clamp(14px,2.4vw,30px);background:linear-gradient(145deg,#101724,#182b40)!important;border-color:#a98c61;box-shadow:0 24px 90px #0009;box-sizing:border-box}.apmc111-company header{position:sticky;top:0;background:#101724;z-index:3;padding:8px 0}.apmc111-company header strong{color:#f5dfba!important;letter-spacing:.06em}.apmc111-intro{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;background:#202b38;padding:12px;border-radius:12px}.apmc111-intro img{width:100%;height:auto;max-height:370px;object-fit:contain;background:#0c121c}.apmc111-intro h2{font-size:clamp(24px,4vw,44px);line-height:1.1}.apmc111-company nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}.apmc111-company nav button{min-height:44px;background:#26384d!important;color:#fff!important}.apmc111-company nav button[aria-pressed=true]{background:#78532e!important;border-color:#e9ca94!important}.apmc111-company section{font-size:16px;line-height:1.65}.apmc111-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.apmc111-gallery figure{background:#0c121c;border:1px solid #657182;border-radius:12px;overflow:hidden}.apmc111-gallery img{display:block;width:100%;height:clamp(220px,36vw,440px);aspect-ratio:auto;object-fit:contain}.apmc111-gallery figcaption{padding:10px 14px;font-size:14px}.apmc112-photo{display:block}.apmc112-lightbox{background:#090b10!important;border:1px solid #a98c61;color:#fff!important;width:min(1400px,96vw);max-height:96dvh;padding:12px;box-sizing:border-box}.apmc112-lightbox::backdrop{background:#000d}.apmc112-lightbox img{display:block;width:100%;height:75dvh;object-fit:contain}.apmc112-lightbox .apmc112-controls{display:flex;justify-content:space-between;gap:8px;align-items:center}.apmc112-lightbox button{background:#243953!important;color:#fff!important;min-width:46px;padding:10px;border:1px solid #9db4cd;border-radius:6px}.apmc112-lightbox p{color:#fff!important;text-align:center}.apmc129-detail{width:min(850px,96vw);padding:clamp(16px,3vw,30px);background:linear-gradient(145deg,#10243a,#172e46)!important}.apmc129-detail .apmc129-poster{max-height:72dvh;border-radius:8px;box-shadow:0 8px 35px #0006}.apmc129-detail .apmc129-actions{gap:10px}.apmc129-detail .apmc129-actions button,.apmc129-detail .apmc129-actions a{min-height:44px}.apmc112-photo-error{display:block;padding:20px;color:#f5dfba!important}@media(max-width:600px){.apmc111-intro{grid-template-columns:1fr;gap:8px}.apmc111-gallery{grid-template-columns:1fr}.apmc111-gallery img{height:auto;max-height:65dvh}.apmc111-company nav{grid-template-columns:repeat(2,minmax(0,1fr))}.apmc112-lightbox img{height:65dvh}}

/* 1.2.14: feedback immediato, sotto il popout nativo Effetto Live. */
.apmc114-pending{position:fixed;z-index:2147482490;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:16px;width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:20px;background:#10283d;color:#fff;border:1px solid #739cb8;border-radius:16px;box-shadow:0 12px 60px #0009;pointer-events:none}.apmc114-pending img{width:74px;height:100px;object-fit:contain;background:#091a2a;border-radius:7px}.apmc114-pending strong,.apmc114-pending p{color:#fff!important;margin:0 0 7px;overflow-wrap:anywhere}.apmc114-pending p{font-size:14px}.apmc114-pending strong{font-size:17px}
