/* INEZA shared presentation system. No framework or external font dependency. */
:root {
    --brand: #ed541b; --brand-hover: #cb4311; --brand-soft: #fff2eb;
    --ink: #26303e; --muted: #7d8490; --line: #e8ebef; --canvas: #f7f8fa;
    --card: #fff; --card-header: #fcfcfd; --green: #19b987; --red: #df6070;
    --blue: #438fd3; --orange: #fc8a35; --shadow: 0 2px 5px #25304403, 0 5px 18px #25304402;
    --sidebar-width: 238px; --topbar-height: 66px; --radius: 10px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--ink); font-size: 14px; font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border: 0; background: none; padding: 0; }
button:disabled { cursor: default; }
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); }
button, a { touch-action: manipulation; }
a { color: var(--brand); }
svg { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
strong { font-weight: 600; }
input, select, textarea { color: var(--ink); }
input[type='checkbox'] { accent-color: var(--brand); width: 17px; height: 17px; cursor: pointer; }
button:hover { transition: color .15s, background .15s; }
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 300; background: #fff; padding: 12px 20px; border-radius: 5px; }
.skip-link:focus { top: 10px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); }
.topbar { height: var(--topbar-height); background: var(--brand); color: #fff; display: flex; align-items: center; gap: 16px; padding: 0 20px 0 16px; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 #00000005; }
.brand-area { width: calc(var(--sidebar-width) - 16px); flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; width: fit-content; }
.logo-window { background: #fff; display: block; width: 109px; height: 43px; position: relative; overflow: hidden; border-radius: 5px; }
.logo-window img { position: absolute; width: 126px; max-width: none; height: auto; left: -4px; top: -21px; }
.brand-description { font-size: 8px; letter-spacing: .7px; line-height: 1.8; font-weight: 600; white-space: nowrap; }
.top-icon { width: 32px; height: 36px; border-radius: 5px; display: grid; place-items: center; color: #fff; flex-shrink: 0; position: relative; }
.top-icon:hover, .company-picker:hover { background: #ffffff22; }
.search-wrap { height: 37px; width: min(330px, 26vw); border: 1px solid #ffffff45; background: #ffffff16; border-radius: 6px; display: flex; align-items: center; gap: 9px; padding: 0 11px; position: relative; flex-shrink: 1; }
.search-wrap:focus-within { background: #fff; color: var(--brand-hover); border-color: #fff; box-shadow: 0 0 0 3px #ffffff20; }
.search-wrap input { min-width: 0; flex: 1; width: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 13px; }
.search-wrap input::placeholder { color: #ffffffc4; }
.search-wrap:focus-within input { color: var(--ink); }
.search-wrap:focus-within input::placeholder { color: var(--muted); }
.search-wrap kbd { font-family: inherit; font-size: 13px; border: 1px solid #ffffff50; border-radius: 3px; width: 18px; text-align: center; opacity: .8; }
.topbar-spacer { flex: 1; }
.company-picker { color: #fff; display: flex; align-items: center; gap: 9px; padding: 8px 4px; border-radius: 5px; max-width: 256px; font-size: 13px; min-width: 0; }
.company-name { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.company-icon { opacity: .8; }
.topbar-divider { height: 23px; width: 1px; background: #ffffff3b; }
.quick-create { width: 34px; height: 34px; background: #fff; color: var(--brand); border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 4px #9c2a1610; }
.quick-create:hover { background: #fff2e9; }
.notification-dot { position: absolute; right: 8px; top: 6px; width: 5px; height: 5px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--brand); }
.avatar { border: 2px solid #ffffff9c; border-radius: 50%; background: #fff2e7; color: #b74618; width: 33px; height: 33px; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.mobile-menu { display: none; }
.shell { display: flex; min-height: calc(100vh - var(--topbar-height)); }
.sidebar { width: var(--sidebar-width); flex-shrink: 0; background: #fff; border-right: 1px solid var(--line); height: calc(100dvh - var(--topbar-height)); position: sticky; top: var(--topbar-height); display: flex; flex-direction: column; z-index: 40; }
.workspace-label { display: flex; justify-content: space-between; align-items: center; padding: 24px 23px 13px; font-size: 11px; letter-spacing: 1.4px; font-weight: 600; color: #9a9faa; }
.workspace-badge { font-size: 10px; padding: 1px 5px; letter-spacing: .6px; border: 1px solid #e7e9ee; border-radius: 3px; color: #9a9faa; }
.nav { padding: 0 12px 15px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #dfe3e8 transparent; }
.nav-group { margin-bottom: 4px; }
.nav-link { display: flex; width: 100%; gap: 12px; align-items: center; min-height: 42px; border-radius: 6px; padding: 10px 13px; text-decoration: none; color: #626a76; text-align: left; white-space: nowrap; font-size: 13px; }
.nav-icon { display: grid; place-items: center; color: #888e99; }
.nav-link.active { background: var(--brand); color: #fff; box-shadow: 0 3px 6px #ed541b12; font-weight: 600; }
.nav-link.active .nav-icon { color: #fff; }
.nav-active-dot { height: 5px; width: 5px; border-radius: 50%; background: #fff; margin-left: auto; opacity: .75; }
.nav-link:hover:not(.active), .subnav-link:hover { background: var(--brand-soft); color: var(--brand-hover); }
.nav-chevron { margin-left: auto; opacity: .65; transition: transform .15s; }
.nav-link[aria-expanded='true'] { color: var(--brand-hover); background: #fff8f3; }
.nav-link[aria-expanded='true'] .nav-chevron { transform: rotate(90deg); }
.subnav { padding: 6px 0 5px 31px; }
.subnav-link { display: block; padding: 8px 12px; width: 100%; text-align: left; border-radius: 5px; font-size: 13px; color: #7b828d; border-left: 1px solid var(--line); }
.sidebar-bottom { padding: 12px 16px 0; }
.configure-features { width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 12px; background: #fff5ee; color: #b9532b; border: 1px solid #ffebe0; border-radius: 5px; font-size: 13px; }
.configure-features svg:last-child { margin-left: auto; }
.configure-features:hover { background: #ffede1; }
.sidebar-help { display: flex; gap: 9px; align-items: center; padding: 22px 2px; font-size: 12px; }
.sidebar-help strong { font-size: 11px; color: #747b86; font-weight: 500; }
.sidebar-help button { color: #9a9faa; display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; }
.sidebar-help button:hover { color: var(--brand); }
.help-circle { width: 31px; height: 33px; background: #f6f7f9; color: #9da4af; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.sidebar-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); min-height: 52px; }
.sidebar-version { color: #b0b4bd; font-size: 10px; letter-spacing: .9px; }
.sidebar-version span { display: block; font-size: 9px; margin-top: 2px; }
.button-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; color: #8a909b; border-radius: 5px; }
.button-icon:hover { color: var(--brand); background: var(--brand-soft); }
.button-icon.small { width: 24px; height: 27px; }
.app.sidebar-collapsed { --sidebar-width: 72px; }
.sidebar-collapsed .sidebar .workspace-label, .sidebar-collapsed .sidebar .nav-label, .sidebar-collapsed .sidebar .nav-chevron, .sidebar-collapsed .sidebar .nav-active-dot, .sidebar-collapsed .sidebar .subnav, .sidebar-collapsed .sidebar .sidebar-help, .sidebar-collapsed .sidebar .sidebar-version { display: none; }
.sidebar-collapsed .sidebar .nav { padding: 21px 10px 12px; }
.sidebar-collapsed .sidebar .nav-link { padding: 12px; justify-content: center; }
.sidebar-collapsed .sidebar .sidebar-bottom { padding: 10px 11px 0; }
.sidebar-collapsed .sidebar .configure-features { justify-content: center; padding: 12px; }
.sidebar-collapsed .sidebar .configure-features svg:last-child { display: none; }
.sidebar-collapsed .sidebar .sidebar-footer { justify-content: center; margin-top: 15px; }
.sidebar-collapsed .collapse-sidebar svg { transform: rotate(180deg); }
/* Keep the branded topbar area stable when the navigation collapses. */
.sidebar-collapsed .brand-area { width: 222px; }
.main { flex: 1; min-width: 0; padding: 0 30px; max-width: 1920px; margin: 0 auto; }
.welcome { display: flex; justify-content: space-between; align-items: center; min-height: 133px; gap: 15px; position: relative; }
.welcome-identity { display: flex; align-items: center; gap: 16px; }
.welcome-icon { display: grid; place-items: center; width: 58px; height: 61px; background: #fff; color: var(--brand); border: 1px solid #f3e7df; border-radius: 12px; box-shadow: 0 4px 12px #ed541b03; }
.welcome .eyebrow { font-size: 10px; letter-spacing: 1.6px; margin-bottom: 5px; color: #9c9190; }
.welcome h1 { font-size: 24px; font-weight: 600; letter-spacing: -.65px; line-height: 1.3; }
.greeting-dot { color: var(--brand); }
.welcome-company { color: #969ba4; font-size: 13px; margin-top: 6px; }
.welcome-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; background: #fff5ed; border: 1px solid #ffe8d7; color: #bd713d; font-size: 11px; font-weight: 500; border-radius: 4px; white-space: nowrap; }
.demo-badge i { height: 4px; width: 4px; background: #eea26d; border-radius: 50%; }
.snapshot-date { font-size: 11px; color: #a0a5ae; }
.dashboard-toolbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e3e6eb; margin-bottom: 24px; gap: 16px; }
.tabs { display: flex; align-self: stretch; gap: 27px; }
.tab { padding: 12px 0 17px; color: #8b909b; position: relative; font-size: 13px; white-space: nowrap; }
.tab:hover { color: var(--brand); }
.tab.active { color: var(--ink); font-weight: 600; }
.tab.active::after { content: ''; position: absolute; height: 3px; background: var(--brand); bottom: -1px; left: 0; right: 0; border-radius: 4px 4px 0 0; }
.tab-count { background: #e9edf1; color: #8a919b; font-size: 10px; border-radius: 3px; padding: 1px 5px; margin-left: 4px; }
.dashboard-actions { display: flex; align-items: center; gap: 10px; padding-bottom: 7px; }
.select-wrap { display: inline-flex; align-items: center; gap: 7px; position: relative; color: #727986; font-size: 12px; border-radius: 4px; }
.select-wrap select { background: transparent; border: 0; appearance: none; padding: 7px 18px 7px 2px; font-size: inherit; cursor: pointer; color: inherit; min-width: 0; max-width: 100%; }
.select-wrap > svg:last-child { position: absolute; right: 1px; pointer-events: none; }
.global-period { border: 1px solid #e3e6eb; background: #fff; padding: 0 10px; gap: 8px; }
.global-period > svg:last-child { right: 10px; }
.global-period select { padding: 6px 19px 6px 0; }
.summary-grid, .chart-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 23px; }
.chart-grid { margin-top: 23px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.card-header { min-height: 53px; padding: 13px 21px; background: var(--card-header); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-header h2 { font-size: 15px; letter-spacing: -.15px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.card-header-actions { display: flex; align-items: center; gap: 9px; }
.new-link { font-size: 12px; color: #8a909a; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.new-link svg { color: var(--brand); }
.new-link:hover { color: var(--brand); }
.summary-body { padding: 20px 22px 18px; }
.summary-caption { font-size: 13px; }
.summary-value { font-size: 25px; font-weight: 500; letter-spacing: -.65px; margin-top: 4px; display: flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.summary-value svg { color: #b8bec7; opacity: 0; }
.summary-value:hover { color: var(--brand-hover); }
.summary-value:hover svg, .summary-value:focus-visible svg { opacity: 1; }
.summary-progress { display: flex; height: 7px; border-radius: 2px; overflow: hidden; margin: 21px 0 19px; background: #fff0e4; }
.current-progress { background: var(--blue); flex-shrink: 0; }
.overdue-progress { background: var(--orange); flex: 1; }
.summary-legend { display: flex; gap: 23px; font-size: 12px; color: #8d939d; flex-wrap: wrap; }
.summary-legend > span, .summary-legend > button { display: inline-flex; align-items: center; gap: 5px; }
.summary-legend strong { font-weight: 500; color: #505a68; margin-left: 2px; }
.summary-legend button:hover strong { color: var(--brand); }
.swatch { width: 7px; height: 7px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
.swatch.blue { background: var(--blue); }.swatch.orange { background: var(--orange); }.swatch.green { background: var(--green); }.swatch.red { background: var(--red); }
.cash-card { margin-top: 23px; }
.info-button { color: #b5bbc4; display: grid; place-items: center; }
.info-button:hover { color: var(--brand); }
.cash-layout { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 32px; padding: 21px 24px 18px; }
.chart-context { display: flex; justify-content: space-between; margin-bottom: 12px; }
.chart-unit { font-size: 10px; color: #adb2bb; letter-spacing: .9px; }
.period-range { font-size: 11px; color: #9fa5af; }
.chart-host { min-width: 0; }
.chart-host > svg { width: 100%; display: block; overflow: visible; }
.chart-host .chart-gridline { stroke: #eaedf1; stroke-dasharray: 3 4; }
.chart-host .chart-axis-label { fill: #a0a6af; font-size: 12px; }
.chart-point { cursor: crosshair; outline: none; }
.chart-point:focus-visible { stroke: var(--ink); stroke-width: 2; }
.chart-hit-area:hover + .cash-point, .cash-point:hover { r: 4.5; fill: var(--brand); }
.cash-stats { border-left: 1px solid #f0f1f4; padding: 1px 0 0 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 13px; }
.cash-stat { text-align: right; }
.stat-label { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 12px; color: #949aa4; }
.cash-stat strong { display: block; font-size: 17px; letter-spacing: -.3px; font-weight: 500; margin-top: 3px; font-variant-numeric: tabular-nums; }
.cash-stat.closing { padding-top: 11px; border-top: 1px solid var(--line); }
.cash-stat.closing strong { color: #2b3e51; font-weight: 600; }
.income-body { padding: 21px 20px 16px; }
.income-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.income-totals { display: flex; gap: 17px; min-width: 0; }
.income-totals > div { min-width: 0; }
.income-totals span { color: #979da6; font-size: 11px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.income-totals strong { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.35px; margin-top: 4px; white-space: nowrap; }
.segmented-control { display: inline-flex; padding: 2px; background: #f0f2f5; border-radius: 4px; flex-shrink: 0; }
.segmented-control button { padding: 3px 7px; font-size: 10px; color: #969da7; border-radius: 3px; }
.segmented-control button.active { background: #fff; color: #5a6370; box-shadow: 0 1px 3px #0000000c; }
.income-chart { margin-top: 25px; }
.chart-footnote { font-size: 10px; color: #a3a9b3; margin-top: 14px; }
.expense-layout { display: flex; align-items: center; gap: 23px; padding: 32px 22px 26px; min-height: 266px; }
.donut-container { position: relative; width: 41%; max-width: 185px; flex-shrink: 0; aspect-ratio: 1; }
#expenseDonut svg { display: block; width: 100%; height: auto; overflow: visible; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.donut-center span { font-size: 11px; color: #969da7; }
.donut-center strong { font-size: 15px; letter-spacing: -.4px; font-weight: 600; margin-top: 3px; }
.donut-slice { transition: opacity .15s, stroke-width .15s; cursor: pointer; }
.donut-slice:hover, .donut-slice:focus { stroke-width: 19; }
.expense-list { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
.expense-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-width: 0; font-size: 11px; border-radius: 4px; }
.expense-row > span { display: flex; flex: 1; align-items: center; min-width: 0; gap: 7px; color: #8e95a0; }
.expense-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expense-row > strong { font-size: 12px; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.expense-row:hover .expense-name { color: var(--brand); }
.expense-footnote { margin: 0 22px 17px; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; min-height: 294px; padding: 35px; }
.empty-icon { width: 64px; height: 64px; display: grid; place-items: center; color: #c3c9d2; border-radius: 14px; background: #f7f8fa; border: 1px dashed #e1e5eb; margin-bottom: 17px; }
.empty-state h3 { font-size: 13px; font-weight: 500; color: #757e8a; }
.empty-state p { font-size: 12px; color: #a1a8b2; max-width: 230px; margin: 7px 0 19px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; border-radius: 5px; padding: 9px 14px; border: 1px solid transparent; font-weight: 500; font-size: 13px; text-decoration: none; }
.button-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.button-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button-secondary { color: #a95a38; border-color: #f5ddcf; background: #fff9f5; }
.button-secondary:hover { background: #ffefe4; border-color: #edc6ad; }
.button-neutral { color: #707b88; background: #fff; border-color: #e0e4e9; }
.button-neutral:hover { background: #f5f6f8; }
.text-link { color: var(--brand); display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.text-link:hover { color: var(--brand-hover); text-decoration: underline; }
.bank-alert { width: 100%; padding: 10px 20px; background: #fff8ed; border-bottom: 1px solid #fcf0dc; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; text-align: left; }
.bank-alert > span { display: flex; gap: 6px; align-items: center; }
.bank-alert svg { color: #eba847; }
.bank-alert > span:first-child { color: #a98c67; }
.bank-alert-link { font-size: 10px; color: #a98c67; white-space: nowrap; }
.bank-alert:hover { background: #fff0dc; }
.bank-list { padding: 0 21px; }
.bank-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 13px 0; border-bottom: 1px solid #f0f1f4; }
.bank-row:last-child { border-bottom: 0; }
.bank-symbol { width: 30px; height: 32px; border-radius: 6px; background: #f8f9fb; color: #a4acb7; display: grid; place-items: center; }
.bank-name { font-size: 12px; color: #606c7b; }
.bank-name small { display: block; font-size: 10px; color: #a6adb6; margin-top: 3px; }
.bank-balance { margin-left: auto; font-size: 13px; font-weight: 500; color: #566271; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bank-row:hover .bank-name, .bank-row:hover .bank-balance { color: var(--brand); }
.bank-card-footer { padding: 11px 21px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; color: #b0b5bf; font-size: 10px; }
.bank-card-footer button { display: flex; align-items: center; gap: 5px; color: #a9775e; white-space: nowrap; }
.project-row { display: flex; gap: 12px; padding: 21px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.project-row:last-child { border: 0; }
.project-icon { background: var(--brand-soft); color: var(--brand); padding: 10px; border-radius: 7px; }
.project-description { flex: 1; min-width: 0; }
.project-description h3 { font-size: 13px; margin-top: 1px; }
.project-description p { font-size: 11px; color: var(--muted); margin: 4px 0 10px; }
.project-tag { background: #eef8f3; color: #65a28b; font-size: 10px; padding: 2px 6px; border-radius: 3px; }
.page-footer { padding: 28px 0 22px; display: flex; justify-content: space-between; gap: 15px; color: #b0b6bf; font-size: 10px; }
.page-footer > span:first-child { display: flex; align-items: center; gap: 5px; }
.status-dot { background: #b5c7ba; border-radius: 50%; height: 4px; width: 4px; display: inline-block; }
.footer-divider { opacity: .7; padding: 0 5px; }
.utility-rail { width: 39px; flex-shrink: 0; border-left: 1px solid var(--line); background: #fff; position: sticky; top: var(--topbar-height); height: calc(100vh - var(--topbar-height)); display: flex; align-items: center; flex-direction: column; gap: 15px; padding-top: 19px; }
.rail-button { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 5px; color: #a1a8b3; }
.rail-button:hover { background: var(--brand-soft); color: var(--brand); }
.rail-button.rail-help { background: #fff0e2; color: #e88847; }
.rail-divider { height: 1px; width: 17px; background: var(--line); margin: 0 0 2px; }
.all-widgets-hidden { text-align: center; padding: 70px 20px; }
.all-widgets-hidden .empty-icon { margin: 0 auto 18px; }
.all-widgets-hidden h2 { font-size: 20px; }.all-widgets-hidden p { color: var(--muted); margin: 8px 0 20px; }
.chart-grid.single-widget { grid-template-columns: 1fr; }
.onboarding-header, .section-intro { display: flex; align-items: center; justify-content: space-between; padding: 17px 0 30px; gap: 20px; }
.onboarding-header h2, .section-intro h2 { font-size: 22px; letter-spacing: -.5px; margin: 7px 0; }
.onboarding-header p:not(.eyebrow), .section-intro p:not(.eyebrow) { font-size: 13px; color: var(--muted); }
.setup-progress { color: #b77d59; background: #fff2e9; padding: 6px 11px; border-radius: 5px; font-size: 12px; white-space: nowrap; }
.setup-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.setup-card { padding: 26px; position: relative; }.setup-number { position: absolute; right: 23px; top: 23px; color: #d9dee6; font-size: 22px; font-weight: 300; }
.setup-symbol { display: inline-flex; background: var(--brand-soft); color: var(--brand); padding: 13px; border-radius: 9px; margin-bottom: 23px; }
.setup-card h3 { font-size: 16px; }.setup-card p { color: var(--muted); font-size: 13px; margin: 9px 0 24px; line-height: 1.8; min-height: 60px; }
.preview-callout { display: flex; align-items: center; gap: 15px; margin-top: 25px; padding: 20px; border: 1px solid #eaded6; border-radius: 7px; background: #fffaf6; color: #af8c74; font-size: 13px; }.preview-callout p { margin-top: 3px; color: #aa9c90; font-size: 12px; }
.activity-card { padding: 0 24px; }.activity-row { display: flex; align-items: flex-start; gap: 15px; padding: 25px 0; border-bottom: 1px solid var(--line); }.activity-row:last-child { border: 0; }.activity-row strong { font-size: 13px; }.activity-row p { color: var(--muted); font-size: 13px; margin: 5px 0 12px; }.activity-row time { margin-left: auto; font-size: 12px; color: #a0a7b0; white-space: nowrap; }
.activity-symbol { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; flex-shrink: 0; }.green-soft { background: #eaf8f2; color: #5caa88; }.orange-soft { background: #fff2e9; color: #de9a6c; }.blue-soft { background: #edf3fc; color: #7c9ed0; }
/* Reusable overlays, forms and tables for the remaining design modules. */
.popover { position: fixed; min-width: 236px; max-width: min(345px,calc(100vw - 24px)); max-height: calc(100dvh - 85px); overflow-y: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: 7px; box-shadow: 0 10px 40px #25304421; z-index: 100; }
.popover-heading { padding: 9px 10px 10px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); margin-bottom: 5px; }.popover-subtitle { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.popover-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; text-align: left; font-size: 13px; border-radius: 5px; }.popover-item:hover, .popover-item:focus-visible { background: var(--brand-soft); color: var(--brand-hover); }.popover-item small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }.popover-item svg { color: #939ba6; }.popover-item .menu-note { margin-left: auto; font-size: 10px; color: #a9afb9; background: #f4f5f7; padding: 1px 5px; border-radius: 3px; }.popover-note { font-size: 11px; padding: 9px 10px; color: #9aa2ad; border-top: 1px solid var(--line); line-height: 1.7; }.profile-details { padding: 16px 10px; font-size: 13px; }.profile-details p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.search-results { position: absolute; top: calc(100% + 10px); left: 0; width: max(100%,300px); max-width: calc(100vw - 28px); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 7px; box-shadow: 0 10px 35px #25304420; max-height: 380px; overflow-y: auto; z-index: 101; }.search-result { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px; border-radius: 4px; text-align: left; font-size: 13px; }.search-result:hover, .search-result[aria-selected='true'] { background: var(--brand-soft); }.search-result small { color: #a4aab3; font-size: 10px; }.search-empty { color: var(--muted); padding: 14px 10px; font-size: 13px; }.search-heading { font-size: 10px; color: #a0a6af; letter-spacing: 1px; padding: 6px 10px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 300; background: #2c3748; color: #fff; border-radius: 7px; padding: 12px 20px; box-shadow: 0 7px 25px #1d26382b; font-size: 13px; max-width: calc(100vw - 30px); text-align: center; }
.chart-tooltip { position: fixed; z-index: 120; background: #2a3545; color: #fff; padding: 8px 12px; font-size: 12px; border-radius: 5px; box-shadow: 0 3px 12px #0002; white-space: pre-line; pointer-events: none; line-height: 1.7; }
.modal { border: 1px solid var(--line); border-radius: 12px; padding: 0; background: #fff; color: var(--ink); max-width: min(680px,calc(100vw - 32px)); width: 680px; max-height: calc(100dvh - 48px); overflow: hidden; box-shadow: 0 25px 100px #25304430; }
.modal[open] { display: flex; flex-direction: column; }.modal::backdrop { background: #1c253c55; backdrop-filter: blur(3px); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 25px; border-bottom: 1px solid var(--line); flex-shrink: 0; }.modal-header .eyebrow { font-size: 10px; color: #b28970; margin-bottom: 6px; }.modal-header h2 { font-size: 20px; letter-spacing: -.5px; }
.modal-body { padding: 23px 25px; overflow-y: auto; overscroll-behavior: contain; font-size: 13px; }.modal-body > p { color: var(--muted); line-height: 1.8; margin-bottom: 18px; }.modal-footer { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding: 15px 25px; flex-shrink: 0; background: #fcfcfd; }.modal-footer .footer-left { margin-right: auto; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }.data-table th { text-align: left; color: #969eaa; background: #f9fafb; font-size: 10px; letter-spacing: .5px; font-weight: 600; text-transform: uppercase; white-space: nowrap; padding: 11px 12px; }.data-table td { padding: 12px; border-top: 1px solid var(--line); }.data-table .numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }.data-table tbody tr:hover { background: #fcfcfd; }.data-table tfoot td { background: #f9fafb; font-weight: 600; }
.table-reference { display: block; font-size: 11px; color: #a4abb5; margin-top: 4px; }
.inventory-footnote { margin-top: 18px; font-size: 12px; color: var(--muted); }
.modal-header > div { min-width: 0; }.modal-header h2 { overflow-wrap: anywhere; }
body.dialog-open, body.drawer-open { overflow: hidden; }
[data-widget] { scroll-margin-top: 90px; }
.badge { display: inline-block; font-size: 10px; border-radius: 3px; padding: 3px 6px; white-space: nowrap; }.badge-overdue { background: #fff1e7; color: #ca8553; }.badge-current { background: #edf5fd; color: #6596c5; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px; background: #f9fafc; border-radius: 7px; border: 1px solid var(--line); margin-bottom: 20px; }.detail-grid dt { color: #a0a7b1; font-size: 11px; margin-bottom: 5px; }.detail-grid dd { margin: 0; color: #586575; font-size: 13px; }
.form-label { display: block; font-size: 13px; color: #687384; font-weight: 500; margin-bottom: 7px; }.form-input, .form-textarea { width: 100%; padding: 10px 12px; border: 1px solid #dfe4ea; border-radius: 5px; background: #fff; font-size: 13px; }.form-textarea { resize: vertical; min-height: 155px; line-height: 1.8; }.field-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; }
.preference-list { display: grid; gap: 0; }.preference-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }.preference-row:last-child { border: 0; }.preference-row strong { display: block; font-size: 13px; font-weight: 500; }.preference-row small { display: block; color: #a1a8b3; font-size: 12px; margin-top: 3px; }.preference-row input { margin-left: auto; flex-shrink: 0; }
.module-preview { border: 1px dashed #e8d9ce; border-radius: 8px; background: #fffaf6; padding: 22px; text-align: center; margin-bottom: 20px; }.module-preview svg { color: var(--brand); margin-bottom: 10px; }.module-preview h3 { font-size: 17px; margin-bottom: 6px; }.module-preview p { font-size: 13px; color: #a49284; }.component-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; justify-content: center; }.component-chips span { padding: 4px 8px; font-size: 11px; background: #fff; color: #a47f68; border: 1px solid #f0e2d7; border-radius: 4px; }
.keyboard-list { display: grid; gap: 15px; margin-top: 20px; }.keyboard-list > div { display: flex; justify-content: space-between; align-items: center; color: #828c99; }.keyboard-list kbd { border: 1px solid #dfe3e9; border-bottom-width: 2px; border-radius: 4px; font-family: inherit; font-size: 12px; padding: 3px 8px; background: #f9fafc; }.inventory-list { display: grid; gap: 8px; }.inventory-module { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 5px; padding: 11px 13px; font-size: 13px; gap: 10px; }.inventory-module small { color: #a2a9b2; font-size: 11px; }.inventory-module.ready { background: #f1faf5; border-color: #dff0e6; }.inventory-module.ready small { color: #6ca78c; }
.sidebar-backdrop { position: fixed; inset: var(--topbar-height) 0 0; background: #1d28384d; z-index: 60; }
@media (min-width: 1700px) { :root { --sidebar-width: 264px; font-size: 15px; }.main { padding: 0 39px; }.welcome { min-height: 155px; }.welcome h1 { font-size: 28px; }.card-header { min-height: 60px; padding-inline: 25px; }.card-header h2 { font-size: 17px; }.summary-body { padding: 25px; }.summary-value { font-size: 30px; }.summary-caption { font-size: 13px; }.summary-legend { font-size: 13px; }.cash-layout { grid-template-columns: minmax(0,1fr) 270px; padding: 25px 30px; }.cash-stat strong { font-size: 19px; }.income-totals strong { font-size: 19px; }.expense-layout { padding-block: 40px; gap: 35px; }.donut-container { max-width: 230px; }.expense-row, .expense-row > strong { font-size: 13px; }.expense-list { gap: 18px; }.bank-row { padding-block: 17px; }.bank-name, .bank-balance { font-size: 14px; }.bank-name small { font-size: 12px; } }
@media (max-width: 1250px) { :root { --sidebar-width: 212px; }.topbar { gap: 10px; padding-right: 14px; }.brand-description { display: none; }.brand-area { width: 132px; }.sidebar-collapsed .brand-area { width: 132px; }.search-wrap { width: 27vw; }.company-picker { max-width: 220px; }.main { padding: 0 22px; }.summary-grid, .chart-grid { gap: 18px; }.cash-card, .chart-grid { margin-top: 18px; }.cash-layout { grid-template-columns: minmax(0,1fr) 190px; gap: 20px; padding-inline: 19px; }.cash-stats { padding-left: 19px; }.cash-stat strong { font-size: 15px; }.card-header { padding-inline: 16px; }.card-header h2 { font-size: 14px; }.card-header-actions { gap: 3px; }.summary-body { padding-inline: 17px; }.summary-legend { gap: 13px; }.income-topline { flex-wrap: wrap; gap: 10px; }.expense-layout { gap: 15px; padding-inline: 17px; min-height: 282px; }.expense-row { gap: 7px; }.income-totals strong { font-size: 15px; }.bank-alert { padding-inline: 15px; }.bank-alert-link { display: none; }.sidebar-help strong { font-size: 10px; }.configure-features { font-size: 12px; }.global-period { font-size: 11px; }.tabs { gap: 22px; }.dashboard-actions { gap: 4px; }.tab { font-size: 13px; }.setup-grid { gap: 15px; }.setup-card { padding: 20px; }.donut-center strong { font-size: 13px; } }
@media (max-width: 1050px) { .history-button, .app-switcher { display: none; }.company-picker { max-width: 190px; }.utility-rail { display: none; }.income-totals { gap: 12px; }.expense-layout { flex-direction: column; gap: 20px; padding-block: 20px; }.donut-container { width: 140px; }.expense-list { width: 100%; gap: 10px; }.expense-footnote { text-align: center; }.income-card .income-body { display: flex; flex-direction: column; height: calc(100% - 53px); }.income-chart { margin-top: 24px; padding-top: 0; }.summary-legend { font-size: 11px; gap: 10px; }.setup-grid { grid-template-columns: 1fr; }.setup-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; align-items: center; }.setup-symbol { grid-row: span 3; margin: 0; }.setup-card p { min-height: 0; margin: 6px 0 15px; }.setup-card .button { justify-self: start; grid-column: 2; }.setup-number { display: none; } }
@media (max-width: 900px) and (min-width: 761px) { .app:not(.sidebar-expanded) { --sidebar-width: 72px; }.app:not(.sidebar-expanded) .sidebar .workspace-label, .app:not(.sidebar-expanded) .sidebar .nav-label, .app:not(.sidebar-expanded) .sidebar .nav-chevron, .app:not(.sidebar-expanded) .sidebar .nav-active-dot, .app:not(.sidebar-expanded) .sidebar .subnav, .app:not(.sidebar-expanded) .sidebar .sidebar-help, .app:not(.sidebar-expanded) .sidebar .sidebar-version { display: none; }.app:not(.sidebar-expanded) .sidebar .nav { padding: 21px 10px 12px; }.app:not(.sidebar-expanded) .sidebar .nav-link { padding: 12px; justify-content: center; }.app:not(.sidebar-expanded) .sidebar .sidebar-bottom { padding: 10px 11px 0; }.app:not(.sidebar-expanded) .sidebar .configure-features { justify-content: center; padding: 12px; }.app:not(.sidebar-expanded) .sidebar .configure-features svg:last-child { display: none; }.app:not(.sidebar-expanded) .sidebar .sidebar-footer { justify-content: center; margin-top: 15px; }.company-picker { max-width: 170px; }.company-icon { display: none; }.brand-area, .sidebar-collapsed .brand-area { width: 117px; }.app.sidebar-expanded { --sidebar-width: 212px; }.app.sidebar-expanded .sidebar { position: fixed; box-shadow: 10px 0 30px #26303e15; }.app.sidebar-expanded .main { margin-left: 72px; } }
@media (max-width: 760px) {
    :root { --topbar-height: 59px; --sidebar-width: 238px; }
    .topbar { gap: 11px; padding: 0 14px; }.brand-area, .sidebar-collapsed .brand-area { width: auto; display: flex; align-items: center; gap: 9px; }.mobile-menu { display: grid; width: 23px; }.logo-window { width: 91px; height: 36px; border-radius: 4px; }.logo-window img { width: 115px; left: -4px; top: -19px; }
    .company-picker, .topbar-divider, .app-switcher, .settings-button { display: none; }.search-wrap { width: auto; flex: 1; height: 33px; min-width: 70px; padding-inline: 8px; gap: 6px; }.search-wrap input { font-size: 12px; }.search-wrap kbd { display: none; }.search-wrap > svg { width: 16px; }.topbar-spacer { display: none; }.quick-create { width: 31px; height: 31px; }.top-icon.notification-button { width: 24px; }.avatar { width: 29px; height: 29px; font-size: 11px; }
    .sidebar { position: fixed; left: 0; top: var(--topbar-height); transform: translateX(-100%); z-index: 70; transition: transform .2s ease; width: 258px !important; box-shadow: 10px 0 30px #26303e15; }.app.mobile-open .sidebar { transform: translateX(0); }.app.mobile-open { overflow: hidden; }.app.sidebar-collapsed .sidebar .workspace-label { display: flex; }.app.sidebar-collapsed .sidebar .nav-label, .app.sidebar-collapsed .sidebar .nav-chevron, .app.sidebar-collapsed .sidebar .nav-active-dot, .app.sidebar-collapsed .sidebar .sidebar-help, .app.sidebar-collapsed .sidebar .sidebar-version { display: initial; }.app.sidebar-collapsed .sidebar .nav { padding: 0 12px 15px; }.app.sidebar-collapsed .sidebar .nav-link { justify-content: initial; padding: 10px 13px; }.app.sidebar-collapsed .sidebar .subnav:not([hidden]) { display: block; }.app.sidebar-collapsed .sidebar .sidebar-bottom { padding: 12px 16px 0; }.app.sidebar-collapsed .sidebar .sidebar-help { display: flex; }.app.sidebar-collapsed .sidebar .sidebar-footer { justify-content: space-between; margin-top: 0; }.app.sidebar-collapsed .sidebar .configure-features { justify-content: initial; }.app.sidebar-collapsed .sidebar .configure-features svg:last-child { display: initial; }
    .main { padding: 0 19px; width: 100%; }.welcome { min-height: 121px; }.welcome h1 { font-size: 23px; }.welcome-icon { width: 47px; height: 52px; }.welcome-identity { gap: 12px; }.welcome .eyebrow { font-size: 9px; letter-spacing: 1.2px; }.welcome-meta { gap: 6px; }.snapshot-date { font-size: 10px; }.welcome-company { font-size: 12px; }
    .dashboard-toolbar { flex-wrap: wrap; gap: 10px; margin-bottom: 19px; }.tabs { gap: 24px; }.tab { padding-bottom: 14px; font-size: 13px; }.dashboard-actions { padding-bottom: 10px; }.summary-grid, .chart-grid { gap: 16px; }.cash-card, .chart-grid { margin-top: 16px; }.summary-value { font-size: 23px; }.summary-legend { font-size: 11px; gap: 10px; }.card-header { padding-inline: 16px; }.cash-layout { grid-template-columns: minmax(0,1fr) 170px; padding: 18px 16px; gap: 14px; }.cash-stats { padding-left: 14px; }.cash-stat strong { font-size: 14px; }.cash-stat .stat-label { font-size: 11px; }.card-header h2 { font-size: 15px; }.income-totals strong { font-size: 16px; }.income-topline { gap: 13px; }.income-chart { margin-top: 10px; }.expense-layout { min-height: 260px; }.page-footer { font-size: 9px; padding-top: 23px; }.setup-grid { gap: 15px; }.onboarding-header { align-items: flex-start; }.onboarding-header h2 { font-size: 19px; }.onboarding-header p:not(.eyebrow) { font-size: 12px; }
}
@media (max-width: 600px) {
    .topbar { gap: 9px; padding: 0 11px; }.avatar { display: none; }.search-wrap input { font-size: 12px; }.brand-area { gap: 7px; }.welcome { padding: 24px 0 20px; min-height: auto; align-items: flex-start; }.welcome-icon { display: none; }.welcome h1 { font-size: 25px; }.welcome .eyebrow { margin-bottom: 7px; }.welcome-meta { padding-top: 2px; }.snapshot-date { display: none; }.demo-badge { font-size: 10px; padding: 3px 6px; }.welcome-company { font-size: 13px; margin-top: 6px; }
    .dashboard-toolbar { gap: 4px; border-bottom: 0; align-items: flex-start; }.tabs { width: 100%; border-bottom: 1px solid var(--line); gap: 24px; }.tab { font-size: 13px; }.dashboard-actions { padding: 9px 0 0; justify-content: space-between; width: 100%; }.global-period { font-size: 12px; }.summary-grid, .chart-grid { grid-template-columns: minmax(0,1fr); }.summary-card .card-header { min-height: 48px; }.summary-body { padding: 19px; }.summary-value { font-size: 28px; }.summary-progress { margin-block: 20px 18px; }.summary-legend { font-size: 13px; gap: 25px; }.card-header h2 { font-size: 15px; }.new-link { font-size: 12px; }.cash-layout { grid-template-columns: 1fr; padding: 17px 16px; gap: 18px; }.cash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; border: 0; border-top: 1px solid var(--line); padding: 17px 0 0; }.cash-stat { text-align: left; }.cash-stat .stat-label { justify-content: flex-start; font-size: 12px; }.cash-stat strong { font-size: 17px; }.cash-stat.closing { padding: 0; border: 0; }.cash-chart .chart-host { min-height: 175px; display: flex; align-items: center; }.chart-host .chart-axis-label { font-size: 13px; }.income-body { padding: 22px 18px 17px; }.income-topline { flex-wrap: nowrap; }.income-totals { gap: 18px; }.income-totals span { font-size: 11px; }.income-totals strong { font-size: 17px; }.income-chart { padding-top: 0; margin-top: 27px; }.chart-footnote { font-size: 10px; }.expense-layout { flex-direction: row; padding: 27px 18px; gap: 19px; min-height: 244px; }.donut-container { width: 42%; max-width: 170px; }.expense-list { gap: 14px; }.expense-row { font-size: 11px; }.expense-row > strong { font-size: 12px; }.expense-footnote { text-align: left; }.donut-center strong { font-size: 14px; }.projects-card .empty-state { min-height: 280px; }.bank-alert { font-size: 12px; }.bank-alert-link { display: flex; font-size: 10px; }.bank-name { font-size: 13px; }.bank-name small { font-size: 11px; }.bank-balance { font-size: 13px; }.bank-row { padding-block: 15px; }.page-footer { flex-direction: column; align-items: center; gap: 7px; font-size: 10px; padding-bottom: 23px; }.onboarding-header { flex-direction: column; gap: 15px; padding-top: 12px; }.setup-card { display: block; padding: 25px; }.setup-symbol { margin-bottom: 20px; }.setup-number { display: block; }.setup-card p { font-size: 13px; margin-block: 10px 20px; }.preview-callout { align-items: flex-start; }.section-intro { padding-top: 14px; }.section-intro h2 { font-size: 22px; }.section-intro .demo-badge { display: none; }.activity-card { padding: 0 18px; }.activity-row { position: relative; gap: 12px; padding-bottom: 40px; }.activity-row time { position: absolute; left: 47px; bottom: 16px; }.activity-row p { font-size: 12px; }.modal-header { padding: 20px; }.modal-body { padding: 20px; }.modal-footer { padding: 14px 20px; }.modal-header h2 { font-size: 18px; }.modal-footer .button { font-size: 12px; padding: 8px 11px; }.modal { max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); }.detail-grid { gap: 15px; }.search-results { width: 280px; left: auto; right: -38px; }.popover { max-height: calc(100dvh - 78px); }
}
@media (max-width: 380px) { .main { padding-inline: 14px; }.logo-window { width: 78px; }.logo-window img { width: 99px; left: -4px; top: -14px; }.topbar { gap: 7px; padding-inline: 9px; }.welcome h1 { font-size: 23px; }.tabs { gap: 21px; }.tab-count { display: none; }.summary-legend { gap: 18px; font-size: 12px; }.income-topline { flex-wrap: wrap; }.income-totals strong { font-size: 17px; }.expense-layout { gap: 15px; padding-inline: 14px; }.expense-row { gap: 4px; font-size: 10px; }.expense-row > strong { font-size: 11px; }.donut-center strong { font-size: 13px; }.bank-alert-link { display: none; }.bank-balance { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 600px) { .expense-list { width: auto; }.card-header { flex-wrap: wrap; row-gap: 4px; }.card-header-actions { margin-left: auto; }.bank-name { min-width: 0; }.bank-name small { overflow-wrap: anywhere; } }
@media print { .topbar, .sidebar, .utility-rail, .dashboard-actions, .new-link, .button-icon, .bank-alert, .sidebar-backdrop, .popover, .toast, dialog { display: none !important; }.main { padding: 0; }.welcome { min-height: 90px; }.card { break-inside: avoid; box-shadow: none; }.chart-grid { grid-template-columns: 1fr 1fr; }.cash-layout { grid-template-columns: 1fr 210px; }.app, body { background: #fff; }.tabs { padding-bottom: 0; }.card-header { background: #f6f6f6; } }
