@font-face { font-family: Manrope; src: url('/manrope.ttf') format('truetype'); font-display: swap; }
:root { font-family: Manrope, system-ui, sans-serif; color: #153322; background: #f6f5f1; line-height: 1.5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #17452a; color: white; }
.bar, main { max-width: 1180px; margin: auto; padding: 1rem clamp(1rem, 3vw, 2.5rem); }
.bar, .brand, .actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.bar { justify-content: space-between; }
.brand { font-weight: 700; }
.brand img { border-radius: .55rem; }
h1 { margin: 1rem 0 .2rem; font-size: clamp(2rem, 6vw, 3.3rem); line-height: 1.15; letter-spacing: -.04em; }
h2, h3, p { margin-top: 0; }
.sub, small { color: #526a59; }
.auth { max-width: 460px; margin: 8vh auto 1rem; }
.auth h1 { margin: 0 0 1rem; font-size: 2.1rem; }
.workspace { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; align-items: start; }
.panel { background: white; border: 1px solid #cedbd1; border-radius: .95rem; padding: clamp(1rem, 3vw, 1.5rem); }
form, label { display: grid; gap: .45rem; }
form { gap: .85rem; }
input, textarea, select { border: 1px solid #9eafa3; border-radius: .45rem; padding: .6rem; font: inherit; max-width: 100%; }
textarea { resize: vertical; width: 100%; }
button, .download { width: fit-content; border-radius: .5rem; border: 1px solid #17452a; background: #17452a; color: white; font: inherit; font-weight: 700; padding: .55rem .85rem; cursor: pointer; text-decoration: none; }
.secondary { color: #17452a; background: #eaf2ed; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #926007; outline-offset: 3px; }
fieldset { border: 1px solid #cedbd1; border-radius: .45rem; min-width: 0; }
label.choice { display: flex; align-items: center; gap: .45rem; overflow-wrap: anywhere; }
#plan { border-top: 1px solid #cedbd1; margin-top: 1rem; padding-top: 1rem; }
#generate { background: #ffcc12; color: #153322; }
.notice, #notice { border: 1px solid #cedbd1; background: #eaf2ed; border-radius: .55rem; padding: .65rem .9rem; }
#notice.error { border-color: #ac6754; background: #fff0eb; }
.results { margin-top: 1rem; }
#assets, #jobs { padding-top: 1rem; }
.asset-row { display: flex; gap: .75rem; align-items: center; margin-bottom: .55rem; overflow-wrap: anywhere; }
.asset-row img { width: 64px; height: 48px; object-fit: cover; border-radius: .35rem; }
.job { margin: 0 0 1rem; border-top: 1px solid #cedbd1; padding-top: 1rem; }
.job summary { cursor: pointer; font-weight: 700; overflow-wrap: anywhere; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
.variant { border: 1px solid #cedbd1; padding: .8rem; border-radius: .6rem; overflow-wrap: anywhere; }
.variant img { display: block; width: 100%; height: auto; margin-bottom: .65rem; border-radius: .35rem; }
.variant form { margin-top: .9rem; }
@media (max-width: 740px) { .workspace, .cards { grid-template-columns: 1fr; } }
