/* Eporasona free tools */
.ep-tool { --tb: var(--blue, #0a4a9f); --tl: var(--line, #dfe3ea); --ti: var(--ink, #1f2430); margin: 0 0 1.2em; font-size: 16px; }
.ep-tool-loading { color: #6b7280; }
.ept-card { border: 1px solid var(--tl); border-radius: 14px; background: #fff; padding: 20px 22px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(16,24,40,.05); display: grid; gap: 14px; }
.ept-card h3 { margin: 0; font-size: 19px; color: var(--ti); }
.ept-field { display: grid; gap: 6px; font-weight: 500; color: var(--ti); font-size: 15px; }
.ept-field small { font-weight: 400; color: #6b7280; font-size: 13px; }
.ept-in, .ept-file { width: 100%; min-height: 46px; padding: 9px 12px; border: 1.5px solid #cfd6e2; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--ti); box-sizing: border-box; }
.ept-file { padding: 10px; }
.ept-in:focus { outline: 0; border-color: var(--tb); box-shadow: 0 0 0 3px rgba(10,74,159,.15); }
.ept-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ept-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.ept-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ept-check { display: flex; align-items: center; gap: 10px; min-height: 46px; font-size: 15px; color: var(--ti); }
.ept-check input { width: 20px; height: 20px; }
.ept-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--tb); color: #fff !important; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none !important; justify-self: start; }
.ept-btn:hover { filter: brightness(1.1); }
.ept-btn.ok { background: #15803d; }
.ept-btn.ghost { background: #eef3fb; color: var(--tb) !important; min-height: 40px; padding: 0 14px; font-size: 15px; }
.ept-mini { width: 34px; height: 34px; border: 1px solid var(--tl); border-radius: 8px; background: #fff; cursor: pointer; margin-left: 4px; }
.ept-mini:disabled { opacity: .35; cursor: default; }
.ept-msg { margin: 0; padding: 11px 14px; border-radius: 10px; background: #f5f7fa; font-size: 15px; }
.ept-msg.ok { background: #effaf2; color: #166534; }
.ept-msg.warn { background: #fff8e6; color: #854d0e; }
.ept-msg.err { background: #fdf0f0; color: #b42318; }
.ept-small { font-size: 14px; color: #6b7280; margin: 0; }
.ept-out { border-top: 1px dashed var(--tl); padding-top: 14px; display: grid; gap: 10px; }
.ept-out p { margin: 0; }
.ept-big { font-size: 26px; font-weight: 700; color: var(--ti); line-height: 1.25; }
.ept-res { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ept-res > div { display: grid; gap: 8px; }
.ept-res-img { max-width: 240px; max-height: 240px; border: 1px solid var(--tl); border-radius: 8px; background: repeating-conic-gradient(#f3f4f6 0 25%, #fff 0 50%) 0 0/16px 16px; }
.ept-src { max-width: 260px; border-radius: 8px; border: 1px solid var(--tl); }
.ept-src[hidden] { display: none; }
.ept-list { display: grid; gap: 8px; }
.ept-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--tl); border-radius: 10px; font-size: 15px; word-break: break-all; }
.ept-passage { padding: 16px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--tl); font-size: 18px; line-height: 1.8; user-select: none; -webkit-user-select: none; }
.ept-passage .ok { color: #15803d; }
.ept-passage .bad { color: #b42318; background: #fde2e2; text-decoration: underline; }
.ept-passage .cur { background: #dbe7fb; border-radius: 2px; }
.ept-type { min-height: 150px; font-size: 18px; line-height: 1.6; }
.ept-timer { font-size: 22px; font-weight: 700; color: var(--tb); min-width: 60px; }
.ept-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ept-stats > div { text-align: center; padding: 14px 6px; border-radius: 12px; background: #eef3fb; }
.ept-stats strong { display: block; font-size: 28px; color: var(--tb); }
.ept-stats span { font-size: 13px; color: #4b5563; }
.ep-privacy { font-size: 14px; color: #4b5563; background: #f5f7fa; border-radius: 10px; padding: 10px 14px; }
@media (max-width: 640px) {
	.ept-card { padding: 16px; }
	.ept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ept-grid2 { grid-template-columns: minmax(0, 1fr); }
	.ept-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ept-btn { justify-self: stretch; }
}
