.portal-wrap{padding-top:3rem;padding-bottom:5rem;min-height:65vh}.portal-login{display:grid;grid-template-columns:1.2fr 1fr;gap:5rem;align-items:center;padding:2rem 0}.portal-login h1{font-size:clamp(2.4rem,4vw,3.8rem);line-height:1.12}.portal-login p{max-width:36rem}.portal-card{background:white;border:1px solid #dce4f0;padding:1.7rem;margin:0 0 1.2rem;border-radius:5px}.portal-card h2{font-size:1.65rem;margin-top:0}.portal-card h3{font-size:1.35rem;overflow-wrap:anywhere}.portal-card label,#portal-dialog label,.portal-toolbar label{display:grid;gap:.45rem;font-weight:600;margin-bottom:1.2rem}.portal-card input,.portal-card select,.portal-card textarea,#portal-dialog input,#portal-dialog select,#portal-dialog textarea,.portal-toolbar select{width:100%;padding:.75rem;border:1px solid #9aadc9;border-radius:3px;background:white;color:#142743;font:inherit;font-weight:400;min-width:0}.portal-card input[type=file]{font-size:.95rem}.portal-card details{margin-top:1.5rem}.portal-notice{padding:0;white-space:pre-wrap}.portal-notice:not(:empty){background:#e8f0ff;padding:1rem;margin-bottom:1.5rem;border-left:3px solid #0055d9}.portal-notice.error{background:#fff1ec;border-color:#a94225}.portal-heading{display:flex;justify-content:space-between;align-items:center;gap:2rem}.portal-heading h1{font-size:2.5rem}.portal-account{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;font-size:.95rem}.portal-toolbar{display:flex;align-items:end;gap:1rem;margin:1rem 0 2rem}.portal-toolbar label{margin:0;flex:1;max-width:28rem}.portal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0}.portal-stats article{background:#142743;color:white;padding:1.5rem;border-radius:4px}.portal-stats strong{display:block;font-size:2.5rem;font-weight:500}.portal-stats span{font-size:1rem}.portal-card progress{width:100%;accent-color:#0668ff;height:1rem}.portal-section-heading{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin:2rem 0 1rem}.portal-section-heading h2{font-size:2rem;margin:0}.portal-section-heading p{max-width:40rem}.portal-section-heading .button{flex-shrink:0}.portal-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.portal-records .portal-card{margin:0}.record-top{display:flex;justify-content:space-between;gap:1rem;align-items:start}.status-tag{background:#eef3fb;padding:.2rem .65rem;border-radius:3px;font-size:.9rem;white-space:nowrap}.record-meta{display:flex;flex-direction:column;gap:.3rem;color:#52627a;font-size:.95rem;margin:1rem 0}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.activity-list{list-style:none;padding:0}.activity-list li{padding:.8rem 0;border-bottom:1px solid #dce4f0}.activity-list small{display:block;color:#52627a}.portal-empty{padding:3rem 0}.activation{max-width:36rem;margin:2rem auto}.activation h1{font-size:2.5rem}#portal-dialog{max-width:42rem;width:calc(100% - 2rem);max-height:90vh;padding:2rem;border:0;border-radius:5px;color:#142743}#portal-dialog::backdrop{background:#14274399}#dialog-error{color:#a94225}.button:disabled{opacity:.5;cursor:wait}#portal{overflow-wrap:anywhere}.portal-login .button{margin-top:.5rem}#invite-result{margin-top:1.5rem}@media(max-width:850px){.portal-login{grid-template-columns:1fr;gap:1.5rem;padding:0}.portal-heading,.portal-section-heading{align-items:start;flex-direction:column;gap:1rem}.portal-records{grid-template-columns:1fr}.portal-heading h1{font-size:2rem}}@media(max-width:560px){.portal-stats{grid-template-columns:1fr;gap:.5rem}.portal-stats article{display:flex;align-items:center;justify-content:space-between;padding:1rem}.portal-stats strong{font-size:2rem}.portal-toolbar{align-items:stretch;flex-direction:column}.record-top{flex-direction:column;gap:.5rem}.portal-card{padding:1.2rem}.portal-wrap{padding-top:1.5rem}.portal-account{font-size:.9rem}}

.portal-card{border-radius:12px 4px 12px 4px}.portal-stats article{border-top:3px solid var(--blue);border-radius:8px}.portal-login .portal-card{box-shadow:10px 10px 0 var(--soft-blue)}
