/*
 * Opportunita Support — Contact & Report V2 (0.10.0).
 *
 * One guided surface for /contact/ (+ the #report anchor): chooser → two-step
 * form → success. Scoped entirely to `.opc2`. Role tokens (`--opx-*` for the
 * UI, `--sc-*` for the isometric illustrations) are defined three times —
 * Light on the bare class, Dim and Dark Contrast under the site's
 * `html[data-op-theme=…]` switch — with every value drawn from the platform
 * palette in opportunita-frontend.css.
 *
 * Layout responds with container queries at 1080px and 720px on the root,
 * not viewport media queries. Accent rule: teal is "Ask", amber is "Report";
 * a choice card sets `--ac`/`--ac-soft` from data-accent and everything
 * accent-coloured inside reads those two variables.
 */

.opc2 {
	/* ---- Light (default) ---- */
	--opx-bg: var(--op-white, #ffffff);
	--opx-surface: var(--op-white, #ffffff);
	--opx-surface-2: var(--op-slate-50, #f8fafc);
	--opx-surface-3: var(--op-slate-100, #f1f5f9);
	--opx-text: var(--op-slate-900, #0f172a);
	--opx-text-muted: var(--op-slate-600, #475569);
	--opx-text-quiet: var(--op-slate-500, #64748b);
	--opx-border: var(--op-slate-200, #e2e8f0);
	--opx-border-strong: var(--op-slate-300, #cbd5e1);
	--opx-accent: var(--op-teal-600, #0d9488);
	--opx-accent-2: var(--op-teal-700, #0f766e);
	--opx-accent-soft: rgba(13, 148, 136, 0.08);
	--opx-on-accent: #ffffff;
	--opx-ink: var(--op-slate-900, #0f172a);
	--opx-on-ink: #ffffff;
	--opx-dot: rgba(15, 23, 42, 0.16);
	--opx-warn: var(--op-amber-600, #d97706);
	--opx-warn-soft: rgba(217, 119, 6, 0.10);
	--opx-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
	--opx-shadow-xl: 0 26px 60px rgba(15, 23, 42, 0.13);
	/* Illustration faces / contour / accents. */
	--sc-1: #ffffff;
	--sc-2: #e5ebf2;
	--sc-3: #d3dbe5;
	--sc-line: #0f172a;
	--sc-ghost: #c3ccd8;
	--sc-shadow: rgba(15, 23, 42, 0.22);
	--sc-glass: rgba(13, 148, 136, 0.14);
	--sc-accent-2: #5eead4;
	--sc-warn-2: #b45309;

	container-type: inline-size;
	background: var(--opx-bg);
	color: var(--opx-text-muted);
	font-family: var(--op-font-sans);
	-webkit-font-smoothing: antialiased;
}

/* ---- Dim — site navy family ---- */
html[data-op-theme="dim"] .opc2 {
	--opx-bg: #020712;
	--opx-surface: #08111f;
	--opx-surface-2: #0c1626;
	--opx-surface-3: #121e31;
	--opx-text: #f2f7fb;
	--opx-text-muted: #9fb2c7;
	--opx-text-quiet: #7890aa;
	--opx-border: #18263a;
	--opx-border-strong: #263952;
	--opx-accent: #2dd4bf;
	--opx-accent-2: #5eead4;
	--opx-accent-soft: rgba(45, 212, 191, 0.12);
	--opx-on-accent: #06231f;
	--opx-ink: #2dd4bf;
	--opx-on-ink: #06231f;
	--opx-dot: rgba(148, 163, 184, 0.16);
	--opx-warn: #fbbf24;
	--opx-warn-soft: rgba(251, 191, 36, 0.12);
	--opx-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
	--opx-shadow-xl: 0 26px 60px rgba(0, 0, 0, 0.45);
	--sc-1: #1a2840;
	--sc-2: #131e31;
	--sc-3: #0e1726;
	--sc-line: #9fb2c7;
	--sc-ghost: #3d5170;
	--sc-shadow: rgba(0, 0, 0, 0.45);
	--sc-glass: rgba(45, 212, 191, 0.16);
	--sc-accent-2: #2dd4bf;
	--sc-warn-2: #b45309;
}

/* ---- Dark Contrast — site black/charcoal family ---- */
html[data-op-theme="dark-contrast"] .opc2 {
	--opx-bg: #000000;
	--opx-surface: #16161a;
	--opx-surface-2: #1d1d20;
	--opx-surface-3: #222227;
	--opx-text: #f9fafb;
	--opx-text-muted: #d1d5db;
	--opx-text-quiet: #9ca3af;
	--opx-border: #222227;
	--opx-border-strong: #2e2e33;
	--opx-accent: #2dd4bf;
	--opx-accent-2: #5eead4;
	--opx-accent-soft: rgba(45, 212, 191, 0.13);
	--opx-on-accent: #061412;
	--opx-ink: #2dd4bf;
	--opx-on-ink: #061412;
	--opx-dot: rgba(255, 255, 255, 0.12);
	--opx-warn: #fbbf24;
	--opx-warn-soft: rgba(251, 191, 36, 0.12);
	--opx-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.6);
	--opx-shadow-xl: 0 26px 60px rgba(0, 0, 0, 0.6);
	--sc-1: #1c1f26;
	--sc-2: #15181d;
	--sc-3: #101216;
	--sc-line: #8b929e;
	--sc-ghost: #3a3f48;
	--sc-shadow: rgba(0, 0, 0, 0.6);
	--sc-glass: rgba(45, 212, 191, 0.15);
	--sc-accent-2: #2dd4bf;
	--sc-warn-2: #92400e;
}

/* ============================================================
   Base
   ============================================================ */
.opc2 ::selection { background: var(--opx-accent-soft); color: var(--opx-text); }
.opc2 p { margin: 0; }
/* The flow is attribute-driven; a display rule must never beat [hidden]. */
.opc2 [hidden] { display: none !important; }
.opc2 button { font-family: var(--op-font-sans); }
.opc2-live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.opc2-wrap {
	max-width: var(--op-container, 1280px);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}
.opc2-dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(var(--opx-dot) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.9;
	pointer-events: none;
}
.opc2-dots--scene { background-size: 24px 24px; opacity: 0.55; }
.opc2-hiddencheck,
.opc2-hiddenselect {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* ============================================================
   View 1 — chooser
   ============================================================ */
.opc2-choose { padding-bottom: 92px; }
.opc2-heroband {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--opx-border);
	background: var(--opx-surface);
}
.opc2-hero {
	position: relative;
	padding-top: 74px;
	padding-bottom: 62px;
}
.opc2-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--opx-accent-2);
}
html[data-op-theme] .opc2 .opc2-eyebrow { color: var(--opx-accent); }
.opc2-h1 {
	margin: 16px 0 0;
	font-family: var(--op-font-sans);
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.06;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--opx-text);
	max-width: 15ch;
	text-wrap: pretty;
}
.opc2-sub {
	margin: 20px 0 0;
	font-size: 17px;
	line-height: 1.62;
	color: var(--opx-text-muted);
	max-width: 64ch;
	text-wrap: pretty;
}
.opc2-sec { padding-top: 48px; }
.opc2-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
	align-items: start;
}

/* Choice card. */
.opc2-choice {
	position: relative;
	overflow: hidden;
	background: var(--opx-surface);
	border: 1px solid var(--opx-border);
	border-radius: var(--op-radius-2xl, 24px);
	cursor: pointer;
	box-shadow: var(--opx-shadow-xs);
	transition: border-color 0.18s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.opc2-choice[data-accent="teal"] { --ac: var(--opx-accent-2); --ac-soft: var(--opx-accent-soft); }
html[data-op-theme] .opc2 .opc2-choice[data-accent="teal"] { --ac: var(--opx-accent); }
.opc2-choice[data-accent="amber"] { --ac: var(--opx-warn); --ac-soft: var(--opx-warn-soft); }
.opc2-choice:hover {
	border-color: var(--ac);
	box-shadow: var(--opx-shadow-xl);
	transform: translateY(-3px);
}
.opc2-choice:focus-visible {
	outline: none;
	border-color: var(--ac);
	box-shadow: 0 0 0 3px var(--ac-soft);
}
.opc2-scene {
	position: relative;
	height: 232px;
	background: var(--opx-surface-2);
	border-bottom: 1px solid var(--opx-border);
	overflow: hidden;
}
.opc2-art {
	position: absolute;
	inset: 18px 24px 10px;
	transition: transform 0.3s cubic-bezier(0.22, 0.7, 0.3, 1);
}
.opc2-art svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
}
.opc2-choice:hover .opc2-art { transform: translateY(-7px) scale(1.035); }
.opc2-cardpad { padding: 26px 30px 24px; }
.opc2-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 26px;
	padding: 0 11px;
	border-radius: var(--op-radius-pill, 999px);
	background: var(--ac-soft);
	color: var(--ac);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}
.opc2-choice__title {
	margin: 16px 0 0;
	font-family: var(--op-font-sans);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--opx-text);
}
.opc2-choice__sum {
	margin: 9px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--opx-text-muted);
	max-width: 46ch;
}

/* Reveal slot — fixed height, two cross-fading layers; the card never
   changes height on hover. */
.opc2-slot {
	position: relative;
	height: 106px;
	margin-top: 18px;
}
.opc2-face,
.opc2-back {
	position: absolute;
	inset: 0;
	transition: opacity 0.2s ease, transform 0.24s ease;
}
.opc2-hairline { display: block; height: 1px; background: var(--opx-border); }
.opc2-face p {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--opx-text-muted);
}
.opc2-meta {
	display: block;
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--opx-text-quiet);
}
.opc2-back {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding-top: 16px;
	opacity: 0;
	transform: translateY(6px);
}
.opc2-choice:hover .opc2-face { opacity: 0; transform: translateY(-6px); }
.opc2-choice:hover .opc2-back { opacity: 1; transform: none; }
.opc2-tickline {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--opx-text-muted);
}
.opc2-tickline svg { flex: none; margin-top: 3px; color: var(--ac); }
.opc2-gowrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-top: 6px;
}
.opc2-go {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 42px;
	padding: 0 20px;
	border-radius: var(--op-radius-pill, 999px);
	border: 1px solid var(--opx-border-strong);
	background: var(--opx-surface);
	color: var(--opx-text);
	font-size: 14px;
	font-weight: 600;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.opc2-go svg { transition: transform 0.18s ease; }
.opc2-choice:hover .opc2-go {
	background: var(--opx-ink);
	color: var(--opx-on-ink);
	border-color: var(--opx-ink);
}
.opc2-choice:hover .opc2-go svg { transform: translateX(3px); }

/* Assurance row. */
.opc2-assure {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
	margin-top: 42px;
	padding-top: 30px;
	border-top: 1px solid var(--opx-border);
}
.opc2-assure > span {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--opx-text-muted);
}
.opc2-assure svg { flex: none; margin-top: 1px; color: var(--opx-text-quiet); }

/* ============================================================
   View 2 — form
   ============================================================ */
.opc2-formview { padding: 40px 0 92px; }
.opc2-formgrid {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.opc2-rail {
	position: sticky;
	top: calc(var(--opb-header-height, 80px) + 20px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.opc2-allopts {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 13px 0 9px;
	border-radius: var(--op-radius-pill, 999px);
	border: 1px solid var(--opx-border);
	background: var(--opx-surface);
	color: var(--opx-text-muted);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease;
}
.opc2-allopts:hover { color: var(--opx-text); background: var(--opx-surface-2); }
.opc2-railtitle {
	margin: 0;
	font-family: var(--op-font-sans);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--opx-text);
}
.opc2-railline {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--opx-text-muted);
}
.opc2-switch {
	display: flex;
	gap: 5px;
	padding: 5px;
	border-radius: var(--op-radius-pill, 999px);
	background: var(--opx-surface-2);
	border: 1px solid var(--opx-border);
}
.opc2-switch button {
	flex: 1;
	height: 34px;
	border-radius: var(--op-radius-pill, 999px);
	border: 1px solid transparent;
	background: transparent;
	color: var(--opx-text-muted);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease;
}
.opc2-switch button[data-on="1"] {
	background: var(--opx-ink);
	color: var(--opx-on-ink);
	border-color: var(--opx-ink);
}
.opc2-promisebox {
	padding: 18px;
	border-radius: var(--op-radius-xl, 16px);
	background: var(--opx-surface-2);
	border: 1px solid var(--opx-border);
}
.opc2-promiselabel {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--opx-text-quiet);
}
.opc2-promisebox p {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--opx-text-muted);
}

/* Progress. */
.opc2-progress {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}
.opc2-bar {
	display: block;
	height: 3px;
	border-radius: var(--op-radius-pill, 999px);
	background: var(--opx-border);
}
.opc2-seg[data-state="now"] .opc2-bar { background: var(--opx-ink); }
.opc2-seg[data-state="done"] .opc2-bar { background: var(--opx-accent); }
.opc2-seglbl {
	display: block;
	margin-top: 10px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--opx-text);
}
.opc2-seg[data-state="todo"] .opc2-seglbl { color: var(--opx-text-quiet); }

/* Form card. */
.opc2-card {
	background: var(--opx-surface);
	border: 1px solid var(--opx-border);
	border-radius: 20px;
	box-shadow: var(--opx-shadow-xs);
	overflow: hidden;
	margin: 0;
}
.opc2-formpad { padding: 30px 32px 8px; }
.opc2-pane { animation: opc2In 0.26s cubic-bezier(0.22, 0.7, 0.3, 1) both; }
@keyframes opc2In {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
.opc2-steptitle {
	margin: 0;
	font-family: var(--op-font-sans);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--opx-text);
	outline: none;
}
.opc2-stephint {
	margin: 8px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--opx-text-muted);
	max-width: 62ch;
}

/* Option rows (topics, areas, consent toggle). */
.opc2-topics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 22px;
}
.opc2-areas {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
}
.opc2-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 15px;
	border: 1px solid var(--opx-border);
	border-radius: var(--op-radius-lg, 12px);
	cursor: pointer;
	background: var(--opx-surface);
	transition: border-color 0.16s ease, background 0.16s ease;
	position: relative;
}
.opc2-row:hover { border-color: var(--opx-border-strong); background: var(--opx-surface-2); }
.opc2-row:focus-visible {
	outline: none;
	border-color: var(--opx-accent);
	box-shadow: 0 0 0 3px var(--opx-accent-soft);
}
.opc2-row[data-on="1"] { border-color: var(--opx-accent); background: var(--opx-accent-soft); }
.opc2-tick { flex: none; margin-top: 3px; opacity: 0; color: var(--opx-accent-2); transition: opacity 0.16s ease; }
html[data-op-theme] .opc2 .opc2-tick { color: var(--opx-accent); }
.opc2-row[data-on="1"] .opc2-tick { opacity: 1; }
.opc2-row__body { display: block; min-width: 0; }
.opc2-row__label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--opx-text);
}
.opc2-row__hint {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--opx-text-quiet);
}
.opc2-row--area { padding: 17px; gap: 12px; }
.opc2-row--area .opc2-row__label { font-size: 15px; }
.opc2-row--area .opc2-row__hint { font-size: 13px; margin-top: 4px; }
.opc2-row--toggle { align-items: center; padding: 15px 16px; gap: 11px; }
.opc2-row--toggle .opc2-tick { margin-top: 0; }
.opc2-row__label--plain { font-weight: 400; font-size: 14px; }

/* Fields. */
.opc2-fields {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 22px;
}
.opc2-field label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--opx-text);
	margin-bottom: 8px;
}
.opc2-req { font-weight: 500; color: var(--opx-text-quiet); }
.opc2 .opc2-field input[type="text"],
.opc2 .opc2-field input[type="email"],
.opc2 .opc2-field input[type="url"],
.opc2 .opc2-field select,
.opc2 .opc2-field textarea {
	width: 100%;
	border: 1px solid var(--opx-border);
	border-radius: var(--op-radius-lg, 12px);
	background: var(--opx-surface);
	font-family: var(--op-font-sans);
	font-size: 14.5px;
	color: var(--opx-text);
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.opc2 .opc2-field input { height: 50px; padding: 0 16px; }
.opc2 .opc2-field select { height: 50px; padding: 0 16px; }
.opc2 .opc2-field textarea { padding: 14px 16px; line-height: 1.6; resize: vertical; }
.opc2 .opc2-field input:focus,
.opc2 .opc2-field select:focus,
.opc2 .opc2-field textarea:focus {
	outline: none;
	border-color: var(--opx-accent);
	box-shadow: 0 0 0 3px var(--opx-accent-soft);
}
.opc2 .opc2-field input::placeholder,
.opc2 .opc2-field textarea::placeholder { color: var(--opx-text-quiet); opacity: 1; }
.opc2 .opc2-field .opc2-mono { font-family: var(--op-font-mono, ui-monospace, monospace); font-size: 13.5px; }
html[data-op-theme="dim"] .opc2 .opc2-field input,
html[data-op-theme="dim"] .opc2 .opc2-field select,
html[data-op-theme="dim"] .opc2 .opc2-field textarea,
html[data-op-theme="dark-contrast"] .opc2 .opc2-field input,
html[data-op-theme="dark-contrast"] .opc2 .opc2-field select,
html[data-op-theme="dark-contrast"] .opc2 .opc2-field textarea { color-scheme: dark; }
.opc2-fieldnote {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: var(--opx-text-quiet);
}
.opc2-identgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.opc2-identity {
	font-size: 13.5px;
	color: var(--opx-text-quiet);
}
.opc2-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 16px;
	border-radius: var(--op-radius-lg, 12px);
	background: var(--opx-surface-2);
	border: 1px solid var(--opx-border);
	font-size: 12.5px;
}
.opc2-summary > span { color: var(--opx-text-quiet); }
.opc2-summary strong { font-weight: 600; color: var(--opx-text); }

/* Server-side error styles piggyback on .op-support-field__error /
   .op-support-form__error from the base sheet; recolor for the card. */
.opc2 .op-support-field__error,
.opc2 .op-support-form__error { margin-top: 8px; }
.opc2 .op-support-form__error { margin: 16px 0 8px; }

/* Footer bar. */
.opc2-footrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding: 18px 32px;
	border-top: 1px solid var(--opx-border);
	background: var(--opx-surface-2);
}
.opc2-backbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px 0 14px;
	border-radius: var(--op-radius-pill, 999px);
	border: 1px solid var(--opx-border);
	background: var(--opx-surface);
	color: var(--opx-text-muted);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.16s ease, transform 0.16s ease;
}
.opc2-backbtn:hover { color: var(--opx-text); transform: translateY(-1px); }
.opc2-nextwrap {
	display: flex;
	align-items: center;
	gap: 14px;
}
.opc2-reason,
.opc2-status { font-size: 12.5px; color: var(--opx-text-quiet); }
.opc2-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 46px;
	padding: 0 24px;
	border-radius: var(--op-radius-pill, 999px);
	border: 1px solid transparent;
	background: var(--opx-ink);
	color: var(--opx-on-ink);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.opc2-next:hover { transform: translateY(-1px); }
.opc2-next:disabled {
	background: var(--opx-surface-3);
	color: var(--opx-text-quiet);
	cursor: not-allowed;
	transform: none;
}

/* ============================================================
   View 3 — success
   ============================================================ */
.opc2-done { padding: 64px 0 104px; }
.opc2-done__inner {
	max-width: 660px;
	text-align: center;
}
.opc2-donescene {
	height: 190px;
	margin: 0 auto 8px;
	max-width: 420px;
}
.opc2-donescene svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
}
.opc2-donetitle {
	margin: 18px 0 0;
	font-family: var(--op-font-sans);
	font-size: clamp(28px, 3.2vw, 36px);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--opx-text);
	outline: none;
}
.opc2-donebody {
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--opx-text-muted);
}
.opc2-refpill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 10px 16px;
	border-radius: var(--op-radius-pill, 999px);
	border: 1px solid var(--opx-border);
	background: var(--opx-surface-2);
}
.opc2-reflabel {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--opx-text-quiet);
}
.opc2-refcode {
	font-family: var(--op-font-mono, ui-monospace, monospace);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--opx-text);
}
.opc2-doneacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}
.opc2 .opc2-donebtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 24px;
	border-radius: var(--op-radius-pill, 999px);
	border: 1px solid transparent;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.16s ease, background 0.16s ease;
}
.opc2 .opc2-donebtn:hover { transform: translateY(-1px); }
.opc2 .opc2-donebtn--primary { background: var(--opx-ink); color: var(--opx-on-ink); }
.opc2 .opc2-donebtn--primary:hover { color: var(--opx-on-ink); }
.opc2 .opc2-donebtn--ghost {
	border-color: var(--opx-border-strong);
	background: var(--opx-surface);
	color: var(--opx-text);
}
.opc2 .opc2-donebtn--ghost:hover { color: var(--opx-text); background: var(--opx-surface-2); }

/* ============================================================
   ≤1080 container — tablet
   ============================================================ */
@container (max-width: 1080px) {
	.opc2-choices { grid-template-columns: minmax(0, 1fr); }
	.opc2-formgrid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.opc2-rail { position: static; }
	.opc2-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   ≤720 container — mobile
   ============================================================ */
@container (max-width: 720px) {
	.opc2-wrap { padding-left: 18px; padding-right: 18px; }
	.opc2-hero { padding-top: 52px; padding-bottom: 44px; }
	.opc2-sec { padding-top: 36px; }
	.opc2-scene { height: 180px; }
	.opc2-slot { height: 126px; }
	.opc2-cardpad { padding: 22px 20px 20px; }
	.opc2-formpad { padding: 24px 20px 8px; }
	.opc2-topics { grid-template-columns: minmax(0, 1fr); }
	.opc2-footrow {
		flex-direction: column;
		align-items: stretch;
		padding: 16px 20px;
	}
	.opc2-footrow > * { width: 100%; justify-content: center; }
	.opc2-nextwrap {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		text-align: center;
	}
}

/* Touch: the bullets are the card's default content — there is no hover. */
@media (hover: none) {
	.opc2-face { opacity: 0; }
	.opc2-back { opacity: 1; transform: none; }
}

/* ============================================================
   Motion restraint
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.opc2 *,
	.opc2 *::before,
	.opc2 *::after {
		animation: none !important;
		transition: none !important;
	}
}
