.template-petal{--background:#fffafd;--rule:#e9e1e9;--muted:#5d5561;background:radial-gradient(ellipse at 50% 34%,#fcebf5 0,transparent 58%),#fffafd}.template-petal .indie-hero h1{max-width:820px}.template-petal .button{border-radius:10px}.petal-window{background:#ffffffc9;border:1px solid var(--rule);border-radius:17px;box-shadow:0 14px 35px #76376314,0 2px 4px #76376308;overflow:hidden}.petal-editor{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:25px}.petal-paper{padding:28px 26px;background:#fff;border:1px solid var(--rule);border-radius:7px;min-height:405px}.paper-label{font-size:11px;color:#77707d;margin-bottom:23px}.petal-paper h2{font-size:29px;margin-bottom:22px}.petal-paper h3{font-size:15px;font-weight:680;letter-spacing:-.02em;margin:22px 0 8px}.petal-paper p,.petal-paper li{font-size:13px;line-height:1.6}.petal-paper ul{padding-left:18px;margin:0}.petal-paper #petal-result{white-space:pre-line;overflow-wrap:anywhere}.segmented{display:flex;background:#f6f3f7;border:1px solid var(--rule);border-radius:8px;padding:5px;gap:4px;margin-bottom:27px}.segmented button{flex:1;border-radius:5px;background:transparent;padding:10px 5px;font-size:12px;font-weight:580}.segmented button[aria-pressed=true]{color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,#fff)}.petal-tools form>label{display:block;font-weight:650;font-size:18px;letter-spacing:-.03em;margin-bottom:8px}.petal-tools form>p:not(.status){font-size:12px;color:var(--muted);margin-bottom:18px}.petal-tools textarea{width:100%;min-height:140px;border:1px solid var(--rule);border-radius:6px;padding:13px;font-size:13px;line-height:1.6;background:#fff;color:#232127}.editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.editor-actions .button{min-height:36px;padding:8px 18px;font-size:12px;border-radius:6px}.petal-tools>.text-link{margin-top:20px;font-size:12px}.template-petal .story-steps{text-align:center}.template-petal .step-number{display:inline-grid;place-items:center;background:color-mix(in srgb,var(--accent) 8%,white);width:60px;height:60px;border-radius:15px;font-size:26px}
@media(max-width:700px){.petal-editor{grid-template-columns:1fr;padding:15px;gap:20px}.petal-paper{min-height:0;padding:22px}.petal-paper h3{margin-top:16px}.petal-paper h2{font-size:25px;margin-bottom:15px}.petal-tools{padding:0 5px 10px}.segmented{margin-bottom:22px}.petal-window .window-label{margin-left:auto}.template-petal .story-steps{text-align:left}.template-petal .step-number{width:42px;height:42px;border-radius:9px;font-size:20px}.template-petal .story-steps>div{padding-left:58px}}
@media(max-width:700px){.petal-tools textarea{font-size:16px}.segmented button{min-height:40px}}
.template-petal .button{border-radius:999px}.template-petal .hero-actions .preview-link{border:1px solid var(--rule);border-radius:999px;padding:13px 24px;color:var(--ink);text-decoration:none}.template-petal .editor-actions .button{border-radius:7px}
@media(max-width:700px){.template-petal .hero-actions{gap:12px}.template-petal .hero-actions .preview-link{padding:12px 18px}}
