/* NPinvestor værktøjer */
.np-toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.np-toolcard { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; text-decoration: none; color: #111; transition: transform .12s, box-shadow .12s, border-color .12s; }
.np-toolcard:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,38,67,.08); border-color: #0a7d33; }
.np-toolcard__ic { font-size: 1.8rem; }
.np-toolcard strong { font-size: 1.05rem; }
.np-toolcard span:last-child { font-size: .86rem; color: #64748b; }
.nptool { margin: 22px 0; }
.nptool-controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 16px 18px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px; margin-bottom: 14px; }
.nptool-controls label { display: flex; flex-direction: column; font-size: .74rem; font-weight: 600; color: #64748b; gap: 4px; }
.nptool-controls select, .nptool-controls input { font-size: .92rem; padding: 8px 10px; border: 1px solid #d5dbe3; border-radius: 9px; background: #fff; min-width: 120px; color: #111; }
.nptool-controls input[type="number"] { max-width: 130px; }
.nptool-count { font-size: .82rem; color: #64748b; margin: 0 2px 8px; font-weight: 600; }
.nptool-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nptool-table { width: 100%; border-collapse: collapse; font-size: .92rem; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }
.nptool-table thead th { background: #1f2937; color: #fff; text-align: left; padding: 11px 12px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.nptool-table th.r, .nptool-table td.r { text-align: right; }
.nptool-table tbody td { padding: 10px 12px; border-top: 1px solid #f1f5f9; white-space: nowrap; }
.nptool-table tbody tr:hover { background: #f8fafc; }
.nptool-table a { color: #111; text-decoration: none; font-weight: 600; }
.nptool-table a:hover { color: #0a7d33; text-decoration: underline; }
.npt-tk { color: #9ca3af; font-size: .78rem; font-weight: 500; }

.nptool-add, .nptool-calc { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 16px 18px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px; margin-bottom: 14px; }
.nptool-calc label { display: flex; flex-direction: column; font-size: .74rem; font-weight: 600; color: #64748b; gap: 4px; }
.nptool-add input, .nptool-calc input, .nptool-calc select { font-size: .92rem; padding: 9px 11px; border: 1px solid #d5dbe3; border-radius: 9px; background: #fff; color: #111; }
.nptool-add .npt-sym, .nptool-calc .npt-sym { min-width: 230px; flex: 1; }
.nptool-add .npt-qty, .nptool-add .npt-cost { max-width: 150px; }
.nptool-add button, .nptool-calc button { padding: 10px 18px; border: 0; border-radius: 9px; background: #0a7d33; color: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; }
.nptool-add button:hover, .nptool-calc button:hover { background: #086628; }

.nptool-summary { margin-bottom: 12px; }
.nptool-sumbox { display: flex; flex-wrap: wrap; gap: 26px; padding: 16px 20px; background: #0f2643; color: #fff; border-radius: 14px; }
.nptool-sumbox div { display: flex; flex-direction: column; gap: 3px; }
.nptool-sumbox span { font-size: .76rem; color: #9db3cc; }
.nptool-sumbox strong { font-size: 1.28rem; font-weight: 700; }
.nptool-calcbox strong { font-size: 1.15rem; }
.npt-del { background: none; border: 0; color: #c0392b; font-weight: 700; cursor: pointer; font-size: 1rem; line-height: 1; padding: 2px 6px; }
.npt-del:hover { color: #96271b; }

.nptool-empty { color: #64748b; padding: 18px; text-align: center; background: #f8fafc; border-radius: 12px; }
.nptool-note { font-size: .76rem; color: #9ca3af; margin-top: 10px; }
.nptool-calcnote { font-size: .82rem; color: #64748b; margin-top: 10px; }

@media (max-width: 640px) {
	.nptool-controls, .nptool-add, .nptool-calc { padding: 12px; gap: 10px; }
	.nptool-add .npt-sym, .nptool-calc .npt-sym { min-width: 100%; }
	.nptool-sumbox { gap: 16px; padding: 14px 16px; }
}
