:root {
  --rose: #b66f7c;
  --rose-strong: #965965;
  --rose-deep: #6f3f49;
  --rose-soft: #f5e5e6;
  --cream: #f8f1e8;
  --cream-2: #eee0cc;
  --gold: #d7b875;
  --gold-soft: #f5ead0;
  --ink: #2e2828;
  --ink-soft: #615a5a;
  --line: #e7ddd6;
  --surface: #ffffff;
  --success: #2f795d;
  --success-soft: #e6f3ed;
  --warning: #a76624;
  --warning-soft: #fff0db;
  --danger: #a33f4b;
  --danger-soft: #fbe8e9;
  --shadow: 0 12px 35px rgba(85, 56, 51, 0.08);
  --radius: 18px;
  --sidebar: 252px;
  --control-height: 44px;
  --control-radius: 11px;
  --text-meta: .75rem;
  --text-small: .875rem;
  --font-ui: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --heading-font: var(--font-ui);
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--ink);
  background: #f8f6f3;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #f8f6f3; }
body { margin: 0; min-height: 100vh; font-size: 16px; line-height: 1.5; font-weight: 400; }
button, input, select, textarea { font: inherit; }
strong, b { font-weight: 700; }
input::placeholder, textarea::placeholder { font-weight: 400; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
.hidden { display: none !important; }
.muted { color: var(--ink-soft); }
.right { text-align: right; }
.uppercase { text-transform: uppercase; }

:focus-visible {
  outline: 3px solid rgba(182, 111, 124, .28);
  outline-offset: 2px;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  background: var(--cream);
}

.login-brand {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.8), transparent 27%),
    linear-gradient(145deg, #faf4ea 0%, #f1dfc2 100%);
}

.login-brand::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(182,111,124,.22);
  border-radius: 50%;
  right: -160px;
  bottom: -160px;
  box-shadow: 0 0 0 58px rgba(255,255,255,.16), 0 0 0 116px rgba(182,111,124,.05);
}

.login-brand img {
  width: min(320px, 68%);
  max-height: 265px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  margin-bottom: 46px;
  transform: translateY(-18px);
}

.login-brand-copy { position: relative; z-index: 1; max-width: 590px; text-align: left; }
.login-brand .eyebrow { display: block; margin-bottom: 12px; font-size: clamp(1.25rem, 1.88vw, 1.96rem); font-weight: 700; letter-spacing: .055em; text-transform: none; }
.eyebrow, .card-kicker, .breadcrumb {
  margin: 0 0 6px;
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--rose-strong);
}

.login-brand h1 {
  margin: 0;
  max-width: 560px;
  font-family: var(--heading-font);
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .025em;
  color: var(--rose-strong);
}

.login-brand-copy p { margin: 22px 0 0; max-width: 560px; font-size: .9375rem; line-height: 1.5; color: var(--rose-strong); }
.login-panel { display: grid; place-items: center; padding: 32px; background: rgba(255,255,255,.72); }
.login-card { width: min(410px, 100%); padding: 34px 36px; background: #fff; border: 1px solid rgba(182,111,124,.14); border-radius: 24px; box-shadow: 0 24px 60px rgba(90, 55, 50, .1); }
.login-brand-copy, .login-card { text-transform: none; }
.login-card h2 { margin: 15px 0 5px; font-family: var(--heading-font); font-size: 1.42rem; line-height: 1.25; font-weight: 700; letter-spacing: -.012em; }
.login-intro { margin: 0 0 18px; font-size: .875rem; }
.login-card > label, .dialog-body > label { display: block; margin: 17px 0 7px; font-size: var(--text-small); font-weight: 700; }
.login-card .field { font-size: .875rem; }
.login-card .button, .login-card .text-button, .login-card .icon-button { font-size: .8125rem; }
.demo-pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--rose-soft); color: var(--rose-strong); font-size: .7rem; font-weight: 700; letter-spacing: .035em; }
.login-note { margin: 15px 0 0; text-align: center; font-size: .75rem; line-height: 1.45; color: var(--ink-soft); }
.developer-credit { display: grid; justify-items: center; gap: 3px; margin: 16px 0 0; padding-top: 13px; border-top: 1px solid var(--line); text-align: center; text-transform: none; color: var(--ink-soft); font-size: .7rem; }
.developer-brand-link { color: var(--rose-strong); font-weight: 700; text-decoration: none; }
.developer-brand-link:hover { text-decoration: underline; }
.developer-contacts { display: flex; justify-content: center; gap: 8px; margin-top: 7px; }
.developer-contact { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; transition: transform .15s, box-shadow .15s; }
.developer-contact:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(46,40,40,.12); }
.developer-contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.developer-contact.whatsapp { color: #227a58; border-color: #c7e1d5; background: var(--success-soft); }
.developer-contact.email { color: var(--rose-deep); border-color: #ecd0d4; background: var(--rose-soft); }
.password-wrap { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }

.field, .compact-field input, .compact-field select, .topbar select {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid #dcd1cb;
  border-radius: var(--control-radius);
  padding: 10px 12px;
  font-size: var(--text-small);
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.field:focus, .compact-field input:focus, .compact-field select:focus, .topbar select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(182,111,124,.1);
  outline: none;
}
.date-field-control { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 7px; }
.date-field-control > input { cursor: pointer; }
.date-field-control > input[data-manual-date="true"] { cursor: text; }
.date-field-control > input::-webkit-calendar-picker-indicator { opacity: 0; pointer-events: none; }
.date-picker-trigger { min-width: 42px; height: var(--control-height); display: grid; place-items: center; border: 1px solid #dcd1cb; border-radius: var(--control-radius); background: var(--rose-soft); color: var(--rose-deep); }
.date-picker-trigger:hover { border-color: var(--rose); background: #efd8dc; }
.date-picker-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.month-value-input { display: none !important; }
.period-field-enhanced { width: min(430px, 100%); }
.month-navigator { display: grid; grid-template-columns: 40px minmax(150px, 1fr) 92px 40px; gap: 8px; align-items: center; }
.month-navigator .month-step { width: 40px; height: var(--control-height); border: 1px solid #dcd1cb; border-radius: var(--control-radius); background: #fff; color: var(--ink-soft); font-size: 1.1rem; font-weight: 700; }
.month-navigator .month-step:hover { border-color: var(--rose); background: var(--rose-soft); color: var(--rose-deep); }
.month-navigator [data-year-input] { text-align: center; }

textarea.field { resize: vertical; }
.button {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  padding: 10px 16px;
  font-size: var(--text-small);
  font-weight: 700;
  transition: transform .15s, background .15s, border-color .15s;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--rose-strong); box-shadow: 0 8px 20px rgba(150,89,101,.18); }
.button.primary:hover { background: var(--rose-deep); }
.button.secondary { color: var(--rose-deep); background: var(--rose-soft); border-color: #ecd0d4; }
.button.ghost { color: var(--ink-soft); background: #fff; border-color: var(--line); }
.button.danger { color: var(--danger); background: var(--danger-soft); border-color: #f2cfd3; }
.button.success-action { color: #fff; background: var(--success); box-shadow: 0 8px 20px rgba(47,121,93,.18); }
.button.success-action:hover { background: #255f49; }
.button.danger-action { color: #fff; background: var(--danger); box-shadow: 0 8px 20px rgba(163,63,75,.18); }
.button.danger-action:hover { background: #82333d; }
.button.small { min-height: 40px; padding: 8px 12px; font-size: var(--text-small); }
.button.full { width: 100%; margin-top: 28px; }
.icon-button, .menu-button {
  min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-soft); font-weight: 700;
}
.menu-button { display: none; font-size: 1.15rem; }
.text-button { padding: 6px; border: 0; background: transparent; color: var(--rose-strong); font-weight: 700; }

.app-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; background: #f8f6f3; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
}
.sidebar-brand { display: flex; align-items: center; min-height: 130px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.sidebar-brand img { display: block; width: 156px; height: 102px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.sidebar-nav { flex: 1; padding: 16px 12px 20px; overflow-y: auto; }
.nav-label { display: block; margin: 18px 10px 7px; color: #9a9090; font-size: var(--text-meta); font-weight: 700; letter-spacing: .08em; }
.nav-item {
  width: 100%; min-height: var(--control-height); display: flex; align-items: center; gap: 11px; border: 0; border-radius: var(--control-radius); padding: 9px 11px; background: transparent; color: #544e4e; text-align: left; font-size: var(--text-small); font-weight: 700;
}
.nav-item:hover { background: #faf4f1; color: var(--rose-deep); }
.nav-item.active { background: var(--rose-soft); color: var(--rose-deep); box-shadow: inset 3px 0 0 var(--rose); }
.nav-icon { width: 24px; text-align: center; font-size: 1.12rem; color: var(--rose); }
.nav-item.movement-entry .nav-icon { color: var(--success); }
.nav-item.movement-entry:hover, .nav-item.movement-entry.active { color: var(--success); background: var(--success-soft); box-shadow: inset 3px 0 0 var(--success); }
.nav-item.movement-expense .nav-icon { color: var(--danger); }
.nav-item.movement-expense:hover, .nav-item.movement-expense.active { color: var(--danger); background: var(--danger-soft); box-shadow: inset 3px 0 0 var(--danger); }
.sidebar-developer { flex: none; padding: 12px 18px; border-top: 1px solid var(--line); text-align: center; color: var(--ink-soft); font-size: var(--text-meta); }
.sidebar-developer > span, .sidebar-developer > .developer-brand-link { display: block; }
.sidebar-developer .developer-contacts { margin-top: 8px; }
.sidebar-footer { display: grid; grid-template-columns: 40px 1fr; gap: 11px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.sidebar-footer strong, .sidebar-footer span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer strong { font-size: var(--text-small); }
.sidebar-footer span { font-size: var(--text-meta); color: var(--ink-soft); }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--rose), var(--rose-deep)); color: #fff; font-size: var(--text-meta); font-weight: 700; }

.main-column { grid-column: 2; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(22px, 4vw, 52px); background: rgba(248,246,243,.93); border-bottom: 1px solid rgba(231,221,214,.8); backdrop-filter: blur(14px); }
.topbar-left { display: flex; gap: 14px; align-items: center; }
.topbar h1 { margin: 0; font-family: var(--heading-font); font-size: 1.58rem; font-weight: 700; }
.breadcrumb { margin-bottom: 0; }
.topbar-actions { display: flex; align-items: end; gap: 10px; }
.topbar-profile { min-height: 52px; display: flex; align-items: center; gap: 9px; padding: 3px 5px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); text-align: left; }
.topbar-profile:hover { background: var(--rose-soft); }
.topbar-profile-avatar, .profile-photo-preview { position: relative; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--rose-soft); color: var(--rose-deep); font-weight: 800; }
.topbar-profile-avatar { width: 46px; height: 46px; font-size: .8rem; }
.topbar-profile-avatar img, .profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.topbar-profile-copy { display: grid; line-height: 1.2; }
.topbar-profile-copy strong { max-width: 150px; overflow: hidden; font-size: .8125rem; text-overflow: ellipsis; white-space: nowrap; }
.topbar-profile-copy small { margin-top: 3px; color: var(--ink-soft); font-size: .7rem; }
.profile-photo-editor { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fdfbf9; }
.profile-photo-preview { width: 82px; height: 82px; font-size: 1.25rem; }
.profile-photo-editor strong { display: block; }
.profile-photo-editor p { margin: 3px 0 10px; color: var(--ink-soft); font-size: var(--text-small); }
.profile-photo-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.compact-field { display: grid; gap: 4px; min-width: 148px; }
.compact-field > span { color: var(--ink-soft); font-size: .8125rem; font-weight: 700; }
.compact-field input, .compact-field select, .topbar select { min-height: var(--control-height); padding: 9px 12px; font-size: var(--text-small); }
.compact-field.grow { flex: 1; }
.receivable-search-field { min-width: 320px; }
.catalog-search-field { min-width: 220px; }
.workspace { max-width: 1580px; margin: 0 auto; padding: 34px clamp(22px, 4vw, 52px) 64px; }
.page { display: none; animation: page-in .2s ease-out; }
.page.active { display: block; }
@keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.page-heading h2 { margin: 0; font-family: var(--heading-font); font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 700; letter-spacing: -.02em; }
.movement-entry-heading .eyebrow, .movement-entry-heading h2 { color: var(--success); }
.movement-expense-heading .eyebrow, .movement-expense-heading h2 { color: var(--danger); }
.page-description { margin: 7px 0 0; max-width: 720px; color: var(--ink-soft); }
.heading-actions { display: flex; gap: 10px; align-items: end; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.card-header h3 { margin: 0; font-family: var(--heading-font); font-size: 1.25rem; font-weight: 700; }
.card-kicker { display: block; }
.attention-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 62px; margin-bottom: 18px; padding: 13px 18px; border: 1px solid #efd7ad; border-radius: 14px; background: linear-gradient(90deg, #fff7e9, #fffdf9); color: #745023; }
.attention-card.success { border-color: #c7e1d5; background: var(--success-soft); color: #235e48; }
.attention-card strong { display: block; }
.attention-card span { font-size: var(--text-small); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi-card { position: relative; min-height: 146px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.kpi-card::after { content: ""; position: absolute; width: 92px; height: 92px; border-radius: 50%; right: -42px; top: -42px; background: var(--kpi-soft, var(--rose-soft)); }
.kpi-label { color: var(--ink-soft); font-size: .8125rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.kpi-value { display: block; margin: 14px 0 6px; font-family: var(--heading-font); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.15; color: var(--kpi-color, var(--ink)); }
.kpi-foot { color: var(--ink-soft); font-size: .8125rem; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 18px; margin-bottom: 18px; }
.chart-card { min-height: 380px; }
.legend { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: .8125rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-left: 7px; }
.dot.rose { background: var(--success); }
.dot.gold { background: var(--danger); }
.bar-chart { min-height: 290px; display: flex; align-items: stretch; gap: 12px; padding: 28px 24px 18px; overflow-x: auto; }
.bar-group { min-width: 48px; flex: 1; display: grid; grid-template-rows: 1fr 24px; gap: 8px; text-align: center; }
.bar-area { display: flex; align-items: end; justify-content: center; gap: 5px; border-bottom: 1px solid var(--line); }
.bar { width: min(16px, 42%); min-height: 3px; border-radius: 5px 5px 0 0; background: var(--success); transition: height .25s; }
.bar.out { background: var(--danger); }
.bar-group span { color: var(--ink-soft); font-size: var(--text-meta); }
.status-list { padding: 7px 20px 16px; }
.status-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.status-item:last-child { border-bottom: 0; }
.date-tile { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--cream); color: var(--rose-deep); font-weight: 700; }
.status-item strong, .status-item span { display: block; }
.status-item small { color: var(--ink-soft); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: #fbf8f5; color: #756d6b; font-size: var(--text-meta); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.sortable-table th[data-sort-body] { position: relative; padding-right: 27px; cursor: pointer; user-select: none; }
.sortable-table th[data-sort-body]::after { content: "↕"; position: absolute; right: 9px; color: #aaa09e; font-size: .75rem; }
.sortable-table th[data-sort-direction="asc"]::after { content: "↑"; color: var(--rose-strong); }
.sortable-table th[data-sort-direction="desc"]::after { content: "↓"; color: var(--rose-strong); }
.sortable-table th[data-sort-body]:focus-visible { outline: 2px solid var(--rose-strong); outline-offset: -2px; border-radius: 5px; }
td { font-size: var(--text-small); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fffcfa; }
.table-scroll { width: 100%; overflow-x: auto; }
.validation-table { min-width: 1010px; }
.validation-table th, .validation-table td { padding-inline: 10px; }
.validation-table th:last-child, .validation-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 190px;
  background: #fff;
  box-shadow: -10px 0 16px -16px rgba(46, 40, 40, .75);
}
.validation-table th:last-child,
.sortable-table.validation-table th[data-sort-body]:last-child { position: sticky; right: 0; z-index: 3; background: #fbf8f5; text-align: right; }
.validation-table tbody tr:hover td:last-child { background: #fffcfa; }
.validation-table-scroll { scrollbar-gutter: stable; }
.audit-detail-cell { width: 42%; min-width: 280px; max-width: 620px; }
.audit-detail summary { width: max-content; color: var(--rose-deep); font-weight: 700; cursor: pointer; }
.audit-detail pre { max-width: 100%; margin: 10px 0 0; padding: 12px; border-radius: 10px; background: var(--surface-soft); white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font: 400 .75rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--ink-soft); }
.empty-cell { padding: 34px; text-align: center; color: var(--ink-soft); }
.patient-note { display: block; max-width: 260px; margin-top: 3px; overflow: hidden; color: var(--ink-soft); font-size: var(--text-meta); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.table-subtitle { display: block; margin-top: 3px; color: var(--ink-soft); font-size: var(--text-meta); font-weight: 400; }
.patient-name-link { border: 0; padding: 0; background: transparent; color: var(--rose-deep); font: inherit; font-weight: 700; text-align: left; }
.patient-name-link:hover { color: var(--rose-strong); text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 4px 9px; border-radius: 999px; font-size: var(--text-meta); font-weight: 700; white-space: nowrap; }
.badge.success { color: var(--success); background: var(--success-soft); }
.badge.warning { color: var(--warning); background: var(--warning-soft); }
.badge.pending { color: #786230; background: var(--gold-soft); }
.badge.danger { color: var(--danger); background: var(--danger-soft); }
.badge.neutral { color: #5f5b5b; background: #f0eeee; }
.action-group { display: flex; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.action-link { border: 0; padding: 6px 8px; border-radius: 7px; color: var(--rose-strong); background: transparent; font-size: .8125rem; font-weight: 700; }
.action-link:hover { background: var(--rose-soft); }
.action-link.delete { color: var(--danger); }

.form-stack { display: grid; gap: 16px; }
.form-card { display: grid; grid-template-columns: 56px 1fr; padding: 24px; overflow: visible; }
.section-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--rose-soft); color: var(--rose-deep); font-family: var(--heading-font); font-weight: 700; }
.form-section-content { min-width: 0; }
.form-section-content.wide { grid-column: 1 / -1; }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 20px; }
.section-heading h3 { margin: 0; font-family: var(--heading-font); font-size: 1.25rem; font-weight: 700; }
.section-heading p { margin: 3px 0 0; color: var(--ink-soft); font-size: var(--text-small); }
.form-grid { display: grid; gap: 16px; }
.form-grid.three { grid-template-columns: 1.2fr .65fr 1fr; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid label, .form-section-content > label, .simple-form label, .dialog-body label { display: grid; gap: 7px; }
.form-grid label > span, .form-section-content > label > span, .simple-form label > span, .dialog-body label > span { color: #5c5555; font-size: var(--text-small); font-weight: 700; }
#entry-due-date-field { align-items: end; }
#entry-due-date-field .attention-card { min-height: var(--control-height); margin-bottom: 0; }
.patient-combobox { position: relative; }
.patient-combobox .field { width: 100%; }
.patient-search-results { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 265px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(46,40,40,.16); }
.patient-search-option { width: 100%; display: grid; gap: 2px; border: 0; border-bottom: 1px solid var(--line); padding: 11px 13px; background: #fff; color: var(--ink); text-align: left; }
.patient-search-option:last-child { border-bottom: 0; }
.patient-search-option:hover, .patient-search-option:focus-visible { background: var(--rose-soft); }
.patient-search-option strong { font-size: var(--text-small); }
.patient-search-option small { color: var(--ink-soft); font-size: var(--text-meta); }
.patient-search-empty { padding: 14px; color: var(--ink-soft); font-size: var(--text-small); text-align: center; }
.span-two { grid-column: span 2; }
.line-items-header, .line-row { display: grid; gap: 10px; align-items: center; }
.line-items-header { margin-bottom: 8px; padding: 0 5px; color: #867d7a; font-size: var(--text-meta); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.procedure-header, .procedure-row { grid-template-columns: minmax(240px, 1fr) 135px 140px 158px 40px; }
.payment-header, .payment-row { grid-template-columns: 1fr .85fr 110px 150px 40px; }
.line-items { display: grid; gap: 9px; }
.line-row { padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: #fdfcfb; }
.procedure-row { align-items: start; }
.procedure-row > :first-child { display: grid; grid-template-rows: var(--control-height) 1rem; gap: 4px; min-width: 0; }
.line-row .field { min-height: var(--control-height); }
.item-kind-hint { display: block; min-height: 1rem; margin: 0; color: var(--success); font-size: var(--text-meta); font-weight: 700; line-height: 1rem; }
.item-kind-hint.no { color: var(--ink-soft); }
.rank-choice { min-height: var(--control-height); display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--control-radius); background: #fff; color: var(--ink-soft); font-size: .8125rem; font-weight: 700; cursor: pointer; }
.rank-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--success); }
.rank-choice.checked { border-color: #bcdcca; background: var(--success-soft); color: var(--success); }
.rank-choice.disabled { opacity: .58; cursor: not-allowed; }
.remove-line { width: 36px; height: 36px; border: 0; border-radius: 9px; background: var(--danger-soft); color: var(--danger); font-weight: 700; }
.form-total { display: flex; justify-content: flex-end; align-items: center; gap: 22px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.form-total > strong { min-width: 170px; text-align: right; color: var(--rose-deep); font-family: var(--heading-font); font-size: 1.5rem; }
.balance-box { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding: 12px 15px; border-radius: 12px; background: var(--warning-soft); color: var(--warning); }
.balance-box.ok { background: var(--success-soft); color: var(--success); }
.balance-box strong { font-size: 1.05rem; }
.compact-card { padding: 24px; display: block; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.simple-form { padding: 24px; }

.filters-row { display: flex; gap: 12px; align-items: end; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.compact-range { display: flex; gap: 12px; align-items: end; }
.permission-note { margin-bottom: 16px; padding: 14px 16px; border-radius: 13px; border: 1px solid #e6d4a8; background: var(--gold-soft); color: #6e5927; }
.info-chip { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--cream); color: var(--ink-soft); font-size: var(--text-meta); }
.ranking-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 18px; }
.podium-card { position: relative; min-height: 142px; padding: 20px; border-radius: 17px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.podium-card:first-child { background: linear-gradient(145deg, #fff8e7, #fff); border-color: #ead3a0; }
.podium-position { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rose-soft); color: var(--rose-deep); font-weight: 700; }
.podium-card:first-child .podium-position { background: var(--gold); color: #fff; }
.podium-card h3 { margin: 16px 0 4px; font-family: var(--heading-font); font-size: 1.25rem; font-weight: 700; }
.podium-card p { margin: 0; color: var(--ink-soft); font-size: var(--text-small); }
.ticket-month-card { margin-bottom: 18px; }
.ticket-chart { min-height: 240px; display: flex; align-items: stretch; gap: 12px; padding: 25px 22px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.ticket-bar-group { min-width: 58px; flex: 1; display: grid; grid-template-rows: 30px 1fr 24px; gap: 8px; text-align: center; }
.ticket-bar-value { color: var(--rose-deep); font-size: var(--text-meta); font-weight: 700; white-space: nowrap; }
.ticket-bar-area { display: flex; align-items: end; justify-content: center; border-bottom: 1px solid var(--line); }
.ticket-bar { width: min(36px, 72%); min-height: 3px; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, var(--rose), var(--rose-strong)); }
.ticket-bar-group > span:last-child { color: var(--ink-soft); font-size: var(--text-meta); }
.ticket-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.catalog-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .62fr); gap: 18px; }
.catalog-side { display: grid; gap: 15px; align-content: start; }
.compact-list { padding: 19px; }
.compact-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.compact-list-head .card-kicker { margin: 0; }
.compact-list-item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--text-small); }
.compact-list-item:last-child { border-bottom: 0; }
.catalog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 2px; min-width: 205px; }
.catalog-item-removed { color: var(--ink-soft); background: #faf8f7; }
.catalog-item-removed strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.toggle {
  position: relative; width: 42px; height: 24px; border: 0; border-radius: 999px; background: #d7d1cf; vertical-align: middle;
}
.toggle::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: left .15s; }
.toggle.on { background: var(--success); }
.toggle.on::after { left: 21px; }

.security-notice { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 18px; padding: 17px 19px; border: 1px solid #efd7ad; border-radius: 15px; background: linear-gradient(90deg, #fff7e9, #fffdf9); color: #745023; }
.security-notice strong, .security-notice span { display: block; }
.security-notice > div > span { margin-top: 3px; max-width: 980px; font-size: var(--text-small); }
.data-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-filters-card { margin-bottom: 18px; padding: 20px; overflow: visible; }
.report-filter-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.report-filter-grid label, .report-filter-grid label > span { display: block; }
.report-filter-grid label > span { margin-bottom: 7px; color: var(--ink-soft); font-size: var(--text-small); font-weight: 700; }
.report-period-row { display: flex; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.report-period-row .compact-field { min-width: 250px; }
.reports-list { display: grid; gap: 18px; }
.report-card { overflow: hidden; }
.report-card table { font-size: .8125rem; }
.report-card th { font-size: .75rem; }
.report-card th, .report-card td { padding-top: 10px; padding-bottom: 10px; }
.report-card .card-header h3 { font-size: 1rem; }
.report-meta { margin: 4px 0 0; color: var(--ink-soft); font-size: var(--text-small); }
.report-print-heading { display: none; }
.report-print-footer { display: none; }
.financial-report-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 22px 20px; }
.financial-report-totals > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.financial-report-totals span, .financial-report-totals strong { display: block; }
.financial-report-totals span { margin-bottom: 5px; color: var(--ink-soft); font-size: var(--text-small); }
.financial-report-totals strong { font-size: 1.3rem; }
.financial-report-totals > div:first-child strong { color: var(--success); }
.financial-report-totals > div:nth-child(2) strong, .financial-report-totals .negative { color: #a33f4b; }
.data-tool-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 23px; }
.data-tool-card h3 { margin: 1px 0 7px; font-size: 1.25rem; }
.data-tool-card p { margin: 0; color: var(--ink-soft); font-size: var(--text-small); }
.data-tool-card .sensitive-note { margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: var(--text-meta); }
.data-tool-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--rose-soft); color: var(--rose-deep); font-size: 1.2rem; font-weight: 700; }
.data-tool-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 17px 0 10px; }
.import-tool-card { grid-column: 1 / -1; }
.import-controls { align-items: end; margin-top: 17px; }
.import-buttons { display: flex; flex-wrap: wrap; gap: 9px; align-items: end; min-height: var(--control-height); }
.import-preview { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.import-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 16px; background: #fbf8f5; border-bottom: 1px solid var(--line); }
.import-preview-head strong, .import-preview-head span { display: block; }
.import-preview-head span { margin-top: 2px; color: var(--ink-soft); font-size: var(--text-meta); }
.import-issues { padding: 12px 16px; border-bottom: 1px solid #efd7ad; background: var(--warning-soft); color: #745023; font-size: var(--text-small); }
.import-issues strong { display: block; margin-bottom: 4px; }
.import-issues ul { margin: 0; padding-left: 18px; }
.compact-recovery-card { grid-column: 1 / -1; }
.support-tool-card, .support-danger-card { grid-column: 1 / -1; }
.support-danger-card { border-color: #e8bec3; background: linear-gradient(135deg, #fff, #fff8f8); }
.support-danger-card .data-tool-icon { background: var(--danger-soft); color: var(--danger); }

.dialog { width: min(610px, calc(100vw - 28px)); border: 0; border-radius: 22px; padding: 0; box-shadow: 0 35px 90px rgba(50,35,35,.25); }
.patient-dialog { width: min(720px, calc(100vw - 28px)); }
.patient-view-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.patient-view-grid > div { min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fcfaf8; }
.patient-view-grid span, .patient-view-grid strong { display: block; }
.patient-view-grid span { margin-bottom: 4px; color: var(--ink-soft); font-size: var(--text-meta); font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.patient-view-grid strong { overflow-wrap: anywhere; font-size: var(--text-small); }
.patient-view-notes p { margin: 2px 0 0; color: var(--ink-soft); font-size: var(--text-small); white-space: pre-wrap; }
.catalog-procedure-dialog { width: min(680px, calc(100vw - 28px)); }
.dialog::backdrop { background: rgba(46,40,40,.5); backdrop-filter: blur(3px); }
.wide-dialog { width: min(920px, calc(100vw - 28px)); }
.date-picker-dialog { width: min(490px, calc(100vw - 28px)); }
.date-picker-body { padding: 20px 24px 10px; }
.date-picker-navigation { display: grid; grid-template-columns: 40px minmax(0, 1fr) 92px 40px; gap: 8px; align-items: center; }
.date-picker-year { text-align: center; }
.date-picker-weekdays, .date-picker-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.date-picker-weekdays { margin-top: 18px; color: var(--ink-soft); text-align: center; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; }
.date-picker-grid { margin-top: 7px; min-height: 258px; align-content: start; }
.date-picker-day, .date-picker-blank { aspect-ratio: 1; min-width: 0; }
.date-picker-day { border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); font-size: var(--text-small); }
.date-picker-day:hover:not(:disabled) { border-color: #ecd0d4; background: var(--rose-soft); color: var(--rose-deep); }
.date-picker-day.today { border-color: var(--gold); }
.date-picker-day.selected { background: var(--rose-strong); color: #fff; font-weight: 700; }
.date-picker-day:disabled { color: #b9b0ad; background: #f8f6f3; }
.date-picker-footer { justify-content: space-between; }
.confirmation-dialog { width: min(520px, calc(100vw - 28px)); }
.confirmation-body p { margin: 0; color: var(--ink-soft); }
.confirmation-body label { display: grid; gap: 7px; }
.confirmation-body label > span { font-size: var(--text-small); font-weight: 700; }
.audit-heading-actions { align-items: end; }
.audit-date-field { min-width: 230px; }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-family: var(--heading-font); font-size: 1.65rem; font-weight: 700; }
.dialog-body { display: grid; gap: 16px; padding: 22px 24px; }
.dialog-body > label { margin: 0; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 22px; }
.duplicate-warning { padding: 13px 15px; border: 1px solid #efd7ad; border-radius: 12px; background: var(--warning-soft); color: #745023; font-size: var(--text-small); }
.check-row { grid-template-columns: auto 1fr !important; align-items: center; }
.helper-text { margin: 0; color: var(--ink-soft); font-size: .8125rem; }
.catalog-classification-note { display: grid; gap: 3px; padding: 13px 15px; border: 1px solid #c7e1d5; border-radius: 12px; background: var(--success-soft); color: #235e48; }
.catalog-classification-note strong { font-size: var(--text-small); }
.catalog-classification-note span { font-size: .8125rem; }
.day-section { margin-bottom: 18px; }
.day-section h3 { margin: 0 0 8px; font-family: var(--heading-font); font-size: 1.15rem; }
.day-section.entry-section h3 { color: var(--success); }
.day-section.expense-section h3 { color: var(--danger); }

.toast-region { position: fixed; z-index: 2147483647; inset: auto 20px 20px auto; margin: 0; padding: 0; border: 0; background: transparent; display: grid; gap: 10px; overflow: visible; }
.toast-region:popover-open { display: grid; }
.toast { width: min(360px, calc(100vw - 40px)); padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); box-shadow: 0 18px 42px rgba(46,40,40,.18); animation: toast-in .2s ease-out; }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
.mobile-overlay { position: fixed; inset: 0; z-index: 25; background: rgba(46,40,40,.45); }

@media (max-width: 1180px) {
  .report-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-grid, .catalog-grid, .ticket-detail-grid, .data-tools-grid { grid-template-columns: 1fr; }
  .procedure-header, .procedure-row { grid-template-columns: minmax(200px, 1fr) 110px 120px 145px 40px; }
  .payment-header, .payment-row { grid-template-columns: minmax(180px,1fr) minmax(160px,.8fr) 90px 125px 40px; }
}

@media (max-width: 1400px) and (min-width: 901px) {
  .validation-table th, .validation-table td { padding-inline: 8px; font-size: .75rem; }
  .validation-table th:last-child, .validation-table td:last-child { min-width: 178px; }
  .validation-table .button.small { min-height: 36px; padding: 7px 9px; font-size: .75rem; }
  .validation-table .action-link { padding-inline: 5px; font-size: .75rem; }
}

@media (max-width: 900px) {
  .report-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-screen { grid-template-columns: 1fr; }
  .login-brand { min-height: auto; padding: 42px 28px; }
  .login-brand img { width: 230px; max-width: 72%; height: auto; max-height: 205px; margin-bottom: 22px; transform: translateY(-8px); }
  .login-brand .eyebrow { font-size: 1.25rem; }
  .login-brand h1 { font-size: .85rem; }
  .login-brand-copy p { margin-top: 18px; font-size: .9rem; }
  .login-panel { padding: 28px 18px 45px; }
  .login-card { padding: 28px; }
  .app-shell { display: block; }
  .sidebar { transform: translateX(-105%); transition: transform .2s ease; box-shadow: 18px 0 50px rgba(40,30,30,.18); }
  .sidebar.open { transform: none; }
  .main-column { grid-column: auto; }
  .menu-button { display: block; }
  .topbar { padding: 12px 18px; }
  .workspace { padding: 25px 18px 52px; }
  .topbar-actions .compact-field { display: none; }
  .topbar-profile-copy { display: none; }
  .topbar-profile { padding: 5px; }
  .page-heading { align-items: start; flex-direction: column; }
  .period-field { width: 100%; }
  .form-card { grid-template-columns: 1fr; gap: 13px; }
  .form-grid.three, .form-grid.two { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .line-items-header { display: none; }
  .procedure-row, .payment-row { grid-template-columns: 1fr 1fr; }
  .procedure-row > :first-child, .payment-row > :first-child { grid-column: 1 / -1; }
  .remove-line { justify-self: end; }
  .ranking-podium { grid-template-columns: 1fr; }
  .filters-row, .compact-range { align-items: stretch; flex-direction: column; }
  .receivable-search-field { min-width: 0; width: 100%; }
  .heading-actions { width: 100%; flex-wrap: wrap; }
  .heading-actions > * { flex: 1; }
  .import-tool-card, .compact-recovery-card { grid-column: auto; }
  .security-notice, .import-preview-head { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .report-filter-grid, .financial-report-totals { grid-template-columns: 1fr; }
  .report-period-row .compact-field { min-width: 0; width: 100%; }
  .login-brand-copy p { font-size: .9rem; }
  .patient-view-grid { grid-template-columns: 1fr; }
  .patient-view-grid .span-two { grid-column: auto; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card { min-height: 125px; }
  .attention-card, .card-header, .section-heading { align-items: start; flex-direction: column; }
  .procedure-row, .payment-row { grid-template-columns: 1fr; }
  .procedure-row > :first-child, .payment-row > :first-child { grid-column: auto; }
  .form-total, .balance-box { align-items: stretch; flex-direction: column; gap: 5px; }
  .form-total > strong { min-width: 0; text-align: left; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .topbar h1 { font-size: 1.35rem; }
  .topbar-actions { gap: 6px; }
  .topbar-actions > .button { padding-inline: 10px; }
  .profile-photo-editor { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .profile-photo-actions { justify-content: center; }
  .breadcrumb { display: none; }
  .data-tool-card { grid-template-columns: 1fr; }
  .data-tool-actions, .import-buttons { flex-direction: column; align-items: stretch; }
  .data-tool-actions .button, .import-buttons .button, .import-preview-head .button { width: 100%; }
  .date-picker-body { padding: 18px 16px 8px; }
  .date-picker-navigation { grid-template-columns: 36px minmax(76px, 1fr) 76px 36px; gap: 6px; }
  .date-picker-navigation .icon-button { min-width: 36px; width: 36px; }
  .date-picker-grid { min-height: 230px; }
  .date-picker-footer { flex-wrap: wrap; }
  .month-navigator { grid-template-columns: 36px minmax(82px, 1fr) 76px 36px; gap: 6px; }
  .month-navigator .month-step { width: 36px; }
}

@media print {
  body.printing-report { background: #fff; }
  body.printing-report .sidebar,
  body.printing-report .topbar,
  body.printing-report .mobile-overlay,
  body.printing-report .page,
  body.printing-report #page-reports > .page-heading,
  body.printing-report #page-reports > .report-filters-card,
  body.printing-report .report-card:not(.print-target),
  body.printing-report .report-print-button { display: none !important; }
  body.printing-report .app-shell,
  body.printing-report .main-column,
  body.printing-report .workspace,
  body.printing-report #page-reports,
  body.printing-report .reports-list,
  body.printing-report .report-card.print-target { display: block !important; width: 100%; margin: 0; padding: 0 0 8mm; overflow: visible; border: 0; box-shadow: none; }
  body.printing-report .main-column { margin: 0; }
  body.printing-report .workspace { padding: 0; }
  body.printing-report .report-print-heading { display: flex; align-items: center; gap: 18px; padding: 7mm 0 18px; border-bottom: 2px solid var(--rose-strong); }
  body.printing-report .report-print-heading img { width: 110px; height: 72px; object-fit: contain; }
  body.printing-report .report-print-heading strong,
  body.printing-report .report-print-heading span { display: block; }
  body.printing-report .report-print-heading strong { font-size: 10pt; }
  body.printing-report .report-print-heading span { margin-top: 3px; color: var(--ink-soft); }
  body.printing-report .report-print-heading span { font-size: 9pt; }
  body.printing-report .report-card .card-header h3 { font-size: 11pt; }
  body.printing-report .report-card .card-header { padding: 18px 0 12px; }
  body.printing-report .financial-report-totals { padding: 0 0 18px; }
  body.printing-report .table-scroll { overflow: visible; }
  body.printing-report table { font-size: 8.5pt; }
  body.printing-report th { font-size: 8pt; }
  body.printing-report th, body.printing-report td { padding: 6px 6px; }
  body.printing-report .report-meta { font-size: 8.5pt; }
  body.printing-report thead { display: table-header-group; }
  body.printing-report tr, body.printing-report td, body.printing-report th { break-inside: avoid; page-break-inside: avoid; }
  body.printing-report .report-print-footer { display: block; position: fixed; right: 0; bottom: 0; left: 0; padding-top: 4px; border-top: 1px solid #8c7d80; color: #3f3638; font-size: 6.5pt; font-weight: 600; line-height: 1.2; text-align: right; }
}
