
.gts-brochure-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;padding:12px 0}.gts-gold-orb,.admin-shell a.gts-gold-orb,body.gts-app-ui a.gts-gold-orb{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-height:48px;box-sizing:border-box;padding:15px 19px;border-radius:999px!important;border:1px solid #c9a35b!important;background:#c9a35b!important;color:#111419!important;font:800 .9rem/1.25 Arial,sans-serif;text-align:center;text-decoration:none;box-shadow:0 4px 0 #0007,0 8px 16px #0003!important;transform:translateY(0);transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}.gts-gold-orb:hover{transform:translateY(-2px);box-shadow:0 6px 0 #0007,0 12px 22px #0004!important}.gts-gold-orb:active{transform:translateY(3px);box-shadow:0 1px 0 #0007,0 3px 8px #0003!important}.gts-gold-orb:focus-visible{outline:3px solid #e1c28d;outline-offset:5px}@media(prefers-reduced-motion:reduce){.gts-gold-orb{transition:none!important;transform:none!important}}.gts-brochure-library{min-height:100vh;color:#f5f1e8;background:linear-gradient(#081016b5,#081016e8),url('/nebbiogeno-hero.webp') center/cover fixed;padding:28px 20px}.gts-brochure-library>div{max-width:960px;margin:auto}.gts-brochure-library section{padding:22px 0;border-bottom:1px solid #e1bf7b66}.gts-brochure-library a:not(.gts-gold-orb){color:#f1d99d}.gts-brochure-library h1,.gts-brochure-library h2{color:#f1d99d}

/* App actions share the public site's gold and raised press feedback. */
:is(.admin-shell,body.gts-app-ui) :is(main> a[href],.admin-hub>a[href],nav a[href],.actions a[href],.account-actions a[href],article a[href],#view>p>a[href],button:not(:disabled),summary):not(:has(img)):not(.gts-guide-avatar):not(.gts-guide-close):not(.gts-guide-send):not(#gts-guide *){border:1px solid #96702d!important;border-radius:999px!important;background:#c9a35b!important;color:#102236!important;box-shadow:0 4px 0 #0007,0 8px 16px #0003!important;min-height:44px;box-sizing:border-box;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;max-width:100%;white-space:normal;overflow-wrap:anywhere;transition:transform .16s ease,box-shadow .16s ease}
.admin-shell .admin-cards>a[href]{border:1px solid #e1bf7b!important;border-radius:18px!important;background:linear-gradient(135deg,#263649,#142231)!important;box-shadow:0 5px 0 #0b111bcc,0 10px 18px #0005!important}
.admin-shell .admin-cards>a[href] :is(h2,h3,span,strong){color:#f0d49c!important}
@media(hover:hover){:is(.admin-shell,body.gts-app-ui) :is(nav a[href],main>a[href],.admin-hub>a[href],article a[href],button:not(:disabled),summary):not(:has(img)):not(#gts-guide *):hover{transform:translateY(-2px);box-shadow:0 6px 0 #0007,0 12px 22px #0004!important}}
:is(.admin-shell,body.gts-app-ui) :is(a[href],button:not(:disabled),summary):not(:has(img)):not(#gts-guide *):active{transform:translateY(3px)}
:is(.admin-shell,body.gts-app-ui) :is(a[href],button,summary):focus-visible{outline:3px solid #ffe3a0;outline-offset:4px}
@media(prefers-reduced-motion:reduce){:is(.admin-shell,body.gts-app-ui) :is(a[href],button,summary){transition:none!important;animation:none!important;transform:none!important}}

.gts-brochure-library a[href]:not(:has(img)),:is(.admin-shell,body.gts-app-ui) a[href="/manuale-nebbiogeno"]{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-height:48px;box-sizing:border-box;padding:15px 19px;border-radius:999px!important;border:1px solid #c9a35b!important;background:#c9a35b!important;color:#111419!important;font:800 .9rem/1.25 Arial,sans-serif;text-align:center;text-decoration:none;box-shadow:0 4px 0 #0007,0 8px 16px #0003!important;transform:translateY(0);transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}
.gts-brochure-library a[href]{margin:6px 6px 8px 0}

/* Compact, consistent navigation; keep a usable touch target. */
:is(.admin-shell,body.gts-app-ui) .app-navigation{gap:8px!important;align-items:center}
:is(.admin-shell,body.gts-app-ui) .app-navigation :is(a[href],button){width:auto!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:8px 12px!important;font:700 13px/1.2 Arial,sans-serif!important;border:1px solid #c9a35b!important;border-radius:999px!important;background:#c9a35b!important;color:#111419!important;box-shadow:0 3px 0 #0007,0 6px 12px #0003!important;flex:0 1 auto!important;margin:0!important;animation:none!important}

.brochure-item{padding:18px 0;border-bottom:1px solid #c9a35b55}.brochure-share-links{display:flex;flex-wrap:wrap;gap:12px}.brochure-hint{font-size:13px;color:#d1dce7;max-width:65ch}.brochure-preview{margin-top:16px}.brochure-preview>img{display:block;width:100%;max-width:700px;height:auto;margin:auto}.brochure-preview iframe{width:100%;height:min(70dvh,760px);border:1px solid #c9a35b;border-radius:12px;background:white}.gts-brochure-library button:disabled{opacity:.6;cursor:wait}.gts-brochure-library{line-height:1.65}.gts-brochure-library article{min-width:0}.gts-brochure-library .gts-brochure-actions{gap:12px}.newsletter-history{display:grid;gap:16px;margin:20px 0}.newsletter-history dl{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.newsletter-history dl>div{padding:8px}.newsletter-history dd{margin:0;font-weight:700;font-size:22px}.newsletter-history dt{font-size:13px}
@media(max-width:600px){.gts-brochure-library{padding:20px 14px}.gts-brochure-library h1{font-size:28px}.gts-brochure-library .gts-brochure-actions>*{flex:1 1 135px}.gts-brochure-library .gts-gold-orb{min-height:44px!important;padding:10px 14px!important;font-size:14px!important}.brochure-share-links>a{flex:1 1 100px}}

.gts-app-menu{position:relative;min-width:0;margin:0!important;padding:0!important;border:0!important;background:none!important}.gts-app-menu>summary{display:flex;cursor:pointer;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #c9a35b;border-radius:999px;background:#c9a35b;color:#111419;font:700 13px Arial;list-style:none}.gts-app-menu-items{display:none;flex-direction:column;gap:8px;width:100%;box-sizing:border-box;padding:12px 0}.gts-app-menu[open]{flex-basis:100%!important;width:100%}.gts-app-menu[open]>.gts-app-menu-items{display:flex}.gts-app-menu-items>a,.gts-app-menu-items>button{justify-content:flex-start!important;text-align:left!important;min-height:44px!important}.gts-app-menu .gts-reseller-menu{margin:0!important}.gts-app-menu .gts-reseller-options{position:static;width:100%;max-width:100%}.gts-app-menu summary:focus-visible{outline:3px solid #ffe3a0;outline-offset:3px}.admin-shell .app-navigation{display:flex;flex-wrap:wrap;gap:8px;padding:6px 14px}

/* Balanced app menu: equal compact tiles instead of full-width strips. */
:is(.admin-shell,body.gts-app-ui) .gts-app-menu[open]>.gts-app-menu-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;width:100%;max-width:640px;padding:12px 0!important;align-items:stretch}
:is(.admin-shell,body.gts-app-ui) .gts-app-menu-items>:is(a[href],button){width:100%!important;max-width:none!important;min-width:0!important;min-height:48px!important;padding:10px 12px!important;justify-content:center!important;text-align:center!important;font:700 13px/1.25 Arial,sans-serif!important;white-space:normal!important;overflow-wrap:normal!important;border-radius:16px!important;box-shadow:0 3px 0 #0006,0 5px 10px #0002!important}
.gts-app-menu-items>.gts-reseller-menu{grid-column:1/-1}
.gts-app-menu .gts-reseller-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;padding:10px 0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.gts-app-menu .gts-reseller-options>:is(a,button){width:100%!important;min-width:0!important;min-height:48px!important;padding:10px 12px!important;justify-content:center!important;text-align:center!important;border-radius:16px!important;font:700 13px/1.25 Arial,sans-serif!important}
@media(min-width:760px){:is(.admin-shell,body.gts-app-ui) .gts-app-menu[open]>.gts-app-menu-items{grid-template-columns:repeat(3,minmax(0,1fr))}.gts-app-menu .gts-reseller-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:340px){:is(.admin-shell,body.gts-app-ui) .gts-app-menu-items>:is(a[href],button){font-size:12px!important;padding:9px 8px!important}}

.gts-practice-progress{display:flex;flex-wrap:wrap;gap:10px;padding:0;list-style:none}.gts-practice-progress li{padding:8px 12px;border:1px solid #748192;border-radius:12px;color:#c3cad3}.gts-practice-progress .done{border-color:#c9a35b;color:#f1d99d;background:#243647}#view section label{display:block;margin:12px 0}#view section input[type=checkbox]{width:20px;min-width:20px;margin-right:10px}#view section input[type=file]{max-width:100%}

.gts-brochure-library form{max-width:620px}.gts-brochure-library fieldset{padding:18px;border:1px solid #c9a35b;border-radius:16px}.gts-brochure-library label{display:block;margin:14px 0}.gts-brochure-library input:not([type=checkbox]){display:block;box-sizing:border-box;width:100%;min-height:44px;border-radius:10px;padding:10px;background:#fff;color:#122031;border:1px solid #a98d58;font:16px Arial}.gts-brochure-library input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:10px}

:is(.gts-brochure-library form,#consensi-canali,[data-passport-interactive]) label:has(input[type=checkbox]){display:flex!important;align-items:flex-start!important;gap:12px!important;text-align:left!important}:is(.gts-brochure-library form,#consensi-canali,[data-passport-interactive]) input[type=checkbox]{display:inline-block!important;flex:0 0 20px!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;margin:3px 0!important;padding:0!important}
