.portal-shell{max-width:1000px;margin:24px auto;padding:16px;min-width:0}.portal-shell header{display:block;position:static;background:transparent;color:inherit;padding:0}.portal-shell nav{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.portal-shell nav button[aria-current=page]{background:#146b76;color:white}.document-body{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65;padding:16px;background:#f5f8f8;border-radius:12px;max-height:65vh;overflow:auto}.signature-pad{width:100%;max-width:600px;aspect-ratio:3;border:2px solid #b4cccc;border-radius:10px;touch-action:none;background:white}.p8-form{display:grid;gap:12px}.p8-form fieldset{min-width:0}.p8-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.p8-form textarea{width:100%;min-height:100px}.p8-link{display:block;overflow-wrap:anywhere}.portal-shell .actions{flex-wrap:wrap}@media(max-width:430px){.portal-shell{margin:0;padding:12px}.portal-shell nav button{flex:1 1 42%}}
