:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #15251f; background: #edf2ee; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #dcebd8, transparent 42%), #edf2ee; }
main { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0; }
header { max-width: 720px; margin-bottom: 30px; }
.eyebrow { color: #bd5b32; font-weight: 800; letter-spacing: .14em; font-size: .75rem; }
h1 { margin: 8px 0 12px; font-family: Georgia, serif; font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: .98; font-weight: 500; }
header > p:last-child { color: #58665f; font-size: 1.05rem; line-height: 1.65; }
.card { background: rgba(255,255,255,.88); border: 1px solid #d9e1dc; border-radius: 20px; padding: 26px; box-shadow: 0 20px 60px rgba(26,58,43,.08); margin-top: 20px; }
label, legend { display: block; font-weight: 700; margin-bottom: 9px; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input[type=url], select { width: 100%; border: 1px solid #bdc9c2; border-radius: 10px; padding: 13px; background: #fff; font: inherit; }
button, .download { border: 0; border-radius: 10px; padding: 13px 18px; font: inherit; font-weight: 800; cursor: pointer; background: #dfe8e2; color: #173c2d; text-decoration: none; }
button:hover, .download:hover { transform: translateY(-1px); }
button:disabled { opacity: .55; cursor: wait; transform: none; }
.primary, .download { background: #174b36; color: white; }
#message { min-height: 1.4em; color: #9a4728; }
dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
dl div { padding: 14px; border-radius: 12px; background: #f2f5f3; }
dt { color: #66736c; font-size: .78rem; } dd { margin: 5px 0 0; font-weight: 800; }
.badge { color: #23744f; }
fieldset { border: 0; padding: 0; margin: 22px 0; }
fieldset > label { display: inline-flex; gap: 7px; margin-right: 18px; font-weight: 500; }
#rows { max-height: 230px; overflow: auto; border: 1px solid #dde4df; padding: 12px; border-radius: 10px; }
#rows label { font-weight: 500; padding: 7px; margin: 0; }
.model { display: flex; justify-content: space-between; padding: 14px 0 22px; color: #66736c; }
.job-heading { display: flex; align-items: center; justify-content: space-between; }
.model { display: grid; gap: 8px; margin: 18px 0; }
.model small { color: #58665f; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.write-result { margin-top: 12px; }
.status { background: #f2d9a4; border-radius: 999px; padding: 7px 12px; font-weight: 800; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 10px 0 24px; }
.metrics div { background: #f2f5f3; border-radius: 12px; padding: 14px; }
.metrics strong, .metrics span { display: block; } .metrics strong { font-size: 1.8rem; }
.stepper { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 24px 0; }
.stepper span { padding: 10px; border-radius: 10px; background: #dfe8e2; font-weight: 700; font-size: .85rem; }
.stepper .active { background: #174b36; color: white; }
.product-row { border-top: 1px solid #dde4df; padding: 12px 0; }
.product { display: grid; grid-template-columns: auto 72px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 10px; background: #f4f7f5; font-weight: 400; }
.product img { width: 72px; height: 72px; object-fit: contain; background: white; }
.product em { color: #9a4728; }
@media (max-width: 700px) { main { padding: 32px 0; } .input-row, dl, .metrics { grid-template-columns: 1fr; } .model { display: block; } }
