.story-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.85fr);gap:28px;align-items:center;margin-top:26px;text-align:left}
.story-preview{margin:0;min-width:0;text-align:center;background:#eef5f5;border-radius:10px;padding:16px}
.story-preview canvas{display:block;width:auto;max-width:100%;height:auto;max-height:450px;margin:auto;box-shadow:0 4px 18px #11325920;border-radius:3px}
.story-preview figcaption{font-size:10px;line-height:18px;margin-top:12px;color:#536879}
.story-controls h3{font-size:23px;font-weight:900;letter-spacing:-.7px;line-height:28px;margin:0 0 12px}
.story-controls>p{font-size:12px;line-height:22px;color:#425c75;margin:12px 0}
.story-formats{display:flex;gap:6px;border:0;margin:22px 0 16px;padding:0;min-width:0}.story-formats legend{font-size:11px;font-weight:700;margin-bottom:9px}
.story-format{background:#edf2f7;font-size:11px;font-weight:700;line-height:18px;padding:10px 14px;border:1px solid transparent;border-radius:6px;flex:1;min-height:44px}.story-format[aria-pressed=true]{background:var(--navy);color:#fff}
.story-option{display:flex;align-items:center;gap:9px;font-size:11px;line-height:20px;margin:14px 0;cursor:pointer}.story-option input{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}.story-controls .story-anonymous{font-size:11px;color:var(--green);font-weight:600}
.story-actions{display:grid;gap:10px;margin-top:22px}.story-actions .button{min-height:48px;padding:13px 18px;font-size:12px}.story-copy{background:none;text-decoration:underline;text-underline-offset:4px;font-size:11px;font-weight:700;min-height:40px;padding:10px}
.story-status{font-size:11px;line-height:21px;color:var(--green);min-height:21px;margin-top:14px;overflow-wrap:anywhere}.story-status.is-error{color:#973717}.story-retry{background:none;text-decoration:underline;font-size:12px;font-weight:700;min-height:44px;padding:10px 0}
.story-controls .story-privacy{font-size:10px;line-height:19px;color:#536879;margin-top:16px}
.story-caption-fallback{width:100%;resize:vertical;border:1px solid #cbd5e0;border-radius:6px;padding:12px;color:var(--navy);background:white;font:inherit;font-size:12px;line-height:21px}
dialog.story-card-dialog,dialog.story-success{width:780px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:38px;overflow:auto}
.story-card-dialog .dialog-title,.story-success .dialog-title{padding-right:24px}.story-success .deed-success-badge{display:none}.story-success>.dialog-close,.story-card-dialog>.dialog-close{position:absolute;right:10px;top:10px}
.story-success #dialog-content>.dialog-body{font-size:12px;line-height:21px;margin:12px 0}.story-success #dialog-content>.dialog-actions{margin-top:26px;padding-top:20px;border-top:1px solid #dce7e9}.story-success #dialog-content>.dialog-actions .button{min-height:44px;padding:12px;font-size:11px}
.history-share{display:inline-flex;align-items:center;gap:7px;background:#edf4e7;border:1px solid #dce7d0;border-radius:6px;font-size:11px;line-height:18px;font-weight:700;color:var(--green);padding:10px 14px;min-height:42px;margin-top:16px}.history-share:hover{background:#e2eed7}.history-share .ph{font-size:18px}
@media(max-width:600px){dialog.story-card-dialog,dialog.story-success{padding:28px 20px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.story-editor{grid-template-columns:1fr;gap:24px;margin-top:22px}.story-preview{padding:14px}.story-preview canvas{max-height:390px}.story-controls h3{font-size:22px}.story-controls>p{font-size:12px}.story-formats{margin-top:18px}.story-actions{grid-template-columns:1fr 1fr;gap:10px}.story-copy{grid-column:1/-1}.story-actions .button{font-size:11px;padding:12px 10px}.story-success .dialog-title,.story-card-dialog .dialog-title{font-size:27px;line-height:31px}.story-success #dialog-content>.dialog-actions{flex-direction:column}.history-share{font-size:10px}}
