/* ═══════════════════════════════════════════════════════════
   NORVAS — Tool workspace
   Shared by every free tool page. Depends on modern.css tokens.
═══════════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.nv-tool-hero {
  position: relative; text-align: center; padding: 56px 0 120px; overflow: hidden;
  background:
    radial-gradient(700px 300px at 15% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%),
    radial-gradient(700px 300px at 85% 10%, rgba(124,58,237,.12), transparent 70%),
    var(--nv-bg-soft);
}
.nv-tool-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(16,16,40,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(#000, transparent 85%); -webkit-mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.nv-tool-hero > * { position: relative; z-index: 1; }
.nv-tool-hero .nv-crumbs { justify-content: center; }
.nv-tool-hero__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; background: var(--tone);
  box-shadow: 0 14px 30px -10px var(--tone), inset 0 1px 0 rgba(255,255,255,.25);
}
.nv-tool-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; line-height: 1.1; margin: 0 auto 12px; max-width: 760px; }
.nv-tool-hero p { color: var(--nv-muted); font-size: 1.08rem; max-width: 600px; margin: 0 auto; }
.nv-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .86rem; color: var(--nv-text); }
.nv-trust i { color: var(--nv-success); margin-right: 4px; }

/* ─── Workspace card ─── */
.nv-workspace { margin-top: -88px; position: relative; z-index: 2; padding-bottom: 64px; }
.nv-panel { background: #fff; border: 1px solid var(--nv-line); border-radius: var(--nv-r-xl); box-shadow: var(--nv-sh-lg); padding: 14px; }

/* Dropzone */
.nv-drop {
  position: relative; border: 2px dashed #d5d4e6; border-radius: calc(var(--nv-r-xl) - 8px);
  padding: 56px 24px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
  background: linear-gradient(180deg, #fcfcff, #f7f7fd);
}
.nv-drop:hover, .nv-drop.is-over { border-color: var(--tone, var(--nv-primary)); background: color-mix(in srgb, var(--tone, #5046e5) 5%, #fff); }
.nv-drop.is-over .nv-drop__icon { transform: translateY(-6px) scale(1.05); }
.nv-drop__icon {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 24px; display: grid; place-items: center; font-size: 1.8rem;
  color: var(--tone, var(--nv-primary)); background: var(--tone-bg, var(--nv-primary-10)); transition: transform .25s var(--nv-ease);
}
.nv-drop h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 6px; }
.nv-drop p { color: var(--nv-muted); margin: 0 0 20px; }
.nv-drop .nv-btn { pointer-events: none; }
.nv-drop__hint { display: block; margin-top: 16px; font-size: .8rem; color: var(--nv-muted); }
.nv-drop__hint kbd { font: 600 .74rem var(--nv-font); background: #fff; border: 1px solid var(--nv-line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--nv-text); }
.nv-drop input[type=file] { display: none; }

/* Work area: files on the left, options on the right */
.nv-work { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.nv-work--wide { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 920px) { .nv-work, .nv-work--wide { grid-template-columns: 1fr; } }

.nv-stage { background: var(--nv-bg-soft); border-radius: calc(var(--nv-r-xl) - 8px); padding: 16px; min-height: 320px; display: flex; flex-direction: column; gap: 12px; }
.nv-stage__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nv-stage__title { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.nv-stage__count { background: #fff; border: 1px solid var(--nv-line); border-radius: 999px; padding: 2px 10px; font-size: .78rem; color: var(--nv-muted); font-weight: 600; }

/* Options panel */
.nv-opts { border: 1px solid var(--nv-line); border-radius: calc(var(--nv-r-xl) - 8px); padding: 20px; display: flex; flex-direction: column; gap: 18px; align-self: start; position: sticky; top: 84px; background: #fff; }
.nv-opts h3 { font-size: 1rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.nv-opts h3 i { color: var(--tone, var(--nv-primary)); }
.nv-field { display: flex; flex-direction: column; gap: 7px; }
.nv-field > label, .nv-label { font-size: .8rem; font-weight: 700; color: var(--nv-ink); display: flex; justify-content: space-between; align-items: center; }
.nv-label output, .nv-field > label output { font-weight: 600; color: var(--nv-primary); font-variant-numeric: tabular-nums; }
.nv-help { font-size: .78rem; color: var(--nv-muted); line-height: 1.5; margin: 0; }
.nv-input, .nv-select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--nv-line); border-radius: 11px; background: #fff;
  font: 500 .9rem var(--nv-font); color: var(--nv-ink); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.nv-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6e85' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.nv-input:focus, .nv-select:focus { outline: none; border-color: var(--nv-primary); box-shadow: 0 0 0 4px var(--nv-primary-10); }
.nv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-row--link { grid-template-columns: 1fr auto 1fr; align-items: end; }
.nv-unit { position: relative; }
.nv-unit .nv-input { padding-right: 38px; }
.nv-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .75rem; color: var(--nv-muted); font-weight: 600; pointer-events: none; }

/* Range */
.nv-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--nv-primary) var(--p, 50%), #e5e5f0 var(--p, 50%)); outline: none; }
.nv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--nv-primary); box-shadow: var(--nv-sh-sm); cursor: grab; }
.nv-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--nv-primary); cursor: grab; }

/* Segmented control */
.nv-seg { display: flex; background: var(--nv-bg-soft); border: 1px solid var(--nv-line); border-radius: 12px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.nv-seg label { flex: 1; min-width: 0; margin: 0; }
.nv-seg input { position: absolute; opacity: 0; pointer-events: none; }
.nv-seg span { display: block; text-align: center; padding: 8px 6px; border-radius: 9px; font-size: .82rem; font-weight: 600; color: var(--nv-muted); cursor: pointer; transition: all .15s; white-space: nowrap; }
.nv-seg input:checked + span { background: #fff; color: var(--nv-ink); box-shadow: var(--nv-sh-sm); }
.nv-seg input:focus-visible + span { outline: 2px solid var(--nv-primary); }

/* Toggle */
.nv-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: .86rem; font-weight: 600; margin: 0; }
.nv-toggle input { position: absolute; opacity: 0; }
.nv-toggle i { flex: none; width: 40px; height: 23px; border-radius: 999px; background: #d9d9e6; position: relative; transition: background .2s; }
.nv-toggle i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--nv-ease); }
.nv-toggle input:checked + i { background: var(--nv-primary); }
.nv-toggle input:checked + i::after { transform: translateX(17px); }

.nv-chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-chip { border: 1px solid var(--nv-line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: .78rem; font-weight: 600; color: var(--nv-text); cursor: pointer; transition: all .15s; }
.nv-chip:hover { border-color: var(--nv-primary); color: var(--nv-primary); }
.nv-chip.is-on { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; }

.nv-opts__actions { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; border-top: 1px solid var(--nv-line-2); margin-top: 2px; padding-top: 16px; }

/* ─── File list ─── */
.nv-files { display: flex; flex-direction: column; gap: 8px; }
.nv-file {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--nv-line); border-radius: 16px; padding: 10px 12px 10px 10px;
  animation: nv-pop .3s var(--nv-ease);
}
.nv-file__thumb { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; background: #eceaf6 center/cover; display: grid; place-items: center; color: var(--nv-muted); overflow: hidden; }
.nv-file__thumb img, .nv-file__thumb video, .nv-file__thumb canvas { width: 100%; height: 100%; object-fit: cover; }
.nv-checker { background-color: #fff; background-image: linear-gradient(45deg, #e9e9f2 25%, transparent 25%), linear-gradient(-45deg, #e9e9f2 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e9e9f2 75%), linear-gradient(-45deg, transparent 75%, #e9e9f2 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.nv-file__name { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-file__meta { font-size: .78rem; color: var(--nv-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 2px; }
.nv-file__meta b { color: var(--nv-ink); font-weight: 600; }
.nv-file__actions { display: flex; gap: 6px; align-items: center; }
.nv-file__bar { grid-column: 2 / -1; height: 4px; border-radius: 4px; background: #ececf4; overflow: hidden; margin-top: -4px; }
.nv-file__bar i { display: block; height: 100%; width: 0; background: var(--nv-grad); border-radius: 4px; transition: width .25s; }
.nv-file.is-done .nv-file__bar, .nv-file.is-idle .nv-file__bar { display: none; }
.nv-file.is-error { border-color: #f6caca; background: #fffafa; }
.nv-stage[data-compare] .nv-file.is-done .nv-file__thumb img { cursor: zoom-in; }

.nv-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.nv-badge--ok { background: #e3f7ee; color: #047857; }
.nv-badge--down { background: #e3f7ee; color: #047857; }
.nv-badge--up { background: #fff1e0; color: #b45309; }
.nv-badge--err { background: #fdecec; color: #b91c1c; }
.nv-badge--busy { background: var(--nv-primary-10); color: var(--nv-primary); }
.nv-badge--idle { background: #f0f0f6; color: var(--nv-muted); }

.nv-icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--nv-line); background: #fff; color: var(--nv-text); display: grid; place-items: center; cursor: pointer; transition: all .15s; font-size: .85rem; text-decoration: none; }
.nv-icon-btn:hover { border-color: var(--nv-primary); color: var(--nv-primary); }
.nv-icon-btn--primary { background: var(--nv-primary); border-color: var(--nv-primary); color: #fff; }
.nv-icon-btn--primary:hover { background: var(--nv-primary-ink); color: #fff; }
.nv-icon-btn--danger:hover { border-color: var(--nv-danger); color: var(--nv-danger); }

.nv-add-more { border: 1.5px dashed #d0cfe2; border-radius: 16px; padding: 14px; text-align: center; color: var(--nv-muted); font-size: .86rem; font-weight: 600; cursor: pointer; background: transparent; transition: all .15s; width: 100%; }
.nv-add-more:hover { border-color: var(--nv-primary); color: var(--nv-primary); background: #fff; }

/* Summary / results strip */
.nv-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #ecfdf5, #f0fdfa); border: 1px solid #c9f0dc; }
.nv-summary__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--nv-success); color: #fff; display: grid; place-items: center; flex: none; }
.nv-summary strong { display: block; font-size: .95rem; }
.nv-summary span { font-size: .82rem; color: #047857; }
.nv-summary .nv-btn { margin-left: auto; }

/* Overall progress */
.nv-progress { height: 8px; border-radius: 8px; background: #ececf4; overflow: hidden; }
.nv-progress i { display: block; height: 100%; width: 0; background: var(--nv-grad); transition: width .3s; border-radius: 8px; }
.nv-progress--indeterminate i { width: 35% !important; animation: nv-indet 1.2s infinite var(--nv-ease); }
@keyframes nv-indet { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.nv-status { font-size: .84rem; color: var(--nv-muted); display: flex; align-items: center; gap: 8px; }
.nv-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--nv-primary-20); border-top-color: var(--nv-primary); animation: nv-rot .8s linear infinite; flex: none; }
@keyframes nv-rot { to { transform: rotate(360deg); } }

/* Big preview (single media tools) */
.nv-preview { position: relative; border-radius: 16px; overflow: hidden; background: #0f0f1a; display: grid; place-items: center; min-height: 260px; }
.nv-preview video, .nv-preview img, .nv-preview canvas { max-width: 100%; max-height: 520px; display: block; }
.nv-preview--light { background: #fff; border: 1px solid var(--nv-line); }

/* Before / after compare slider */
.nv-compare { position: relative; border-radius: 16px; overflow: hidden; user-select: none; background: #fff; border: 1px solid var(--nv-line); touch-action: none; }
.nv-compare img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.nv-compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x, 50%)); }
.nv-compare__after img { height: 100%; }
.nv-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); transform: translateX(-1px); cursor: ew-resize; }
.nv-compare__handle::after { content: '\2194'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: var(--nv-sh); display: grid; place-items: center; font-size: 1rem; color: var(--nv-ink); }
.nv-compare__tag { position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(11,11,20,.65); color: #fff; font-size: .72rem; font-weight: 700; }

/* Image grid (results with large thumbnails) */
.nv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.nv-tile { position: relative; background: #fff; border: 1px solid var(--nv-line); border-radius: 16px; overflow: hidden; animation: nv-pop .3s var(--nv-ease); }
.nv-tile__img { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: #f3f3f9; }
.nv-tile__img img, .nv-tile__img canvas { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.nv-tile__foot { padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .78rem; }
.nv-tile__foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--nv-muted); }
.nv-tile__tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.nv-tile:hover .nv-tile__tools, .nv-tile:focus-within .nv-tile__tools { opacity: 1; }
.nv-tile__tools .nv-icon-btn { width: 30px; height: 30px; box-shadow: var(--nv-sh-sm); }
.nv-tile__num { position: absolute; top: 8px; left: 8px; min-width: 24px; height: 24px; border-radius: 8px; background: rgba(11,11,20,.7); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.nv-tile.is-selected { border-color: var(--nv-primary); box-shadow: 0 0 0 3px var(--nv-primary-20); }
.nv-tile.sortable-ghost { opacity: .35; }
.nv-tile[draggable="true"], .nv-tile.is-sortable { cursor: grab; }
@media (hover: none) { .nv-tile__tools { opacity: 1; } }

/* Notices */
.nv-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .84rem; line-height: 1.55; background: var(--nv-bg-tint); color: var(--nv-primary-ink); }
.nv-note i { margin-top: 3px; }
.nv-note--warn { background: #fff7e8; color: #92400e; }
.nv-note--err { background: #fdecec; color: #991b1b; }

/* Toasts */
.nv-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 40px)); }
.nv-toast { display: flex; gap: 10px; align-items: flex-start; background: var(--nv-ink); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--nv-sh-lg); font-size: .88rem; animation: nv-pop .25s var(--nv-ease); }
.nv-toast i { margin-top: 3px; }
.nv-toast--error i { color: #fca5a5; } .nv-toast--success i { color: #6ee7b7; } .nv-toast--info i { color: #a5b4fc; }

/* SEO / content block under the tool */
.nv-tool-content { padding: 24px 0 72px; }
.nv-tool-content__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .nv-tool-content__grid { grid-template-columns: 1fr; gap: 32px; } }
.nv-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.nv-steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 60px; background: #fff; border: 1px solid var(--nv-line); border-radius: 16px; }
.nv-steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 10px; background: var(--nv-grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.nv-steps li strong { display: block; margin-bottom: 2px; }
.nv-steps li span { color: var(--nv-muted); font-size: .92rem; }
.nv-side-card { position: sticky; top: 90px; padding: 24px; border-radius: var(--nv-r-lg); background: var(--nv-ink); color: rgba(255,255,255,.75); overflow: hidden; }
.nv-side-card::before { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(124,58,237,.55), transparent 65%); }
.nv-side-card > * { position: relative; }
.nv-side-card h3 { color: #fff; font-size: 1.2rem; font-weight: 800; margin: 0 0 8px; }
.nv-side-card ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; font-size: .9rem; }
.nv-side-card li i { color: #a5b4fc; margin-right: 8px; }

/* PDF editor specifics */
.nv-pdf-toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px; background: #fff; border: 1px solid var(--nv-line); border-radius: 14px; position: sticky; top: 76px; z-index: 5; }
.nv-pdf-toolbar .nv-sep { width: 1px; height: 24px; background: var(--nv-line); margin: 0 4px; }
.nv-tool-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 10px; border: 1px solid transparent; background: transparent; font: 600 .82rem var(--nv-font); color: var(--nv-text); cursor: pointer; }
.nv-tool-btn:hover { background: var(--nv-bg-soft); color: var(--nv-ink); }
.nv-tool-btn.is-on { background: var(--nv-primary-10); color: var(--nv-primary); border-color: var(--nv-primary-20); }
.nv-pdf-pages { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 0; }
.nv-pdf-page { position: relative; box-shadow: var(--nv-sh); background: #fff; border-radius: 4px; max-width: 100%; }
.nv-pdf-page canvas { display: block; width: 100%; height: auto; border-radius: 4px; }
.nv-pdf-page__layer { position: absolute; inset: 0; }
.nv-pdf-page__label { position: absolute; left: -2px; top: -26px; font-size: .75rem; font-weight: 700; color: var(--nv-muted); display: flex; gap: 6px; align-items: center; }
.nv-pdf-page__ops { position: absolute; right: 0; top: -32px; display: flex; gap: 4px; }
.nv-pdf-page__ops .nv-icon-btn { width: 28px; height: 28px; font-size: .75rem; }
.nv-pdf-page.is-deleted { opacity: .35; filter: grayscale(1); }
.nv-pdf-page.is-deleted::after { content: 'Will be removed'; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--nv-danger); font-size: 1.2rem; }
.nv-pdf-layer--add { cursor: crosshair; }
.nv-ann { position: absolute; border: 1px dashed transparent; touch-action: none; }
.nv-ann:hover, .nv-ann.is-active { border-color: var(--nv-primary); }
.nv-ann--text { padding: 0; line-height: 1.2; cursor: move; }
.nv-ann__txt { white-space: pre; outline: none; min-width: 10px; min-height: 1.2em; }
.nv-ann__txt[contenteditable="true"] { cursor: text; background: rgba(80,70,229,.06); }
.nv-ann--rect { cursor: move; }
.nv-ann--img { cursor: move; }
.nv-ann--img img { width: 100%; height: 100%; display: block; pointer-events: none; }
.nv-ann__del { position: absolute; top: -12px; right: -12px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--nv-danger); color: #fff; font-size: .65rem; display: none; place-items: center; cursor: pointer; z-index: 2; }
.nv-ann.is-active .nv-ann__del { display: grid; }
.nv-ann__grip { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; border-radius: 3px; background: var(--nv-primary); cursor: nwse-resize; display: none; }
.nv-ann.is-active .nv-ann__grip { display: block; }

/* Signature pad */
.nv-sigpad { width: 100%; height: 200px; border: 1.5px dashed #cfcfe0; border-radius: 14px; touch-action: none; background: #fcfcff; cursor: crosshair; display: block; }

@media (max-width: 600px) {
  .nv-tool-hero { padding: 36px 0 104px; }
  .nv-panel { padding: 8px; border-radius: 22px; }
  .nv-drop { padding: 40px 16px; }
  .nv-file { grid-template-columns: 46px minmax(0, 1fr); }
  .nv-file__thumb { width: 46px; height: 46px; }
  .nv-file__actions { grid-column: 1 / -1; justify-content: flex-end; }
  .nv-summary .nv-btn { margin-left: 0; width: 100%; }
}
