/* Polices hébergées sur le portail (pas d'appel à Google : plus rapide et conforme RGPD) */
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/unbounded-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/space-grotesk-400.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/space-grotesk-ext-400.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/space-grotesk-500.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/space-grotesk-ext-500.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/space-grotesk-700.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/space-grotesk-ext-700.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Mono';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/space-mono-400.woff2) format('woff2')}
@font-face{font-family:'Space Mono';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/space-mono-700.woff2) format('woff2')}

/* Portail client Bault Studio — styles */
:root {
  --orange: #ff8a3d;
  --blue: #3355ff;
  --radius: 18px;
  --font: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Unbounded', 'Space Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, Menlo, monospace;
}
.t-bleu {
  --bg: #f3f1ea; --surface: #ffffff; --surface2: #f7f6f2; --text: #07080a; --muted: #55575f; --line: #dcdad3; --track: #e4e2db;
  --accent-text: #2a47e0; --ring: #3355ff; --input: #ffffff; --input-line: #c9c7bf;
  --band: #3355ff; --band-text: #ffffff; --band-muted: #e3e8ff; --band-line: rgba(255,255,255,.4); --watermark: rgba(255,255,255,.32);
  --logo-b: #07080a; --nav-on-bg: #ffffff; --nav-on-text: #07080a; --avatar: #07080a;
  --card-on-band: #ffffff; --card-on-band-text: #07080a; --card-on-band-muted: #55575f;
  --hi-bg: #07080a; --hi-text: #f3f1ea; --hi-track: #2c2e36; --hi-seg1: #3355ff; --hi-seg2: #f3f1ea;
  --reserve-bg: #3355ff; --reserve-text: #ffffff; --chip-on-bg: #07080a; --chip-on-text: #f3f1ea;
  color-scheme: light;
}
.t-sombre {
  --bg: #0b0c10; --surface: #15161b; --surface2: #1b1c22; --text: #f3f1ea; --muted: #b4b6bd; --line: #2c2e36; --track: #2c2e36;
  --accent-text: #8fa1ff; --ring: #5b78ff; --input: #0b0c10; --input-line: #3a3c44;
  --band: #07080a; --band-text: #f3f1ea; --band-muted: #b4b6bd; --band-line: #2c2e36; --watermark: rgba(51,85,255,.22);
  --logo-b: #3355ff; --nav-on-bg: #f3f1ea; --nav-on-text: #07080a; --avatar: #3355ff;
  --card-on-band: #15161b; --card-on-band-text: #f3f1ea; --card-on-band-muted: #b4b6bd;
  --hi-bg: #3355ff; --hi-text: #ffffff; --hi-track: rgba(255,255,255,.25); --hi-seg1: #07080a; --hi-seg2: #f3f1ea;
  --reserve-bg: #f3f1ea; --reserve-text: #07080a; --chip-on-bg: #f3f1ea; --chip-on-text: #07080a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; }
a { color: var(--accent-text); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Bandeau + en-tête ---------- */
.band { background: var(--band); color: var(--band-text); position: relative; }
.band .wm { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.band .wm span { position: absolute; right: -120px; top: -200px; font-family: var(--display); font-weight: 900; font-size: 640px; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 2px var(--watermark); }
.topbar { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 20px; color: inherit; text-decoration: none; }
.logo { display: flex; flex-direction: column; white-space: nowrap; }
.logo b { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.logo b i { font-style: normal; color: var(--logo-b); }
.logo b em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--band-text); }
.logo small { font-weight: 500; font-size: 9px; letter-spacing: .5em; margin-top: 5px; text-transform: uppercase; }
.brand .sep { width: 1px; height: 30px; background: var(--band-line); }
.brand .mono { color: var(--band-muted); }
.brand .tag-admin { color: var(--nav-on-text); }
.tag-admin { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--nav-on-bg); color: var(--nav-on-text); }
.nav { display: flex; flex-wrap: wrap; gap: 6px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--band-line); color: var(--band-text); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav a.on { background: var(--nav-on-bg); color: var(--nav-on-text); border-color: var(--nav-on-bg); font-weight: 700; }
.nav a:hover:not(.on) { background: rgba(255,255,255,.1); }
.account { position: relative; }
.account summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 44px; border: 1px solid var(--band-line); border-radius: 999px; padding: 4px 14px 4px 4px; cursor: pointer; font-weight: 700; font-size: 14px; }
.account summary::-webkit-details-marker { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--avatar); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.menu { position: absolute; right: 0; top: 56px; width: 290px; border-radius: 16px; background: var(--surface); color: var(--text); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 20; box-shadow: 0 18px 40px rgba(7,8,10,.18); }
.menu form { margin: 0; }
.theme-opt { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 700 15px var(--font); cursor: pointer; text-align: left; }
.theme-opt.on { border: 2px solid var(--blue); }
.theme-opt .sw { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); flex: 0 0 auto; }
.theme-opt .on-mark { margin-left: auto; font-size: 13px; color: var(--accent-text); }
.menu .logout { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; min-height: 36px; display: flex; align-items: center; }

.hero { position: relative; z-index: 1; padding-top: 36px; padding-bottom: 52px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5vw, 52px); letter-spacing: -.035em; line-height: 1.04; }
.hero .lead { margin: 14px 0 0; font-size: 20px; max-width: 760px; }
.preview-bar { background: var(--orange); color: #07080a; font-weight: 700; font-size: 14px; }
.preview-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.preview-bar a { color: #07080a; }

/* ---------- Cercles ---------- */
.rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.ring-card { border-radius: 20px; background: var(--card-on-band); color: var(--card-on-band-text); padding: 24px; display: flex; align-items: center; gap: 22px; }
.ring-card h2 { font-weight: 700; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.ring-card p { margin: 8px 0 0; font-size: 15px; color: var(--card-on-band-muted); }
.ring-card.hi { background: var(--hi-bg); color: var(--hi-text); }
.ring-card.hi p { color: var(--hi-text); opacity: .85; }
.ring-card svg { flex: 0 0 auto; }
.ring-anim { animation: ringfill 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ringfill { from { stroke-dashoffset: var(--o); } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ring-anim { animation: none; } }
.legend-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.ring-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 15px; }

/* ---------- Corps ---------- */
main.wrap { padding-top: 40px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
.section { display: flex; flex-direction: column; gap: 18px; }
.section > h2, .section .h2 { font-weight: 700; font-size: 30px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.link-strong { font-weight: 700; font-size: 15px; color: var(--accent-text); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.panel { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.panel > h2, .panel > h3 { font-size: 18px; margin-bottom: 14px; }
.panel-title { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.empty { padding: 28px; border-radius: var(--radius); border: 1px dashed var(--input-line); color: var(--muted); text-align: center; }

.alert { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 16px; background: var(--orange); color: #07080a; }
.alert .ico { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: #07080a; display: inline-flex; align-items: center; justify-content: center; }
.alert strong { display: block; font-size: 18px; }
.alert .btn { background: #07080a; color: #f3f1ea; }
.flash { padding: 14px 18px; border-radius: 12px; font-weight: 700; background: #e3f6e8; color: #0b5b26; border: 1px solid #9fd8b1; }
.flash.err { background: #fde8e6; color: #8a1c12; border-color: #f2b1aa; }
.t-sombre .flash { background: #13301d; color: #b9f0c9; border-color: #2a6b40; }
.t-sombre .flash.err { background: #3a1512; color: #ffc4bd; border-color: #7a2a22; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font: 700 15px var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.line { background: transparent; color: var(--text); border: 2px solid var(--text); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--input-line); font-weight: 500; }
.btn.danger { background: transparent; color: #c0362c; border: 1px solid #e3a59f; }
.t-sombre .btn.danger { color: #ff9b91; border-color: #7a2a22; }
.btn.orange { background: var(--orange); color: #07080a; }
.btn.dark { background: #07080a; color: #f3f1ea; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { min-width: 44px; min-height: 44px; border-radius: 999px; background: transparent; border: 1px solid var(--input-line); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--blue); color: #fff; white-space: nowrap; }
.badge.client { background: var(--orange); color: #07080a; }
.badge.done { background: var(--chip-on-bg); color: var(--chip-on-text); }
.badge.soft { background: transparent; color: var(--muted); border: 1px solid var(--line); font-weight: 500; }
.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* Vignettes */
.thumb { position: relative; flex: 0 0 auto; width: 150px; height: 96px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#3355ff 0%,#1c2f8f 60%,#07080a 100%); color: #fff; font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -.03em; text-decoration: none; }
.thumb.alt { background: linear-gradient(135deg,#07080a 0%,#2c2e36 100%); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .play { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(7,8,10,.6); display: flex; align-items: center; justify-content: center; }
.thumb.big { width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 0; font-size: 64px; }
.thumb.square { width: 96px; height: 96px; border-radius: 16px; font-size: 36px; }

/* Cartes vidéo en cours */
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 16px; }
.vcard { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.vcard.client-turn { border: 2px solid var(--orange); }
.vcard .top { display: flex; gap: 18px; align-items: center; }
.vcard h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.vcard .meta { font-size: 14px; color: var(--muted); }
.progress { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.progress span { height: 8px; border-radius: 999px; background: var(--track); }
.progress span.done { background: var(--blue); }
.progress span.cur { background: var(--accent-text); }
.progress span.cur.client { background: var(--orange); }
.progress span.skip { background: repeating-linear-gradient(45deg, var(--track) 0 4px, transparent 4px 8px); }
.vcard .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.vcard .foot b { color: var(--text); }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--accent-text); text-decoration: none; }

/* Forfait mois par mois */
.periods { display: flex; flex-wrap: wrap; gap: 16px; }
.period { flex: 1 1 300px; min-width: 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.period .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.period .num { font-family: var(--display); font-weight: 700; font-size: 24px; }
.cells { display: grid; gap: 6px; }
.cells span { height: 16px; border-radius: 5px; background: var(--track); }
.cells span.on { background: var(--blue); }
.cells span.extra { background: var(--orange); }
.reserve { flex: 1 1 240px; min-width: 0; border-radius: 16px; background: var(--reserve-bg); color: var(--reserve-text); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.reserve .big { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.04em; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); align-items: center; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }

/* Vidéothèque */
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.lcard { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.lcard .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.lcard h2 { font-size: 18px; font-weight: 700; }
.overlay-chip { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(7,8,10,.72); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: inline-block; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--input-line); color: var(--text); font-weight: 700; font-size: 14px; text-decoration: none; }
.pill.on { background: var(--chip-on-bg); color: var(--chip-on-text); border-color: var(--chip-on-bg); }

/* Formulaires */
label { font-size: 14px; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=date], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--input-line); background: var(--input); color: var(--text); font: 15px var(--font);
}
textarea { padding: 12px 16px; min-height: 140px; line-height: 1.5; resize: vertical; }
input.round, select.round { border-radius: 999px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }

/* Fiche vidéo */
.stepper { list-style: none; margin: 0; padding: 0; display: flex; }
.stepper li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.stepper .node { display: flex; align-items: center; }
.stepper .c { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--line); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--surface); }
.stepper .ln { flex: 1 1 auto; height: 3px; margin: 0 6px; border-radius: 999px; background: var(--line); }
.stepper li:last-child .ln { visibility: hidden; }
.stepper .lbl { font-size: 15px; font-weight: 500; color: var(--muted); }
.stepper .date { font-size: 13px; color: var(--muted); }
.stepper li.done .c { background: var(--blue); border-color: var(--blue); color: #fff; }
.stepper li.done .ln { background: var(--blue); }
.stepper li.done .lbl { color: var(--text); }
.stepper li.cur .c { border: 3px solid var(--blue); color: var(--accent-text); }
.stepper li.cur.client .c { background: var(--orange); border-color: var(--orange); color: #07080a; }
.stepper li.cur .lbl { color: var(--text); font-weight: 700; }
.stepper li.skip .c { border-style: dashed; }
.stepper li.skip .lbl { text-decoration: line-through; }
@media (max-width: 720px) {
  .stepper { flex-direction: column; gap: 8px; }
  .stepper li { flex-direction: row; align-items: center; gap: 12px; }
  .stepper .ln { display: none; }
}
.player { border-radius: var(--radius); overflow: hidden; background: #07080a; border: 1px solid var(--line); }
.player video { width: 100%; display: block; aspect-ratio: 16/9; background: #07080a; }
.player .noplay { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: #b4b6bd; text-align: center; padding: 24px; }
.versions { display: flex; flex-wrap: wrap; gap: 8px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 8px 8px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); text-decoration: none; }
.dl .r { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dl:hover { border-color: var(--blue); }
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.split > .main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split > aside { flex: 1 1 330px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.timeline li { display: flex; gap: 14px; padding: 8px 0; }
.timeline .b { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.timeline .b.o { background: var(--orange); }
.timeline .b.g { background: var(--input-line); }
.quote { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); white-space: pre-wrap; font-size: 15px; }
.copy { display: flex; gap: 8px; }
.copy input { font-family: var(--mono); font-size: 13px; }

/* Tableaux admin */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; }
.item { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); }
.item .grow { flex: 1 1 220px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kpi { border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); padding: 16px; }
.kpi b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.kpi span { font-size: 13px; color: var(--muted); }
.dropzone { border: 2px dashed var(--input-line); border-radius: 14px; padding: 24px; background: var(--surface2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 160px; cursor: pointer; }
.dropzone.drag { border-color: var(--blue); background: rgba(51,85,255,.08); }
.bar { height: 10px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--blue); width: 0; transition: width .2s; }
.queue { display: flex; flex-direction: column; gap: 10px; }
.queue .q { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
details.box { border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); padding: 0 16px; }
details.box > summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-weight: 700; }
details.box[open] { padding-bottom: 16px; }

footer.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Connexion */
.login { min-height: 100vh; display: flex; flex-wrap: wrap; background: var(--bg); }
.login .side { flex: 1 1 480px; min-height: 360px; position: relative; overflow: hidden; background: #3355ff; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; }
.login .side .bigb { position: absolute; right: -120px; top: -120px; font-family: var(--display); font-weight: 900; font-size: 820px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(243,241,234,.55); pointer-events: none; }
.login .side .logo b i { color: #07080a; }
.login .side .logo b em { -webkit-text-stroke: 1.5px #fff; }
.login .side .logo b { font-size: 40px; }
.login .side .logo small { font-size: 12px; }
.login .side .tagline { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; }
.login .form { flex: 1 1 440px; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.login .form > div { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.login h1 { font-weight: 800; font-size: 34px; letter-spacing: -.03em; }
.code-input { min-height: 64px !important; text-align: center; font-family: var(--mono) !important; font-size: 28px !important; letter-spacing: .4em; border-radius: 14px !important; border-color: var(--blue) !important; }
.devcode { padding: 12px 16px; border-radius: 12px; background: #fff3c4; color: #5c4400; font-size: 14px; }

input[type=file] { font: 14px var(--font); color: var(--muted); max-width: 100%; }
input[type=file]::file-selector-button { margin-right: 12px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--input-line); background: var(--surface); color: var(--text); font: 700 14px var(--font); cursor: pointer; }
@media (max-width: 760px) { .brand .sep, .brand .mono:not(.tag-admin) { display: none; } }
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .ring-card { flex-direction: column; text-align: center; }
  .vcard .top { flex-direction: column; align-items: flex-start; }
  .thumb { width: 100%; height: auto; aspect-ratio: 16/9; }
  .band .wm span { font-size: 360px; right: -80px; top: -60px; }
}
