html{color-scheme:light dark}body{margin:0;padding:24px;background:light-dark(#e9eff1,#0e171c);font-family:system-ui,sans-serif}#an-finance{max-width:1160px;margin:auto}button,summary{cursor:pointer}a{color:light-dark(#185761,#a1dde0)}@media(max-width:620px){body{padding:8px}}

#an-finance{--bg:light-dark(#f3f6f7,#131d23);--panel:light-dark(#fff,#1b2931);--ink:light-dark(#19313f,#edf4f6);--muted:light-dark(#536977,#b0c2cc);--line:light-dark(#dce5e9,#354b56);--accent:light-dark(#185761,#a1dde0);--on:light-dark(#fff,#13343c);--soft:light-dark(#e7f1f2,#24434a);--red:light-dark(#a63124,#ffb9ac);color:var(--ink);background:var(--bg);font:14px/1.5 system-ui,sans-serif;border:1px solid var(--line);border-radius:16px;overflow-wrap:anywhere}
#an-finance *{box-sizing:border-box}#an-finance [hidden]{display:none!important}#an-finance h1,#an-finance h2,#an-finance h3,#an-finance p{margin:0}#an-finance h1{font-size:22px;font-weight:650}#an-finance h2{font-size:19px;font-weight:600}#an-finance h3{font-size:15px;font-weight:600}#an-finance small,#an-finance .muted{color:var(--muted);font-size:12px}#an-finance .top{padding:24px 116px 18px 26px;background:var(--panel);border-radius:16px 16px 0 0}#an-finance .eyebrow{font-size:12px;letter-spacing:.06em;color:var(--muted);margin-bottom:5px}#an-finance nav{display:flex;gap:8px;flex-wrap:wrap;padding:12px 26px;background:var(--panel);border-bottom:1px solid var(--line)}#an-finance button,#an-finance input,#an-finance select,#an-finance textarea{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:9px 12px;min-width:0}#an-finance button{min-height:40px}#an-finance button.primary,#an-finance button[aria-current="page"]{background:var(--accent);color:var(--on);border-color:var(--accent)}#an-finance button:disabled{opacity:.5}#an-finance main{padding:22px 26px}#an-finance .toolbar,#an-finance .line{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}#an-finance .toolbar{margin-bottom:20px}#an-finance .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#an-finance .tile{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px;text-align:left;display:flex;flex-direction:column;gap:7px;color:var(--ink)}#an-finance .tile strong{font-size:27px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}#an-finance .tile .label{font-size:13px;color:var(--muted)}#an-finance .negative{color:var(--red)}#an-finance .section{margin-top:18px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:12px}#an-finance .section>h2,#an-finance .section>h3{margin-bottom:12px}#an-finance .rows{margin-top:10px}#an-finance .row{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--line)}#an-finance .row:last-child{border-bottom:0}#an-finance .row>span:last-child{text-align:right;font-variant-numeric:tabular-nums}#an-finance .signals{margin:8px 0 0;padding-left:19px}#an-finance .signals li{margin:8px 0}#an-finance details{background:var(--panel);border:1px solid var(--line);border-radius:10px;margin-bottom:10px}#an-finance summary{padding:16px;font-weight:600}#an-finance .detail-body{padding:0 18px 18px}#an-finance .detail-body p{margin-top:10px}#an-finance .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}#an-finance label{display:flex;flex-direction:column;gap:5px;font-size:13px}#an-finance label input,#an-finance label select,#an-finance label textarea{width:100%}#an-finance textarea{min-height:80px;resize:vertical}#an-finance .stepper{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0;color:var(--muted);font-size:12px}#an-finance .stepper span{padding:5px 9px;border-radius:6px}#an-finance .stepper .active{background:var(--soft);color:var(--ink)}#an-finance .message{padding:12px 16px;background:var(--soft);margin:0 26px 16px;border-radius:8px}#an-finance .message.error{color:var(--red)}#an-finance .week{display:grid;grid-template-columns:1fr repeat(3,minmax(0,1fr)) 1fr;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid var(--line)}#an-finance .week input{width:100%;padding:8px}#an-finance .week .ending{text-align:right;font-variant-numeric:tabular-nums}#an-finance .weekhead{font-size:12px;color:var(--muted)}#an-finance .history{margin-bottom:10px}#an-finance .history button{width:100%;text-align:left;display:flex;justify-content:space-between;gap:12px}#an-finance .footer{padding:12px 26px 20px;font-size:12px;color:var(--muted)}#an-finance .compact .optional{display:none}#an-finance .spaced{margin-top:14px}#an-finance .forecast-stats{display:flex;gap:24px;flex-wrap:wrap;margin:15px 0}#an-finance .forecast-stats strong{display:block;font-size:22px}#an-finance input,#an-finance select,#an-finance textarea{font-size:16px}
@media(max-width:620px){#an-finance .top{padding:18px 100px 16px 16px}#an-finance h1{font-size:18px}#an-finance nav{padding:10px 16px;display:grid;grid-template-columns:1fr 1fr}#an-finance main{padding:18px 14px}#an-finance .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#an-finance .tile{padding:13px}#an-finance .tile strong{font-size:21px}#an-finance .fields{grid-template-columns:1fr}#an-finance .section{padding:15px}#an-finance .week{grid-template-columns:1fr 1fr}#an-finance .week>div:first-child{grid-column:1/-1}#an-finance .week .ending{text-align:left}#an-finance .weekhead{display:none}#an-finance .message{margin:0 14px 14px}#an-finance .footer{padding:10px 14px 18px}}

#an-finance .period-status{font-size:12px;color:var(--muted)}#an-finance .downloads{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}#an-finance .downloads a{padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);text-decoration:none}#an-finance .print-only{display:none}#an-finance .import-preview{padding:14px;border:1px solid var(--line);border-radius:8px;margin:14px 0}#an-finance .path{word-break:break-all;font-size:12px}
#print-report{display:none}
#an-finance .report-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:18px}
#an-finance .report-options label{flex-direction:row;align-items:center;gap:10px;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px}
#an-finance .report-options input{width:20px;height:20px;flex:none}
#an-finance .report-scroll{overflow-x:auto;max-width:100%}
#an-finance .report-page{padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:10px;margin-top:18px}
.report-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
.report-table th,.report-table td{padding:7px 8px;border-bottom:1px solid light-dark(#dce5e9,#354b56);text-align:right;vertical-align:top;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.report-table th:first-child{width:27%;text-align:left}.report-table th:nth-child(2){width:10%}.report-table thead th{font-weight:600}.report-table thead span{font-size:11px;font-weight:400}.report-table tbody th{font-weight:400}
.report-subtitle{margin:6px 0;font-size:14px}.report-date,.report-note{font-size:11px;line-height:1.45;margin:10px 0}
@media(max-width:620px){#an-finance .report-table{min-width:660px}#an-finance .report-page{padding:12px}}
@page{size:A4 landscape;margin:12mm}
@media print{html{color-scheme:light}body{padding:0;margin:0;background:#fff;color:#111}#an-finance{display:none!important}#print-report{display:block;font:11px/1.4 system-ui,sans-serif;color:#111}#print-report .report-page{break-after:page}#print-report .report-page:last-child{break-after:auto}#print-report h2{font-size:19px;margin:0 0 4px}#print-report .report-table{font-size:10px;min-width:0}#print-report .report-table th,#print-report .report-table td{padding:4px 5px;border-color:#d1d5d8}#print-report .report-table thead span{font-size:9px}#print-report .report-date,#print-report .report-note{font-size:9px}#print-report .report-scroll{overflow:visible}#print-report tr{break-inside:avoid}#print-report thead{display:table-header-group}}

.report-table th:first-child{width:35%}.report-table th:nth-child(2){width:6%}.report-table th:nth-child(3){width:10%}.report-table .report-group th{text-align:left;font-weight:650;background:#e7f1f2;color:#19313f;padding:6px 8px}.report-table .report-group th:first-child{width:auto}
@media print{.report-table th,.report-table td{padding:4px 6px}.report-table .report-group th{padding:4px 6px}.report-note{font-size:9px}}

.assessment{display:inline-block;font-size:11px;line-height:1.35;font-weight:600;border-radius:4px;padding:2px 5px;white-space:normal}.assessment.good{color:#155b3b;background:#e7f4eb}.assessment.bad{color:#a02c23;background:#fcece8}.assessment.unknown{color:#655627;background:#f7f0d9}
#an-finance .tile .assessment{align-self:flex-start}#an-finance summary .assessment{margin-left:8px}#an-finance .threshold-row{display:grid;grid-template-columns:2fr 1fr 1fr;align-items:start;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}#an-finance .threshold-row small{display:block;margin-top:5px}
.report-table th:first-child{width:30%}.report-table th:nth-child(2){width:5%}.report-table th:nth-child(3){width:15%}.report-table tbody td strong{font-weight:500}.report-table .report-group th:first-child{width:auto}
@media(max-width:620px){#an-finance .threshold-row{grid-template-columns:1fr 1fr}#an-finance .threshold-row>div:first-child{grid-column:1/-1}}
@media print{.assessment{font-size:9px;padding:1px 3px;print-color-adjust:exact}.report-group{print-color-adjust:exact}#print-report .report-table{font-size:10px}}
@media print{#print-report .report-table th,#print-report .report-table td{padding:3px 5px}#print-report .report-subtitle{margin:3px 0}#print-report .report-date,#print-report .report-note{margin:6px 0}}

#an-finance #overview-picker{margin-bottom:18px}#an-finance #overview-count{font-weight:400;color:var(--muted)}#an-finance .metric-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}#an-finance .metric-choices fieldset{margin:0;padding:12px;border:1px solid var(--line);border-radius:8px;min-width:0}#an-finance .metric-choices legend{font-weight:600;padding:0 5px}#an-finance .metric-choices label{flex-direction:row;align-items:flex-start;gap:10px;padding:8px 4px;cursor:pointer}#an-finance .metric-choices input{width:20px;height:20px;flex:none;margin:0;accent-color:var(--accent)}#an-finance .overview-empty{grid-column:1/-1;padding:20px;border:1px dashed var(--line);border-radius:10px}#an-finance #overview-saved:empty{display:none}@media(max-width:620px){#an-finance .metric-choices{grid-template-columns:1fr}}
#an-finance .metric-choices{max-height:390px;overflow:auto;padding-right:6px;scrollbar-gutter:stable}
