/* Learning-depth layer: preserves the existing scroll artwork and adds a coherent research loop. */
.research-mission-status{
  max-width:270px;
  margin:8px 0 0;
  padding-top:8px;
  border-top:1px solid rgba(131,111,70,.28);
  color:#5d6758;
  font-size:11px;
  line-height:1.65;
}

#research-dossier{
  z-index:180;
  background:rgba(6,17,30,.82);
  backdrop-filter:blur(12px);
}
.research-box{
  width:min(1080px,94vw);
  max-width:1080px;
  max-height:90vh;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(99,172,177,.58);
  border-radius:8px;
  background:#10273a;
  color:#e6f0ed;
  box-shadow:0 30px 100px rgba(0,0,0,.58);
}
.research-box>.modal-close{
  z-index:4;
  color:#d9f4ed;
  background:#25465a;
  border:1px solid #668b98;
}
.research-head{
  padding:30px 44px 24px;
  background:linear-gradient(100deg,#173f4a,#172a43 62%,#2b3150);
  border-bottom:1px solid rgba(114,183,180,.32);
}
.research-head>p{
  margin:0 0 9px;
  color:#79d7cd;
  font-size:10px;
  letter-spacing:4px;
}
.research-head h2{
  margin:0 0 10px;
  color:#fff2ce;
  font-family:'STKaiti','KaiTi',serif;
  font-size:32px;
  letter-spacing:2px;
}
.research-head>span{
  display:block;
  max-width:810px;
  color:#b7cad1;
  font-size:13px;
  line-height:1.85;
}
.research-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-bottom:1px solid #34546a;
  background:#132b40;
}
.research-tabs button{
  min-height:48px;
  border:0;
  border-right:1px solid #304a5c;
  background:transparent;
  color:#9db8c5;
  font-size:13px;
  letter-spacing:2px;
  cursor:pointer;
}
.research-tabs button:last-child{border-right:0}
.research-tabs button.selected{
  color:#bff5e9;
  background:#1d4650;
  box-shadow:inset 0 -3px #72dac8;
}
.research-pages{
  max-height:calc(90vh - 190px);
  overflow:auto;
  scrollbar-color:#557b87 #10273a;
}
.research-pages>article{padding:30px 44px 40px}
.research-pages>article[hidden]{display:none}
.mission-thesis{
  display:grid;
  grid-template-columns:120px 1fr;
  align-items:center;
  padding:18px 22px;
  border-left:4px solid #e1b96f;
  background:#1b3449;
}
.mission-thesis b{color:#e8c680;letter-spacing:2px}
.mission-thesis p{margin:0;color:#e4eef0;font-size:18px;line-height:1.7}
.mission-route{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:28px 0;
  border-top:1px solid #416070;
  border-bottom:1px solid #416070;
}
.mission-route section{position:relative;padding:22px 20px 24px;border-right:1px solid #416070}
.mission-route section:last-child{border-right:0}
.mission-route em{color:#64cabb;font-size:11px;font-style:normal;letter-spacing:2px}
.mission-route h3{margin:8px 0;color:#fff0cb;font-size:20px}
.mission-route p{margin:0;color:#a9c0ca;font-size:12px;line-height:1.8}
.audience-goals{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.audience-goals section{padding:0 4px}
.audience-goals h3{margin:0 0 8px;color:#8ee1d2;font-size:15px}
.audience-goals p{margin:0;color:#b6c9cf;font-size:13px;line-height:1.9}
.evidence-levels{display:grid;grid-template-columns:1fr 1fr;border:1px solid #3a5a6d}
.evidence-levels section{padding:22px 24px;border-right:1px solid #3a5a6d;border-bottom:1px solid #3a5a6d}
.evidence-levels section:nth-child(2n){border-right:0}
.evidence-levels section:nth-last-child(-n+2){border-bottom:0}
.evidence-levels b{display:block;margin-bottom:8px;color:#f0cd88;font-size:16px;letter-spacing:1px}
.evidence-levels p,.evidence-rule p{margin:0;color:#b5c8cf;font-size:13px;line-height:1.85}
.evidence-rule{margin-top:25px;padding:20px 24px;background:#183747;border-left:4px solid #68cdbc}
.evidence-rule h3{margin:0 0 13px;color:#dff5ef;font-size:17px}
.evidence-rule p+p{margin-top:8px}
.evidence-rule p b{color:#88ddd0}
.source-list{margin:0;padding:0;list-style:none;counter-reset:source}
.source-list li{counter-increment:source;display:grid;grid-template-columns:40px minmax(220px,1fr) 1.4fr;gap:14px;padding:17px 5px;border-bottom:1px solid #365268}
.source-list li::before{content:counter(source,decimal-leading-zero);color:#62cbbd;font-size:11px;letter-spacing:2px}
.source-list b{color:#e8d6aa;font-size:14px;line-height:1.65}
.source-list span{color:#a9c0ca;font-size:12px;line-height:1.8}
.source-note{margin:22px 0 0;padding:14px 18px;background:#20384a;color:#b9ccd0;font-size:12px;line-height:1.8}

.learning-chain{
  margin:20px 0;
  border:1px solid #4f817f;
  background:#102f3d;
  text-align:left;
}
.learning-chain-head{display:flex;justify-content:space-between;gap:20px;padding:13px 17px;border-bottom:1px solid #416b6b;background:#183e47}
.learning-chain-head span{color:#73d8c7;font-size:10px;letter-spacing:3px}
.learning-chain-head b{color:#f0d49b;font-size:12px}
.learning-chain-grid{display:grid;grid-template-columns:repeat(2,1fr)}
.learning-chain-grid section{position:relative;padding:17px 18px 18px 54px;border-right:1px solid #365a62;border-bottom:1px solid #365a62}
.learning-chain-grid section:nth-child(2n){border-right:0}
.learning-chain-grid section:nth-last-child(-n+2){border-bottom:0}
.learning-chain-grid em{position:absolute;left:17px;top:18px;color:#61cabb;font-size:10px;font-style:normal}
.learning-chain-grid h4{margin:0 0 7px;color:#e7d6ab;font-size:14px}
.learning-chain-grid p,.chain-question p{margin:0!important;color:#b9ced1!important;font-size:12px!important;line-height:1.75!important}
.chain-question{display:grid;grid-template-columns:140px 1fr;gap:18px;padding:14px 18px;border-top:1px solid #4f817f;background:#1c3a4a}
.chain-question b{color:#84dfd0;font-size:12px;letter-spacing:1px}

.report-identity{padding:2px 0 20px;border-bottom:1px solid #3e5c6e}
.report-identity>span{color:#68d2c4;font-size:10px;letter-spacing:3px}
.report-identity h3{margin:8px 0 7px;color:#ffe8b7;font-family:'STKaiti','KaiTi',serif;font-size:30px;letter-spacing:2px}
.report-identity p{margin:0;color:#b8ccd1;font-size:13px;line-height:1.8}
.report-numbers{display:grid;grid-template-columns:repeat(4,1fr);margin:25px 0;border:1px solid #3b5c70}
.report-numbers>div{padding:18px;text-align:center;border-right:1px solid #3b5c70}
.report-numbers>div:last-child{border-right:0}
.report-numbers b{display:block;color:#8ae3d4;font-size:25px}
.report-numbers span{display:block;margin-top:6px;color:#99b3c0;font-size:10px;letter-spacing:1px}
.report-skills{display:grid;gap:13px;padding:18px 20px;background:#152f42}
.report-skills>div{display:grid;grid-template-columns:90px 1fr 34px;align-items:center;gap:12px}
.report-skills span{color:#c8dadd;font-size:12px}
.report-skills i{height:7px;overflow:hidden;background:#29485a}
.report-skills i b{display:block;height:100%;background:linear-gradient(90deg,#3a9395,#7bdbc4)}
.report-skills em{color:#82d9cd;font-size:11px;font-style:normal;text-align:right}
.report-retries,.report-disclaimer{color:#9fb6c0;font-size:12px;line-height:1.8}
.report-retries b{color:#f0cb83}
.report-advice{margin-top:18px;padding:16px 19px;border-left:4px solid #d9aa62;background:#253849}
.report-advice b{color:#f1d39b;font-size:13px}
.report-advice p{margin:7px 0 0;color:#c1d2d5;font-size:13px;line-height:1.8}
.report-disclaimer{opacity:.76}
.report-actions{display:flex;gap:10px;margin-top:20px}
.report-actions button,#collection-report,#finish-report{padding:10px 15px;border:1px solid #5fa9a5;border-radius:6px;background:#235663;color:#dff8f1;cursor:pointer}
.report-actions button:hover,#collection-report:hover,#finish-report:hover{filter:brightness(1.12)}
.finish-learning-summary{margin:20px 0 14px;padding:14px 17px;border:1px solid rgba(119,180,169,.5);background:rgba(28,76,77,.5)}
.finish-learning-summary b,.finish-learning-summary span{display:block}
.finish-learning-summary b{color:#ffe2a2;font-size:17px}
.finish-learning-summary span{margin-top:5px;color:#d2e6df;font-size:12px;line-height:1.7}
#finish-report{margin-right:9px}
#collection-report{margin-left:auto}

@media(max-width:760px){
  .research-head,.research-pages>article{padding-left:22px;padding-right:22px}
  .research-head h2{font-size:25px}
  .mission-route,.report-numbers{grid-template-columns:1fr 1fr}
  .mission-route section:nth-child(2){border-right:0}
  .mission-route section:nth-child(-n+2){border-bottom:1px solid #416070}
  .audience-goals,.evidence-levels,.learning-chain-grid{grid-template-columns:1fr}
  .evidence-levels section,.evidence-levels section:nth-child(2n),.learning-chain-grid section,.learning-chain-grid section:nth-child(2n){border-right:0;border-bottom:1px solid #3a5a6d}
  .evidence-levels section:last-child,.learning-chain-grid section:last-child{border-bottom:0}
  .source-list li{grid-template-columns:32px 1fr}.source-list span{grid-column:2}
  .research-tabs button{font-size:11px;letter-spacing:0}
}

@media print{
  body>*{display:none!important}
  #research-dossier{display:block!important;position:static!important;background:#fff!important}
  #research-dossier .research-box{display:block!important;width:100%!important;max-width:none!important;max-height:none!important;box-shadow:none!important;color:#111!important;background:#fff!important;border:0!important}
  #research-dossier .research-head,#research-dossier .research-tabs,#research-dossier [data-research-panel]:not([data-research-panel="report"]),#research-dossier .modal-close,.report-actions{display:none!important}
  #research-dossier .research-pages{max-height:none!important;overflow:visible!important}
  #research-dossier [data-research-panel="report"]{display:block!important;color:#111!important}
  #research-dossier .report-identity h3,#research-dossier .report-identity p,#research-dossier .report-numbers b,#research-dossier .report-numbers span,#research-dossier .report-skills span,#research-dossier .report-skills em,#research-dossier .report-retries,#research-dossier .report-advice b,#research-dossier .report-advice p,#research-dossier .report-disclaimer{color:#111!important}
}
