.fc-page{color:#493744}.fc-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 24px}.fc-heading h2{font:800 26px Manrope,sans-serif;margin:7px 0}.fc-heading p,.fc-panel-title p,.fc-footnote{color:#947b8c;font-size:13px;margin:5px 0}.fc-heading-actions{display:flex;gap:9px}.fc-heading-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.fc-page svg{width:19px;height:19px;flex:none}.fc-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.fc-metrics article{display:flex;gap:15px;align-items:center;padding:21px;background:#fff;border:1px solid #eedee6;border-radius:16px}.fc-metric-icon,.fc-section-icon{display:grid;place-items:center;width:42px;height:42px;background:#fff0f5;border:1px solid #ffdbe6;color:#ef174c;border-radius:13px;flex:none}.fc-metrics small{color:#947b8c;font-size:12px}.fc-metrics strong{display:block;font:800 28px Manrope,sans-serif;margin-top:4px}.fc-panel{background:#fff;border:1px solid #eedee6;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px #4d173b05}.fc-panel-title{display:flex;align-items:center;gap:12px;padding:23px 24px;border-bottom:1px solid #f4e8ef}.fc-panel-title h3{font:700 15px Manrope,sans-serif;margin:0}.fc-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 24px;background:#fffcfd}.fc-search{display:flex;align-items:center;gap:9px;border:1px solid #ead9e3;border-radius:10px;padding:0 12px;flex:1;min-width:200px;color:#af8b9d}.fc-search input{border:0!important;background:transparent!important;width:100%;min-width:0;height:42px;outline-offset:3px}.fc-toolbar select{height:43px;max-width:100%;border:1px solid #ead9e3;border-radius:10px;padding:0 11px;background:#fff;color:#705361}.fc-archived{display:flex;gap:6px;align-items:center;font-size:12px;white-space:nowrap;color:#947b8c}.fc-archived input{accent-color:#ef174c}.fc-panel footer{padding:17px 24px;border-top:1px solid #f4e8ef;color:#947b8c;font-size:12px}.fc-roots,.fc-node ul{list-style:none;margin:0;padding:0}.fc-roots{padding:0 20px 14px}.fc-node ul{margin-left:30px;padding-left:13px;border-left:1px solid #eddde6}.fc-node{margin:8px 0}.fc-row{display:flex;align-items:center;gap:10px;padding:13px 12px;min-height:78px;border:1px solid #eedfe7;border-radius:13px;background:#fff;transition:box-shadow .18s,border-color .18s}.fc-row:hover{border-color:#efb2c6;box-shadow:0 4px 15px #6b24430a}.fc-row.is-context{background:#fffcfd}.fc-expand{width:24px;height:30px;padding:0;border:0;background:transparent;color:#a08a96;display:grid;place-items:center;flex:none;border-radius:5px}.fc-expand svg{width:13px;height:13px;transition:transform .18s}.fc-expand[aria-expanded=true] svg{transform:rotate(90deg)}.fc-expand:disabled{visibility:hidden}.fc-folder{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:color-mix(in srgb,var(--fc-color) 9%,white);color:var(--fc-color);flex:none}.fc-name{flex:1;min-width:0}.fc-name strong{font-size:13px;overflow-wrap:anywhere}.fc-name small{display:block;color:#a18898;font-size:11px;margin-top:5px}.fc-code{display:inline-block;margin-right:9px;font-size:10px;color:#aa899c;font-variant-numeric:tabular-nums}.fc-type{font-size:10px;border-radius:7px;padding:6px 9px;background:#f5eef4;color:#866c80;white-space:nowrap}.fc-type.is-income{background:#e9f7f0;color:#218263}.fc-type.is-cost{background:#f0edff;color:#7862b1}.fc-type.is-expense{background:#fff0f4;color:#bb4b70}.fc-actions{display:flex;align-items:center;gap:3px}.fc-actions button:not(.text-button){display:grid;place-items:center;width:31px;height:31px;background:#fff;border:1px solid transparent;color:#b495a5;border-radius:8px}.fc-actions button:hover{border-color:#ffd0df;background:#fff5f8;color:#ef174c}.fc-actions svg{width:15px;height:15px}.fc-feedback{padding:12px 24px;font-size:13px;color:#c32151}.fc-feedback[hidden]{display:none}.fc-loading{padding:30px;color:#947b8c}.fc-empty{padding:48px 20px;text-align:center}.fc-empty>svg{width:42px;height:42px;color:#caa3b6}.fc-empty h3{font-size:17px}.fc-empty p{font-size:13px;color:#947b8c}.fc-empty button{margin-top:15px}.fc-footnote{margin:16px 2px}.fc-dialog{width:min(620px,calc(100% - 24px));padding:0;border:1px solid #efdce6;border-radius:18px;color:#493744;max-height:90dvh;overflow:auto}.fc-dialog-header,.fc-dialog-footer{display:flex;align-items:center;justify-content:space-between;padding:23px 26px;border-bottom:1px solid #efdce6;gap:15px}.fc-dialog-header h2{font:800 22px Manrope,sans-serif;margin:6px 0 0}.fc-dialog-footer{border-bottom:0;border-top:1px solid #efdce6;position:sticky;bottom:0;background:#fff}.fc-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:25px}.fc-full{grid-column:1/-1}.fc-form .form-field{min-width:0}.fc-form small{color:#aa899c;font-size:11px;line-height:1.6}.fc-form textarea{resize:vertical}.fc-color input{height:40px;width:75px;padding:4px;border-radius:8px;border:1px solid #ead9e3}.fc-form .fc-feedback{padding:0;margin:0}.fc-page button:focus-visible,.fc-dialog button:focus-visible{outline:2px solid #ef174c;outline-offset:3px}@media(max-width:800px){.fc-heading{align-items:flex-start;flex-direction:column}.fc-metrics{gap:9px}.fc-metrics article{padding:14px;gap:9px}.fc-metric-icon{display:none}.fc-metrics strong{font-size:24px}.fc-panel-title,.fc-toolbar{padding:16px}.fc-roots{padding:0 10px 10px}.fc-row{gap:7px;flex-wrap:wrap}.fc-name{flex-basis:calc(100% - 100px)}.fc-type{margin-left:31px}.fc-actions{margin-left:auto}.fc-node ul{margin-left:10px;padding-left:6px}.fc-folder{width:27px;height:30px}.fc-heading h2{font-size:23px}.fc-heading-actions{flex-wrap:wrap}.fc-toolbar select{width:100%}.fc-form{grid-template-columns:1fr;padding:20px}.fc-dialog-header,.fc-dialog-footer{padding:18px}.fc-metrics small{font-size:10px}}@media(prefers-reduced-motion:reduce){.fc-page *{transition:none!important}}

/* The legacy 35px field height cannot contain dialog padding plus readable text. */
.fc-dialog .form-field { margin-bottom: 0; gap: 8px; }
.fc-dialog .form-field > span { font-size: 12px; line-height: 1.4; }
.fc-dialog .form-field input:not([type="color"]),
.fc-dialog .form-field select { box-sizing: border-box; width: 100%; max-width: 100%; height: 44px; min-height: 44px; padding: 0 12px; font-size: 14px; line-height: 1.4; }
.fc-dialog .form-field textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 100px; padding: 11px 12px; font: inherit; font-size: 14px; line-height: 1.5; }
.fc-dialog .fc-color input { box-sizing: border-box; width: 75px; height: 40px; min-height: 40px; padding: 4px; }
.fc-dialog .form-field :is(input, select, textarea):focus-visible { outline: 2px solid #ef174c; outline-offset: 2px; }
@media(max-width:800px) { .fc-dialog .form-field input:not([type="color"]), .fc-dialog .form-field select, .fc-dialog .form-field textarea { font-size: 16px; } }
