.analytics-grid{grid-template-columns:minmax(0,1fr)}
.analytics-grid>.panel{min-width:0}
.analytics-grid .panel-heading{padding-bottom:16px}
.year-chart,.category-analysis{padding:0 23px 23px;color:#526b5d}
.year-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:3px 0 17px}
.year-summary>div{background:#f6f9f7;border:1px solid #e7efea;border-radius:11px;padding:15px 17px;min-width:0}
.year-summary small{display:block;color:#73877b;font-size:12px;margin-bottom:7px}
.year-summary strong{display:block;font-size:21px;letter-spacing:-.5px;overflow-wrap:anywhere}
.year-explanation,.year-footnote{color:#72877a;font-size:12px;line-height:1.65;margin:0 0 15px}
.year-legend{display:flex;gap:15px;flex-wrap:wrap;margin-bottom:16px;color:#61786b;font-size:12px}
.year-legend span{display:inline-flex;align-items:center;gap:6px}
.year-legend i{display:inline-block;width:13px;height:13px;border-radius:4px;background:#23866b}
.year-legend i.expense{background:#9a83bc}
.year-legend i.pending{background:repeating-linear-gradient(135deg,#9daaa2 0 4px,#fff 4px 7px);border:1px solid #b2bdb6}
.year-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.year-month{min-width:0;border:1px solid #e6eee9;background:#fff;border-radius:11px;padding:14px 16px}
.year-month.selected{border-color:#88c8a8;background:#f7fcf9;box-shadow:inset 3px 0 #31946e}
.year-month-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:10px;margin-bottom:11px;border-bottom:1px solid #eff3f0}
.year-month-heading>b{font-size:14px;color:#365a46}
.year-month-heading>span{color:#799084;font-size:11px;text-align:right}
.year-month-heading strong{font-size:12px}
.year-line{display:grid;grid-template-columns:59px minmax(0,1fr) auto;gap:8px;align-items:center;margin:8px 0;font-size:11px}
.year-line>span:first-child{color:#708679}
.year-line>b{font-size:12px;color:#435d4f;text-align:right;white-space:nowrap}
.year-track{display:block;height:12px;border-radius:8px;background:#edf3ef;overflow:hidden;min-width:0}
.year-fill{display:block;position:relative;height:100%;border-radius:8px;background:#23866b;overflow:hidden}
.year-fill.expense{background:#9a83bc}
.year-fill em{position:absolute;inset:0 0 0 auto;height:100%;background:repeating-linear-gradient(135deg,#ffffff70 0 4px,#ffffff12 4px 7px)}
.year-pending-note{display:block;color:#8b713c;font-size:10px;line-height:1.45;margin-top:8px}
.year-footnote{margin:14px 0 0}
.category-analysis-head{display:flex;align-items:center;gap:30px;padding:4px 0 23px;border-bottom:1px solid #eaf0ec;margin-bottom:18px}
.category-donut-large{width:238px;height:238px;flex:0 0 238px;border-radius:50%;padding:31px;box-shadow:0 11px 32px #284f3820}
.category-donut-large>div{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:8px}
.category-donut-large small{display:block;color:#7c9082;font-size:12px;margin-bottom:8px}
.category-donut-large strong{font-size:20px;color:#355747;letter-spacing:-.5px;overflow-wrap:anywhere}
.category-analysis-head>p{max-width:470px;color:#6c8374;font-size:14px;line-height:1.65;margin:0}
.category-detail-list,.category-more>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 19px}
.category-detail-row{min-width:0;padding:13px 15px;border:1px solid #e8eeea;border-radius:10px;background:#fcfdfc}
.category-detail-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.category-detail-heading span{display:flex;align-items:center;gap:8px;min-width:0}
.category-detail-heading span i{width:10px;height:10px;flex:0 0 10px;border-radius:50%}
.category-detail-heading b{font-size:13px;color:#3d5b49;overflow-wrap:anywhere}
.category-detail-heading strong{font-size:13px;color:#3a5647;white-space:nowrap}
.category-detail-track{height:7px;margin:10px 0 7px;background:#edf2ee;border-radius:6px;overflow:hidden}
.category-detail-track i{display:block;height:100%;border-radius:6px}
.category-detail-row>small{font-size:11px;color:#839589}
.category-more{margin-top:18px;border-top:1px solid #eaf0ec;padding-top:15px}
.category-more summary{color:#277b5a;font-size:13px;font-weight:600;cursor:pointer;margin-bottom:15px}
@media(max-width:1050px){.year-months{grid-template-columns:1fr}}
@media(max-width:700px){.analytics-grid .panel-heading{padding-bottom:13px}.year-chart,.category-analysis{padding:0 15px 18px}.year-summary{grid-template-columns:1fr 1fr}.year-summary>div:last-child{grid-column:1/-1}.year-summary strong{font-size:18px}.category-analysis-head{gap:18px}.category-donut-large{width:180px;height:180px;flex-basis:180px;padding:23px}.category-donut-large strong{font-size:16px}.category-detail-list,.category-more>div{grid-template-columns:1fr}}
@media(max-width:520px){.category-analysis-head{flex-direction:column;text-align:center}.category-analysis-head>p{font-size:12px}.year-month-heading{align-items:flex-start}.year-month-heading>span{font-size:10px}.year-line{grid-template-columns:53px minmax(0,1fr) auto;gap:5px}.year-line>b{font-size:11px}.year-month{padding:12px}.category-donut-large{width:210px;height:210px;flex-basis:210px;padding:27px}}
@media(max-width:360px){.year-summary{grid-template-columns:1fr}.year-summary>div:last-child{grid-column:auto}.year-month-heading{flex-direction:column}.year-month-heading>span{text-align:left}.year-line{grid-template-columns:1fr auto}.year-line .year-track{grid-column:1/-1;grid-row:2}.year-line>b{grid-column:2;grid-row:1}.category-detail-heading{flex-wrap:wrap}}
@media print{.analytics-grid{grid-template-columns:1fr}.year-months{grid-template-columns:repeat(2,minmax(0,1fr))}.year-month,.category-detail-row{break-inside:avoid}.category-more{display:none}}
