/* TG NEET PG CQ public search — v1.0.6 */
.mm-tgpgcq-search{text-align:left;width:100vw;max-width:none;margin:0 0 28px calc(50% - 50vw);padding:28px 3.2vw 30px;background:#fff;border:0;border-bottom:1px solid #e4e9ef;box-sizing:border-box}
.mm-cq-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 18px;align-items:end}
.mm-cq-field{min-width:0}
.mm-cq-field label{display:flex;align-items:flex-end;min-height:30px;margin:0 0 8px;font-size:15px;line-height:1.25;font-weight:700;color:#172b3f}
.mm-cq-field select,.mm-cq-field input{width:100%;height:46px;padding:8px 12px;border:1px solid #cbd5df;border-radius:7px;background:#fff;box-sizing:border-box;font-size:16px;color:#182b3d;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.mm-cq-field select:focus,.mm-cq-field input:focus{border-color:#159ed7;box-shadow:0 0 0 3px rgba(21,158,215,.12)}
.mm-checkdrop{position:relative}
.mm-checktoggle{width:100%;height:46px;background:#11a8e6;border:1px solid #11a8e6;color:#fff;border-radius:7px;text-align:left !important;padding:0 12px;cursor:pointer;font-size:16px;display:block;box-sizing:border-box}
.mm-checkmenu{display:none;position:absolute;z-index:100;left:0;right:0;top:52px;background:#fff;border:1px solid #cbd5df;border-radius:7px;box-shadow:0 10px 28px rgba(20,40,60,.16);padding:8px;max-height:240px;overflow:auto}
.mm-checkmenu.open{display:block}
.mm-checkmenu label{display:block;padding:8px 6px;margin:0;min-height:0;font-weight:500;white-space:nowrap}
.mm-checkmenu input{width:auto;height:auto;margin-right:7px}
.mm-cq-actions{display:flex;gap:10px;height:46px;align-items:stretch}
.mm-cq-searchbtn,.mm-cq-reset{height:46px;padding:0 18px;border:0;border-radius:7px;cursor:pointer;font-weight:700;font-size:15px;flex:1;transition:transform .05s ease,opacity .15s ease}
.mm-cq-searchbtn{background:#11a8e6;color:#fff}
.mm-cq-reset{background:#edf1f4;color:#20374b}
.mm-cq-searchbtn:hover,.mm-cq-reset:hover{opacity:.92}
.mm-cq-searchbtn:active,.mm-cq-reset:active{transform:translateY(1px)}
.mm-cq-status{margin:16px 0 8px;font-weight:600;color:#526477;text-align:left !important;width:100%;display:block}
.mm-cq-count{margin:16px 0 12px;font-size:16px;font-weight:700;color:#172b3f;text-align:left !important;width:100%;display:block}
.mm-cq-tablewrap{width:100%;overflow:visible;border:1px solid #dce4eb;border-radius:8px;background:#fff}
.mm-cq-table{border-collapse:collapse;width:100%;max-width:100%;table-layout:auto;font-size:15px}
.mm-cq-table th,.mm-cq-table td{padding:11px 9px;border-bottom:1px solid #e4e9ee;text-align:left;vertical-align:middle;white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.3}
.mm-cq-table th{background:#173b5b;color:#fff;position:sticky;top:0;cursor:pointer;user-select:none;line-height:1.18;font-weight:700}
.mm-cq-table th .mm-sort{opacity:.75;font-size:10px;white-space:nowrap}
.mm-cq-table tbody tr:nth-child(even){background:#fbfcfd}
.mm-cq-table tbody tr:hover{background:#f3f8fb}
/* Content-aware widths: compact fields stay compact, while College/Course names receive the remaining space. */
.mm-cq-table th:nth-child(1),.mm-cq-table td:nth-child(1),
.mm-cq-table th:nth-child(2),.mm-cq-table td:nth-child(2),
.mm-cq-table th:nth-child(3),.mm-cq-table td:nth-child(3),
.mm-cq-table th:nth-child(4),.mm-cq-table td:nth-child(4),
.mm-cq-table th:nth-child(5),.mm-cq-table td:nth-child(5),
.mm-cq-table th:nth-child(6),.mm-cq-table td:nth-child(6),
.mm-cq-table th:nth-child(7),.mm-cq-table td:nth-child(7),
.mm-cq-table th:nth-child(9),.mm-cq-table td:nth-child(9),
.mm-cq-table th:nth-child(11),.mm-cq-table td:nth-child(11),
.mm-cq-table th:nth-child(12),.mm-cq-table td:nth-child(12),
.mm-cq-table th:nth-child(13),.mm-cq-table td:nth-child(13),
.mm-cq-table th:nth-child(14),.mm-cq-table td:nth-child(14){white-space:nowrap}
.mm-cq-table th:nth-child(8),.mm-cq-table td:nth-child(8){min-width:190px}
.mm-cq-table th:nth-child(10),.mm-cq-table td:nth-child(10){min-width:170px}
.mm-cq-table th:nth-child(14),.mm-cq-table td:nth-child(14){min-width:48px}
.mm-cq-empty{padding:16px;border:1px solid #e0e5ea;border-radius:7px;background:#f8fafb}
@media(max-width:1200px){.mm-cq-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mm-cq-table{font-size:14px}.mm-cq-table th,.mm-cq-table td{padding:9px 7px}}
@media(max-width:800px){.mm-tgpgcq-search{padding:22px 16px}.mm-cq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-cq-table{font-size:13px}.mm-cq-table th,.mm-cq-table td{padding:8px 6px}}
@media(max-width:520px){.mm-cq-grid{grid-template-columns:1fr}.mm-cq-actions{width:100%}.mm-cq-searchbtn,.mm-cq-reset{flex:1}}

/* Candidate Rank Profile (CRP) */
.mm-cq-crp-link{color:#087eaf;font-weight:800;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.mm-cq-crp-link:hover{color:#07557a}
.mm-cq-profile{width:100%;max-width:1440px;margin:24px auto 40px;padding:0 20px;box-sizing:border-box;color:#1b2c3c;font-size:15px;line-height:1.5}
.mm-cq-profile-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 26px;background:#173b5b;color:#fff;border-radius:12px;margin-bottom:20px}
.mm-cq-profile-head h1{margin:2px 0 5px;color:#fff;font-size:clamp(25px,3vw,36px);line-height:1.15}
.mm-cq-profile-head p{margin:0;color:#e4edf5}
.mm-cq-profile-kicker{font-size:12px;font-weight:800;letter-spacing:1.5px}
.mm-cq-profile-print{border:0;border-radius:7px;background:#fff;color:#173b5b;padding:11px 16px;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}
.mm-cq-profile-card{margin:18px 0;padding:22px;background:#fff;border:1px solid #dce4eb;border-radius:11px;box-shadow:0 3px 12px rgba(22,48,70,.04)}
.mm-cq-profile-card h2{font-size:20px;line-height:1.25;margin:0 0 18px;color:#173b5b}
.mm-cq-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mm-cq-profile-item{min-width:0;padding:13px 14px;background:#f5f8fb;border-radius:7px;overflow-wrap:anywhere}
.mm-cq-profile-item span,.mm-cq-profile-ranks span{display:block;font-size:12px;font-weight:700;color:#627487;margin-bottom:5px}
.mm-cq-profile-item strong{font-size:16px;color:#172b3f}
.mm-cq-profile-ranks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mm-cq-profile-ranks>div{padding:16px;background:#f5f8fb;border:1px solid #e6edf3;border-radius:8px;min-width:0}
.mm-cq-profile-ranks strong{display:block;font-size:28px;line-height:1.2;color:#087eaf;overflow-wrap:anywhere}
.mm-cq-profile-ranks small{display:block;margin-top:8px;color:#647789;font-size:12px;line-height:1.4}
.mm-cq-profile-tablewrap{width:100%;overflow-x:auto}
.mm-cq-profile-table{width:100%;border-collapse:collapse;font-size:14px}
.mm-cq-profile-table th,.mm-cq-profile-table td{padding:10px 9px;border:1px solid #e0e7ee;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.mm-cq-profile-table th{background:#173b5b;color:#fff;font-weight:700}
.mm-cq-profile-table tbody tr:nth-child(even){background:#f7f9fb}
.mm-cq-profile-note{font-size:13px;color:#66798b;margin:16px 2px}
@media(max-width:900px){.mm-cq-profile-grid,.mm-cq-profile-ranks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mm-cq-profile{padding:0 10px}.mm-cq-profile-head{align-items:flex-start;flex-direction:column;padding:20px}.mm-cq-profile-grid,.mm-cq-profile-ranks{grid-template-columns:1fr 1fr}.mm-cq-profile-card{padding:15px}.mm-cq-profile-ranks strong{font-size:24px}}
@media print{.mm-cq-profile{max-width:none;margin:0;padding:0}.mm-cq-profile-head{background:#fff;color:#111;border:1px solid #999;padding:12px}.mm-cq-profile-head h1,.mm-cq-profile-head p{color:#111}.mm-cq-profile-print{display:none}.mm-cq-profile-card{box-shadow:none;break-inside:avoid}.mm-cq-profile-table th{background:#eee!important;color:#111!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
