@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap");
/* Personal OS visual refresh — additive styles for login + dashboard only */
:root{--pos-bg:#071017;--pos-panel:#0d1a25;--pos-panel-2:#102432;--pos-line:#223846;--pos-mint:#00a693;--pos-mint-bright:#48e0cd;--pos-blue:#45c8e8;--pos-violet:#9b8afb;--pos-ink:#edf7fa;--pos-muted:#91aab6;--pos-radius:24px}
html{min-height:100%;background:var(--pos-bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.app-body,body.login-page{min-height:100vh;min-height:100svh;background:radial-gradient(ellipse at 8% 0%,rgba(0,166,147,.13),transparent 34%),radial-gradient(ellipse at 100% 28%,rgba(69,200,232,.08),transparent 30%),linear-gradient(145deg,#060c12 0%,#09131c 52%,#071017 100%);color:var(--pos-ink);font-family:"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif;overflow-x:hidden}
body.app-body:before,body.login-page:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.12;background-image:linear-gradient(rgba(115,172,185,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(115,172,185,.08) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,black,transparent 78%);z-index:0}
.app-shell,.login-wrap{position:relative;z-index:1}
.app-shell{width:min(100%,1720px);margin:0 auto;padding:0 clamp(12px,2.2vw,36px)}
.topbar{position:relative;top:auto;min-height:82px;height:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px clamp(2px,1vw,12px);border-bottom:1px solid rgba(91,136,151,.2);background:rgba(7,16,23,.72);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.brand-top,.brand-center{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;direction:ltr}
.brand-logo{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain;filter:drop-shadow(0 5px 16px rgba(0,166,147,.18))}
.brand-words{display:flex;flex-direction:column;gap:1px;line-height:1.4;min-width:0}.brand-words b{font-size:clamp(14px,1.5vw,18px);letter-spacing:.09em;color:#f2fbfd;white-space:nowrap}.brand-words small{font-size:11px;letter-spacing:.22em;color:#8fb0bc;white-space:nowrap}
.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.today-chip,.logout-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid rgba(91,136,151,.24);border-radius:999px;padding:8px 13px;color:#a8c1cb;background:rgba(13,29,40,.72);font-size:12px;white-space:nowrap}.logout-link{color:#c8e2e8;transition:background .2s,border-color .2s,transform .2s}.logout-link:hover{background:#16323d;border-color:#277a75;transform:translateY(-1px)}.logout-form{margin:0}.online-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#46e1ce;box-shadow:0 0 13px rgba(70,225,206,.6);flex:0 0 auto}
.dashboard{padding:clamp(16px,2.5vw,34px) 0 20px}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:285px;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,32%);align-items:center;gap:18px;padding:clamp(22px,4vw,52px);border:1px solid rgba(0,166,147,.34);border-radius:clamp(22px,3vw,36px);background:radial-gradient(ellipse at 86% 18%,rgba(0,166,147,.17),transparent 36%),radial-gradient(ellipse at 12% 100%,rgba(69,200,232,.08),transparent 40%),linear-gradient(130deg,rgba(15,34,46,.97),rgba(7,18,27,.96));box-shadow:0 24px 80px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.025)}
.hero-content{position:relative;z-index:2;max-width:800px}.eyebrow{display:inline-block;color:var(--pos-mint-bright);font-size:10px;font-weight:800;letter-spacing:.19em;line-height:1.8}.hero h1{margin:13px 0 10px;font-size:clamp(28px,4.1vw,52px);line-height:1.4;letter-spacing:-.035em;color:#f3fafc}.hero h1 span,.vision-panel h2 span{color:var(--pos-mint-bright);text-shadow:0 0 28px rgba(0,166,147,.18)}.hero p{max-width:690px;color:#9bb2bd;line-height:2;font-size:clamp(13px,1.35vw,16px);margin:0}.hero-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:23px;color:#8ea9b4;font-size:11px}.hero-foot i,.section-caption i{width:4px;height:4px;border-radius:50%;background:#3e6673;display:inline-block}.hero-art{width:min(100%,280px);aspect-ratio:1;position:relative;justify-self:center;display:grid;place-items:center}.orbit{position:absolute;border:1px solid rgba(0,190,174,.28);border-radius:50%;inset:10%}.orbit-a{transform:rotate(-28deg) scaleX(1.35);border-color:rgba(0,190,174,.48)}.orbit-b{transform:rotate(42deg) scaleX(.75);border-color:rgba(69,200,232,.25)}.orbit-core{width:44%;aspect-ratio:1;position:relative;display:grid;place-items:center;border-radius:30%;border:1px solid rgba(51,221,204,.6);background:linear-gradient(140deg,rgba(25,81,82,.9),rgba(7,22,32,.95));box-shadow:0 0 60px rgba(0,166,147,.15),inset 0 0 30px rgba(0,166,147,.1);transform:rotate(-7deg)}.orbit-core span{font-size:clamp(38px,5vw,60px);font-weight:900;color:#eafffc;line-height:1}.orbit-core small{position:absolute;right:16%;bottom:12%;color:var(--pos-mint-bright);font-size:13px;font-weight:900}.orbit-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:#4be8d6;box-shadow:0 0 16px #00a693}.dot-a{top:16%;left:23%}.dot-b{right:12%;top:38%;width:5px;height:5px}.dot-c{bottom:18%;right:28%;width:6px;height:6px}.hero-grid{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 49.8%,rgba(82,139,151,.04) 50%,transparent 50.2%),linear-gradient(transparent 49.8%,rgba(82,139,151,.04) 50%,transparent 50.2%);background-size:40px 40px;mask-image:linear-gradient(90deg,transparent,black)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:34px 2px 17px}.section-head h2{font-size:clamp(21px,2.4vw,29px);line-height:1.4;margin:6px 0 0;color:#edf7fa}.section-caption{display:flex;align-items:center;gap:9px;color:#7f9aa7;font-size:11px;white-space:nowrap}
.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.module-card{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:220px;display:flex;flex-direction:column;justify-content:space-between;gap:18px;padding:21px;border:1px solid rgba(91,136,151,.22);border-radius:22px;background:linear-gradient(150deg,rgba(16,31,43,.98),rgba(8,18,27,.98));box-shadow:0 10px 30px rgba(0,0,0,.12);transition:transform .24s,border-color .24s,box-shadow .24s;animation:posRise .55s both;animation-delay:var(--delay,0ms)}.module-card:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 100% 0%,var(--module-glow,rgba(0,166,147,.14)),transparent 52%);opacity:.9}.module-card:hover{transform:translateY(-4px);border-color:var(--module-accent,#00a693);box-shadow:0 18px 44px rgba(0,0,0,.23),0 0 0 1px color-mix(in srgb,var(--module-accent,#00a693) 15%,transparent)}.module-card:focus-visible{outline:2px solid var(--pos-mint-bright);outline-offset:3px}.module-card.teal{--module-accent:#40dfc9;--module-glow:rgba(0,166,147,.2)}.module-card.violet{--module-accent:#ad98ff;--module-glow:rgba(133,100,255,.2)}.module-card.blue{--module-accent:#60c8ff;--module-glow:rgba(57,157,255,.18)}.module-card.amber{--module-accent:#ffc276;--module-glow:rgba(255,160,61,.15)}.module-card.rose{--module-accent:#ff8fb1;--module-glow:rgba(255,92,143,.15)}.module-card.pink{--module-accent:#ee9be6;--module-glow:rgba(215,96,215,.15)}.module-card.green{--module-accent:#7de3a5;--module-glow:rgba(59,206,123,.15)}.module-card.gold{--module-accent:#f4d77c;--module-glow:rgba(240,194,77,.15)}.module-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.module-symbol{width:49px;height:49px;display:grid;place-items:center;border-radius:16px;border:1px solid color-mix(in srgb,var(--module-accent,#00a693) 32%,transparent);background:color-mix(in srgb,var(--module-accent,#00a693) 10%,#091720);color:var(--module-accent,#40dfc9);font-size:24px;box-shadow:inset 0 0 20px color-mix(in srgb,var(--module-accent,#00a693) 5%,transparent)}.module-status{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(91,136,151,.2);border-radius:999px;padding:6px 9px;color:#90aab4;font-size:10px;white-space:nowrap}.module-status i{width:6px;height:6px;border-radius:50%;background:#e1b55e;display:inline-block}.module-card.module-card-active .module-status i{background:#48e0cd;box-shadow:0 0 10px #00a693}.module-copy{min-width:0}.module-en{display:block;color:var(--module-accent,#40dfc9);font-size:9px;font-weight:800;letter-spacing:.16em;line-height:1.8}.module-copy h3{font-size:18px;line-height:1.5;margin:6px 0;color:#f0f8fa}.module-copy p{font-size:12px;line-height:1.9;color:#8fa8b4;margin:0}.module-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(91,136,151,.17);padding-top:13px;color:#91a8b2;font-size:11px}.module-arrow{color:var(--module-accent,#40dfc9);font-size:20px;line-height:1;transition:transform .2s}.module-card:hover .module-arrow{transform:translate(-3px,-2px)}.module-glow{display:none}
.bottom-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.panel{min-width:0;border:1px solid rgba(91,136,151,.22);border-radius:22px;background:linear-gradient(145deg,rgba(14,27,38,.96),rgba(8,18,27,.98));padding:clamp(18px,2.2vw,28px)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.panel-head h2{margin:6px 0 0;font-size:21px;color:#eff8fa}.panel-icon{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;border:1px solid rgba(91,136,151,.25);color:#4adfce;font-size:23px}.activity-list{display:grid;gap:15px}.activity-row{display:flex;align-items:flex-start;gap:12px}.activity-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#00a693;box-shadow:0 0 12px rgba(0,166,147,.5);margin-top:7px}.activity-row div{min-width:0;display:grid;gap:3px}.activity-row b{font-size:12px;color:#dcebf0;font-weight:600;overflow-wrap:anywhere}.activity-row small{font-size:10px;color:#7e9aa6}.empty-activity{display:grid;justify-items:start;gap:7px;color:#90aab4;padding:10px 0}.empty-activity>span{font-size:25px;color:#49e2d0}.empty-activity b{color:#e3f0f3}.empty-activity p{margin:0;font-size:12px;line-height:1.9}.vision-panel{position:relative;overflow:hidden;background:radial-gradient(ellipse at 95% 5%,rgba(0,166,147,.2),transparent 42%),linear-gradient(145deg,#102b32,#0a1721);border-color:rgba(0,166,147,.3)}.vision-panel h2{font-size:clamp(23px,2.8vw,34px);line-height:1.7;margin:12px 0;color:#eff8fa}.vision-panel p{color:#91abb5;font-size:12px;line-height:2;margin:0;max-width:500px}.vision-bars{display:flex;gap:6px;margin-top:22px}.vision-bars i{height:4px;width:28px;border-radius:99px;background:#21454b}.vision-bars i:nth-child(3n+1){background:#167d74}.vision-bars i:nth-child(5){background:#44ddc9}.vision-label{display:block;margin-top:13px;color:#607d88;font-size:9px;letter-spacing:.18em}.footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:20px 4px 26px;color:#6f8995;font-size:10px;letter-spacing:.08em}.footer b{color:var(--pos-mint)}
/* Login screen */
body.login-page{display:grid;place-items:center;padding:calc(24px + env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom));}
.ambient{position:fixed;pointer-events:none;border-radius:50%;filter:blur(2px);opacity:.55}.ambient-one{width:440px;height:440px;right:-160px;top:-190px;background:radial-gradient(circle,rgba(0,166,147,.2),transparent 70%)}.ambient-two{width:380px;height:380px;left:-180px;bottom:-170px;background:radial-gradient(circle,rgba(69,200,232,.14),transparent 70%)}
.login-wrap{width:min(100%,490px);margin:auto;display:grid;justify-items:center;gap:22px;padding:10px 0}.brand-center{justify-content:center;gap:14px}.brand-center .brand-logo{width:70px;height:70px;flex-basis:70px}.brand-center .brand-words b{font-size:clamp(17px,4vw,21px);letter-spacing:.12em}.brand-center .brand-words small{font-size:12px;letter-spacing:.28em}.login-card{width:100%;min-width:0;padding:clamp(22px,5.5vw,40px);border:1px solid rgba(66,137,145,.35);border-radius:clamp(22px,5vw,32px);background:radial-gradient(ellipse at 100% 0%,rgba(0,166,147,.1),transparent 42%),linear-gradient(145deg,rgba(15,30,42,.97),rgba(7,17,25,.98));box-shadow:0 30px 90px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.035);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.login-card>.eyebrow{margin-bottom:12px}.login-card h1{margin:0;color:#f0f8fa;font-size:clamp(30px,7vw,40px);line-height:1.45;letter-spacing:-.03em}.login-card>.muted{color:#91aab6;font-size:14px;line-height:1.9;margin:5px 0 28px}.notice.notice-error{margin:0 0 18px;border:1px solid rgba(255,100,122,.3);background:rgba(125,31,50,.2);color:#ffb7c3;border-radius:13px;padding:12px 14px;font-size:13px;line-height:1.8}.login-form{display:grid;gap:10px}.login-form label{display:block;color:#b7cbd2;font-size:12px;font-weight:700;margin:0 0 1px}.login-form input[type=password],.login-form input[type=text]{width:100%;min-width:0;min-height:56px;padding:14px 15px;border:1px solid #2a4654;border-radius:14px;background:#07131c;color:#f0f8fa;font-size:16px;line-height:1.5;outline:none;box-shadow:inset 0 1px rgba(255,255,255,.02);direction:rtl}.login-form input:focus{border-color:#19bba9;box-shadow:0 0 0 4px rgba(0,166,147,.12)}.password-field{position:relative;display:flex;align-items:center}.password-field input{padding-left:68px!important}.password-toggle{position:absolute;left:9px;top:50%;transform:translateY(-50%);border:0;border-radius:9px;background:#142a35;color:#8ee7dc;font-size:11px;padding:7px 9px;min-height:32px}.button.button-primary.button-full{width:100%;min-height:57px;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:9px;padding:14px 18px;border:0;border-radius:15px;background:linear-gradient(110deg,#008f80,#0ac9b0);color:#031b1d;font-size:15px;font-weight:900;box-shadow:0 12px 30px rgba(0,166,147,.17);transition:transform .2s,filter .2s,box-shadow .2s}.button.button-primary.button-full:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,166,147,.23)}.button.button-primary.button-full:active{transform:translateY(0)}.login-security{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;color:#7f9ba6;font-size:11px;margin-top:22px}.login-security i{width:4px;height:4px;background:#35545e;border-radius:50%}.login-bottom{margin:0;color:#607d89;font-size:10px;letter-spacing:.24em;text-align:center;line-height:1.8}
@keyframes posRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1150px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:minmax(0,1fr) 230px}.module-card{min-height:205px}}
@media(max-width:720px){.app-shell{padding:0 12px}.topbar{min-height:68px;padding:10px 0;gap:8px}.brand-top{gap:8px}.brand-logo{width:40px;height:40px;flex-basis:40px}.brand-words b{font-size:13px;letter-spacing:.06em}.brand-words small{font-size:9px;letter-spacing:.15em}.topbar-actions{gap:6px}.today-chip,.logout-link{min-height:34px;padding:6px 9px;font-size:10px}.dashboard{padding-top:14px}.hero{grid-template-columns:minmax(0,1fr);min-height:0;padding:23px 20px;border-radius:23px}.hero-content{order:1}.hero-art{position:absolute;width:120px;right:auto;left:-20px;bottom:-27px;opacity:.24;pointer-events:none}.hero h1{font-size:clamp(26px,7vw,36px);margin-top:9px}.hero p{font-size:12px;line-height:2}.hero-foot{font-size:10px;margin-top:16px;max-width:100%}.section-head{margin:24px 2px 13px;align-items:start;flex-direction:column;gap:8px}.section-head h2{font-size:22px}.section-caption{font-size:10px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.module-card{padding:13px;min-height:192px;gap:13px;border-radius:17px}.module-symbol{width:39px;height:39px;border-radius:13px;font-size:20px}.module-status{font-size:9px;padding:5px 7px}.module-copy h3{font-size:14px;margin:5px 0}.module-en{font-size:8px;letter-spacing:.1em}.module-copy p{font-size:10px;line-height:1.8}.module-bottom{font-size:9px;padding-top:10px}.module-arrow{font-size:17px}.bottom-panels{grid-template-columns:1fr;gap:10px;margin-top:12px}.panel{padding:17px;border-radius:18px}.panel-head h2{font-size:18px}.footer{padding:17px 3px 24px;font-size:9px}.login-wrap{gap:18px;padding:4px 0}.brand-center .brand-logo{width:58px;height:58px;flex-basis:58px}.login-card{padding:25px 20px;border-radius:24px}.login-card>.muted{margin-bottom:22px}.login-security{margin-top:18px}}
@media(max-width:380px){.app-shell{padding:0 9px}.brand-words b{font-size:11px}.brand-words small{font-size:8px}.brand-logo{width:35px;height:35px;flex-basis:35px}.today-chip{display:none}.module-grid{gap:7px}.module-card{padding:11px;min-height:188px}.module-status{font-size:8px}.module-copy h3{font-size:13px}.module-copy p{font-size:9px}.module-bottom{font-size:8px}.login-card{padding:22px 17px}.login-card h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
