/* ==========================================================================
   WP METALS — Precious Metals & Pawnshop Calculator
   Visual port of the METALS React Native app (src/screens/*).
   Palette: navy #1a1a2e · gold #e0c068 · page #f0f0f5 · blue #1a73e8
   ========================================================================== */

.wpm-root,
.wpm-root * {
	box-sizing: border-box;
}

.wpm-root {
	--wpm-navy: #1a1a2e;
	--wpm-navy2: #2a2a3e;
	--wpm-gold: #e0c068;
	--wpm-page: #f0f0f5;
	--wpm-blue: #1a73e8;
	--wpm-green: #34a853;
	--wpm-purple: #7b1fa2;
	--wpm-red: #c0392b;
	--wpm-teal: #00796b;

	position: relative;
	max-width: 760px;
	margin: 0 auto;
	background: var(--wpm-page);
	border-radius: 12px;
	overflow: hidden;
	color: #222;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

/* Neutralize theme button styling so our own colors always show through. */
.wpm-root button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	margin: 0;
	width: auto;
	min-height: 0;
	max-width: none;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	box-shadow: none;
	text-decoration: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: none;
}

.wpm-root input,
.wpm-root textarea {
	font-family: inherit;
}

/* ───────────────────────────── Splash ───────────────────────────── */

.wpm-splash {
	background: var(--wpm-navy);
	min-height: 460px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 30px;
	animation: wpm-fade 0.4s ease;
}

.wpm-splash img {
	width: 120px;
	height: 120px;
	object-fit: contain;
	margin-bottom: 10px;
}

.wpm-splash-title {
	font-size: 34px;
	font-weight: 700;
	color: var(--wpm-gold);
}

.wpm-splash-sub {
	font-size: 22px;
	color: #c0c0c0;
	margin-top: 2px;
}

.wpm-splash-metals {
	font-size: 13px;
	color: #888;
	margin-top: 12px;
}

@keyframes wpm-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ───────────────────────────── App header ───────────────────────────── */

.wpm-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--wpm-navy);
	padding: 12px 14px;
	gap: 8px;
}

.wpm-header-text {
	flex: 1;
	min-width: 0;
}

.wpm-header-title {
	font-size: 13px;
	color: var(--wpm-gold);
	font-weight: 700;
	margin: 0;
}

.wpm-header-status {
	font-size: 11px;
	color: #aaa;
	margin-top: 1px;
}

.wpm-header-btns {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wpm-btn-setup {
	background: #555;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 6px;
	padding: 5px 8px;
}

.wpm-btn-help {
	width: 28px;
	height: 28px;
	border-radius: 14px;
	background: var(--wpm-gold);
	color: var(--wpm-navy);
	font-size: 15px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ───────────────────────────── Scroll body / sections ───────────────────────────── */

.wpm-scroll {
	padding: 8px 0 24px;
}

.wpm-section {
	background: #fff;
	border-radius: 10px;
	margin: 6px 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wpm-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px 4px;
	gap: 8px;
}

.wpm-section-title {
	font-size: 14px;
	font-weight: 700;
	color: #444;
	margin: 0;
}

.wpm-section-body {
	padding: 0 14px 12px;
}

/* Section header buttons */
.wpm-mini-btn {
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
}

.wpm-btn-math { background: var(--wpm-teal); }
.wpm-btn-trends { background: #1565c0; }

/* ───────────────────────────── Spot prices ───────────────────────────── */

.wpm-price-grid {
	display: flex;
	flex-wrap: wrap;
}

.wpm-price-label {
	width: 50%;
	font-size: 13px;
	padding: 2px 0;
}

.wpm-updated {
	font-size: 11px;
	color: #888;
	margin-top: 6px;
}

.wpm-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.wpm-btn {
	background: var(--wpm-blue);
	color: #fff;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 600;
}

/* ───────────────────────────── Form rows ───────────────────────────── */

.wpm-form-row {
	display: flex;
	gap: 10px;
	margin-bottom: 4px;
	align-items: flex-end;
}

.wpm-field {
	flex: 1;
	min-width: 0;
}

.wpm-label {
	display: block;
	font-size: 13px;
	color: #666;
	margin-bottom: 3px;
}

.wpm-input {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 14px;
	background: #fff;
	color: #222;
}

textarea.wpm-input {
	min-height: 64px;
	resize: vertical;
}

/* Custom dropdown (Picker) */
.wpm-picker {
	position: relative;
}

.wpm-picker-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 14px;
	color: #222;
	text-align: left;
}

.wpm-picker-btn .wpm-picker-val {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpm-picker-arrow {
	font-size: 10px;
	color: #888;
	margin-left: 6px;
}

/* Result row */
.wpm-result-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.wpm-calc-sm {
	background: var(--wpm-blue);
	color: #fff;
	border-radius: 4px;
	padding: 5px 8px;
	font-size: 10px;
	font-weight: 600;
}

.wpm-query-sm {
	background: var(--wpm-purple);
}

.wpm-result-sm {
	font-size: 12px;
	font-weight: 600;
	color: #222;
}

.wpm-result {
	font-size: 15px;
	font-weight: 700;
	margin-top: 8px;
	color: #222;
}

.wpm-add-icon {
	background: var(--wpm-green);
	color: #fff;
	border-radius: 20px;
	width: 36px;
	height: 36px;
	font-size: 22px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	align-self: flex-end;
	margin-bottom: 2px;
}

/* ───────────────────────────── Combo table ───────────────────────────── */

.wpm-create-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.wpm-create-label {
	font-size: 10px;
	color: var(--wpm-gold);
	font-weight: 600;
}

.wpm-sm-btn {
	background: #eee;
	color: #333;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 11px;
}

.wpm-doc-btn {
	color: #fff;
	font-size: 9px;
	padding: 5px 8px;
	border-radius: 4px;
}

.wpm-doc-invoice { background: var(--wpm-blue); }
.wpm-doc-pawn { background: #6a1b9a; }

.wpm-table-head,
.wpm-table-row {
	display: flex;
	align-items: center;
}

.wpm-table-head {
	border-bottom: 1px solid #ddd;
	padding-bottom: 4px;
	margin-top: 10px;
}

.wpm-th {
	font-size: 12px;
	font-weight: 700;
	color: #555;
}

.wpm-table-body {
	max-height: 240px;
	overflow-y: auto;
}

.wpm-table-row {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}

.wpm-table-row.is-selected {
	background: #e8f0fe;
}

.wpm-td {
	font-size: 13px;
}

.wpm-col-metal { flex: 2.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpm-col-purity { flex: 1; text-align: center; }
.wpm-col-weight { flex: 1.2; text-align: center; }
.wpm-col-unit { flex: 1.2; text-align: center; }
.wpm-col-value { flex: 2.5; text-align: right; }

.wpm-empty {
	text-align: center;
	color: #aaa;
	padding: 16px 0;
	font-size: 13px;
}

.wpm-combo-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
	gap: 8px;
	flex-wrap: wrap;
}

.wpm-combo-btns {
	display: flex;
	gap: 8px;
}

.wpm-total {
	font-size: 15px;
	font-weight: 700;
	color: #222;
}

/* ───────────────────────────── Modals (generic) ───────────────────────────── */

.wpm-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 14px;
	animation: wpm-fade 0.15s ease;
}

.wpm-overlay.is-dark { background: rgba(0, 0, 0, 0.6); }

.wpm-dialog {
	background: #fff;
	border-radius: 10px;
	width: 100%;
	max-width: 420px;
	max-height: 88vh;
	overflow-y: auto;
	padding: 20px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.wpm-dialog-wide { max-width: 640px; }

.wpm-dialog-title {
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	margin: 0 0 12px;
}

.wpm-dialog-btn-row {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.wpm-btn-add {
	background: var(--wpm-green);
	color: #fff;
	border-radius: 6px;
	padding: 8px 24px;
	font-size: 13px;
	font-weight: 600;
}

.wpm-btn-cancel {
	background: #888;
	color: #fff;
	border-radius: 6px;
	padding: 8px 24px;
	font-size: 13px;
	font-weight: 600;
}

.wpm-query-result {
	font-size: 18px;
	font-weight: 700;
	color: var(--wpm-purple);
	text-align: center;
	margin: 12px 0 4px;
}

/* Picker dropdown popup */
.wpm-dropdown {
	background: #fff;
	border-radius: 10px;
	width: 75%;
	max-width: 320px;
	max-height: 60vh;
	overflow-y: auto;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.wpm-dropdown-opt {
	padding: 12px 16px;
	font-size: 15px;
	cursor: pointer;
}

.wpm-dropdown-opt:hover { background: #f5f7ff; }
.wpm-dropdown-opt.is-selected { background: #e8f0fe; color: var(--wpm-blue); font-weight: 600; }

/* Checkboxes */
.wpm-check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 4px;
	cursor: pointer;
}

.wpm-check {
	width: 20px;
	height: 20px;
	border: 2px solid #888;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.wpm-check.is-on {
	background: var(--wpm-blue);
	border-color: var(--wpm-blue);
}

.wpm-check-label {
	font-size: 13px;
	color: #333;
}

/* ───────────────────────────── Math modal (dark) ───────────────────────────── */

.wpm-math-dialog {
	background: #1e1e2e;
	color: #ddd;
	max-width: 480px;
	padding: 0;
	overflow: hidden;
}

.wpm-math-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--wpm-navy2);
	padding: 10px 14px;
}

.wpm-math-header .wpm-dialog-title {
	color: #fff;
	margin: 0;
}

.wpm-close-btn {
	width: 28px;
	height: 28px;
	border-radius: 14px;
	background: var(--wpm-red);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpm-math-body {
	padding: 16px;
	max-height: 70vh;
	overflow-y: auto;
}

.wpm-math-time {
	font-size: 11px;
	color: #888;
	margin-bottom: 12px;
}

.wpm-math-row {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	border-bottom: 1px solid #333;
}

.wpm-math-row-label { font-size: 13px; color: #aaa; }
.wpm-math-row-value { font-size: 13px; color: #ddd; text-align: right; }

.wpm-math-divider { height: 1px; background: #444; margin: 14px 0; }
.wpm-math-formula { font-size: 13px; color: #bbb; margin-bottom: 10px; line-height: 1.5; }
.wpm-math-result { font-size: 22px; font-weight: 800; color: var(--wpm-blue); margin-bottom: 4px; }
.wpm-math-auction { font-size: 14px; color: var(--wpm-green); font-weight: 600; }

/* ───────────────────────────── Setup modal ───────────────────────────── */

.wpm-setup-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.wpm-setup-title-group {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.wpm-tmpl-name { font-size: 13px; color: var(--wpm-blue); font-weight: 600; }

.wpm-exit-btn {
	border: 1px solid #888;
	color: #888;
	border-radius: 4px;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 600;
}

.wpm-template-row {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
	margin: 4px 0;
}

.wpm-template-label { font-size: 11px; font-weight: 700; margin-right: 3px; }

.wpm-tmpl-btn {
	border: 1px solid var(--wpm-blue);
	color: var(--wpm-blue);
	border-radius: 4px;
	padding: 2px 7px;
	font-size: 11px;
	font-weight: 600;
}

.wpm-template-divider { width: 8px; }

.wpm-setup-section-label {
	font-size: 14px;
	font-weight: 600;
	display: block;
	margin: 10px 0 4px;
}

.wpm-hint {
	font-size: 12px;
	color: #666;
	margin: 4px 0 12px;
	white-space: pre-line;
}

.wpm-separator {
	height: 1px;
	background: #ddd;
	margin: 12px 0;
}

.wpm-setup-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.wpm-setup-row .wpm-metal-label { font-size: 14px; flex: 1; }

.wpm-setup-row .wpm-input-sm {
	width: 84px;
	text-align: right;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 14px;
}

.wpm-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
}

.wpm-chip {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 5px 10px;
	font-size: 13px;
	color: #444;
	background: #fff;
}

.wpm-chip.is-active {
	border-color: var(--wpm-blue);
	background: #e8f0fe;
	color: var(--wpm-blue);
	font-weight: 700;
}

.wpm-template-doc {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 12px;
	font-family: monospace;
	min-height: 110px;
	color: #333;
	resize: vertical;
}

.wpm-link-row {
	text-align: center;
	padding: 8px 0;
}

.wpm-link {
	color: var(--wpm-blue);
	text-decoration: underline;
	font-size: 14px;
}

/* Toast */
.wpm-toast {
	position: fixed;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(30, 30, 30, 0.9);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border-radius: 20px;
	padding: 10px 20px;
	z-index: 100001;
}

/* ───────────────────────────── Help modal ───────────────────────────── */

.wpm-help-body {
	font-size: 13px;
	color: #333;
	line-height: 1.55;
}

.wpm-help-body h3 {
	font-size: 15px;
	color: var(--wpm-navy);
	margin: 16px 0 6px;
}

.wpm-help-body p { margin: 6px 0; }
.wpm-help-body ul { margin: 6px 0 6px 18px; }
.wpm-help-body code {
	background: #f0f0f5;
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 12px;
}

/* ───────────────────────────── Trends modal ───────────────────────────── */

.wpm-trends-dialog { max-width: 520px; }

.wpm-tab-row,
.wpm-range-row {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 10px;
}

.wpm-tab {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 13px;
	color: #444;
	background: #fff;
}

.wpm-tab.is-active { color: #fff; border-color: transparent; font-weight: 700; }

.wpm-range-label { font-size: 13px; color: #666; }

.wpm-range-btn {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 12px;
	color: #444;
	background: #fff;
}

.wpm-range-btn.is-active { background: var(--wpm-navy); color: #fff; border-color: var(--wpm-navy); }

.wpm-chart-wrap {
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 10px;
	margin: 6px 0;
}

.wpm-trend-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	margin-top: 8px;
}

.wpm-trend-stat strong { display: block; font-size: 11px; color: #888; font-weight: 600; }

.wpm-loading,
.wpm-error {
	text-align: center;
	padding: 30px 10px;
	color: #888;
	font-size: 14px;
}

.wpm-error { color: var(--wpm-red); }

/* Signature canvas */
.wpm-sig-canvas-wrap {
	height: 220px;
	border: 1px solid #ccc;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 10px;
}

.wpm-sig-canvas {
	width: 100%;
	height: 100%;
	display: block;
	touch-action: none;
	cursor: crosshair;
}

.wpm-sig-btn-row {
	display: flex;
	gap: 10px;
	margin-bottom: 8px;
}

.wpm-sig-btn {
	flex: 1;
	padding: 11px;
	border-radius: 6px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.wpm-sig-clear { background: #888; }
.wpm-sig-done { background: var(--wpm-blue); }

.wpm-photo-preview,
.wpm-sig-preview {
	width: 100%;
	max-height: 220px;
	object-fit: contain;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-bottom: 10px;
	background: #f9f9f9;
}

/* Header "Help" labeled button (next to Setup) */
.wpm-btn-help-txt {
	background: var(--wpm-gold);
	color: var(--wpm-navy);
	font-size: 12px;
	font-weight: 700;
	border-radius: 6px;
	padding: 5px 10px;
}

/* Setup modal title-row buttons */
.wpm-setup-title-btns {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wpm-help-btn-sm {
	border: 1px solid var(--wpm-gold);
	background: var(--wpm-gold);
	color: var(--wpm-navy);
	border-radius: 4px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
}

/* Responsive */
@media (max-width: 520px) {
	.wpm-header-title { font-size: 12px; }
	.wpm-price-label { width: 100%; }
	.wpm-splash-title { font-size: 28px; }
	.wpm-splash-sub { font-size: 18px; }
}

/* ==========================================================================
   THEME HARDENING — force our button colors to win over the active theme.
   Many themes restyle <button> (transparent backgrounds, inherited text
   color, big paddings) which can make our action buttons "disappear".
   These high-specificity rules (.wpm-root .class) + !important guarantee
   the calculator's buttons stay visible and legible everywhere.
   ========================================================================== */

.wpm-root .wpm-btn,
.wpm-root .wpm-calc-sm,
.wpm-root .wpm-query-sm,
.wpm-root .wpm-mini-btn,
.wpm-root .wpm-btn-math,
.wpm-root .wpm-btn-trends,
.wpm-root .wpm-doc-btn,
.wpm-root .wpm-doc-invoice,
.wpm-root .wpm-doc-pawn,
.wpm-root .wpm-add-icon,
.wpm-root .wpm-sm-btn,
.wpm-root .wpm-btn-add,
.wpm-root .wpm-btn-cancel,
.wpm-root .wpm-btn-setup,
.wpm-root .wpm-btn-help,
.wpm-root .wpm-btn-help-txt,
.wpm-root .wpm-help-btn-sm,
.wpm-root .wpm-exit-btn,
.wpm-root .wpm-tmpl-btn,
.wpm-root .wpm-chip,
.wpm-root .wpm-close-btn,
.wpm-root .wpm-sig-btn,
.wpm-root .wpm-tab,
.wpm-root .wpm-range-btn,
.wpm-root .wpm-picker-btn {
	box-shadow: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	background-image: none !important;
	min-height: 0 !important;
	width: auto !important;
	cursor: pointer !important;
	opacity: 1 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

/* Explicit background + text colors (with !important) per button type */
.wpm-root .wpm-btn { background-color: var(--wpm-blue) !important; color: #fff !important; }
.wpm-root .wpm-calc-sm { background-color: var(--wpm-blue) !important; color: #fff !important; }
.wpm-root .wpm-query-sm { background-color: var(--wpm-purple) !important; color: #fff !important; }
.wpm-root .wpm-btn-math { background-color: var(--wpm-teal) !important; color: #fff !important; }
.wpm-root .wpm-btn-trends { background-color: #1565c0 !important; color: #fff !important; }
.wpm-root .wpm-doc-invoice { background-color: var(--wpm-blue) !important; color: #fff !important; }
.wpm-root .wpm-doc-pawn { background-color: #6a1b9a !important; color: #fff !important; }
.wpm-root .wpm-add-icon { background-color: var(--wpm-green) !important; color: #fff !important; }
.wpm-root .wpm-sm-btn { background-color: #e4e4ea !important; color: #222 !important; }
.wpm-root .wpm-btn-add { background-color: var(--wpm-green) !important; color: #fff !important; }
.wpm-root .wpm-btn-cancel { background-color: #888 !important; color: #fff !important; }
.wpm-root .wpm-btn-setup { background-color: #555 !important; color: #fff !important; }
.wpm-root .wpm-btn-help-txt { background-color: var(--wpm-gold) !important; color: var(--wpm-navy) !important; }
.wpm-root .wpm-help-btn-sm { background-color: var(--wpm-gold) !important; color: var(--wpm-navy) !important; }
.wpm-root .wpm-exit-btn { background-color: #fff !important; color: #888 !important; }
.wpm-root .wpm-tmpl-btn { background-color: #fff !important; color: var(--wpm-blue) !important; }
.wpm-root .wpm-close-btn { background-color: var(--wpm-red) !important; color: #fff !important; }
.wpm-root .wpm-picker-btn { background-color: #fff !important; color: #222 !important; }

/* Make the small Calculate / Query buttons easier to see and tap */
.wpm-root .wpm-calc-sm,
.wpm-root .wpm-query-sm {
	font-size: 12px !important;
	font-weight: 700 !important;
	padding: 8px 14px !important;
	border-radius: 6px !important;
}

/* Primary spot-price button a touch larger too */
.wpm-root .wpm-btn {
	font-size: 13px !important;
	font-weight: 700 !important;
	padding: 8px 14px !important;
	border-radius: 6px !important;
}

/* Keep inputs/selects readable regardless of theme */
.wpm-root .wpm-input,
.wpm-root .wpm-input-sm,
.wpm-root .wpm-picker-btn {
	background-color: #fff !important;
	color: #222 !important;
	box-shadow: none !important;
}
