/* Reference mobile shell. Scoped to authenticated app; education/auth rules unchanged. */
.student-ui{--student-bg:#020d2b;--student-surface:#0d2053;--student-border:#234692;--student-blue:#3165ff;--student-muted:#b9c9ef;--student-green:#2edb89;--bg:var(--student-bg);--surface:var(--student-surface);--ink:#f8f9ff;--muted:var(--student-muted);--line:var(--student-border);--accent:#487bff;--display:"Manrope",system-ui,sans-serif;--body:"Manrope",system-ui,sans-serif;background:radial-gradient(ellipse at 50% 0,#06163d,#020b22 70%);color:var(--ink);font-family:"Manrope",system-ui,sans-serif;min-height:100dvh}
.student-ui .wrap{max-width:980px;padding:20px 18px calc(110px + env(safe-area-inset-bottom));margin:auto}.student-ui .pageline{display:none}.student-ui button,.student-ui a{-webkit-tap-highlight-color:transparent}.student-ui button:focus-visible,.student-ui a:focus-visible{outline:3px solid #9ac4ff;outline-offset:3px}.student-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 4px 20px}.student-ui .brand{display:flex;align-items:center;gap:10px;min-width:0}.student-ui .brand .logo{width:48px;height:48px;flex-shrink:0;border:1px solid #2245ad;border-radius:50%}.student-ui .brand h1{font-family:"Manrope",system-ui,sans-serif;font-size:20px;line-height:1.25;white-space:nowrap;margin:0;letter-spacing:-.4px}.student-ui .brand h1 span{color:#a8b9ee}.student-ui .brand small{display:flex;align-items:center;gap:5px;color:#d6dfff;font-size:11px;margin-top:7px;white-space:nowrap}.student-ui .mflag{width:17px;height:11px;border-radius:1px}.menu-toggle,.student-menu header>button{width:46px;height:46px;border-radius:50%;border:1px solid #2b49a3;color:#fff;background:radial-gradient(circle at 40% 30%,#132e83,#07163c);flex-shrink:0;display:grid;place-items:center}.menu-toggle .ic{width:26px;height:26px}.student-dashboard{display:grid;gap:12px}.welcome{position:relative;height:153px;overflow:hidden;border:1px solid var(--student-border);border-radius:18px;padding:16px;background:linear-gradient(180deg,rgba(2,17,65,.9),rgba(3,21,66,.35) 46%,transparent),url('/img/berlin-dashboard.jpg') center bottom/cover no-repeat}.student-dashboard h2{font:700 17px/1.25 "Manrope",system-ui,sans-serif;letter-spacing:-.4px;margin:0}.welcome h2{font-size:20px}.welcome p{font-size:12px;margin:7px 0;color:#e4eaff}.location{position:absolute;bottom:10px;left:15px;display:flex;align-items:center;gap:5px;background:#020b22dc;border-radius:20px;padding:7px 10px;font-size:12px}.location .ic{width:15px;height:15px}.level-path{display:flex;justify-content:space-between;position:relative;padding:4px 0 8px;isolation:isolate}.level-path:before{content:'';position:absolute;z-index:-1;top:33px;left:10%;right:10%;border-top:3px dashed #3152bc}.level-path button{width:24%;display:flex;align-items:center;flex-direction:column;border:0;color:#f6f7ff;background:none;padding:0;gap:5px}.level-path b{display:grid;place-items:center;width:49px;height:49px;background:linear-gradient(135deg,#10275c,#061339);border:1px solid #23458e;border-radius:50%;font-size:22px;color:#aabafa;margin:5px 0}.level-path .active b{color:#fff;background:linear-gradient(135deg,#507dff,#214cff);box-shadow:0 0 0 6px #102b93,0 0 0 7px #2848ae}.level-path span{font-size:14px}.level-path small{max-width:85px;font-size:13px;line-height:1.4;text-align:center}.continue-card,.daily-card,.recent-card{border:1px solid var(--student-border);border-radius:18px;padding:13px 12px;background:linear-gradient(120deg,#0d256a,#0b1b4b 70%,#102560)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}.section-title button{display:flex;align-items:center;gap:5px;background:none;border:0;color:#b7ccff;padding:0;font-size:12px;white-space:nowrap}.section-title button .ic{width:15px;height:15px}.continue-card .section-title button{background:linear-gradient(#477cff,#234fff);border:1px solid #5c83ff;color:#fff;border-radius:22px;padding:6px 9px}.continue-body{display:flex;gap:0}.lesson-art{display:grid;place-items:center;width:84px;flex-shrink:0;height:88px;border:1px solid #214ab8;border-radius:15px;background:radial-gradient(ellipse,#2441bb,#061342)}.lesson-art .ic{width:52px;height:61px;transform:rotate(14deg);color:#d5e6ff;filter:drop-shadow(0 4px 3px #4265ff);stroke-width:1.5}.continue-info{flex:1;min-width:0;border:1px solid #214393;border-radius:15px;padding:10px 12px}.continue-info>small{color:#a3bcff;font-size:11px;display:block}.continue-info>b{font-size:15px;line-height:1.25;display:block;min-height:30px}.lesson-progress{display:flex;align-items:center;gap:12px;font-size:13px;margin-top:8px}.lesson-progress progress{width:100%;height:9px;border:0;border-radius:10px;overflow:hidden;background:#132d77}.lesson-progress progress::-webkit-progress-bar{background:#132d77}.lesson-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#20b44d,#36da91);border-radius:10px}.lesson-progress progress::-moz-progress-bar{background:#2edb89}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-card{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;min-height:92px;border:1px solid var(--student-border);border-radius:18px;padding:13px 8px;color:#fff;background:linear-gradient(120deg,#102766,#101e4c)}.feature-icon{width:55px;height:58px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 40% 30%,#1d82a3,#113863);color:#40efa2}.feature-icon .ic{width:35px;height:35px;filter:drop-shadow(0 3px 2px #020b35)}.simulation .feature-icon,.dtz .feature-icon{background:radial-gradient(circle at 40% 30%,#3940ca,#17176a);color:#d5caff}.mentor .feature-icon{background:radial-gradient(circle at 40% 30%,#2a57bc,#102051);color:#b4dcff}.feature-card>span:last-child{min-width:0}.feature-card b{display:block;font-size:15px;letter-spacing:-.4px;white-space:nowrap}.feature-card small{display:block;color:#d0dcff;font-size:12px;margin:8px 0 4px;white-space:nowrap}.feature-card>span>.ic{width:18px;height:18px}.daily-card{position:relative;min-height:92px;padding:14px}.daily-card h2{font-size:16px}.daily-card>b{display:inline-block;color:var(--student-green);font-size:27px;margin-top:20px}.daily-card p{display:inline;font-size:11px;margin-left:14px;color:#d6e0ff}.daily-card>small{display:block;font-size:10px;color:#a5b9e5;margin-top:4px}.daily-checks{position:absolute;top:25px;right:90px;display:flex;gap:12px}.daily-checks span{width:17px;height:17px;display:grid;place-items:center;border:1px solid #556b9d;border-radius:50%;color:#7587b2}.daily-checks .complete,.result-check.passed{background:#24ce78;border:1px solid #b1ffd1;color:#fff}.daily-checks .ic{width:12px;height:12px}.gift{position:absolute;right:10px;top:6px;width:58px;height:58px;display:grid;place-items:center;font-size:35px;border-radius:16px;background:radial-gradient(#6d7deb,#183caa);box-shadow:inset 0 0 14px #5a72dc}.recent-card{background:linear-gradient(120deg,#081a48,#020e2e)}.recent-card h2{font-size:16px}.result-row{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:13px}.result-row>span:nth-child(2){flex:1;min-width:0}.result-row>b{font-weight:400;white-space:nowrap}.result-check{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#20396c;flex-shrink:0}.result-check .ic{width:13px;height:13px}.result-empty{font-size:13px;color:var(--student-muted);line-height:1.6;margin:8px 0}.bottom-nav{position:fixed;z-index:40;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 24px);max-width:620px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:5px;border:1px solid #6482d9;border-radius:25px;background:linear-gradient(120deg,#10265dF5,#0b1742FA);box-shadow:inset 0 0 0 2px #1e3470,0 8px 24px #0008;backdrop-filter:blur(16px)}.bottom-nav button{min-width:0;min-height:72px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:0;border-radius:20px;background:none;color:#cedaff;font-size:12px}.bottom-nav .ic{width:25px;height:25px;stroke-width:1.7}.bottom-nav button[aria-current]{background:linear-gradient(150deg,#0e36bf,#071d9c);color:#fff;box-shadow:inset 0 1px 0 #3c64e6}.bottom-nav button[aria-current] .ic{color:#5896ff}.menu-open{overflow:hidden}.student-menu{--ink:#f8f9ff;--muted:#b9c9ef;--surface:#0d2053;--line:#234692;position:fixed;inset:0;margin:0 auto;width:100%;max-width:470px;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:calc(25px + env(safe-area-inset-top)) 20px calc(25px + env(safe-area-inset-bottom));background:radial-gradient(ellipse at 100% 60%,#0c1c48,#020e2b 75%);color:#fff;overflow-y:auto;overscroll-behavior:contain}.student-menu::backdrop{background:#01091ee8}.student-menu header{display:flex;align-items:center;justify-content:space-between;gap:6px}.student-menu .brand .logo{width:39px;height:39px}.student-menu .brand h1{font-size:18px}.student-menu .brand small{display:none}.student-menu header>button{width:39px;height:39px}.drawer-tagline{font-size:12px;color:#d4dfff;margin:8px 5px 18px}.drawer-profile{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;color:#fff;text-align:left;padding:0 5px 14px}.student-avatar{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;border:2px solid #9fb5ff;outline:1px solid #3155bc;outline-offset:2px;background:#23467a;font-weight:bold;flex-shrink:0;overflow:hidden}.student-avatar img{width:100%;height:100%;object-fit:cover}.drawer-profile>span:nth-child(2){flex:1;min-width:0}.drawer-profile b{display:block;font-size:15px;overflow-wrap:anywhere}.drawer-profile small{display:table;font-size:12px;color:#bcd0ff;padding:3px 10px;border:1px solid #294b9d;border-radius:15px;margin-top:7px}.drawer-profile>.ic{width:18px;height:18px}.drawer-links{border:1px solid #1e3978;border-radius:18px;background:linear-gradient(120deg,#0b1a48aa,#0b174199);padding:0 14px}.drawer-links>div+div{border-top:1px solid #30467d}.drawer-links>div{padding:7px 0}.drawer-links button,.drawer-links a{display:flex;align-items:center;text-align:left;gap:16px;width:100%;padding:7px 0;background:none;border:0;color:#fff;text-decoration:none;min-height:51px}.drawer-icon{display:grid;place-items:center;width:42px;height:42px;background:linear-gradient(130deg,#102f7a,#132055);border:1px solid #1a367b;border-radius:14px;color:#a8c1ff;flex-shrink:0}.drawer-icon .ic{width:25px;height:25px}.drawer-links button>span:nth-child(2),.drawer-links a>span:nth-child(2){flex:1;min-width:0}.drawer-links b{display:block;font-size:15px;font-weight:400}.drawer-links small{display:block;font-size:12px;margin-top:5px;color:#bacaf3}.drawer-links button>.ic,.drawer-links a>.ic{width:17px;height:17px;color:#bdccff}.travel-banner{position:relative;isolation:isolate;overflow:hidden;text-align:center;border:1px solid #2846a0;border-radius:24px;background:radial-gradient(ellipse at 8% 5%,#416ff0,transparent 50%),linear-gradient(130deg,#132a7d,#001040 70%);padding:22px 18px 24px;margin:16px 3px 0;min-height:150px}.travel-route{display:flex;align-items:center;justify-content:space-around;gap:10px;font-size:39px;transform:rotate(-5deg);margin-bottom:18px}.travel-route i{flex:1;border-top:3px dashed #698ffe}.travel-banner b{position:relative;font-size:17px;line-height:1.5;display:block;transform:rotate(-5deg)}.travel-banner:before,.travel-banner:after{content:'';position:absolute;z-index:-1;width:130px;height:70px;border-radius:50%;background:radial-gradient(ellipse at top,#d7e7ff,#5d8ef0 60%,#163576);filter:blur(2px);bottom:-33px;box-shadow:25px -15px 0 -5px #76a0ee,-20px -35px 0 -12px #accaff}.travel-banner:before{left:-35px}.travel-banner:after{right:-35px}.drawer-tools{margin-top:16px}.student-ui .foot{font-size:11px}.student-ui .bar{bottom:98px}.student-ui #student-content{min-width:0}
@media(min-width:700px){.student-dashboard{max-width:430px;margin:auto}.student-header{max-width:680px;margin:auto;padding-bottom:25px}.student-menu{border-left:1px solid #284681;border-right:1px solid #284681}.student-ui .foot{max-width:680px;margin:30px auto 0}}
@media(max-width:380px){.student-ui .wrap{padding-left:12px;padding-right:12px}.student-ui .brand h1{font-size:18px}.student-ui .brand .logo{width:40px;height:40px}.student-ui .brand small{font-size:10px;gap:4px}.feature-card{gap:7px}.feature-icon{width:46px;height:50px}.feature-card b{font-size:14px}.feature-card small{font-size:11px}.student-dashboard h2{font-size:16px}.welcome h2{font-size:19px}.daily-card p{margin-left:8px;font-size:10px}.daily-checks{gap:9px;right:77px}.student-menu{padding-left:16px;padding-right:16px}}

.student-ui .brand h1 span{font-family:inherit;font-size:inherit;font-weight:700;margin-left:0;letter-spacing:inherit}

/* One navigation surface: edge drawer below 1100px, integrated sidebar above it. */
.student-menu{inset:0 auto 0 0;margin:0;width:min(390px,calc(100% - 28px));max-width:none;box-sizing:border-box;background:var(--student-bg,#020d2b);padding:calc(20px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));box-shadow:10px 0 32px #0004}
.student-menu::backdrop{background:#020b227a}
.drawer-links{background:none;border:0;padding:0}
.drawer-links button,.drawer-links a{border-radius:10px;padding:8px;gap:10px;min-height:48px}
.drawer-links [aria-current="page"]{background:#224b9b66;box-shadow:inset 3px 0 var(--student-blue,#3165ff)}
.drawer-links button:hover,.drawer-links a:hover{background:#23469244}
.drawer-links b{font-size:14px;line-height:1.4;font-weight:600}
.drawer-links small{font-size:11px;line-height:1.4;margin-top:2px}
.drawer-icon{width:36px;height:36px;border-radius:10px;background:#17377166}
.drawer-icon .ic{width:21px;height:21px}
.travel-banner{min-height:0;padding:12px;margin:14px 0;border-radius:14px;background:#10265d}
.travel-route{font-size:22px;margin-bottom:10px;transform:none}
.travel-banner b{font-size:12px;transform:none;font-weight:500}
.travel-banner:before,.travel-banner:after{display:none}
.student-ui #student-content{overflow-wrap:anywhere}
.learning-destinations{display:grid;gap:12px;margin:20px 0}
.learning-destination{display:flex;align-items:center;gap:14px;width:100%;text-align:left;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;min-width:0}
.learning-destination:hover{border-color:var(--accent)}
.learning-destination>span:nth-child(2){flex:1;min-width:0}
.learning-destination b{display:block;font-size:17px;line-height:1.5}
.learning-destination span>span{display:block;font-size:13px;color:var(--muted);line-height:1.6;margin-top:4px}
.learning-destination small{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:10px}
.learning-destination>.ic{width:18px;flex-shrink:0}
.learning-destination progress{display:block;width:100%;height:5px;margin-top:8px;accent-color:var(--student-blue)}
.learning-section-title{margin:12px 0 20px;font:700 22px/1.5 var(--body)}
.student-ui .stops{display:grid;gap:12px;margin:16px 0 24px}
.student-ui .stops:before,.student-ui .stop .pin{display:none}
.student-ui .stop{display:block;margin:0;padding:0}
.student-ui .stop .card{border-radius:14px;padding:16px 18px}
.student-ui .stop .de{font:600 16px/1.6 var(--body);white-space:normal;overflow:visible;overflow-wrap:anywhere}
.student-ui .stop .uz{line-height:1.6;margin-top:3px}
.student-ui .stop .num{display:block;margin-bottom:5px;font:600 12px/1.5 var(--body);color:var(--accent)}
.student-ui .stop .badges{position:static;margin:7px 8px 0;display:flex;flex-wrap:wrap;gap:8px}
.document-services{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}
.document-services h2{font:700 18px/1.5 var(--body);margin:0}
.document-services p{font-size:13px;color:var(--muted);line-height:1.6}
.document-services>div{display:grid;gap:10px}
.document-services a{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);background:var(--surface);min-width:0}
.document-services a>span{flex:1;min-width:0}
.document-services b{display:block;font-size:14px;line-height:1.5}
.document-services small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:3px}
.document-services .ic{width:20px;height:20px;flex-shrink:0;color:var(--accent)}
@media(min-width:700px){
 .student-dashboard{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .student-dashboard>.welcome,.student-dashboard>.level-path,.student-dashboard>.continue-card,.student-dashboard>[data-campaign]{grid-column:1/-1}
 .student-dashboard .welcome{height:180px}
 .student-dashboard>.feature-grid{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
 .student-dashboard>.recent-card{grid-column:1/-1}
 .student-header{max-width:none}
 .learning-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}
 .document-services>div{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1100px){
 .student-ui{--sidebar-width:272px}
 .student-ui .wrap{box-sizing:border-box;width:calc(100% - var(--sidebar-width));max-width:1168px;margin:0 auto 0 calc(var(--sidebar-width) + (100% - var(--sidebar-width) - min(100% - var(--sidebar-width),1168px))/2);padding:24px 36px 48px}
 .student-menu[open]{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;border:0;border-right:1px solid var(--line);box-shadow:none;padding:24px 12px;z-index:35}
 .student-menu .brand h1{font-size:16px;white-space:normal}
 .student-menu .brand .logo{width:36px;height:36px}
 .student-menu header{padding:0 6px}
 .menu-toggle,.student-menu header>[data-menu-close],.bottom-nav{display:none}
 .student-menu .drawer-tagline{font-size:11px;line-height:1.5;margin:12px 6px 18px}
 .drawer-profile{padding:10px 6px 18px;gap:10px}
 .student-avatar{width:38px;height:38px}
 .drawer-profile b{font-size:12px}
 .drawer-profile small{font-size:10px;margin-top:4px;padding:2px 7px}
 .student-ui .student-header{padding:0 0 24px}
 .student-ui .bar{bottom:0}
 .student-ui .foot{max-width:none;margin:32px 0 0}
 .student-ui .scene{max-height:160px}
}
/* Use the same token palette for the new surfaces and existing subscription UI. */
[data-theme="light"] .student-ui{--student-bg:#f4f6fb;--student-surface:#fff;--student-border:#cbd6e8;--student-muted:#485d7b;--student-blue:#2457d6;--bg:#f4f6fb;--surface:#fff;--ink:#172b4d;--muted:#485d7b;--line:#cbd6e8;--accent:#2457d6;background:#f4f6fb;color:var(--ink)}
[data-theme="light"] .student-menu{--ink:#172b4d;--muted:#485d7b;--surface:#fff;--line:#cbd6e8;color:var(--ink);background:#f4f6fb}
[data-theme="light"] .student-ui .brand h1 span{color:#50648b}
[data-theme="light"] .student-ui .brand small,[data-theme="light"] .drawer-tagline,[data-theme="light"] .drawer-links small{color:#485d7b}
[data-theme="light"] .drawer-links button,[data-theme="light"] .drawer-links a,[data-theme="light"] .drawer-profile{color:#172b4d}
[data-theme="light"] .drawer-links [aria-current="page"]{background:#e0eaff}
[data-theme="light"] .drawer-links button:hover,[data-theme="light"] .drawer-links a:hover{background:#e5ebf6}
[data-theme="light"] .drawer-links>div+div{border-color:#cbd6e8}
[data-theme="light"] .drawer-icon{color:#2457d6;background:#e3ebfa;border-color:#cbd6e8}
[data-theme="light"] .drawer-profile small{color:#2457d6;border-color:#b9cae8}
[data-theme="light"] .student-ui .level-path button{color:#172b4d}
[data-theme="light"] .student-ui .level-path b{background:#e4ecfc;color:#2457d6;border-color:#b9cae8}
[data-theme="light"] .student-ui .level-path .active b{background:#2457d6;color:white}
[data-theme="light"] .continue-card,[data-theme="light"] .recent-card,[data-theme="light"] .daily-card,[data-theme="light"] .feature-card{background:#fff;color:#172b4d}
[data-theme="light"] .continue-info,[data-theme="light"] .lesson-art{border-color:#cbd6e8}
[data-theme="light"] .feature-card small,[data-theme="light"] .daily-card p,[data-theme="light"] .daily-card>small,[data-theme="light"] .result-empty,[data-theme="light"] .section-title button{color:#485d7b}
[data-theme="light"] .continue-card .section-title button{color:white}
@media(prefers-reduced-motion:reduce){.student-ui *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:699px){.student-header .brand h1{font-size:clamp(15px,4.5vw,20px);white-space:normal}.student-header .brand small{font-size:10px;white-space:normal;flex-wrap:wrap}.student-header .brand .logo{width:40px;height:40px}.student-header{gap:8px;padding-inline:0}.student-ui .lvhead{flex-wrap:wrap}.student-ui .line .st{min-width:0}.student-ui .line .st>span{font-size:11px;white-space:normal}}
.student-menu .brand h1{white-space:normal}
.student-menu .brand>div{min-width:0}
.student-ui .feature-card b,.student-ui .feature-card small{white-space:normal;overflow-wrap:anywhere}

/* Same account-gender avatar as the profile panel and navigation drawer. */
.dashboard-avatar{float:right;display:grid;place-items:center;width:48px;height:48px;margin:0 0 8px 8px;border-radius:50%;overflow:hidden;background:var(--student-surface,var(--surface));color:var(--ink);font-weight:700}
.dashboard-avatar img{display:block;width:100%;height:100%;object-fit:cover}
/* «Kunning so‘zi» (Instagram reellari bilan bir xil so'z). Artikl ranglari reellardagidek: der — ko'k, die — qizil, das — yashil */
.daily-word{margin-top:28px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:grid;gap:10px;min-width:0}
.dwd-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dwd-badge{font:700 11px/1 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.dwd-say{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.dwd-say:focus-visible,.dwd-ig:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.daily-word h2{margin:0;font:800 clamp(26px,6vw,34px)/1.15 var(--display);overflow-wrap:anywhere}
.dwd-art{display:inline-block;font-size:.6em;vertical-align:.2em;padding:3px 10px 5px;border-radius:8px;color:#fff}
.dwd-der{background:#2563eb}.dwd-die{background:#e11d48}.dwd-das{background:#15803d}
.dwd-mean{margin:0;font-size:15px;font-weight:600}
.dwd-ex{margin:0;display:grid;gap:2px;font-size:14px;line-height:1.5}
.dwd-ex span{color:var(--muted);font-size:13px}
.dwd-ig{display:flex;align-items:center;gap:10px;margin-top:4px;padding-top:12px;border-top:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
.dwd-ig .ic{width:20px;height:20px;flex:none}
/* O'zbek yozuvi tanlagichi: O‘z (lotin) | Ўз (kirill) */
.script-toggle{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:2px;gap:2px;flex:none}
.script-toggle button{min-width:34px;height:28px;padding:0 8px;border:0;border-radius:999px;background:transparent;color:var(--muted);font:700 12px/1 var(--body);cursor:pointer}
.script-toggle button[aria-pressed="true"]{background:var(--accent);color:#fff}
.script-toggle button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.script-fix{position:fixed;top:calc(14px + env(safe-area-inset-top,0px));right:calc(64px + env(safe-area-inset-right,0px));z-index:30;background:var(--surface)}
.script-wide button{min-width:64px;height:34px;font-size:13px}
.pscript{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}
.pscript .plabel{margin:0;flex:1 1 220px}
@media (max-width:600px){.dw-actions .script-toggle{display:none}} /* telefonda — menyuda va profilda */
.drawer-tools .script-drawer{margin-right:8px}
/* Ro'yxatdan o'tish sahifasining o'z til tanlovi yuqori o'ngda — yozuv tanlagichi qorong'i/yorqin tugmasi ostiga tushadi */
body:has(.registration-page) .script-fix{top:calc(120px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px))}
html[data-script="cyrl"] .subscription-plan>.btn{max-width:150px;white-space:nowrap} /* kirill harflari kengroq: «Танланган» bir qatorda */
/* Admin · Sertifikatlar */
.acert-tools{display:grid;gap:10px;margin:12px 0}
.acert-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.acert{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:12px;min-width:0}
.acert-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.acert-who{flex:1 1 200px;min-width:0}
.acert-who b{display:block;overflow-wrap:anywhere}
.acert-who small{display:block;color:var(--muted);font-size:12px;margin-top:2px;overflow-wrap:anywhere}
.acert-act{display:flex;flex-wrap:wrap;gap:6px}
.acert-act .btn{min-height:36px;padding:0 12px;font-size:13px}
.acert .certcv{display:block;width:100%;height:auto;margin-top:12px;border-radius:8px;box-shadow:0 0 0 1px var(--line)}
.acert-more{margin-top:12px}
/* Profil: email'siz akkauntga email qo'shish */
.addemail{margin:12px 0;border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:var(--surface)}
.addemail summary{cursor:pointer;font-weight:700}
.addemail p{font-size:13px;color:var(--muted);margin:8px 0}
.addemail .aform{display:grid;gap:8px;margin-top:6px}
