/* PDFSwift EPUB tools - additions only; the site's style.css is untouched. */
.ep-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ep-badge{display:inline-block;margin-left:8px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:800;vertical-align:middle}
.ep-badge--free{background:#e8f7ee;color:#116b36}
.ep-badge--pro{background:#fff1d6;color:#8a5200}
.ep-hubgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:18px 0 8px}
.ep-hubcard{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;color:#111827;text-decoration:none;transition:box-shadow .15s,transform .15s}
.ep-hubcard:hover,.ep-hubcard:focus-visible{box-shadow:0 10px 26px #1118271a;transform:translateY(-1px);outline:2px solid #635bff;outline-offset:2px}
.ep-hubcard h3{margin:6px 0 6px;font-size:18px}
.ep-hubcard p{margin:0;color:#4b5563;font-size:14px;line-height:1.5}
.ep-hubcard .ep-ico{font-size:26px}
.ep-search{width:100%;max-width:460px}
.ep-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;margin:18px 0}
.ep-box h2{margin-top:0;font-size:20px}
.ep-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:14px 0}
.ep-form .fieldlabel textarea{min-height:80px}
.ep-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;align-items:center}
.ep-pre{background:#f3f4f6;border-radius:10px;padding:12px;max-height:260px;overflow:auto;white-space:pre-wrap;word-break:break-word;font-size:13px}
.ep-text{width:100%;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px}
.ep-verdict{font-weight:800;padding:10px 12px;border-radius:10px}
.ep-ok{background:#e8f7ee;color:#116b36}.ep-err{background:#fde8e8;color:#a31d1d}.ep-warn{background:#fff6dd;color:#8a5200}
.status.ep-ok{color:#116b36}.status.ep-err{color:#a31d1d}.status.ep-warn{color:#8a5200}
.ep-tablewrap{overflow:auto;max-width:100%}
.ep-sev-error td:first-child{color:#a31d1d;font-weight:800}.ep-sev-warning td:first-child{color:#8a5200;font-weight:800}
.ep-list{padding-left:20px;line-height:1.6}
.ep-meta{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px}.ep-meta dt{font-weight:800}.ep-meta dd{margin:0}
.ep-cover-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:14px 0}
.ep-cover{max-width:100%;max-height:340px;border:1px solid #e5e7eb;border-radius:8px;display:block}
.ep-reader-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.ep-reader-bar select{max-width:100%;min-width:180px}
.ep-frame{width:100%;height:68vh;min-height:360px;border:1px solid #d1d5db;border-radius:10px;background:#fff}
.ep-privacy{background:#f3f4ff;border:1px solid #d9dcff;border-radius:12px;padding:12px 14px;margin:14px 0;font-size:14px}
.ep-compare td,.ep-compare th{vertical-align:top}
@media (max-width:560px){.ep-frame{height:60vh}.ep-reader-bar .textinput{width:100%}}
@media (prefers-reduced-motion:reduce){.ep-hubcard{transition:none}}
