/* Country fallback works for email and Google registration. */
.country-picker [hidden]{display:none!important}.country-manual{align-self:flex-start;border:0;background:none;padding:2px 0;color:#376ec2;text-align:left;text-decoration:underline;text-underline-offset:3px;font-size:11px;line-height:1.5}.country-manual:hover,.country-manual-highlight{color:#076b83}.country-custom{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650}.country-custom input{width:100%}.auth-screen .country-manual{font-size:10px}.auth-screen .country-custom{font-size:11px}
body.cabinet-screen{min-height:100svh;position:relative;isolation:isolate;background:radial-gradient(ellipse at 0 20%,#dff1ff99,transparent 45%),radial-gradient(ellipse at 100% 75%,#e9e1ff99,transparent 48%),#f4f7fc}
.cabinet-screen::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.45;background-image:radial-gradient(#b8c8e6 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(180deg,transparent,#000 65%)}
.cabinet-screen .topbar{padding:13px max(24px,calc((100vw - 1280px)/2));background:#ffffffdc;backdrop-filter:blur(16px)}
.cabinet-screen .brand{letter-spacing:-.7px}.cabinet-screen .topbar nav a{font-size:13px}.cabinet-screen .nav-button{color:#7c5272;font-size:13px}
.cabinet-screen .wide{max-width:1280px;margin:28px auto 50px;padding:0 24px}
.cabinet-hero{position:relative;isolation:isolate;overflow:hidden;padding:35px 38px;border:1px solid #ffffff30;border-radius:26px;box-shadow:0 20px 45px #243b7519;background:radial-gradient(ellipse at 100% 0,#226e7f88,transparent 48%),radial-gradient(ellipse at 10% 100%,#4b379b66,transparent 60%),#0e2144;min-height:270px}
.cabinet-hero::before{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#92c7ff21 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(110deg,transparent,#000)}
.cabinet-hero::after{content:'';position:absolute;width:370px;height:370px;border:1px solid #7fcbf019;border-radius:50%;right:-100px;top:-130px;box-shadow:0 0 0 50px #ffffff02,0 0 0 100px #ffffff02;z-index:-1}
.cabinet-hero-copy{max-width:75%;position:relative;z-index:1}.cabinet-hero .eyebrow{color:#77dedb;font-size:10px;letter-spacing:1.7px}.cabinet-hero h1{font-size:clamp(26px,3vw,37px);letter-spacing:-1px;line-height:1.2;margin:17px 0 10px;overflow-wrap:anywhere}.cabinet-hero p{font-size:13px;color:#b5c9e6;margin:0 0 18px;line-height:1.6}
.cabinet-hero .profile-country{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px;color:#d4e4fc;font-size:12px}.profile-location,.profile-email{display:inline-flex;align-items:center;gap:9px;min-height:32px;padding:6px 10px;border-radius:9px;background:#ffffff0b;border:1px solid #ffffff15}.profile-location{max-width:100%;overflow-wrap:anywhere}.profile-location img{border-radius:3px;flex-shrink:0;object-fit:cover}.profile-email{overflow-wrap:anywhere;word-break:break-word;min-width:0;display:block;line-height:1.5}
.hero-study{display:inline-flex;align-items:center;gap:30px;text-decoration:none;background:linear-gradient(105deg,#81e1d9,#9ae8df);color:#133d52;box-shadow:0 5px 20px #0002;font-size:12px;font-weight:750;border-radius:10px;padding:11px 16px;min-height:40px}.hero-study:hover{filter:brightness(1.08)}
.cabinet-art{position:absolute;width:210px;height:210px;right:40px;top:30px;pointer-events:none;transform:rotate(-14deg)}
.cabinet-nucleus{position:absolute;inset:73px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#dcfffa,#5dddcf 30%,#128ea7 65%,#193c6a);box-shadow:inset -8px -10px 18px #12375977,0 0 50px #6dd5ee30;animation:cabinet-float 6s ease-in-out infinite}
.cabinet-orbit{position:absolute;inset:20px;border:1px solid #83d5e987;border-radius:50%;transform:rotateX(64deg);box-shadow:0 0 12px #4aa1b611}.cabinet-orbit::after{content:'';position:absolute;top:37%;left:-6px;width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 30% 25%,white,#7be9df 45%,#298fbd);box-shadow:0 0 15px #7be9df66}.orbit-a{animation:cabinet-orbit-a 25s linear infinite}.orbit-b{transform:rotate(60deg) rotateX(64deg);animation:cabinet-orbit-b 25s linear infinite}.orbit-c{transform:rotate(120deg) rotateX(64deg);animation:cabinet-orbit-c 25s linear infinite}.orbit-b::after{background:radial-gradient(circle at 30% 25%,white,#d8bcff 45%,#8971cb)}.orbit-c::after{background:radial-gradient(circle at 30% 25%,white,#ffdfa6 45%,#ce975e)}.floating-symbol{position:absolute;display:grid;place-items:center;border:1px solid #ffffff24;border-radius:12px;color:#a2d4ed;background:#ffffff07;box-shadow:0 5px 15px #0001;width:35px;height:35px;font:italic 20px Georgia,serif;transform:rotate(14deg)}.symbol-one{left:-8px;top:15px}.symbol-two{right:-8px;bottom:8px;color:#d5c0ff}
.cabinet-screen .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 30px}.cabinet-screen .stats-grid article{position:relative;isolation:isolate;overflow:hidden;border:1px solid #dbe7f4;border-radius:18px;padding:22px 24px;background:linear-gradient(130deg,#fff,#edf5ff);box-shadow:0 7px 20px #263e7410;gap:12px}.cabinet-screen .stats-grid article:nth-child(2){background:linear-gradient(130deg,#fff,#f1edff);border-color:#e5dcfa}.cabinet-screen .stats-grid article:nth-child(3){background:linear-gradient(130deg,#fff,#e9f8f3);border-color:#d3ece5}.cabinet-screen .stats-grid article::after{content:'';position:absolute;right:-12px;bottom:-28px;width:90px;height:90px;border:12px solid #3e7ee909;z-index:-1;border-radius:50%}.cabinet-screen .stats-grid span{font-size:12px;color:#6a7c99;line-height:1.5}.cabinet-screen .stats-grid strong{font-size:32px;letter-spacing:-1px;color:#225dc5}.cabinet-screen .stats-grid article:nth-child(2) strong{color:#7650bc}.cabinet-screen .stats-grid article:nth-child(3) strong{color:#148b7d}
.cabinet-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:0 0 18px}.cabinet-section-title .eyebrow{font-size:9px;letter-spacing:1.4px;color:#7a8ea8}.cabinet-section-title h2{font-size:24px;letter-spacing:-.6px;margin:8px 0 0;color:#183150}.learning-badge{padding:7px 11px;color:#368b7e;background:#e7f6f1;border:1px solid #d1ece1;border-radius:30px;font-size:10px;white-space:nowrap}
.cabinet-screen .section-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.cabinet-screen .section-card{min-height:165px;border:1px solid #dbe7f3;border-radius:18px;padding:20px;background:linear-gradient(145deg,#fff,#edf5ff);box-shadow:0 7px 20px #263e7409;transition:transform .2s,box-shadow .2s}.cabinet-screen .section-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #263e7418}.cabinet-screen .section-card::before{content:'▤';display:grid;place-items:center;width:38px;height:38px;margin-bottom:17px;border-radius:12px;font-size:23px;color:#2865bd;background:linear-gradient(135deg,#e0edff,#cbdfff);box-shadow:inset 0 1px #fff,0 3px 8px #245bc615;transform:rotate(-5deg)}.cabinet-screen .section-card:nth-child(2)::before{content:'∑'}.cabinet-screen .section-card:nth-child(3)::before{content:'⚗'}.cabinet-screen .section-card:nth-child(4)::before{content:'▣'}.cabinet-screen .section-card:nth-child(5)::before{content:'▷'}.cabinet-screen .section-card:nth-child(6)::before{content:'✓'}.cabinet-screen .section-card:nth-child(7)::before{content:'✦'}.cabinet-screen .section-card:nth-child(8)::before{content:'▥'}
.cabinet-screen .section-card:nth-child(4n+2){background:linear-gradient(145deg,#fff,#f2edff);border-color:#e5def4}.cabinet-screen .section-card:nth-child(4n+2)::before{color:#8059bb;background:linear-gradient(135deg,#eee3ff,#e2d2f8)}.cabinet-screen .section-card:nth-child(4n+3){background:linear-gradient(145deg,#fff,#e9f7f3);border-color:#d4ebe6}.cabinet-screen .section-card:nth-child(4n+3)::before{color:#168f7e;background:linear-gradient(135deg,#dff5ed,#c6ebdf)}.cabinet-screen .section-card:nth-child(4n){background:linear-gradient(145deg,#fff,#fff3e6);border-color:#f0e3d3}.cabinet-screen .section-card:nth-child(4n)::before{color:#b78235;background:linear-gradient(135deg,#fff0d3,#f8dfb6)}.cabinet-screen .section-card h3{font-size:14px;line-height:1.4;margin:0 0 6px;color:#1d3758}.cabinet-screen .section-card p{font-size:11px;line-height:1.5;color:#7a8da5;max-width:90%}.cabinet-screen .section-card>span{position:absolute;top:21px;right:19px;margin:0;color:#94aac4;font-size:18px}
.cabinet-screen .panel{border:1px solid #e0e8f3;border-radius:20px;background:#ffffffde;box-shadow:0 7px 20px #263e7408;padding:25px;margin-top:28px}.cabinet-screen .panel h2{font-size:20px;letter-spacing:-.4px;color:#1e3858}.cabinet-screen .panel>.muted{padding:22px;border:1px dashed #d4e0ee;border-radius:12px;background:#f6f9fe;text-align:center;font-size:13px;color:#7d8fa8}.cabinet-screen .google-connect{font-size:13px;padding:18px 22px;border-radius:16px;background:#ffffffcf;border-color:#dbe7f4}.cabinet-screen .google-connect p{font-size:11px}.cabinet-screen footer{font-size:11px;color:#8a9ab1;padding:18px}
@keyframes cabinet-float{50%{transform:translateY(-7px)}}@keyframes cabinet-orbit-a{to{transform:rotate(360deg) rotateX(64deg)}}@keyframes cabinet-orbit-b{to{transform:rotate(420deg) rotateX(64deg)}}@keyframes cabinet-orbit-c{to{transform:rotate(480deg) rotateX(64deg)}}
@media(max-width:1000px){.cabinet-screen .section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cabinet-screen .wide{padding:0 20px}.cabinet-art{right:20px;width:180px;height:180px;top:45px}.cabinet-nucleus{inset:62px}.cabinet-hero-copy{max-width:73%}.cabinet-hero h1{font-size:31px}}
@media(max-width:600px){.cabinet-screen .topbar{padding:14px 18px;gap:12px}.cabinet-screen .brand{font-size:19px}.cabinet-screen .brand-icon{font-size:25px}.cabinet-screen .topbar nav{gap:14px}.cabinet-screen .topbar nav a,.cabinet-screen .nav-button{font-size:11px}.cabinet-screen .wide{margin:18px auto 30px;padding:0 15px}.cabinet-hero{padding:25px 23px;border-radius:22px;min-height:270px}.cabinet-hero-copy{max-width:100%}.cabinet-hero .eyebrow{font-size:8px;letter-spacing:1.2px;max-width:70%;display:block;line-height:1.6}.cabinet-hero h1{font-size:27px;margin-top:16px;max-width:82%}.cabinet-hero p{font-size:11px;max-width:80%}.cabinet-art{right:-38px;top:-3px;width:150px;height:150px;opacity:.32;transform:rotate(-14deg)}.cabinet-nucleus{inset:53px}.floating-symbol{display:none}.cabinet-hero .profile-country{font-size:10px;gap:7px;margin-bottom:19px}.profile-location,.profile-email{padding:5px 8px;min-height:29px}.profile-location img{width:23px;height:16px}.hero-study{font-size:11px;padding:9px 13px;gap:20px;min-height:36px}.cabinet-screen .stats-grid{gap:8px;margin:15px 0 25px}.cabinet-screen .stats-grid article{padding:15px 10px;border-radius:14px;gap:10px;min-height:113px;justify-content:space-between}.cabinet-screen .stats-grid span{font-size:9px;line-height:1.5}.cabinet-screen .stats-grid strong{font-size:23px;white-space:nowrap;letter-spacing:-.6px}.cabinet-screen .stats-grid article::after{width:60px;height:60px;border-width:8px;right:-18px;bottom:-20px}.cabinet-section-title{align-items:flex-start;margin-bottom:15px}.cabinet-section-title h2{font-size:21px}.cabinet-section-title .eyebrow{font-size:7px;letter-spacing:1px}.learning-badge{font-size:8px;max-width:100px;white-space:normal;text-align:center;padding:6px 9px;line-height:1.5}.cabinet-screen .section-grid{gap:10px}.cabinet-screen .section-card{padding:17px 14px;border-radius:16px;min-height:155px}.cabinet-screen .section-card h3{font-size:12px}.cabinet-screen .section-card p{font-size:10px}.cabinet-screen .section-card::before{width:33px;height:33px;font-size:21px;margin-bottom:15px;border-radius:10px}.cabinet-screen .section-card>span{top:16px;right:14px;font-size:15px}.cabinet-screen .panel{padding:19px 16px;margin-top:23px}.cabinet-screen .panel h2{font-size:18px}.cabinet-screen .panel>.muted{padding:20px 12px;font-size:12px}.cabinet-screen .google-connect{padding:17px;gap:14px}}
@media(max-width:350px){.cabinet-screen .stats-grid strong{font-size:20px}.cabinet-hero h1{font-size:24px}.cabinet-screen .section-card{padding:15px 12px}.cabinet-screen .topbar nav{gap:11px}}
@media(prefers-reduced-motion:reduce){.cabinet-art *{animation:none!important}.cabinet-screen *{transition:none!important}}
