/* Review 3: academic routes and guide blocks only. Shared shell/homepage are untouched. */
html:root:root:root:root[data-academic-review] main .ar3-icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
html:root:root:root:root[data-academic-review] main .section-head h2{display:flex;align-items:center;gap:12px}
html:root:root:root:root[data-academic-review] main .section-head h2>.ar3-icon{color:#1670b8}
html:root:root:root:root[data-academic-review] main .section-head .eyebrow,
html:root:root:root:root[data-academic-review] main .chair-heading .eyebrow{display:none!important}
html:root:root:root:root[data-academic-review="hub"] main .search-field>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html:root:root:root:root[data-academic-review="hub"] main .search-field{display:flex!important;align-items:center!important;min-height:48px!important}
html:root:root:root:root[data-academic-review="hub"] main .search-field>*:is(input,select){min-width:0;width:100%}
html:root:root:root:root[data-academic-review="hub"] main .group-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html:root:root:root:root[data-academic-review="hub"] main .group-card{--accent:#168cff!important;padding:20px 14px!important;min-height:110px!important;border-radius:0!important;background:#fff!important;color:#102659!important}
html:root:root:root:root[data-academic-review="hub"] main .group-card :is(.num,.arrow){display:none!important}
html:root:root:root:root[data-academic-review="hub"] main .group-card strong{font-size:16px!important;margin-top:0!important}
html:root:root:root:root[data-academic-review="hub"] main .group-card:after{transform:scaleX(0)!important}
html:root:root:root:root[data-academic-review="hub"] main .group-card:hover{background:#eef6ff!important}
html:root:root:root:root[data-academic-review="hub"] main .group-card[aria-current="page"]{background:#eef6ff!important}
html:root:root:root:root[data-academic-review="hub"] main .group-card[aria-current="page"]:after{transform:scaleX(1)!important}
html:root:root:root:root[data-academic-review="group"] main .summary>a:hover{outline:2px solid #168cff;outline-offset:-2px}
html:root:root:root:root[data-academic-review="group"] main #directory-title{scroll-margin-top:120px}
html:root:root:root:root[data-academic-review="department"] main .hero .eyebrow{display:none!important}
html:root:root:root:root[data-academic-review="department"] main #class-tags{margin:20px 0 12px!important}
html:root:root:root:root[data-academic-review="department"] main .ar3-title-row{display:flex;align-items:center;gap:16px;position:relative}
html:root:root:root:root[data-academic-review="department"] main #department-name{font-size:36px!important;font-weight:700!important;line-height:1.35!important;margin:0!important;min-width:0}
html:root:root:root:root[data-academic-review="department"] main .ar3-title-row .tun-m-save-row{display:flex;margin:0!important;flex-shrink:0}
html:root:root:root:root[data-academic-review="department"] main .ar3-title-row .tun-m-save{width:44px!important;height:44px!important;min-width:44px!important;padding:10px!important;border:0!important;background:transparent!important;color:#1666ae!important}
html:root:root:root:root[data-academic-review="department"] main .tun-m-save[aria-pressed="true"] svg{fill:#f5c64d!important;stroke:#8b6514!important}
html:root:root:root:root[data-academic-review="department"] main .ar3-title-row .tun-m-save>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html:root:root:root:root[data-academic-review="department"] main .tun-m-save-note{position:absolute;top:100%;right:0;background:#fff;font-size:14px;z-index:2}
html:root:root:root:root[data-academic-review="department"] main .tun-m-save-note:not([data-error="true"]){display:none!important}
html:root:root:root:root[data-academic-review="department"] main .section-nav a{font-size:16px!important}
html:root:root:root:root[data-academic-review="department"] main .section[id]{scroll-margin-top:150px!important}
html:root:root:root:root[data-academic-review="department"] main .resource-icon{display:flex!important;align-items:center!important;justify-content:center!important}
html:root:root:root:root[data-academic-review="department"] main .ar3-community{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
html:root:root:root:root[data-academic-review="department"] main .ar3-community .course-band,
html:root:root:root:root[data-academic-review="department"] main .ar3-community .pei-discussion-panel{height:100%;box-sizing:border-box;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:space-between;gap:24px;padding:28px!important;border-radius:0!important;border:1px solid #dbe7ef!important;box-shadow:none!important}
html:root:root:root:root[data-academic-review="department"] main #peipei-discussion{margin:0!important;padding:0!important;scroll-margin-top:140px}
html:root:root:root:root[data-academic-review="department"] main #course-rating .ar3-community :is(h2,h3){font-size:22px!important;line-height:1.45!important;font-weight:700!important;margin:0 0 12px!important}
html:root:root:root:root[data-academic-review="department"] main #course-rating .ar3-community p{font-size:16px!important;line-height:1.7!important}
html:root:root:root:root[data-academic-review="department"] main #course-rating .ar3-community :is(.pei-discussion-link,.course-band>a){font-size:16px!important;min-height:44px;display:inline-flex;align-items:center;padding:12px 18px!important;border-radius:0!important}
html:root:root:root:root[data-academic-review="school"] main #academy-dept-count{display:block;width:fit-content;margin-bottom:8px;background:transparent!important;padding:0!important;color:#526581!important}
html:root:root:root:root[data-academic-review="school"] main .academy-title .eyebrow{display:none!important}
html:root:root:root:root[data-academic-review="school"] main .program-tabs{background:transparent!important;padding:0!important;border:0!important;gap:12px}
html:root:root:root:root[data-academic-review="school"] main .program-tab{border-radius:0!important;box-shadow:none!important}
html:root:root:root:root[data-academic-review="school"] main .program-tab[aria-selected="true"]{background:#d9eaff!important;color:#155fa6!important}
html:root:root:root:root[data-academic-review="school"] main .academy-button{border-radius:0!important}
html:root:root:root:root #brx-content .tunguide26 .g-book>span{display:none!important}
html:root:root:root:root #brx-content [class*="tunannual"] :is(.ta-slide-btn,.ta-hero-prev,.ta-hero-next){display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}
html:root:root:root:root #brx-content [class*="tunannual"] .ta-quiz-grid>a{grid-template-columns:56% minmax(0,1fr)!important}
html:root:root:root:root #brx-content [class*="tunannual"] .ta-quiz-grid>a>img{width:100%!important;height:100%!important;object-fit:cover!important}
@media(max-width:1100px){
  html:root:root:root:root[data-academic-review="hub"] main .group-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:767px){
  html:root:root:root:root[data-academic-review="hub"] main .group-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html:root:root:root:root[data-academic-review="hub"] main .search-box:not(.is-open) .advanced-field{display:none!important}
  html:root:root:root:root[data-academic-review="department"] main #department-name{font-size:28px!important}
  html:root:root:root:root[data-academic-review="department"] main .ar3-title-row{gap:8px}
  html:root:root:root:root[data-academic-review="department"] main .ar3-community{grid-template-columns:1fr}
  html:root:root:root:root[data-academic-review="department"] main .section-nav a{font-size:16px!important}
}

/* Guide landing: softer Hero and article titles two pixels below shared heading scale. */
html:root:root:root:root #brx-content .tunguide26 .g-hero{background-color:#f7faff!important}
html:root:root:root:root #brx-content .tunguide26 .g-feature h3{font-size:calc(var(--tun-h3,22px) - 2px)!important}
html:root:root:root:root #brx-content .tunguide26 .g-feature h3 a{font-size:inherit!important}

/* Full-width Hero background; retain the existing 1536px content alignment. */
html:root:root:root:root #brx-content .tunguide26 .g-hero{width:100%!important;max-width:none!important}
@media(min-width:768px){html:root:root:root:root #brx-content .tunguide26 .g-hero{padding-inline:max(3.7%,calc((100% - 1536px)/2 + 3.7%))!important}}
