.nex-service-choices>.nti-expert-tools{direction:rtl;background:#f4f6fa;border:1px solid #c7d1df;border-radius:10px;margin:12px 0;padding:12px;color:#252851}.nti-expert-tools>summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:19px;font-weight:700;list-style:none}.nti-expert-tools>summary::-webkit-details-marker{display:none}.nti-expert-tools>summary:after{content:'+';margin-inline-start:auto}.nti-expert-tools[open]>summary:after{content:'−'}.nti-expert-tools summary svg{color:#7e193f;flex:none}.nti-expert-tools summary small{font-size:13px;font-weight:400;color:#4c5870}.nti-expert-tools>p{font-size:15px;margin:10px 0}.nti-expert-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nti-expert-tools-grid label{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important;background:#fff;padding:10px;border:1px solid #d3dce8;border-radius:7px}.nti-expert-tools-grid input[type=checkbox]{width:20px!important;min-width:20px;height:20px;margin-top:4px}.nti-expert-tools summary:focus-visible{outline:3px solid #2484c2;outline-offset:3px}@media(max-width:700px){.nti-expert-tools-grid{grid-template-columns:1fr}}

/* Compact the existing expert directory categories only. */
html body #main#main#main#main .prose:has(>.nex-simple){padding:10px!important}
html body #main#main#main#main section.nex-simple{padding:12px!important}
html body #main#main#main#main .nex-simple-heading{padding:10px 14px!important;margin:0 0 12px!important;min-height:0!important;gap:12px!important}
html body #main#main#main#main .nex-simple-heading h2{margin:0!important;line-height:1.5!important}
html body #main#main#main#main .nex-section-grid{gap:10px!important}
html body #main#main#main#main .nex-section-grid>a{min-height:64px!important;height:auto!important;padding:12px 10px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #main#main#main#main .nex-section-grid .nex-category-name{line-height:1.5!important;margin:0!important}
html body #main#main#main#main .nex-join-link{padding:8px 14px!important;min-height:40px!important}
@media(max-width:600px){html body #main#main#main#main section.nex-simple{padding:9px!important}html body #main#main#main#main .nex-section-grid{gap:8px!important}html body #main#main#main#main .nex-section-grid>a{min-height:58px!important;padding:10px 8px!important}}
html body #main#main#main#main .nti-expert-navigation{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;width:100%!important}
html body #main#main#main#main .nti-expert-navigation a{background:#252851!important;color:white!important;border:1px solid #252851!important;border-radius:8px!important;padding:9px 20px!important;font:700 18px/1.5 Tajawal,Arial,sans-serif!important;text-decoration:none!important}
html body #main#main#main#main .nti-expert-navigation a:nth-child(2){background:#eaf3fb!important;color:#252851!important;border-color:#b8cede!important}
html body #main .nex-auth-grid>.nex-card[hidden]{display:none!important}

html body:not(.nti-specialty-results) #main .nex-search,html body:not(.nti-specialty-results) #main .nex-filter-panel{display:none!important}

/* Public expert lists and profile: readable names and balanced spacing. */
html body #main#main#main#main .nex-simple .nex-simple-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;background:#eef4fb!important;border:1px solid #d1deea!important;border-right:3px solid #287bbb!important;border-radius:10px!important;padding:12px!important}
html body #main#main#main#main .nex-simple-heading>div{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important}
html body #main#main#main#main .nex-simple-heading h2{font-size:22px!important;color:#252851!important}
html body #main#main#main#main .nex-table-scroll{width:100%!important;min-width:0!important;overflow:visible!important;border:0!important;border-radius:10px!important}
html body #main#main#main#main .nex-experts-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;border:1px solid #d3deea!important;margin:0!important}
html body #main#main#main#main .nex-experts-table :is(th,td){text-align:center!important;vertical-align:middle!important;padding:12px 10px!important;font-size:15px!important;line-height:1.65!important;font-weight:400!important;overflow-wrap:anywhere!important;border:1px solid #dce5ef!important;color:#43516b!important;white-space:normal!important}
html body #main#main#main#main .nex-experts-table th{font-size:15px!important;font-weight:700!important;background:#eaf2fb!important;color:#252851!important}
html body #main#main#main#main .nex-experts-table th:first-child{width:38%!important}
html body #main#main#main#main .nex-experts-table tbody tr:nth-child(even){background:#f5f8fc!important}
html body #main#main#main#main .nex-experts-table td a{display:block!important;color:#252851!important;text-decoration:none!important;font-weight:700!important;font-size:16px!important;line-height:1.6!important;padding:4px!important}
html body #main#main#main#main .nex-experts-table td a::after{content:'عرض الملف الشخصي ←';display:block;font-size:12px;font-weight:400;color:#287bbb;margin-top:4px}
html body #main#main#main#main .nex-experts-table td a:hover{color:#287bbb!important;text-decoration:underline!important}
html body #main#main#main#main .nex-profile-view{margin:12px auto!important;border-radius:12px!important;box-shadow:0 4px 18px #25285108!important}
html body #main#main#main#main .nex-profile-hero{padding:22px!important;gap:18px!important}
html body #main#main#main#main .nex-profile-hero h2{font-size:26px!important;line-height:1.5!important}
html body #main#main#main#main .nex-profile-body{padding:20px!important}
html body #main#main#main#main .nex-profile-section{padding:16px!important;border-radius:10px!important}
html body #main#main#main#main .nex-profile-section p{font-size:17px!important;line-height:1.9!important}
html body #main#main#main#main .nti-expert-avatar{display:grid!important;place-items:center!important;width:80px!important;height:80px!important;flex-shrink:0!important;border-radius:14px!important;background:#eaf2fb!important;color:#252851!important;font-size:28px!important;font-weight:700!important}
@media(max-width:700px){
html body #main#main#main#main .nex-experts-table{display:block!important;border:0!important}
html body #main#main#main#main .nex-experts-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
html body #main#main#main#main .nex-experts-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
html body #main#main#main#main .nex-experts-table tbody tr{display:grid!important;grid-template-columns:1fr 1fr!important;background:#f7faff!important;border:1px solid #cddbea!important;border-top:3px solid #287bbb!important;border-radius:10px!important;padding:10px!important;gap:8px!important}
html body #main#main#main#main .nex-experts-table td{display:block!important;border:0!important;padding:6px!important;min-width:0!important;font-size:14px!important;background:#fff!important;border-radius:6px!important}
html body #main#main#main#main .nex-experts-table td:first-child{grid-column:1/-1!important;background:transparent!important;padding:0 4px 7px!important;border-bottom:1px solid #dce5ef!important}
html body #main#main#main#main .nex-experts-table td:nth-child(2)::before{content:'التخصص العام';display:block;font-size:12px;color:#657a91;margin-bottom:4px}
html body #main#main#main#main .nex-experts-table td:nth-child(3)::before{content:'التخصص الدقيق';display:block;font-size:12px;color:#657a91;margin-bottom:4px}
html body #main#main#main#main .nex-simple-heading h2{font-size:19px!important}
html body #main#main#main#main .nex-simple-heading .nex-join-link{font-size:13px!important;padding:7px 10px!important}
html body #main#main#main#main .nex-profile-hero{padding:16px!important;gap:12px!important;align-items:center!important}
html body #main#main#main#main .nex-profile-hero h2{font-size:21px!important}
html body #main#main#main#main .nex-profile-hero p{font-size:14px!important}
html body #main#main#main#main .nex-profile-body{padding:12px!important}
html body #main#main#main#main .nex-profile-section p{font-size:16px!important}
}
/* One card system across desktop, tablet and phone. */
html body #main#main#main#main .nex-experts-table{display:block!important;border:0!important;background:transparent!important}
html body #main#main#main#main .nex-experts-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
html body #main#main#main#main .nex-experts-table tbody{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
html body #main#main#main#main .nex-experts-table tbody tr{display:grid!important;grid-template-columns:1fr 1fr!important;align-content:start!important;background:linear-gradient(145deg,#fff,#edf3fa)!important;border:1px solid #cddbea!important;border-top:3px solid #287bbb!important;border-radius:10px!important;padding:12px!important;gap:8px!important;box-shadow:0 3px 12px #25285106!important;min-width:0!important}
html body #main#main#main#main .nex-experts-table td{display:block!important;border:0!important;padding:8px!important;min-width:0!important;font-size:14px!important;background:#fff!important;border-radius:6px!important}
html body #main#main#main#main .nex-experts-table td:first-child{grid-column:1/-1!important;background:transparent!important;padding:0 4px 8px!important;border-bottom:1px solid #dce5ef!important}
html body #main#main#main#main .nex-experts-table td:nth-child(2)::before{content:'التخصص العام';display:block;font-size:12px;color:#657a91;margin-bottom:4px}
html body #main#main#main#main .nex-experts-table td:nth-child(3)::before{content:'التخصص الدقيق';display:block;font-size:12px;color:#657a91;margin-bottom:4px}
@media(max-width:1100px){html body #main#main#main#main .nex-experts-table tbody{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){html body #main#main#main#main .nex-experts-table tbody{grid-template-columns:1fr!important;gap:9px!important}html body #main#main#main#main .nex-experts-table tbody tr{padding:10px!important}}

html body #main#main#main#main .nex-profile-hero :is(img,.nex-avatar,.nti-expert-avatar){display:none!important}
html body #main#main#main#main .nex-profile-hero{justify-content:center!important;text-align:center!important}
html body #main#main#main#main .nex-profile-hero>div{width:100%!important;min-width:0!important}
