.smart-page .page-heading{padding-block:30px 24px}.smart-page .page-heading h1{font-size:clamp(30px,3.4vw,48px);line-height:1.12;letter-spacing:-1.5px;max-width:1040px;margin-bottom:16px}.smart-page .page-heading p{max-width:890px;font-size:15px;line-height:1.8;color:var(--muted)}
.smart-editor{--dark:#192d40;--accent:#83b9e5;--muted:#5f7181;--line:#ccd9e3;font:15px/1.5 Inter,Arial,sans-serif;color:var(--dark);margin-bottom:38px}
.smart-editor [hidden]{display:none!important}.smart-editor button{font:inherit;cursor:pointer}.smart-editor button:focus-visible,.smart-editor [tabindex]:focus-visible{outline:3px solid #466f94;outline-offset:4px}.smart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-block:18px}.smart-toolbar p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
.smart-editor .primary,.smart-editor .secondary{border:1px solid #466f94;border-radius:4px;padding:12px 18px;font-weight:600;white-space:nowrap;line-height:1.4}.smart-editor .primary{color:#fff;background:#466f94}.smart-editor .primary:hover{background:#3d6587}.smart-editor .secondary{color:var(--dark);background:#fff;border-color:var(--line)}.smart-editor .secondary:hover{background:#e3edf4}.smart-editor button:disabled{opacity:.55;cursor:default}
.smart-editor .workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,320px);gap:20px}.smart-editor .panel{background:#fff;border:1px solid var(--line);border-radius:5px;padding:18px;min-width:0}.smart-editor .editor-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;min-height:44px}.smart-editor h2{font-size:18px;line-height:1.4;letter-spacing:-.4px;margin:0}.smart-editor p{margin:0}.smart-editor .file-info{min-width:0}.smart-editor .file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-editor .details,.smart-editor .hint{font-size:12px;line-height:1.7;color:var(--muted)}.smart-editor .hint{margin-top:12px;min-height:1.7em}
.smart-editor .stage{position:relative;isolation:isolate;display:grid;place-items:center;height:clamp(310px,40vw,480px);overflow:hidden;background:#192d40;border-radius:3px}.smart-editor .stage:has(.empty-state:not([hidden])){border:2px dashed #a6bfd3;background:#edf3f8}.smart-editor .stage.is-dropping::after{content:"";position:absolute;inset:0;z-index:2;border:3px dashed #466f94;border-radius:inherit;background:#83b9e530;pointer-events:none}
.smart-editor .empty-state{padding:22px;text-align:center}.smart-editor .empty-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 16px;border:1px solid #b7cada;border-radius:4px;background:#fff;font-size:32px;line-height:1;color:#466f94}.smart-editor .empty-title{font-size:20px;font-weight:650;letter-spacing:-.6px}.smart-editor .empty-hint{color:var(--muted);margin:8px 0 22px;font-size:13px}
.smart-editor .editor-image{position:relative;overflow:hidden;user-select:none}.smart-editor .editor-image img{display:block;width:100%;height:100%;pointer-events:none;max-width:none}.smart-editor .crop-frame{position:absolute;z-index:1;border:2px solid var(--accent);box-shadow:0 0 0 1500px #081521b8;touch-action:none}.smart-editor .crop-frame:focus-visible{outline:2px solid white;outline-offset:-5px}.smart-editor .crop-frame[data-axis="x"]{cursor:ew-resize}.smart-editor .crop-frame[data-axis="y"]{cursor:ns-resize}.smart-editor .crop-frame.is-dragging{cursor:grabbing}
.smart-editor .crop-frame::before,.smart-editor .crop-frame::after{content:"";position:absolute;display:none;width:9px;height:9px;border:solid var(--accent);border-width:2px 0 0 2px;pointer-events:none;filter:drop-shadow(0 1px 2px #192d40)}.smart-editor .crop-frame[data-axis="x"]::before{display:block;top:calc(50% - 4px);left:6px;transform:rotate(-45deg)}.smart-editor .crop-frame[data-axis="x"]::after{display:block;top:calc(50% - 4px);right:6px;transform:rotate(135deg)}.smart-editor .crop-frame[data-axis="y"]::before{display:block;top:6px;left:calc(50% - 4px);transform:rotate(45deg)}.smart-editor .crop-frame[data-axis="y"]::after{display:block;bottom:6px;left:calc(50% - 4px);transform:rotate(225deg)}
.smart-editor .overview-frames{position:absolute;inset:0;pointer-events:none}.smart-editor .overview-frame{position:absolute}.smart-editor .overview-frame::before{content:"";position:absolute;inset:min(var(--line-top),10%) min(var(--line-right),10%) min(var(--line-bottom),10%) min(var(--line-left),10%);border:2px solid var(--format-color);box-shadow:0 0 0 1px #192d40c0}
.smart-editor [data-format="16:9"]{--format-color:#ffda60}.smart-editor [data-format="4:3"]{--format-color:#69e5ff}.smart-editor [data-format="1:1"]{--format-color:#d9b7ff}.smart-editor [data-format="3:4"]{--format-color:#ff987e}
.smart-editor .formats h2{margin-bottom:14px}.smart-editor .format-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smart-editor .format-button{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:8px;min-width:0;border:1px solid var(--line);border-radius:4px;padding:10px 8px;color:var(--dark);background:#f3f7fa;font-weight:600}.smart-editor .format-button:hover{background:#e3edf4}.smart-editor .format-button[aria-pressed="true"]{border-color:#466f94;box-shadow:inset 0 0 0 1px #466f94;background:#e3edf4}.smart-editor .overview-button{grid-column:1/-1;flex-direction:row;justify-content:center;padding:11px}.smart-editor .format-label{display:inline-flex;align-items:center;gap:6px}
.smart-editor .sample-well{width:100%;height:112px;display:grid;place-items:center}.smart-editor .sample{position:relative;overflow:hidden;display:block;width:min(100%,calc(112px * var(--ratio)));aspect-ratio:var(--ratio);border-radius:2px;background:#dce9f3;box-shadow:inset 0 0 0 1px #b8ccdc}.smart-editor .sample img{position:absolute;display:block;max-width:none;user-select:none;pointer-events:none}.smart-editor .formats .details{margin-top:14px}.smart-editor .error{padding:12px 16px;margin-bottom:14px;border-radius:4px;background:#fbe8e5;color:#782a20}.smart-page .tool-guide{padding-block:38px 46px}.smart-page .tool-guide p,.smart-page .tool-guide ol{max-width:900px}.smart-page .tool-guide h2{font-size:28px;letter-spacing:-.8px;margin:0 0 18px}.smart-page .tool-guide h3{margin-top:28px}.smart-page .tool-guide p{margin-bottom:14px}.smart-page .tool-guide li{margin-bottom:10px}
@media(max-width:900px){.smart-editor .workspace{grid-template-columns:minmax(0,1fr) 255px;gap:14px}.smart-editor .panel{padding:14px}.smart-editor .sample-well{height:90px}.smart-editor .sample{width:min(100%,calc(90px * var(--ratio)))}}
@media(max-width:760px){.smart-editor .workspace{grid-template-columns:minmax(0,1fr);gap:14px}.smart-editor .stage{height:350px}.smart-editor .format-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.smart-editor .format-button{padding-inline:5px;font-size:13px}.smart-editor .sample-well{height:70px}.smart-editor .sample{width:min(100%,calc(70px * var(--ratio)))}.smart-page .page-heading{padding-top:24px}.smart-page .page-heading h1{font-size:32px;letter-spacing:-1px}.smart-page .page-heading p{font-size:14px}.smart-toolbar{align-items:flex-start}.smart-toolbar p{max-width:210px}.smart-editor .primary,.smart-editor .secondary{padding:10px 12px;font-size:13px}}
@media(max-width:400px){.smart-editor .stage{height:300px}.smart-editor .panel{padding:10px}.smart-editor .editor-head{gap:8px}.smart-editor h2{font-size:16px}.smart-editor .format-list{gap:5px}}
