@font-face{font-family:Vazirmatn Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/vazirmatn-arabic-wght-normal-Cafbb7Zc.woff2) format("woff2-variations");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Vazirmatn Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/vazirmatn-latin-ext-wght-normal-tDTa1Fj6.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Vazirmatn Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/vazirmatn-latin-wght-normal-BFexNX-K.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{box-sizing:border-box}:root{font-family:Vazirmatn Variable,Vazirmatn,Tahoma,sans-serif;color-scheme:light;--bg:#f7f7f3;--paper:#fff;--text:#202a26;--muted:#63716b;--line:#e0e5df;--accent:#126a55;--hero:#e7f1eb;--error:#b33c30}:root[data-theme=dark]{color-scheme:dark;--bg:#121815;--paper:#1b2420;--text:#e8eee9;--muted:#a6b5ac;--line:#36443b;--accent:#81d5b6;--hero:#233d32;--error:#ff9b91}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#121815;--paper:#1b2420;--text:#e8eee9;--muted:#a6b5ac;--line:#36443b;--accent:#81d5b6;--hero:#233d32;--error:#ff9b91}}body{margin:0;background:var(--bg);color:var(--text);font-size:15px;line-height:1.7}#app{max-width:740px;margin:auto;padding:20px 18px 32px}.top{display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:36px;font-weight:900;line-height:1.2;letter-spacing:-2px;color:var(--text);text-decoration:none}.wordmark span{color:var(--accent)}.intro{margin:30px 0 22px}.intro h1{font-size:clamp(20px,5vw,29px);letter-spacing:-.6px;margin:0;font-weight:800}.intro p{margin:4px 0;color:var(--muted)}.inputs,.edit-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:12px}label{display:block;font-weight:600;font-size:13px}input,select,button{font:inherit;color:inherit}input[type=text],select{width:100%;min-width:0;margin-top:5px;min-height:47px;border:1px solid var(--line);border-radius:12px;padding:9px 12px;background:var(--paper);font-size:16px;font-weight:600}input[type=text]{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}select{cursor:pointer}.muted,.quality,.rates,footer{color:var(--muted)}button{cursor:pointer;border:0;border-radius:9px;min-height:40px;padding:7px 12px;background:none}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.quiet{color:var(--accent);font-weight:650}.quiet:hover,.icon-button:hover{background:var(--hero)}.hero{margin:20px 0 15px;padding:20px 16px;background:var(--hero);border:1px solid var(--line);border-radius:19px;text-align:center}.hero p{margin:0;color:var(--muted)}.hero-value{display:flex;align-items:baseline;justify-content:center;gap:8px;flex-wrap:wrap;color:var(--accent);overflow-wrap:anywhere}.hero-value strong{font-size:clamp(27px,7vw,42px);font-weight:850;font-variant-numeric:tabular-nums}.hero-value span{font-weight:600}.basis{font-size:12px}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{min-width:0;border:1px solid var(--line);background:var(--paper);border-radius:16px;padding:12px 14px}.metric-head,.metric-label,.metric-result,.rates,.actions{display:flex;align-items:center;gap:7px}.metric-head{justify-content:space-between}.metric-label{font-size:14px;cursor:pointer;min-width:0}.metric-label input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0;margin:0}.symbol{font-size:17px;color:var(--accent)}.icon-button{display:grid;place-items:center;min-width:40px;padding:5px;color:var(--muted);flex-shrink:0}.metric-result{align-items:baseline;flex-wrap:wrap;overflow-wrap:anywhere}.metric-result strong{font-size:clamp(21px,5vw,29px);font-weight:800;font-variant-numeric:tabular-nums}.metric-result span{font-size:12px;color:var(--muted)}.inactive .metric-result{color:var(--muted)}.rates{font-size:11px;flex-wrap:wrap;margin:3px 0;gap:5px}.quality{font-size:11px;margin:3px 0}.editor{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.edit-fields{grid-template-columns:1fr 1fr;gap:8px}.editor input{font-size:14px}.actions{flex-wrap:wrap}.primary{background:var(--accent);color:var(--bg);font-weight:700}.error{color:var(--error);font-size:12px;margin:4px 0}.settings,.sources{margin-top:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:14px}.settings h2{font-size:17px;margin:0 0 12px}.settings label{margin-bottom:10px}.sources{font-size:12px;color:var(--muted)}.sources summary{cursor:pointer;font-weight:650;color:var(--text)}.sources a{color:var(--accent)}footer{text-align:center;font-size:12px;margin:24px 0 4px}footer span{padding:0 5px}[hidden]{display:none!important}@media(max-width:520px){.metrics{grid-template-columns:1fr}.intro{margin:23px 0 16px}.metric{padding:9px 13px}.metric-result strong{font-size:27px}.hero{margin:15px 0 11px;padding:14px 12px}}:root{--bg:#f5f7fa;--paper:#fff;--text:#192c35;--muted:#60717a;--line:#dfe7e9;--accent:#117960;--hero:#e7f4ee;--shadow:0 8px 28px #203e3510;--soft:#edf4f3;--usd:#17845d;--gold:#a66a16;--wage:#4d68bb;--cpi:#9c526c;--hero-text:#fff;--hero-secondary:#d5eee5}:root[data-theme=dark]{--bg:#101a20;--paper:#19272e;--text:#e9f1f2;--muted:#a5b8bd;--line:#30434b;--accent:#7adaba;--hero:#234139;--shadow:0 8px 28px #0003;--soft:#233740;--usd:#75d8af;--gold:#efc47b;--wage:#a7b9ff;--cpi:#f0a9c2}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101a20;--paper:#19272e;--text:#e9f1f2;--muted:#a5b8bd;--line:#30434b;--accent:#7adaba;--hero:#234139;--shadow:0 8px 28px #0003;--soft:#233740;--usd:#75d8af;--gold:#efc47b;--wage:#a7b9ff;--cpi:#f0a9c2}}body{background:radial-gradient(ellipse at 95% 0%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 42%),var(--bg)}#app{max-width:780px;padding:24px 22px 32px}.top{gap:12px}.wordmark{display:flex;align-items:center;gap:10px;letter-spacing:-1px;font-size:29px}.wordmark .brand-icon{display:grid;place-items:center;background:linear-gradient(150deg,#16886d,#0b514a);color:#fff;width:44px;height:44px;border-radius:15px;font-size:30px;font-weight:850;box-shadow:0 5px 14px #0b66552b}.brand-name{display:block;line-height:1.08}.brand-name small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);font-weight:600;direction:ltr;text-align:right}.settings-button{display:flex;gap:6px;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:9px 14px;box-shadow:var(--shadow);font-size:13px}.intro{margin:28px 0 19px}.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--accent);font-weight:700}.status-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent)}.intro h1{font-size:clamp(22px,5vw,34px);margin:5px 0 0;line-height:1.45;letter-spacing:-.8px}.intro h1 span{color:var(--accent)}.intro p{font-size:14px}.inputs{padding:14px 16px 16px;border-radius:20px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);gap:14px}input[type=text],select{background:var(--bg);border-radius:11px;min-height:48px;transition:border-color .16s,box-shadow .16s}input[type=text]:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#0a5b4c,#11816a 65%,#1a9077);color:var(--hero-text);border:none;text-align:right;padding:22px 24px;margin:16px 0 22px;border-radius:23px;box-shadow:0 12px 30px #08735926;isolation:isolate}.hero:before,.hero:after{content:"";position:absolute;z-index:-1;border:1px solid #ffffff25;border-radius:50%;width:260px;height:260px;left:-85px;top:-150px;pointer-events:none}.hero:after{width:330px;height:330px;left:-125px;top:-180px}.hero-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:var(--hero-secondary)}.hero-period{font-size:11px;border:1px solid #ffffff38;border-radius:20px;padding:3px 9px;white-space:nowrap}.hero-value{justify-content:flex-start;color:#fff;margin:9px 0 2px}.hero-value strong{font-size:clamp(28px,7vw,48px);letter-spacing:-1px;line-height:1.35}.hero-value span{color:var(--hero-secondary);font-size:14px}.hero p{color:var(--hero-secondary)}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 2px 9px}.section-heading h2{font-size:15px;margin:0;font-weight:800}.section-heading span{font-size:11px;color:var(--muted)}.metrics{gap:12px}.metric{--metric:var(--accent);padding:13px 15px 15px;border-radius:19px;box-shadow:var(--shadow);transition:background .18s,border-color .18s;position:relative}.metric[data-metric=usd],[data-metric=usd]{--metric:var(--usd)}[data-metric=gold]{--metric:var(--gold)}[data-metric=wage]{--metric:var(--wage)}[data-metric=cpi]{--metric:var(--cpi)}.metric .symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:color-mix(in srgb,var(--metric) 12%,var(--paper));color:var(--metric);font-weight:800;font-size:19px}.metric-label{gap:8px;font-size:13px}.metric-label input{accent-color:var(--metric);width:17px;height:17px}.metric-result{margin:9px 0 4px;color:var(--metric)}.metric-result strong{font-size:clamp(23px,5vw,30px);line-height:1.35}.rates{padding-top:7px;border-top:1px solid var(--line);font-size:11px;line-height:1.7}.quality{line-height:1.7}.inactive{box-shadow:none;background:var(--bg)}.inactive .symbol{opacity:.65}.primary{color:#fff;background:#117960}.settings,.sources{box-shadow:var(--shadow);border-radius:18px}.story-section{margin-top:20px;border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:var(--shadow);overflow:hidden}.story-toggle{display:flex;align-items:center;gap:12px;width:100%;text-align:right;padding:15px 16px;border-radius:0}.story-toggle:hover{background:var(--soft)}.story-icon{display:grid;place-items:center;width:45px;height:45px;flex-shrink:0;border-radius:14px;background:var(--soft);color:var(--accent)}.story-toggle-text{flex:1;min-width:0}.story-toggle-text strong{display:block;font-size:16px;font-weight:800}.story-toggle-text small{display:block;font-size:12px;color:var(--muted)}.story-plus{display:grid;place-items:center;font-size:25px;line-height:1;width:35px;height:35px;flex-shrink:0;border-radius:12px;background:var(--soft);color:var(--accent)}.story-body{border-top:1px solid var(--line);padding:16px}.story-intro{padding:15px 16px;background:var(--soft);border-radius:15px}.story-intro h3{margin:2px 0;font-size:23px;line-height:1.4}.story-intro p{margin:2px 0;color:var(--muted);font-size:13px}.story-subtitle{margin:21px 0 9px;font-size:14px;font-weight:800}.quantities,.trends{display:grid;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}.quantity,.trend-card{min-width:0;padding:11px;border:1px solid var(--line);border-radius:14px}.quantity{display:flex;flex-direction:column;gap:3px}.quantity span{font-size:11px;color:var(--muted)}.quantity b{font-size:20px;color:var(--metric);overflow-wrap:anywhere;line-height:1.4}.quantity small{font-size:10px;color:var(--muted)}.trends{grid-template-columns:repeat(2,minmax(0,1fr))}.trend-head,.trend-years{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.trend-head b{font-size:12px}.trend-head strong{font-size:13px;color:var(--metric);overflow-wrap:anywhere}.trend-svg{display:block;width:100%;height:auto;direction:ltr;margin:5px 0}.gridline{stroke:var(--line);fill:none;stroke-width:1}.trend-line{stroke:var(--metric);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;fill:none}.trend-line.reference{stroke-dasharray:4 4;opacity:.8}.trend-dot{fill:var(--metric)}.trend-years{direction:ltr;color:var(--muted);font-size:10px}.findings{display:grid;gap:8px}.finding{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border-radius:12px;background:var(--bg);border:1px solid var(--line)}.finding-mark{color:var(--accent);font-size:19px;line-height:1.5}.finding h4{font-size:13px;margin:0;font-weight:750}.finding p{font-size:12px;color:var(--muted);margin:4px 0 0}.story-more{border:1px solid var(--line);border-radius:12px;margin-top:12px;padding:10px 12px}.story-more summary{cursor:pointer;font-size:13px;color:var(--accent);font-weight:700}.story-more .findings{margin-top:10px}.table-scroll{overflow:auto;max-height:370px;margin-top:10px}.table-scroll table{border-collapse:collapse;width:100%;font-size:11px;text-align:right;white-space:nowrap}.table-scroll th,.table-scroll td{padding:8px;border-bottom:1px solid var(--line)}.table-scroll thead th{position:sticky;top:0;background:var(--paper);z-index:1}.story-note{font-size:11px;color:var(--muted);margin:15px 0 0}.metric,.hero,.story-section{min-width:0}@media(max-width:520px){#app{padding:16px 14px 25px}.intro{margin:22px 0 15px}.inputs{padding:12px;gap:10px}.hero{padding:17px 16px;margin:13px 0 17px}.metrics{grid-template-columns:1fr;gap:9px}.metric{padding:10px 13px 12px}.metric-result{margin:5px 0}.metric-result strong{font-size:27px}.section-heading{flex-wrap:wrap;gap:2px 8px}.story-body{padding:11px}.story-toggle{padding:13px 12px}.quantities{gap:5px}.quantity{padding:8px 6px}.quantity b{font-size:17px}.trends{grid-template-columns:1fr}.hero-period{font-size:10px}.hero-top{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}.hero-result-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.hero-result-row .hero-value{min-width:0;flex:1}.share-button{display:flex;flex:none;align-items:center;justify-content:center;gap:7px;border:1px solid #ffffff65;background:#ffffff16;color:#fff;border-radius:13px;min-height:44px;padding:8px 12px;font-size:12px;font-weight:700;transition:background .15s}.share-button:hover{background:#ffffff30}.share-button:focus-visible{outline:2px solid white;outline-offset:3px}.share-button:disabled{opacity:.45;cursor:not-allowed}.share-status{margin-top:6px!important;font-size:12px}.share-manual,.shared-banner{border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:12px 14px;margin:10px 0;box-shadow:var(--shadow)}.share-manual textarea{display:block;width:100%;resize:vertical;min-height:100px;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:10px;margin-top:6px;overflow-wrap:anywhere}.shared-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.shared-banner a{color:var(--accent);font-weight:700;flex-shrink:0}@media(max-width:520px){.share-button{width:44px;padding:8px;min-width:44px}.share-button span{display:none}.hero-result-row .hero-value strong{font-size:clamp(24px,6.2vw,42px)}}.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:var(--soft);border:1px solid var(--line);border-radius:17px;margin:0 0 14px}.tabs button{font-size:13px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:12px;color:var(--muted);font-weight:650;min-height:44px}.tabs button span{font-size:19px;line-height:1}.tabs button[aria-selected=true]{background:var(--paper);box-shadow:var(--shadow);color:var(--accent);font-weight:800}.tabs button:hover:not([aria-selected=true]){color:var(--accent)}.hero-actions{display:flex;gap:6px;flex-shrink:0}.hero-actions .share-button{padding:8px 10px}.save-row{display:flex;justify-content:flex-end;margin:5px 0 0}.save-row button{font-size:12px}.tool-intro{margin:18px 2px 13px}.tool-intro h2{font-size:21px;margin:0;font-weight:800}.tool-intro p{margin:3px 0;color:var(--muted);font-size:13px}.reverse-hero{background:linear-gradient(120deg,#18485d,#276f82 65%,#328596)}.reverse-settings{margin-bottom:15px}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.danger{color:var(--error)}.history-list{display:grid;gap:10px}.history-item{border:1px solid var(--line);background:var(--paper);border-radius:17px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:var(--shadow)}.history-info{display:flex;flex-direction:column;min-width:0;gap:2px}.history-info strong{font-size:20px;color:var(--accent);overflow-wrap:anywhere}.history-info small,.history-info span{font-size:11px;color:var(--muted)}.history-actions{display:flex;align-items:center;flex-wrap:wrap;gap:2px;justify-content:flex-end}.history-actions a,.history-actions button{font-size:12px;padding:7px 9px;text-decoration:none}.history-empty{padding:25px 15px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:16px;font-size:13px}.card-dialog{width:min(500px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:17px;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--text);box-shadow:0 20px 80px #0005}.card-dialog::backdrop{background:#071e24a0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.dialog-head h2{font-size:19px;margin:0}.dialog-head p{font-size:12px;color:var(--muted);margin:2px 0 12px}.dialog-head .icon-button{font-size:25px}.card-preview{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:var(--soft);text-align:center}.card-preview img{display:block;width:100%;height:auto}.card-preview p{padding:10px;margin:0;font-size:12px;color:var(--muted)}.dialog-actions{display:flex;gap:8px;margin:13px 0}.dialog-actions button{flex:1;border:1px solid var(--line)}.dialog-actions button:disabled{opacity:.45;cursor:not-allowed}.tabs button:focus-visible{outline-offset:1px}@media(max-width:520px){.hero-result-row{align-items:center;flex-wrap:wrap}.hero-actions{gap:5px}.hero-actions .share-button{width:40px;min-width:40px;min-height:40px;padding:7px}.hero-result-row .hero-value strong{font-size:clamp(20px,5.9vw,36px)}.history-item{align-items:flex-start;flex-direction:column}.history-actions{width:100%;border-top:1px solid var(--line);padding-top:5px}.tabs button{font-size:12px}.tabs button span{font-size:17px}}
