:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f4f6f8; color: #15221c; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
.site-header, .site-footer { width: min(100% - 32px, 880px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-header { padding: 20px 0 0; }
.brand { color: #174b32; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; flex-wrap: wrap; gap: 14px; }
nav a { color: #426252; font-size: .9rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: #08784e; text-decoration: underline; text-underline-offset: 4px; }
.page-shell { width: min(100% - 32px, 880px); margin: 0 auto; padding: 42px 0 54px; }
.tool-card, .details article { background: #fff; border: 1px solid #d9e2dc; border-radius: 18px; box-shadow: 0 12px 32px rgba(20, 48, 31, .06); }
.tool-card { padding: clamp(22px, 5vw, 42px); }
.eyebrow { margin: 0 0 10px; color: #0a7a4f; font-weight: 750; font-size: .75rem; letter-spacing: .1em; }
h1 { font-size: clamp(2rem, 7vw, 3.45rem); letter-spacing: -.055em; line-height: .96; margin: 0; }
.lead { color: #42534a; line-height: 1.6; max-width: 680px; margin: 20px 0 28px; }
form { display: grid; gap: 18px; }
.file-picker { display: grid; gap: 5px; border: 1.5px dashed #89a295; border-radius: 13px; padding: 19px; cursor: pointer; background: #f8fbf9; }
.file-picker:focus-within { outline: 3px solid #bde9d1; outline-offset: 2px; }
.picker-title { font-weight: 750; }
.picker-help, .privacy-note span, .progress-panel p { color: #53665c; font-size: .9rem; line-height: 1.45; }
input[type=file] { width: 100%; margin-top: 7px; }
.settings-grid { display: grid; gap: 7px; }
.setting-label-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-weight: 700; }
.setting-label-row span { color: #53665c; font-size: .8rem; font-weight: 500; }
select { min-height: 46px; border: 1px solid #aabbb0; border-radius: 10px; padding: 0 12px; background: #fff; }
select:focus { outline: 3px solid #bde9d1; outline-offset: 2px; border-color: #08784e; }
button { border: 0; border-radius: 10px; background: #08784e; color: #fff; cursor: pointer; font-weight: 750; min-height: 48px; padding: 0 18px; }
button:hover { background: #05663f; }
button:disabled { cursor: wait; opacity: .65; }
.runtime-status { min-height: 1.4em; margin: -8px 0 0; color: #53665c; font-size: .88rem; }
.runtime-status.error { color: #9a1c1c; }
.privacy-note { margin-top: 20px; display: grid; gap: 5px; padding: 15px; border-radius: 12px; background: #eaf8ef; color: #174b32; }
.progress-panel { margin-top: 18px; padding: 14px; border: 1px solid #d9e2dc; border-radius: 12px; }
.progress-head, .result-head { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.progress-head { font-size: .9rem; font-weight: 700; }
.progress-track { height: 8px; margin-top: 10px; background: #e6ece8; overflow: hidden; border-radius: 99px; }
.progress-bar { height: 100%; width: 0; background: #08784e; transition: width .15s ease; }
.progress-panel p { margin: 9px 0 0; }
.result-panel { margin-top: 24px; }
.result-head { align-items: flex-start; }
.result-head h2, .details h2 { margin: 0; letter-spacing: -.025em; }
.result-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
button.secondary { min-height: 36px; padding: 0 10px; font-size: .83rem; background: #e8f1eb; color: #174b32; }
.timing { color: #426252; font-size: .9rem; margin: 13px 0 10px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid #d9e2dc; border-radius: 12px; padding: 16px; margin: 0; min-height: 120px; background: #fbfdfb; font: .93rem/1.62 ui-monospace, SFMono-Regular, Consolas, monospace; }
.error-message { margin: 18px 0 0; color: #9a1c1c; line-height: 1.5; }
.details { display: grid; gap: 14px; margin-top: 18px; }
.details article { padding: 22px; }
.details p { margin: 10px 0 0; color: #4f6056; line-height: 1.65; }
.site-footer { border-top: 1px solid #d9e2dc; padding: 22px 0 30px; color: #53665c; font-size: .88rem; }
.content-shell { width: min(100% - 32px, 760px); margin: 0 auto; padding: 74px 0 54px; }
.content-card { background: #fff; border: 1px solid #d9e2dc; border-radius: 18px; box-shadow: 0 12px 32px rgba(20, 48, 31, .06); padding: clamp(24px, 5vw, 48px); }
.content-card h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 24px; }
.content-card p { color: #42534a; line-height: 1.7; max-width: 650px; }
.contact-link { color: #08784e; font-weight: 750; }
.home-button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 10px; background: #08784e; color: #fff; font-weight: 750; text-decoration: none; }
@media (max-width: 520px) { .site-header, .site-footer { width: min(100% - 20px, 880px); align-items: flex-start; } .site-header { padding-top: 16px; flex-direction: column; } .site-footer { flex-direction: column; } .page-shell { width: min(100% - 20px, 880px); padding-top: 18px; } .tool-card { padding: 20px; border-radius: 14px; } .result-head { display: grid; } .result-actions { justify-content: flex-start; } .details article { padding: 18px; } input[type=file] { font-size: .82rem; } .content-shell { width: min(100% - 20px, 760px); padding-top: 42px; } }
