/* VersoPages : écrans de compte et tableau de bord. S'appuie sur les variables de vp.css. */

/* ---------- Formulaires communs ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field > span { display: flex; justify-content: space-between; align-items: baseline; }
.field > span a { font-weight: 500; color: var(--muted); font-size: 13px; }
.field > span a:hover { color: var(--signal-deep); }
.field small { font-weight: 400; color: var(--faint); font-size: 12.5px; }
.field input, .field select, .field textarea, .inp { width: 100%; height: 46px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px; font: 500 15px var(--body); color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .inp:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,17,22,.07); }
.field .with { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--paper); }
.field .with input { border: 0; border-radius: 0; box-shadow: none !important; }
.field .with em { display: flex; align-items: center; padding: 0 12px; font: 500 13.5px var(--mono); font-style: normal; color: var(--faint); background: var(--mist); white-space: nowrap; }
.field .with:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,17,22,.07); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.check a { text-decoration: underline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; }
.alert { padding: 12px 14px; border-radius: 11px; font-size: 14px; margin-bottom: 4px; }
.alert.err { background: #FFF1EC; color: #B4380B; border: 1px solid #FFD6C6; }
.alert.ok { background: var(--ok-soft); color: #0A6B47; border: 1px solid #C7EBDA; }
.alert.info { background: #EEF3FF; color: #2747A8; border: 1px solid #D6E1FF; }

/* ---------- Écrans de compte ---------- */
.auth-body { background: var(--paper); }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-main { display: flex; flex-direction: column; padding: 36px 48px; }
.auth-box { width: 100%; max-width: 420px; margin: auto; padding-block: 40px; }
.auth-box h1 { font: 750 34px/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 10px; }
.auth-box .sub { color: var(--muted); margin: 0 0 28px; }
.auth-box .alt-link { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--muted); }
.auth-box .alt-link a { color: var(--ink); font-weight: 600; }
.auth-legal { font-size: 12.5px; color: var(--faint); text-align: center; margin: 0; }
.auth-legal a { text-decoration: underline; }
.big-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--signal-soft); color: var(--signal-deep); display: grid; place-items: center; margin-bottom: 22px; }
.big-ic svg { width: 28px; height: 28px; }
.stripe-box { min-height: 320px; border-radius: 14px; }
.auth-side { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.auth-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.auth-glow { position: absolute; width: 620px; height: 620px; right: -200px; top: -240px; background: radial-gradient(closest-side, rgba(255,90,31,.45), transparent); }
.auth-quote { position: relative; max-width: 440px; }
.auth-quote .eyebrow { color: #FF9466; }
.auth-quote h2 { margin: 16px 0 24px; font-size: 40px; color: #fff; }
.auth-quote ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: #C9CFD8; font-size: 15px; }
.auth-quote li { display: flex; gap: 10px; align-items: center; }
.auth-quote svg { width: 20px; height: 20px; color: #FF9466; }
.auth-card { position: relative; max-width: 440px; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); overflow: hidden; transform: rotate(-2deg); }
.ac-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #F5F6F8; border-bottom: 1px solid #E3E6EB; }
.ac-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5D9E0; }
.ac-bar span { margin-left: 8px; font: 500 11.5px var(--mono); color: #5B6270; }
.ac-body { padding: 22px; }
.ac-h { height: 22px; width: 60%; background: #0E1116; border-radius: 6px; margin-bottom: 12px; }
.ac-l { height: 9px; background: #EEF0F3; border-radius: 5px; margin-bottom: 8px; } .ac-l.s { width: 70%; }
.ac-cta { margin-top: 14px; height: 32px; width: 130px; border-radius: 8px; background: #FF5A1F; }

/* ---------- Tableau de bord ---------- */
.app-body-l { background: var(--mist); }
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; background: var(--night); color: #C9CFD8; overflow-y: auto; }
.side .brand { color: #fff; padding: 6px 10px 18px; }
.side .brand > img { box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.side-new { margin: 0 4px 14px; }
.side-sec { margin: 14px 10px 6px; font: 600 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #5E6878; }
.side a.it { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: #A9B1BE; transition: background .15s, color .15s; }
.side a.it svg { width: 19px; height: 19px; flex-shrink: 0; }
.side a.it:hover { background: #161C25; color: #fff; }
.side a.it.on { background: #1A212C; color: #fff; box-shadow: inset 2px 0 0 var(--signal); }
.side a.it.on svg { color: #FF9466; }
.side a.it .n { margin-left: auto; font: 600 11px var(--mono); color: #6B7586; }
.side-plan { margin-top: auto; padding: 14px; border-radius: 12px; border: 1px solid #222A36; background: #10151C; font-size: 12.5px; color: #8C96A6; }
.side-plan b { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 13.5px; margin-bottom: 10px; }
.side-plan b span { font: 600 10.5px var(--mono); color: #FF9466; background: rgba(255,90,31,.14); padding: 3px 7px; border-radius: 6px; }
.side-plan .bar { height: 6px; border-radius: 6px; background: #1E2530; overflow: hidden; margin: 6px 0 10px; }
.side-plan .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--signal), #FF9466); border-radius: 6px; }
.side-plan a { color: #fff; font-weight: 600; font-size: 12.5px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 12px 8px 4px; margin-top: 12px; border-top: 1px solid #1E2530; }
.av { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--signal), #FFB38F); color: #fff; display: grid; place-items: center; font: 700 14px var(--display); flex-shrink: 0; }
.side-user div { min-width: 0; flex: 1; font-size: 13px; }
.side-user b { display: block; color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user small { display: block; color: #6B7586; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user form button { background: none; border: 0; color: #6B7586; cursor: pointer; padding: 6px; border-radius: 8px; }
.side-user form button:hover { color: #fff; background: #161C25; }
.side-user svg { width: 18px; height: 18px; }

.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 14px; padding: 22px 36px; }
.top h1 { font: 750 28px/1.1 var(--display); letter-spacing: -.03em; margin: 0; }
.top .crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.top .crumb a:hover { color: var(--ink); }
.top-act { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.content { padding: 0 36px 60px; display: grid; gap: 22px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }

.panel-l { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.panel-h { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.panel-h h2 { font: 650 17px var(--display); letter-spacing: -.01em; margin: 0; }
.panel-h p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.panel-h .act { margin-left: auto; display: flex; gap: 8px; }
.panel-b { padding: 22px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.kpi small { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi small svg { width: 17px; height: 17px; }
.kpi b { display: block; margin-top: 10px; font: 750 30px/1 var(--display); letter-spacing: -.03em; }
.kpi em { font-style: normal; font-size: 12.5px; color: var(--faint); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--faint); }
.search input { padding-left: 38px; height: 40px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip i { width: 9px; height: 9px; border-radius: 3px; }

.plist { display: grid; }
.prow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line-2); transition: background .12s; }
.prow:last-child { border-bottom: 0; }
.prow:hover { background: #FBFBFC; }
.pthumb { width: 44px; height: 34px; border-radius: 8px; position: relative; overflow: hidden; background: linear-gradient(135deg, #2A3140, #0E1116); }
.pthumb::after { content: ""; position: absolute; left: 7px; right: 12px; top: 8px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.55); box-shadow: 0 7px 0 rgba(255,255,255,.3), 0 14px 0 -1px rgba(255,255,255,.3); }
.ptitle { min-width: 0; }
.ptitle a.t { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptitle a.t:hover { color: var(--signal-deep); }
.ptitle .u { display: flex; align-items: center; gap: 6px; font: 500 12.5px var(--mono); color: var(--faint); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ptitle .u a:hover { color: var(--ink); text-decoration: underline; }
.pmeta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pviews { font: 600 13px var(--mono); color: var(--ink-2); text-align: right; min-width: 64px; }
.pviews small { display: block; font: 500 11px var(--body); color: var(--faint); }
.badge2 { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge2.on { background: var(--ok-soft); color: #0A6B47; }
.badge2.off { background: #F1F3F6; color: var(--muted); }
.badge2.lock { background: var(--signal-soft); color: var(--signal-deep); }
.badge2.exp { background: #EEF3FF; color: #2747A8; }
.badge2.warn { background: #FFF6E0; color: #8A5A00; }
.badge2 svg { width: 13px; height: 13px; }
.iconbtn { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); border: 1px solid transparent; background: transparent; cursor: pointer; }
.iconbtn:hover { background: var(--mist); color: var(--ink); border-color: var(--line); }
.iconbtn svg { width: 18px; height: 18px; }

.empty { text-align: center; padding: 56px 24px; }
.empty .big-ic { margin: 0 auto 18px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }

/* Zone de dépôt */
.dropz { position: relative; display: grid; place-items: center; gap: 8px; text-align: center; min-height: 220px; padding: 30px; border-radius: 16px; border: 1.5px dashed #C9CED6; background: repeating-linear-gradient(135deg, #FBFBFC 0 12px, #F6F7F9 12px 24px); transition: border-color .2s, background .2s; cursor: pointer; }
.dropz:hover, .dropz.over { border-color: var(--signal); background: var(--signal-soft); }
.dropz svg { width: 34px; height: 34px; color: var(--signal); }
.dropz b { font: 650 18px var(--display); }
.dropz small { color: var(--muted); }
.dropz input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; width: fit-content; flex-wrap: wrap; }
.tabs a, .tabs button { height: 36px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent; font: 600 13.5px var(--body); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tabs a svg, .tabs button svg { width: 16px; height: 16px; }
.tabs a.on, .tabs button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(14,17,22,.08); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.row-set { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.row-set:last-child { border-bottom: 0; }
.row-set b { display: block; font-size: 15px; }
.row-set p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 26px; background: #D5D9E0; transition: background .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .45; cursor: not-allowed; }
.lockpro { display: inline-flex; align-items: center; gap: 5px; font: 600 11px var(--mono); color: var(--signal-deep); background: var(--signal-soft); padding: 3px 7px; border-radius: 6px; margin-left: 8px; vertical-align: 2px; }
.lockpro svg { width: 12px; height: 12px; }
.urlbox { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); font: 500 14px var(--mono); }
.urlbox a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.urlbox svg { width: 17px; height: 17px; color: var(--ok); }
.danger { border-color: #FFD6C6; }
.danger .panel-h h2 { color: #B4380B; }
.btn-danger { background: #fff; border: 1px solid #FFC2AD; color: #B4380B; }
.btn-danger:hover { background: #FFF1EC; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 12px 22px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 13px 22px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .mono { font-family: var(--mono); font-size: 13px; }
.tbl-wrap { overflow-x: auto; }
.bars-v { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 10px; }
.bars-v i { flex: 1; min-width: 4px; background: var(--ink); border-radius: 4px 4px 0 0; opacity: .85; position: relative; }
.bars-v i:hover { background: var(--signal); opacity: 1; }
.bars-v i:hover::after { content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -6px); background: var(--ink); color: #fff; font: 600 11px var(--mono); padding: 4px 7px; border-radius: 6px; white-space: nowrap; }
.hbars { display: grid; gap: 10px; }
.hbars div { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: 13.5px; }
.hbars span { position: relative; padding: 6px 10px; border-radius: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; z-index: 0; }
.hbars span::before { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--signal-soft); z-index: -1; border-radius: 7px; }
.hbars em { font: 600 12.5px var(--mono); font-style: normal; text-align: right; }
.code-l { font: 13px/1.6 var(--mono); background: var(--night); color: #D7DCE4; padding: 16px; border-radius: 12px; overflow-x: auto; white-space: pre; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; background: var(--ink); color: #fff; padding: 13px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: toast-in .3s var(--ease); }
.toast svg { width: 18px; height: 18px; color: #4ADE9D; }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }
.overlay { position: fixed; inset: 0; background: rgba(11,14,19,.55); backdrop-filter: blur(4px); z-index: 80; display: none; }
.side-open .overlay { display: block; }

@media (max-width: 1100px) { .kpis { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 920px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding: 24px 16px; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 90; width: 270px; transform: translateX(-100%); transition: transform .25s var(--ease); }
  .side-open .side { transform: none; }
  .menu-btn { display: inline-flex; }
  .top { padding: 16px; flex-wrap: wrap; }
  .content { padding: 0 16px 48px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 12px 14px; }
  .prow .pmeta, .prow .pviews { display: none; }
}

/* ---------- Accueil du tableau de bord ---------- */
.tuto { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; padding: 30px; border-radius: 20px; background: var(--night); color: #fff; overflow: hidden; }
.tuto::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -280px; background: radial-gradient(closest-side, rgba(255,90,31,.42), transparent); }
.tuto-l { position: relative; display: grid; gap: 14px; }
.tuto .eyebrow { color: #FF9466; }
.tuto h2 { font-size: 30px; color: #fff; } .tuto h2 small { font-size: 18px; color: #8C96A6; font-weight: 500; }
.tuto p { margin: 0; color: #A9B1BE; max-width: 520px; }
.tuto-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.ts { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 10px; border: 1px solid #252C37; font-size: 13.5px; color: #8C96A6; }
.ts i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 700 11px var(--mono); font-style: normal; background: #1A212C; }
.ts i svg { width: 13px; height: 13px; }
.ts.done { color: #fff; } .ts.done i { background: rgba(74,222,157,.16); color: #4ADE9D; }
.ts.cur { color: #fff; border-color: var(--signal); } .ts.cur i { background: var(--signal); color: #fff; }
.tuto .btn-ghost { background: transparent; color: #fff; border-color: #333C4A; }
.tuto-r { position: relative; }
.tuto-card { border-radius: 14px; background: #fff; overflow: hidden; transform: rotate(-2deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.kpi-of { font-size: 16px; color: var(--faint); font-weight: 600; margin-left: 2px; }
.mini-bar { height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; margin: 10px 0 6px; } .mini-bar i { display: block; height: 100%; background: var(--signal); border-radius: 5px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 180px; align-items: end; }
.week div { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 6px; text-align: center; }
.week span { font: 600 12px var(--mono); color: var(--muted); }
.week i { align-self: end; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--signal), #FF9466); min-height: 4px; }
.week div:not(:last-child) i { background: var(--ink); opacity: .85; }
.week em { font: 500 12px var(--body); font-style: normal; color: var(--faint); }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rank li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line-2); }
.rank li:last-child { border-bottom: 0; }
.rank b { font: 700 13px var(--mono); color: var(--faint); }
.rank li:first-child b { color: var(--signal-deep); }
.rank a span { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank a small { display: block; font: 500 12px var(--mono); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank em { font: 600 13px var(--mono); font-style: normal; }
.journal { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 13.5px; }
.journal li { padding-left: 14px; position: relative; } .journal li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.journal small { display: block; color: var(--faint); font-size: 12px; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shortcuts a { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; transition: border-color .15s, background .15s; }
.shortcuts a:hover { border-color: var(--ink); background: var(--mist); }
.shortcuts svg { width: 17px; height: 17px; }
.shortcuts kbd { margin-left: auto; font: 600 11px var(--mono); color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
/* liste des pages enrichie */
.pstats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 4px; }
.prow2 { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line-2); }
.prow2:hover { background: #FBFBFC; }
.prow2:last-child { border-bottom: 0; }
.star { background: none; border: 0; padding: 0; cursor: pointer; color: #C4C9D1; font-size: 18px; line-height: 1; }
.star.on { color: var(--signal); }
.pmeta2 { display: flex; gap: 14px; align-items: center; font: 500 12px var(--mono); color: var(--faint); flex-wrap: wrap; }
.pmeta2 span { display: inline-flex; gap: 5px; align-items: center; } .pmeta2 svg { width: 13px; height: 13px; }
.racts { display: flex; gap: 2px; align-items: center; }
.racts select { height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); font-size: 12.5px; max-width: 130px; }
@media (max-width: 920px) {
  .tuto { grid-template-columns: 1fr; } .tuto-r { display: none; }
  .prow2 { grid-template-columns: 22px minmax(0, 1fr) auto; } .prow2 .pthumb, .prow2 .racts select { display: none; }
}

/* ---------- Mode sombre du tableau de bord ---------- */
html.dark .app-body-l { --ink: #E9ECF1; --ink-2: #C9CFD8; --muted: #98A1AE; --faint: #6E7886; --line: #262D38; --line-2: #1E242E; --paper: #12161D; --mist: #0D1117; --signal-soft: rgba(255,90,31,.12); --ok-soft: rgba(18,161,107,.14); background: #0B0E13; color: var(--ink); }
html.dark .app-body-l .btn-primary { background: #F2F4F7; color: #0E1116; }
html.dark .app-body-l .btn-ghost { background: #161B23; color: var(--ink); border-color: #2B3340; }
html.dark .app-body-l .prow:hover, html.dark .app-body-l .prow2:hover { background: #161B23; }
html.dark .app-body-l .field input, html.dark .app-body-l .field select, html.dark .app-body-l .field textarea, html.dark .app-body-l .inp { background: #0E1218; color: var(--ink); }
html.dark .app-body-l .chip.on { background: #F2F4F7; color: #0E1116; }
html.dark .app-body-l .bars-v i, html.dark .app-body-l .week div:not(:last-child) i { background: #C9CFD8; }
html.dark .app-body-l .alert.err { background: rgba(255,90,31,.1); border-color: rgba(255,90,31,.3); color: #FF9466; }
html.dark .app-body-l .toast { background: #F2F4F7; color: #0E1116; }
.theme-btn { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: #A9B1BE; background: none; border: 0; cursor: pointer; width: 100%; text-align: left; }
.theme-btn:hover { background: #161C25; color: #fff; }
.theme-btn svg { width: 19px; height: 19px; }
.pricing-note svg, details summary svg { width: 14px; height: 14px; vertical-align: -2px; }
.tbl.cmp td:first-child { font-weight: 600; } .tbl.cmp svg { width: 16px; height: 16px; }
details summary { cursor: pointer; list-style: none; } details summary::-webkit-details-marker { display: none; } details p { margin: 8px 0 0; }
.tbl.cmp td > span { display: inline-flex; justify-content: center; } .tbl.cmp td svg { display: block; }
.pricing-note { display: block !important; text-align: center; }
/* sélecteur de date VersoPages */
.vpd { position: relative; }
.vpd-btn { width: 100%; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font: 500 15px var(--body); cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; }
.vpd-btn:hover { border-color: #C9CED6; }
.vpd-btn[aria-expanded=true], .vpd-btn:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,17,22,.07); outline: 0; }
.vpd-btn:disabled { opacity: .55; cursor: not-allowed; }
.vpd-btn svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.vpd-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpd-txt.ph { color: var(--faint); }
.vpd-clear { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--muted); font-size: 15px; line-height: 1; }
.vpd-pop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: 312px; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(14,17,22,.18); }
.vpd-head { display: grid; grid-template-columns: 32px 1fr 82px 32px; gap: 6px; align-items: center; margin-bottom: 10px; }
.vpd-head select, .vpd-time select { height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); font: 600 13.5px var(--body); padding: 0 8px; cursor: pointer; }
.vpd-nav { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.vpd-nav:hover { background: var(--mist); }
.vpd-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.vpd-dow { text-align: center; font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 4px 0 6px; }
.vpd-day { height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 500 14px var(--body); cursor: pointer; }
.vpd-day:hover { background: var(--mist); }
.vpd-day.today { box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.vpd-day.sel { background: var(--ink); color: var(--paper); font-weight: 700; }
.vpd-time { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.vpd-time span { flex: 1; }
.vpd-foot { display: flex; justify-content: space-between; margin-top: 12px; }
.vpd-today, .vpd-ok { height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 13px var(--body); cursor: pointer; }
.vpd-ok { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html.dark .vpd-btn, html.dark .vpd-pop, html.dark .vpd-head select, html.dark .vpd-nav, html.dark .vpd-time select, html.dark .vpd-today { background: #0E1218; }
@media (max-width: 420px) { .vpd-pop { width: calc(100vw - 48px); } }
