.message-check-page{font-size:15px;line-height:1.6}
.message-check-page .site-header.has-message-check{min-height:64px;padding-top:12px;padding-bottom:12px}
.message-check-page .site-header .brand{font-size:18px;flex-shrink:0}
.message-check-page .site-header nav{gap:10px 14px}
.message-check-page .site-header nav a{font-size:13px}
.message-check-page .breadcrumbs{max-width:920px;padding-top:18px;font-size:12px}
.message-check-page .hero.compact{max-width:920px;padding-top:24px;padding-bottom:20px}
.message-check-page .hero h1{max-width:none;font-size:clamp(26px,3vw,34px);line-height:1.2;letter-spacing:-.035em;margin:9px 0 10px}
.message-check-page .check-title-ending{white-space:nowrap}
.message-check-page .hero>p{max-width:760px;font-size:16px;line-height:1.6;margin:0}
.message-check-page .hero .eyebrow{font-size:10px}
.message-check{max-width:920px;margin:0 auto;padding:0 24px 40px}
.message-check [hidden]{display:none!important}
.message-check .check-panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:18px}
.message-check .check-panel>h2{font-size:22px;line-height:1.25;letter-spacing:-.02em;margin:0 0 10px}
.message-check .check-panel>p{margin:0 0 16px}
.message-check .check-panel>h3,.message-check .check-next h3{font-size:17px;line-height:1.35;margin:0 0 8px}
.message-check .check-panel>.eyebrow{font-size:10px}
.message-check .check-panel>.eyebrow+h2{margin-top:6px}
.message-check label,.message-check legend{font-weight:800}
.message-check textarea{display:block;width:100%;min-height:150px;resize:vertical;margin:8px 0;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px;color:var(--text);font:inherit;font-size:16px;line-height:1.5}
.message-check textarea:focus,.message-check button:focus-visible,.message-check summary:focus-visible{outline:3px solid var(--accent2);outline-offset:3px}
.message-check .check-hint{color:var(--muted);font-size:13px}
.message-check .check-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.message-check .button{padding:9px 14px;font-size:14px;min-height:42px}
.message-check #message-check-form>label{font-size:14px}
.message-check #message-check-form>p{margin:8px 0}
.message-check button{font:inherit;cursor:pointer}
.message-check .check-error{color:#ffb4b4;font-weight:700}
.message-check .check-result{--result-accent:var(--warning);--result-tint:rgba(255,209,102,.07);padding:0;overflow:hidden;border-top:4px solid var(--result-accent)}
.message-check .check-result[data-verdict="suspicious"],.message-check .check-result[data-verdict="high_risk"]{--result-accent:#ff9292;--result-tint:rgba(255,146,146,.08)}
.message-check .check-result[data-verdict="no_signal"]{--result-accent:var(--accent2);--result-tint:rgba(114,191,255,.07)}
.message-check .check-verdict-header{display:flex;align-items:flex-start;gap:18px;padding:28px;background:linear-gradient(135deg,var(--result-tint),transparent)}
.message-check .check-verdict-mark{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:1px solid var(--result-accent);border-radius:14px;color:var(--result-accent);font-size:28px;font-weight:900;line-height:1}
.message-check .check-verdict-copy{min-width:0}
.message-check .check-result .check-label{color:var(--result-accent)}
.message-check .check-result h2{font-size:clamp(23px,2.6vw,28px);line-height:1.2;margin:8px 0 10px}
.message-check .check-result h2:focus{outline:2px solid var(--accent2);outline-offset:5px;border-radius:4px}
.message-check .check-summary{margin:0;color:var(--muted);line-height:1.6}
.message-check .check-result h3{font-size:18px;letter-spacing:-.02em;margin:0}
.message-check .check-action-box{margin:0 28px 26px;padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--result-accent);border-radius:12px;background:var(--panel2)}
.message-check .check-action-box p{margin:6px 0 10px;font-size:15px;font-weight:650;line-height:1.55}
.message-check .check-action-box .text-link{font-size:14px;white-space:normal}
.message-check .check-comparison{margin:0 28px 28px;min-width:0}
.message-check .check-comparison dl{margin:14px 0 0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.message-check .check-comparison dl>div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:13px 16px;align-items:baseline}
.message-check .check-comparison dl>div+div{border-top:1px solid var(--line)}
.message-check .check-comparison dt{color:var(--muted);font-size:13px}
.message-check .check-comparison dd{margin:0;min-width:0;overflow-wrap:anywhere;font-weight:650}
.message-check .check-destination-row{background:var(--bg)}
.message-check .check-destination-row code{color:var(--result-accent);font-size:14px}
.message-check #check-reference{font-size:14px;font-weight:500}
.message-check .check-comparison .check-hint{margin:9px 0 0;font-size:12px}
.message-check .check-evidence-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 28px 14px}
.message-check .check-signal-count{flex-shrink:0;font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:3px 9px}
.message-check .check-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 28px 24px;overflow-wrap:anywhere}
.message-check .check-evidence>li{margin:0;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--bg);min-width:0}
.message-check .check-evidence>li:only-child{grid-column:1/-1}
.message-check .check-evidence h4{margin:0 0 8px;font-size:16px;line-height:1.4;color:var(--text)}
.message-check .check-evidence p{margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
.message-check .check-evidence code{display:block;margin-top:10px;font-size:12px}
.message-check .check-result-details{margin:0;padding:18px 28px;border-top:1px solid var(--line)}
.message-check .check-result-details summary{font-size:14px;color:var(--muted)}
.message-check .check-result-details[open] summary{color:var(--text);margin-bottom:16px}
.message-check .check-result-details h4{font-size:14px;margin:0 0 12px}
.message-check code{color:var(--text);overflow-wrap:anywhere;white-space:normal}
.message-check .check-domains{display:flex;gap:8px;flex-wrap:wrap;padding:0;list-style:none}
.message-check .check-domains li{padding:6px 10px;background:var(--bg);border:1px solid var(--line);border-radius:8px;max-width:100%}
.message-check fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:0;padding:0;margin:16px 0}
.message-check legend{font-size:14px;margin-bottom:10px}
.message-check .check-stage{display:flex;align-items:flex-start;gap:7px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);font-size:14px;font-weight:500;line-height:1.5;cursor:pointer}
.message-check .check-stage:has(input:checked){border-color:var(--accent2);background:var(--panel2)}
.message-check input[type="radio"]{accent-color:var(--accent);margin-right:8px}
.message-check details{padding:16px 0;border-top:1px solid var(--line)}
.message-check summary{cursor:pointer;font-weight:800}
.message-check .check-paste-help,.message-check .check-email-help{padding:9px 0;border:0}
.message-check .check-paste-help summary,.message-check .check-email-help summary{font-size:13px;font-weight:600;color:var(--muted)}
.message-check .check-paste-help p,.message-check .check-email-help p{font-size:13px;color:var(--muted);margin:8px 0}
.message-check .check-example{background:transparent;color:var(--accent);text-decoration:underline;border:0;padding:0}
.message-check .check-next{border-top:1px solid var(--line);padding-top:14px}
.message-check .check-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--accent2)}
@media(max-width:620px){.message-check-page .breadcrumbs,.message-check-page .hero.compact{padding-left:16px;padding-right:16px}.message-check-page .hero.compact{padding-top:20px;padding-bottom:18px}.message-check-page .hero h1{font-size:26px}.message-check-page .hero>p{font-size:15px}.message-check{padding-left:16px;padding-right:16px}.message-check .check-panel{padding:18px}.message-check .check-panel>h2{font-size:20px}.message-check fieldset{grid-template-columns:minmax(0,1fr)}.message-check .check-actions{flex-direction:column}.message-check .check-actions button{width:100%}.message-check .check-result{padding:0}.message-check .check-verdict-header{padding:20px 18px;gap:12px}.message-check .check-verdict-mark{flex-basis:34px;width:34px;height:34px;font-size:22px;border-radius:10px}.message-check .check-result h2{font-size:23px}.message-check .check-action-box{margin:0 18px 22px;padding:14px}.message-check .check-action-box p{font-size:15px}.message-check .check-comparison{margin:0 18px 22px}.message-check .check-comparison dl>div{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 14px}.message-check .check-evidence-heading{margin:0 18px 12px;flex-wrap:wrap}.message-check .check-evidence{grid-template-columns:minmax(0,1fr);margin:0 18px 18px}.message-check .check-result-details{padding:16px 18px}}


/* Automatic reputation results remain separate from the local verdict. */
.message-check .check-reputation{margin:0 28px 28px;padding-top:20px;border-top:1px solid var(--line)}
.message-check .check-reputation h3{font-size:18px;margin:0 0 10px}
.message-check .reputation-table-scroll{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.message-check .reputation-table-scroll:focus-visible{outline:3px solid var(--accent2);outline-offset:3px}
.message-check .reputation-table{width:100%;min-width:700px;border-collapse:collapse;table-layout:fixed;font-size:13px}
.message-check .reputation-table th,.message-check .reputation-table td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.message-check .reputation-table th{background:var(--bg);font-size:12px}
.message-check .reputation-table th:first-child{width:28%}
.message-check .reputation-table th:nth-child(2){width:22%}
.message-check .reputation-table th:nth-child(3){width:30%}
.message-check .reputation-table th:last-child{width:20%}
.message-check .reputation-table tr:last-child td{border-bottom:0}
.message-check .reputation-table td:nth-child(2){font-weight:700}
.message-check .reputation-table td:last-child{font-size:12px;color:var(--muted)}
.message-check .reputation-table code{font-size:12px;white-space:normal;word-break:break-word}
.message-check .reputation-table p{margin:0 0 8px}
.message-check .reputation-table ul{padding-left:16px}
.message-check .reputation-table tr[data-status="listed"] td:nth-child(2){color:#ff9292}
.message-check .reputation-table tr[data-status="unavailable"] td:nth-child(2),.message-check .reputation-table tr[data-status="expired"] td:nth-child(2){color:var(--warning)}
.message-check .reputation-table caption{padding:10px;text-align:left;font-weight:700}
@media(max-width:620px){.message-check .check-reputation{margin:0 18px 18px}}

.message-check .reputation-table .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Stack each reputation row on narrow screens, retaining the table's explicit roles. */
@media(max-width:620px){
  .message-check .reputation-table-scroll{border:0;overflow:visible;border-radius:0}
  .message-check .reputation-table{display:block;min-width:0;table-layout:auto}
  .message-check .reputation-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .message-check .reputation-table tbody{display:block}
  .message-check .reputation-table tr{display:block;margin:0 0 14px;padding:4px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
  .message-check .reputation-table td{display:block;width:auto;padding:10px 0;border-bottom:1px solid var(--line)}
  .message-check .reputation-table tr:last-child td{border-bottom:1px solid var(--line)}
  .message-check .reputation-table tr td:last-child{border-bottom:0}
  .message-check .reputation-table td::before{content:attr(data-label);display:block;margin-bottom:5px;font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--muted)}
  .message-check .reputation-table code{font-size:13px}
  .message-check .reputation-table td:nth-child(2){font-size:14px}
}

/* Supplier reports stay distinct from the local verdict and visible at the top. */
.message-check .reputation-alert{margin:24px 28px 0;padding:18px;border:1px solid #ff9292;border-left-width:4px;border-radius:10px;background:rgba(255,146,146,.08)}
.message-check .reputation-alert h3{margin:0 0 8px;font-size:19px;line-height:1.3;color:#ffb0b0}
.message-check .reputation-alert p{margin:0 0 10px;font-size:14px}
.message-check .reputation-alert p:first-of-type{font-weight:800}
.message-check .reputation-alert a{overflow-wrap:anywhere}
.message-check .reputation-alert p:last-child{margin:10px 0 0;font-size:12px}
@media(max-width:620px){.message-check .reputation-alert{margin:18px 18px 0;padding:14px}.message-check .reputation-alert h3{font-size:18px}}

.message-check .check-image{margin:8px 0}
.message-check #message-image-status{margin:8px 0 0}

.message-check #message-image-preview{display:block;max-width:100%;height:auto;margin:12px 0;border:1px solid var(--line);border-radius:8px}
.message-check #message-image-preview[hidden]{display:none}


.message-check button[type="submit"]:disabled{cursor:wait;opacity:.65}

.message-check textarea.is-image-drop-target{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:2px}

.message-check .check-image-open{display:block;background:transparent;border:0;padding:0;color:var(--accent);text-align:left;max-width:100%}
.message-check .check-image-open:disabled{cursor:wait;opacity:.65}
.message-check .check-image-open span{display:block;font-size:12px;text-decoration:underline;margin-top:4px}
.message-check .image-crop{width:min(1000px,calc(100vw - 32px));max-width:calc(100vw - 32px);box-sizing:border-box;padding:18px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:14px}
.message-check .image-crop[open]{display:flex;flex-direction:column;gap:12px;max-height:92vh;max-height:92dvh;overflow:auto}
.message-check .image-crop::backdrop{background:rgba(0,0,0,.8)}
.message-check .image-crop-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.message-check .image-crop-heading h2{font-size:20px;line-height:1.25;margin:0}
.message-check .image-crop-heading button{flex-shrink:0}
.message-check .image-crop .check-hint{margin:0}
.message-check .image-crop-stage{overflow:auto;min-height:100px;max-height:55vh;max-height:55dvh;flex-shrink:0;background:var(--bg);border:1px solid var(--line);border-radius:8px}
.message-check .image-crop-stage canvas{display:block;margin:0 auto;max-width:100%;max-height:55vh;max-height:55dvh;width:auto;height:auto;touch-action:none;cursor:crosshair}
.message-check .image-crop-stage.is-zoomed canvas{max-width:none;max-height:none;touch-action:auto;cursor:auto}
.message-check .image-crop-tools,.message-check .image-crop-actions{display:flex;flex-wrap:wrap;gap:8px}
.message-check .image-crop-actions{justify-content:flex-end}
.message-check .image-crop button:disabled{opacity:.65;cursor:default}
.message-check .image-crop-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}
.message-check .image-crop-fields label{font-size:12px}
.message-check .image-crop-fields input{display:block;box-sizing:border-box;width:100%;padding:8px;margin-top:5px;font:inherit;font-size:16px;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:6px}
@media(max-width:620px){.message-check .image-crop-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.message-check .image-crop-heading h2{font-size:17px}}

.message-check .check-image-open.is-preview-only{opacity:1;cursor:default}
.message-check .check-image-open.is-preview-only span{display:none}

.message-check .reputation-table .reputation-destination{margin:0 0 7px;line-height:1.4;color:var(--text)}
.message-check .reputation-destination span{display:block;color:var(--muted);font-size:11px;font-weight:500}
.message-check .reputation-host{display:block;font-size:14px;overflow-wrap:anywhere;word-break:normal;direction:ltr;unicode-bidi:isolate}
.message-check .reputation-table td:first-child>code{display:block;color:var(--muted)}

.message-check .check-copy{margin:0 28px 24px;padding-top:16px;border-top:1px solid var(--line)}
.message-check .check-copy-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.message-check .check-copy p{margin:8px 0}
.message-check .check-copy button:disabled{opacity:.65;cursor:wait}
.message-check #check-copy-text{box-sizing:border-box;min-height:180px;font-size:14px}
@media(max-width:620px){.message-check .check-copy{margin:0 18px 18px}}

/* Keep the optional local email picker within narrow screens. */
#check-email-file { display: block; max-width: 100%; width: 100%; box-sizing: border-box; font: inherit; margin-block: .5rem; }

#check-email-file::file-selector-button { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: .55rem .8rem; margin-inline-end: .65rem; cursor: pointer; }

.message-check .check-contribution>summary{font-weight:700}
.message-check .check-contribution>p,.message-check .check-contribution form>p{margin:12px 0}
.message-check .check-contribution select,.message-check .check-contribution input{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;margin:8px 0}
.message-check .check-contribution select{font-size:13px}
.message-check .contribution-tracking{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}
.message-check #contribution-ticket{font-family:monospace;font-size:12px}

.message-check .contribution-address{overflow-wrap:anywhere;max-height:14em;overflow:auto;font-size:12px;color:var(--muted)}

.message-check .contribution-address:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
