:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#10233f;font-synthesis:none;text-rendering:optimizelegibility;--navy:#10233f;--navy-mid:#173b5c;--teal:#267d74;--teal-dark:#14534f;--gold:#c89b3c;--surface:#fff;--surface-soft:#eef2f6;--text:#172033;--muted:#566276;--line:#cbd4df;--danger:#d32f2f;--success:#20835a;--shadow:0 4px 16px #10233f12;--radius:18px;background:#f5f7fa;font-family:Vazirmatn,Tahoma,Segoe UI,sans-serif}*{box-sizing:border-box}html{direction:rtl;background:#f5f7fa}body{background:#f5f7fa;min-width:320px;min-height:100vh;margin:0}body,button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #006b6259}a{color:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{margin-bottom:.35rem;font-size:clamp(1.55rem,4vw,2.25rem);line-height:1.25}h2{font-size:1.08rem}p{line-height:1.75}.skip-link{z-index:1000;background:#fff;border-radius:10px;padding:.7rem 1rem;position:fixed;top:-5rem;right:1rem}.skip-link:focus{top:1rem}.app-shell{min-height:100vh}.status-bar-fill,.mobile-app-bar{display:none}.sidebar{z-index:30;width:250px;padding:calc(1.25rem + env(safe-area-inset-top)) 1rem 1.25rem;background:var(--navy);color:#fff;flex-direction:column;display:flex;position:fixed;inset:0 0 0 auto}.brand-lockup{align-items:center;gap:.8rem;padding:.2rem .5rem 1.3rem;display:flex}.brand-lockup img{object-fit:cover;background:var(--navy);border-radius:14px;width:52px;height:52px}.brand-lockup strong{font-size:1.35rem;display:block}.brand-lockup span{color:#c8d4df;margin-top:.1rem;font-size:.75rem;display:block}.sidebar nav{gap:.25rem;display:grid}.sidebar nav a{color:#dbe5ed;border-radius:12px;align-items:center;gap:.75rem;min-height:48px;padding:.7rem .85rem;text-decoration:none;display:flex}.sidebar nav a svg{width:21px}.sidebar nav a:hover,.sidebar nav a.active{color:#fff;background:#ffffff1c}.sidebar nav a.active{box-shadow:inset -3px 0 var(--gold)}.privacy-note{color:#c8d4df;align-items:center;gap:.45rem;margin-top:auto;padding:.8rem;font-size:.74rem;line-height:1.5;display:flex}.privacy-note svg{width:17px}.status-dot{background:#4ad39a;border-radius:50%;flex:none;width:8px;height:8px}.status-dot.offline{background:var(--gold)}.main-content{width:min(1180px,100% - 250px);padding:clamp(1rem,3vw,2.25rem);padding-top:calc(clamp(1rem, 3vw, 2.25rem) + env(safe-area-inset-top));margin-right:250px;padding-bottom:3rem}.bottom-nav{display:none}.update-notice{z-index:80;box-shadow:var(--shadow);background:#fff;border:1px solid #b7d8d2;border-radius:14px;align-items:center;gap:.8rem;padding:.7rem .8rem;display:flex;position:fixed;bottom:1rem;left:1rem}.page-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin:.35rem 0 1.35rem;display:flex}.page-header p{color:var(--muted);margin-bottom:0}.page-action{flex-wrap:wrap;gap:.5rem;display:flex}.section{margin-bottom:1.35rem}.section-heading{justify-content:space-between;align-items:center;gap:1rem;min-height:2.5rem;display:flex}.section-heading h2{margin-bottom:.65rem}.card,.record-card,.stat-card,.match-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card{padding:clamp(1rem,3vw,1.4rem)}.grid{gap:1rem;display:grid}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{align-items:center;gap:.85rem;padding:1.1rem;display:flex}.stat-icon{width:46px;height:46px;color:var(--teal);background:#e8f3f1;border-radius:14px;flex:none;place-items:center;display:grid}.stat-icon svg{width:23px}.stat-card strong{font-size:1.45rem;display:block}.stat-card span{color:var(--muted);font-size:.84rem}.two-column{grid-template-columns:1.1fr .9fr}.record-list{gap:.7rem;display:grid}.record-card{grid-template-columns:1fr auto;gap:.8rem;padding:1rem;display:grid;position:relative}.record-card h3{margin:0 0 .45rem;font-size:1rem;line-height:1.55}.record-card p{color:var(--muted);margin:.25rem 0;font-size:.87rem}.record-card .meta{flex-wrap:wrap;gap:.4rem .7rem;margin-top:.65rem;display:flex}.record-card-actions{align-items:flex-start;gap:.35rem;display:flex}.record-card-link{color:inherit;text-decoration:none}.record-card-link:after{content:"";border-radius:inherit;position:absolute;inset:0}.record-card-actions>*{z-index:1;position:relative}.button,.icon-button,.text-button{border:0}.button{color:#fff;background:var(--teal);border-radius:12px;justify-content:center;align-items:center;gap:.45rem;min-height:46px;padding:.65rem 1rem;font-weight:700;text-decoration:none;display:inline-flex}.button:hover{background:var(--teal-dark)}.button svg{width:19px}.button-secondary{color:var(--navy);background:#e8eef2}.button-secondary:hover{background:#dce6eb}.button-danger{background:var(--danger)}.button-danger:hover{background:#812525}.button-ghost{color:var(--teal);background:0 0;border:1px solid #b9d6d2}.button-small{min-height:44px;padding:.45rem .7rem;font-size:.84rem}.icon-button{width:44px;height:44px;color:var(--navy);background:0 0;border-radius:12px;place-items:center;display:grid}.icon-button:hover{background:#edf2f4}.icon-button svg{width:21px}.text-button{min-height:44px;color:inherit;background:0 0;padding:.25rem .5rem;text-decoration:underline}.button-row{flex-wrap:wrap;align-items:center;gap:.65rem;margin-top:1rem;display:flex}.badge{width:-moz-fit-content;width:fit-content;color:var(--navy-mid);background:#e9eef2;border-radius:999px;align-items:center;padding:.25rem .55rem;font-size:.74rem;font-weight:700;display:inline-flex}.badge-success{color:#075638;background:#e0f3e9}.badge-warning{color:#77530a;background:#fff2d8}.badge-danger{color:var(--danger);background:#f8e3e3}.badge-gold{color:#6f4f0c;background:#fff1ce}.toolbar{gap:.65rem;margin-bottom:1rem;display:flex}.search-box{flex:1;position:relative}.search-box svg{width:20px;color:var(--muted);pointer-events:none;position:absolute;top:50%;right:.85rem;transform:translateY(-50%)}.search-box input{padding-right:2.7rem}.segmented{background:#e5ebee;border-radius:12px;padding:.2rem;display:inline-flex}.segmented button{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:9px;padding:.45rem .8rem}.segmented button.active{color:var(--navy);background:#fff;font-weight:700;box-shadow:0 2px 8px #10233f14}input,select,textarea{width:100%;min-height:46px;color:var(--text);background:#fff;border:1px solid #c8d2d8;border-radius:11px;padding:.65rem .75rem}textarea{resize:vertical;min-height:96px;line-height:1.7}input::placeholder,textarea::placeholder{color:#89959f}.field{align-content:start;gap:.35rem;display:grid}.field-spaced{margin-top:1rem}.field-label{font-size:.86rem;font-weight:700}.field-hint{color:var(--muted);font-size:.74rem;line-height:1.6}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}.form-span{grid-column:1/-1}.toggle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.toggle-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;align-items:center;gap:.6rem;min-height:46px;padding:.6rem .75rem;display:flex}.toggle-row input{width:21px;min-height:21px;accent-color:var(--teal)}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#05112094;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal{width:min(580px,100%);max-height:min(90vh,900px);background:#fff;border-radius:22px;flex-direction:column;max-height:min(90dvh,900px);display:flex;overflow:hidden;box-shadow:0 25px 75px #00000040}.modal-wide{width:min(820px,100%)}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.15rem;display:flex}.modal-header h2{margin:0}.modal-body{overscroll-behavior:contain;padding:1.15rem;overflow:auto}.alert{border-radius:11px;justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:1rem;padding:.75rem .9rem;line-height:1.6;display:flex}.alert-error{color:#792323;background:#fae8e8;border:1px solid #edcaca}.alert-success{color:#075638;background:#e2f4ea;border:1px solid #bce1cb}.empty-state{text-align:center;color:var(--muted);padding:clamp(2rem,8vw,4rem) 1rem}.empty-state h2{color:var(--navy);margin-bottom:.4rem}.empty-icon{width:58px;height:58px;color:var(--teal);background:#e6f2f0;border-radius:18px;place-items:center;margin:0 auto 1rem;display:grid}.empty-icon svg{width:28px}.loading{min-height:50vh;min-height:50dvh;color:var(--muted);justify-content:center;align-items:center;gap:.7rem;display:flex}.spinner{border:3px solid #d8e1e5;border-top-color:var(--teal);border-radius:50%;width:22px;height:22px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.hero-card{color:#fff;background:linear-gradient(135deg, var(--navy), var(--navy-mid));padding:clamp(1.25rem,4vw,2rem);position:relative;overflow:hidden}.hero-card:after{content:"";background:#c89b3c21;border-radius:50%;width:17rem;height:17rem;position:absolute;bottom:-6rem;left:-4rem}.hero-card>*{z-index:1;position:relative}.hero-card h2{font-size:clamp(1.2rem,3vw,1.65rem)}.hero-card p{color:#dce8f0;max-width:60ch}.hero-card .button{color:var(--navy);background:#fff}.quick-grid{grid-template-columns:repeat(2,1fr);gap:.7rem;display:grid}.quick-action{min-height:100px;color:var(--navy);border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:.8rem;padding:1rem;text-decoration:none;display:flex}.quick-action svg{color:var(--teal)}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.detail-item{background:var(--surface-soft);border-radius:12px;padding:.85rem}.detail-item span{color:var(--muted);margin-bottom:.3rem;font-size:.76rem;display:block}.detail-item strong{overflow-wrap:anywhere}.match-card{padding:1rem}.match-head{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.match-score{color:#fff;background:var(--teal);border-radius:50%;place-items:center;min-width:54px;min-height:54px;font-weight:800;display:grid}.match-reasons{flex-wrap:wrap;gap:.4rem;margin-top:.75rem;display:flex}.install-steps{padding-right:1.25rem;line-height:2}.privacy-list{gap:.65rem;padding:0;list-style:none;display:grid}.privacy-list li{align-items:flex-start;gap:.6rem;display:flex}.privacy-list svg{width:20px;color:var(--teal);flex:none;margin-top:.2rem}.file-input{padding:.55rem}.file-picker{border:1px solid var(--line);min-height:52px;color:var(--navy);background:var(--surface-soft);cursor:pointer;overflow-wrap:anywhere;border-radius:12px;justify-content:center;align-items:center;gap:.55rem;padding:.7rem .85rem;font-weight:700;display:flex}.file-picker svg{flex:none;width:20px}.file-picker:has(input:focus-visible){outline-offset:2px;outline:3px solid #267d7459}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace-hero{color:#fff;background:linear-gradient(135deg, var(--navy), var(--navy-mid) 58%, var(--teal-dark));border-radius:24px;justify-content:space-between;align-items:center;gap:1rem;min-height:154px;margin-bottom:1rem;padding:1.35rem;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 28px #10233f29}.workspace-hero:after{content:"";background:#ffffff0f;border-radius:50%;width:13rem;height:13rem;position:absolute;bottom:-5rem;left:-3rem}.workspace-hero>*{z-index:1;position:relative}.workspace-hero div{gap:.35rem;display:grid}.workspace-hero span{color:#dce8f0;font-size:.84rem}.workspace-hero strong{font-size:1.3rem}.workspace-hero small{color:#dce8f0}.workspace-hero img{object-fit:cover;border-radius:22px;width:96px;height:96px}.summary-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-bottom:1.35rem;display:grid}.summary-card{border:1px solid var(--line);min-width:0;color:var(--navy);text-align:center;box-shadow:var(--shadow);background:#fff;border-radius:18px;justify-items:center;gap:.28rem;padding:.85rem .45rem;text-decoration:none;display:grid}.summary-card svg{width:21px}.summary-card strong{font-size:1.2rem}.summary-card span{color:var(--muted);font-size:.75rem;line-height:1.35}.summary-navy svg{color:var(--navy-mid)}.summary-teal svg{color:var(--success)}.summary-gold svg{color:var(--gold)}.today-list{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:18px;overflow:hidden}.today-list>a{min-height:74px;color:var(--navy);grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.7rem .85rem;text-decoration:none;display:grid}.today-list>a+a{border-top:1px solid var(--line)}.today-list>a>span:nth-child(2){gap:.18rem;min-width:0;display:grid}.today-list strong,.today-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.today-list small{color:var(--muted)}.today-list>a>svg{width:18px;color:var(--muted)}.today-icon{border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.today-icon svg{width:21px}.today-icon-danger{color:var(--danger);background:#fbeaea}.today-icon-navy{color:var(--navy-mid);background:#e8eef4}.today-icon-teal{color:var(--teal);background:#e3f2ef}.workspace-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.workspace-quick-grid a{border:1px solid var(--line);min-height:100px;color:var(--navy);text-align:center;box-shadow:var(--shadow);background:#fff;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:.65rem;padding:.75rem .35rem;text-decoration:none;display:flex}.workspace-quick-grid svg{width:25px;color:var(--teal)}.compact-banner{border-radius:16px;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.8rem .9rem;display:flex}.compact-banner div{gap:.15rem;display:grid}.compact-banner span{line-height:1.55}.compact-banner div span{color:var(--muted);font-size:.78rem}.install-banner{background:#fff8e8;border:1px solid #eed9a9}.privacy-banner{color:#075638;background:#e8f5ed;border:1px solid #bce1cb}.privacy-banner>svg,.privacy-banner a svg{width:21px}.privacy-banner a{color:#075638;border-radius:12px;flex:none;place-items:center;width:44px;height:44px;display:grid}.matching-hero{color:#fff;background:linear-gradient(135deg, var(--navy), var(--navy-mid), var(--teal-dark));border-radius:20px;align-items:center;gap:.85rem;margin-bottom:1rem;padding:1.05rem;display:flex;box-shadow:0 8px 24px #10233f26}.matching-hero>svg{color:#fff1ce;flex:none;width:36px}.matching-hero div{gap:.2rem;min-width:0;display:grid}.matching-hero strong{font-size:1.05rem}.matching-hero span{color:#dce8f0;font-size:.78rem}.matching-controls .segmented{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.matching-controls .segmented button{white-space:nowrap;justify-content:center;align-items:center;gap:.35rem;display:flex}.matching-controls .segmented svg{width:20px}.tool-list{gap:.7rem;display:grid}.tool-card{border:1px solid var(--line);min-height:82px;color:var(--navy);box-shadow:var(--shadow);background:#fff;border-radius:18px;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.8rem;text-decoration:none;display:grid}.tool-card>svg{width:18px;color:var(--muted)}.tool-icon{border-radius:15px;place-items:center;width:48px;height:48px;display:grid}.tool-icon svg{width:23px}.tool-icon-teal{color:var(--teal);background:#e3f2ef}.tool-icon-navy{color:var(--navy-mid);background:#e8eef4}.tool-icon-gold{color:#805c0c;background:#fff2d8}.tool-copy{gap:.2rem;min-width:0;display:grid}.tool-copy small{color:var(--muted)}.tool-privacy-card{align-items:center;gap:.8rem;display:flex}.tool-privacy-card>svg{width:28px;color:var(--success);flex:none}.tool-privacy-card div{flex:1}.tool-privacy-card p{color:var(--muted);margin:.25rem 0 0}.shell-menu-list,.quick-add-sheet{gap:.65rem;display:grid}.shell-menu-list a,.quick-add-sheet a{border:1px solid var(--line);min-height:72px;color:var(--navy);background:var(--surface-soft);border-radius:16px;align-items:center;gap:.8rem;padding:.75rem;text-decoration:none;display:flex}.shell-menu-list a>svg{width:23px;color:var(--teal)}.shell-menu-list a span,.quick-add-sheet a div{gap:.15rem;display:grid}.shell-menu-list small,.quick-add-sheet small{color:var(--muted)}.local-status{color:var(--muted);background:var(--surface-soft);border-radius:12px;align-items:center;gap:.45rem;margin-top:1rem;padding:.7rem;font-size:.78rem;display:flex}.quick-add-sheet a>span{width:46px;height:46px;color:var(--teal);background:#e3f2ef;border-radius:14px;flex:none;place-items:center;display:grid}.quick-add-sheet svg{width:23px}@media (max-width:900px){.sidebar{display:none}.status-bar-fill{z-index:70;height:env(safe-area-inset-top);background:var(--navy);display:block;position:fixed;inset:0 0 auto}.mobile-app-bar{z-index:60;min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) .75rem 6px;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f5f7faf7;grid-template-columns:44px 1fr 44px;align-items:end;gap:.5rem;display:grid;position:sticky;top:0}.mobile-app-bar h1{text-align:center;align-self:center;margin:0;font-size:1.05rem;line-height:1.35}.mobile-app-bar .icon-button{align-self:end}.main-content{width:100%;padding-top:1rem;padding-bottom:calc(5.7rem + env(safe-area-inset-bottom));margin:0}.bottom-nav{z-index:50;padding:.3rem .25rem calc(.25rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;grid-template-columns:repeat(5,1fr);align-items:end;display:grid;position:fixed;inset:auto 0 0}.update-notice{left:.75rem;right:.75rem;bottom:calc(5rem + env(safe-area-inset-bottom));justify-content:space-between}.bottom-nav a{min-height:54px;color:var(--muted);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;font-size:.68rem;text-decoration:none;display:flex}.bottom-nav a svg{width:21px}.bottom-nav a.active{color:var(--navy);background:var(--surface-soft);font-weight:700}.quick-add-nav{min-height:62px;color:var(--navy);background:0 0;border:0;flex-direction:column;justify-content:flex-end;align-self:end;align-items:center;gap:.15rem;padding:0;font-weight:700;display:flex}.quick-add-nav>span{color:#fff;background:var(--navy);border:4px solid #fff;border-radius:50%;place-items:center;width:52px;height:52px;margin-top:-22px;display:grid;box-shadow:0 5px 16px #10233f40}.quick-add-nav svg{width:25px}.quick-add-nav small{font-size:.68rem}.page-header:not(.page-header-with-action),.page-header>div:first-child{display:none}.page-header{margin:0 0 1rem}.page-action{width:100%}.page-action>*{flex:1}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.main-content{padding:.95rem;padding-bottom:calc(5.7rem + env(safe-area-inset-bottom))}.page-header{align-items:stretch}.page-header,.toolbar{flex-direction:column}.page-action .button{flex:1}.two-column,.form-grid{grid-template-columns:1fr}.form-span{grid-column:auto}.toggle-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid{grid-template-columns:1fr}.quick-action{flex-direction:row;justify-content:flex-start;align-items:center;min-height:72px}.modal-backdrop{align-items:end;padding:0}.modal{width:100%;max-height:94vh;max-height:94dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:22px 22px 0 0}.record-card{grid-template-columns:1fr}.record-card-actions{justify-content:flex-end}.workspace-hero{min-height:138px;padding:1rem}.workspace-hero img{border-radius:18px;width:78px;height:78px}.workspace-hero strong{font-size:1.12rem}.summary-strip{gap:.5rem}.summary-card{padding:.72rem .25rem}.summary-card span{font-size:.7rem}.today-list>a{padding-inline:.7rem}.today-list small{font-size:.74rem}.tool-privacy-card{flex-wrap:wrap;align-items:flex-start}.tool-privacy-card .button{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-contrast:more){:root{--line:#71808d}.card,.record-card,.stat-card,.match-card{box-shadow:none;border-color:#71808d}}
