.historyPdfTop{margin:0 0 12px;text-align:center}.historyPdfOpen{border:0;border-radius:10px;background:#238b57;color:#fff;font-weight:800;padding:11px 16px}.historyPdfModal{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.55);padding:18px;overflow:auto}.historyPdfModal[hidden]{display:none}.historyPdfCard{max-width:560px;margin:5vh auto;background:#fff;border-radius:16px;padding:18px;box-shadow:0 15px 50px rgba(0,0,0,.3)}.historyPdfCard h2{margin-top:0}.historyPdfSelect,.historyPdfActions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.historyPdfSelect button,.historyPdfActions button{border:0;border-radius:9px;padding:10px 12px;font-weight:700}.historyPdfVisits{max-height:52vh;overflow:auto;border:1px solid #dde3e7;border-radius:10px}.historyPdfVisits label{display:flex;align-items:flex-start;gap:10px;padding:11px;border-bottom:1px solid #e7ebee}.historyPdfVisits label:last-child{border-bottom:0}.historyPdfVisits input{width:21px;height:21px;flex:0 0 auto}.historyPdfVisits span{display:flex;flex-direction:column;gap:2px}.historyPdfVisits small{color:#65717a}.historyPdfActions .submit{background:#238b57;color:#fff}@media(max-width:520px){.historyPdfCard{margin:1vh auto;padding:14px}.historyPdfActions button{flex:1}}