/*
 * JouteTrack — theme-pages-joutes-setup.css
 * Wizard création, config plateaux, compétences.
 */

/* ——— Slice 7 : Configuration joute ——— */

.jt-config-page {
    width: 100%;
    max-width: none;
}

.jt-cfg-plateau-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.jt-cfg-plateau-head h3 {
    margin: 0;
}

.jt-cfg-plateau-btns {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.jt-cfg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .jt-cfg-grid {
        grid-template-columns: 1fr;
    }
}

.jt-cfg-col {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.jt-cfg-col-rouge { border-top: 3px solid #e57373; }
.jt-cfg-col-vert  { border-top: 3px solid #81c784; }
.jt-cfg-col-bleu  { border-top: 3px solid #64b5f6; }

.jt-cfg-team-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.jt-cfg-members {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.jt-cfg-members .jt-cfg-member-is-cap {
    order: -1;
}

.jt-cfg-members li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.jt-cfg-members li:last-child {
    border-bottom: none;
}

.jt-cfg-member-name {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jt-cfg-member-fictif {
    font-style: italic;
    color: var(--text-secondary);
}

.jt-cfg-capitaine-star {
    margin: 0 0.2em 0 0;
    font-style: normal;
    font-weight: 700;
    font-size: 1em;
    line-height: 1;
    text-decoration: none;
    color: #f5c518;
    text-shadow:
        0 0 0.04em rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(0, 0, 0, 0.25);
    cursor: help;
}

.jt-cfg-capitaine-inline {
    font-weight: 700;
    color: #f5c518;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

.jt-cfg-cap-missing {
    margin: 0 0 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text-secondary);
    background: rgba(245, 197, 24, 0.1);
    border-radius: 6px;
    border-left: 3px solid #f5c518;
}

.jt-cfg-col-sep {
    border: none;
    height: 0;
    margin: 0.65rem 0 0.35rem;
    padding: 0;
    border-top: 1px solid var(--border-color);
    opacity: 0.85;
}

.jt-cfg-cap-wrap {
    margin: 0 0 0.35rem;
}

/* ——— JT-47 Étape Rôles (maquette docs/design/role.html) ——— */

.jt-roles-step {
    --jt-roles-card: #111827;
    --jt-roles-border: #1e2736;
    --jt-roles-muted: #7a8298;
    --jt-roles-desc: #5a6478;
    --jt-roles-text: #c8cdd5;
    --jt-roles-heading: #e2e8f0;
}

/* En-tête étape wizard (partagé étapes 1–7) */
.jt-wizard-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    min-height: 52px;
}

.jt-wizard-step-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #3a3f54;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b92a5;
    flex-shrink: 0;
}

.jt-wizard-step-header-icon svg {
    display: block;
}

.jt-wizard-step-header-title {
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
    height: 52px;
    display: flex;
    align-items: center;
    font-size: inherit;
    font-weight: inherit;
    border: none;
    background: none;
    -webkit-text-fill-color: unset;
}

.jt-wizard-step-header-title-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    padding-top: 0.35rem;
    background: linear-gradient(90deg, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jt-roles-main-card {
    background: var(--jt-roles-card);
    border: 1px solid var(--jt-roles-border);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
}

.jt-roles-toggle-form {
    margin: 0;
}

.jt-roles-toggle-block {
    margin-bottom: 0.5rem;
}

.jt-roles-toggle-label {
    align-items: flex-start;
}

.jt-roles-toggle-label .jt-setup-per__autoplay-box {
    margin-top: 0.125rem;
}

.jt-roles-toggle-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.jt-roles-toggle-desc {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--jt-roles-muted, #7a8298);
    line-height: 1.5;
}

.jt-roles-accent {
    color: #a78bfa;
    font-weight: 500;
}

/* Colonnes Rouge / Vert / Bleu (wizard setup — partagé étapes 4–6) */
.jt-wizard-team-plateau-section {
    --jt-wizard-team-bg: #0b0f1a;
    --jt-wizard-team-border: #1e2736;
    --jt-wizard-team-muted: #7a8298;
    margin-top: 1.75rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--jt-wizard-team-border);
}

.jt-wizard-team-plateau-section:first-of-type {
    border-top: none;
    margin-top: 1.25rem;
    padding-top: 0;
}

.jt-wizard-team-plateau-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.jt-wizard-team-plateau-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #34d399;
}

.jt-wizard-team-plateau-header--actions {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jt-wizard-team-plateau-header-main {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.jt-wizard-team-card .jt-cfg-members {
    border-bottom: none;
}

.jt-wizard-team-card .jt-cfg-members li {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.jt-wizard-team-card--equipes .jt-cfg-team-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 0.75rem;
}

.jt-wizard-team-card--equipes .jt-cfg-slot-empty {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.jt-wizard-team-card--equipes .form-control {
    width: 100%;
}

.jt-wizard-team-plateau-icon {
    display: flex;
    line-height: 0;
}

.jt-wizard-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .jt-wizard-team-grid {
        grid-template-columns: 1fr;
    }
}

.jt-wizard-team-card {
    border-radius: 14px;
    padding: 1.25rem;
    background: var(--jt-wizard-team-bg, #0b0f1a);
    border: 2px solid;
}

.jt-wizard-team-card--rouge { border-color: #ef4444; }
.jt-wizard-team-card--vert { border-color: #22c55e; }
.jt-wizard-team-card--bleu { border-color: #3b82f6; }

.jt-wizard-team-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
}

.jt-wizard-team-card--rouge .jt-wizard-team-badge {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.jt-wizard-team-card--vert .jt-wizard-team-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.jt-wizard-team-card--bleu .jt-wizard-team-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.jt-wizard-team-badge-svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.jt-roles-player-block {
    margin-bottom: 1.25rem;
}

.jt-roles-player-block:last-child {
    margin-bottom: 0;
}

.jt-roles-player-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--jt-roles-text);
    margin-bottom: 0.5rem;
}

.jt-roles-player-name--fictif {
    font-style: italic;
    color: var(--jt-roles-muted);
}

.jt-roles-role-form {
    margin: 0;
}

.jt-roles-role-select-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.jt-roles-role-select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #7a8298;
    pointer-events: none;
}

.jt-roles-role-select {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 0.875rem;
    background: #1a2030;
    border: 1px solid #2a3348;
    border-radius: 10px;
    color: var(--jt-roles-heading);
    font-size: 0.875rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

.jt-roles-role-select:focus {
    border-color: #4a5568;
}

.jt-roles-role-desc {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--jt-roles-desc);
    font-style: italic;
    line-height: 1.4;
}

.jt-wizard-team-empty {
    margin: 0;
    font-size: 0.875rem;
    color: var(--jt-wizard-team-muted, #94a3b8);
    font-style: italic;
}

.jt-roles-info-bar {
    background: var(--jt-roles-card);
    border: 1px solid var(--jt-roles-border);
    border-radius: 16px;
    padding: 1.125rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.jt-roles-info-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: 2px solid #3a4560;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a7aaa;
}

.jt-roles-info-bar p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--jt-roles-desc);
    font-style: italic;
}

.jt-cfg-cap-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.jt-cfg-cap-form label {
    font-weight: 600;
}

.jt-cfg-cap-form select {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 6rem;
}

.jt-cfg-remove,
.jt-cfg-save {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    font-size: 0.95rem;
}

.jt-cfg-remove {
    color: var(--text-secondary);
}

.jt-cfg-remove:hover {
    color: var(--danger-color);
}

.jt-cfg-save {
    font-size: 0.85rem;
}

.jt-cfg-add-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    text-align: left;
}

.jt-cfg-add-toggle:hover {
    text-decoration: underline;
}

.jt-cfg-add-form {
    padding: 0.75rem;
    background: var(--bg-darker);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.jt-cfg-add-form form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.jt-cfg-team-assign {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.jt-cfg-col-sep ~ .jt-cfg-team-assign {
    border-top: none;
    padding-top: 0.35rem;
}

.jt-cfg-empty {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0;
}

.jt-cfg-issues {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ═══════════════════════════════════════════
   Wizard Joute (Slice 8)
   ═══════════════════════════════════════════ */

.jt-wizard {
    display: grid;
    grid-template-columns: 1fr 280px;
    grid-template-rows: auto 1fr auto;
    gap: 1.5rem;
    width: 100%;
    max-width: none;
}

.jt-wizard-stepper {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.jt-wizard-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.jt-wizard-step--active {
    color: var(--primary);
    font-weight: 700;
}

.jt-wizard-step--done {
    color: var(--success, #28a745);
}

.jt-wizard-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    font-size: 0.78rem;
    font-weight: 700;
}

.jt-wizard-step--active .jt-wizard-step-num {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.jt-wizard-step--done .jt-wizard-step-num {
    border-color: var(--success, #28a745);
    background: var(--success, #28a745);
    color: #fff;
}

.jt-wizard-step-sep {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 0.5rem;
    min-width: 1rem;
}

.jt-wizard-main {
    grid-column: 1;
    min-width: 0;
}

.jt-wizard-sidebar {
    grid-column: 2;
    position: sticky;
    top: 1rem;
    align-self: start;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background: var(--bg-card);
}

.jt-wizard-sidebar h4 {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
}

.jt-wizard-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
}

.jt-wizard-checklist li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.jt-wizard-checklist li.jt-wz-recap-periodes {
    align-items: flex-start;
}

.jt-wizard-checklist li.jt-wz-recap-sidebar-section {
    align-items: flex-start;
    padding: 0.45rem 0;
}

.jt-wz-recap-periodes-inner {
    flex: 1 1 auto;
    min-width: 0;
}

/* Bloc « Périodes » checklist : ne pas étirer le récap sur toute la largeur du li */
.jt-wizard-checklist li.jt-wz-recap-periodes .jt-wz-recap-periodes-inner {
    flex: 0 1 auto;
}

.jt-wz-recap-periodes-title {
    margin: 0 0 0.25rem;
    font-size: inherit;
    font-weight: 600;
    color: var(--text-primary);
}

/* Périodes récap (sidebar wizard + tableau validation) — aligné checklist (.jt-cfg-issues) */
.jt-recap-periodes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    max-width: 100%;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: inherit;
}

.jt-wizard-sidebar .jt-recap-periodes {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.jt-recap-periode-row {
    display: grid;
    /* Numéro fixe, nom collé, durée à droite ; pas de colonne 1fr qui étire */
    grid-template-columns: 1.5rem auto auto;
    column-gap: 0.25rem;
    align-items: baseline;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.35rem 0;
    font-size: inherit;
    line-height: inherit;
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 42%, transparent);
}

.jt-recap-periode-row:last-child {
    border-bottom: none;
}

.jt-recap-periode-num {
    justify-self: start;
    text-align: start;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: inherit;
}

.jt-recap-periode-nom {
    min-width: 0;
    text-align: start;
    font-weight: 500;
    color: inherit;
    padding: 0;
}

.jt-wizard-sidebar .jt-recap-periode-row .jt-recap-periode-nom {
    color: inherit;
    font-weight: inherit;
}

.jt-recap-periode-duree {
    justify-self: start;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
    white-space: nowrap;
}

.jt-wz-recap-equipes-line {
    margin-top: 0.35rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border-color);
    font-size: inherit;
    line-height: 1.4;
}

.jt-wz-recap-equipes-line:first-of-type {
    margin-top: 0.15rem;
}

.jt-wz-recap-equipes-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jt-wz-recap-plateau-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.82em;
    margin-bottom: 0.15rem;
}

.jt-wz-recap-equipes-text {
    color: var(--text-primary);
}

.jt-wz-recap-participants-text {
    margin-top: 0.15rem;
    color: var(--text-primary);
}

.jt-wz-recap-sep {
    color: var(--text-secondary);
    padding: 0 0.15em;
}

.jt-wz-recap-pending {
    color: var(--text-secondary);
    font-style: italic;
}

.jt-recap-table th {
    vertical-align: top;
    text-align: left;
    padding: 0.35rem 0.75rem 0.35rem 0;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.jt-recap-table td {
    vertical-align: top;
    padding: 0.35rem 0;
    width: 100%;
}

.jt-wizard-checklist .jt-wz-ok::before {
    content: "✓";
    color: var(--success, #28a745);
    font-weight: 700;
}

.jt-wizard-checklist .jt-wz-ko::before {
    content: "✗";
    color: var(--danger, #dc3545);
    font-weight: 700;
}

.jt-wizard-nav {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.jt-wizard-nav-left,
.jt-wizard-nav-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.jt-wizard-nav-left .btn,
.jt-wizard-nav-right .btn {
    min-width: 12rem;
    text-align: center;
    box-sizing: border-box;
}

.jt-wizard-nav-right .jt-wizard-nav-launch-form {
    margin: 0;
    display: inline-block;
    min-width: 12rem;
    vertical-align: middle;
}

.jt-wizard-nav-right .jt-wizard-nav-launch-form .btn {
    width: 100%;
}

.jt-wizard-next-wrap {
    display: inline-block;
    min-width: 12rem;
    vertical-align: middle;
    cursor: not-allowed;
}

.jt-wizard-next-wrap.jt-wizard-nav-launch-form {
    margin: 0;
}

.jt-wizard-next-wrap .jt-wizard-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    width: 100%;
    box-sizing: border-box;
}

.jt-wizard-nav-right button.btn.jt-wizard-btn-disabled:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.jt-wizard-quit {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.25rem;
    line-height: 1;
}

.jt-wizard-quit:hover {
    color: var(--danger, #dc3545);
}

@media (max-width: 768px) {
    .jt-wizard {
        grid-template-columns: 1fr;
    }
    .jt-wizard-sidebar {
        grid-column: 1;
        position: static;
        max-height: none;
    }
    .jt-wizard-stepper {
        overflow-x: auto;
        padding-bottom: 0.75rem;
    }
}

.jt-periodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.jt-periode-field label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

.jt-periode-field input {
    width: 100%;
}

.jt-periode-field-unit {
    display: inline;
    margin-left: 0.25rem;
}

@media (max-width: 480px) {
    .jt-periodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.jt-setup-comp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.jt-setup-comp-field label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

.jt-setup-comp-field input {
    width: 100%;
    max-width: 6rem;
}

@media (max-width: 480px) {
    .jt-setup-comp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Étape 2 — Compétences (docs/design/set-competences.html) */
.jt-setup-comp {
    margin-bottom: 0.5rem;
}

.jt-setup-comp__header {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin-bottom: 0.35rem;
}

.jt-setup-comp__header-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 40% 40%, #2a1a4a, #1a0d30);
    border: 2px solid #6b3fa0;
    color: #a855f7;
}

.jt-setup-comp__title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jt-setup-comp__subtitle {
    color: #94a3b8;
    font-size: 0.9375rem;
    margin: 0 0 1.75rem;
    padding-left: 0;
    max-width: 42rem;
}

@media (min-width: 640px) {
    .jt-setup-comp__subtitle {
        padding-left: calc(58px + 1.125rem);
    }
}

.jt-setup-comp__subtitle strong {
    color: #3b82f6;
    font-weight: 700;
}

.jt-setup-comp__panel {
    background: #111827;
    border: 1px solid #1e2d45;
    border-radius: 20px;
    padding: 1.75rem;
}

.jt-setup-comp__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.jt-setup-comp__card {
    border-radius: 16px;
    padding: 1.75rem 1.375rem 1.375rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.jt-setup-comp__card--blue {
    background: linear-gradient(160deg, #0f2040 0%, #0a1830 100%);
    border: 1.5px solid #1e4080;
}

.jt-setup-comp__card--purple {
    background: linear-gradient(160deg, #1a0f38 0%, #120b2a 100%);
    border: 1.5px solid #3d1f7a;
}

.jt-setup-comp__card--teal {
    background: linear-gradient(160deg, #0b2030 0%, #071820 100%);
    border: 1.5px solid #0e5550;
}

.jt-setup-comp__card--orange {
    background: linear-gradient(160deg, #261508 0%, #1a0e06 100%);
    border: 1.5px solid #7a3a10;
}

.jt-setup-comp__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jt-setup-comp__card-icon--blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.jt-setup-comp__card-icon--purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.jt-setup-comp__card-icon--teal {
    background: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
}

.jt-setup-comp__card-icon--orange {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.jt-setup-comp__card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
}

.jt-setup-comp__card-value {
    width: 100%;
    background: #0a0f1e;
    border-radius: 10px;
    padding: 0.875rem 0;
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.jt-setup-comp__card-value--blue { color: #3b82f6; }
.jt-setup-comp__card-value--purple { color: #8b5cf6; }
.jt-setup-comp__card-value--teal { color: #14b8a6; }
.jt-setup-comp__card-value--orange { color: #f97316; }

.jt-setup-comp__slider-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.jt-setup-comp__slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 0.15rem;
}

.jt-setup-comp__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(to right, var(--jt-setup-fill, #3b82f6) var(--jt-setup-pct, 50%), #1e2d45 var(--jt-setup-pct, 50%));
}

.jt-setup-comp__slider--blue { --jt-setup-fill: #3b82f6; }
.jt-setup-comp__slider--purple { --jt-setup-fill: #8b5cf6; }
.jt-setup-comp__slider--teal { --jt-setup-fill: #14b8a6; }
.jt-setup-comp__slider--orange { --jt-setup-fill: #f97316; }

.jt-setup-comp__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--jt-setup-fill, #3b82f6);
    border: 3px solid #fff;
    box-shadow: 0 0 6px color-mix(in srgb, var(--jt-setup-fill, #3b82f6) 60%, transparent);
}

.jt-setup-comp__slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--jt-setup-fill, #3b82f6);
    cursor: pointer;
}

.jt-setup-comp__bar {
    background: #0e1623;
    border: 1px solid #1e2d45;
    border-radius: 14px;
    padding: 1.125rem 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.jt-setup-comp__total {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jt-setup-comp__star {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    border: 1.5px solid #14b8a6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    flex-shrink: 0;
}

.jt-setup-comp__total-label {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.125rem;
}

.jt-setup-comp__total-value {
    font-size: 1.625rem;
    font-weight: 800;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.jt-setup-comp__valid {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.jt-setup-comp__valid-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    flex-shrink: 0;
}

.jt-setup-comp__valid-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #10b981;
}

.jt-setup-comp__valid-sub {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.125rem;
}

.jt-setup-comp__valid--warn .jt-setup-comp__valid-icon {
    border-color: #f59e0b;
    color: #f59e0b;
}

.jt-setup-comp__valid--warn .jt-setup-comp__valid-title {
    color: #f59e0b;
}

.jt-setup-comp__valid--err .jt-setup-comp__valid-icon {
    border-color: #ef4444;
    color: #ef4444;
}

.jt-setup-comp__valid--err .jt-setup-comp__valid-title {
    color: #ef4444;
}

.jt-setup-comp-warn {
    margin-top: 1rem;
}

@media (max-width: 960px) {
    .jt-setup-comp__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .jt-setup-comp__grid {
        grid-template-columns: 1fr;
    }

    .jt-setup-comp__panel {
        padding: 1.25rem;
    }
}

/* Étape 3 — Périodes (aligné étape Compétences / set-competences.html) */
.jt-setup-per {
    margin-bottom: 0.5rem;
}

.jt-setup-per__header {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin-bottom: 1.75rem;
}

.jt-setup-per__header-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 40% 40%, #0f2a3a, #0a1820);
    border: 2px solid #0e7490;
    color: #22d3ee;
}

.jt-setup-per__title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jt-setup-per__subtitle {
    color: #94a3b8;
    font-size: 0.9375rem;
    margin: 0 0 1.75rem;
    max-width: 42rem;
}

@media (min-width: 640px) {
    .jt-setup-per__subtitle {
        padding-left: calc(58px + 1.125rem);
    }
}

.jt-setup-per__subtitle strong {
    color: #3b82f6;
    font-weight: 700;
}

.jt-setup-per__panel {
    background: #111827;
    border: 1px solid #1e2d45;
    border-radius: 20px;
    padding: 1.75rem;
}

.jt-setup-per__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.jt-setup-per__card {
    border-radius: 16px;
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
}

.jt-setup-per__card--blue {
    background: linear-gradient(160deg, #0f2040 0%, #0a1830 100%);
    border: 1.5px solid #1e4080;
}

.jt-setup-per__card--purple {
    background: linear-gradient(160deg, #1a0f38 0%, #120b2a 100%);
    border: 1.5px solid #3d1f7a;
}

.jt-setup-per__card--teal {
    background: linear-gradient(160deg, #0b2030 0%, #071820 100%);
    border: 1.5px solid #0e5550;
}

.jt-setup-per__card--orange {
    background: linear-gradient(160deg, #261508 0%, #1a0e06 100%);
    border: 1.5px solid #7a3a10;
}

.jt-setup-per__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jt-setup-per__card-icon--blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.jt-setup-per__card-icon--purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.jt-setup-per__card-icon--teal {
    background: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
}

.jt-setup-per__card-icon--orange {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.jt-setup-per__card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #e2e8f0;
}

.jt-setup-per__card-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
    min-height: 2.5em;
}

.jt-setup-per__card-value {
    width: 100%;
    background: #0a0f1e;
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.jt-setup-per__card-unit {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.jt-setup-per__card-value--blue { color: #3b82f6; }
.jt-setup-per__card-value--purple { color: #8b5cf6; }
.jt-setup-per__card-value--teal { color: #14b8a6; }
.jt-setup-per__card-value--orange { color: #f97316; }

.jt-setup-per__card-value--blue .jt-setup-per__card-unit { color: #3b82f6; opacity: 0.7; }
.jt-setup-per__card-value--purple .jt-setup-per__card-unit { color: #8b5cf6; opacity: 0.7; }
.jt-setup-per__card-value--teal .jt-setup-per__card-unit { color: #14b8a6; opacity: 0.7; }
.jt-setup-per__card-value--orange .jt-setup-per__card-unit { color: #f97316; opacity: 0.7; }

.jt-setup-per__slider-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.jt-setup-per__slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: #4b5563;
}

.jt-setup-per__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(to right, var(--jt-setup-fill, #3b82f6) var(--jt-setup-pct, 50%), #1e2d45 var(--jt-setup-pct, 50%));
}

.jt-setup-per__slider--blue { --jt-setup-fill: #3b82f6; }
.jt-setup-per__slider--purple { --jt-setup-fill: #8b5cf6; }
.jt-setup-per__slider--teal { --jt-setup-fill: #14b8a6; }
.jt-setup-per__slider--orange { --jt-setup-fill: #f97316; }

.jt-setup-per__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--jt-setup-fill, #3b82f6);
    border: 3px solid #fff;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.45);
}

.jt-setup-per__slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--jt-setup-fill, #3b82f6);
    cursor: pointer;
}

.jt-setup-per__bar {
    background: #0e1623;
    border: 1px solid #1e2d45;
    border-radius: 14px;
    padding: 1.125rem 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.jt-setup-per__total {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jt-setup-per__star {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 1.5px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.jt-setup-per__total-label {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.125rem;
}

.jt-setup-per__total-value {
    font-size: 1.625rem;
    font-weight: 800;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.jt-setup-per__valid {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.jt-setup-per__valid-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    flex-shrink: 0;
}

.jt-setup-per__valid-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #10b981;
}

.jt-setup-per__valid-sub {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.125rem;
}

.jt-setup-per__autoplay {
    background: #0e1623;
    border: 1px solid #1e2d45;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
}

.jt-setup-per__autoplay-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.jt-setup-per__autoplay-check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jt-setup-per__autoplay-box {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0f1e;
    border: 2px solid #14b8a6;
    box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.15);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.jt-setup-per__autoplay-box::after {
    content: '';
    width: 0.45rem;
    height: 0.75rem;
    border: solid transparent;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -0.15rem;
    transition: transform 0.12s ease;
}

.jt-setup-per__autoplay-check:checked + .jt-setup-per__autoplay-box {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-color: #2dd4bf;
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.35);
}

.jt-setup-per__autoplay-check:checked + .jt-setup-per__autoplay-box::after {
    border-color: #0c1120;
    transform: rotate(45deg) scale(1);
}

.jt-setup-per__autoplay-check:focus-visible + .jt-setup-per__autoplay-box {
    outline: 2px solid #22d3ee;
    outline-offset: 3px;
}

.jt-setup-per__autoplay-title {
    flex: 1;
    min-width: 0;
}

.jt-setup-per__autoplay-label:hover .jt-setup-per__autoplay-box {
    border-color: #2dd4bf;
}

@media (max-width: 960px) {
    .jt-setup-per__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .jt-setup-per__grid {
        grid-template-columns: 1fr;
    }

    .jt-setup-per__panel {
        padding: 1.25rem;
    }
}

/* Étape 6 — Validation (aligné docs/design/validation.html) */
.jt-setup-val {
    margin-bottom: 0.5rem;
}

.jt-setup-val__header {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin-bottom: 1.75rem;
}

.jt-setup-val__header-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 40% 40%, #2a1a5e, #1a0e3a);
    border: 2px solid #3a2070;
    color: #00e5ff;
}

.jt-setup-val__title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #00e5ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jt-setup-val__panel {
    background: #111827;
    border: 1px solid #1e2d45;
    border-radius: 16px;
    padding: 1.75rem 1.875rem;
    margin-bottom: 1.25rem;
}

.jt-setup-val__panel--launch {
    margin-bottom: 0;
}

.jt-setup-val__card-head {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.jt-setup-val__card-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a1a5e, #1a0e3a);
    border: 1px solid #3a2070;
    color: #00e5ff;
}

.jt-setup-val__card-icon--launch {
    color: #10b981;
    border-color: #065f46;
    background: linear-gradient(135deg, #0a2e22, #071a14);
}

.jt-setup-val__card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #00e5ff;
}

.jt-setup-val__panel--launch .jt-setup-val__card-title {
    color: #34d399;
}

.jt-setup-val__recap {
    border: 1px solid #1e2d45;
    border-radius: 10px;
    overflow: hidden;
}

.jt-setup-val__row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.125rem 1.375rem;
    border-bottom: 1px solid #1e2d45;
}

.jt-setup-val__row:last-child {
    border-bottom: none;
}

.jt-setup-val__label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 11rem;
    flex-shrink: 0;
    color: #8899bb;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 0.15rem;
}

.jt-setup-val__label-icon {
    flex-shrink: 0;
    color: #00e5ff;
}

.jt-setup-val__label-icon--purple {
    color: #a855f7;
}

.jt-setup-val__value {
    flex: 1;
    min-width: 0;
    color: #e2e8f0;
    font-size: 0.97rem;
}

.jt-setup-val__value--nom {
    font-size: 1rem;
    padding-top: 0.1rem;
}

.jt-setup-val__value--plateaux {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 0.1rem;
}

.jt-setup-val__plateau-num {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.jt-setup-val__plateau-label {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: normal;
}

.jt-setup-val__row--periods {
    align-items: stretch;
}

.jt-setup-val__periods {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.jt-setup-val__period {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: #0e1726;
    border: 1px solid #1e2d45;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.jt-setup-val__period-num {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* Couleurs périodes = étape 3 (.jt-setup-per__card-*) */
.jt-setup-val__period-num--blue {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid #1e4080;
    color: #60a5fa;
}

.jt-setup-val__period-num--purple {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid #3d1f7a;
    color: #a78bfa;
}

.jt-setup-val__period-num--teal {
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid #0e5550;
    color: #2dd4bf;
}

.jt-setup-val__period-num--orange {
    background: rgba(251, 146, 60, 0.12);
    border: 1px solid #7a3a10;
    color: #fb923c;
}

.jt-setup-val__period-name {
    flex: 1;
    min-width: 0;
    color: #e2e8f0;
    font-size: 1rem;
}

.jt-setup-val__time {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    background: #0e1726;
    border: 1px solid #1e3a50;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.jt-setup-val__time--blue {
    color: #60a5fa;
    border-color: #1e4080;
}

.jt-setup-val__time--purple {
    color: #a78bfa;
    border-color: #3d1f7a;
}

.jt-setup-val__time--teal {
    color: #2dd4bf;
    border-color: #0e5550;
}

.jt-setup-val__time--orange {
    color: #fb923c;
    border-color: #7a3a10;
}

.jt-setup-val__status {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: 12px;
    border: 1px solid #1e2d45;
    background: #0e1726;
}

.jt-setup-val__status--ok {
    border-color: #065f46;
    background: rgba(16, 185, 129, 0.08);
}

.jt-setup-val__status--ko {
    border-color: #7f1d1d;
    background: rgba(239, 68, 68, 0.06);
}

.jt-setup-val__status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    flex-shrink: 0;
}

.jt-setup-val__status-icon--ko {
    border-color: #f87171;
    color: #f87171;
}

.jt-setup-val__status-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #10b981;
}

.jt-setup-val__status--ko .jt-setup-val__status-title {
    color: #fca5a5;
}

.jt-setup-val__status-sub {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.2rem;
    line-height: 1.4;
}

.jt-setup-val__issues {
    margin: 1rem 0 0;
    padding: 0 0 0 1.25rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.jt-setup-val__issues li + li {
    margin-top: 0.35rem;
}

.jt-setup-val__fix-links {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

.jt-setup-val__fix-links a {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 600;
}

.jt-setup-val__fix-links a:hover {
    text-decoration: underline;
}

.jt-setup-val__fix-sep {
    margin: 0 0.35rem;
    color: #475569;
}

.jt-setup-val__fix-label {
    margin-right: 0.35rem;
}

@media (max-width: 640px) {
    .jt-setup-val__row {
        flex-direction: column;
        gap: 0.65rem;
    }

    .jt-setup-val__label {
        min-width: 0;
    }

    .jt-setup-val__period {
        flex-wrap: wrap;
    }

    .jt-setup-val__time {
        margin-left: calc(34px + 0.875rem);
    }
}
