/* =========================================================
   D'S EDUCATION V161 — SIGNATURE EDTECH DESIGN SYSTEM
   Reference direction: premium blue + royal purple + white + gold
   Scoped/overriding layer. Existing application logic is preserved.
   ========================================================= */
:root{
  --ds161-navy:#082B5B;
  --ds161-navy2:#0B3C7A;
  --ds161-blue:#1769E8;
  --ds161-blue2:#4B8EF7;
  --ds161-purple:#5B2BE0;
  --ds161-purple2:#7B45F2;
  --ds161-gold:#FFC83D;
  --ds161-gold2:#FFF2C7;
  --ds161-green:#16B364;
  --ds161-pink:#E94C9B;
  --ds161-orange:#F59E0B;
  --ds161-bg:#F5F8FD;
  --ds161-card:#FFFFFF;
  --ds161-text:#102A43;
  --ds161-muted:#6B7C93;
  --ds161-line:#E1EAF4;
  --ds161-shadow:0 12px 35px rgba(17,55,99,.09);
}

html{scroll-behavior:smooth}
body{background:var(--ds161-bg)!important;color:var(--ds161-text)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
button,input,select,textarea{font-family:inherit!important}

/* ================= PUBLIC WEBSITE ================= */
.app-shell:not(.portal){background:#fff!important;color:var(--ds161-text)!important}
.app-shell:not(.portal) .topbar{background:var(--ds161-navy)!important;color:#fff!important;min-height:40px!important;height:auto!important;padding:8px 18px!important}
.public-header{background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--ds161-line)!important;box-shadow:0 3px 18px rgba(16,42,67,.06)!important;backdrop-filter:blur(12px)!important}
.header-inner{max-width:1320px!important;padding:12px 22px!important}
.public-header .brand{gap:11px!important}
.public-header .brand h1{color:var(--ds161-navy)!important;font-size:18px!important;font-weight:900!important}
.public-header .brand small{color:#71839A!important}
.public-header .logo{background:linear-gradient(135deg,var(--ds161-navy),var(--ds161-blue))!important;color:var(--ds161-gold)!important;border-radius:13px!important;box-shadow:0 8px 20px rgba(23,105,232,.20)!important}
.public-header .nav{gap:5px!important}
.public-header .nav a{color:#264666!important;padding:10px 13px!important;border-radius:10px!important;font-size:13px!important}
.public-header .nav a:hover,.public-header .nav a.active{background:#EEF5FF!important;color:var(--ds161-blue)!important}
.public-header .btn-gold{background:var(--ds161-gold)!important;color:#122B4A!important;border-radius:10px!important;box-shadow:0 7px 18px rgba(255,200,61,.28)!important}

.hero{
  padding:72px 22px 64px!important;
  background:linear-gradient(120deg,#28106B 0%,#4521C4 46%,#146FEA 100%)!important;
  position:relative!important;overflow:hidden!important;color:#fff!important;
}
.hero:before{content:"";position:absolute;width:600px;height:600px;right:-180px;top:-220px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.20),transparent 67%);pointer-events:none}
.hero:after{content:"";position:absolute;width:500px;height:500px;left:-240px;bottom:-280px;border-radius:50%;background:radial-gradient(circle,rgba(255,200,61,.18),transparent 68%);pointer-events:none}
.hero-inner{max-width:1320px!important;grid-template-columns:minmax(0,1.1fr) minmax(360px,.78fr)!important;gap:48px!important;position:relative!important;z-index:2!important}
.hero .eyebrow{display:inline-flex!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.16)!important;color:#FFE07A!important;border-radius:30px!important;padding:7px 14px!important;letter-spacing:1.5px!important}
.hero h2{color:#fff!important;background:none!important;-webkit-text-fill-color:#fff!important;font-size:clamp(38px,5.2vw,68px)!important;line-height:1.02!important;letter-spacing:-2.4px!important;font-weight:950!important;margin:16px 0!important;max-width:780px!important}
.hero p{color:#E8EEFA!important;font-size:17px!important;line-height:1.7!important;max-width:680px!important}
.hero-actions{margin-top:28px!important}
.hero-actions .btn-primary{background:var(--ds161-gold)!important;color:#122B4A!important;box-shadow:0 14px 30px rgba(255,200,61,.24)!important;border-radius:12px!important}
.hero-actions .btn-gold{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:12px!important}
.hero-card{background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:28px!important;box-shadow:0 25px 55px rgba(7,19,70,.25)!important;backdrop-filter:blur(12px)!important;padding:24px!important;color:#fff!important}
.hero-card img{border-radius:20px!important;border:4px solid rgba(255,200,61,.95)!important;box-shadow:0 20px 40px rgba(7,19,70,.28)!important;object-position:center top!important}
.hero-card>div:first-child>div:first-child{min-width:220px!important}
.hero-card>div:first-child>div:first-child>div{color:#fff!important}
.hero-card>div:first-child>div:first-child small{color:#D8E4F6!important}
.hero-card .metric{background:rgba(6,29,71,.34)!important;border-color:rgba(255,255,255,.14)!important;border-radius:15px!important}
.hero-card .metric strong{color:#fff!important}.hero-card .metric span{color:#C9D7EB!important}
.hero-card>div:last-child{background:linear-gradient(135deg,#092F69,#4B20BF)!important;border:1px solid rgba(255,255,255,.15)!important}
.section{padding:68px 22px!important;background:#fff!important}
.section:nth-of-type(even){background:#F7F9FD!important}
.section-title h3{color:var(--ds161-navy)!important;font-size:34px!important;font-weight:900!important}
.section-title p{color:var(--ds161-muted)!important}
.feature-grid{gap:20px!important}
.feature{background:#fff!important;border:1px solid var(--ds161-line)!important;border-radius:20px!important;box-shadow:var(--ds161-shadow)!important}
.feature .icon{background:#EEF5FF!important;color:var(--ds161-blue)!important}
.feature h4{color:var(--ds161-navy)!important}.feature p{color:var(--ds161-muted)!important}
.public-course-card{overflow:hidden!important;padding:0!important}
.public-course-card .public-course-image{height:185px!important;background:linear-gradient(135deg,#EAF2FF,#EDE8FF)!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.public-course-card .public-course-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.public-course-card .icon,.public-course-card h4,.public-course-card p,.public-course-card .badge,.public-course-card .btn,.public-course-card .course-price{margin-left:20px!important;margin-right:20px!important}
.public-course-card h4{font-size:18px!important}.public-course-card p{min-height:45px!important}
.footer{background:linear-gradient(135deg,#071F43,#4A1FC1)!important;color:#DDE8F7!important}

/* ================= ALL PORTALS ================= */
.portal{background:var(--ds161-bg)!important;color:var(--ds161-text)!important}
.sidebar{
  width:274px!important;background:linear-gradient(180deg,#062B5C 0%,#0A3975 54%,#092B58 100%)!important;
  border-right:1px solid rgba(255,255,255,.10)!important;padding:18px 14px!important;box-shadow:8px 0 28px rgba(6,43,92,.10)!important
}
.side-brand{padding:8px 9px 20px!important;border-bottom:1px solid rgba(255,255,255,.13)!important;margin-bottom:12px!important}
.side-brand .logo{background:linear-gradient(135deg,#092B5C,#1769E8)!important;color:var(--ds161-gold)!important;border:1px solid rgba(255,200,61,.55)!important}
.side-brand strong{color:#fff!important;font-size:14px!important;font-weight:900!important}.side-brand small{color:#BCD0E8!important}
.menu-label{color:#8FB0D4!important;letter-spacing:1.5px!important}
.side-link{color:#D9E8FA!important;border-radius:12px!important;padding:12px 13px!important;font-size:13px!important}
.side-link:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
.side-link.active{background:linear-gradient(90deg,rgba(65,126,245,.30),rgba(255,255,255,.06))!important;color:#fff!important;box-shadow:inset 4px 0 0 #69A2FF,0 8px 18px rgba(0,0,0,.08)!important}
.sidebar-profile{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important;border-radius:15px!important}
.sidebar-profile:hover,.sidebar-profile.active{background:rgba(255,255,255,.13)!important;border-color:rgba(255,200,61,.48)!important}
.sidebar-profile-text b{color:#fff!important}.sidebar-profile-text small{color:#AFC6E0!important}.profile-arrow{color:var(--ds161-gold)!important}
.sidebar-logout{color:#DCE9F8!important}
.portal-main{margin-left:274px!important;width:calc(100% - 274px)!important;background:var(--ds161-bg)!important}
.portal-top{height:70px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--ds161-line)!important;box-shadow:0 3px 18px rgba(16,42,67,.05)!important}
.portal-top h2{color:var(--ds161-navy)!important;font-weight:900!important}.portal-top .eyebrow{color:var(--ds161-blue)!important}
.content{padding:28px!important;max-width:1600px!important;background:var(--ds161-bg)!important}
.page-head h3{color:var(--ds161-navy)!important;font-weight:900!important}.page-head p{color:var(--ds161-muted)!important}
.btn-primary{background:linear-gradient(135deg,var(--ds161-blue),#3F82F1)!important;color:#fff!important;box-shadow:0 8px 18px rgba(23,105,232,.18)!important}
.btn-gold{background:var(--ds161-gold)!important;color:#143253!important;box-shadow:0 8px 18px rgba(255,200,61,.18)!important}
.btn-soft{background:#EEF4FB!important;color:#173A61!important;border:1px solid #D9E6F3!important}
.btn-danger{background:#FFF0F0!important;color:#C62828!important;border:1px solid #FFD1D1!important}
.panel,.kpi,.feature,.settings-card,.workspace-card,.resource-card,.folder-card,.course-card,.course-tile,.mini-course-card,.exam-calendar-card,.task-card,.live-card,.result-card,.assignment-box,.collection{background:#fff!important;border:1px solid var(--ds161-line)!important;color:var(--ds161-text)!important;box-shadow:0 8px 24px rgba(17,55,99,.06)!important;border-radius:18px!important}
.panel-head{background:#fff!important;border-bottom:1px solid #E7EEF6!important}.panel-head h4,.panel-head b,.panel-head strong{color:var(--ds161-navy)!important}.panel-head small{color:var(--ds161-muted)!important}
.panel-body{color:var(--ds161-text)!important}
.kpi:after{background:rgba(255,200,61,.12)!important}.kpi .kpi-icon{background:#EDF4FF!important;color:var(--ds161-blue)!important}.kpi strong{color:var(--ds161-navy)!important}.kpi span{color:var(--ds161-muted)!important}
.toolbar input,.toolbar select,.crm-toolbar select,.crm-search,.fee-filters input,.fee-filters select,.expense-filters input,.expense-filters select{background:#fff!important;color:var(--ds161-text)!important;border-color:#D9E5F0!important}
.lead-table th{background:#F3F7FC!important;color:#4A6786!important;border-bottom-color:#DDE7F1!important}.lead-table td{color:#29435E!important;border-bottom-color:#EDF2F7!important}.lead-table tr:hover{background:#F8FBFF!important}
.field label{color:var(--ds161-navy)!important}.field input,.field select,.field textarea{background:#fff!important;color:#193651!important;border-color:#D9E5F0!important}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--ds161-blue)!important;box-shadow:0 0 0 3px rgba(23,105,232,.12)!important}
.badge.b-new{background:#E9F2FF!important;color:#1D5FD0!important}.badge.b-demo{background:#F1EAFF!important;color:#6A35D7!important}.badge.b-enrolled{background:#E6F8EF!important;color:#12804A!important}.badge.b-hot{background:#FFF3DD!important;color:#B36B00!important}.badge.b-not{background:#FFEAEA!important;color:#B42323!important}

/* Admin/Teacher/Front Desk dashboard cards become clear action tiles */
.portal-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.portal-tile{background:#fff!important;border:1px solid #DFE9F4!important;border-top:0!important;border-radius:20px!important;min-height:150px!important;padding:18px!important;box-shadow:0 9px 24px rgba(17,55,99,.07)!important;color:var(--ds161-text)!important}
.portal-tile:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--ds161-blue),var(--ds161-purple))}
.portal-tile:nth-child(4n+2):before{background:linear-gradient(90deg,#E94C9B,#F56BAF)}
.portal-tile:nth-child(4n+3):before{background:linear-gradient(90deg,#16B364,#53D49A)}
.portal-tile:nth-child(4n+4):before{background:linear-gradient(90deg,#F59E0B,#FFD15A)}
.portal-tile:hover{transform:translateY(-4px)!important;box-shadow:0 17px 34px rgba(17,55,99,.11)!important;border-color:#C7DCF6!important}
.portal-tile-icon{width:46px!important;height:46px!important;display:grid!important;place-items:center!important;border-radius:14px!important;background:#EDF4FF!important;font-size:23px!important;margin-bottom:11px!important}.portal-tile-title{color:#607A94!important}.portal-tile strong{color:var(--ds161-navy)!important;font-size:23px!important}.portal-tile small{color:#7B8FA5!important}

/* ================= STUDENT: TILE-ONLY HOME ================= */
.student-dashboard-v161{max-width:1280px;margin:0 auto}
.student-welcome-v161{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#0A3B78 0%,#256BE3 58%,#5A2AE0 100%);border-radius:24px;padding:25px 28px;color:#fff;box-shadow:0 18px 40px rgba(17,67,145,.18);position:relative;overflow:hidden}
.student-welcome-v161:after{content:"";position:absolute;width:280px;height:280px;right:-90px;top:-120px;border-radius:50%;background:rgba(255,255,255,.11)}
.student-welcome-v161>*{position:relative;z-index:1}.student-welcome-v161 .eyebrow{color:#FFE27A!important}.student-welcome-v161 h3{margin:8px 0 5px!important;font-size:28px!important;color:#fff!important}.student-welcome-v161 p{margin:0;color:#DCEBFF!important;font-size:13px!important;max-width:700px}
.student-course-count-v161{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.20);border-radius:16px;padding:13px 18px;text-align:center;min-width:125px}.student-course-count-v161 b{display:block;font-size:28px;color:#fff}.student-course-count-v161 span{font-size:10px;color:#DCEBFF}
.student-lock-v161{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;background:#FFF7E0;border:1px solid #F0D77B;color:#735B00;border-radius:15px}.student-lock-v161 small{display:block;margin-top:3px;color:#8B6D12}
.student-tile-grid-v161{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-top:22px}
.student-app-tile-v161{position:relative;min-height:164px;text-align:left;border:1px solid #DFE8F3;border-radius:20px;padding:20px;background:#fff;box-shadow:0 9px 25px rgba(17,55,99,.07);cursor:pointer;overflow:hidden;transition:.2s;color:var(--ds161-text)}
.student-app-tile-v161:hover{transform:translateY(-4px);box-shadow:0 18px 35px rgba(17,55,99,.12);border-color:#C9DCF5}
.student-app-tile-v161:after{content:"";position:absolute;width:100px;height:100px;right:-35px;bottom:-45px;border-radius:50%;background:rgba(23,105,232,.05)}
.student-app-icon-v161{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#EDF4FF;font-size:25px;margin-bottom:14px}
.student-app-title-v161{display:block;font-weight:900;font-size:14px;color:#294766;margin-bottom:5px}.student-app-tile-v161 strong{display:block;color:var(--ds161-navy);font-size:21px}.student-app-tile-v161 small{display:block;color:#788DA4;font-size:10px;line-height:1.4;margin-top:4px;padding-right:18px}.student-app-arrow-v161{position:absolute;right:15px;bottom:14px;color:var(--ds161-blue);font-size:18px;font-weight:900}
.student-app-tile-v161.violet .student-app-icon-v161{background:#F1EAFF}.student-app-tile-v161.green .student-app-icon-v161{background:#E8F8F0}.student-app-tile-v161.pink .student-app-icon-v161{background:#FFF0F7}.student-app-tile-v161.orange .student-app-icon-v161{background:#FFF5E5}.student-app-tile-v161.red .student-app-icon-v161{background:#FFF0F0}.student-app-tile-v161.gold .student-app-icon-v161{background:#FFF6D9}
.student-app-tile-v161.blue{border-top:4px solid #2E75E8}.student-app-tile-v161.violet{border-top:4px solid #7442E8}.student-app-tile-v161.green{border-top:4px solid #19B56A}.student-app-tile-v161.pink{border-top:4px solid #E94C9B}.student-app-tile-v161.orange{border-top:4px solid #F59E0B}.student-app-tile-v161.red{border-top:4px solid #E74C4C}.student-app-tile-v161.gold{border-top:4px solid #D9A91A}

/* Hide obsolete student-only legacy dashboard blocks if any old renderer is injected */
.student-dashboard-v160 .student-course-tiles-v160,.student-dashboard-v160 .student-course-summary-v160,.student-dashboard-v160 .student-unique-panel-v160{display:none!important}

/* ================= MOCK TEST LIGHT EXAM SYSTEM ================= */
.mtx-shell,.mtm-shell{background:#F4F7FC!important;color:#132E4D!important}
.mtx-header{background:linear-gradient(90deg,#082B5B,#1769E8)!important;border-bottom:0!important;color:#fff!important}
.mtx-brand strong,.mtx-brand span,.mtx-exam-title span,.mtx-exam-title small{color:#fff!important}.mtx-logo{background:#fff!important;color:#0B3C7A!important;border-color:#FFC83D!important}
.mtx-timer{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.25)!important}.mtx-timer>span,.mtx-timer small,.mtx-timer b{color:#fff!important}
.mtx-layout{background:#F4F7FC!important}.mtx-sidebar,.mtx-side-card,.mtx-question,.mtx-progress,.mtx-submit-panel{background:#fff!important;border-color:#DFE8F2!important;box-shadow:0 8px 24px rgba(17,55,99,.06)!important}
.mtx-side-title,.mtx-detail-row strong,.mtx-question-text,.mtx-submit-panel h3{color:#163653!important}.mtx-detail-row,.mtx-legend span{color:#71859B!important}.mtx-nav{background:#F7FAFE!important;border-color:#DCE7F2!important;color:#4D6681!important}.mtx-nav.current{background:#FFF4C9!important;border-color:#F0C83D!important;color:#7B5C00!important}.mtx-nav.answered{background:#E9F8F0!important;border-color:#A8DFC0!important;color:#12804A!important}.mtx-nav.review{background:#EAF3FF!important;border-color:#9FC5FF!important;color:#2367D4!important}
.mtx-progress{color:#71859B!important}.mtx-progress b{color:#173A5E!important}.mtx-progress>div{background:#E7EEF6!important}
.mtx-qnum{background:#FFF3C8!important;border-color:#E4BC35!important;color:#806000!important}.mtx-type{background:#E9F8F0!important;border-color:#B8E6CC!important;color:#12804A!important}.mtx-marks span{background:#F7F9FC!important;border-color:#DDE7F1!important;color:#61768D!important}
.mtx-option{background:#fff!important;border-color:#DCE7F2!important;color:#26435F!important}.mtx-option:hover{background:#F6FAFF!important;border-color:#86B2F2!important}.mtx-option.selected{background:#EAF8F0!important;border-color:#20A860!important}.mtx-letter{background:#ECF1F6!important;color:#38536D!important}.mtx-option.selected .mtx-letter{background:#16A35A!important;color:#fff!important}.mtx-option-text{color:#26435F!important}.mtx-q-footer{border-top-color:#E6EDF4!important;color:#73869A!important}.mtx-q-footer span:first-child{color:#12804A!important}
.mtm-progress-card,.mtm-navigator,.mtm-question-card{background:#fff!important;border-color:#DFE8F2!important;box-shadow:0 8px 22px rgba(17,55,99,.06)!important;color:#163653!important}.mtm-q-number{background:#FFF3C8!important;border-color:#E4BC35!important;color:#806000!important}.mtm-question-text{color:#163653!important}.mtm-option{background:#fff!important;border-color:#DCE7F2!important;color:#294660!important}.mtm-option.is-selected{background:#EAF8F0!important;border-color:#20A860!important}.mtm-option-letter{background:#ECF1F6!important;color:#38536D!important}.mtm-option.is-selected .mtm-option-letter{background:#16A35A!important;color:#fff!important}.mtm-footer{background:rgba(255,255,255,.97)!important;border-top-color:#DCE7F2!important}.mtm-next{background:linear-gradient(135deg,#1769E8,#4B8EF7)!important;color:#fff!important}.mtm-prev{background:#fff!important;color:#8A6500!important;border-color:#D4AF37!important}

/* ================= MOBILE ================= */
@media(max-width:1100px){
  .hero-inner{grid-template-columns:1fr!important}.hero-card{max-width:720px;margin:auto;width:100%}
  .portal-tile-grid,.student-tile-grid-v161{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .public-header .nav{display:none!important}
  .header-inner{padding:10px 14px!important}.public-header .brand h1{font-size:15px!important}.public-header .brand small{font-size:10px!important}
  .hero{padding:50px 16px 42px!important}.hero h2{font-size:40px!important;letter-spacing:-1.3px!important}.hero p{font-size:15px!important}
  .hero-card{padding:17px!important}.hero-card img{max-width:170px!important}
  .section{padding:48px 16px!important}.section-title h3{font-size:27px!important}
  .feature-grid{grid-template-columns:1fr!important}
  .sidebar{transform:translateX(-105%)!important;transition:transform .22s ease!important;width:min(310px,88vw)!important;box-shadow:20px 0 45px rgba(6,43,92,.22)!important}
  .sidebar.mobile-open{transform:translateX(0)!important}
  .portal-main{margin-left:0!important;width:100%!important}
  .portal-top{height:64px!important;padding:0 12px!important}
  .content{padding:14px 12px 90px!important}
  .page-head{align-items:flex-start!important;flex-direction:column!important}.page-head h3{font-size:22px!important}
  .portal-tile-grid,.student-tile-grid-v161{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
  .portal-tile{min-height:126px!important;padding:14px!important}.portal-tile strong{font-size:18px!important}
  .student-welcome-v161{padding:20px!important;border-radius:20px!important;align-items:flex-start!important}.student-welcome-v161 h3{font-size:23px!important}.student-course-count-v161{align-self:stretch;display:flex;align-items:center;justify-content:center;gap:8px}.student-course-count-v161 b{font-size:22px}.student-course-count-v161 span{font-size:10px}
  .student-app-tile-v161{min-height:145px!important;padding:15px!important;border-radius:17px!important}.student-app-icon-v161{width:43px;height:43px;border-radius:13px;font-size:21px;margin-bottom:10px}.student-app-title-v161{font-size:12px!important}.student-app-tile-v161 strong{font-size:18px!important}.student-app-tile-v161 small{font-size:9px!important}
  .form-grid{grid-template-columns:1fr!important}.field.full{grid-column:auto!important}.modal{max-width:100%!important;border-radius:16px!important}.modal-body{padding:15px!important}
  .mtx-layout{grid-template-columns:1fr!important}.mtx-sidebar{display:none!important}.mtx-main{padding:10px!important}.mtx-question{padding:15px!important}.mtx-question-text{font-size:17px!important;line-height:1.55!important}.mtx-option-text{font-size:14px!important}
}
@media(max-width:480px){
  .public-header .btn-gold{padding:9px 11px!important;font-size:11px!important}.hero h2{font-size:34px!important}.hero-actions{flex-direction:column!important}.hero-actions .btn{width:100%!important;justify-content:center!important}
  .student-tile-grid-v161,.portal-tile-grid{grid-template-columns:1fr 1fr!important}.student-app-tile-v161{min-height:137px!important;padding:13px!important}.student-app-arrow-v161{right:10px;bottom:10px}
  .kpi-grid{grid-template-columns:1fr 1fr!important}.table-wrap{border-radius:12px}.content{padding-left:9px!important;padding-right:9px!important}
}

/* Avoid intentional page-level horizontal overflow on every portal. */
.portal-main,.content,.student-dashboard-v161,.student-tile-grid-v161,.portal-tile-grid{min-width:0!important;max-width:100%!important}
img{max-width:100%}
