/* Cùng logo, nền trời và ngôn ngữ giao diện với trang học chính. */
.grade-stars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px 4px;letter-spacing:0!important}.keypad button:nth-child(10){background:#e9ecf4;border-color:#bdc5d5}
:root{--ink:#17305c;--muted:#647598;--teal:#2689ff;--line:#d9e7f5;--mint:#eaf6ff}
html{font-family:Inter,ui-rounded,"Segoe UI",Arial,sans-serif;background:#aee9ff}
body{font-family:Inter,ui-rounded,"Segoe UI",Arial,sans-serif;background:radial-gradient(ellipse at 8% 10%,#ffffffc9 0 3%,transparent 3.2%),radial-gradient(ellipse at 90% 18%,#ffffffb8 0 4%,transparent 4.2%),linear-gradient(180deg,#67cbff 0,#c9efff 42%,#dff7cf 75%,#8ee265 100%);background-attachment:fixed}
.pc-header{height:auto;min-height:110px;max-width:1320px;padding:12px 22px;background:linear-gradient(#5bc6ffeb,#53bef8eb);border-bottom:4px solid #ffffffb3;border-radius:0 0 26px 26px;box-shadow:0 10px 24px #20669724}
.brand{display:block;max-width:460px;width:44%;line-height:0}.brand img{display:block;width:100%;border-radius:20px}.pc-header nav{gap:15px;font-size:15px;font-weight:800}.pc-header nav a,.header-pill{display:block;background:linear-gradient(#fff,#f4faff);border:3px solid #dceeff;border-radius:20px;padding:17px 20px;box-shadow:0 5px 0 #b3d8ef;color:#2b6090}.header-pill{background:linear-gradient(#ffc83b,#ff9d16);border-color:#fff3b4;color:white;box-shadow:0 5px 0 #dc7b0d}
main{max-width:1280px;padding:0 24px}.hero{padding:28px 30px;margin:25px 0 28px;background:linear-gradient(115deg,#fffdf4,#f3fbff);border:5px solid white;border-radius:30px;box-shadow:0 8px 0 #ca9d63,0 18px 30px #385a8e24;gap:35px}.eyebrow{display:inline-block;font-size:12px;font-weight:900;letter-spacing:0;color:#8e6600;background:#ffe49a;border:2px solid #fff7c5;border-radius:100px;padding:8px 13px;margin-bottom:15px}h1{font-size:39px;letter-spacing:-1px;line-height:1.25;color:#17305c}h1 span{color:#ee4388}.intro{font-size:15px;line-height:1.65}.hero-tags{font-size:11px;color:#446b97}.hero-tags span{background:#eaf6ff;padding:7px 10px;border-radius:30px;font-weight:700}
.rhythm{transform:none;background:linear-gradient(#fff2ab,#ffe077);border:4px solid #fff7c7;border-radius:26px;box-shadow:0 7px 0 #edb240;padding:24px}.rhythm-top{font-size:13px;letter-spacing:0;color:#9a6700;font-weight:900}.rhythm-numbers b{color:#7c42ca;font-size:68px;text-shadow:0 3px white}.rhythm-numbers small{font-size:13px;color:#87602c;font-weight:800}.rhythm-numbers>span{color:#e49428;font-size:34px}.rhythm-bottom{border-color:#e7b44f;color:#86612f;font-size:12px;font-weight:700}
.settings-card,.preview-card,.download-card{border:4px solid white;border-radius:28px;box-shadow:0 8px 0 #b5d3e5,0 16px 30px #385a8e24;background:linear-gradient(#fff,#fffcf3)}.settings-card{padding:26px}.section-title{gap:12px}.step{width:44px;height:44px;border:3px solid #fff5b7;border-radius:16px;color:white;background:linear-gradient(#ffcf42,#ff9a1c);box-shadow:0 4px 0 #d77d17;font-size:22px;font-weight:900}h2{font-size:23px;font-weight:900;color:#234d82}.section-title p,.download-card p{font-size:13px;color:#647598}.label,legend{font-size:15px;font-weight:800;color:#375a86}.label>input,.unit-input{background:#f6fbff;border:2px solid #cfe5f7;border-radius:15px}.label>input,.unit-input input{font-size:18px;font-weight:700;color:#244d82}.unit-input span{font-size:12px}.segmented{gap:10px}.segmented span{padding:14px 6px;font-size:12px;font-weight:800;border:3px solid #dce8f3;border-radius:17px;background:linear-gradient(#fff,#f3f9ff);box-shadow:0 4px 0 #d3e0ed}.segmented input:checked+span{border-color:#f6ba39;background:linear-gradient(#fff6d4,#ffedb3);color:#8e5900;box-shadow:0 4px 0 #e8b64d}
.mode-options{gap:12px}.mode-options label{background:linear-gradient(#fff,#f3f9ff);border:3px solid #dce8f3;border-radius:17px;padding:14px 10px;font-size:13px;font-weight:800;box-shadow:0 4px 0 #d3e0ed}.mode-options label:has(input:checked){background:#fff5cf;border-color:#f2bd45;box-shadow:0 4px 0 #e8b64d}.mode-options input{accent-color:#f5a21a;width:20px;height:20px}.field-note{font-size:12px!important;color:#647598}.save-note{font-size:12px;background:#edf9e6;border:2px solid #c8eab3;border-radius:18px;padding:15px}.save-note b{color:#377733;font-weight:800}.button{border:3px solid #ffe997;border-radius:19px;background:linear-gradient(#ffbe31,#ff8e19);font-size:16px;font-weight:900;box-shadow:0 6px 0 #d87912,0 10px 20px #b266001a;min-height:56px;color:white;padding:14px 20px}.button:hover{background:linear-gradient(#ffcf55,#ffa128)}.button.secondary{background:linear-gradient(#4a9cff,#1f73e9);border-color:#acd9ff;box-shadow:0 6px 0 #155dbf;color:white}.download-card .button{background:linear-gradient(#54b4ff,#2085ec);border-color:#b9e6ff;box-shadow:0 6px 0 #1666b8}.preview-card{background:linear-gradient(#fffcf3,#f1fcff);box-shadow:0 8px 0 #d0ac7e,0 16px 30px #385a8e24}.preview-heading{background:linear-gradient(#ffe382,#ffd05a);border-bottom:3px solid #e6af40;color:#8b5c12;font-size:12px;letter-spacing:0;font-weight:900}.live-dot{background:#ef438a;width:9px;height:9px}.small-pill{color:#7c4cbc;background:#f5eaff;border:2px solid #e0c8ff;font-weight:800;font-size:11px}.preview-body{padding:20px 20px 28px}.cloud-icon{font-size:68px;color:#ffbf24;text-shadow:0 4px 0 #e2a44b}.preview-body h2{font-size:28px}.preview-body p{font-size:14px;line-height:1.65}.preview-body small{font-size:11px;color:#6f83a4}.preview-footer{font-size:12px;background:#e8f6ff;border-top:2px solid #d2e9f6;font-weight:700;color:#527399}.honest-note{background:#f3fbffeb;padding:18px;border:3px solid white;border-radius:22px;font-size:12px;color:#5b7194}.honest-note b{color:#2b6090}.how{background:#fffffff0;border:4px solid white;border-radius:28px;padding:25px;margin:32px 0 25px;box-shadow:0 8px 0 #b6d9b3}.how-grid article>span{color:#9b60d4;background:#f0e5ff;border-radius:10px;padding:5px;font-size:13px;font-weight:900}.how h3{font-size:16px}.how p{font-size:13px}.how-grid article{padding-left:44px}footer{font-size:12px;color:#386738;border-top:2px solid #ffffffa8;font-weight:700}
dialog{border:5px solid white;border-radius:30px;background:linear-gradient(#fffdf4,#f1fbff);box-shadow:0 8px 0 #cfab7e,0 30px 100px #17305c66}.lesson-top{background:linear-gradient(#5bc6ff,#8fdaff);border-bottom:3px solid #d8f4ff;color:#25558a;font-size:12px;font-weight:900}.lesson-logo{display:block;width:240px;max-width:55%;border-radius:12px}.text-button{font-weight:800;background:#fff4d1;color:#8b5b00}.lesson-stats{margin:12px 0}.lesson-dot{background:#d8e8f6;width:12px;height:12px;border:2px solid white;box-shadow:0 2px 0 #bfd3e3}.lesson-dot.on{background:#ffba24}.lesson-board{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:start;gap:20px}.lesson-title{font-size:20px;line-height:1.45;color:#45648f;margin:12px 0}.lesson-grade{margin:12px 0 10px;background:linear-gradient(#fffafa,#fff0f5);border:4px solid #ffd1dc;box-shadow:0 7px 0 #ed9cb1;border-radius:26px;padding:18px 15px;color:#ab5265;font-size:13px;font-weight:800}.grade-paper{display:flex;align-items:baseline;justify-content:center;background:white;border:3px solid #f2d9d2;box-shadow:0 4px 10px #bd8f7922;border-radius:19px;margin:10px 4px;padding:16px 5px;transform:rotate(-2deg)}.grade-paper strong{font-size:54px;line-height:1;color:#f4264f}.grade-paper span{font-size:20px;color:#87677c}.grade-stars{color:#d3d3d3;font-size:19px;line-height:1.6;letter-spacing:4px}.grade-stars .on{color:#ffb926}.lesson-grade small{display:block;font-size:10px;margin-top:8px}.feedback{color:#568252}.keypad button{font-family:Inter,ui-rounded,"Segoe UI",Arial,sans-serif}.lesson-complete>span{color:#ffc329;text-shadow:0 4px 0 #e4a33d}
@media(max-width:850px){.pc-header{min-height:86px;padding:10px 14px}.brand{width:54%}.pc-header nav{font-size:12px;gap:8px}.pc-header nav a{padding:12px;border-radius:15px}.hero{padding:22px;gap:22px;margin-top:18px}h1{font-size:36px}.hero-tags{font-size:11px}.settings-card{padding:22px}.how-grid{gap:22px}.lesson-board{grid-template-columns:minmax(0,1fr) 155px;gap:12px}.lesson-grade{padding:12px 8px}.grade-paper strong{font-size:42px}}
@media(max-width:480px){main{padding:0 12px}.pc-header{border-radius:0 0 20px 20px;flex-wrap:wrap;gap:8px;justify-content:center}.brand{width:100%;max-width:400px}.pc-header nav{width:100%;justify-content:center}.pc-header nav a{font-size:12px;padding:10px 12px}.header-pill{font-size:12px;padding:10px 12px}.hero{padding:18px;border-radius:24px}h1{font-size:32px}.eyebrow{font-size:11px}.hero-tags{gap:8px}.hero-tags span{padding:6px 8px}.intro{font-size:14px}.rhythm{padding:18px}.settings-card{padding:18px}.section-title h2{font-size:21px}.label,legend{font-size:13px}.segmented span{font-size:11px;padding:12px 4px}.mode-options label{font-size:11px;padding:12px 8px}.mode-options input{width:17px;height:17px}.button{font-size:14px}.lesson-board{grid-template-columns:1fr}.lesson-grade{display:none}.lesson-title{font-size:17px}.question-zone{min-height:210px}.download-card{padding:18px;gap:12px}.download-card h2{font-size:21px}.preview-footer{font-size:11px}.how{padding:18px}.how h3{font-size:15px}footer{font-size:11px}.lesson-top{padding:10px 12px}}
