/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.col-1{grid-column:1}.row-1{grid-row:1}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#172033;--muted:#7b8496;--line:#e9ecf2;--paper:#f4f6fa;--blue:#5576dd;--blue-dark:#3f5fc0;--green:#20a96b;--red:#ef6262}*{box-sizing:border-box}html,body,#root{background:var(--paper);min-height:100%}body{color:var(--ink);font-family:var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;-webkit-font-smoothing:antialiased;margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0}.app-shell{justify-content:center;min-height:100dvh;display:flex}.phone-app{background:var(--paper);width:100%;max-width:520px;min-height:100dvh;position:relative;overflow:hidden}.auth-loading{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.auth-loading strong{color:var(--ink);font-size:17px}.auth-loading span{font-size:11px}.auth-screen{min-height:100dvh;padding:max(34px, env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));background:linear-gradient(158deg,#edf1ff 0%,#f7f8fb 48%,#eef0f5 100%);flex-direction:column;justify-content:flex-end;display:flex}.auth-orb{filter:blur(1px);pointer-events:none;border-radius:50%;position:absolute}.auth-orb.one{background:radial-gradient(circle at 35% 35%,#8ea6f244,#7560c010 70%);width:260px;height:260px;top:-95px;right:-110px}.auth-orb.two{background:#8abbe91b;width:180px;height:180px;top:185px;left:-85px}.auth-intro{margin:auto 4px 35px;position:relative}.auth-logo{background:#77efc4;border-radius:16px;place-items:center;width:58px;height:58px;margin-bottom:10px;display:grid;overflow:hidden;box-shadow:0 12px 25px #42cfa64a}.auth-logo img{object-fit:cover;width:100%;height:100%;display:block}.auth-intro>span{color:var(--blue);letter-spacing:.04em;font-size:12px;font-weight:750}.auth-intro h1{letter-spacing:-.055em;margin:13px 0 10px;font-size:clamp(33px,10vw,45px);line-height:1.08}.auth-intro p{color:var(--muted);margin:0;font-size:12px}.auth-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffd;border:1px solid #fff;border-radius:24px;flex-direction:column;gap:11px;padding:17px;display:flex;position:relative;box-shadow:0 24px 50px #34425c18}.auth-tabs{background:#eceff4;border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:4px;padding:4px;display:grid}.auth-tabs button{color:#8a93a1;background:0 0;border-radius:9px;height:34px;font-size:12px}.auth-tabs button.active{color:var(--ink);background:#fff;font-weight:700;box-shadow:0 3px 8px #2d3a5010}.auth-card>label{color:#929aa8;background:#fff;border:1px solid #e6e9ef;border-radius:14px;align-items:center;gap:10px;min-height:48px;padding:0 13px;display:flex}.auth-card input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px}.auth-error{color:#b84545;background:#fff1f1;border:1px solid #f1c9c9;border-radius:11px;padding:9px 11px;font-size:10px}.auth-submit{color:#fff;background:linear-gradient(135deg,#607ee0,#4d69cc);border-radius:14px;height:49px;margin-top:2px;font-size:13px;font-weight:700;box-shadow:0 10px 20px #526dc738}.auth-submit:disabled{opacity:.55}.privacy-note{color:#949ba7;justify-content:center;align-items:center;gap:5px;margin:2px 0 0;font-size:9px;display:flex}.screen{min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) 18px calc(104px + env(safe-area-inset-bottom));overflow-y:auto}.screen-header{justify-content:space-between;align-items:flex-end;gap:12px;min-height:76px;margin-bottom:18px;display:flex}.screen-header p{color:var(--muted);letter-spacing:.03em;margin:0 0 4px;font-size:12px}.screen-header h1{letter-spacing:-.04em;margin:0;font-size:28px;line-height:1}.cycle-control{background:#fff;border:1px solid #e8ebf0;border-radius:11px;align-items:center;height:34px;padding:3px;display:flex;box-shadow:0 3px 10px #3444640a}.cycle-control button{width:27px;height:27px;color:var(--blue);background:0 0;border-radius:8px;place-items:center;display:grid}.cycle-control button:disabled{opacity:.25}.cycle-control span{text-align:center;min-width:74px;font-size:12px;font-weight:650}.offline-banner{z-index:20;top:calc(env(safe-area-inset-top) + 6px);white-space:nowrap;color:#765b18;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff8dcdd;border:1px solid #f0d98d;border-radius:999px;align-items:center;gap:6px;padding:6px 11px;font-size:11px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.offline-banner span{background:#e5ac25;border-radius:50%;width:6px;height:6px}.balance-card{isolation:isolate;color:#fff;background:linear-gradient(145deg,#607ee0 0%,#4e69ce 48%,#7459c0 100%);border-radius:26px;min-height:220px;padding:28px 24px 20px;position:relative;overflow:hidden;box-shadow:0 20px 36px #4f68c838}.balance-card:after{content:"";z-index:-1;border:1px solid #fff2;border-radius:50%;width:180px;height:180px;position:absolute;bottom:-80px;right:-65px;box-shadow:0 0 0 28px #ffffff0c,0 0 0 56px #ffffff08}.balance-glow{z-index:-1;filter:blur(42px);background:#fff2;width:220px;height:140px;position:absolute;top:-60px;left:-40px}.balance-card>p{color:#ffffffb8;margin:0 0 7px;font-size:13px}.balance-card>strong{letter-spacing:-.055em;font-size:clamp(34px,10vw,44px);font-weight:720;display:block}.summary-row{border-top:1px solid #ffffff20;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px;padding-top:17px;display:grid}.summary-row>div{align-items:center;gap:9px;min-width:0;display:flex}.summary-icon{border-radius:10px;flex:none;place-items:center;width:30px;height:30px;display:grid}.summary-icon.income{color:#d7ffe9;background:#39c68233}.summary-icon.expense{color:#ffe1e1;background:#ff7c7c35;transform:rotate(180deg)}.summary-row span:last-child{color:#ffffffa8;font-size:11px}.summary-row em{color:#fff;white-space:nowrap;margin-top:3px;font-size:14px;font-style:normal;font-weight:650;display:block}.section-title{justify-content:space-between;align-items:flex-end;margin:24px 2px 11px;display:flex}.section-title>div{flex-direction:column;gap:3px;display:flex}.section-title span{font-size:16px;font-weight:700}.section-title small{color:var(--muted);font-size:11px}.section-title button{color:var(--blue);background:0 0;align-items:center;padding:6px 0;font-size:12px;display:flex}.quick-grid{scrollbar-width:none;grid-template-columns:repeat(6,minmax(58px,1fr));gap:6px;margin:0 -2px;display:grid;overflow-x:auto}.quick-grid button{background:0 0;min-width:58px;padding:7px 0 4px}.quick-grid button>span{border-radius:17px;place-items:center;width:47px;height:47px;margin:0 auto 7px;transition:transform .15s;display:grid}.quick-grid button:active>span{transform:scale(.9)}.quick-grid small{color:#626c7d;text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.transaction-card{background:#fff;border:1px solid #eaedf2;border-radius:19px;overflow:hidden;box-shadow:0 8px 28px #22314a08}.transaction-row{align-items:center;gap:11px;min-height:67px;padding:10px 13px;display:flex;position:relative}.transaction-row+.transaction-row:before{content:"";background:var(--line);height:1px;position:absolute;top:0;left:65px;right:0}.transaction-icon{border-radius:14px;flex:none;place-items:center;width:41px;height:41px;display:grid}.transaction-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.transaction-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;overflow:hidden}.transaction-copy span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:2px;font-size:10px;display:flex;overflow:hidden}.transaction-row b{white-space:nowrap;font-size:13px;font-weight:680}.transaction-row b.expense{color:#283042}.transaction-row b.income,.green{color:var(--green)!important}.row-delete{color:#a0a7b3;background:#f6f7f9;border-radius:9px;place-items:center;width:28px;height:28px;margin-left:-3px;display:grid}.transaction-photo{background:#eef0f4;border-radius:11px;flex:none;width:38px;height:38px;padding:0;position:relative;overflow:hidden}.transaction-photo img{object-fit:cover;width:100%;height:100%}.transaction-photo span{color:#fff;background:#172033c9;border-radius:5px;padding:2px 4px;font-size:7px;font-weight:700;position:absolute;bottom:2px;right:2px}.photo-viewer{z-index:170;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#101522ed;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.photo-viewer>button{top:calc(18px + env(safe-area-inset-top));color:#fff;background:#ffffff20;border-radius:13px;place-items:center;width:39px;height:39px;display:grid;position:absolute;right:18px}.photo-viewer>img{object-fit:contain;border-radius:18px;max-width:100%;max-height:82%;box-shadow:0 20px 50px #0007}.photo-viewer>button.viewer-prev,.photo-viewer>button.viewer-next{border-radius:50%;top:50%;right:auto;transform:translateY(-50%)}.photo-viewer>button.viewer-prev{left:12px}.photo-viewer>button.viewer-next{right:12px}.viewer-count{bottom:calc(24px + env(safe-area-inset-bottom));color:#fff;background:#ffffff1f;border-radius:10px;padding:6px 10px;font-size:10px;position:absolute;left:50%;transform:translate(-50%)}.empty-card{color:#a1a9b7;background:#fff9;border:1px dashed #dfe3e9;border-radius:19px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:150px;display:flex}.empty-card strong{color:#697386;font-size:13px}.empty-card span{font-size:11px}.bottom-nav{z-index:30;height:calc(70px + env(safe-area-inset-bottom));padding:8px 10px env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffefaeb;border-top:1px solid #e7eaf0;grid-template-columns:repeat(4,1fr);display:grid;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -8px 30px #24324b0b}.bottom-nav button{color:#939ba9;background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:10px;display:flex}.bottom-nav button.active{color:var(--blue)}.floating-add{z-index:35;right:20px;bottom:calc(84px + env(safe-area-inset-bottom));color:#fff;background:linear-gradient(145deg,#6684e6,#4966c8);border-radius:19px;place-items:center;width:55px;height:55px;display:grid;position:absolute;box-shadow:0 12px 25px #4e68cc55}.search-box{color:#939cab;background:#fff;border:1px solid #e8ebef;border-radius:15px;align-items:center;gap:9px;height:45px;padding:0 14px;display:flex}.search-box input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.segmented{background:#e8ebf0;border-radius:13px;grid-template-columns:repeat(3,1fr);gap:4px;margin:12px 0 18px;padding:4px;display:grid}.segmented button{color:#7f8796;background:0 0;border-radius:10px;height:33px;font-size:12px}.segmented button.active{color:var(--ink);background:#fff;font-weight:650;box-shadow:0 2px 7px #2b395012}.grouped-list{flex-direction:column;gap:17px;display:flex}.date-label{color:#717b8c;justify-content:space-between;margin:0 3px 8px;font-size:11px;display:flex}.date-label em{color:#9ba2ae;font-style:normal}.period-pill{color:var(--blue);background:#fff;border:1px solid #dfe4f4;border-radius:11px;align-items:center;gap:6px;padding:8px 11px;font-size:12px;font-weight:650;display:flex}.stats-totals{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stats-totals>div{background:#fff;border:1px solid #e9ecf1;border-radius:18px;flex-direction:column;min-width:0;padding:17px;display:flex}.stats-totals span{color:var(--muted);font-size:11px}.stats-totals strong{text-overflow:ellipsis;margin:7px 0 4px;font-size:19px;overflow:hidden}.stats-totals small{color:#a0a7b3;font-size:10px}.chart-card{color:#fff;background:linear-gradient(145deg,#1e273b,#303a54);border-radius:22px;align-items:center;gap:24px;margin-top:12px;padding:22px;display:flex;box-shadow:0 15px 30px #1f293b22}.donut{border-radius:50%;flex:none;place-items:center;width:116px;height:116px;display:grid}.donut>div{background:#283148;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:75px;height:75px;display:flex}.donut strong{font-size:20px}.donut span{color:#9fa8bb;margin-top:2px;font-size:9px}.chart-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.chart-copy small{color:#9fa8bb;font-size:10px}.chart-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:20px;overflow:hidden}.chart-copy span{color:#d8ddeb;font-size:12px}.ranking-card{background:#fff;border:1px solid #e9ecf1;border-radius:19px;padding:3px 14px;overflow:hidden}.rank-row{align-items:center;gap:10px;min-height:65px;display:flex}.rank-row+.rank-row{border-top:1px solid var(--line)}.rank-number{color:#a1a8b4;width:14px;font-size:11px;font-weight:700}.rank-row .transaction-icon{border-radius:12px;width:36px;height:36px}.rank-row>div{flex-direction:column;flex:1;gap:7px;min-width:0;display:flex}.rank-row strong{font-size:12px}.rank-row i{background:#eef0f4;border-radius:8px;width:100%;height:4px;overflow:hidden}.rank-row i span{border-radius:8px;height:100%;display:block}.rank-row em{font-size:12px;font-style:normal;font-weight:650}.empty-inline{color:var(--muted);text-align:center;padding:36px 0;font-size:12px}.settings-group{margin-bottom:20px}.profile-card{color:#fff;background:linear-gradient(145deg,#263149,#3c4662);border-radius:20px;align-items:center;gap:11px;margin-bottom:20px;padding:15px;display:flex;box-shadow:0 13px 26px #25304922}.profile-avatar{color:#fff;background:linear-gradient(145deg,#6f8aeb,#7d65ca);border-radius:14px;flex:none;place-items:center;width:43px;height:43px;font-size:17px;font-weight:750;display:grid}.profile-avatar.small{border-radius:12px;width:37px;height:37px;font-size:14px}.profile-card>div:nth-child(2){flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.profile-card strong{font-size:13px}.profile-card span{color:#b6bed0;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.profile-card em{color:#dfe5f5;background:#ffffff0c;border:1px solid #fff2;border-radius:9px;padding:5px 8px;font-size:9px;font-style:normal}.settings-group h2{color:#8b93a1;margin:0 4px 8px;font-size:11px;font-weight:550}.settings-group>div{background:#fff;border:1px solid #e8ebf0;border-radius:18px;overflow:hidden}.settings-group button{text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:67px;padding:10px 14px;display:flex;position:relative}.settings-group button+button:before{content:"";background:var(--line);height:1px;position:absolute;top:0;left:65px;right:0}.settings-group button>span{border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.settings-group button>div{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.settings-group button strong{font-size:13px}.settings-group button small{color:var(--muted);font-size:10px}.settings-group button>svg{color:#b0b6c0}.logout-button{color:#d55656;background:snow;border:1px solid #efd7d7;border-radius:15px;justify-content:center;align-items:center;gap:7px;width:100%;height:46px;font-size:12px;font-weight:650;display:flex}.sheet-layer{z-index:100;align-items:flex-end;display:flex;position:absolute;inset:0}.sheet-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17203366;width:100%;animation:.2s fade;position:absolute;inset:0}.sheet{width:100%;max-height:calc(94dvh - env(safe-area-inset-top));padding:0 18px calc(22px + env(safe-area-inset-bottom));background:var(--paper);border-radius:26px 26px 0 0;animation:.28s cubic-bezier(.2,.8,.2,1) slide;position:relative;overflow-y:auto;box-shadow:0 -20px 50px #17203328}.sheet-handle{background:#cfd4dc;border-radius:5px;width:38px;height:4px;margin:9px auto 5px}.sheet-header{grid-template-columns:1fr auto 1fr;align-items:center;height:48px;display:grid}.sheet-header button{color:var(--muted);background:0 0;justify-self:start;padding:8px 0;font-size:13px}.sheet-header h2{margin:0;font-size:16px}.add-form{flex-direction:column;gap:14px;display:flex}.draft-notice{color:#66748c;background:#eaf0ff;border-radius:10px;justify-content:center;align-items:center;gap:6px;margin:-2px 0;padding:7px;font-size:9px;display:flex}.type-toggle{background:#e6e9ef;border-radius:14px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.type-toggle button{height:38px;color:var(--muted);background:0 0;border-radius:11px;font-size:13px;font-weight:650}.type-toggle .active{color:#fff}.type-toggle .active.expense{background:var(--red)}.type-toggle .active.income{background:var(--green)}.amount-field{background:#fff;border:1.5px solid #dce2f2;border-radius:18px;align-items:center;height:84px;padding:0 18px;display:flex}.amount-field span{font-size:25px;font-weight:750}.amount-field input{width:100%;min-width:0;color:var(--ink);letter-spacing:-.04em;background:0 0;border:0;outline:0;padding:0 10px;font-size:38px;font-weight:750}.amount-field input::placeholder{color:#c7ccd4}.field-label{color:var(--muted);margin:3px 2px -5px;font-size:11px}.category-grid{background:#fff;border:1px solid #e8ebf0;border-radius:18px;grid-template-columns:repeat(4,1fr);gap:9px 6px;padding:14px 8px;display:grid}.category-grid button{background:0 0;flex-direction:column;align-items:center;gap:5px;display:flex}.category-grid button span{width:43px;height:43px;color:var(--cat);background:var(--cat);border:1px solid #0000;border-radius:14px;place-items:center;display:grid}@supports (color:color-mix(in lab, red, red)){.category-grid button span{background:color-mix(in srgb, var(--cat) 10%, white)}}.category-grid button small{color:#727b8b;text-overflow:ellipsis;white-space:nowrap;max-width:65px;font-size:9px;overflow:hidden}.category-grid button.selected span{color:#fff;border-color:var(--cat);background:var(--cat);box-shadow:0 6px 13px var(--cat)}@supports (color:color-mix(in lab, red, red)){.category-grid button.selected span{box-shadow:0 6px 13px color-mix(in srgb, var(--cat) 30%, transparent)}}.category-grid button.selected small{color:var(--cat);font-weight:700}.text-field{color:#8891a0;background:#fff;border:1px solid #e6e9ee;border-radius:15px;align-items:center;gap:10px;min-height:48px;padding:0 14px;display:flex}.text-field input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px}.attachment-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.attachment-button{color:#647087;background:#fff;border:1px dashed #d5dae3;border-radius:15px;justify-content:center;align-items:center;gap:7px;min-height:48px;font-size:10px;display:flex;position:relative;overflow:hidden}.attachment-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.attachment-button.located{color:#238c62;background:#f1fbf6;border-style:solid;border-color:#bfe6d5}.image-preview-grid{background:#fff;border:1px solid #e5e8ee;border-radius:16px;grid-template-columns:repeat(4,1fr);gap:7px;padding:8px;display:grid}.image-preview-grid>div{aspect-ratio:1;background:#eef0f4;border-radius:11px;position:relative;overflow:hidden}.image-preview-grid img{object-fit:cover;width:100%;height:100%}.image-preview-grid button{color:#a94747;background:#ffffffe8;border-radius:8px;place-items:center;width:23px;height:23px;display:grid;position:absolute;top:4px;right:4px;box-shadow:0 2px 7px #17203328}.image-preview-grid span{color:#fff;background:#172033b5;border-radius:6px;place-items:center;width:17px;height:17px;font-size:8px;display:grid;position:absolute;bottom:4px;left:5px}.location-field button{color:#9aa2af;background:#f1f3f6;border-radius:8px;flex:none;place-items:center;width:26px;height:26px;display:grid}.coordinate-note{color:#6d9a85;justify-content:space-between;gap:8px;margin:-8px 4px 0;font-size:9px;display:flex}.coordinate-note a{color:#527caa;flex:none;text-decoration:none}.location-error{color:#ba5a5a;margin:-8px 4px 0;font-size:9px}.save-button{color:#fff;background:linear-gradient(135deg,#607ee0,#4d69cc);border-radius:15px;width:100%;height:49px;margin-top:2px;font-size:14px;font-weight:700;box-shadow:0 9px 20px #526dc733}.save-button:disabled{opacity:.4;box-shadow:none}.cycle-sheet{flex-direction:column;gap:10px;display:flex}.cycle-sheet>p{color:var(--muted);margin:6px 2px 0;font-size:11px}.cycle-sheet>button:not(.save-button){text-align:left;background:#fff;border:1px solid #e7eaf0;border-radius:16px;justify-content:space-between;align-items:center;min-height:65px;padding:12px 15px;display:flex}.cycle-sheet>button span{flex-direction:column;gap:3px;display:flex}.cycle-sheet>button strong{font-size:13px}.cycle-sheet>button small{color:var(--muted);font-size:10px}.cycle-sheet>button i{border:2px solid #cbd1da;border-radius:50%;width:18px;height:18px}.cycle-sheet>button.selected{background:#f7f8fe;border-color:#bdc9ee}.cycle-sheet>button.selected i{border:5px solid var(--blue)}.cycle-sheet label{color:#586174;background:#fff;border-radius:16px;flex-direction:column;gap:12px;padding:15px;font-size:12px;display:flex}.cycle-sheet label strong{color:var(--blue);font-size:17px}.cycle-sheet input[type=range]{width:100%;accent-color:var(--blue)}.export-sheet{flex-direction:column;gap:12px;padding-bottom:4px;display:flex}.export-sheet>p{color:var(--muted);margin:3px 2px 0;font-size:10px}.export-modes{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.export-modes button{color:#727c90;background:#fff;border:1px solid #e4e8ee;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:82px;padding:9px 5px;display:flex}.export-modes button span{text-align:center;flex-direction:column;gap:2px;min-width:0;display:flex}.export-modes strong{color:#34405a;font-size:10px}.export-modes small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.export-modes button.selected{color:var(--blue);background:#f3f6ff;border-color:#b8c5ec;box-shadow:inset 0 0 0 1px #d8e0f8}.export-month,.export-dates label{color:#657086;background:#fff;border:1px solid #e5e8ee;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;min-height:50px;padding:9px 13px;font-size:10px;display:flex}.export-month input,.export-dates input{color:#34405a;background:0 0;border:0;outline:0;min-width:0;font-size:11px}.export-dates{grid-template-columns:1fr 1fr;gap:7px;display:grid}.export-dates label{flex-direction:column;align-items:flex-start}.export-summary{color:#7255bc;background:#f7f4fc;border:1px solid #ded6f1;border-radius:15px;align-items:center;gap:11px;padding:13px;display:flex}.export-summary>div{flex-direction:column;gap:2px;min-width:0;display:flex}.export-summary span,.export-summary small{color:#837b94;font-size:8px}.export-summary strong{font-size:11px}.manager-panel{flex-direction:column;gap:13px;padding-bottom:4px;display:flex}.category-create{grid-template-columns:1fr 42px auto;gap:7px;display:grid}.category-create>input:first-child{background:#fff;border:1px solid #e2e6ec;border-radius:12px;outline:0;min-width:0;height:43px;padding:0 12px;font-size:11px}.color-picker{background:#fff;border:1px solid #e2e6ec;border-radius:12px;place-items:center;width:42px;height:43px;display:grid;position:relative;overflow:hidden}.color-picker span{border:2px solid #fff;border-radius:7px;width:27px;height:27px;box-shadow:0 0 0 1px #d8dce3}.color-picker input{opacity:0;cursor:pointer;position:absolute;inset:0}.category-create button{color:#fff;background:var(--blue);border-radius:12px;align-items:center;gap:4px;padding:0 12px;font-size:10px;font-weight:650;display:flex}.category-create button:disabled{opacity:.45}.icon-picker{background:#fff;border:1px solid #e7eaf0;border-radius:16px;grid-template-columns:repeat(8,1fr);gap:6px;padding:10px;display:grid}.icon-picker button{aspect-ratio:1;background:currentColor;border:1px solid #0000;border-radius:10px;place-items:center;display:grid}@supports (color:color-mix(in lab, red, red)){.icon-picker button{background:color-mix(in srgb,currentColor 10%,white)}}.icon-picker button.selected{border-color:var(--icon-color);background:var(--icon-color);box-shadow:0 4px 10px #5576dd32;color:#fff!important}.managed-list{background:#fff;border:1px solid #e7eaf0;border-radius:17px;overflow:hidden}.managed-list>div{align-items:center;gap:10px;min-height:55px;padding:8px 11px;display:flex}.managed-list>div+div{border-top:1px solid var(--line)}.managed-list>div>span{border-radius:11px;place-items:center;width:35px;height:35px;display:grid}.managed-list strong{flex:1;font-size:11px}.managed-list em{color:#99a0ad;font-size:8px;font-style:normal}.managed-list button{color:#c15d5d;background:#fff0f0;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.budget-period{color:var(--blue);background:#f5f7ff;border:1px solid #dce3f7;border-radius:14px;align-items:center;gap:9px;padding:12px;display:flex}.budget-period>div{flex-direction:column;gap:2px;display:flex}.budget-period strong{font-size:10px}.budget-period span{color:#78849b;font-size:8px}.manager-label{color:var(--muted);margin:2px 3px -5px;font-size:9px}.budget-list{background:#fff;border:1px solid #e7eaf0;border-radius:16px;overflow:hidden}.budget-input{background:#fff;align-items:center;gap:9px;min-height:50px;padding:8px 12px;display:flex}.budget-list .budget-input+.budget-input{border-top:1px solid var(--line)}.budget-input>span{border-radius:50%;flex:none;width:8px;height:8px}.budget-input strong{flex:1;font-size:10px}.budget-input em{color:#8c94a1;font-size:11px;font-style:normal}.budget-input input{text-align:right;background:#fafbfc;border:1px solid #e7eaf0;border-radius:9px;outline:0;width:82px;padding:7px 8px;font-size:10px}.admin-panel{flex-direction:column;gap:15px;padding-bottom:5px;display:flex}.privacy-callout{color:#476450;background:#f1faf4;border:1px solid #cfe5d6;border-radius:14px;align-items:flex-start;gap:10px;padding:12px;display:flex}.privacy-callout>svg{flex:none;margin-top:1px}.privacy-callout>div{flex-direction:column;gap:3px;display:flex}.privacy-callout strong{font-size:10px}.privacy-callout span{color:#6f8175;font-size:8px;line-height:1.45}.admin-loading{color:var(--muted);text-align:center;padding:55px 0;font-size:12px}.admin-metrics{grid-template-columns:.8fr .8fr 1.4fr;gap:8px;display:grid}.admin-metrics>div{background:#fff;border:1px solid #e7eaf0;border-radius:15px;flex-direction:column;gap:5px;min-width:0;padding:13px;display:flex}.admin-metrics span{color:var(--muted);font-size:9px}.admin-metrics strong{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.admin-title{justify-content:space-between;align-items:center;margin:4px 2px -6px;display:flex}.admin-title strong{font-size:13px}.admin-title span{color:var(--muted);font-size:9px}.admin-users{background:#fff;border:1px solid #e8ebf0;border-radius:18px;overflow:hidden}.admin-user{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:76px;padding:11px 12px;display:grid;position:relative}.admin-user+.admin-user{border-top:1px solid var(--line)}.admin-user.disabled{opacity:.72;background:#fafafa}.admin-user>div:nth-child(2){flex-direction:column;gap:2px;min-width:0;display:flex}.admin-user strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.admin-user strong i{color:var(--blue);margin-left:5px;font-size:8px;font-style:normal}.admin-user span,.admin-user small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.admin-user>em{color:#697386;background:#f0f2f5;border-radius:7px;padding:4px 6px;font-size:8px;font-style:normal}.admin-user>em.admin{color:#6f53b5;background:#f0ebfb}.admin-user>em.inactive{color:#9a6464;background:#f8eaea}.admin-actions{grid-column:2/4;justify-content:flex-end;align-items:center;flex-direction:row!important;gap:6px!important;display:flex!important}.admin-actions button{color:var(--blue);background:#eef2ff;border-radius:8px;padding:6px 8px;font-size:8px}.admin-actions button.danger{color:#d85757;background:#fff0f0;place-items:center;padding:5px 7px;display:grid}.admin-actions button.stop{color:#b45555;background:#fff0f0}.admin-actions button.resume{color:#23845e;background:#eaf9f1}.admin-transactions{background:#fff;border:1px solid #e8ebf0;border-radius:18px;overflow:hidden}.admin-transactions>div:not(.empty-inline){align-items:center;gap:9px;min-height:58px;padding:9px 11px;display:flex}.admin-transactions>div+div{border-top:1px solid var(--line)}.admin-transactions>div>span{border-radius:9px;flex:none;place-items:center;width:29px;height:29px;font-size:9px;font-weight:750;display:grid}.admin-transactions>div>span.expense{color:#d95656;background:#fff0f0}.admin-transactions>div>span.income{color:#209b65;background:#eaf9f2}.admin-transactions>div>div{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.admin-transactions strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.admin-transactions small{color:var(--muted);font-size:8px}.admin-transactions em{white-space:nowrap;font-size:10px;font-style:normal;font-weight:680}.admin-transactions em.income{color:var(--green)}.admin-transactions button{color:#bd7373;background:#fff4f4;border-radius:8px;place-items:center;width:27px;height:27px;display:grid}.toast{z-index:150;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));color:#fff;white-space:nowrap;background:#172033e8;border-radius:12px;padding:10px 16px;font-size:12px;animation:.25s toast;position:absolute;transform:translate(-50%);box-shadow:0 8px 24px #1720333d}@keyframes slide{0%{opacity:.5;transform:translateY(35%)}}@keyframes fade{0%{opacity:0}}@keyframes toast{0%{opacity:0;transform:translate(-50%,8px)}}@media (width>=700px){body{background:radial-gradient(circle at 20% 0,#f7f8fb 0,#e7eaf0 54%,#dfe3eb 100%)}.app-shell{padding:24px 0}.phone-app{border-radius:28px;height:calc(100dvh - 48px);min-height:calc(100dvh - 48px);box-shadow:0 0 50px #30405b18}.screen{min-height:calc(100dvh - 48px)}.bottom-nav,.offline-banner,.floating-add,.sheet-layer{position:absolute}}@media (width<=380px){.screen{padding-inline:14px}.screen-header h1{font-size:25px}.cycle-control span{min-width:62px}.balance-card{padding-inline:19px}.quick-grid{grid-template-columns:repeat(6,58px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
