@media(max-width:760px){#menu{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%;min-width:0}#menu>a,#menu>.school-dropdown{min-width:0}#menu>a,#menu>.school-dropdown>a{font-size:12px!important;min-height:48px!important;padding:9px 5px!important;line-height:1.3!important;overflow-wrap:break-word}.school-dropdown>a,.school-dropdown>button:not(.school-dropdown-toggle){padding-right:23px!important}.institution-header .institution-nav-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;overflow:visible!important}.institution-header .institution-nav-row>.school-dropdown{min-width:0}.institution-header .institution-nav button{font-size:12px!important;min-height:48px!important;line-height:1.3!important}.school-dropdown .school-dropdown-toggle{min-height:28px!important;height:28px!important;right:2px!important}.school-dropdown-panel{position:fixed!important;max-width:calc(100vw - 24px)!important;max-height:60vh;overflow:auto!important;z-index:1000!important}.school-dropdown-panel button{min-height:44px!important}.header-quick-actions{gap:7px}.header-quick-actions a{font-size:12px;padding:9px 12px}.school-utility-bar{gap:3px;line-height:1.5}.school-utility-bar button{min-height:30px}.school-page-shell .hero h2{font-size:clamp(30px,8.5vw,40px);letter-spacing:-1px}.school-page-shell .hero{padding:22px 16px}.school-page-shell main{padding-left:10px;padding-right:10px}.school-page-shell .home-gallery-viewport{aspect-ratio:4/3}.school-page-shell .sheet{padding:20px 14px}.school-page-shell .admin-form{padding:16px 12px}.school-page-shell .admin-form input,.school-page-shell .admin-form select,.school-page-shell .admin-form textarea{max-width:100%;min-width:0;box-sizing:border-box;font-size:16px}.managed-content-row input{min-width:0;width:100%;flex-basis:100%}.admin-settings-index a{flex:1 1 45%;font-size:12px}.school-social-rail{top:auto!important;bottom:64px!important;transform:none!important}.school-social-rail a{width:27px!important;height:31px!important}.school-motion-toggle{bottom:10px;left:10px;font-size:11px}}
@media(max-width:600px){.masthead .brand{display:grid;grid-template-columns:1fr;gap:18px}.masthead .brand>div:not(.principal-masthead):not(.institution-logos){grid-row:1;grid-column:1;min-width:0}.masthead .brand>.principal-masthead{grid-row:3;grid-column:1}.masthead .brand>.institution-logos{grid-row:2;grid-column:1}.masthead .brand h1{font-size:26px!important;line-height:1.25;letter-spacing:-.5px}.masthead .brand .telugu{font-size:18px;line-height:1.6}.masthead .top{display:grid;grid-template-columns:1fr auto;gap:10px 5px;align-items:center}.masthead .top>span{grid-column:1/-1;text-align:center;font-size:9px;letter-spacing:1.3px}.masthead .top .languages{grid-row:2;grid-column:1;display:flex;gap:4px;flex-wrap:nowrap}.masthead .top .languages button{font-size:10px;padding:6px 7px;min-width:0}.masthead .top .text-size-controls{grid-row:2;grid-column:2;display:flex;gap:3px;margin:0;font-size:10px;white-space:nowrap}.masthead .text-size-controls button{font-size:10px;padding:5px 6px}}

/* Text size is available in the top accessibility toolbar; hide duplicate controls. */
.masthead .top .text-size-controls{display:none!important}
/* Keep both school identifiers clear of the fixed social rail on narrow screens. */
@media(max-width:600px){.model-school-codes{display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;white-space:normal!important;padding-inline:28px!important}.model-school-codes span{max-width:100%;overflow-wrap:anywhere}}

/* Faculty cards keep each supplied name and role visible on phones. */
@media(max-width:760px){
body[data-school-page="faculty"] main .table-scroll{overflow:visible!important;min-width:0!important}
body[data-school-page="faculty"] main table{display:block!important;width:100%!important;min-width:0!important}
body[data-school-page="faculty"] main thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
body[data-school-page="faculty"] main tbody{display:grid!important;gap:12px}
body[data-school-page="faculty"] main tbody tr{display:grid!important;grid-template-columns:56px minmax(0,1fr);gap:5px 12px;padding:14px!important;border:1px solid #d6e2dc;border-radius:12px;background:#fff!important;min-width:0}
body[data-school-page="faculty"] main tbody td{display:block!important;min-width:0!important;width:auto!important;padding:0!important;border:0!important;background:transparent!important;white-space:normal!important;overflow-wrap:anywhere}
body[data-school-page="faculty"] main tbody td:first-child{grid-column:1;grid-row:1 / span 4}
body[data-school-page="faculty"] main tbody td:not(:first-child){grid-column:2}
body[data-school-page="faculty"] main tbody td:nth-child(2){font-size:18px!important;line-height:1.4!important;font-weight:800!important}
body[data-school-page="faculty"] main tbody td:nth-child(n+3){font-size:14px!important;line-height:1.5!important}
body[data-school-page="faculty"] main .staff-initials,body[data-school-page="faculty"] main .staff-photo-cell img{width:56px!important;height:70px!important;max-width:100%;font-size:20px!important}
}
