.portal-experience-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; margin: 18px 0; }
.portal-experience-card { min-width: 0; padding: 25px; border: 1px solid #dfdfda; border-radius: 22px; background: #fff; box-shadow: 0 13px 36px rgba(16,17,20,.055); }
.portal-experience-card > header > span { color: #ed1c24; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.portal-experience-card > header h2 { margin: 5px 0 0; color: #17181c; font-size: 22px; letter-spacing: -.035em; }
.portal-profile-row { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; }
.portal-avatar { width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d9d9d4; border-radius: 19px; color: #fff; background: linear-gradient(145deg, #24252a, #ed1c24); font-size: 19px; font-weight: 900; }
.portal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal-profile-row strong, .portal-profile-row small { display: block; }
.portal-profile-row strong { color: #17181c; font-size: 14px; }
.portal-profile-row small { max-width: 330px; margin-top: 5px; color: #80838b; font-size: 10px; line-height: 1.45; }
.portal-file-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.portal-file-actions button { min-height: 37px; padding: 0 12px; border: 1px solid #d9d9d4; border-radius: 10px; color: #25262b; background: #f8f8f5; font: inherit; font-size: 9px; font-weight: 850; cursor: pointer; }
.portal-file-actions button:first-child { color: #fff; border-color: #202126; background: #202126; }
.portal-document-list { display: grid; gap: 8px; }
.portal-document { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid #e3e3de; border-radius: 12px; background: #fafaf8; }
.portal-document > div { min-width: 0; }
.portal-document strong, .portal-document small { display: block; }
.portal-document strong { overflow: hidden; color: #202126; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.portal-document small { margin-top: 4px; color: #888b92; font-size: 8px; text-transform: uppercase; }
.portal-document a, .portal-document button { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid #d5d5d0; border-radius: 8px; color: #303136; background: #fff; font: inherit; font-size: 8px; font-weight: 850; text-decoration: none; cursor: pointer; }
.portal-document button.is-sign { color: #fff; border-color: #ed1c24; background: #ed1c24; }
.portal-document-status { display: inline-flex; align-items: center; gap: 5px; }
.portal-document-status::before { width: 6px; height: 6px; border-radius: 50%; background: #d08d19; content: ""; }
.portal-document-status.is-signed::before { background: #28a46b; }
.portal-experience-copy { margin: 12px 0 19px; color: #777a82; font-size: 11px; line-height: 1.55; }
.portal-sign-dialog { width: min(760px, calc(100vw - 30px)); max-height: calc(100dvh - 30px); padding: 0; overflow: hidden; border: 0; border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.portal-sign-dialog::backdrop { background: rgba(8,9,12,.72); backdrop-filter: blur(7px); }
.portal-sign-dialog form { display: grid; grid-template-rows: auto minmax(180px, 1fr) auto auto; max-height: calc(100dvh - 30px); }
.portal-sign-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; color: #fff; background: #16171b; }
.portal-sign-dialog header span { color: #ed1c24; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.portal-sign-dialog h2 { margin: 4px 0 0; color: #fff; font-size: 20px; }
.portal-sign-dialog header button { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; color: #fff; background: rgba(255,255,255,.07); font-size: 20px; cursor: pointer; }
.portal-sign-dialog pre { margin: 0; padding: 24px; overflow: auto; color: #2b2c31; background: #f4f4f1; font: 11px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.portal-sign-dialog form > section { display: grid; gap: 10px; padding: 20px 24px; overflow-y: auto; }
.portal-sign-dialog form > section > p { margin: 0 0 4px; color: #6e7179; font-size: 10px; line-height: 1.5; }
.portal-sign-dialog label:not(.portal-sign-consent) span { display: block; margin-bottom: 6px; color: #494b52; font-size: 9px; font-weight: 800; }
.portal-sign-dialog input[type="text"], .portal-sign-dialog input:not([type]) { width: 100%; height: 43px; box-sizing: border-box; padding: 0 12px; border: 1px solid #d6d6d1; border-radius: 10px; font: inherit; }
.portal-sign-consent { display: flex; align-items: flex-start; gap: 9px; color: #484a51; font-size: 10px; line-height: 1.45; }
.portal-sign-consent input { margin-top: 2px; accent-color: #ed1c24; }
.portal-sign-dialog footer { display: flex; justify-content: flex-end; gap: 8px; padding: 15px 24px; border-top: 1px solid #e1e1dc; }
.portal-sign-dialog footer button { min-height: 39px; padding: 0 15px; border: 1px solid #d5d5d0; border-radius: 10px; background: #fff; font: inherit; font-size: 9px; font-weight: 850; cursor: pointer; }
.portal-sign-dialog footer button[type="submit"] { color: #fff; border-color: #ed1c24; background: #ed1c24; }
@media (max-width: 780px) { .portal-experience-grid { grid-template-columns: 1fr; } .portal-experience-card { padding: 20px; } }

.portal-password-reset { min-height: 650px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(350px,.85fr); overflow: hidden; border: 1px solid rgba(17,18,22,.08); border-radius: 28px; background: #fff; box-shadow: 0 28px 90px rgba(20,20,25,.12); }
.portal-password-reset[hidden] { display: none !important; }
.portal-password-story { display: grid; align-content: end; padding: clamp(42px,7vw,96px); color: #fff; background: radial-gradient(circle at 80% 12%,rgba(237,28,36,.42),transparent 28%),linear-gradient(135deg,#111216,#292b31); }
.portal-password-story > span { color: #ff7278; font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.portal-password-story h1 { max-width: 700px; margin: 14px 0 20px; font-size: clamp(44px,6vw,78px); line-height: .93; letter-spacing: -.065em; }
.portal-password-story p { max-width: 590px; margin: 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; }
.portal-password-story > div { display: flex; align-items: center; gap: 10px; margin-top: 34px; color: #afb1b7; font-size: 10px; }
.portal-password-story i { width: 8px; height: 8px; border-radius: 50%; background: #2ecb91; box-shadow: 0 0 0 6px rgba(46,203,145,.12); }
.portal-password-reset form { display: grid; align-content: center; gap: 17px; padding: clamp(34px,6vw,78px); }
.portal-password-reset form > p { margin: 7px 0 -12px; color: #ed1c24; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.portal-password-reset h2 { margin: 0 0 10px; font-size: 38px; letter-spacing: -.05em; }
.portal-password-reset label { display: grid; gap: 7px; }
.portal-password-reset label span { color: #5f6269; font-size: 10px; font-weight: 750; }
.portal-password-reset input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #dedfdc; border-radius: 11px; background: #fafafa; outline: 0; }
.portal-password-reset input:focus { border-color: #ed1c24; background: #fff; box-shadow: 0 0 0 4px rgba(237,28,36,.09); }
.portal-password-reset button { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border: 0; border-radius: 11px; color: #fff; background: #ed1c24; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.portal-password-reset button:disabled { opacity: .55; }
.portal-password-reset form > small { color: #8a8d94; font-size: 9px; line-height: 1.5; }
@media (max-width: 820px) { .portal-password-reset { grid-template-columns: 1fr; } .portal-password-story { min-height: 410px; padding: 44px 28px; } .portal-password-story h1 { font-size: 52px; } .portal-password-reset form { padding: 42px 28px; } }
@media (max-width: 520px) { .portal-password-reset { border-radius: 20px; } .portal-password-story { min-height: 360px; } .portal-password-story h1 { font-size: 42px; } }
