/* NS POS PRO | Organized UI 2026-10 | additive-only, preserves existing IDs & functions */
#dashboard .ns-organize-toolbar{display:flex;flex-direction:column;gap:8px;padding:12px 13px;margin:7px 0 14px;border:1px solid #dce7f6;border-radius:16px;background:#fff;box-shadow:0 4px 16px #143a7410}
.ns-organize-caption{font-size:12px;font-weight:800;letter-spacing:.04em;color:#17477f;display:flex;align-items:center;gap:8px}
.ns-organize-filter{display:flex;gap:7px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.ns-organize-filter button{white-space:nowrap;flex:0 0 auto;padding:9px 13px;border:1px solid #c9d8f0;border-radius:999px;color:#21446d;background:#f5f9ff;font-size:13px;font-weight:800;min-height:40px;box-shadow:none}
.ns-organize-filter button[aria-pressed="true"]{color:#fff;background:#1c55c7;border-color:#1c55c7;box-shadow:0 3px 9px #1c55c72f}
#dashboard .ns31-shortcuts>.ns-organize-hidden{display:none!important}
#dashboard .ns-device-report{margin:18px 0;padding:16px;border:1px solid #dce7fa;background:#fff;border-radius:18px;box-shadow:0 6px 20px #184c7f12}
.ns-report-title{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;color:#173b70;font-size:17px;font-weight:850}
.ns-report-caption{font-size:11px;color:#64748b;line-height:1.5;margin:4px 0 12px}
.ns-report-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.ns-report-periods button{min-height:42px;border-radius:10px;background:#f0f5ff;color:#17427b;border:1px solid #d9e4fa;font-weight:800;font-size:13px}
.ns-report-periods button[aria-pressed="true"]{background:#1b5ccb;border-color:#1b5ccb;color:#fff}
.ns-report-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}
.ns-report-metric{padding:13px 12px;border-radius:12px;background:#f0f8ff;min-width:0}
.ns-report-metric:nth-child(2){background:#effbf4}.ns-report-metric:nth-child(3){background:#fff8eb}.ns-report-metric:nth-child(4){background:#f6f1ff}
.ns-report-metric small{display:block;color:#52627e;font-size:11px;font-weight:700}
.ns-report-metric strong{display:block;color:#152e57;font-size:16px;word-break:break-word;margin-top:6px}
.ns-flow-heading{display:flex;align-items:center;gap:10px;min-width:0;border-bottom:1px solid #dfeaf5;padding:12px 0 10px;margin:18px 0 12px}
.ns-flow-step{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:#e2eeff;color:#1953b6;font-size:17px}
.ns-flow-heading strong{display:block;font-size:15px;line-height:1.3;color:#163765}
.ns-flow-heading small{display:block;font-size:11px;color:#64748b;line-height:1.5}
#invoice>.panel>.row,#invoice>.panel>.ns-payment-stable-section,#invoice>.panel>.field{max-width:100%;min-width:0}
#invoice>.panel .field{min-width:0}
#invoice>.panel input,#invoice>.panel select,#invoice>.panel textarea{max-width:100%;min-width:0}
#invoice .ns-flow-heading[data-step="customer"] .ns-flow-step{background:#dfeaff;color:#245ab7}
#invoice .ns-flow-heading[data-step="items"] .ns-flow-step{background:#def9ed;color:#137d56}
#invoice .ns-flow-heading[data-step="pay"] .ns-flow-step{background:#fff1d9;color:#9b6111}
#invoice .ns-flow-heading[data-step="complete"] .ns-flow-step{background:#e9e2ff;color:#6750bb}
#invoice .ns-payment-stable-section{margin-top:0!important}
#invoice .actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#invoice .actions button{padding:12px 6px;min-height:50px;white-space:normal;font-size:12px}
#products .ns-flow-heading,#grn .ns-flow-heading{margin-top:18px}
#products .ns-product-name-row{display:block;width:100%}
#products .ns-product-name-field{display:block!important;width:100%!important;max-width:none!important;flex:1 1 100%!important}
#products #pName{width:100%!important;max-width:100%!important}
@media(max-width:400px){#invoice .actions button{font-size:11px} .ns-report-metric strong{font-size:14px}}
@media print{.ns-organize-toolbar,.ns-device-report,.ns-flow-heading{display:none!important}}
