.page-hero{min-height:calc(100vh - 73px);padding:5.5rem 0;background:linear-gradient(145deg,#f7f8ff,#fff 45%,#f0fff8)}.page-hero h1,.content-page h1{font-size:clamp(2.8rem,5vw,5rem);font-weight:850;letter-spacing:-.07em;line-height:1.02;max-width:850px}.page-hero h1 em{font-family:Georgia,serif;font-weight:500;color:#6849e3}.page-intro{font-size:1.15rem;color:#667085;max-width:600px;margin:1.3rem 0 3rem}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tool-grid>a{display:block;border:1px solid #dde4ee;padding:1.5rem;border-radius:17px;background:#fff;text-decoration:none;color:#1c2740;min-height:220px;transition:.2s}.tool-grid>a:hover{transform:translateY(-4px);box-shadow:0 18px 30px #19233b12;border-color:#a998ff}.tool-grid>a>i{color:#6244dc;font-size:1.6rem}.tool-grid h2{font-size:1.05rem;font-weight:800;margin:1rem 0 .55rem}.tool-grid p{font-size:.88rem;color:#68758b}.tool-grid span{font-size:.8rem;color:#5e40d4;font-weight:800}.content-page{padding:4.5rem 0;min-height:calc(100vh - 73px)}.content-page h1{font-size:clamp(2.4rem,4vw,4rem)}.content-page h2{font-size:1.35rem;font-weight:800;margin-top:2rem}.content-page p,.content-page li{color:#59677e;max-width:800px}.content-card{background:#f6f7fb;border:1px solid #e4e8ef;border-radius:16px;padding:1.6rem;margin:2rem 0}.contact-form{max-width:720px}.contact-form label{font-weight:700;font-size:.88rem}.inline-tool{max-width:850px;padding:2rem;border:1px solid #dfe5ef;border-radius:20px;background:#fff;box-shadow:0 8px 25px #1a23400c;margin-top:2rem}.tool-empty{text-align:center;padding:2rem;border:2px dashed #c4b9e8;border-radius:14px}.tool-empty i{font-size:2rem;color:#6d4aff}.metadata-table{font-size:.9rem}@media(max-width:767px){.page-hero,.content-page{padding:3.5rem 0}.tool-grid{grid-template-columns:1fr}.tool-grid>a{min-height:auto}}

.image-tool-page .container{min-width:0}
.image-tool-card{max-width:1050px;margin:2rem 0 3.25rem;padding:clamp(1rem,3vw,2rem);border:1px solid #dfe5ef;border-radius:20px;background:#fff;box-shadow:0 12px 35px #1a23400c}
.image-tool-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.image-tool-heading h2{margin:.2rem 0 0;color:#1b263c;font-size:clamp(1.25rem,3vw,1.7rem);font-weight:800;letter-spacing:-.035em}
.image-tool-overline{margin:0;color:#5f46cb;font-size:.72rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.image-tool-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .7rem;border:1px solid #e1e8e4;border-radius:999px;background:#f6fbf7;color:#42634c;font-size:.74rem;font-weight:750;white-space:nowrap}
.image-tool-notice{margin:0 0 1rem;padding:.85rem 1rem;border:1px solid #f1c6c2;border-radius:10px;background:#fff6f5;color:#8e2b23}
.image-tool-status{margin:0 0 1rem;padding:.7rem .85rem;border-radius:9px;background:#f3f1fb;color:#4935a4;font-size:.88rem;font-weight:700}
.image-tool-upload{display:flex;min-height:250px;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;padding:2rem 1rem;border:2px dashed #b5bfd0;border-radius:15px;background:#fafbfe;text-align:center;transition:border-color .15s,background-color .15s}
.image-tool-upload.drag-active,.image-tool-upload:focus-visible{border-color:#5f46cb;background:#f3f0ff;outline:0}
.image-tool-upload strong{color:#263248;font-size:1rem}
.image-tool-upload>span:not(.image-tool-upload-icon){color:#68758b;font-size:.82rem}
.image-tool-upload-icon{display:grid;width:52px;height:52px;place-items:center;margin-bottom:.3rem;border-radius:15px;background:#eeecf8;color:#5f46cb;font-size:1.6rem}
.image-tool-upload .btn{margin-top:.55rem}
.image-tool-workspace,.image-tool-result{margin-top:1.4rem;padding:clamp(1rem,3vw,1.5rem);border:1px solid #e7eaf2;border-radius:15px;background:#fbfcff}
.image-tool-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(1rem,3vw,2rem)}
.image-tool-preview,.image-tool-controls{min-width:0}
.image-tool-preview h3{margin:0 0 .7rem;color:#263248;font-size:1rem;font-weight:800}
.image-tool-preview>img{display:block;width:100%;max-height:420px;object-fit:contain;border:1px solid #dfe5ef;border-radius:12px;background-color:#f3f5f8}
.image-tool-caption,.image-tool-help{margin:.7rem 0 0;color:#68758b;font-size:.8rem;overflow-wrap:anywhere}
.image-tool-controls .form-label,.image-tool-crop-controls .form-label{color:#344158;font-size:.85rem;font-weight:750}
.image-tool-label{display:flex;justify-content:space-between;gap:.7rem;margin-top:1.2rem}
.image-tool-label output{color:#5f46cb;font-weight:800}
.image-tool-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.25rem}
.image-tool-actions .btn{min-height:42px;border-radius:9px;font-weight:750}
.image-tool-dimensions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:.65rem}
.image-tool-dimensions>div{min-width:0}
.image-tool-lock{display:grid;min-height:38px;place-items:center;gap:0;padding:.35rem;border:1px solid #dfe5ef;border-radius:9px;background:#fff;color:#68758b;font-size:.66rem}
.image-tool-lock i{font-size:1.25rem}
.image-tool-lock.is-locked{border-color:#c8c0ef;background:#f3f1fb;color:#503bb5}
.image-tool-presets{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:1rem}
.image-tool-presets>span{margin-right:.2rem;color:#68758b;font-size:.78rem}
.image-tool-presets button{padding:.35rem .55rem;border:1px solid #dfe5ef;border-radius:7px;background:#fff;color:#4e5d73;font-size:.76rem;font-weight:700}
.image-tool-presets button:hover{border-color:#a99be7;color:#503bb5}
.image-tool-success{margin:0 0 1rem;color:#28734a;font-weight:800}
.image-tool-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.2rem .75rem;margin:0}
.image-tool-facts dt,.image-tool-facts dd{min-width:0;margin:0;padding:.55rem 0;border-bottom:1px solid #e8ecf2;font-size:.82rem;overflow-wrap:anywhere}
.image-tool-facts dt{color:#68758b;font-weight:600}
.image-tool-facts dd{color:#263248;font-weight:750;text-align:right}
.image-tool-result:focus{outline:0}
.image-tool-crop-controls{display:grid;grid-template-columns:minmax(160px,260px) 1fr;align-items:end;gap:1rem}
.image-tool-crop-controls .image-tool-caption{margin:0 0 .55rem}
.image-tool-crop-stage{max-height:70vh;margin-top:1rem;overflow:auto;border:1px solid #dfe5ef;border-radius:12px;background:#202735}
.image-tool-crop-stage canvas{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;touch-action:none;cursor:crosshair}
.image-tool-crop-stage canvas.is-processing{pointer-events:none;opacity:.7}
.image-tool-seo{max-width:850px;margin:0 0 2.75rem}
.image-tool-seo h2{margin:2rem 0 .65rem;color:#1b263c;font-size:1.4rem;font-weight:800}
.image-tool-seo h3{margin:1.5rem 0 .55rem;color:#344158;font-size:1.05rem;font-weight:800}
.image-tool-seo p,.image-tool-seo details{color:#59677e;line-height:1.7}
.image-tool-seo details{margin:.5rem 0;padding:.8rem 1rem;border:1px solid #e2e7ef;border-radius:10px;background:#fff}
.image-tool-seo summary{color:#263248;font-weight:750;cursor:pointer}
.image-tool-seo details p{margin:.65rem 0 0}
.image-tool-related{display:flex;max-width:1050px;flex-wrap:wrap;align-items:center;gap:.65rem;margin:2rem 0 1rem}
.image-tool-related h2{flex-basis:100%;margin:0 0 .3rem;color:#1b263c;font-size:1.2rem;font-weight:800}
.image-tool-related a{padding:.55rem .75rem;border:1px solid #dfe5ef;border-radius:9px;background:#fff;color:#503bb5;font-size:.82rem;font-weight:750;text-decoration:none}
.image-tool-related a:hover{border-color:#a99be7;background:#f7f5ff}
@media(max-width:767px){.image-tool-heading{align-items:flex-start;flex-direction:column}.image-tool-columns{grid-template-columns:minmax(0,1fr)}.image-tool-crop-controls{grid-template-columns:minmax(0,1fr)}.image-tool-crop-controls .image-tool-caption{margin:0}.image-tool-card{border-radius:15px}.image-tool-upload{min-height:220px}.image-tool-preview>img{max-height:340px}}
@media(max-width:420px){.image-tool-dimensions{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.35rem}.image-tool-lock{font-size:.58rem}.image-tool-actions{flex-direction:column}.image-tool-actions .btn{width:100%}.image-tool-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
