@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --brand-950: #082f36;
    --brand-900: #0d4652;
    --brand-800: #115465;
    --brand-700: #17677a;
    --brand-600: #1a7488;
    --brand-100: #dceff1;
    --brand-50: #eff8f8;
    --ink-950: #172127;
    --ink-800: #2f3c43;
    --ink-600: #5d6a71;
    --ink-500: #758188;
    --line: #dce2e4;
    --surface: #ffffff;
    --surface-muted: #f5f7f6;
    --canvas: #eef1ef;
    --danger: #b94343;
    --danger-soft: #faeaea;
    --success: #257654;
    --success-soft: #e6f4ec;
    --warning: #9a6526;
    --warning-soft: #fbf0df;
    --shadow-sm: 0 1px 2px rgba(13, 36, 43, .05), 0 8px 24px rgba(13, 36, 43, .04);
    --shadow-md: 0 16px 45px rgba(13, 36, 43, .10);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --sidebar-width: 258px;
}

:root[data-theme="dark"] {
    --ink-950: #f3f7f7;
    --ink-800: #dce7e8;
    --ink-600: #a7b7ba;
    --ink-500: #8da0a4;
    --line: #2a4148;
    --surface: #112b32;
    --surface-muted: #17363e;
    --canvas: #0b2026;
    --brand-50: #17353d;
    --brand-100: #1f4650;
    --danger-soft: #43272a;
    --success-soft: #1e3d31;
    --warning-soft: #453621;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.16), 0 12px 30px rgba(0,0,0,.13);
    --shadow-md: 0 18px 50px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-height: 100vh; color: var(--ink-950); background: var(--canvas); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar-width); display: flex; flex-direction: column; background: var(--brand-950); color: #fff; border-right: 1px solid rgba(255,255,255,.08); }
.sidebar-brand { padding: 28px 25px 22px; border-bottom: 1px solid rgba(255,255,255,.10); }
.brand-link { display: block; width: 178px; max-width: 100%; }
.brand-logo { width: 100%; height: 76px; display: block; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.brand-caption { margin: 11px 0 0; color: rgba(255,255,255,.56); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-nav { padding: 23px 14px; display: grid; gap: 4px; }
.nav-caption { margin: 0 12px 9px; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-item { position: relative; display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 11px; color: rgba(255,255,255,.72); font-size: 14px; font-weight: 600; text-decoration: none; transition: .18s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.is-active { color: #fff; background: rgba(255,255,255,.12); }
.nav-item.is-active::before { content: ""; position: absolute; left: 0; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: #8dc8cf; }
.sidebar-footer { margin-top: auto; padding: 20px 20px 25px; border-top: 1px solid rgba(255,255,255,.10); }
.sidebar-action { display: flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 11px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; transition: .2s ease; }
.sidebar-action:hover { background: #fff; color: var(--brand-950); }
.sidebar-footer p { margin: 14px 0 0; color: rgba(255,255,255,.42); font-size: 11px; line-height: 1.5; }

.app-main { min-height: 100vh; margin-left: var(--sidebar-width); display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 25; min-height: 82px; padding: 14px clamp(20px, 3vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.page-eyebrow { margin: 0 0 4px; color: var(--ink-500); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.page-title { margin: 0; font-family: Manrope, Inter, sans-serif; font-size: clamp(20px, 2vw, 27px); line-height: 1.1; letter-spacing: -.025em; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle { height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-600); background: var(--surface-muted); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 600; }
.theme-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-100); }
.user-menu { display: flex; align-items: center; gap: 10px; padding-left: 4px; }
.user-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-100); color: var(--brand-800); font-family: Manrope, sans-serif; font-weight: 800; }
.user-copy { display: grid; gap: 2px; }
.user-copy strong { font-size: 12px; }
.user-copy span { color: var(--ink-500); font-size: 10px; }
.logout-link { padding-left: 14px; border-left: 1px solid var(--line); color: var(--ink-600); font-size: 12px; font-weight: 700; text-decoration: none; }
.logout-link:hover { color: var(--danger); }
.menu-toggle { display: none; }
.icon-button { width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.icon-button span { display: block; width: 17px; height: 2px; margin: 3px auto; background: var(--ink-800); border-radius: 3px; }

.page-content { width: 100%; max-width: 1540px; margin: 0 auto; padding: clamp(24px, 3vw, 42px); flex: 1; }
.app-footer { padding: 18px clamp(24px, 3vw, 42px); display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: var(--ink-500); font-size: 11px; }

.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-intro h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.035em; }
.page-intro p { max-width: 680px; margin: 8px 0 0; color: var(--ink-600); font-size: 14px; line-height: 1.6; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-header { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.card-header h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 16px; }
.card-header p { margin: 5px 0 0; color: var(--ink-500); font-size: 12px; }
.card-body { padding: 22px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { position: relative; min-height: 136px; padding: 21px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat-card::after { content: ""; position: absolute; right: -20px; bottom: -28px; width: 104px; height: 104px; border-radius: 50%; background: var(--brand-50); }
.stat-label { position: relative; z-index: 1; margin: 0; color: var(--ink-500); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat-number { position: relative; z-index: 1; margin: 10px 0 5px; font-family: Manrope, sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.stat-help { position: relative; z-index: 1; margin: 0; color: var(--ink-600); font-size: 11px; }
.stat-card.danger { border-top: 3px solid var(--danger); }
.stat-card.warning { border-top: 3px solid var(--warning); }
.stat-card.success { border-top: 3px solid var(--success); }
.stat-card.brand { border-top: 3px solid var(--brand-600); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 20px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.quick-link { min-height: 92px; padding: 17px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; background: var(--surface-muted); transition: .18s ease; }
.quick-link:hover { transform: translateY(-2px); border-color: var(--brand-600); }
.quick-link strong { font-size: 13px; }
.quick-link span { color: var(--ink-500); font-size: 11px; }

.split-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.55fr); gap: 20px; align-items: start; }
.sticky-card { position: sticky; top: 106px; }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-group { display: grid; gap: 7px; }
.form-group label { color: var(--ink-600); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.input, select.input, textarea.input { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--ink-950); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; outline: none; transition: .18s ease; }
.input:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-100) 75%, transparent); }
.input::placeholder { color: var(--ink-500); }

.button { min-height: 43px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 700; text-decoration: none; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--brand-700); border-color: var(--brand-700); }
.button-primary:hover { background: var(--brand-800); }
.button-secondary { color: var(--ink-800); background: var(--surface); border-color: var(--line); }
.button-success { color: #fff; background: var(--success); }
.button-danger { color: #fff; background: var(--danger); }
.button-block { width: 100%; }

.filter-card { margin-bottom: 20px; }
.filter-form { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)) auto; gap: 12px; align-items: end; }
.filter-actions { display: flex; gap: 9px; }

.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th { padding: 13px 14px; color: var(--ink-500); background: var(--surface-muted); border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); color: var(--ink-800); font-size: 12px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: color-mix(in srgb, var(--brand-50) 55%, var(--surface)); }
.table-title { color: var(--ink-950); font-weight: 700; }
.table-subtitle { margin-top: 4px; color: var(--ink-500); font-size: 10px; }
.empty-state { padding: 44px 20px !important; color: var(--ink-500) !important; text-align: center; }
.code-pill { display: inline-flex; padding: 5px 9px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge-danger { color: var(--danger); background: var(--danger-soft); }
.badge-success { color: var(--success); background: var(--success-soft); }
.badge-warning { color: var(--warning); background: var(--warning-soft); }
.badge-neutral { color: var(--ink-600); background: var(--surface-muted); }

.alert { position: relative; margin-bottom: 18px; padding: 14px 16px; border: 1px solid; border-radius: 11px; font-size: 12px; font-weight: 600; }
.alert-success { color: var(--success); background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 30%, transparent); }
.alert-error { color: var(--danger); background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }

.laundry-section { margin-bottom: 20px; }
.laundry-section.is-dirty { border-top: 4px solid var(--danger); }
.laundry-section.is-clean { border-top: 4px solid var(--success); }
.laundry-header { padding: 18px 21px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.laundry-header h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 16px; }
.laundry-header p { margin: 4px 0 0; color: var(--ink-500); font-size: 11px; }
.laundry-totals { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1px; background: var(--line); }
.laundry-total { padding: 18px; background: var(--surface); }
.laundry-total span { display: block; color: var(--ink-500); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.laundry-total strong { display: block; margin-top: 6px; font-family: Manrope, sans-serif; font-size: 25px; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr); background: var(--canvas); }
.login-brand { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 78px); display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--brand-950); }
.login-brand::after { content: ""; position: absolute; width: 520px; height: 520px; right: -210px; bottom: -230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.login-brand img { position: relative; z-index: 1; width: min(320px, 80%); height: 135px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.login-brand-copy { position: relative; z-index: 1; max-width: 520px; }
.login-brand-copy p:first-child { margin: 0 0 14px; color: rgba(255,255,255,.6); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.login-brand-copy h1 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(35px, 5vw, 64px); line-height: 1.02; letter-spacing: -.05em; }
.login-brand-copy p:last-child { max-width: 460px; margin: 24px 0 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; }
.login-brand-footer { position: relative; z-index: 1; color: rgba(255,255,255,.42); font-size: 11px; }
.login-panel { padding: 34px; display: grid; place-items: center; }
.login-card { width: min(430px, 100%); }
.login-card h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 30px; letter-spacing: -.04em; }
.login-card > p { margin: 9px 0 28px; color: var(--ink-600); font-size: 13px; line-height: 1.6; }
.login-form { display: grid; gap: 16px; }
.login-help { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-500); font-size: 10px; line-height: 1.6; }

.collect-page { min-height: 100vh; background: #edf2f0; }
.collect-shell { width: min(620px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 50px; }
.collect-brand { padding: 22px 0; text-align: center; }
.collect-brand img { width: 190px; height: 92px; object-fit: contain; }
.collect-card { background: #fff; border: 1px solid #d8e0de; border-radius: 22px; box-shadow: 0 20px 55px rgba(20,61,69,.11); overflow: hidden; }
.collect-card-header { padding: 25px 27px 18px; border-bottom: 1px solid #e5eae8; }
.collect-card-header p { margin: 0 0 6px; color: #66777b; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.collect-card-header h1 { margin: 0; color: #18383f; font-family: Manrope, sans-serif; font-size: 25px; letter-spacing: -.035em; }
.collect-card-body { padding: 25px 27px 28px; }
.collect-card .input { background: #f8faf9; color: #172127; border-color: #d6dfdd; }
.collect-card .form-group label { color: #5d6b70; }
.movement-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.movement-input { position: absolute; opacity: 0; pointer-events: none; }
.movement-label { min-height: 94px; padding: 17px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #d5dfdd; border-radius: 14px; cursor: pointer; transition: .18s ease; }
.movement-label strong { color: #203a40; font-size: 13px; }
.movement-label span { color: #708084; font-size: 11px; line-height: 1.4; }
.movement-input:checked + .movement-label.clean { color: var(--success); background: #eef8f2; border-color: #5ba27e; box-shadow: 0 0 0 3px rgba(37,118,84,.08); }
.movement-input:checked + .movement-label.dirty { color: var(--danger); background: #fff1f0; border-color: #cc7373; box-shadow: 0 0 0 3px rgba(185,67,67,.08); }
.quantity-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.quantity-grid .wide { grid-column: 1 / -1; }
.collect-actions { display: flex; gap: 10px; margin-top: 21px; }
.collect-success { margin-bottom: 16px; padding: 15px; color: #1f6648; background: #eaf7ef; border: 1px solid #b9ddc8; border-radius: 12px; text-align: center; font-size: 13px; font-weight: 700; }
.splash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: #f7f9f7; transition: opacity .45s ease, visibility .45s ease; }
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash img { width: min(360px, 80vw); height: 190px; object-fit: contain; }
.splash h2 { margin: 18px 0 5px; color: #18383f; font-family: Manrope, sans-serif; font-size: 25px; }
.splash p { margin: 0 0 24px; color: #6c7b7e; font-size: 13px; }
.splash .button { min-width: 160px; }

@media (max-width: 1180px) {
    .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .laundry-totals { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 980px) {
    .sidebar { transform: translateX(-101%); transition: transform .25s ease; box-shadow: var(--shadow-md); }
    .sidebar.is-open { transform: translateX(0); }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 35; background: rgba(4,19,23,.55); opacity: 0; visibility: hidden; transition: .2s ease; }
    .sidebar-backdrop.is-visible { opacity: 1; visibility: visible; }
    .app-main { margin-left: 0; }
    .menu-toggle { display: grid; }
    .dashboard-grid, .split-layout { grid-template-columns: 1fr; }
    .sticky-card { position: static; }
}
@media (max-width: 760px) {
    .topbar { min-height: 72px; }
    .user-copy, .theme-toggle span:not(.theme-dot), .logout-link { display: none; }
    .topbar-actions { gap: 8px; }
    .page-content { padding: 22px 16px 32px; }
    .page-intro { align-items: flex-start; flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .form-row, .filter-form { grid-template-columns: 1fr; }
    .filter-actions { width: 100%; }
    .filter-actions .button { flex: 1; }
    .laundry-totals { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .app-footer { flex-direction: column; }
    .login-page { grid-template-columns: 1fr; }
    .login-brand { min-height: 330px; padding: 36px 28px; }
    .login-brand img { height: 95px; }
    .login-brand-copy h1 { font-size: 39px; }
    .login-panel { padding: 38px 20px; }
}
@media (max-width: 520px) {
    .card-header, .card-body { padding-left: 16px; padding-right: 16px; }
    .quick-grid, .movement-options, .quantity-grid { grid-template-columns: 1fr; }
    .quantity-grid .wide { grid-column: auto; }
    .laundry-totals { grid-template-columns: 1fr 1fr; }
    .collect-shell { width: min(100% - 18px, 620px); padding-top: 14px; }
    .collect-card-header, .collect-card-body { padding-left: 18px; padding-right: 18px; }
}

/* ================================================================
   Módulo de clientes, rols, preços e fechamentos
   ================================================================ */
.sidebar-nav { flex: 1; overflow-y: auto; align-content: start; }
.sidebar-footer { margin-top: 0; }
.textarea-input { min-height: 104px !important; resize: vertical; }
.form-actions-row { display: flex; align-items: center; gap: 10px; }
.form-actions-end { justify-content: flex-end; padding-top: 4px; }
.form-actions-row .button { min-width: 150px; }
.empty-panel { min-height: 230px; padding: 42px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ink-500); text-align: center; }
.empty-panel strong { color: var(--ink-950); font-family: Manrope, sans-serif; font-size: 18px; }
.empty-panel span { max-width: 480px; font-size: 12px; line-height: 1.6; }
.empty-panel .button { margin-top: 10px; }

.client-layout { grid-template-columns: minmax(310px,.72fr) minmax(0,1.55fr); }
.client-list { display: grid; }
.client-list-item { padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.client-list-item:last-child { border-bottom: 0; }
.client-list-copy { min-width: 0; }
.client-list-copy h4 { margin: 0; font-family: Manrope, sans-serif; font-size: 16px; }
.client-list-copy p { margin: 6px 0 0; color: var(--ink-600); font-size: 12px; }
.client-list-copy span { display: block; margin-top: 4px; color: var(--ink-500); font-size: 11px; line-height: 1.5; }
.client-list-actions { flex: 0 0 auto; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.client-list-actions form { margin: 0; }
.client-list-actions .button { min-height: 36px; padding: 0 11px; font-size: 10px; }

.price-layout { grid-template-columns: minmax(270px,.64fr) minmax(0,1.65fr); }
.contract-client-card { margin-top: 18px; padding: 18px; color: #fff; background: var(--brand-800); border-radius: 13px; }
.contract-client-card > span { display: block; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contract-client-card strong { display: block; margin-top: 6px; font-family: Manrope, sans-serif; font-size: 17px; }
.contract-client-card p { margin: 7px 0 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.45; }
.price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.money-field { position: relative; }
.money-field > span { position: absolute; left: 12px; bottom: 13px; z-index: 2; color: var(--ink-500); font-size: 11px; font-weight: 800; }
.money-field .input { padding-left: 38px; font-weight: 700; }
.contract-footer { padding-top: 5px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contract-footer p { max-width: 560px; margin: 0; color: var(--ink-500); font-size: 11px; line-height: 1.6; }
.contract-footer .button { min-width: 180px; }

.rol-layout { display: grid; grid-template-columns: minmax(240px,.52fr) minmax(0,1.48fr); gap: 20px; align-items: start; }
.rol-guide { position: sticky; top: 104px; overflow: hidden; color: #fff; background: var(--brand-900); border-color: var(--brand-900); }
.rol-guide .card-body { padding: 27px 24px; }
.guide-kicker { margin: 0 0 8px; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rol-guide h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 24px; line-height: 1.15; letter-spacing: -.03em; }
.rol-guide > .card-body > p:not(.guide-kicker) { margin: 13px 0 0; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.65; }
.guide-steps { margin: 25px 0 0; padding: 22px 0 0; display: grid; gap: 18px; border-top: 1px solid rgba(255,255,255,.13); list-style: none; }
.guide-steps li { display: flex; align-items: flex-start; gap: 11px; }
.guide-steps li > span { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.11); font-size: 10px; font-weight: 800; }
.guide-steps strong { display: block; font-size: 11px; }
.guide-steps small { display: block; margin-top: 3px; color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.5; }
.section-divider { margin-top: 2px; padding: 18px 0 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.section-divider > div:first-child strong { display: block; font-size: 13px; }
.section-divider > div:first-child span { display: block; margin-top: 3px; color: var(--ink-500); font-size: 10px; }
.rol-total { min-width: 85px; text-align: right; }
.rol-total span { display: block; color: var(--ink-500); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rol-total strong { display: block; margin-top: 2px; font-family: Manrope, sans-serif; font-size: 22px; }
.rol-quantity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.quantity-box { position: relative; margin: 0; padding: 14px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 12px; }
.quantity-box label { margin-bottom: 8px; }
.quantity-box .input { padding-right: 43px; background: var(--surface); font-family: Manrope, sans-serif; font-size: 16px; font-weight: 700; }
.quantity-box small { position: absolute; right: 25px; bottom: 27px; color: var(--ink-500); font-size: 8px; font-weight: 800; text-transform: uppercase; pointer-events: none; }

.client-closing-filter { display: grid; grid-template-columns: minmax(220px,1.4fr) minmax(160px,.7fr) minmax(160px,.7fr) auto; gap: 12px; align-items: end; }
.client-report { overflow: hidden; background: #fff; color: #172127; border: 1px solid #cdd8d8; border-radius: 14px; box-shadow: var(--shadow-sm); }
.report-header { padding: 24px 26px; display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: center; gap: 24px; border-bottom: 2px solid #172127; }
.report-header img { width: 145px; height: 82px; object-fit: contain; object-position: left center; }
.report-header h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 25px; text-align: center; }
.report-header p { margin: 5px 0 0; color: #526268; font-size: 12px; font-weight: 700; text-align: center; text-transform: uppercase; }
.report-period { min-width: 170px; text-align: right; }
.report-period span { display: block; color: #6a777b; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.report-period strong { display: block; margin-top: 4px; font-size: 11px; }
.report-client-line { padding: 12px 18px; display: flex; flex-wrap: wrap; gap: 12px 28px; background: #e8f1f5; border-bottom: 1px solid #aebcc1; font-size: 10px; }
.report-table-wrap, .report-summary-wrap { padding: 19px 20px 0; }
.report-table, .report-summary { width: 100%; border-collapse: collapse; min-width: 980px; }
.report-table th, .report-table td, .report-summary th, .report-summary td { padding: 8px 7px; border: 1px solid #172127; font-size: 9px; text-align: center; }
.report-table thead th, .report-summary thead th { color: #0e1a1e; background: #93b9d6; font-weight: 800; }
.report-table tbody tr:nth-child(even) td { background: #edf4f9; }
.report-table td:first-child, .report-table td:nth-child(2) { font-weight: 700; }
.report-summary-wrap { padding-bottom: 20px; }
.report-summary th:first-child { min-width: 115px; text-align: left; background: #93b9d6; }
.report-summary tbody tr:last-child td { font-weight: 800; }
.report-total-line { margin: 0 20px 22px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: #153f49; border-radius: 10px; }
.report-total-line span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.report-total-line strong { font-family: Manrope, sans-serif; font-size: 24px; }

@media (max-width: 1180px) {
    .price-grid, .rol-quantity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .client-closing-filter { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 980px) {
    .client-layout, .price-layout, .rol-layout { grid-template-columns: 1fr; }
    .rol-guide { position: static; }
    .client-list-item { flex-direction: column; }
    .client-list-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .price-grid, .rol-quantity-grid, .client-closing-filter { grid-template-columns: 1fr; }
    .contract-footer, .section-divider { align-items: flex-start; flex-direction: column; }
    .contract-footer .button, .form-actions-row .button { width: 100%; }
    .form-actions-row { flex-direction: column; }
    .report-header { grid-template-columns: 1fr; text-align: center; }
    .report-header img { margin: 0 auto; object-position: center; }
    .report-period { text-align: center; }
}

@media print {
    @page { size: A4 landscape; margin: 8mm; }
    :root, :root[data-theme="dark"] { --canvas:#fff; --surface:#fff; --ink-950:#111; --ink-800:#222; --ink-600:#555; --line:#bbb; }
    .sidebar, .sidebar-backdrop, .topbar, .app-footer, .no-print { display: none !important; }
    .app-main { margin: 0 !important; }
    .page-content { max-width: none !important; padding: 0 !important; }
    .client-report { border: 0; border-radius: 0; box-shadow: none; }
    .report-table-wrap, .report-summary-wrap { overflow: visible; }
    .report-table, .report-summary { min-width: 0; }
    .report-table th, .report-table td, .report-summary th, .report-summary td { padding: 5px 4px; font-size: 7.5px; }
    .report-header { padding: 9px 12px; grid-template-columns: 120px 1fr 150px; }
    .report-header img { width: 110px; height: 58px; }
    .report-header h2 { font-size: 19px; }
    .report-table-wrap, .report-summary-wrap { padding: 10px 10px 0; }
    .report-total-line { margin: 0 10px 10px; padding: 10px 13px; }
}

/* Histórico de rols */
.history-summary-grid {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.history-filter {
    display: grid;
    grid-template-columns: minmax(190px, 1.2fr) minmax(150px, .8fr) minmax(145px, .72fr) minmax(145px, .72fr) auto;
    gap: 12px;
    align-items: end;
}

.history-edit-card {
    margin-bottom: 20px;
    border-color: rgba(11, 102, 112, .28);
}

.history-identification-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) minmax(160px, .7fr) minmax(155px, .7fr);
    gap: 13px;
}

.history-quantity-grid {
    margin-top: 2px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    border-top: 1px solid var(--line);
}

.history-table {
    min-width: 1400px;
}

.history-table th,
.history-table td {
    white-space: nowrap;
    text-align: center;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3) {
    min-width: 180px;
    text-align: left;
}

.history-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.history-actions form {
    margin: 0;
}

.history-actions .button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 9px;
}

.button-danger-outline {
    color: var(--danger-700);
    background: transparent;
    border: 1px solid rgba(181, 58, 58, .35);
}

.button-danger-outline:hover {
    color: #fff;
    background: var(--danger-700);
    border-color: var(--danger-700);
}

.history-pagination {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--line);
}

.history-pagination span {
    color: var(--ink-600);
    font-size: 11px;
    font-weight: 700;
}

.history-pagination .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
}

.history-pagination .is-disabled {
    opacity: .45;
    pointer-events: none;
}

@media (max-width: 1180px) {
    .history-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .history-identification-grid,
    .history-quantity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .history-summary-grid,
    .history-filter,
    .history-identification-grid,
    .history-quantity-grid {
        grid-template-columns: 1fr;
    }

    .history-pagination {
        justify-content: space-between;
    }
}


/* =========================================================
   Fechamento profissional de clientes
   ========================================================= */
.closing-preview-card {
    margin-bottom: 20px;
    overflow: hidden;
    color: #172127;
    background: #fff;
    border: 1px solid #c8d5d5;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}
.closing-preview-header {
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr) 190px;
    align-items: center;
    gap: 22px;
    border-bottom: 2px solid #153f49;
}
.closing-preview-header img { width: 145px; height: 76px; object-fit: contain; object-position: left center; }
.closing-preview-title { text-align: center; }
.closing-preview-title > span { color: #6b7b80; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.closing-preview-title h2 { margin: 4px 0 0; font-family: Manrope, sans-serif; font-size: 25px; letter-spacing: -.025em; }
.closing-preview-title p { margin: 5px 0 0; color: #456168; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.closing-preview-period { padding: 12px 14px; text-align: center; background: #dbeaf4; border: 1px solid #9ebdd2; border-radius: 10px; }
.closing-preview-period span, .closing-preview-period strong, .closing-preview-period small { display: block; }
.closing-preview-period span { font-size: 13px; font-weight: 900; }
.closing-preview-period strong { margin-top: 2px; font-size: 11px; }
.closing-preview-period small { margin-top: 5px; color: #526268; font-size: 9px; }
.closing-preview-meta { padding: 11px 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; background: #edf5f8; border-bottom: 1px solid #c3d2d7; font-size: 10px; }
.closing-preview-table-wrap, .closing-preview-summary-wrap { padding: 18px 19px 0; }
.closing-preview-table, .closing-preview-summary { width: 100%; min-width: 1040px; border-collapse: collapse; }
.closing-preview-table th, .closing-preview-table td, .closing-preview-summary th, .closing-preview-summary td { padding: 7px 6px; border: 1px solid #1c2d33; font-size: 9px; text-align: center; }
.closing-preview-table thead th { background: #5c9bd0; color: #0a1820; font-weight: 900; }
.closing-preview-table tbody tr:nth-child(even) td { background: #f0f6fa; }
.closing-preview-table td:first-child, .closing-preview-table td:nth-child(2) { font-weight: 800; }
.closing-preview-summary-wrap { padding-bottom: 19px; }
.closing-preview-summary th { min-width: 126px; text-align: left; background: #9fc5e2; }
.closing-preview-summary tbody tr:last-child td { font-weight: 800; }
.closing-additional-card, .closing-final-card, .saved-closings-card { margin-top: 20px; }
.additional-list { display: grid; gap: 12px; }
.additional-row { position: relative; display: grid; grid-template-columns: minmax(240px, 1.55fr) minmax(115px, .45fr) minmax(145px, .55fr) minmax(125px, .45fr) 36px; gap: 11px; align-items: end; padding: 14px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 12px; }
.additional-row .form-group { margin: 0; }
.additional-subtotal-box { min-height: 46px; padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.additional-subtotal-box span { color: var(--ink-500); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.additional-subtotal-box strong { margin-top: 2px; font-size: 12px; }
.additional-remove { width: 36px; height: 46px; border: 1px solid rgba(181, 58, 58, .32); border-radius: 9px; color: var(--danger-700); background: transparent; font-size: 23px; cursor: pointer; }
.additional-remove:hover { color: #fff; background: var(--danger-700); }
.closing-final-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: stretch; }
.closing-notes { margin: 0; }
.closing-notes textarea.input { min-height: 142px; resize: vertical; }
.closing-values { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.closing-values > div { padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.closing-values > div:last-child { border-bottom: 0; }
.closing-values span { color: var(--ink-600); font-size: 10px; font-weight: 700; }
.closing-values strong { font-family: Manrope, sans-serif; font-size: 15px; }
.closing-values .closing-grand-total { color: #fff; background: var(--brand-800); }
.closing-values .closing-grand-total span { color: rgba(255, 255, 255, .7); }
.closing-values .closing-grand-total strong { font-size: 23px; }
.closing-final-footer { padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface-muted); border-top: 1px solid var(--line); }
.closing-final-footer p { max-width: 640px; margin: 0; color: var(--ink-600); font-size: 10px; line-height: 1.55; }
.closing-final-footer .button { min-width: 230px; }
.saved-closings-table { min-width: 900px; }
.saved-closing-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.saved-closing-actions form { margin: 0; }
.saved-closing-actions .button { min-height: 34px; padding: 0 10px; font-size: 9px; }
.empty-panel.compact { padding: 34px 24px; }

/* Relatório final, congelado e pronto para PDF */
.final-report-page { min-height: 100vh; margin: 0; color: #162126; background: #dfe5e5; font-family: Arial, Helvetica, sans-serif; }
.final-report-toolbar { position: sticky; top: 0; z-index: 20; padding: 13px max(20px, calc((100vw - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(16, 39, 43, .96); box-shadow: 0 8px 25px rgba(0, 0, 0, .17); backdrop-filter: blur(10px); }
.final-report-toolbar > div { display: flex; gap: 9px; }
.final-report-success { width: min(1280px, calc(100% - 40px)); margin: 18px auto 0; padding: 13px 16px; color: #176143; background: #e5f6ed; border: 1px solid #a8dcc4; border-radius: 10px; font-size: 12px; font-weight: 700; }
.final-report-shell { width: min(1320px, calc(100% - 36px)); margin: 22px auto 45px; }
.final-report-document { padding: 25px; background: #fff; border: 1px solid #bdc8ca; box-shadow: 0 22px 65px rgba(18, 42, 45, .16); }
.final-report-header { min-height: 105px; display: grid; grid-template-columns: 190px minmax(0, 1fr) 135px; align-items: center; gap: 22px; border-bottom: 2px solid #17272e; }
.final-report-logo img { width: 175px; height: 88px; object-fit: contain; object-position: left center; }
.final-report-heading { text-align: center; }
.final-report-heading p { margin: 0 0 4px; color: #527077; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.final-report-heading h1 { margin: 0; font-size: 27px; letter-spacing: -.02em; }
.final-report-number { text-align: right; }
.final-report-number span, .final-report-number strong { display: block; }
.final-report-number span { color: #6b7a7e; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.final-report-number strong { margin-top: 5px; color: #0b6670; font-size: 17px; }
.final-report-reference { margin-top: 13px; display: grid; grid-template-columns: minmax(280px, 1fr) 250px 240px; border: 1px solid #17272e; }
.final-report-client-name, .final-report-period-cell, .final-report-date-cell { min-height: 56px; padding: 10px 13px; display: flex; align-items: center; justify-content: center; }
.final-report-client-name { background: #9fc5e2; font-size: 14px; font-weight: 900; }
.final-report-period-cell { gap: 14px; background: #dcecf6; border-left: 1px solid #17272e; font-size: 12px; }
.final-report-period-cell strong { font-size: 11px; }
.final-report-date-cell { flex-direction: column; border-left: 1px solid #17272e; }
.final-report-date-cell span { color: #6b7a7e; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.final-report-date-cell strong { margin-top: 3px; font-size: 10px; }
.final-report-contact { padding: 9px 11px; display: flex; flex-wrap: wrap; gap: 8px 25px; background: #f3f7f8; border: 1px solid #17272e; border-top: 0; font-size: 9px; }
.final-report-table-section { margin-top: 14px; }
.final-report-table, .final-report-summary, .final-report-additional-table { width: 100%; border-collapse: collapse; }
.final-report-table th, .final-report-table td, .final-report-summary th, .final-report-summary td, .final-report-additional-table th, .final-report-additional-table td { padding: 6px 5px; border: 1px solid #17272e; font-size: 8.4px; text-align: center; }
.final-report-table thead th { background: #5b9bd5; color: #09171d; font-weight: 900; }
.final-report-table tbody tr:nth-child(even) td { background: #f1f6fa; }
.final-report-table td:first-child, .final-report-table td:nth-child(2) { font-weight: 800; }
.final-report-empty { padding: 18px !important; color: #68777a; }
.final-report-summary-section { margin-top: 20px; }
.final-report-summary th { width: 140px; text-align: left; background: #9fc5e2; font-size: 9px; }
.final-report-summary tbody tr:last-child td { font-weight: 900; }
.final-report-additional-section { margin-top: 14px; }
.final-report-section-title { width: 230px; padding: 8px 12px; background: #9fc5e2; border: 1px solid #17272e; font-size: 10px; font-weight: 900; }
.final-report-no-additional { width: 100%; padding: 10px 12px; border: 1px solid #17272e; border-top: 0; color: #68777a; font-size: 9px; }
.final-report-additional-table th { background: #dcecf6; font-weight: 900; }
.final-report-additional-table th:first-child, .final-report-additional-table td:first-child { text-align: left; }
.final-report-notes { margin-top: 14px; padding: 10px 12px; background: #f5f7f7; border: 1px solid #b9c3c5; }
.final-report-notes strong { font-size: 9px; text-transform: uppercase; }
.final-report-notes p { margin: 5px 0 0; font-size: 9px; line-height: 1.5; }
.final-report-values { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr 1.25fr; border: 1px solid #17272e; }
.final-report-values > div { min-height: 62px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #17272e; }
.final-report-values > div:last-child { border-right: 0; }
.final-report-values span { color: #637277; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.final-report-values strong { margin-top: 4px; font-size: 15px; }
.final-report-values .final-report-total { color: #fff; background: #153f49; }
.final-report-values .final-report-total span { color: rgba(255, 255, 255, .72); }
.final-report-values .final-report-total strong { font-size: 23px; }
.final-report-footer { margin-top: 25px; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-top: 1px solid #aeb9bb; }
.final-report-footer > div:first-child span { display: block; color: #69777a; font-size: 7.5px; line-height: 1.5; }
.final-report-signature { width: 250px; text-align: center; }
.final-report-signature > span { display: block; height: 1px; background: #17272e; }
.final-report-signature small { display: block; margin-top: 5px; color: #69777a; font-size: 7.5px; }

@media (max-width: 1000px) {
    .additional-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .additional-description { grid-column: 1 / -1; }
    .additional-remove { position: absolute; top: 9px; right: 9px; height: 32px; }
    .closing-final-grid { grid-template-columns: 1fr; }
    .final-report-reference { grid-template-columns: 1fr; }
    .final-report-period-cell, .final-report-date-cell { border-left: 0; border-top: 1px solid #17272e; }
}

@media (max-width: 700px) {
    .closing-preview-header { grid-template-columns: 1fr; text-align: center; }
    .closing-preview-header img { margin: 0 auto; object-position: center; }
    .additional-row { grid-template-columns: 1fr; }
    .closing-final-footer, .final-report-toolbar { align-items: stretch; flex-direction: column; }
    .closing-final-footer .button { width: 100%; }
    .final-report-toolbar > div { flex-wrap: wrap; }
    .final-report-shell { width: calc(100% - 16px); margin-top: 8px; }
    .final-report-document { padding: 12px; }
    .final-report-header { grid-template-columns: 1fr; text-align: center; }
    .final-report-logo img { margin: 0 auto; object-position: center; }
    .final-report-number { text-align: center; }
    .final-report-values { grid-template-columns: 1fr; }
    .final-report-values > div { border-right: 0; border-bottom: 1px solid #17272e; }
    .final-report-values > div:last-child { border-bottom: 0; }
}

@media print {
    @page { size: A4 landscape; margin: 7mm; }
    .final-report-page { background: #fff !important; }
    .final-report-toolbar, .final-report-success, .no-print { display: none !important; }
    .final-report-shell { width: 100% !important; margin: 0 !important; }
    .final-report-document { padding: 0 !important; border: 0 !important; box-shadow: none !important; }
    .final-report-header { min-height: 78px; grid-template-columns: 145px 1fr 110px; }
    .final-report-logo img { width: 135px; height: 66px; }
    .final-report-heading h1 { font-size: 21px; }
    .final-report-reference { margin-top: 8px; grid-template-columns: 1fr 210px 205px; }
    .final-report-client-name, .final-report-period-cell, .final-report-date-cell { min-height: 43px; padding: 6px 9px; }
    .final-report-contact { padding: 6px 8px; }
    .final-report-table-section { margin-top: 8px; }
    .final-report-table th, .final-report-table td, .final-report-summary th, .final-report-summary td, .final-report-additional-table th, .final-report-additional-table td { padding: 3.5px 3px; font-size: 6.7px; }
    .final-report-summary-section { margin-top: 10px; }
    .final-report-additional-section { margin-top: 8px; }
    .final-report-section-title { padding: 5px 8px; font-size: 8px; }
    .final-report-no-additional { padding: 6px 8px; font-size: 7px; }
    .final-report-notes { margin-top: 8px; padding: 6px 8px; }
    .final-report-values { margin-top: 9px; }
    .final-report-values > div { min-height: 43px; padding: 6px 9px; }
    .final-report-values strong { font-size: 12px; }
    .final-report-values .final-report-total strong { font-size: 18px; }
    .final-report-footer { margin-top: 12px; padding-top: 7px; }
}
