:root {
  --ink: #07192d;
  --ink-2: #18324f;
  --muted: #64758b;
  --muted-2: #8492a5;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5fa;
  --line: #dce5ef;
  --line-strong: #c9d5e2;
  --blue: #1478ff;
  --blue-dark: #0863da;
  --blue-soft: #eaf3ff;
  --mint: #12a36d;
  --mint-soft: #e9f8f1;
  --coral: #e65048;
  --coral-soft: #fff0ef;
  --amber: #d98909;
  --amber-soft: #fff7e6;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 45px rgba(22, 53, 87, .09);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 15px; letter-spacing: -.012em; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(20, 120, 255, .3); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Brand */
/* Marque : le symbole reel de l'application, meme actif que l'icone iOS. */
.brand-mark { display: block; width: 72px; height: 72px; border-radius: 20px; object-fit: cover; box-shadow: 0 10px 26px rgba(6, 42, 96, .22); }
.brand-mark.small { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 4px 12px rgba(6, 42, 96, .2); }

/* Authentication */
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: var(--blue); }
.auth-card { width: min(600px, 100%); padding: clamp(30px, 6vw, 56px); border-radius: 24px; background: #fff; box-shadow: 0 30px 90px rgba(4, 43, 86, .28); }
.auth-card h1 { max-width: 11ch; margin: 22px 0 16px; font: 800 clamp(42px, 7vw, 68px)/.94 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.auth-card .lede { max-width: 48ch; margin: 0 0 30px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.auth-card form { display: grid; gap: 10px; }
.auth-card label, .composer-card label { color: var(--ink-2); font-weight: 700; }
.auth-card input, .composer-card input, .composer-card textarea, .composer-card select { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 15px; color: var(--ink); background: var(--paper); }
.auth-card input { min-height: 54px; font-size: 17px; }
.auth-card button[type="submit"], .submit-create { min-height: 52px; margin-top: 5px; border: 0; border-radius: 12px; color: #fff; background: var(--blue); font-weight: 800; }
.auth-card button[type="submit"]:hover, .submit-create:hover { background: var(--blue-dark); }
.text-button { border: 0; padding: 12px; color: var(--blue); background: none; font-weight: 700; }
.status { min-height: 22px; margin: 12px 0 0; color: var(--coral); font-size: 13px; line-height: 1.5; }

/* Shell */
.workspace { min-height: 100vh; display: grid; grid-template-columns: 242px minmax(0, 1fr) 320px; background: var(--surface); }
.workspace[data-layout="wide"] { grid-template-columns: 242px minmax(0, 1fr); }
.workspace[data-layout="wide"] .context-panel { display: none; }
.sidebar { position: sticky; z-index: 20; top: 0; height: 100vh; padding: 24px 18px 18px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; }
.logo { min-height: 54px; display: flex; align-items: center; border: 0; padding: 0 9px; color: var(--ink); background: none; text-align: left; }
.logo strong { font: 700 18px var(--display); letter-spacing: -.035em; white-space: nowrap; }
.logo strong span { color: var(--blue); }
.nav-label { margin: 34px 12px 12px; color: var(--muted-2); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar nav button { min-height: 48px; display: flex; align-items: center; gap: 13px; border: 0; border-radius: 12px; padding: 0 14px; color: #53647a; background: none; font-weight: 650; text-align: left; transition: color .18s var(--ease), background .18s var(--ease); }
.sidebar nav button i { width: 22px; color: #74869d; font-size: 19px; font-style: normal; text-align: center; }
.sidebar nav button:hover { color: var(--ink); background: var(--surface-2); }
.sidebar nav button.active { color: var(--blue); background: var(--blue-soft); }
.sidebar nav button.active i { color: var(--blue); }
.compose { min-height: 50px; margin-top: 22px; border: 0; border-radius: 12px; color: #fff; background: var(--blue); font-weight: 800; box-shadow: 0 10px 24px rgba(20, 120, 255, .2); }
.compose:hover { background: var(--blue-dark); transform: translateY(-1px); }
.compose span { margin-right: 5px; font-size: 20px; vertical-align: -1px; }
.privacy-note { margin-top: auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 13px; color: var(--ink-2); font-size: 12px; }
.privacy-note i { color: var(--mint); font-style: normal; }
.privacy-note small { color: var(--muted); }
.profile-mini { min-height: 62px; margin-top: 12px; display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.profile-mini strong, .profile-mini small { display: block; }
.profile-mini strong { font-size: 12px; }
.profile-mini small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.profile-mini button { border: 0; color: var(--muted); background: none; }
.avatar { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 12px; font-weight: 800; }

.app-main { min-width: 0; background: #fff; }
.topbar { position: sticky; z-index: 15; top: 0; min-height: 72px; padding: 12px clamp(22px, 3vw, 40px); display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); }
.mobile-logo { display: none; }
.search-wrap { min-width: 180px; max-width: 620px; flex: 1; height: 46px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; background: var(--paper); }
.search-wrap span { color: var(--muted); font-size: 20px; }
.search-wrap input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-wrap input::placeholder { color: #6f7f93; }
.search-wrap kbd { border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; color: var(--muted); background: #fff; font-size: 10px; }
.jaures-button, .icon-button { min-height: 44px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-2); background: #fff; font-weight: 750; }
.jaures-button { padding: 0 16px; color: var(--blue); border-color: #b9d7ff; }
.jaures-button:hover { background: var(--blue-soft); }
.icon-button { min-width: 44px; font-size: 18px; }
.icon-button:hover { color: var(--blue); background: var(--paper); }
.content { min-width: 0; }

/* Shared content */
.page-shell, .today-shell, .dossier-shell { width: 100%; max-width: 1160px; margin: 0 auto; padding: 38px clamp(24px, 4vw, 52px) 80px; }
.feed-header, .page-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.feed-header h1, .page-heading h1, .dossier-header h1 { margin: 0; font: 800 clamp(38px, 4vw, 54px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.feed-header p, .page-heading > div > p:last-child { max-width: 68ch; margin: 9px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.eyebrow { margin: 0; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.primary-action, .soft-action, .text-action, .back-button { min-height: 42px; border-radius: 10px; padding: 0 15px; font-weight: 750; }
.primary-action { border: 1px solid var(--blue); color: #fff; background: var(--blue); }
.primary-action:hover { border-color: var(--blue-dark); background: var(--blue-dark); transform: translateY(-1px); }
.soft-action { border: 1px solid #bcd7fc; color: var(--blue-dark); background: var(--blue-soft); }
.soft-action:hover { border-color: var(--blue); background: #dcecff; }
.text-action, .back-button { border: 0; color: var(--blue); background: transparent; }
.text-action:hover, .back-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-button { margin: -8px 0 20px -14px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 38px 0 14px; }
.section-heading h2 { margin: 0; font: 750 24px/1.1 var(--display); letter-spacing: -.025em; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

/* Priority claim and conquest line */
.priority-claim { border: 1px solid var(--line-strong); border-radius: 16px; background: #fff; box-shadow: var(--shadow); overflow: hidden; animation: claim-arrive .65s var(--ease) both; }
@keyframes claim-arrive { from { clip-path: inset(0 0 100% 0 round 16px); filter: blur(4px); } to { clip-path: inset(0 0 0 0 round 16px); filter: blur(0); } }
.claim-header { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 24px 24px 14px; }
.claim-symbol { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #a8ccff; border-radius: 14px; color: var(--blue); background: var(--blue-soft); font-size: 27px; font-weight: 800; }
.claim-kicker { display: block; margin-bottom: 5px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.claim-title button { display: block; border: 0; padding: 0; color: var(--ink); background: none; font: 750 clamp(21px, 2.2vw, 29px)/1.08 var(--display); letter-spacing: -.03em; text-align: left; }
.claim-title button:hover { color: var(--blue); }
.claim-title p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.claim-status { align-self: start; border-radius: 7px; padding: 7px 9px; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.claim-status.blocked { color: var(--coral); background: var(--coral-soft); }
.claim-status.active { color: var(--blue-dark); background: var(--blue-soft); }
.claim-status.won { color: var(--mint); background: var(--mint-soft); }
.conquest-line { padding: 22px 24px 20px; }
.trajectory { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.trajectory::before { content: ""; position: absolute; z-index: 0; left: 8%; right: 8%; top: 14px; height: 2px; background: var(--line); }
.trajectory-stage { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; color: var(--muted-2); }
.trajectory-stage span { width: 29px; height: 29px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #cdd7e2; box-shadow: 0 0 0 2px var(--line); font-size: 11px; font-weight: 800; }
.trajectory-stage small { font-size: 10px; font-weight: 700; }
.trajectory-stage.done { color: var(--mint); }
.trajectory-stage.done span { color: #fff; background: var(--mint); box-shadow: 0 0 0 2px var(--mint); }
.trajectory-stage.current { color: var(--blue); }
.trajectory-stage.current span { color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue), 0 0 0 8px var(--blue-soft); }
.claim-blocker { min-height: 58px; display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 24px; color: var(--ink-2); background: var(--paper); }
.claim-blocker span { width: 24px; height: 24px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-weight: 800; }
.claim-blocker.is-blocked span { color: var(--coral); background: var(--coral-soft); }
.claim-blocker p { margin: 0; font-size: 13px; line-height: 1.45; }
.claim-actions { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.claim-actions > strong { font: 700 17px var(--display); }
.claim-actions > div { display: flex; align-items: center; gap: 8px; }
.claim-empty { border: 1px solid var(--line); border-radius: 16px; }

/* Feed */
.social-section { margin-top: 2px; }
.feed-list { border-top: 1px solid var(--line); }
.feed-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.feed-body { min-width: 0; }
.feed-body header { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.feed-body header strong { font-size: 13px; }
.feed-body time { color: var(--muted); font-size: 10px; }
.feed-body > p { max-width: 72ch; margin: 7px 0 12px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.62; }
.post-copy { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.feed-item.is-expanded .post-copy { display: block; }
.expand-post { border: 0; padding: 0; color: var(--blue); background: none; font-size: 11px; font-weight: 700; }
.feed-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.feed-actions button { min-height: 32px; border: 0; border-radius: 8px; padding: 0 10px; color: #53647a; background: var(--surface-2); font-size: 10px; font-weight: 700; }
.feed-actions button:hover, .feed-actions button.active, .feed-actions .linked-combat { color: var(--blue); background: var(--blue-soft); }
.combat-threshold { position: relative; margin-top: 12px; border-radius: 10px; padding: 10px 12px; background: var(--paper); overflow: hidden; }
.combat-threshold > span { position: absolute; inset: auto auto 0 0; height: 2px; background: var(--blue); }
.combat-threshold p { margin: 0 130px 0 0; color: var(--muted); font-size: 10px; }
.combat-threshold button { position: absolute; right: 8px; top: 6px; border: 0; padding: 5px 7px; color: var(--blue); background: transparent; font-size: 9px; font-weight: 800; }
.ready-strip { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #bcd9ff; border-radius: 12px; padding: 13px 15px; background: var(--blue-soft); }
.ready-strip strong, .ready-strip span { display: block; }
.ready-strip strong { font-size: 12px; }
.ready-strip span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.ready-strip button { border: 0; color: var(--blue); background: none; font-size: 10px; font-weight: 800; }
.load-more { width: 100%; min-height: 42px; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--blue); background: #fff; font-weight: 700; }

/* Right context */
.context-panel { min-width: 0; border-left: 1px solid var(--line); padding: 28px 18px 60px; background: var(--paper); }
.context-sticky { position: sticky; top: 96px; }
.context-title { margin: 0 0 16px 2px; font: 750 26px var(--display); letter-spacing: -.03em; }
.context-card, .visio-link { width: 100%; display: block; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--ink); background: #fff; text-align: left; text-decoration: none; }
.context-card h2 { margin: 8px 0; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.context-card p { margin: 6px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.context-card button, .context-link { width: 100%; min-height: 38px; margin-top: 9px; border: 1px solid #bdd8fc; border-radius: 9px; color: var(--blue); background: #fff; font-size: 10px; font-weight: 800; text-align: center; text-decoration: none; }
.result-proof { display: grid; grid-template-columns: 42px 1fr; gap: 12px; border-color: #b8dfcc; }
.result-proof > span { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--mint); border-radius: 50%; color: var(--mint); font-size: 20px; }
.result-proof .eyebrow { color: var(--mint); }
.result-proof small { color: var(--blue); font-weight: 750; }
.collective-impact dl { margin: 12px 0 0; display: grid; gap: 12px; }
.collective-impact dl div { display: grid; grid-template-columns: 48px 1fr; align-items: baseline; gap: 8px; }
.collective-impact dt { color: var(--mint); font: 750 19px var(--display); }
.collective-impact dd { margin: 0; color: var(--muted); font-size: 10px; }
.visio-link { display: grid; grid-template-columns: 14px 1fr 16px; align-items: center; gap: 8px; }
.visio-link i { color: var(--mint); font-style: normal; }
.visio-link small, .visio-link strong { display: block; }
.visio-link small { color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.visio-link strong { margin-top: 2px; color: var(--mint); font-size: 12px; }

/* Claims map */
.map-legend { display: flex; gap: 18px; margin: -8px 0 14px; color: var(--muted); font-size: 10px; }
.dot { width: 8px; height: 8px; display: inline-block; margin-right: 5px; border-radius: 50%; }
.dot.mint { background: var(--mint); }.dot.blue { background: var(--blue); }.dot.coral { background: var(--coral); }
.combat-list { border-top: 1px solid var(--line); }
.combat-row { width: 100%; display: grid; grid-template-columns: minmax(230px, 1.15fr) minmax(250px, 1fr) minmax(190px, .8fr); align-items: center; gap: 24px; border: 0; border-bottom: 1px solid var(--line); padding: 24px 6px; color: var(--ink); background: #fff; text-align: left; }
.combat-row:hover { background: linear-gradient(90deg, transparent, var(--paper)); }
.subject-state { display: inline-block; border-radius: 6px; padding: 5px 7px; color: var(--blue); background: var(--blue-soft); font-size: 8px; font-weight: 800; }
.subject-state.blocked { color: var(--coral); background: var(--coral-soft); }
.combat-main h2 { margin: 8px 0 5px; font: 700 19px/1.15 var(--display); letter-spacing: -.02em; }
.combat-main p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.combat-progress .trajectory-stage small { font-size: 8px; }
.combat-progress .trajectory-stage span { width: 25px; height: 25px; }
.combat-progress .trajectory::before { top: 12px; }
.progress-line { height: 3px; margin: 14px 8% 0; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress-line span { display: block; height: 100%; background: var(--mint); }
.combat-next small { color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.combat-next strong { display: block; margin: 6px 0 8px; font-size: 11px; line-height: 1.4; }
.combat-next span { color: var(--blue); font-size: 10px; font-weight: 700; }

/* Subject dossier */
.dossier-badges { display: flex; gap: 7px; align-items: center; }
.dossier-badges > span:not(.subject-state) { color: var(--muted); font-size: 10px; }
.dossier-header h1 { max-width: 19ch; margin-top: 12px; }
.decision-brief { margin-top: 28px; display: grid; grid-template-columns: 1.3fr .8fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.decision-brief > div { min-width: 0; padding: 18px; border-right: 1px solid var(--line); }
.decision-brief > div:last-child { border: 0; }
.decision-brief small { color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.decision-brief p, .decision-brief strong { display: block; margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.decision-brief .is-blocked { background: var(--coral-soft); }
.decision-brief .is-blocked small, .decision-brief .is-blocked strong { color: var(--coral); }
.single-action { display: flex; gap: 8px; margin-top: 12px; }
.single-action button { min-height: 40px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; color: var(--blue); background: #fff; font-size: 10px; font-weight: 750; }
.single-action button:first-child { color: #fff; border-color: var(--blue); background: var(--blue); }
.simple-path { position: relative; display: grid; gap: 10px; }
.simple-path::before { content: ""; position: absolute; left: 20px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.step-node { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) 40px; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.step-icon { z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-weight: 800; }
.step-node.fait .step-icon { color: #fff; background: var(--mint); }
.step-node.bloque .step-icon { color: var(--coral); background: var(--coral-soft); }
.step-node small { color: var(--muted-2); font-size: 8px; font-weight: 800; }
.step-node h3 { margin: 4px 0; font-size: 13px; }
.step-node p, .step-node time { margin: 3px 0; color: var(--muted); font-size: 10px; }
.step-node a { color: var(--blue); font-size: 10px; }
.step-done { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; color: var(--mint); background: #fff; }
.hand-card dl { margin: 12px 0 0; }
.hand-card dl div { padding: 9px 0; border-top: 1px solid var(--line); }
.hand-card dt { color: var(--muted); font-size: 9px; }
.hand-card dd { margin: 4px 0 0; font-size: 11px; font-weight: 700; line-height: 1.4; }
.jaures-title { display: flex; justify-content: space-between; gap: 8px; }
.jaures-title span { color: var(--blue); font-size: 9px; }
.jaures-card b { font-size: 9px; }

/* Communities, meetings, results */
.community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.community-card { min-height: 190px; display: grid; grid-template-columns: 50px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: var(--ink); background: #fff; text-align: left; }
.community-card:hover { border-color: #afd0fb; box-shadow: var(--shadow); transform: translateY(-2px); }
.community-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: var(--blue-soft); font-weight: 800; }
.community-symbol.c1 { color: var(--mint); background: var(--mint-soft); }.community-symbol.c2 { color: var(--amber); background: var(--amber-soft); }.community-symbol.c3 { color: var(--coral); background: var(--coral-soft); }
.community-card h2 { margin: 8px 0 5px; font: 700 19px var(--display); }
.community-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.community-card footer { margin-top: 18px; display: flex; justify-content: space-between; gap: 10px; color: var(--blue); font-size: 10px; }
.group-subjects { margin-bottom: 28px; }
.group-subject { width: 100%; display: grid; grid-template-columns: 90px 1fr 20px; gap: 12px; border: 0; border-bottom: 1px solid var(--line); padding: 15px 4px; color: var(--ink); background: #fff; text-align: left; }
.group-subject span { color: var(--blue); font-size: 9px; }.group-subject b { color: var(--blue); }
.meeting-list { display: grid; gap: 12px; }
.meeting-card { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.meeting-date { width: 58px; height: 62px; display: grid; place-content: center; border-radius: 12px; color: var(--blue); background: var(--blue-soft); text-align: center; }
.meeting-date strong, .meeting-date span { display: block; }.meeting-date strong { font: 750 22px var(--display); }.meeting-date span { font-size: 9px; }
.meeting-card h2 { margin: 6px 0 4px; font: 700 19px var(--display); }.meeting-card p { margin: 0; color: var(--muted); font-size: 10px; }
.meeting-card > a { color: var(--blue); font-size: 10px; font-weight: 750; text-decoration: none; }
.meeting-subjects { margin-top: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.meeting-subjects button, .meeting-subjects span { border: 0; border-radius: 7px; padding: 5px 7px; color: var(--ink-2); background: var(--paper); font-size: 9px; }
.results-list { border-top: 1px solid var(--line); }
.result-card { width: 100%; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; border: 0; border-bottom: 1px solid var(--line); padding: 22px 4px; color: var(--ink); background: #fff; text-align: left; }
.result-card > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--mint); font-size: 19px; }
.result-card small { color: var(--mint); font-size: 8px; font-weight: 800; }.result-card h2 { margin: 5px 0; font: 700 19px var(--display); }.result-card p { margin: 0; color: var(--muted); font-size: 11px; }.result-card b { color: var(--blue); font-size: 10px; }
.empty { padding: 44px 22px; text-align: center; }.empty > span { color: var(--blue); font-size: 28px; }.empty h2 { margin: 10px 0 6px; font: 700 22px var(--display); }.empty p { max-width: 54ch; margin: 0 auto 18px; color: var(--muted); line-height: 1.55; }
.muted-copy { color: var(--muted); }

/* Dialog */
dialog { width: min(690px, calc(100vw - 28px)); max-height: calc(100vh - 28px); border: 0; border-radius: 18px; padding: 0; color: var(--ink); box-shadow: 0 30px 90px rgba(7, 25, 45, .28); }
dialog::backdrop { background: rgba(7, 25, 45, .54); backdrop-filter: blur(4px); }
.composer-card { padding: 24px; background: #fff; }
.composer-card > header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.composer-card h2 { margin: 4px 0 0; font: 750 28px var(--display); }
.segmented { margin: 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 11px; padding: 4px; background: var(--paper); }
.segmented button { min-height: 36px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.segmented button.active { color: var(--blue); background: #fff; box-shadow: 0 3px 9px rgba(26, 55, 88, .08); }
#composer-fields { display: grid; gap: 10px; }
.composer-card textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.context-banner { border: 1px solid #bcd9ff; border-radius: 10px; padding: 11px; color: var(--ink-2); background: var(--blue-soft); font-size: 11px; }
.submit-create { width: 100%; margin-top: 18px; }
.jaures-empty { padding: 40px 20px; text-align: center; }.jaures-empty > span { color: var(--blue); font-size: 30px; }.jaures-empty h3 { margin: 12px 0 8px; font: 700 22px var(--display); }.jaures-empty p { max-width: 52ch; margin: 0 auto; color: var(--muted); line-height: 1.55; }

/* Responsive */
@media (max-width: 1260px) {
  .workspace, .workspace[data-layout="wide"] { grid-template-columns: 220px minmax(0, 1fr); }
  .context-panel { display: none; }
  .page-shell, .today-shell, .dossier-shell { max-width: 1050px; }
}

@media (max-width: 920px) {
  .workspace, .workspace[data-layout="wide"] { grid-template-columns: 78px minmax(0, 1fr); }
  .sidebar { padding: 18px 10px; align-items: center; }
  .logo { width: 52px; padding: 0 5px; overflow: hidden; }.logo strong { display: none; }
  .nav-label, .sidebar nav span, .privacy-note span, .profile-mini > div { display: none; }
  .sidebar nav { width: 100%; margin-top: 28px; }.sidebar nav button { width: 100%; justify-content: center; padding: 0; }.sidebar nav button i { width: auto; }
  .compose { width: 52px; font-size: 0; }.compose span { margin: 0; font-size: 22px; }
  .privacy-note { width: 48px; justify-content: center; padding: 10px; }.profile-mini { grid-template-columns: 38px; }.profile-mini button { display: none; }
  .combat-row { grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr); }.combat-next { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .workspace, .workspace[data-layout="wide"] { display: block; }
  .sidebar { position: fixed; z-index: 50; top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 70px; display: block; border-top: 1px solid var(--line); border-right: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .logo, .nav-label, .compose, .privacy-note, .profile-mini { display: none; }
  .sidebar nav { height: 100%; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .sidebar nav button { min-height: 54px; display: grid; place-content: center; gap: 2px; border-radius: 9px; padding: 0; }
  .sidebar nav button i { font-size: 17px; }.sidebar nav span { display: block; font-size: 8px; text-align: center; }
  .topbar { min-height: 62px; padding: 8px 12px; gap: 7px; }
  .mobile-logo { width: 40px; height: 40px; display: block; border: 0; border-radius: 10px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 800; }
  .search-wrap { height: 42px; }.search-wrap kbd { display: none; }.jaures-button { width: 42px; padding: 0; font-size: 0; }.jaures-button span { font-size: 17px; }.topbar .icon-button { display: none; }
  .page-shell, .today-shell, .dossier-shell { padding: 26px 16px 50px; }
  .feed-header, .page-heading { align-items: start; margin-bottom: 20px; }.feed-header h1, .page-heading h1, .dossier-header h1 { font-size: 36px; }.feed-header p, .page-heading > div > p:last-child { font-size: 13px; }
  .feed-header > .primary-action, .page-heading > .primary-action { min-width: 44px; width: 44px; padding: 0; overflow: hidden; color: transparent; position: relative; }.feed-header > .primary-action::after, .page-heading > .primary-action::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; }
  .claim-header { grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 16px 12px; }.claim-symbol { width: 44px; height: 44px; }.claim-status { grid-column: 2; justify-self: start; }.claim-title button { font-size: 21px; }
  .conquest-line { overflow: visible; padding: 20px 8px; }.conquest-line .trajectory { min-width: 0; width: 100%; }.conquest-line .trajectory-stage { gap: 7px; }.conquest-line .trajectory-stage span { width: 25px; height: 25px; }.conquest-line .trajectory-stage small { font-size: 8px; }.conquest-line .trajectory::before { top: 12px; }.claim-blocker { padding: 12px 16px; }
  .claim-actions { align-items: start; flex-direction: column; padding: 16px; }.claim-actions > div { width: 100%; flex-wrap: wrap; }.claim-actions .primary-action, .claim-actions .soft-action { flex: 1; }.claim-actions .text-action { width: 100%; text-align: left; padding-left: 0; }
  .section-heading { align-items: start; }.section-heading h2 { font-size: 21px; }.section-heading > button { display: none; }
  .feed-item { grid-template-columns: 36px 1fr; padding: 17px 0; }.feed-item .avatar { width: 36px; height: 36px; }.feed-body > p { font-size: 13px; }.combat-threshold p { margin-right: 0; padding-bottom: 28px; }.combat-threshold button { top: auto; bottom: 4px; left: 5px; right: auto; }
  .combat-row { display: block; padding: 20px 2px; }.combat-progress { margin: 20px 0; overflow-x: auto; }.combat-progress .trajectory { min-width: 430px; }.combat-next { margin-top: 14px; }
  .community-grid { grid-template-columns: 1fr; }.community-card { min-height: 160px; }.decision-brief { grid-template-columns: 1fr; }.decision-brief > div { border-right: 0; border-bottom: 1px solid var(--line); }.single-action { overflow-x: auto; }.single-action button { flex: 0 0 auto; }
  .meeting-card { grid-template-columns: 52px 1fr; }.meeting-card > a { grid-column: 2; }.result-card { grid-template-columns: 42px 1fr; }.result-card > b { grid-column: 2; }
  .field-row { grid-template-columns: 1fr; }.segmented { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Connexion Google du propriétaire (masquée tant que le client OAuth n'est pas posé). */
.auth-separator { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: 13px; font-weight: 700; }
.auth-separator::before, .auth-separator::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
#google-button { display: flex; justify-content: center; max-width: 100%; overflow: hidden; }
#google-button > div, #google-button iframe { max-width: 100%; }
.auth-hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
