/* Mosravo Security Hub - builds on breach-check.css (.mbc design system, site colours). */
.msh .mbc-hero.msh-hero--sm { padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); }
.msh-hero__art { display: flex; justify-content: center; }
.msh-badge { position: relative; width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle, rgba(31,154,154,.28), rgba(31,154,154,0) 70%); border: 1px solid rgba(159,184,185,.25); }
.msh-badge::before, .msh-badge::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(159,184,185,.18); }
.msh-badge::before { inset: -34px; }
.msh-badge::after { inset: -70px; border-color: rgba(159,184,185,.1); }
.msh-badge .mbc-ic { width: 96px; height: 96px; padding: 22px; border-radius: 28px; color: #fff; stroke-width: 1.5;
	background: linear-gradient(150deg, var(--mbc-teal), var(--mbc-teal-d)); box-shadow: 0 18px 40px -12px rgba(31,154,154,.7); }
.msh-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.msh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.msh-narrow { max-width: 860px; }

/* Tool cards */
.msh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.msh-tool { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; background: #fff; border: 1px solid var(--mbc-line); border-radius: var(--mbc-r); color: var(--mbc-text) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.msh-tool:hover { border-color: var(--mbc-teal); box-shadow: 0 18px 40px -26px rgba(20,38,43,.45); transform: translateY(-2px); }
.msh-tool > .mbc-ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--mbc-wash); color: var(--mbc-teal-d); margin-bottom: 10px; }
.msh-tool h3 { font-size: 21px; color: var(--mbc-ink); }
.msh-tool p { color: var(--mbc-muted); font-size: 15px; flex: 1; }
.msh-tool__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--mbc-teal-d); }
.msh-tool__go .mbc-ic { width: 16px; height: 16px; transition: transform .15s; }
.msh-tool:hover .msh-tool__go .mbc-ic { transform: translateX(3px); }

/* Explainers */
.msh-explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.msh-explain li { padding: 24px; border-radius: var(--mbc-r); background: var(--mbc-mist); border: 1px solid var(--mbc-line); }
.msh-explain h3 { font-size: 21px; color: var(--mbc-ink); margin-bottom: 6px !important; }
.msh-explain p { color: var(--mbc-muted); font-size: 16px; }

/* Results */
.msh-result, .msh-score-result { max-width: 900px; margin: 32px auto 0; scroll-margin-top: 90px; }
.msh-grade { display: flex; gap: 22px; align-items: center; padding: 24px 26px; border-radius: 16px; border: 1px solid var(--mbc-line); background: #fff; }
.msh-grade h3 { font-size: clamp(24px, 3vw, 32px); color: var(--mbc-ink); margin: 2px 0 6px !important; }
.msh-grade .mbc-kicker { margin-bottom: 2px !important; }
.msh-grade p:last-child { color: var(--mbc-muted); }
.msh-ring { --c: var(--mbc-teal); flex: none; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
	background: conic-gradient(var(--c) var(--deg, 0deg), var(--mbc-mist) 0); }
.msh-ring span { width: 80px; height: 80px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--mbc-serif); font-size: 34px; font-weight: 600; color: var(--c); }
.msh-grade--good .msh-ring { --c: #087443; }
.msh-grade--mid .msh-ring { --c: #b54708; }
.msh-grade--bad .msh-ring { --c: #b42318; }
.msh-grade--good { background: var(--mbc-grn-bg); border-color: var(--mbc-grn-line); }
.msh-grade--mid { background: var(--mbc-or-bg); border-color: #fedf89; }
.msh-grade--bad { background: var(--mbc-red-bg); border-color: var(--mbc-red-line); }

.msh-verdict { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: 16px; border: 1px solid; }
.msh-verdict h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 6px !important; }
.msh-verdict__i { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.msh-verdict__i .mbc-ic { width: 28px; height: 28px; }
.msh-verdict--bad { background: var(--mbc-red-bg); border-color: var(--mbc-red-line); }
.msh-verdict--bad h3 { color: var(--mbc-red); }
.msh-verdict--bad .msh-verdict__i { background: var(--mbc-red); }
.msh-verdict--mid { background: var(--mbc-or-bg); border-color: #fedf89; }
.msh-verdict--mid h3 { color: var(--mbc-or); }
.msh-verdict--mid .msh-verdict__i { background: #dc6803; }
.msh-verdict--good { background: var(--mbc-grn-bg); border-color: var(--mbc-grn-line); }
.msh-verdict--good h3 { color: var(--mbc-grn); }
.msh-verdict--good .msh-verdict__i { background: var(--mbc-grn); }
.msh-dest { margin-top: 12px; font-size: 15px; display: grid; gap: 6px; }
.msh-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; word-break: break-all; }

.msh-findings { display: grid; gap: 10px; }
.msh-f { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--mbc-line); border-radius: var(--mbc-r); }
.msh-f__i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.msh-f__i .mbc-ic { width: 17px; height: 17px; }
.msh-f h4 { font-family: var(--mbc-sans); font-size: 17px; font-weight: 700; color: var(--mbc-ink); margin: 2px 0 4px !important; letter-spacing: 0; }
.msh-f p { font-size: 15px; color: var(--mbc-ink2); }
.msh-f__fix { margin-top: 8px !important; padding: 10px 12px; border-radius: 8px; background: var(--mbc-mist); }
.msh-f--pass .msh-f__i { background: var(--mbc-grn-bg); color: var(--mbc-grn); }
.msh-f--fail { border-left: 4px solid var(--mbc-red); }
.msh-f--fail .msh-f__i { background: var(--mbc-red-bg); color: var(--mbc-red); }
.msh-f--warn { border-left: 4px solid #f79009; }
.msh-f--warn .msh-f__i { background: var(--mbc-or-bg); color: var(--mbc-or); }
.msh-f--info .msh-f__i { background: var(--mbc-mist); color: var(--mbc-muted); }

/* Score quiz */
.msh-progress { position: sticky; top: 76px; z-index: 3; height: 6px; border-radius: 99px; background: var(--mbc-mist); overflow: hidden; margin-bottom: 18px; }
.msh-progress span { display: block; height: 100%; width: 0; background: var(--mbc-teal); transition: width .25s; }
.msh-q { border: 1px solid var(--mbc-line); border-radius: var(--mbc-r); padding: 20px 22px; margin: 0 0 12px; background: #fff; transition: border-color .15s; }
.msh-q.is-done { border-color: var(--mbc-teal); }
.msh-q legend { float: left; width: 100%; padding: 0; display: flex; gap: 12px; font-weight: 700; font-size: 17px; color: var(--mbc-ink); margin-bottom: 14px; }
.msh-q__n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mbc-wash); color: var(--mbc-teal-d); display: grid; place-items: center; font-size: 14px; }
.msh-q__opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; padding-left: 40px; }
.msh-q__opts label { position: relative; cursor: pointer; }
.msh-q__opts input { position: absolute; opacity: 0; pointer-events: none; }
.msh-q__opts span { display: inline-block; padding: 9px 16px; border: 1px solid var(--mbc-line); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--mbc-ink2); background: #fff; transition: all .12s; }
.msh-q__opts label:hover span { border-color: var(--mbc-teal); }
.msh-q__opts input:checked + span { background: var(--mbc-teal); border-color: var(--mbc-teal); color: #fff; }
.msh-q__opts input:focus-visible + span { outline: 3px solid var(--mbc-amber); outline-offset: 2px; }
.msh-score > .mbc-btn { margin-top: 10px; }

/* Forms */
.msh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msh-report label, .msh-lead label { display: block; font-weight: 700; font-size: 15px; color: var(--mbc-ink); margin-bottom: 14px; }
.msh-report input[type=text], .msh-report input[type=email], .msh-report select, .msh-report textarea,
.msh-lead input[type=text], .msh-lead input[type=email], .msh-lead input[type=tel], .msh-lead input:not([type]) {
	display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--mbc-line); border-radius: 10px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; color: var(--mbc-text); box-shadow: none; }
.msh-report textarea { resize: vertical; min-height: 140px; }
.msh-report :is(input, select, textarea):focus, .msh-lead input:focus { outline: none; border-color: var(--mbc-teal); box-shadow: 0 0 0 3px rgba(31,154,154,.18); }
.msh .msh-check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--mbc-ink2); }
.msh-check-row input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--mbc-teal); flex: none; }
.msh-req { color: var(--mbc-red); }
.msh-lead { margin-top: 24px; padding: 26px; }
.msh-lead h3 { font-size: 23px; color: var(--mbc-ink); margin-bottom: 6px !important; }
.msh-lead > p { color: var(--mbc-muted); margin-bottom: 16px !important; }
.msh-msg { margin-top: 12px !important; font-weight: 600; font-size: 15px; }
.msh-msg:empty { display: none; }
.msh-msg.is-ok { color: var(--mbc-grn); }
.msh-msg.is-err { color: var(--mbc-red); }
.msh-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.msh-report { padding: 28px; }
.msh-aside { position: sticky; top: 100px; padding: 26px; border-radius: var(--mbc-r); background: var(--mbc-ink); color: var(--mbc-on); }
.msh-aside .mbc-h2 { color: #fff !important; font-size: 28px; margin-bottom: 16px !important; }
.msh-aside .mbc-plan li { background: var(--mbc-ink2); border-color: rgba(159,184,185,.16); color: var(--mbc-on); font-size: 15px; }
.msh-aside strong { color: #fff; }

/* Spot the scam */
.msh-spot { max-width: 640px; margin: 0 auto; }
.msh-spot__top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--mbc-muted); margin-bottom: 12px; }
.msh-msgcard { position: relative; padding: 20px 22px; border-radius: 4px 18px 18px 18px; background: #fff; border: 1px solid var(--mbc-line); box-shadow: 0 18px 40px -28px rgba(20,38,43,.5); }
.msh-msgcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--mbc-ink); }
.msh-pill { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; background: var(--mbc-wash); color: var(--mbc-teal-d); }
.msh-msgcard p { font-size: 17px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.msh-spot__q { text-align: center; font-family: var(--mbc-serif); font-size: 24px; font-weight: 600; color: var(--mbc-ink); margin: 24px 0 12px !important; }
.msh-spot__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msh-btn-scam { background: var(--mbc-red-bg); color: var(--mbc-red) !important; border-color: var(--mbc-red-line); }
.msh-btn-scam:hover { background: #fee4e2; }
.msh-btn-legit { background: var(--mbc-grn-bg); color: var(--mbc-grn) !important; border-color: var(--mbc-grn-line); }
.msh-btn-legit:hover { background: #dcfae6; }
.msh-spot__btns button[disabled] { opacity: .45; cursor: default; }
.msh-spot__btns button.is-answer { opacity: 1; box-shadow: 0 0 0 3px currentColor inset; }
.msh-spot__why { margin-top: 16px; padding: 18px 20px; border-radius: var(--mbc-r); border: 1px solid; }
.msh-spot__why.is-right { background: var(--mbc-grn-bg); border-color: var(--mbc-grn-line); }
.msh-spot__why.is-wrong { background: var(--mbc-or-bg); border-color: #fedf89; }
.msh-spot__why h4 { font-family: var(--mbc-sans); font-size: 18px; font-weight: 700; margin-bottom: 6px !important; }
.msh-spot__why .mbc-btn { margin-top: 14px; }

/* Follow box */
.msh-follow-sec { padding-top: 0; }
.msh-follow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--mbc-ink); color: var(--mbc-on); position: relative; overflow: hidden; }
.msh-follow::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 100% 0%, rgba(31,154,154,.3), transparent 70%); }
.msh-follow > * { position: relative; }
.msh-follow .mbc-kicker { color: #3fd0c9; }
.msh-follow .mbc-h2 { color: #fff !important; font-size: clamp(26px, 3vw, 36px); }
.msh-follow__copy p:last-child { margin-top: 12px !important; color: var(--mbc-on-m); }
.msh-follow__copy strong { color: #fff; }
.msh-brief { display: flex; gap: 8px; padding: 6px; background: #fff; border-radius: 12px; }
.msh-brief .mbc-field input { height: 48px; }
.msh-follow .msh-msg.is-ok { color: #3fd0c9; }
.msh-follow .msh-msg.is-err { color: #ff8f84; }
.msh-follow__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.msh-btn-wa { background: #25d366; color: #0b3d22 !important; }
.msh-btn-wa:hover { background: #1fbd5a; }
.msh-btn-li { background: #0a66c2; color: #fff !important; }
.msh-btn-li:hover { background: #084f96; }
.msh-btn-wa .mbc-ic, .msh-btn-li .mbc-ic { width: 20px; height: 20px; }
.msh-follow--post { margin: 40px 0 8px; font-size: 16px; }
.msh-follow--post .mbc-h2 { font-size: 26px; }

@media (max-width: 1024px) {
	.msh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.msh-explain, .msh-follow, .msh-split { grid-template-columns: 1fr; }
	.msh-aside { position: static; }
}
@media (max-width: 600px) {
	.msh-grid, .msh-row { grid-template-columns: 1fr; gap: 0 14px; }
	.msh-grid { gap: 12px; }
	.msh-grade, .msh-verdict { flex-direction: column; align-items: flex-start; padding: 20px; }
	.msh-q { padding: 16px; }
	.msh-q__opts { padding-left: 0; }
	.msh-brief { flex-direction: column; }
	.msh-brief .mbc-btn { width: 100%; }
	.msh-spot__btns { grid-template-columns: 1fr; }
	.msh-hero__btns .mbc-btn { width: 100%; }
}

/* Threat Pulse */
.msh-pulse { position: relative; overflow: hidden; background: #0d1b1f; color: var(--mbc-on); padding: clamp(56px, 7vw, 88px) 0; }
.msh-pulse::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 60% at 12% 30%, color-mix(in srgb, var(--lv) 22%, transparent), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgba(31,154,154,.16), transparent 70%); }
.msh-pulse > .mbc-wrap { position: relative; }
.msh-pulse__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.msh-pulse .mbc-h2 { color: #fff !important; }
.msh-pulse__live { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #3fd0c9; margin-bottom: 10px !important; }
.msh-pulse__dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 0 rgba(255,77,79,.6); animation: msh-live 1.6s infinite; }
@keyframes msh-live { 0% { box-shadow: 0 0 0 0 rgba(255,77,79,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,77,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); } }
.msh-pulse__upd { color: var(--mbc-on-m); font-size: 14px; }
.msh-pulse__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.msh-pulse__card { background: rgba(255,255,255,.035); border: 1px solid rgba(159,184,185,.16); border-radius: 16px; padding: 24px; backdrop-filter: blur(2px); }
.msh-pulse__card h3 { font-size: 20px; color: #fff; margin-bottom: 12px !important; }
.msh-pulse__level { text-align: center; }
.msh-gauge { width: 100%; max-width: 230px; display: block; margin: 0 auto; overflow: visible; }
.msh-gauge__needle { transform-origin: 100px 100px; transform: rotate(var(--a)); animation: msh-needle 1.4s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes msh-needle { from { transform: rotate(-90deg); } to { transform: rotate(var(--a)); } }
.msh-pulse__lbl { margin-top: 6px !important; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mbc-on-m); }
.msh-pulse__lv { font-family: var(--mbc-serif); font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--lv); }
.msh-pulse__adv { margin-top: 8px !important; font-size: 15px; color: var(--mbc-on); }
.msh-pulse__trend { margin-top: 6px !important; font-size: 13px; color: var(--mbc-on-m); font-style: italic; }
.msh-pulse__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px !important; padding-top: 16px; border-top: 1px solid rgba(159,184,185,.16); }
.msh-pulse__stats b { display: block; font-family: var(--mbc-serif); font-size: 26px; color: #fff; line-height: 1.1; }
.msh-pulse__stats span { font-size: 12px; color: var(--mbc-on-m); }
.msh-pulse__feed ol { display: grid; gap: 2px; }
.msh-pulse__feed a { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: baseline; padding: 10px 8px; border-radius: 10px; color: var(--mbc-on) !important; transition: background .15s; }
.msh-pulse__feed a:hover { background: rgba(255,255,255,.05); }
.msh-pulse__tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(31,154,154,.2); color: #3fd0c9; white-space: nowrap; }
.msh-pulse__tag.is-scam { background: rgba(255,77,79,.16); color: #ff8f84; }
.msh-pulse__t { font-size: 15px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.msh-pulse__feed time { font-size: 12px; color: var(--mbc-on-m); white-space: nowrap; }
.msh-pulse__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: 14px; color: #3fd0c9 !important; }
.msh-pulse__more .mbc-ic { width: 16px; height: 16px; }
.msh-pulse__sub { font-size: 13px; color: var(--mbc-on-m); margin: -8px 0 14px !important; }
.msh-pulse__targets ul { display: grid; gap: 12px; }
.msh-pulse__targets li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; }
.msh-pulse__targets li i { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 99px; background: rgba(159,184,185,.14); position: relative; overflow: hidden; }
.msh-pulse__targets li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #1f9a9a, var(--lv)); }
.msh-pulse__targets b { color: #fff; }
.msh-pulse__acts { display: grid; gap: 10px; margin-top: 22px; }
.msh-pulse__acts .mbc-btn { width: 100%; }
.msh-pulse__ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.4); }
.msh-pulse__ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.msh-pulse li, .msh-pulse__targets li span { color: var(--mbc-on) !important; }
.msh-pulse .msh-pulse__card h3 { color: #fff !important; }
.msh-pulse a.msh-pulse__more { color: #3fd0c9 !important; }
.msh-pulse .msh-pulse__ghost { border: 1.5px solid rgba(255,255,255,.4) !important; }
@media (prefers-reduced-motion: reduce) { .msh-gauge__needle, .msh-pulse__dot { animation: none; } }
@media (max-width: 1024px) { .msh-pulse__grid { grid-template-columns: 1fr 1fr; } .msh-pulse__feed { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 640px) { .msh-pulse__grid { grid-template-columns: 1fr; } .msh-pulse__card { padding: 20px; } .msh-pulse__feed a { grid-template-columns: 1fr auto; } .msh-pulse__tag { grid-column: 1 / -1; justify-self: start; } }

@media print {
	body:has(.msh-result:not([hidden]), .msh-score-result:not([hidden])) * { visibility: hidden; }
	.msh-result, .msh-result *, .msh-score-result, .msh-score-result * { visibility: visible; }
	.msh-result, .msh-score-result { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
	.msh-result .mbc-actions, .msh-result .mbc-helpbox, .msh-lead { display: none !important; }
}
