/* Page-specific rules for /base64-to-image. Base tokens come from style.css. */
.title h1{font-size:42px;letter-spacing:-1.5px}
.title{padding:24px 0 20px}
.paste{width:100%;height:190px;border:1px solid #cfdacf;border-radius:10px;background:#fbfdfa;padding:16px;font:12px/1.7 Consolas,monospace;color:#2c4c3b;overflow-wrap:anywhere;resize:vertical;outline:none}
.paste:focus{border-color:#58836a}
.paste::placeholder{color:#93a89a}
.pastehint{font-size:11px;color:#6a7c71;line-height:1.55;margin:10px 0 0}
.preview.tall{height:300px}
.preview.tall img{max-height:100%;max-width:100%;object-fit:contain}
.fallback{font-size:12px;color:#6a7c71;padding:8px 0 0;overflow-wrap:anywhere}

/* verdict strip */
.verdictpanel{margin-top:20px}
.verdicthead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.verdictTag{font-size:12px;font-weight:700;padding:8px 14px;border-radius:20px;letter-spacing:.4px}
.verdictTag.ok{background:#e2efdd;color:#2f5b3c}
.verdictTag.warn{background:#f6e6bf;color:#7a5c14}
.verdictTag.bad{background:#f7d7d2;color:#8c2f24}

.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.check{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:start;padding:13px 15px;border:1px solid #e2e9e0;border-radius:10px;background:#fcfdfb}
.check .tag{font-size:9.5px;letter-spacing:1.2px;text-transform:uppercase;font-weight:800;text-align:center;padding:5px 6px;border-radius:6px;line-height:1.3}
.check .body{display:flex;flex-direction:column;gap:4px;min-width:0}
.check .body strong{font-size:12.5px;letter-spacing:.2px}
.check .body span{font-size:12px;line-height:1.55;color:#4b6458;overflow-wrap:anywhere}
.check.ok{background:#f5faf3;border-color:#d8e7d5}
.check.ok .tag{background:#dff0d8;color:#2f5b3c}
.check.warn{background:#fdf9ee;border-color:#ecdfbe}
.check.warn .tag{background:#f6e6bf;color:#7a5c14}
.check.bad{background:#fdf2f1;border-color:#edcfcb}
.check.bad .tag{background:#f7d7d2;color:#8c2f24}
.check.fixed{background:#f4f8fc;border-color:#d3e0ec}
.check.fixed .tag{background:#dae8f5;color:#26527a}
.check.note{background:#f7f9f6;border-color:#e2e9e0}
.check.note .tag{background:#e7ede4;color:#556f5e}

#fix{margin:16px 0 0;font-size:12.5px;line-height:1.6;color:#37544a;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
#fix button{min-height:40px;padding:10px 18px;font-size:12.5px}

/* prose */
.prose{max-width:840px;margin-top:34px;padding-top:26px;border-top:1px solid #d8e1d9}
.prose h2{font-size:22px;letter-spacing:-.4px;margin:34px 0 12px;text-transform:none}
.prose h3{font-size:15px;margin:22px 0 8px}
.prose p{font-size:14.5px;line-height:1.72;color:#3d574b;margin:0 0 14px}
.prose ul,.prose ol{font-size:14.5px;line-height:1.72;color:#3d574b;padding-left:20px;margin:0 0 14px}
.prose li{margin-bottom:8px}
.prose code{font:12.5px Consolas,monospace;background:#eaf0e7;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}
.prose strong{color:#25422f}
.tablewrap{overflow-x:auto;margin:0 0 16px;-webkit-overflow-scrolling:touch}
.prose table{border-collapse:collapse;width:100%;min-width:520px;font-size:13px}
.prose th,.prose td{border:1px solid #dde5db;padding:9px 11px;text-align:left;vertical-align:top;line-height:1.5}
.prose th{background:#eef3ec;font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:#4b6458}
.prose td{color:#3d574b}
.prose td.num{font:12px Consolas,monospace;white-space:nowrap}
.note-box{border-left:3px solid #58836a;background:#f4f9f2;padding:14px 16px;border-radius:0 8px 8px 0;margin:0 0 16px}
.note-box p{margin:0}
.note-box p+p{margin-top:10px}

@media(max-width:720px){
  .title h1{font-size:32px;letter-spacing:-1px}
  .paste{height:150px}
  .preview.tall{height:220px}
  .check{grid-template-columns:1fr;gap:8px}
  .check .tag{justify-self:start;min-width:78px}
  .verdicthead{align-items:flex-start}
  .prose h2{font-size:19px}
  .prose p,.prose ul,.prose ol{font-size:14px}
}
