@font-face{font-family:AMTitillium;src:url(font/Regular.ttf) format('truetype');font-weight:400;font-display:swap}@font-face{font-family:AMTitillium;src:url(font/SemiBold.ttf) format('truetype');font-weight:600;font-display:swap}
html:root{margin:0!important;height:100%;background:#edf3f8}body{margin:0!important;height:100%;padding:0!important;font-family:AMTitillium,'Segoe UI',sans-serif;color:#102f4b;background:#edf3f8}#wpadminbar{display:none!important}#am-lettura,#am-lettura *,#dettaglio,#dettaglio *{box-sizing:border-box}#am-lettura{height:100vh;height:100dvh;width:100%;max-width:none;margin:0;padding:8px clamp(8px,2vw,28px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px}#am-lettura a,#dettaglio a{color:#005bb5;text-underline-offset:4px}#am-lettura .testata{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;min-height:44px;font-size:15px}#am-lettura h1{font:600 16px/1.2 AMTitillium,'Segoe UI',sans-serif;letter-spacing:.02em;margin:0;color:#102f4b;text-align:center}#am-lettura h1 span{font-weight:400;color:#526a80;margin-left:6px}#am-lettura .pdf{justify-self:end}#am-lettura .testata>a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;width:max-content}#am-lettura #spazio{position:relative;display:flex;justify-content:center;align-items:center;min-width:0;min-height:0;touch-action:pan-y;overflow:hidden}#am-lettura #libro{display:flex;align-items:center;justify-content:center;gap:2px;flex:none}#am-lettura .foglio{display:block;padding:0;margin:0;min-width:0;min-height:0;background:#fff;border:0;border-radius:2px;aspect-ratio:1;cursor:zoom-in;line-height:0;box-shadow:0 5px 22px #102f4b16;flex:none}#am-lettura .foglio img{display:block;width:100%;height:100%;object-fit:contain}#am-lettura footer{padding:0 0 max(2px,env(safe-area-inset-bottom));margin:0;border:0;background:none}#am-lettura nav{max-width:560px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}#am-lettura nav button,#dettaglio button{font:600 17px/1.3 AMTitillium,'Segoe UI',sans-serif;min-height:48px;min-width:105px;padding:10px 20px;border:0;border-radius:14px;background:#005bb5;color:white;cursor:pointer;box-shadow:none}#am-lettura nav button:hover,#dettaglio button:hover{background:#004a93}#am-lettura nav button:disabled{background:#dce6ef;color:#63798c;cursor:default}#am-lettura #indietro{justify-self:start}#am-lettura #avanti{justify-self:end}#am-lettura #stato{font-size:15px;font-weight:600;white-space:nowrap;text-align:center;margin:0;min-width:75px}#am-lettura #aiuto{margin:5px 0 0;font-size:13px;line-height:1.3;text-align:center;color:#526a80}#am-lettura #errore{position:absolute;background:white;border-radius:12px;padding:24px;max-width:90%}#am-lettura :focus-visible,#dettaglio :focus-visible{outline:3px solid #ad4600;outline-offset:4px}#am-lettura #spazio:focus-visible{outline-offset:-4px}#dettaglio{padding:0;border:0;border-radius:16px;width:min(1000px,98vw);height:96vh;height:96dvh;max-width:98vw;max-height:96dvh;background:#edf3f8;color:#102f4b;font:400 18px/1.6 AMTitillium,'Segoe UI',sans-serif;overflow:hidden}#dettaglio[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}#dettaglio::backdrop{background:#102f4be8}#dettaglio .dettaglio-testa{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;gap:12px;background:#edf3f8}#dettaglio .dettaglio-testa p{margin:0;font-weight:600}#dettaglio #lettura-grande{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}#dettaglio img{display:block;width:100%;height:auto;max-width:100%;margin:0;background:white}#dettaglio details{padding:16px}#dettaglio summary{cursor:pointer;font-weight:600;min-height:44px}#dettaglio pre{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere;margin:16px 0}#am-lettura [hidden],#dettaglio [hidden]{display:none!important}
@media(max-width:700px){#am-lettura{gap:5px;padding:5px 6px}#am-lettura .testata{gap:6px;font-size:13px}#am-lettura h1{font-size:13px}#am-lettura h1 span{display:block;font-size:11px;margin:2px 0 0}#am-lettura nav{gap:8px;max-width:420px}#am-lettura nav button{font-size:16px;padding:10px 15px;min-width:104px}#am-lettura #stato{min-width:62px;font-size:14px}#am-lettura #aiuto{font-size:12px}#dettaglio{width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100dvh;border-radius:0;margin:0}#dettaglio .dettaglio-testa{padding:7px 12px}}
@media(max-height:500px){#am-lettura{gap:3px;padding-top:2px;padding-bottom:2px}#am-lettura .testata{min-height:36px}#am-lettura .testata>a{min-height:36px}#am-lettura #aiuto{display:none}}

@media(max-width:700px){#am-lettura footer{padding-bottom:max(36px,env(safe-area-inset-bottom))}}
