/* OnlyHash Rigs — Flow A3 dark-neon components (self-contained; works with any theme). */
.oh-configurator, .oh-catalog, .oh-myrigs, .oh-preview-badge, .oh-terms-row {
	--oh-cyan: #00f0ff;
	--oh-magenta: #ff2bd6;
	--oh-amber: #ffb300;
	--oh-purple: #9d4bff;
	--oh-ok: #3cff9a;
	--oh-text: #e8eef7;
	--oh-muted: #8b95a8;
	--oh-dim: #5c6578;
	--oh-card: #0c0f18;
	font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Preview badge */
.oh-preview-badge {
	display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 99px;
	font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
	color: var(--oh-amber); border: 1px solid rgba(255, 179, 0, 0.45); background: rgba(255, 179, 0, 0.08);
}

/* Configurator */
.oh-configurator {
	display: grid; gap: 12px; margin: 0 0 16px; padding: 14px; text-align: left;
	border: 1px solid rgba(0, 240, 255, 0.18); border-radius: 12px; color: var(--oh-text);
	background: linear-gradient(180deg, rgba(0, 240, 255, 0.045), rgba(12, 15, 24, 0.65) 40%), var(--oh-card);
}
.oh-configurator .oh-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.oh-configurator legend, .oh-configurator label:not(.oh-pillopt) {
	display: block; padding: 0; margin: 0 0 6px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oh-muted); line-height: 1.4;
}
.oh-configurator .oh-req { color: var(--oh-magenta); }
.oh-configurator input[type="text"] {
	display: block; width: 100%; max-width: 100%; min-height: 44px; padding: 10px 12px; box-sizing: border-box;
	border: 1px solid rgba(0, 240, 255, 0.2); border-radius: 10px; background: rgba(0, 0, 0, 0.35);
	color: var(--oh-text); font-family: inherit; font-size: 13px;
}
.oh-configurator input[type="text"]:focus { outline: none; border-color: var(--oh-cyan); box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.18); }
.oh-configurator input::placeholder { color: var(--oh-dim); }
.oh-field--host[hidden] { display: none; }
.oh-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.oh-pillopt { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.oh-pillopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oh-pillopt span {
	display: inline-block; padding: 9px 14px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
	border: 1px solid rgba(0, 240, 255, 0.25); background: rgba(0, 0, 0, 0.28); color: var(--oh-muted); text-transform: none; transition: all 0.15s;
}
.oh-pillopt:hover span { border-color: var(--oh-cyan); color: var(--oh-text); }
.oh-pillopt input:checked + span {
	color: #031318; background: var(--oh-cyan); border-color: var(--oh-cyan); box-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}
.oh-pillopt input:focus-visible + span { outline: 2px solid var(--oh-cyan); outline-offset: 2px; }
.oh-secnote {
	margin: 8px 0 0; padding: 8px 10px; font-size: 11px; line-height: 1.45; color: #e8b4dc;
	border: 1px solid rgba(255, 43, 214, 0.3); border-radius: 10px; background: rgba(255, 43, 214, 0.06);
}

/* Catalog shortcode */
.oh-catalog { display: grid; gap: 28px; color: var(--oh-text); }
.oh-catalog__title { margin: 0 0 12px; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; font-family: "Orbitron", system-ui, sans-serif; }
.oh-catalog__title span { margin-left: 8px; font-size: 10px; letter-spacing: 0.14em; color: var(--oh-dim); font-family: inherit; }
.oh-catalog__grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.oh-rigcard {
	padding: 14px; border: 1px solid rgba(0, 240, 255, 0.18); border-radius: 12px;
	background: linear-gradient(180deg, rgba(0, 240, 255, 0.045), rgba(12, 15, 24, 0.65) 40%), var(--oh-card);
}
.oh-rigcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.oh-rigcard__head h4 { margin: 0; font-family: "Orbitron", system-ui, sans-serif; font-size: 13px; letter-spacing: 0.06em; }
.oh-rigcard__head a { color: var(--oh-text); text-decoration: none; }
.oh-chip {
	flex-shrink: 0; padding: 3px 8px; border-radius: 99px; font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--oh-cyan); border: 1px solid rgba(0, 240, 255, 0.35); background: rgba(0, 240, 255, 0.08);
}
.oh-rigcard__price { margin: 8px 0; font-family: "Orbitron", system-ui, sans-serif; font-size: 18px; font-weight: 700; color: var(--oh-cyan); text-shadow: 0 0 12px rgba(0, 240, 255, 0.35); }
.oh-rigcard__details > summary {
	cursor: pointer; list-style: none; padding: 12px 16px; text-align: center; border-radius: 12px;
	font-family: "Orbitron", system-ui, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
	color: #031318; background: linear-gradient(180deg, #5ff7ff, var(--oh-cyan) 40%, #00c4d1); box-shadow: 0 0 22px rgba(0, 240, 255, 0.35);
}
.oh-rigcard__details > summary::-webkit-details-marker { display: none; }
.oh-rigcard__details[open] > summary { margin-bottom: 12px; background: transparent; color: var(--oh-muted); box-shadow: none; border: 1px solid rgba(139, 149, 168, 0.3); }
.oh-rigcard__actions { display: flex; gap: 10px; align-items: stretch; }
.oh-rigcard__actions .qty { width: 72px; min-height: 46px; text-align: center; border-radius: 10px; border: 1px solid rgba(0, 240, 255, 0.2); background: rgba(0, 0, 0, 0.35); color: var(--oh-text); font-family: inherit; }
.oh-rigcard__actions .button { flex: 1; }
.oh-empty { color: var(--oh-muted); }

/* Checkout checkbox (classic) */
.oh-terms-row { margin: 0 0 14px; padding: 12px; border: 1px solid rgba(0, 240, 255, 0.25); border-radius: 10px; background: rgba(0, 240, 255, 0.05); }
.oh-terms-row label { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--oh-text); }
.oh-terms-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--oh-cyan); }

/* My Rigs */
.oh-myrigs { color: var(--oh-text); }
.oh-myrigs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.oh-myrigs__head h2 { margin: 0; font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; font-family: "Orbitron", system-ui, sans-serif; }
.oh-myrigs__empty { padding: 20px; text-align: center; color: var(--oh-muted); border: 1px dashed rgba(0, 240, 255, 0.3); border-radius: 12px; background: rgba(0, 240, 255, 0.03); }
.oh-rigorder {
	margin: 0 0 12px; padding: 14px; border: 1px solid rgba(0, 240, 255, 0.28); border-radius: 12px;
	background: linear-gradient(180deg, rgba(0, 240, 255, 0.045), rgba(12, 15, 24, 0.65) 40%), var(--oh-card);
	box-shadow: 0 0 16px rgba(0, 240, 255, 0.08);
}
.oh-rigorder--deploying { border-color: rgba(157, 75, 255, 0.5); box-shadow: 0 0 18px rgba(157, 75, 255, 0.16); }
.oh-rigorder--extended { border-color: rgba(255, 179, 0, 0.45); box-shadow: 0 0 18px rgba(255, 179, 0, 0.12); }
.oh-rigorder--completed { opacity: 0.75; border-color: rgba(139, 149, 168, 0.3); box-shadow: none; }
.oh-rigorder--queued { border-color: rgba(255, 43, 214, 0.4); box-shadow: 0 0 16px rgba(255, 43, 214, 0.1); }
.oh-rigorder__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.oh-rigorder__id { font-family: "Orbitron", system-ui, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.oh-rigorder__date { font-size: 10px; color: var(--oh-muted); }
.oh-badge {
	display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 8px; border-radius: 99px; border: 1px solid currentColor;
	font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.oh-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.oh-badge--queued { color: var(--oh-magenta); background: rgba(255, 43, 214, 0.1); }
.oh-badge--deploying { color: var(--oh-purple); background: rgba(157, 75, 255, 0.1); }
.oh-badge--active { color: var(--oh-cyan); background: rgba(0, 240, 255, 0.08); }
.oh-badge--extended { color: var(--oh-amber); background: rgba(255, 179, 0, 0.1); }
.oh-badge--completed { color: var(--oh-muted); background: rgba(139, 149, 168, 0.08); border-color: rgba(139, 149, 168, 0.45); }
.oh-badge--completed .oh-badge__dot { box-shadow: none; }
.oh-rigline { padding: 10px 0; border-top: 1px solid rgba(0, 240, 255, 0.12); }
.oh-rigline__name { font-family: "Orbitron", system-ui, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }
.oh-rigline__meta, .oh-rigorder__live { display: grid; gap: 6px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.oh-rigline__meta > div, .oh-rigorder__live > div { min-width: 0; }
.oh-rigline__meta dt, .oh-rigorder__live dt { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oh-dim); }
.oh-rigline__meta dd, .oh-rigorder__live dd { margin: 0; font-size: 12px; color: var(--oh-text); overflow-wrap: anywhere; }
.oh-rigorder__live { padding: 10px 0 0; border-top: 1px solid rgba(0, 240, 255, 0.12); }
.oh-rigorder__live a { color: var(--oh-cyan); }
.oh-rigorder__foot { margin-top: 10px; font-size: 11px; }
.oh-rigorder__foot a { color: var(--oh-muted); }

@media (min-width: 600px) {
	.oh-catalog__grid { grid-template-columns: repeat(2, 1fr); }
	.oh-rigline__meta, .oh-rigorder__live { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.oh-catalog__grid { grid-template-columns: repeat(3, 1fr); }
}
