/* Annual receipts reuse the existing receivable surface and shared select menu. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel {
  min-width:0;
  margin-top:24px;
  padding:20px!important;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-head h3 {
  margin:0;
  color:var(--minimal-ink,#202324)!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.5;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-head>div {
  min-width:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-head p {
  margin:4px 0 0;
  color:var(--ui-muted,#646970)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.6;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-head small {
  flex:none;
  color:var(--ui-muted,#646970)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.6;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-selection {
  display:grid;
  grid-template-columns:minmax(0,1fr) 112px;
  align-items:center;
  gap:16px;
  margin-top:20px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-summary {
  min-width:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-summary> :is(span,label,small,p) {
  display:block;
  margin:0;
  color:var(--ui-muted,#646970)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.6;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-summary>strong {
  display:block;
  margin:4px 0;
  color:var(--minimal-ink,#202324)!important;
  font-size:24px!important;
  font-weight:600!important;
  line-height:1.25;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker {
  display:grid;
  gap:6px;
  min-width:0;
  width:112px;
  max-width:100%;
  margin:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker> :is(label,span) {
  color:var(--ui-muted,#646970)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.6;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker select,
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker .ui-select-trigger {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
  padding:10px 12px;
  border:0;
  border-radius:var(--mf-field-radius,14px)!important;
  background-color:var(--minimal-soft,#f1f2f4)!important;
  color:var(--minimal-ink,#202324)!important;
  box-shadow:none!important;
  font-family:inherit;
  font-size:16px!important;
  font-weight:400!important;
  line-height:1.5;
  text-align:left;
  transform:none!important;
  transition:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker .ui-select-trigger {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker .ui-select-value {
  min-width:0;
  color:inherit!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker .ui-select-trigger>svg {
  display:block;
  flex:none;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker .ui-select-trigger[aria-expanded="true"] {
  box-shadow:inset 0 0 0 1px var(--minimal-dark,#2d3031)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker :is(select,.ui-select-trigger):disabled {
  cursor:default;
  opacity:.45;
}

/* SVG text is 12px in the 336px viewBox, remaining readable at the 314px card width. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(svg.ledger-year-chart,.ledger-year-chart>svg) {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%;
  margin:20px 0 0;
  overflow:visible;
  font-family:inherit;
  fill:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-chart :is(text,line,rect,path),
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel svg.ledger-year-chart {
  animation:none!important;
  transition:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-grid {
  fill:none!important;
  stroke:var(--ui-line,#e7e8eb)!important;
  stroke-width:1;
  vector-effect:non-scaling-stroke;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-tick,.ledger-chart-month) {
  fill:var(--ui-muted,#646970)!important;
  stroke:none!important;
  font-family:inherit;
  font-size:12px!important;
  font-weight:400!important;
  font-variant-numeric:tabular-nums;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-band {
  fill:var(--minimal-soft,#f1f2f4)!important;
  stroke:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-bar {
  fill:#b8bdc4!important;
  stroke:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-bar.is-selected,.is-selected .ledger-chart-bar,.is-future.is-selected .ledger-chart-bar,.ledger-chart-month-pill) {
  fill:var(--minimal-dark,#2d3031)!important;
  stroke:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-month.is-selected,.is-selected .ledger-chart-month,.is-future.is-selected .ledger-chart-month) {
  fill:var(--minimal-paper,#fff)!important;
  font-weight:600!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-zero,.is-future .ledger-chart-bar,.ledger-chart-bar.is-future) {
  fill:#b8bdc4!important;
  stroke:#b8bdc4!important;
  stroke-width:1;
  vector-effect:non-scaling-stroke;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.is-future .ledger-chart-month,.ledger-chart-month.is-future) {
  fill:var(--ui-muted,#646970)!important;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-insights {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--ui-line,#e7e8eb);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-insights>div {
  display:grid;
  align-content:start;
  gap:4px;
  min-width:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-insights>div+div {
  padding-left:16px;
  border-left:1px solid var(--ui-line,#e7e8eb);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-insights :is(span,small,p) {
  margin:0;
  color:var(--ui-muted,#646970)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.6;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-insights strong {
  color:var(--minimal-ink,#202324)!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.5;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-insights strong>small {
  display:inline;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail {
  min-width:0;
  margin-top:20px;
  padding-top:4px;
  border-top:1px solid var(--ui-line,#e7e8eb);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail>summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:44px;
  margin:0;
  padding:8px 0;
  border-radius:0;
  background:transparent!important;
  color:var(--minimal-ink,#202324)!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.5;
  list-style:none;
  cursor:pointer;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail>summary::-webkit-details-marker {
  display:none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail>summary>span {
  min-width:0;
  color:inherit!important;
  font-size:14px!important;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail>summary small {
  color:var(--ui-muted,#646970)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.6;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail>summary>svg {
  display:block;
  flex:none;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail[open]>summary>svg {
  transform:rotate(180deg);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail .ledger-list {
  margin-top:4px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail .ledger-row>div:first-child {
  min-width:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail .ledger-title {
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-detail .ledger-meta {
  color:var(--ui-muted,#646970)!important;
  font-size:11px!important;
  font-weight:400!important;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-empty {
  margin:20px 0 0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-year-empty,.ledger-year-empty>p) {
  color:var(--ui-muted,#646970)!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.65;
  overflow-wrap:anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-empty>p {
  margin:0;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.month-picker .ui-select-trigger,.ledger-year-detail>summary):focus-visible {
  outline:3px solid var(--minimal-dark,#2d3031);
  outline-offset:3px;
}
@media (hover:hover) and (pointer:fine) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker .ui-select-trigger:not(:disabled):hover {
    background-color:var(--ui-line,#e7e8eb)!important;
  }
}
@media (max-width:359px) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-year-selection {
    grid-template-columns:minmax(0,1fr) 104px;
    gap:12px;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .month-picker {
    width:104px;
  }
}
@media (prefers-contrast:more) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-grid {
    stroke:var(--ui-muted,#646970)!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-bar,.ledger-chart-zero,.is-future .ledger-chart-month,.ledger-chart-month.is-future) {
    fill:var(--ui-muted,#646970)!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-zero {
    stroke:var(--ui-muted,#646970)!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-bar.is-selected,.is-selected .ledger-chart-bar,.is-future.is-selected .ledger-chart-bar) {
    fill:var(--minimal-dark,#2d3031)!important;
  }
}
@media (forced-colors:active) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel {
    border:1px solid CanvasText!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-tick,.ledger-chart-month,.is-future .ledger-chart-month,.ledger-chart-month.is-future,.ledger-chart-bar,.ledger-chart-zero) {
    fill:CanvasText!important;
    forced-color-adjust:none;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-grid {
    stroke:GrayText!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-zero {
    stroke:CanvasText!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-band {
    fill:Canvas!important;
    stroke:CanvasText!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel .ledger-chart-month-pill {
    fill:Highlight!important;
    forced-color-adjust:none;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.ledger-chart-month.is-selected,.is-selected .ledger-chart-month,.is-future.is-selected .ledger-chart-month) {
    fill:HighlightText!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel :is(.month-picker .ui-select-trigger,.ledger-year-detail>summary):focus-visible {
    outline-color:Highlight;
  }
}
@media (prefers-reduced-motion:reduce) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel,
  html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .ledger-year-panel * {
    animation:none!important;
    transition:none!important;
  }
}
