body.tsp-home{min-height:100dvh;background:radial-gradient(circle at 50% 0,#fff 0,#eef2f5 44%,#dce3e8 100%);font-family:'IRANYekan','Vazirmatn',Tahoma,sans-serif}.tsp-home .home-shell{min-height:100dvh;display:grid;place-items:center;align-content:center;gap:28px;padding:24px;direction:rtl;color:#14202a}.tsp-home .home-card{width:min(100%,550px);padding:clamp(28px,5vw,52px);text-align:center;border:1px solid #fff;border-radius:32px;background:linear-gradient(145deg,#fff,#edf1f4);box-shadow:20px 20px 45px #aeb9c355,-14px -14px 34px #fff,inset 1px 1px 1px #fff}.tsp-home .home-mark{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 15px;border-radius:21px;background:linear-gradient(145deg,#ffffff,#cbd5dc);box-shadow:7px 8px 16px #aab5be80,inset 1px 1px 0 #fff;color:#334754;font:600 29px Georgia,serif}.tsp-home .home-eyebrow{margin:0;color:#6d7e89;font-size:13px;font-weight:700}.tsp-home h1{margin:7px 0;font-size:clamp(27px,5vw,40px);line-height:1.35}.tsp-home .home-copy{margin:0 0 28px;color:#52636e;font-size:15px}.tsp-home .home-search{text-align:right}.tsp-home .home-search label{display:block;margin:0 4px 8px;color:#43545f;font-size:13px;font-weight:700}.tsp-home .home-search-row{display:flex;align-items:stretch;gap:10px}.tsp-home .home-search input{min-width:0;flex:1 1 0;height:54px;min-height:54px;border:1px solid #d3dce2;border-radius:16px;background:#f7f9fa;box-shadow:inset 3px 3px 8px #dbe1e6,inset -3px -3px 8px #fff;padding:0 16px;color:#14202a;font:inherit;font-size:16px;text-align:center;outline-offset:3px}.tsp-home .home-search input:focus{border-color:#486878;box-shadow:0 0 0 3px #48687820,inset 3px 3px 8px #dbe1e6}.tsp-home .home-search button,.tsp-home .home-scan-button{min-height:54px;border:0;border-radius:16px;color:#fff;background:linear-gradient(145deg,#355868,#1d3b49);box-shadow:0 5px 0 #152e39,0 12px 18px #1d3b4930;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.tsp-home .home-search button{padding:0 18px;white-space:nowrap}.tsp-home .home-search button:hover,.tsp-home .home-scan-button:hover{transform:translateY(-2px);box-shadow:0 7px 0 #152e39,0 15px 22px #1d3b4934}.tsp-home .home-search button:active,.tsp-home .home-scan-button:active{transform:translateY(3px);box-shadow:0 2px 0 #152e39}.tsp-home .home-status{min-height:22px;margin:8px 3px 0;color:#b42332;font-size:12px}.tsp-home .home-divider{display:flex;align-items:center;gap:12px;margin:16px 0;color:#71828c;font-size:13px}.tsp-home .home-divider::before,.tsp-home .home-divider::after{content:'';flex:1;height:1px;background:#d9e0e5}.tsp-home .home-scan-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;background:linear-gradient(145deg,#7e9aa8,#496c7b)}.tsp-home .home-scan-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.tsp-home .home-note{margin:16px 0 0;color:#6d7e89;font-size:12px}.tsp-home .home-footer{margin:0;color:#5f707a;font-size:12px}.scanner-dialog{width:min(520px,calc(100vw - 30px));padding:40px 22px 22px;border:1px solid #fff;border-radius:26px;background:#f4f7f9;color:#14202a;text-align:center;box-shadow:0 30px 90px #14202a55}.scanner-dialog::backdrop{background:#14202a99}.scanner-dialog h2{margin:0;font-size:23px}.scanner-dialog p{margin:7px 0 16px;color:#5d6e79;font-size:14px}.scanner-close{position:absolute;top:8px;left:10px;width:44px;height:44px;border:0;background:transparent;color:#40535e;font-size:28px;cursor:pointer}.scanner-frame{position:relative;overflow:hidden;aspect-ratio:1;border-radius:20px;background:#162c36;box-shadow:inset 0 0 0 1px #fff}.scanner-video{width:100%;height:100%;object-fit:cover}.scanner-guide{position:absolute;inset:17%;border:2px solid #fff;border-radius:16px;box-shadow:0 0 0 999px #13293455}.scanner-status{min-height:24px!important;margin:16px 0 0!important}:root{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--d-bg0:#0d1418;--d-bg1:#131e24;--d-bg2:#0a1115;--d-card0:#1b2830;--d-card1:#131d24;--d-text:#eaf1f5;--d-muted:#a3b7c2;--d-border:#2d414d;--d-inset:#0f181d;--d-accent:#7fb2c8;--d-accent2:#4d8aa3}
.tsp-home .home-theme-toggle{position:fixed;top:18px;left:18px;z-index:5;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #d3dce2;border-radius:999px;background:linear-gradient(145deg,#fff,#edf1f4);box-shadow:0 4px 0 #cdd7dd,0 8px 16px #14202a18;color:#334754;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.tsp-home .home-theme-toggle:hover{transform:translateY(-1px)}
.tsp-home .home-theme-toggle:active{transform:translateY(2px);box-shadow:0 2px 0 #cdd7dd}
.tsp-home .home-theme-toggle:focus-visible,.scanner-close:focus-visible{outline:3px solid #486878;outline-offset:3px}
.tsp-home .home-theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tsp-home .theme-icon-sun{display:none}
html[data-theme="dark"] .tsp-home{background:radial-gradient(circle at 50% 0,rgba(127,178,200,.16) 0,var(--d-bg0) 46%,var(--d-bg2) 100%)}
html[data-theme="dark"] .tsp-home .home-shell{color:var(--d-text)}
html[data-theme="dark"] .tsp-home .home-card{border-color:#2a3d48;background:linear-gradient(145deg,var(--d-card0),var(--d-card1));box-shadow:20px 20px 45px #050a0dcc,-14px -14px 34px #20313b66,inset 1px 1px 0 #344a57}
html[data-theme="dark"] .tsp-home .home-mark{background:linear-gradient(145deg,#24363f,#16232b);box-shadow:7px 8px 16px #050a0d99,inset 1px 1px 0 #3a515f;color:#d6e6ee}
html[data-theme="dark"] .tsp-home .home-eyebrow,html[data-theme="dark"] .tsp-home .home-copy,html[data-theme="dark"] .tsp-home .home-note,html[data-theme="dark"] .tsp-home .home-footer{color:var(--d-muted)}
html[data-theme="dark"] .tsp-home .home-search label{color:#c3d4dd}
html[data-theme="dark"] .tsp-home .home-search input{border-color:var(--d-border);background:var(--d-inset);box-shadow:inset 3px 3px 8px #050a0d,inset -3px -3px 8px #1d2d36;color:var(--d-text)}
html[data-theme="dark"] .tsp-home .home-search input::placeholder{color:#7e93a0}
html[data-theme="dark"] .tsp-home .home-search input:focus{border-color:var(--d-accent);box-shadow:0 0 0 3px #7fb2c833,inset 3px 3px 8px #050a0d}
html[data-theme="dark"] .tsp-home .home-search button,html[data-theme="dark"] .tsp-home .home-scan-button{background:linear-gradient(145deg,#40697c,#2a4a59);box-shadow:0 5px 0 #14262f,0 12px 18px #04090c80;color:#f2f8fb}
html[data-theme="dark"] .tsp-home .home-search button:hover,html[data-theme="dark"] .tsp-home .home-scan-button:hover{box-shadow:0 7px 0 #14262f,0 15px 22px #04090c85}
html[data-theme="dark"] .tsp-home .home-search button:active,html[data-theme="dark"] .tsp-home .home-scan-button:active{box-shadow:0 2px 0 #14262f}
html[data-theme="dark"] .tsp-home .home-divider{color:#8298a4}
html[data-theme="dark"] .tsp-home .home-divider::before,html[data-theme="dark"] .tsp-home .home-divider::after{background:var(--d-border)}
html[data-theme="dark"] .tsp-home .home-status{color:#ff8f9b}
html[data-theme="dark"] .tsp-home .home-theme-toggle{border-color:var(--d-border);background:linear-gradient(145deg,#23343e,#16232b);box-shadow:0 4px 0 #0a1216,0 8px 16px #050a0d99;color:#dfeaf0}
html[data-theme="dark"] .tsp-home .theme-icon-moon{display:none}
html[data-theme="dark"] .tsp-home .theme-icon-sun{display:block}
html[data-theme="dark"] .scanner-dialog{border-color:#2d414d;background:linear-gradient(145deg,#1b2830,#131d24);color:var(--d-text);box-shadow:0 30px 90px #000000cc}
html[data-theme="dark"] .scanner-dialog::backdrop{background:#04090ccc}
html[data-theme="dark"] .scanner-dialog p{color:var(--d-muted)}
html[data-theme="dark"] .scanner-close{color:#c3d4dd}
html[data-theme="dark"] .scanner-frame{background:#050b0e;box-shadow:inset 0 0 0 1px #2d414d}
@media(max-width:540px){.tsp-home .home-theme-toggle{top:12px;left:12px}}
@media(prefers-reduced-motion:reduce){.tsp-home .home-theme-toggle{transition:none!important}}
@media(max-width:540px){.tsp-home .home-shell{padding:18px;gap:20px}.tsp-home .home-card{padding:32px 20px;border-radius:25px}.tsp-home .home-search-row{flex-direction:column}.tsp-home .home-search input{flex:0 0 54px;width:100%;height:54px;min-height:54px;font-size:16px}.tsp-home .home-search button{width:100%}.tsp-home .home-footer{font-size:11px}}@media(prefers-reduced-motion:reduce){.tsp-home *{transition:none!important}}
