#money .money-page [data-invoice-sub],
#money .money-invoice-row .money-category-link, #money .money-page [data-invoice-pick-year] {
  grid-template-columns: minmax(0,1fr) auto;
}
#money .money-invoice-row .money-category-name { font-size: 13px; overflow-wrap: anywhere; }
#money .money-invoice-row .money-pair-meta { margin: 0 0 12px; overflow-wrap: anywhere; }
#money .money-invoice-supplier-heading { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:20px 0 6px; font:500 13px/1.5 var(--font-ui,sans-serif); }
#money .money-invoice-supplier-heading > span:first-child { min-width:0; overflow-wrap:anywhere; }
#money .money-invoice-supplier-heading > span:last-child { flex-shrink:0; }
#money [data-money-year] { margin: 8px 12px; max-width: 180px; min-height: 36px; border: 1px solid var(--money-line); border-radius: 6px; background: transparent; color: inherit; font: inherit; padding: 4px 12px; }
:root { --money-bg:#f2f0eb; --money-ink:#161918; --money-muted:#5f625e; --money-line:#cdc9bf; --money-olive:var(--accent-green); --money-brass:#a3864d; --money-alert:#7a3a33; }
#money .money-page { max-width:1080px; margin:0 auto; padding:24px 4px 100px; color:var(--money-ink); }
#money .money-masthead { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:8px 0 22px; border-bottom:1px solid var(--money-line); }
#money .money-private { display:flex; align-items:center; gap:7px; margin:0 0 8px; color:var(--money-muted); font:500 10px/1.3 var(--font-ui,sans-serif); letter-spacing:.15em; text-transform:uppercase; }
#money .money-private svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.4; }
#money .money-masthead h1 { margin:0; font:400 clamp(42px,7vw,66px)/.95 var(--font-display,"Cormorant Garamond",serif); letter-spacing:-.035em; }
#money .money-intro { max-width:440px; margin:9px 0 0; color:var(--money-muted); font-size:12px; line-height:1.6; }
#money .money-intro em { color:var(--money-olive); font-family:var(--font-display,"Cormorant Garamond",serif); font-size:17px; }
#money .money-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
#money .money-action, #money .money-link, #money .money-filter, #money .money-month-link { min-height:44px; border:1px solid var(--money-line); border-radius:2px; background:transparent; color:var(--money-olive); font:500 11px var(--font-ui,sans-serif); cursor:pointer; transition:background-color .18s ease, color .18s ease; }
#money .money-action { padding:0 13px; }
#money .money-action:hover, #money .money-filter:hover, #money .money-month-link:hover { background:#e8e5dc; }
#money .money-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(250px,.8fr); gap:36px; padding-top:24px; }
#money .money-main-column, #money .money-side-column { min-width:0; }
#money .money-section { margin:0 0 31px; }
#money .money-section-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:0 0 12px; }
#money .money-section-head h2 { margin:0; font:400 27px/1 var(--font-display,"Cormorant Garamond",serif); }
#money .money-natural-count { margin:5px 0 0; color:var(--money-muted); font:italic 400 15px/1.25 var(--font-display,"Cormorant Garamond",serif); }
#money .money-eyebrow { margin:0 0 7px; color:var(--money-muted); font:500 9px var(--font-ui,"Inter",sans-serif); letter-spacing:.15em; text-transform:uppercase; }
#money .money-link { min-height:36px; padding:0 4px; border:0; text-align:right; }
#money .money-total-band { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--money-line); border-bottom:1px solid var(--money-line); }
#money .money-overview-totals { margin-top:23px; }
#money .money-overview-totals .money-total-band { padding:4px 16px; background:rgba(232,229,220,.48); }
#money .money-total { min-width:0; padding:16px 15px 15px 0; }
#money .money-total + .money-total { padding-left:18px; border-left:1px solid var(--money-line); }
#money .money-total-label { display:block; margin-bottom:8px; color:var(--money-muted); font-size:10px; }
#money .money-amount { color:var(--money-ink); font:400 clamp(29px,4vw,42px)/.95 var(--font-display,"Cormorant Garamond",serif); letter-spacing:-.025em; overflow-wrap:anywhere; }
#money .money-amount-small { font-size:25px; }
#money .money-pair { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:54px; padding:9px 0; border-bottom:1px solid var(--money-line); }
#money .money-pair-main { min-width:0; }
#money .money-pair-title { display:block; color:var(--money-ink); font-size:12px; line-height:1.45; }
#money .money-pair-meta { display:block; margin-top:3px; color:var(--money-muted); font-size:10px; line-height:1.4; }
#money .money-pair-value { flex:none; font:400 20px/1 var(--font-display,"Cormorant Garamond",serif); }
#money .money-row-button { width:100%; text-align:left; cursor:pointer; background:transparent; border:0; }
#money .money-row-button:hover .money-pair-title { color:var(--money-olive); text-decoration:underline; text-underline-offset:3px; }
#money .money-row-button:focus-visible, #money button:focus-visible { outline:2px solid var(--money-brass); outline-offset:3px; }
#money .money-category-list { border-top:1px solid var(--money-line); }
#money .money-category-link { display:grid; grid-template-columns:minmax(85px,1fr) minmax(60px,1.2fr) auto; align-items:center; gap:12px; width:100%; min-height:48px; padding:5px 0; border:0; border-bottom:1px solid var(--money-line); background:transparent; text-align:left; cursor:pointer; }
#money .money-category-name { font-size:11px; }
#money .money-bar { height:2px; background:#ddd9d0; overflow:hidden; }
#money .money-bar span { display:block; width:var(--bar-width,0%); height:100%; background:var(--money-olive); transform-origin:left; }
#money .money-category-amount { font:400 17px var(--font-display,"Cormorant Garamond",serif); white-space:nowrap; }
#money .money-note, .money-sheet-content .money-note { padding:13px 14px; border-left:2px solid var(--money-brass); background:#ebe8df; color:var(--money-muted); font-size:11px; line-height:1.55; }
#money .money-note strong, .money-sheet-content .money-note strong { color:var(--money-ink); font-weight:500; }
#money .money-year-switch, #money .money-filters { display:flex; flex-wrap:wrap; gap:6px; margin:17px 0; }
#money .money-filter { padding:0 13px; }
#money .money-filter[aria-pressed="true"] { color:#f2f0eb; background:var(--accent-green); border-color:var(--accent-green); }
#money .money-month-list { border-top:1px solid var(--money-line); }
#money .money-month-link { display:flex; justify-content:space-between; align-items:center; width:100%; padding:0 4px; border-width:0 0 1px; text-align:left; }
#money .money-category-block { padding:18px 0 5px; border-top:1px solid var(--money-line); }
#money .money-category-block h2 { margin:0; font:400 31px/1 var(--font-display,"Cormorant Garamond",serif); }
#money .money-category-block > p { margin:6px 0 12px; color:var(--money-muted); font-size:10px; }
#money .money-group-label { margin:18px 0 3px; color:var(--money-muted); font:500 9px var(--font-ui,"Inter",sans-serif); letter-spacing:.14em; text-transform:uppercase; }
#money .money-skeleton { display:grid; gap:13px; padding-top:22px; }
#money .money-skeleton i { display:block; height:50px; background:linear-gradient(90deg,#e8e5de,#efede7,#e8e5de); animation:money-pulse 1.4s ease-in-out infinite alternate; }
#money .money-error, #money .money-empty { margin:25px 0; padding:22px; border:1px solid var(--money-line); color:var(--money-muted); font-size:12px; line-height:1.6; }
#money .money-error { border-left:2px solid var(--money-alert); }
#money .money-empty h2 { margin:0 0 5px; color:var(--money-ink); font:400 28px var(--font-display,"Cormorant Garamond",serif); }
#money .money-private-denied { padding:26px 0; color:var(--money-olive); font:italic 400 25px var(--font-display,"Cormorant Garamond",serif); }
#money .money-renewal-actions { display:flex; gap:6px; }
#money .money-renewal-actions button { min-height:36px; padding:0 16px; border:0; border-radius:999px; background:transparent; color:var(--money-olive); font:500 13px/1.2 Inter,sans-serif; }
#money .money-renewal-actions button[data-money-renew="review"] { background:transparent;color:var(--money-olive);padding:0 8px;text-decoration:underline;text-underline-offset:3px; }
#money .money-renewal-actions button[data-money-renew="keep"] { padding:0 8px; text-decoration:underline;text-underline-offset:3px; }
.money-sheet-content { max-width:560px; }
.money-sheet-content label { display:block; margin:14px 0; color:var(--money-muted); font-size:10px; }
.money-sheet-content input, .money-sheet-content select { display:block; width:100%; min-height:44px; margin-top:5px; padding:8px 10px; border:1px solid var(--money-line); border-radius:2px; background:var(--money-bg); color:var(--money-ink); font:12px var(--font-ui,sans-serif); }
.money-sheet-content .money-action { min-height:44px; padding:0 13px; border:1px solid var(--money-line); border-radius:2px; background:transparent; color:var(--money-olive); font:500 11px var(--font-ui,sans-serif); cursor:pointer; }
 .money-sheet-content .money-share-footer .money-action:first-child { color:#f2f0eb; background:var(--accent-green); border-color:var(--accent-green); }
#money .money-status { min-height:22px; color:var(--money-muted); font-size:11px; }
.money-share-sheet .money-share-rows, .money-share-sheet .money-share-active { margin:16px 0; border-top:1px solid var(--money-line); }
.money-share-sheet .money-share-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:7px 0; border-bottom:1px solid var(--money-line); color:var(--money-ink); font-size:11px; }
.money-share-sheet .money-share-row strong { font:400 20px/1 var(--font-display,"Cormorant Garamond",serif); white-space:nowrap; }
.money-share-sheet .money-share-created { margin:20px 0; padding:15px 0; border-top:1px solid var(--money-line); border-bottom:1px solid var(--money-line); }
.money-share-sheet .money-share-url { display:block; max-width:100%; overflow-wrap:anywhere; color:var(--money-olive); font-size:11px; line-height:1.5; text-underline-offset:3px; }
.money-share-sheet .money-stop-sharing { margin-left:8px; color:var(--money-alert); }
.money-share-sheet .money-share-footer { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:16px; }
.money-share-sheet .money-share-footer .money-status { flex:1 1 100%; }
#money .money-action:disabled { cursor:wait; opacity:.55; }
#money :is(.money-action, .money-filter, .money-month-link, .money-renewal-actions button):not(:disabled):hover {
  background:var(--accent-green-active);
  border-color:var(--accent-green-active);
  color:#f2f0eb;
}
html[data-theme="dark"] #money,
html[data-color-scheme="dark"] #money,
body.dark #money,
[data-theme="dark"] #money {
  --money-olive:var(--accent-green-outline);
}
html[data-theme="dark"] #money .money-filter[aria-pressed="true"],
html[data-color-scheme="dark"] #money .money-filter[aria-pressed="true"],
body.dark #money .money-filter[aria-pressed="true"],
[data-theme="dark"] #money .money-filter[aria-pressed="true"] {
  color:#f2f0eb;
  background:var(--accent-green);
  border-color:var(--accent-green);
}
html[data-theme="dark"] #money :is(.money-action, .money-filter, .money-month-link, .money-renewal-actions button):not(:disabled):active,
html[data-color-scheme="dark"] #money :is(.money-action, .money-filter, .money-month-link, .money-renewal-actions button):not(:disabled):active,
body.dark #money :is(.money-action, .money-filter, .money-month-link, .money-renewal-actions button):not(:disabled):active,
[data-theme="dark"] #money :is(.money-action, .money-filter, .money-month-link, .money-renewal-actions button):not(:disabled):active {
  background:var(--accent-green-active);
  border-color:var(--accent-green-active);
  color:#f2f0eb;
}
@keyframes money-pulse { from { opacity:.58; } to { opacity:1; } }
@media(max-width:767px) {
  #money .money-page { padding:18px 0 94px; }
  #money .money-masthead { flex-direction:column; padding:7px 0 17px; }
  #money .money-actions { justify-content:flex-start; width:100%; }
  #money .money-grid { grid-template-columns:1fr; gap:4px; padding-top:20px; }
  #money .money-section { margin-bottom:27px; }
  #money .money-total { padding:14px 9px 14px 0; }
  #money .money-total + .money-total { padding-left:13px; }
  #money .money-overview-totals { margin-top:18px; }
  #money .money-overview-totals .money-total-band { padding:2px 10px; }
  #money .money-category-link { grid-template-columns:minmax(84px,1fr) minmax(45px,.8fr) auto; gap:9px; }
  #money .money-category-amount { font-size:15px; }
}
@media(prefers-reduced-motion:reduce) { #money .money-skeleton i { animation:none; opacity:.8; } }
