* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.6; }
.extract-page { max-width: 1024px; padding: 28px 16px 48px; margin: auto; }
h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; } h2 { font-size: 19px; margin: 0; } h3 { font-size: 16px; }
.header { margin: 0 0 24px; } .privacy { color: #047857; font-size: 14px; }
.panel { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; min-width: 0; }
.section-heading { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; } button { border-radius: 6px; border: 1px solid #cbd5e1; padding: 10px 14px; min-height: 44px; font: inherit; font-size: 14px; background: white; color: #334155; cursor: pointer; transition: background-color .15s; }
button:hover { background: #f1f5f9; } .primary { background: #2563eb; border-color: #2563eb; color: white; } .primary:hover { background: #1d4ed8; } button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; } [hidden] { display: none !important; }
label { display: block; font-size: 14px; font-weight: 500; } textarea, select { border: 1px solid #cbd5e1; border-radius: 6px; padding: 10px 12px; background: white; font: inherit; font-size: 16px; width: 100%; min-width: 0; margin-top: 6px; color: #1e293b; } textarea { resize: vertical; line-height: 1.6; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; } textarea[readonly] { background: #f8fafc; }
.settings { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-top: 18px; } .check { display: flex; align-items: center; gap: 8px; min-height: 46px; font-weight: 400; } .check input { width: 18px; height: 18px; flex-shrink: 0; accent-color: #2563eb; }
.hint { font-size: 13px; color: #475569; margin: 8px 0; } .status { border-radius: 6px; padding: 12px 16px; background: #eff6ff; color: #1d4ed8; overflow-wrap: anywhere; } .status.error { background: #fef2f2; color: #b91c1c; }
.result { margin: 24px 0; } details { margin-top: 16px; } summary { cursor: pointer; color: #1d4ed8; } .table-wrap { max-height: 400px; overflow: auto; } table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; } th, td { padding: 10px; border-bottom: 1px solid #e2e8f0; text-align: left; overflow-wrap: anywhere; } th:first-child { width: 55px; } th:last-child { width: 120px; } th { background: #f1f5f9; }
.guide { font-size: 14px; color: #475569; } .guide li { margin: 8px 0; } .guide ol, .guide ul { padding-left: 22px; } code { overflow-wrap: anywhere; } .related { display: flex; flex-wrap: wrap; gap: 12px 24px; } a { color: #2563eb; }
@media (max-width: 700px) { .panel { padding: 18px; } .extract-page { padding-top: 20px; } .section-heading { flex-wrap: wrap; gap: 12px; } .settings { grid-template-columns: 1fr; gap: 12px; } .settings button { width: 100%; } th, td { padding: 8px 4px; } th:last-child { width: 90px; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
