:root {
  /* Palette OYKO (Notion · Stack OYKO) */
  --night: #0a1929;
  --bg: #f7f5f0;
  --card: #ffffff;
  --ink: #0a1929;
  --ink-2: #3f4f63;
  --muted: #74818f;
  --line: #e2e1db;
  --primary: #1e3a5f;
  --primary-2: #0a1929;
  --primary-mid: #2d5a87;
  --primary-bright: #3d7ab8;
  --primary-light: #7fc1e8;
  --primary-soft: #e6eef7;
  --accent: #f4a261;
  --accent-2: #e76f51;
  --ok: #2f7d4f;   --ok-soft: #e4f2e9;
  --warn: #b7791f; --warn-soft: #fbf1dc;
  --bad: #b83a3a;  --bad-soft: #f8e3e1;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(23, 35, 44, .05), 0 1px 1px rgba(23, 35, 44, .03);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: 1.65rem; font-weight: 650; }
h2 { font-size: 1.08rem; font-weight: 650; }
h3 { font-size: .95rem; font-weight: 650; margin-top: 1rem; }
p { margin: 0 0 .75rem; }
code { font-size: .85em; background: #f0efe9; padding: .1em .35em; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.strong { font-weight: 600; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead { font-size: 1.02rem; max-width: 62ch; }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary-mid); font-weight: 700; margin-bottom: .25rem; }
.crumb { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: .35rem; }
em.hl { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--accent-2); }
.ok-text { color: var(--ok); }

/* --- Barre supérieure --- */
.topbar { display: flex; align-items: center; gap: 1.25rem; padding: .6rem 1.25rem; background: var(--night); color: #fff; position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: 1.08rem; letter-spacing: .14em; }
.brand:hover { text-decoration: none; }
.brand-sub { font-weight: 400; font-size: .78rem; opacity: .65; margin-left: .5rem; letter-spacing: .02em; }
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--night); font-weight: 800; font-size: .95rem; letter-spacing: 0; }
.brand-mark.lg { width: 40px; height: 40px; font-size: 1.3rem; border-radius: 11px; }
.org-switch select { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); padding: .35rem .6rem; border-radius: 7px; font: inherit; font-size: .9rem; }
.org-switch option { color: var(--ink); }
.usermenu { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; font-size: .9rem; }
.usermenu a, .usermenu .linklike { color: rgba(255,255,255,.85); }
.usermenu form { margin: 0; }
.linklike { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.linklike:hover { text-decoration: underline; }
.dot-warn { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }

/* --- Structure --- */
.shell { display: flex; min-height: calc(100vh - 52px); }
.main { flex: 1; padding: 1.75rem 2rem 3rem; max-width: 1280px; min-width: 0; }
.side { width: 238px; flex-shrink: 0; background: var(--card); border-right: 1px solid var(--line); padding: 1.25rem .75rem; display: flex; flex-direction: column; }
.side-org { padding: 0 .6rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
.side-org-name { font-weight: 700; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { color: var(--ink-2); padding: .45rem .6rem; border-radius: 7px; font-size: .92rem; }
.side nav a:hover { background: var(--bg); text-decoration: none; }
.side nav a.active { background: var(--primary-soft); color: var(--primary-2); font-weight: 600; }
.side-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .9rem .6rem .3rem; font-weight: 600; }
.side-foot { margin-top: auto; padding: .6rem; }

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.row { display: flex; align-items: center; }
.gap { gap: .6rem; }
.grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: 2fr 1fr 1fr; }
.grid.two-one { grid-template-columns: 2fr 1fr; align-items: start; }
.grid.kpis { grid-template-columns: repeat(4, 1fr); }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: .9rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.stack > .card { margin-bottom: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.narrow { max-width: 560px; }
.card.empty { text-align: center; padding: 2.5rem; color: var(--ink-2); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; }
.link-card:hover { border-color: var(--primary); text-decoration: none; }
.pad { padding: 1rem 1rem 0; }

/* --- Formulaires --- */
label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
label.inline { flex-direction: row; align-items: center; gap: .5rem; }
label.check { flex-direction: row; align-items: center; gap: .5rem; }
.label-strong { font-weight: 650; color: var(--ink); font-size: .95rem; }
input, select, textarea { font: inherit; font-size: .94rem; color: var(--ink); background: #fff; border: 1px solid #d3d0c5; border-radius: 7px; padding: .55rem .7rem; width: 100%; }
input[type=checkbox] { width: auto; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; border-color: var(--primary); }
textarea[readonly] { background: #faf9f5; }
.hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.form-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.form-row select { width: auto; }
.spacer { flex: 1; }
.code-input { font-size: 1.4rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-size: .9rem; font-weight: 600; padding: .55rem 1rem; border-radius: 7px; border: 1px solid #cfccc1; background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; }
.btn:hover { background: #f4f3ee; text-decoration: none; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-2); }
.btn.sm { padding: .3rem .65rem; font-size: .82rem; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--primary); }
.btn.ghost:hover { background: var(--primary-soft); }
.btn.danger-ghost { border-color: transparent; background: transparent; color: var(--bad); }
.btn.danger-ghost:hover { background: var(--bad-soft); }
.btn:disabled { opacity: .6; cursor: wait; }

.alert { padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .92rem; }
.alert.error { background: var(--bad-soft); color: #7d2323; }
.alert.ok { background: var(--ok-soft); color: #1f5434; }
.alert.info { background: var(--primary-soft); color: var(--primary-2); }
.copy-row { display: flex; gap: .5rem; }
.copy-row input { font-family: ui-monospace, monospace; font-size: .82rem; }

.pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: .12rem .5rem; border-radius: 99px; background: #eeece5; color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.pill.ok, .pill.c-high { background: var(--ok-soft); color: var(--ok); }
.pill.warn, .pill.c-medium { background: var(--warn-soft); color: var(--warn); }
.pill.bad, .pill.c-low { background: var(--bad-soft); color: var(--bad); }
.tag { display: inline-block; font-size: .75rem; padding: .05rem .45rem; border-radius: 5px; background: var(--primary-soft); color: var(--primary-2); font-weight: 500; }
.tag.warn { background: var(--warn-soft); color: var(--warn); }

/* --- Tableaux --- */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: .65rem 1rem; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.table td { padding: .7rem 1rem; border-bottom: 1px solid #efede6; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .n { text-align: right; font-variant-numeric: tabular-nums; }
.table form { margin: 0; }
.table select { width: auto; padding: .3rem .5rem; font-size: .85rem; }
.row-warn td { background: #fdf6f5; }

/* --- Progression --- */
.bar { height: 7px; background: #ebe9e1; border-radius: 99px; overflow: hidden; margin: .35rem 0; }
.bar.sm { height: 5px; width: 110px; display: inline-block; vertical-align: middle; margin: 0 .5rem 0 0; }
.bar span { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--primary-mid), var(--primary-bright)); border-radius: 99px; }
.ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary-bright) calc(var(--p) * 1%), #ebe9e1 0); }
.ring span { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.conf { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: .45rem; }
.conf-high { background: var(--ok); } .conf-medium { background: var(--warn); } .conf-low { background: var(--bad); }
.ptw-dots { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: .4rem; }
.ptw-dots span { width: 14px; height: 6px; border-radius: 3px; background: #e5e3da; }
.ptw-dots span.f { background: var(--primary-light); }
.ptw-dots span.v { background: var(--primary); }

.kpi { margin-bottom: 0; }
.kpi-label { font-size: .8rem; color: var(--muted); font-weight: 500; }
.kpi-val { font-size: 1.85rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-val small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.kpi-val.bad { color: var(--bad); }

/* --- Cascade PTW --- */
.cascade { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cascade-step { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); background: #fcfbf8; }
.cascade-step:hover { border-color: var(--primary); text-decoration: none; }
.cascade li:nth-child(2) .cascade-step { margin-left: 14px; } .cascade li:nth-child(3) .cascade-step { margin-left: 28px; }
.cascade li:nth-child(4) .cascade-step { margin-left: 42px; } .cascade li:nth-child(5) .cascade-step { margin-left: 56px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e8e6dd; color: var(--ink-2); font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.status-validated .num { background: var(--primary); color: #fff; }
.status-review .num { background: var(--warn-soft); color: var(--warn); }
.cascade-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cascade-title { font-weight: 650; }
.cascade-text { color: var(--ink-2); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cascade-okr { font-size: .78rem; color: var(--muted); white-space: nowrap; }

.ptw-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-bottom: 1rem; }
.ptw-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid #d8d5ca; border-radius: var(--radius); padding: 1rem; color: var(--ink); display: flex; flex-direction: column; min-height: 300px; box-shadow: var(--shadow); }
.ptw-card.status-validated { border-top-color: var(--primary); }
.ptw-card.status-review { border-top-color: var(--warn); }
.ptw-card:hover { text-decoration: none; border-color: var(--primary); }
.ptw-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.ptw-card .q { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: .9rem; }
.ptw-content { font-size: .87rem; white-space: pre-line; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; }
.ptw-foot { margin-top: .75rem; padding-top: .6rem; border-top: 1px solid #efede6; }

.issues { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.issues li { padding: .5rem .75rem; border-radius: 7px; font-size: .9rem; border-left: 3px solid; }
.issues li.warn { background: var(--warn-soft); border-color: var(--warn); }
.issues li.info { background: var(--primary-soft); border-color: var(--primary); }

.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid #efede6; font-size: .9rem; }
.feed li:last-child { border-bottom: 0; }
.feed.compact li { padding: .35rem 0; }

/* --- Assistant (choix) --- */
.stepper { display: flex; gap: 4px; margin-bottom: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 5px; }
.stepper a { flex: 1; display: flex; align-items: center; gap: .5rem; padding: .45rem .6rem; border-radius: 7px; color: var(--ink-2); font-size: .86rem; }
.stepper a:hover { background: var(--bg); text-decoration: none; }
.stepper a.current { background: var(--primary-soft); color: var(--primary-2); font-weight: 650; }
.stepper .num { width: 24px; height: 24px; font-size: .78rem; }
.choice-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.choice-layout > .card { margin-bottom: 0; }
.guide { background: #fbfaf5; }
.prompts { padding-left: 1.1rem; margin: 0 0 .5rem; font-family: var(--serif); font-size: .98rem; color: var(--ink-2); }
.prompts li { margin-bottom: .45rem; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks label { flex-direction: row; align-items: flex-start; gap: .5rem; font-weight: 400; padding: .2rem 0; }
.checks input { margin-top: .3rem; }
.ai { border-color: #c9dedb; }
.ai-out { white-space: pre-wrap; font-size: .88rem; margin-top: .75rem; }
.ai-out:empty { display: none; }
.context .ctx { padding: .5rem 0; border-bottom: 1px solid #efede6; }
.context .ctx:last-child { border-bottom: 0; }
.context p { white-space: pre-line; font-size: .87rem; color: var(--ink-2); margin: 0; }
.pager { display: flex; justify-content: space-between; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; }

/* --- OKR --- */
.cycle-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cycle-prog { display: flex; align-items: center; gap: .7rem; width: 280px; }
.cycle-prog .bar { flex: 1; }
.inline-form { margin: 0; }
.inline-form select { width: auto; }
.objective { padding: 0; overflow: hidden; }
.obj-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; }
.obj-title { display: flex; gap: .75rem; }
.obj-title h2 { margin-bottom: .2rem; font-size: 1.12rem; }
.obj-title p { margin: .4rem 0 0; color: var(--ink-2); }
.krs { border-top: 1px solid var(--line); }
.checkin-row td { background: #fbfaf6; }
.checkin { display: flex; gap: .7rem; align-items: flex-end; }
.checkin label { width: 150px; }
.checkin label.grow, .grow { flex: 1; width: auto; }
.obj-actions { display: flex; gap: .3rem; padding: .5rem 1rem; border-top: 1px solid #efede6; background: #fcfbf8; }
.obj-actions form { margin: 0; }
.subform { padding: 1rem 1.25rem; border-top: 1px solid #efede6; background: #fbfaf6; }
.kr-grid { grid-template-columns: 3fr 1fr 1fr 1fr 1.4fr; margin-bottom: .7rem; }
.new-obj { border-style: dashed; box-shadow: none; background: transparent; }

/* --- Stratégie en une page --- */
.onepage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 2.75rem; max-width: 1000px; box-shadow: var(--shadow); }
.op-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 3px solid var(--accent); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.op-head h1 { font-size: 2rem; margin: 0; }
.op-aspiration { background: var(--primary); color: #fff; border-radius: 10px; padding: 1.4rem 1.6rem; margin-bottom: 1.5rem; }
.op-aspiration .eyebrow { color: var(--accent); }
.op-aspiration .muted { color: rgba(255,255,255,.8); margin: 0; }
.op-big { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; margin-bottom: .6rem; white-space: pre-line; }
.op-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
.op-grid section { border-top: 2px solid var(--primary); padding-top: .75rem; }
.op-grid p { white-space: pre-line; font-size: .9rem; }
.op-not { background: #f6f5f0; border-radius: 6px; padding: .6rem .7rem; font-size: .84rem; }
.op-not p { margin: .2rem 0 0; font-size: .84rem; }
.op-okr { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.op-okr > ol { columns: 2; column-gap: 2rem; padding-left: 1.2rem; margin: .5rem 0 0; }
.op-okr > ol > li { break-inside: avoid; margin-bottom: .8rem; }
.op-okr ul { padding-left: 1rem; font-size: .86rem; margin: .25rem 0 0; }
.op-foot { margin-top: 1.5rem; text-align: right; }

/* --- Authentification --- */
body.auth { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(1200px 600px at 85% 110%, #2d5a87 0%, transparent 60%), linear-gradient(160deg, #0a1929 0%, #1e3a5f 100%); }
body.auth .shell { min-height: auto; }
body.auth .main { padding: 1.5rem; }
.auth-card { background: #fff; border-radius: 14px; padding: 2.2rem; width: 420px; max-width: 92vw; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.auth-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.auth-card h1 { font-size: 1.35rem; }
.qr { display: block; margin: .5rem 0 1rem; border: 1px solid var(--line); border-radius: 8px; }
.secret { display: block; word-break: break-all; margin: .5rem 0; }
.steps { padding-left: 1.2rem; font-size: .9rem; }

/* --- Adaptatif --- */
@media (max-width: 1100px) {
  .ptw-board { grid-template-columns: repeat(2, 1fr); }
  .op-grid { grid-template-columns: repeat(2, 1fr); }
  .grid.kpis { grid-template-columns: repeat(2, 1fr); }
  .stepper .lbl { display: none; }
  .stepper a { justify-content: center; }
}
@media (max-width: 860px) {
  .side { display: none; }
  .main { padding: 1rem; }
  .grid.two, .grid.three, .grid.two-one, .choice-layout, .kr-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .checkin { flex-direction: column; align-items: stretch; }
  .checkin label { width: auto; }
  .cascade li .cascade-step { margin-left: 0 !important; }
  .page-head { flex-direction: column; }
}

/* --- Impression --- */
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: #fff; font-size: 11pt; }
  .no-print, .topbar, .side { display: none !important; }
  .main { padding: 0; max-width: none; }
  .onepage { border: 0; box-shadow: none; padding: 0; max-width: none; }
  .op-aspiration { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* --- Signature OYKO --- */
.status-validated .num { background: var(--primary); }
.num { font-variant-numeric: tabular-nums; }
.btn.primary:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.auth-card h1 { font-size: 1.5rem; }
.tagline { font-size: 1.05rem; color: var(--ink-2); margin: -.25rem 0 1.25rem; }
.promise { display: flex; gap: .4rem; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-mid); margin-bottom: 1.4rem; }
.promise span { color: var(--accent-2); }
.northstar { display: flex; gap: 1rem; align-items: flex-start; background: var(--night); color: #fff; border: 0; }
.northstar .star { font-size: 1.6rem; color: var(--accent); line-height: 1; }
.northstar .eyebrow { color: var(--primary-light); }
.northstar p.ns { font-family: var(--serif); font-size: 1.2rem; margin: 0; }
.northstar .muted { color: rgba(255,255,255,.65); }
.northstar textarea { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); }
.northstar .btn { background: var(--accent); border-color: var(--accent); color: var(--night); }
.op-northstar { display: flex; gap: .75rem; align-items: baseline; border-left: 3px solid var(--accent); padding: .3rem 0 .3rem .9rem; margin-bottom: 1.5rem; }
.op-northstar p { font-family: var(--serif); font-size: 1.1rem; margin: 0; }
.wordmark { letter-spacing: .14em; font-weight: 800; }
.mt { margin-top: .75rem; }

/* ===== Stratégie documentée ===== */
.wrap { flex-wrap: wrap; }
.end { align-items: flex-end; }
.right { text-align: right; white-space: nowrap; }
.inline { display: inline; }
.ml-auto { margin-left: auto; }
.plain { list-style: none; padding: 0; margin: 0 0 .5rem; }
.warn-text { color: var(--warn); }
.crumb a { color: var(--muted); }

.changes-banner { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; border-left: 4px solid var(--accent); color: var(--ink); }
.changes-banner:hover { text-decoration: none; border-color: var(--accent-2); }
.changes-banner .go { margin-left: auto; color: var(--primary-mid); font-weight: 600; }

.block { margin-bottom: 1.5rem; }
.block-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.block-head h2 { margin: 0; font-size: 1.15rem; }
.block-head p { margin: 0; }
.add-choice { display: flex; gap: .5rem; margin: 0 0 .8rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .8rem; }
.choice-empty { border: 1px dashed #cfccc1; border-radius: var(--radius); padding: 1rem; }
.choice-card { display: flex; flex-direction: column; gap: .45rem; background: var(--card); border: 1px solid var(--line); border-top: 4px solid #d8d5ca; border-radius: var(--radius); padding: .95rem 1rem; color: var(--ink); box-shadow: var(--shadow); }
.choice-card:hover { text-decoration: none; border-color: var(--primary-bright); }
.choice-card.status-validated { border-top-color: var(--primary); }
.choice-card.status-review { border-top-color: var(--accent); }
.choice-card h3 { margin: 0; font-size: 1rem; }
.cc-top { display: flex; gap: .3rem; flex-wrap: wrap; }
.cc-figure { display: flex; align-items: baseline; gap: .45rem; }
.cc-figure strong { font-size: 1.35rem; color: var(--primary); letter-spacing: -.02em; white-space: nowrap; }
.cc-figure span { font-size: .78rem; color: var(--muted); line-height: 1.25; }
.cc-statement { font-size: .86rem; color: var(--ink-2); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cc-why { display: flex; flex-wrap: wrap; gap: .3rem; padding-top: .55rem; border-top: 1px solid #efede6; font-size: .72rem; }
.cc-why span { padding: .1rem .4rem; border-radius: 5px; }
.cc-why .on { background: var(--primary-soft); color: var(--primary); }
.cc-why .off { background: #f3f1ea; color: var(--muted); }
.cc-why .okr { background: #fdeee2; color: #9a4a1c; }
.abandoned summary { cursor: pointer; color: var(--ink-2); }

/* Fiche choix : la « slide » */
.slide { background: var(--night); color: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.slide-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; padding: .5rem 1.4rem; background: rgba(255,255,255,.06); color: var(--primary-light); font-weight: 700; }
.slide-body { display: flex; gap: 1.5rem; padding: 1.4rem 1.6rem 1.6rem; align-items: center; }
.slide-text { flex: 1; }
.slide-text .eyebrow { color: var(--accent); }
.slide-text h2 { font-size: 1.55rem; margin-bottom: .6rem; }
.slide-text p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: .5rem; }
.slide-figure { min-width: 190px; max-width: 240px; background: linear-gradient(160deg, var(--primary-mid), var(--primary)); border-radius: 10px; padding: 1.1rem 1.2rem; text-align: center; }
.slide-figure strong { display: block; font-size: 2.1rem; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.slide-figure span { font-size: .82rem; color: rgba(255,255,255,.8); }
.why-card { border-left: 4px solid var(--accent); }
.why-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; }
.why-grid h2 { color: var(--primary); }
.why-grid p { color: var(--ink-2); }
.fig-grid { grid-template-columns: 1fr 2fr; margin: 0; }

.hyps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.hyp { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 8px; background: #fbfaf6; border: 1px solid #efede6; }
.hyp .pill { margin-top: .1rem; min-width: 74px; text-align: center; }
.hyp-invalidated { background: var(--bad-soft); border-color: #efc9c5; }
.inline-edit { margin-top: .35rem; }
.inline-edit summary { cursor: pointer; color: var(--primary-mid); }
.inline-edit form { margin-top: .5rem; }
.inline-edit select { width: auto; }
.alts { list-style: none; padding: 0; margin: 0; }
.alts li { display: flex; gap: .7rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid #efede6; }
.alts li:last-child { border-bottom: 0; }
.alts .x { color: var(--bad); font-weight: 700; }
.alt-grid { grid-template-columns: 1fr 2fr auto; margin: 0; }

.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.ev-grid.wide { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.ev { background: #fbfaf6; border: 1px solid #efede6; border-radius: 8px; padding: .8rem .9rem; }
.ev.card { background: var(--card); margin: 0; }
.ev h3 { margin: .4rem 0 .3rem; font-size: .95rem; }
.ev-figure { font-size: 1.3rem; font-weight: 700; color: var(--primary); letter-spacing: -.02em; }
.ev p { margin: .3rem 0; }
.ev-used { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid #efede6; }
.ev-form { grid-template-columns: 1fr 2fr 1fr; margin: 0; }
.ev-form .span2, .dec-form .span2 { grid-column: span 2; }
.ev-form:last-child { grid-template-columns: 2fr 1fr 1fr 1fr; }
.dec-form { grid-template-columns: 1fr 2fr 1fr 1fr; margin: 0; }
.dec-form .span2 { grid-column: span 2; }

.timeline { list-style: none; padding: 0; margin: 0 0 .8rem; border-left: 2px solid var(--primary-soft); }
.timeline li { display: flex; gap: 1rem; padding: .5rem 0 .7rem 1rem; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: .85rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tl-date { min-width: 108px; font-size: .82rem; font-weight: 600; color: var(--primary); display: flex; flex-direction: column; }
.tl-date span { font-weight: 400; color: var(--muted); font-size: .76rem; }
.tl-body p { margin: .2rem 0; color: var(--ink-2); }
.tl-body form { margin-top: .2rem; }
.timeline.compact li { padding-bottom: .4rem; }
.links li { padding: .25rem 0; }
.links form { margin-left: .3rem; }

.dec-group { padding-top: 1rem; }
.dec-head { display: flex; gap: .6rem; align-items: center; margin-bottom: .4rem; }
.dec-date { font-weight: 700; color: var(--primary); }
.dec-list { list-style: none; padding: 0; margin: 0; }
.dec-list li { display: flex; gap: 1rem; padding: .65rem 0; border-top: 1px solid #efede6; }
.dec-list p { margin: .2rem 0; color: var(--ink-2); }

.filters { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filters a { padding: .3rem .75rem; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: .85rem; }
.filters a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.diff { position: relative; }
.diff-tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 5px; margin-bottom: .5rem; }
.diff-tag.added { background: var(--ok-soft); color: var(--ok); }
.diff-tag.changed { background: var(--warn-soft); color: var(--warn); }
.diff-tag.removed { background: var(--bad-soft); color: var(--bad); }
.diff-field { margin-top: .8rem; }
.diff-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; font-size: .88rem; }
.diff-pair > div { padding: .55rem .7rem; border-radius: 7px; white-space: pre-line; }
.diff-pair .before { background: #f8eeec; color: #6f3a35; text-decoration: line-through; text-decoration-color: rgba(184,58,58,.35); }
.diff-pair .after { background: var(--ok-soft); color: #1f5434; }

/* Une page : choix multiples + annexe */
.op-asp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.op-asp-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-light); font-weight: 700; margin-bottom: .2rem; }
.op-fig { color: var(--accent); font-size: .9rem; }
.op-fig strong { font-size: 1.2rem; }
.op-choice { margin-bottom: .7rem; }
.op-choice p { font-size: .84rem; color: var(--ink-2); margin: .15rem 0 0; }
.op-fig-inline { display: inline-block; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .78rem; padding: 0 .4rem; border-radius: 4px; }
.annex { margin-top: 1.5rem; }
.annex-choice { padding: 1rem 0; border-top: 1px solid var(--line); break-inside: avoid; }
.annex-choice h2 { font-size: 1.1rem; }
.annex-choice h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary-mid); margin: .7rem 0 .3rem; }
.annex-choice p, .annex-choice li { font-size: .88rem; }
.annex-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
.annex-grid ul { padding-left: 1.1rem; margin: 0; }

@media (max-width: 860px) {
  .why-grid, .annex-grid, .diff-pair, .alt-grid, .ev-form, .ev-form:last-child, .dec-form, .fig-grid { grid-template-columns: 1fr; }
  .ev-form .span2, .dec-form .span2 { grid-column: auto; }
  .slide-body { flex-direction: column; align-items: stretch; }
  .slide-figure { max-width: none; }
}
@media print {
  .annex { break-before: page; }
  .slide { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.issues li.bad { background: var(--bad-soft); border-color: var(--bad); }
.issues li a { color: inherit; }
.slide-figure strong.long, .cc-figure strong.long { font-size: 1.5rem; }
.cc-figure strong.long { font-size: 1.1rem; }
.tl-date { width: 130px; flex-shrink: 0; }

/* =====================================================================
   Espace client v2 : données reliées, actions discrètes (aligné sur la maquette validée)
   ===================================================================== */
.m0 { margin: 0; }
.mt { margin-top: .75rem; }
.top { align-items: flex-start; }
.between { justify-content: space-between; }
.block { display: block; }
.upper { text-transform: uppercase; letter-spacing: .1em; }
.pre { white-space: pre-line; }
.serif { font-family: var(--serif); }
.accent-text { color: var(--accent); }
.primary-text { color: var(--primary-mid); }
.warn-text { color: #9a4a17; }
.ellipsis { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.grow { flex: 1 1 auto; min-width: 0; }
.gap { gap: .6rem; }
.wrap { flex-wrap: wrap; }
.end { align-items: flex-end; }
.stack-sm { display: flex; flex-direction: column; gap: .55rem; }
.grid.top { align-items: start; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; align-items: end; }
.fgrid .span2 { grid-column: span 2; }
form.inline { display: inline; margin: 0; }
input, select, textarea { min-width: 0; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--night); }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }

/* Actions discrètes : texte gris, sans bordure */
.act { display: inline-flex; align-items: center; min-height: 32px; padding: 0 .5rem; border: 0; border-radius: 6px; background: transparent; color: #7a8694; font: inherit; font-size: .84rem; cursor: pointer; text-decoration: none; }
.act:hover { background: rgba(10, 25, 41, .05); color: var(--ink); text-decoration: none; }
.act.link { color: var(--primary-mid); font-weight: 600; padding-left: 0; }
.act.light { color: #9fb0c3; }
.act.light:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.act.accent-text { color: var(--accent); }
.acts { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.chip { display: inline-block; margin-top: .3rem; padding: .1rem .55rem; border-radius: 99px; background: var(--primary-soft); color: var(--primary); font-size: .76rem; }
.chip.ok { background: var(--ok-soft); color: var(--ok); display: inline-flex; align-items: center; margin: 0; }
.chip .x { border: 0; background: none; color: inherit; cursor: pointer; padding: 0 0 0 .35rem; font: inherit; }
.addbox, .edit-box { display: flex; flex-direction: column; gap: .55rem; padding: .85rem; border-radius: 10px; background: #fbfaf6; border: 1px solid #efede6; margin-top: .6rem; }
.card.edit-box { border: 2px solid var(--primary); background: #fff; }

/* Aspiration gagnante */
.asp-box { background: var(--night); color: #fff; border-radius: 12px; padding: 1.35rem 1.5rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.asp-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-light); }
.asp-sub { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.asp-dim { color: #c9d6e3; }
.asp-box .vision { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; margin: .15rem 0 0; }
.asp-box input, .asp-box textarea { background: #0f2133; color: #fff; border-color: #3a4b5e; }
.asp-box label { color: #c9d6e3; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .75rem; }
.kcard { background: #13253a; border-radius: 10px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; }
.kvals { display: flex; flex-wrap: wrap; gap: 1rem; }
.kvals span { display: block; font-size: .74rem; color: #c9d6e3; }
.kvals b { font-size: 1.3rem; }
.kbar { height: 7px; border-radius: 4px; background: #2a3c52; overflow: hidden; }
.bar-fill { height: 100%; width: var(--p, 0%); background: var(--accent); }
.asp-band { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; background: var(--night); color: #fff; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.asp-band:hover { text-decoration: none; filter: brightness(1.1); }

/* Tuiles et listes du tableau de bord */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; color: var(--ink); }
.tile:hover { text-decoration: none; border-color: #c9c6bb; }
.tile span { display: block; font-size: .84rem; color: var(--muted); }
.tile b { font-size: 1.9rem; }
.tile small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.tile.warm { background: #fdf3e9; border-color: #f1d2b3; }
.linkrow { display: flex; gap: .6rem; align-items: baseline; padding: .55rem 0; border-top: 1px solid #efede6; color: var(--ink); font-size: .92rem; }
.linkrow:hover { text-decoration: none; background: #fbfaf6; }
.linkrow .arrow { color: var(--primary-mid); }
.okrline { padding: .5rem 0; border-top: 1px solid #efede6; font-size: .92rem; }
.warmbox { display: flex; flex-direction: column; gap: .25rem; background: #fdf3e9; border-radius: 8px; padding: .75rem .9rem; color: #6b3511; font-size: .92rem; margin-top: .5rem; }
.warmbox a { color: #6b3511; text-decoration: underline; }
.cascade-row { display: flex; gap: .8rem; align-items: center; padding: .65rem .8rem; margin-bottom: .45rem; border: 1px solid var(--line); border-radius: 8px; background: #fcfbf8; color: var(--ink); }
.cascade-row:hover { text-decoration: none; border-color: #c9c6bb; }
.ind-1 { margin-left: 14px; } .ind-2 { margin-left: 28px; } .ind-3 { margin-left: 42px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #e8e6dd; color: var(--ink-2); font-weight: 700; }
.num.done { background: var(--primary); color: #fff; }
.sig { display: block; padding: .6rem .75rem; border-radius: 8px; margin-bottom: .4rem; font-size: .9rem; }
.sig:hover { text-decoration: none; filter: brightness(.97); }
.sig-warn { background: var(--warn-soft); color: #6b440a; }
.sig-bad { background: var(--bad-soft); color: #9b2c2c; }
.sig-info { background: var(--primary-soft); color: var(--primary-2); }
.sig-okr { background: #fdf3e9; color: #6b3511; }

/* Choix stratégiques */
.block2 { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.ccard { display: flex; flex-direction: column; gap: .45rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid #d8d5ca; border-radius: 12px; padding: 1rem; color: var(--ink); }
.ccard:hover { text-decoration: none; box-shadow: 0 2px 8px rgba(10, 25, 41, .08); }
.ccard.st-validated { border-top-color: var(--primary); }
.ccard.st-review { border-top-color: var(--accent); }
.ccard h3 { margin: 0; font-size: 1rem; }
.ccard p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.ccard .pill { align-self: flex-start; }
.badges { display: flex; flex-wrap: wrap; gap: .3rem; font-size: .74rem; }
.badges span { padding: .1rem .45rem; border-radius: 5px; background: #f3f1ea; color: var(--ink-2); }
.badges .b-ok { background: var(--ok-soft); color: var(--ok); }
.badges .b-warm { background: #fdf3e9; color: #7a3a14; }
.ccard .open { padding-top: .55rem; border-top: 1px solid #efede6; font-size: .84rem; font-weight: 600; color: var(--primary-mid); }
.pill.p-validated { background: var(--ok-soft); color: var(--ok); }
.pill.p-review { background: var(--warn-soft); color: #7a4d0c; }
.pill.p-draft { background: #eeece5; color: var(--ink-2); }

/* Fiche d'un choix */
.fiche { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; }
.fiche-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.fiche-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.fiche-main > .card, .fiche-side > .card { margin: 0; }
.slide2 { background: var(--night); color: #fff; border-radius: 12px; overflow: hidden; }
.slide2-label { padding: .45rem 1.5rem; background: #13253a; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); }
.slide2-body { padding: 1.25rem 1.6rem 1.5rem; }
.slide2-body h2 { font-size: 1.5rem; margin: .3rem 0 .6rem; }
.slide2-body p { margin: 0; font-size: 1.02rem; color: #d7e0ea; }
.why2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.why2 h2 { color: var(--primary); }
.why2 p { color: var(--ink-2); margin: 0; }
.comments { border: 2px solid var(--accent); }
.comment { padding: .7rem; border-radius: 8px; background: #fdf3e9; margin-bottom: .55rem; }
.comment.resolved { background: #f3f1ea; opacity: .65; }
.guide2 { background: #fbfaf5; }
.guide2 ul { margin: 0; padding-left: 1.1rem; font-family: var(--serif); color: var(--ink-2); display: flex; flex-direction: column; gap: .35rem; }

/* Lignes : hypothèses, alternatives, résultats clés, décisions */
.hrow { display: flex; flex-wrap: wrap; gap: .6rem .8rem; align-items: flex-start; padding: .65rem .75rem; border-radius: 8px; background: #fbfaf6; border: 1px solid #efede6; font-size: .92rem; }
.hrow.bad { background: #fdf3f2; border-color: #efc9c5; }
.hrow.focus { background: #fdf3e9; border: 2px solid var(--accent); }
.status-form { margin: 0; flex-shrink: 0; }
select.status, span.status { width: auto; min-height: 32px; padding: 0 .4rem 0 .7rem; border: 1px solid rgba(0, 0, 0, .08); border-radius: 99px; font-size: .8rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; }
span.status { cursor: default; padding-right: .7rem; }
.st-to_test, .kr-medium { background: var(--warn-soft); color: #7a4d0c; }
.st-validated, .kr-high { background: var(--ok-soft); color: #22603b; }
.st-invalidated, .kr-low { background: var(--bad-soft); color: #9b2c2c; }
.kr-none { background: #eeece5; color: var(--ink-2); }
.kr-done { background: var(--primary); color: #fff; }
.drow { border-left: 3px solid var(--primary-soft); padding: .2rem 0 .2rem .9rem; font-size: .92rem; }
.links2 { margin: .6rem 0; }
select.sm { width: auto; padding: .3rem .5rem; font-size: .84rem; }
.w-code { width: 90px; }

/* Preuves */
.egrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.egrid.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ecard { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; }
.fiche .ecard { background: #fbfaf6; border-color: #efede6; }
.ecard h3 { margin: 0; font-size: .95rem; }
.ecard .kind { align-self: flex-start; padding: .05rem .5rem; border-radius: 5px; background: var(--primary-soft); color: var(--primary); font-size: .74rem; }
.ecard .efig { font-size: 1.35rem; font-weight: 700; color: var(--primary); }
.ecard .used { padding-top: .4rem; border-top: 1px solid #efede6; align-items: center; }
.filters2 { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filters2 a { padding: .4rem .9rem; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .88rem; }
.filters2 a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.filters2 a:hover { text-decoration: none; }

/* Stratégie en une page */
.op2 { display: flex; flex-direction: column; gap: 1rem; }
.op2 > .card { margin: 0; }
.op2-head { display: flex; justify-content: space-between; align-items: baseline; }
.op2-kpis { margin: 0; padding-left: 1.1rem; color: var(--accent); font-weight: 600; }
.op2-choice { display: block; padding: .45rem 0; border-top: 1px solid #efede6; color: var(--ink); }
.op2-choice span { display: block; color: var(--ink-2); }
.op2-choice:hover { text-decoration: none; background: #fbfaf6; }

@media (max-width: 760px) {
  .fgrid .span2 { grid-column: auto; }
  .ind-1, .ind-2, .ind-3 { margin-left: 0; }
}
@media print {
  .asp-box, .slide2 { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .acts, .act { display: none !important; }
}

/* Boutons d'action : toujours sur une ligne, en haut à droite de l'élément */
.acts { flex-wrap: nowrap; flex-shrink: 0; }
.row.wrap > .grow { flex-basis: 16rem; }
.row > .acts { margin-left: auto; }
.kcard .acts { margin-left: -.35rem; }
.kcard .act { padding: 0 .35rem; font-size: .8rem; }
.hrow > .grow { flex-basis: 16rem; }
.hrow > .acts { margin-left: auto; }
.kcard .acts { margin-top: auto; }
.ecard > .acts { margin-top: auto; }
fieldset.links { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .75rem .6rem; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
fieldset.links legend { font-size: .85rem; font-weight: 600; padding: 0 .3rem; }
label.check { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 400; cursor: pointer; }
label.check input { width: auto; margin: 0; }
.op2-okrs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 1.5rem; }
.op2-obj { font-size: .9rem; }
.op2-krs { margin: .4rem 0 0; padding-left: 1.2rem; font-size: .82rem; color: var(--ink-2); }
.op2-krs li { margin-bottom: .3rem; }
.op2-krs li::marker { content: "KR" counter(list-item) " · "; font-weight: 600; color: var(--primary); }
.op2-krs { padding-left: 2.6rem; }
.vision, .ambition-text { white-space: pre-line; }
.asp-box .ambition-text { font-size: 1rem; line-height: 1.5; margin: .15rem 0 0; color: #dbe4ee; }
.op2 .ambition-text { margin: .4rem 0 0; }
.asp-box .vision + .asp-sub { margin-top: .9rem; }
