.portal-body { color: var(--ink); background: var(--wash); }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr); }
.login-story { min-height: 100vh; padding: 36px clamp(38px, 5vw, 78px); color: white; background: radial-gradient(circle at 15% 12%, rgba(99,145,119,.32), transparent 24%), radial-gradient(circle at 92% 85%, rgba(50,115,98,.28), transparent 25%), linear-gradient(145deg, #18372e 0%, #275e4e 58%, #3d7764 100%); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.login-story::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; right: -175px; top: 23%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.brand-on-dark { color: white; align-self: flex-start; position: relative; z-index: 1; }
.brand-on-dark small { color: #d4e3d8; }
.story-copy { margin: auto 0; max-width: 590px; position: relative; z-index: 1; }
.eyebrow.light { color: #cfe0d4; }
.story-copy h1 { margin: 17px 0 19px; max-width: 570px; font-size: clamp(42px, 5vw, 72px); line-height: .99; letter-spacing: -.055em; }
.story-copy > p { max-width: 500px; margin: 0; color: #dbe8df; font-size: 17px; line-height: 1.7; }
.story-points { display: grid; gap: 16px; margin-top: 42px; }
.story-points span { display: flex; align-items: center; gap: 14px; color: #eef5f0; font-size: 13px; }
.story-points i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-style: normal; font-size: 9px; font-weight: 800; color: #d8e7dc; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.story-footnote { position: relative; z-index: 1; margin: 30px 0 0; color: #bfd0c5; font-size: 10px; }
.login-panel { display: grid; place-items: center; padding: 48px; background: radial-gradient(circle at 85% 10%, rgba(40,100,82,.07), transparent 25%), #fbfcfa; }
.login-card { width: min(440px, 100%); }
.access-label { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 99px; background: var(--primary-soft); color: var(--primary); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.login-card h2 { margin: 20px 0 7px; color: var(--primary-dark); font-size: 40px; letter-spacing: -.045em; }
.login-intro { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.portal-field { display: grid; gap: 7px; margin-bottom: 20px; }
.portal-field label { color: var(--ink); font-size: 12px; font-weight: 780; }
.portal-field input { width: 100%; min-height: 52px; border: 1px solid #d8dbe5; border-radius: 13px; padding: 0 15px; background: white; color: var(--ink); outline: none; transition: .16s; }
.portal-field input::placeholder { color: #a0a5b4; }
.portal-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(40,100,82,.11); }
.portal-field input[aria-invalid="true"] { border-color: var(--red); background: #fffafb; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.text-link { min-height: 44px; border: 0; border-radius: 9px; padding: 8px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--primary); font-size: 11px; font-weight: 700; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 82px; }
.password-toggle { position: absolute; right: 8px; top: 8px; bottom: 8px; border: 0; border-radius: 9px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary-dark); font-size: 10px; font-weight: 750; }
.field-error { min-height: 14px; color: var(--red); font-size: 10px; }
.form-message { min-height: 18px; margin: -4px 0 10px; font-size: 11px; line-height: 1.45; }
.form-message.info { color: var(--primary-dark); }
.register-link { margin: 17px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.register-link a { color: var(--primary); font-weight: 800; }
.portal-primary { width: 100%; min-height: 52px; border: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; gap: 10px; color: white; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); box-shadow: 0 13px 27px rgba(35,59,53,.2); font-size: 12px; font-weight: 800; transition: .17s; }
.portal-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(35,59,53,.24); }
.portal-primary:active:not(:disabled) { transform: translateY(0); }
.portal-primary:disabled { opacity: .72; cursor: wait; }
.button-spinner { display: none; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.portal-primary[aria-busy="true"] .button-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.local-notice { margin-top: 28px; padding: 15px; display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: #f8f8fb; }
.local-notice > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: var(--mint); background: var(--mint-soft); }
.local-notice p { margin: 0; font-size: 10px; line-height: 1.55; }
.local-notice strong { display: block; color: var(--ink); margin-bottom: 2px; }

.dashboard-body { background: radial-gradient(circle at 7% 0%, rgba(40,100,82,.06), transparent 24%), var(--wash); }
.portal-header { height: 78px; padding: 0 max(28px, calc((100vw - 1240px) / 2)); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 30; backdrop-filter: blur(16px); }
.account-menu-wrap { position: relative; }
.account-trigger { min-height: 52px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 6px 11px 6px 7px; background: white; color: var(--ink); cursor: pointer; transition: border-color .16s, background-color .16s, box-shadow .16s; }
.avatar { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); font-size: 11px; font-weight: 850; box-shadow: 0 6px 14px rgba(35,59,53,.18); }
.account-copy { display: grid; gap: 2px; min-width: 96px; max-width: 156px; text-align: left; }
.account-copy strong { overflow: hidden; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.account-copy small { color: var(--muted); font-size: 10px; line-height: 1.2; }
.chevron { width: 20px; height: 20px; display: grid; place-items: center; color: var(--muted); transition: transform .15s; }
.chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.account-dropdown { position: absolute; right: 0; top: calc(100% + 9px); width: 292px; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 20px 50px rgba(35,59,53,.14); }
#test-feedback-admin-link[hidden] { display: none !important; }
.account-dropdown { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
.dropdown-identity { min-width: 0; padding: 10px 10px 15px; margin-bottom: 7px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; }
.dropdown-avatar { width: 42px; height: 42px; font-size: 12px; }
.dropdown-identity-copy { min-width: 0; display: grid; gap: 2px; }
.dropdown-identity-copy > small { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.dropdown-identity-copy strong { overflow: hidden; color: var(--ink); font-size: 14px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-identity-copy > span { overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.account-dropdown a, .account-dropdown button { width: 100%; min-height: 58px; border: 0; border-radius: 11px; padding: 8px 10px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; color: var(--ink); background: transparent; text-decoration: none; text-align: left; cursor: pointer; }
.account-dropdown a:hover, .account-dropdown button:hover, .account-dropdown a:focus-visible, .account-dropdown button:focus-visible { background: var(--primary-soft); color: var(--primary-dark); }
.account-dropdown button:last-child { color: var(--red); }
.account-menu-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--primary); background: var(--primary-soft); }
.account-menu-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-menu-copy { min-width: 0; display: grid; gap: 2px; }
.account-menu-copy strong { font-size: 12px; line-height: 1.3; }
.account-menu-copy small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.account-menu-arrow { color: var(--muted); font-size: 20px; line-height: 1; }
.account-dropdown button:last-child .account-menu-icon { color: var(--red); border-color: #ecd5d8; background: var(--red-soft); }
.account-dropdown button:last-child .account-menu-copy small { color: #7b565d; }
.dashboard-shell { max-width: 1240px; margin: 0 auto; padding: 52px 28px 70px; }
.portal-view[hidden] { display: none; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.welcome-row h1, .simple-view h1, .detail-heading h1 { margin: 8px 0 7px; color: var(--primary-dark); font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.05em; }
.welcome-row p, .detail-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.local-badge { padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cde7e3; border-radius: 99px; color: #287a72; background: #f2fbf9; font-size: 9px; font-weight: 750; }
.local-badge i, .status-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 35px 0 50px; }
.pending-signatures-shortcut { width: 100%; min-height: 64px; margin: -24px 0 34px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #b5c5a3; border-radius: 14px; background: #f4f8ef; color: var(--primary-dark); font: inherit; text-align: left; cursor: pointer; }
.pending-signatures-shortcut[hidden] { display: none; }
.pending-signatures-shortcut-copy { display: grid; gap: 3px; min-width: 0; }
.pending-signatures-shortcut strong { font-size: 15px; }
.pending-signatures-shortcut small { color: var(--muted); font-size: 12px; }
.pending-signatures-shortcut > span:last-child { flex: 0 0 auto; font-size: 12px; font-weight: 750; }
.pending-signatures-shortcut:hover { background: #edf3e6; }
.pending-signatures-shortcut:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 620px) { .pending-signatures-shortcut { align-items: flex-start; flex-direction: column; gap: 10px; } }
.payment-entry { margin: 24px 0 -12px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line, #d8dfd0); border-radius: 14px; background: #f1f5eb; }
.payment-entry[hidden] { display: none; }
.payment-entry > div { display: grid; gap: 3px; }
.payment-entry span { color: var(--muted, #626b5d); }
.payment-entry .button { width: auto; flex: 0 0 auto; text-decoration: none; }
.quick-card { min-height: 148px; display: grid; grid-template-columns: 57px 1fr auto; align-items: center; gap: 19px; padding: 27px; border-radius: 20px; color: white; text-decoration: none; overflow: hidden; position: relative; transition: .18s; box-shadow: 0 17px 36px rgba(35,59,53,.15); }
.quick-card::after { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; right: -75px; top: -90px; box-shadow: 0 0 0 35px rgba(255,255,255,.035); }
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 23px 45px rgba(35,59,53,.20); }
.lease-action { background: linear-gradient(135deg, #203f35, #286452); }
.parking-action { background: linear-gradient(135deg, #405f55, #6b8a78); }
.inspection-action { background: linear-gradient(135deg, #315846, #518168); }
.quick-icon { width: 57px; height: 57px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.14); font-size: 23px; }
.quick-icon svg { width: 24px; height: 24px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-card > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.quick-card small { color: rgba(255,255,255,.68); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.quick-card strong { font-size: 20px; letter-spacing: -.02em; }
.quick-card em { color: rgba(255,255,255,.72); font-size: 10px; font-style: normal; }
.quick-card b { font-size: 21px; font-weight: 400; position: relative; z-index: 1; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.section-heading h2 { margin: 7px 0 5px; color: var(--primary-dark); font-size: 29px; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.document-totals { display: flex; gap: 9px; }
.document-totals span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--muted); font-size: 9px; }
.document-totals strong { color: var(--primary-dark); font-size: 11px; }
.drafts-section { margin-bottom: 50px; }
.resume-draft{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0 8px;padding:22px 24px;border:1px solid var(--line);border-radius:18px;background:var(--wash)}
.resume-draft[hidden]{display:none}.resume-draft h2{margin:3px 0;font-size:22px}.resume-draft p{margin:0;color:var(--muted)}
.resume-draft > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.resume-draft-actions { display: grid; gap: 10px; flex: 0 0 210px; }
.resume-draft-actions .button { width: 100%; min-height: 44px; }
@media (max-width: 700px) {
  .resume-draft { flex-direction: column; align-items: stretch; }
  .resume-draft-actions { flex-basis: auto; }
}
.document-center{margin:10px 0 42px;padding:28px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.62)}
.document-center-heading{margin-bottom:24px}.document-center>.stored-documents-section,.document-center>.remote-requests-section,.document-center>.properties-section{margin-bottom:28px;padding-top:24px;border-top:1px solid var(--line)}
.drafts-section.is-empty,.document-center>.is-empty{margin-bottom:18px}.is-empty .section-heading{margin-bottom:8px}.is-empty .empty-drafts,.is-empty .empty-properties{padding:14px 18px;text-align:left;border-style:solid;border-radius:14px}.is-empty .empty-drafts h3,.is-empty .empty-properties h3{display:none}.is-empty .empty-drafts p,.is-empty .empty-properties p{margin:0;max-width:none}.is-empty .empty-drafts .button{display:none}
.remote-requests-section { margin-bottom: 50px; }
#remote-requests-title { scroll-margin-top: 94px; }
.stored-documents-section { margin-bottom: 50px; }
.stored-document-list { display: grid; gap: 10px; }
.stored-document-card { min-width: 0; padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.stored-document-card h3 { margin: 3px 0; color: var(--primary-dark); font-size: 15px; }
.stored-document-card p,.stored-document-card > div > span { margin: 0; color: var(--muted); font-size: 11px; }
.stored-document-card .stored-document-expiry { margin-top: 5px; color: #8a392f; font-weight: 750; }
#my-files { scroll-margin-top: 94px; }
.stored-document-card .document-kind-icon { width: 42px; height: 42px; font-size: 10px; font-weight: 850; }
.stored-document-actions { display: flex; align-items: center; gap: 9px; }
.stored-document-actions .button { min-height: 44px; }
.stored-document-actions .text-button { min-height: 44px; }
.remote-request-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.remote-request-card { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(35,59,53,.06); }
.remote-request-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.remote-request-top small { color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.remote-request-card h3 { margin: 16px 0 4px; color: var(--primary-dark); font-size: 17px; }
.remote-request-card > p { margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.remote-recipient-list { display: grid; gap: 8px; }
.remote-recipient-list > div { min-width: 0; padding: 10px; display: grid; grid-template-columns: 29px minmax(0,1fr) auto; align-items: center; gap: 9px; border-radius: 11px; background: #f7f9f7; }
.remote-recipient-state { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #83661e; background: var(--amber-soft); font-weight: 850; }
.remote-recipient-state.signed { color: white; background: var(--mint); }
.remote-recipient-state.revoked { color: white; background: var(--red); }
.remote-recipient-list > div > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.remote-recipient-list strong { font-size: 14px; overflow-wrap: anywhere; }
.remote-recipient-list small { color: var(--muted); font-size: 12px; }
.remote-recipient-email { overflow-wrap: anywhere; }
.remote-recipient-list button { min-height: 44px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--primary); background: white; font-size: 13px; font-weight: 750; }
.remote-recipient-actions { display: flex; gap: 5px; }
.remote-recipient-actions button[data-revoke-signing-link] { color: var(--red); }
.remote-recipient-code,.remote-recipient-code-unavailable { grid-column: 2 / -1; min-width: 0; }
.remote-recipient-code summary { width: max-content; max-width: 100%; color: var(--primary); font-size: 13px; font-weight: 750; cursor: pointer; }
.remote-recipient-code[open] { display: grid; gap: 8px; }
.remote-recipient-code-value { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; overflow-wrap: anywhere; font-size: 11px; }
.remote-recipient-code-value code { padding: 6px 10px; border-radius: 8px; color: var(--primary-dark); background: white; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.remote-recipient-code-value button { min-height: 36px; }
.remote-recipient-code-unavailable { color: var(--muted); line-height: 1.4; }
@media (max-width: 1100px) {
  .remote-recipient-list > div { grid-template-columns: 29px minmax(0, 1fr); align-items: start; }
  .remote-recipient-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .remote-recipient-actions button { min-width: 0; }
  .remote-recipient-code,.remote-recipient-code-unavailable { grid-column: 1 / -1; }
}
.remote-request-progress { margin: 15px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.remote-request-progress > span { height: 7px; overflow: hidden; border-radius: 99px; background: #e8ece8; }
.remote-request-progress i { display: block; height: 100%; border-radius: inherit; background: var(--mint); }
.remote-request-progress strong { color: var(--primary); font-size: 10px; }
.remote-request-card > .button { width: 100%; min-height: 44px; }
.remote-signing-feedback:empty { display: none; }
.remote-signing-feedback { margin-bottom: 15px; padding: 14px; display: grid; gap: 5px 14px; border-radius: 12px; color: var(--muted); background: #f7f8f7; font-size: 11px; }
.remote-signing-feedback strong,.remote-signing-feedback span { min-width: 0; overflow-wrap: anywhere; }
.remote-signing-feedback code { width: max-content; padding: 5px 8px; border-radius: 7px; color: var(--primary-dark); background: white; font-weight: 800; letter-spacing: .1em; }
.remote-feedback-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.remote-signing-feedback[data-state="success"] { color: #216858; background: #edf8f4; }
.remote-signing-feedback[data-state="error"] { color: var(--red); background: var(--red-soft); }
.draft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.draft-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(35,59,53,.06); }
.draft-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.draft-card-heading > small { color: var(--muted); font-size: 9px; text-align: right; }
.draft-card h3 { margin: 17px 0 6px; color: var(--primary-dark); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.draft-card > p { min-height: 18px; margin: 0 0 18px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.draft-progress-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.draft-progress-copy strong { color: var(--primary); font-size: 10px; }
.draft-progress { height: 6px; margin: 8px 0 10px; overflow: hidden; border-radius: 99px; background: #ececf3; }
.draft-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--mint)); }
.draft-updated { display: block; color: var(--muted); font-size: 8px; }
.draft-actions { display: grid; gap: 8px; margin-top: 18px; }
.draft-actions .button { width: 100%; min-height: 44px; }
.empty-drafts { padding: 40px 25px; border: 1px dashed #cdd0dc; border-radius: 20px; background: rgba(255,255,255,.55); text-align: center; }
.empty-drafts h3 { margin: 0 0 7px; color: var(--primary-dark); }
.empty-drafts p { max-width: 460px; margin: 0 auto 20px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.empty-drafts .button { display: inline-flex; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(35,59,53,.06); transition: .18s; }
.property-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(35,59,53,.10); }
.property-visual { height: 104px; padding: 17px; display: flex; align-items: flex-start; justify-content: space-between; color: white; background: linear-gradient(135deg, #315a4e, #5d8a72); position: relative; overflow: hidden; }
.property-visual::after { content: ""; width: 130px; height: 130px; border-radius: 50%; position: absolute; right: -45px; bottom: -75px; background: rgba(255,255,255,.12); }
.property-visual.visual-1 { background: linear-gradient(135deg, #277b75, #59bdb4); }
.property-visual.visual-2 { background: linear-gradient(135deg, #775a28, #b08b52); }
.property-visual span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.16); font-size: 17px; }
.property-visual small { font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.property-copy { padding: 18px; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 99px; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.status-chip.mint { color: #20776f; background: var(--mint-soft); }
.status-chip.purple { color: var(--primary); background: var(--primary-soft); }
.property-copy h3 { min-height: 43px; margin: 13px 0; font-size: 14px; line-height: 1.5; letter-spacing: -.01em; }
.property-counts { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 9px; }
.property-counts span { display: flex; align-items: center; gap: 6px; }
.property-counts b { color: var(--primary); }
.property-copy button { width: 100%; min-height: 44px; margin-top: 17px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--primary-dark); background: transparent; font-size: 10px; font-weight: 800; }
.empty-properties { padding: 55px 25px; border: 1px dashed #cdd0dc; border-radius: 20px; background: rgba(255,255,255,.55); text-align: center; }
.empty-icon { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 16px; color: var(--primary); background: var(--primary-soft); font-size: 22px; }
.empty-properties h3 { margin: 0 0 7px; color: var(--primary-dark); }
.empty-properties p { max-width: 460px; margin: 0 auto 20px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.empty-properties > div { display: flex; justify-content: center; gap: 9px; }
.back-button { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; margin: -8px 0 24px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; color: var(--primary-dark); background: #fff; box-shadow: 0 2px 6px rgb(35 59 53 / 8%); text-decoration: none; font-size: 14px; font-weight: 750; line-height: 1.4; }
.back-button:hover { color: var(--primary-dark); background: var(--primary-soft); border-color: var(--primary); }
.back-button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.back-button:active { background: #dce9df; box-shadow: none; }
.detail-heading { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.detail-heading h1 { max-width: 850px; font-size: clamp(31px, 4vw, 46px); }
.document-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-top: 28px; }
.document-columns > section { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fbfbfd; }
.document-column-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.document-kind-icon { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 12px; font-size: 18px; }
.document-kind-icon svg { width: 21px; height: 21px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.document-kind-icon.lease { color: var(--primary); background: var(--primary-soft); }
.document-kind-icon.inspection { color: var(--mint); background: var(--mint-soft); }
.document-column-heading h2 { margin: 0 0 2px; color: var(--primary-dark); font-size: 17px; }
.document-column-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.document-list { display: grid; gap: 11px; }
.document-card { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.document-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.document-card-top small { color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
.document-card-reference { min-width: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; text-align: right; }
.document-year { padding: 4px 7px; border-radius: 999px; color: var(--primary-dark); background: var(--primary-soft); font-size: 10px; line-height: 1; }
.document-card h3 { margin: 13px 0 5px; font-size: 13px; }
.document-card p { margin: 0; color: var(--muted); font-size: 10px; }
.document-card .document-start-date { margin: 6px 0 14px; }
.document-card .document-start-date strong { color: var(--primary-dark); }
.document-card .document-tenant:not(:has(+ .document-start-date)) { margin-bottom: 14px; }
.draft-start-date { margin-top: -5px; color: var(--muted); font-size: 11px; }
.draft-start-date strong, .draft-year { color: var(--primary-dark); }
.document-card a, .empty-column a { color: var(--primary); text-decoration: none; font-size: 10px; font-weight: 800; }
.document-card a { display: flex; justify-content: space-between; padding-top: 11px; border-top: 1px solid var(--line); }
.empty-column { padding: 27px 18px; border: 1px dashed #d2d4de; border-radius: 12px; text-align: center; }
.empty-column p { color: var(--muted); font-size: 10px; }
.simple-view { max-width: 760px; padding-top: 10px; }
.simple-view h1 { margin-bottom: 30px; }
.profile-view { max-width: 900px; padding-top: 10px; }
.profile-view h1 { margin: 8px 0; color: var(--primary-dark); font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.05em; }
.profile-view-intro { max-width: 650px; margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.profile-view-intro a { color: var(--primary-dark); font-weight: 700; text-decoration-color: currentColor; text-underline-offset: .2em; }
.profile-view-intro a:hover { color: var(--primary); }
.profile-view-intro a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.settings-card { padding: 22px; display: flex; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.settings-avatar { width: 48px; height: 48px; }
.settings-card > div:not(.avatar) { display: grid; gap: 4px; }
.settings-card strong { font-size: 13px; }
.settings-card span { color: var(--muted); font-size: 10px; }
.settings-row { justify-content: space-between; }
.profile-identity { margin-bottom: 16px; }
.profile-editor-card, .registration-card { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 16px 38px rgba(35,59,53,.07); }
.signing-editor-card { margin-top: 16px; }
.account-signing-form { min-width: 0; }
.account-asset-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
.account-asset-card { min-width: 0; padding: 18px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; border: 1px dashed #9fb9aa; border-radius: 14px; background: #f8faf7; text-align: center; }
.account-asset-card.asset-saved { border-style: solid; border-color: #8bcfc8; background: #f5fcfb; }
.account-asset-card.asset-pending { border-color: #d7a74e; background: #fffaf0; }
.account-asset-card > div:first-child { display: grid; gap: 5px; }
.account-asset-card > div:first-child strong { color: var(--primary-dark); font-size: 13px; }
.account-asset-card > div:first-child span, .account-signing-note { color: var(--muted); font-size: 9px; line-height: 1.5; }
.account-asset-save-state { width: fit-content; margin: 5px auto 0; padding: 5px 8px; border-radius: 99px; font-size: 8px !important; font-weight: 850; letter-spacing: .02em; }
.account-asset-save-state.saved { color: #1f746d !important; background: var(--mint-soft); }
.account-asset-save-state.pending { color: #805b13 !important; background: var(--amber-soft); }
.account-asset-card input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.account-asset-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.account-method-choice { min-height: 76px; padding: 11px; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; border: 2px solid #d8dbe5; border-radius: 12px; color: var(--primary-dark); background: white; text-align: left; cursor: pointer; transition: .16s; }
.account-method-choice > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--primary); background: var(--primary-soft); font-style: normal; font-weight: 850; }
.account-method-choice > span { display: grid; gap: 3px; }
.account-method-choice strong { font-size: 10px; }
.account-method-choice small { color: var(--muted); font-size: 8px; line-height: 1.35; }
.account-method-choice:hover { border-color: #9fb9aa; transform: translateY(-1px); }
.account-draw-button[aria-expanded="true"] { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px rgba(40,100,82,.08); }
.account-draw-button[aria-expanded="true"] > i { color: white; background: var(--mint); }
.account-draw-button:focus-visible { outline: 3px solid rgba(40,100,82,.22); outline-offset: 2px; }
.account-file-button:focus-within { outline: 3px solid rgba(40,100,82,.18); outline-offset: 2px; }
.account-drawing-panel { padding: 12px; border: 1px solid #ccd9d0; border-radius: 12px; background: white; }
.account-drawing-panel[hidden] { display: none; }
.account-drawing-panel p { margin: 0 0 9px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.account-drawing-panel canvas { display: block; width: 100%; height: 320px; aspect-ratio: auto; border: 1px solid #cfd1dc; border-radius: 9px; background: linear-gradient(white, #fdfdff); cursor: crosshair; touch-action: none; }
.account-drawing-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; margin-top: 9px; }
.account-drawing-actions .button { width: 100%; min-height: 44px; }
.account-asset-preview { min-height: 86px; padding: 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: white; font-size: 9px; }
.account-asset-preview img { display: block; max-width: 100%; max-height: 70px; object-fit: contain; }
.account-signing-note { margin: 14px 0 0; }
.account-signing-save-summary { margin-top: 20px; padding: 14px 16px; display: grid; gap: 4px; border-radius: 12px; }
.account-signing-save-summary.saved { color: #1d6f68; background: var(--mint-soft); border: 1px solid #a9ddd8; }
.account-signing-save-summary.pending { color: #714e0e; background: var(--amber-soft); border: 1px solid #ead197; }
.account-signing-save-summary strong { font-size: 11px; }
.account-signing-save-summary span { font-size: 9px; line-height: 1.5; }
.profile-editor-heading, .registration-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 21px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.profile-editor-heading h2 { margin: 0 0 5px; color: var(--primary-dark); font-size: 20px; }
.profile-editor-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.profile-kind { margin: 0 0 24px; padding: 0; border: 0; }
.profile-kind legend { margin-bottom: 10px; color: var(--ink); font-size: 11px; font-weight: 800; }
.profile-kind-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-kind-options label { cursor: pointer; }
.profile-kind-options input { position: absolute; opacity: 0; pointer-events: none; }
.profile-kind-options span { min-height: 86px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 12px; padding: 13px; border: 2px solid #d8dbe5; border-radius: 14px; color: var(--muted); background: #fbfbfd; transition: .15s; }
.profile-kind-options span i { width: 42px; height: 42px; grid-row: 1 / 3; display: grid; place-items: center; align-self: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); font-size: 16px; font-style: normal; }
.profile-kind-options span b { align-self: end; color: var(--primary-dark); font-size: 12px; }
.profile-kind-options span small { align-self: start; color: var(--muted); font-size: 8px; font-weight: 550; line-height: 1.4; }
.profile-kind-options input:checked + span { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); box-shadow: 0 0 0 3px rgba(40,100,82,.08); }
.profile-kind-options input:checked + span i { color: white; background: var(--mint); }
.profile-kind-options input:focus-visible + span { outline: 3px solid rgba(40,100,82,.18); outline-offset: 2px; }
.profile-choice-help, .account-method-comment { margin-top: 12px; padding: 13px 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #dce0e9; border-radius: 12px; color: var(--muted); background: #f7f8fa; }
.profile-choice-help > i, .account-method-comment > i { width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid #8792a8; border-radius: 50%; color: #637087; font-size: 10px; font-style: normal; font-weight: 850; }
.profile-choice-help p, .account-method-comment p { margin: 1px 0 0; font-size: 9px; line-height: 1.55; }
.profile-choice-help strong { color: var(--ink); }
.company-profile-fields { margin-bottom: 22px; padding: 18px; border-radius: 14px; background: #f2f6f2; }
.company-profile-fields[hidden], .profile-hidden { display: none !important; }
.profile-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.profile-section-heading strong { color: var(--primary-dark); font-size: 13px; }
.profile-section-heading > span { color: var(--muted); font-size: 9px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.profile-field { display: grid; align-content: start; gap: 6px; }
.profile-field.full { grid-column: 1 / -1; }
.profile-field label { color: var(--ink); font-size: 10px; font-weight: 780; }
.profile-field label > span:not(.optional) { color: var(--red); }
.profile-field .optional { color: var(--muted); font-size: 8px; font-weight: 550; }
.profile-field input { width: 100%; min-height: 47px; border: 1px solid #d8dbe5; border-radius: 11px; padding: 0 13px; background: #fcfcfe; color: var(--ink); outline: none; transition: .15s; }
.profile-field input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(40,100,82,.1); }
.profile-field input[aria-invalid="true"] { border-color: var(--red); background: #fffafb; }
.profile-hint { color: var(--muted); font-size: 8px; line-height: 1.45; }
.profile-form-message { min-height: 19px; margin: 18px 0 8px; font-size: 10px; font-weight: 700; }
.profile-form-message.error { color: var(--red); }
.profile-form-message.success { color: #21776f; }
.profile-submit { width: auto; min-width: 215px; padding-inline: 24px; }
.registration-body { min-height: 100vh; background: radial-gradient(circle at 88% 12%, rgba(40,100,82,.08), transparent 24%), var(--wash); }
.registration-shell { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 75px; }
.registration-heading { max-width: 720px; margin-bottom: 30px; }
.registration-heading h1 { margin: 10px 0; color: var(--primary-dark); font-size: clamp(36px, 5vw, 56px); line-height: 1.03; letter-spacing: -.05em; }
.registration-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.registration-card-heading > div { display: flex; align-items: center; gap: 12px; }
.registration-card-heading > div > span:last-child { display: grid; gap: 4px; }
.registration-card-heading strong { color: var(--primary-dark); font-size: 16px; }
.registration-card-heading small { color: var(--muted); font-size: 9px; }
.step-dot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--primary); font-size: 12px; font-weight: 850; }
.registration-card .account-warning { margin-bottom: 0; }
.account-warning { margin-top: 16px; padding: 18px; border-radius: 14px; color: #675019; background: var(--amber-soft); }
.account-warning strong { font-size: 11px; }
.account-warning p { margin: 5px 0 0; font-size: 10px; line-height: 1.6; }

.data-manager { margin-top: 22px; display: grid; gap: 16px; }
.data-manager-intro { display: flex; gap: 14px; padding: 18px; border: 1px solid #bcdcd2; border-radius: 16px; color: #285e50; background: #f1faf7; }
.data-manager-intro > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--primary); font-size: 17px; }
.data-manager-intro strong, .data-action h3 { color: var(--primary-dark); font-size: 15px; }
.data-manager-intro p, .data-action-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.data-action { padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfb; }
.data-action-heading { display: flex; align-items: flex-start; gap: 13px; }
.data-action-heading > span { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); font-size: 11px; font-weight: 850; }
.data-action h3 { margin: 1px 0 0; }
.data-form { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: max-content; gap: 14px; align-items: start; align-content: start; }
.data-form label { align-self: start; min-width: 0; display: grid; gap: 7px; color: var(--primary-dark); font-size: 12px; font-weight: 750; }
.data-form label small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.4; }
.data-form input:not([type="checkbox"]) { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bdcfc3; border-radius: 10px; color: var(--ink); background: white; font: inherit; font-weight: 500; }
.data-form input[type="file"] { padding: 4px 8px; color: var(--muted); cursor: pointer; }
.data-form input[type="file"]::file-selector-button { min-height: 36px; margin-right: 10px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--primary-dark); background: var(--primary-soft); font: inherit; font-weight: 750; cursor: pointer; }
.data-form input[type="file"]:hover::file-selector-button { border-color: var(--primary); background: #e4eddf; }
.data-form input:focus-visible { outline: 3px solid rgba(61,119,100,.25); outline-offset: 2px; border-color: var(--primary); }
.data-form .button { min-height: 46px; grid-column: 1 / -1; align-self: start; justify-self: start; }
.data-check { min-height: 44px; grid-column: 1 / -1; display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; font-weight: 600 !important; line-height: 1.5; cursor: pointer; }
.data-check input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; accent-color: var(--primary); }
.separated-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.danger-zone { border-color: #ecd5d8; background: #fffafa; }
.danger-zone .data-action-heading > span { color: var(--red); background: var(--red-soft); }
.security-session-panel { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.security-session-panel h4 { margin: 0; color: var(--primary-dark); font-size: 14px; }
.security-help { margin: 4px 0 12px; color: var(--muted); font-size: 12px; }
.security-session-list { display: grid; gap: 8px; }
.security-session-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.security-session-item:first-child { border-top: 0; }
.security-session-item div { display: grid; gap: 3px; min-width: 0; }
.security-session-item strong { color: var(--ink); font-size: 13px; }
.security-session-item small { color: var(--muted); font-size: 11px; }
.security-session-item .button { flex: 0 0 auto; }
.data-manager-status { min-height: 22px; padding: 12px 14px; border-radius: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.data-manager-status:empty { display: none; }
.data-manager-status[data-state="success"] { color: #1f6956; background: #edf8f4; }
.data-manager-status[data-state="error"] { color: var(--red); background: var(--red-soft); }
.browser-vault { margin-top: 18px; border-color: #bcdcd2; background: #f8fcfb; }
.browser-vault-state { margin: 16px 0 2px 44px; padding: 13px 14px; display: grid; gap: 4px; border: 1px solid #cde1da; border-radius: 11px; color: var(--muted); background: white; font-size: 12px; line-height: 1.5; }
.browser-vault-state strong { color: var(--primary-dark); font-size: 13px; }
.browser-vault-state-warning { border-color: #ead197; color: #714e0e; background: #fffaf0; }
.browser-vault-form { margin-left: 44px; }
.browser-vault-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 9px; }
.browser-vault-actions .button { min-height: 46px; }
.browser-vault-danger { margin: 15px 0 0 44px; padding-top: 14px; border-top: 1px solid var(--line); }
.browser-vault-danger > summary { width: fit-content; min-height: 44px; display: flex; align-items: center; color: var(--red); font-size: 12px; font-weight: 750; cursor: pointer; }
.browser-vault-message { min-height: 22px; margin: 13px 0 0 44px; padding: 11px 13px; display: block; border-radius: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.browser-vault-message:empty { display: none; }
.browser-vault-message[data-state="success"] { color: #1f6956; background: #edf8f4; }
.browser-vault-message[data-state="error"] { color: var(--red); background: var(--red-soft); }
@media(max-width:680px) { .data-form { grid-template-columns: 1fr; } .data-action { padding: 17px; } .data-form .button { width: 100%; } .security-session-item { align-items: flex-start; flex-direction: column; } .security-session-item .button { width: 100%; } }
@media(max-width:680px) { .browser-vault-state, .browser-vault-form, .browser-vault-danger, .browser-vault-message { margin-left: 0; } .browser-vault-actions { display: grid; } }
@media(max-width:680px) { .stored-document-card { grid-template-columns: auto minmax(0,1fr); } .stored-document-actions { grid-column: 1 / -1; } .stored-document-actions .button { flex: 1; } }

@media (max-width: 900px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-story { min-height: auto; padding: 28px 28px 36px; }
  .story-copy { margin-top: 70px; }
  .story-copy h1 { font-size: clamp(38px, 9vw, 58px); }
  .story-points, .story-footnote { display: none; }
  .login-panel { padding: 42px 24px 60px; }
  .quick-actions, .property-grid, .draft-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Progressive disclosure for document-heavy dashboards and account tools. */
.dashboard-list-toggle { grid-column: 1 / -1; display: flex; width: fit-content; margin: 14px auto 0; }
.data-manager-group { margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
.data-manager-group > summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; cursor: pointer; list-style: none; }
.data-manager-group > summary::-webkit-details-marker { display: none; }
.data-manager-group > summary > span { min-width: 0; display: grid; gap: 3px; }
.data-manager-group > summary strong { color: var(--ink); }
.data-manager-group > summary small { color: var(--muted); font-size: 12px; }
.data-manager-group > summary::after { content: "+"; flex: 0 0 auto; margin-left: auto; color: var(--primary); font-size: 22px; line-height: 1; }
.data-manager-group[open] > summary::after { content: "−"; }
.data-manager-group-content { padding: 0 16px 16px; }
.data-manager-group-content > .data-action:first-child { margin-top: 0; }
.session-list-toggle { margin-top: 10px; }

@media (max-width: 650px) {
  .dashboard-list-toggle { width: 100%; justify-content: center; }
}
@media (max-width: 680px) {
  .portal-header { height: auto; min-height: 70px; padding: 12px 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
  .portal-header .brand { min-width: 0; }
  .portal-header .brand small { display: none; }
  .portal-navigation { grid-column: 1 / -1; width: 100%; }
  .account-menu-wrap { justify-self: end; min-width: 0; }
  .account-copy { min-width: 0; max-width: min(128px, 34vw); }
  .account-copy strong { font-size: 11px; }
  .account-trigger { min-height: 49px; padding: 5px 8px 5px 6px; gap: 8px; }
  .account-trigger .avatar { width: 37px; height: 37px; flex: 0 0 37px; }
  .account-dropdown { width: min(306px, calc(100vw - 30px)); top: calc(100% + 8px); }
  .dashboard-shell { padding: 35px 16px 55px; }
  .welcome-row { align-items: flex-start; }
  .welcome-row h1 { font-size: 36px; }
  .local-badge { display: none; }
  .quick-actions { grid-template-columns: 1fr; margin: 28px 0 42px; }
  .quick-card { min-height: 128px; padding: 21px; grid-template-columns: 49px 1fr auto; gap: 14px; }
  .quick-icon { width: 49px; height: 49px; }
  .quick-card strong { font-size: 17px; }
  .section-heading { display: block; }
  .document-totals { margin-top: 14px; }
  .property-grid, .draft-grid, .remote-request-grid, .document-columns { grid-template-columns: 1fr; }
  .property-copy h3 { min-height: 0; }
  .empty-properties > div { flex-direction: column; }
  .profile-grid, .account-asset-grid { grid-template-columns: 1fr; }
  .profile-field.full { grid-column: auto; }
  .profile-editor-heading, .registration-card-heading, .profile-section-heading { align-items: flex-start; flex-direction: column; }
  .profile-submit { width: 100%; }
  .registration-shell { padding-top: 35px; }
}
@media (max-width: 440px) {
  .login-story { padding: 23px 20px 31px; }
  .story-copy { margin-top: 54px; }
  .story-copy h1 { font-size: 37px; }
  .story-copy > p { font-size: 14px; }
  .login-panel { padding-inline: 20px; }
  .login-card h2 { font-size: 35px; }
  .account-dropdown { right: -2px; }
  .account-asset-methods { grid-template-columns: 1fr; }
  .quick-card em { display: none; }
}

@media (max-width: 720px) {
  .account-drawing-panel canvas { height: 260px; }
}
@media (max-width: 480px) {
  .account-asset-card { padding: 12px; }
  .account-drawing-panel { padding: 12px 10px 10px; }
  .account-drawing-panel canvas {
    height: 260px;
    aspect-ratio: auto;
  }
}

/* Account forms: readable feedback and accessible password criteria. */
.login-card .portal-field label,.login-card .portal-primary,.login-card .register-link,.login-card .password-toggle{font-size:14px}
.login-card .field-error,.login-card .form-message,.login-card .local-notice p{font-size:13px}
.password-feedback{margin:-5px 0 22px;font-size:14px}
.password-feedback ul{padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 15px;color:var(--muted)}
.password-feedback [data-valid="true"]{color:#246c54}
.password-strength-meter{width:100%;height:10px;display:block;margin:9px 0 7px;background:var(--line);border-radius:999px;overflow:hidden}
.password-strength-meter>span{display:block;height:100%;width:0;border-radius:inherit}
.password-strength-meter[data-score="1"]>span{width:25%;background:#c73535}
.password-strength-meter[data-score="2"]>span{width:50%;background:#b9690c}
.password-strength-meter[data-score="3"]>span{width:75%;background:#167d94}
.password-strength-meter[data-score="4"]>span{width:100%;background:#228048}
.password-feedback #password-strength{font-weight:700;color:var(--ink)}
.password-feedback p{font-size:13px;margin:4px 0 0;color:var(--muted)}
.login-card .form-message{color:#a0283b}
.login-panel{padding-top:40px;padding-bottom:40px}
.legal-acceptance{margin:0 0 20px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#f8faf8}
.legal-acceptance label{display:flex;align-items:flex-start;gap:11px;color:var(--ink);font-size:13px;line-height:1.55;cursor:pointer}
.legal-acceptance input{width:18px;height:18px;flex:0 0 18px;margin-top:2px;accent-color:var(--primary)}
.legal-acceptance a{color:var(--primary);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.legal-acceptance .field-error{display:block;margin:7px 0 0 29px}
@media(max-width:500px){.password-feedback ul{grid-template-columns:1fr}.login-card h2{font-size:32px}}

@media(max-width:680px){.login-story .story-copy,.login-story .story-footnote{display:none}.login-story{padding:22px 20px}.login-panel{padding-top:32px}}
.account-disclosure { margin-top: 16px; }
.account-disclosure > summary.profile-editor-heading { cursor: pointer; list-style: none; flex-direction: row; align-items: center; margin: 0; padding: 0; border: 0; min-height: 48px; }
.account-disclosure > summary::-webkit-details-marker { display: none; }
.account-disclosure > summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 8px; border-radius: 6px; }
.account-disclosure > summary:hover h2 { color: var(--primary); }
.account-disclosure[open] > summary.profile-editor-heading { padding-bottom: 21px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.account-menu-symbol { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid #cbdacf; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.account-menu-symbol svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-disclosure > summary.profile-editor-heading > div { min-width: 0; flex: 1; }
.account-disclosure-icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 10px; color: var(--primary); background: var(--primary-soft); font-size: 24px; font-weight: 700; }
.account-disclosure-icon::before { content: '+'; }
.account-disclosure[open] > summary .account-disclosure-icon::before { content: '−'; }
.invoice-feedback:not(:empty) { margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--primary-soft); color: var(--primary-dark); font-size: 13px; }
.invoice-feedback[data-state="error"] { color: #84292f; border-color: #e5b9bd; background: #fff0f1; }
.invoice-list { display: grid; gap: 12px; }
.invoice-card { min-width: 0; padding: 17px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: #f8faf8; }
.invoice-card > div { min-width: 0; overflow-wrap: anywhere; }
.invoice-card h3 { margin: 9px 0 4px; color: var(--primary-dark); font-size: 17px; }
.invoice-card p, .invoice-empty, .invoice-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.invoice-card > strong { color: var(--primary-dark); font-size: 18px; }
.invoice-card > .button { grid-column: 1 / -1; justify-self: start; width: auto; min-height: 44px; }
.invoice-note { margin-top: 16px; }
.registered-property-list article { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.registered-property-list article p { margin:5px 0; overflow-wrap:anywhere; }
#registered-property-form { margin-top:24px; }
#registered-property-form .form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:16px; margin-bottom:24px; }
#registered-property-form input, #registered-property-form select { width:100%; min-height:46px; scroll-margin-top:144px; }
@media(max-width:680px) { #registered-property-form input, #registered-property-form select { scroll-margin-top:300px; } }
#registered-property-form .profile-field {
  align-self: stretch;
  align-content: normal;
  grid-template-rows: 1fr auto;
  min-width: 0;
}
#registered-property-form .profile-field > label { align-self: end; }
.registry-list-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:20px; }
.registry-list-heading strong { font-size:16px; color:var(--primary-dark); }
.registry-list-heading p { margin:5px 0 0; font-size:13px; color:var(--muted); line-height:1.5; }
.registered-property-list { display:grid; gap:14px; }
.registered-property-list .registry-card { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:16px; padding:20px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(110deg,#f8faf7,#fff 65%); box-shadow:0 4px 14px rgb(35 59 53 / 4%); }
.registry-card-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:var(--primary-soft); color:var(--primary); }
.registry-card-icon svg { width:26px; height:26px; }
.registry-card-copy { min-width:0; }
.registry-card-copy h3 { margin:0; font-size:18px; color:var(--primary-dark); overflow-wrap:anywhere; }
.registered-property-list .registry-card-address { font-size:14px; color:var(--muted); line-height:1.5; margin:6px 0 0; }
.registry-card-features { display:flex; flex-wrap:wrap; gap:7px; padding:0; margin:12px 0 0; list-style:none; }
.registry-card-features li { padding:5px 9px; border-radius:7px; background:var(--primary-soft); color:var(--muted); font-size:12px; }
.registry-card-document-count { display:inline-flex; margin-top:10px; padding:5px 8px; border-radius:7px; background:#eef8f5; color:#24796f; font-size:12px; font-weight:700; }
.registry-card-document-count[hidden] { display:none; }
.registry-card .registry-card-edit, .registry-list-heading .registry-add { min-height:44px; padding:10px 14px; color:var(--primary-dark); background:var(--primary-soft); border:1px solid var(--line); border-radius:10px; font-size:13px; }
.registry-card .registry-card-edit:hover, .registry-list-heading .registry-add:hover { background:#dce9df; }
.registry-storage-note { font-size:12px; line-height:1.5; color:var(--muted); margin:16px 0 0; }
.registry-save-feedback { font-size:13px; color:#167466; line-height:1.5; }
.registry-save-feedback:empty { display:none; }
.registry-empty { padding:24px; border:1px dashed #b9cfc2; border-radius:14px; color:var(--muted); font-size:14px; }
.property-documents { margin: 26px 0 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #f8faf8; }
.property-document-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
.property-document-heading h4 { margin:0; color:var(--primary-dark); font-size:18px; }
.property-document-heading p { margin:5px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.property-document-heading > span { flex:0 0 auto; padding:6px 9px; border-radius:8px; background:var(--primary-soft); color:var(--primary-dark); font-size:12px; font-weight:750; }
.property-document-drop { min-height:145px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:22px; border:2px dashed #9fb9aa; border-radius:14px; background:white; text-align:center; cursor:pointer; }
.property-document-drop:hover, .property-document-drop:focus-visible, .property-document-drop.dragging { border-color:var(--mint); background:var(--mint-soft); outline:0; }
.property-document-drop strong { color:var(--primary-dark); }
.property-document-drop small { color:var(--muted); font-size:12px; }
.property-document-drop .button { margin-top:5px; }
.property-document-pending { margin-top:16px; padding:14px; border:1px solid #b5c8a6; border-radius:13px; background:#f3f8ef; }
.property-document-pending > strong { display:block; color:var(--primary-dark); font-size:14px; }
.property-document-pending .property-document-list { margin-top:10px; }
.property-document-pending .property-document-item { grid-template-columns:46px minmax(0,1fr); }
.property-document-pending .property-document-copy > small { color:var(--muted); }
.property-document-pending-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; }
.property-document-list { display:grid; gap:10px; margin-top:16px; }
.property-document-item { min-width:0; display:grid; grid-template-columns:46px minmax(0,1fr) auto; align-items:start; gap:12px; padding:14px; border:1px solid var(--line); border-radius:13px; background:white; }
.property-document-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:11px; background:var(--primary-soft); color:var(--primary); font-size:10px; font-weight:850; }
.property-document-copy { min-width:0; display:grid; gap:5px; }
.property-document-copy > strong { overflow-wrap:anywhere; color:var(--ink); font-size:13px; }
.property-document-copy > small { color:#24796f; font-size:11px; }
.property-document-copy label { display:grid; grid-template-columns:auto minmax(170px,1fr); align-items:center; gap:10px; margin-top:3px; color:var(--muted); font-size:11px; }
.property-document-copy select { width:100%; min-height:44px; padding:8px 34px 8px 11px; border:1px solid var(--line); border-radius:9px; background:#fafafe; font-size:16px; }
.property-document-actions { display:flex; flex-direction:column; gap:7px; }
.property-document-actions .button { min-height:40px; padding:8px 11px; }
.property-document-feedback { min-height:18px; margin:12px 0 0; color:#167466; font-size:13px; }
.registry-form-actions { display:flex; flex-wrap:wrap; gap:8px; }
@media(max-width:600px) { .registered-property-list .registry-card { grid-template-columns:40px minmax(0,1fr); gap:12px; padding:16px; } .registry-card-icon { width:40px; height:40px; } .registry-card .registry-card-edit { grid-column:2; justify-self:start; } }
@media(max-width:600px) { .property-documents { padding:15px; } .property-document-heading { flex-direction:column; } .property-document-item { grid-template-columns:40px minmax(0,1fr); } .property-document-icon { width:40px; height:40px; } .property-document-actions { grid-column:2; flex-direction:row; flex-wrap:wrap; } .property-document-copy label { grid-template-columns:1fr; gap:5px; } }
@media(max-width:520px) { .invoice-card { grid-template-columns: minmax(0,1fr); } .account-menu-symbol { width:40px; height:40px; flex-basis:40px; } .account-menu-symbol svg { width:21px; height:21px; } .account-disclosure > summary.profile-editor-heading { gap:12px; } .account-disclosure-icon { width:34px; height:34px; flex-basis:34px; } }

/* Guided owner setup */
.onboarding-view { width: min(900px, 100%); margin: 0 auto; }
.onboarding-welcome, .onboarding-card, .onboarding-complete { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 62px); border: 1px solid #d9e4dc; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(35,59,53,.11); }
.onboarding-welcome::after, .onboarding-complete::after { content: ""; position: absolute; z-index: 0; width: 260px; height: 260px; top: -155px; right: -110px; border-radius: 50%; background: rgba(84,154,126,.10); box-shadow: 0 0 0 50px rgba(84,154,126,.04); pointer-events: none; }
.onboarding-welcome > *, .onboarding-complete > * { position: relative; z-index: 1; }
.onboarding-welcome h1, .onboarding-card h1, .onboarding-complete h1 { margin: 13px 0 14px; max-width: 690px; color: var(--primary-dark); font-size: clamp(34px, 5vw, 54px); line-height: 1.04; letter-spacing: -.045em; }
.onboarding-welcome > p, .onboarding-complete > p { max-width: 690px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.onboarding-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin: 34px 0; }
.onboarding-benefits > span { min-width: 0; padding: 18px; display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; border: 1px solid var(--line); border-radius: 15px; background: #f8faf8; }
.onboarding-benefits i { width: 34px; height: 34px; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--primary); font-size: 12px; font-style: normal; font-weight: 850; }
.onboarding-benefits b { color: var(--primary-dark); font-size: 13px; line-height: 1.35; }
.onboarding-benefits small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.onboarding-welcome-actions, .onboarding-complete-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.onboarding-welcome-actions .portal-primary { width: auto; min-width: 240px; padding-inline: 24px; }
.onboarding-welcome-actions .button, .onboarding-complete-actions .button { min-height: 52px; padding-inline: 22px; }
.onboarding-storage-note { margin-top: 22px !important; color: var(--muted); font-size: 12px !important; }
.onboarding-message { min-height: 21px; margin: 15px 0 0; color: var(--red); font-size: 13px; font-weight: 700; line-height: 1.5; }
.onboarding-progress { margin: calc(clamp(28px, 6vw, 62px) * -1) calc(clamp(28px, 6vw, 62px) * -1) 36px; padding: 25px clamp(28px, 6vw, 62px) 22px; border-bottom: 1px solid #dbe4dd; background: #f3f7f3; }
.onboarding-progress-copy { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 10px; color: var(--primary-dark); font-size: 13px; }
.onboarding-progress-copy span { color: var(--muted); }
.onboarding-progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #dfe8e1; }
.onboarding-progress-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--primary-dark),var(--mint)); transition: width .2s ease; }
.onboarding-progress ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 19px 0 0; padding: 0; list-style: none; }
.onboarding-progress li { display: grid; justify-items: center; gap: 6px; color: #8b938e; text-align: center; }
.onboarding-progress li > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #cfd8d1; border-radius: 50%; background: white; font-size: 10px; font-weight: 850; }
.onboarding-progress li small { font-size: 9px; line-height: 1.25; }
.onboarding-progress li.active, .onboarding-progress li.done { color: var(--primary-dark); }
.onboarding-progress li.active > span, .onboarding-progress li.done > span { border-color: var(--primary); color: white; background: var(--primary); }
.onboarding-step-heading { margin-bottom: 28px; }
.onboarding-step-heading h1 { font-size: clamp(31px,4vw,46px); }
.onboarding-step-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.onboarding-property-intro { margin-bottom: 22px; padding: 16px 18px; border: 1px solid #d3e0d7; border-radius: 14px; background: #f3f7f3; }
.onboarding-property-intro strong { color: var(--primary-dark); font-size: 14px; }
.onboarding-property-intro p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.onboarding-card .profile-field select { width: 100%; min-height: 52px; padding: 0 38px 0 13px; border: 1px solid #d8dbe5; border-radius: 11px; background: #fcfcfe; color: var(--ink); font-size: 15px; outline: none; }
.onboarding-card .profile-field select:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(40,100,82,.1); }
.onboarding-field-hint { color: var(--muted); font-size: 11px; line-height: 1.45; }
.onboarding-card .profile-kind legend { margin-bottom: 14px; font-size: 14px; }
.onboarding-card .profile-kind-options span { min-height: 112px; padding: 18px; }
.onboarding-card .profile-kind-options span b { font-size: 15px; }
.onboarding-card .profile-kind-options span small { font-size: 11px; }
.onboarding-card .profile-field label { font-size: 13px; }
.onboarding-card .profile-field input { min-height: 52px; font-size: 15px; }
.onboarding-card .field-error { min-height: 18px; font-size: 12px; }
.onboarding-field-note { margin: 19px 0 0; padding: 14px 16px; border-left: 3px solid var(--mint); color: var(--muted); background: #f5f9f6; font-size: 12px; line-height: 1.55; }
.onboarding-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.onboarding-navigation .button { min-width: 150px; min-height: 50px; padding-inline: 20px; }
.onboarding-navigation .button.primary { min-width: 190px; }
.onboarding-navigation .button[aria-busy="true"] { opacity: .68; cursor: wait; }
#owner-onboarding .account-method-comment { display: none; }
#owner-onboarding .account-asset-grid { margin-block: 16px; }
#owner-onboarding .onboarding-progress ol small { overflow-wrap: anywhere; }
#owner-onboarding .onboarding-milestones { color: var(--primary-dark); font-size: 13px; line-height: 1.5; }
#owner-onboarding .onboarding-message:empty, #owner-onboarding .onboarding-milestones:empty { display: none; }
.onboarding-signing-step [data-onboarding-signing-host] { min-width: 0; }
.onboarding-signing-step .account-signing-form > .profile-submit { width: 100%; }
.onboarding-review { display: grid; gap: 12px; }
.onboarding-review article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfb; }
.onboarding-review article > div { display: flex; align-items: center; gap: 10px; }
.onboarding-review article > div span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); font-size: 10px; font-weight: 850; }
.onboarding-review article strong { color: var(--primary-dark); font-size: 13px; }
.onboarding-review article p { grid-column: 1; margin: 0 0 0 39px; color: var(--muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.onboarding-review article button { grid-column: 2; grid-row: 1 / 3; align-self: center; min-height: 44px; padding: 8px 14px; border: 1px solid #cbdacf; border-radius: 10px; color: var(--primary-dark); background: white; font-size: 12px; font-weight: 750; }
.onboarding-use-note { margin-top: 17px; padding: 17px; display: flex; gap: 13px; border: 1px solid #bcdcd2; border-radius: 14px; color: #286052; background: #f1faf7; }
.onboarding-use-note > span { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--mint); }
.onboarding-use-note p { margin: 0; font-size: 12px; line-height: 1.6; }
.onboarding-use-note strong { display: block; margin-bottom: 3px; color: var(--primary-dark); }
.onboarding-complete { text-align: center; }
.onboarding-complete h1, .onboarding-complete > p { margin-left: auto; margin-right: auto; }
.onboarding-complete-icon { width: 66px; height: 66px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 20px; color: white; background: linear-gradient(135deg,var(--primary-dark),var(--mint)); box-shadow: 0 14px 28px rgba(35,95,76,.22); font-size: 28px; }
.onboarding-complete-actions { justify-content: center; margin-top: 30px; }
.onboarding-home-link { display: inline-block; margin-top: 20px; color: var(--primary); font-size: 13px; font-weight: 750; }
.onboarding-reminder { margin-bottom: 25px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #bcdcd2; border-radius: 16px; color: var(--primary-dark); background: #f1faf7; box-shadow: 0 8px 24px rgba(35,59,53,.06); }
.onboarding-reminder strong { font-size: 14px; }
.onboarding-reminder p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.onboarding-reminder .button { flex: 0 0 auto; min-height: 45px; }

@media (max-width: 720px) {
  .onboarding-benefits { grid-template-columns: 1fr; }
  .onboarding-progress ol { align-items: start; gap: 5px; }
  .onboarding-progress ol small {
    position: static;
    width: auto;
    max-width: 68px;
    min-height: 24px;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 8px;
    line-height: 1.25;
  }
  .onboarding-reminder { align-items: stretch; flex-direction: column; }
  .onboarding-reminder .button { width: 100%; }
}
@media (max-width: 520px) {
  .onboarding-welcome, .onboarding-card, .onboarding-complete { padding: 24px 18px; border-radius: 20px; }
  .onboarding-welcome h1, .onboarding-card h1, .onboarding-complete h1 { font-size: 32px; }
  .onboarding-welcome > p, .onboarding-complete > p { font-size: 14px; }
  .onboarding-progress { margin: -24px -18px 28px; padding: 20px 18px; }
  .onboarding-progress-copy { font-size: 12px; }
  .onboarding-progress-copy span { display: block; max-width: 52%; text-align: right; }
  .onboarding-kind .profile-kind-options { grid-template-columns: 1fr; }
  .onboarding-card .profile-kind-options span { min-height: 94px; }
  .onboarding-welcome-actions, .onboarding-complete-actions, .onboarding-navigation { align-items: stretch; flex-direction: column; }
  .onboarding-welcome-actions .portal-primary, .onboarding-welcome-actions .button, .onboarding-complete-actions .button, .onboarding-navigation .button { width: 100%; min-width: 0; }
  .onboarding-navigation > span { display: none; }
  .onboarding-navigation .button.primary { order: -1; min-width: 0; }
  .onboarding-review article { grid-template-columns: 1fr; }
  .onboarding-review article p { grid-column: 1; margin-left: 39px; }
  .onboarding-review article button { grid-column: 1; grid-row: auto; width: 100%; }
}
