:root{--g:#08783f;--g2:#075f35;--gold:#dfb91f;--bg:#f3faf4;--ink:#17382a;--muted:#708179;--line:#dce9df}
*{box-sizing:border-box}body{margin:0;background:#dfeee2;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.app{max-width:900px;margin:auto;background:var(--bg);min-height:100vh;box-shadow:0 0 50px #123c2020}
.topbar{height:72px;background:var(--g);display:flex;align-items:center;justify-content:space-between;padding:9px 18px;position:sticky;top:0;z-index:20;box-shadow:0 5px 20px #064c2a35}.logo{width:230px;max-height:54px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}.draft{border:1px solid #ffffff50;background:#ffffff12;color:#fff;padding:10px 16px;border-radius:13px;font-weight:700}
.hero{width:100%;background:#086f3c;line-height:0}.hero img{display:block;width:100%;height:auto;object-fit:contain}
.hero-title{background:linear-gradient(135deg,#075f35,#0b8749);color:#fff;padding:22px 22px 25px}.hero-title span{font-size:10px;letter-spacing:2px;font-weight:800;color:#e5c62d}.hero-title h1{margin:5px 0 5px;font-size:29px;letter-spacing:-.6px}.hero-title p{margin:0;opacity:.9;font-size:13px}
.steps{display:flex;gap:8px;padding:13px 18px;background:#fff;border-bottom:1px solid var(--line);font-size:11px;font-weight:800;color:#9aa79f}.steps span{padding:8px 10px;border-radius:99px;background:#f0f5f1}.steps .active{background:#e3f3e8;color:var(--g)}
form{padding:14px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px;margin-bottom:13px;box-shadow:0 8px 26px #164d2b16}.head{display:flex;gap:11px;align-items:flex-start;margin-bottom:17px}.head i{font-style:normal;width:32px;height:32px;border-radius:10px;background:#e8f5eb;color:var(--g);display:grid;place-items:center;font-weight:800;font-size:11px;flex:0 0 auto}.head h2{margin:0;font-size:19px;letter-spacing:-.3px}.head p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
label{display:block;font-size:12px;font-weight:700;margin:13px 0;color:#29483a}label b{color:#d44}input,textarea,select{width:100%;margin-top:7px;border:1px solid #d5e3d9;background:#fbfdfb;border-radius:12px;padding:12px 13px;outline:none;color:var(--ink);font-family:inherit;font-size:14px}input:focus,textarea:focus,select:focus{border-color:#45a66f;box-shadow:0 0 0 3px #45a66f18}textarea{resize:vertical}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:13px}small{display:block;color:#8a9991;margin-top:5px;font-weight:500}
.ai-box{border:1px solid #c9e6d1;background:linear-gradient(145deg,#f5fcf6,#edf8ef);border-radius:17px;padding:15px;margin:17px 0}.ai-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ai-top strong{font-size:13px}.ai-top small{font-size:11px;max-width:620px}.ai-top span{background:#08783f;color:#fff;font-size:9px;font-weight:800;padding:5px 7px;border-radius:7px}.ai-btn{width:100%;border:0;border-radius:11px;padding:12px;background:#08783f;color:#fff;font-weight:800;cursor:pointer;margin-top:4px}.ai-result{margin-top:12px;background:#fff;border:1px solid #d6e9db;border-radius:12px;padding:12px;font-size:12px;line-height:1.55}.hidden{display:none}
.photo-rule{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fbfdfb;margin-bottom:12px}.photo-rule>div:first-child{margin-bottom:10px}.photo-rule strong{display:block;font-size:13px}.photo-rule span{display:block;color:var(--muted);font-size:11px;margin-top:4px}.pick{display:block;background:#08783f;color:#fff;text-align:center;border-radius:11px;padding:12px;margin:0;cursor:pointer}.pick input{display:none}
.single-preview{margin-top:11px}.single-preview.empty{padding:20px;border:1px dashed #b7d1be;border-radius:12px;text-align:center;color:#89978f;font-size:11px}.photo-large{position:relative;max-width:260px;aspect-ratio:4/3;border-radius:13px;overflow:hidden}.photo-large img{width:100%;height:100%;object-fit:cover}.preview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:11px}.photo{position:relative;aspect-ratio:1;border-radius:11px;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}.tag{position:absolute;left:5px;bottom:5px;background:#fff;color:#17633d;border-radius:6px;padding:3px 5px;font-size:8px;font-weight:800}.cover-tag{background:#dfb91f;color:#173d2b}.remove{position:absolute;right:4px;top:4px;width:23px;height:23px;border:0;border-radius:50%;background:#000b;color:#fff;cursor:pointer}.photo-meta{display:flex;justify-content:space-between;margin-top:10px;font-size:10px;color:#788a81}.hint{font-size:10px;color:#829189;line-height:1.5}
.check{display:flex;gap:9px;align-items:flex-start;line-height:1.5}.check input{width:18px;margin:2px 0 0;flex:0 0 auto}.submit,.save{width:100%;border:0;border-radius:12px;padding:14px;font-weight:800;cursor:pointer;margin-top:13px}.submit{background:var(--gold);color:#173d2b}.submit:disabled{opacity:.55;cursor:wait}.save{background:#e9f4ec;color:var(--g)}.privacy{text-align:center;font-size:10px;color:#8a9890}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);background:#153d2a;color:#fff;padding:11px 15px;border-radius:11px;opacity:0;transition:.25s;z-index:80;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
.modal{position:fixed;inset:0;background:#082a1c88;display:grid;place-items:center;padding:20px;z-index:90}.modal.hidden{display:none}.modal-card{width:min(420px,100%);background:#fff;border-radius:19px;padding:20px;position:relative}.modal-card>button:first-child{position:absolute;right:12px;top:8px;border:0;background:none;font-size:26px}.success-card{text-align:center}.success-icon{width:58px;height:58px;border-radius:50%;background:#e4f4e9;color:#08783f;display:grid;place-items:center;font-size:30px;font-weight:800;margin:0 auto 12px}
@media(max-width:600px){.topbar{height:64px;padding:8px 13px}.logo{width:200px}.hero-title h1{font-size:26px}.grid2{grid-template-columns:1fr}.preview{grid-template-columns:repeat(3,1fr)}form{padding:10px}.card{padding:16px}.photo-large{max-width:none}}

.save.danger{background:#fdeceb;color:#b3261e}.ai-btn:disabled{opacity:.6;cursor:wait}
