.pdf-shell{width:min(100%,760px)}
.pdf-state{margin-top:20px}
.pdf-state h2{font-size:19px;line-height:1.4;margin:0;font-weight:600}
.pdf-state p{max-width:38em;margin:8px 0 0;color:var(--secondary);font-size:14px;line-height:1.6}
#pdf-return:not([hidden]){width:fit-content;margin-top:18px;border-width:1px;box-shadow:none;font-weight:600}
#pdf-return[hidden]{display:none}
.pdf-state[data-kind="invalid"] h2,.pdf-state[data-kind="limited"] h2,.pdf-state[data-kind="error"] h2{color:#963f32}
.pdf-available{margin-top:12px}
.pdf-unlock{max-width:480px;margin-top:20px}
.pdf-unlock[hidden]{display:none}
.pdf-unlock label{display:block;margin-bottom:8px;font-weight:600}
.pdf-unlock-fields{display:flex;gap:10px}
.pdf-unlock input{min-width:0;flex:1;min-height:48px;border:1px solid #768b71;border-radius:7px;background:var(--panel);padding:12px;font-size:16px;caret-color:var(--green)}
.pdf-unlock button{flex:none;box-shadow:none}
#pdf-expiry{display:inline-block;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:#e8eddf;color:#355345;font-size:13px;margin:0 0 14px}
.pdf-options{display:grid;gap:8px}
.pdf-options article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.pdf-options article[hidden]{display:none}
.pdf-options h2{font-size:19px;line-height:1.4;margin:0}
.pdf-options p{margin:4px 0 0;color:var(--secondary);font-size:14px}
.pdf-options .account-primary{flex:none;min-height:44px;box-shadow:none;text-align:center;font-weight:650}
@media(max-width:600px){
  .pdf-unlock-fields{flex-direction:column}
  .pdf-options article{align-items:stretch;flex-direction:column;gap:10px}
  .pdf-options .account-primary{width:100%}
}
