/* MOHU Phase 2D — public directory gateway, safe public activity, rated employer profiles,
   compact market intelligence and registry administration. Presentation only. */

/* ---------- Homepage: trusted directories ---------- */
body.mohu-homepage .mohu-d-directory-panel{padding:18px!important;border-radius:18px!important;margin-bottom:14px!important}
.mohu-d-directory-head p{margin:5px 0 0;color:#6c7b8f;font-size:12px;line-height:1.45;max-width:680px}
.mohu-d-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.mohu-d-directory-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:11px;align-items:center;min-height:108px;padding:14px;border:1px solid #dfe8f1;border-radius:15px;background:#fff;text-decoration:none!important;color:#0b2851!important;box-shadow:0 3px 10px rgba(13,54,92,.035);transition:.18s ease}
.mohu-d-directory-card:hover{transform:translateY(-1px);border-color:#c7d9e8;box-shadow:0 7px 18px rgba(13,54,92,.08)}
.mohu-d-dir-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;font-size:20px;font-weight:900;background:#eaf4ff;color:#2c7cca}
.mohu-d-directory-card.provider .mohu-d-dir-icon{background:#e8f8ef;color:#1b9d59}
.mohu-d-directory-card.organization .mohu-d-dir-icon{background:#f0edff;color:#6653cc;font-size:13px;letter-spacing:1px}
.mohu-d-directory-card.employers .mohu-d-dir-icon{background:#fff1df;color:#c66c08;font-size:24px}
.mohu-d-directory-card strong{display:block;font-size:15px;line-height:1.18}
.mohu-d-directory-card small{display:block;margin-top:4px;color:#687a90;font-size:11px;line-height:1.35}
.mohu-d-directory-card b{display:block;margin-top:5px;color:#209957;font-size:11px}
.mohu-d-opportunity-gateway{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:10px;padding:11px 14px;border:1px solid #dce8f1;border-radius:13px;background:linear-gradient(90deg,#f7fbff,#f4fbf6);text-decoration:none!important;color:#0b2851!important}
.mohu-d-opportunity-gateway>span:first-child{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#e8f4ff;color:#2e75ba;font-weight:900}.mohu-d-opportunity-gateway strong,.mohu-d-opportunity-gateway small{display:block}.mohu-d-opportunity-gateway strong{font-size:14px}.mohu-d-opportunity-gateway small{font-size:10.5px;color:#6b7b8f;margin-top:2px}.mohu-d-opportunity-gateway>b{color:#1e9255;font-size:11px;white-space:nowrap}

/* ---------- Homepage: clickable public stats ---------- */
.mohu-d-public-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 13px}
.mohu-d-stat{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;align-items:center;min-height:92px;padding:11px;border:1px solid #dfe7ef;border-radius:14px;text-decoration:none!important;color:#0b2851!important;background:#fff}
.mohu-d-stat>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#eaf7ef;font-size:16px}
.mohu-d-stat.organizations>span{background:#f1edff}.mohu-d-stat.users>span{background:#eaf4ff}.mohu-d-stat.applications>span{background:#fff0f1}
.mohu-d-stat strong{display:block;font-size:23px;line-height:1}.mohu-d-stat small{display:block;margin-top:3px;color:#65768b;font-size:10px;font-weight:800;line-height:1.2}.mohu-d-stat b{display:block;margin-top:5px;color:#237ebf;font-size:9px;line-height:1.2}.mohu-d-stat.locked{opacity:.88}.mohu-d-stat.locked b{color:#a54c53}

/* ---------- Public MOHU employer/organization ratings ---------- */
.mohu-d-org-directory .card:first-of-type{border-radius:17px}.mohu-d-org-directory .card:nth-of-type(2){padding:18px}
.mohu-d-org-card{position:relative;background:#fff!important;box-shadow:0 3px 12px rgba(12,45,81,.035)}
.mohu-d-rating-line,.mohu-d-profile-rating,.mohu-d-review-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0}
.mohu-d-stars{color:#f5a300;font-size:19px;letter-spacing:1px;line-height:1;white-space:nowrap;text-shadow:0 1px 0 rgba(0,0,0,.03)}
.mohu-d-rating-line strong,.mohu-d-profile-rating strong,.mohu-d-review-summary strong{font-size:13px;color:#0c2b55}.mohu-d-rating-line small,.mohu-d-review-summary small{color:#728095;font-size:11px}.mohu-d-rating-line em{font-style:normal;color:#8793a3;font-size:10px}.mohu-d-profile-rating{padding:9px 11px;background:#fff9e8;border:1px solid #f5e4ae;border-radius:11px;width:max-content;max-width:100%}.mohu-d-profile-rating a{font-size:11px;color:#2976b4;text-decoration:none;font-weight:800}.mohu-d-review-row{padding:16px 0;border-top:1px solid #e5eaf1}.mohu-d-review-row>.mohu-d-stars{font-size:17px}.mohu-d-review-row>strong{margin-left:7px;font-size:12px}.mohu-d-review-row p{margin:8px 0 5px;line-height:1.6}

/* ---------- Public activity ---------- */
.mohu-d-activity-page{max-width:900px}.mohu-d-activity-page h1{margin:12px 0 7px;font-size:clamp(30px,5vw,42px)}.mohu-d-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.mohu-d-activity-grid>div,.mohu-d-activity-grid>a{display:flex;flex-direction:column;justify-content:center;min-height:126px;padding:17px;border:1px solid #dfe7ef;border-radius:16px;background:#fff;text-decoration:none!important;color:#0b2851!important}.mohu-d-activity-grid strong{font-size:31px;line-height:1}.mohu-d-activity-grid span{margin-top:7px;color:#687a90;font-weight:800;font-size:13px}.mohu-d-activity-grid b{margin-top:8px;color:#218d55;font-size:11px}

/* ---------- Market Intelligence: remove tall single-column metric/button flow ---------- */
.mohu-d-market-page>.flex{align-items:flex-start;gap:12px}.mohu-d-market-page>.flex .actions{display:flex;gap:7px;flex-wrap:wrap}.mohu-d-market-page>.flex .actions .btn{min-height:40px;padding:9px 12px!important;font-size:12px!important}
.mohu-d-market-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.mohu-d-market-stats .stat{min-height:94px!important;padding:13px!important;border-radius:14px!important}.mohu-d-market-stats .stat .small{font-size:11px!important}.mohu-d-market-stats .stat strong{font-size:26px!important}
.mohu-d-market-page .mohu-insights-grid{gap:12px!important}.mohu-d-market-page .mohu-insights-grid .card{padding:16px!important;border-radius:15px!important}.mohu-d-market-page .mohu-insights-grid h2{font-size:17px!important}

/* ---------- Registry sources administration: cleaner overview, controls collapsed ---------- */
.mohu-d-registry-admin>.card:first-child{padding:18px!important;border-radius:17px}.mohu-d-registry-admin>.card:first-child>h1{font-size:clamp(29px,5vw,42px);margin-bottom:8px}
.mohu-d-source-card{padding:15px!important;margin:12px 0!important;border:1px solid #dfe7ef!important;border-radius:15px!important;background:#fff!important}.mohu-d-source-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mohu-d-source-head h3{margin:0;font-size:17px;line-height:1.25}.mohu-d-source-head>span{flex:0 0 auto;background:#eaf8ef;color:#1b8a4f;border:1px solid #d3eddc;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900}.mohu-d-source-card>.meta{font-size:11px!important;line-height:1.45}.mohu-d-source-card .alert{border-radius:11px!important;padding:10px 11px!important;font-size:11px!important}.mohu-d-source-controls{margin-top:12px;border-top:1px solid #e6edf3;padding-top:9px}.mohu-d-source-controls summary{cursor:pointer;color:#0d3768;font-size:12px;font-weight:900;list-style:none}.mohu-d-source-controls summary::-webkit-details-marker{display:none}.mohu-d-source-controls summary:before{content:'▸';margin-right:7px}.mohu-d-source-controls[open] summary:before{content:'▾'}.mohu-d-source-controls-inner{padding-top:12px}.mohu-d-source-controls .mohu-search-grid{gap:9px!important}.mohu-d-source-controls label{font-size:11px!important}.mohu-d-source-controls input,.mohu-d-source-controls select{min-height:42px!important}

@media(max-width:700px){
  body.mohu-homepage .mohu-d-directory-panel{padding:14px!important}
  .mohu-d-directory-head p{font-size:11.5px}
  .mohu-d-directory-grid{grid-template-columns:1fr 1fr;gap:8px}
  .mohu-d-directory-card{grid-template-columns:43px minmax(0,1fr);gap:8px;min-height:124px;padding:11px}
  .mohu-d-dir-icon{width:42px;height:42px;border-radius:12px;font-size:17px}
  .mohu-d-directory-card strong{font-size:13px}.mohu-d-directory-card small{font-size:10px}.mohu-d-directory-card b{font-size:10px}
  .mohu-d-opportunity-gateway{grid-template-columns:34px minmax(0,1fr);padding:10px 11px}.mohu-d-opportunity-gateway>b{grid-column:2;margin-top:3px}.mohu-d-opportunity-gateway small{font-size:10px}
  .mohu-d-public-stats{grid-template-columns:1fr 1fr;gap:8px}.mohu-d-stat{min-height:92px;padding:10px}.mohu-d-stat strong{font-size:22px}.mohu-d-stat small{font-size:10.5px}.mohu-d-stat b{font-size:9.5px}
  .mohu-d-org-card{padding:14px!important}.mohu-d-stars{font-size:17px}
  .mohu-d-activity-grid{grid-template-columns:1fr 1fr;gap:9px}.mohu-d-activity-grid>div,.mohu-d-activity-grid>a{min-height:104px;padding:14px}.mohu-d-activity-grid strong{font-size:27px}.mohu-d-activity-grid span{font-size:12px}
  .mohu-d-market-page>.flex{display:block!important}.mohu-d-market-page>.flex .actions{margin-top:10px;display:grid!important;grid-template-columns:1fr 1fr!important}.mohu-d-market-page>.flex .actions .btn{width:100%!important;margin:0!important;text-align:center}
  .mohu-d-market-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mohu-d-market-stats .stat{min-height:82px!important;padding:11px!important}.mohu-d-market-stats .stat strong{font-size:24px!important}.mohu-d-market-page .mohu-insights-grid{grid-template-columns:1fr!important}
  .mohu-d-registry-admin{padding-top:18px!important}.mohu-d-registry-admin>.card:first-child{padding:14px!important}.mohu-d-source-card{padding:12px!important}.mohu-d-source-head h3{font-size:15px}.mohu-d-source-card .btn{font-size:11px!important;padding:8px 10px!important}.mohu-d-source-controls .mohu-search-grid{grid-template-columns:1fr!important}
}

/* Phase 2F: admin metric cards are genuine navigation controls */
.mohu-d-market-stats .mohu-d-admin-stat-link{display:flex!important;flex-direction:column;justify-content:center;text-decoration:none!important;color:#0b2851!important;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;cursor:pointer}
.mohu-d-market-stats .mohu-d-admin-stat-link:hover,.mohu-d-market-stats .mohu-d-admin-stat-link:focus{transform:translateY(-1px);border-color:#9ccfb1!important;box-shadow:0 8px 20px rgba(11,40,81,.08);outline:none}
.mohu-d-market-stats .mohu-d-stat-open{margin-top:7px;color:#218d55;font-size:11px;font-weight:900}
.mohu-d-activity-grid>a{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.mohu-d-activity-grid>a:hover,.mohu-d-activity-grid>a:focus{transform:translateY(-1px);border-color:#9ccfb1;box-shadow:0 8px 20px rgba(11,40,81,.08);outline:none}

/* Registry sync history — compact readable mobile timeline */
.mohu-sync-history{padding:18px!important;border-radius:17px!important;overflow:hidden}
.mohu-sync-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.mohu-sync-history-head h2{margin:0 0 4px;font-size:22px;line-height:1.15}.mohu-sync-history-head p{margin:0!important;font-size:11px!important}
.mohu-sync-history-count{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#eef5fb;color:#315b82;font-size:10px;font-weight:900}
.mohu-sync-history-list{display:grid;gap:10px}.mohu-sync-run{min-width:0;padding:13px;border:1px solid #dfe7ef;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(12,45,81,.025)}
.mohu-sync-run-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.mohu-sync-source{min-width:0}.mohu-sync-source strong{display:block;color:#0b2851;font-size:14px;line-height:1.25;overflow-wrap:anywhere}.mohu-sync-source span{display:block;margin-top:3px;color:#738196;font-size:10px;line-height:1.3}
.mohu-sync-status{flex:0 0 auto;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.03em;background:#eef2f6;color:#607087}.mohu-sync-status.success{background:#e9f8ef;color:#17844a}.mohu-sync-status.failed{background:#fff0f0;color:#b53b43}
.mohu-sync-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:11px}.mohu-sync-metrics>span{min-width:0;padding:8px 5px;border-radius:10px;background:#f7f9fc;text-align:center}.mohu-sync-metrics b{display:block;color:#0b2851;font-size:16px;line-height:1}.mohu-sync-metrics small{display:block;margin-top:4px;color:#758398;font-size:8.5px;font-weight:800}.mohu-sync-metrics .has-errors{background:#fff2f2}.mohu-sync-metrics .has-errors b{color:#b53b43}
.mohu-sync-details{margin-top:10px;border-top:1px solid #e7edf3;padding-top:8px;min-width:0}.mohu-sync-details summary{cursor:pointer;list-style:none;color:#174c7e;font-size:10.5px;font-weight:900}.mohu-sync-details summary::-webkit-details-marker{display:none}.mohu-sync-details summary:before{content:'▸';margin-right:6px}.mohu-sync-details[open] summary:before{content:'▾'}.mohu-sync-details>div{margin-top:8px;padding:9px 10px;border-radius:10px;background:#f7f9fc;color:#5f6f83;font-size:10.5px;line-height:1.5;overflow-wrap:anywhere;word-break:normal;white-space:normal}
.mohu-sync-empty{padding:18px;border:1px dashed #d9e3ec;border-radius:12px;text-align:center;color:#718096;font-size:12px}
@media(max-width:700px){.mohu-sync-history{padding:13px!important}.mohu-sync-history-head h2{font-size:20px}.mohu-sync-history-head p{font-size:10px!important}.mohu-sync-run{padding:11px}.mohu-sync-source strong{font-size:13px}.mohu-sync-metrics{gap:5px}.mohu-sync-metrics>span{padding:7px 3px}.mohu-sync-metrics b{font-size:15px}.mohu-sync-details>div{font-size:10px}}
