.prototype-ui .ledger-sections{margin-bottom:16px}.prototype-ui .ledger-panel{gap:16px;display:grid}.prototype-ui .ledger-term{color:var(--muted);margin:16px 16px 0;font-size:11px}.prototype-ui .ledger-hint{color:var(--muted);margin:8px 0;font-size:11px}.prototype-ui .ledger-register .kontur-tabs{padding:0 16px}.prototype-ui .ledger-register .kontur-register-toolbar{margin-bottom:16px;padding:16px 16px 0}.prototype-ui .ledger-register .data-table td.amount,.prototype-ui .ledger-register .data-table th.amount{text-align:right}.prototype-ui .ledger-register tr.is-reversed td{color:var(--muted)}.prototype-ui .ledger-register tr.is-reversed .record-title{text-decoration:line-through;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line)}.prototype-ui .ledger-debit{color:var(--ink)}.prototype-ui .ledger-credit{color:var(--green)}.prototype-ui .ledger-overview{gap:16px;display:grid}.prototype-ui .ledger-metrics{margin-bottom:0}.prototype-ui .ledger-metric{text-align:left;align-content:start;gap:4px;display:grid}.prototype-ui .ledger-metric-mark{border:1px solid var(--line);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-radius:999px;justify-self:start;padding:2px 8px;font-size:9px;font-weight:600}.prototype-ui .ledger-metric.is-estimate .ledger-metric-mark{background:var(--amber-tint);color:var(--amber);border-color:#0000}.prototype-ui .ledger-metric .metric-bottom{align-items:flex-end;font-size:10px;line-height:1.45}.prototype-ui .ledger-metric .ledger-spark{flex-shrink:0;height:28px;display:flex}@media (width<=660px){.prototype-ui .ledger-metric .ledger-spark{display:none}}.prototype-ui .ledger-spark i{background:color-mix(in srgb,var(--blue) 30%,var(--line))}.prototype-ui .ledger-spark i.is-selected{background:var(--blue-strong)}.prototype-ui .ledger-spark i.is-estimate{background:var(--amber-tint);border:1px dashed var(--amber)}.prototype-ui .ledger-spark i.is-missing{background:var(--line);height:2px}.prototype-ui .ledger-spark i.is-negative{background:color-mix(in srgb,var(--red) 45%,var(--line))}@media (hover:hover) and (pointer:fine){.prototype-ui .ledger-metric:hover{border-color:color-mix(in srgb,var(--blue) 35%,var(--line))}}.prototype-ui .ledger-attention .decision-list{padding:0 16px}.prototype-ui .ledger-attention .decision:first-child{border-top:0}.prototype-ui .ledger-setup{max-width:720px;padding:32px}.prototype-ui .ledger-setup h2{letter-spacing:-.4px;margin:4px 0 8px;font-size:22px}.prototype-ui .ledger-setup-lead{color:var(--muted);max-width:560px;margin:0 0 24px}.prototype-ui .ledger-setup-steps{counter-reset:step;gap:16px;margin:0 0 24px;padding:0;list-style:none;display:grid}.prototype-ui .ledger-setup-steps li{border-top:1px solid var(--line);counter-increment:step;gap:8px;padding:16px 0 0 40px;display:grid;position:relative}.prototype-ui .ledger-setup-steps li:before{content:counter(step);background:var(--tint);width:24px;height:24px;color:var(--blue);border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:grid;position:absolute;top:16px;left:0}.prototype-ui .ledger-setup-steps small,.prototype-ui .ledger-setup-actions small{color:var(--muted);font-size:11px}.prototype-ui .ledger-setup-steps .field{max-width:320px;color:var(--muted);gap:6px;font-size:11px;display:grid}.prototype-ui .ledger-setup-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.prototype-ui .ledger-drop{position:relative}.prototype-ui .ledger-drop-overlay{border:2px dashed var(--blue);background:color-mix(in srgb,var(--tint) 92%,transparent);color:var(--blue);opacity:0;pointer-events:none;transition:opacity .15s var(--ease);border-radius:8px;place-items:center;font-size:14px;display:grid;position:absolute;inset:0}.prototype-ui .ledger-drop.is-active .ledger-drop-overlay{opacity:1}.prototype-ui .ledger-register-body{min-height:120px}@keyframes ledger-row-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.prototype-ui tr.is-fresh{animation:ledger-row-in .2s var(--ease) both}.prototype-ui .ledger-field-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.prototype-ui .ledger-field-row .field.is-short{max-width:96px}.prototype-ui .ledger-sheet-file{flex-wrap:wrap;align-items:baseline;gap:8px;margin:0 0 16px;display:flex}.prototype-ui .ledger-sheet-file small{color:var(--muted);font-size:10px}.prototype-ui .ledger-split{color:var(--muted);font-variant-numeric:tabular-nums;margin:8px 0 0;font-size:11px}.prototype-ui .ledger-lines{margin:0;padding:0;list-style:none}.prototype-ui .ledger-lines li{border-top:1px solid var(--line);justify-content:space-between;gap:16px;padding:8px 0;font-size:12px;display:flex}.prototype-ui .ledger-lines li:first-child{border-top:0}.prototype-ui .ledger-lines small{color:var(--muted);font-size:10px;display:block}.prototype-ui .ledger-lines strong{font-variant-numeric:tabular-nums;white-space:nowrap}.prototype-ui .ledger-choices{gap:8px;display:grid}.prototype-ui .ledger-choice{border:1px solid var(--line);cursor:pointer;border-radius:8px;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.prototype-ui .ledger-choice.is-selected{border-color:var(--blue);background:var(--tint)}.prototype-ui .ledger-choice input{accent-color:var(--blue);margin:0}.prototype-ui .ledger-choice small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.prototype-ui .ledger-choice b{font-variant-numeric:tabular-nums;font-weight:600}.prototype-ui .ledger-match-mode{grid-template-columns:repeat(3,minmax(0,1fr))}.prototype-ui .ledger-entry-line{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:8px;display:grid}.prototype-ui .ledger-entry-line .field{font-size:10px}.prototype-ui .ledger-balance{background:var(--amber-tint);color:var(--amber);font-variant-numeric:tabular-nums;border-radius:8px;margin:16px 0 0;padding:8px 12px;font-size:11px}.prototype-ui .ledger-balance.is-balanced{background:var(--green-tint);color:var(--green)}.prototype-ui .ledger-entry-lines td small{display:block}.prototype-ui .ledger-checkbox{cursor:pointer;align-items:flex-start;gap:12px;margin:16px 0;font-size:12px;display:flex}.prototype-ui .ledger-checkbox input{accent-color:var(--blue);margin-top:2px}.prototype-ui .ledger-checkbox small{color:var(--muted);margin-top:2px;font-size:10px;display:block}.prototype-ui .ledger-checks{gap:8px;margin:0;padding:0;font-size:12px;list-style:none;display:grid}.prototype-ui .ledger-checks li{padding-left:16px;position:relative}.prototype-ui .ledger-checks li:before{content:"";background:var(--amber);border-radius:50%;width:6px;height:6px;position:absolute;top:7px;left:0}.prototype-ui .ledger-checks li.is-blocking:before{background:var(--red);border-radius:1px}.prototype-ui .ledger-checks li.is-ok:before{background:var(--green)}.prototype-ui .ledger-opening-list{gap:4px;max-height:52vh;padding-right:4px;display:grid;overflow:auto}.prototype-ui .ledger-opening-row{grid-template-columns:minmax(0,1fr) 128px;align-items:center;gap:12px;font-size:12px;display:grid}.prototype-ui .ledger-opening-row small{color:var(--muted);font-size:10px;display:block}.prototype-ui .ledger-bank,.prototype-ui .ledger-settings{gap:16px;display:grid}.prototype-ui .ledger-runs .panel-head .button{min-height:32px}.prototype-ui .ledger-runs-hint{margin-top:0;padding:0 16px}.prototype-ui .ledger-runs .link-list .link-row>strong{font-variant-numeric:tabular-nums;font-size:12px}.prototype-ui .ledger-report-head{padding:0 16px 8px}.prototype-ui .ledger-report-head h2{margin:0;font-size:15px}.prototype-ui .ledger-report-head p{color:var(--muted);margin:4px 0 0;font-size:11px}.prototype-ui .ledger-report-scroll{overflow-x:auto}.prototype-ui .ledger-report,.prototype-ui .ledger-report tbody tr{cursor:default}.prototype-ui .ledger-report tr.is-group td{font-weight:600}.prototype-ui .ledger-report tr.is-total td{border-top:2px solid var(--ink);font-weight:700}.prototype-ui .ledger-report.has-groups tr.is-line td:first-child{padding-left:28px}@keyframes ledger-settle{0%{opacity:0}to{opacity:1}}.prototype-ui .ledger-report.is-ready{animation:ledger-settle .2s var(--ease) both}.prototype-ui .ledger-report-skeleton i{background:var(--line);border-radius:4px;height:8px;display:block}.prototype-ui .ledger-report-skeleton td.amount i{margin-left:auto}.prototype-ui .ledger-report-skeleton th i{opacity:.7;width:56px;height:6px}.prototype-ui .ledger-months{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px;margin:0;padding:0 16px 16px;list-style:none;display:grid}.prototype-ui .ledger-month{text-align:left;border:1px solid var(--line);background:var(--card);border-radius:8px;gap:4px;width:100%;padding:12px;display:grid}.prototype-ui .ledger-month strong{text-transform:capitalize;font-size:12px}.prototype-ui .ledger-month span{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.prototype-ui .ledger-month small{color:var(--muted);font-size:10px}.prototype-ui .ledger-month.is-locked{background:var(--amber-tint)}.prototype-ui .ledger-month.is-closed{background:var(--bg)}.prototype-ui .ledger-month:disabled{opacity:1;cursor:default}.prototype-ui .ledger-dot{background:var(--blue);border-radius:50%;width:8px;height:8px}.prototype-ui .ledger-dot.is-locked{background:var(--amber);border-radius:2px}.prototype-ui .ledger-dot.is-closed{background:var(--muted);clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0}.prototype-ui .ledger-closing-notes{padding:0 16px 8px}.prototype-ui .ledger-export-point{box-shadow:none;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.prototype-ui .ledger-export-point h2{margin:0 0 4px;font-size:13px}.prototype-ui .ledger-export-point p{color:var(--muted);max-width:560px;margin:0;font-size:11px}@media (width<=660px){.prototype-ui .ledger-setup{padding:24px 16px}.prototype-ui .ledger-entry-line{grid-template-columns:1fr 1fr}.prototype-ui .ledger-entry-line .field:first-child{grid-column:1/-1}.prototype-ui .ledger-match-mode{grid-template-columns:1fr}.prototype-ui .ledger-export-point{flex-direction:column;align-items:flex-start}.prototype-ui .ledger-register .kontur-tabs{overflow-x:auto}}@media (prefers-reduced-motion:reduce){.prototype-ui .ledger-drop-overlay{transition:none}.prototype-ui tr.is-fresh{animation:ledger-settle .2s var(--ease) both}.prototype-ui .ledger-report.is-ready{animation:none}}