/* MMCYBERCONET Research Hub — navy + white identity with the theme accent gradient; automatic light / dark; mobile first */
.mmcrh,.mmcrh-home{--navy:#0a2463;--g:linear-gradient(90deg,#ffc928,#ff7a2e,#e3243b);--ink:#0c1a38;--text:#1b2740;--muted:#56637f;--card:#fff;--soft:#f3f6fc;--line:#dfe5f1;--in:#fff;--link:#1d4ed8;--good:#0b7a43;--good-bg:#e4f6ec;--warn-bg:#fff4e0;--warn:#7a4b00;--bad:#b42335}
html.mmc-dark .mmcrh,body.mmc-dark .mmcrh,html.mmc-dark .mmcrh-home,body.mmc-dark .mmcrh-home{--ink:#eef2fb;--text:#dfe6f5;--muted:#a3afca;--card:#0d1834;--soft:#122149;--line:#23335f;--in:#0a1430;--link:#8ab4ff;--good:#5ee0a0;--good-bg:#0f2e25;--warn-bg:#2f2410;--warn:#fde68a;--bad:#ff8a98;color-scheme:dark}
.mmcrh{max-width:1040px;margin:0 auto;padding:0 0 40px;color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;font-size:15px}
.mmcrh *{box-sizing:border-box}
.mmcrh h1,.mmcrh h2,.mmcrh h3{color:var(--ink);letter-spacing:-.01em;margin:0}
.mmcrh a{color:var(--link)}
.mmcrh [hidden]{display:none!important}
body.mmcrh-page .entry-title,body.mmcrh-page .page-title,body.mmcrh-page .mmc-entry-title,body.mmcrh-page .mmc-page-hero,
body.mmcrh-page .mmc-sidebar,body.mmcrh-page #secondary,body.mmcrh-page .widget-area,body.mmcrh-page aside.sidebar{display:none!important}
body.mmcrh-page .mmc-layout,body.mmcrh-page .mmc-main-col,body.mmcrh-page .content-area,body.mmcrh-page #primary{width:100%!important;max-width:100%!important;flex:1 1 100%!important;grid-template-columns:1fr!important}

.mmcrh-hero{padding:26px 22px;margin:0 0 16px;border-radius:22px;color:#fff;background:radial-gradient(circle at 92% -10%,rgba(255,201,40,.28),transparent 46%),linear-gradient(135deg,#061537,#0a2463 60%,#163a8f);box-shadow:0 14px 34px rgba(5,11,29,.22)}
.mmcrh-hero.sm{padding:20px 18px}
.mmcrh-hero h1{color:#fff;font-size:clamp(22px,4.8vw,34px);line-height:1.2;margin:10px 0 6px}
.mmcrh-hero p{color:rgba(255,255,255,.9);margin:0 0 12px;max-width:640px}
.mmcrh-hero a{color:#fff}
.mmcrh-kicker{display:inline-block;padding:4px 11px;border-radius:999px;background:var(--g);color:#1a0d00;font-size:11px;font-weight:900;letter-spacing:1.2px}
.mmcrh-flag{font-size:28px;line-height:1}.mmcrh-flag.big{font-size:44px}
.mmcrh-h1{font-size:clamp(21px,4.4vw,30px);margin:6px 0 12px!important}
.mmcrh-h2{font-size:19px;margin:24px 0 10px!important}
.mmcrh-hint{color:var(--muted);font-size:13.5px;margin:4px 0 10px}
.mmcrh-meta{color:var(--muted);font-size:13.5px;margin:2px 0}

.mmcrh-search{display:flex;gap:8px;flex-wrap:wrap;max-width:760px}
.mmcrh-search input{flex:1 1 240px;min-height:50px;padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:var(--in);color:var(--text);font:16px/1.3 inherit;font-family:inherit}
.mmcrh-hero .mmcrh-search input{border-color:transparent}
.mmcrh-search input:focus,.mmcrh-filters input:focus,.mmcrh-filters select:focus,.mmcrh-filter:focus{outline:0;border-color:#ff7a2e;box-shadow:0 0 0 3px rgba(255,122,46,.25)}
.mmcrh-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 16px;border-radius:12px;border:0;font:800 14px/1.2 inherit;font-family:inherit;text-decoration:none!important;cursor:pointer;transition:filter .15s}
.mmcrh-btn.main{background:var(--g);color:#1a0d00!important}
.mmcrh-btn.soft{background:var(--soft);color:var(--ink)!important;border:1px solid var(--line)}
.mmcrh-btn.big{min-height:52px;padding:12px 20px;font-size:15.5px}
.mmcrh-btn.sm{min-height:34px;padding:6px 12px;font-size:13px}
.mmcrh-btn:hover{filter:brightness(1.05)}
.mmcrh-btn:focus-visible,.mmcrh-tile:focus-visible,.mmcrh-country:focus-visible{outline:3px solid #ff7a2e;outline-offset:2px}
.mmcrh-btn.is-busy{opacity:.65;pointer-events:none}

.mmcrh-crumbs ol{display:flex;flex-wrap:wrap;gap:4px;list-style:none;margin:0 0 10px;padding:0;font-size:13px;color:var(--muted)}
.mmcrh-crumbs li+li::before{content:"›";margin-right:4px;color:var(--muted)}
.mmcrh-crumbs a{color:var(--muted);text-decoration:none}.mmcrh-crumbs a:hover{color:var(--link);text-decoration:underline}
.mmcrh-cbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;margin:0 0 12px;border-radius:12px;background:var(--soft);border:1px solid var(--line);font-size:13.5px;font-weight:600;color:var(--ink)}
.mmcrh-resume{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;margin:0 0 6px;border-radius:14px;background:var(--card);border:1px solid var(--line);font-weight:700;color:var(--ink)}

.mmcrh-countries{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.mmcrh-country{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:18px;background:var(--card);border:1px solid var(--line);color:var(--text)!important;text-decoration:none!important;box-shadow:0 4px 14px rgba(10,36,99,.05);transition:transform .15s,box-shadow .15s}
.mmcrh-country:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,36,99,.12)}
.mmcrh-country.on{border-color:#ff7a2e;box-shadow:0 0 0 3px rgba(255,122,46,.18)}
.mmcrh-country b{font-size:16px;color:var(--ink)}
.mmcrh-country small{font-size:13px;color:var(--muted)}
.mmcrh-country em{font-style:normal;font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:6px}
.mmcrh-country .mmcrh-btn{margin-top:auto;align-self:flex-start;min-height:36px;padding:6px 14px}

.mmcrh-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.mmcrh-tile{display:block;height:100%;padding:12px 14px;border-radius:14px;background:var(--card);border:1px solid var(--line);color:var(--text)!important;text-decoration:none!important}
.mmcrh-tile:hover{border-color:#ff7a2e}
.mmcrh-tile b{display:block;color:var(--ink);font-size:14.5px}
.mmcrh-tile small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.mmcrh-tile.muted{opacity:.7}
.mmcrh-filter{width:100%;max-width:420px;min-height:44px;margin:0 0 10px;padding:8px 12px;border-radius:12px;border:1.5px solid var(--line);background:var(--in);color:var(--text);font:15px inherit;font-family:inherit}

.mmcrh-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.mmcrh-card{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:16px;background:var(--card);border:1px solid var(--line);box-shadow:0 4px 14px rgba(10,36,99,.05)}
.mmcrh-card h3{font-size:16px;line-height:1.35;margin:4px 0!important}
.mmcrh-card h3 a{color:var(--ink);text-decoration:none}.mmcrh-card h3 a:hover{color:var(--link);text-decoration:underline}
.mmcrh-abs{font-size:13.5px;color:var(--text);margin:4px 0 8px}
.mmcrh-card .mmcrh-btn{margin-top:auto;align-self:flex-start}
.mmcrh-badges{display:flex;flex-wrap:wrap;gap:5px}
.mmcrh-badge{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:800;background:var(--soft);border:1px solid var(--line);color:var(--ink)}
.mmcrh-badge.free{background:var(--good-bg);border-color:transparent;color:var(--good)}
.mmcrh-badge.paid{background:#0a2463;border-color:#0a2463;color:#fff}
.mmcrh-badge.demo{background:var(--warn-bg);border-color:transparent;color:var(--warn)}
.mmcrh-badge.k-complete{border-color:#ff7a2e}

.mmcrh-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:10px;border-radius:14px;background:var(--soft);border:1px solid var(--line)}
.mmcrh-filters input,.mmcrh-filters select{flex:1 1 150px;min-height:42px;padding:8px 10px;border-radius:10px;border:1.5px solid var(--line);background:var(--in);color:var(--text);font:15px inherit;font-family:inherit}
.mmcrh-count{font-weight:700;color:var(--muted);margin:0 0 8px}
.mmcrh-pager{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:16px 0}
.mmcrh-pager a,.mmcrh-pager span{display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 8px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);text-decoration:none;font-weight:700}
.mmcrh-pager span{background:#0a2463;color:#fff;border-color:#0a2463}
.mmcrh-pager small{color:var(--muted);margin-left:6px}
.mmcrh-empty{padding:26px 18px;border-radius:16px;background:var(--soft);border:1px dashed var(--line);text-align:center;color:var(--muted)}
.mmcrh-empty span{font-size:28px}.mmcrh-empty p{margin:6px auto 10px;max-width:560px}
.mmcrh-alert{padding:10px 14px;margin:0 0 12px;border-radius:12px;background:var(--warn-bg);color:var(--warn);font-weight:600;font-size:14px}

.mmcrh-topic{padding:20px;border-radius:20px;background:var(--card);border:1px solid var(--line)}
.mmcrh-topic h1{font-size:clamp(21px,4.4vw,30px);line-height:1.25;margin:8px 0 12px!important}
.mmcrh-topic section{margin:18px 0 0}
.mmcrh-topic section h2{font-size:17px;margin:0 0 6px!important}
.mmcrh-topic section p{margin:0 0 8px}
.mmcrh-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin:0 0 12px}
.mmcrh-facts div{padding:8px 12px;border-radius:12px;background:var(--soft)}
.mmcrh-facts dt{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.mmcrh-facts dd{margin:0;font-weight:600;color:var(--ink);font-size:14px}
.mmcrh-actions{display:flex;flex-wrap:wrap;gap:8px}
.mmcrh-unlock{padding:16px;border-radius:16px;background:var(--soft);border:1.5px solid var(--line)}
.mmcrh-locked{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:4px;font-size:14px}
.mmcrh-price b{font-size:24px;color:var(--ink)}.mmcrh-price small{display:block;color:var(--muted)}
.mmcrh-buy{display:grid;gap:10px;max-width:520px}
.mmcrh-pin input{display:block;width:180px;min-height:46px;margin-top:4px;padding:8px 12px;border-radius:12px;border:1.5px solid var(--line);background:var(--in);color:var(--text);font:18px/1 inherit;letter-spacing:4px}
.mmcrh-agree{display:flex;gap:8px;align-items:flex-start;font-size:13.5px}
.mmcrh-agree input{width:18px;height:18px;margin-top:2px;accent-color:#ff7a2e}
.mmcrh-terms{font-size:12.5px;color:var(--muted)}
.mmcrh-msg{margin:0;font-weight:600;font-size:14px}.mmcrh-msg.bad{color:var(--bad)}.mmcrh-msg.good{color:var(--good)}
.mmcrh-source p{font-size:14px}
.mmcrh-report summary{cursor:pointer;color:var(--muted);font-size:13.5px}
.mmcrh-report form{display:grid;gap:8px;max-width:520px;margin-top:8px}
.mmcrh-report label{display:grid;gap:4px;font-size:13.5px;font-weight:600}
.mmcrh-report input,.mmcrh-report textarea,.mmcrh-profile input,.mmcrh-profile select{min-height:42px;padding:8px 10px;border-radius:10px;border:1.5px solid var(--line);background:var(--in);color:var(--text);font:15px inherit;font-family:inherit}
.mmcrh-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px}
.mmcrh-ethics{margin:16px 0;padding:12px 14px;border-left:4px solid #ff7a2e;border-radius:10px;background:var(--soft);font-size:13.5px}

.mmcrh-reader header{margin-bottom:14px}
.mmcrh-reader h1{font-size:clamp(20px,4vw,28px);margin:0 0 6px!important}
.mmcrh-toc{padding:12px 16px;border-radius:14px;background:var(--soft);margin:0 0 14px}
.mmcrh-toc ol{margin:6px 0 0;padding-left:20px}
.mmcrh-file{margin:0 0 16px}
.mmcrh-file h2 small{font-weight:500;color:var(--muted);font-size:13px}
.mmcrh-pdf{width:100%;height:78vh;min-height:420px;border:1px solid var(--line);border-radius:12px;background:#fff}
.mmcrh-reader section{margin:0 0 14px}
@media print{.mmcrh-reader.no-print{display:none!important}}

.mmcrh-tabs{display:flex;gap:4px;overflow-x:auto;padding:5px;margin:0 0 14px;border-radius:14px;background:var(--soft);border:1px solid var(--line);scrollbar-width:none}
.mmcrh-tabs::-webkit-scrollbar{display:none}
.mmcrh-tabs a{flex:0 0 auto;padding:9px 12px;border-radius:10px;color:var(--muted);text-decoration:none;font-weight:800;font-size:13.5px}
.mmcrh-tabs a.on{background:var(--g);color:#1a0d00}
.mmcrh-table{display:grid;gap:6px}
.mmcrh-tr{display:grid;grid-template-columns:1fr auto auto auto;gap:10px;align-items:center;padding:10px 12px;border-radius:12px;background:var(--card);border:1px solid var(--line);font-size:14px}
.mmcrh-tr.th{background:transparent;border:0;font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase}
.mmcrh-tr small{display:block;color:var(--muted);font-size:12px}
.mmcrh-tr .st-ok{color:var(--good);font-weight:700}.mmcrh-tr .st-off{color:var(--muted)}
.mmcrh-profile{display:grid;gap:10px;max-width:560px;padding:16px;border-radius:16px;background:var(--card);border:1px solid var(--line)}
.mmcrh-profile label{display:grid;gap:4px;font-weight:600;font-size:14px}

.mmcrh-home{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;border-radius:16px;background:var(--card);border:1px solid var(--line);color:var(--text)!important;text-decoration:none!important;box-shadow:0 6px 18px rgba(10,36,99,.06)}
.mmcrh-home-ic{display:grid;place-items:center;width:44px;height:44px;flex:0 0 auto;border-radius:12px;background:#0a2463;font-size:22px}
.mmcrh-home-t{flex:1;min-width:0}.mmcrh-home-t b{display:block;font-size:14.5px;color:var(--ink)}.mmcrh-home-t small{display:block;font-size:12px;color:var(--muted)}
.mmc-apphome .mmcrh-home{margin:12px 0}

@media (max-width:560px){
  .mmcrh-hero{padding:20px 16px;border-radius:18px}
  .mmcrh-topic{padding:16px}
  .mmcrh-tr{grid-template-columns:1fr auto;}
  .mmcrh-tr.th{display:none}
  .mmcrh-countries{grid-template-columns:1fr 1fr}
  .mmcrh-country{padding:12px}
  .mmcrh-cards{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.mmcrh-country{transition:none}}
.mmcrh-quick{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 6px}

/* 1.2 project materials: sub-headings, tables (scroll sideways inside the table only), fill-in marks */
.mmcrh-topic section h3,.mmcrh-reader section h3{font-size:16px;margin:16px 0 6px!important;color:var(--ink)}
.mmcrh-topic section h4,.mmcrh-reader section h4{font-size:15px;margin:12px 0 4px!important;color:var(--ink)}
.mmcrh-topic section ul,.mmcrh-topic section ol,.mmcrh-reader section ul,.mmcrh-reader section ol{margin:0 0 10px;padding-left:22px}
.mmcrh-topic section table,.mmcrh-reader section table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-collapse:collapse;margin:8px 0 14px;font-size:13.5px}
.mmcrh-topic section th,.mmcrh-topic section td,.mmcrh-reader section th,.mmcrh-reader section td{border:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top;min-width:44px}
.mmcrh-topic section th,.mmcrh-reader section th{background:var(--soft);color:var(--ink);font-weight:700}
.mmcrh-topic section caption,.mmcrh-reader section caption{caption-side:top;text-align:left;font-weight:700;color:var(--ink);padding:0 0 4px}
.mmcrh mark{background:rgba(255,201,40,.35);color:inherit;border-radius:3px;padding:0 2px}
.mmcrh .mmcrh-refs li{margin:0 0 6px;padding-left:4px}
.mmcrh-badge.k-material{background:var(--g);color:#1a0d00}
.mmcrh-topic section th,.mmcrh-reader section th{white-space:nowrap}
.mmcrh-topic section td:first-child,.mmcrh-reader section td:first-child{min-width:120px}
.mmcrh-topic section td:nth-child(2),.mmcrh-reader section td:nth-child(2){min-width:150px}
