:root {
  --ink: #122d3c;
  --navy: #0d2938;
  --navy-soft: #e8eff1;
  --teal: #0d2938;
  --teal-dark: #071f2d;
  --teal-soft: #e8f0f2;
  --gold: #856640;
  --gold-soft: #f5efe7;
  --paper: #f6f7f5;
  --white: #ffffff;
  --muted: #62727a;
  --line: #d7e0e1;
  --red: #9e3b3b;
  --red-soft: #faeaea;
  --amber: #9a641f;
  --amber-soft: #fff3dd;
  --blue-soft: #e8f0f7;
  --shadow: 0 14px 36px rgba(13, 41, 56, .09);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { min-height: 100%; margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.5 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--teal-dark); }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 15px; border: 0; border-radius: 8px; background: var(--teal); color: #fff; font-weight: 750; text-decoration: none; cursor: pointer; transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }
button:hover, .button:hover { color: #fff; background: var(--teal-dark); box-shadow: 0 7px 16px rgba(13, 41, 56, .18); transform: translateY(-1px); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(133, 102, 64, .34); outline-offset: 2px; }
button[disabled], .button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.16; letter-spacing: -.025em; }
h1 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 39px); }
h2 { margin-bottom: 11px; font-size: 20px; }
h3 { margin-bottom: 8px; font-size: 16px; }
small { font-size: 12px; }
label { display: grid; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #bdcdcf; border-radius: 8px; color: var(--ink); background: #fff; box-shadow: inset 0 1px 1px rgba(13, 41, 56, .025); }
textarea { min-height: 104px; resize: vertical; }
input[type="file"] { min-height: auto; padding: 8px; background: var(--paper); font-size: 12px; }
input[type="checkbox"] { width: 17px; min-height: 17px; padding: 0; accent-color: var(--teal); }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 3px rgba(13, 41, 56, .12); }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; flex-direction: column; width: 252px; padding: 25px 17px 18px; overflow-y: auto; color: #e7f0f0; background: linear-gradient(165deg, #0d2938 0%, #123c47 58%, #0d2938 100%); box-shadow: 8px 0 28px rgba(13, 41, 56, .12); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand img { width: 46px; height: 46px; flex: 0 0 auto; padding: 2px; border-radius: 50%; background: #fff; object-fit: cover; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { color: inherit; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand small { margin-top: 4px; color: #b5c8ca; font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 4px; margin-top: 34px; }
.sidebar nav a { display: flex; align-items: center; min-height: 40px; padding: 9px 12px; border-radius: 7px; color: #d9e6e6; font-size: 14px; font-weight: 700; text-decoration: none; }
.sidebar nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.account { display: grid; gap: 2px; margin-top: auto; padding: 17px 12px 0; border-top: 1px solid rgba(255, 255, 255, .17); }
.account strong { color: #fff; font-size: 13px; }
.account small { color: #a9c0c2; }
.account-profile { display: grid; gap: 2px; color: inherit; text-decoration: none; }
.account-profile:hover strong { color: #fff; }
.account-profile:hover small { color: #e5cda8; }
.app-version { margin-top: 5px; color: #b8cacc !important; font-size: 11px; font-weight: 750; letter-spacing: .03em; }
.release-log-trigger { width: max-content; min-height: 30px; margin-top: 7px; padding: 2px 0; border: 0; color: #d4e2e2; font-size: 12px; font-weight: 700; text-align: left; }.release-log-trigger:hover { color: #fff !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
.release-log-modal { width: min(560px, calc(100vw - 32px)); max-height: min(680px, calc(100vh - 32px)); padding: 22px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 20px 55px rgba(7, 31, 45, .38); }.release-log-modal::backdrop { background: rgba(7, 31, 45, .55); }
.release-log-modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }.release-log-modal h2 { margin: 1px 0 0; color: var(--navy); font-size: 18px; }.release-log-modal .eyebrow { margin: 0; }.release-log-modal form { margin: 0; }
.account .release-log-modal form { margin: 0; }
.release-log-list { display: grid; gap: 10px; }.release-log-list article { padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #f7faf9; }.release-log-list article header { display: flex; justify-content: space-between; gap: 8px; color: var(--navy); font-size: 12px; }.release-log-list article header strong { color: var(--navy) !important; }.release-log-list article time { color: var(--muted); font-size: 10px; }.release-log-list ul { display: grid; gap: 3px; margin: 7px 0 0; padding-left: 16px; color: #41535a; font-size: 11px; line-height: 1.35; }
.popup-close { display: grid; width: 32px; min-height: 32px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #fff; font-size: 21px; line-height: 1; }
.popup-close:hover { color: var(--red); border-color: #d7a4a4; background: #fff; box-shadow: none; transform: none; }
.account form { margin-top: 7px; }
.link-button { min-height: 0; padding: 2px 0; color: #d4e2e2; background: transparent; font-size: 12px; font-weight: 600; }
.link-button:hover { color: #fff; background: transparent; box-shadow: none; transform: none; }

.main { min-height: 100vh; margin-left: 252px; padding: 34px clamp(22px, 4vw, 54px) 44px; }
.main > * { max-width: 1420px; }
.main > .login, .main > .legal-page { max-width: 720px; }
.header-actions { display: flex !important; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.header-actions > * { flex: 0 0 auto; }
.header-actions .notification-bell, .header-actions .client-help { display: block; margin: 0; }
.notice { max-width: 900px; margin: 0 0 22px; padding: 12px 15px; border-left: 4px solid var(--teal); border-radius: 7px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; }
.client-progress { margin: 0 0 22px; border-top: 4px solid #245a93; }
.client-progress > header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.client-progress h2 { margin: 3px 0 0; font-size: 20px; }
.client-progress-state { padding: 6px 10px; border-radius: 999px; color: #245a93; background: #e8f0ff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.client-progress ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; margin: 20px 0 12px; padding: 0; list-style: none; }
.client-progress li { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 750; }
.client-progress li.done { border-color: #b9ddd2; color: #176044; background: #eff9f5; }
.client-progress li.current { border-color: #88a9d2; color: #163f70; background: #edf4ff; }
.client-progress-icon { display: inline-grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; color: #68777e; background: #e9edef; font-size: 12px; font-weight: 900; }
.client-progress li.done .client-progress-icon { color: #fff; background: #168266; }
.client-progress li.current .client-progress-icon { color: #fff; background: #245a93; }
.client-progress > p { margin: 0; color: var(--muted); font-size: 13px; }
.client-pending-documents { display: grid; gap: 10px; }
.client-pending-documents article { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.client-pending-documents article:first-child { border-top: 0; padding-top: 0; }
.client-pending-documents p { margin: 7px 0 0; color: #8a5200; font-size: 13px; font-weight: 700; }
.muted { display: block; margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.property-location { margin: 6px 0 0; color: #245a93; font-size: 14px; font-weight: 750; }
.empty { color: var(--muted); font-style: italic; }
.eyebrow { margin-bottom: 7px; color: var(--gold); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.page-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 25px; }
.page-header p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.back { display: inline-block; margin-bottom: 18px; color: var(--teal-dark); font-size: 14px; font-weight: 750; text-decoration: none; }
.back:hover { color: var(--gold); }
.text-link { color: var(--teal-dark); font-weight: 750; }

.panel, .table-wrap, .case-form, .login, .legal-page { border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.panel { padding: clamp(19px, 2.5vw, 28px); }
.panel > :last-child { margin-bottom: 0; }
.login { display: grid; gap: 17px; margin: clamp(28px, 9vh, 90px) auto; padding: clamp(26px, 5vw, 48px); }
.login .brand { width: max-content; margin-bottom: 8px; color: var(--navy); }
.login .brand small { color: var(--gold); }
.login > p:not(.eyebrow) { margin: -10px 0 5px; color: var(--muted); }
.login form, .stack-form, .offer-form, .upload-form { display: grid; gap: 14px; }
.setup-note, .alert-box, .client-note { padding: 14px 16px; border-left: 4px solid var(--gold); border-radius: 7px; background: var(--gold-soft); }
.alert-box { border-left-color: var(--teal); background: var(--teal-soft); }
.alert-box p, .client-note p { margin: 5px 0 0; }
.alert-box .button { margin-top: 12px; }
.signature-ready { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 17px; align-items: center; margin: 0 0 22px; padding: 22px; border: 2px solid var(--navy); border-radius: 13px; background: linear-gradient(135deg, #eef7f6, #fffaf0); box-shadow: 0 12px 26px rgba(13, 41, 56, .13); }
.signature-ready > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 27px; }
.signature-ready .eyebrow { margin: 0 0 3px; color: #876331; }
.signature-ready h2 { margin: 0; color: var(--navy); font-size: 23px; }
.signature-ready p:not(.eyebrow) { margin: 6px 0 0; color: #44565f; }
.signature-ready .button { display: inline-flex; width: fit-content; margin-top: 15px; padding: 14px 19px; border-radius: 8px; font-size: 16px; }
.document-primary-download { min-height: 50px !important; padding: 15px 22px !important; font-size: 17px !important; box-shadow: 0 8px 18px rgba(13, 41, 56, .18); }
.legal-page { padding: clamp(24px, 4vw, 44px); }
.legal-consent { padding: 14px 16px; border: 1px solid #bcd9d4; border-radius: 9px; background: #f5fbfa; }
.legal-consent legend { padding: 0 4px; color: var(--teal-dark); font-weight: 800; }
.check { display: flex; align-items: flex-start; gap: 9px; color: var(--ink); font-size: 13px; font-weight: 600; }
.check input { flex: 0 0 auto; margin-top: 2px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.legal-footer a { color: var(--muted); text-decoration: none; }
.legal-footer a:hover { color: var(--teal-dark); text-decoration: underline; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.case-form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); }
fieldset { min-width: 0; margin: 0; padding: 17px; border: 1px solid var(--line); border-radius: 9px; }
legend { padding: 0 6px; color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.participants { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 9px; }
.participant { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfc; }
.participant span { flex: 1; }
.participant small { color: var(--muted); font-weight: 500; }
.quick-client { margin-bottom: 22px; }

.case-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 20px; padding: 4px 0 22px; border-bottom: 1px solid var(--line); }
.case-header h1 { margin-bottom: 5px; }
.case-clients { margin: 0; color: var(--muted); font-size: 16px; }
.case-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin: 0 0 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--line); }
.case-summary > div, .case-summary > article { display: grid; gap: 4px; padding: 16px 18px; background: #fff; }
.case-summary span:not(.status) { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.case-summary strong { font-size: 18px; }
.case-summary .property-fact { grid-column: span 1; }
.case-summary .property-fact strong { font-size: 15px; line-height: 1.35; }
.offer-header-side { display: grid; justify-items: end; gap: 12px; min-width: min(100%, 310px); }
.offer-header-side .offer-stage { margin: 0; }
.offer-property-card { display: grid; gap: 3px; width: 100%; max-width: 370px; padding: 12px 14px; border: 1px solid #c7d7d8; border-radius: 9px; background: #f7fbfb; }
.offer-property-card span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.offer-property-card strong { margin-bottom: 7px; color: var(--navy); font-size: 13px; line-height: 1.32; }
.offer-property-card strong:last-child { margin-bottom: 0; }
.case-grid, .offer-workflow, .two-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .78fr); gap: 22px; align-items: start; }
.side-stack, .offer-forms { display: grid; gap: 20px; }
.case-actions { display: flex; justify-content: flex-end; gap: 11px; flex-wrap: wrap; }
.inline-form { display: flex; align-items: end; gap: 9px; flex-wrap: wrap; }
.inline-form label { min-width: 230px; }
.client-documents-highlight { margin: 0 0 22px; padding: 20px; border: 2px solid #b99155; border-radius: 12px; background: linear-gradient(135deg, #fffdf8, #f5ecdc); box-shadow: 0 10px 24px rgba(110, 80, 31, .09); }
.client-documents-highlight header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.client-documents-highlight .eyebrow { margin-bottom: 3px; color: #876331; }
.client-documents-highlight h2 { margin: 0; color: var(--navy); font-size: 21px; }
.client-documents-highlight p { margin: 5px 0 0; color: #586870; }
.client-documents-count { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 23px; font-weight: 850; }
.client-document-links { display: grid; gap: 9px; }
.client-document-links a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 62px; padding: 10px 13px; border: 1px solid #d7c29c; border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.client-document-links a:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(13, 41, 56, .13); }
.client-document-links strong, .client-document-links small { display: block; }
.client-document-links strong { font-size: 15px; }
.client-document-links small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.client-document-links b { color: var(--navy); font-size: 13px; }
.client-document-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 20px; font-weight: 850; }

.messages { display: grid; gap: 11px; max-height: 620px; margin-bottom: 20px; padding-right: 4px; overflow-y: auto; }
.message { max-width: 88%; padding: 13px 14px; border-radius: 11px; }
.message header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; font-size: 12px; }
.message time, .message header span { color: var(--muted); }
.message p { margin: 0; line-height: 1.45; white-space: normal; }
.team-message { justify-self: end; border: 1px solid #c5dfda; background: var(--teal-soft); }
.client-message { border: 1px solid var(--line); background: #f8faf9; }
.internal-message { border-color: #e2c99e; background: var(--gold-soft); }
.composer { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.quick-reply { display: flex; align-items: end; gap: 9px; flex-wrap: wrap; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f7fafb; }.quick-reply label { flex: 1; min-width: min(100%, 240px); }.quick-reply button { min-height: 40px; }.templates-list { display: grid; gap: 9px; }.template-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; }.template-item summary { display: grid; gap: 3px; padding: 12px 14px; cursor: pointer; }.template-item summary span { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.template-item form { padding: 0 14px 14px; }
.documents, .requirement-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.documents > li { display: grid; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.documents > li:last-child { border-bottom: 0; }
.documents a { font-weight: 800; text-decoration: none; }
.documents span, .documents em { color: var(--muted); font-size: 12px; font-style: normal; }
.documents > li .document-delete { margin-top: 4px; }
.document-delete button, .bulk-upload .link-button { min-height: 0; padding: 2px 0; border: 0; color: #a33a3a; background: transparent; box-shadow: none; font-size: 12px; font-weight: 800; }
.document-delete button:hover, .bulk-upload .link-button:hover { color: #7b2222; background: transparent; box-shadow: none; transform: none; }
.bulk-upload > .document-delete { display: none; }
.upload-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.message-edited { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; font-style: italic; }
.message-edit { width: max-content; margin-top: 9px; color: var(--teal-dark); font-size: 12px; }
.message-edit summary { cursor: pointer; font-weight: 800; }
.message-edit form { display: grid; width: min(510px, 100%); gap: 8px; margin-top: 9px; }
.message-edit textarea { min-height: 96px; }
.message-edit button { justify-self: start; min-height: 34px; padding: 7px 11px; font-size: 12px; }
.activity { margin-top: 22px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.activity p { display: flex; gap: 7px; flex-wrap: wrap; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.activity p:last-child { border: 0; }
.activity time { margin-left: auto; color: var(--muted); }
.quick-filters { align-items: center; }
.quick-filters > span { color: var(--muted); font-size: 13px; font-weight: 750; }

.status, .offer-stage-badge { display: inline-flex; align-items: center; width: max-content; max-width: 100%; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.25; }
.status.nueva { background: #e3efff; color: #245a93; }.status.documentacion-disponible { background: #def5eb; color: #16624e; }.status.pendiente-de-pedir-al-fondo { background: #eee4ff; color: #69419c; }.status.pendiente-de-respuesta-del-fondo { background: #ffe5c5; color: #98550e; }.status.pendiente-del-cliente { background: #fff3bb; color: #805b00; }.status.oferta-en-preparacion { background: #f3e4fb; color: #753b90; }.status.oferta-presentada { background: #dff3f4; color: #0c6670; }.status.cerrada { background: #deefe0; color: #397044; }.status.descartada { background: #eceff0; color: #59646b; }
.offer-stage { margin: 0 0 12px; }.offer-stage-badge.documents { background: var(--amber-soft); color: #8a5200; }.offer-stage-badge.review { background: #e8f0ff; color: #28558d; }.offer-stage-badge.ready { background: var(--teal-soft); color: var(--teal-dark); }.offer-stage-badge.fund { background: #eee6fb; color: #68429a; }.offer-stage-badge.accepted { background: #dff3e9; color: #176044; }.offer-stage-badge.pbc { background: #e3f0f6; color: #205f7c; }.offer-stage-badge.closed { background: #eceff0; color: #59646b; }.offer-stage-badge.negative { background: var(--red-soft); color: #9a3030; }

.offer-workflow { grid-template-columns: minmax(0, 1.5fr) minmax(285px, .75fr); }
.milestone-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.milestone-tabs a { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.milestone-tabs a b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #e5eaea; color: var(--muted); }
.milestone-tabs a.active { border-color: #8dc4bd; background: var(--teal-soft); color: var(--teal-dark); }.milestone-tabs a.active b, .milestone-tabs a.ready b { color: #fff; background: var(--teal); }.milestone-tabs a.locked { opacity: .58; }
.milestone-section { scroll-margin-top: 20px; }.milestone-section h3 { margin: 24px 0 9px; }.section-locked { opacity: .62; background: #fafbfb; }
.buyer-card { margin: 4px 0; padding: 17px; border: 1px solid #b9d9d4; border-radius: 10px; background: #fbfefd; }.buyer-card legend { padding: 4px 10px; border-radius: 14px; color: #fff; background: var(--teal); font-size: 12px; }
.offer-data-form { display: grid; gap: 14px; }.offer-data-form .field-ready { color: #12634d; }.offer-data-form .field-ready input, .offer-data-form .field-ready textarea, .offer-data-form .field-ready select { border-color: #77bda5; background: #f2fbf7; }
.profile-load { display: flex; align-items: end; gap: 10px; margin-bottom: 16px; padding: 13px; border-radius: 9px; background: #f1f6f5; }.profile-load label { flex: 1; }
.saved-info { position: relative; margin: -7px 0 3px; color: var(--teal); font-size: 13px; }.saved-info summary { width: max-content; cursor: pointer; font-weight: 750; }.saved-info p { position: absolute; z-index: 4; top: 24px; left: 0; width: min(360px, 80vw); padding: 12px; border-radius: 8px; color: #fff; background: var(--navy); box-shadow: var(--shadow); font-size: 12px; }
.requirement-list .bulk-row { padding: 0; border: 0; }
.bulk-upload h3 { margin-bottom: 3px; }
.document-upload-help { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.bulk-upload form { display: grid; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.document-requirement { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-left: 4px solid #d7a347; border-radius: 8px; background: #fff; }
.document-requirement.document-ready { border-left-color: #37a77b; }
.document-requirement-heading { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--navy); }
.document-requirement-heading strong { font-size: 14px; }
.document-status-icon { display: inline-grid; place-items: center; flex: 0 0 20px; width: 20px; }
.document-downloads { display: grid; gap: 7px; }
.document-download-card { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; margin: 0 !important; padding: 11px 12px; border: 1px solid #aabfc3; border-radius: 8px; color: var(--navy); background: #f2f7f7; }
.document-download-card:hover { border-color: var(--navy); background: #e5f0f0; }
.document-signature-card { border: 2px solid var(--gold); background: linear-gradient(135deg, #fffaf1, #f6eee0); }
.document-signature-card:hover { border-color: #684a22; background: #f5e6cf; }
.document-download-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff !important; background: var(--navy); font-size: 23px !important; font-weight: 900; }
.document-download-info { display: grid; min-width: 0; gap: 1px; }
.document-download-info small { color: #52676e; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.document-download-info strong { overflow: hidden; color: var(--navy); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.document-download-info em { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.document-download-button { min-height: 42px; padding: 10px 15px; border-radius: 7px; color: #fff !important; background: #245a93; font-size: 13px; white-space: nowrap; }
.document-download-button:hover { color: #fff !important; background: #163f70; }
.document-upload-control { display: grid; gap: 7px; padding: 10px; border: 1px dashed #91a8ad; border-radius: 7px; color: var(--navy); background: #f7faf9; font-size: 13px; }
.document-upload-control > span { font-weight: 850; }
.document-upload-control input[type="file"] { background: #fff; }
.document-save-button { min-height: 48px; font-size: 15px; }
.missing-popup { position: fixed; z-index: 20; right: 28px; bottom: 28px; width: min(440px, calc(100vw - 36px)); padding: 18px; border: 1px solid #edc778; border-radius: 10px; background: #fff8e9; box-shadow: var(--shadow); }.missing-popup p { font-size: 14px; }
.team-offer-controls { display: grid; gap: 16px; }.team-offer-controls .offer-form + .offer-form { padding-top: 16px; border-top: 1px solid var(--line); }
.funds-panel { margin-top: 16px; background: linear-gradient(180deg, #fff 0%, #f7fbfa 100%); }

.dashboard-filters, .task-filters { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; }.status-filter { display: flex; align-items: end; gap: 8px; }.status-filter select { min-width: 220px; }.case-search { display: grid; gap: 5px; max-width: 720px; margin: 0; }.case-search > div { display: flex; gap: 8px; align-items: center; }.case-search input { flex: 1; }.case-search a { white-space: nowrap; font-size: 14px; font-weight: 750; text-decoration: none; }
.notification-bell { position: relative; }.notification-bell summary { position: relative; display: grid; width: 42px; height: 42px; place-items: center; list-style: none; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-size: 20px; }.notification-bell summary::-webkit-details-marker { display: none; }.notification-bell summary b { position: absolute; top: -7px; right: -7px; min-width: 19px; padding: 1px 5px; border-radius: 20px; color: #fff; background: var(--red); font-size: 11px; line-height: 18px; text-align: center; }.notification-bell section { position: absolute; z-index: 15; top: 50px; right: 0; width: min(440px, 80vw); max-height: 460px; padding: 16px; overflow: auto; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }.notification-bell section > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.notification-bell section h2 { margin: 0; font-size: 16px; }.notification-bell form { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }.notification-bell section > header form { display: block; padding: 0; border: 0; }.notification-bell a { display: grid; flex: 1; gap: 2px; color: var(--ink); font-size: 13px; text-decoration: none; }.notification-bell a span { color: var(--muted); font-size: 12px; }.notification-bell button { min-height: 0; padding: 3px 7px; color: var(--muted); background: transparent; font-size: 19px; }.notification-bell button:hover { color: var(--red); background: transparent; box-shadow: none; transform: none; }.notification-read-all { color: #245a93 !important; font-size: 12px !important; font-weight: 800; white-space: nowrap; }.notification-postpone { min-height: 30px !important; margin-left: auto; padding: 5px 8px !important; border: 1px solid #9ebed8 !important; border-radius: 6px !important; color: #245a93 !important; background: #edf5fb !important; font-size: 11px !important; font-weight: 800; line-height: 1.2; white-space: nowrap; }.notification-postpone:hover { color: #163f70 !important; border-color: #668eb3 !important; background: #dcecf8 !important; }
.client-help { position: relative; }.client-help summary { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 10px 16px; list-style: none; border: 0; border-radius: 10px; color: #fff; background: #245a93; box-shadow: 0 8px 18px rgba(36, 90, 147, .2); cursor: pointer; font-weight: 800; transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }.client-help summary:hover { color: #fff; background: #163f70; box-shadow: 0 10px 22px rgba(36, 90, 147, .28); transform: translateY(-1px); }.client-help summary > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: var(--navy); background: #e5cda8; font-size: 14px; }.client-help summary > small { color: #fff; font-size: 14px; font-weight: 850; }.client-help summary::-webkit-details-marker { display: none; }.client-help section { position: absolute; z-index: 15; top: 60px; right: 0; width: min(440px, 80vw); max-height: 500px; padding: 18px; overflow: auto; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }.client-help header { margin-bottom: 14px; }.client-help h2 { margin: 2px 0 0; font-size: 18px; }.client-help ol { display: grid; gap: 12px; margin: 0; padding-left: 21px; }.client-help li { padding-left: 3px; }.client-help li strong, .client-help li span { display: block; }.client-help li span, .client-help > section > p { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.client-picker { max-width: 640px; }.client-picker-summary { cursor: pointer; padding: 10px 14px; border: 1px solid #bdcdcf; border-radius: 8px; background: #fff; font-weight: 700; }.client-picker[open] > input { margin: 10px 0; }.client-picker .participants { max-height: 250px; overflow-y: auto; }.client-picker .participant[hidden] { display: none !important; }.quick-client { margin-bottom: 20px; }.quick-client > summary { width: fit-content; font-size: 13px; }
.dashboard-control-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; }.dashboard-control-grid > a { position: relative; min-height: 126px; overflow: hidden; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }.dashboard-control-grid > a:hover { border-color: #9cadb7 !important; box-shadow: var(--shadow); transform: translateY(-2px); }.dashboard-control-grid > a::after { position: absolute; right: -14px; bottom: -23px; width: 72px; height: 72px; border: 15px solid rgba(13, 41, 56, .06); border-radius: 50%; content: ""; }.dashboard-control-grid strong, .dashboard-control-grid span { display: block; }.dashboard-control-grid strong { margin-bottom: 5px; }
.automation-status { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }.automation-status-error { color: #a13232; font-weight: 750; }
.client-onboarding { margin: 0 0 22px; border-left: 4px solid var(--gold); }.client-onboarding > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.client-onboarding h2 { margin: 2px 0 5px; }.onboarding-header-actions { display: flex; align-items: flex-start; gap: 8px; }.client-onboarding > header > .onboarding-header-actions > strong { display: grid; min-width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--navy); background: #f5ebdb; font-size: 14px; }.client-onboarding-close { display: grid; width: 34px; min-height: 34px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; line-height: 1; }.client-onboarding-close:hover { color: var(--red) !important; border-color: #d7a4a4; box-shadow: none; transform: none; }.client-onboarding ol { display: grid; gap: 0; margin: 17px 0 0; padding: 0; list-style: none; }.client-onboarding li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }.client-onboarding li > span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #aebfc3; border-radius: 50%; color: var(--navy); font-size: 12px; font-weight: 800; }.client-onboarding li.done > span { border-color: #3d8b73; color: #fff; background: #3d8b73; }.client-onboarding li strong, .client-onboarding li small { display: block; }.client-onboarding li small { margin-top: 2px; color: var(--muted); font-size: 12px; }.client-onboarding li > b { color: #3d8b73; font-size: 12px; }
.debt-type-panel { margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }.debt-request-list { display: grid; gap: 10px; }.debt-request-list article { display: grid; grid-template-columns:minmax(0,1fr) auto auto; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }.debt-request-list article:first-child { border-top: 0; }.debt-request-list strong, .debt-request-list span { display: block; }.debt-request-list span { margin-top: 3px; color: var(--muted); font-size: 12px; }.debt-detail-page { display: grid; gap: 26px; margin-top: 28px; }.debt-detail-page > .panel, .debt-detail-page > .case-summary { margin: 0; }.debt-detail-page > .panel { box-shadow: 0 10px 28px rgba(13, 41, 56, .07); }.debt-document-downloads { margin-top: 15px; }.debt-document-downloads .document-download-card { margin-bottom: 10px !important; }.debt-document-downloads .empty { margin: 0; color: var(--muted); font-style: italic; }.debt-edit-panel summary { cursor: pointer; color: var(--navy); font-weight: 800; }.debt-edit-panel[open] summary { margin-bottom: 18px; }

.pwa-install, .push-control { display: grid; gap: 7px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }.pwa-install[hidden], .pwa-ios-hint[hidden], .push-control[hidden] { display: none !important; }.pwa-install button, .push-control button { min-height: 38px; padding: 8px 11px; background: var(--gold); font-size: 13px; }.pwa-install button:hover, .push-control button:hover { background: #a37d4e; }.push-control .push-test-button:hover { background: #163f70 !important; }.pwa-install small, .pwa-ios-hint, .push-control small { color: #c9dbdd; font-size: 11px; line-height: 1.45; }.pwa-ios-hint { margin: 15px 0 0; padding: 10px; border-radius: 7px; background: rgba(255,255,255,.08); }.push-control { margin-top: 14px; }

.metrics-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }.metric-card { position: relative; display: grid; min-height: 158px; padding: 17px; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 10px; background: #fff; }.metric-card::after { position: absolute; right: -22px; bottom: -29px; width: 92px; height: 92px; border: 16px solid rgba(13,41,56,.05); border-radius: 50%; content: ""; }.metric-card span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.metric-card strong { position: relative; z-index: 1; margin: 13px 0 7px; color: var(--navy); font-size: 30px; line-height: 1.05; }.metric-card small { position: relative; z-index: 1; color: var(--muted); font-size: 12px; line-height: 1.35; }.metric-card.tone-1 { border-top-color: #277354; }.metric-card.tone-1 strong { color: #277354; }.metric-card.tone-2 { border-top-color: #a13232; }.metric-card.tone-2 strong { color: #a13232; }.metric-card.tone-3 { border-top-color: var(--gold); }.metric-card.tone-3 strong { color: #9a5b06; }.metric-card.tone-4 { border-top-color: #406c92; }.metric-card.tone-4 strong { color: #245a93; font-size: 26px; }
.stats-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); gap: 22px; margin: 0 0 22px; }.stats-layout h2, .recent-decisions h2 { margin: 0; }.monthly-trend { display: grid; gap: 13px; margin: 19px 0 0; padding: 0; list-style: none; }.monthly-trend li { display: grid; grid-template-columns: 63px minmax(80px, 1fr) 30px; align-items: center; column-gap: 10px; row-gap: 3px; }.monthly-trend li > span { color: var(--muted); font-size: 12px; font-weight: 800; }.monthly-trend li > div { height: 10px; overflow: hidden; border-radius: 99px; background: #e8eeee; }.monthly-trend li i { display: block; height: 100%; min-width: 5px; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--gold)); }.monthly-trend li strong { color: var(--navy); font-size: 14px; text-align: right; }.monthly-trend li small { grid-column: 2 / -1; color: var(--muted); font-size: 11px; }.monthly-trend .empty { display: block; color: var(--muted); }.recent-decisions { margin: 0 0 22px; }.recent-decisions > header { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 10px; }.recent-decisions > div { display: grid; }.recent-decisions a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }.recent-decisions a:hover strong { color: var(--gold); }.recent-decisions strong, .recent-decisions small { display: block; }.recent-decisions small, .recent-decisions time { margin-top: 3px; color: var(--muted); font-size: 12px; }.recent-decisions time { margin: 0; white-space: nowrap; }.stats-note { margin: 0; color: var(--muted); font-size: 12px; }

.table-wrap { width: 100%; overflow-x: auto; }.table-wrap table { width: 100%; border-collapse: collapse; }.table-wrap th, .table-wrap td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }.table-wrap th { color: #52646e; background: #f2f6f6; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }.table-wrap tr:last-child td { border-bottom: 0; }.table-wrap td > .muted { margin-top: 3px; }.table-wrap a { font-weight: 750; }.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }.filter-tabs .button { min-height: 38px; padding: 8px 13px; }
.listing-province { margin-bottom: 24px; }.listing-province > header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 0 0 9px; }.listing-province > header h2 { margin: 0; }.listing-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.listing-actions form { margin: 0; }.listing-actions button { min-height: 34px; padding: 7px 10px; font-size: 12px; }.listing-upload { min-width: 0; }.listing-filters label { min-width: 180px; }

.task-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 22px; overflow: hidden; border-radius: 10px; background: var(--navy); color: #fff; }.task-summary div { padding: 16px 20px; border-right: 1px solid rgba(255, 255, 255, .14); }.task-summary div:last-child { border: 0; }.task-summary span { display: block; color: #c1d4d6; font-size: 12px; }.task-summary strong { display: block; margin-top: 3px; font-size: 23px; }.task-filters label { min-width: 145px; }.task-filters label:first-of-type { min-width: 245px; }.task-dates { display: grid; gap: 13px; margin: 0; }.task-dates div { padding-top: 11px; border-top: 1px solid var(--line); }.task-dates div:first-child { padding-top: 0; border: 0; }.task-dates dt { color: var(--muted); font-size: 12px; font-weight: 750; }.task-dates dd { margin: 3px 0 0; font-size: 14px; }

.expiry-badge { display: inline-block; margin: 3px 0 0; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.3; }.expiry-badge.valid { color: #176044; background: #dff3e9; }.expiry-badge.soon { color: #8a5200; background: #fff0d4; }.expiry-badge.expired { color: #9a3030; background: #fce3e3; }.expiry-management-list { display: grid; gap: 10px; }.expiry-management-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }.expiry-management-list a { color: var(--ink); font-weight: 750; text-decoration: none; }.document-history { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }.document-history summary { cursor: pointer; font-weight: 750; }.document-history ul { display: grid; gap: 7px; padding: 0; list-style: none; }.document-history li { display: grid; gap: 2px; font-size: 13px; }.document-history li span { color: var(--muted); }

.cookie-notice { position: fixed; z-index: 50; right: 22px; bottom: 22px; width: min(520px, calc(100vw - 32px)); padding: 18px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 11px; color: #fff; background: var(--navy); box-shadow: 0 16px 42px rgba(13, 41, 56, .28); }.cookie-notice[hidden] { display: none !important; }.cookie-notice p { margin: 0 0 14px; font-size: 13px; }.cookie-notice a { color: #e5cda8; }.cookie-notice button { min-height: 37px; padding: 8px 12px; background: var(--gold); }.cookie-notice button:hover { background: #a37d4e; }

/* Ficha imprimible */
.print-body { min-height: 100vh; background: #e9eeed; color: var(--ink); }.print-main { width: min(900px, calc(100% - 40px)); min-height: 1120px; margin: 24px auto; padding: 46px; background: #fff; box-shadow: 0 14px 42px rgba(13, 41, 56, .15); }.print-header { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; padding: 0 0 24px; border-bottom: 3px solid var(--gold); }.print-heading { min-width: 0; }.print-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }.print-brand img { width: 45px; height: 45px; padding: 2px; border: 1px solid #e3e8e7; border-radius: 50%; object-fit: cover; }.print-brand span { display: grid; line-height: 1.05; }.print-brand strong { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }.print-brand small { margin-top: 4px; color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }.print-header h1 { margin: 3px 0 5px; font-size: 32px; }.print-header p { margin: 0; color: var(--muted); }.print-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }.print-actions a, .print-actions button { min-height: 38px; padding: 9px 11px; border-radius: 7px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }.print-actions a { color: var(--teal-dark); background: #e9f0ef; }.print-actions a:hover { color: var(--teal-dark); background: #dce9e7; }.print-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 24px 0 29px; }.print-status > div { padding: 14px; border-top: 3px solid var(--teal); background: #f4f8f7; }.print-status > div:nth-child(2) { border-color: var(--gold); }.print-status span, .print-data span, .print-list span, .print-messages header span { display: block; color: var(--muted); font-size: 11px; }.print-status strong { display: block; margin-top: 5px; color: var(--navy); font-size: 13px; line-height: 1.35; }.print-section { break-inside: avoid; margin-top: 27px; }.print-section h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; color: var(--navy); font-size: 17px; }.print-section h2::before { width: 5px; height: 20px; border-radius: 8px; background: var(--gold); content: ""; }.print-section > p { margin: 0 0 11px; color: #43555e; }.print-list, .print-data { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }.print-list li, .print-data li { padding: 10px 12px; border: 1px solid #dce5e4; border-radius: 7px; background: #fff; }.print-list strong, .print-data strong { display: block; color: var(--navy); font-size: 13px; }.print-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }.print-data li { display: grid; gap: 4px; background: #fbfcfb; }.print-messages { display: grid; gap: 9px; }.print-messages article { padding: 12px 14px; border-left: 3px solid #9ac9c1; border-radius: 0 7px 7px 0; background: #f4f8f7; }.print-messages header { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }.print-messages p { margin: 7px 0 0; color: #30444e; font-size: 13px; white-space: normal; }.print-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 38px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

@media (max-width: 980px) { .sidebar { position: static; width: 100%; min-height: auto; padding: 16px 20px; }.sidebar nav { display: flex; flex-wrap: wrap; gap: 3px; margin: 18px 0 0; }.sidebar nav a { min-height: 35px; padding: 7px 10px; }.pwa-install { max-width: 290px; }.account { display: flex; align-items: center; gap: 8px; margin: 15px 0 0; padding: 12px 0 0; }.account form { margin: 0 0 0 auto; }.main { margin-left: 0; }.case-grid, .offer-workflow, .two-columns, .stats-layout { grid-template-columns: 1fr; }.side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }.side-stack > :last-child:nth-child(odd) { grid-column: 1 / -1; }.dashboard-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { body { font-size: 14px; }.main { padding: 24px 15px 36px; }.sidebar { padding: 14px 15px; }.sidebar nav { gap: 1px; }.sidebar nav a { font-size: 13px; }.pwa-install { max-width: none; }.brand strong { font-size: 17px; }.brand img { width: 40px; height: 40px; }.page-header, .case-header { display: grid; gap: 15px; }.case-actions { justify-content: flex-start; }.case-summary, .form-grid, .print-status, .print-data, .side-stack, .metrics-grid { grid-template-columns: 1fr; }.offer-header-side { justify-items: stretch; min-width: 0; }.offer-property-card { max-width: none; }.client-documents-highlight { padding: 16px; }.client-documents-highlight header { align-items: flex-start; }.client-documents-highlight h2 { font-size: 18px; }.client-document-links a { grid-template-columns: 32px minmax(0, 1fr); }.client-document-links b { grid-column: 2; }.signature-ready { grid-template-columns: 1fr; padding: 18px; }.signature-ready > span { width: 47px; height: 47px; font-size: 22px; }.signature-ready h2 { font-size: 20px; }.signature-ready .button, .document-primary-download { width: 100%; justify-content: center; }.document-download-card { grid-template-columns: 36px minmax(0,1fr); }.document-download-button { grid-column: 2; width: max-content !important; }.document-download-icon { width: 36px; height: 36px; }.inline-form label { min-width: 0; width: 100%; }.message { max-width: 100%; }.task-summary { grid-template-columns: 1fr; }.task-summary div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }.task-summary div:last-child { border-bottom: 0; }.dashboard-filters, .task-filters { display: grid; }.status-filter { align-items: stretch; flex-wrap: wrap; }.status-filter select { min-width: 0; flex: 1; }.case-search > div { flex-wrap: wrap; }.case-search input { flex-basis: 100%; }.notification-bell section { right: auto; left: 0; width: min(440px, calc(100vw - 30px)); }.profile-load { align-items: stretch; flex-direction: column; }.recent-decisions > header { display: grid; gap: 8px; }.monthly-trend li { grid-template-columns: 56px minmax(70px, 1fr) 25px; column-gap: 8px; }.recent-decisions a { align-items: flex-start; }.recent-decisions time { text-align: right; }.print-main { width: 100%; min-height: 0; margin: 0; padding: 24px; }.print-header { display: grid; }.print-actions { justify-content: flex-start; }.print-brand { margin-bottom: 19px; }.print-footer { display: grid; }.cookie-notice { right: 15px; bottom: 15px; width: calc(100vw - 30px); } }

@media (max-width: 650px) { .client-pending-documents article { grid-template-columns: 1fr; gap: 10px; }.client-pending-documents .button { width: 100%; justify-content: center; } }
@media (max-width: 650px) { .header-actions { justify-content: flex-start; }.release-log > section { padding: 18px; } }
@media print { @page { size: A4; margin: 10mm; } * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .print-body { background: #fff; }.print-main { width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; }.print-actions { display: none; }.print-header { padding-bottom: 15px; }.print-brand { margin-bottom: 14px; }.print-brand img { width: 34px; height: 34px; }.print-header h1 { font-size: 25px; }.print-status { margin: 16px 0 19px; }.print-status > div { padding: 9px; }.print-section { margin-top: 17px; }.print-section h2 { margin-bottom: 8px; font-size: 15px; }.print-list li, .print-data li { padding: 6px 8px; }.print-messages article { padding: 8px 10px; }.print-footer { margin-top: 20px; } }
