/* PANDA 2026 — responsive learning layer; scoped to avoid changing finance screens. */
#panda-learn-root,#panda-practice-root,.ph-honors{font-family:system-ui,'Segoe UI',Arial,sans-serif;line-height:1.5}
#panda-learn-root{--pl-green:#087c61;--pl-ink:#103e36}
#panda-learn-root .pl-hero{background:linear-gradient(120deg,#e9fff4,#b7f4de 48%,#b7e8ff);border:1px solid #bee8d5;box-shadow:0 12px 28px rgba(3,89,69,.08);border-radius:22px;color:#083d33;min-height:184px}
#panda-learn-root .pl-hero h2{font-weight:900;color:#074b3b;font-size:clamp(24px,3.3vw,39px)}
#panda-learn-root .pl-hero p{font-size:14px;color:#245f4f}
#panda-learn-root .pl-hero-art img{width:180px;height:146px;object-fit:cover;mix-blend-mode:multiply}
.pl-hub-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0 20px}
.pl-hub-item{border:0;border-radius:19px;min-width:0;padding:12px 9px 15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:5px;min-height:151px;color:white;text-align:left;cursor:pointer;box-shadow:0 7px 20px rgba(22,72,65,.12);transition:transform .18s ease}
.pl-hub-item:hover{transform:translateY(-2px)}.pl-hub-item .ico{font-size:36px;line-height:1.1;margin-bottom:auto;filter:drop-shadow(0 3px 3px #0002)}.pl-hub-item b{font-size:15px;line-height:1.2}.pl-hub-item small{font-size:11px;line-height:1.3;opacity:.94}
.pl-hub-item.blue{background:linear-gradient(155deg,#83c5ff,#176ee9)}.pl-hub-item.pink{background:linear-gradient(155deg,#ffd0e2,#ed4a9b)}.pl-hub-item.purple{background:linear-gradient(155deg,#c7bbff,#7956d9)}.pl-hub-item.teal{background:linear-gradient(155deg,#3ee3cb,#00896b)}.pl-hub-item.orange{background:linear-gradient(155deg,#ffdc72,#ed8c07)}.pl-hub-item.red{background:linear-gradient(155deg,#ff9e9e,#ed4056)}
#panda-learn-root .pl-card{border-radius:16px;box-shadow:0 4px 17px rgba(16,88,70,.07)}#panda-learn-root .pl-card:hover{transform:translateY(-2px)}
#panda-learn-root .pl-card-thumb{height:124px}
.pl-question-visual{display:block;max-width:180px;width:100%;height:138px;object-fit:contain;margin:10px auto;border-radius:14px;background:#f4fff8}
.pl-picture-option{display:inline-flex;flex-direction:column;gap:4px;align-items:center;vertical-align:middle;padding:3px;min-width:94px}.pl-picture-option img{width:72px;height:66px;object-fit:contain}.pl-picture-option span{font-weight:700}
.pp-option-image{width:78px;height:68px;object-fit:contain;border-radius:10px;background:#edfff4;flex:0 0 auto}.pp-option:has(.pp-option-image){display:flex;gap:10px;align-items:center;text-align:left}.pp-option-image~span{font-weight:750}
.ph-honors{border:1px solid #bfe9d6;background:#fff;border-radius:20px;padding:17px;margin:20px 0;box-shadow:0 8px 24px #176c4620;max-width:100%;overflow:hidden}
.ph-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.ph-head small{color:#098264;font-size:11px;font-weight:900;letter-spacing:.045em}.ph-head h3{font-size:23px;margin:4px 0;color:#074c3b}.ph-head p{color:#53716b;font-size:12px;margin:0}.ph-badge{white-space:nowrap;border-radius:18px;padding:10px 13px;background:#fff7da;color:#946200;font-size:12px;font-weight:800}
.ph-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.ph-filters label{font-size:12px;font-weight:750;color:#0d5443}.ph-filters select{width:100%;margin-top:5px;min-height:43px;border:1px solid #b8decd;border-radius:10px;background:white;color:#12372d;padding:8px;font-size:16px}
.ph-content{min-height:56px}.ph-person{display:flex;gap:10px;align-items:center;padding:11px 9px;border-bottom:1px solid #e4f1ec}.ph-person.mine{background:#e4fff0;border-radius:10px}.ph-medal{font-size:22px;width:35px;text-align:center;flex:none}.ph-person-label{flex:1;min-width:0}.ph-person-label strong{display:block;color:#0b5141;font-size:14px}.ph-person-label small{color:#6b847b;font-size:11px}.ph-person>b{color:#08795e;white-space:nowrap;font-size:14px}.ph-empty,.ph-error,.ph-loading{border:1px dashed #c4ded1;border-radius:12px;background:#f6fffa;color:#587568;padding:15px;font-size:13px}.ph-caption{margin-top:10px;color:#668078;font-size:11px}.ph-review{border-top:1px solid #dbece4;padding-top:14px}.ph-review summary{cursor:pointer;font-weight:800;color:#066a54}.ph-review>p{font-size:12px;color:#60766f}.ph-review-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f6fbf8;padding:11px;border-radius:12px;margin:8px 0}.ph-review-row>div{flex:1;min-width:170px}.ph-review-row small{display:block;font-size:11px;color:#647c71}.ph-review-row input{width:76px;min-height:40px;font-size:16px}.ph-review-row button,.ph-error button{border:0;border-radius:10px;background:#078565;color:white;padding:11px;font-weight:700;cursor:pointer}
.pst-shell{border:1px solid #c1e4d5;border-radius:20px;padding:16px;background:#fff;box-shadow:0 10px 25px #174d3c12;margin-bottom:18px}.pst-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.pst-top small{font-size:11px;color:#087c5b;font-weight:900}.pst-top h3{margin:2px 0;color:#073e35;font-size:22px}.pst-round{background:#e4fbef;color:#076549;border-radius:30px;padding:7px 12px;font-weight:800;font-size:12px;white-space:nowrap}.pst-progress{height:7px;border-radius:30px;overflow:hidden;background:#e4ece8;margin:12px 0 18px}.pst-progress span{display:block;height:100%;background:#12ac7a;border-radius:inherit;transition:width .2s}.pst-layout{display:grid;grid-template-columns:1fr 1fr;gap:15px}.pst-illustration{position:relative;border:1px solid #e1eee7;border-radius:15px;overflow:hidden;background:#e9faf6;min-height:260px;display:flex;align-items:center;justify-content:center}.pst-illustration img{width:100%;height:100%;max-height:330px;object-fit:contain}.pst-illustration>span{position:absolute;bottom:8px;left:10px;border-radius:20px;background:#fffce9;color:#69500c;padding:4px 9px;font-size:11px;font-weight:700}.pst-question{display:flex;flex-direction:column;align-items:stretch;justify-content:center;background:#fbfffd;border-radius:14px;padding:17px;gap:9px}.pst-eyebrow{font-size:11px;font-weight:900;color:#0c9471}.pst-question h4{font-size:clamp(20px,2.8vw,27px);line-height:1.2;margin:3px 0;color:#075743}.pst-question p{font-size:13px;color:#607970}.pst-actions{display:flex;flex-wrap:wrap;gap:8px}.pst-actions button,.pst-footer button,.pst-send{border:1px solid #c1ddce;background:white;color:#08644d;border-radius:11px;min-height:45px;padding:10px 12px;font-size:13px;font-weight:800;cursor:pointer}.pst-actions .pst-mic,.pst-send,.pst-footer [data-pst=done]{background:#07926b;color:white;border-color:#07926b}.pst-actions button:focus-visible,.pst-footer button:focus-visible{outline:3px solid #9decd0}.pst-hint,.pst-note{font-size:12px;padding:10px;background:#ecfbf5;border-radius:10px;color:#305d4c}.pst-fallback{display:block;font-size:12px;color:#617a71}.pst-fallback input{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #c2dfd4;border-radius:10px;min-height:44px;font-size:16px}.pst-footer{display:flex;justify-content:space-between;gap:9px;margin-top:15px}.pst-footer button:disabled,.pst-send:disabled{opacity:.4;cursor:not-allowed}.pst-submit{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;padding-top:15px;margin-top:15px;border-top:1px solid #deeee5}.pst-submit small{display:block;color:#678077;max-width:500px;font-size:11px}.pst-notice{color:#085841;background:#e4faee;padding:12px;border-radius:10px;margin-top:10px}
@media(max-width:1000px){.pl-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.pl-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pl-hub-item{min-height:118px;border-radius:15px}.pl-hub-item .ico{font-size:27px}.pl-hub-item b{font-size:13px}.pl-hub-item small{font-size:10px}.pst-layout{grid-template-columns:1fr}.pst-illustration{min-height:180px;max-height:260px}.pst-question{padding:12px}.pst-footer{flex-wrap:wrap}.pst-footer button{flex:1}.ph-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-head h3{font-size:19px}.ph-badge{display:none}#panda-learn-root .pl-hero-art img{width:92px;height:90px}#panda-learn-root .pl-card-thumb{height:98px}}
@media(max-width:360px){.ph-filters{grid-template-columns:1fr}.pst-footer button{font-size:12px;padding:9px 6px}.pl-hub-item{min-height:115px}}
.pr-shell{background:linear-gradient(135deg,#effdf7,#e6f5ff);border:1px solid #bee5d5;border-radius:17px;padding:16px;margin:16px 0}.pr-shell h3{font-size:19px;color:#075b45;margin:4px 0}.pr-shell p{font-size:12px;color:#536d64}.pr-shell button{border:1px solid #badace;border-radius:10px;background:#fff;color:#096b52;min-height:44px;padding:10px 13px;font-size:14px;font-weight:750;cursor:pointer}.pr-shell>.pr-message{color:#146048;font-size:12px;margin-top:9px}.pr-meta{font-size:13px;font-weight:800;color:#07826a;margin-top:13px}.pr-question{font-size:21px;font-weight:850;padding:12px 0;color:#063f35}.pr-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pr-opts button{display:flex;gap:8px;align-items:center;text-align:left;min-width:0;white-space:normal}.pr-opts button.selected{background:#c9f7e2;border:2px solid #09a679}.pr-image{width:70px;height:58px;object-fit:contain;flex:none}.pr-ctrl{display:flex;justify-content:space-between;gap:9px;margin-top:13px}.pr-ctrl [data-pr=finish],.pr-ctrl [data-pr=next]{background:#058865;color:#fff;border-color:#058865}@media(max-width:620px){.pr-opts{grid-template-columns:1fr}}
/* Secure audio-assessment flow */
.pst-audio{width:100%;max-width:100%;min-height:44px}.pst-privacy{font-size:12px;color:#5d706c;margin:12px 0 2px;line-height:1.5}
.ph-review-row{display:flex;flex-wrap:wrap;align-items:flex-start}.ph-review-row>.ph-detail{flex:0 0 100%;min-width:0;width:100%;margin-top:9px}
.ph-audio-list{background:#fff;border:1px solid #c5e8d9;border-radius:13px;padding:12px}.ph-audio-list h4{color:#065942;margin:0 0 10px;font-size:16px}
.ph-audio-row{display:flex;flex-direction:column;gap:7px;border-bottom:1px solid #deeee6;padding:9px 0}.ph-audio-row b{font-size:13px;color:#255447;overflow-wrap:anywhere}.ph-audio-row audio{width:100%;min-height:45px}.ph-audio-row button{align-self:flex-start}
.ph-rubric{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.ph-rubric label,.ph-comment{font-size:12px;color:#34584d;font-weight:700}.ph-rubric input{display:block;width:100%;margin-top:5px;border-radius:9px;border:1px solid #afd8c9;padding:9px;font-size:16px;min-height:43px}
.ph-comment{display:block;margin:12px 0}.ph-comment textarea{display:block;width:100%;min-height:62px;margin-top:5px;border-radius:9px;border:1px solid #afd8c9;padding:10px;font:inherit;font-size:16px}
.ph-save{margin-top:6px;max-width:100%;white-space:normal}
@media(max-width:500px){.ph-rubric{grid-template-columns:1fr}.pst-shell{padding:11px}.pst-submit .pst-send{width:100%}}

.pst-consent{display:flex;align-items:flex-start;gap:9px;margin-top:13px;font-size:13px;color:#3d6154}.pst-consent input{width:19px;height:19px;min-width:19px;accent-color:#087e61;margin:0}

/* Online speech-recognition feedback, no audio submission */
.pst-transcript,.pst-result-item{padding:12px;border:1px solid #b8e3d4;background:#e9f9f2;color:#105641;border-radius:11px;font-size:13px;overflow-wrap:anywhere;line-height:1.6}
.pst-result-item small{display:block;color:#3d7361;line-height:1.6}
.pst-warning{padding:12px;border-radius:11px;background:#fff3e1;color:#85520b;font-weight:600;font-size:13px}
.pst-privacy{margin-top:12px;line-height:1.6}

/* Context-matched question illustrations; layout remains mobile-first. */
.pst-illustration-multi{gap:8px;padding:12px 10px 42px}.pst-illustration-multi img{width:calc(50% - 4px);height:auto;max-height:260px;object-fit:contain;border-radius:10px}.pst-illustration img{min-width:0}.pst-illustration-multi>span{bottom:8px}
/* Progress label stays above illustrations without hiding the vocabulary name. */
.pst-illustration>span{top:8px;bottom:auto;left:10px}

/* Ranking management and multi-student mobile controls. */
.ph-filters label:first-child{grid-column:span 3}
.ph-admin{margin-top:14px;padding:14px;border:1px solid #c3ded2;border-radius:14px;background:#f8fffb;color:#155346}
.ph-admin summary{cursor:pointer;font-weight:800}
.ph-admin p{font-size:12px;line-height:1.5}
.ph-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.ph-admin label{font-size:12px;font-weight:700}
.ph-admin input,.ph-admin select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin-top:5px;padding:9px;font-size:16px;border:1px solid #b4d7c7;border-radius:9px;background:white}
.ph-admin button{min-height:44px;padding:10px 15px;border:1px solid #087e60;background:#068763;color:#fff;border-radius:10px;cursor:pointer;font-weight:700}
.pr-meta label{display:block;font-size:12px;margin:10px 0}.pr-meta select{display:block;width:100%;max-width:480px;min-height:44px;border:1px solid #b4d7c7;background:#fff;border-radius:9px;font-size:16px;padding:8px;margin:5px 0}
.pr-shell button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:680px){.ph-filters label:first-child{grid-column:span 2}.ph-admin-fields{grid-template-columns:1fr}}
@media(max-width:360px){.ph-filters label:first-child{grid-column:span 1}}

.pst-student-label{display:block;margin:10px 0;font-size:12px;color:#145b46;font-weight:800}
.pst-student-label select{display:block;width:100%;min-height:44px;margin-top:4px;border:1px solid #afd8c9;border-radius:10px;background:white;padding:8px;font-size:16px}
