.image-noise-page [hidden] { display:none!important; }
.image-noise-page button { cursor:pointer; }
.image-noise-page button:disabled { opacity:.5; cursor:default; }
.image-noise-page .image-dropzone:focus-within { outline:3px solid #93c5fd; outline-offset:4px; }
.noise-upload-actions { display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:16px; }
.noise-upload-actions p,.noise-help { margin:12px 0 0; color:var(--muted); font-size:.8rem; }
.noise-upload-actions p { margin:0; }
.noise-upload-actions button,.noise-options button,.noise-presets button,.noise-export>button:not(.button) { border:1px solid #cbd5e1; border-radius:9px; padding:10px 14px; background:#fff; color:var(--blue-dark); font:inherit; font-size:.82rem; font-weight:750; min-height:42px; }
.noise-workspace { scroll-margin-top:100px; }
.noise-file-meta { margin:0 0 20px; }
.noise-mode { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; background:#eef2f7; padding:6px; border-radius:13px; margin-bottom:24px; }
.noise-mode button { border:1px solid transparent; border-radius:9px; padding:12px; font:inherit; font-size:.93rem; font-weight:800; color:var(--muted); background:transparent; min-height:48px; }
.noise-mode button[aria-pressed="true"] { background:#fff; border-color:#dbeafe; color:var(--blue-dark); box-shadow:0 2px 6px #0f172a0a; }
.noise-previews { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.noise-previews figure { min-width:0; margin:0; }
.noise-previews figcaption { font-weight:800; font-size:.85rem; margin-bottom:10px; }
.noise-previews figure:last-child figcaption { color:var(--blue-dark); }
.noise-stage { display:grid; place-items:center; height:320px; padding:12px; border:1px solid var(--line); border-radius:13px; background-color:#fff; background-image:conic-gradient(#e2e8f0 25%,#fff 0 50%,#e2e8f0 0 75%,#fff 0); background-size:22px 22px; overflow:hidden; }
.noise-stage canvas { display:block; width:auto; height:auto; max-width:100%; max-height:294px; }
.noise-settings { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:20px; margin-top:24px; }
.noise-strength { padding:20px; background:#f5f8ff; border:1px solid #bfdbfe; border-radius:14px; }
.noise-control-head { display:flex; gap:12px; justify-content:space-between; align-items:center; font-size:.93rem; font-weight:800; }
.noise-control-head>span { color:var(--blue-dark); font-size:1.15rem; }
.noise-strength input { margin:14px 0 0; }
.image-noise-page input[type="range"] { width:100%; min-height:28px; accent-color:var(--blue); cursor:pointer; }
.noise-scale { display:flex; justify-content:space-between; font-size:.73rem; color:var(--muted); }
.noise-presets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:16px; }
.noise-presets button[aria-pressed="true"] { background:var(--blue); color:#fff; border-color:var(--blue); }
.noise-strength p { margin:12px 0 0; color:var(--muted); font-size:.78rem; }
.noise-options,.noise-options>div { display:grid; gap:12px; align-content:start; }
.noise-field { display:grid; gap:7px; font-weight:750; font-size:.8rem; }
.noise-field select { width:100%; min-width:0; min-height:44px; border:1px solid #cbd5e1; border-radius:9px; padding:8px 10px; font:inherit; background:#fff; color:var(--ink); }
.noise-field output { float:right; color:var(--blue-dark); }
.noise-export { display:flex; flex-wrap:wrap; align-items:end; gap:18px; margin-top:22px; padding-top:24px; border-top:1px solid var(--line); }
.noise-export>.noise-field { flex:1 1 180px; }
.noise-export>.button { border:0; min-height:46px; }
.image-noise-page .tool-message.is-error { color:#b91c1c; }
@media(max-width:700px) { .noise-settings { grid-template-columns:1fr; } .noise-options>div { grid-template-columns:repeat(2,minmax(0,1fr)); } .noise-options>div>button { grid-column:1/-1; } .noise-stage { height:240px; } .noise-stage canvas { max-height:214px; } }
@media(max-width:480px) { .noise-previews { grid-template-columns:1fr; gap:18px; } .noise-file-meta { grid-template-columns:1fr; } .noise-file-meta div { display:flex; gap:10px; padding:10px 12px; } .noise-file-meta dt { flex:0 0 75px; margin-top:2px; } .noise-file-meta dd { margin:0; } .noise-strength { padding:16px; } .noise-export>.button { width:100%; } .noise-stage { height:230px; } .noise-stage canvas { max-height:204px; } }
