:root {
  color-scheme: light;
  --ink: #192521;
  --muted: #57665f;
  --forest: #15362d;
  --rail: #142e27;
  --ink-inverted: #f5f9f4;
  --active-nav: #2e4b3d;
  --mint: #dcece1;
  --lime: #d9efab;
  --page: #f3f5f1;
  --panel: #fff;
  --line: #dce3da;
  --focus: #5a802f;
  --radius: 14px;
  font: 15px/1.45 "Inter", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: inherit; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .table-scroll:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
h1, h2, p { margin: 0; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 9px 13px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.rail { background: var(--rail); color: var(--ink-inverted); min-height: 100dvh; position: sticky; top: 0; height: 100dvh; padding: 34px 19px 22px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-inverted); }
.rail .brand { margin: 0 7px 48px; }
.mark { width: 39px; aspect-ratio: 1; border-radius: 11px; background: var(--lime); color: var(--rail); display: grid; place-items: center; font-size: 23px; font-weight: 750; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .08em; }
.brand small { color: #c9d8cc; font-size: 12px; }
.nav { display: grid; gap: 6px; }
.nav a { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 8px 11px; color: #d9e6dc; border-radius: 8px; text-decoration: none; font-weight: 600; }
.nav a:hover { background: #204036; }
.nav a[aria-current] { color: #f8fcef; background: var(--active-nav); box-shadow: inset 3px 0 var(--lime); }
.nav-icon { width: 17px; height: 17px; margin-left: 2px; display: inline-grid; place-items: center; color: var(--lime); font-weight: 700; font-size: 14px; }
.icon-bank { border: 1px solid currentColor; border-radius: 4px; background: repeating-linear-gradient(to bottom, transparent 0 2px, var(--lime) 2px 3px, transparent 3px 5px) center / 9px 9px no-repeat; }
.account { margin: auto 4px 0; padding: 16px 3px 0; border-top: 1px solid #365345; display: flex; align-items: center; gap: 10px; }
.avatar { flex: 0 0 32px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #315447; color: var(--lime); font-weight: 700; }
.identity { min-width: 0; }
.identity strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.identity button { padding: 0; border: 0; background: none; color: #ceded2; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.workspace { padding: 39px clamp(18px, 4vw, 56px) 52px; width: 100%; max-width: 1730px; margin-inline: auto; }
.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 27px; }
h1 { font-size: clamp(33px, 4.6vw, 55px); letter-spacing: -.055em; font-weight: 720; line-height: 1.05; }
.page-header p { margin-top: 10px; color: var(--muted); }
.date-display { background: var(--mint); border: 1px solid #cddfd4; border-radius: 11px; padding: 8px 14px; text-align: right; white-space: nowrap; }
.date-display span { display: block; font-size: 12px; color: #3e5a4d; }
.date-display strong { font-variant-numeric: tabular-nums; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 21px; }
.metric { display: grid; gap: 3px; min-height: 94px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.metric span { color: var(--muted); font-size: 13px; }
.metric strong { font-size: 30px; line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.panel-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 18px 10px; }
.panel-header h2 { font-size: 21px; font-weight: 700; letter-spacing: -.028em; }
.panel-header p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 9px; padding: 4px 18px 16px; }
.filters label, .login-card label { display: grid; gap: 4px; color: #384a41; font-size: 12px; font-weight: 650; }
.filters label { max-width: 340px; min-width: 121px; }
.filters .search { flex: 1 1 226px; max-width: 400px; }
input, select { min-width: 0; max-width: 100%; width: 100%; min-height: 38px; border: 1px solid #cbd6cc; border-radius: 7px; padding: 7px 10px; color: var(--ink); background: #fff; font-size: 14px; font-weight: 400; }
input::placeholder { color: #66746b; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 38px; padding: 7px 14px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 650; text-decoration: none; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #244d3f; }
.secondary { background: #fff; border-color: var(--line); color: var(--forest); }
.secondary:hover { background: #eff4ee; }
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: -3px; }
table { width: 100%; min-width: 880px; border-collapse: collapse; text-align: left; font-size: 13px; }
thead { color: #45584d; background: #eff3ed; }
th { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
th, td { padding: 11px 12px; border-top: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: 18px; }
th:last-child, td:last-child { padding-right: 18px; }
td { vertical-align: top; }
tbody tr:nth-child(even) { background: #fafcf9; }
tbody tr:hover { background: #f2f7f0; }
td strong, td small { display: block; }
td strong { font-weight: 650; }
td small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.code, .currency, .number { font-variant-numeric: tabular-nums; }
.code { white-space: nowrap; }
.number { text-align: right; white-space: nowrap; }
.status { display: inline-block; border-radius: 6px; padding: 3px 6px; background: #f1eee2; color: #624b1c; font-size: 11px; line-height: 1.35; }
.status.linked { background: #e3f0e5; color: #2b573b; }
details { color: #4d6255; font-size: 12px; margin-top: 4px; }
summary { width: fit-content; }
details p { margin: 5px 0; max-width: 380px; overflow-wrap: anywhere; }
.interest-table { min-width: 830px; }
.interest-table th:nth-child(3) { width: 35%; }
.interest-table th:nth-child(5) { width: 19%; }
.empty { padding: 24px 18px; border-top: 1px solid var(--line); color: var(--muted); }
.login-shell { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; background: #f5f7f2; }
.login-brand { min-height: 620px; position: relative; isolation: isolate; overflow: hidden; padding: clamp(25px, 5vw, 71px); display: flex; flex-direction: column; gap: 30px; background: radial-gradient(ellipse at 103% 110%, #335744, transparent 67%), var(--rail); color: var(--ink-inverted); }
.login-heading { margin: auto 0; }
.login-heading p { font-size: 13px; color: #c1d2c2; margin-bottom: 13px; }
.login-heading h1 { font: 670 clamp(40px, 5.25vw, 88px)/.98 "Inter", "Segoe UI", sans-serif; letter-spacing: -.065em; }
.login-caption { display: flex; gap: 12px; align-items: center; color: #dbe8d8; font-size: 13px; }
.login-caption span { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.login-art { position: absolute; z-index: -1; inset: auto -67px -23px auto; display: flex; align-items: flex-end; gap: clamp(8px, 1.25vw, 19px); opacity: .65; }
.login-art span { display: block; border: 1px solid #66836f; border-bottom: 0; background: #ffffff08; width: clamp(30px, 6vw, 100px); height: clamp(51px, 9vw, 145px); border-radius: 12px 12px 0 0; }
.login-art span:nth-child(2) { height: clamp(72px, 11vw, 175px); }
.login-art span:nth-child(3) { height: clamp(105px, 18vw, 260px); }
.login-art span:nth-child(4) { height: clamp(120px, 22vw, 320px); }
.login-art span:nth-child(5) { height: clamp(145px, 31vw, 440px); }
.login-main, .error-page { display: grid; place-items: center; padding: 24px; }
.error-page { min-height: 100dvh; }
.login-card { width: min(100%, 395px); padding: clamp(23px, 4vw, 37px); background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 18px 48px #2545330a; }
.login-card h2 { font-size: 35px; letter-spacing: -.055em; margin: 5px 0 22px; }
.login-card form { display: grid; gap: 7px; }
.login-card form label:not(:first-of-type) { margin-top: 7px; }
.login-card input { min-height: 42px; }
.login-card .login-button { justify-content: space-between; margin-top: 12px; min-height: 45px; }
.login-card h1 { font-size: 31px; margin-block: 10px; }
.login-card .button:not(button) { margin-top: 12px; }
.kicker { color: #4c6a54; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.alert { padding: 8px 10px; border-radius: 7px; color: #8b302b; background: #faebe8; font-size: 13px; margin-bottom: 14px; }
@media (max-width: 880px) {
  .shell { grid-template-columns: 180px minmax(0, 1fr); }
  .rail { padding-inline: 12px; }
}
@media (max-width: 640px) {
  .shell { display: block; }
  .rail { position: static; min-height: 0; height: auto; padding: 12px 13px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
  .rail .brand { margin: 0; }
  .nav { grid-row: 2; grid-column: 1 / -1; display: flex; }
  .nav a { min-height: 38px; font-size: 13px; }
  .account { margin: 0; padding: 0; border: 0; }
  .workspace { padding: 24px 12px; }
  .page-header { align-items: flex-start; margin-bottom: 17px; gap: 8px; }
  .page-header p { font-size: 13px; }
  .date-display { padding: 5px 8px; font-size: 12px; }
  .metrics { gap: 5px; margin-bottom: 13px; }
  .metric { padding: 7px; min-height: 70px; gap: 1px; }
  .metric span { font-size: 11px; }
  .metric strong { font-size: 25px; }
  .filters, .panel-header { padding-inline: 11px; }
  .login-shell { display: block; }
  .login-brand { min-height: 245px; padding: 17px; gap: 15px; }
  .login-heading h1 { font-size: 40px; }
  .login-heading p { margin-bottom: 5px; }
}

@media (max-width: 375px) {
  .page-header { flex-wrap: wrap; }
}

.header-actions { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; justify-content: flex-end; }
.print-action[hidden], .report-brand { display: none; }

@page { size: A4 landscape; margin: 12mm; }

@media print {
  :root { font: 9.5pt/1.35 Arial, sans-serif; }
  body { background: #fff; color: #111; }
  .shell, .workspace { display: block; width: auto; max-width: none; min-height: 0; margin: 0; padding: 0; }
  .rail, .skip-link, .filters, .print-action { display: none !important; }
  .report-brand { display: block; margin-bottom: 3mm; font-weight: 700; }
  .page-header { gap: 4mm; align-items: end; margin-bottom: 4mm; }
  .page-header h1 { font-size: 23pt; letter-spacing: -.025em; }
  .page-header p { margin-top: 1mm; color: #333; }
  .header-actions, .date-display { display: block; }
  .date-display { padding: 0; border: 0; background: none; }
  .date-display span { color: #333; font-size: 9pt; }
  .metrics { margin-bottom: 4mm; gap: 3mm; }
  .metric { min-height: 0; padding: 2mm 3mm; gap: 1mm; border: 1px solid #bbb; border-radius: 0; }
  .metric span { color: #333; font-size: 9pt; }
  .metric strong { font-size: 14pt; }
  .page-header, .metrics, .panel-header { break-inside: avoid; break-after: avoid; }
  .panel { border: 0; border-radius: 0; overflow: visible; }
  .panel-header { padding: 0 0 2mm; }
  .panel-header h2 { font-size: 13pt; }
  .panel-header p { color: #333; font-size: 9pt; }
  .table-scroll { overflow: visible; }
  table, .interest-table { min-width: 0; width: 100%; font-size: 9pt; }
  thead { display: table-header-group; background: #fff; color: #111; }
  tbody { display: table-row-group; }
  tr { break-inside: avoid; page-break-inside: avoid; }
  th, td, th:first-child, td:first-child, th:last-child, td:last-child { padding: 1.2mm 2mm; border-top: 1px solid #b5b5b5; }
  th { font-size: 8pt; text-transform: none; letter-spacing: 0; white-space: normal; border-bottom: 1px solid #777; }
  td { overflow-wrap: anywhere; }
  td small, details { color: #333; font-size: 8pt; }
  .status, .status.linked { padding: 0; background: #fff; color: #111; font-size: 8.5pt; }
  tbody tr:nth-child(even), tbody tr:hover { background: #fff; }
  .interest-table th:nth-child(3) { width: 44%; }
  .interest-table th:nth-child(5) { width: 15%; }
  .interest-table details:not([open]) { display: none; }
  details summary { display: block; }
  details summary::-webkit-details-marker { display: none; }
  .empty { padding: 3mm 0; }
}

.icon-data { border: 1px solid currentColor; border-radius: 50% / 22%; background: repeating-linear-gradient(to bottom, transparent 0 4px, var(--lime) 4px 5px, transparent 5px 6px); }
.bank-table { min-width: 1080px; }
.catalog-grid, .record-sections { display: grid; gap: 14px; }
.catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-group h2, .record-panel h2 { padding: 15px 18px; font-size: 19px; letter-spacing: -.025em; }
.catalog-list { list-style: none; margin: 0; padding: 0; }
.catalog-list a { display: flex; justify-content: space-between; gap: 18px; padding: 11px 18px; text-decoration: none; border-top: 1px solid var(--line); }
.catalog-list a:hover { background: var(--page); }
.catalog-list strong { font-variant-numeric: tabular-nums; color: var(--forest); }
.catalog-table { min-width: 630px; }
.record-link { color: var(--forest); font-weight: 650; text-underline-offset: 3px; }
.detail-action { font-size: 12px; display: inline-block; margin-top: 4px; }
.record-fields { margin: 0; }
.record-fields .record-field { display: grid; grid-template-columns: minmax(135px, 26%) minmax(0, 1fr); gap: 14px; padding: 10px 18px; border-top: 1px solid var(--line); }
.record-field dt { color: var(--muted); font-weight: 650; }
.record-field dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.record-field pre { margin: 0; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--page); border-radius: 7px; font: 12px/1.45 ui-monospace, monospace; }
.pagination { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.report-selection { display: none; }

@media (max-width: 640px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .record-fields .record-field { grid-template-columns: 1fr; gap: 3px; }
  .nav { flex-wrap: wrap; }
}

@media print {
  .bank-table, .catalog-table { min-width: 0; }
  .bank-table .number { font-size: 8.5pt; }
  .bank-table .number small { white-space: normal; }
  .detail-action, .pagination { display: none; }
  .report-selection { display: block; padding-bottom: 2mm; }
  .catalog-group, .record-panel { border: 0; overflow: visible; }
  .catalog-group h2, .record-panel h2 { padding: 1mm 0 2mm; font-size: 13pt; break-after: avoid; }
  .catalog-list a, .record-fields .record-field { padding: 1.2mm 0; }
  .record-field:not(.record-long) { break-inside: avoid; }
  .record-long { display: block !important; }
  .record-field pre { background: #fff; padding: 1mm 0; font-size: 8pt; }
}

@media print {
  .record-source:not([open]) { display: none; }
}

@media print { .interest-table td:first-child small { white-space: nowrap; } }

.icon-company { border: 1px solid currentColor; border-radius: 3px 3px 1px 1px; background: repeating-linear-gradient(to bottom, transparent 0 2px, var(--lime) 2px 3px, transparent 3px 4px) center / 7px 10px no-repeat; }
.company-filter { padding: 0 0 16px; }
.company-filter label { min-width: min(280px, 100%); }
.company-panel { margin-bottom: 15px; }
.company-panel .panel-header { padding-bottom: 12px; }
.company-balances { min-width: 520px; }
.company-financings { min-width: 1070px; }
.company-financings th:last-child { width: 29%; }
.company-financings td:first-child small { overflow-wrap: anywhere; }
.company-securities { min-width: 680px; }

@media print {
  .company-balances, .company-financings, .company-securities { min-width: 0; }
  .company-panel { margin-bottom: 4mm; }
  .company-panel .panel-header { padding: 0 0 2mm; }
  .company-financings .number { font-size: 8.5pt; }
  .company-financings details:not([open]) { display: none; }
  .company-financings th:nth-child(3) { white-space: nowrap; }
}
