.val-cs-hero .row { align-items: center; }
.val-cs-hero-image img { width: 100%; height: auto; max-width: 520px; border-radius: 18px; box-shadow: 0 18px 48px rgba(20, 48, 90, .14); }
.val-cs-intro { max-width: 740px; margin: 0 auto 30px; }
.val-cs-widget { max-width: 1200px; margin: 0 auto; text-align: left; }
#val-cs-widget [hidden] { display: none !important; }
#val-cs-file { display: none !important; }
.val-cs-dropzone { min-height: 320px; border: 2px dashed #9bc9e8; border-radius: 20px; background: #f7fbff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; transition: border-color .2s, background .2s; }
.val-cs-dropzone.is-dragging { border-color: #27a9e0; background: #eaf7ff; }
.val-cs-dropzone img { width: 78px; height: 78px; object-fit: contain; }
.val-cs-dropzone h3 { font-size: 22px; margin: 0; }
.val-cs-dropzone small { display: block; color: #657688; }
.val-cs-editor { border: 1px solid #d7e6f1; border-radius: 20px; background: #fff; box-shadow: 0 15px 42px rgba(30, 75, 112, .09); overflow: hidden; }
.val-cs-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #e2edf5; }
.val-cs-toolbar .btn-mimipanda, .val-cs-canvas-actions .btn-mimipanda { margin: 0; font-size: 16px; line-height: 22px; }
.val-cs-action.btn-mimipanda { width: 40px !important; height: 40px !important; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.val-cs-change { flex: 0 0 40px; }
.val-cs-action svg { width: 20px; height: 20px; }
.val-cs-sliders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; min-width: 0; gap: 20px; }
.val-cs-setting { display: flex; flex-direction: column; min-width: 0; }
.val-cs-setting label { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-width: 0; margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #264363; white-space: nowrap; }
.val-cs-setting output { color: #1689c1; font-variant-numeric: tabular-nums; }
.val-cs-setting input[type="range"] { width: 100%; height: 18px; margin: 0; padding: 0; border: 0; background: transparent; accent-color: #1c9bd4; cursor: pointer; }
.val-cs-view, .val-cs-grid, .val-cs-export, .val-cs-zoom { display: flex; align-items: center; gap: 9px; }
.val-cs-view, .val-cs-grid { flex: none; }
.val-cs-view { gap: 5px; }
.val-cs-view .btn-mimipanda { padding: 9px 11px; font-size: 14px; line-height: 22px; }
.val-cs-grid { gap: 6px; }
.val-cs-grid label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; white-space: nowrap; }
.val-cs-grid input { accent-color: #1c9bd4; }
.val-cs-grid select { width: 78px; height: 40px; margin: 0; }
.val-cs-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.val-cs-canvas-shell { position: relative; margin: 0 18px 18px; border: 1px solid #dce9f2; border-radius: 15px; overflow: hidden; background: #f6faff; }
.val-cs-canvas-actions { position: absolute; z-index: 5; top: 12px; right: 12px; left: 12px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.val-cs-canvas-actions > * { pointer-events: auto; }
.val-cs-zoom { border: 1px solid #dce9f2; border-radius: 8px; overflow: hidden; gap: 0; }
.val-cs-zoom button { appearance: none; background: #fff; border: 0; color: #215b82; min-width: 34px; height: 36px; padding: 0 8px; font-weight: 700; }
.val-cs-zoom button + button { border-left: 1px solid #dce9f2; }
.val-cs-zoom button:hover { background: #eef8fe; }
.val-cs-viewport { position: relative; height: min(68vh, 650px); min-height: 340px; overflow: auto; display: flex; align-items: safe center; justify-content: safe center; padding: 20px; touch-action: pan-x pan-y; }
.val-cs-viewport.is-processing::before { content: ''; position: absolute; z-index: 3; inset: 0; background: rgb(246 250 255 / 72%); }
.val-cs-viewport.is-processing::after { content: ''; position: absolute; z-index: 4; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px; border: 3px solid #b9dcec; border-top-color: #159bd5; border-radius: 50%; animation: val-cs-spin .7s linear infinite; }
@keyframes val-cs-spin { to { transform: rotate(360deg); } }
.val-cs-viewport.is-zoomed { cursor: grab; }
.val-cs-viewport.is-zoomed.is-dragging { cursor: grabbing; }
.val-cs-viewport canvas { display: block; flex: none; max-width: none; height: auto; margin: auto; background: #fff; box-shadow: 0 4px 18px rgba(27, 60, 92, .14); }
.val-cs-error-popup p { margin: 6px 28px 0 0; color: #264363; font-size: 18px; line-height: 1.45; font-weight: 600; }
.val-cs-card, .val-cs-step { height: 100%; padding: 30px 25px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(30, 75, 112, .07); }
.val-cs-benefit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.val-cs-benefit-row::before, .val-cs-benefit-row::after { display: none; }
.val-cs-benefit-row > .col-md-4 { width: auto; max-width: none; float: none; display: flex; margin-top: 16px; }
.val-cs-steps .col-md-4 { display: flex; margin-top: 16px; }
.val-cs-card-icon { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; background: #e5f6ff; color: #148ec9; margin-bottom: 16px; }
.val-cs-card-icon svg { width: 30px; height: 30px; }
.val-cs-benefit-row .val-cs-card, .val-cs-step { width: 100%; flex: 1; }
.val-cs-card h3, .val-cs-step h3 { font-size: 23px; margin: 0 0 12px; }
.val-cs-card p, .val-cs-step p { margin: 0; }
.val-cs-step { border: 1px solid #e0edf5; box-shadow: none; }
.val-cs-step > span { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; background: #159bd5; color: #fff; border-radius: 50%; font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.val-cs-faq .mimi-faq-list { text-align: left; }
.val-cs-final-cta { margin-top: 55px; }
.val-cs-cta-title { margin: 0 0 22px; font-size: 32px; line-height: 1.25; font-weight: 600; letter-spacing: -1px; }
.val-cs-prose { max-width: 860px; margin: 0 auto; text-align: left; }
.val-cs-prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.55; }
.val-cs-prose h3 { margin: 22px 0 8px; font-size: 22px; text-align: left; }
.val-cs-prose a { font-weight: 700; }
.val-cs-table-wrap { max-width: 860px; margin: 28px auto 0; overflow-x: auto; text-align: left; }
.val-cs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(30, 75, 112, .07); }
.val-cs-table th, .val-cs-table td { padding: 14px 16px; border-bottom: 1px solid #e2edf5; text-align: left; vertical-align: top; }
.val-cs-table thead th { background: #e5f6ff; color: #264363; font-size: 14px; }
.val-cs-table tbody th { color: #264363; font-weight: 700; }
.val-cs-table caption { caption-side: bottom; padding: 12px 4px 0; color: #657688; text-align: left; }
.val-cs-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.val-cs-example { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(30, 75, 112, .07); }
.val-cs-example img { width: 100%; height: auto; display: block; }
.val-cs-example div { padding: 18px 18px 22px; }
.val-cs-example h3 { margin: 0 0 8px; font-size: 22px; }
.val-cs-example p { margin: 0; }
.val-cs-related { max-width: 860px; margin: 8px auto 0; text-align: left; background: #fff; border: 1px solid #e0edf5; border-radius: 16px; overflow: hidden; }
.val-cs-related a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: inherit; text-decoration: none; border-bottom: 1px solid #e2edf5; }
.val-cs-related a:last-child { border-bottom: 0; }
.val-cs-related a:hover, .val-cs-related a:focus { background: #f7fbff; color: inherit; }
.val-cs-related a:focus-visible { outline: 3px solid #2dce89; outline-offset: -3px; }
.val-cs-related-icon { flex: 0 0 46px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #e5f6ff; color: #148ec9; }
.val-cs-related-icon svg { width: 24px; height: 24px; }
.val-cs-related-copy { min-width: 0; }
.val-cs-related h3 { margin: 0 0 3px; font-size: 18px; color: #264363; }
.val-cs-related p { margin: 0; color: #4d6278; }
.val-cs-related-go { flex: 0 0 18px; width: 18px; height: 18px; margin-left: auto; color: #1689c1; }
@media (max-width: 991px) {
    .val-cs-toolbar { flex-wrap: wrap; }
    .val-cs-sliders { order: 3; flex-basis: 100%; }
    .val-cs-grid { margin-left: auto; }
}
@media (max-width: 767px) {
    .val-cs-benefit-row, .val-cs-examples { grid-template-columns: 1fr; }
    .val-cs-related a { align-items: flex-start; padding: 14px 16px; }
    .val-cs-related-go { margin-top: 4px; }
    .val-cs-cta-title { font-size: 26px; }
    .val-cs-table th, .val-cs-table td { padding: 10px 12px; }
    .val-cs-hero .row { display: flex; flex-direction: column; }
    .val-cs-hero .col-md-6 { width: 100%; text-align: center; }
    .val-cs-hero .page-header-aftertitle-text { font-size: 17px; line-height: 1.5; }
    .val-cs-hero .page-header-aftertitle-text p { margin-bottom: 14px; }
    .val-cs-hero-image { margin-top: 28px; }
    .val-cs-hero-image img { max-width: 460px; }
    .val-cs-dropzone { min-height: 260px; padding: 22px; }
    .val-cs-dropzone h3 { font-size: 18px; }
    .val-cs-toolbar { padding: 10px 12px; gap: 10px; }
    .val-cs-sliders { gap: 18px; }
    .val-cs-setting label { font-size: 13px; }
    .val-cs-view .btn-mimipanda { padding: 8px; font-size: 13px; }
    .val-cs-grid label { font-size: 12px; }
    .val-cs-grid select { width: 68px; height: 36px; }
    .val-cs-canvas-shell { margin: 0 12px 12px; }
    .val-cs-canvas-actions { top: 8px; right: 8px; left: 8px; }
    .val-cs-viewport { height: min(56vh, 480px); min-height: 260px; padding: 12px; }
}
@media (max-width: 390px) {
    .val-cs-grid { width: 100%; justify-content: flex-end; }
    .val-cs-zoom button { min-width: 30px; padding: 0 5px; }
    .val-cs-export { gap: 5px; }
}
