:root {
    color-scheme: light;
    --ink: #18212f;
    --muted: #64748b;
    --line: #d8e0e8;
    --soft: #eef5f4;
    --green: #08775b;
    --green-dark: #075f4a;
    --warn: #fff6d8;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f8fb;
    color: var(--ink);
}
a { color: var(--green); font-weight: 700; text-decoration: none; }
.app-shell { max-width: 980px; margin: 0 auto; padding: 16px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.brand { font-size: 24px; font-weight: 800; letter-spacing: 0; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06); }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, select, textarea, button, .button { width: 100%; border: 1px solid #bdcad7; border-radius: 7px; padding: 12px; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
button, .button { border: 0; background: var(--green); color: #fff; cursor: pointer; font-weight: 800; text-align: center; }
button:hover, .button:hover { background: var(--green-dark); }
.button.secondary { background: #e6eef2; color: var(--ink); }
.muted { color: var(--muted); }
.flash { margin-bottom: 14px; padding: 12px; border: 1px solid #f3d27a; background: var(--warn); border-radius: 8px; }
.product-list { display: grid; gap: 10px; }
.product-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.thumb { width: 72px; height: 72px; border-radius: 7px; object-fit: cover; background: var(--soft); }
.price { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 800; }
.old-price { color: var(--muted); text-decoration: line-through; }
.pill { display: inline-flex; width: auto; padding: 5px 8px; border-radius: 99px; background: var(--soft); color: var(--green-dark); font-size: 12px; font-weight: 800; }
.photo-help { padding: 10px; background: var(--soft); border-radius: 7px; color: var(--muted); font-size: 14px; }
@media (min-width: 760px) {
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .span-2 { grid-column: span 2; }
    .grid.two { grid-template-columns: 1.6fr 1fr; }
}
