/* DROHS Showbizz — same language as drohs.ca: system type, quiet surfaces, one accent. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --bar: rgba(255, 255, 255, 0.72);
  --green: #1d9a4f;
  --red: #e30000;
  --red-soft: #fff1f0;
  /* « À entrer » (2026-10-22, the user: « pas d'une couleur weird, pour pas que ça paraisse comme un flag »):
     a date waiting for its numbers is quiet grey, not an orange alarm. */
  --todo-soft: #f2f2f4;
  --todo-row: transparent;
  --todo-tag: #ececef;
  --todo-text: #6e6e73;
  --todo-ink: #3a3a3c;
  --amber: #b25000;
  --accent: linear-gradient(90deg, #ff375f, #ff9f0a);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #86868b;
    --line: #424245;
    --line-soft: #2c2c2e;
    --link: #2997ff;
    --bar: rgba(22, 22, 23, 0.72);
    --green: #30d158;
    --red: #ff453a;
    --red-soft: rgba(255, 69, 58, 0.12);
    --todo-soft: rgba(255, 255, 255, 0.07);
    --todo-row: transparent;
    --todo-tag: rgba(255, 255, 255, 0.1);
    --todo-text: #a1a1a6;
    --todo-ink: #d1d1d6;
    --amber: #ff9f0a;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ── bar ──────────────────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 40;
  background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  /* Under an iPhone's notch in the mobile app (viewport-fit=cover); 0 everywhere else. */
  padding-top: env(safe-area-inset-top, 0);
}
.bar-in { max-width: 1024px; height: 52px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.bar-in.wide { max-width: none; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand img { height: 26px; border-radius: 7px; }
.brand b { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bar-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.bar-nav a { color: var(--text); opacity: 0.8; }
.bar-nav a:hover { opacity: 1; text-decoration: none; }
.lang, .ghost {
  background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 980px; padding: 3px 10px; font-size: 12px; font-weight: 500;
}
.ghost { border-color: transparent; opacity: 0.8; }
.ghost:hover { opacity: 1; background: var(--bg-alt); }
.company { color: var(--muted); font-weight: 500; }

/* ── shared ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; border: 0; border-radius: 980px; padding: 12px 24px;
  background: var(--blue); color: #fff; font-size: 17px; transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--blue-hover); transform: scale(1.02); text-decoration: none; }
.btn.small { font-size: 14px; padding: 8px 16px; }
.btn.full { width: 100%; }
.btn.light { background: var(--bg-alt); color: var(--text); }
.btn.danger { background: none; color: var(--red); padding-left: 0; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.link { font-size: 17px; }
.muted { color: var(--muted); }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ── landing ──────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 16px 0; text-align: center; overflow: hidden;
  background: radial-gradient(55% 40% at 50% 0%, rgba(255, 55, 95, 0.12), transparent 70%), var(--bg);
}
.eyebrow { margin: 0 0 14px; font-size: 19px; font-weight: 600; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 {
  max-width: 900px; margin: 0 auto; font-size: clamp(40px, 7.4vw, 80px); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em;
}
.hero-sub { max-width: 640px; margin: 22px auto 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--muted); }

.mock {
  max-width: 980px; margin: 72px auto 0; border-radius: 18px 18px 0 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft); border-bottom: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12); text-align: left;
}
.mock-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.mock-top i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock-top span { margin-left: 10px; }
.mock-body { display: grid; grid-template-columns: 190px 1fr; min-height: 300px; }
.mock-side { padding: 18px 16px; border-right: 1px solid var(--line-soft); background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.mock-side b { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.mock-side span { color: var(--muted); }
.mock-side span.on { color: var(--text); font-weight: 600; }
.mock-side em { font-style: normal; }
.mock-main { padding: 20px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.mock-kpis small { font-size: 11px; color: var(--muted); }
.mock-kpis strong { font-size: 22px; letter-spacing: -0.02em; }
.mock-kpis em { font-style: normal; font-size: 11px; color: var(--muted); }
.mock-kpis em.up { color: var(--green); }
.mock-rows { margin-top: 14px; display: flex; flex-direction: column; }
.mrow { display: grid; grid-template-columns: 64px 1fr 1.4fr 70px; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.mrow span { color: var(--muted); font-size: 11px; font-weight: 600; }
.mrow em { font-style: normal; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.mrow.alert b, .mrow.alert em { color: var(--red); }
.bar-fill { height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.bar-fill i { display: block; height: 100%; border-radius: 3px; background: var(--blue); }
.alert .bar-fill i { background: var(--red); }

.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg); position: relative; z-index: 1; }
.strip-in { max-width: 1024px; margin: 0 auto; padding: 34px 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.strip strong { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.strip span { font-size: 13px; color: var(--muted); }

.block { padding: 120px 22px; text-align: center; }
.block.alt { background: var(--bg-alt); }
.block.dark { background: #000; color: #f5f5f7; }
.block.dark .lead { color: #a1a1a6; }
.title { max-width: 820px; margin: 0 auto 16px; font-size: clamp(32px, 5vw, 56px); font-weight: 600; line-height: 1.07; letter-spacing: -0.03em; }
.lead { max-width: 640px; margin: 0 auto 56px; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--muted); }

.steps { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.step { background: var(--bg-alt); border-radius: 22px; padding: 32px 26px; }
.step .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; }
.step h3 { margin: 20px 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 15px; }

.sources { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.src { background: var(--card); border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.src b { font-size: 17px; }
.src span { color: var(--muted); font-size: 14px; line-height: 1.45; }

.fleet { position: relative; width: 220px; height: 220px; margin: 0 auto 48px; }
.fleet span { position: absolute; width: 28px; height: 22px; border-radius: 7px; border: 1px solid rgba(255,255,255,.3); background: #1c1c1e; top: 50%; left: 50%; margin: -11px -14px;
  animation: orbit 12s linear infinite; }
.fleet span::after { content: "• •"; position: absolute; inset: 0; display: grid; place-items: center; color: #ff9f0a; font-size: 9px; letter-spacing: 2px; }
.fleet span:nth-child(2) { animation-delay: -2s; } .fleet span:nth-child(3) { animation-delay: -4s; }
.fleet span:nth-child(4) { animation-delay: -6s; } .fleet span:nth-child(5) { animation-delay: -8s; } .fleet span:nth-child(6) { animation-delay: -10s; }
.fleet b { position: absolute; inset: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 22px;
  background: radial-gradient(circle, #ff375f, #bf5af2); box-shadow: 0 0 50px rgba(255, 55, 95, .55); }
@keyframes orbit { from { transform: rotate(0) translateX(96px) rotate(0); } to { transform: rotate(360deg) translateX(96px) rotate(-360deg); } }

.trust { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.trust div { background: #161617; border-radius: 22px; padding: 28px 24px; }
.trust h4 { margin: 0 0 8px; font-size: 19px; }
.trust p { margin: 0; color: #a1a1a6; font-size: 15px; line-height: 1.5; }

.foot { max-width: 1024px; margin: 0 auto; padding: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.foot a { color: var(--muted); }

/* ── dialogs ──────────────────────────────────────────────────────────────── */
.dlg {
  width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 22px; padding: 36px 32px 28px;
  background: var(--card); color: var(--text); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}
.dlg.wide { width: min(640px, calc(100vw - 32px)); }
.dlg .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }   /* two short fields side by side */
@media (max-width: 560px) { .dlg .pair { grid-template-columns: 1fr; } }
.dlg::backdrop { background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dlg h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.03em; text-align: center; }
.dlg > .muted { text-align: center; margin: 0 0 22px; font-size: 15px; }
.dlg-logo { display: block; height: 40px; border-radius: 10px; margin: 0 auto 16px; }
.dlg-close { position: absolute; top: 14px; right: 14px; margin: 0; }
.dlg-close button { border: 0; background: var(--bg-alt); color: var(--muted); width: 30px; height: 30px; border-radius: 50%; font-size: 13px; }
/* The sign-in code (2026-10-18): big, spaced digits. */
.code-input { font-size: 28px !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.form label.check { display: flex; align-items: center; gap: 8px; flex-direction: row; font-weight: 500; }
.form label.check input { width: auto; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.form input, .form select {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg-alt); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus { border-color: var(--blue); background: var(--card); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .hint { margin: -2px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; font-weight: 400; }
#authDlg .hint.center { text-align: center; font-size: 12px; color: var(--muted); margin: 4px 0 0; }
#authDlg .hint.center a { color: var(--link); }
.err { min-height: 0; margin: 0; color: var(--red); font-size: 14px; }
.err:empty { display: none; }

.section { border-top: 1px solid var(--line-soft); padding-top: 18px; margin-top: 8px; }
.section h4 { margin: 0 0 2px; font-size: 17px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.section h4 .rm { margin-left: auto; font-size: 13px; font-weight: 500; }
.section > p { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 980px; background: var(--bg-alt); color: var(--muted); }
.tag.ok { color: var(--green); }
.tag.bad { color: var(--red); background: var(--red-soft); }

/* ── app ──────────────────────────────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 52px); }
.side { background: var(--bg-alt); border-right: 1px solid var(--line-soft); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 52px; height: calc(100vh - 52px); overflow-y: auto; }
.side-label { margin: 18px 10px 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.side-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; color: var(--text);
  padding: 9px 10px; border-radius: 10px; font-size: 14px;
}
.side-item:hover { background: var(--line-soft); }
.side-item.on { background: var(--card); box-shadow: var(--shadow); font-weight: 600; }
.side-item .count { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.dot.ok { background: var(--green); } .dot.bad { background: var(--red); } .dot.wait { background: var(--amber); }
.dot.live { background: var(--blue); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }
.chip.live { color: var(--blue); font-weight: 500; }
.spinner { width: 28px; height: 28px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid var(--line-soft); border-top-color: var(--blue); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot.all { background: var(--accent); background: linear-gradient(135deg, #ff375f, #ff9f0a); }
.side-add { margin-top: 8px; border: 1px dashed var(--line); background: none; color: var(--link); border-radius: 10px; padding: 9px 10px; font-size: 14px; text-align: left; }
.side-add:hover { background: var(--card); }

.main { padding: 36px 40px 80px; max-width: 1180px; width: 100%; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.head h1 { margin: 0; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.head .sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.head .tools { display: flex; gap: 10px; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi { background: var(--bg-alt); border-radius: 18px; padding: 18px 20px; }
.kpi small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--muted); }
.kpi em.up { color: var(--green); }
.kpi em.bad { color: var(--red); }
.kpi.alert strong, .kpi.alert small { color: var(--red); }
.kpi.alert { background: var(--red-soft); }
.kpi.warn strong { color: var(--amber); }
.kpi em { line-height: 1.35; }

.status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

/* Revenue by year (2026-10-18): one tile per year, this year's year to date under it. */
.card.years { margin-bottom: 16px; }
.year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 16px 20px; }
.year { background: var(--bg-alt); border-radius: 14px; padding: 14px 16px; }
.year small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.year strong { display: block; margin-top: 4px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.year em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.35; }
.year.now { outline: 1px solid var(--line-soft); }
.card.past tbody tr { opacity: .85; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 980px; background: var(--bg-alt); font-size: 13px; color: var(--text); }
.chip .why { color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.card-head h3 { margin: 0; font-size: 17px; }
.card-head .muted { font-size: 13px; }

.shows { width: 100%; border-collapse: collapse; font-size: 14px; }
.shows th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.shows td { padding: 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.shows tr:last-child td { border-bottom: 0; }
.shows tr.show-row { cursor: pointer; }
.shows tr.show-row:hover td { background: var(--bg-alt); }
.shows .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shows .date b { display: block; font-size: 15px; white-space: nowrap; }
.shows .date span { font-size: 12px; color: var(--muted); }
.shows .where b { display: block; font-weight: 600; }
.shows .where span { font-size: 13px; color: var(--muted); }
.shows .fill { min-width: 140px; }
.shows .fill .bar-fill { height: 8px; border-radius: 4px; }
.shows .fill small { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.shows tr.alert .where b, .shows tr.alert .fill small { color: var(--red); }
.plus { color: var(--green); }
.zero { color: var(--muted); }
.src-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 980px; background: var(--bg-alt); color: var(--muted); white-space: nowrap; }
.src-tag.none { background: none; border: 1px dashed var(--line); }
.artist-tag { font-size: 12px; color: var(--muted); }

.detail td { background: var(--bg-alt); padding: 18px 20px; }
.detail .form { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.detail .form label { width: 130px; }
.detail .form input { padding: 9px 12px; font-size: 14px; background: var(--card); }
.detail p { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }

.empty { text-align: center; padding: 80px 20px; }
.empty h2 { font-size: 32px; letter-spacing: -0.03em; margin: 0 0 10px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 26px; line-height: 1.5; font-size: 17px; }
.loading { padding: 60px; text-align: center; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 980px; font-size: 14px; z-index: 100; box-shadow: var(--shadow); }

/* ── shows, as on philippebond.com/admin ─────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.shows .date { white-space: nowrap; }
.shows .date b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.shows .date span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.shows .date small { display: block; font-size: 11px; color: var(--muted); }
.shows .where b { font-size: 15px; }
.risktag { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--red); background: var(--red-soft); padding: 2px 7px; border-radius: 980px; vertical-align: 2px; }
.shows .fill { min-width: 200px; }
.shows .fill .nums { margin-top: 6px; font-variant-numeric: tabular-nums; }
.shows .fill .nums b { font-size: 15px; }
.shows .fill .nums span { color: var(--muted); font-size: 13px; }
.shows .fill .nums em { font-style: normal; margin-left: 8px; font-size: 12px; color: var(--muted); }
.shows .fill .last { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.shows .why { font-size: 13px; color: var(--todo-text); line-height: 1.4; }
.shows .why.live { color: var(--blue); }
.shows .days { color: var(--muted); }
.shows .end { white-space: nowrap; text-align: right; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 980px; background: var(--bg-alt); color: var(--muted); }
.badge.ok { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
.badge.manual { color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); }
.badge.warn { color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); }
.badge.todo { color: var(--todo-text); background: var(--todo-tag); }
.badge.live { color: var(--blue); animation: pulse 1.2s ease-in-out infinite; }
.chev { display: inline-block; margin-left: 8px; color: var(--muted); transition: transform 0.2s; }
.show-row.open .chev { transform: rotate(90deg); }
.note { margin: 14px 4px 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.detail .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.detail .stats div { background: var(--card); border-radius: 12px; padding: 10px 12px; }
.detail .stats span { display: block; font-size: 11px; color: var(--muted); }
.detail .stats strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.detail .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.detail .risktext { color: var(--red); }
.detail .edit { margin-top: 10px; }
.detail .edit .hint { flex-basis: 100%; margin: 0; }
.seats { background: var(--card); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.seats-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.sec { margin-bottom: 10px; }
.sec-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.sec-head span { color: var(--muted); }
.seatrows { display: flex; flex-wrap: wrap; gap: 4px; }
.seatrow { display: inline-flex; flex-direction: column; align-items: center; min-width: 34px; padding: 3px 5px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.seatrow small { font-size: 9px; font-weight: 400; opacity: 0.8; }
.seatrow.free, .legend i.free { background: color-mix(in srgb, var(--green) 18%, transparent); }
.seatrow.part, .legend i.part { background: color-mix(in srgb, var(--amber) 22%, transparent); }
.seatrow.full, .legend i.full { background: color-mix(in srgb, var(--red) 18%, transparent); }
.legend { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 6px; }



/* ── try it (landing): an artist's tour, read live ───────────────────────── */
.try {
  max-width: 620px; margin: 38px auto 0; padding: 8px; display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: stretch;
  transition: max-width 0.4s cubic-bezier(.2,.7,.2,1);
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10); text-align: left;
}
.try:has(#trySiteField:not([hidden])) { max-width: 820px; grid-template-columns: 1fr 1.1fr auto; }
.try label[hidden] { display: none; }
#trySiteField { animation: rise 0.4s cubic-bezier(.2,.7,.2,1); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.try label { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-radius: 16px; transition: background 0.2s; cursor: text; }
.try label:focus-within { background: var(--bg-alt); }
.try label span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.try input { font: inherit; font-size: 17px; color: var(--text); background: none; border: 0; outline: none; padding: 2px 0; min-width: 0; }
.try .btn { border-radius: 16px; padding: 0 24px; white-space: nowrap; }
.try-ex { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* What runs on its own: three short pills under the search, each a way into sign-up. */
.hl { list-style: none; margin: 26px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.hl a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left; padding: 10px 16px 10px 12px;
  border: 1px solid var(--line-soft); border-radius: 14px; background: var(--card); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.hl a:hover { border-color: var(--blue); transform: translateY(-1px); }
.hl svg { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: color-mix(in srgb, var(--blue) 10%, transparent);
  fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hl b { font-size: 14px; }
.hl span { font-size: 12px; color: var(--muted); }

.mock-tag { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 980px; background: var(--bg-alt); color: var(--muted); }
#tryOut:empty { display: none; }
#mock { scroll-margin-top: 72px; }
.trow > span { white-space: nowrap; }
#tryOut .mock-body { animation: rise 0.5s cubic-bezier(.2,.7,.2,1); }
.locked-line { opacity: 0.6; font-size: 12px; }
.mock-kpis .locked strong, .mock-kpis .of { color: var(--muted); }
.mock-kpis .of { font-size: 15px; font-weight: 500; }

.try-step { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 300px; }
.try-step h3 { margin: 18px 0 4px; font-size: 21px; letter-spacing: -0.02em; }
.try-step p { margin: 0; max-width: 460px; line-height: 1.5; }
.try-radar { position: relative; width: 64px; height: 64px; }
.try-radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ff375f; opacity: 0; animation: ping 2.1s cubic-bezier(0,.4,.4,1) infinite; }
.try-radar i:nth-child(2) { animation-delay: 0.7s; } .try-radar i:nth-child(3) { animation-delay: 1.4s; }
.try-radar::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px rgba(255, 55, 95, .6); }
.try-pages { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); text-align: left; }
.try-pages li { display: flex; align-items: center; gap: 8px; animation: rise 0.4s both; }
.try-pages li:nth-child(2) { animation-delay: .12s; } .try-pages li:nth-child(3) { animation-delay: .24s; } .try-pages li:nth-child(4) { animation-delay: .36s; }
.try-pages li i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 1.2s ease-in-out infinite; }
.try-pages li.ok i { background: var(--green); animation: none; }

.try-head { display: grid; grid-template-columns: 78px 1fr 190px 86px; gap: 12px; margin-top: 16px; padding: 0 2px 6px; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.try-head span:nth-child(1) { grid-column: 1 / 3; }
.try-head span:last-child { text-align: right; }
.trow { display: grid; grid-template-columns: 78px 1fr 190px 86px; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.trow > span { color: var(--muted); font-size: 11px; font-weight: 600; }
.trow > span small { display: block; font-weight: 400; font-size: 10px; opacity: 0.8; }
.trow b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow b small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.trow.pending b { opacity: 0.55; }
.trow.veiled > span, .trow.veiled > b, .trow.veiled > .tchip { filter: blur(5px); opacity: .7; user-select: none; pointer-events: none; }
.trow.in { animation: land 0.7s cubic-bezier(.2,.7,.2,1); }
.tchip { font-style: normal; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; min-width: 0; }
.tchip > i:not(.spin) { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.tchip small { font-weight: 500; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tchip small::before { content: "· "; }
.tchip small .spin { display: inline-block; vertical-align: -2px; margin-left: 5px; width: 11px; height: 11px; }   /* reading: in place of « auto » */
.tchip.live { color: var(--blue); }
.tchip.auto > i { background: var(--green); } .tchip.auto small { color: var(--green); }
.tchip.lpdv > i, .tchip.eb > i { background: var(--amber); }
.tsold { font-style: normal; display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.ghost-num { color: transparent; text-shadow: 0 0 7px var(--text); opacity: 0.55; user-select: none; }
.lock { font-style: normal; font-size: 11px; }
/* The first dates read for real: their numbers, and how full the house is. */
.tsold .real { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--muted); font-size: 12px; animation: land 0.7s cubic-bezier(.2,.7,.2,1); }
.tsold .real > span { white-space: nowrap; }
.tsold .real b { color: var(--text); font-size: 14px; }
.tsold .bar { display: block; width: 64px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; }
.tsold .bar > i { display: block; height: 100%; background: var(--green); border-radius: 2px; }
.tsold .reading { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 11px; white-space: nowrap; }
.tsold .real.full b { color: var(--green); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
/* An agency's roster: one line per artist, ticked, with the site found. */
.ag-wait, .ag-done { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); }
.ag-done { color: var(--green); font-weight: 600; }
.ag-h { margin: 18px 0 8px; font-size: 15px; } .ag-h a { font-weight: 400; font-size: 13px; margin-left: 6px; }
.ag-room { font-size: 13px; line-height: 1.45; color: var(--muted); background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; }
.ag-room a { display: inline-block; margin-top: 4px; font-weight: 600; }
.ag-list { list-style: none; margin: 0 0 14px; padding: 0; max-height: 46vh; overflow: auto; border: 1px solid var(--line-soft); border-radius: 12px; }
.ag-list li + li { border-top: 1px solid var(--line-soft); }
.ag-list label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; cursor: pointer; }
.ag-list small { color: var(--muted); font-size: 12px; }
.ag-list li.dup { opacity: 0.55; }
.btn.ghost { background: transparent; color: var(--blue); border: 1px solid var(--line); margin-right: 8px; }
.trow.sold { background: color-mix(in srgb, var(--green) 5%, transparent); }
.skel { display: block; height: 10px; width: 64px; border-radius: 5px; background: linear-gradient(90deg, var(--line-soft), var(--bg-alt), var(--line-soft)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.spin { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--blue) 25%, transparent); border-top-color: var(--blue); animation: spin 0.8s linear infinite; }
.trow.more { grid-template-columns: repeat(3, 1fr); position: relative; padding: 16px 2px; border-bottom: 0; }
.trow.more .skel { width: 100%; animation: none; opacity: .6; }
.trow.more a { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: 13px;
  background: linear-gradient(transparent, var(--card) 45%); }
.try-found { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; font-size: 13px; text-align: left;
  background: color-mix(in srgb, var(--green) 10%, transparent); animation: rise 0.5s cubic-bezier(.2,.7,.2,1); }
.try-step .try-found { margin: 22px 0 0; }
.try-found > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.try-found span { flex: 1; min-width: 0; color: var(--muted); }
.try-found small { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); }
.try-found b { color: var(--text); }
.try-found > a { flex: none; font-size: 12px; }
.try-found span a { color: inherit; text-decoration: none; }
.try-found span a:hover b { text-decoration: underline; }
.try-pages small { color: var(--muted); }
.try-progress { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.try-unlock { margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--bg-alt); animation: rise 0.6s cubic-bezier(.2,.7,.2,1); }
.try-unlock h3 { margin: 0 0 12px; font-size: 17px; letter-spacing: -0.01em; }
.try-unlock ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; line-height: 1.45; }
.try-unlock li { display: flex; gap: 10px; align-items: baseline; }
.try-unlock li i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transform: translateY(-1px); }
.try-unlock li.auto i { background: var(--green); } .try-unlock li.lpdv i, .try-unlock li.eb i { background: var(--amber); }
.try-unlock li.all i { background: var(--accent); }
.try-cta { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.try-cta .btn { margin-bottom: 4px; }
.try-cta small { font-size: 12px; max-width: 520px; line-height: 1.45; }
.try-cta a { font-size: 13px; margin-top: 4px; }

@keyframes ping { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes land { 0% { background: color-mix(in srgb, var(--green) 16%, transparent); } 100% { background: transparent; } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── the app: a reading in progress, then its shows landing one by one ───── */
.show-row.reading td.fill, .show-row.revealing td.fill { position: relative; }
/* A row with numbers already (2026-10-23, the user: « la barre qui clignote par-dessus l'ancienne, ça fait messy »):
   its own bar shimmers in place, the old numbers dimmed under it — one bar, not two. */
.show-row.reading td.fill > :not(.bar-fill), .show-row.revealing td.fill > :not(.bar-fill) { opacity: 0.35; filter: blur(1.5px); transition: opacity .4s, filter .4s; }
.show-row.reading td.fill .bar-fill, .show-row.revealing td.fill .bar-fill {
  background: linear-gradient(90deg, var(--line-soft), color-mix(in srgb, var(--blue) 35%, transparent), var(--line-soft)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.show-row.reading td.fill .bar-fill i, .show-row.revealing td.fill .bar-fill i { opacity: 0.25; }
/* A row with no numbers yet: a shimmering bar where its bar will be. */
.show-row.reading td.fill:not(:has(.bar-fill))::after, .show-row.revealing td.fill:not(:has(.bar-fill))::after { content: ""; position: absolute; left: 0; right: 12px; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blue) 35%, transparent), transparent); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.show-row.reading .why.live { opacity: 1; filter: none; }
.show-row.landed { animation: land 1.1s cubic-bezier(.2,.7,.2,1); }
.show-row.landed td.fill > * { animation: rise .45s both; }

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sources { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .detail .stats { grid-template-columns: repeat(2, 1fr); }
  .shell { grid-template-columns: minmax(0, 1fr); }   /* 1fr alone grew to the artists' row: the whole page scrolled sideways */
  .side { min-width: 0; position: static; height: auto; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 10px 12px; }
  .side-label { display: none; }
  #artistList { display: flex; gap: 6px; }
  .side-item, .side-add { width: auto; white-space: nowrap; margin: 0; }
  .side-item .count { display: none; }
  .main { padding: 26px 16px 60px; }
  .shows .hide-md { display: none; }
}
@media (max-width: 640px) {
  .hide-sm, .company { display: none; }
  .hl li { flex: 1 1 100%; }
  .bar-nav { gap: 12px; }
  .hero { padding-top: 72px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-kpis strong { font-size: 17px; }
  .mrow { grid-template-columns: 54px 1fr 60px; }
  .mrow .bar-fill { display: none; }
  .try, .try:has(#trySiteField:not([hidden])) { grid-template-columns: 1fr; border-radius: 18px; }
  .try .btn { padding: 14px 20px; }
  .try-head { display: none; }
  .trow { grid-template-columns: 50px 1fr 64px; }
  .trow .tchip { grid-column: 2 / 4; grid-row: 2; }
  .trow .tsold { grid-column: 3; grid-row: 1; }
  .trow.more { grid-template-columns: repeat(3, 1fr); }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis .locked { grid-column: 1 / 3; }
  .strip-in, .steps, .trust { grid-template-columns: 1fr; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .sources { grid-template-columns: 1fr; }
  .block { padding: 84px 16px; }
  .head h1 { font-size: 30px; }
  .kpi strong { font-size: 24px; }
  .shows .hide-sm-col { display: none; }
  .shows td, .shows th { padding: 12px 10px; }
  .form .row2 { grid-template-columns: 1fr; }
  .dlg { padding: 30px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fleet span, .dot.live, .spinner, .badge.live, .spin, .skel, .try-radar i, .try-pages li i { animation: none; }
}
.note + .card { margin-top: 16px; }
/* Subscription, in « Mon compte » (2026-10-18). */
.sub-box { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.sub-box h3 { margin: 0; font-size: 17px; }
.sub-box p { margin: 0; }
.sub-links { font-size: 14px; text-align: center; }

/* Notifications pill: five now — they wrap, centred. The app and the plans (2026-10-18). */
.app-block .stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 46px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; min-width: 180px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; text-align: left; line-height: 1.15; }
.store small { font-size: 11px; opacity: .8; }
.store b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.store[aria-disabled="true"] { opacity: .55; cursor: default; }
:root[data-theme="dark"] .store { background: #fff; color: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store { background: #fff; color: #000; } }
.app-points { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.app-points > div { background: var(--bg-alt); border-radius: 18px; padding: 22px; }
.app-points h4 { margin: 0 0 6px; font-size: 17px; }
.app-points p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.plans { max-width: 960px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px 24px; }
.plan.main { border: 2px solid var(--blue); background: var(--card); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { margin: 10px 0 0; }
.plan .price b { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .for { margin: 2px 0 16px; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.plan li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.4; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.note-plans { margin: 22px auto 0; max-width: 640px; color: var(--muted); font-size: 14px; }
/* In the app: the stores' own prices only (Apple and Google ask it), and no « get the app ». */
.native #mobile, .native #pricing, .native .bar-nav a[href="#mobile"], .native .bar-nav a[href="#pricing"] { display: none; }

@media (max-width: 900px) { .app-points, .plans { grid-template-columns: 1fr; } }
.plan .btn.light { background: var(--card); border: 1px solid var(--line-soft); }

/* A revenue estimate (no price known): shown apart, never in the total (2026-10-18). */
.est { color: var(--muted); font-style: italic; }
.kpi em.est, .year em.est { display: block; margin-top: 2px; }

/* ── The phone (2026-10-19): bottom tabs, the artists as a list, sheets that respect the screen's edges ── */
.tabbar { display: none; }
.back { border: 0; background: none; color: var(--link); font-size: 16px; padding: 0 0 10px; margin: 0; }
.art-list { display: grid; gap: 10px; margin: 18px 0; }
.art-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.art-card:active { transform: scale(0.99); }
.art-name { display: grid; gap: 2px; min-width: 0; }
.art-name b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-name small { color: var(--muted); font-size: 13px; }
.art-go { color: var(--muted); font-size: 22px; }
.btn-accent, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 980px; padding: 12px 20px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-accent { border: 0; color: #fff; background: var(--accent); box-shadow: 0 6px 18px rgba(255, 55, 95, 0.25); }
.btn-line { color: var(--text); background: var(--card); border: 1.5px solid var(--line); }
.btn-accent.full, .btn-line.full { width: 100%; }
.btn-accent:disabled, .btn-line:disabled { opacity: 0.45; cursor: default; }
.btn.ghost.danger { color: var(--red); }

/* The offers, in « Mon compte »: monthly / yearly, then Pro and Agence (Showbizz's pink-to-orange, no flat blue). */
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg-alt); gap: 4px; }
.seg button { border: 0; background: none; border-radius: 9px; padding: 9px 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button small { display: block; font-size: 11px; font-weight: 500; color: #ff6a35; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.offer { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; border: 2px solid var(--line-soft); background: var(--card);
  font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, box-shadow .15s ease; }
.offer.on { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--accent) border-box; box-shadow: 0 6px 20px rgba(255, 55, 95, 0.14); }
.offer:disabled { opacity: .45; cursor: default; }
.offer-head { display: flex; align-items: center; gap: 8px; }
.offer-head b { margin-right: auto; }
.offer-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; box-sizing: border-box; }
.offer.on .offer-dot { border: 6px solid #ff375f; }
.sub-go { margin-top: 14px; }
.offer-head b { font-size: 17px; }
.offer-head .tag { font-size: 11px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 980px; padding: 3px 9px; white-space: nowrap; }
.offer-price strong { font-size: 26px; letter-spacing: -0.02em; }
.offer-price span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.offer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--muted); align-content: start; }
.offer li { padding-left: 18px; position: relative; }
.offer li::before { content: "✓"; position: absolute; left: 0; color: #ff6a35; font-weight: 700; }
.acc-foot { grid-template-columns: 1fr 1fr; }
.acc-del { text-align: center; }
.acc-del .btn.danger { padding: 8px 0; font-size: 14px; }

@media (max-width: 640px), (hover: none) and (pointer: coarse) and (max-width: 1100px) {
  .offers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #app .side { display: none; }
  #app .bar-nav .lang, #accountBtn, #logout { display: none; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0)); background: var(--bar); border-top: 1px solid var(--line-soft);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
  .tabbar button { display: grid; justify-items: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 500; padding: 4px 0; }
  .tabbar button[hidden] { display: none; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar button.on { color: #ff375f; }
  #app .main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0)); }
  #headAgency, #headAdd { display: none; }   /* on the phone, adding lives in the Artists tab */
  /* A dialog is a full-screen sheet: under the notch and above the home bar, never past them. */
  .dlg, .dlg.wide { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0;
    padding: calc(env(safe-area-inset-top, 0) + 56px) 20px calc(env(safe-area-inset-bottom, 0) + 28px); box-shadow: none; }
  .dlg-close { top: calc(env(safe-area-inset-top, 0) + 12px); }
  .dlg h2 { text-align: left; }
  .dlg > .muted { text-align: left; }
}
/* The app: tabs whatever the width (an iPad too), and its first screen is the sign-in, on Showbizz's colours. */
.native #app .side { display: none; }
.native #app .bar-nav .lang, .native #accountBtn, .native #logout { display: none; }
.native .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0)); background: var(--bar); border-top: 1px solid var(--line-soft);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.native .tabbar button { display: grid; justify-items: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 500; padding: 4px 0; }
.native .tabbar button[hidden] { display: none; }
.native .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.native .tabbar button.on { color: #ff375f; }
.native #app .main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0)); }
.native #headAgency, .native #headAdd { display: none; }
.native .shell { grid-template-columns: minmax(0, 1fr); }
.dlg.welcome { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; box-shadow: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(env(safe-area-inset-top, 0) + 40px) 28px calc(env(safe-area-inset-bottom, 0) + 32px);
  /* Showbizz's colours as waves along the bottom (2026-10-22): violet → pink → orange, the rest left clean. */
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201440%20320%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20x2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23bf5af2%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%23ff375f%22%2F%3E%3Cstop%20offset%3D%22.7%22%20stop-color%3D%22%23ff6a3d%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff9f0a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23g%29%22%20opacity%3D%22.18%22%20d%3D%22M0%20120C240%2060%20420%20200%20720%20150S1200%2040%201440%20110V320H0Z%22%2F%3E%3Cpath%20fill%3D%22url%28%23g%29%22%20opacity%3D%22.32%22%20d%3D%22M0%20190C260%20140%20470%20260%20760%20215S1220%20140%201440%20200V320H0Z%22%2F%3E%3Cpath%20fill%3D%22url%28%23g%29%22%20opacity%3D%22.9%22%20d%3D%22M0%20255C300%20225%20520%20300%20800%20270S1240%20230%201440%20265V320H0Z%22%2F%3E%3C%2Fsvg%3E") bottom / 100% 190px no-repeat, var(--card); }
.dlg.welcome::backdrop { background: var(--card); }
.dlg.welcome .form input:focus { border-color: #ff6a4d; background: var(--card); box-shadow: 0 0 0 4px rgba(255, 106, 77, 0.12); }
.dlg.welcome .dlg-close { display: none; }
.dlg.welcome .dlg-logo { height: 84px; border-radius: 20px; margin-bottom: 22px; box-shadow: 0 14px 40px rgba(255, 55, 95, 0.3); }
.dlg.welcome h2 { font-size: 34px; text-align: center; }
.dlg.welcome > .muted { text-align: center; max-width: 340px; margin: 0 auto 28px; }
.dlg.welcome .form { width: 100%; max-width: 380px; margin: 0 auto; }
.dlg.welcome .btn.full { background: var(--accent); }

/* No artist yet: the two ways in, side by side, or stacked with room between them on the phone (2026-10-19). */
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
@media (max-width: 640px) { .empty-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; } }

/* ── The app's opening (2026-10-19): the ticket lands, its bars rise, then it lifts away ── */
.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 6px;
  background: linear-gradient(135deg, #ff375f, #ff9f0a); transition: opacity 0.45s ease; }
.intro[hidden] { display: none; }
.intro.out { opacity: 0; pointer-events: none; }
.intro-ticket { width: min(62vw, 300px); height: auto; overflow: visible; }
.intro .t-body { transform-box: view-box; transform-origin: 512px 512px; transform: rotate(-12deg);
  filter: drop-shadow(0 18px 22px rgba(122, 15, 31, 0.28)); animation: tLand 0.7s cubic-bezier(.2, .9, .25, 1.15) both; }
.intro .t-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: tRise 0.5s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.intro .b1 { animation-delay: 0.55s; } .intro .b2 { animation-delay: 0.7s; } .intro .b3 { animation-delay: 0.85s; }
.intro .t-perf, .intro .t-dot { opacity: 0; animation: tFade 0.4s ease 1.05s forwards; }
.intro-name { margin: 0; color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; opacity: 0; animation: tName 0.5s ease 1.0s forwards; }
.intro.out .t-body { transform: rotate(-12deg) translateY(-24px) scale(0.92); transition: transform 0.45s ease; }
@keyframes tLand { from { opacity: 0; transform: rotate(8deg) translateY(60px) scale(0.6); } to { opacity: 1; transform: rotate(-12deg); } }
@keyframes tRise { to { transform: scaleY(1); } }
@keyframes tFade { to { opacity: 1; } }
@keyframes tName { from { opacity: 0; transform: translateY(8px); } to { opacity: 0.95; transform: none; } }

/* Deleting an artist (2026-10-19): swiped left in the list (and in its Réglages). */
.art-row { position: relative; border-radius: 16px; overflow: hidden; }
.art-row .art-card { position: relative; z-index: 1; transition: transform 0.22s ease; touch-action: pan-y; }
.art-del { position: absolute; top: 1px; right: 1px; bottom: 1px; width: 92px; border: 0; border-radius: 0 15px 15px 0;   /* 1 px in: never a red hairline past the card's rounded corners */
  background: #ff3b30; color: #fff; font-size: 14px; font-weight: 600; }

/* A first reading still running: the numbers wait (2026-10-19). */
.kpi.wait strong { display: block; height: 30px; }
.kpi.wait .skel { display: block; width: 60%; height: 22px; margin-top: 4px; border-radius: 6px; }
.kpi.wait em { color: #ff6a35; }

/* On the phone (2026-10-19): a show's row fits the screen — date, show, fill, chevron. The badge (Auto, En cours…)
   and the last-reading line stay in the row's detail; « Lecture en cours… » is said once, in the fill. */
@media (max-width: 640px) {
  .shows { width: 100%; }
  .shows td.end .badge { display: none; }
  .shows td.end, .shows th:last-child { width: 18px; padding-left: 0; }
  .shows td.date, .shows th:first-child { width: 58px; }
  .shows .fill .last { display: none; }
  .shows td.where b, .shows td.where span { overflow-wrap: break-word; }
  .shows td.fill { min-width: 0; }
  .shows td.fill .why { overflow-wrap: break-word; }
  .shows tr.detail > td { padding: 12px; }
}

/* The summary's boxes all the same height, row by row, easier to scan; a box at risk all red (2026-10-19). */
.kpis { grid-auto-rows: 1fr; }
.kpi { display: flex; flex-direction: column; }
.kpi.alert { background: var(--red-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red) 45%, transparent); }
.kpi.alert em { color: color-mix(in srgb, var(--red) 75%, var(--muted)); }
/* A show at risk, on the phone: the whole row tinted, « À risque » small in its top-right corner. */
@media (max-width: 640px) {
  .shows tr.alert { position: relative; background: var(--red-soft); }
  .shows tr.alert td { background: transparent; }
  .shows tr.alert .risktag { position: absolute; top: 8px; right: 10px; margin: 0; font-size: 9px; padding: 2px 6px; background: var(--card); }
  .shows tr.alert td.where { padding-top: 22px; }
}
@media (max-width: 640px) {
  /* Compact on the phone: each box's line under the number kept to two lines, the estimate left to the rows. */
  .kpi { padding: 14px 16px; }
  .kpi em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; }
  .kpi em.est { display: none; }
}

/* The phone's summary, folded under the upcoming shows (2026-10-19). */
.fold { margin: 18px 0; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--card); }
.fold > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary span { font-weight: 600; font-size: 15px; }
.fold > summary em { font-style: normal; color: var(--muted); font-size: 13px; margin-left: auto; text-align: right; }
.fold > summary em .risk { color: var(--red); font-weight: 600; }
.fold > summary::after { content: "›"; color: var(--muted); font-size: 20px; transition: transform 0.2s; }
.fold[open] > summary::after { transform: rotate(90deg); }
.fold > .kpis, .fold > .card { margin: 0 12px 12px; }

/* An artist on the phone: three buttons under its name — read now, Revenus (every number), Réglages (2026-10-19). */
.upd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.upd span { display: inline-flex; align-items: center; gap: 6px; }
.upd .spin { width: 12px; height: 12px; }
.upd .btn-line { padding: 7px 14px; font-size: 14px; }
.art-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin: 4px 0 16px; border-radius: 14px; background: var(--bg-alt); }
.art-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; border-radius: 10px;
  padding: 10px 6px; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }
.art-tabs button.on { background: var(--card); box-shadow: var(--shadow); color: #ff375f; }
.art-tabs button:disabled { color: var(--muted); }
.art-tabs .spin { width: 12px; height: 12px; }
@media (max-width: 640px) { .shows + .note, .card + .note { display: none; } }
.native .card + .note { display: none; }

/* The overview on the phone (2026-10-19): its own band, never mistaken for an artist's page. */
.ov-hero { margin: 0 0 14px; padding: 20px 20px 18px; border-radius: 20px; color: #fff; background: var(--accent); box-shadow: 0 10px 30px rgba(255, 55, 95, 0.22); }
.ov-hero small { display: block; font-size: 12px; font-weight: 600; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.06em; }
.ov-hero h1 { margin: 2px 0 4px; font-size: 32px; letter-spacing: -0.03em; color: #fff; }
.ov-hero p { margin: 0; font-size: 14px; opacity: 0.95; }
.ov-next { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.18); display: grid; gap: 1px; }
.ov-next span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.85; }
.ov-next b { font-size: 15px; }
.ov-next em { font-style: normal; font-size: 13px; opacity: 0.9; }
.ov-seg { margin: 0 0 16px; }
@media (max-width: 640px) { #main > .head:has(~ .ov-hero) { display: none; } }
/* The overview's Réglages (2026-10-22): which kinds it shows. */
.ov-hero { position: relative; }
.ov-gear { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 18px; cursor: pointer; }
.ov-gear i { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.ov-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: -12px 0 18px; padding: 14px 18px; border-radius: 16px; background: var(--card, var(--bg)); border: 1px solid var(--line, rgba(0, 0, 0, 0.08)); }
.ov-filter[hidden] { display: none; }
.ov-filter b { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.ov-filter .check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
@media (max-width: 640px) { .ov-filter { margin: 0 0 14px; } }
/* The plans compared (landing, 2026-10-22). */
.compare-wrap { max-width: 860px; margin: 40px auto 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-wrap h3 { text-align: center; margin: 0 0 16px; font-size: 22px; letter-spacing: -0.02em; }
.compare { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.compare th:first-child { width: 30%; }
.compare th, .compare td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line, rgba(127, 127, 127, 0.2)); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 16px; }
.compare thead th.pick { color: var(--accent); }
.compare td small { display: block; color: var(--muted); font-size: 12px; }
.compare .yes { color: var(--accent); font-weight: 700; }
.native #main > .head:has(+ .ov-hero) { display: none; }

/* The numbers at a glance, and what waits for the person (2026-10-19). */
.kstrip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 14px; }
.kstrip > div, .kstrip > button { display: grid; gap: 1px; padding: 9px 8px; border-radius: 12px; border: 0; text-align: left; color: inherit;
  background: rgba(255, 255, 255, 0.18); font: inherit; }
.kstrip b { font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kstrip span { font-size: 11px; opacity: 0.9; }
.kstrip button { cursor: pointer; }
.kstrip button:disabled { cursor: default; }
.kstrip button.hot { background: rgba(255, 255, 255, 0.95); color: var(--red); }
.kstrip button.todo { background: rgba(255, 255, 255, 0.95); color: #3a3a3c; }
.kstrip button.on { outline: 2px solid #fff; }
.kstrip.light { margin: 0 0 14px; }
.kstrip.light > div, .kstrip.light > button { background: var(--bg-alt); color: var(--text); }
.kstrip.light button.hot { background: var(--red-soft); color: var(--red); }
.kstrip.light button.todo { background: var(--todo-soft); color: var(--todo-text); }
.kstrip.light button.on { outline: 2px solid currentColor; }
.kstrip .skel { width: 40px; height: 18px; }
.kpi.tap { cursor: pointer; }
.filter-chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 10px 14px;
  border-radius: 12px; background: var(--todo-soft); color: var(--todo-text); font-weight: 600; font-size: 14px; }
.filter-chip button { border: 0; background: none; color: inherit; font-size: 15px; }
/* A date waiting for the person: tinted amber, tagged, and its detail says what to do. */
.shows tr.todo { background: var(--todo-row); }
.todotag { color: var(--todo-text); background: var(--todo-tag); }
.todo-box { margin: 0 0 14px; padding: 14px; border-radius: 14px; background: var(--todo-soft); color: var(--todo-ink); }
.todo-box b { display: block; font-size: 15px; }
.todo-box p { margin: 4px 0 12px; font-size: 14px; }
.todo-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.todo-acts > * { flex: 1 1 160px; padding: 10px 14px; font-size: 14px; }
@media (max-width: 640px) {
  .shows tr.todo { position: relative; }
  .shows tr.todo .todotag { position: absolute; top: 8px; right: 10px; margin: 0; font-size: 9px; padding: 2px 6px; }
  .shows tr.todo td.where { padding-top: 22px; }
  .shows tr.alert.todo .todotag { top: 28px; }
}

@media (max-width: 640px) {
  .shows tr.detail > td > * { max-width: calc(100vw - 58px); box-sizing: border-box; }
  .shows tr.detail > td { max-width: calc(100vw - 34px); }
  .shows tr.detail > td > * { max-width: calc(100vw - 80px); }
  .table-wrap { overflow-x: hidden; }
  .shows tr.detail .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Read now, as an icon beside the artist's name (2026-10-19). */
.head .icon-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; margin-top: 6px; }
.head .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.head .icon-btn:active { transform: rotate(-30deg); }
.head .icon-btn:disabled { color: #ff375f; }
.head .icon-btn .spin { width: 18px; height: 18px; }
.head:has(> .icon-btn) { flex-wrap: nowrap; align-items: flex-start; margin-bottom: 18px; }
.head:has(> .icon-btn) > div { min-width: 0; }
@media (max-width: 640px) { .shows tr.alert > td, .shows tr.todo > td { padding-top: 26px; } .shows .fill .nums em { white-space: nowrap; } }
.intro-name span { font-weight: 500; letter-spacing: 0.04em; opacity: 0.85; }

.kstrip b small { font-size: 13px; font-weight: 500; opacity: 0.75; letter-spacing: 0; }
.dlg-status .status { margin: 0 0 18px; }
@media (max-width: 640px) { .shows .fill .nums { white-space: nowrap; font-size: 13px; } .shows .fill .nums b { font-size: 15px; } }

/* The phone: a table's title on one line, no hint under it; the past folded away (2026-10-19). */
@media (max-width: 640px) {
  .card-head > .muted { display: none; }
  .card-head h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.past-fold { margin: 18px 0; }
.past-fold > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--line-soft); background: var(--card); font-weight: 600; font-size: 15px; cursor: pointer; }
.past-fold > summary::-webkit-details-marker { display: none; }
.past-fold > summary span { color: var(--muted); font-weight: 500; }
.past-fold > summary::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 20px; transition: transform 0.2s; }
.past-fold[open] > summary { margin-bottom: 12px; }
.past-fold[open] > summary::after { transform: rotate(90deg); }
.past-fold .card-head { display: none; }

/* Offline (2026-10-19): the last numbers known, a band saying so, and what needs the server greyed out. */
.offline-bar { position: sticky; top: calc(52px + env(safe-area-inset-top, 0)); z-index: 20; display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: #1d1d1f; color: #fff; font-size: 13px; font-weight: 500; }
.offline-bar[hidden] { display: none; }
/* The reviewers' demonstration account (2026-10-19): said once, at the top, that everything in it is made up. */
.demo-bar { position: sticky; top: calc(52px + env(safe-area-inset-top, 0)); z-index: 19; padding: 7px 16px; text-align: center;
  background: linear-gradient(135deg, #6e3cff, #ff3c8e); color: #fff; font-size: 13px; font-weight: 500; }
.demo-bar[hidden] { display: none; }
.demo-bar b { font-weight: 700; }
.offline-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; flex: none; }
.offline-bar button { margin-left: auto; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; border-radius: 980px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.offline #refresh, .offline #artAdd, .offline #artAgency, .offline #headAdd, .offline #headAgency, .offline #emptyAdd, .offline #emptyAgency,
.offline #addArtist, .offline #addAgency, .offline .art-del, .offline [data-plan], .offline #subBox .sub-links, .offline #artistSave,
.offline #artistDelete, .offline #accForm button, .offline #manualForm button, .offline #capForm button, .offline #priceForm button,
.offline .todo-acts button, .offline [data-nt], .offline [data-period] { opacity: 0.4; pointer-events: none; }

/* ── halls (2026-10-20): « Je suis », and each hall's season on the overview ── */
.form fieldset.iam { border: 0; padding: 0; margin: 0; min-width: 0; }
.form .iam-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-alt); }
.form fieldset.iam legend { font-size: 13px; color: var(--muted); font-weight: 500; padding: 0 0 6px; }
.form fieldset.iam label { position: relative; flex-direction: row; justify-content: center; padding: 9px 6px; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; }
.form fieldset.iam input { position: absolute; opacity: 0; pointer-events: none; }
.form fieldset.iam label:has(input:checked) { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.form fieldset.iam label:has(input:focus-visible) { outline: 2px solid var(--link); }
.card.halls { margin-bottom: 16px; }
.hall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding: 16px 20px; }
.hall-card { display: grid; gap: 6px; text-align: left; padding: 14px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--bg-alt); color: inherit; cursor: pointer; position: relative; }
.hall-card:hover { border-color: var(--line); }
.hall-card > .dot { position: absolute; top: 16px; right: 14px; }
.hall-card b { font-size: 16px; padding-right: 18px; }
.hall-card small { color: var(--muted); }
.hall-card .risk { color: var(--red); }
@media (max-width: 640px) { .hall-grid { padding: 12px; grid-template-columns: 1fr; } }

/* The search right under it */
.try-kind + .try { margin-top: 12px; }
/* The landing's « Artistes | Salles » (2026-10-20): what the search finds, a tour or a season */
.try-kind { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 34px auto 0; border-radius: 999px; background: var(--bg-alt); }
.try-kind button { border: 0; background: none; border-radius: 999px; padding: 8px 20px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.try-kind button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }

/* The prospect list's types (2026-10-20): Salles · Agences · Agents · Artistes */

/* A date the artist enters (2026-10-21) */
.date-add { margin: 14px 0 6px; }
.own-line { margin: 10px 0 0; font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.own-line a { color: var(--red); }

/* Plan notes (2026-10-22): a hall's free preview, quietly; what a plan no longer covers, clearly. */
.plan-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 10px 16px; border-radius: 14px; background: var(--bg-alt); font-size: 14px; font-weight: 600; }
.plan-note a { font-weight: 600; white-space: nowrap; }
.plan-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--accent) border-box; }
.plan-callout p { margin: 0; flex: 1 1 260px; font-size: 15px; }
.dot.paused { background: var(--line); }

/* The account as a tab on the phone (2026-10-22): the bottom bar stays. */
.acc-page { max-width: 640px; }
.acc-page .form { margin-top: 4px; }

/* ── The iPhone Duo (2026-10-23): folded 466 × 678, open 626 × 890 either way up, Split View halves in between ──
   The screen's sides: the folded screen's camera sits in a side when it is turned sideways, so every band keeps
   clear of the left and right safe areas (0 on any other screen). */
.bar-in { padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.demo-bar, .offline-bar { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.native .tabbar { padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
@media (max-width: 900px) {
  .native #app .main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 640px) {
  .tabbar { padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
  #app .main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .dlg, .dlg.wide { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .dlg-close { right: max(14px, env(safe-area-inset-right, 0px)); }
}
/* The app open wide: the overview's band says its title already, as on the phone. */
.native #main > .head:has(~ .ov-hero) { display: none; }
.native #app .main { padding-top: 22px; margin: 0 auto; }
/* Wider than a phone: the artists and halls side by side, two or three to a row. */
@media (min-width: 600px) {
  .native .art-list { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
  .native .art-row .art-card { height: 100%; }   /* a row as tall as its neighbour: the delete button stays hidden behind */
  /* The tabs as iOS draws them on a wide screen: the icon beside its name, gathered in the middle. */
  .native .tabbar { grid-auto-columns: minmax(0, 150px); justify-content: center; gap: 8px; }
  .native .tabbar button { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; padding: 9px 0; }
  .native .tabbar svg { width: 22px; height: 22px; }
  .native #app .main { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
/* Sideways (folded or open, about 466 to 626 high): less height spent above the content. */
@media (max-height: 640px) and (orientation: landscape) {
  .native #app .main { padding-top: 16px; }
  .native .head { margin-bottom: 16px; }
  .native .head h1 { font-size: 30px; }
  .native .demo-bar, .native .offline-bar { padding-top: 5px; padding-bottom: 5px; }
  /* The sign-in fits without being cut at the top: centred while there is room, scrolled when there is not. */
  .dlg.welcome { justify-content: flex-start; padding-top: calc(env(safe-area-inset-top, 0px) + 20px); background-size: 100% 110px; }
  .dlg.welcome::before, .dlg.welcome::after { content: ""; flex: 1 0 0; }
  .dlg.welcome .dlg-logo { height: 56px; border-radius: 14px; margin-bottom: 12px; }
  .dlg.welcome h2 { font-size: 26px; }
  .dlg.welcome > .muted { margin-bottom: 16px; }
}
