
.bio-hero{margin:28px 0 20px;padding:40px 46px;border-radius:28px;background:linear-gradient(115deg,#4921b6 0%,#713de9 58%,#5995f2 100%);color:white;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;box-shadow:0 16px 34px #5121b62b}
.bio-hero:after{content:"";position:absolute;right:90px;top:-130px;width:390px;height:390px;border:55px solid #ffffff22;border-radius:50%;pointer-events:none}.bio-eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#9059ff}.bio-hero .bio-eyebrow{color:#e8dcff}.bio-hero h1{font-size:clamp(26px,3vw,42px);line-height:1.35;margin:13px 0 10px;color:#fff;font-weight:800}.bio-hero p{font-size:14px;line-height:1.8;max-width:630px;color:#f1eaff}.bio-hero-icon{font-size:100px;z-index:1;filter:drop-shadow(0 15px 18px #28115d55)}.bio-hero-icon span{font-size:30px;vertical-align:top}
.bio-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;background:#fff;border:1px solid #e9e1fc;border-radius:19px;margin-bottom:24px;box-shadow:0 9px 25px #3d187d0a}.bio-toolbar-label{display:flex;align-items:center;gap:13px}.bio-toolbar-label>span{display:grid;place-items:center;background:#f1e9ff;color:#7b45ed;width:44px;height:44px;border-radius:14px;font-size:25px}.bio-toolbar-label strong,.bio-toolbar-label small{display:block}.bio-toolbar-label strong{color:#25154f;font-size:14px}.bio-toolbar-label small{color:#867a9d;font-size:12px;margin-top:5px}.bio-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.bio-toolbar-actions button,.bio-toolbar-actions a,.bio-actions button,.bio-note-foot button{font-family:inherit;border:1px solid #e2d6ff;border-radius:11px;background:#fff;color:#6435ce;font-size:12px;font-weight:800;padding:11px 14px;cursor:pointer;text-decoration:none}.bio-toolbar-actions button:first-child,.bio-note-foot button{background:#743ced;color:white;border-color:#743ced}
.bio-lab{background:#fff;border:1px solid #e8dff9;border-radius:26px;overflow:hidden;box-shadow:0 12px 35px #33126b0b;scroll-margin-top:100px}.bio-head{padding:26px 28px;display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #ede6fa;background:linear-gradient(100deg,#fff,#faf7ff)}.bio-head h2{font-size:23px;color:#25114f;margin:8px 0}.bio-head p{font-size:13px;color:#887aa1;margin:0}.bio-head-tag{font-size:10px;font-weight:800;color:#6940cc;background:#f1eaff;border-radius:999px;padding:10px 13px;white-space:nowrap}
.bio-layout{display:grid;grid-template-columns:285px minmax(0,1fr)}.bio-sidebar{background:#fcfaff;border-right:1px solid #ece6f9;padding:22px 17px}.bio-sidebar h3{font-size:13px;color:#281854;margin:0 0 14px}.bio-small-heading{margin-top:25px!important}.bio-topic,.bio-exp{width:100%;border:1px solid transparent;background:transparent;border-radius:13px;padding:12px 11px;text-align:left;cursor:pointer;color:#51426e;font-family:inherit;font-size:12px;line-height:1.55;display:flex;gap:10px;align-items:center}.bio-topic{font-weight:700}.bio-topic span{font-size:20px}.bio-topic.active,.bio-exp.active{background:#eee6ff;color:#6730d5;border-color:#d8c5ff}.bio-exp{padding:12px 14px}.bio-topic:hover,.bio-exp:hover{background:#f3edff}.bio-hint{background:#f2edff;padding:16px;border-radius:16px;margin-top:22px;font-size:12px;color:#6249a2;line-height:1.8}.bio-hint b{color:#6330c4}.bio-hint p{margin:8px 0 0}
.bio-panel{min-width:0;padding:22px 24px 28px}.bio-panel-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.bio-panel-top>div:first-child{display:flex;flex-direction:column;gap:7px}.bio-status{font-size:11px;font-weight:800;color:#0b9875}.bio-panel-top strong{font-size:15px;color:#271654}.bio-actions{display:flex;gap:8px;flex-wrap:wrap}.bio-actions button:last-child{background:#753cf1;color:white;border-color:#753cf1}
.bio-viewport{height:clamp(360px,40vw,570px);background:radial-gradient(circle at 50% 30%,#fff,#f4f0ff);border:1px solid #e7ddfb;border-radius:18px;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}.bio-viewport iframe{width:100%;height:100%;border:0;background:#fff}.bio-viewport svg{width:100%;height:100%;max-height:100%}.bio-viewport:fullscreen{width:100vw;height:100dvh;border:0;border-radius:0;background:#fff}.bio-viewport:fullscreen iframe{width:100%;height:100%}.bio-viewport:fullscreen svg{width:100%;height:100%}
.bio-controls{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px}.bio-control{flex:1 1 180px;background:#faf8ff;border:1px solid #ece3ff;border-radius:14px;padding:14px}.bio-control label{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#4a377b;font-weight:700;margin-bottom:11px}.bio-control output{color:#7138e7}.bio-control input[type=range]{width:100%;accent-color:#773fea}.bio-control select{width:100%;padding:10px;border:1px solid #ded1fb;border-radius:10px;background:white;font:inherit;color:#402873}
.bio-explanation{margin-top:16px;background:#f4eeff;border-radius:14px;padding:16px 18px;color:#4d337e;font-size:12px;line-height:1.9}.bio-credit{margin-top:12px;font-size:11px;color:#8d80a4}.bio-credit a{color:#6934d2}.bio-bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin:24px 0 38px}.bio-note,.bio-about{background:#fff;border:1px solid #e9e0fa;border-radius:22px;padding:24px;box-shadow:0 9px 25px #36106d0b}.bio-bottom-title{display:flex;gap:13px;align-items:center}.bio-bottom-title>span{font-size:26px}.bio-bottom h3{color:#28154e;font-size:17px;margin:0 0 7px}.bio-bottom p{font-size:12px;color:#897aa1;line-height:1.8;margin:0 0 15px}.bio-note textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #e1d6f5;border-radius:13px;padding:14px;font:inherit;font-size:13px;box-sizing:border-box}.bio-note-foot{display:flex;align-items:center;gap:14px;margin-top:12px}.bio-note-foot span{font-size:12px;color:#15956f}.bio-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.bio-info-grid>div{background:#f4efff;padding:15px;border-radius:13px;display:flex;flex-direction:column;gap:6px}.bio-info-grid b{font-size:22px;color:#6d37d7}.bio-info-grid span{font-size:11px;color:#786899}
@media(max-width:1050px){.bio-layout{grid-template-columns:230px minmax(0,1fr)}.bio-hero{padding:30px}.bio-toolbar{flex-wrap:wrap}}@media(max-width:760px){.bio-layout{grid-template-columns:1fr}.bio-sidebar{border-right:0;border-bottom:1px solid #ece6f9}.bio-bottom{grid-template-columns:1fr}.bio-head{flex-wrap:wrap}.bio-panel{padding:16px}.bio-hero-icon{display:none}.bio-viewport{height:420px}}@media(max-width:480px){.bio-panel-top{align-items:flex-start;flex-direction:column}.bio-toolbar-actions{width:100%}.bio-toolbar-actions>*{flex:1;text-align:center}.bio-hero{padding:25px 20px}}
\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}

/* Bio Lab: matching Chem Lab's clean one-workbench composition */
.lab-content:has(.bio-hero){max-width:none!important;width:100%;box-sizing:border-box;padding:28px clamp(16px,2.8vw,42px) 42px!important;background:#f8f7ff}
.lab-content:has(.bio-hero) .qurio-lab-breadcrumb{margin:0 0 20px;padding:0 2px}
.bio-hero{margin:0 0 22px!important;padding:35px 40px!important;min-height:200px!important;border-radius:27px!important;background:linear-gradient(112deg,#5228c7,#8750f3 65%,#5a81f3)!important;box-shadow:0 16px 35px #6037c52a!important}
.bio-hero h1{font-size:clamp(26px,3vw,40px)!important;margin:12px 0 10px!important}
.bio-hero p{font-size:13px!important}
.bio-hero:after{content:'';position:absolute;width:360px;height:360px;border:60px solid #ffffff22;border-radius:50%;right:60px;top:-180px;pointer-events:none}
.bio-hero-icon{font-size:78px!important}
.bio-lab{margin:22px 0!important;border:1px solid #e5daf9!important;border-radius:24px!important;box-shadow:0 12px 36px #38248110!important}
.bio-head{padding:24px 26px!important;background:#fff!important;min-height:100px;box-sizing:border-box}
.bio-head h2{font-size:21px!important;line-height:1.45!important;margin:8px 0!important}
.bio-head .bio-eyebrow{font-size:11px!important;letter-spacing:1.5px!important}
.bio-layout{grid-template-columns:258px minmax(0,1fr)!important}
.bio-sidebar{background:#faf9ff!important;border-right:1px solid #ece5fa!important;padding:19px 16px!important}
.bio-sidebar h3{font-size:13px!important}
.bio-topic{font-size:12px!important;padding:11px!important}
.bio-topic span:first-child{font-size:19px!important}
.bio-panel{padding:20px 24px 25px!important}
.bio-panel-top{margin-bottom:15px!important}
.bio-viewport{height:clamp(420px,42vw,590px)!important;background:#f8f6ff!important}
.bio-viewport:fullscreen{height:100dvh!important;width:100vw!important}
.bio-bottom{margin-top:22px!important}
@media(max-width:1050px){.bio-layout{grid-template-columns:210px minmax(0,1fr)!important}}
@media(max-width:760px){.bio-layout{grid-template-columns:1fr!important}.bio-sidebar{border-right:0!important;border-bottom:1px solid #ece5fa}.bio-hero{padding:28px 24px!important;min-height:170px!important}.bio-head{padding:21px!important}.bio-panel{padding:16px!important}}

/* == Qurio Biology 2026: layout consistency and legibility == */
.lab-content:has(.bio-hero){
  padding:24px clamp(20px,2.5vw,40px) 38px!important;
  margin:0!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.lab-content .bio-hero,.lab-content .bio-lab,.lab-content .bio-bottom {max-width:1400px;margin-left:auto!important;margin-right:auto!important}
.lab-content .qurio-lab-breadcrumb{max-width:1400px;margin-left:auto!important;margin-right:auto!important}
.lab-content .bio-lab{overflow:hidden!important}
.lab-content .bio-layout{display:grid!important;grid-template-columns:minmax(225px,255px) minmax(0,1fr)!important;align-items:stretch!important}
.lab-content .bio-sidebar{min-width:0!important;box-sizing:border-box!important;padding:20px 14px!important}
.lab-content .bio-sidebar h3{font-size:13px!important;line-height:1.5!important;font-weight:700!important}
.lab-content .bio-topic{display:flex!important;align-items:center!important;gap:9px!important;width:100%!important;min-width:0!important;
  padding:12px 11px!important;font-size:12px!important;font-weight:700!important;line-height:1.5!important;
  letter-spacing:0!important;text-align:left!important;white-space:normal!important;box-sizing:border-box!important;
  text-transform:none!important;border-radius:12px!important}
.lab-content .bio-topic .bio-topic-icon{font-size:19px!important;line-height:1!important;flex:0 0 23px!important;text-align:center!important}
.lab-content .bio-topic .bio-topic-text{font-size:12px!important;line-height:1.5!important;font-weight:700!important;
  min-width:0!important;overflow-wrap:anywhere!important;display:block!important}
.lab-content .bio-exp{display:block!important;width:100%!important;font-size:12px!important;line-height:1.5!important;
  padding:10px 12px!important;font-weight:600!important;white-space:normal!important;text-align:left!important;box-sizing:border-box!important}
.lab-content .bio-hint{font-size:12px!important;line-height:1.65!important;overflow-wrap:anywhere!important}
.lab-content .bio-head{display:flex!important;align-items:center!important;gap:15px!important}
.lab-content .bio-panel{min-width:0!important;box-sizing:border-box!important}
.lab-content .bio-viewport{width:100%!important;height:clamp(380px,40vw,560px)!important;max-width:100%!important}
.lab-content .bio-viewport:fullscreen{width:100vw!important;height:100dvh!important;border:0!important;border-radius:0!important}
.lab-content .bio-viewport iframe{display:block!important;width:100%!important;height:100%!important;border:0!important}
@media(max-width:1020px){.lab-content .bio-layout{grid-template-columns:215px minmax(0,1fr)!important}}
@media(max-width:760px){.lab-content .bio-layout{grid-template-columns:1fr!important}.lab-content .bio-sidebar{border-right:0!important;border-bottom:1px solid #ece5fa}}
