:root {
    --bg: #f3f0e8;
    --panel: #fffdf7;
    --border: #d8d0c2;
    --ink: #172121;
    --muted: #5f655f;
    --accent: #b04a2f;
    --accent-dark: #8a3721;
    --accent-soft: #f7dfd5;
    --nav: #23313a;
    --nav-ink: #f6f1e8;
    --success: #d7efe0;
    --error: #f5d6d6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, #f6e2c5 0, transparent 30%),
        linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.login-card,
.panel {
    background: rgba(255, 253, 247, 0.95);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(35, 49, 58, 0.08);
}

.login-card {
    width: min(460px, 100%);
    padding: 2rem;
}

.eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

.login-form,
.stack-form {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field span {
    font-size: 0.92rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    font: inherit;
}

textarea {
    min-height: 6rem;
    resize: vertical;
}

input[readonly] {
    background: #f9f6f1;
    color: var(--muted);
}

.chapter-combobox {
    position: relative;
}

.chapter-combobox-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.25rem;
    max-height: 18rem;
    overflow: auto;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fffdf9;
    box-shadow: 0 14px 24px rgba(35, 49, 58, 0.08);
}

.chapter-combobox-panel[hidden] {
    display: none !important;
}

.chapter-combobox-option {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.chapter-combobox-option:hover,
.chapter-combobox-option:focus-visible {
    background: var(--accent-soft);
    color: var(--accent-dark);
    outline: none;
}

.chapter-combobox-empty {
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.65);
}

.line-combobox-loading {
    padding: 0.35rem 0.55rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.line-combobox-options {
    display: grid;
    gap: 0.25rem;
}

.chapter-combobox.is-open input {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 74, 47, 0.12);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.button.primary {
    background: var(--accent);
    color: #fff9f5;
}

.button.primary:hover {
    background: var(--accent-dark);
}

.button.ghost,
.button.subtle {
    background: transparent;
    border: 1px solid var(--border);
}

.button.subtle {
    padding: 0.45rem 0.8rem;
}

.button.wide {
    width: 100%;
}

.shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--nav);
    color: var(--nav-ink);
    padding: 2rem 1.25rem;
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.brand-block h2 {
    margin: 0;
}

.nav {
    display: grid;
    gap: 0.35rem;
}

.nav a {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    color: rgba(246, 241, 232, 0.92);
}

.nav a.active,
.nav a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nav .disabled-link {
    opacity: 0.5;
    cursor: default;
}

.main-column {
    padding: 1.5rem;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.topbar h1,
.panel-title h2,
.empty-state h2 {
    margin: 0.25rem 0 0;
}

.breadcrumb,
.help-link {
    color: var(--muted);
}

.help-link {
    border-bottom: 1px dashed var(--muted);
}

.panel {
    padding: 1.35rem;
    margin-bottom: 1rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.toolbar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.toolbar input {
    min-width: 320px;
}

.table-wrap {
    overflow-x: auto;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.9rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.85rem 0.65rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    font-size: 0.85rem;
    color: var(--muted);
}

.pagination,
.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.grid {
    display: grid;
    gap: 1rem;
}

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

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.alert.success {
    background: var(--success);
}

.alert.error,
.error-text {
    background: var(--error);
}

.error-text {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    border-radius: 8px;
}

.empty-state {
    text-align: center;
    padding: 2rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.detail-board {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.detail-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.detail-meta {
    margin: 0.4rem 0 0;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.detail-toolbar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.menu-popover {
    position: relative;
}

.menu-popover summary {
    list-style: none;
}

.menu-popover summary::-webkit-details-marker {
    display: none;
}

.menu-panel {
    margin-top: 0.65rem;
    padding: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fffdf9;
    min-width: min(420px, 90vw);
    box-shadow: 0 14px 24px rgba(35, 49, 58, 0.06);
}

.compact-form {
    gap: 0.8rem;
}

.menu-secondary {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.menu-secondary span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
}

.reduced-vat {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-top: 0.25rem;
}

.budget-root {
    border: 1px solid rgba(216, 208, 194, 0.84);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.budget-root-summary {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.78rem 0.9rem;
    background: linear-gradient(180deg, rgba(247, 223, 213, 0.34), rgba(255, 255, 255, 0.9));
    border-bottom: 1px solid var(--border);
}

.budget-root-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.budget-root-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.15rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--accent-dark);
    font-weight: 700;
}

.budget-global-toggle {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px;
    font-weight: 700;
    color: var(--accent-dark);
}

.budget-root-metrics,
.budget-root-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    color: var(--muted);
}

.budget-root-body {
    padding: 0.75rem 0.85rem 0.95rem;
    display: grid;
    gap: 0.7rem;
}

.budget-detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.34rem;
    table-layout: fixed;
}

.budget-detail-table thead th {
    padding: 0.45rem 0.55rem 0.35rem;
    border-bottom: 0;
    font-size: 0.74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: right;
}

.budget-detail-table thead th:first-child,
.budget-detail-title-cell {
    text-align: left;
}

.budget-detail-table-head-empty {
    width: 31%;
}

.budget-detail-row td,
.budget-detail-row th {
    padding: 0.7rem 0.55rem;
    border-bottom: 0;
    vertical-align: middle;
    text-align: right;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px rgba(216, 208, 194, 0.46);
}

.budget-detail-row--root {
    background: transparent;
    font-weight: 700;
}

.budget-detail-row--chapter {
    background: transparent;
}

.budget-detail-row--item {
    background: transparent;
}

.budget-detail-row--item-description {
    background: transparent;
}

.budget-detail-title-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    text-align: left;
}

.budget-detail-title-cell--root {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.budget-detail-title-cell--chapter,
.budget-detail-title-cell--item {
    align-items: flex-start;
}

.budget-detail-title-cell--create {
    align-items: flex-start;
}

.budget-detail-row > *:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.budget-detail-row > *:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.budget-detail-row--root > * {
    background: linear-gradient(90deg, rgba(247, 223, 213, 0.74), rgba(255, 253, 247, 0.98));
    box-shadow: inset 0 0 0 1px rgba(176, 74, 47, 0.18);
}

.budget-detail-row--chapter > * {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(247, 223, 213, 0.26));
}

.budget-detail-row--item > * {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 241, 0.96));
    box-shadow:
        inset 0 0 0 1px rgba(216, 208, 194, 0.44),
        inset 4px 0 0 rgba(176, 74, 47, 0.11);
}

.budget-detail-row--item-description > * {
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 0 0 1px rgba(216, 208, 194, 0.34);
}

.budget-detail-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.budget-detail-row--root .budget-detail-label {
    font-size: 0.96rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.budget-detail-row--chapter .budget-detail-label {
    font-weight: 700;
    color: var(--accent-dark);
}

.budget-detail-row--item .budget-detail-label {
    font-weight: 600;
    color: var(--ink);
}

.budget-table-toggle {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px;
    font-weight: 700;
    color: var(--accent-dark);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(216, 208, 194, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.budget-detail-row--item .budget-detail-title-cell {
    padding-left: 1.55rem;
}

.budget-detail-row--item .budget-detail-title-cell::before {
    content: "";
    width: 0.34rem;
    align-self: stretch;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(176, 74, 47, 0.22), rgba(176, 74, 47, 0.06));
    flex: 0 0 auto;
}

.budget-detail-row--chapter .budget-inline-stack,
.budget-detail-row--item .budget-inline-stack {
    gap: 0.3rem;
}

.budget-detail-row--chapter .budget-inline-actions,
.budget-detail-row--item .budget-inline-actions {
    padding-top: 0.08rem;
    gap: 0.45rem;
}

.budget-detail-description-cell {
    padding: 0 0.55rem 0.9rem 2rem;
    text-align: left;
}

.budget-detail-row--item-description td {
    border-top: 0;
}

.line-title-field,
.line-description-field {
    text-align: left;
}

.line-title-field span,
.line-description-field span {
    display: block;
    text-align: left;
}

.budget-detail-row--empty td {
    padding: 0.6rem 0.55rem 0.2rem;
}

.budget-empty-cell {
    text-align: left;
}

.chapter-empty,
.line-empty {
    margin: 0;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px dashed var(--border);
    background: rgba(255, 255, 255, 0.58);
}

.budget-chapter {
    border-top: 1px solid rgba(216, 208, 194, 0.78);
    padding-top: 0.2rem;
    display: grid;
    gap: 0.2rem;
}

.budget-chapter summary {
    list-style: none;
}

.budget-chapter summary::-webkit-details-marker {
    display: none;
}

.budget-chapter-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: start;
    padding: 0.7rem 0.2rem 0.5rem;
    cursor: pointer;
}

.budget-chapter-toggle {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-weight: 700;
    color: var(--accent-dark);
}

.budget-chapter-summary-main {
    display: grid;
    gap: 0.25rem;
}

.budget-chapter-summary-main h3 {
    margin: 0;
}

.budget-chapter-summary-main .muted {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.chapter-separator {
    color: var(--border);
}

.budget-chapter-summary-badge {
    align-self: start;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
}

.budget-chapter-body {
    display: grid;
    gap: 0.45rem;
    padding: 0 0.2rem 0.8rem 2.65rem;
}

.budget-chapter-head {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 360px);
    gap: 0.65rem;
    align-items: start;
}

.budget-chapter-form,
.budget-line-form {
    display: grid;
    gap: 0.8rem;
}

.budget-chapter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
}

.budget-chapter-form .actions {
    grid-column: 1 / -1;
}

.chapter-actions,
.line-actions {
    justify-content: flex-start;
}

.budget-chapter-toolbar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.budget-chapter[open] .budget-chapter-summary {
    background: rgba(247, 223, 213, 0.15);
}

.budget-chapter[open] .budget-chapter-summary-badge {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.budget-line-list {
    display: grid;
    gap: 0.3rem;
}

.budget-line-row {
    padding: 0.55rem 0.2rem 0.35rem;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(216, 208, 194, 0.6);
    background: transparent;
}

.budget-line-grid {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.budget-line-grid-calcs {
    margin-top: 0.3rem;
}

.line-summary {
    align-self: start;
}

.detail-header-form {
    margin-top: 0.9rem;
}

.budget-inline-stack {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    flex: 1;
}

.budget-inline-stack--line {
    min-width: 200px;
}

.budget-inline-meta {
    display: grid;
    gap: 0.2rem;
    align-content: start;
    min-width: 88px;
}

.budget-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    justify-content: flex-start;
}

.inline-row-form {
    display: none;
}

.budget-inline-create-shell {
    display: grid;
    gap: 0.6rem;
    align-items: start;
}

.inline-create-toggle--compact {
    width: 7.75rem;
    min-width: 7.75rem;
    flex: 0 0 auto;
}

.inline-create-fields {
    display: none;
    gap: 0.75rem;
}

.budget-inline-create-row.is-editing .inline-create-toggle {
    display: none;
}

.budget-inline-create-row.is-editing .inline-create-fields {
    display: grid;
}

.budget-inline-create-row .field {
    min-width: 0;
}

.budget-inline-create-row .actions {
    justify-content: flex-start;
}

.budget-detail-table--inline input[type="text"],
.budget-detail-table--inline input[type="number"] {
    width: 100%;
    min-width: 0;
}

.line-description-field textarea {
    width: 100%;
    display: block;
    min-height: 8rem;
    resize: vertical;
}

.budget-detail-row--create td {
    padding: 0.7rem 0.65rem;
}

.budget-detail-row--create th {
    padding: 0.7rem 0.65rem;
    border-bottom: 0;
}

.budget-detail-row--create > * {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(247, 223, 213, 0.18));
}

.button[aria-disabled="true"],
.button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.summary-stack {
    display: grid;
    gap: 0.85rem;
}

.summary-item {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.summary-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

.detail-callout,
.contact-card {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(247, 223, 213, 0.36);
    border: 1px solid rgba(216, 208, 194, 0.9);
}

.detail-summary-inline {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(216, 208, 194, 0.8);
}

.detail-summary-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5rem 0.75rem;
    align-items: start;
}

.detail-callout,
.contact-card {
    grid-column: 1 / -1;
    justify-self: stretch;
}

.contact-name {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.account-page {
    display: grid;
    gap: 1rem;
}

.account-header h2,
.account-editor-head h3,
.account-brand-panel h3,
.modal-card h3 {
    margin: 0 0 0.35rem;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(300px, 0.9fr);
    gap: 1rem;
}

.account-brand-panel,
.account-credentials-panel,
.account-form {
    margin-bottom: 0;
}

.account-logo-shell {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    align-items: center;
}

.account-logo-frame {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(247, 223, 213, 0.38), rgba(255, 255, 255, 0.96));
    display: grid;
    place-items: center;
    overflow: hidden;
}

.account-logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.account-logo-placeholder {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.account-credentials-panel {
    display: grid;
    gap: 0.85rem;
}

.account-credential-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
}

.account-credential-card p {
    margin: 0.2rem 0 0;
}

.account-credential-card--disabled {
    opacity: 0.8;
}

.account-form {
    gap: 1.2rem;
}

.account-autosave-bar {
    display: flex;
    justify-content: flex-end;
}

.account-autosave-bar .muted {
    margin: 0;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
}

.account-autosave-bar [data-state="pending"] {
    color: #8f5b14;
}

.account-autosave-bar [data-state="saving"] {
    color: #8a4b18;
}

.account-autosave-bar [data-state="saved"] {
    color: #22624e;
}

.account-autosave-bar [data-state="error"] {
    color: #a23636;
}

.account-editor-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}

.is-hidden {
    display: none !important;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(23, 33, 33, 0.46);
    z-index: 1200;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-card {
    width: min(560px, 100%);
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 24px 56px rgba(35, 49, 58, 0.18);
}

.modal-card--compact {
    width: min(440px, 100%);
}

@media (max-width: 980px) {
    .shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .grid.two,
    .grid.three,
    .grid.four,
    .budget-root-summary,
    .budget-column-head,
    .budget-chapter-head,
    .budget-chapter-summary,
    .budget-chapter-body,
    .budget-line-grid,
    .detail-summary-strip {
        grid-template-columns: 1fr;
    }

    .detail-head,
    .reduced-vat,
    .topbar,
    .panel-header,
    .actions,
    .detail-actions,
    .account-credential-card,
    .account-editor-head {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar input {
        min-width: 0;
    }

    .account-layout,
    .account-logo-shell {
        grid-template-columns: 1fr;
    }

    .budget-detail-table {
        border-spacing: 0 0.24rem;
    }

    .budget-detail-row td,
    .budget-detail-row th {
        padding: 0.62rem 0.5rem;
    }

    .budget-detail-row--item .budget-detail-title-cell {
        padding-left: 1.2rem;
    }

    .account-logo-frame {
        width: 100%;
        max-width: 220px;
    }
}
