/* ---------- Document view / print sheet (A4 landscape) ---------- */
.docv-shell {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 12px;
}
.docv-frame {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}
.docv-scaler {
    width: 297mm;
    transform-origin: 0 0;
}
.docv {
    --docv-ink: #111111;
    --docv-muted: #555555;
    --docv-line: #2b2b2b;
    --docv-label-bg: #ececec;
    --docv-head-bg: #dbe3f1;
    --docv-total-bg: #f0f0f0;
    position: relative;
    width: 297mm;
    box-sizing: border-box;
    padding: 10mm;
    background: #ffffff;
    color: var(--docv-ink);
    font-family: Arial, "Helvetica Neue", Helvetica, Vazirmatn, Vazir, Tahoma, sans-serif;
    font-size: 9pt;
    line-height: 1.3;
    direction: ltr;
    text-align: left;
    color-scheme: light;
}
.docv *,
.docv *::before,
.docv *::after {
    box-sizing: border-box;
}
.docv-view {
    min-height: 210mm;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 8px 28px rgba(0, 0, 0, 0.18);
}
.docv-page {
    height: 210mm;
    padding-bottom: 12mm;
    overflow: hidden;
}
.docv-page .docv-sheet {
    height: 100%;
    overflow: hidden;
}
.docv-head {
    margin-bottom: 3mm;
    text-align: center;
}
.docv-head h1 {
    margin: 0;
    font-size: 18pt;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--docv-ink);
}
.docv-head p {
    margin: 0.5mm 0 0;
    font-size: 8.5pt;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.docv-head .docv-sub {
    margin-top: 0.5mm;
    font-size: 8.5pt;
}
.docv-sub {
    display: block;
    font-family: Vazirmatn, Vazir, Tahoma, Arial, sans-serif;
    font-size: 7pt;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    color: var(--docv-muted);
}
.docv-cont {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6mm;
    margin-bottom: 3mm;
    padding-bottom: 1.5mm;
    border-bottom: 0.3mm solid var(--docv-line);
    font-size: 9pt;
}
.docv-cont strong {
    font-size: 11pt;
    font-weight: 400;
    text-transform: uppercase;
}
.docv-cont em {
    color: var(--docv-muted);
}
.docv-info,
.docv-goods,
.docv-sign {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.docv-info {
    margin-bottom: 3mm;
}
.docv-info th,
.docv-info td,
.docv-goods th,
.docv-goods td,
.docv-sign th,
.docv-sign td {
    border: 0.3mm solid var(--docv-line);
    vertical-align: middle;
    text-align: center;
    overflow-wrap: anywhere;
}
.docv-info th,
.docv-info td {
    padding: 1.5mm 2mm;
}
.docv-info th,
.docv-sign th {
    font-weight: 400;
    background: var(--docv-label-bg);
}
.docv-info td.docv-multi {
    white-space: pre-line;
    text-align: left;
}
.docv-section {
    margin: 0 0 2mm;
    font-size: 11pt;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.docv-goods th {
    padding: 1.8mm 1.5mm;
    font-weight: 400;
    background: var(--docv-head-bg);
}
.docv-goods td {
    padding: 2mm 1.5mm;
}
.docv-goods tr {
    break-inside: avoid;
    page-break-inside: avoid;
}
.docv-goods tfoot td {
    font-weight: 700;
    background: var(--docv-total-bg);
}
.docv-goods .docv-total-label {
    text-align: right;
    padding-right: 3mm;
}
.docv-num {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.docv-empty-row td {
    height: 9mm;
}
.docv-closing {
    break-inside: avoid;
    page-break-inside: avoid;
}
.docv-declaration {
    margin: 2.5mm 0 2mm;
    font-size: 8.5pt;
}
.docv-declaration .docv-sub {
    margin-top: 0.5mm;
}
.docv-sign th {
    padding: 1.6mm;
}
.docv-sign td {
    height: 22mm;
}
.docv-foot {
    position: absolute;
    left: 10mm;
    right: 10mm;
    bottom: 4mm;
    display: flex;
    justify-content: space-between;
    font-size: 7.5pt;
    color: var(--docv-muted);
}