:root {
  color-scheme: light;
  --ink: #1f2f46;
  --ink-soft: #52657b;
  --muted: #77889b;
  --line: #e5ebf1;
  --paper: #ffffff;
  --canvas: #f7f8f6;
  --green: #006bb6;
  --green-deep: #002a69;
  --green-tint: #e8f5fd;
  --amber: #a66b17;
  --red: #b94e42;
  --shadow: 0 2px 8px rgba(37, 55, 43, .035), 0 12px 32px rgba(37, 55, 43, .025);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 340px; color: var(--ink); background: var(--canvas); font-size: 13px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(0, 107, 182, .24); outline-offset: 2px; }
.icon { flex: 0 0 auto; }
.workspace { display: flex; min-height: 100vh; }

.sidebar { position: fixed; z-index: 5; display: flex; flex-direction: column; width: 242px; height: 100vh; overflow-y: auto; padding: 25px 16px 15px; background: #fff; border-right: 1px solid var(--line); scrollbar-width: thin; }
.brand { display: flex; align-items: center; gap: 8px; padding: 2px 12px 25px; color: #002a69; text-decoration: none; font: 800 20px/1 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1.15px; }
.brand img { display: block; width: 142px; height: 78px; flex: 0 0 auto; border-radius: 3px; object-fit: contain; }
.brand-version { display: grid; gap: 4px; color: #002a69; font: 800 13px/1 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.3px; }
.brand-version small { color: #006bb6; font: 700 7px/1 "DM Sans", "Segoe UI", sans-serif; letter-spacing: .6px; }
.brand .icon { color: #3e7656; }
.brand-dot, .heading-dot { color: #55946b; }
.workspace-label, .eyebrow { margin: 0; color: #89948a; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.workspace-label { padding: 0 12px 11px; }
.side-nav { display: grid; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 7px; background: transparent; color: #657067; text-align: left; cursor: pointer; transition: color .15s, background .15s; }
.nav-item:hover { background: #f2f8fc; color: #003c79; }
.nav-item.active { background: #e8f5fd; color: #005ca8; font-weight: 600; }
.nav-item { min-height: 42px; }
.nav-current { position: absolute; right: 0; width: 3px; height: 19px; border-radius: 3px 0 0 3px; background: #00a7ef; }
.sidebar-bottom { margin-top: auto; }
.demo-note { display: flex; align-items: center; gap: 10px; margin: 0 4px 8px; padding: 12px; border-radius: 7px; background: #f7f8f6; }
.demo-indicator { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #67a678; box-shadow: 0 0 0 3px #e6f1e7; }
.demo-note strong, .demo-note small, .profile-copy strong, .profile-copy small { display: block; }
.demo-note strong, .profile-copy strong { color: #3b473e; font-size: 11px; font-weight: 600; }
.demo-note small, .profile-copy small { margin-top: 3px; color: #939d94; font-size: 10px; }
.reset-link { margin: 2px 0 16px 17px; padding: 4px; border: 0; background: transparent; color: #7b877e; font-size: 10px; cursor: pointer; }
.reset-link:hover { color: var(--green); text-decoration: underline; }
.profile { display: flex; align-items: center; gap: 10px; padding: 13px 6px 2px; border-top: 1px solid var(--line); }
.avatar { display: flex; width: 32px; height: 32px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.avatar-admin { background: #e4ede4; color: #46674e; }
.avatar-peach { background: #faeadd; color: #9b684d; }
.avatar-mint { background: #e0f0e5; color: #487555; }
.avatar-lilac { background: #ede7f6; color: #72608d; }
.avatar-sky { background: #e2edf5; color: #51768d; }
.avatar-butter { background: #f5efd9; color: #867447; }
.profile-copy { flex: 1; }
.profile-menu { color: #909991; font-size: 15px; letter-spacing: 1px; }

.main-area { min-width: 0; width: calc(100% - 242px); margin-left: 242px; }
.topbar { position: sticky; z-index: 4; top: 0; display: flex; height: 59px; align-items: center; justify-content: space-between; padding: 0 45px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); }
.breadcrumb { color: #919a92; font-size: 11px; }
.breadcrumb span { padding: 0 9px; color: #c1c9c2; }
.breadcrumb strong { color: #48554b; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 17px; }
.today-label { color: #859087; font-size: 11px; }
.top-avatar { width: 29px; height: 29px; font-size: 9px; }
.page-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 39px 45px 24px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-heading .eyebrow { margin-bottom: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 5px; font: 700 28px/1.25 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1.05px; }
.page-subtitle { margin-bottom: 0; color: #858f87; font-size: 12px; }

.button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button-primary { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 1px 2px rgba(0, 42, 105, .16); }
.button-primary:hover { border-color: var(--green-deep); background: var(--green-deep); }
.button-secondary { border-color: #dce4dc; background: white; color: #4b5b4f; }
.button-secondary:hover, .button-quiet:hover { border-color: #b8d6eb; background: #f2f9fd; color: var(--green-deep); }
.button-danger { border-color: #b94e42; background: #b94e42; color: #fff; }
.button-danger:hover { background: #9f3d34; }
.button-quiet { min-height: 29px; padding: 0 9px; border: 1px solid #e5eae5; background: #fff; color: #657168; }
.button-small { min-height: 30px; font-size: 10px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 17px; }
.metric-card, .panel { border: 1px solid #e9ede8; border-radius: 9px; background: var(--paper); box-shadow: var(--shadow); }
.metric-card { min-height: 137px; padding: 17px 17px 13px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; }
.metric-label { color: #718075; font-size: 11px; font-weight: 500; }
.metric-icon { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 7px; }
.metric-icon-blue { background: #edf3f7; color: #58778a; }
.metric-icon-green { background: #eaf3eb; color: #4d7e56; }
.metric-icon-amber { background: #f9f1e4; color: #a8792c; }
.metric-icon-violet { background: #f1edf7; color: #776390; }
.metric-value { margin: 8px 0 10px; color: #25352a; font: 700 25px/1.2 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.8px; }
.metric-foot { display: flex; align-items: center; gap: 5px; color: #9aa39b; font-size: 9px; white-space: nowrap; }
.metric-positive { display: inline-flex; align-items: center; gap: 2px; color: #4d8961; font-weight: 600; }
.metric-warning { color: #b16f2d; font-weight: 600; }
.metric-neutral { color: #596c5c; font-weight: 600; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 15px; }
.panel { overflow: hidden; }
.panel-heading { display: flex; min-height: 73px; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 19px; border-bottom: 1px solid #edf0ed; }
.panel-heading h2 { margin: 0 0 4px; font: 700 13px/1.3 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.2px; }
.panel-heading p { margin: 0; color: #939d94; font-size: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border: 0; background: transparent; color: #558062; font-size: 10px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.text-link:hover { color: #315f40; }

.table-scroll { overflow-x: auto; width: 100%; }
.data-table { width: 100%; border-collapse: collapse; font-size: 10px; text-align: left; }
.data-table th { height: 39px; padding: 0 11px; background: #fbfcfb; color: #929c93; font-size: 9px; font-weight: 600; white-space: nowrap; }
.data-table td { height: 59px; padding: 7px 11px; border-top: 1px solid #f0f2f0; color: #788279; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { padding-left: 18px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 15px; }
.data-table tbody tr { transition: background .12s; }
.data-table tbody tr:hover { background: #fcfdfc; }
.data-table .primary-cell, .data-table .secondary-cell { display: block; }
.primary-cell { color: #3b493e; font-size: 10px; font-weight: 600; }
.secondary-cell { margin-top: 4px; color: #98a199; font-size: 9px; }
.amount-cell { color: #37473a !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.icon-button { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 0; border-radius: 5px; background: transparent; color: #929c93; cursor: pointer; }
.icon-button:hover { background: #f1f5f1; color: var(--green); }
.status-badge { display: inline-flex; min-height: 21px; align-items: center; gap: 5px; padding: 0 7px; border: 1px solid transparent; border-radius: 12px; font-size: 9px; font-weight: 600; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pending, .status-unpaid { border-color: #f3e8cc; background: #fbf5e9; color: #a67626; }
.status-approved { border-color: #d9ebdc; background: #edf6ee; color: #4e855c; }
.status-rejected { border-color: #f1ddda; background: #fbefed; color: #b25a4d; }
.status-paid { border-color: #dfe8e1; background: #f1f5f1; color: #63766a; }
.status-overdue { border-color: #f0d9d5; background: #fbefed; color: #b24e42; }
.due-list { padding: 4px 18px 9px; }
.due-row { display: flex; min-height: 65px; align-items: center; gap: 10px; border-bottom: 1px solid #f0f2f0; }
.due-row:last-child { border-bottom: 0; }
.due-row .avatar { width: 31px; height: 31px; font-size: 9px; }
.due-copy { min-width: 0; flex: 1; }
.due-copy strong, .due-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.due-copy strong { color: #455248; font-size: 10px; font-weight: 600; }
.due-copy span { margin-top: 4px; color: #9aa39b; font-size: 9px; }
.due-amount { display: grid; justify-items: end; gap: 4px; }
.due-amount strong { color: #3d4b40; font-size: 10px; font-weight: 600; }
.due-amount .status-badge { min-height: 17px; padding: 0 5px; font-size: 8px; }
.insight-strip { display: flex; align-items: center; gap: 12px; margin-top: 15px; padding: 14px 17px; border: 1px solid #e5ede5; border-radius: 8px; background: #f1f6f1; }
.insight-symbol { display: flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 8px; background: #e3eee4; color: #52805d; }
.insight-strip > div:nth-child(2) { flex: 1; }
.insight-strip strong { color: #435548; font-size: 11px; font-weight: 600; }
.insight-strip p { margin: 4px 0 0; color: #87958a; font-size: 10px; }
.empty-state { display: flex; min-height: 215px; flex-direction: column; align-items: center; justify-content: center; padding: 25px; text-align: center; }
.empty-icon { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 13px; background: #f1f5f1; color: #718d77; }
.empty-state h3 { margin: 0 0 6px; font: 700 13px/1.4 "Manrope", "Segoe UI", sans-serif; }
.empty-state p { max-width: 290px; margin: 0 0 14px; color: #939d94; font-size: 10px; line-height: 1.6; }
.footer-note { margin-top: 30px; color: #a2aaa3; font-size: 9px; text-align: center; }
.footer-note span { padding: 0 4px; color: #c2cac2; }

.list-panel { margin-top: 1px; }
.table-toolbar { display: flex; min-height: 63px; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #edf0ed; }
.search-field { display: flex; width: min(285px, 100%); height: 34px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #e8ece8; border-radius: 6px; background: #fff; color: #9aa39b; }
.search-field:focus-within { border-color: #9ab79f; box-shadow: 0 0 0 3px rgba(73, 132, 96, .08); }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #445047; font-size: 10px; }
.search-field input::placeholder { color: #abb3ac; }
.filter-tabs { display: flex; align-items: center; gap: 3px; }
.filter-tab { min-height: 29px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; color: #879187; font-size: 9px; white-space: nowrap; cursor: pointer; }
.filter-tab:hover { color: #3c6949; }
.filter-tab.selected { background: #edf4ee; color: #3d714d; font-weight: 600; }
.result-count { margin-left: auto; color: #98a199; font-size: 9px; white-space: nowrap; }
.customer-table { min-width: 790px; }
.loan-table { min-width: 800px; }
.repayment-table { min-width: 1040px; }
.customer-cell { display: flex; align-items: center; gap: 9px; }
.customer-cell .avatar { width: 30px; height: 30px; font-size: 9px; }
.country-cell { display: inline-flex; align-items: center; gap: 7px; }
.country-mark { display: inline-flex; width: 19px; height: 19px; align-items: center; justify-content: center; border-radius: 50%; background: #f0f3ef; color: #728276; font-size: 8px; font-weight: 600; }
.list-footnote { margin: 10px 3px 0; color: #99a29a; font-size: 9px; }
.row-overdue { background: #fffafa; }
.date-cell { color: #59675d !important; font-weight: 600; }
.paid-date { color: #9ba49c; font-size: 9px; }

.modal-card { width: min(100%, 495px); max-height: min(90vh, 810px); overflow-y: auto; padding: 0; border: 0; border-radius: 11px; background: #fff; color: var(--ink); box-shadow: 0 22px 75px rgba(25, 40, 29, .24); }
dialog { width: min(495px, calc(100% - 28px)); max-width: 495px; max-height: 90vh; overflow: visible; padding: 0; border: 0; border-radius: 11px; background: transparent; }
dialog::backdrop { background: rgba(32, 43, 35, .34); backdrop-filter: blur(2px); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 21px 23px 15px; border-bottom: 1px solid #eef1ee; }
.modal-header .eyebrow { margin-bottom: 6px; font-size: 8px; }
.modal-header h2 { margin: 0; font: 700 19px/1.3 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.4px; }
.modal-close { margin-top: -4px; }
.modal-body { display: grid; gap: 15px; padding: 19px 23px 21px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 23px; border-top: 1px solid #eef1ee; background: #fcfdfc; border-radius: 0 0 11px 11px; }
.field { display: grid; gap: 7px; color: #59665d; font-size: 10px; font-weight: 600; }
.field > span { display: flex; align-items: center; gap: 3px; }
.field i { color: #bd6457; font-size: 10px; font-style: normal; }
.field > input, .field > select, .field > textarea, .input-prefix, .input-suffix { width: 100%; min-height: 37px; padding: 0 10px; border: 1px solid #e2e8e2; border-radius: 6px; background: #fff; color: #3c483f; font-size: 11px; font-weight: 400; }
.field > input, .field > select, .field > textarea { outline: none; }
.field > textarea { min-height: 76px; padding: 10px; resize: vertical; }
.field > input::placeholder, .field > textarea::placeholder { color: #b0b8b1; }
.field > input:focus, .field > select:focus, .field > textarea:focus, .input-prefix:focus-within, .input-suffix:focus-within { border-color: #91b098; box-shadow: 0 0 0 3px rgba(73, 132, 96, .08); }
.field small { color: #909a91; font-size: 9px; font-weight: 400; line-height: 1.5; }
.field small:not(.field span small) { margin-top: -2px; }
.field span small { margin-left: 2px; font-size: 9px; }
.field-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.input-prefix, .input-suffix { display: flex; align-items: center; gap: 6px; padding: 0 9px; color: #909a91; }
.input-prefix input, .input-suffix input { width: 100%; height: 34px; border: 0; outline: none; background: transparent; color: #3c483f; }
.form-note { margin: 0; padding: 10px 11px; border-radius: 5px; background: #f6f8f5; color: #859087; font-size: 9px; line-height: 1.55; }
.decision-callout { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #e2eee3; border-radius: 7px; background: #f4f8f4; }
.decision-warning { border-color: #f0e2dc; background: #fcf6f3; }
.decision-icon { display: flex; width: 27px; height: 27px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #e3efe4; color: #54805c; }
.decision-warning .decision-icon { background: #f6e7e2; color: #ab5b4d; }
.decision-callout p { margin: 2px 0 0; color: #728076; font-size: 10px; line-height: 1.6; }
.decision-callout strong { color: #425347; }
.approval-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; padding: 4px 2px; }
.approval-summary div, .detail-grid div { display: grid; gap: 5px; }
.approval-summary span, .detail-grid span { color: #939d94; font-size: 9px; }
.approval-summary strong, .detail-grid strong { color: #405045; font-size: 11px; font-weight: 600; }
.detail-customer { display: flex; align-items: center; gap: 10px; padding: 2px 0 14px; border-bottom: 1px solid #eff1ef; }
.detail-customer .avatar { width: 36px; height: 36px; }
.detail-customer > div:nth-child(2) { display: grid; flex: 1; gap: 4px; }
.detail-customer > div:nth-child(2) strong { color: #435046; font-size: 11px; }
.detail-customer > div:nth-child(2) span { color: #909a91; font-size: 9px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 3px 0 5px; }
.detail-schedule { padding-top: 2px; }
.detail-schedule h3 { margin-bottom: 8px; font: 700 11px "Manrope", "Segoe UI", sans-serif; }
.detail-installment { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f0f2f0; color: #59665d; font-size: 9px; }
.detail-installment span small { display: block; margin-top: 3px; color: #a0a9a1; font-size: 8px; }
.detail-installment strong { color: #48564b; font-size: 10px; }
.detail-reason { padding: 10px; border-radius: 6px; background: #fcf6f3; font-size: 9px; }
.detail-reason strong { color: #895a4d; }
.detail-reason p { margin: 5px 0 0; color: #89776f; }
.toast-region { position: fixed; z-index: 10; right: 22px; bottom: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; max-width: min(380px, calc(100vw - 32px)); align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid #dce8dd; border-radius: 7px; background: #fff; color: #435548; box-shadow: 0 8px 26px rgba(37, 55, 43, .12); font-size: 11px; animation: toast-in .18s ease-out; }
.toast-error { border-color: #f0d9d5; color: #9c4c42; }
.toast-symbol { display: flex; width: 19px; height: 19px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #e9f2ea; color: #4d8057; font-size: 10px; font-weight: 700; }
.toast-error .toast-symbol { background: #f8eae7; color: #b55347; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.fatal-screen { display: grid; min-height: 100vh; place-items: center; padding: 20px; }
.fatal-card { width: min(440px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.fatal-mark { display: grid; width: 35px; height: 35px; place-items: center; margin-bottom: 20px; border-radius: 50%; background: #fbefed; color: #b94e42; font-size: 18px; font-weight: 700; }
.fatal-card .eyebrow { margin-bottom: 8px; }
.fatal-card h1 { font-size: 21px; }
.fatal-card > p:not(.eyebrow) { margin: 10px 0 18px; color: #778178; font-size: 11px; line-height: 1.6; }
.fatal-card .fatal-hint { margin-bottom: 0 !important; color: #9aa39b !important; font-size: 9px !important; }

.sidebar { overflow-y: auto; }
.sidebar-management { margin-top: auto; padding-bottom: 10px; }
.sidebar-account { margin-top: 0; }
.sidebar-section-label { padding: 13px 12px 9px; color: #89948a; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.auth-screen { display: grid; min-height: 100vh; place-items: center; padding: 28px 16px; background: radial-gradient(ellipse at 50% 8%, #edf5ef 0, #f7f8f6 53%); }
.auth-card { width: min(100%, 440px); padding: 34px; border: 1px solid #e6ebe6; border-radius: 13px; background: #fff; box-shadow: 0 18px 55px rgba(37, 55, 43, .08); }
.auth-brand { padding: 0 0 32px; }
.auth-card > .eyebrow { margin-bottom: 9px; }
.auth-card h1 { margin-bottom: 8px; font-size: 25px; }
.auth-description { margin-bottom: 22px; color: #7d897f; font-size: 12px; line-height: 1.6; }
.auth-form, .settings-form { display: grid; gap: 15px; }
.auth-submit { width: 100%; min-height: 41px; margin-top: 3px; }
.auth-switch { margin: 19px 0 0; color: #778178; font-size: 11px; text-align: center; }
.auth-switch button { padding: 0; border: 0; background: transparent; color: var(--green); font-weight: 700; cursor: pointer; }
.auth-security { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: #98a199; font-size: 9px; line-height: 1.6; text-align: center; }
.auth-error { margin-bottom: 15px; padding: 10px 12px; border: 1px solid #f0d9d5; border-radius: 6px; background: #fbefed; color: #9c4c42; font-size: 10px; line-height: 1.5; }
.settings-form > .button { justify-self: start; margin-top: 2px; }
.field[hidden] { display: none; }
.role-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 10px; padding: 16px; }
.role-cards article { padding: 12px; border: 1px solid #edf0ed; border-radius: 7px; background: #fbfcfb; }
.role-cards strong { color: #455248; font-size: 10px; text-transform: capitalize; }
.role-cards p { margin: 6px 0 0; color: #879187; font-size: 9px; line-height: 1.55; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: start; gap: 15px; }
.admin-control-panel .panel-heading { min-height: 76px; }
.admin-role-label { padding: 6px 9px; border-radius: 5px; background: #e8f5fd; color: #005ca8; font-size: 9px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.admin-control-list { padding: 2px 17px 8px; }
.admin-control-row { display: flex; width: 100%; min-height: 66px; align-items: center; gap: 12px; padding: 9px 2px; border: 0; border-bottom: 1px solid #edf0ed; background: transparent; text-align: left; cursor: pointer; }
.admin-control-row:last-child { border-bottom: 0; }
.admin-control-row:hover { background: #f8fbfd; }
.admin-control-row > .icon:last-child { color: #91a0ad; }
.admin-control-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #edf6fb; color: #006bb6; }
.admin-control-copy { display: grid; flex: 1; gap: 4px; }
.admin-control-copy strong, .admin-review-row strong { color: #35485b; font-size: 11px; font-weight: 600; }
.admin-control-copy small, .admin-review-row small { color: #718195; font-size: 9px; line-height: 1.45; }
.admin-side-column { display: grid; gap: 15px; }
.admin-review-row { display: flex; width: 100%; min-height: 66px; align-items: center; gap: 10px; padding: 11px 17px; border: 0; border-bottom: 1px solid #edf0ed; background: #fff; text-align: left; cursor: pointer; }
.admin-review-row:last-child { border-bottom: 0; }
.admin-review-row:hover { background: #f8fbfd; }
.admin-review-row > span:first-child { display: grid; flex: 1; gap: 5px; }
.admin-review-row b { display: grid; min-width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #e8f5fd; color: #005ca8; font-size: 10px; }
.admin-review-row .icon { color: #91a0ad; }
.admin-activity-list { display: grid; gap: 0; margin: 0; padding: 2px 17px 8px; list-style: none; }
.admin-activity-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf0ed; }
.admin-activity-list li:last-child { border-bottom: 0; }
.admin-activity-mark { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f0f5f8; color: #547990; }
.admin-activity-list li > span:last-child { display: grid; min-width: 0; gap: 4px; }
.admin-activity-list strong { color: #35485b; font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.admin-activity-list small { color: #718195; font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }
.admin-activity-empty { padding: 20px 18px; color: #718195; font-size: 10px; line-height: 1.6; }
.admin-permission-note { display: flex; align-items: flex-start; gap: 7px; margin: 14px 2px 0; color: #617384; font-size: 10px; line-height: 1.55; }
.admin-permission-note .icon { flex: 0 0 auto; color: #006bb6; }
.auth-screen .brand img { width: 33px; height: 33px; }
.sidebar-management { display: grid; gap: 3px; }
.sidebar-account .profile { margin-top: 7px; }
.sidebar-account .profile .text-link { margin-left: auto; }
.sidebar-account .environment-status { margin: 0 4px 5px; }
.welcome-banner + .panel, .panel + .panel { margin-top: 15px; }
.arrears-summary + .panel { margin-top: 15px; }
.arrears-summary > article strong { display: block; }
.notification-list { padding: 0 18px; }
.data-table td .button { white-space: nowrap; }
.report-disclaimer { line-height: 1.6; }
.workflow-panel { margin-top: 15px; }
.workflow-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 13px 13px; }
.workflow-action { display: flex; min-width: 0; min-height: 78px; align-items: center; gap: 10px; padding: 12px 8px; border: 0; border-right: 1px solid #edf0ed; background: #fff; text-align: left; cursor: pointer; }
.workflow-action:last-child { border-right: 0; }
.workflow-action:hover { background: #f8fbfd; }
.workflow-action > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 5px; }
.workflow-action > span:nth-child(2) strong { color: #35485b; font-size: 10px; font-weight: 600; }
.workflow-action > span:nth-child(2) small { color: #718195; font-size: 9px; line-height: 1.45; }
.workflow-action > .icon:last-child { color: #91a0ad; }
.workflow-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #edf6fb; color: #006bb6; }
.chat-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(245px, .7fr); align-items: start; gap: 15px; }
.chat-panel { display: flex; min-height: 560px; flex-direction: column; }
.chat-room-heading { display: flex; align-items: center; gap: 12px; padding: 17px 19px; border-bottom: 1px solid #edf0ed; }
.chat-room-heading > div:nth-child(2) { min-width: 0; flex: 1; }
.chat-room-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #e8f5fd; color: #005ca8; }
.chat-room-heading h2 { margin: 0 0 4px; font: 700 13px/1.3 "Manrope", "Segoe UI", sans-serif; }
.chat-room-heading p { max-width: 540px; margin: 0; color: #718195; font-size: 9px; line-height: 1.5; }
.chat-private-badge { padding: 5px 7px; border-radius: 4px; background: #eaf5ee; color: #3d7250; font-size: 8px; font-weight: 700; letter-spacing: .6px; }
.chat-live-status { min-height: 0; margin: 0; padding: 0 16px; color: #9c4c42; font-size: 9px; }
.chat-live-status:not(:empty) { padding-top: 9px; }
.chat-messages { display: flex; min-height: 280px; max-height: 470px; flex: 1; flex-direction: column; gap: 12px; overflow-y: auto; padding: 18px; background: #fbfcfd; }
.chat-message { width: min(90%, 620px); padding: 11px 13px; border: 1px solid #e5ebf1; border-radius: 8px 8px 8px 2px; background: #fff; }
.chat-message-own { align-self: flex-end; border-color: #d8eafa; border-radius: 8px 8px 2px 8px; background: #eff7fd; }
.chat-message-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; }
.chat-message-heading strong { color: #35485b; font-size: 10px; }
.chat-message-heading span { color: #8290a0; font-size: 8px; }
.chat-message p { margin: 7px 0 0; color: #42546a; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-state { display: grid; min-height: 230px; align-content: center; justify-items: center; gap: 9px; color: #718195; font-size: 10px; line-height: 1.5; text-align: center; }
.chat-state strong { color: #35485b; font-size: 12px; }
.chat-state > span:last-child { max-width: 310px; }
.chat-empty-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #e8f5fd; color: #005ca8; }
.chat-error { color: #9c4c42; }
.chat-compose { display: flex; align-items: flex-end; gap: 9px; padding: 13px 16px 0; border-top: 1px solid #edf0ed; }
.chat-compose-field { display: flex; flex: 1; }
.chat-compose textarea { width: 100%; min-height: 44px; max-height: 130px; resize: vertical; padding: 11px 12px; border: 1px solid #dce4ec; border-radius: 6px; background: #fff; color: var(--ink); font-size: 11px; line-height: 1.5; }
.chat-compose .button { min-height: 44px; }
.chat-footnote { margin: 7px 16px 12px; color: #8290a0; font-size: 8px; }
.chat-guidance-content { display: grid; gap: 0; padding: 3px 17px 8px; }
.chat-guidance-content p { display: grid; gap: 5px; margin: 0; padding: 13px 0; border-bottom: 1px solid #edf0ed; }
.chat-guidance-content p:last-child { border-bottom: 0; }
.chat-guidance-content strong { color: #35485b; font-size: 10px; }
.chat-guidance-content span { color: #718195; font-size: 9px; line-height: 1.55; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #8b9690; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; background: #e4eae4; content: ""; }
.button-google { width: 100%; min-height: 44px; gap: 10px; border-color: #d6e2ed; background: #fff; color: #34485d; font-size: 11px; }
.button-google:hover { border-color: #a9cce5; background: #f7fbff; }
.google-mark { color: #4285f4; font: 800 17px/1 Arial, sans-serif; }
.footer-note a { color: #006bb6; text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }
.public-contact-meta { display: flex; align-items: center; gap: 12px; color: #58677a; font-size: 9px; }
.public-contact-meta a { color: #005ca8; font-weight: 700; text-decoration: none; }
.public-contact-meta a:hover { text-decoration: underline; }
.contact-business { display: grid; gap: 13px; margin: 23px 0 18px; padding: 16px; border: 1px solid #deebf5; border-radius: 8px; background: #f6faff; }
.contact-business span { display: grid; gap: 5px; }
.contact-business small { color: #718195; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.contact-business strong, .contact-business a { color: #263a4f; font-size: 11px; font-weight: 600; text-decoration: none; }
.contact-business a:hover { color: #005ca8; text-decoration: underline; }

@media print {
  body { min-width: 0; background: #fff; }
  .workspace, .sidebar, .topbar, .page-heading, .footer-note, .modal-header, .modal-footer, .toast-region { display: none !important; }
  dialog[open] { position: static; display: block; width: 100%; max-width: none; max-height: none; }
  dialog::backdrop { display: none; }
  .modal-card { width: 100%; max-height: none; overflow: visible; box-shadow: none; }
}

@media (max-width: 850px) {
  .auth-card { padding: 26px 22px; }
  .sidebar { width: 210px; }
  .main-area { width: calc(100% - 210px); margin-left: 210px; }
  .page-wrap { padding-right: 23px; padding-left: 23px; }
  .topbar { padding-right: 23px; padding-left: 23px; }
}
@media (max-width: 960px) {
  .workflow-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-action:nth-child(2) { border-right: 0; }
  .workflow-action:nth-child(-n+2) { border-bottom: 1px solid #edf0ed; }
  .chat-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sidebar { position: static; width: 100%; height: auto; max-height: none; }
  .workspace { display: block; }
  .main-area { width: 100%; margin-left: 0; }
  .sidebar-management { margin-top: 9px; }
  .sidebar-account { position: static; padding-top: 6px; background: #fff; }
  .page-wrap { padding: 24px 15px; }
  .topbar { height: 50px; padding-right: 15px; padding-left: 15px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 1550px) {
  .page-wrap { padding-top: 47px; }
  .metric-card { min-height: 146px; padding: 19px 20px 15px; }
  .metric-value { font-size: 28px; }
}
@media (max-width: 1120px) {
  .sidebar { width: 215px; }
  .main-area { width: calc(100% - 215px); margin-left: 215px; }
  .page-wrap { padding-right: 26px; padding-left: 26px; }
  .topbar { padding: 0 26px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0, 1.25fr) minmax(270px, 1fr); }
  .admin-layout { grid-template-columns: minmax(0, 1fr) minmax(275px, .85fr); }
}
@media (max-width: 800px) {
  .sidebar { position: static; width: 100%; height: auto; padding: 12px 15px 9px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace { display: block; }
  .brand { padding: 0 4px 12px; font-size: 18px; }
  .brand img { width: 118px; height: 65px; }
  .brand .icon { width: 22px; height: 22px; }
  .workspace-label { display: none; }
  .sidebar-bottom { display: block; margin-top: 5px; }
  .sidebar-bottom .environment-status { display: none; }
  .sidebar-bottom .profile { min-height: 46px; padding: 8px 4px 0; }
  .sidebar-bottom .profile .text-link { min-height: 36px; margin-left: auto; padding: 0 10px; }
  .side-nav { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .nav-item { width: auto; min-width: max-content; gap: 7px; padding: 8px 10px; font-size: 10px; }
  .nav-item .icon { width: 15px; height: 15px; }
  .nav-current { display: none; }
  .sidebar-management { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
  .sidebar-section-label { width: 100%; }
  .sidebar-management .nav-item { width: auto; min-height: 38px; }
  .main-area { width: 100%; margin-left: 0; }
  .topbar { height: 47px; padding: 0 19px; }
  .today-label { font-size: 9px; }
  .topbar-right { gap: 10px; }
  .page-wrap { padding: 27px 19px 20px; }
  h1 { font-size: 25px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .due-panel { min-height: 0; }
}
@media (max-width: 560px) {
  body { min-width: 320px; }
  .page-wrap { padding: 23px 13px 18px; }
  .topbar { padding: 0 14px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 17px; }
  .page-heading > .button { align-self: stretch; }
  .workflow-actions { grid-template-columns: 1fr; padding: 3px 9px 9px; }
  .workflow-action, .workflow-action:nth-child(2) { min-height: 67px; border-right: 0; border-bottom: 1px solid #edf0ed; }
  .workflow-action:last-child { border-bottom: 0; }
  .metric-grid { gap: 9px; margin-bottom: 10px; }
  .metric-card { min-height: 122px; padding: 12px 11px 10px; }
  .metric-label { max-width: 112px; font-size: 9px; }
  .metric-icon { width: 27px; height: 27px; }
  .metric-value { margin: 8px 0 7px; font-size: 21px; }
  .metric-foot { flex-wrap: wrap; gap: 2px 4px; font-size: 8px; white-space: normal; }
  .panel-heading { padding: 12px; }
  .recent-panel .data-table { min-width: 650px; }
  .due-list { padding-right: 12px; padding-left: 12px; }
  .insight-strip { align-items: flex-start; flex-wrap: wrap; }
  .insight-strip > div:nth-child(2) { min-width: calc(100% - 48px); }
  .insight-strip > .button { margin-left: 46px; }
  .table-toolbar { flex-wrap: wrap; gap: 8px; padding: 10px; }
  .search-field { width: 100%; }
  .filter-tabs { width: 100%; overflow-x: auto; }
  .filter-tab { padding: 0 8px; }
  .result-count { display: none; }
  .modal-header { padding: 18px 17px 13px; }
  .modal-body { padding: 16px 17px 18px; }
  .modal-footer { flex-wrap: wrap; padding: 12px 17px; }
  .modal-footer .button { flex: 1; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 9px; }
  .approval-summary { gap: 11px; }
  .detail-installment { grid-template-columns: 1fr auto; }
  .detail-installment .status-badge { grid-column: 2; justify-self: end; }
  .chat-panel { min-height: 460px; }
  .chat-room-heading { align-items: flex-start; gap: 9px; padding: 13px; }
  .chat-room-icon { width: 32px; height: 32px; }
  .chat-private-badge { margin-left: auto; }
  .chat-messages { min-height: 240px; max-height: 52vh; padding: 12px; }
  .chat-message { width: 96%; }
  .chat-compose { align-items: stretch; padding-right: 11px; padding-left: 11px; }
  .chat-compose .button { min-height: 44px; padding: 0 10px; }
  .footer-note { flex-wrap: wrap; gap: 5px 7px; line-height: 1.5; }
  .public-footer { height: auto; min-height: 100px; align-items: flex-start; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .public-footer .public-footer-tagline { display: none; }
  .public-footer-brand { max-width: 100%; }
  .public-footer-brand span { font-size: 8px; }
  .public-contact-meta { flex: 1 0 100%; justify-content: space-between; }
  .public-footer nav { width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.public-site { min-height: 100vh; overflow: hidden; background: #fff; }
.public-nav { display: flex; width: min(1320px, 100%); height: 82px; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 0 54px; }
.public-brand { gap: 0; padding: 0; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.public-brand img { width: 142px; height: 78px; }
.public-brand small, .auth-brand small { margin-top: 6px; color: #829087; font-size: 8px; letter-spacing: 1.15px; }
.public-nav-links, .public-nav-actions { display: flex; align-items: center; gap: 28px; }
.public-nav-links a, .public-nav-links button, .public-login, .public-secondary, .public-footer button { padding: 8px 0; border: 0; background: transparent; color: #536158; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer; }
.public-nav-links a:hover, .public-nav-links button:hover, .public-login:hover, .public-secondary:hover, .public-footer button:hover { color: #006bb6; }
.public-nav-links .public-nav-active { color: #005ca8; font-weight: 700; }
.public-nav-actions { gap: 21px; }
.public-nav-actions .button { min-height: 40px; padding: 0 17px; }
.public-hero { display: grid; width: min(1320px, 100%); min-height: 545px; grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr); align-items: center; gap: 42px; margin: 0 auto; padding: 54px 54px 78px; }
.public-hero-copy { padding: 0 0 6px 14px; }
.public-proof { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 23px; color: #064c91; font-size: 11px; font-weight: 700; }
.public-proof-mark { display: inline-flex; width: 23px; height: 23px; align-items: center; justify-content: center; border-radius: 50%; background: #e6f5ff; color: #006bb6; }
.public-hero h1 { max-width: 570px; margin: 0; color: #1f3428; font: 700 clamp(38px, 4.6vw, 61px)/1.08 "Manrope", "Segoe UI", sans-serif; letter-spacing: -2.7px; }
.public-hero h1 span { color: #007ac4; }
.public-lede { max-width: 440px; margin: 22px 0 0; color: #66746a; font-size: 15px; line-height: 1.75; }
.public-hero-actions { display: grid; justify-items: start; gap: 13px; margin-top: 27px; }
.public-primary { min-height: 46px; padding: 0 18px; font-size: 12px; }
.public-secondary { margin-left: 2px; font-size: 10px; }
.public-assurance { display: flex; flex-wrap: wrap; gap: 11px 17px; margin-top: 31px; color: #647369; font-size: 9px; }
.public-assurance span { display: inline-flex; align-items: center; gap: 5px; }
.public-assurance .icon { color: #0073bb; }
.journey-visual { position: relative; min-height: 422px; padding: 27px 31px 23px; overflow: hidden; border-radius: 4px 22px 4px 22px; background: #002a69; color: #fff; box-shadow: 0 23px 55px rgba(0, 42, 105, .2); }
.journey-visual::after { position: absolute; top: -118px; right: -124px; width: 335px; height: 335px; border: 1px solid rgba(0, 173, 254, .2); border-radius: 50%; content: ""; pointer-events: none; }
.journey-topline { display: flex; justify-content: space-between; gap: 8px; color: #d2e4f2; font-size: 8px; font-weight: 700; letter-spacing: 1.05px; }
.journey-live { display: inline-flex; align-items: center; gap: 7px; color: #9bdfff; font-size: 7px; }
.journey-live i { width: 6px; height: 6px; border-radius: 50%; background: #00adfe; box-shadow: 0 0 0 4px rgba(0, 173, 254, .18); }
.journey-path { position: relative; z-index: 1; display: grid; gap: 0; margin: 22px 0 0; }
.journey-stage { position: relative; display: flex; min-height: 67px; align-items: center; gap: 14px; padding: 8px 14px; border: 1px solid rgba(177, 214, 238, .17); background: rgba(255, 255, 255, .035); }
.journey-stage { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .18s ease-out, border-color .18s ease-out; }
.journey-stage-active { border-color: rgba(0, 173, 254, .7); background: rgba(0, 173, 254, .12); }
.journey-stage:focus-visible { position: relative; z-index: 2; outline: 2px solid #00adfe; outline-offset: 2px; }
.journey-stage-copy { display: grid; gap: 4px; }
.journey-node { display: inline-flex; width: 36px; height: 36px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid rgba(161, 211, 240, .3); border-radius: 10px; color: #79d0ff; }
.journey-stage-active .journey-node { border-color: transparent; background: #00adfe; color: #002a69; }
.journey-stage > div { display: grid; gap: 4px; }
.journey-stage strong { color: #f2f8f3; font-size: 11px; font-weight: 600; }
.journey-stage small { color: #c1d6e5; font-size: 9px; }
.journey-number { margin-left: auto; color: #9ac5df; font-size: 8px; letter-spacing: .5px; }
.journey-connector { height: 14px; padding-left: 31px; }
.journey-connector i { display: block; height: 100%; width: 1px; background: rgba(0, 173, 254, .48); }
.journey-bottom { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; margin-top: 21px; padding-top: 17px; border-top: 1px solid rgba(177, 214, 238, .25); }
.journey-bottom-icon { display: inline-flex; width: 29px; height: 29px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #00adfe; color: #002a69; }
.journey-bottom p { display: grid; flex: 1; gap: 4px; margin: 0; }
.journey-bottom p { animation: journey-reveal .2s ease-out; }
.journey-bottom strong { color: #e7f4fc; font-size: 9px; font-weight: 600; }
.journey-bottom p span { color: #bed4e4; font-size: 8px; line-height: 1.4; }
.journey-bottom-arrow { color: #79d0ff; }
.public-flow { padding: 75px max(7vw, calc((100vw - 1210px) / 2)) 82px; background: #f1f8fd; }
.public-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 37px; }
.public-section-heading h2, .public-capabilities h2, .public-close h2 { max-width: 600px; margin: 0; color: #182f52; font: 700 clamp(26px, 3vw, 37px)/1.18 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1.15px; }
.public-section-heading p, .public-capabilities > div:first-child p { max-width: 250px; margin: 0 0 2px; color: #6c796f; font-size: 11px; line-height: 1.6; }
.flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #d8e5ef; }
.flow-step { min-height: 187px; padding: 22px 27px 15px 0; }
.flow-step + .flow-step { padding-left: 27px; border-left: 1px solid #d8e5ef; }
.flow-step-index { color: #006bb6; font-size: 8px; font-weight: 700; letter-spacing: 1.05px; }
.flow-step h3 { margin: 18px 0 9px; color: #183a6e; font: 700 17px/1.3 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.3px; }
.flow-step p { max-width: 290px; margin: 0; color: #52677b; font-size: 10px; line-height: 1.75; }
.public-capabilities { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 75px; padding: 88px max(7vw, calc((100vw - 1210px) / 2)); }
.public-capabilities > div:first-child { padding-top: 13px; }
.public-capabilities > div:first-child p { margin-top: 14px; }
.capability-list { border-top: 1px solid #dce6ef; }
.capability-list > div { display: flex; align-items: center; gap: 14px; min-height: 72px; border-bottom: 1px solid #dce6ef; }
.capability-list > div > span:first-child { display: inline-flex; width: 35px; height: 35px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 10px; background: #e8f5fd; color: #006bb6; }
.capability-list p { display: grid; flex: 1; gap: 4px; margin: 0; }
.capability-list strong { color: #183a6e; font-size: 10px; font-weight: 700; }
.capability-list small { color: #758178; font-size: 9px; }
.capability-list > div > .icon { color: #438ec0; }
.public-close { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px max(7vw, calc((100vw - 1210px) / 2)); background: #002a69; }
.public-close h2 { max-width: 640px; color: #f1f7f2; font-size: 27px; }
.public-close p { margin: 8px 0 0; color: #cfdeed; font-size: 11px; }
.public-close-button { min-height: 43px; padding: 0 17px; border-color: #00adfe; background: #00adfe; color: #002a69; font-size: 11px; }
.public-close-button:hover { border-color: #69d0ff; background: #69d0ff; }
.public-footer { display: flex; min-height: 77px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 54px; color: #7a867d; font-size: 9px; }
.public-footer-brand { display: inline-flex; align-items: center; gap: 8px; color: #183a6e; font-size: 10px; font-weight: 800; text-decoration: none; }
.public-footer-brand img { width: 110px; height: 60px; object-fit: contain; }
.public-footer button { font-size: 9px; }
.public-footer nav { display: flex; align-items: center; gap: 18px; }
.public-footer-brand { cursor: pointer; }
.public-status { width: min(960px, calc(100% - 40px)); margin: 8px auto 0; padding: 11px 14px; border: 1px solid #f0d9d5; background: #fbefed; color: #90483f; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.public-interior { display: flex; flex-direction: column; }
.public-interior .public-nav { width: min(1320px, 100%); }
.public-page-intro { width: min(1320px, 100%); margin: 0 auto; padding: 67px 54px 42px; background: linear-gradient(110deg, #eff8fd 0%, #fff 72%); }
.public-page-label { margin-bottom: 13px; color: #005ca8; font-size: 10px; font-weight: 700; letter-spacing: 1.05px; text-transform: uppercase; }
.public-page-intro h1 { max-width: 760px; margin: 0; color: #183a6e; font: 700 40px/1.16 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1.5px; }
.public-page-intro > p:last-child { max-width: 620px; margin: 16px 0 0; color: #52677b; font-size: 13px; line-height: 1.7; }
.public-page-content { width: min(1210px, 100%); margin: 0 auto; padding: 36px 54px 72px; }
.pricing-disclosure { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; padding: 16px 18px; border: 1px solid #cfe6f4; background: #f2f9fd; color: #284e69; }
.pricing-disclosure > span { display: inline-flex; flex: 0 0 auto; color: #006bb6; }
.pricing-disclosure p { max-width: 800px; margin: 0; font-size: 11px; line-height: 1.65; }
.pricing-disclosure strong { color: #183a6e; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 14px; }
.pricing-option { display: flex; min-height: 355px; flex-direction: column; padding: 22px 20px 19px; border: 1px solid #dce6ef; background: #fff; }
.pricing-option-featured { border-color: #78bfe7; background: #f5fbff; }
.pricing-option-label { margin: 0 0 12px; color: #006bb6; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.pricing-option h2 { margin: 0; color: #183a6e; font: 700 18px/1.35 "Manrope", "Segoe UI", sans-serif; }
.pricing-description { min-height: 45px; margin: 9px 0 18px; color: #5d7185; font-size: 10px; line-height: 1.6; }
.pricing-option ul { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.pricing-option li { display: flex; align-items: flex-start; gap: 8px; color: #40566c; font-size: 10px; line-height: 1.5; }
.pricing-option li .icon { flex: 0 0 auto; color: #006bb6; }
.pricing-option > .button { justify-content: space-between; margin-top: auto; }
.public-page-note { margin: 20px 0 0; color: #617384; font-size: 10px; line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.service-row { display: flex; min-height: 106px; align-items: flex-start; gap: 14px; padding: 20px 4px; border-bottom: 1px solid #dce6ef; }
.service-icon { display: inline-flex; width: 36px; height: 36px; flex: 0 0 auto; align-items: center; justify-content: center; background: #e8f5fd; color: #006bb6; }
.service-row h2 { margin: 2px 0 6px; color: #183a6e; font: 700 14px/1.4 "Manrope", "Segoe UI", sans-serif; }
.service-row p { max-width: 430px; margin: 0; color: #52677b; font-size: 10px; line-height: 1.65; }
.service-boundary { margin-top: 38px; padding: 21px 0; border-top: 1px solid #a9cde3; border-bottom: 1px solid #a9cde3; }
.service-boundary h2 { margin: 0 0 8px; color: #183a6e; font: 700 15px/1.4 "Manrope", "Segoe UI", sans-serif; }
.service-boundary p { max-width: 850px; margin: 0; color: #52677b; font-size: 10px; line-height: 1.75; }
.public-page-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 24px 25px; background: #002a69; color: #fff; }
.public-page-cta h2 { margin: 0; color: #fff; font: 700 17px/1.35 "Manrope", "Segoe UI", sans-serif; }
.public-page-cta p { margin: 5px 0 0; color: #d2e4f2; font-size: 10px; }
.public-page-cta .button { border-color: #00adfe; background: #00adfe; color: #002a69; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: 42px; }
.contact-aside { padding: 18px 0; }
.contact-aside h2 { margin: 0; color: #183a6e; font: 700 22px/1.3 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.45px; }
.contact-aside > p { max-width: 400px; margin: 12px 0 20px; color: #52677b; font-size: 11px; line-height: 1.75; }
.contact-aside-note { display: flex; align-items: flex-start; gap: 9px; max-width: 400px; color: #52677b; font-size: 10px; line-height: 1.6; }
.contact-aside-note .icon { flex: 0 0 auto; color: #006bb6; }
.contact-panel { padding: 24px; border: 1px solid #dce6ef; background: #fff; }
.contact-form { display: grid; gap: 15px; }
.contact-form .field { color: #35485b; font-size: 10px; }
.contact-form .field > input, .contact-form .field > select, .contact-form .field > textarea { min-height: 41px; border-color: #cddbe7; color: #263d53; font-size: 11px; }
.contact-form .field > textarea { min-height: 110px; }
.contact-form .field > input::placeholder, .contact-form .field > textarea::placeholder { color: #66798b; }
.contact-privacy { margin: -3px 0 0; color: #52677b; font-size: 9px; line-height: 1.5; }
.contact-submit { min-height: 42px; justify-content: space-between; }
.contact-error { margin: 0; padding: 10px 12px; border: 1px solid #f0d9d5; background: #fbefed; color: #90483f; font-size: 10px; line-height: 1.6; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-success { display: flex; align-items: flex-start; gap: 13px; min-height: 230px; padding: 30px 4px; }
.contact-success > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; background: #e8f5fd; color: #006bb6; }
.contact-success h2 { margin: 3px 0 8px; color: #183a6e; font: 700 18px/1.35 "Manrope", "Segoe UI", sans-serif; }
.contact-success p { max-width: 420px; margin: 0 0 12px; color: #52677b; font-size: 10px; line-height: 1.7; }
.contact-success .text-link { color: #005ca8; }

.auth-screen { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1fr) minmax(440px, .92fr); place-items: stretch; padding: 0; background: #fff; }
.auth-story { position: relative; display: flex; min-height: 100vh; flex-direction: column; overflow: hidden; padding: 34px clamp(30px, 5vw, 76px) 28px; background: #002a69; color: #fff; }
.auth-story::before, .auth-story::after { position: absolute; z-index: 0; width: 480px; height: 480px; border: 1px solid rgba(0, 173, 254, .2); border-radius: 50%; content: ""; pointer-events: none; }
.auth-story::before { top: 23%; right: -290px; }
.auth-story::after { top: 29%; right: -240px; width: 380px; height: 380px; border-color: rgba(0, 173, 254, .12); }
.auth-return { position: relative; z-index: 1; display: inline-flex; width: max-content; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #c7e9fa; font-size: 10px; cursor: pointer; }
.auth-return .icon { transform: rotate(180deg); }
.auth-brand { position: relative; z-index: 1; width: max-content; margin-top: 49px; padding: 2px 8px; border-radius: 4px; background: #fff; color: #002a69; font-size: 19px; }
.auth-screen .auth-brand img { width: 132px; height: 72px; }
.auth-brand .brand-version { color: #002a69; }
.auth-story-copy { position: relative; z-index: 1; width: min(560px, 100%); margin: auto 0; padding: 60px 0; }
.auth-story-label { margin-bottom: 18px; color: #82d6ff; font-size: 11px; font-weight: 600; }
.auth-story-copy h1 { max-width: 550px; margin: 0; color: #f4f9ff; font: 700 clamp(37px, 4.3vw, 57px)/1.1 "Manrope", "Segoe UI", sans-serif; letter-spacing: -2.1px; }
.auth-story-copy > p:last-child { max-width: 410px; margin: 19px 0 0; color: #c7d8eb; font-size: 13px; line-height: 1.7; }
.auth-story-flow { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; color: #d4e4f5; font-size: 9px; }
.auth-story-flow span { display: inline-flex; align-items: center; gap: 7px; }
.auth-story-flow .icon { color: #00adfe; }
.auth-story-flow i { width: 22px; height: 1px; background: rgba(0, 173, 254, .48); }
.auth-story-footer { position: relative; z-index: 1; display: flex; gap: 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(0, 173, 254, .23); color: #d0dfef; font-size: 9px; }
.auth-story-footer span { display: inline-flex; align-items: center; gap: 6px; }
.auth-story-footer .icon { color: #00adfe; }
.auth-panel { display: flex; min-height: 100vh; flex-direction: column; padding: 30px clamp(25px, 5vw, 72px) 22px; background: #fbfcfa; }
.auth-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #7c897f; font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.auth-panel-switch { padding: 5px 0; border: 0; background: transparent; color: #005ca8; font-size: 9px; font-weight: 700; cursor: pointer; }
.auth-panel-switch:hover { color: #002a69; text-decoration: underline; }
.auth-card { width: min(100%, 430px); align-self: center; margin: auto 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.auth-card h2 { margin: 0 0 8px; color: #263a2d; font: 700 29px/1.2 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1px; }
.auth-description { margin-bottom: 26px; color: #69766c; font-size: 11px; line-height: 1.65; }
.auth-form { gap: 17px; }
.auth-form .field { gap: 8px; color: #4f5f53; font-size: 10px; }
.auth-form .field > input { min-height: 44px; border-color: #d6e2ed; background: #fff; font-size: 11px; }
.auth-form .field > input::placeholder { color: #79877c; }
.auth-submit { min-height: 46px; justify-content: space-between; margin-top: 5px; padding: 0 15px; font-size: 11px; }
.auth-security { display: flex; align-items: flex-start; gap: 8px; margin: 25px 0 0; padding-top: 14px; border-top: 1px solid #e4eae4; color: #68776c; font-size: 9px; line-height: 1.6; text-align: left; }
.auth-security .icon { flex: 0 0 auto; margin-top: 1px; color: #006bb6; }
.auth-error { padding: 11px 12px; color: #87443c; font-size: 10px; }
@keyframes journey-reveal { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
  .public-nav { padding-right: 28px; padding-left: 28px; }
  .public-hero { grid-template-columns: minmax(0, .94fr) minmax(350px, 1.06fr); gap: 24px; padding: 50px 28px 64px; }
  .public-hero h1 { font-size: clamp(38px, 5vw, 51px); }
  .journey-visual { min-height: 390px; padding: 23px 21px 20px; }
  .journey-stage { min-height: 61px; }
  .auth-screen { grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr); }
  .auth-story { padding-right: 34px; padding-left: 34px; }
  .auth-panel { padding-right: 34px; padding-left: 34px; }
}
@media (max-width: 720px) {
  .public-nav { min-height: 68px; height: auto; flex-wrap: wrap; gap: 0 8px; padding: 6px 19px; }
  .public-nav-links { order: 3; width: 100%; justify-content: space-between; gap: 15px; overflow-x: auto; }
  .public-nav-links a, .public-nav-links button { flex: 0 0 auto; font-size: 10px; }
  .public-nav-actions { gap: 12px; }
  .public-nav-actions .button { min-height: 36px; padding: 0 11px; font-size: 9px; }
  .public-login { font-size: 10px; }
  .public-nav { min-width: 0; max-width: 100%; }
  .public-nav > .public-brand, .public-nav-actions, .public-nav-links { min-width: 0; }
  .public-nav-links { justify-content: flex-start; }
  .public-hero { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 48px 23px 60px; }
  .public-hero-copy { width: 100%; min-width: 0; padding-left: 0; }
  .public-hero h1 { width: 100%; max-width: 100%; font-size: clamp(35px, 9vw, 52px); overflow-wrap: anywhere; }
  .public-lede { font-size: 13px; }
  .journey-visual { width: min(100%, 560px); max-width: 100%; min-width: 0; justify-self: center; }
  .public-flow, .public-capabilities { padding: 61px 23px; }
  .public-section-heading { align-items: flex-start; flex-direction: column; gap: 11px; margin-bottom: 26px; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { min-height: auto; padding: 17px 0 21px; }
  .flow-step + .flow-step { padding-left: 0; border-left: 0; border-top: 1px solid #d8e3da; }
  .flow-step h3 { margin-top: 10px; }
  .public-capabilities { grid-template-columns: 1fr; gap: 26px; }
  .public-capabilities > div:first-child { padding-top: 0; }
  .public-close { align-items: flex-start; flex-direction: column; gap: 21px; padding: 34px 23px; }
  .public-footer { min-height: 69px; padding: 0 20px; }
  .public-footer > span { display: none; }
  .public-footer nav { flex-wrap: wrap; justify-content: flex-end; gap: 4px 13px; }
  .public-page-intro { padding: 42px 23px 30px; }
  .public-page-intro h1 { font-size: 31px; letter-spacing: -1px; }
  .public-page-intro > p:last-child { font-size: 12px; }
  .public-page-content { padding: 25px 23px 48px; }
  .pricing-grid, .services-grid, .contact-layout { grid-template-columns: 1fr; }
  .pricing-option { min-height: 0; }
  .pricing-description { min-height: 0; }
  .contact-layout { gap: 14px; }
  .contact-aside { padding: 2px 0; }
  .contact-panel { padding: 18px; }
  .public-page-cta { align-items: flex-start; flex-direction: column; padding: 20px; }
  .auth-screen { grid-template-columns: 1fr; }
  .auth-story { min-height: 285px; padding: 22px 25px 20px; }
  .auth-story::before { top: -222px; right: -64px; }
  .auth-story::after { top: -170px; right: -29px; }
  .auth-brand { margin-top: 24px; }
  .auth-screen .auth-brand img { width: 118px; height: 65px; }
  .auth-story-copy { margin: 38px 0 25px; padding: 0; }
  .auth-story-copy h1 { max-width: 520px; font-size: clamp(32px, 7vw, 45px); }
  .auth-story-copy > p:last-child { margin-top: 11px; font-size: 11px; }
  .auth-story-flow { display: none; }
  .auth-story-footer { gap: 16px; margin-top: 0; padding-top: 12px; font-size: 8px; }
  .auth-panel { min-height: min(620px, 100vh); padding: 21px 25px 24px; }
  .auth-card { margin: 48px auto; }
  .auth-panel-top { font-size: 7px; }
}
@media (max-width: 420px) {
  .public-nav { gap: 8px; padding: 0 14px; }
  .public-brand { min-width: 0; flex: 1; gap: 0; font-size: 14px; }
  .public-nav-actions { gap: 7px; }
  .public-nav-actions .button { font-size: 8px; }
  .public-nav-links { gap: 11px; }
  .public-nav-links a, .public-nav-links button { font-size: 9px; }
  .public-brand img { width: 112px; height: 62px; }
  .public-nav-actions { flex: 0 0 auto; gap: 8px; }
  .public-login { white-space: nowrap; }
  .public-nav-actions .button { gap: 4px; padding: 0 7px; font-size: 8px; white-space: nowrap; }
  .public-hero { padding: 39px 17px 48px; }
  .public-hero h1 { width: 100%; font-size: clamp(32px, 9.5vw, 38px); letter-spacing: -1.5px; }
  .public-assurance { gap: 8px 11px; font-size: 8px; }
  .journey-visual { min-height: 0; padding: 20px 15px 17px; }
  .journey-live { font-size: 6px; letter-spacing: 0; }
  .journey-stage { min-height: 58px; gap: 10px; padding: 7px 9px; }
  .journey-stage strong { font-size: 10px; }
  .journey-stage small { font-size: 8px; }
  .public-flow, .public-capabilities { padding-right: 17px; padding-left: 17px; }
  .public-close { padding-right: 17px; padding-left: 17px; }
  .public-footer { padding-right: 15px; padding-left: 15px; }
  .auth-story { min-height: 275px; padding-right: 18px; padding-left: 18px; }
  .auth-story-copy h1 { font-size: 34px; }
  .auth-story-footer { flex-wrap: wrap; gap: 8px 14px; }
  .auth-panel { padding-right: 19px; padding-left: 19px; }
  .auth-panel-switch { max-width: 165px; font-size: 8px; text-align: right; }
  .auth-card h2 { font-size: 26px; }
}
