/* Composer and submission receipts share the site's original design tokens. */
#storyForm [hidden]{display:none!important}
#storyPanel{width:min(1040px,100%);padding:0 32px 0;scroll-padding-top:148px;scroll-padding-bottom:140px;overscroll-behavior:contain}
#storyFormWrap{padding-bottom:0}.story-heading{position:sticky;top:0;z-index:5;background:var(--surface);padding:26px 52px 22px 0;border-bottom:1px solid var(--hair-soft);margin-bottom:24px}.story-heading .modal-sub{max-width:68ch;font-size:14px;line-height:1.5;margin-top:10px}.story-heading .modal-close{width:44px;height:44px;right:-8px;top:22px}.story-heading h2{font-size:28px;padding:0;line-height:1.2}.story-heading h2:focus{outline:none}
#storyForm>.form-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:"author media" "title media" "text media";grid-template-rows:auto auto 1fr;gap:24px 32px;align-items:start;margin-bottom:24px}
#storyForm>.form-grid>.field.full{grid-column:auto;margin:0;min-width:0}
#storyForm>.form-grid>.story-author-field{grid-area:author}
#storyForm>.form-grid>.field:has(#stTitle){grid-area:title}
#storyForm>.form-grid>.field:has(#stText){grid-area:text}
#storyForm>.form-grid>.field:has(#stMediaLabel){grid-area:media;padding:20px;background:#f7f8fa;border:1px solid var(--hair-soft);border-radius:16px;position:sticky;top:150px}
.story-author-field{display:flex;align-items:center;gap:10px;font-size:13px;background:#f7f8fa;border:1px solid var(--hair-soft);border-radius:12px;padding:13px!important}.story-author-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e4eefb;color:#0863bd;font-weight:650}.story-author-field>div{display:grid;gap:2px;flex:1;min-width:0}.story-author-field>div>span{font-size:11px;color:var(--muted)}.story-author-field strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.story-author-field>a{font-size:12px;color:#0863bd;min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
#storyForm .field-label{margin-bottom:9px}#storyForm .input,#storyForm .textarea{font-size:16px!important}#storyForm #stTitle{min-height:50px;border:1px solid #d3d6dc;background:#fff}#storyForm #stText{min-height:270px!important;border:1px solid #d3d6dc;background:#fff;font-size:15px!important;line-height:1.65;padding:14px 16px}#storyForm .counter{font-size:11px;color:var(--muted)}#storyForm .field-hint{font-size:12px;color:var(--muted);margin-top:8px}
#storyForm .segmented{display:flex;width:100%;padding:4px;border:1px solid #dfe3e9;background:#eceff4;border-radius:12px;gap:4px;position:relative}
#storyForm .segmented input{width:1px;height:1px;clip-path:inset(50%);position:absolute;opacity:0;pointer-events:none}
#storyForm .segmented label{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 8px;font-size:13px;border-radius:8px;cursor:pointer}
#storyForm .hint{font-size:12px;line-height:1.5;margin:10px 0 14px}#storyForm .uploader{padding:20px 13px;border:1px dashed #bec8d9;border-radius:12px;background:#fff}#storyForm .uploader>.btn{min-height:44px;background:#edf5ff;color:#0863bd;border:1px solid #d9e9fc;border-radius:10px;width:100%;font-size:13px}#storyForm .uploader p{font-size:11.5px;line-height:1.5;margin-top:11px}#storyForm .upload-summary{margin-top:12px}#storyForm .upload-summary .count{font-size:11.5px}
#storyForm .photo-list{grid-template-columns:1fr;gap:10px;margin-top:12px}#storyForm .photo-item{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;background:#fff;overflow:visible;min-height:76px}#storyForm .photo-item img{width:76px;height:76px;aspect-ratio:1;border-radius:10px 0 0 10px;grid-column:1;grid-row:1 / span 2}#storyForm .photo-item .ph-bar{grid-column:2;display:flex;gap:2px;flex-wrap:wrap;padding:7px;align-items:center}#storyForm .photo-item .ph-bar .grow{flex-basis:100%;font-size:11px;padding-bottom:3px}#storyForm .photo-item .icon-btn{width:38px;height:38px;border-radius:8px}#storyForm .photo-item .ph-order{font-size:10px;padding:4px;left:4px;top:4px}#storyForm .photo-item .ph-error{grid-column:2;font-size:11px}#storyForm .photo-item .ph-progress{grid-column:2}
#storyForm .video-slot .vs-body{flex-wrap:wrap;gap:10px;padding:13px}#storyForm .video-slot .vs-body .grow{flex-basis:100%}#storyForm .video-slot .btn{min-height:44px;font-size:12px}#storyForm .check{padding:19px 0 8px;border-top:1px solid var(--hair-soft);font-size:12px;line-height:1.5;align-items:flex-start}#storyForm .check input{width:20px;height:20px;flex-shrink:0;margin-top:1px}#storyForm .check a{color:#0863bd;text-underline-offset:2px}
#storyForm .form-foot{position:sticky;bottom:0;z-index:6;margin:0 -32px;padding:18px 32px;background:var(--surface);border-top:1px solid var(--hair);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;box-shadow:0 -8px 24px #1d1d1f04}#storyForm .form-foot>.btn{grid-column:2;grid-row:1;min-height:48px;border-radius:12px;padding-inline:28px;min-width:172px}#storyForm .form-foot>.form-note{grid-column:1;grid-row:1;text-align:left;font-size:12px;max-width:46ch;line-height:1.5;margin:0}
#storyDraftStatus{display:block;color:var(--muted);font-size:11px;line-height:1.4;margin:10px 0 0}#storyDraftStatus:empty{display:none}
.story-stepper,.story-details-summary{display:none}
.submission-receipt{max-width:510px;margin:0 auto;text-align:center;padding:34px 16px 28px}.receipt-eyebrow{display:block;color:var(--muted);font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:600;margin-bottom:22px}.receipt-icon{width:62px;height:62px;border-radius:20px;background:#e8f7ee;color:#177d42;display:grid;place-items:center;margin:0 auto 23px}.receipt-icon svg{width:30px;height:30px}.submission-receipt h3{font-size:28px;font-weight:650;letter-spacing:-.7px;line-height:1.2;margin:0 0 14px}.submission-receipt>p{font-size:14px;line-height:1.6;color:var(--muted);max-width:45ch;margin:0 auto 24px}.receipt-steps{padding:18px 10px;background:#f6f7f9;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:14px;gap:8px;margin:0 0 21px}.receipt-steps li{display:flex;flex-direction:column;align-items:center;gap:8px;color:#6e6e73;font-size:11px;line-height:1.4}.receipt-steps span{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;background:#e5e7ec;color:#777d86;font-size:12px;font-weight:600}.receipt-steps .done span{background:#e8f7ee;color:#177d42}.receipt-steps .current span{background:#0877e8;color:#fff}.receipt-steps .current{color:#0863bd;font-weight:600}.submission-receipt>.receipt-next{font-size:12px;margin-bottom:23px}.receipt-actions{display:grid;gap:10px}.receipt-actions .btn{width:100%;min-height:48px;border-radius:12px;text-decoration:none;margin-top:0}.receipt-another{background:transparent;border:0;color:var(--muted);font:inherit;font-size:12px;min-height:44px;margin-top:10px;cursor:pointer}
.draft-dialog{border:1px solid var(--hair);border-radius:20px;padding:27px;width:min(420px,calc(100vw - 32px));color:var(--ink);background:var(--surface);box-shadow:0 20px 70px #0002}.draft-dialog::backdrop{background:#11111380;backdrop-filter:blur(5px)}.draft-dialog h2{font-size:24px;letter-spacing:-.6px}.draft-dialog p{font-size:14px;line-height:1.6;color:var(--muted);margin:12px 0 22px}.draft-dialog .btn{width:100%;min-height:48px;border-radius:12px;margin-top:10px}.draft-dialog .danger{background:#fff0ef;color:#b3261e}
.rv-card[id]:focus{outline:3px solid #64b5ff;outline-offset:4px}
@media(max-width:780px){#storyModal{padding:0;display:block}#storyPanel{width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:0 20px;scroll-padding-top:155px;scroll-padding-bottom:156px;border:0}#storyForm>.form-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"author" "title" "text" "media";gap:24px;margin-bottom:24px}#storyForm>.form-grid>.field:has(#stMediaLabel){position:static;padding:18px}.story-heading{padding:22px 64px 18px 20px;margin:0 -20px 23px;box-shadow:0 3px 10px #00000002}.story-heading .eyebrow{font-size:10px}.story-heading h2{font-size:26px}.story-heading .modal-sub{font-size:13px;margin-top:8px;line-height:1.45}.story-heading .modal-close{right:14px;top:18px;width:44px;height:44px}#storyForm #stText{min-height:230px!important;font-size:16px!important}#storyForm .story-author-field{padding:12px!important}.story-author-field>a{font-size:12px}#storyForm .form-foot{margin:0 -20px;padding:12px 20px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}#storyForm .form-foot>.form-note{order:-1;text-align:center;font-size:11px;max-width:none}#storyForm .form-foot>.btn{width:100%;min-height:50px}#storyForm .check{font-size:12px;padding-block:19px}#storyForm .photo-item{grid-template-columns:86px minmax(0,1fr);min-height:86px}#storyForm .photo-item img{width:86px;height:86px}#storyForm .photo-item .icon-btn{width:44px;height:44px}#storyForm .photo-item .ph-bar{padding:7px 10px;gap:4px}#storyForm .photo-item .ph-bar .grow{font-size:12px}.submission-receipt{padding:35px 4px 24px}.submission-receipt h3{font-size:26px}.receipt-steps{padding:17px 8px;gap:6px}.receipt-steps li{font-size:10.5px}#reviewPanel:has(.submission-receipt:not([hidden])){width:min(560px,100%)}#storyPanel:has(#storySuccess:not([hidden])){display:flex;align-items:center;justify-content:center;min-height:100dvh}#storySuccess{width:100%}}
@media(prefers-reduced-motion:reduce){#storyPanel *,#reviewSuccess *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:780px){.story-stepper{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.story-stepper button{display:flex;align-items:center;justify-content:flex-start;gap:7px;border:1px solid #e1e5eb;background:#f6f7f9;color:#6e6e73;font:inherit;font-size:12px;padding:8px;border-radius:10px;min-height:44px;cursor:pointer}.story-stepper span{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#e7eaf0;font-size:11px;flex-shrink:0}.story-stepper [aria-current="step"]{color:#0863bd;border-color:#c9e0fd;background:#edf5ff}.story-stepper [aria-current="step"] span{background:#0877e8;color:#fff}#storyForm>.form-grid{grid-template-rows:auto auto auto}.story-details-summary:not([hidden]){display:flex;align-items:center;gap:15px;background:#f6f7f9;border:1px solid var(--hair-soft);border-radius:12px;padding:14px;margin-bottom:20px}.story-details-summary>div{flex:1;min-width:0}.story-details-summary span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.story-details-summary strong{display:block;font-size:13px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.story-details-summary button{border:0;background:transparent;color:#0863bd;font:inherit;font-size:12px;min-height:44px;padding:8px;flex-shrink:0}#storyPanel{scroll-padding-top:210px}#storyForm:has(.story-details-summary:not([hidden]))>.form-grid{margin-bottom:20px}#storyForm .form-foot>.btn{font-size:14px}}
