[data-tool="choix-pondere"]{--luck-action: var(--outil-action);--luck-action-hover: var(--outil-action-hover);--luck-action-text: var(--outil-action-texte);--luck-border: var(--outil-bord);--luck-surface: var(--outil-surface);--luck-text: var(--outil-texte);--luck-strong: var(--outil-fonce);--luck-danger: #dc2626;--luck-shadow: 0 10px 28px rgb(var(--outil-ombre-rgb) / 0.08);display: grid;gap: 1rem}.wc-intro,.wc-status,.wc-result-chance{margin: 0;color: var(--luck-text);line-height: 1.55}.wc-layout{display: grid;grid-template-columns: minmax(0,1.42fr) minmax(240px,0.58fr);gap: 1rem;align-items: stretch}.wc-card{border: 1px solid var(--luck-border);border-radius: 14px;background: #fff;box-shadow: var(--luck-shadow);padding: 1rem}.wc-card-head{display: flex;align-items: center;justify-content: center;min-height: 2.5rem;gap: 1rem;text-align: center}.wc-history-head{justify-content: space-between;text-align: left}.wc-card h2{margin: 0;color: var(--luck-strong);font-size: 1.08rem;font-weight: 900;line-height: 1.2}.wc-table{display: grid;gap: 0.55rem;margin-top: 1rem}.wc-table-head,.wc-entry{display: grid;grid-template-columns: minmax(8.5rem,1fr) 8.25rem 5.55rem 2.5rem;gap: 0.55rem;align-items: center}.wc-table-head{color: var(--luck-strong);font-size: 0.88rem;font-weight: 900;text-align: center}.wc-entry-list{display: grid;gap: 0.62rem}.wc-input{display: block;width: 100%;min-width: 0;min-height: 44px;border: 1px solid var(--luck-border);border-radius: 10px;background: #fff;color: var(--luck-strong);font: inherit;font-weight: 800;outline: 0;padding: 0.55rem 0.62rem;box-sizing: border-box;transition: border-color 0.16s ease,box-shadow 0.16s ease}.wc-input:focus{border-color: var(--luck-action-hover);box-shadow: 0 0 0 3px color-mix(in srgb,var(--luck-action) 16%,transparent)}.wc-stepper{display: grid;grid-template-columns: 2.25rem minmax(2.85rem,1fr) 2.25rem;gap: 0.32rem;align-items: stretch}.wc-weight{text-align: center;appearance: textfield}.wc-weight::-webkit-outer-spin-button,.wc-weight::-webkit-inner-spin-button{margin: 0;appearance: none}.wc-probability{display: flex;align-items: center;justify-content: center;min-height: 44px;border: 1px solid var(--luck-border);border-radius: 10px;background: var(--luck-surface);color: var(--luck-strong);font-weight: 900;text-align: center}.wc-action,.wc-stepper-button,.wc-remove{display: inline-flex;align-items: center;justify-content: center;min-width: 0;min-height: 42px;border: 1px solid var(--luck-border);border-radius: 10px;background: #fff;color: var(--luck-strong);cursor: pointer;font: inherit;font-weight: 900;line-height: 1.15;padding: 0.62rem 0.9rem;text-align: center;transition: transform 0.12s ease,border-color 0.16s ease,background-color 0.16s ease,color 0.16s ease,box-shadow 0.16s ease}.wc-stepper-button,.wc-remove{padding: 0}.wc-stepper-button{color: var(--luck-action);font-size: 1.25rem;font-weight: 1000}.wc-remove{width: 2.5rem;height: 2.5rem;min-height: 2.5rem;color: var(--luck-danger);font-size: 1.35rem;font-weight: 1000}.wc-remove[hidden]{display: none}.wc-action:not(:disabled):hover,.wc-action:not(:disabled):focus-visible,.wc-stepper-button:not(:disabled):hover,.wc-stepper-button:not(:disabled):focus-visible,.wc-remove:not(:disabled):hover,.wc-remove:not(:disabled):focus-visible{border-color: var(--luck-action-hover);color: var(--luck-action-hover);box-shadow: 0 0 0 3px color-mix(in srgb,var(--luck-action) 16%,transparent);outline: 0}.wc-remove:not(:disabled):hover,.wc-remove:not(:disabled):focus-visible{border-color: var(--luck-danger);color: var(--luck-danger);box-shadow: 0 0 0 3px rgb(220 38 38 / 0.14)}.wc-action:focus-visible,.wc-stepper-button:focus-visible,.wc-remove:focus-visible{outline: 3px solid color-mix(in srgb,var(--outil-focus) 30%,transparent);outline-offset: 2px}.wc-action:not(:disabled):active,.wc-stepper-button:not(:disabled):active,.wc-remove:not(:disabled):active{transform: translateY(2px) scale(0.98)}.wc-action-primary{border-color: var(--luck-action);background: var(--luck-action);color: var(--luck-action-text)}.wc-action-primary:not(:disabled):hover,.wc-action-primary:not(:disabled):focus-visible{background: var(--luck-action-hover);color: var(--luck-action-text)}.wc-action:disabled,.wc-stepper-button:disabled,.wc-remove:disabled{cursor: not-allowed;opacity: 0.58;transform: none;box-shadow: none}.wc-status{min-height: 1.45rem;margin-top: 0.85rem;text-align: center}.wc-status.is-error{color: #b91c1c;font-weight: 900}.wc-add-row,.wc-draw-row{display: flex;justify-content: center;margin-top: 1rem}.wc-result-card{max-width: 36rem}.wc-result-box{display: flex;align-items: center;justify-content: center;min-height: 9.5rem;margin-top: 1rem;border: 1px solid var(--luck-border);border-radius: 10px;background: var(--luck-surface);color: var(--luck-strong);font-size: clamp(1.45rem,3vw,2.2rem);font-weight: 1000;line-height: 1.25;padding: 1rem;text-align: center;white-space: pre-wrap;overflow-wrap: anywhere}.wc-result-box.is-empty{color: var(--luck-text)}.wc-result-chance{min-height: 1.45rem;margin-top: 0.65rem;text-align: center}.wc-history{display: grid;gap: 0.5rem;margin: 0.85rem 0 0;padding-left: 1.35rem}.wc-history li{color: var(--luck-strong);font-weight: 800;line-height: 1.35}.wc-history li:first-child:not(.is-empty){color: var(--luck-action-hover);font-weight: 1000}.wc-history li.is-empty{list-style: none;margin-left: -1.35rem;padding: 1.25rem 0;color: var(--luck-text);font-weight: 800;text-align: center}.wc-clear-history{min-height: 38px;padding: 0.5rem 0.8rem}@media (max-width: 900px){.wc-layout{grid-template-columns: 1fr}}@media (max-width: 680px){.wc-card{padding: 0.85rem}.wc-table-head{display: none}.wc-entry{grid-template-columns: minmax(0,1fr) 2.75rem;gap: 0.55rem;border: 1px solid var(--luck-border);border-radius: 10px;padding: 0.7rem}.wc-entry .wc-choice-input{grid-column: 1 / -1}.wc-stepper{grid-column: 1 / 2}.wc-probability{grid-column: 1 / 2}.wc-remove{grid-column: 2 / 3;grid-row: 2 / 4;align-self: center}.wc-history-head{display: grid;grid-template-columns: 1fr;justify-items: start}.wc-action,.wc-clear-history{width: 100%}}@media (prefers-reduced-motion: reduce){[data-tool="choix-pondere"] *,[data-tool="choix-pondere"] *::before,[data-tool="choix-pondere"] *::after{animation-duration: 0.01ms;transition-duration: 0.01ms}}