.story-backdrop{z-index:1600;overscroll-behavior:contain;background:#081916b8;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.story-dialog{box-sizing:border-box;color:#173f38;background:#fbfcfa;border-radius:20px;width:min(900px,100%);max-height:calc(100vh - 32px);padding:24px;font-family:Arial,sans-serif;overflow:auto;box-shadow:0 24px 80px #0005}.story-dialog *{box-sizing:border-box}.story-dialog h2{margin:20px 0 8px;font-size:28px}.story-dialog p{margin:10px 0 16px;font-size:16px;line-height:1.5}.story-header{justify-content:space-between;gap:12px;display:flex}.story-dialog button{color:#173f38;cursor:pointer;white-space:normal;background:#fff;border:1px solid #a6bab3;border-radius:10px;min-height:48px;padding:12px 16px;font:600 16px/1.3 Arial,sans-serif}.story-dialog button:focus-visible,.story-dialog a:focus-visible{outline-offset:3px;outline:3px solid #0877e6}.story-dialog button:disabled{opacity:.5;cursor:wait}.story-models{grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0;display:grid}.story-models button[aria-pressed=true]{color:#fff;background:#173f38;border-color:#173f38}.story-workspace{grid-template-columns:minmax(0,340px) minmax(0,1fr);align-items:start;gap:28px;display:grid}.story-preview{aspect-ratio:9/16;background:#e2eae6;border-radius:12px;place-items:center;display:grid;overflow:hidden}.story-preview img{width:100%;height:auto;display:block}.story-preview p{text-align:center;padding:24px}.story-controls{flex-direction:column;gap:12px;min-width:0;display:flex}.story-controls p{margin:0}.story-controls .story-format{color:#46665d;font-size:14px}.story-controls .story-primary{color:#fff;background:#173f38}.story-networks{flex-wrap:wrap;gap:8px;display:flex}.story-networks button{flex:110px}.story-controls .story-warning{color:#614818;background:#fff2d4;border-radius:8px;padding:12px;font-size:14px}.story-controls a{color:#175e78;overflow-wrap:anywhere;font-size:16px;line-height:1.5}.story-controls .story-public-link{font-size:13px}.story-help:empty{display:none}.story-help{background:#e8f0ee;border-radius:8px;padding:12px}@media (width<=600px){.story-backdrop{padding:8px}.story-dialog{border-radius:14px;max-height:calc(100dvh - 16px);padding:16px}.story-header button{padding:10px;font-size:14px}.story-models{gap:6px}.story-models button{padding:10px 6px;font-size:14px}.story-workspace{grid-template-columns:1fr;gap:20px}.story-preview{justify-self:center;width:min(100%,290px)}.story-controls{width:100%}}.publication-promotion-modal .publication-story-entry{color:#fff;cursor:pointer;background:#173f38;border:1px solid #173f38;border-radius:10px;width:100%;min-height:48px;margin:12px 0;padding:12px 16px;font:700 16px Arial,sans-serif;display:block}.publication-story-entry:focus-visible{outline-offset:3px;outline:3px solid #0877e6}@media (width<=600px){.story-dialog{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}}
