body,html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#111728;background-attachment:fixed;color:#e2e8f0;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0;min-height:100%}*,:after,:before{box-sizing:border-box}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.balance-detail{width:100%}.balance-detail,.balance-detail__header{display:flex;flex-direction:column;gap:1rem}.balance-detail__meta-card{background:#070d1acc;border:1px solid #94a3b838;border-radius:18px;box-shadow:0 18px 40px #02061773;display:flex;flex-direction:column;gap:.75rem;padding:1.4rem 3.6rem 1.4rem 1.6rem;position:relative}.balance-detail__meta-text{display:flex;flex-direction:column;gap:.35rem}.balance-detail__name{color:#f8fafc;font-size:1.4rem;font-weight:700;margin:0}.balance-detail__meta-line{color:#94a3b8cc;font-size:.95rem;margin:0}.balance-detail__meta-amount{color:#bfdbfe;font-size:1.5rem;font-weight:700}.balance-detail__meta-amount-group{align-items:center;display:inline-flex;gap:.6rem;margin-left:auto}.balance-detail__add-entry{align-items:center;background:linear-gradient(135deg,#3b82f659,#0e749059);border:1px solid #3b82f673;border-radius:999px;color:#f8fafc;cursor:pointer;display:inline-flex;height:2.2rem;justify-content:center;transition:transform .12s ease,box-shadow .12s ease;width:2.2rem}.balance-detail__add-entry:hover{box-shadow:0 14px 28px #3b82f647}.balance-detail__add-entry:active{transform:scale(.95)}.balance-detail__edit{align-items:center;background:#0000;border:1px solid #0000;border-radius:999px;color:#f8fafc33;cursor:pointer;display:inline-flex;font-size:1rem;height:1rem;justify-content:center;position:absolute;right:1rem;top:1rem;transition:transform .15s ease,box-shadow .15s ease;width:1rem}.balance-detail__edit:hover{color:#bfdbfe}.balance-detail__edit:active{transform:scale(.95)}.balance-detail__transactions{background:#0f172abf;border:1px solid #94a3b82e;border-radius:18px;box-shadow:0 18px 40px #02061773;padding:1.4rem 1.6rem}.balance-detail__toolbar{align-items:center;display:flex;gap:.75rem;justify-content:space-between;margin-bottom:1rem}.balance-detail__toolbar-title{align-items:center;color:#f8fafc;display:flex;font-size:1rem;font-weight:600;gap:.5rem}.balance-detail__toolbar-filter{align-items:center;background:#0f172a99;border:1px solid #94a3b84d;border-radius:14px;color:#94a3b8f2;cursor:pointer;display:inline-flex;height:2.3rem;justify-content:center;transition:background .15s ease,color .15s ease,transform .15s ease;width:2.3rem}.balance-detail__toolbar-filter:hover{background:#3b82f638;color:#f8fafc}.balance-detail__toolbar-filter:active{transform:scale(.95)}.balance-detail__toolbar-filter:focus-visible{outline:3px solid #60a5fa73;outline-offset:2px}.balance-detail__section-title{color:#f8fafc;font-size:1rem;font-weight:600;margin:0 0 1rem}.balance-detail__table-wrapper{-webkit-overflow-scrolling:touch;margin:0 -.3rem;overflow-x:auto;overflow-y:hidden;padding:0 .3rem .4rem}.balance-detail__table{border-collapse:collapse;color:#e2e8f0;font-size:.92rem;min-width:640px;table-layout:auto;width:100%}.balance-detail__table td,.balance-detail__table th{border-bottom:1px solid #94a3b826;overflow:visible;padding:.75rem .6rem;text-align:left;text-overflow:ellipsis;white-space:nowrap}.transaction-book-badge{align-items:center;color:#e2e8f0;display:inline-flex;font-weight:600;gap:.5rem}.transaction-book-swatch{border-radius:6px;box-shadow:inset 0 -1px 0 #00000026;display:inline-block;height:22px;width:22px}.transaction-book-name{color:#e2e8f0e6;display:inline-block;font-size:.85rem;max-width:8.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-book-badge--empty{display:inline-block;height:22px;width:22px}.balance-detail__table td:nth-last-child(2),.balance-detail__table th:nth-last-child(2){text-align:right}.book-detail__info-link{color:#93c5fd;text-decoration:none}.book-detail__info-link:hover{text-decoration:underline}@media (max-width:560px){.balance-detail__table--transactions{min-width:100%}.balance-detail__table--transactions td:first-child,.balance-detail__table--transactions td:nth-child(3),.balance-detail__table--transactions th:first-child,.balance-detail__table--transactions th:nth-child(3){display:none}}.balance-detail__table td.balance-detail__actions,.balance-detail__table th.balance-detail__header-actions{overflow:visible;white-space:nowrap}.balance-detail__table td:nth-child(5),.balance-detail__table th:nth-child(5){white-space:normal;word-break:break-word}.balance-detail__table th{color:#94a3b8bf;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}.balance-detail__table tr:last-child td{border-bottom:none}.balance-detail__empty{color:#94a3b8bf;font-size:.95rem;margin:0}.balance-detail__row{cursor:default;transition:background .16s ease}.balance-detail__row:hover{background:#3b82f61f}.balance-detail__row:focus-visible{outline:2px solid #3b82f673;outline-offset:-2px}.balance-detail__actions{overflow:visible;text-align:right;white-space:nowrap;width:48px}.balance-detail__action{align-items:center;background:#0000;border:1px solid #0000;border-radius:999px;color:#94a3b8e6;cursor:pointer;display:inline-flex;height:2.1rem;justify-content:center;transition:background .15s ease,color .15s ease,transform .15s ease;width:2.1rem}.balance-detail__action:hover{background:#3b82f626;color:#f8fafc}.balance-detail__action:active{transform:scale(.95)}.balance-detail__header-actions{color:#0000;overflow:visible;text-align:right;white-space:nowrap;width:48px}.balance-detail__sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.balance-detail__table tbody tr:nth-child(odd){background:#f8fafc05}.balance-detail__table tbody tr:nth-child(2n){background:#0000}.balance-detail__table tbody tr.balance-detail__row:focus,.balance-detail__table tbody tr.balance-detail__row:hover{background:#679eeb14;outline:none}.balance-detail__table tbody tr.balance-detail__row:focus-visible{box-shadow:inset 0 0 0 2px #679eeb24}.balance-detail__table tbody tr.balance-detail__row--expense{background:linear-gradient(#dc26260a,#dc262605)}.balance-detail__table tbody tr.balance-detail__row--income{background:linear-gradient(#22c55e0a,#22c55e05)}.balance-detail__table tbody tr.balance-detail__row--expense:hover{background:linear-gradient(#dc262614,#dc26260a)}.balance-detail__table tbody tr.balance-detail__row--income:hover{background:linear-gradient(#22c55e14,#22c55e0a)}@media (min-width:720px){.balance-detail__meta-card{align-items:baseline;flex-direction:row;justify-content:space-between}.balance-detail__meta-amount{font-size:1.75rem}.balance-detail__meta-card{position:relative}.balance-detail__meta-amount-group{bottom:1rem;position:absolute;right:1.6rem}.balance-detail__meta-amount{position:static}}@media (max-width:480px){.balance-detail{gap:.8rem;padding:0 1rem}.balance-detail__meta-card,.balance-detail__transactions{border-radius:16px;padding:1.1rem 1.2rem}.balance-detail__toolbar{margin-bottom:.75rem}.balance-detail__table-wrapper{margin:0 -.4rem;padding:0 .4rem .35rem}.balance-detail__table td,.balance-detail__table th{padding:.6rem .5rem}.balance-detail__actions{width:40px}}:root{--app-max-width:1100px;--content-max-width:720px;--side-gap:clamp(1.2rem,3vw,2.8rem);--color-text-primary:#e2e8f0;--color-text-muted:#e2e8f0bf;--color-border:#94a3b859;--color-border-strong:#94a3b880;--color-surface:#0f172af0;--color-surface-subtle:#1e293b99;--color-backdrop:#020617bf;--color-accent:#3b82f68c;--color-accent-soft:#3b82f647;--radius-pill:999px;--radius-lg:24px;--radius-md:18px;--transition-base:220ms ease;--shadow-float:0 32px 60px #0206178c;--shadow-glow:0 0 18px #3b82f659}.top-bar{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:#070d1ab3;border-bottom:1px solid #94a3b80a;box-shadow:0 6px 18px #02061759;box-sizing:border-box;justify-content:space-between;padding:1rem 1.5rem;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:900}.top-bar,.top-brand{align-items:center;display:flex}.top-brand{flex-direction:column;gap:.15rem;margin:0 auto}.top-brand .brand{color:#f8fafc;font-size:3rem;font-weight:700;line-height:1;margin:0}.top-brand .tagline{color:#94a3b8bf;font-size:.9rem}.top-profile{align-items:center;background:linear-gradient(135deg,#3b82f659,#3b82f62e);border:1px solid var(--color-border);border-radius:999px;box-shadow:0 6px 14px #0206174d;color:#e2e8f0;display:inline-flex;height:2.6rem;justify-content:center;transition:transform .12s ease,box-shadow .12s ease;width:2.6rem}.top-profile svg{height:1.35rem;width:1.35rem}.top-profile:hover{box-shadow:var(--shadow-glow)}.top-profile:active{transform:scale(.95)}@media (max-width:480px){.top-bar{padding:1rem}.top-brand .brand{font-size:2.4rem}.top-profile{height:2.3rem;width:2.3rem}.top-profile svg{height:1.1rem;width:1.1rem}}.newswire{background:#00000073;color:#e2e8f0;display:block;height:1.5rem;overflow:hidden;width:100%}.newswire__track{animation:newswire-scroll 80s linear infinite;box-sizing:initial;display:inline-block;white-space:nowrap}.newswire__text{display:inline-block;font-size:.95rem;line-height:1.5rem;opacity:.95;padding:0 2rem}.metal-gold{color:#d4af37}.metal-silver{color:silver}.metal-platinum{color:#e6e6e6}.metal-palladium{color:#d9d9d9}@keyframes newswire-scroll{0%{transform:translateX(0)}to{transform:translateX(-100%)}}@media (max-width:420px){.newswire__track{animation-duration:22s}.newswire__text{font-size:.9rem}}.app{color:var(--color-text-primary);flex-direction:column;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0 auto;max-width:var(--app-max-width);min-height:100vh;padding:0 var(--side-gap)}.app,.app-body{box-sizing:border-box;display:flex;width:100%}.app-body{align-items:stretch;flex:1 1;flex-direction:column;justify-content:flex-start;margin:1rem auto 0;max-width:none}@keyframes page-fade-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.page-transition{animation:page-fade-in .24s ease forwards;display:flex;flex:1 1;flex-direction:column;opacity:0;transform:translateY(8px);will-change:opacity,transform}.empty-state{flex:1 1;gap:1.35rem;text-align:center}.empty-action,.empty-state{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.empty-action{background:#0f172a66;border:1px dashed var(--color-border);border-radius:24px;color:#f8fafc;cursor:pointer;gap:1rem;max-width:360px;padding:2.2rem 2rem;transition:transform .16s ease,box-shadow .16s ease}.empty-action:hover{box-shadow:0 22px 48px #0e3f8d59;transform:translateY(-3px)}.empty-action:focus-visible{outline:3px solid #60a5fa73;outline-offset:4px}.empty-icon{align-items:center;background:#3b82f626;border:1px solid var(--color-border);border-radius:50%;color:#e0f2fe;display:inline-flex;font-size:2rem;height:74px;justify-content:center;width:74px}.empty-label{font-size:1.1rem;font-weight:500;letter-spacing:.03rem}.empty-meta{color:var(--color-text-muted);font-size:.9rem;margin:0}@media (min-width:768px){.app{--side-gap:clamp(2rem,5vw,3rem)}.empty-action{border-radius:28px;max-width:420px;padding:2.6rem 2.3rem}}@media (min-width:1024px){.app{--app-max-width:1200px}}@media (max-width:768px){.app{padding-left:clamp(.75rem,4vw,1rem);padding-right:clamp(.75rem,4vw,1rem)}.app-body{gap:1.25rem;margin:1rem 0 0;padding-bottom:5rem}}@media (max-width:420px){.app{padding-left:0;padding-right:0}.app-body{margin-top:1.2rem;padding-bottom:5.25rem}.empty-action{border-radius:22px;padding:1.9rem 1.6rem}.empty-icon{font-size:1.75rem;height:64px;width:64px}}.modal-control--select{position:relative}.modal-country-dropdown{background:#1e293b;border:1px solid #94a3b838;border-radius:10px;box-shadow:0 2px 12px 0 #0f172a21;left:0;margin-top:2px;max-height:140px;overflow-y:auto;position:absolute;right:0;top:100%;width:100%;z-index:100}.modal-country-dropdown__option{background:#0000;color:#e2e8f0;cursor:pointer;font-size:.97rem;padding:8px 14px;transition:background .13s}.modal-country-dropdown__option--active,.modal-country-dropdown__option:hover{background:#334155;color:#a5f3fc}.modal-country-dropdown__add{background:#0000;border-top:1px solid #22c55e21;color:#22c55e;cursor:pointer;font-size:.97rem;font-weight:600;padding:8px 14px}.modal-backdrop{align-items:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:var(--color-backdrop);display:flex;inset:0;justify-content:center;opacity:0;padding:1.5rem;pointer-events:none;position:fixed;transition:opacity var(--transition-base);z-index:1000}.modal-backdrop.is-visible{opacity:1;pointer-events:auto}.modal-backdrop.is-hidden{opacity:0;pointer-events:none}.modal-container{background:var(--color-surface);border:1px solid #94a3b82e;border-radius:var(--radius-lg);box-shadow:var(--shadow-float);box-sizing:border-box;color-scheme:dark;display:flex;flex-direction:column;max-height:calc(100vh - 2.5rem);opacity:0;overflow:hidden;transform:translateY(16px);transition:transform var(--transition-base),opacity var(--transition-base);width:min(100%,420px)}.modal-container.is-visible{opacity:1;transform:translateY(0)}.modal-container.is-hidden{opacity:0;transform:translateY(16px)}.modal-header{grid-gap:1rem;align-items:center;background:var(--color-surface);display:grid;gap:1rem;grid-template-columns:auto 1fr auto;padding:1.35rem 1.5rem 1.1rem;position:-webkit-sticky;position:sticky;top:0;z-index:1}.modal-icon{align-items:center;background:linear-gradient(135deg,#3b82f640,#0e749033);border-radius:18px;box-shadow:inset 0 0 12px #0f172a59;color:#bfdbfe;display:inline-flex;font-size:1.2rem;height:2.5rem;justify-content:center;width:2.5rem}.modal-header-text{display:flex;flex-direction:column;gap:.3rem}.modal-title{color:#f8fafc;font-size:1.25rem;font-weight:700;margin:0}.modal-subtitle{color:#cbd5e1d9;font-size:.95rem;margin:0}.modal-close{background:#0000;border:none;border-radius:.65rem;color:#cbd5f5;cursor:pointer;font-size:1.6rem;line-height:1;padding:.25rem .5rem;transition:background .12s ease}.modal-close:hover{background:#3b82f624;color:#f8fafc}.modal-body{background:#121b2f;display:flex;flex-direction:column;gap:0;overflow-y:auto;overscroll-behavior:contain;padding:1rem 1.5rem 0}.modal-body .modal-footer,.modal-body .modal-footer--inline{margin-left:-1.5rem;margin-right:-1.5rem;width:calc(100% + 3rem)}.modal-form{gap:1.4rem}.modal-card,.modal-form{display:flex;flex-direction:column}.modal-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(180deg,#2c354b8c,#0a0e1880);border:1px solid #94a3b814;border-radius:12px;box-shadow:0 6px 18px #02061773;gap:.6rem;padding:.9rem 1rem}.modal-card .modal-label{display:flex;justify-content:center;text-align:center;width:100%}.modal-card .modal-input{text-align:left}.modal-card .modal-input::placeholder{text-align:center}.modal-body,.modal-control,.modal-field,.modal-form,.modal-input,.modal-select{box-sizing:border-box}.modal-field{display:flex;flex-direction:column;gap:.55rem}.modal-field--date{align-items:center}.modal-field--date .modal-description{color:#cbd5e1e6;font-size:.98rem;font-weight:600;text-align:center}.modal-card__date{align-items:center;display:flex;justify-content:center;margin-top:.6rem;width:100%}.modal-card__date-full{color:#cbd5e1f2;font-size:.95rem;font-weight:600;text-align:center}.modal-label{align-items:center;color:#cbd5f5;display:inline-flex;font-size:.92rem;font-weight:600;gap:.6rem;letter-spacing:.03rem;margin:0}.modal-label-icon{color:#cbd5e1e6;font-size:.95rem;line-height:1}.modal-control{position:relative}.modal-footer,.modal-footer--inline{grid-gap:.75rem;background:#0f172a;border-top:1px solid #94a3b81f;bottom:0;display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.5rem;padding:1rem 1.5rem 1.25rem;position:-webkit-sticky;position:sticky;width:100%;z-index:1}.modal-control--number:after{color:#e2e8f0d9;content:attr(data-symbol);font-size:.85rem;font-weight:400;letter-spacing:.06em;pointer-events:none;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.modal-input--number{padding-right:3.2rem}.modal-input{background:#0f172abf;border:1px solid #94a3b859;border-radius:14px;color:#f8fafc;display:block;font-size:.95rem;font-weight:400;max-width:100%;padding:.75rem 1rem;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.modal-input::placeholder{color:#94a3b8a6;font-weight:400}.modal-input:focus{border-color:#60a5faa6;box-shadow:0 0 0 3px #60a5fa40;outline:none}.modal-input--number{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.modal-input--number::-webkit-inner-spin-button,.modal-input--number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.modal-type-row{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:520px){.modal-type-row{grid-template-columns:1fr}}.modal-select{appearance:none;-webkit-appearance:none;background:#0f172abf;border:1px solid #94a3b859;border-radius:14px;box-shadow:inset 0 0 0 #0f172a40;color:#f8fafc;display:block;font-size:.95rem;font-weight:400;max-width:100%;padding:.75rem 1rem;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.modal-select:focus{border-color:#60a5faa6;box-shadow:0 0 0 3px #60a5fa40;outline:none}.modal-control--select input.modal-input{background-image:none!important}.modal-control--select:not(:has(input#balance-country)):after{border-left:6px solid #0000;border-right:6px solid #0000;border-top:6px solid #e2e8f0bf;content:"";height:0;pointer-events:none;position:absolute;right:1rem;top:50%;transform:translateY(-30%);width:0}.modal-select option{background-color:#0f172aeb;color:#f8fafc}.modal-field--toggle{gap:1rem}.modal-field-heading{display:flex;flex-direction:column;gap:.4rem}.modal-description{color:#cbd5e1d9;font-size:.9rem;margin:0}.modal-switch{align-items:center;cursor:pointer;display:inline-flex;gap:.7rem;justify-content:space-between;width:100%}.modal-switch input{height:0;opacity:0;position:absolute;width:0}.modal-switch-track{align-items:center;background:#94a3b859;border-radius:999px;display:inline-flex;height:30px;padding:0 4px;position:relative;transition:background .2s ease;width:54px}.modal-switch-thumb{background:#f8fafc;border-radius:50%;box-shadow:0 6px 12px #0f172a59;height:22px;transition:transform .2s ease,background .2s ease;width:22px}.modal-switch input:checked+.modal-switch-track{background:linear-gradient(135deg,#3b82f6b3,#0e7490b3)}.modal-switch input:checked+.modal-switch-track .modal-switch-thumb{transform:translateX(22px)}.modal-switch.disabled{cursor:not-allowed}.modal-switch.disabled .modal-switch-track{background:#94a3b82e}.modal-switch.disabled .modal-switch-thumb{background:#e2e8f0a6;box-shadow:none}.modal-toggle-label{color:#f8fafc;font-size:.9rem;font-weight:400}.modal-switch.disabled .modal-toggle-label{color:#cbd5e199}.modal-upgrade{background:#3b82f629;border:1px solid #60a5fa33;border-radius:12px;color:#f8fafcb8;font-size:.88rem;margin:0;padding:.65rem .85rem}.modal-footer--inline>:only-child,.modal-footer>:only-child{grid-column:1/-1}.modal-secondary{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#1e293bcc;border:1px solid var(--color-border);border-radius:12px;color:#e2e8f0;cursor:pointer;font-size:.95rem;font-weight:400;padding:.6rem 1.2rem;transition:background .15s ease,transform .12s ease;width:100%}.modal-secondary:hover{background:#3b82f62e}.modal-secondary.active{background:linear-gradient(135deg,#3b82f659,#0e749059);border-color:#60a5fa73}.modal-secondary.type-income:hover{background:#22c55e2e}.modal-secondary.type-income.active{background:linear-gradient(135deg,#22c55e52,#15803d52);border-color:#22c55e80;box-shadow:0 14px 28px #22c55e40}.modal-secondary.type-expense,.modal-secondary.type-income{width:100%}.modal-secondary.type-expense:hover{background:#ef44442e}.modal-secondary.type-expense.active{background:linear-gradient(135deg,#ef444452,#b91c1c52);border-color:#ef444480;box-shadow:0 14px 28px #ef444440}.modal-secondary.type-income svg{color:#86efacf2}.modal-secondary.type-expense svg{color:#fecacaf2}.modal-secondary.type-income{color:#86efacf2}.modal-secondary.type-expense{color:#fecacaf2}.modal-secondary.type-expense.active,.modal-secondary.type-income.active{color:#f8fafc}.modal-secondary--danger{background:linear-gradient(135deg,#ef444433,#b91c1c33);border-color:#ef444473;color:#fecaca}.modal-secondary--danger:hover{background:#ef444438}.modal-secondary:active{transform:scale(.97)}.modal-icon-button{align-items:center;background:#ffffff05;border:1px solid #94a3b81f;border-radius:8px;color:#e2e8f0;cursor:pointer;display:inline-flex;height:36px;justify-content:center;padding:0;transition:background .12s ease,transform .08s ease,box-shadow .12s ease;width:36px}.modal-icon-button:hover{background:#3b82f60f;box-shadow:0 8px 18px #02061759}.modal-icon-button:active{transform:translateY(1px)}.modal-icon-button svg{color:#cbd5e1f2;height:1rem;width:1rem}.modal-icon-button:focus{border-color:#60a5fa59;box-shadow:0 0 0 4px #60a5fa24;outline:none}.modal-primary{background:linear-gradient(135deg,#3b82f6b3,#0e7490a6);border:1px solid #3b82f659;border-radius:12px;color:#f8fafc;cursor:pointer;font-size:.95rem;font-weight:400;padding:.6rem 1.35rem;transition:transform .12s ease,box-shadow .12s ease;width:100%}.modal-primary:hover{box-shadow:0 12px 24px #3b82f647}.modal-primary:active{transform:scale(.97)}@media (max-width:420px){.modal-backdrop{padding:1rem}.modal-container{border-radius:18px;width:100%}.modal-body{gap:0;padding:1.1rem 1.3rem}.modal-footer,.modal-footer--inline{gap:.65rem;margin-left:-1.1rem;margin-right:-1.1rem;padding:.85rem 1rem 1.05rem;width:calc(100% + 2.2rem)}}.modal-input--color-preview{overflow:hidden;position:relative}.modal-input--color-preview:after{background:#94a3b866;background:var(--book-color-preview,#94a3b866);content:"";height:2px;left:.9rem;pointer-events:none;position:absolute;right:.9rem;top:50%;transform:translateY(-50%)}.modal-input--color-preview input[type=color]{background:#0000;border:none;min-height:2rem;padding:0}.modal-input--color-preview input[type=color]::-webkit-color-swatch,.modal-input--color-preview input[type=color]::-webkit-color-swatch-wrapper{border:none;padding:0}.bottom-bar{align-items:center;align-self:center;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);background:#182441d9;border:1px solid #94a3b840;border-radius:24px;bottom:1.2rem;box-shadow:0 20px 45px #02061799;box-sizing:border-box;display:flex;gap:1rem;justify-content:space-between;margin-top:auto;max-width:var(--content-max-width);padding:.85rem 1.15rem;position:-webkit-sticky;position:sticky;width:min(100%,var(--content-max-width));z-index:20}.bottom-bar button{flex:0 0 auto}@media (min-width:768px){.bottom-bar{gap:1rem;margin-left:auto;margin-right:auto;max-width:640px;padding:1rem 2rem;width:100%}}@media (max-width:640px){.bottom-bar{border-radius:18px;bottom:calc(env(safe-area-inset-bottom, 0px) + .65rem);gap:clamp(.35rem,2.5vw,.6rem);left:clamp(.75rem,5vw,1.25rem);margin:0;max-width:520px;padding:.55rem clamp(.5rem,4vw,.85rem);position:fixed;right:clamp(.75rem,5vw,1.25rem);transform:none;width:auto}}.action-button-base{align-items:center;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--radius-pill);cursor:pointer;display:inline-flex;justify-content:center;transition:transform .12s ease,box-shadow .12s ease}.action-button-base:hover{box-shadow:var(--shadow-glow)}.action-button-base:focus-visible{outline:3px solid #60a5fa73;outline-offset:2px}.action-button-base:active{transform:scale(.95)}.save-button{background:linear-gradient(135deg,#3b82f666,#0e749073);border:1px solid #3b82f673;color:#f8fafc;font-size:1.1rem;height:2.8rem;width:2.8rem}.balances-button{background:linear-gradient(135deg,#5eead459,#10b9812e);color:#d1fae5;font-size:1.05rem}.balances-button,.books-button{border:1px solid var(--color-border);height:2.8rem;width:2.8rem}.books-button{background:linear-gradient(135deg,#3b82f659,#3b82f62e);color:#e2e8f0;font-size:1.15rem}.create-button{background:radial-gradient(circle at 50% 20%,#60a5fad9,#1d4ed8bf);border:1px solid #3b82f68c;color:#0f172a;font-size:1.45rem;font-weight:600;height:3.3rem;width:3.3rem}.settings-button{background:linear-gradient(135deg,#3b82f659,#3b82f62e);border:1px solid var(--color-border);color:#e2e8f0;font-size:1.2rem;height:2.8rem;width:2.8rem}@media (max-width:640px){.balances-button,.books-button,.save-button,.settings-button{font-size:.95rem;height:2.35rem;width:2.35rem}.create-button{font-size:1.2rem;height:2.75rem;width:2.75rem}}@media (max-width:420px){.balances-button,.books-button,.save-button,.settings-button{font-size:.95rem;height:2.25rem;width:2.25rem}.create-button{font-size:1.15rem;height:2.5rem;width:2.5rem}}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74d3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-container-width:fit-content;--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset),env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset),env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset),env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset),env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-padding:14px;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-toast-shadow:0px 4px 12px #0000001a;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:0.2}.Toastify__toast-container{box-sizing:border-box;color:#fff;display:flex;flex-direction:column;position:fixed;-webkit-transform:translateZ(9999);-webkit-transform:translateZ(var(--toastify-z-index));width:-webkit-fit-content;width:fit-content;width:var(--toastify-container-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--top-center{align-items:center;left:50%;top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top);transform:translateX(-50%)}.Toastify__toast-container--top-right{align-items:end;right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--bottom-left{bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{align-items:center;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{align-items:end;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right)}.Toastify__toast{--y:0;align-items:center;border-radius:6px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--toastify-toast-shadow);box-sizing:border-box;display:flex;flex:1 1 auto;font-family:sans-serif;font-family:var(--toastify-font-family);margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);padding:14px;padding:var(--toastify-toast-padding);position:relative;touch-action:none;width:320px;width:var(--toastify-toast-width);word-break:break-word;z-index:0}@media only screen and (max-width:480px){.Toastify__toast-container{left:env(safe-area-inset-left);margin:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:env(safe-area-inset-right)}.Toastify__toast{--toastify-toast-width:100%;border-radius:0;margin-bottom:0}}.Toastify__toast-container[data-stacked=true]{width:320px;width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s;width:100%}.Toastify__toast--stacked[data-collapsed] .Toastify__close-button,.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{bottom:100%;content:"";height:calc(var(--g)*1px);left:0;position:absolute;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{bottom:0;content:"";height:100%;left:0;position:absolute;right:0;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:22px}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74d3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74d3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:#ffffffb3;background:var(--toastify-color-transparent)}.Toastify__close-button{background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;position:absolute;right:6px;top:6px;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:auto}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:100%;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:1}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{border-bottom-left-radius:0;left:auto;right:0;transform-origin:right}.Toastify__progress-bar--wrp{border-bottom-left-radius:6px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:6px;border-bottom-right-radius:var(--toastify-toast-bd-radius);bottom:0;height:5px;left:0;overflow:hidden;position:absolute;width:100%}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{height:100%;opacity:.2;opacity:var(--toastify-color-progress-bgo);width:100%}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:#616161;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{opacity:1;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg)}to{opacity:0;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(-110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-duration:.3s;animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-duration:.3s;animation-name:Toastify__slideOutRight;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-duration:.3s;animation-name:Toastify__slideOutUp;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-duration:.3s;animation-name:Toastify__slideOutDown;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.stokots-toast{align-items:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172aeb;border:1px solid var(--color-border-strong);border-radius:12px;box-shadow:var(--shadow-float);color:var(--color-text-primary);display:flex;gap:.75rem;min-height:auto;padding:.85rem 1.1rem}.stokots-toast__body{font-size:.95rem;font-weight:500;letter-spacing:.01em}.stokots-toast__progress{background:var(--color-accent);height:4px}.Toastify__toast-container{left:50%;padding:0;transform:translateX(-50%);width:min(92vw,380px)}.Toastify__toast-container--bottom-center{bottom:88px}.stokots-toast .Toastify__close-button{color:var(--color-text-muted);opacity:1}.stokots-toast .Toastify__close-button:focus-visible{border-radius:var(--radius-pill);outline:3px solid #60a5fa73}@media (max-width:480px){.Toastify__toast-container{max-width:420px;width:94vw}}@media (min-width:768px){.Toastify__toast-container--bottom-center{bottom:96px}}.balances{display:flex;flex-direction:column;gap:1.5rem;width:100%}.balances__message{color:#94a3b8cc;font-size:.95rem;margin:0;text-align:center}.balance-card__link{color:inherit;display:block;text-decoration:none}.balance-card__link:focus-visible .balance-card{outline:3px solid #60a5fa73;outline-offset:4px}.balances__grid{grid-gap:1rem;display:grid;gap:1rem;grid-auto-rows:1fr}.balance-card{background:#0f172acc;border:1px solid #94a3b838;border:1px solid var(--book-card-border,#94a3b838);border-radius:18px;box-shadow:0 18px 40px #02061773;height:100%;padding:1.1rem 1.3rem;transition:transform .18s ease,box-shadow .18s ease}.balance-card,.book-card{display:flex;flex-direction:column}.book-card{aspect-ratio:3/4;border-radius:12px;justify-content:space-between;min-height:240px;overflow:hidden;padding:1rem .9rem;position:relative}.book-card:before{background:#3b82f6;background:var(--book-card-border,#3b82f6);border-bottom-left-radius:12px;border-top-left-radius:12px;bottom:0;content:"";left:0;position:absolute;top:0;width:8px}.book-card .balance-card__name{align-items:center;display:flex;justify-content:center}.book-card .balance-card__icon{margin-right:.5rem}.balance-card__link:hover .balance-card{box-shadow:0 22px 50px #0e3f8d59;transform:translateY(-4px)}.balance-card__header{align-items:center;display:flex;gap:.75rem;justify-content:space-between;margin-bottom:1rem}.balance-card__name{color:#f8fafc;font-size:1.05rem;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-card__icon{color:#cbd5e1eb;margin-right:.5rem;vertical-align:middle}.balance-card__tag{border:1px solid #94a3b859;border-radius:var(--radius-pill);color:#94a3b8cc;font-size:.75rem;letter-spacing:.08em;padding:.15rem .6rem;text-transform:uppercase}.balance-chart{height:120px;width:100%}.balance-card__body{display:flex;flex:1 1 auto;flex-direction:column}.balance-chart__empty{align-items:center;background:#0f172a99;border:1px dashed #94a3b840;border-radius:14px;color:#94a3b8cc;display:flex;font-size:.9rem;height:100%;justify-content:center;line-height:1.4;padding:1.5rem .75rem;text-align:center;width:100%}.balance-card__footer{align-items:center;display:flex;gap:1rem;justify-content:space-between;margin-top:auto;padding-top:.75rem}.balance-card__amount{color:#bfdbfe;font-size:1.1rem;font-weight:700;letter-spacing:.05em}.balance-card__amount--negative{color:#ef4444d4}.balance-card__quick-add{align-items:center;background:linear-gradient(135deg,#3b82f659,#0e749059);border:1px solid #3b82f673;border-radius:999px;color:#f8fafc;cursor:pointer;display:inline-flex;font-size:1.2rem;height:2.2rem;justify-content:center;transition:transform .12s ease,box-shadow .12s ease;width:2.2rem}.balance-card__quick-add:hover{box-shadow:0 14px 28px #3b82f647}.balance-card__quick-add:active{transform:scale(.95)}@media (min-width:640px){.balances__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:640px){.balances__grid{grid-template-columns:1fr;justify-content:center;margin:0 auto;max-width:420px}.balance-card{margin:0 auto;max-width:360px;width:100%}}.balance-card--empty{align-items:center;background:#0000;border-color:#3b82f673;border-style:dashed;color:#3b82f6d9;cursor:pointer;gap:.75rem;justify-content:center;min-height:11rem}.balance-card--empty:hover{box-shadow:0 20px 44px #0e3f8d59;transform:translateY(-3px)}.balance-card__empty-icon{align-items:center;border:1px solid #3b82f673;border-radius:50%;color:#3b82f6f2;display:inline-flex;font-size:1.4rem;height:48px;justify-content:center;width:48px}.balance-card__empty-text{color:#3b82f6f2;font-size:.98rem;font-weight:600}.balance-card__amount--book{color:#94a3b8e6;font-weight:400}.balance-card__entries-count{color:#94a3b8bf;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}.balance-card__title-group{align-items:flex-start;display:flex;flex-direction:column;gap:.35rem}.book-card .balance-card__title-group{align-items:center;text-align:center}.book-card__center{align-items:center;display:flex;flex-direction:column;gap:.45rem;justify-content:center;padding-top:.6rem}.book-card__center-icon{color:#cbd5e1f2;font-size:2.2rem}.book-card__center .balance-card__quick-add{margin-top:.5rem}.book-card .balance-card__name{display:block;font-size:1.05rem;margin:0;max-width:86%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-card .balance-card__entries-count{margin-top:.2rem}.books{display:flex;flex-direction:column;gap:1.5rem;padding:0 1rem;width:100%}.books__message{color:#94a3b8cc;font-size:.95rem;margin:0;text-align:center}.books__link{color:inherit;display:block;text-decoration:none}.books__link:focus-visible .balance-card{outline:3px solid #60a5fa73;outline-offset:4px}.books__grid{grid-gap:1rem;display:grid;gap:1rem;grid-auto-rows:1fr;grid-template-columns:repeat(4,minmax(0,1fr))}.books .balance-card{height:100%}.books__card.balance-card--empty{align-items:center;background:#0000;border-color:#3b82f673;border-style:dashed;color:#3b82f6d9;cursor:pointer;gap:.75rem;justify-content:center;min-height:11rem}.books__card.balance-card--empty:hover{box-shadow:0 20px 44px #0e3f8d59;transform:translateY(-3px)}.books__title-group{align-items:center;display:flex;flex:1 1 auto;flex-direction:column;gap:.35rem;justify-content:center;text-align:center}.books__name{color:#f8fafc;font-size:1.05rem;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.books__entries-count{color:#94a3b8bf;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}.books__quick-add{align-items:center;background:linear-gradient(135deg,#3b82f659,#0e749059);border:1px solid #3b82f673;border-radius:999px;color:#f8fafc;cursor:pointer;display:inline-flex;font-size:1.2rem;height:2.2rem;justify-content:center;transition:transform .12s ease,box-shadow .12s ease;width:2.2rem}.books__quick-add:hover{box-shadow:0 14px 28px #3b82f647}.books__quick-add:active{transform:scale(.95)}.books__empty-icon{align-items:center;border:1px solid #3b82f673;border-radius:50%;color:#3b82f6f2;display:inline-flex;font-size:1.4rem;height:48px;justify-content:center;width:48px}.books__empty-text{color:#3b82f6f2;font-size:.98rem;font-weight:600}.book-card__emoji{font-size:2rem;line-height:1}@media (max-width:640px){.books__grid{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center;margin:0 auto;max-width:720px}.books .balance-card{margin:0 auto;max-width:360px;width:100%}}@media (min-width:641px) and (max-width:1023px){.books__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.books__link:hover .balance-card{box-shadow:0 22px 50px #0e3f8d59;transform:translateY(-4px)}.books__card .books__edit-btn{background:#0000;border:none;color:#cbd5e1e6;cursor:pointer;font-size:1rem;padding:.25rem;position:absolute;right:.6rem;top:.5rem}.books__card .books__edit-btn:hover{color:#f8fafc}.modal-field--two-col{grid-gap:.8rem;align-items:start;display:grid;gap:.8rem;grid-template-columns:1fr 1fr}.modal-field--two-col .modal-col{align-items:stretch;display:flex;flex-direction:column;gap:.5rem}.modal-col--color .modal-input--color-preview{border:1px solid #94a3b80f;border-radius:6px;height:2.2rem;padding:0;width:3.2rem}.modal-card--color{align-items:center;display:flex;flex-direction:column;gap:.5rem;padding:.65rem;text-align:center}.modal-field--two-col .modal-col .modal-card{display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between}.modal-card--icon .modal-input-with-picker{align-items:center;display:flex;justify-content:center;width:100%}.modal-card--color .modal-input--color-preview{display:block;margin:0 auto}@media (max-width:640px){.modal-field--two-col{grid-template-columns:1fr}}
/*# sourceMappingURL=main.509d92a8.css.map*/