input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.book-color-0 { --book-color: var(--oz-c-bg-22c55e, #22c55e); }
.book-color-1 { --book-color: var(--oz-c-bg-3b82f6, #3b82f6); }
.book-color-2 { --book-color: var(--oz-c-bg-f59e0b, #f59e0b); }
.book-color-3 { --book-color: var(--oz-c-bg-ec4899, #ec4899); }
.book-color-4 { --book-color: var(--oz-c-bg-8b5cf6, #8b5cf6); }
.book-color-5 { --book-color: var(--oz-c-bg-14b8a6, #14b8a6); }
.book-color-6 { --book-color: var(--oz-c-bg-f97316, #f97316); }
.book-color-7 { --book-color: var(--oz-c-bg-06b6d4, #06b6d4); }

.book-badge {
  background: color-mix(in srgb, var(--book-color) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--book-color) 40%, transparent);
  color: color-mix(in srgb, var(--book-color) 90%, white);
}
.book-dot {
  background: var(--book-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--book-color) 50%, transparent);
}
.bet-row-checked {
  background: linear-gradient(to right, var(--oz-c-bg-22c55e-a100, rgba(34, 197, 94, 0.1)), transparent);
}
.bet-row-checked td { opacity: 0.6; }
.bet-row-checked td:first-child { opacity: 1; }
.match-card:hover { border-color: var(--oz-c-border-06b6d4-a400, rgba(6, 182, 212, 0.4)); }

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.progress-active { animation: progressPulse 2s ease-in-out infinite; }
.conv-progress-bar { width: 0%; }


/* Supporting information follows the existing cards and theme tokens. */
#conv-app .conv-assumptions summary { cursor: pointer; }
#conv-app .conv-assumptions p { margin-top: .75rem; line-height: 1.65; }
#conv-app .conv-guidance-followup { border-top: 1px solid rgb(var(--oz-border)); margin-top: 1rem; padding-top: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.25rem; }
#conv-app .conv-guidance-followup p { flex: 1 1 24rem; line-height: 1.6; }
#conv-app .conv-summary-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
#conv-app .conv-meta-item { padding: .85rem 1rem; background: rgb(var(--oz-elevated)); border: 1px solid rgb(var(--oz-border)); border-radius: .75rem; min-width: 0; }
#conv-app .conv-meta-item span { display: block; color: rgb(var(--oz-muted)); font-size: .75rem; margin-bottom: .3rem; }
#conv-app .conv-meta-item strong { display: block; color: rgb(var(--oz-text)); font-size: .875rem; font-weight: 600; line-height: 1.5; }
#conv-app .conv-notice:not(.hidden) { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; margin-bottom: 1rem; }
#conv-app .conv-notice-icon { flex: 0 0 1.65rem; width: 1.65rem; height: 1.65rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .875rem; font-weight: 700; }
#conv-app .conv-notice-content { min-width: 0; line-height: 1.6; overflow-wrap: anywhere; }
#conv-app .conv-notice-content p { margin-top: .45rem; }
#conv-app .conv-notice-content .conv-notice-advice { margin-top: .85rem; }
#conv-app .conv-notice-content .conv-notice-footnote { margin-top: .85rem; }
#conv-confirm-plan { width: min(32rem, calc(100vw - 2rem)); margin: auto; }
#conv-confirm-plan::backdrop { background: rgb(0 0 0 / .6); backdrop-filter: blur(4px); }
#conv-confirm-plan > p { margin-top: .75rem; line-height: 1.6; }
@media (max-width: 640px) {
  #conv-app .conv-summary-meta { grid-template-columns: 1fr; }
  #conv-app .conv-guidance-followup button { width: 100%; }
  #conv-app .conv-notice:not(.hidden) { padding: .85rem; gap: .65rem; }
  #conv-confirm-plan > div { flex-wrap: wrap; }
  #conv-confirm-plan > div button { flex: 1 1 10rem; }
}


/* Member import: responsive cards in the existing OddsZone palette. */
#conv-app .conv-import-panel {margin:0 0 1.25rem;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-lg);background:rgb(var(--oz-surface));overflow:hidden;}
#conv-app .conv-import-panel summary {display:flex;align-items:center;gap:.85rem;padding:1.15rem;cursor:pointer;color:rgb(var(--oz-text));font-size:.95rem;font-weight:600;list-style:none;}
#conv-app .conv-import-panel summary::-webkit-details-marker {display:none;}
#conv-app .conv-import-summary-icon {display:grid;place-items:center;width:2.4rem;height:2.4rem;background:rgb(var(--oz-accent) / .1);color:rgb(var(--oz-accent-text));border-radius:var(--oz-radius-md);font-size:1.25rem;}
#conv-app .conv-import-subtitle {display:block;margin-top:.25rem;color:rgb(var(--oz-muted));font-size:.75rem;font-weight:400;}
#conv-app .conv-import-body {padding:0 1.15rem 1.15rem;border-top:1px solid rgb(var(--oz-border));}
#conv-app .conv-import-toolbar {display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin:1rem 0;}
#conv-app .conv-import-search {display:flex;flex:2;gap:.6rem;align-items:end;min-width:250px;margin:0;}
#conv-app .conv-import-search label,#conv-app .conv-import-target {font-size:.75rem;color:rgb(var(--oz-muted));flex:1;}
#conv-app .conv-import-search label {min-width:0;}
#conv-app .conv-import-target {min-width:180px;}
#conv-app .conv-import-search input,#conv-app .conv-import-offer {box-sizing:border-box;display:block;width:100%;margin-top:.4rem;padding:.65rem .8rem;border-radius:var(--oz-radius-md);border:1px solid rgb(var(--oz-border));background:rgb(var(--oz-surface));color:rgb(var(--oz-text));font-size:.8rem;}
#conv-app .conv-import-button {padding:.65rem .9rem;border-radius:var(--oz-radius-md);background:rgb(var(--oz-elevated));color:rgb(var(--oz-text));border:1px solid rgb(var(--oz-border));font-size:.8rem;white-space:nowrap;cursor:pointer;}
#conv-app .conv-import-section-title {display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-top:1.2rem;}
#conv-app .conv-import-section-title h3 {font-size:.85rem;font-weight:600;color:rgb(var(--oz-text));}
#conv-app .conv-import-reset {font-size:.75rem;color:rgb(var(--oz-accent-text));cursor:pointer;}
#conv-app .conv-import-status {font-size:.75rem;color:rgb(var(--oz-muted));line-height:1.6;margin:.5rem 0 .9rem;}
#conv-app .conv-import-results {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;max-height:42rem;overflow:auto;align-items:stretch;}
#conv-app .conv-import-card {display:flex;flex-direction:column;min-width:0;padding:1rem;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-lg);background:rgb(var(--oz-raised));}
#conv-app .conv-import-card-heading {display:flex;flex-direction:column;gap:.25rem;font-size:.65rem;color:rgb(var(--oz-muted));}
#conv-app .conv-import-competition {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#conv-app .conv-import-title {font-size:.9rem;font-weight:600;color:rgb(var(--oz-text));line-height:1.4;margin:.7rem 0;min-height:2.5rem;}
#conv-app .conv-import-metrics {display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;font-size:.65rem;margin-bottom:.5rem;}
#conv-app .conv-import-badge {padding:.2rem .4rem;background:rgb(var(--oz-positive-bg));border-radius:var(--oz-radius-sm);color:rgb(var(--oz-positive));}
#conv-app .conv-import-balance {color:rgb(var(--oz-muted));}
#conv-app .conv-import-prices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin:.75rem 0 .2rem;}
#conv-app .conv-import-price {padding:.45rem;border-radius:var(--oz-radius-sm);text-align:center;background:rgb(var(--oz-surface));}
#conv-app .conv-import-price span {display:block;font-size:.65rem;color:rgb(var(--oz-muted));margin-bottom:.25rem;}
#conv-app .conv-import-price strong {font-size:.95rem;color:rgb(var(--oz-text));font-variant-numeric:tabular-nums;}
#conv-app .conv-import-card .conv-import-provenance {font-size:.65rem;color:rgb(var(--oz-muted));margin:.45rem 0 .8rem;line-height:1.4;}
#conv-app .conv-import-choose {width:100%;margin-top:auto;background:rgb(var(--oz-accent) / .08);border-color:rgb(var(--oz-accent) / .25);color:rgb(var(--oz-accent-text));}
#conv-app .conv-import-choose:hover {background:rgb(var(--oz-accent) / .16);}
#conv-app .conv-import-footnote {font-size:.7rem;line-height:1.6;color:rgb(var(--oz-muted));margin:1rem 0 0;}
@media(max-width:1100px){#conv-app .conv-import-results{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){#conv-app .conv-import-results{grid-template-columns:minmax(0,1fr);}#conv-app .conv-import-search{min-width:0;flex-basis:100%;}#conv-app .conv-import-body{padding:0 .8rem .8rem;}}

/* Member price matrix: one match at a time. */
#conv-app .conv-odds-mode{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin:1rem 0;font-size:.875rem}
#conv-app .conv-odds-mode p{flex-basis:100%;color:rgb(var(--oz-muted));font-size:.8rem}
#conv-app #conv-book-odds{border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-lg);padding:1rem;background:rgb(var(--oz-surface))}
#conv-app .conv-odds-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}
#conv-app .conv-odds-tab{padding:.5rem 1rem;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-md);color:rgb(var(--oz-muted))}
#conv-app .conv-odds-tab[aria-selected=true]{background:rgb(var(--oz-accent) / .1);color:rgb(var(--oz-accent-text));border-color:rgb(var(--oz-accent) / .4)}
#conv-app .conv-odds-title{font-weight:600}
#conv-app .conv-odds-scroll{overflow-x:auto;margin:1rem 0}
#conv-app .conv-odds-table{width:100%;border-collapse:collapse;table-layout:fixed}
#conv-app .conv-odds-table th,#conv-app .conv-odds-table td{padding:.6rem;border-bottom:1px solid rgb(var(--oz-border));text-align:left}
#conv-app .conv-odds-table th:first-child{width:40%}
#conv-app .conv-odds-table small{display:block;font-size:.7rem;color:rgb(var(--oz-muted));font-weight:400}
#conv-app .conv-odds-table input{width:100%;min-width:0;padding:.65rem .25rem;text-align:center;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-md);background:rgb(var(--oz-base));color:rgb(var(--oz-text))}
@media(max-width:640px){#conv-app .conv-odds-table th,#conv-app .conv-odds-table td{padding:.4rem .2rem}#conv-app .conv-odds-table th:first-child{width:36%}#conv-app .conv-odds-table small{font-size:.65rem}}

#conv-app #conv-odds-mode{display:inline-flex;gap:.25rem;border:1px solid rgb(var(--oz-border));padding:.25rem;border-radius:var(--oz-radius-md);background:rgb(var(--oz-surface))}
#conv-app [data-odds-mode]{padding:.6rem .9rem;border-radius:var(--oz-radius-sm);color:rgb(var(--oz-muted));font-weight:500}
#conv-app [data-odds-mode][aria-pressed=true]{background:rgb(var(--oz-accent) / .1);color:rgb(var(--oz-accent-text));box-shadow:inset 0 0 0 1px rgb(var(--oz-accent) / .4)}
#conv-app [data-odds-mode]:focus-visible{outline:2px solid rgb(var(--oz-accent-text));outline-offset:2px}
#conv-app .conv-price-hint{font-size:.8rem;color:rgb(var(--oz-warning));border-left:3px solid rgb(var(--oz-warning));padding:.6rem .8rem;margin-top:.75rem;background:rgb(var(--oz-warning-bg))}

#conv-app .conv-odds-mode,#conv-app .conv-odds-title,#conv-app .conv-odds-table{color:rgb(var(--oz-text))}
#conv-app .conv-odds-table thead th{color:rgb(var(--oz-muted));font-size:.75rem;font-weight:500}
#conv-app .conv-odds-table tbody th{font-size:.875rem;font-weight:600}
#conv-app :is(.conv-import-button,.conv-import-offer,.conv-import-search input,.conv-odds-table input,.conv-odds-tab,.conv-import-reset):focus-visible{outline:2px solid rgb(var(--oz-accent-text));outline-offset:2px}
#conv-app :is(.conv-import-button,.conv-odds-tab):hover{border-color:rgb(var(--oz-accent) / .5)}
#conv-app :is([data-odds-mode],.conv-odds-tab):disabled{opacity:.55;cursor:not-allowed}

#conv-app .conv-import-target{flex:1 0 100%;min-width:0;margin:0;padding:0;border:0}
#conv-app .conv-import-target legend{font-size:.75rem;color:rgb(var(--oz-muted));margin-bottom:.5rem}
#conv-app #conv-import-slot{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.5rem}
#conv-app .conv-import-slot-button{display:flex;flex-direction:column;gap:.35rem;text-align:left;padding:.75rem;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-md);background:rgb(var(--oz-surface));color:rgb(var(--oz-text));min-width:0}
#conv-app .conv-import-slot-number{font-size:.7rem;color:rgb(var(--oz-muted))}
#conv-app .conv-import-slot-name{font-size:.8rem;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
#conv-app .conv-import-slot-button[aria-pressed=true]{background:rgb(var(--oz-accent)/.1);border-color:rgb(var(--oz-accent)/.5)}
#conv-app .conv-import-slot-button[aria-pressed=true] .conv-import-slot-number{color:rgb(var(--oz-accent-text));font-weight:600}
#conv-app .conv-import-slot-button:focus-visible{outline:2px solid rgb(var(--oz-accent-text));outline-offset:2px}
#conv-app .conv-import-slot-button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:640px){#conv-app #conv-import-slot{grid-template-columns:repeat(2,minmax(0,1fr));}}

#conv-app .conv-logo{display:inline-block;width:24px;height:24px;object-fit:contain;flex-shrink:0;vertical-align:middle;margin-right:.35rem}
#conv-app .conv-logo[hidden]{display:none}
#conv-app .conv-team-label{display:flex;align-items:center;gap:.35rem;min-width:0;font-size:.8rem}
#conv-app .conv-import-title .conv-team-label+.conv-team-label{margin-top:.4rem}
#conv-app .conv-import-slot-button{position:relative}
#conv-app .conv-import-slot-button>.conv-logo{width:20px;height:20px}
#conv-app .conv-odds-title>.conv-logo{margin-left:.4rem}

#conv-opportunities .conv-import-card .conv-import-button { width:100%; max-width:100%; white-space:normal; }
#conv-opportunities .conv-team-label { flex-wrap:wrap; }

.conv-opportunity-actions { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.conv-opportunity-actions label { display:grid; gap:6px; color:rgb(var(--oz-muted)); }
.conv-opportunity-actions select { padding:10px; color:rgb(var(--oz-text)); background:rgb(var(--oz-surface)); border:1px solid rgb(var(--oz-border)); border-radius:var(--oz-radius-sm); }
#conv-opportunities progress { width:100%; accent-color:rgb(var(--oz-accent)); }

.conv-opportunity-actions input { width:110px; padding:10px; color:rgb(var(--oz-text)); background:rgb(var(--oz-surface)); border:1px solid rgb(var(--oz-border)); border-radius:var(--oz-radius-sm); }
.conv-opportunity-warning { padding:12px; border-radius:var(--oz-radius-sm); color:rgb(var(--oz-warning)); background:rgb(var(--oz-warning-bg)); font-size:.875rem; }
.conv-opportunity-warning[hidden] { display:none; }

/* Compact opportunity controls, using the site theme and Players Books range treatment. */
.conv-match-count {display:flex;align-items:center;gap:12px;font-size:.875rem;color:rgb(var(--oz-muted))}
.conv-match-count [role=group] {display:flex;gap:4px;padding:4px;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-md);background:rgb(var(--oz-surface))}
.conv-match-count button {width:36px;height:32px;border-radius:var(--oz-radius-sm);font-weight:600;color:rgb(var(--oz-muted))}
.conv-match-count button[aria-pressed=true] {background:rgb(var(--oz-accent) / .15);color:rgb(var(--oz-accent-text));box-shadow:inset 0 0 0 1px rgb(var(--oz-accent) / .4)}
.conv-match-count button:focus-visible,.conv-period button:focus-visible {outline:2px solid rgb(var(--oz-accent));outline-offset:2px}
.conv-match-count button:disabled {opacity:.5;cursor:not-allowed}
.conv-opportunity-meta {display:flex;flex-wrap:wrap;gap:6px 16px;color:rgb(var(--oz-muted));font-size:.75rem}
.conv-opportunity-actions {align-items:center;gap:16px;margin:16px 0 10px}
.conv-period {flex:1;min-width:180px;max-width:420px}
.conv-period-heading {display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.8125rem}
.conv-period-heading output {font-weight:600;color:rgb(var(--oz-accent-text));font-variant-numeric:tabular-nums}
.conv-period-track {display:flex;align-items:center;gap:12px;min-height:34px}
.conv-opportunity-actions input[type=range] {appearance:none;-webkit-appearance:none;flex:1;min-width:0;width:100%;height:6px;padding:0;margin:10px 0;border:0;border-radius:99px;background:linear-gradient(to right,rgb(var(--oz-accent)) var(--conv-range-fill,0%),rgb(var(--oz-border)) var(--conv-range-fill,0%));cursor:ew-resize}
.conv-period input::-webkit-slider-thumb {appearance:none;-webkit-appearance:none;width:21px;height:21px;border-radius:50%;background:rgb(var(--oz-surface));border:3px solid rgb(var(--oz-accent-text))}
.conv-period input::-moz-range-thumb {width:16px;height:16px;border-radius:50%;background:rgb(var(--oz-surface));border:3px solid rgb(var(--oz-accent-text))}
.conv-period input:focus-visible {outline:2px solid rgb(var(--oz-accent));outline-offset:7px}
.conv-period input:disabled {opacity:.5;cursor:default}
.conv-period-track button {width:28px;height:28px;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-sm);color:rgb(var(--oz-muted));font-size:18px}
.conv-period-scale {display:flex;justify-content:space-between;color:rgb(var(--oz-muted));font-size:.6875rem}
#conv-opportunities .conv-opportunity-help {font-size:.75rem;color:rgb(var(--oz-muted))}
#conv-opportunities .conv-opportunity-help summary {display:list-item;padding:4px 0;cursor:pointer;font-size:.75rem}
.conv-opportunity-help p {margin:8px 0;max-width:80ch;line-height:1.6}
#conv-opportunities .conv-import-status:empty {display:none}
@media(max-width:600px) {.conv-period {flex-basis:100%;max-width:none}.conv-opportunity-actions>[data-search] {flex:1}}

.conv-period[hidden] {display:none}
#conv-opportunities .conv-opportunity-card {display:flex;flex-direction:column;gap:16px;padding:18px}
.conv-result-header {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid rgb(var(--oz-border))}
.conv-result-rate {display:grid;grid-template-columns:auto auto;align-items:center;gap:4px 10px}
.conv-result-label {display:block;font-size:.75rem;color:rgb(var(--oz-muted));font-weight:400}
.conv-result-rate .conv-result-label {grid-column:1/-1}
.conv-result-rate strong {font-size:1.8rem;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums}
.conv-result-quality {font-size:.6875rem;padding:3px 7px;border-radius:99px;background:rgb(var(--oz-border) / .5)}
.conv-result-rate[data-quality=low] {color:rgb(var(--oz-warning))}
.conv-result-rate[data-quality=high] {color:rgb(var(--oz-positive))}
.conv-result-rate[data-quality=medium] {color:rgb(var(--oz-text))}
.conv-result-net strong {display:block;margin-top:4px;font-size:.875rem;font-variant-numeric:tabular-nums}
.conv-result-matches {display:grid;gap:14px}
#conv-opportunities .conv-result-match .conv-team-label {display:flex;align-items:center;gap:6px;margin:0 0 4px;font-size:.8125rem}
.conv-result-team {display:inline-flex;align-items:center;gap:6px}
.conv-result-versus {color:rgb(var(--oz-muted))}
.conv-result-match .conv-import-footnote {margin:0;font-size:.6875rem}
.conv-result-totals {display:grid;gap:6px;margin-top:auto;padding-top:14px;border-top:1px solid rgb(var(--oz-border));font-size:.75rem}
.conv-result-totals>div {display:flex;justify-content:space-between;gap:12px}
.conv-result-totals dt {color:rgb(var(--oz-muted))}
.conv-result-totals dd {margin:0;font-variant-numeric:tabular-nums}

#conv-opportunities .conv-result-match {text-align:center}
#conv-opportunities .conv-result-match .conv-team-label {justify-content:center}
.conv-result-competition {display:flex;justify-content:center;align-items:center;gap:6px}
.conv-competition-flag {width:18px;height:13px;object-fit:contain;flex-shrink:0}
#conv-opportunities .conv-result-date {margin-top:3px}
.conv-repartition-book {display:inline-flex;align-items:center;gap:8px}
#conv-opportunities progress {display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;overflow:hidden;border:0;border-radius:99px;background:rgb(var(--oz-border));margin:14px 0}
#conv-opportunities progress::-webkit-progress-bar {background:rgb(var(--oz-border));border-radius:99px}
#conv-opportunities progress::-webkit-progress-value {background:rgb(var(--oz-accent));border-radius:99px;transition:width .3s ease}
#conv-opportunities progress::-moz-progress-bar {background:rgb(var(--oz-accent));border-radius:99px}
#conv-opportunities progress[hidden] {display:none}
@media(prefers-reduced-motion:reduce){#conv-opportunities progress::-webkit-progress-value{transition:none}}

.conv-journey {display:grid;gap:14px}
.conv-step {background:rgb(var(--oz-raised));border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-lg);overflow:hidden}
.conv-step>summary {display:flex;align-items:center;gap:12px;padding:18px 20px;cursor:pointer;list-style:none;scroll-margin-top:80px}
.conv-step>summary::-webkit-details-marker {display:none}
.conv-step>summary:focus-visible {outline:2px solid rgb(var(--oz-accent));outline-offset:-3px}
.conv-step-number {display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:rgb(var(--oz-surface));color:rgb(var(--oz-muted));font-weight:700}
.conv-step[open] .conv-step-number {background:rgb(var(--oz-accent) / .15);color:rgb(var(--oz-accent-text))}
.conv-step-heading {display:grid;gap:4px;flex:1;min-width:0}
.conv-step-heading strong {font-size:.9375rem;color:rgb(var(--oz-ink))}
.conv-step-subtitle {font-size:.75rem;color:rgb(var(--oz-muted))}
.conv-step-edit {font-size:.75rem;color:rgb(var(--oz-muted))}
.conv-step[open] .conv-step-edit {display:none}
.conv-step-body {padding:0 20px 20px}
.conv-step-body>.conv-match-count {justify-content:flex-end;margin-bottom:16px}
.conv-step-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px}
.conv-journey-secondary {background:transparent!important;color:rgb(var(--oz-muted))!important}
.conv-journey-selection {font-size:.8125rem;color:rgb(var(--oz-muted));margin:14px 0;line-height:1.6}
.conv-journey-message {font-size:.8125rem;color:rgb(var(--oz-warning));margin:12px 0}
.conv-journey-message:empty,.conv-journey-message[hidden],.conv-step-actions button[hidden] {display:none}
.conv-journey-result-heading {display:flex;align-items:center;justify-content:space-between;gap:12px}
.conv-journey-result-heading h2 {font-size:1.1rem;font-weight:700;color:rgb(var(--oz-ink))}
#results-section {scroll-margin-top:80px}
.conv-step #calculate-section {margin-top:16px}
.conv-step .conv-import-panel {margin-top:12px}
@media(max-width:600px){.conv-step>summary{padding:14px 12px}.conv-step-body{padding:0 12px 16px}.conv-step-actions .conv-import-button{flex:1}.conv-step-edit{font-size:.6875rem}.conv-step #btn-calculate{width:100%;justify-content:center}}

.conv-journey-return {justify-self:end}
.conv-journey-return[hidden],#results-section[hidden] {display:none}

.conv-result-competition {flex-wrap:wrap;gap:4px 6px}
#conv-opportunities .conv-result-date {margin:0;white-space:nowrap}
.conv-odds-tab {max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}

#conv-app .conv-odds-tabs {display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.5rem}
#conv-app .conv-odds-tabs .conv-import-slot-button {display:block;white-space:normal}
.conv-odds-tabs .conv-import-slot-number,.conv-odds-tabs .conv-import-slot-name {display:block;margin-bottom:5px}

/* Dense ticket table: one compact line per combination whenever space allows. */
.conv-tickets-table {border-collapse:collapse}
.conv-tickets-table tbody td {padding:9px 8px;vertical-align:middle;border-bottom:1px solid rgb(var(--oz-border));color:rgb(var(--oz-text));font-size:.75rem}
.conv-tickets-table .is-placed {background:rgb(var(--oz-positive-bg))}
.conv-ticket-selections {display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.conv-ticket-selection {display:inline-flex;align-items:center;gap:5px;flex-shrink:0;white-space:nowrap;font-size:.75rem;padding:4px 7px;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-sm);background:rgb(var(--oz-elevated))}
.conv-ticket-outcome {color:rgb(var(--oz-muted));font-size:.65rem}
.conv-ticket-logos {display:inline-flex;align-items:center}
.conv-ticket-logos:empty {display:none}
#conv-app .conv-ticket-selection .conv-logo {width:18px;height:18px;margin:0}
.conv-ticket-book {display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:.75rem}
.conv-ticket-book>span {display:inline-flex;align-items:center;gap:3px}
.conv-ticket-book strong {font-weight:500}
.conv-ticket-book small {color:rgb(var(--oz-muted));font-size:.65rem}
.conv-ticket-book+.conv-ticket-book,.conv-ticket-price+.conv-ticket-price {margin-top:4px}
#conv-app .conv-ticket-book .conv-logo {width:20px;height:20px;margin:0}
.conv-ticket-price {white-space:nowrap;text-align:center}
.conv-ticket-amount,.conv-ticket-return {white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.conv-tickets-table .conv-ticket-return {color:rgb(var(--oz-positive));font-weight:600}
.conv-ticket-type,.conv-ticket-check,.conv-ticket-index {text-align:center;white-space:nowrap}
.conv-tickets-table .conv-ticket-index {color:rgb(var(--oz-muted));font-size:.7rem}
@media(max-width:700px){.conv-tickets-table{min-width:820px}}

.conv-team-names-note {font-size:.8125rem;color:rgb(var(--oz-muted));margin:16px 0 12px}
.conv-team-names-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.conv-team-names fieldset {min-width:0;padding:12px;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-md);background:rgb(var(--oz-surface))}
.conv-team-names legend {font-size:.75rem;padding:0 5px;color:rgb(var(--oz-muted))}
.conv-team-names label {display:grid;gap:5px;font-size:.75rem;color:rgb(var(--oz-muted))}
.conv-team-names label+label {margin-top:10px}
.conv-team-names input {width:100%;min-width:0;padding:9px 10px;border:1px solid rgb(var(--oz-border));border-radius:var(--oz-radius-sm);background:rgb(var(--oz-raised));color:rgb(var(--oz-text))}
.conv-team-names input:focus-visible {outline:2px solid rgb(var(--oz-accent));outline-offset:1px}
.conv-team-names input:disabled {opacity:.6}
.conv-team-names[hidden] {display:none}

.conv-global-actions {display:flex;justify-content:flex-end;gap:10px}
