/* Generated by tools/split-subpage-css.php. Edit assets/css/source/subpage-modern.full.css instead. */
.svg-viewer-dropzone:hover, .svg-viewer-dropzone:focus-visible, .svg-viewer-dropzone.is-dragging { border-color: #08765f; background: #edf8f4; outline: none; }
.hwp-viewer-dropzone.is-dragging { border-color: #0f766e; background: #eef7f5; }
.rotate-image-dropzone:hover, .rotate-image-dropzone:focus, .rotate-image-dropzone.is-dragging { border-color: #0f766e; background: #eef7f5; outline: none; }
.grayscale-image-dropzone:hover, .grayscale-image-dropzone:focus, .grayscale-image-dropzone.is-dragging { border-color: #475569; background: #f1f5f9; outline: none; }
#fileInput { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.invert-image-dropzone:hover, .invert-image-dropzone:focus, .invert-image-dropzone.is-dragging { border-color: #be123c; background: #fff1f4; outline: none; }
.psd-viewer-heading { margin-bottom: 30px; text-align: left; }
.psd-viewer-eyebrow { margin: 0 0 8px; color: #7c3aed; font-size: .78rem; font-weight: 800; }
.psd-viewer-heading h1 { margin-bottom: 12px; color: #172033; font-size: 2.15rem; line-height: 1.25; letter-spacing: 0; }
.psd-viewer-heading > p:last-child { max-width: 780px; margin: 0; color: #5b687b; font-size: .9rem; line-height: 1.75; }
.psd-viewer-tool { padding: 26px; border: 1px solid #d9e1eb; border-radius: 8px; background: #fff; }
.psd-viewer-tool-header { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.psd-viewer-tool-header h2 { margin: 0 0 6px; color: #172033; font-size: 1.3rem; }
.psd-viewer-tool-header p { margin: 0; color: #637184; font-size: .84rem; line-height: 1.6; }
.psd-viewer-file-button { display: inline-flex; min-height: 46px; padding: 0 18px; align-items: center; justify-content: center; border-radius: 7px; background: #7c3aed; color: #fff; font-size: .86rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.psd-viewer-file-button:hover { background: #6d28d9; color: #fff; }
#psd-file-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.psd-viewer-dropzone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; min-height: 128px; padding: 24px; align-items: center; border: 2px dashed #c7b8ef; border-radius: 8px; background: #fbf8ff; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.psd-viewer-dropzone:hover, .psd-viewer-dropzone:focus, .psd-viewer-dropzone.is-dragging { border-color: #7c3aed; background: #f5efff; outline: none; }
.psd-viewer-file-mark { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 8px; background: #44217a; color: #fff; font-size: .9rem; font-weight: 900; }
.psd-viewer-dropzone strong { display: block; margin-bottom: 5px; color: #26354a; font-size: .98rem; }
.psd-viewer-dropzone p { margin: 0; color: #758195; font-size: .78rem; line-height: 1.6; }
.psd-viewer-file-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(110px, 1fr)); gap: 1px; margin-top: 16px; border: 1px solid #dce3ec; border-radius: 7px; background: #dce3ec; overflow: hidden; }
.psd-viewer-file-grid > div { min-width: 0; padding: 12px 14px; background: #fff; }
.psd-viewer-file-grid span, .psd-viewer-info span { display: block; margin-bottom: 3px; color: #758195; font-size: .68rem; font-weight: 700; }
.psd-viewer-file-grid strong, .psd-viewer-info strong { display: block; overflow: hidden; color: #26354a; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.psd-viewer-stage { display: flex; min-height: 430px; max-height: 760px; margin-top: 16px; padding: 24px; align-items: center; justify-content: center; overflow: auto; border: 1px solid #d5dee9; border-radius: 8px; background: #e9edf2; }
.psd-viewer-stage[data-state="empty"] { background: #f8fafc; }
.psd-viewer-stage[data-state="loading"] .psd-viewer-status::before { display: block; width: 28px; height: 28px; margin: 0 auto 18px; border: 3px solid #d8d0ef; border-top-color: #7c3aed; border-radius: 50%; content: ''; animation: hwp-viewer-spin .8s linear infinite; }
.psd-viewer-stage[data-state="error"] .psd-viewer-status strong { color: #a33a32; }
.psd-viewer-status { width: 100%; margin: auto; padding: 66px 18px; color: #667488; text-align: center; }
.psd-viewer-status strong { display: block; margin-bottom: 8px; color: #2a394e; font-size: 1rem; }
.psd-viewer-status p { max-width: 520px; margin: 0 auto; color: #667488; font-size: .8rem; line-height: 1.65; }
.psd-viewer-stage canvas { display: block; max-width: 100%; height: auto; border: 1px solid #d6dde7; border-radius: 6px; background: #fff; box-shadow: 0 12px 28px rgba(31, 44, 64, .12); }
.psd-viewer-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 14px; border: 1px solid #dce3ec; border-radius: 7px; background: #dce3ec; overflow: hidden; }
.psd-viewer-info > div { min-width: 0; padding: 12px 14px; background: #fff; }
.psd-viewer-guide { margin-top: 44px; padding-top: 30px; border-top: 1px solid #dde4ed; }
.psd-viewer-guide-heading h2 { margin-bottom: 10px; color: #172033; font-size: 1.45rem; }
.psd-viewer-guide-heading p { max-width: 780px; margin: 0; color: #5c697c; line-height: 1.75; }
.psd-viewer-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin-top: 22px; }
.psd-viewer-guide-grid section { padding: 22px 0; border-bottom: 1px solid #e2e7ee; }
.psd-viewer-guide-grid h3 { margin-bottom: 8px; color: #1f2c40; font-size: 1rem; }
.psd-viewer-guide-grid p { margin: 0; color: #5f6d80; font-size: .88rem; line-height: 1.75; }
@media screen and (max-width: 980px) {
.psd-viewer-file-grid, .psd-viewer-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.psd-viewer-stage { max-height: 680px; }
}
@media screen and (max-width: 620px) {
.psd-viewer-heading h1 { font-size: 1.65rem; word-break: keep-all; }
.psd-viewer-tool { padding: 16px; }
.psd-viewer-tool-header { display: grid; }
.psd-viewer-file-button { width: 100%; }
.psd-viewer-dropzone { grid-template-columns: 1fr; text-align: center; }
.psd-viewer-file-mark { margin: 0 auto; }
.psd-viewer-file-grid, .psd-viewer-info, .psd-viewer-guide-grid { grid-template-columns: 1fr; }
.psd-viewer-stage { min-height: 340px; max-height: 560px; padding: 14px; }
}
@keyframes hwp-viewer-spin { to { transform: rotate(360deg); } }
