@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable.woff2') format('woff2');
}

.sereno-app {
    --canvas: #fff;
    --muted: #65697c;
    --positive: #1b7449;
    --line: #e3e5ed;
    --font: Inter, Arial, sans-serif;
    background: #fff;
    font-size: 16px;
    font-family: var(--font);
    letter-spacing: -.025em;
}

.sereno-topbar {
    position: sticky;
    top: 0;
    z-index: 35;
    display: flex;
    gap: 24px;
    height: 88px;
    padding: 0 28px 0 38px;
    background: #fff;
    border-bottom: 1px solid #e0e2eb;
    box-shadow: 0 1px 3px #11121603;
}

.header-mark {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 68px;
    height: 45px;
    padding-right: 30px;
    border-right: 1px solid var(--line);
}

.header-mark img { display: block; width: 34px; height: 43px; }
.header-workspace { display: flex; align-items: center; flex-shrink: 0; gap: 10px; width: 214px; height: 46px; padding: 0 12px; border: 1px solid #e0e2ea; border-radius: 14px; }
.header-workspace > svg { flex-shrink: 0; width: 23px; }
.header-workspace select { margin: 0; padding: 8px 18px 8px 0; border: 0; border-radius: 0; background-position: right 0 center; background-size: 19px; font-size: 16px; font-weight: 620; text-overflow: ellipsis; }
.global-nav { display: flex; align-items: center; justify-content: space-between; gap: 4px; flex: 1; min-width: 0; }
.global-nav .nav-item { gap: 10px; justify-content: center; min-height: 46px; margin: 0; padding: 12px 13px; border-radius: 13px; color: #4c5067; font-size: 16px; font-weight: 460; white-space: nowrap; }
.global-nav .nav-item > svg { width: 23px; height: 23px; }
.global-nav .nav-item.active { color: #111216; font-weight: 650; background: var(--lime); }
.sereno-topbar .topbar-actions { flex-shrink: 0; gap: 12px; border-left: 1px solid var(--line); padding-left: 18px; }
.sereno-topbar .icon-button { width: 30px; height: 38px; color: #535970; }
.notification-button > span { width: 6px; height: 6px; top: 3px; right: 5px; background: var(--lime); border: 0; }
.sereno-topbar .mobile-menu { display: none; }

.sereno-app .app-shell {
    display: grid;
    grid-template-columns: clamp(236px, 20.2vw, 320px) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    min-height: calc(100dvh - 88px);
    margin: 0;
    padding: 32px 28px 28px 26px;
}

.sereno-app .folder-sidebar {
    position: sticky;
    inset: auto;
    top: 120px;
    z-index: 20;
    display: block;
    visibility: visible;
    width: auto;
    min-width: 0;
    height: calc(100dvh - 148px);
    min-height: 400px;
    padding: 24px 16px;
    overflow-y: auto;
    border: 0;
    border-radius: 21px;
    background: #f7f7f5;
    transform: none;
}

.folder-sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 9px 24px 5px; }
.folder-sidebar-heading h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.8px; font-weight: 720; }
.folder-sidebar-heading h2 > button { font: inherit; letter-spacing: inherit; padding: 0; background: none; text-align: left; }
.folder-sidebar-heading .add-folder-button { width: 39px; height: 39px; flex-shrink: 0; border: 1px solid #d9dce5; border-radius: 11px; background: #fff; color: #111216; }
.folder-tree { display: flex; flex-direction: column; gap: 5px; }
.folder-tree-item { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 57px; padding: 14px 20px; border-radius: 15px; background: transparent; text-align: left; font-size: 18px; font-weight: 460; letter-spacing: -.45px; }
.folder-tree-item > svg { width: 26px; height: 26px; flex-shrink: 0; }
.folder-tree-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-tree-item:hover { background: #eeeefa; }
.folder-tree-item.selected { background: #effbad; font-weight: 650; }
.folder-tree-empty { padding: 15px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.sereno-app main { width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; }
.sereno-app .page-heading { padding-top: 12px; }
.sereno-app .page-heading h1 { font-size: 36px; }
.sereno-app .page-subtitle { font-size: 14px; line-height: 1.8; }
.sereno-app .button { font-family: inherit; letter-spacing: -.025em; }
.sereno-app .primary { background: var(--lime); }
.sereno-app .primary:hover { background: #c7ed00; }
.sereno-app .secondary { border-color: #d8dce7; }
.sereno-app .is-budget-detail .page-heading { display: none; }

.sereno-budget-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; }
.sereno-budget-heading > div:first-child { min-width: 0; }
.sereno-budget-heading .eyebrow { margin-bottom: 14px; color: #535a72; font-size: 12px; line-height: 16px; font-weight: 730; letter-spacing: 1.6px; }
.sereno-budget-heading h1 { margin: 0; color: #111216; font-size: clamp(32px, 3.03vw, 48px); line-height: 1.23; font-weight: 750; letter-spacing: -1.7px; overflow-wrap: anywhere; }
.sereno-budget-heading .budget-period { margin-top: 8px; color: #646a81; font-size: 22px; line-height: 28px; letter-spacing: -.4px; }
.sereno-budget-actions { display: flex; align-items: center; flex-shrink: 0; gap: 16px; margin-top: 26px; }
.sereno-budget-actions .button { height: 51px; padding: 12px 20px; border-radius: 13px; gap: 12px; font-size: 16px; font-weight: 580; }
.sereno-budget-actions .primary { font-weight: 660; }
.sereno-budget-actions .button > svg { width: 23px; height: 23px; }

.budget-summary { display: grid; grid-template-columns: 32.8% minmax(0, 1fr); min-height: 172px; margin-top: 28px; margin-bottom: 8px; border: 1px solid #d8dce7; border-radius: 21px; background: white; }
.summary-balance { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; margin: -1px 0 -1px -1px; padding: 25px 38px; border-radius: 21px; background: var(--lime); }
.summary-balance > span { font-size: 25px; line-height: 1.25; font-weight: 650; letter-spacing: -.8px; }
.summary-balance > strong { font-size: clamp(43px, 4.55vw, 72px); line-height: 1.05; font-weight: 730; letter-spacing: -2.4px; white-space: nowrap; }
.summary-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; min-width: 0; padding: 27px 0; }
.summary-metric { padding: 0 25px; min-width: 0; }
.summary-metric + .summary-metric { border-left: 1px solid #d6dae5; }
.summary-metric > div { display: flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 19px; line-height: 1.5; }
.metric-glyph { display: inline-grid; place-items: center; width: 35px; height: 37px; flex-shrink: 0; border-radius: 11px; background: #f4f4f5; }
.metric-glyph svg { width: 23px; height: 23px; }
.summary-metric > strong { display: block; margin-top: 9px; font-size: clamp(23px, 2.02vw, 32px); line-height: 1.25; letter-spacing: -1px; font-weight: 680; white-space: nowrap; }

.budget-content-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 65px; border-bottom: 1px solid var(--line); }
.sereno-budget-content .budget-tabs { align-self: stretch; justify-content: flex-start; flex-shrink: 0; gap: 27px; padding: 0; border: 0; }
.sereno-budget-content .budget-tabs > button { position: relative; min-height: 64px; padding: 12px 10px 16px; border: 0; border-radius: 0; font-size: 20px; color: #61617d; font-weight: 450; letter-spacing: -.5px; }
.sereno-budget-content .budget-tabs > button.selected { color: #111216; font-weight: 670; }
.sereno-budget-content .budget-tabs > button.selected::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 5px; background: #a8cf00; border-radius: 4px; }
.budget-search-controls { display: flex; align-items: center; gap: 17px; min-width: 0; }
.budget-search { position: relative; width: clamp(190px, 19.7vw, 312px); min-width: 0; }
.budget-search > svg { position: absolute; left: 15px; top: 12px; height: 21px; width: 21px; color: #202431; }
.budget-search > input { margin: 0; height: 44px; padding: 10px 14px 10px 47px; border-color: #d5d9e4; border-radius: 14px; font-size: 15px; letter-spacing: -.3px; }
.budget-search > input::placeholder { color: #6e718b; opacity: 1; }
.budget-search-controls > select { width: 189px; height: 44px; padding: 10px 34px 10px 18px; border-color: #d5d9e4; border-radius: 14px; font-size: 15px; background-position: right 13px center; }
.budget-ledger-panel { margin-top: 27px; border-color: #e0e3ed; border-radius: 20px; }
.budget-ledger { table-layout: fixed; }
.budget-ledger th { padding: 16px 27px 12px; font-size: 16px; line-height: 1.5; color: #656a81; font-weight: 420; letter-spacing: -.4px; background: #f8f8fa; }
.budget-ledger th:nth-child(1) { width: 35%; }
.budget-ledger th:nth-child(2) { display: table-cell; width: 25%; }
.budget-ledger th:nth-child(3) { width: 17%; }
.budget-ledger th:nth-child(4) { width: 23%; }
.budget-ledger td { height: 73px; padding: 13px 27px; font-size: 16px; line-height: 1.4; border-color: #e5e7ee; }
.budget-ledger td:first-child { min-width: 0; max-width: none; }
.budget-ledger td strong { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.5px; line-height: 1.45; }
.budget-ledger td .unexpected-tag { margin-top: 3px; padding: 2px 18px; border-radius: 20px; background: #fff0dc; color: #68401f; font-size: 14px; line-height: 1.3; letter-spacing: -.35px; }
.budget-ledger .ledger-category { white-space: nowrap; color: #64687e; }
.category-icon { display: inline-grid; place-items: center; width: 35px; height: 36px; margin-right: 13px; vertical-align: middle; border-radius: 10px; background: #f4f4f6; color: #111216; }
.category-icon svg { width: 23px; height: 23px; }
.budget-ledger .ledger-date { font-size: 15px; letter-spacing: -.4px; color: #686d83; }
.budget-ledger td:last-child { font-size: 21px; font-weight: 650; letter-spacing: -.7px; }
.budget-ledger td.positive { color: #1c7547; }
.budget-empty { padding: 40px 24px; font-size: 14px; }
.unexpected-explanation { margin: 18px 0 -7px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.budget-attachments-panel { margin-top: 27px; }
.budget-attachments-panel .file-row { padding: 20px 0; }

.budget-collaboration-shelf { display: grid; grid-template-columns: 54% minmax(0, 1fr); gap: 0; margin-top: 28px; padding: 23px 28px; border: 1px solid #e0e3ed; border-radius: 21px; background: #fff; }
.budget-documents { min-width: 0; padding-right: 27px; }
.budget-people { min-width: 0; padding-left: 36px; border-left: 1px solid #d8dce6; }
.budget-collaboration-shelf h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; font-size: 20px; line-height: 27px; letter-spacing: -.7px; font-weight: 660; }
.budget-collaboration-shelf h2 > svg { width: 26px; height: 26px; color: #444a64; }
.budget-collaboration-shelf h2 > span { margin-left: -5px; font-size: inherit; color: #545a73; font-weight: 500; }
.attachment-tiles { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.attachment-tile { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px; min-height: 68px; padding: 10px 11px 10px 17px; border: 1px solid #e0e3ed; border-radius: 13px; background: #f8f8fa; }
.attachment-file-icon { display: grid; place-items: center; flex-shrink: 0; width: 24px; margin-right: 5px; }
.attachment-file-icon > svg { width: 24px; height: 27px; }
.attachment-file-name { flex: 1; min-width: 0; }
.attachment-file-name > strong { display: block; overflow: hidden; font-size: 16px; line-height: 1.5; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.45px; }
.attachment-file-name > small { font-size: 13px; line-height: 1.5; color: #697089; letter-spacing: -.3px; }
.attachment-tile .icon-button { width: 26px; height: 35px; flex-shrink: 0; color: #1f2432; }
.attachment-tile .icon-button > svg { width: 21px; height: 21px; }
.attachment-tile .file-more > svg { stroke-width: 3.5; }
.attachment-upload { min-height: 68px; gap: 10px; padding: 15px 19px; border: 1px dashed #9299b2; border-radius: 13px; background: white; font-size: 15px; font-weight: 450; }
.attachment-upload:hover { background: #f7f9ee; }
.attachment-upload > svg { width: 22px; height: 22px; }
.budget-member-list { display: flex; flex-direction: column; gap: 8px; }
.budget-member { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.member-face { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #ebe2da; color: #695343; font-size: 17px; font-weight: 650; }
.portrait-david { background-color: #e0e4dc; color: #46543c; }
.budget-member > strong { min-width: 0; overflow: hidden; font-size: 17px; line-height: 1.5; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.budget-member select { width: 160px; height: 39px; min-width: 0; flex-shrink: 0; margin-left: auto; padding: 7px 29px 7px 12px; border-color: #d8dce7; border-radius: 12px; background-position: right 10px center; font-size: 14px; letter-spacing: -.4px; }
.member-permission { margin-left: auto; color: #62677d; font-size: 14px; white-space: nowrap; }
.budget-collaboration-shelf .field-help { margin: 0; font-size: 14px; }
.budget-collaboration-shelf .text-button { margin-top: 12px; font-size: 14px; }
.sereno-app.is-budget-detail .app-footer { display: none; }
.sereno-app .app-footer { margin-top: 16px; font-size: 12px; }
.sereno-app .toast { left: 50%; }
.sereno-app .notification-panel { top: 78px; right: 28px; }
.privacy-control { justify-content: flex-start; margin-bottom: 20px; }
.privacy-control > svg { width: 20px; height: 20px; }
#file-details-content h3 { font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
#file-details-content p { margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.8; }

@media (min-width: 1450px) {
    .sereno-budget-actions .secondary { min-width: 228px; }
    .sereno-budget-actions .primary { min-width: 250px; }
    .summary-metric > strong { padding-left: 44px; }
}

@media (max-width: 1449px) {
    .sereno-topbar { gap: 16px; padding: 0 22px; }
    .header-mark { width: 54px; padding-right: 20px; }
    .header-workspace { width: 190px; gap: 8px; }
    .header-workspace select { font-size: 14px; }
    .global-nav .nav-item { gap: 7px; padding: 11px 9px; font-size: 14px; }
    .global-nav .nav-item > svg { width: 20px; height: 20px; }
    .sereno-topbar .topbar-actions { gap: 9px; padding-left: 13px; }
    .sereno-app .app-shell { gap: 26px; padding-right: 24px; padding-left: 24px; }
    .folder-sidebar-heading { padding-right: 3px; padding-left: 2px; }
    .folder-sidebar-heading h2 { font-size: 20px; }
    .folder-tree-item { padding-left: 14px; gap: 12px; font-size: 16px; }
    .sereno-budget-heading { gap: 18px; }
    .sereno-budget-actions { gap: 12px; }
    .sereno-budget-actions .button { height: 47px; padding: 12px 15px; gap: 9px; font-size: 14px; }
    .summary-balance { padding-left: 29px; padding-right: 20px; }
    .summary-balance > span { font-size: 22px; }
    .summary-metric { padding: 0 21px; }
    .summary-metric > div { gap: 8px; font-size: 16px; }
    .metric-glyph { width: 30px; height: 32px; }
    .metric-glyph svg { width: 21px; height: 21px; }
    .budget-search { width: 235px; }
    .budget-search-controls { gap: 12px; }
    .budget-search-controls > select { width: 160px; }
    .sereno-budget-content .budget-tabs { gap: 16px; }
    .sereno-budget-content .budget-tabs > button { font-size: 17px; padding-right: 5px; padding-left: 5px; }
    .budget-ledger th, .budget-ledger td { padding-left: 22px; padding-right: 22px; }
    .budget-ledger th { font-size: 14px; }
    .budget-ledger td strong { font-size: 16px; }
    .budget-ledger td:last-child { font-size: 18px; }
    .budget-ledger .ledger-category { font-size: 14px; }
    .category-icon { width: 31px; height: 33px; margin-right: 8px; }
    .budget-ledger .ledger-date { font-size: 13px; }
    .budget-collaboration-shelf { padding-left: 23px; padding-right: 23px; }
    .budget-documents { padding-right: 23px; }
    .budget-people { padding-left: 26px; }
    .budget-collaboration-shelf h2 { font-size: 18px; }
    .attachment-tile { padding-left: 12px; gap: 5px; min-width: 180px; }
    .attachment-file-name > strong { font-size: 14px; }
    .attachment-file-name > small { font-size: 12px; }
    .attachment-upload { gap: 7px; padding-right: 13px; padding-left: 13px; font-size: 14px; }
    .budget-member > strong { font-size: 15px; }
    .budget-member select { width: 137px; padding-left: 10px; font-size: 13px; }
}

@media (max-width: 1190px) {
    .sereno-topbar { flex-wrap: wrap; justify-content: flex-start; height: 139px; gap: 0 20px; padding-top: 11px; padding-bottom: 4px; }
    .sereno-topbar .topbar-actions { margin-left: auto; }
    .global-nav { order: 4; flex: 1 0 100%; min-width: 0; overflow-x: auto; gap: 5px; padding-bottom: 4px; }
    .global-nav .nav-item { padding: 10px 13px; min-height: 43px; font-size: 15px; }
    .sereno-app .app-shell { grid-template-columns: 225px minmax(0, 1fr); gap: 25px; padding: 25px 23px; min-height: calc(100dvh - 139px); }
    .sereno-app .folder-sidebar { top: 164px; height: calc(100dvh - 189px); padding: 22px 13px; }
    .folder-sidebar-heading h2 { font-size: 18px; }
    .folder-sidebar-heading .add-folder-button { width: 34px; height: 35px; }
    .folder-tree-item { font-size: 15px; gap: 10px; min-height: 55px; padding-right: 12px; padding-left: 12px; }
    .folder-tree-item > svg { width: 23px; height: 23px; }
    .sereno-budget-heading { flex-wrap: wrap; gap: 20px; padding-top: 8px; }
    .sereno-budget-heading h1 { font-size: 37px; }
    .sereno-budget-heading .budget-period { font-size: 19px; }
    .sereno-budget-actions { margin-top: 0; }
    .budget-summary { min-height: 145px; margin-top: 24px; }
    .summary-balance { padding-left: 22px; padding-right: 18px; }
    .summary-balance > strong { font-size: 42px; letter-spacing: -1.8px; }
    .summary-balance > span { font-size: 20px; }
    .summary-metric { padding: 0 17px; }
    .summary-metric > div { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; }
    .metric-glyph { width: 27px; height: 28px; border-radius: 8px; }
    .metric-glyph > svg { width: 19px; height: 19px; }
    .summary-metric > strong { font-size: 22px; letter-spacing: -.7px; }
    .budget-content-toolbar { flex-wrap: wrap; gap: 10px; padding: 6px 0 14px; }
    .sereno-budget-content .budget-tabs { flex: 1 0 100%; gap: 24px; }
    .sereno-budget-content .budget-tabs > button { font-size: 18px; min-height: 58px; }
    .budget-search-controls { flex: 1; gap: 15px; padding-top: 6px; }
    .budget-search { width: auto; flex: 1; }
    .budget-search-controls > select { width: 175px; }
    .budget-ledger-panel { margin-top: 22px; }
    .budget-ledger th, .budget-ledger td { padding-left: 17px; padding-right: 17px; }
    .budget-ledger th:nth-child(1) { width: 43%; }
    .budget-ledger th:nth-child(2) { width: 30%; }
    .budget-ledger th:nth-child(3), .budget-ledger .ledger-date { display: none; }
    .budget-ledger th:nth-child(4) { width: 27%; }
    .budget-ledger .ledger-category { font-size: 14px; }
    .budget-ledger td strong { font-size: 15px; }
    .budget-ledger td:last-child { font-size: 17px; }
    .budget-collaboration-shelf { grid-template-columns: 1fr; padding: 24px; }
    .budget-documents { padding: 0 0 22px; }
    .budget-people { border-left: 0; border-top: 1px solid var(--line); padding: 23px 0 0; }
    .budget-member select { width: 155px; }
    .budget-member > strong { font-size: 16px; }
    .attachment-file-name > strong { font-size: 15px; }
    .sereno-app .notification-panel { top: 68px; }
}

@media (max-width: 760px) {
    .sereno-topbar { padding: 10px 14px 3px; gap: 0 10px; height: 128px; }
    .sereno-topbar .mobile-menu { display: inline-flex; width: 30px; height: 42px; color: #111216; }
    .header-mark { width: 31px; height: 40px; padding: 0; border: 0; }
    .header-mark img { width: 28px; height: 35px; }
    .header-workspace { width: 178px; height: 43px; padding: 0 10px; gap: 8px; }
    .header-workspace > svg { width: 20px; height: 20px; }
    .header-workspace select { font-size: 14px; }
    .sereno-topbar .topbar-actions { gap: 8px; padding: 0; border: 0; }
    .sereno-topbar .topbar-actions .icon-button { width: 27px; height: 40px; }
    .global-nav { justify-content: flex-start; gap: 4px; margin-top: 5px; scrollbar-width: none; }
    .global-nav::-webkit-scrollbar { display: none; }
    .global-nav .nav-item { min-height: 43px; padding: 10px 12px; gap: 8px; font-size: 14px; }
    .global-nav .nav-item > svg { width: 20px; height: 20px; }
    .sereno-app .app-shell { display: block; padding: 25px 18px 27px; min-height: calc(100dvh - 128px); }
    .sereno-app .folder-sidebar { position: fixed; top: 142px; bottom: 14px; left: 14px; width: min(300px, calc(100vw - 28px)); height: auto; min-height: 0; z-index: 45; padding: 24px 16px; visibility: hidden; transform: translateX(calc(-100% - 28px)); transition: transform .2s, visibility .2s; box-shadow: 0 20px 60px #11121620; }
    .sereno-app .folder-sidebar.open { visibility: visible; transform: none; }
    .folder-sidebar-heading h2 { font-size: 21px; }
    .folder-sidebar-heading .add-folder-button { width: 40px; height: 40px; }
    .folder-tree-item { font-size: 17px; min-height: 57px; gap: 15px; padding-left: 17px; }
    .sereno-app .sidebar-scrim { z-index: 40; position: fixed; inset: 128px 0 0; background: #11121642; }
    .sereno-budget-heading { display: block; padding-top: 0; }
    .sereno-budget-heading .eyebrow { font-size: 10px; letter-spacing: 1.3px; line-height: 16px; margin-bottom: 10px; }
    .sereno-budget-heading h1 { font-size: 33px; line-height: 1.25; letter-spacing: -1.1px; }
    .sereno-budget-heading .budget-period { font-size: 17px; line-height: 1.6; margin-top: 8px; }
    .sereno-budget-actions { margin-top: 21px; gap: 10px; }
    .sereno-budget-actions .button { justify-content: center; flex: 1; height: 46px; min-width: 0; padding: 10px 12px; border-radius: 11px; gap: 8px; font-size: 13px; }
    .sereno-budget-actions .button > svg { width: 19px; height: 19px; }
    .budget-summary { grid-template-columns: 1fr; margin-top: 23px; min-height: 0; border-radius: 19px; }
    .summary-balance { min-height: 136px; margin: -1px -1px 0; padding: 21px 26px; border-radius: 19px; gap: 8px; }
    .summary-balance > span { font-size: 21px; letter-spacing: -.4px; }
    .summary-balance > strong { font-size: 52px; line-height: 1.12; letter-spacing: -1.8px; }
    .summary-metrics { padding: 23px 0; }
    .summary-metric { padding: 0 13px; }
    .summary-metric > div { flex-direction: row; align-items: center; font-size: 13px; line-height: 1.7; }
    .metric-glyph { display: none; }
    .summary-metric > strong { margin-top: 7px; font-size: 20px; line-height: 1.4; letter-spacing: -.7px; }
    .budget-content-toolbar { padding-top: 2px; padding-bottom: 17px; gap: 6px; }
    .sereno-budget-content .budget-tabs { gap: 12px; justify-content: space-between; }
    .sereno-budget-content .budget-tabs > button { min-height: 62px; padding-left: 5px; padding-right: 5px; font-size: 16px; letter-spacing: -.45px; }
    .sereno-budget-content .budget-tabs > button.selected::after { height: 4px; bottom: -1px; }
    .budget-search-controls { gap: 10px; padding-top: 9px; }
    .budget-search > input { font-size: 14px; padding-left: 37px; border-radius: 11px; height: 43px; }
    .budget-search > svg { left: 12px; top: 12px; width: 18px; height: 18px; }
    .budget-search-controls > select { width: 135px; height: 43px; font-size: 13px; padding-left: 12px; border-radius: 11px; background-position: right 9px center; }
    .budget-ledger-panel { margin-top: 20px; border-radius: 16px; }
    .budget-ledger th { font-size: 13px; padding: 14px 16px; }
    .budget-ledger td { padding: 17px 16px; height: 76px; }
    .budget-ledger th:nth-child(1) { width: 67%; }
    .budget-ledger th:nth-child(2), .budget-ledger .ledger-category { display: none; }
    .budget-ledger th:nth-child(4) { width: 33%; }
    .budget-ledger td strong { font-size: 14px; line-height: 1.6; letter-spacing: -.35px; }
    .budget-ledger td:last-child { font-size: 15px; letter-spacing: -.5px; }
    .budget-ledger td .unexpected-tag { margin-top: 4px; padding: 2px 10px; font-size: 12px; }
    .budget-collaboration-shelf { margin-top: 23px; padding: 23px 20px; border-radius: 18px; }
    .budget-collaboration-shelf h2 { font-size: 18px; line-height: 1.5; margin-bottom: 16px; }
    .budget-collaboration-shelf h2 > svg { width: 24px; height: 24px; }
    .attachment-tiles { gap: 13px; }
    .attachment-tile { flex: 1 0 100%; min-height: 67px; padding-left: 13px; gap: 9px; }
    .attachment-file-name > strong { font-size: 14px; }
    .attachment-file-name > small { font-size: 12px; }
    .attachment-upload { flex: 1; min-height: 46px; font-size: 14px; border-radius: 11px; padding: 10px 13px; }
    .budget-documents { padding-bottom: 22px; }
    .budget-people { padding-top: 20px; }
    .budget-member { min-height: 42px; gap: 10px; }
    .budget-member > strong { font-size: 15px; }
    .member-face { width: 40px; height: 40px; font-size: 16px; }
    .budget-member select { width: 141px; height: 40px; font-size: 13px; }
    .member-permission { font-size: 13px; }
    .sereno-app .page-heading { padding-top: 0; align-items: flex-start; }
    .sereno-app .page-heading h1 { font-size: 30px; }
    .sereno-app .heading-actions { width: 100%; }
    .sereno-app .heading-actions > .button { font-size: 13px; }
    .sereno-app .app-footer { font-size: 12px; line-height: 1.8; }
    .sereno-app .notification-panel { top: 68px; right: 14px; }
}

@media (max-width: 385px) {
    .sereno-topbar { gap: 0 8px; padding-right: 11px; padding-left: 11px; }
    .header-workspace { width: 154px; }
    .header-workspace select { font-size: 13px; }
    .sereno-topbar .topbar-actions { gap: 5px; }
    .sereno-budget-actions .button { font-size: 12px; padding-left: 9px; padding-right: 9px; gap: 5px; }
    .summary-metric { padding: 0 10px; }
    .summary-metric > strong { font-size: 18px; }
    .budget-member select { width: 128px; }
}

@media (prefers-reduced-motion: reduce) {
    .sereno-app .folder-sidebar { transition: none; }
}

.summary-balance > .amount-compact{font-size:clamp(29px,3.1vw,48px)}.summary-balance > .amount-tiny{font-size:clamp(23px,2.2vw,34px)}.summary-metric > .amount-compact{padding-left:0;font-size:clamp(14px,1.4vw,22px)}
@media(max-width:760px){.summary-metric > div{font-size:14px}.attachment-tile .icon-button{width:34px;height:42px}}
