/* The seller net sheet (2026-09-29): the agent's editor, the document, and its print layout. */
.ns-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ns-lines { display: flex; flex-direction: column; gap: 8px; }
.ns-line { display: grid; grid-template-columns: minmax(0, 1fr) 64px 120px 110px 40px; gap: 8px; align-items: center; }
.ns-line input, .ns-line select { min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 500 15px/1.2 var(--font); min-width: 0; }
.ns-line .ns-value { text-align: right; }
.ns-amt { text-align: right; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.ns-rm { width: 40px; height: 40px; }
.ns-sum { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.ns-sum span { display: block; font-size: 14px; color: var(--ink-2); }
.ns-sum b { font-size: 22px; }
.ns-sum-net b { font-size: 28px; }
.ns-preview { position: sticky; top: 110px; }
.ns-doc { background: #fff; color: #1a1a1a; border: 1px solid var(--line); border-radius: 18px; padding: 32px; font: 500 15px/1.45 var(--font); }
.ns-doc-h { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 2px solid #1a1a1a; }
.ns-doc-h > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.ns-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; margin-bottom: 6px; }
.ns-biz { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ns-doc-h span { font-size: 14px; color: #555; }
.ns-doc-when { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.ns-doc-when span:first-child { font-weight: 700; color: #1a1a1a; font-size: 15px; }
.ns-doc-for { display: flex; flex-wrap: wrap; gap: 24px; margin: 18px 0; }
.ns-doc-for > div { display: flex; flex-direction: column; }
.ns-k { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #666; }
.ns-table { width: 100%; border-collapse: collapse; }
.ns-table th, .ns-table td { padding: 10px 0; border-bottom: 1px solid #e5e2da; text-align: left; font-weight: 500; }
.ns-table td { text-align: right; white-space: nowrap; }
.ns-pct { color: #666; font-size: 14px; }
.ns-price th, .ns-price td { font-weight: 700; }
.ns-costs th, .ns-costs td { font-weight: 700; border-bottom: 2px solid #1a1a1a; }
.ns-net th, .ns-net td { font-size: 20px; font-weight: 800; border-bottom: 0; padding-top: 14px; }
.ns-note { margin: 16px 0 0; font-size: 14px; color: #555; }
.pt-netsheet .actions { margin-top: 14px; }
@media (max-width: 700px) {
  .ns-line { grid-template-columns: minmax(0, 1fr) 58px 96px 36px; }
  .ns-line .ns-amt { display: none; }
  .ns-doc { padding: 20px; }
  .ns-preview { position: static; }
}
@media print {
  html.ns-printing body * { visibility: hidden !important; }
  html.ns-printing .ns-print-target, html.ns-printing .ns-print-target * { visibility: visible !important; }
  html.ns-printing .ns-print-target { position: absolute; left: 0; top: 0; width: 100%; border: 0; border-radius: 0; padding: 0; }
}

.ns-print-target { display:none; }
@media print { .ns-print-target { display:block; } }
