/* Collegeskart "pro" layer — calmer, more professional type and layout (Nov 2026).
   Loaded last; overrides app.css. References: Flipkart/PhonePe density, Zomato/District cards. */
:root {
  --f-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ink: #161B26; --ink-2: #3F4656; --muted: #687083;
  --paper: #F6F7FB; --line: #E6E9F0;
  --r: 12px; --r-lg: 16px;
  --soft: 0 1px 2px rgba(22,27,38,.05), 0 1px 8px rgba(22,27,38,.04);
  --shadow: 0 6px 24px rgba(22,27,38,.08);
}
body { font-size: 16px; line-height: 1.55; letter-spacing: -0.003em; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
.shead h2 { font-size: clamp(21px, 2.4vw, 28px); }
.shead a { font-size: 15px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.shead a .ei { width: 1em; height: 1em; }
.ptitle h1 { font-size: clamp(26px, 3.4vw, 38px); }
.section { padding-top: 36px; }
.btn { font-weight: 600; font-size: 15.5px; border-radius: 10px; min-height: 46px; }
.btn.sm { font-size: 14.5px; min-height: 40px; border-radius: 9px; }
.chip { font-size: 14.5px; font-weight: 500; min-height: 40px; padding: 0 14px; }
.eyebrow, .pill { letter-spacing: 0; }
.tag { font-weight: 600; }
.panel { border-radius: 14px; }
.ctile b { font-family: var(--f-display); font-weight: 700; }
.growtile .gi { font-size: 22px; color: var(--blue); display: inline-flex; }
.growtile b { font-weight: 600; }
.whyi .ei { width: 22px; height: 22px; }
.gd-ic .ei, .gd-big .ei, .pr-qi .ei, .earn-ic .ei, .cc-pic .ei, .tk-ic .ei, .sic .ei { width: 1em; height: 1em; vertical-align: -0.12em; }
.cc-orbit .ei, .alu-av .ei { width: 22px; height: 22px; }

/* header: tighter, calmer */
.top-row { min-height: 60px; }
.topnav a { font-size: 15px; font-weight: 500; padding: 7px 11px; }
.topnav a[aria-current="page"] { font-weight: 600; }
.iconbtn, .lang { width: 40px; height: 40px; border-radius: 10px; }

/* search: mic always visible */
.search { border-radius: 14px; padding: 5px 5px 5px 14px; }
.search input { font-size: 16px; height: 46px; }
.tk-mic { width: 40px; height: 40px; background: var(--blue-soft); }
.tk-mic.ai { background: #F1F2F6; color: var(--ink-2); }

/* calm re-render: no fade-in when filters change */
html.quiet .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- hero ---------- */
.hero-p { position: relative; padding: 26px 0 6px; background:
  radial-gradient(900px 380px at 100% 0%, #EEF0FE 0%, transparent 60%),
  radial-gradient(600px 300px at 0% 100%, #FFF8E0 0%, transparent 60%), #fff; border-bottom: 1px solid var(--line); }
.hp-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--blue-ink); background: var(--blue-soft); padding: 5px 12px; border-radius: 999px; }
.hero-p h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.03em; margin: 14px 0 10px; font-weight: 800; }
.hero-p h1 span { color: var(--blue); }
.hero-p .lead { font-size: clamp(15.5px, 1.6vw, 18px); color: var(--ink-2); margin-bottom: 18px; max-width: 34em; }
.hero-p .searchbox { max-width: 640px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .ei { color: var(--mint); width: 16px; height: 16px; }

.hpanel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; display: none; }
.hp-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.hp-head a { font-weight: 600; text-decoration: none; }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--mint); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(14,159,110,.5); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(14,159,110,0); } 100% { box-shadow: 0 0 0 0 rgba(14,159,110,0); } }
.hpanel h2 { font-size: 19px; margin: 8px 0 10px; }
.hp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hp-list a { display: grid; grid-template-columns: 42px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: background .35s, border-color .35s, transform .35s; }
.hp-list li.on a, .hp-list a:hover { background: #F5F6FE; border-color: #DFE3FC; }
.hp-list li.on a { transform: translateX(4px); }
.hp-logo { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; font-size: 11px; font-weight: 700; }
.hp-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.hp-name { min-width: 0; } .hp-name b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-name small, .hp-num small { display: block; font-size: 12px; color: var(--muted); }
.hp-num { text-align: right; } .hp-num b { font-size: 14px; }
.hp-foot { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-2); }
.hp-foot .ei { color: var(--mint); width: 20px; height: 20px; }

/* quick links: PhonePe-style icon grid (small, tidy) */
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 6px; padding: 22px 0 18px; }
.qa { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.qi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--qc); background: color-mix(in srgb, var(--qc) 10%, #fff); transition: transform .15s; }
.qi .ei { width: 22px; height: 22px; }
.qa:hover .qi { transform: translateY(-2px); }
.ql { font-size: 12.5px; font-weight: 500; text-align: center; line-height: 1.2; color: var(--ink-2); }

/* ---------- college card ---------- */
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pc-ban { position: relative; display: block; height: 92px; background: color-mix(in srgb, var(--tc) 9%, #fff); color: color-mix(in srgb, var(--tc) 30%, #fff); background-size: cover; background-position: center; }
.pc-ban.photo { height: 120px; }
.pc-art { position: absolute; right: 8px; bottom: 0; width: 62%; height: 80%; }
.pc-flag { position: absolute; left: 12px; top: 10px; font-size: 12px; font-weight: 600; background: #fff; color: var(--mint); border: 1px solid #CBEBDD; padding: 2px 9px; border-radius: 999px; }
.pc-logo { position: absolute; left: 14px; bottom: -22px; width: 54px; height: 54px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--soft); display: grid; place-items: center; overflow: hidden; color: var(--ink); font-size: 13px; }
.pc-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; opacity: 0; transition: opacity .2s; }
.pc-logo img.ok, .hp-logo img.ok, .cmono img.ok, .mono img.ok { opacity: 1; }
.hp-logo img, .cmono img, .mono img { opacity: 0; }
.pc-heart { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pc-heart.on { color: var(--coral); } .pc-heart .ei { width: 17px; height: 17px; }
.pc-in { padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-in h3 { font-size: 16.5px; line-height: 1.3; font-weight: 700; }
.pc-in h3 a { color: var(--ink); text-decoration: none; }
.pc-meta { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pc-meta .ei { width: 14px; height: 14px; }
.pc-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.pc-tags span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; color: var(--tc); background: color-mix(in srgb, var(--tc) 10%, #fff); }
.pc-tags span.g { color: var(--ink-2); background: #F1F2F6; }
.pc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0 0; padding: 10px; background: #F7F8FB; border-radius: 10px; }
.pc-stats div { min-width: 0; } .pc-stats dt { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-stats dd { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; }
.pc-act { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.grid > .pcard, .carousel > .pcard { height: 100%; }

/* ---------- AI block ---------- */
.aibox { margin-top: 36px; border-radius: 20px; padding: 20px; color: #fff; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(120deg, #3B47C8, #4F5DE4 55%, #2E7FE0); position: relative; overflow: hidden; }
.ab-l { display: flex; gap: 14px; align-items: center; }
.aibox h2 { font-size: clamp(21px, 2.6vw, 28px); }
.aibox p { opacity: .9; font-size: 15px; }
.aibox .aiask { margin: 0; }
.hscroll { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; }
.hs-track { flex: 1; min-width: 0; scroll-behavior: smooth; -webkit-mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); padding-inline: 4px; }
.hs-btn { display: none; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.15); color: #fff; cursor: pointer; place-items: center; }
.hs-btn svg, .hs-btn .ei { width: 18px; height: 18px; }
.hscroll.at-start .prev, .hscroll.at-end .next { opacity: .35; pointer-events: none; }
.chip .ei { width: 16px; height: 16px; }

/* ---------- mobile: less clutter ---------- */
@media (max-width: 759px) {
  body { font-size: 15.5px; }
  .hero-p { padding-top: 18px; }
  .hero-p h1 { font-size: 29px; }
  .hero-p h1 br { display: none; }
  .trust { font-size: 13px; gap: 4px 12px; }
  .trust span:nth-child(3) { display: none; }
  .quick { gap: 12px 4px; padding: 18px 0 14px; }
  .qi { width: 42px; height: 42px; border-radius: 12px; } .qi .ei { width: 20px; height: 20px; }
  .ql { font-size: 11.5px; }
  .section { padding-top: 28px; }
  .shead { margin-bottom: 12px; }
  .shead p { display: none; }
  .carousel > * { flex-basis: min(80%, 300px); }
  .tabs a { font-size: 11.5px; min-height: 50px; } .tabs a svg { width: 21px; height: 21px; }
  .callfab { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .growgrid .growtile:nth-child(n+3) { display: none; }
  .ctiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ctile, .ctile.big { grid-column: auto; min-height: 0; padding: 12px 10px; }
  .ctile span { display: none; } .ctile b { font-size: 15px !important; }
  .why { gap: 8px; } .whyc { padding: 12px; } .whyc p { font-size: 13px; }
}
/* tablet */
@media (min-width: 760px) {
  .quick { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .hs-btn { display: grid; }
  .aibox { padding: 26px 28px; }
}
/* laptop: two-column hero, no empty space */
@media (min-width: 1024px) {
  .hp-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
  .hpanel { display: block; }
  .hero-p { padding-top: 40px; }
  .aibox { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; column-gap: 28px; }
  .aibox .hscroll { grid-column: 1 / -1; }
  .carousel > * { flex-basis: 300px; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .hide-s { display: none; } .hp-list a { grid-template-columns: 42px 1fr auto; } }
@media (prefers-reduced-motion: reduce) { .hp-list li.on a { transform: none; } .live i { animation: none; } }
.hp-grid > * { min-width: 0; }
.live { white-space: nowrap; }
.ql { overflow-wrap: normal; word-break: keep-all; }
.carousel { align-items: stretch; }
@media (min-width: 1200px) { .results .grid, .grid.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.live i { margin-right: 2px; } .hp-grid { align-items: start; } @media (min-width:1024px){ .hp-copy { padding-top: 34px; } }
.hero-p h1 { font-weight: 700; letter-spacing: -0.022em; }
/* college page "In 30 seconds": no cut-off cards on tablet and laptop */
@media (min-width: 760px) {
  .shorts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); overflow: visible; }
  .short { min-height: 0; padding: 16px; }
  .short .s-v { font-size: 28px; }
}
.aihead .x.aicall, .aihead .x.aiwa { width: 40px; height: 40px; display: grid; place-items: center; text-decoration: none; }
.aihead .x.aiwa { background: #1E8E55; color: #fff; }
.aihead .x .ei { width: 18px; height: 18px; }
.tk-numw { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; color: var(--blue-ink); }
.tk-num { width: 92px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; text-align: right; font: inherit; color: var(--ink); background: #fff; }
.tk-num:focus { outline: 2px solid var(--blue); outline-offset: 0; }
/* ---------- partner portal ---------- */
.pt-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; padding-block: 18px 30px; }
@media (min-width: 900px) { .pt-wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.pt-intro h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 12px 0 8px; }
.pt-intro p { color: var(--ink-2); }
.pt-points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.pt-points li { display: flex; gap: 8px; align-items: center; } .pt-points .ei { color: var(--mint); }
.pt-form h2 { font-size: 20px; margin-bottom: 10px; }
.pt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 0 12px; }
.pt-head h1 { font-size: clamp(24px, 3vw, 32px); margin: 2px 0 8px; }
.pt-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pt-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.pt-kpis span { display: block; font-size: 13px; color: var(--muted); } .pt-kpis b { font-size: 26px; font-family: var(--f-display); }
.pt-ups ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.pt-tabs { margin: 12px 0 14px; }
.pt-list { display: grid; gap: 10px; } @media (min-width: 900px) { .pt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-st { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.pt-stage { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #F1F2F6; color: var(--ink-2); white-space: nowrap; }
.pt-stage.s-applied, .pt-stage.s-interested { background: var(--blue-soft); color: var(--blue-ink); }
.pt-stage.s-admission-confirmed, .pt-stage.s-2nd-semester-fee-paid, .pt-stage.s-scholarship-credited { background: var(--mint-soft); color: var(--mint); }
.pt-stage.s-dropped { background: var(--coral-soft); color: var(--coral); }
.pt-cols { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; font-size: 13.5px; }
.pt-cols li { display: flex; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 4px; } .pt-cols em { font-style: normal; color: var(--muted); }
.pt-pay { display: grid; gap: 8px; }
.pt-pc { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.pc-logo.sm { position: static; width: 44px; height: 44px; flex: 0 0 auto; }
.pt-amt { text-align: right; } .pt-amt small { display: block; font-size: 12px; color: var(--muted); } .pt-amt b { font-size: 18px; color: var(--mint); }
@media (min-width: 760px) { .short .s-v { font-size: 24px; overflow-wrap: anywhere; } }
.cmap iframe { width: 100%; height: 320px; border: 0; border-radius: 12px; margin-top: 10px; background: var(--tint); }
.ccover.live-photo { position: relative; }
.gattr-ph { position: absolute; right: 12px; bottom: 8px; font-size: 11.5px; color: #fff; background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 999px; }
.pt-slabs { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 12px; }
.pt-slabs td, .pt-slabs th { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.pt-slabs tr.on td { background: var(--mint-soft); font-weight: 600; }
.ann-bar{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--ink,#0f172a);color:#fff;font-size:13px;padding:7px 40px 7px 16px;position:relative;text-align:center}
.ann-bar a,.ann-bar span{color:#fff;text-decoration:none;font-weight:600}
.ann-bar button{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:0;color:#fff;font-size:20px;line-height:1;cursor:pointer;padding:4px 8px}
.shine-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:12px 0}
.shine-g h3{font-size:15px;margin:0 0 6px}.shine .atable{min-width:0;width:100%}
.pt-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:8px}
.pt-tl{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.pt-tl .grow{min-width:0}.pt-tl .xs{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pt-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.pt-tabs .chip{flex:0 0 auto}
@media (max-width:420px){.pt-tools{grid-template-columns:1fr}}
.login-hub{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:30px}
.lh h2{font-size:18px;margin:8px 0 4px}.lh-ic{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--tint,#EEF0FF);color:var(--blue,#4F5DE4);font-size:20px}
.refsum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 6px}.refsum div{background:#fff;border-radius:10px;padding:8px;text-align:center}.refsum span{display:block;font-size:11px;color:var(--muted,#667)}.refsum b{font-size:18px}
.reflist{list-style:none;padding:0;margin:8px 0;display:grid;gap:4px}.reflist li{display:flex;justify-content:space-between;gap:8px;font-size:13px;background:#fff;border-radius:8px;padding:6px 10px}
.greviews .grev-top{display:flex;align-items:center;gap:8px;margin:6px 0 10px}.grev-top b{font-size:26px}
.gstars{--r:0;display:inline-block;width:80px;height:15px;vertical-align:middle;background:linear-gradient(90deg,#F5B301 calc(var(--r)/5*100%),#DADDE5 0);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cg%3E%3Cpath id='s' d='M8 1l2 4.6 5 .4-3.8 3.3 1.2 4.9L8 11.6 3.6 14.2l1.2-4.9L1 6l5-.4z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") 0 0/80px 15px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cg%3E%3Cpath id='s' d='M8 1l2 4.6 5 .4-3.8 3.3 1.2 4.9L8 11.6 3.6 14.2l1.2-4.9L1 6l5-.4z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") 0 0/80px 15px no-repeat}
.grev-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.grev{background:var(--tint,#F5F6FB);border-radius:12px;padding:10px 12px}.grev img{border-radius:50%}.grev p{margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
