.doc-body{margin: 0;background: #e8ecf2;color: #0f172a;font-family: "Plex Arabic",Tahoma,Arial,sans-serif}.doc-toolbar{position: sticky;top: 0;z-index: 10;display: flex;align-items: center;gap: 10px;flex-wrap: wrap;padding: 10px 16px;background: #fff;border-bottom: 1px solid #e2e8f0;box-shadow: 0 2px 10px rgba(15,23,42,.06)}.doc-toolbar .segmented{margin-inline-start: 4px}.doc-toolbar a.btn{margin-inline-start: auto}.doc-stage{padding: 26px 12px 64px}.doc-sheet{--doc-primary: #1d4ed8;--doc-line: #e2e8f0;--doc-soft: #f4f6fa;--doc-muted: #64748b;box-sizing: border-box;width: 210mm;min-height: 297mm;margin: 0 auto;padding: 12mm 11mm 14mm;background: #fff;color: #0f172a;font-size: 11.5px;line-height: 1.55;box-shadow: 0 6px 28px rgba(15,23,42,.16);border-radius: 4px;display: flex;flex-direction: column;-webkit-print-color-adjust: exact;print-color-adjust: exact}.doc-sheet[data-orient="landscape"]{width: 297mm;min-height: 210mm}.doc-head{display: flex;justify-content: space-between;align-items: flex-start;gap: 18px;padding-bottom: 12px;margin-bottom: 14px;border-bottom: 2px solid var(--doc-primary)}.doc-brand{display: flex;align-items: center;gap: 12px;min-width: 0}.doc-logo{--size: 48px;border-radius: 13px}.doc-powered{display: inline-flex;align-items: center;gap: 5px}.doc-powered b{color: #334155;font-weight: 700}.doc-powered .brand-logo{display: inline-block;vertical-align: -2px;border-radius: 3px}.doc-network{font-size: 17px;font-weight: 700;color: #0f172a}.doc-system{font-size: 11px;color: var(--doc-muted)}.doc-titlebox{text-align: end}.doc-titlebox h1{margin: 0 0 4px;font-size: 19px;font-weight: 700;color: var(--doc-primary)}.doc-meta{display: flex;justify-content: flex-end;gap: 6px;font-size: 11px;color: var(--doc-muted)}.doc-meta b{color: #0f172a;font-weight: 600}.doc-stats{display: grid;grid-template-columns: repeat(4,minmax(0,1fr));gap: 8px;margin-bottom: 14px}.doc-stat{border: 1px solid var(--doc-line);border-radius: 10px;padding: 9px 11px;background: var(--doc-soft);break-inside: avoid}.doc-stat-label{font-size: 10.5px;color: var(--doc-muted)}.doc-stat-value{font-size: 16px;font-weight: 700;margin-top: 2px;white-space: nowrap}.doc-stat-meta{font-size: 10px;color: var(--doc-muted)}.doc-section{margin-bottom: 14px}.doc-section h2{display: flex;align-items: center;gap: 8px;margin: 0 0 7px;font-size: 13px;font-weight: 700}.doc-section h2::before{content: "";width: 4px;height: 15px;border-radius: 2px;background: var(--doc-primary)}.doc-section h2{break-after: avoid;page-break-after: avoid}.doc-section.is-keep{break-inside: avoid;page-break-inside: avoid}.doc-section h2 small{font-size: 10.5px;font-weight: 600;color: var(--doc-muted);background: var(--doc-soft);border: 1px solid var(--doc-line);border-radius: 999px;padding: 0 7px}.doc-chart-wrap{border: 1px solid var(--doc-line);border-radius: 10px;padding: 10px;break-inside: avoid}.doc-chart{position: relative;height: 62mm}.doc-table{width: 100%;border-collapse: collapse;font-size: 10.8px}.doc-table thead{display: table-header-group}.doc-table tfoot{display: table-row-group}.doc-table th{background: #eef2f8;color: #334155;font-weight: 600;text-align: start;padding: 6px 7px;border-bottom: 1px solid #cbd5e1;white-space: nowrap}.doc-table td{padding: 5px 7px;border-bottom: 1px solid var(--doc-line);vertical-align: top}.doc-table tbody tr:nth-child(even) td{background: #fafbfd}.doc-table tr{break-inside: avoid}.doc-table .num{text-align: end;font-variant-numeric: tabular-nums;white-space: nowrap}.doc-table tfoot th{background: #e6ecf6;border-top: 1.5px solid #94a3b8;border-bottom: 0;color: #0f172a}.doc-table .mono{font-family: ui-monospace,"Courier New",monospace;direction: ltr;unicode-bidi: isolate}.doc-table .text-muted{color: #94a3b8}.doc-empty{padding: 26px;text-align: center;color: var(--doc-muted);border: 1px dashed var(--doc-line);border-radius: 10px}.doc-foot{margin-top: auto;padding-top: 10px;border-top: 1px solid var(--doc-line);display: flex;justify-content: space-between;gap: 12px;font-size: 10px;color: var(--doc-muted)}@media screen and (max-width: 860px){.doc-stage{padding: 12px 8px 40px}.doc-sheet,.doc-sheet[data-orient="landscape"]{width: 100%;min-height: 0;padding: 18px 14px}.doc-head{flex-direction: column}.doc-titlebox{text-align: start}.doc-meta{justify-content: flex-start}.doc-stats{grid-template-columns: repeat(2,minmax(0,1fr))}.doc-section{overflow-x: auto}}@media print{html,body,.doc-body{background: #fff !important}.doc-toolbar,.no-print,.toasts{display: none !important}.doc-stage{padding: 0}.doc-sheet,.doc-sheet[data-orient="landscape"]{width: auto;min-height: 0;padding: 0;margin: 0;box-shadow: none;border-radius: 0}.doc-foot{margin-top: 14px}}.inv-parties{display: grid;grid-template-columns: 1fr 1fr;gap: 12px;margin-bottom: 16px}.inv-party{border: 1px solid var(--doc-line);border-radius: 10px;padding: 11px 13px;background: var(--doc-soft);font-size: 12px;line-height: 1.8}.inv-label{font-size: 10.5px;color: var(--doc-muted)}.inv-name{font-size: 15px;font-weight: 700}.inv-muted{color: var(--doc-muted)}.inv-paid{display: inline-flex;align-items: center;gap: 6px;font-weight: 700;color: #15803d;font-size: 14px}.inv-paid .icon{width: 16px;height: 16px}.inv-table{font-size: 12.5px}.inv-table td,.inv-table th{padding: 10px 9px}.inv-table tfoot td{font-weight: 700;font-size: 14px;border-top: 2px solid var(--doc-primary);background: var(--doc-soft)}.inv-note{border: 1px dashed var(--doc-line);border-radius: 10px;padding: 10px 12px;color: var(--doc-muted);font-size: 11.5px;margin-top: 6px}@media (max-width: 720px){.inv-parties{grid-template-columns: 1fr}}
