/* Calculateur remboursement FTX / Mt. Gox – complément au thème vkd_winston */
.opm .step_calc>.label{font-family:"PP",Georgia,serif;font-size:11px;text-transform:uppercase;line-height:160%;margin-bottom:20px}
.opm .step_calc>.titre{font-family:"PP",Georgia,serif;font-size:clamp(24px,4vw,39px);font-style:italic;font-weight:200;line-height:100%;margin-bottom:clamp(20px,4vw,40px)}
.opm .opm-intro{margin-bottom:34px}
.opm .opm-sub{font-family:"PP",Georgia,serif;font-size:11px;text-transform:uppercase;line-height:160%;padding-bottom:8px;border-bottom:0.5px solid #D0D0D0;margin:34px 0 16px}
.opm .opm-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:6px}
@media only screen and (max-width:560px){.opm .opm-modes{grid-template-columns:1fr}}
.opm .opm-modes input,.opm .tg input{position:absolute;opacity:0;width:0;height:0}
.opm .opm-modes label{margin:0;display:block;cursor:pointer;padding:14px 18px;border:0.5px solid #000;border-radius:4px;background:#fff;font-size:15px;line-height:140%;font-weight:500;transition:all 300ms ease-out}
.opm .opm-modes label small{display:block;font-weight:400;font-size:12px;color:#313131;margin-top:2px}
.opm .opm-modes label:hover{background:#F2F2F2}
.opm .opm-modes input:checked+label{background:#000;color:#fff}
.opm .opm-modes input:checked+label small{color:#D0D0D0}
.opm .opm-modes input:focus-visible+label,.opm .tg input:focus-visible+label{outline:2px solid #000;outline-offset:2px}
.opm .opm-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 30px;align-items:end}
@media only screen and (max-width:700px){.opm .opm-grid{grid-template-columns:1fr}}
.opm .field{display:flex;flex-direction:column;justify-content:flex-end}
.opm .field>label{display:block;margin-bottom:8px;font-size:14px;line-height:140%}
.opm .opm-help{display:block;font-size:12px;color:#313131;margin:-4px 0 8px;line-height:140%}
.opm .w{position:relative}
.opm input[type=number]{width:100%;box-sizing:border-box;border:1px solid #000;background:#fff;padding:12px 44px 12px 14px;font:inherit;font-weight:400;font-size:15px;border-radius:0;-webkit-appearance:none;appearance:none;-moz-appearance:textfield}
.opm input::-webkit-outer-spin-button,.opm input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.opm input[type=number]:focus,.opm select:focus{outline:none;box-shadow:inset 0 0 0 1px #000}
.opm .is-invalid input{background:#F2F2F2;box-shadow:inset 0 0 0 1px #000}
.opm .u{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:12px;color:#313131;pointer-events:none}
.opm select{width:100%;border:1px solid #000;background:#fff url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M7.91699 5.62496L5.00033 8.54163L2.08366 5.62496M5.00033 1.45829L5.00033 8.33329' stroke='black' stroke-linecap='square'/%3E %3C/svg%3E") no-repeat right 14px center;padding:12px 36px 12px 14px;font:inherit;font-weight:400;font-size:15px;border-radius:0;-webkit-appearance:none;appearance:none}
.opm .opm-decl{margin-top:20px;max-width:340px}
.opm .tg{display:flex}
.opm .tg label{margin:0;flex:1;text-align:center;cursor:pointer;padding:10px 12px;font-size:14px;line-height:28px;border:0.5px solid #000;background:#fff;color:#000;transition:all 300ms ease-out}
.opm .tg label+input+label{border-left:0}
.opm .tg input:checked+label{background:#000;color:#fff}
.opm .cta{margin-top:34px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.opm .opm-err{font-family:"PP",Georgia,serif;font-style:italic;font-size:15px;margin-top:12px;min-height:1em}
/* Résultat */
.opm .opm-result{display:none;margin-top:60px}
.opm .opm-result.is-visible{display:block !important}
.opm .opm-eco{background:#000;color:#fff;padding:24px 28px;margin:0 0 24px}
.opm .opm-eco .t{font-family:"PP",Georgia,serif;font-style:italic;font-size:clamp(22px,3.5vw,32px);line-height:115%;margin-bottom:8px}
.opm .opm-eco p{margin:0;font-size:15px;line-height:150%}
.opm .opm-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:0.5px solid #000;border-left:0.5px solid #000;margin:0 0 40px}
@media only screen and (max-width:680px){.opm .opm-cards{grid-template-columns:minmax(0,1fr)}}
.opm .opm-card{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;align-content:start;padding:24px;border-right:0.5px solid #000;border-bottom:0.5px solid #000;box-sizing:border-box;min-width:0}
@supports not (grid-template-rows:subgrid){.opm .opm-card{display:flex;flex-direction:column}.opm .opm-card .v{margin-top:auto;align-self:flex-start}}
.opm .opm-card>*{min-width:0}
.opm .opm-card.na{color:#9A9A9A}
.opm .opm-card.na .d,.opm .opm-card.na dt{color:#9A9A9A}
.opm .opm-card .tag{justify-self:start;align-self:start;display:inline-block;font-size:11px;line-height:16px;letter-spacing:0.3px;text-transform:uppercase;padding:4px 8px;border:0.5px solid #000;border-radius:2px;margin:0 0 14px}
.opm .opm-card .tag.best{background:#000;color:#fff}
.opm .opm-card .tag.worst{background:#F2F2F2}
.opm .opm-card .tag.empty{visibility:hidden}
.opm .opm-card .tag.presc{background:#fff}
.opm .opm-card dl div.off dt,.opm .opm-card dl div.off dd{color:#9A9A9A;font-weight:400}
@media only screen and (max-width:680px){.opm .opm-card{grid-row:auto;display:flex;flex-direction:column}.opm .opm-card .tag.empty{display:none}.opm .opm-card .v{align-self:flex-start}}
.opm .opm-card .n{font-family:"PP",Georgia,serif;font-style:italic;font-size:20px;line-height:125%;margin:0 0 8px}
.opm .opm-card .d{font-size:12px;line-height:150%;color:#313131;margin:0 0 18px}
.opm .opm-card .v{font-size:clamp(26px,4vw,34px);font-weight:500;line-height:1;margin:0 0 14px;align-self:end}
.opm .opm-card dl{margin:0;font-size:13px;line-height:145%}
.opm .opm-card dl div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-items:baseline;padding:8px 0;border-top:0.5px solid #D0D0D0}
.opm .opm-card dt{margin:0;color:#313131;font-weight:400}
.opm .opm-card dt.full{grid-column:1 / -1}
.opm .opm-card dd{margin:0;font-weight:500;white-space:nowrap;text-align:right}
.opm .opm-card .nt{grid-column:1 / -1;margin:0;min-height:16px;font-size:11px;line-height:145%;color:#313131;text-align:right}
.opm .opm-block{margin-bottom:35px}
.opm .opm-block .h{font-family:"PP",Georgia,serif;font-size:11px;text-transform:uppercase;line-height:160%;padding-bottom:8px;border-bottom:0.5px solid #000;margin-bottom:12px}
.opm .opm-block ul{margin:0;padding:0}
.opm .opm-block ul li{list-style:none;position:relative;padding:0 0 0 22px !important;margin:0 0 10px;font-size:15px;line-height:155%}
.opm .opm-block ul li::before{content:'' !important;background-image:none !important;-webkit-mask:none !important;mask:none !important;position:absolute;top:11px;left:0;width:12px;height:1px;background-color:#000 !important}
.opm .txt-small{font-size:12px;letter-spacing:0.5px;line-height:160%;color:#313131}
@media only screen and (max-width:680px){.opm .opm-cards .opm-card .v{align-self:flex-start}}
/* Polymarket : classement des scénarios */
.opm .opm-eco .t{font-size:clamp(24px,3.6vw,32px)}
.opm .opm-list{list-style:none;margin:0 0 28px;padding:0;border-top:1px solid #000;counter-reset:none}
.opm .opm-list>li.opm-row{list-style:none;margin:0 !important;padding:18px 0 !important;border-bottom:0.5px solid #D0D0D0;display:grid;grid-template-columns:28px minmax(0,1fr) 160px 110px;column-gap:18px;align-items:center}
.opm .opm-list>li.opm-row::before{content:none !important;display:none !important;background:none !important;-webkit-mask:none !important;mask:none !important}
.opm .opm-row:last-child{border-bottom:1px solid #000}
.opm .opm-row .rk{font-family:"PP",Georgia,serif;font-style:italic;font-size:22px;line-height:1;color:#9A9A9A}
.opm .opm-row.is-best .rk{color:#000}
.opm .opm-row .q{font-size:16px;font-weight:500;line-height:130%}
.opm .opm-row .hy{font-size:12px;line-height:140%;color:#313131;margin-top:3px}
.opm .opm-row .bar{height:6px;background:#F2F2F2;border-radius:3px;overflow:hidden}
.opm .opm-row .bar span{display:block;height:100%;background:#9A9A9A;border-radius:3px}
.opm .opm-row.is-best .bar span{background:#000}
.opm .opm-row .tt{font-size:22px;font-weight:500;line-height:1;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.opm .opm-row .dt{grid-column:2 / -1;margin-top:10px}
.opm .opm-row .dt summary{cursor:pointer;display:inline-block;font-size:12px;letter-spacing:0.3px;text-transform:uppercase;color:#313131;list-style:none;padding-right:16px;position:relative}
.opm .opm-row .dt summary::-webkit-details-marker{display:none}
.opm .opm-row .dt summary::after{content:'+';position:absolute;right:0;top:-1px}
.opm .opm-row .dt[open] summary::after{content:'−'}
.opm .opm-row .ds{font-size:13px;line-height:150%;color:#313131;margin:10px 0 12px}
.opm .opm-row .st{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;border-top:0.5px solid #D0D0D0;padding-top:10px}
.opm .opm-row .st>div{display:flex;flex-direction:column;gap:2px}
.opm .opm-row .st .l{font-size:12px;color:#313131}
.opm .opm-row .st .a{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums}
.opm .opm-row .st .n{font-size:11px;line-height:140%;color:#313131}
.opm .opm-legend{font-size:13px;line-height:155%;color:#313131;margin:0 0 30px}
.opm .opm-legend p{margin:0 0 8px}
.opm .opm-legend strong{color:#000;font-weight:500}
.opm .opm-perte{margin:-10px 0 30px}
@media only screen and (max-width:640px){
 .opm .opm-list>li.opm-row{grid-template-columns:24px minmax(0,1fr) auto;row-gap:10px}
 .opm .opm-row .bar{grid-column:2 / -1;grid-row:2}
 .opm .opm-row .tt{font-size:19px}
 .opm .opm-row .dt{grid-column:2 / -1}
 .opm .opm-row .st{grid-template-columns:minmax(0,1fr);row-gap:8px}
 .opm .opm-row .st>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:0;align-items:baseline}
 .opm .opm-row .st .n{grid-column:1 / -1}
 .opm .opm-row .st .a{text-align:right}
}
