/* Small, task-first layouts. Shared controls do not change analytics consent. */
.header.scrolled{background:var(--bg-primary,#fff)}
.home-task-first .hero{min-height:0;padding-top:115px;padding-bottom:24px}
.home-task-first .hero-inner{gap:24px}
.home-task-first .hero-logo{width:70px;margin-bottom:16px}
.home-task-first .hero-title{font-size:clamp(32px,4.4vw,58px);line-height:1.12;margin-bottom:16px}
.home-task-first .hero-subtitle{margin-bottom:20px}
.home-task-first .hero-demo{max-height:400px}
.home-task-first .uploader-section{padding-top:8px}
.advertising-section{padding:32px 0}
.fz-task-search{max-width:760px;margin:20px auto;text-align:left}
.fz-task-search label{display:block;font-weight:650;margin-bottom:8px;color:var(--text-primary)}
.fz-task-search input,.fz-report-dialog input,.fz-report-dialog select{width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:12px 14px;border:1px solid var(--border-primary);border-radius:12px;background:var(--bg-secondary,#fff);color:var(--text-primary)}
.fz-task-results{display:grid;gap:8px;margin-top:10px}
.fz-task-results:empty{display:none}
.fz-task-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--border-primary);border-radius:12px;color:var(--text-primary);text-decoration:none;background:var(--bg-glass)}
.fz-task-result small{color:var(--text-secondary);display:block;font-weight:400}
.fz-task-empty{padding:12px;color:var(--text-secondary)}
.fz-problem-report{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 16px;border-top:1px solid var(--border-primary);margin-top:16px}
.fz-error-code{font-size:13px;color:var(--text-secondary);overflow-wrap:anywhere}
.fz-report-dialog{box-sizing:border-box;max-width:520px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--border-primary);border-radius:20px;background:var(--bg-primary,#fff);color:var(--text-primary);box-shadow:0 20px 80px #0004}
.fz-report-dialog::backdrop{background:#0b173388}
.fz-report-dialog h2{font-size:24px;margin:0 0 20px}
.fz-report-dialog label{display:block;margin:14px 0}
.fz-report-dialog p{font-size:14px;line-height:1.6;color:var(--text-secondary);overflow-wrap:anywhere}
.fz-report-actions{display:flex;gap:10px;flex-wrap:wrap}
.fz-workflow{padding:16px;border:1px solid var(--border-primary);border-radius:14px;margin:14px 0;background:var(--bg-glass);flex-basis:100%;color:var(--text-primary)}
.fz-workflow p{font-size:13px;line-height:1.5;color:var(--text-secondary);margin:6px 0 10px}
.fz-workflow-actions{display:flex;gap:8px;flex-wrap:wrap}
.fz-workflow .btn{font-size:14px;padding:10px 12px}
.blog-categories{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:18px 0}
.blog-format-details{margin:12px 0 24px;border:1px solid var(--border-primary);border-radius:14px;padding:12px 16px}
.blog-format-details summary{cursor:pointer;color:var(--text-secondary);font-size:14px}
.blog-format-details .blog-filters{padding-top:12px;white-space:normal;max-height:260px;overflow:auto}
@media(max-width:1023px){
 .home-task-first .hero{padding-top:100px;padding-bottom:12px}
 .home-task-first .hero-demo{display:none}
 .home-task-first .hero-logo{display:none}
 .home-task-first .hero-title{font-size:clamp(28px,7vw,42px);width:auto;max-width:100%;margin-bottom:12px}
 .home-task-first .hero-subtitle{font-size:16px;line-height:1.55;margin-bottom:14px}
 .home-task-first .hero-actions{gap:10px;margin-bottom:14px}
 .home-task-first .hero-actions .btn{padding:12px 16px;font-size:15px;min-height:44px}
 .home-task-first .hero-actions .btn-secondary{display:none}
 .home-task-first .hero-limits{gap:6px 12px;margin-top:8px;font-size:12px}
 .home-task-first .uploader-section{padding-bottom:16px}
 .fz-task-search{margin:12px auto 16px}
 .fz-problem-report{padding:12px}
 .fz-problem-report .btn{min-height:44px}
 .blog-categories{justify-content:flex-start}
 .blog-categories .chip{white-space:normal;min-height:44px}
 .fz-report-dialog{padding:20px}
}
@media(max-width:480px){
 .home-task-first .hero{padding-top:88px;padding-bottom:4px}
 .home-task-first .hero-title{font-size:28px;line-height:1.12;margin-bottom:10px}
 .home-task-first .hero-subtitle{font-size:15px;line-height:1.45;margin-bottom:10px}
 .home-task-first .hero-actions{margin-bottom:8px}
 .home-task-first .hero-limits{margin-top:0;line-height:1.45}
 .home-task-first .uploader-header{padding:14px 12px}
 .home-task-first .uploader-stats-text{font-size:13px;line-height:1.5}
 .home-task-first .uploader-container{margin-top:0}
 .home-task-first .uploader-container{display:flex;flex-direction:column}
 .home-task-first .uploader-header{order:2;border-top:1px solid var(--border-primary)}
 .home-task-first .fz-problem-report{order:3}
}

/* Native select popups must follow the site's manual theme, not OS defaults.
   Option colors are explicit because some desktop popups keep a white surface. */
select{color-scheme:light}
[data-theme="dark"] select{color-scheme:dark}
select option,select optgroup{color:var(--text-primary,#0f172a);background-color:var(--bg-secondary,#f1f5f9)}
select option:disabled{color:var(--text-secondary,#475569)}
