*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.table{display:table}.hidden{display:none}.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{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#e9eef2;background:#10171d;font-synthesis:none;color-scheme:dark;font-size:16px;--surface:#182229;--border:#2b3942;--muted:#a0afb9;--accent:#78ddbc;--accent-ink:#0e3026}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button,input,select{transition:background .15s,border-color .15s,box-shadow .15s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}input:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #78ddbc20}.icon{width:20px;height:20px;flex-shrink:0;display:inline-block;vertical-align:middle}.app-shell{max-width:1248px;margin:auto;padding:0 40px}.app-header{height:102px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:-.8px}.header-actions{display:flex;align-items:center;gap:24px}.local-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.local-label .icon{width:15px;height:15px;color:var(--accent)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 17px;border-radius:9px;border:1px solid transparent;font-size:14px;font-weight:600;line-height:1.35;white-space:nowrap}.button-primary{background:var(--accent);color:var(--accent-ink)}.button-primary:hover{background:#9bedcf}.button-secondary{background:#1a252d;border-color:#34434e;color:#e0e8ed}.button-secondary:hover{background:#26353f;border-color:#536875}.button-danger{background:#f59a9f;color:#43161c}.button-danger:hover{background:#ffb2b6}.text-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;font-size:14px;font-weight:500;color:var(--accent);background:none;border:0;padding:4px 0;line-height:1.4}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.text-button .icon{height:16px;width:16px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border:1px solid transparent;border-radius:7px;color:#a9bac5;background:none}.icon-button:hover{background:#2d3f4b;color:#fff}.danger-hover:hover{background:#f59a9f14;color:#ffa9ad}.eyebrow{text-transform:uppercase;font-size:12px;font-weight:650;letter-spacing:1.4px;color:var(--muted)}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:36px 0 26px}.page-heading h1{font-size:30px;line-height:1.25;letter-spacing:-.8px;margin-top:8px;font-weight:650}.date-control{display:flex;align-items:flex-end;gap:12px}.date-control .field{width:180px;gap:7px}.date-control .field>span{font-size:12px;color:var(--muted)}.date-control input{min-height:41px}.date-control .text-button{margin-bottom:8px}.overview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}.balance-card{background:linear-gradient(115deg,#20372f,#19292c);border:1px solid #385749;border-radius:16px;padding:26px 28px;display:flex;flex-direction:column;justify-content:center;min-height:230px}.balance-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.balance-top .eyebrow{color:#b4daca;letter-spacing:1px}.quiet-badge{font-size:12px;color:#b4c6c2}.balance-amount{font-variant-numeric:tabular-nums;font-size:clamp(28px,3.4vw,43px);font-weight:620;letter-spacing:-1.3px;line-height:1.2;margin-top:25px;color:#effbf6;overflow-wrap:anywhere}.balance-caption{color:#adc4bc;font-size:13px;line-height:1.7;margin-top:9px}.balance-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;color:#acc1b9;margin-top:23px}.balance-separator{height:12px;width:1px;background:#517164}.overview-side{display:grid;grid-template-columns:1fr;gap:14px}.metric-card{border:1px solid var(--border);border-radius:13px;background:var(--surface);padding:22px;display:flex;align-items:center;gap:18px}.metric-card h2{font-size:13px;font-weight:500;color:#bcc8d0}.metric-card strong{display:block;font-size:25px;line-height:1.4;font-weight:620;letter-spacing:-.6px;font-variant-numeric:tabular-nums;margin:4px 0}.metric-card p{font-size:12px;color:var(--muted);line-height:1.5}.metric-icon{width:40px;height:40px;background:#233d36;border:1px solid #33574c;color:var(--accent);border-radius:11px;display:grid;place-items:center;flex-shrink:0}.metric-icon .icon{transform:rotate(90deg)}.interest-icon{background:#2d303f;border-color:#42465b;color:#c5c8ea}.interest-icon .icon{transform:none}.positive{color:var(--accent)}.overview-details{grid-column:1/-1;margin-top:-5px}.overview-details>.text-button{font-size:12px;color:var(--muted);gap:7px}.calculation-details{margin-top:12px;padding:17px 20px;border:1px solid var(--border);border-radius:9px;max-width:800px}.calculation-details p{font-size:14px;line-height:1.65;color:var(--muted)}.calculation-details p+p{margin-top:8px}.calculation-details strong{color:#d7e2e9}.bookings-section{margin-top:38px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.section-heading h2{font-size:21px;font-weight:620;letter-spacing:-.4px}.section-heading p{margin-top:6px;font-size:13px;color:var(--muted)}.booking-actions{display:flex;align-items:center;gap:9px}.ledger-panel{background:#152028;border:1px solid var(--border);border-radius:14px;overflow:hidden}.ledger-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid var(--border)}.filter-tabs{display:flex;align-items:center;gap:4px}.filter-tabs button{padding:8px 12px;border:1px solid transparent;border-radius:7px;font-size:13px;color:var(--muted);background:transparent;white-space:nowrap}.filter-tabs button:hover{color:#e8f2f7}.filter-tabs button.active{background:#2a3943;color:#f0f7fa;border-color:#3d505c}.search-field{display:flex;align-items:center;gap:8px;background:#101a21;border:1px solid #2b3c47;border-radius:7px;padding:0 10px;color:#8099a8;width:230px;flex-shrink:0}.search-field .icon{width:16px;height:16px}.search-field input{width:100%;padding:9px 0;background:none;border:0;min-width:0;font-size:13px;color:#e7eff4}.search-field:focus-within{border-color:var(--accent)}.search-field input:focus{box-shadow:none}.table-wrap{width:100%;overflow-x:auto}.ledger-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.ledger-table th{background:#17232c;color:#9db0bd;font-size:12px;font-weight:500;padding:13px 17px;white-space:nowrap}.ledger-table th:first-child,.ledger-table td:first-child{padding-left:23px}.ledger-table th:last-child,.ledger-table td:last-child{padding-right:18px}.ledger-table td{padding:15px 17px;border-top:1px solid #26343d;vertical-align:middle}.ledger-table tbody tr:hover{background:#1b2a34}.ledger-table th .sort-button{color:inherit;font:inherit;background:none;border:0;padding:0;display:flex;align-items:center;gap:7px}.ledger-table .number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.date-cell{white-space:nowrap;color:#c3cfd7;font-size:13px}.date-cell small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.description-cell{min-width:190px}.description-cell>.type-mark{float:left;margin-right:12px}.description-cell>div{display:flow-root}.description-cell strong{display:block;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.description-cell small{display:block;margin-top:3px;font-size:12px;color:#8da2af;line-height:1.4}.type-mark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#a7bbca;background:#21313e;flex-shrink:0}.type-mark .icon{height:16px;width:16px}.type-payment{background:#1d3831;color:var(--accent)}.type-payment .icon{transform:rotate(90deg)}.type-interest{background:#283040;color:#b2bdd7}.running-cell{color:#c3d1da;font-size:13px}.row-actions{white-space:nowrap;text-align:right;width:99px}.row-actions .icon{width:17px;height:17px}.mobile-label{display:none}.ledger-footer{padding:16px 22px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);font-size:12px;color:var(--muted);gap:12px}.ledger-footer .text-button{font-size:13px}.empty-state{text-align:center;padding:50px 20px;color:var(--muted)}.empty-state>.icon{width:28px;height:28px;margin-bottom:12px}.empty-state h3{font-size:17px;color:#e1eaf0;font-weight:550;margin-bottom:8px}.empty-state p{font-size:14px;line-height:1.7;max-width:500px;margin:0 auto 12px}.notice{padding:12px 16px;font-size:14px;line-height:1.5;background:#23342f;border:1px solid #3b574b;border-radius:8px;margin-bottom:16px}.app-footer{padding:27px 0 35px;display:flex;justify-content:space-between;gap:16px;color:#7f94a2;font-size:12px;line-height:1.6}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>span:first-child{font-size:14px;font-weight:550;color:#d7e3eb;line-height:1.4}.field small{font-size:12px;font-weight:400;color:#859cab;margin-left:5px}.field input,.field select{width:100%;min-width:0;min-height:46px;background:#111d26;border:1px solid #405562;border-radius:8px;padding:11px 13px;color:#eef4f8;font-size:16px;line-height:1.4}.field select{padding-right:8px}.field input::-moz-placeholder{color:#718d9e}.field input::placeholder{color:#718d9e}.field input[type=date]{color-scheme:dark}.field input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.85;padding:2px;width:20px;height:20px}.field input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.field-hint{font-size:12px;line-height:1.6;color:#91a7b6;font-weight:400}.input-unit{position:relative;width:100%}.input-unit input{padding-right:56px}.input-unit>span{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:13px;color:#91a7b6;pointer-events:none}.form-body{display:flex;flex-direction:column;gap:22px;padding:26px 28px;margin:0;border:0;min-width:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.form-grid .text-button{font-size:12px;align-self:flex-start}.app-dialog{padding:0;background:#1a2731;color:#e6eff5;border:1px solid #425563;border-radius:17px;width:580px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);margin:auto;box-shadow:0 24px 100px #0008;overflow-y:auto}.app-dialog::backdrop{background:#050b11b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px 22px;border-bottom:1px solid #344652}.dialog-header h2{font-size:24px;font-weight:600;letter-spacing:-.5px;line-height:1.3}.dialog-header p{margin-top:8px;font-size:14px;line-height:1.6;color:#a6bac7}.dialog-header .icon-button{margin-right:-7px;margin-top:-5px;flex-shrink:0}.dialog-actions{border-top:1px solid #344652;display:flex;justify-content:flex-end;gap:10px;padding:20px 28px;background:#17232c;border-radius:0 0 17px 17px}.form-error{background:#f59a9f12;border:1px solid #a65f6366;color:#ffc1c4;border-radius:8px;padding:12px 14px;font-size:14px;line-height:1.6}.form-details{border-top:1px solid #344652;padding-top:18px}.form-details>summary{cursor:pointer;color:#9eb5c3;font-size:13px;width:-moz-fit-content;width:fit-content}.form-details .field{margin-top:15px;max-width:240px}.checkbox-field{display:flex;align-items:center;gap:10px;font-size:13px;color:#bbccd6;margin-top:16px}.checkbox-field input{accent-color:var(--accent);width:17px;height:17px}.settings-note{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;color:#a6bac7;padding-top:5px}.settings-note .icon{width:17px;height:17px;margin-top:2px}.note-box{padding:12px 15px;border:1px solid #405563;border-radius:8px;background:#22333f;font-size:13px}.delete-summary{padding:18px;border:1px solid #405563;border-radius:9px;background:#14212b;display:flex;flex-direction:column;gap:8px}.delete-summary span{font-size:14px;color:var(--muted)}.error-panel,.loading-panel{padding:40px;border:1px solid var(--border);background:var(--surface);border-radius:14px;line-height:1.7}.error-panel h2{font-size:20px}.error-panel p{margin:8px 0 18px;color:var(--muted)}.toast-message{position:fixed;bottom:28px;left:50%;transform:translate(-50%);z-index:20;max-width:calc(100vw - 32px);padding:12px 12px 12px 18px;display:flex;align-items:center;gap:11px;background:#263e35;color:#eafff5;border:1px solid #527d67;border-radius:12px;box-shadow:0 8px 35px #0006;font-size:14px}.toast-message>.icon{color:var(--accent);width:18px;height:18px}.toast-message .icon-button{color:#c3ddce;flex-shrink:0}@media(min-width:1400px){.balance-amount{font-size:44px}}@media(max-width:1000px){.app-shell{padding:0 25px}.balance-card{padding:23px}.overview{grid-template-columns:1.1fr 1fr}.metric-card{padding:18px;gap:12px}.metric-icon{display:none}.ledger-table td,.ledger-table th{padding:14px 12px}.description-cell>.type-mark{display:none}.ledger-table{font-size:13px}}@media(max-width:760px){.app-shell{padding:0 20px}.app-header{height:82px}.header-actions{gap:12px}.local-label{display:none}.page-heading{align-items:center;padding-top:26px;gap:16px}.page-heading h1{font-size:25px}.date-control .field{width:156px}.overview{grid-template-columns:1fr}.overview-side{grid-template-columns:1fr 1fr}.metric-card{align-items:flex-start;min-width:0}.metric-card strong{font-size:21px}.balance-card{min-height:217px}.balance-amount{font-size:38px}.section-heading{align-items:flex-start;flex-direction:column;gap:17px}.booking-actions{width:100%}.booking-actions .button-primary{flex:1;order:-1}.ledger-tools{align-items:stretch;flex-direction:column;padding:14px}.filter-tabs button{flex:1;padding:8px}.search-field{width:100%}.app-footer{font-size:12px}.app-footer span:last-child{text-align:right}.description-cell{min-width:0}}@media(max-width:600px){.app-shell{padding:0 16px}.brand{font-size:21px}.settings-button{padding:9px 12px;font-size:13px}.settings-button .icon{height:18px;width:18px}.page-heading{align-items:flex-start;flex-direction:column;gap:19px;padding-bottom:21px}.page-heading h1{font-size:28px}.date-control{width:100%;align-items:center}.date-control .field{flex-direction:row;align-items:center;width:auto;gap:13px}.date-control .field>span{white-space:nowrap;font-size:13px}.date-control input{max-width:178px}.date-control .text-button{margin:0}.balance-card{padding:22px;min-height:220px;border-radius:13px}.balance-top{align-items:flex-start;gap:9px;flex-direction:column}.balance-amount{font-size:34px;margin-top:20px}.balance-caption{font-size:12px}.balance-bottom{margin-top:18px;line-height:1.7;font-size:12px}.balance-separator{display:none}.balance-bottom>span:last-child{display:block;width:100%}.overview-side{gap:10px}.metric-card{padding:17px 14px;gap:0;border-radius:11px}.metric-card strong{font-size:20px}.metric-card h2{font-size:12px;line-height:1.5}.metric-card p{font-size:12px}.bookings-section{margin-top:27px}.section-heading p{font-size:13px}.booking-actions{gap:8px}.booking-actions .button{font-size:13px;padding:11px 12px}.booking-actions .button-secondary{font-weight:500}.ledger-table thead{display:none}.ledger-table,.ledger-table tbody,.ledger-table tr,.ledger-table td{display:block;width:100%}.ledger-table tr{display:grid;grid-template-columns:1fr auto;grid-template-areas:"date actions" "desc desc" "amount amount" "running running";padding:16px 18px;border-top:1px solid var(--border);gap:10px 8px}.ledger-table td,.ledger-table td:first-child,.ledger-table td:last-child{border:0;padding:0;text-align:left}.ledger-table td.date-cell{grid-area:date;align-self:center;font-size:12px}.ledger-table td.row-actions{grid-area:actions;text-align:right;width:auto;display:flex;margin:-5px -6px -3px 0}.ledger-table td.description-cell{grid-area:desc;padding-bottom:7px}.description-cell>.type-mark{display:inline-grid}.ledger-table td.amount-cell{grid-area:amount;display:flex;justify-content:space-between;gap:10px;font-size:14px}.ledger-table td.running-cell{grid-area:running;display:flex;justify-content:space-between;gap:10px;font-size:13px}.mobile-label{display:inline;color:#97afbe;font-size:12px}.ledger-footer{padding:15px;flex-wrap:wrap}.app-footer{flex-direction:column;gap:4px;padding:22px 0}.app-footer span:last-child{text-align:left}.app-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:14px}.dialog-header{padding:22px 20px 19px}.dialog-header h2{font-size:22px}.dialog-header p{font-size:13px}.form-body{padding:23px 20px;gap:21px}.form-grid{grid-template-columns:1fr;gap:21px}.dialog-actions{padding:18px 20px;gap:8px;flex-wrap:wrap}.dialog-actions .button{font-size:13px;flex-grow:1}.field input,.field select{min-height:48px}.toast-message{bottom:17px;font-size:13px;width:calc(100vw - 32px)}.error-panel,.loading-panel{padding:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.setup-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding:21px 24px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.setup-panel h2{font-size:18px;font-weight:600}.setup-panel p{max-width:66ch;margin-top:6px;color:var(--muted);font-size:14px;line-height:1.5}@media(max-width:700px){.setup-panel{flex-direction:column;align-items:flex-start;gap:14px}}.account-shell{display:flex;min-height:100svh;flex-direction:column}.account-header{flex-shrink:0}.brand-mark{display:block;width:44px;height:44px;flex:none}.brand-wordmark{color:#f0f6f4;font-size:26px;font-weight:650;line-height:1.1;letter-spacing:-.055em;white-space:nowrap}.brand-wordmark span{color:var(--accent);font-weight:520}.account-brand-detail,.account-intro>p,.account-panel>p,.credit-example>p{color:var(--muted)}.account-brand-detail{font-size:14px}.account-layout{display:grid;flex:1;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:clamp(40px,7vw,108px);align-content:center;align-items:start;padding:clamp(40px,7vw,96px) 0}.account-intro h1{max-width:15ch;color:#f1f7f5;font-size:clamp(36px,4.2vw,62px);font-weight:640;letter-spacing:-.055em;line-height:1.07;text-wrap:balance}.account-intro>p{margin:20px 0 30px;max-width:51ch;font-size:16px;line-height:1.65}.credit-example{max-width:470px;margin:0;padding:21px 24px;border:1px solid #355448;border-radius:13px;background:linear-gradient(110deg,#1c332b,#19292b);font-size:14px}.credit-example figcaption{color:#d5eee3;font-weight:600}.credit-example>p{margin:4px 0 18px;font-size:12px}.credit-example dl{display:grid;gap:6px;margin:0}.credit-example dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;color:#b7c9c0;line-height:1.5}.credit-example dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.credit-example .example-total{margin-top:8px;padding-top:12px;border-top:1px solid #40584e;color:#e2f7ec;font-weight:600}.example-total dd{font-size:19px}.credit-method{max-width:51ch;margin-top:18px;color:var(--muted);font-size:14px;line-height:1.65}.credit-method summary{width:-moz-fit-content;width:fit-content;color:var(--accent);cursor:pointer;font-weight:550}.credit-method p{margin-top:10px}.account-panel{min-width:0;padding:clamp(24px,3vw,38px);border:1px solid var(--border);border-radius:16px;background:var(--surface)}.account-panel h2{font-size:clamp(23px,2vw,31px);line-height:1.18;font-weight:620;letter-spacing:-.035em}.account-panel>p,.privacy-page p,.privacy-page address{margin-top:10px;font-size:14px;line-height:1.65}.account-fields{display:grid;gap:17px;min-width:0;margin:25px 0 0;padding:0;border:none}.account-fields .account-recover{justify-self:start;margin-top:-8px;font-size:13px}.account-fields .field small{margin:0}.account-switch{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px;border-top:1px solid var(--border);margin-top:22px;padding-top:14px;color:var(--muted);font-size:14px}.recovery-key{width:100%;min-height:72px;padding:12px;border:1px solid #527a69;border-radius:7px;background:#12251e;color:#b9f4d9;font:15px/1.5 ui-monospace,monospace;overflow-wrap:anywhere;resize:vertical}.recovery-key:focus{outline:2px solid var(--accent);outline-offset:2px}.account-fields .key-check{align-items:flex-start;margin:0;line-height:1.5}.key-check input{flex-shrink:0;margin-top:2px}.account-footer{align-items:baseline;border-top:1px solid var(--border)}.account-footer .text-button{font-size:12px}.privacy-page{max-width:72ch;margin:0 auto;padding:clamp(24px,5vw,64px) 0}.privacy-page h1{font-size:clamp(28px,5vw,42px);line-height:1.2}.privacy-page h2{margin-top:1.6em;font-size:20px;font-weight:600}.privacy-page p,.privacy-page address{color:#bacbd6}.privacy-page address{white-space:pre-line;overflow-wrap:anywhere;font-style:normal}.privacy-page a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.privacy-page>a{margin-top:2em}.account-delete-link{align-self:flex-start;color:#f6adae}@media(max-width:760px){.brand{gap:8px}.brand-mark{width:35px;height:35px}.brand-wordmark{font-size:21px}.account-layout{grid-template-columns:1fr;gap:24px;padding:32px 0}.account-intro h1{max-width:19ch;font-size:clamp(32px,7vw,44px)}.account-intro>p{margin:12px 0 0;font-size:15px}.credit-example{margin-top:16px;padding:14px 17px}.account-panel{padding:24px 20px}.account-brand-detail{max-width:17ch;font-size:12px;text-align:right}.account-button{padding:9px 12px;font-size:13px}.app-header:has(.account-button) .settings-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}@media(max-width:380px){.app-header{gap:6px}.app-header .header-actions{gap:5px}.header-actions .account-button{padding-inline:8px;font-size:12px}.brand{gap:6px}.brand-mark{width:30px;height:30px}.brand-wordmark{font-size:19px}.account-brand-detail{max-width:15ch}}
