.cd-guidance-cta{background:linear-gradient(135deg,#f7fbff,#eef5ff);border:1px solid #cfe0f5;border-radius:14px;padding:18px 20px;margin:18px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 7px 20px rgba(23,78,166,.06)}
.cd-guidance-cta strong{display:block;color:#092653;font-size:16px}.cd-guidance-cta p{margin:3px 0 0;color:#64748b;font-size:12px}.cd-guidance-open{border:0;border-radius:8px;background:#174ea6;color:#fff;font-weight:800;font-size:12px;padding:11px 17px;cursor:pointer;white-space:nowrap}.cd-guidance-open:hover{background:#123d83}
.cd-guidance-modal{display:none;position:fixed;inset:0;z-index:6000;align-items:center;justify-content:center;padding:18px}.cd-guidance-modal.cd-open{display:flex}.cd-guidance-backdrop{position:absolute;inset:0;background:rgba(9,38,83,.58);backdrop-filter:blur(2px)}.cd-guidance-dialog{position:relative;width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:16px;padding:24px;box-shadow:0 22px 70px rgba(0,0,0,.25);z-index:1}.cd-guidance-close{position:absolute;right:12px;top:9px;width:34px;height:34px;border:0;background:#f1f5f9;border-radius:50%;font-size:24px;line-height:1;color:#334155;cursor:pointer}.cd-guidance-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin:0 35px 17px 0}.cd-guidance-head h2{margin:0 0 5px;font-size:21px;color:#092653}.cd-guidance-head p{margin:0;color:#64748b;font-size:12px}.cd-guidance-badge{background:#eef5ff;border:1px solid #cfe0f5;border-radius:999px;padding:6px 10px;font-size:9px;font-weight:800;color:#174ea6;white-space:nowrap}.cd-guidance-form{display:grid;grid-template-columns:1fr 1fr;gap:11px}.cd-guidance-field{display:flex;flex-direction:column;gap:5px}.cd-guidance-field.cd-full{grid-column:1/-1}.cd-guidance-field label{font-size:11px;font-weight:800;color:#243447}.cd-guidance-field em{font-style:normal;font-weight:400;color:#94a3b8}.cd-guidance-field input,.cd-guidance-field select{width:100%;border:1px solid #cbd8e8;border-radius:8px;padding:10px 11px;font-size:12px;background:#fff;color:#243447;outline:none}.cd-choice-row{display:flex;flex-wrap:wrap;gap:7px}.cd-choice{position:relative}.cd-choice input{position:absolute;opacity:0;pointer-events:none}.cd-choice span{display:block;border:1px solid #cbd8e8;background:#fff;border-radius:999px;padding:7px 10px;font-size:10.5px;font-weight:700;color:#334155;cursor:pointer}.cd-choice input:checked+span{background:#174ea6;border-color:#174ea6;color:#fff}.cd-guidance-submit{grid-column:1/-1;border:0;border-radius:8px;background:#174ea6;color:#fff;font-weight:800;font-size:12px;padding:11px 17px;cursor:pointer}.cd-guidance-note{margin-top:11px;font-size:9.5px;color:#64748b}.cd-guidance-success{display:none;margin-top:12px;padding:10px 12px;border-radius:8px;background:#ecfdf3;border:1px solid #b7ebca;color:#166534;font-size:11px;font-weight:700}
@media(max-width:640px){.cd-guidance-cta{margin:12px 12px 16px;padding:16px 14px;display:block}.cd-guidance-cta strong{font-size:15px}.cd-guidance-open{width:100%;margin-top:11px}.cd-guidance-modal{padding:10px}.cd-guidance-dialog{padding:19px 15px;border-radius:13px;max-height:calc(100vh - 20px)}.cd-guidance-head{display:block;margin-right:30px}.cd-guidance-head h2{font-size:19px}.cd-guidance-badge{display:inline-block;margin-top:8px}.cd-guidance-form{grid-template-columns:1fr;gap:10px}.cd-guidance-field.cd-full{grid-column:auto}.cd-guidance-submit{grid-column:auto}.cd-choice span{font-size:10px;padding:7px 9px}}

/* Soft content gate */
.cd-guidance-gate{margin:28px 0;padding:26px 22px;border:1px solid #cfe0f5;border-radius:16px;background:linear-gradient(135deg,#f7fbff,#eef5ff);box-shadow:0 10px 28px rgba(23,78,166,.08);text-align:center;position:relative;z-index:2}.cd-gate-inner{max-width:680px;margin:0 auto}.cd-gate-icon{width:46px;height:46px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;font-size:22px;box-shadow:0 4px 12px rgba(23,78,166,.10)}.cd-guidance-gate h2{margin:0 0 7px;color:#092653;font-size:20px;line-height:1.3}.cd-guidance-gate p{margin:0 auto;color:#64748b;font-size:12px;line-height:1.6;max-width:600px}.cd-gate-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:16px}.cd-gate-actions button{border-radius:9px;padding:11px 17px;font-size:12px;font-weight:800;cursor:pointer}.cd-gate-guidance{border:0;background:#174ea6;color:#fff}.cd-gate-guidance:hover{background:#123d83}.cd-gate-continue{border:1px solid #b9cce5;background:#fff;color:#174ea6}.cd-gate-continue:hover{background:#f8fbff}.cd-gated-content{display:none!important}@media(max-width:640px){.cd-guidance-gate{margin:20px 12px;padding:22px 15px;border-radius:13px}.cd-guidance-gate h2{font-size:18px}.cd-guidance-gate p{font-size:11.5px}.cd-gate-actions{display:grid;grid-template-columns:1fr;gap:8px}.cd-gate-actions button{width:100%;padding:11px 14px}}

.cd-guidance-mid-cta{margin:22px 0}.cd-guidance-mid-cta .cd-guidance-open{flex-shrink:0}@media(max-width:640px){.cd-guidance-mid-cta{margin:16px 12px}}

/* Sticky On This Page + gate-aware navigation */
@media(max-width:720px){.cd-onpage-fixed{position:fixed!important;top:56px!important;right:10px!important;left:auto!important;z-index:5900!important;margin:0!important;width:auto!important;transform:none!important}.cd-onpage-fixed .onmenu{right:0!important}.cd-onpage-fixed.mobile-on-page{background:transparent!important;padding:0!important}.cd-onpage-fixed.mobile-on-page details{width:min(150px,calc(100vw - 20px));margin:0 0 0 auto;box-shadow:0 5px 18px rgba(15,40,80,.14)}}

/* Universal mobile On This Page navigation for IIM Ahmedabad pages */
.cd-mobile-onpage{display:none}
@media(max-width:640px){
  #ontop,.ontop{position:fixed!important;top:58px!important;right:10px!important;left:auto!important;width:128px!important;height:auto!important;margin:0!important;transform:none!important;z-index:5900!important;display:block!important;pointer-events:none!important}
  #ontop .onbtn,.ontop .onbtn{width:128px!important;pointer-events:auto!important}
  #ontop .onmenu,.ontop .onmenu{right:0!important;top:38px!important;width:min(225px,calc(100vw - 20px))!important;max-height:65vh!important;pointer-events:auto!important}
  .cd-mobile-onpage{display:block;position:fixed;top:58px;right:10px;width:128px;z-index:5900;pointer-events:none}
  .cd-mobile-onpage-btn{width:128px;border:1px solid #cbd8ea;border-radius:0 0 0 8px;background:#fff;color:#092653;padding:8px 7px;font-size:9.5px;font-weight:800;line-height:1.2;box-shadow:0 5px 18px rgba(15,40,80,.12);cursor:pointer;pointer-events:auto;white-space:nowrap}
  .cd-mobile-onpage-menu{display:none;position:absolute;right:0;top:38px;width:min(225px,calc(100vw - 20px));max-height:65vh;overflow:auto;background:#fff;border:1px solid #dce4ee;border-radius:8px;box-shadow:0 8px 25px rgba(15,40,80,.14);pointer-events:auto}
  .cd-mobile-onpage-menu.open{display:block}
  .cd-mobile-onpage-menu a{display:block;padding:9px 10px;font-size:10px;font-weight:700;line-height:1.35;color:#334155;border-bottom:1px solid #edf1f5;background:#fff}
}
@media(max-width:380px){
  #ontop,.ontop,.cd-mobile-onpage{right:8px!important;width:122px!important}
  #ontop .onbtn,.ontop .onbtn,.cd-mobile-onpage-btn{width:122px!important;font-size:9px!important}
  #ontop .onmenu,.ontop .onmenu,.cd-mobile-onpage-menu{width:min(215px,calc(100vw - 16px))!important}
}
