:root { color-scheme: light; font-family: Inter, "Segoe UI", sans-serif; color: #15211b; background: #edf1ec; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #edf1ec; }
button, input { font: inherit; }
button { border: 0; border-radius: 9px; padding: 11px 17px; background: #176b47; color: white; font-weight: 700; cursor: pointer; }
button:hover { background: #105739; }
button.secondary { background: #e5eee8; color: #176b47; }
input { width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #c8d2ca; border-radius: 8px; background: #fff; color: #15211b; }
label { color: #53625a; font-size: 13px; font-weight: 650; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 4px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; }
h2 { font-size: 20px; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; background: #122a20; color: white; }
.topbar > div { display: flex; align-items: center; gap: 11px; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #ffca58; color: #122a20; font-weight: 900; }
.status { font-size: 13px; color: #d9e7df; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #75dc9b; }
.workspace { max-width: 1440px; margin: 0 auto; padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(310px, .7fr); gap: 20px; }
.panel { border: 1px solid #d8ded9; border-radius: 14px; background: #fdfefd; box-shadow: 0 7px 26px rgba(15, 38, 27, .05); }
.builder { padding: 28px; }
.results { padding: 24px; align-self: start; position: sticky; top: 20px; }
.section-head, .actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { margin-bottom: 8px; color: #176b47; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: #748078; }
.grid { display: grid; gap: 14px; }
.fields { grid-template-columns: 1.4fr .8fr 1fr 1fr; padding: 22px 0; }
.steps { display: grid; gap: 11px; }
.step { display: grid; grid-template-columns: 34px 1fr 32px; gap: 12px; align-items: start; padding: 16px; border: 1px solid #dde3de; border-radius: 11px; background: #f7f9f7; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #122a20; color: white; font-weight: 800; }
.filter-grid { grid-template-columns: 1fr 1fr; margin-top: 10px; }
.remove { padding: 4px; background: transparent; color: #849087; font-size: 24px; }
.remove:hover { background: #f4dfdc; color: #a33e33; }
.actions { justify-content: flex-start; padding-top: 20px; }
.empty { padding: 22px 0; color: #839088; }
.result-list, .saved-list { display: grid; gap: 9px; }
.result-row { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf0ed; }
.result-row b:last-child { color: #176b47; }
.saved-item { padding: 10px 12px; border-radius: 8px; background: #f1f5f2; color: #3e4c44; cursor: pointer; }
.alert { margin: 15px 0; padding: 11px 13px; border-radius: 8px; background: #fde9e6; color: #8b3028; }
.login-body { display: grid; place-items: center; padding: 24px; background: #122a20; }
.login-card { width: min(420px, 100%); padding: 34px; border-radius: 14px; background: white; box-shadow: 0 25px 70px rgba(0, 0, 0, .23); }
.stack { display: grid; gap: 15px; margin-top: 24px; }
hr { border: 0; border-top: 1px solid #e2e7e3; margin: 25px 0; }
@media (max-width: 900px) { .workspace { grid-template-columns: 1fr; padding: 18px; } .results { position: static; } .fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .topbar { padding: 0 18px; } .status { display: none; } .builder, .results { padding: 19px; } .section-head { align-items: flex-start; } .fields, .filter-grid { grid-template-columns: 1fr; } }
