.tcai472-save{display:block!important;width:100%!important;min-height:44px!important;margin:8px 0 0!important;background:#1769c2!important;color:white!important;border:1px solid #8ac4ff!important;border-radius:10px!important;font-size:14px!important;font-weight:700!important;white-space:normal!important}
.tcai472-overlay{position:fixed;inset:0;z-index:2147483000;background:#0b1727;overflow:auto;padding:12px;box-sizing:border-box;color:#f1f6ff}
.tcai472-box{max-width:720px;margin:auto;padding:6px 0 30px}.tcai472-box header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.tcai472-box header h2{font-size:20px;margin:0;color:inherit;overflow-wrap:anywhere}.tcai472-box header button{min-width:44px}.tcai472-card{border:1px solid #384c65;border-radius:12px;padding:12px;margin-top:10px;background:#14263a;color:#f1f6ff}.tcai472-card p{color:#c4d4e5;margin:6px 0}.tcai472-card video{display:block;width:100%;max-height:65vh;margin-top:8px;background:#000}.tcai472-actions{display:flex;flex-wrap:wrap;gap:8px}.tcai472-actions button,.tcai472-box header button{min-height:44px;border-radius:9px;padding:8px 12px}.tcai472-card a{color:#c2e0ff}.tcai472-card strong{overflow-wrap:anywhere}
#tcai322QuickHome .tcai472-home{width:100%!important;min-height:44px!important;margin:5px 0!important;border-radius:12px!important}
#tcai438Editor #tcai470EditorResult,#tcai446Compare #tcai470PairResult{max-height:calc(100dvh - 105px)!important;overflow-y:auto!important}

/* FASE 489: l'app globale usa "section{display:none}" per le schermate.
   Archivio e singole schede sono invece pannelli interni e DEVONO restare visibili. */
#tcai472Archive.tcai472-overlay > section.tcai472-box{display:block!important;visibility:visible!important;opacity:1!important;min-height:0!important;position:relative!important;z-index:1!important}
#tcai472Archive .tcai472-card{display:block!important;visibility:visible!important;opacity:1!important}
/* Un header globale appiccicoso non deve coprire il titolo né la X dell'archivio. */
#tcai472Archive .tcai472-box > header{position:relative!important;top:auto!important;left:auto!important;right:auto!important;z-index:auto!important;width:100%!important;max-width:none!important;margin:0 0 12px!important;padding:8px 0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:#f1f6ff!important}
#tcai472Archive .tcai472-box > header h2{color:#f1f6ff!important;font-weight:800!important}
#tcai472Archive .tcai472-box > header button{flex:0 0 auto!important;width:44px!important;min-width:44px!important;height:44px!important;padding:8px!important;color:#f1f6ff!important;background:#253b54!important;border:1px solid #55708d!important}
