.cropper-page .tool-hero{background:radial-gradient(circle at 78% 0,rgba(255,122,65,.17),transparent 34%),linear-gradient(180deg,#fff4ef 0,#f6f8fc 100%)}
.cropper-page .converter-mark,.cropper-page .choose-button,.cropper-page .convert-button{background:linear-gradient(145deg,#df4f1c,#ff7a41)}
.cropper-page .upload-symbol{background:#ffeadf;color:#d64a18}
.cropper-page .drop-zone{border-color:#e6ad92;background:#fffaf7}
.cropper-page .drop-zone:hover,.cropper-page .drop-zone:focus,.cropper-page .drop-zone.is-dragging{border-color:#eb5a24;background:#fff3ed;box-shadow:inset 0 0 0 1px #eb5a24}
.cropper-page .local-label{background:#fff0e8;color:#b43e15}
.crop-workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;padding:20px;background:#f2f5fa}
.crop-stage-column{min-width:0}
.crop-stage{position:relative;min-height:420px;display:grid;place-items:center;overflow:hidden;padding:18px;border:1px solid #cfd8e6;border-radius:14px;background-color:#dce3ed;background-image:linear-gradient(45deg,#cbd4e1 25%,transparent 25%),linear-gradient(-45deg,#cbd4e1 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#cbd4e1 75%),linear-gradient(-45deg,transparent 75%,#cbd4e1 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
#crop-canvas{display:block;max-width:100%;max-height:520px;box-shadow:0 14px 35px rgba(18,35,62,.18);touch-action:none;cursor:crosshair}
.editor-hint{margin:10px 0 0;color:#647188;font-size:12px;text-align:center}
.crop-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.crop-toolbar button{min-height:42px;padding:9px 13px;border:1px solid #cbd5e3;border-radius:9px;background:#fff;color:#34445b;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.crop-toolbar button:hover{border-color:#e96a3c;color:#c74113}
.crop-toolbar .toolbar-reset{margin-left:auto;color:#a13e1e}
.crop-controls{display:flex;flex-direction:column;gap:12px}
.control-card{padding:15px;border:1px solid #dce3ed;border-radius:12px;background:#fff}
.control-card h3{margin:0 0 11px;color:#1c2b41;font-size:14px}
.ratio-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ratio-grid button{min-height:38px;padding:7px 5px;border:1px solid #d3dce9;border-radius:8px;background:#f8fafc;color:#536177;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.ratio-grid button.active{border-color:#e75a25;background:#fff0e8;color:#b43d15;box-shadow:inset 0 0 0 1px #e75a25}
.coordinate-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.coordinate-grid label,.output-grid label,.format-grid label,.range-setting{display:block}
.coordinate-grid span,.output-grid span,.format-grid span,.range-setting>span,.background-setting>span{display:block;margin-bottom:5px;color:#516078;font-size:12px;font-weight:800}
.coordinate-grid input,.output-grid input,.format-grid select,.background-setting input[type=color]{width:100%;height:42px;border:1px solid #cbd5e3;border-radius:8px;background:#fff;color:#1d2c42;font:inherit;font-size:14px;font-weight:700}
.coordinate-grid input,.output-grid input{padding:8px 10px}
.format-grid select{padding:0 9px}
.output-grid,.format-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.output-grid small{grid-column:1/-1;color:#788599;font-size:11px;line-height:1.45}
.range-setting>div{display:flex;align-items:center;gap:10px}
.range-setting input{width:100%;accent-color:#e95a25}
.range-setting output{min-width:42px;color:#bd4319;font-size:13px;font-weight:900}
.background-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.background-setting>span{margin:0}
.background-setting input[type=color]{width:58px;padding:3px;cursor:pointer}
.crop-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.crop-stats div{padding:10px;border-radius:8px;background:#f4f7fb}
.crop-stats b,.crop-stats span{display:block}
.crop-stats b{color:#1d2d44;font-size:13px}
.crop-stats span{color:#6d7a8d;font-size:11px}
.crop-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.crop-actions button{min-height:46px;border:0;border-radius:9px;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
.crop-actions .secondary-action{border:1px solid #cbd5e3;background:#fff;color:#536177}
.crop-actions .convert-button{box-shadow:0 8px 20px rgba(222,78,27,.2)}
.crop-actions button:disabled{opacity:.55;cursor:wait}
.crop-result{padding:16px 20px 20px;border-top:1px solid #dfe5ef;background:#fff}
.crop-result[hidden]{display:none}
.result-summary{display:flex;align-items:center;justify-content:space-between;gap:15px}
.result-summary b,.result-summary span{display:block}
.result-summary b{color:#183048;font-size:14px}
.result-summary span{margin-top:3px;color:#657389;font-size:12px}
.result-download{min-height:44px;padding:10px 15px;border:0;border-radius:9px;background:#e95a25;color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
.cropper-page .sidebar-card.related a{display:block;padding:9px 0;border-top:1px solid #edf0f4;color:#c6471a;font-size:11px;font-weight:900}
.use-table td:first-child{color:#1d2c42;font-weight:800}
@media(max-width:920px){.crop-workspace{grid-template-columns:1fr}.crop-controls{display:grid;grid-template-columns:1fr 1fr}.crop-controls .crop-actions{grid-column:1/-1}}
@media(max-width:680px){.crop-workspace{padding:12px}.crop-stage{min-height:310px;padding:10px}.crop-controls{display:flex}.ratio-grid{grid-template-columns:repeat(4,1fr)}.crop-toolbar button{flex:1}.crop-toolbar .toolbar-reset{margin-left:0}.result-summary{align-items:flex-start;flex-direction:column}.result-download{width:100%}}
@media(max-width:390px){.ratio-grid{grid-template-columns:repeat(3,1fr)}.coordinate-grid,.output-grid,.format-grid,.crop-stats,.crop-actions{grid-template-columns:1fr}}
