:root{font-family:"DM Sans","Cairo",sans-serif;color:#252238;background:#f8f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#f8f7fb;--surface:#fff;--surface-2:#f6f4fa;--surface-3:#f0edf7;--ink:#252238;--muted:#817e91;--line:#ece9f2;--purple:#7651dc;--purple-2:#8e6ee8;--purple-soft:#f0ebff;--sidebar:#fff;--green:#16845c;--green-bg:#e8f6ef;--red:#c64756;--red-bg:#fff0f1;--amber:#a86b14;--amber-bg:#fff6e7;--shadow:0 18px 60px rgba(44,30,79,.10);--card-shadow:0 5px 18px rgba(53,39,86,.04);font-optical-sizing:auto}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5}body[data-theme=dark]{color-scheme:dark;--bg:#17151e;--surface:#211e2a;--surface-2:#2a2635;--surface-3:#332e41;--ink:#f0edf7;--muted:#aaa5b7;--line:#393446;--purple:#ae95ff;--purple-2:#c0aeff;--purple-soft:#362d4e;--sidebar:#211e2a;--green:#6ed7a8;--green-bg:#183b30;--red:#ff8995;--red-bg:#41252c;--amber:#f5c77b;--amber-bg:#443521;--shadow:0 18px 60px rgba(0,0,0,.35);--card-shadow:0 5px 20px rgba(0,0,0,.16)}button,input,select{font:inherit}button{color:inherit}.app-frame{min-height:100vh}.sidebar{position:fixed;z-index:20;inset-block:0;inset-inline-start:0;inset-inline-end:auto;width:248px;padding:25px 16px 16px;background:var(--sidebar);border-inline-end:1px solid var(--line);display:flex;flex-direction:column;transition:transform .25s,width .2s}.brand{display:flex;align-items:center;gap:10px;padding:0 12px 32px;text-decoration:none;color:var(--ink)}.brand-mark{height:33px;width:33px;border-radius:11px;background:linear-gradient(145deg,#8c65ed,#7047d1);color:white;display:inline-grid;place-items:center;font-size:25px;font-weight:800;font-family:"DM Sans",sans-serif;box-shadow:0 5px 12px #7651dc38}.brand-name{font-weight:800;letter-spacing:-.8px;font-size:20px}.brand-dot{color:var(--purple)}.workspace-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.25px;color:#aaa5b6}.workspace-label{padding:0 13px 10px}.side-nav{display:grid;gap:5px}.nav-item{width:100%;height:44px;border:0;border-radius:11px;background:transparent;display:flex;align-items:center;gap:12px;padding:0 13px;color:var(--muted);font-weight:600;text-align:start;cursor:pointer;transition:.18s}.nav-item:hover{background:var(--surface-2);color:var(--ink)}.nav-item.active{background:var(--purple-soft);color:var(--purple);font-weight:700}.nav-icon{width:18px;font-size:17px;text-align:center}.nav-count{margin-inline-start:auto;background:var(--surface-3);border-radius:10px;padding:1px 8px;font-size:11px}.sidebar-bottom{margin-top:auto}.help-card{position:relative;overflow:hidden;margin:0 1px 17px;padding:17px 15px;background:linear-gradient(140deg,#f4efff,#faf8ff);border:1px solid #eee7ff;border-radius:14px;color:#473c67}.help-spark{color:#8c67e8;font-size:20px}.help-title{font-size:13px;font-weight:700;margin-top:5px}.help-copy{font-size:11px;color:#89819c;margin-top:3px}.text-button{border:0;background:none;padding:0;color:var(--purple);font-size:12px;font-weight:700;cursor:pointer}.help-card .text-button{margin-top:12px}.sidebar-bottom>.nav-item{margin-bottom:9px}.profile-row{width:100%;border:0;border-top:1px solid var(--line);background:none;padding:15px 5px 2px;display:flex;align-items:center;gap:10px;text-align:start;cursor:pointer}.avatar,.top-avatar{display:grid;place-items:center;background:#ede8fb;color:#714fd0;font-weight:700;border-radius:50%;width:34px;height:34px;flex:none}.profile-meta{display:flex;flex-direction:column;min-width:0}.profile-meta strong{font-size:12px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-meta small{font-size:10px;color:var(--muted);margin-top:2px}.more{margin-inline-start:auto;font-size:19px;color:var(--muted)}.main-shell{margin-inline-start:248px;min-height:100vh}.topbar{height:72px;padding:0 40px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:10px;font-weight:700;letter-spacing:.8px;color:#aaa5b6}.crumb-slash{font-size:16px;color:#d8d4e0}.breadcrumb strong{font-size:13px;letter-spacing:0;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:12px}.search-box{height:36px;width:210px;border:1px solid var(--line);border-radius:10px;background:var(--bg);display:flex;align-items:center;gap:7px;padding:0 11px;color:#aaa5b6}.search-box span{font-size:20px}.search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px}.search-box input::placeholder{color:#aaa5b6}.icon-button{height:36px;min-width:36px;padding:0 9px;border:1px solid var(--line);border-radius:10px;background:var(--surface);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;color:var(--muted);transition:.15s}.icon-button:hover{border-color:#c9b9f5;color:var(--purple)}.lang-button{font-size:12px;font-weight:700;color:var(--purple)}.notification-button{position:relative}.notification-button i{position:absolute;width:6px;height:6px;background:#f29a8b;border:1px solid white;border-radius:50%;top:7px;inset-inline-end:7px}.top-avatar{border:0;width:34px;height:34px;cursor:pointer}.mobile-menu{display:inline-flex}.page-content{width:min(1280px,100%);margin:auto;padding:32px 40px 54px}.welcome-row,.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.welcome-row h1,.page-title-row h1{font-size:25px;line-height:1.25;letter-spacing:-.7px;margin:7px 0 3px;font-weight:700}.welcome-row h1 span{color:var(--purple)}.welcome-row h1 b{font-size:16px;color:#f3b45a}.welcome-row p,.page-title-row p{margin:0;color:var(--muted);font-size:12px}.button{min-height:39px;display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:0 15px;font-size:12px;font-weight:700;cursor:pointer;transition:transform .12s,box-shadow .15s,background .15s;text-decoration:none}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--purple);color:white;box-shadow:0 5px 12px #7651dc2a}.button-primary:hover{background:#6841cd;box-shadow:0 7px 17px #7651dc38}.button-primary span{font-size:17px;font-weight:400}.button-secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.button-secondary:hover,.button-quiet:hover{border-color:#c9b9f5;color:var(--purple)}.button-quiet{background:transparent;border-color:var(--line);color:var(--muted)}.button-light{background:white;color:#7051c5;border-color:#ffffffa8}.button-voice{background:var(--purple-soft);color:var(--purple);min-height:35px;padding:0 12px}.button-voice>span:first-child{font-size:8px}.button-voice.recording{background:var(--red-bg);color:var(--red)}.record-pulse{animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.25}}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}.summary-card{position:relative;overflow:hidden;min-height:131px;border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:17px 18px;box-shadow:var(--card-shadow)}.summary-card.summary-purple{background:linear-gradient(130deg,#7550dc,#8e6be8);border-color:#7d58e3;color:white}.summary-label{position:relative;z-index:1;font-size:11px;color:var(--muted);font-weight:600;display:flex;justify-content:space-between;align-items:center}.summary-purple .summary-label,.summary-purple small{color:#e4dcff}.summary-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--surface-2);color:var(--purple);font-size:13px}.green-icon{color:var(--green)}.lavender-icon{color:#9a7de6}.peach-icon{color:#d68867}.summary-card>strong{position:relative;z-index:1;display:block;margin:12px 0 2px;font-size:24px;letter-spacing:-.6px;font-weight:700}.summary-card small{position:relative;z-index:1;font-size:10px;color:var(--muted)}.summary-decoration{position:absolute;inset-inline-end:14px;bottom:-32px;font-size:100px;color:#ffffff12;transform:rotate(-14deg)}.panel{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:18px 19px;box-shadow:var(--card-shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h3,.panel h3{margin:0;font-size:13px;letter-spacing:-.15px}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:10px}.chart-panel{margin-bottom:15px}.legend-chip,.chart-period{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.legend-chip i{width:7px;height:7px;border-radius:50%;background:var(--purple)}.currency-chart{display:flex;gap:19px;min-height:160px;padding:20px 7px 0}.chart-currency{min-width:116px;flex:1;display:flex;flex-direction:column;align-items:center}.chart-value{font-size:11px;font-weight:700;color:var(--green)}.chart-value.negative{color:var(--red)}.bar-well{height:100px;width:min(52px,60%);margin-top:9px;display:flex;align-items:flex-end;justify-content:center;background:var(--surface-2);border-radius:9px 9px 3px 3px;overflow:hidden}.chart-bar{width:100%;min-height:10px;background:linear-gradient(180deg,#a58af2,#7451db);border-radius:8px 8px 2px 2px}.chart-bar.bar-loss{background:linear-gradient(180deg,#ed9aa0,#ce5965)}.chart-currency>strong{font-size:10px;margin-top:6px}.chart-currency>small{font-size:9px;color:var(--muted)}.chart-empty{height:130px;display:grid;place-content:center;text-align:center;color:var(--muted)}.chart-empty span{font-size:30px;color:#c4b2f7}.chart-empty p{font-size:11px;margin:4px}.products-panel,.activity-panel{margin-bottom:15px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:16px}.product-card{position:relative;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:14px 14px 12px;cursor:pointer;box-shadow:var(--card-shadow);transition:transform .16s,border-color .16s,box-shadow .16s;outline:none}.product-card:hover,.product-card:focus-visible{transform:translateY(-2px);border-color:#c8b6f4;box-shadow:0 9px 23px #39227512}.product-card-compact{padding:12px}.card-topline{display:flex;align-items:center;justify-content:space-between}.product-glyph{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:var(--purple-soft);color:var(--purple);font-size:15px;font-weight:700}.mini-more{height:28px;width:28px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:18px;cursor:pointer}.mini-more:hover{background:var(--surface-2)}.product-card-name{font-weight:700;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:11px}.product-card-category{font-size:10px;color:var(--muted);margin-top:2px}.product-card-price{border-top:1px solid var(--line);margin-top:13px;padding-top:11px;display:flex;justify-content:space-between;align-items:center}.product-card-price span{font-size:10px;color:var(--muted)}.product-card-price strong{font-size:12px}.product-card-bottom{border-top:1px solid var(--line);margin-top:10px;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:5px}.product-profit{font-size:11px;font-weight:700}.product-profit small{font-size:9px;font-weight:500;color:var(--muted)}.status-pill{border-radius:20px;padding:4px 8px;display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700;white-space:nowrap;background:var(--surface-2);color:var(--muted)}.status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.positive{background:var(--green-bg);color:var(--green)}.status-pill.negative{background:var(--red-bg);color:var(--red)}.status-pill.neutral{background:var(--amber-bg);color:var(--amber)}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.neutral{color:var(--amber)!important}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(235px,.85fr);gap:15px}.activity-panel{margin:0}.quick-panel{background:linear-gradient(145deg,#8058df,#6745ca);color:white;border:0;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:160px;padding:23px}.quick-panel:after{content:"";position:absolute;width:165px;height:165px;border:1px solid #ffffff20;border-radius:50%;inset:auto -54px -86px auto;box-shadow:0 0 0 19px #ffffff08,0 0 0 39px #ffffff06}.quick-panel h3{position:relative;z-index:1;font-size:15px;margin:8px 0 4px}.quick-panel p{position:relative;z-index:1;color:#e4dcff;font-size:10px;margin:0 0 16px;max-width:220px}.quick-panel .button{position:relative;z-index:1;min-height:32px;font-size:10px}.quick-icon{width:29px;height:29px;border-radius:9px;background:#ffffff21;display:grid;place-items:center;color:inherit;font-size:16px}.quick-panel .quick-icon{color:white}.history-row{display:grid;grid-template-columns:minmax(85px,.55fr) minmax(150px,1.2fr) minmax(100px,.7fr) 28px;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.history-row:last-child{border-bottom:0}.history-header{display:grid;grid-template-columns:minmax(85px,.55fr) minmax(150px,1.2fr) minmax(100px,.7fr) 28px;gap:12px;padding:0 0 8px;border-bottom:1px solid var(--line);font-size:9px;color:var(--muted);font-weight:600}.history-date{font-size:10px;color:var(--muted)}.history-product{display:flex;align-items:center;gap:9px;min-width:0}.history-glyph{height:28px;width:28px;border-radius:9px;display:grid;place-items:center;background:var(--purple-soft);color:var(--purple);font-style:normal}.history-product span{display:flex;flex-direction:column;min-width:0}.history-product strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-product small,.history-result small{font-size:9px;color:var(--muted)}.history-result{display:flex;flex-direction:column}.history-result strong{font-size:11px}.row-open{border:0;width:26px;height:26px;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer}.row-open:hover{background:var(--surface-2);color:var(--purple)}.mini-empty{padding:25px 10px;text-align:center;color:var(--muted);font-size:11px}.empty-hero{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1fr);align-items:center;min-height:306px;border:1px solid #eee8fa;border-radius:18px;background:linear-gradient(106deg,#f4f0ff 0%,#fbfaff 51%,#fff 100%);overflow:hidden;margin-bottom:16px}.empty-art{position:relative;min-height:300px;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #e6ddfa;border-radius:50%;width:235px;height:235px}.orbit-two{width:185px;height:185px;border-style:dashed;opacity:.7}.empty-calculator{position:relative;width:100px;height:129px;border-radius:17px;background:white;border:1px solid #eee9f8;box-shadow:0 18px 45px #6243a523;transform:rotate(-7deg);padding:14px;display:flex;flex-direction:column;gap:11px}.empty-calculator span{font-size:23px;color:#8464dd;border-bottom:1px solid #eee9f8;padding-bottom:4px}.empty-calculator i{display:block;width:100%;height:5px;border-radius:9px;background:#eeeaf6}.empty-calculator i:nth-of-type(2){width:70%}.empty-calculator strong{position:absolute;bottom:11px;inset-inline-end:13px;color:#1f9b70;font-size:18px}.float-dot{position:absolute;display:grid;place-items:center;border-radius:50%;box-shadow:0 7px 22px #43306a19}.float-a{width:34px;height:34px;background:#fff4d9;color:#e1a142;top:52px;inset-inline-end:28%}.float-b{width:18px;height:18px;background:#f5eafe;color:#a881db;font-size:8px;bottom:58px;inset-inline-end:27%}.empty-text{padding:25px 42px 25px 0;max-width:480px}.empty-text h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:8px 0}.empty-text p{font-size:12px;color:var(--muted);max-width:370px;margin:0 0 17px}.empty-calc{margin-inline-start:12px}.soft-panel{background:var(--surface)}.empty-products{min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 16px}.empty-icon{height:53px;width:53px;border-radius:17px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;font-size:25px;margin-bottom:13px}.empty-products h2{font-size:19px;margin:0 0 5px}.empty-products p{font-size:12px;color:var(--muted);max-width:380px;margin:0 0 17px}.title-actions{display:flex;gap:9px}.filter-row{display:flex;align-items:center;justify-content:space-between;margin:3px 0 0}.filter-caption{font-size:10px;color:var(--muted)}.select-filter{border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:var(--surface);color:var(--ink);font-size:10px}.product-grid-large{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}.calculator-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr);align-items:start;gap:16px}.calculator-panel .panel-head{margin-bottom:19px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 13px}.field{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--ink);font-size:11px;font-weight:600}.field>span{color:var(--ink)}.field input,.field select{width:100%;height:39px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);outline:none;font-size:11px;transition:border .15s,box-shadow .15s}.field input:focus,.field select:focus{border-color:#9d82e8;box-shadow:0 0 0 3px #8d69e51c}.field input::placeholder{color:#b3afbd}.field small{font-size:9px;font-weight:400;color:var(--muted)}.span-2{grid-column:span 2}.input-suffix,.currency-input{position:relative;display:flex;align-items:center}.input-suffix input{padding-inline-end:32px}.input-suffix>span{position:absolute;inset-inline-end:11px;color:var(--muted);font-size:11px}.currency-input>span{position:absolute;inset-inline-start:12px;color:var(--muted)}.currency-input input{padding-inline-start:30px}.calc-form-foot{margin-top:17px;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.calc-form-foot>span{color:var(--muted);font-size:9px}.calc-result-panel{min-height:330px;position:sticky;top:90px;padding:21px}.result-placeholder{min-height:283px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:var(--muted)}.result-placeholder>span{height:47px;width:47px;display:grid;place-items:center;background:var(--purple-soft);border-radius:15px;color:var(--purple);font-size:23px}.result-placeholder h3{margin:14px 0 4px;font-size:14px}.result-placeholder p{font-size:10px;max-width:210px}.result-card{position:relative}.result-status{display:flex;justify-content:flex-end}.result-eyebrow{display:block;margin-top:10px;font-size:10px;color:var(--muted)}.result-amount{display:block;font-size:34px;letter-spacing:-1.4px;line-height:1.15;margin:3px 0}.result-subtitle{font-size:10px;color:var(--muted)}.result-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;margin-top:19px;border-top:1px solid var(--line)}.result-detail-grid>div{display:flex;justify-content:space-between;gap:5px;padding:10px 0;border-bottom:1px solid var(--line)}.result-detail-grid span{font-size:9px;color:var(--muted)}.result-detail-grid strong{font-size:10px;text-align:end}.result-explain{font-size:9px;color:var(--muted);line-height:1.5}.dialog{border:1px solid var(--line);border-radius:18px;padding:0;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);max-height:min(92vh,920px)}.dialog::backdrop{background:#211a32a1;backdrop-filter:blur(3px)}.wizard-dialog{width:min(760px,calc(100vw - 28px))}.dialog-form{padding:23px 25px 19px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-head h2{font-size:20px;letter-spacing:-.4px;margin:3px 0 0}.close-dialog{font-size:22px;border:0;background:var(--surface-2)}.stepper{display:flex;align-items:center;justify-content:center;margin:22px 0 16px;gap:9px}.step-item{display:flex;align-items:center;gap:7px;color:#aaa5b6;font-size:10px;font-weight:600;white-space:nowrap}.step-circle{width:23px;height:23px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;background:var(--surface);font-size:9px}.step-item.current{color:var(--purple)}.step-item.current .step-circle{background:var(--purple);color:white;border-color:var(--purple);box-shadow:0 3px 8px #7651dc30}.step-item.completed{color:var(--green)}.step-item.completed .step-circle{background:var(--green-bg);border-color:var(--green-bg);color:var(--green)}.step-line{height:1px;width:38px;background:var(--line);flex:none}.voice-strip{display:flex;align-items:center;gap:11px;padding:11px 13px;background:var(--purple-soft);border-radius:12px;margin-bottom:17px}.voice-icon{width:33px;height:33px;display:grid;place-items:center;background:var(--surface);color:var(--purple);border-radius:10px;font-size:19px}.voice-copy{display:flex;flex-direction:column;flex:1;min-width:0}.voice-copy strong{font-size:10px}.voice-copy span{font-size:9px;color:var(--muted)}.voice-status{min-height:0;color:var(--purple);font-size:10px;margin:0 2px 6px}.voice-status:not(:empty){min-height:18px}.wizard-body{min-height:215px;padding:3px 0}.expense-intro{display:flex;align-items:center;gap:12px;padding:4px 0 14px}.expense-illustration{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:var(--green-bg);color:var(--green);font-size:18px}.expense-intro h3{margin:0;font-size:12px}.expense-intro p{margin:2px 0 0;font-size:9px;color:var(--muted)}.expense-row{display:grid;grid-template-columns:1.5fr 1fr 30px;align-items:end;gap:10px;margin-bottom:11px}.expense-row .field{gap:4px}.remove-expense{width:29px;height:37px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:19px;cursor:pointer}.remove-expense:hover{color:var(--red);background:var(--red-bg)}.add-expense-button{min-height:34px;font-size:10px}.expense-note{margin-top:13px;display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted)}.expense-note span{color:var(--purple)}.form-section-label{font-size:10px;font-weight:700;color:var(--purple);padding-top:4px}.pricing-note,.review-banner{display:flex;align-items:flex-start;gap:9px;background:var(--purple-soft);border-radius:10px;padding:10px;font-size:9px;color:var(--muted)}.pricing-note>span:first-child{color:var(--purple)}.dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.step-caption{font-size:9px;color:var(--muted)}.review-banner{align-items:center;margin-bottom:15px}.review-banner>span{height:22px;width:22px;display:grid;place-items:center;border-radius:50%;background:var(--green-bg);color:var(--green)}.review-banner strong{font-size:10px;color:var(--ink)}.review-banner p{margin:2px 0 0}.review-product-head{display:flex;align-items:center;gap:10px}.review-product-head>div{flex:1;display:flex;flex-direction:column}.review-product-head>div strong{font-size:12px}.review-product-head>div small{font-size:9px;color:var(--muted)}.review-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:14px}.review-metrics>div{border:1px solid var(--line);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:5px}.review-metrics span{font-size:9px;color:var(--muted)}.review-metrics strong{font-size:11px}.review-metrics .review-primary{background:var(--green-bg);border-color:transparent}.review-metrics .review-primary.negative{background:var(--red-bg)}.review-metrics .review-primary strong{font-size:15px}.detail-dialog{width:min(950px,calc(100vw - 30px));min-height:min(650px,90vh);padding:22px 25px}.detail-head{align-items:center}.detail-head-actions{display:flex;align-items:center;gap:8px}.detail-head-actions .button{min-height:34px;font-size:10px}.detail-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-top:20px;overflow:auto}.detail-tab{position:relative;border:0;background:transparent;padding:11px 2px;color:var(--muted);font-size:10px;font-weight:600;white-space:nowrap;cursor:pointer}.detail-tab.active{color:var(--purple)}.detail-tab.active:after{content:"";position:absolute;bottom:-1px;inset-inline:0;height:2px;border-radius:2px;background:var(--purple)}.detail-body{max-height:calc(90vh - 145px);overflow:auto;padding:19px 1px 5px}.detail-overview{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}.detail-product-mark{width:48px;height:48px;border-radius:14px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;font-size:19px;font-weight:700}.detail-overview>div:nth-child(2){flex:1}.detail-overview h3{font-size:15px;margin:2px 0 5px}.detail-overview .eyebrow{font-size:8px}.detail-price{display:flex;flex-direction:column;text-align:end}.detail-price span{font-size:9px;color:var(--muted)}.detail-price strong{font-size:16px}.detail-section{margin-top:18px}.detail-section h4{font-size:10px;letter-spacing:.65px;color:var(--muted);margin:0 0 11px}.detail-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.detail-metric-grid>div{border:1px solid var(--line);border-radius:10px;padding:11px;display:flex;flex-direction:column;gap:5px}.detail-metric-grid span{font-size:9px;color:var(--muted)}.detail-metric-grid strong{font-size:11px}.detail-section>.result-card{border:1px solid var(--line);border-radius:12px;padding:13px}.detail-section>.result-card .result-amount{font-size:27px}.detail-section>.result-card .result-detail-grid{margin-top:10px}.suggestion-button{margin-top:13px}.suggestion-box{border:1px solid #e6dcfb;border-radius:12px;padding:13px;margin-top:11px;background:var(--purple-soft)}.suggestion-box h4{font-size:11px;color:var(--ink);margin:0 0 9px}.suggestion-box>p,.suggestion-box>small{font-size:9px;color:var(--muted)}.suggestion-item{display:flex;gap:9px;padding:9px;background:var(--surface);border-radius:9px;margin-bottom:8px}.suggestion-item>span{color:var(--purple);font-size:16px}.suggestion-item strong{font-size:10px}.suggestion-item p,.suggestion-item small{display:block;font-size:9px;color:var(--muted);margin:3px 0}.expense-breakdown-row{display:flex;justify-content:space-between;gap:10px;padding:12px 2px;border-bottom:1px solid var(--line);font-size:10px}.expense-breakdown-row>span{color:var(--muted)}.expense-breakdown-row strong{font-size:11px}.expense-breakdown-row.total{border-top:1px solid var(--ink);border-bottom:0;margin-top:2px;padding-top:13px}.basis-tag{font-size:8px;color:var(--purple);background:var(--purple-soft);border-radius:8px;padding:2px 5px}.quiet-note{font-size:9px;color:var(--muted);line-height:1.5}.scenarios-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.scenarios-head h3{font-size:13px;margin:0}.scenarios-head p{font-size:9px;color:var(--muted);margin:3px 0}.scenario-list{overflow:auto;margin-top:15px}.scenario-table-head,.scenario-row{min-width:610px;display:grid;grid-template-columns:1.3fr 1fr .7fr 1.1fr 1.2fr 27px;gap:9px;align-items:center;padding:10px 6px}.scenario-table-head{border-bottom:1px solid var(--line);color:var(--muted);font-size:9px}.scenario-row{border-bottom:1px solid var(--line);font-size:10px}.scenario-row>strong{font-size:10px}.scenario-row button{font-size:18px}.compact-dialog{width:min(510px,calc(100vw - 26px))}.compact-dialog .dialog-form{padding:21px}.compact-dialog .form-grid{margin-top:19px}.dialog-subtitle{font-size:10px;color:var(--muted);margin:4px 0 0}.migration-choice{border:1px solid var(--line);border-radius:11px;padding:9px 11px 11px;margin:17px 0 0}.migration-choice legend{font-size:10px;font-weight:700;padding:0 5px}.migration-choice label{display:flex;align-items:flex-start;gap:8px;padding:8px 4px;cursor:pointer}.migration-choice input{accent-color:var(--purple);margin-top:3px}.migration-choice label span{display:flex;flex-direction:column;gap:2px}.migration-choice strong{font-size:10px}.migration-choice small{font-size:9px;color:var(--muted)}.auth-mode-toggle{display:block;margin:12px auto 0}.history-panel{padding:17px 19px}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:15px;align-items:start}.settings-panel{padding:5px 19px}.settings-section{min-height:82px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:14px 0}.settings-section:last-child{border-bottom:0}.settings-icon{width:33px;height:33px;border-radius:10px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;flex:none}.settings-copy{flex:1}.settings-copy h3{font-size:11px;margin:0}.settings-copy p{font-size:9px;color:var(--muted);margin:3px 0 0;max-width:490px}.segmented{display:flex;gap:3px;background:var(--surface-2);padding:3px;border-radius:9px}.segmented button{border:0;background:transparent;color:var(--muted);border-radius:7px;padding:6px 8px;font-size:9px;cursor:pointer;white-space:nowrap}.segmented button.selected{background:var(--surface);color:var(--purple);box-shadow:0 1px 3px #20143915}.settings-section>.button{min-height:32px;font-size:9px}.about-panel{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 16px}.about-panel .brand-mark{width:39px;height:39px;font-size:28px}.about-panel h3{margin:10px 0 2px;font-size:15px}.about-panel p{font-size:9px;color:var(--muted);margin:0}.about-separator{height:1px;background:var(--line);width:100%;margin:17px 0 11px}.about-panel small{font-size:8px;color:var(--muted)}.toast-region{position:fixed;z-index:60;top:82px;inset-inline-end:22px;display:grid;gap:8px}.toast{min-width:220px;max-width:min(390px,calc(100vw - 32px));padding:11px 13px;border-radius:11px;background:var(--surface);border:1px solid var(--line);box-shadow:0 9px 28px #24154420;display:flex;align-items:center;gap:9px;animation:toast-in .18s ease-out}.toast>span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:var(--green-bg);color:var(--green);font-size:10px}.toast p{font-size:10px;margin:0}.toast-error>span{background:var(--red-bg);color:var(--red)}.toast-info>span{background:var(--purple-soft);color:var(--purple)}.toast-out{opacity:0;transform:translateY(-5px);transition:.25s}@keyframes toast-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.scrim{position:fixed;inset:0;z-index:15;background:#1f1830a1;opacity:0;visibility:hidden;transition:.2s}.scrim.visible{opacity:1;visibility:visible}.shared-product-list{border:1px solid var(--line);border-radius:10px;margin-top:15px;max-height:190px;overflow:auto}.shared-select-label,.shared-existing-title{padding:8px 10px;background:var(--surface-2);font-size:9px;font-weight:700;color:var(--muted)}.shared-product-option{display:flex;align-items:center;gap:9px;padding:9px 11px;border-top:1px solid var(--line);cursor:pointer}.shared-product-option input{accent-color:var(--purple)}.shared-product-option span{display:flex;flex-direction:column}.shared-product-option strong{font-size:10px}.shared-product-option small{font-size:8px;color:var(--muted)}.shared-existing{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-top:1px solid var(--line);font-size:9px}.shared-existing small{color:var(--muted)}.shared-existing button{border:0;background:transparent;color:var(--red);cursor:pointer}.voice-populated{border-color:#aa91f0!important;background:#faf8ff!important}.target-margin{color:var(--purple)}[hidden]{display:none!important}

html[dir=rtl] body{font-family:"Cairo","DM Sans",sans-serif}html[dir=rtl] .empty-text{padding:25px 0 25px 42px}html[dir=rtl] .empty-calculator{transform:rotate(7deg)}html[dir=rtl] .stepper{flex-direction:row-reverse}html[dir=rtl] .detail-price{text-align:start}html[dir=rtl] .result-detail-grid strong{text-align:start}
@media(max-width:1120px){.sidebar{width:220px}.main-shell{margin-inline-start:220px}.topbar{padding:0 25px}.page-content{padding:27px 25px 44px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-card{padding:15px}.summary-card>strong{font-size:21px}.bottom-grid{grid-template-columns:minmax(0,1.5fr) minmax(210px,.8fr)}}
@media(max-width:850px){.sidebar{width:248px;transform:translateX(-105%);box-shadow:var(--shadow)}html[dir=rtl] .sidebar{transform:translateX(105%)}.sidebar.sidebar-open{transform:translateX(0)}html[dir=rtl] .sidebar.sidebar-open{transform:translateX(0)}.main-shell{margin:0!important}.mobile-menu{display:inline-flex}.topbar{height:64px;padding:0 18px}.breadcrumb{margin-inline-end:auto;margin-inline-start:13px}.search-box{width:170px}.page-content{padding:25px 20px 40px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-card{min-height:118px}.product-grid-large{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-layout{grid-template-columns:1fr}.calc-result-panel{position:static}.result-placeholder{min-height:190px}.bottom-grid{grid-template-columns:1fr 1fr}.settings-layout{grid-template-columns:1fr}.about-panel{display:none}}
.breadcrumb>span:first-child,.crumb-slash{display:initial}
@media(max-width:600px){.breadcrumb>span:first-child,.crumb-slash{display:none}.topbar{padding:0 12px;gap:0}.top-actions{gap:6px}.search-box{width:34px;padding:0;justify-content:center;border:0;background:transparent}.search-box input{position:absolute;opacity:0;pointer-events:none}.search-box:focus-within{position:absolute;inset-inline:55px 150px;width:auto;background:var(--surface);border:1px solid var(--line);padding:0 8px;z-index:2}.search-box:focus-within input{position:static;opacity:1;pointer-events:auto}.top-actions .notification-button{display:none}.breadcrumb{font-size:8px;gap:6px}.breadcrumb strong{font-size:11px}.page-content{padding:21px 14px 32px}.welcome-row,.page-title-row{align-items:flex-start;margin-bottom:19px}.welcome-row h1,.page-title-row h1{font-size:21px}.welcome-row p,.page-title-row p{font-size:10px;max-width:245px}.welcome-row>.button,.title-actions .button{min-height:35px;padding:0 10px;font-size:10px;white-space:nowrap}.welcome-row{gap:6px}.summary-grid{gap:9px}.summary-card{padding:13px;min-height:107px}.summary-label{font-size:9px}.summary-card>strong{font-size:19px;margin-top:10px}.summary-card small{font-size:8px}.summary-icon{width:22px;height:22px}.panel{padding:14px}.panel-head h3{font-size:12px}.panel-head p{font-size:9px}.currency-chart{gap:7px;padding-inline:0}.chart-currency{min-width:70px}.chart-value{font-size:9px}.bar-well{height:80px}.chart-currency>small{font-size:8px}.product-grid,.product-grid-large{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-card,.product-card-compact{padding:10px}.product-glyph{width:30px;height:30px}.product-card-name{font-size:11px;margin-top:8px}.product-card-category{font-size:8px}.product-card-price{margin-top:9px;padding-top:8px}.product-card-price span{font-size:8px}.product-card-price strong{font-size:10px}.product-card-bottom{margin-top:7px;padding-top:7px;align-items:flex-start;flex-direction:column}.product-profit{font-size:10px}.status-pill{font-size:8px;padding:3px 6px}.bottom-grid{grid-template-columns:1fr;gap:10px}.quick-panel{min-height:140px}.history-row,.history-header{grid-template-columns:56px minmax(90px,1fr) minmax(75px,.7fr) 24px;gap:6px}.history-date{font-size:8px}.history-product strong{font-size:9px}.history-product small{font-size:8px}.history-result strong{font-size:9px}.history-header{font-size:8px}.empty-hero{grid-template-columns:1fr;min-height:auto}.empty-art{min-height:180px}.orbit{width:150px;height:150px}.orbit-two{width:120px;height:120px}.empty-calculator{transform:scale(.77) rotate(-7deg)}html[dir=rtl] .empty-calculator{transform:scale(.77) rotate(7deg)}.float-a{top:24px;inset-inline-end:25%}.float-b{bottom:27px;inset-inline-end:25%}.empty-text{padding:0 19px 22px;text-align:center}.empty-text h2{font-size:18px}.empty-text p{font-size:10px;margin-inline:auto}.empty-calc{display:block;margin:12px auto 0}.title-actions{flex-direction:column-reverse;align-items:flex-end;gap:6px}.title-actions .button{font-size:9px}.filter-row{margin-top:6px}.calculator-panel{padding:14px}.form-grid{gap:11px 9px}.field{font-size:9px}.field input,.field select{height:36px;font-size:10px;padding-inline:8px}.calc-form-foot{align-items:flex-start;flex-direction:column}.calc-form-foot>.button{align-self:stretch}.dialog{max-height:94vh}.dialog-form{padding:17px 15px 14px}.dialog-head h2{font-size:17px}.stepper{gap:4px;margin:18px 0 13px}.step-item{gap:4px;font-size:8px}.step-circle{width:20px;height:20px;font-size:8px}.step-line{width:min(5vw,20px)}.voice-strip{gap:7px;padding:9px}.voice-icon{width:28px;height:28px}.voice-copy strong{font-size:9px}.voice-copy span{font-size:8px;line-height:1.3}.button-voice{padding:0 8px;min-height:31px;font-size:8px;white-space:nowrap}.wizard-body{min-height:220px}.expense-row{grid-template-columns:1.15fr .85fr 27px;gap:6px}.expense-row .field input{padding:0 7px}.review-metrics{grid-template-columns:repeat(2,1fr)}.detail-dialog{padding:16px 14px;width:calc(100vw - 16px)}.detail-head-actions .button{display:none}.detail-tabs{gap:13px;margin-top:15px}.detail-tab{font-size:9px}.detail-body{max-height:calc(94vh - 123px);padding-top:14px}.detail-metric-grid{grid-template-columns:repeat(2,1fr)}.detail-overview{gap:8px;padding:9px}.detail-product-mark{width:38px;height:38px}.detail-overview h3{font-size:12px}.detail-price strong{font-size:13px}.detail-overview .status-pill{display:none}.detail-section>.result-card{padding:10px}.detail-section>.result-card .result-amount{font-size:24px}.result-detail-grid{gap:0 8px}.result-detail-grid span{font-size:8px}.result-detail-grid strong{font-size:9px}.compact-dialog .dialog-form{padding:16px}.settings-panel{padding:4px 13px}.settings-section{gap:9px;flex-wrap:wrap;padding:12px 0}.settings-copy{min-width:calc(100% - 48px)}.settings-section>.button,.settings-section>.segmented{margin-inline-start:42px}.segmented button{font-size:8px}.toast-region{top:70px;inset-inline:12px}.toast{min-width:0}.history-panel{padding:12px}.detail-dialog .panel-head{align-items:flex-start}.detail-dialog .panel-head .button{padding:0 8px;font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.scenario-table-head,.scenario-row{grid-template-columns:1.3fr 1fr .7fr 1.1fr 1.2fr 54px;min-width:640px}.scenario-actions{display:flex;gap:0}.scenario-actions .row-open{font-size:14px}
.search-box{position:relative}
body{min-width:300px}
.trend-charts{display:grid;gap:14px;padding-top:18px}.trend-currency{border-bottom:1px solid var(--line);padding-bottom:10px}.trend-currency:last-child{border-bottom:0}.trend-title{display:flex;justify-content:space-between;align-items:center;font-size:10px}.trend-title span{font-size:9px;color:var(--muted)}.trend-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;height:105px;margin-top:9px}.trend-point{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.trend-value{font-size:8px;min-height:13px;white-space:nowrap;color:var(--green)}.trend-well{height:65px;width:min(35px,70%);display:flex;align-items:flex-end;background:var(--surface-2);border-radius:7px 7px 2px 2px;overflow:hidden}.trend-well i{display:block;width:100%;min-height:2px;background:linear-gradient(180deg,#a58af2,#7451db);border-radius:6px 6px 1px 1px}.trend-well i.bar-loss{background:linear-gradient(180deg,#ed9aa0,#ce5965)}.trend-point small{font-size:8px;color:var(--muted);margin-top:3px}
@media(max-width:600px){.detail-head-actions #deleteProductButton,.detail-head-actions #editProductButton{display:inline-flex;min-height:31px;padding:0 7px;font-size:8px}.search-box input{width:100%}}
@media(max-width:600px){.step-item:not(.current)>span:not(.step-circle){display:none}.step-line{width:4vw}}
.trend-well i{height:2px}.trend-well i.trend-size-0{height:2px}.trend-well i.trend-size-10{height:10%}.trend-well i.trend-size-20{height:20%}.trend-well i.trend-size-30{height:30%}.trend-well i.trend-size-40{height:40%}.trend-well i.trend-size-50{height:50%}.trend-well i.trend-size-60{height:60%}

.app-frame.sidebar-collapsed .sidebar{transform:translateX(-105%)}html[dir=rtl] .app-frame.sidebar-collapsed .sidebar{transform:translateX(105%)}.app-frame.sidebar-collapsed .main-shell{margin-inline:0}html[dir=rtl] .app-frame.sidebar-collapsed .main-shell{margin-inline:0}
@media(max-width:850px){.app-frame.sidebar-collapsed .sidebar.sidebar-open{transform:translateX(0)}}

:fullscreen .sidebar{inset-block:0;inset-inline-start:0;inset-inline-end:auto}:fullscreen .main-shell{margin-inline-start:248px}@media(max-width:1120px){:fullscreen .main-shell{margin-inline-start:220px}}@media(max-width:850px){:fullscreen .main-shell{margin-inline-start:0}}

.google-auth-button{width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;background:var(--surface);display:flex;align-items:center;justify-content:center;gap:10px;font-weight:650;cursor:pointer;transition:background .15s,border-color .15s}.google-auth-button:hover{background:var(--surface-2);border-color:#d8d1e8}.google-auth-button>span:first-child{font-family:Arial,sans-serif;font-size:17px;font-weight:800;color:#4285f4}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:10px;margin:9px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}
