/* Navigation horizontale commune EE / EO */
.u2-period-browser { display: block; width: 100%; max-width: 100%; min-width: 0; margin: 22px 0 0; box-sizing: border-box; }
.u2-period-browser, .u2-period-browser * { box-sizing: border-box; }
.u2-period-browser .u2-period-panels,
.u2-period-browser .u2-period-panel,
.u2-period-browser .u2-period-combination-list { width: 100%; max-width: 100%; min-width: 0; }
.u2-period-browser .u2-period-combination-list > article { width: 100%; max-width: 100%; min-width: 0; grid-column: 1 / -1; margin: 0 !important; }
.u2-period-tabs { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; width: 100%; overflow-x: auto; overflow-y: hidden; padding: 5px 3px 12px; border-bottom: 1px solid #d6e7e3; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #0f766e #e7f1ef; -webkit-overflow-scrolling: touch; }
.u2-period-tabs::-webkit-scrollbar { height: 7px; }
.u2-period-tabs::-webkit-scrollbar-track { background: #e7f1ef; border-radius: 99px; }
.u2-period-tabs::-webkit-scrollbar-thumb { background: #0f766e; border-radius: 99px; }
.u2-period-tab { flex: 0 0 auto; min-height: 54px; min-width: 112px; max-width: 210px; padding: 11px 18px; border: 1px solid #cfe3df; border-radius: 13px; background: #fff; color: #26443f; font: inherit; font-weight: 750; line-height: 1.25; text-align: center; cursor: pointer; scroll-snap-align: start; transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.u2-period-tab:first-child { min-width: 148px; }
.u2-period-tab:hover { border-color: #0f766e; }
.u2-period-tab.is-active { background: #0f766e; border-color: #0f766e; color: #fff; box-shadow: 0 5px 14px rgba(15,118,110,.16); }
.u2-period-panels { display: block; padding-top: 20px; }
.u2-period-panel[hidden] { display: none !important; }
.u2-period-panel { min-width: 0; }
.u2-period-panel-heading { margin: 0 0 16px; color: #173c36; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 800; }
.u2-period-combination-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.u2-period-combination-list > .u2-ee-combination-accordion,
.u2-period-combination-list > .u2-eo-combination-accordion { margin: 0 !important; min-width: 0; }
.u2-period-combination-list .u2-combination-period-label { display: block; margin-bottom: 3px; color: #0f766e; font-size: .72rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.u2-period-combination-list .is-locked { opacity: .68; filter: saturate(.45); }
.u2-period-combination-list .is-locked .u2-ee-combination-toggle,
.u2-period-combination-list .is-locked .u2-eo-combination-toggle { cursor: pointer; }
.u2-combination-locked-button { width: 100%; text-align: left; }
.u2-period-empty { padding: 18px; border: 1px dashed #cbdcd8; border-radius: 12px; color: #647570; }

/* Fenêtre modale d'accès */
/* Simulation : accès réservé aux utilisateurs connectés */
.u2-ee-simulation-modal[hidden] { display: none !important; }
.u2-ee-simulation-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 20px; }
.u2-combination-access-modal[hidden] { display: none !important; }
.u2-combination-access-modal { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 20px; }
.u2-combination-access-backdrop { position: absolute; inset: 0; background: rgba(12, 25, 22, .62); backdrop-filter: blur(3px); }
.u2-combination-access-dialog { position: relative; z-index: 1; width: min(100%, 460px); padding: 30px; border: 1px solid #dce9e6; border-radius: 22px; background: #fff; box-shadow: 0 22px 70px rgba(0,0,0,.24); color: #173c36; }
.u2-combination-access-close { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: #f0f5f4; color: #38534e; cursor: pointer; }
.u2-combination-access-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 16px; background: #e6f4f1; color: #0f766e; font-size: 1.35rem; }
.u2-combination-access-dialog h2 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 850; }
.u2-combination-access-dialog p { margin: 0; color: #61716d; line-height: 1.65; }
.u2-combination-access-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 23px; }
.u2-combination-access-primary, .u2-combination-access-secondary { display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 16px; border-radius: 12px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.u2-combination-access-primary { border: 1px solid #0f766e; background: #0f766e; color: #fff; }
.u2-combination-access-secondary { border: 1px solid #cfe0dc; background: #fff; color: #24524b; }
body.u2-combination-modal-open { overflow: hidden; }
@media (min-width: 760px) { .u2-period-combination-list { gap: 14px; } .u2-combination-access-actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .u2-period-tab { min-height: 48px; min-width: 100px; padding: 10px 14px; border-radius: 11px; font-size: .9rem; } .u2-period-tab:first-child { min-width: 140px; } .u2-combination-access-dialog { padding: 25px 20px; border-radius: 18px; } }
