/* Qurio Lab — Vật lí. Phần sidebar/header/footer chung lấy từ QurioLayout. */
.phy-breadcrumb{display:flex;align-items:center;gap:14px;margin:18px 2px 16px;font-size:13px;font-weight:700;color:#7a46ee}.phy-breadcrumb a{color:#36265c;text-decoration:none}.phy-breadcrumb a:hover{color:#753bf1}.phy-breadcrumb span{font-size:20px;color:#a892d9}
.phy-hero{min-height:206px;background:linear-gradient(115deg,#4823b9,#7640f1 59%,#568cf0);border-radius:28px;padding:42px 45px;margin-bottom:24px;color:#fff;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;box-shadow:0 16px 36px rgba(70,36,151,.16)}.phy-hero:after{content:"";position:absolute;width:390px;height:390px;border-radius:50%;border:58px solid rgba(255,255,255,.16);right:40px;top:-160px;pointer-events:none}.phy-hero h1{font-size:clamp(25px,3vw,40px);line-height:1.25;margin:15px 0 12px;color:white;font-weight:800}.phy-hero p{font-size:13px;line-height:1.8;color:#eee5ff;max-width:710px;margin:0}.phy-eyebrow{color:#925af4;font-size:10px;font-weight:800;letter-spacing:1.7px}.phy-hero .phy-eyebrow{color:#f1dfff}.phy-art{position:relative;width:145px;height:130px;flex-shrink:0;text-align:center;display:grid;place-items:center;z-index:1}.phy-art .phy-orbit{font-size:174px;color:#ffffff52;position:absolute;line-height:1}.phy-art .phy-bolt{font-size:85px;color:#fff;filter:drop-shadow(0 8px 14px #230c8050)}
.phy-workspace{background:#fff;border:1px solid #e7ddfa;box-shadow:0 10px 35px #341e730c;border-radius:25px;overflow:hidden;scroll-margin-top:100px}.phy-workhead{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:26px 28px;background:linear-gradient(110deg,#fff,#faf7ff);border-bottom:1px solid #ebe3fb}.phy-workhead h2{font-size:21px;color:#28154f;line-height:1.4;margin:9px 0 7px}.phy-workhead p{color:#8979a3;font-size:12px;margin:0;line-height:1.8}.phy-worktag{border-radius:999px;background:#f0e7ff;color:#7540df;padding:10px 14px;font-size:10px;white-space:nowrap;font-weight:800}
.phy-columns{display:grid;grid-template-columns:278px minmax(0,1fr);align-items:stretch}.phy-subnav{border-right:1px solid #eee6fc;background:#fcfaff;padding:21px 15px 30px}.phy-side-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:800;color:#422c78;margin:3px 4px 16px;letter-spacing:.5px}.phy-side-title span{font-size:10px;font-weight:700;color:#926fdd;background:#eee6ff;border-radius:6px;padding:5px 7px}
.phy-grade{border:1px solid #e7def9;background:#fff;border-radius:15px;overflow:hidden;margin-bottom:12px}.phy-grade-btn{width:100%;display:flex;align-items:center;gap:10px;justify-content:space-between;border:0;background:transparent;color:#2c205b;padding:15px 12px;cursor:pointer;font:700 13px 'Be Vietnam Pro',sans-serif;text-align:left}.phy-grade-btn>span:first-child{display:flex;align-items:center;gap:9px}.phy-grade-btn .grade-icon{display:inline-grid;place-items:center;width:34px;height:34px;background:#f0e7ff;color:#7741e7;border-radius:10px;font-size:13px}.phy-grade-btn .grade-right{display:flex;align-items:center;gap:7px;color:#917cb3}.phy-grade-btn .grade-count{font-size:10px;font-weight:600}.phy-grade-btn .grade-chevron{font-size:17px;transition:transform .2s}.phy-grade.open>.phy-grade-btn{color:#6937dc;background:#f9f5ff}.phy-grade.open .grade-chevron{transform:rotate(180deg)}.phy-grade-items{display:none;padding:5px 8px 9px}.phy-grade.open .phy-grade-items{display:block}.phy-topic{display:flex;align-items:flex-start;gap:9px;line-height:1.55;font:600 11px 'Be Vietnam Pro',sans-serif;padding:11px 10px;border-radius:10px;border:1px solid transparent;background:transparent;color:#54436d;text-align:left;cursor:pointer;width:100%}.phy-topic .phy-topic-dot{flex:0 0 7px;height:7px;border-radius:50%;background:#cbbde6;margin-top:5px}.phy-topic.active{background:#eee5ff;border-color:#d7c2ff;color:#6735db}.phy-topic.active .phy-topic-dot{background:#7c41ee}.phy-topic:hover:not(.active){background:#f6f0ff}.phy-side-help{border:1px solid #e9ddff;background:#f3edff;color:#7157a1;padding:17px;border-radius:16px;margin-top:22px;font-size:11px;line-height:1.85}.phy-side-help strong{color:#6336c4;font-size:12px}.phy-side-help p{margin:8px 0 0}
.phy-main{min-width:0;padding:23px 25px 29px}.phy-stage-header{display:flex;justify-content:space-between;align-items:center;gap:13px;margin-bottom:15px}.phy-stage-header h3{font-size:15px;margin:8px 0 0;color:#27154e;line-height:1.6}.phy-online{color:#00a47d;font-size:11px;font-weight:700}.phy-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.phy-actions button{font:700 11px 'Be Vietnam Pro',sans-serif;padding:10px 12px;border-radius:11px;cursor:pointer;background:#fff;color:#6b35d9;border:1px solid #e1d4fc}.phy-actions button:last-child{background:#753dea;color:white;border-color:#753dea}.phy-actions button:hover{filter:brightness(.95)}.phy-stage{height:clamp(390px,41vw,610px);border:1px solid #e9ddff;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#fcfaff,#f1ecff);position:relative;display:flex;align-items:stretch;justify-content:center;min-width:0}.phy-stage iframe{border:0;width:100%;height:100%;background:white}.phy-stage:fullscreen{height:100dvh;width:100vw;border:0;border-radius:0;background:white}.phy-stage:fullscreen iframe{height:100%;width:100%}.phy-loading{color:#77649c;align-self:center;font-size:13px}.phy-stage-info{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:11px 0;font-size:11px;color:#9380ac}.phy-stage-info a{color:#7138df;text-decoration:none;font-weight:700}.phy-stage-info a:hover{text-decoration:underline}.phy-explain,.phy-question{background:#f3edff;border-radius:14px;margin-top:14px;padding:15px 18px;font-size:12px;line-height:1.9;color:#553783}.phy-question{background:#f9f7ff;border:1px solid #eee7fb}.phy-question strong{color:#6737d1}.phy-question p{margin:6px 0 0}
.phy-under{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin:24px 0 40px}.phy-note,.phy-guide{background:#fff;border:1px solid #eae2f9;box-shadow:0 8px 25px #3f1d780b;border-radius:22px;padding:24px}.phy-card-head{display:flex;align-items:center;gap:13px}.phy-card-head>span{font-size:28px}.phy-under h3{font-size:17px;color:#29194e;margin:0 0 7px}.phy-under p{font-size:12px;color:#807195;line-height:1.9;margin:0 0 15px}.phy-note textarea{width:100%;min-height:110px;border:1px solid #e1d8f6;border-radius:14px;padding:14px;box-sizing:border-box;font:12px 'Be Vietnam Pro',sans-serif;resize:vertical;outline-color:#7c40e4}.phy-note-bottom{display:flex;align-items:center;gap:12px;margin-top:12px}.phy-note-bottom button{background:#7541e9;border:0;border-radius:11px;color:white;font:700 12px 'Be Vietnam Pro',sans-serif;padding:11px 17px;cursor:pointer}.phy-note-bottom span{font-size:11px;color:#138c6a}.phy-guide .phy-attribution{background:#f5f0ff;padding:14px;border-radius:12px;color:#74618f}
.phy-custom{width:100%;padding:20px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.phy-custom svg{max-width:770px;max-height:350px;width:100%;height:auto}.phy-controls{display:flex;flex-wrap:wrap;gap:15px;width:100%;max-width:640px}.phy-control{flex:1 1 150px;background:white;border:1px solid #e8dcf8;border-radius:12px;padding:12px}.phy-control label{display:flex;justify-content:space-between;color:#604a82;gap:8px;font-size:11px;font-weight:700;margin-bottom:9px}.phy-control output{color:#793fe5}.phy-control input{width:100%;accent-color:#7b43ed}.phy-readout{font-size:12px;font-weight:700;color:#6339c7;text-align:center}
@media(max-width:1100px){.phy-columns{grid-template-columns:240px minmax(0,1fr)}.phy-hero{padding:30px}.phy-main{padding:18px}.phy-stage{height:460px}}@media(max-width:780px){.phy-columns{grid-template-columns:1fr}.phy-subnav{border-right:0;border-bottom:1px solid #e9dffa}.phy-under{grid-template-columns:1fr}.phy-workhead{flex-wrap:wrap}.phy-art{display:none}.phy-stage{height:420px}.phy-hero{min-height:150px}.phy-main{padding:15px}}@media(max-width:480px){.phy-stage-header{align-items:flex-start;flex-direction:column}.phy-breadcrumb{margin:12px 0}.phy-hero{padding:25px 20px;border-radius:20px}.phy-workhead{padding:20px}.phy-subnav{padding:16px}.phy-worktag{display:none}}

/* Tinh chinh mau sac Vật lí: chi CSS, khong thay doi cau truc chung */
.phy-hero{background:linear-gradient(115deg,#3b159f 0%,#6529d9 58%,#396fe1 100%);box-shadow:0 16px 38px rgba(62,26,146,.22)}
.phy-grade{border-color:#d6c5f6}
.phy-grade.open{border-color:#b89afa;box-shadow:0 5px 15px rgba(92,43,174,.09)}
.phy-grade.open>.phy-grade-btn{background:#eee4ff;color:#5722bc}
.phy-grade-btn .grade-icon{background:#e4d4ff;color:#5b25c4}
.phy-topic.active{background:#e7d8ff;border-color:#c4a6ff;color:#5420bb}
.phy-topic.active .phy-topic-dot{background:#6a2be3}
.phy-workspace{border-color:#d9c9f5}
.phy-subnav{background:#f8f4ff}
.phy-worktag{background:#e8dcff;color:#5e27c4}

/* Qurio Physics: student experiment reflection */
.phy-analysis{background:linear-gradient(145deg,#fff 45%,#f7f2ff);border-color:#d9c8ff}.phy-analysis .phy-card-head{margin-bottom:15px}.phy-analysis-fields{display:grid;gap:8px}.phy-analysis-fields label{font-size:12px;font-weight:750;color:#4a2789}.phy-analysis-fields textarea{width:100%;min-height:66px;resize:vertical;box-sizing:border-box;border:1px solid #d9c8f5;border-radius:12px;background:#fff;padding:11px 12px;font:12px 'Be Vietnam Pro',sans-serif;outline-color:#7742df}.phy-analysis-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}.phy-analysis-actions button{border:0;border-radius:11px;background:#6b34d7;color:#fff;font:700 12px 'Be Vietnam Pro',sans-serif;padding:11px 16px;cursor:pointer}.phy-analysis-actions button:hover{background:#5024ae}.phy-analysis-actions span{font-size:11px;color:#6c5590}.phy-analysis-result{margin-top:14px;background:#efe6ff;border:1px solid #d8c3ff;border-radius:12px;padding:14px;font-size:12px;line-height:1.8;color:#45237c;white-space:pre-wrap}.phy-analysis-result[hidden]{display:none}
