.lab-content:has(.chem-hero){max-width:none;padding:28px clamp(16px,2.8vw,42px) 42px;background:#f8f7ff}.chem-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(112deg,#5228c7,#8750f3 65%,#5a81f3);border-radius:27px;padding:35px 40px;color:white;box-shadow:0 16px 35px #6037c52a;overflow:hidden;position:relative}.chem-hero:after{content:'';position:absolute;width:360px;height:360px;border:60px solid #ffffff22;border-radius:50%;right:60px;top:-180px}.chem-hero>div{z-index:1}.chem-kicker{font-size:11px;font-weight:800;letter-spacing:1.7px;color:#a68aff}.chem-hero .chem-kicker{color:#e9dcff}.chem-hero h1{font-size:clamp(26px,3vw,41px);line-height:1.25;margin:13px 0}.chem-hero p{font-size:14px;line-height:1.8;color:#f1eaff}.chem-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.chem-tags span{font-size:11px;background:#ffffff2a;border:1px solid #ffffff36;border-radius:99px;padding:8px 13px}.chem-hero-art{font-size:85px;text-align:center;filter:drop-shadow(0 15px 15px #27156566);white-space:nowrap}.chem-hero-art small{display:block;font-size:14px;font-weight:800;color:#f1e8ff}.chem-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:23px 0}.chem-topic{cursor:pointer;text-align:left;display:flex;align-items:center;gap:13px;padding:20px 17px;border:1px solid #e8e1f7;background:white;border-radius:19px;box-shadow:0 8px 24px #35217d0a;font:inherit;color:#281957;transition:.2s}.chem-topic:hover{transform:translateY(-2px);border-color:#ad8cf9}.chem-topic.selected{border:2px solid #8650f6;background:#f5f0ff;box-shadow:0 8px 24px #7a4cdd24}.chem-topic-icon{display:grid;place-items:center;font-size:29px;min-width:54px;height:54px;background:#eee6ff;border-radius:15px}.chem-topic strong{font-size:13px;display:block;line-height:1.5}.chem-topic small{display:block;font-size:11px;color:#81749c;margin-top:6px;line-height:1.5}.chem-topic b{margin-left:auto;color:#7b45ee}.chem-workbench{border-radius:24px;background:white;border:1px solid #e9e3f5;box-shadow:0 12px 36px #38248110;overflow:hidden}.chem-work-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:25px 27px;border-bottom:1px solid #eee8f7}.chem-work-head h2{font-size:23px;margin:8px 0;color:#25164d}.chem-work-head p{color:#82759a;font-size:12px;margin:0}.chem-reset,.chem-note-actions button{cursor:pointer;background:#7541ec;color:white;border:0;border-radius:11px;padding:11px 16px;font-weight:800;font-family:inherit}.chem-body{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:550px}.chem-side{border-right:1px solid #eee8f7;padding:22px 16px;background:#fcfbff}.chem-side h3{font-size:13px;margin:0 8px 16px;color:#30215c}.chem-experiment{width:100%;display:block;text-align:left;padding:14px 13px;margin-bottom:8px;background:transparent;border:1px solid transparent;border-radius:12px;color:#6d6286;font:700 12px inherit;cursor:pointer}.chem-experiment.active{background:#eee6ff;color:#6536d7;border-color:#d9c7ff}.chem-note{background:#f1edff;border-radius:15px;padding:17px;margin-top:24px;color:#584387;font-size:12px;line-height:1.8}.chem-note p{margin:8px 0 0}.chem-stage{padding:24px;min-width:0}.chem-stage-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#82739c;margin-bottom:14px}.chem-live{color:#199a7b;font-weight:800}.chem-visual{background:radial-gradient(circle at 50% 20%,#fff,#f7f4ff 70%);border:1px solid #ece5f8;border-radius:20px;min-height:270px;display:flex;align-items:center;justify-content:center;padding:18px;overflow:hidden}.chem-visual svg{width:100%;max-width:640px;height:270px}.chem-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.chem-control{border:1px solid #eee8f7;border-radius:13px;padding:12px 14px;display:flex;flex-direction:column;gap:9px}.chem-control label{font-size:12px;font-weight:800;color:#382668;display:flex;justify-content:space-between}.chem-control input[type=range]{width:100%;accent-color:#7948ef}.chem-control select{border:1px solid #e4d9f5;border-radius:8px;padding:8px;background:white;font:inherit}.chem-result{border-radius:14px;background:#f4efff;padding:16px 18px;font-size:13px;line-height:1.85;color:#453269}.chem-result strong{color:#5524b5}.chem-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:17px;margin-top:20px}.chem-bottom>div{border:1px solid #e8e1f5;background:white;border-radius:20px;padding:24px}.chem-bottom h3{font-size:17px;color:#291955;margin:0 0 10px}.chem-bottom p{font-size:12px;line-height:1.8;color:#776b90}.chem-bottom textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid #e5ddf3;border-radius:12px;padding:13px;font:12px 'Be Vietnam Pro',sans-serif}.chem-note-actions{display:flex;align-items:center;gap:13px;margin-top:10px;font-size:11px;color:#209d7c}.chem-bottom a{font-size:12px;font-weight:800;color:#7442df}@media(max-width:1050px){.chem-categories{grid-template-columns:1fr}.chem-topic{padding:13px}.chem-body{grid-template-columns:210px minmax(0,1fr)}}@media(max-width:700px){.chem-hero{padding:26px 22px}.chem-hero-art{display:none}.chem-body{display:block}.chem-side{border-right:0;border-bottom:1px solid #eee8f7}.chem-controls,.chem-bottom{grid-template-columns:1fr}.chem-work-head{padding:19px}.chem-stage{padding:15px}}

/* Giao diện gọn: thay hai cụm thẻ lặp lại bằng thanh công cụ hữu ích */
.chem-quickbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 22px;padding:18px 22px;border:1px solid #e1d6ff;border-radius:19px;background:linear-gradient(105deg,#fff,#f5f0ff);box-shadow:0 8px 22px #4b249a0c}
.chem-quick-intro{display:flex;align-items:center;gap:13px;min-width:0}
.chem-quick-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:14px;background:#eee5ff;color:#7641ee;font-size:25px}
.chem-quick-intro strong{display:block;font-size:15px;color:#24134e;margin-bottom:5px}
.chem-quick-intro small{font-size:12px;color:#827398;line-height:1.6}
.chem-quick-actions{display:flex;flex-wrap:wrap;gap:9px}
.chem-quick-actions button{border:1px solid #e2d5ff;background:#fff;color:#6030c6;border-radius:11px;padding:11px 14px;font:700 12px 'Be Vietnam Pro',sans-serif;cursor:pointer;white-space:nowrap}
.chem-quick-actions button:first-child{background:#7439e9;border-color:#7439e9;color:white}
.chem-quick-actions button:hover{filter:brightness(.96);transform:translateY(-1px)}
.chem-guide{padding:15px 20px;margin:-8px 0 20px;border-radius:14px;border:1px solid #dcd0fa;background:#f7f3ff;color:#4b397a;font-size:12px;line-height:1.85}
.chem-guide[hidden]{display:none!important}
.chem-embed-section{scroll-margin-top:100px}
#chemNotes{scroll-margin-top:120px}
@media(max-width:1100px){.chem-quickbar{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.chem-quickbar{padding:16px}.chem-quick-actions{width:100%}.chem-quick-actions button{flex:1}}
\n
/* Breadcrumb giống trang Toán học */
.qurio-lab-breadcrumb{display:flex;align-items:center;gap:17px;flex-wrap:wrap;
 margin:20px 0 12px;padding:0 2px;font-size:14px;line-height:1.6;
 color:#7b4ce9;font-family:inherit}
.qurio-lab-breadcrumb a{color:#342066;text-decoration:none;font-weight:500}
.qurio-lab-breadcrumb a:hover{color:#713be8;text-decoration:underline}
.qurio-lab-breadcrumb span{color:#a38bdf;font-size:19px}
.qurio-lab-breadcrumb strong{color:#743de8;font-weight:750}
