/*! tailwindcss v4.3.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-border-style:solid}}}@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;--animate-spin:spin 1s linear infinite;--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{.static{position:static}.block{display:block}.grid{display:grid}.list-item{display:list-item}.animate-spin{animation:var(--animate-spin)}.border{border-style:var(--tw-border-style);border-width:1px}}:root{--background:#f5f8f6;--foreground:#16322b;--card:#fff;--card-foreground:#16322b;--primary:#176b55;--primary-foreground:#fff;--primary-strong:#249678;--secondary:#e7f2ed;--secondary-foreground:#15503f;--muted:#eef3f0;--muted-foreground:#667870;--accent:#f7c75d;--accent-foreground:#3b2a00;--border:#dce7e1;--destructive:#b73535;--destructive-foreground:#fff;--ring:#176b55;--positive:#16815f;--negative:#b73535;--surface-shadow:#1f463808;--overlay:#0a1e1880;--shadow:0 12px 30px #1f46381c}:root[data-theme=dark]{--background:#10231e;--foreground:#eff8f3;--card:#17332b;--card-foreground:#eff8f3;--primary:#71d1ac;--primary-foreground:#10231e;--primary-strong:#4fb991;--secondary:#21463b;--secondary-foreground:#d9f5e7;--muted:#203e35;--muted-foreground:#a8bcb3;--accent:#f7c75d;--accent-foreground:#3b2a00;--border:#31584b;--destructive:#ef8080;--destructive-foreground:#411313;--ring:#71d1ac;--positive:#73d9b1;--negative:#ff9c9c;--surface-shadow:#00000026;--overlay:#0000008c;--shadow:0 12px 30px #00000038}*{box-sizing:border-box}html{background:var(--background)}body{background:var(--background);min-width:320px;color:var(--foreground);margin:0;font-family:ui-rounded,Noto Sans Arabic,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--ring);outline-offset:2px}.app-shell{max-width:700px;min-height:100dvh;padding:calc(14px + env(safe-area-inset-top)) 16px calc(94px + env(safe-area-inset-bottom));margin:0 auto}.topbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.brand{letter-spacing:-.03em;align-items:center;gap:10px;font-size:20px;font-weight:800;display:flex}.brand-mark{background:var(--primary);width:38px;height:38px;color:var(--primary-foreground);box-shadow:var(--shadow);border-radius:13px;place-items:center;display:grid}.header-actions{align-items:center;gap:8px;display:flex}.icon-button,.small-button{border:1px solid var(--border);background:var(--card);color:var(--foreground);border-radius:13px;place-items:center;min-width:42px;height:42px;transition:all .18s;display:grid}.icon-button:hover,.small-button:hover,.card-action:hover{box-shadow:var(--shadow);background:var(--secondary);transform:translateY(-2px)}.lang-select{border:1px solid var(--border);background:var(--card);height:42px;color:var(--foreground);border-radius:13px;padding:0 9px}.page-heading{margin:2px 0 18px}.page-heading h1{letter-spacing:-.04em;margin:0;font-size:28px;line-height:1.2}.page-heading p{color:var(--muted-foreground);margin:7px 0 0;font-size:14px}.grid{gap:12px;display:grid}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--card);color:var(--card-foreground);border:1px solid var(--border);box-shadow:0 2px 8px var(--surface-shadow);border-radius:22px;padding:16px}.hero-card{color:var(--primary-foreground);background:linear-gradient(135deg, var(--primary), var(--primary-strong));box-shadow:var(--shadow);border:0;padding:20px}.hero-card .eyebrow,.eyebrow{color:inherit;opacity:.8;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:11px;font-weight:800}.hero-amount{letter-spacing:-.05em;font-size:31px;font-weight:850}.hero-foot{opacity:.92;justify-content:space-between;margin-top:14px;font-size:13px;display:flex}.metric-label{color:var(--muted-foreground);font-size:12px;font-weight:700}.metric-value{letter-spacing:-.03em;margin-top:6px;font-size:18px;font-weight:800}.metric-positive{color:var(--positive)}.metric-negative{color:var(--negative)}.section-head{justify-content:space-between;align-items:center;gap:12px;margin:24px 2px 10px;display:flex}.section-head h2{letter-spacing:-.02em;margin:0;font-size:17px}.text-link{color:var(--primary);background:0 0;border:0;padding:6px;font-size:13px;font-weight:800}.quick-grid{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.quick-button{background:var(--card);min-height:86px;color:var(--foreground);border:1px solid var(--border);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:10px 6px;font-size:12px;font-weight:750;transition:all .18s;display:flex}.quick-button:hover{background:var(--secondary);box-shadow:var(--shadow);transform:translateY(-2px)}.quick-icon{color:var(--primary)}.bottom-nav{z-index:5;width:min(700px,100%);padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:var(--card);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}@supports (color:color-mix(in lab, red, red)){.bottom-nav{background:color-mix(in srgb, var(--card) 94%, transparent)}}.bottom-nav{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--border)}.nav-button{color:var(--muted-foreground);background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:55px;font-size:10px;font-weight:750;display:flex}.nav-button.active{color:var(--primary);background:var(--secondary)}.form-grid{gap:12px;display:grid}.field{gap:6px;display:grid}.field label{font-size:13px;font-weight:750}.field input,.field select,.field textarea{border:1px solid var(--border);background:var(--card);width:100%;min-height:46px;color:var(--foreground);border-radius:13px;padding:10px 12px}.field textarea{resize:vertical;min-height:80px}.error-text{color:var(--destructive);margin:0;font-size:12px}.primary-button,.secondary-button,.danger-button{border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 16px;font-weight:800;transition:all .18s;display:inline-flex}.primary-button{background:var(--primary);color:var(--primary-foreground)}.secondary-button{background:var(--secondary);color:var(--secondary-foreground)}.danger-button{background:var(--destructive);color:var(--destructive-foreground)}.primary-button:hover,.secondary-button:hover,.danger-button:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.primary-button:active,.secondary-button:active,.danger-button:active{transform:scale(.98)}.row{align-items:center;gap:10px;display:flex}.between{justify-content:space-between}.muted{color:var(--muted-foreground)}.tiny{font-size:12px}.divider{background:var(--border);height:1px;margin:14px 0}.progress{background:var(--muted);border-radius:999px;height:9px;overflow:hidden}.progress>span{border-radius:inherit;background:var(--accent);height:100%;display:block}.tablist{scrollbar-width:none;gap:7px;padding-bottom:3px;display:flex;overflow:auto}.tab{border:1px solid var(--border);background:var(--card);min-height:37px;color:var(--muted-foreground);border-radius:999px;flex:none;padding:0 13px;font-size:12px;font-weight:800}.tab.active{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.result-card{background:var(--secondary);border:1px solid var(--border);border-radius:16px;margin-top:12px;padding:14px}.result-card strong{color:var(--primary);letter-spacing:-.03em;font-size:23px;display:block}.currency-swap{align-self:end;min-width:46px}.rate-badge{color:var(--secondary-foreground);background:var(--secondary);border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;font-weight:800;display:inline-flex}.list-item{border-bottom:1px solid var(--border);padding:13px 0}.list-item:last-child{border-bottom:0}.category-dot{background:var(--secondary);width:38px;height:38px;color:var(--primary);border-radius:13px;flex:none;place-items:center;display:grid}.item-main{flex:1;min-width:0}.item-title{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:14px;font-weight:800;overflow:hidden}.item-sub{color:var(--muted-foreground);margin:3px 0 0;font-size:12px}.item-amount{font-size:14px;font-weight:850}.row-actions{gap:5px;display:flex}.row-actions button{width:34px;height:34px;color:var(--muted-foreground);background:0 0;border:0;border-radius:10px;place-items:center;display:grid}.row-actions button:hover{background:var(--muted);color:var(--foreground)}.empty{text-align:center;padding:28px 16px}.empty-icon{background:var(--muted);width:48px;height:48px;color:var(--muted-foreground);border-radius:50%;place-items:center;margin:0 auto 10px;display:grid}.empty h3{margin:0;font-size:16px}.empty p{max-width:290px;color:var(--muted-foreground);margin:7px auto 14px;font-size:13px}.chat{gap:10px;min-height:340px;max-height:calc(100dvh - 285px);padding:2px;display:grid;overflow:auto}.message{white-space:pre-wrap;border-radius:18px;max-width:88%;padding:12px;font-size:14px;line-height:1.55}.message.user{background:var(--primary);color:var(--primary-foreground);border-bottom-left-radius:5px;justify-self:end}.message.ai{background:var(--card);color:var(--card-foreground);border:1px solid var(--border);border-bottom-right-radius:5px;justify-self:start}.message-tools{justify-content:flex-end;margin-top:8px;display:flex}.copy-button{color:var(--muted-foreground);background:0 0;border:0;align-items:center;gap:4px;padding:2px;font-size:11px;display:inline-flex}.chat-form{background:var(--background);gap:8px;padding-top:10px;display:flex;position:sticky;bottom:0}.chat-form input{border:1px solid var(--border);background:var(--card);min-width:0;height:48px;color:var(--foreground);border-radius:14px;flex:1;padding:0 13px}.send-button{background:var(--primary);width:50px;height:48px;color:var(--primary-foreground);border:0;border-radius:14px;place-items:center;display:grid}.chart-row{grid-template-columns:100px 1fr auto;align-items:center;gap:8px;margin:11px 0;font-size:12px;display:grid}.bar{background:var(--muted);border-radius:999px;height:9px;overflow:hidden}.bar span{background:var(--primary);border-radius:999px;height:100%;display:block}.notice{border:1px solid var(--border);background:var(--muted);color:var(--muted-foreground);border-radius:15px;padding:11px 12px;font-size:12px;line-height:1.5}.modal-backdrop{z-index:10;background:var(--overlay);place-items:end center;padding:16px;display:grid;position:fixed;inset:0}.dialog{border:1px solid var(--border);background:var(--card);width:min(700px,100%);max-height:86dvh;color:var(--card-foreground);box-shadow:var(--shadow);border-radius:24px;padding:18px;animation:.18s up;overflow:auto}.dialog h2{margin:0 0 6px;font-size:20px}.dialog p{color:var(--muted-foreground);font-size:14px;line-height:1.5}.dialog-footer{gap:9px;margin-top:18px;display:flex}.dialog-footer>*{flex:1}@keyframes up{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}.toast{z-index:20;max-width:668px;box-shadow:var(--shadow);background:var(--card);color:var(--card-foreground);border:1px solid var(--border);inset-inline:16px;border-radius:14px;margin:auto;padding:12px 14px;font-size:13px;font-weight:750;position:fixed;bottom:92px}.toast.success{border-color:var(--positive)}.toast.error{border-color:var(--destructive)}@media (width>=560px){.app-shell{padding-inline:24px}.quick-grid{grid-template-columns:repeat(6,1fr)}.form-grid.two-col{grid-template-columns:repeat(2,1fr)}.modal-backdrop{place-items:center}.dialog{max-width:520px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}
