/* ==========================================================================
   Nexus PC Quotation Builder — frontend
   Palette: Nexus red / carbon black / white
   ========================================================================== */

.npb-app {
	--npb-red: #e01f26;
	--npb-red-dark: #a5141a;
	--npb-black: #0b0b0d;
	--npb-panel: #131317;
	--npb-panel-2: #1b1b21;
	--npb-line: #2a2a32;
	--npb-white: #ffffff;
	--npb-muted: #9a9aa6;
	--npb-green: #2fbf71;
	--npb-amber: #f5a623;
	--npb-radius: 10px;
	--npb-display: "Aldrich", "Rajdhani", system-ui, sans-serif;
	--npb-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	background: var(--npb-black);
	color: var(--npb-white);
	font-family: var(--npb-body);
	padding: 22px;
	border-radius: 14px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
	max-width: 1560px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* Full-page layout: JS measures the container and breaks the builder out of it. */
.npb-app.is-full {
	max-width: none;
	border-radius: 14px;
	padding: 24px clamp(18px, 2.2vw, 40px);
}

.npb-app *,
.npb-app *::before,
.npb-app *::after { box-sizing: border-box; }

.npb-app button { font-family: var(--npb-display); cursor: pointer; }

/* ---------- Top bar ---------- */

.npb-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 18px;
	padding: 14px 18px;
	background: linear-gradient(100deg, #17171c 0%, #0f0f13 55%, #1d0c0e 100%);
	border: 1px solid var(--npb-line);
	border-radius: var(--npb-radius);
	position: relative;
	overflow: hidden;
}

.npb-top::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -40px;
	width: 220px;
	height: 200px;
	background: var(--npb-red);
	opacity: .16;
	transform: skewX(-18deg);
	pointer-events: none;
}

/* Left zone: the logo. */
.npb-top-brand {
	justify-self: start;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
}

/* Centre zone: the title. */
.npb-top-heads {
	justify-self: center;
	text-align: center;
	line-height: 1.2;
	position: relative;
	z-index: 1;
}

/* Height comes from the Logo height setting and is re-asserted inline. */
.npb-app img.npb-logo { height: 96px; width: auto; display: block; }

.npb-title {
	font-family: var(--npb-display);
	font-size: clamp(20px, 2.4vw, 30px);
	letter-spacing: 2px;
	margin: 0;
	color: var(--npb-white);
}

.npb-sub { margin: 4px 0 0; color: var(--npb-muted); font-size: 13px; }

.npb-top-actions { justify-self: end; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.npb-loaded {
	font-family: var(--npb-display);
	font-size: 11px;
	letter-spacing: 1.4px;
	color: var(--npb-muted);
	border: 1px dashed var(--npb-line);
	padding: 7px 12px;
	border-radius: 999px;
}

.npb-loaded.is-ready { color: var(--npb-green); border-color: rgba(47, 191, 113, .4); border-style: solid; }

/* ---------- Buttons ---------- */

.npb-btn {
	font-size: 12px;
	letter-spacing: 1.4px;
	padding: 11px 18px;
	border-radius: 8px;
	border: 1px solid transparent;
	transition: transform .12s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}

.npb-btn:active { transform: translateY(1px); }

.npb-btn-primary { background: var(--npb-red); color: #fff; }
.npb-btn-primary:hover { background: #f52a32; }

.npb-btn-dark { background: var(--npb-panel-2); color: #fff; border-color: var(--npb-line); }
.npb-btn-dark:hover { border-color: var(--npb-red); color: var(--npb-red); }

.npb-btn-ghost { background: transparent; color: #fff; border-color: var(--npb-line); }
.npb-btn-ghost:hover { border-color: var(--npb-red); color: var(--npb-red); }

.npb-btn-wa { background: #1faa54; color: #fff; }
.npb-btn-wa:hover { background: #24c162; }

.npb-btn-block { display: block; width: auto; min-width: 200px; margin: 18px auto 0; }

.npb-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Layout ---------- */

.npb-grid {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr) 370px;
	gap: 24px;
	margin-top: 20px;
	align-items: start;
}

/* ---------- Slot rail ---------- */

.npb-rail {
	background: var(--npb-panel);
	border: 1px solid var(--npb-line);
	border-radius: var(--npb-radius);
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	max-height: 78vh;
	overflow-y: auto;
	position: sticky;
	top: 16px;
}

.npb-slot {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 12px 12px;
	text-align: left;
	color: var(--npb-white);
	position: relative;
}

.npb-slot:hover { background: var(--npb-panel-2); }

.npb-slot.is-active {
	background: linear-gradient(90deg, rgba(224, 31, 38, .22), rgba(224, 31, 38, 0));
	border-color: rgba(224, 31, 38, .45);
}

.npb-slot.is-active::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 8px;
	bottom: 8px;
	width: 3px;
	background: var(--npb-red);
	transform: skewY(-8deg);
}

.npb-slot-icon { width: 26px; height: 26px; color: var(--npb-red); flex: none; }
.npb-slot-icon svg { width: 100%; height: 100%; }
.npb-slot.is-filled .npb-slot-icon { color: var(--npb-green); }

.npb-slot-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }

.npb-slot-label {
	font-family: var(--npb-display);
	font-size: 11.5px;
	letter-spacing: 1.1px;
}

.npb-req { color: var(--npb-red); font-style: normal; margin-left: 3px; }

.npb-slot-pick {
	font-size: 11px;
	color: var(--npb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 160px;
	margin-top: 2px;
}

.npb-slot.is-filled .npb-slot-pick { color: #d8d8e0; }

.npb-slot-state { width: 8px; height: 8px; border-radius: 50%; background: var(--npb-line); flex: none; }
.npb-slot.is-filled .npb-slot-state { background: var(--npb-green); }
.npb-slot.has-warning .npb-slot-state { background: var(--npb-amber); }

/* ---------- Browser ---------- */

.npb-browser {
	background: var(--npb-panel);
	border: 1px solid var(--npb-line);
	border-radius: var(--npb-radius);
	padding: 20px;
	min-height: 60vh;
}

.npb-browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.npb-browser-title {
	font-family: var(--npb-display);
	font-size: 17px;
	letter-spacing: 1.6px;
	margin: 0;
	padding-left: 12px;
	border-left: 4px solid var(--npb-red);
}

.npb-browser-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.npb-input {
	background: var(--npb-panel-2);
	border: 1px solid var(--npb-line);
	color: var(--npb-white);
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 13px;
	font-family: var(--npb-body);
	min-width: 150px;
}

.npb-input:focus { outline: 2px solid var(--npb-red); outline-offset: 1px; }
.npb-input::placeholder { color: #6d6d78; }
.npb-select { min-width: 165px; }

.npb-check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--npb-muted); }
.npb-check input { accent-color: var(--npb-red); }

.npb-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; }

.npb-chip {
	background: var(--npb-panel-2);
	border: 1px solid var(--npb-line);
	color: var(--npb-muted);
	font-size: 11px;
	padding: 5px 11px;
	border-radius: 999px;
	font-family: var(--npb-body);
}

.npb-chip.is-active { background: var(--npb-red); border-color: var(--npb-red); color: #fff; }

.npb-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: 18px;
	margin-top: 18px;
	max-height: 66vh;
	overflow-y: auto;
	padding-right: 4px;
}

.npb-card {
	background: var(--npb-panel-2);
	border: 1px solid var(--npb-line);
	border-radius: 10px;
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color .15s ease, transform .15s ease;
	position: relative;
}

.npb-card:hover { border-color: var(--npb-red); transform: translateY(-2px); }
.npb-card.is-picked { border-color: var(--npb-green); }
.npb-card.is-incompatible { opacity: .45; }

.npb-card-img {
	background: #fff;
	border-radius: 8px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.npb-app .npb-card-img img { max-height: 110px; max-width: 100%; object-fit: contain; }

.npb-card-name { font-size: 12.5px; line-height: 1.35; font-weight: 600; min-height: 34px; }

.npb-card-meta { display: flex; flex-wrap: wrap; gap: 4px; }

.npb-tag {
	font-size: 9.5px;
	letter-spacing: .5px;
	padding: 3px 7px;
	border-radius: 4px;
	background: #24242c;
	color: var(--npb-muted);
	text-transform: uppercase;
}

.npb-tag-new { background: rgba(47, 191, 113, .16); color: #63d99a; }
.npb-tag-used { background: rgba(245, 166, 35, .16); color: #f5c069; }
.npb-tag-out { background: rgba(224, 31, 38, .16); color: #ff7a80; }

.npb-card-price { font-family: var(--npb-display); font-size: 15px; color: var(--npb-white); }
.npb-card-was { font-size: 11px; color: var(--npb-muted); text-decoration: line-through; margin-left: 6px; }

.npb-card-actions { display: flex; gap: 6px; margin-top: auto; }

.npb-pick-btn {
	flex: 1;
	background: var(--npb-red);
	color: #fff;
	border: none;
	border-radius: 7px;
	padding: 9px;
	font-size: 11px;
	letter-spacing: 1px;
}

.npb-pick-btn:hover { background: #f52a32; }
.npb-card.is-picked .npb-pick-btn { background: var(--npb-green); }

.npb-view-btn {
	background: transparent;
	border: 1px solid var(--npb-line);
	color: var(--npb-muted);
	border-radius: 7px;
	padding: 9px 10px;
	font-size: 11px;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.npb-view-btn:hover { color: var(--npb-white); border-color: var(--npb-white); }

.npb-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--npb-muted);
	padding: 50px 20px;
	font-size: 13px;
	border: 1px dashed var(--npb-line);
	border-radius: 10px;
}

/* ---------- Summary ---------- */

.npb-summary {
	background: var(--npb-panel);
	border: 1px solid var(--npb-line);
	border-radius: var(--npb-radius);
	padding: 18px;
	position: sticky;
	top: 16px;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 32px);
	overflow: hidden;
}

/* Only this part scrolls, so the totals and buttons never leave the screen. */
.npb-summary-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding-right: 6px;
	margin-right: -6px;
}

.npb-summary-foot {
	flex: 0 0 auto;
	background: var(--npb-panel);
	border-top: 1px solid var(--npb-line);
	margin-top: 12px;
	padding-top: 12px;
}

.npb-summary-foot .npb-totals { margin-top: 0; border-top: none; padding-top: 0; }

.npb-summary-title {
	font-family: var(--npb-display);
	font-size: 13px;
	letter-spacing: 1.6px;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--npb-red);
}

.npb-power { background: var(--npb-panel-2); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.npb-power-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--npb-muted); }
.npb-power-head strong { font-family: var(--npb-display); color: var(--npb-white); }

.npb-power-bar { height: 5px; background: #26262e; border-radius: 999px; margin: 8px 0 6px; overflow: hidden; }
.npb-power-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--npb-red), #ff6a3d); transition: width .3s ease; }
.npb-power-note { margin: 0; font-size: 11px; color: var(--npb-muted); line-height: 1.4; }

.npb-alerts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }

.npb-alert {
	font-size: 11.5px;
	line-height: 1.45;
	padding: 8px 10px;
	border-radius: 7px;
	border-left: 3px solid var(--npb-amber);
	background: rgba(245, 166, 35, .1);
	color: #ffd493;
}

.npb-alert.is-error { border-color: var(--npb-red); background: rgba(224, 31, 38, .12); color: #ff9ba0; }

.npb-lines { display: flex; flex-direction: column; }

.npb-line { border-bottom: 1px solid var(--npb-line); padding: 9px 0; }
.npb-line-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.npb-line-slot { font-family: var(--npb-display); font-size: 10.5px; letter-spacing: 1px; color: var(--npb-muted); }

.npb-line-add {
	background: transparent;
	border: 1px dashed var(--npb-line);
	color: var(--npb-muted);
	font-size: 10px;
	letter-spacing: 1px;
	padding: 4px 9px;
	border-radius: 5px;
}

.npb-line-add:hover { color: var(--npb-red); border-color: var(--npb-red); }

.npb-line.is-filled .npb-line-slot { color: var(--npb-red); }
.npb-line-body { margin-top: 7px; display: flex; align-items: center; gap: 8px; }
.npb-app img.npb-line-thumb { width: 34px; height: 34px; background: #fff; border-radius: 5px; flex: none; object-fit: contain; }
.npb-line-info { flex: 1; min-width: 0; }
.npb-line-name { font-size: 11.5px; line-height: 1.3; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.npb-line-price { font-size: 11px; color: var(--npb-muted); }

.npb-qty { display: flex; align-items: center; gap: 3px; }
.npb-qty button {
	width: 20px; height: 20px;
	background: var(--npb-panel-2);
	border: 1px solid var(--npb-line);
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.npb-qty button:hover { border-color: var(--npb-red); }
.npb-qty span { font-size: 11px; min-width: 16px; text-align: center; }

.npb-line-remove { background: none; border: none; color: #6d6d78; font-size: 15px; padding: 0 2px; }
.npb-line-remove:hover { color: var(--npb-red); }

.npb-staff { margin-top: 12px; background: rgba(224, 31, 38, .07); border: 1px dashed rgba(224, 31, 38, .35); border-radius: 8px; padding: 10px; }
.npb-staff-label { display: block; font-size: 11px; color: var(--npb-muted); margin-bottom: 5px; }
.npb-staff .npb-input { width: 100%; }

.npb-totals { margin-top: 14px; border-top: 1px solid var(--npb-line); padding-top: 12px; }
.npb-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--npb-muted); margin-bottom: 6px; }
.npb-total-row strong { color: var(--npb-white); font-family: var(--npb-display); }
.npb-total-grand { font-size: 13px; color: var(--npb-white); }
.npb-total-grand strong { color: var(--npb-red); font-size: 20px; }

.npb-summary-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.npb-summary-actions .npb-btn { width: 100%; }

/* ---------- Mobile bar ---------- */

.npb-mobilebar {
	display: none;
	position: sticky;
	bottom: 0;
	margin: 12px -18px -18px;
	padding: 12px 16px;
	background: rgba(11, 11, 13, .96);
	border-top: 2px solid var(--npb-red);
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	z-index: 20;
}

.npb-mobilebar-label { display: block; font-size: 10px; letter-spacing: 1px; color: var(--npb-muted); font-family: var(--npb-display); }
.npb-mobilebar strong { font-family: var(--npb-display); font-size: 17px; color: var(--npb-red); }

/* ---------- Modals ---------- */

.npb-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .78);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	z-index: 99999;
	overflow-y: auto;
}

.npb-modal[hidden] { display: none; }

.npb-modal-box {
	background: var(--npb-panel);
	border: 1px solid var(--npb-line);
	border-top: 3px solid var(--npb-red);
	border-radius: 12px;
	padding: 22px;
	width: min(760px, 100%);
	max-height: 92vh;
	overflow-y: auto;
	position: relative;
	color: var(--npb-white);
	font-family: var(--npb-body);
}

.npb-modal-slim { width: min(460px, 100%); text-align: center; }
.npb-modal-slim .npb-field { text-align: left; }

.npb-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	color: var(--npb-muted);
	font-size: 26px;
	line-height: 1;
}

.npb-modal-close:hover { color: var(--npb-red); }

.npb-modal-title { font-family: var(--npb-display); font-size: 18px; letter-spacing: 1.6px; margin: 0 0 4px; }
.npb-modal-sub { color: var(--npb-muted); font-size: 12.5px; margin: 0 0 16px; }

.npb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.npb-field { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; color: var(--npb-muted); }
.npb-field-wide { grid-column: 1 / -1; }
.npb-field .npb-input { width: 100%; }

.npb-preview { margin: 16px 0; border: 1px solid var(--npb-line); border-radius: 8px; overflow: hidden; }
.npb-preview table { width: 100%; border-collapse: collapse; font-size: 12px; }
.npb-preview th { background: #24242c; text-align: left; padding: 8px 10px; font-family: var(--npb-display); font-size: 10.5px; letter-spacing: 1px; color: var(--npb-muted); }
.npb-preview td { padding: 8px 10px; border-top: 1px solid var(--npb-line); vertical-align: top; }
.npb-preview .npb-pv-sub { color: var(--npb-muted); font-size: 10.5px; display: block; margin-top: 2px; }
.npb-preview .npb-pv-num { text-align: right; white-space: nowrap; }
.npb-preview tfoot td { border-top: 1px solid var(--npb-line); font-family: var(--npb-display); }
.npb-preview tfoot tr:last-child td { color: var(--npb-red); font-size: 14px; }

.npb-modal-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.npb-modal-actions .npb-btn { flex: 1; min-width: 150px; }
.npb-modal-status { font-size: 12px; color: var(--npb-muted); margin: 12px 0 0; min-height: 18px; }
.npb-modal-status.is-error { color: #ff9ba0; }
.npb-modal-status.is-ok { color: #63d99a; }

.npb-auto-tiers { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.npb-tier, .npb-use {
	background: var(--npb-panel-2);
	border: 1px solid var(--npb-line);
	color: #fff;
	border-radius: 8px;
	padding: 11px 18px;
	font-size: 12px;
	text-align: center;
	min-width: 122px;
}
.npb-tier:hover, .npb-use:hover { border-color: var(--npb-red); }
.npb-tier.is-active, .npb-use.is-active { background: var(--npb-red); border-color: var(--npb-red); }
.npb-auto-use { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }

/* ---------- Toast ---------- */

.npb-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	background: var(--npb-panel-2);
	border: 1px solid var(--npb-red);
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 13px;
	z-index: 100000;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
	max-width: 90vw;
}

.npb-toast[hidden] { display: none; }

/* ---------- Scrollbars ---------- */

.npb-rail::-webkit-scrollbar,
.npb-products::-webkit-scrollbar,
.npb-summary::-webkit-scrollbar { width: 7px; }

.npb-rail::-webkit-scrollbar-thumb,
.npb-products::-webkit-scrollbar-thumb,
.npb-summary::-webkit-scrollbar-thumb { background: #2f2f38; border-radius: 999px; }

.npb-rail::-webkit-scrollbar-thumb:hover,
.npb-products::-webkit-scrollbar-thumb:hover,
.npb-summary::-webkit-scrollbar-thumb:hover { background: var(--npb-red); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.npb-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
	.npb-top-brand { order: 1; }
	.npb-top-heads { order: 2; }
	.npb-top-actions { order: 3; justify-self: center; justify-content: center; }
	.npb-title { white-space: normal; }
}

@media (max-width: 1200px) {
	.npb-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 18px; }
	.npb-summary { grid-column: 1 / -1; position: static; max-height: none; overflow: visible; }
	.npb-summary-scroll { overflow: visible; }
}

@media (max-width: 820px) {
	.npb-app, .npb-app.is-full { padding: 16px 14px; border-radius: 10px; }
	.npb-grid { grid-template-columns: 1fr; }

	.npb-rail {
		flex-direction: row;
		overflow-x: auto;
		position: static;
		max-height: none;
		padding: 8px;
	}

	.npb-slot { flex: 0 0 auto; width: auto; min-width: 132px; }
	.npb-slot.is-active::before { display: none; }
	.npb-slot-pick { max-width: 110px; }

	.npb-summary { display: none; }
	.npb-summary.is-open { display: flex; position: fixed; inset: 10px; z-index: 30; max-height: none; overflow: hidden; }
	.npb-summary.is-open .npb-summary-scroll { overflow-y: auto; }
	.npb-mobilebar { display: flex; }
	.npb-form { grid-template-columns: 1fr; }
	.npb-products { max-height: none; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
	.npb-browser-tools { width: 100%; }
	.npb-browser-tools .npb-input { flex: 1; min-width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
	.npb-app * { transition: none !important; animation: none !important; }
}

/* Keyboard focus */
.npb-app button:focus-visible,
.npb-app a:focus-visible,
.npb-app input:focus-visible,
.npb-app select:focus-visible { outline: 2px solid var(--npb-red); outline-offset: 2px; }

/* ==========================================================================
   Theme guard — keeps WooCommerce themes from repainting our controls.
   Every selector is scoped to .npb-app so it outranks bare button/input rules,
   including ones the theme marks !important.
   ========================================================================== */

.npb-app button,
.npb-app input,
.npb-app select,
.npb-app textarea,
.npb-app .npb-view-btn {
	background-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	min-height: 0 !important;
	line-height: 1.2 !important;
	margin: 0;
	width: auto;
	font-family: inherit;
}

.npb-app .npb-btn,
.npb-app .npb-pick-btn,
.npb-app .npb-chip,
.npb-app .npb-line-add,
.npb-app .npb-tier,
.npb-app .npb-use { text-transform: none !important; }

.npb-app .npb-field .npb-input,
.npb-app .npb-staff .npb-input { width: 100% !important; }
