:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#162234;background:#f9fbfc;font-synthesis:none;--ink:#162234;--muted:#526575;--line:#e5ebf0;--navy:#142b42;--accent:#20798b;--accent-soft:#e5f5f6;--white:#fff;--shadow:0 14px 48px rgba(16,39,60,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:0}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.dropzone:focus-visible{outline:3px solid #4ab6c2;outline-offset:3px}button:disabled{opacity:.52;cursor:not-allowed}img{max-width:100%}.container{max-width:1160px;margin:0 auto;padding-left:28px;padding-right:28px}.site-header{height:78px;background:rgba(255,255,255,.91);border-bottom:1px solid var(--line)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:18px;font-weight:780;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;background:#163345;color:white;width:36px;height:36px;border-radius:11px;font-size:20px;font-weight:700}.brand span:last-child{color:#183347}.top-nav{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:650;color:#596d7f}.top-nav a:hover{color:#158294}.header-pill{border:1px solid #dce9ed;background:#f5fbfc;padding:9px 15px;border-radius:50px;color:#286b78}.hero{padding-top:64px;padding-bottom:42px;text-align:center}.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#267584;font-weight:760;letter-spacing:1.55px;text-transform:uppercase}.eyebrow .dot{height:7px;width:7px;background:#39a8a5;display:inline-block;border-radius:100%}.hero h1{font-size:clamp(34px,5.1vw,58px);line-height:1.12;letter-spacing:-2.8px;font-weight:780;max-width:900px;margin:17px auto 20px}.hero p{font-size:17px;line-height:1.75;color:var(--muted);max-width:650px;margin:0 auto}.trust-row{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;margin-top:24px;font-size:12px;font-weight:660;color:#4c6877}.trust-row span{display:inline-flex;gap:7px;align-items:center}.trust-row svg{width:15px;height:15px;color:#249195}.tools-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:23px}.tool-tab{border:1px solid #e1e9ed;border-radius:16px;background:#fff;display:flex;align-items:center;gap:12px;padding:16px 17px;text-align:left;color:#3d5768;font-size:14px;font-weight:740;transition:border-color .15s,box-shadow .15s,transform .15s;box-shadow:0 2px 12px rgba(22,49,66,.02)}.tool-tab svg{width:19px;height:19px;flex:none}.tool-tab:hover{border-color:#a2c9cf;transform:translateY(-1px)}.tool-tab[aria-current="page"]{border-color:#79b5bd;background:#edf8f9;color:#166f7d;box-shadow:0 0 0 1px #b3d9de}.workspace{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:22px;align-items:start}.panel{border:1px solid #e1e8ed;border-radius:20px;background:var(--white);box-shadow:var(--shadow)}.settings-panel{padding:22px}.panel-kicker{font-size:10px;font-weight:850;letter-spacing:1.5px;color:#526575;text-transform:uppercase}.panel-title{font-size:20px;font-weight:770;letter-spacing:-.6px;margin:7px 0 6px}.subtle{color:var(--muted);font-size:12px;line-height:1.65}.dropzone{position:relative;margin-top:19px;padding:28px 14px;border:1.5px dashed #b5d0d8;background:#f7fbfc;border-radius:15px;text-align:center;transition:background .15s,border-color .15s;cursor:pointer}.dropzone.dragover,.dropzone:hover{border-color:#278695;background:#ebf7f8}.dropzone input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.upload-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 13px;background:#e3f2f4;color:#257f8f;border-radius:14px}.upload-icon svg{width:24px;height:24px}.dropzone b{display:block;font-size:14px}.dropzone small{display:block;color:#526575;font-size:11px;margin-top:6px}.browse-link{color:#167d91;text-decoration:underline;text-underline-offset:3px}.divider{border:0;border-top:1px solid var(--line);margin:23px 0}.settings-title{font-size:13px;font-weight:800;margin:0 0 17px;color:#2a4356}.field{margin-top:17px}.field:first-child{margin-top:0}.field-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.field label,.field-label{font-size:12px;font-weight:730;color:#354d60}.value-pill{border:1px solid #e1ebef;background:#f5f9fa;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:780;min-width:45px;text-align:center}.range{width:100%;accent-color:#208497;cursor:pointer}.range-ends{display:flex;justify-content:space-between;font-size:10px;color:#526575;margin-top:3px}.field-hint{font-size:11px;line-height:1.6;color:#526575;margin-top:8px}.control{width:100%;border:1px solid #dfe8ed;background:white;border-radius:10px;padding:11px 12px;color:#253c4c;font-size:13px;min-width:0}.two-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.switch-line{display:flex;gap:10px;align-items:center;font-size:12px;color:#455b69;font-weight:620;margin-top:15px}.switch-line input{accent-color:#208497;width:16px;height:16px}.radio-pills{display:flex;flex-wrap:wrap;gap:7px}.radio-pills button{background:#fff;border:1px solid #dce7ec;border-radius:9px;padding:8px 11px;color:#617887;font-size:11px;font-weight:750}.radio-pills button[aria-pressed=true]{color:#1e7b89;background:#eaf7f8;border-color:#91c2c9}.primary-btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:15px 16px;border:0;border-radius:12px;background:#17394b;color:#fff;font-size:13px;font-weight:750;margin-top:22px;transition:background .15s}.primary-btn:hover:not(:disabled){background:#206476}.primary-btn svg,.secondary-btn svg{width:16px;height:16px}.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce6eb;background:#fff;color:#304e60;border-radius:10px;padding:11px 14px;font-size:12px;font-weight:750}.secondary-btn:hover{background:#f5fafb}.preview-panel{min-height:560px;overflow:hidden}.preview-top{padding:23px 25px 17px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf0f3}.preview-top h2{font-size:17px;letter-spacing:-.4px;margin:0}.preview-top p{font-size:11px;color:#526575;margin:5px 0 0}.preview-actions{display:flex;gap:8px}.empty-state{min-height:456px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.empty-icon{width:89px;height:89px;border-radius:25px;background:linear-gradient(145deg,#edf6f9,#f6fafb);display:grid;place-items:center;margin-bottom:19px;color:#5b9caa}.empty-icon svg{width:40px;height:40px}.empty-state h3{font-size:16px;margin:0 0 7px}.empty-state p{font-size:12px;max-width:280px;color:#526575;line-height:1.7;margin:0}.preview-content{padding:17px 22px 24px}.preview-card{position:relative;display:flex;justify-content:center;align-items:center;background-color:#f2f6f8;background-image:linear-gradient(45deg,#e5eaee 25%,transparent 25%),linear-gradient(-45deg,#e5eaee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5eaee 75%),linear-gradient(-45deg,transparent 75%,#e5eaee 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;min-height:260px;height:min(37vw,340px);overflow:hidden;border-radius:13px}.preview-card>img{max-height:100%;max-width:100%;object-fit:contain;display:block}.image-info{padding:13px 3px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #edf1f3}.image-info strong{font-size:12px;display:block;overflow-wrap:anywhere}.image-info span{font-size:11px;color:#526575;display:block;margin-top:3px}.item-list{padding-top:11px;max-height:185px;overflow:auto}.file-row{display:flex;align-items:center;gap:11px;padding:10px 9px;border-radius:10px;border:1px solid transparent;cursor:pointer}.file-row:hover{background:#f7fafb}.file-row.active{border-color:#d9e9ee;background:#f4fafb}.file-row img{object-fit:cover;width:38px;height:38px;border-radius:7px;background:#e9eef1}.file-row-main{flex:1;min-width:0}.file-row-main strong{font-size:11px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.file-row-main small{color:#526575;font-size:10px}.small-download{border:1px solid #d9e7ec;background:white;border-radius:8px;padding:7px 9px;color:#2b7785;font-size:10px;font-weight:760}.status{text-align:left;font-size:11px;line-height:1.65;color:#526575;padding-top:14px;min-height:26px}.status.error{color:#bd4545}.status.success{color:#227e69}.result-toolbar{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;padding-top:14px}.result-summary{padding:13px;background:#f1faf8;border:1px solid #d4eae3;border-radius:10px;margin-top:14px;font-size:12px;color:#316b5d}.progress-wrap{height:5px;background:#ebf0f2;border-radius:5px;margin-top:13px;overflow:hidden}.progress-bar{height:100%;width:0;background:#2b94a0;transition:width .2s}.crop-wrapper{display:inline-block;position:relative;line-height:0;max-height:100%;max-width:100%;user-select:none;touch-action:none}.crop-wrapper img{display:block;max-width:100%;max-height:340px;width:auto;height:auto;object-fit:contain;pointer-events:none}.crop-selection{position:absolute;box-shadow:0 0 0 9999px rgba(9,27,40,.42);border:2px solid #fff;cursor:move;touch-action:none}.crop-selection:after{content:"";position:absolute;inset:0;border:1px solid #29899a;pointer-events:none}.crop-handle{position:absolute;width:18px;height:18px;background:#fff;border:2px solid #1d8c9b;border-radius:50%;pointer-events:auto;touch-action:none}.crop-handle[data-dir=nw]{top:-10px;left:-10px;cursor:nwse-resize}.crop-handle[data-dir=ne]{top:-10px;right:-10px;cursor:nesw-resize}.crop-handle[data-dir=sw]{bottom:-10px;left:-10px;cursor:nesw-resize}.crop-handle[data-dir=se]{bottom:-10px;right:-10px;cursor:nwse-resize}.crop-help{font-size:11px;color:#526575;margin-top:9px}.feature-section{padding:60px 0 75px}.feature-section h2{font-size:25px;letter-spacing:-.8px;text-align:center;margin:0 0 10px}.feature-section>p{font-size:13px;color:#526575;text-align:center;margin:0 0 23px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature{padding:22px;border:1px solid #e3ebef;border-radius:15px;background:#fff}.feature svg{width:23px;height:23px;color:#398e9d}.feature h3{font-size:13px;margin:12px 0 7px}.feature p{font-size:11px;color:#526575;line-height:1.7;margin:0}.faq{border-top:1px solid var(--line);padding:30px 0 55px}.faq h2{font-size:20px;letter-spacing:-.5px}.faq-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.faq article{border:1px solid #e8edf0;padding:17px 20px;border-radius:12px;background:white}.faq h3{font-size:12px;margin:0 0 8px}.faq p{color:#526575;font-size:11px;line-height:1.75;margin:0}.footer{border-top:1px solid #e5ecef;background:white;padding:22px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:11px;color:#526575}.footer a{color:#386b77}.hidden{display:none!important}.notice{margin-top:11px;padding:10px 11px;border:1px solid #f0e3c8;background:#fffbf1;color:#8c7444;font-size:11px;line-height:1.55;border-radius:9px}.badge-inline{display:inline-flex;background:#eaf7f6;border-radius:100px;padding:3px 8px;font-size:10px;color:#237b7c;font-weight:750;margin-left:6px}@media(max-width:900px){.workspace{grid-template-columns:310px minmax(0,1fr)}.container{padding:0 20px}.tool-tab{padding:14px 11px;gap:7px;font-size:12px}.tool-tab svg{width:17px;height:17px}}@media(max-width:720px){.site-header{height:66px}.top-nav a:not(.header-pill){display:none}.hero{padding-top:44px;padding-bottom:31px}.hero h1{letter-spacing:-1.7px}.hero p{font-size:14px}.tools-nav{grid-template-columns:repeat(2,1fr);gap:9px}.workspace{grid-template-columns:1fr}.settings-panel{padding:19px}.preview-panel{min-height:470px}.preview-card{height:320px}.empty-state{min-height:350px}.features{grid-template-columns:1fr;gap:10px}.faq-list{grid-template-columns:1fr}.feature-section{padding:44px 0}.trust-row{gap:8px 15px}.footer-inner{justify-content:center;text-align:center}}@media(max-width:410px){.container{padding:0 13px}.tool-tab{font-size:11px;padding:12px 9px}.hero h1{font-size:34px}.preview-top{padding:18px}.preview-content{padding:13px}.preview-card{height:250px}.crop-wrapper img{max-height:250px}.top-nav{gap:0}}
@media(max-width:720px){.hero{padding-bottom:48px}.trust-row{row-gap:12px;margin-bottom:8px}}
.view-controls{display:flex;border:1px solid #e0e9ec;border-radius:10px;padding:3px;gap:2px;background:#f8fbfc;align-items:center}.view-btn{font-size:11px;font-weight:750;color:#526575;border:0;border-radius:7px;background:transparent;padding:8px 10px}.view-btn[aria-pressed="true"]{color:#1e6e7c;background:white;box-shadow:0 1px 6px rgba(15,46,60,.08)}@media(max-width:410px){.preview-actions{gap:6px}.view-btn{padding:7px}.preview-top .secondary-btn{padding:9px}}

.footer a{text-decoration:underline}.file-row-main{border:0;background:transparent;text-align:left;color:inherit;padding:0;cursor:pointer}.crop-selection:focus-visible{outline:3px solid #142b42;outline-offset:3px}

@media(max-width:360px){.preview-top{flex-wrap:wrap}.preview-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}}

/* MALYOR Brand Kit v1.0.0 — scoped header wordmark values from frozen official wordmark.css.
   display:inline-block adapts to Image Tools' existing inline header; no global font or layout reset. */
.brand span.malyor-wordmark{display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:20px;font-weight:760;line-height:1.02;letter-spacing:.025em;color:#1d1d1f;white-space:nowrap}
@media(max-width:600px){.brand span.malyor-wordmark{font-size:19px}}

/* Language control shares the existing wrapping header. */
.language-control select{font:inherit;font-size:14px;padding:7px;border:1px solid #c8d5df;border-radius:8px;background:#fff;color:#243d4c;max-width:100%}
.site-header{height:auto}
.header-inner{height:auto;min-height:78px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap;gap:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[lang="zh-CN"] .hero h1{line-height:1.25}
