.story-photo-input{border:1px solid var(--border);background:var(--card);border-radius:16px;min-width:0;padding:20px;transition:border-color .16s,box-shadow .16s}.story-photo-input.is-dragging{border-color:var(--brand-blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-blue) 20%,transparent)}.story-photo-heading{align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.story-photo-heading>svg{color:var(--brand-orange);flex:none;margin-top:3px}.story-photo-input-story .story-photo-heading>svg{color:var(--brand-blue)}.story-photo-heading h4{font:700 1rem/1.3 var(--ui-font);color:var(--foreground);margin:0 0 5px}.story-photo-heading p{color:var(--muted-foreground);margin:0;font-size:.875rem;line-height:1.45}.story-photo-input .story-photo-file{clip-path:inset(50%);white-space:nowrap;opacity:0;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.story-photo-input:focus-within{border-color:var(--brand-blue)}.story-photo-drop{border:1px dashed var(--input);background:var(--background);border-radius:12px;place-items:center;min-height:210px;display:grid;position:relative;overflow:hidden}.story-photo-drop.has-photo{border-style:solid}.story-photo-empty{text-align:center;color:var(--muted-foreground);padding:24px 16px}.story-photo-empty>svg{color:var(--foreground);margin:0 auto 16px}.story-photo-empty strong{color:var(--foreground);font-size:1rem;font-weight:400;display:block}.story-photo-empty p{margin:8px 0 0;font-size:.875rem;line-height:1.5}.story-photo-preview{justify-content:center;align-items:center;width:100%;min-height:210px;margin:0;display:flex}.story-photo-preview img{object-fit:contain;width:100%;height:auto;max-height:380px;display:block}.story-photo-preparing{background:var(--background);border:1px solid var(--border);color:var(--foreground);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-size:.875rem;display:flex;position:absolute;inset:auto 8px 8px;box-shadow:0 3px 16px #0002}.story-photo-preparing svg{flex:none;animation:.9s linear infinite story-photo-spin}.story-photo-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;display:flex}.story-photo-input .story-photo-actions button{border:1px solid var(--input);background:var(--background);min-height:44px;color:var(--foreground);border-radius:24px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.875rem;line-height:1.25;transition:background .15s;display:inline-flex}.story-photo-input .story-photo-actions button:hover:not(:disabled){background:var(--accent)}.story-photo-input .story-photo-actions button:focus-visible{outline:2px solid var(--brand-blue);outline-offset:3px}.story-photo-input .story-photo-actions button:disabled{cursor:default;opacity:.5}.story-photo-input .story-photo-actions .story-photo-remove{color:var(--muted-foreground);border-color:#0000;padding-left:8px;padding-right:4px}.story-photo-information{margin-top:14px}.story-photo-ready{color:var(--foreground);align-items:flex-start;gap:7px;font-size:.8125rem;line-height:1.4;display:flex}.story-photo-ready svg{color:var(--brand-green);flex:none;margin-top:1px}.story-photo-quality{color:var(--muted-foreground);margin:8px 0;font-size:.8125rem;line-height:1.5}.story-photo-quality.quality-low{color:var(--foreground);border-left:2px solid var(--brand-orange);background:var(--accent);padding:10px 12px}.story-photo-filename{color:var(--muted-foreground);white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin:8px 0 4px;font-size:.75rem;overflow:hidden}.story-photo-source,.story-photo-formats{color:var(--muted-foreground);margin:10px 0 0;font-size:.75rem;line-height:1.5}.story-photo-error{border-left:2px solid var(--destructive);background:var(--accent);color:var(--destructive);margin:12px 0 0;padding:10px 12px;font-size:.875rem;line-height:1.5}@keyframes story-photo-spin{to{transform:rotate(360deg)}}@media (max-width:600px){.story-photo-input{padding:16px}.story-photo-heading{gap:10px}.story-photo-drop,.story-photo-preview{min-height:190px}.story-photo-preview img{max-height:340px}.story-photo-desktop-hint{display:none}.story-photo-actions{gap:4px}.story-photo-input .story-photo-actions button{padding:10px 14px}}@media (prefers-reduced-motion:reduce){.story-photo-input,.story-photo-input .story-photo-actions button{transition:none}.story-photo-preparing svg{animation:none}}
