/* Additive GEVM visual styles. Original tool CSS is left untouched. */
#site-menu .gse-edu-nav{position:relative;display:inline-flex;align-items:center;color:#e4edf9;min-width:max-content}
#site-menu .gse-edu-nav summary{cursor:pointer;list-style:none;padding:4px 8px;border-radius:6px;white-space:nowrap}
#site-menu .gse-edu-nav summary::-webkit-details-marker{display:none}
#site-menu .gse-edu-nav-menu{position:absolute;top:100%;right:0;z-index:2001;min-width:240px;padding:6px;border:1px solid #3a5374;background:#0f203d;border-radius:10px;box-shadow:0 10px 24px #0007}
#site-menu .gse-edu-nav-menu a{display:block;padding:9px 11px;white-space:normal;text-align:left;color:#e8f1fc;text-decoration:none}
#site-menu .gse-edu-nav-menu a:hover{background:#233959;color:#f9d16a}
.gevm-tool{min-width:0}.gevm-breadcrumb{font-size:13px;margin:10px 0 15px;color:#aabbd2}.gevm-breadcrumb a{color:#f6ca61}
.gevm-box,.gevm-head{background:linear-gradient(150deg,#12223b,#0f1b2f);border:1px solid #344763;border-radius:14px;margin:16px 0;padding:21px;color:#e7edf5;overflow-wrap:anywhere}
.gevm-box h2{font-size:19px;color:#fff;margin:0 0 14px}.gevm-box h3{font-size:16px;color:#f5d27e;margin:6px 0}.gevm-box a{color:#86dcff;overflow-wrap:anywhere}.gevm-box a:hover{color:#fff}
.gevm-box .gevm-muted,.gevm-muted{font-size:13px;color:#b8c8db}.gevm-head h1{font-size:clamp(25px,3vw,36px);margin:9px 0 13px}
.gevm-topline{display:flex;gap:12px;justify-content:space-between;color:#b0c1d5;font-size:12px}.gevm-mode{padding:3px 10px;background:#1c4b44;border:1px solid #3e8c79;border-radius:50px;color:#c8f5e7;font-weight:700}
.gevm-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}.gevm-btn{background:#f3c35b;color:#152238;border:0;border-radius:8px;font-weight:800;font-size:13px;padding:11px 14px;cursor:pointer}.gevm-btn:hover{background:#ffe29a}
.gevm-fact{display:grid;grid-template-columns:minmax(130px,31%) 1fr;gap:9px;padding:9px 0;border-bottom:1px solid #29415c;font-size:14px}.gevm-fact strong{color:#c6ddf2}.gevm-fact span{line-height:1.6}
.gevm-detail{margin:9px 0;border:1px solid #3b506c;background:#142741;border-radius:9px;padding:0 13px}.gevm-detail>summary{cursor:pointer;padding:13px 4px;font-weight:700;color:#e8f3ff}.gevm-detail[open]>summary{color:#f5cb6c}.gevm-detail>p,.gevm-detail>.gevm-facts{margin:9px 7px 15px}
.gevm-pill-row{display:flex;gap:8px;flex-wrap:wrap}.gevm-pill{padding:7px 11px;border:1px solid #456282;border-radius:30px;text-decoration:none;font-size:13px;color:#def5ff}.gevm-pill.selected,.gevm-pill:hover{background:#264c69;color:#fff;border-color:#e4c063}
.gevm-chapters{padding-left:23px;font-size:13px;line-height:1.8}.gevm-chapters li{padding-bottom:5px}
.gevm-filter{width:100%;max-width:600px;height:41px;margin:8px 0 14px;padding:7px 12px;background:#fff;border:1px solid #8facc8;border-radius:8px;color:#14243b;font:inherit}
.gevm-resource{padding:14px 0;border-bottom:1px solid #314761}.gevm-guide-link{padding:12px 14px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;text-decoration:none;border:1px solid #344b69;border-radius:9px;margin-bottom:8px}.gevm-guide-link span{font-size:12px;color:#aebfd3}.gevm-filter-item[hidden]{display:none!important}
.gevm-date-result{font-size:14px;line-height:1.6;max-width:750px;margin-top:11px}.gevm-date-result ul{margin:4px 0 8px;padding-left:23px}.gevm-date-result li{margin:8px 0}
.gevm-category .gevm-detail .tool-directory{padding:10px;display:grid}
@media(max-width:680px){.gevm-fact{display:block}.gevm-fact strong{display:block;margin-bottom:3px}.gevm-box,.gevm-head{padding:15px}#site-menu .gse-edu-nav-menu{left:0;right:auto}}
@media print{.site-header,.site-footer,.sidebar,.ad-slot,.gevm-btn,.gevm-filter,#site-menu,.gevm-date-check{display:none!important}body{background:#fff!important;color:#111!important}.site-columns{display:block!important}.gevm-head,.gevm-box,.gevm-detail{color:#111!important;background:#fff!important;border-color:#ccc!important;box-shadow:none!important;break-inside:avoid-page}.gevm-box h2,.gevm-box h3,.gevm-detail>summary,.gevm-fact strong{color:#111!important}.gevm-box a{color:#045b8a!important}.gevm-detail:not([open])>*:not(summary){display:block!important}.gevm-fact{border-color:#ddd!important}.gevm-mode{color:#111!important}}

/* Compact two-row navigation beside the existing brand; all eleven buttons visible. */
.site-header .head-inner{display:grid!important;grid-template-columns:minmax(210px,285px) minmax(0,1fr);align-items:center;max-width:100%;padding:9px 22px;gap:16px;flex-wrap:nowrap}
.site-header .brand{max-width:285px;min-width:0}
.site-header #site-menu{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;align-content:center;justify-content:stretch;min-width:0;width:100%;max-width:none}
.site-header #site-menu>a{display:flex;justify-content:center;align-items:center;min-width:0;min-height:36px;padding:7px 6px;text-align:center;white-space:normal;font-size:clamp(10px,.79vw,13px);line-height:1.15}
@media(max-width:1000px){.site-header .head-inner{grid-template-columns:minmax(175px,215px) minmax(0,1fr);padding:8px 10px;gap:9px}.site-header #site-menu{grid-template-columns:repeat(6,minmax(0,1fr))}.site-header #site-menu>a{font-size:11px;padding:6px 3px}}
@media(max-width:620px){.site-header .head-inner{grid-template-columns:minmax(100px,135px) minmax(0,1fr);gap:6px}.site-header .brand{flex-wrap:wrap;gap:2px}.site-header .brand-logo{width:34px;height:34px}.site-header .brand>span{font-size:13px}.site-header .brand small{font-size:8px}.site-header #site-menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.site-header #site-menu>a{font-size:9px;padding:6px 2px;min-height:31px;border-radius:6px}}
.gevm-learning-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gevm-learning-fields>div{min-width:0}
.gevm-learning-fields label{font-size:13px;margin:5px 0}
.gevm-learning-fields select,.gevm-learning-fields input{width:100%;min-height:44px;padding:9px 11px;font-size:15px}
.gevm-learning-fields select:disabled{opacity:.55}
.gevm-selected-chapters{margin-top:17px}
.gevm-lesson-row{border-top:1px solid #304761;padding:12px 0}
.gevm-lesson-row strong{display:block;color:#eef5ff;margin-bottom:6px}
.gevm-lesson-row a{font-size:14px}
.gevm-helpnote{font-size:12px;color:#b2c9df;margin-top:8px}
.gevm-pdf-form{margin:10px 0 18px;display:flex;gap:9px;flex-wrap:wrap;align-items:end}
.gevm-pdf-form label{margin:0;flex:1 1 230px}
.gevm-pdf-form select{max-width:100%;font-size:14px;min-height:43px}
.gevm-pdf-form button{min-height:43px}
.gevm-pdf-form .gevm-paper-count{flex:0 0 110px}
@media(max-width:690px){.gevm-learning-fields{grid-template-columns:1fr}}
@media print{.gevm-learning-fields,.gevm-pdf-form,.gevm-helpnote{display:none!important}}

/* One integrated Study Material tool surface; leave the 750 tool pages untouched. */
.gevm-study-unified{padding:22px 25px;margin:15px 0 19px}
.gevm-study-unified h1{margin:12px 0;font-size:clamp(25px,3vw,34px)}
.gevm-study-unified h2{margin:0 0 9px;color:#f6f8fd;font-size:19px}
.gevm-study-step{margin-top:23px}
.gevm-study-unified .gevm-pdf-inline{border-top:1px solid #314761;padding-top:22px;margin-top:20px}
.gevm-study-unified .gevm-learning-fields>div[hidden]{display:none!important}
.gevm-study-unified button:disabled{cursor:not-allowed;opacity:.55}
.gevm-study-unified .gevm-lesson-row{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.gevm-study-unified .gevm-lesson-row strong{font-size:14px}
.gevm-study-unified .gevm-lesson-row a{font-size:14px;text-decoration:underline}
.gevm-study-unified .gevm-selected-chapters:empty{display:none}
.gevm-study-unified .gevm-pdf-form{padding-bottom:0}
@media(max-width:690px){.gevm-study-unified{padding:16px}}

/* GEVM 650 only: follow the 750-tool introduction order and header typography. */
.gevm-tool>.gevm-page-intro{padding:0 14px;margin:0;box-sizing:border-box;min-width:0}
.gevm-page-intro .gevm-breadcrumb{font-size:15px;margin:0 0 24px;color:#c7d8ef;line-height:1.6}
.gevm-page-intro .gevm-breadcrumb a{color:#adcef8;text-decoration:underline}
.gevm-page-intro .gevm-intro-category{margin:0 0 17px;color:#f7be4f;font-weight:800;font-size:18px;line-height:1.3}
.gevm-page-intro h1{margin:0 0 17px;color:#ecf3ff;font-size:clamp(30px,3.4vw,43px);font-weight:800;line-height:1.17}
.gevm-page-intro .gevm-intro-description{margin:0 0 15px;color:#c5d8f1;font-size:17px;line-height:1.55}
.gevm-page-intro .gevm-intro-method{margin:0 0 12px;color:#c6d9f3;font-size:16px;line-height:1.6}
.gevm-tool>.gevm-info-toolbar{margin:0}
.gevm-tool .gevm-study-unified{margin:0}
/* Ads use the same 300px variable-height rail as existing standard tools. */
@media(min-width:1121px){
 body:has(.gevm-education-columns)>main{margin-top:40px!important;padding-top:0!important;padding-bottom:0!important;min-height:0!important}
 .gse-ad-frame>.gse-ad-primary.gevm-tool{padding-top:34px!important}
 .gevm-education-columns.gse-ad-frame>.gse-ad-rail{width:300px!important;min-width:300px!important;max-width:300px!important;padding-top:0!important;margin-top:0!important}
 .gevm-education-columns .gse-ad-rail-stack>.gse-ad-unit{box-sizing:border-box;width:300px!important;min-width:300px!important;max-width:300px!important}
}
@media(max-width:1120px){.gevm-tool>.gevm-page-intro{padding:0 3px}.gevm-page-intro h1{font-size:clamp(27px,6vw,37px)}}
@media print{.gevm-tool>.gevm-page-intro{padding:0}.gevm-page-intro .gevm-intro-category,.gevm-page-intro h1,.gevm-page-intro p{color:#111!important}}

/* NEW EDUCATION TOOLS ONLY: single Standard tool panel. FAQs, ads and
   disclaimer stay in their existing positions outside the one tool block. */
.gevm-tool>.gevm-single-tool-panel{margin:0 0 18px;padding:22px 25px}
.gevm-tool>.gevm-single-tool-panel>.gevm-box{
  border:0;border-top:1px solid #314761;border-radius:0;box-shadow:none;
  background:transparent;margin:0;padding:20px 0;overflow:visible;
}
.gevm-tool>.gevm-single-tool-panel>.gevm-box:first-child{border-top:0;padding-top:0}
.gevm-tool>.gevm-single-tool-panel>.gevm-pdf-inline,
.gevm-tool>.gevm-single-tool-panel>.gevm-tool-section{
  margin:0;border-top:1px solid #314761;padding:20px 0 8px;
}
.gevm-tool>.gevm-single-tool-panel>.gevm-pdf-inline h2,
.gevm-tool>.gevm-single-tool-panel>.gevm-tool-section h2{font-size:19px;margin:0 0 12px}
.gevm-tool>.gevm-single-tool-panel>.gevm-pdf-inline form{margin-bottom:0}
.gevm-tool>.gevm-single-tool-panel .gevm-detail{background:#172c46}
.gevm-tool .gevm-study-unified>.gevm-study-step{margin-top:0}
.gevm-tool .gevm-study-unified>.gevm-study-step>h2{margin-top:0}
.gevm-tool .gevm-study-unified>.gevm-pdf-inline{margin-top:18px}
@media(max-width:690px){.gevm-tool>.gevm-single-tool-panel{padding:16px}}
@media print{.gevm-tool>.gevm-single-tool-panel>.gevm-box,.gevm-tool>.gevm-single-tool-panel>.gevm-pdf-inline{border-color:#ccc!important;background:#fff!important}}

/* GEVM Education tools, restored original 750-tool rail semantics.
   The rail occupies the whole height, while its ad slots retain native
   dimensions and are never cropped or stretched. The balance is blank. */
@media(min-width:1121px){
 body:has(.gevm-education-columns)>main{margin-top:40px!important;padding-top:0!important;padding-bottom:0!important}
 body>main>.site-columns.gevm-education-columns.gevm-fixed-rail.gse-ad-frame{
  display:grid!important;position:relative!important;box-sizing:border-box!important;
  grid-template-columns:minmax(0,1fr) 300px!important;gap:15px!important;
  width:1043px!important;max-width:1043px!important;
  align-items:stretch!important;padding:0!important;margin:0 auto!important;
 }
 body>main>.site-columns.gevm-education-columns.gevm-fixed-rail.gse-ad-frame>.gse-ad-primary{
  display:flex!important;flex-direction:column!important;row-gap:15px!important;grid-column:1!important;grid-row:1!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;
  margin:0!important;
 }
 body>main>.site-columns.gevm-education-columns.gevm-fixed-rail.gse-ad-frame>.gevm-server-right-rail{
  display:block!important;grid-column:2!important;grid-row:1!important;
  position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;
  align-self:stretch!important;box-sizing:border-box!important;
  width:300px!important;min-width:300px!important;max-width:300px!important;
  height:100%!important;min-height:0!important;overflow:visible!important;
  padding:0!important;margin:0!important;border:0!important;
 }
 .gevm-education-columns .gevm-server-ad-stack{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  align-items:stretch!important;width:300px!important;max-width:300px!important;
  height:auto!important;gap:15px!important;overflow:visible!important;
  padding:0!important;margin:0!important;
 }
 .gevm-education-columns .gevm-server-ad-stack>.gevm-server-ad-unit{
  display:flex!important;flex:none!important;box-sizing:border-box!important;
  flex-shrink:0!important;width:300px!important;min-width:300px!important;
  max-width:300px!important;margin:0!important;overflow:hidden!important;
 }
}
@media(max-width:1120px){
 body>main>.site-columns.gevm-education-columns.gevm-fixed-rail.gse-ad-frame{
  display:block!important;width:100%!important;max-width:100%!important;
 }
 body>main>.site-columns.gevm-education-columns.gevm-fixed-rail.gse-ad-frame>.gse-ad-primary{
  width:100%!important;max-width:100%!important;
 }
 .gevm-server-right-rail{display:none!important}
}
@media print{.gevm-server-right-rail{display:none!important}}

/* V9: Match the approved 750-tool 40px navigation-to-content separation.
   Only GEVM tool pages: do not alter 15px inter-block spacing or ad sizes. */

/* Study Material Balvatika-only NCERT resource and GSE file panels. */
.gevm-balvatika-resources{border-top:1px solid #304761;margin-top:22px;padding-top:19px}
.gevm-balvatika-resources[hidden]{display:none!important}
.gevm-balvatika-resources h3{font-size:18px;color:#eff6ff;margin:0 0 12px}
.gevm-balvatika-item{padding:12px 0;border-top:1px solid #304761}
.gevm-balvatika-item strong{display:block;color:#eaf3ff;margin-bottom:4px}
.gevm-balvatika-item p{margin:4px 0 7px}
.gevm-balvatika-item a,.gevm-balvatika-folder a{color:#8fd8ff;text-decoration:underline;overflow-wrap:anywhere}
.gevm-balvatika-activity{border-top:1px solid #304761;margin-top:22px;padding-top:16px}
.gevm-balvatika-folder{margin:9px 0;padding:10px 12px;border:1px solid #3a5676;border-radius:8px;background:#16283e}
.gevm-balvatika-folder summary{font-weight:650;cursor:pointer}
.gevm-balvatika-folder ul{margin:10px 0 3px;padding-left:20px}
.gevm-balvatika-folder li{margin:7px 0}
@media print{.gevm-balvatika-folder{break-inside:avoid}}

/* Balvatika direct NCERT story resources */
.gevm-barkha-section{margin-top:20px;border-top:1px solid #334a68;padding-top:15px}
.gevm-barkha-list{padding-left:23px;margin:12px 0}
.gevm-barkha-story{padding:10px 0;border-bottom:1px solid #2c415b}
.gevm-barkha-story strong{display:block;margin-bottom:7px}
.gevm-barkha-languages{display:flex;gap:8px;flex-wrap:wrap}
.gevm-barkha-languages a{display:inline-block;border:1px solid #3b6887;border-radius:6px;padding:5px 9px;color:#a8e5ff;font-size:13px;text-decoration:none}
.gevm-barkha-languages a:hover{background:#284b69}

/* Balvatika: GSE folders first, all official NCERT resources retained in dropdowns. */
.gevm-balvatika-resources{margin-top:12px;padding-top:0;border-top:0}
.gevm-balvatika-activity{margin:0 0 18px;padding:0;border:0}
.gevm-balvatika-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:12px}
.gevm-balvatika-grid .gevm-balvatika-item{min-width:0;padding:10px;border:1px solid #304761;border-radius:7px}
.gevm-balvatika-official{margin-top:16px}
.gevm-barkha-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;list-style:none;counter-reset:barkha;padding:0}
.gevm-barkha-story{counter-increment:barkha;min-width:0;padding:10px;border:1px solid #304761;border-radius:7px}
.gevm-barkha-story strong::before{content:counter(barkha) '. '}
.gevm-barkha-languages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.gevm-barkha-languages a{text-align:center;white-space:normal}
@media(max-width:650px){.gevm-balvatika-grid,.gevm-barkha-list{grid-template-columns:1fr}}
