.wallpaper-page .hero { min-height: 0; padding: 36px 0 26px; grid-template-columns: 1fr; }
.wallpaper-page .hero .ratio-visual { display: none; }
.wallpaper-page h1 { font-size: clamp(32px,5vw,55px); max-width: 950px; }
.enhanced-ratio-page .hero { min-height: 0; padding: 32px 0; }
.enhanced-ratio-page h1 { font-size: clamp(32px,5vw,55px); }
.ratio-task-links { margin-bottom: 22px; }
.wallpaper-answer { background: #eaf5f2; border-left: 4px solid var(--accent); padding: 24px; border-radius: 8px; margin-bottom: 28px; }
.wallpaper-tool, .wallpaper-guide { margin: 28px 0; }
.wallpaper-page [id] { scroll-margin-top: 140px; }
.wallpaper-tool label { display: grid; gap: 8px; font-weight: 650; min-width: 0; }
.wallpaper-tool input, .wallpaper-tool select, .wallpaper-tool textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #9aa9ba; border-radius: 6px; font: inherit; background: white; color: var(--ink); }
.wallpaper-tool input:disabled { background: #e9edf0; }
.wallpaper-tool textarea { font: 14px/1.6 ui-monospace, monospace; resize: vertical; }
.wp-presets, .wp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.wallpaper-tool button { padding: 12px 16px; border: 1px solid var(--accent); border-radius: 6px; background: white; color: var(--accent-strong); font: inherit; font-weight: 650; cursor: pointer; min-height: 44px; }
.wallpaper-tool button:hover { background: #eaf5f2; }
.wallpaper-tool button:disabled { opacity: .5; cursor: not-allowed; }
.wallpaper-tool button:focus-visible, .wallpaper-tool input:focus-visible, .wallpaper-tool select:focus-visible, .wallpaper-tool textarea:focus-visible { outline: 3px solid #a05d08; outline-offset: 3px; }
.wallpaper-tool #exportWallpaper { background: var(--accent-strong); color: white; }
.wp-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 18px 0; }
.wp-step { margin-top: 30px; }
.wp-comparisons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.wp-comparisons figure { margin: 0; min-width: 0; border: 1px solid var(--line); padding: 12px; border-radius: 8px; background: white; }
.wp-comparisons canvas { display: block; width: 100%; height: 170px; object-fit: contain; background: #eef1f5; }
.wp-comparisons figcaption { margin-top: 10px; }
.wp-comparisons figcaption span { display: block; font-size: 14px; margin-top: 6px; }
.wallpaper-guide { max-width: 850px; }
.wallpaper-guide h2 { margin-top: 28px; }
.wallpaper-guide li { margin-bottom: 12px; }
#imageStatus, #wallpaperExportStatus { margin-top: 12px; font-size: 14px; }
#wallpaperValidation { font-weight: 650; color: #9d281b; }
.wallpaper-page #generatedRows td { white-space: normal; }
@media(max-width:760px) {
 .wallpaper-page .site-header, .enhanced-ratio-page .site-header { position: static; }
 .wallpaper-page [id] { scroll-margin-top: 18px; }
 .wp-comparisons { grid-template-columns: 1fr; }
 .wp-fields { grid-template-columns: 1fr; }
 .wallpaper-answer { padding: 18px; }
 .wallpaper-tool { padding: 18px; }
 .wp-presets button, .wp-actions button { flex: 1 1 100%; }
 .wp-comparisons canvas { height: 200px; }
}
