/* Adapted from the rental QR Contract & Return Documents group. */
.ehr-pdf-panel{border:1px solid var(--employee-border,#bddced);border-radius:18px;overflow:hidden;background:var(--employee-surface,#fff);color:var(--employee-text,#173b56)}
.ehr-pdf-panel__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--employee-border,#cfe4f0);background:linear-gradient(105deg,var(--employee-raised,#f3faff),var(--employee-raised,#e9f6fe))}.ehr-pdf-panel__header small{display:block;font-size:10px;line-height:1.6;font-weight:750;letter-spacing:.15em;color:#2d8bbd}.ehr-pdf-panel__header h2{margin-top:3px;font-size:13px;line-height:1.6;font-weight:750}.ehr-pdf-panel__badge{display:grid;place-items:center;flex:0 0 32px;height:30px;padding:5px;border:1px solid #acd7ed;border-radius:10px;background:var(--employee-surface,#fff);color:#087bbd;font-size:9px;font-weight:800;box-shadow:0 5px 12px #0876b508}
.ehr-pdf-panel__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}.ehr-pdf-panel__item{min-width:0}.ehr-pdf-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:88px;padding:12px 14px;border:1px solid #bcdced;border-radius:13px;background:linear-gradient(105deg,#fff,#f2f9fd);color:inherit;text-align:left;text-decoration:none;font:inherit;cursor:pointer;transition:border-color .18s,box-shadow .18s;overflow:hidden}.ehr-pdf-card:is(a,button):hover{border-color:#78bbdc;box-shadow:0 7px 18px #0868a510}.ehr-pdf-card:is(a,button):focus-visible,.ehr-pdf-panel__links :is(a,button):focus-visible,.ehr-pdf-history summary:focus-visible{outline:3px solid #40a6df;outline-offset:-3px}.ehr-pdf-card__icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid #f0c3c8;border-radius:11px;background:linear-gradient(145deg,#fff,#fff1f3);box-shadow:0 7px 15px #a4233414}.ehr-pdf-card__icon svg{display:block;width:30px;height:30px;overflow:visible}.ehr-pdf-page{fill:#fff;stroke:#d9364c;stroke-width:1.25;stroke-linejoin:round}.ehr-pdf-fold{fill:#ffdce1;stroke:#d9364c;stroke-width:1.1;stroke-linejoin:round}.ehr-pdf-label{fill:#d9364c}.ehr-pdf-card__icon text{fill:#fff;font:800 6.5px Arial,sans-serif;letter-spacing:.04em}.ehr-pdf-card__copy{min-width:0;display:flex;flex-direction:column;gap:3px}.ehr-pdf-card__copy small{color:#438cb6;font-size:9px;font-weight:750;line-height:1.6;letter-spacing:.13em}.ehr-pdf-card__copy strong{color:var(--employee-text,#193f5a);font-size:14px;font-weight:750;line-height:1.5}.ehr-pdf-card__copy>span{color:var(--employee-muted,#78909f);font-size:11px;line-height:1.65;overflow-wrap:anywhere}.ehr-pdf-card__arrow{width:20px;height:20px;color:#1687c2;flex-shrink:0}.ehr-pdf-card__lock{display:grid;width:28px;height:28px;place-items:center;border:1px solid #d2dde3;border-radius:9px;background:#f5f7f8}.ehr-pdf-card__lock svg{width:14px;height:14px}.ehr-pdf-card.is-disabled{border-color:#dbe3e8;background:linear-gradient(105deg,#f7f9fa,#eef2f4);cursor:default;box-shadow:none}.ehr-pdf-card.is-disabled .ehr-pdf-card__icon{border-color:#d5dde2;background:#edf1f3;box-shadow:none;filter:grayscale(1);opacity:.68}.ehr-pdf-card.is-disabled .ehr-pdf-card__copy :is(small,strong,span),.ehr-pdf-card.is-disabled .ehr-pdf-card__lock{color:#8b9aa3}.ehr-pdf-card:is(.is-queued,.is-processing){border-color:#acd6ea;background:linear-gradient(105deg,#f8fcff,#eaf7fd);cursor:progress}.ehr-pdf-card:is(.is-queued,.is-processing) .ehr-pdf-card__icon{border-color:#a9d7ea;background:#eaf7fd}.ehr-pdf-card:is(.is-queued,.is-processing) .ehr-pdf-page{stroke:#2187b8}.ehr-pdf-card:is(.is-queued,.is-processing) .ehr-pdf-fold{fill:#dff3fb;stroke:#2187b8}.ehr-pdf-card:is(.is-queued,.is-processing) .ehr-pdf-label{fill:#2187b8}.ehr-pdf-card__loader{width:20px;height:20px;border:2px solid #cae6f2;border-top-color:#1587bf;border-radius:50%;animation:ehr-pdf-loader .8s linear infinite}.ehr-pdf-card.is-failed{border-color:#efc3c8;background:linear-gradient(105deg,#fff,#fff6f6)}.ehr-pdf-card.is-failed .ehr-pdf-card__copy small{color:#b64655}.ehr-pdf-panel__links{display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;row-gap:2px;padding:1px 6px 3px;font-size:10px;line-height:1.7;overflow-wrap:anywhere}.ehr-pdf-panel__links :is(a,button){display:inline-flex;align-items:center;min-height:44px;color:#2486bc;font-weight:700}.ehr-pdf-panel__links>span{color:var(--employee-muted,#78909f);margin-left:auto;overflow-wrap:anywhere;min-width:0}.ehr-pdf-history{border:1px solid var(--employee-border,#d5e4ef);border-radius:12px;overflow:hidden}.ehr-pdf-history summary{padding:12px 16px;min-height:44px;cursor:pointer;font-size:12px;font-weight:700}.ehr-pdf-history summary>span{margin-left:8px;color:var(--employee-muted,#78909f)}.ehr-pdf-history>div{padding:0 14px 14px;display:flex;flex-direction:column;gap:8px}
html.dark .ehr-pdf-card{background:linear-gradient(105deg,#102135,#142b41);border-color:#315775}html.dark .ehr-pdf-card__copy small{color:#8cbfdf}html.dark .ehr-pdf-card.is-disabled{background:linear-gradient(105deg,#172334,#1b2a3a);border-color:#304356}html.dark .ehr-pdf-card.is-disabled .ehr-pdf-card__icon,html.dark .ehr-pdf-card__lock{background:#253445;border-color:#43576a}html.dark .ehr-pdf-card.is-disabled .ehr-pdf-card__copy :is(small,strong,span){color:#92a7ba}html.dark .ehr-pdf-panel__badge{color:#9bd2f7;border-color:#315775}html.dark .ehr-pdf-card.is-failed{background:linear-gradient(105deg,#242335,#342532);border-color:#73404b}html.dark .ehr-pdf-card.is-failed .ehr-pdf-card__copy small{color:#f5a2ac}html.dark .ehr-pdf-card:is(.is-queued,.is-processing){background:linear-gradient(105deg,#142b41,#173c53);border-color:#3b6a87}
@keyframes ehr-pdf-loader{to{transform:rotate(360deg)}}
@media(max-width:767px){.ehr-pdf-panel__grid{grid-template-columns:1fr}.ehr-pdf-card{grid-template-columns:39px minmax(0,1fr) auto;gap:10px;padding:12px 10px}.ehr-pdf-card__icon{width:39px;height:39px}.ehr-pdf-panel__links>span{flex-basis:100%;margin-left:0}.ehr-pdf-panel__header{padding:11px 12px}}
@media(max-width:359px){.ehr-pdf-card{grid-template-columns:34px minmax(0,1fr) 18px;gap:8px}.ehr-pdf-card__icon{width:34px;height:38px}.ehr-pdf-card__copy strong{font-size:13px}.ehr-pdf-card__copy small{font-size:8px;letter-spacing:.08em}.ehr-pdf-card__arrow,.ehr-pdf-card__loader{width:18px;height:18px}.ehr-pdf-card__lock{width:22px;height:26px}.ehr-pdf-panel__badge{font-size:8px}}
@media(prefers-reduced-motion:reduce){.ehr-pdf-card,.ehr-pdf-card__loader{animation:none;transition:none}}

.ehr-pdf-panel__links{padding-top:8px;padding-bottom:4px}.ehr-pdf-panel__links .ehr-doc-btn{min-height:44px;padding:8px 14px;border-radius:10px;border:1px solid var(--employee-border,#cde1ef);font-size:11px;font-weight:700;color:var(--employee-text,#173b56);background:var(--employee-surface,#fff)}.ehr-pdf-panel__links .ehr-doc-btn:hover{border-color:#78bbdc;background:var(--employee-raised,#f3f9fd)}
