:root {
  --bg: #f4f6f8; --surface: #fff; --border: #e2e8f0; --text: #0f172a; --muted: #64748b;
  --primary: #0f766e; --primary-50: #ecfdf9; --blue: #2563eb; --green: #16a34a; --amber: #d97706; --red: #dc2626; --gray: #94a3b8;
  --radius: 8px; --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0 0 2px; } h2 { font-size: 16px; margin: 0 0 12px; } h3 { font-size: 14px; margin: 14px 0 8px; } h4 { margin: 10px 0 6px; font-size: 13px; }
.card > h3:first-child, .card > h2:first-child { margin-top: 0; }
code { background: #f1f5f9; padding: 1px 4px; border-radius: 4px; font-size: 12px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .nowrap { white-space: nowrap; } .grow { flex: 1; } .pre { white-space: pre-wrap; }
.text-red { color: var(--red); font-weight: 600; }
.inline { display: block; margin: 2px 0; }
a.muted.small { display: inline-block; }
.toolbar > div > a.muted.small { display: block; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Layout */
.layout { display: flex; min-height: 100vh; }
.sidebar { width: 236px; background: #0b1f1d; color: #cbd5e1; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
.sidebar .brand { color: #fff; padding: 18px 16px; font-weight: 700; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.logo { display: inline-grid; place-items: center; width: 26px; height: 26px; background: var(--primary); color: #fff; border-radius: 7px; font-weight: 800; }
.brand.big { font-size: 22px; justify-content: center; }
.sidebar nav { flex: 1; overflow: auto; padding: 0 8px; }
.sidebar nav a { display: block; padding: 7px 10px; color: #cbd5e1; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.sidebar nav a.active { background: rgba(20,184,166,.18); color: #fff; }
.sidebar nav a .muted { color: #7c8a9c; }
.nav-title { text-transform: uppercase; font-size: 11px; letter-spacing: .06em; color: #64748b; padding: 14px 10px 4px; }
.me { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.me a { color: #e2e8f0; }
.main { flex: 1; min-width: 0; }
.page { padding: 22px 28px 60px; max-width: 1500px; }
.page.narrow { max-width: 560px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar p { margin: 0; flex: 1; min-width: 260px; }
.row { display: flex; gap: 8px; align-items: center; } .row.wrap { flex-wrap: wrap; } .row.space { justify-content: space-between; }
.loading { padding: 40px; color: var(--muted); text-align: center; }
.empty { padding: 24px; text-align: center; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 > .card, .grid3 > .card { margin-bottom: 0; }
.grid2 + *, .grid3 + * { margin-top: 16px; }
.grid-side { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.grid-burn { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .grid2, .grid3, .grid-side, .grid-burn { grid-template-columns: 1fr; } }

/* Tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 9px 10px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border: 1px solid var(--border); background: #fff; border-radius: 6px; cursor: pointer; font: inherit; color: var(--text); white-space: nowrap; }
.btn:hover { background: #f8fafc; text-decoration: none; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; } .btn.primary:hover { background: #115e59; }
.btn.success { background: var(--green); border-color: var(--green); color: #fff; }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn.danger-ghost { color: var(--red); border-color: #fecaca; }
.btn.active { background: #e2e8f0; }
.btn.small { padding: 3px 8px; font-size: 12px; }
.btn.block { width: 100%; justify-content: center; }
.btn:disabled, .btn.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.icon-btn { border: 0; background: transparent; cursor: pointer; padding: 2px 6px; color: var(--muted); border-radius: 4px; font-size: 13px; }
.icon-btn:hover { background: #f1f5f9; color: var(--text); } .icon-btn:disabled { opacity: .3; }
.chip { border: 1px solid var(--border); background: #f8fafc; border-radius: 12px; padding: 2px 9px; font-size: 12px; cursor: pointer; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 7px 11px; cursor: pointer; font: inherit; border-right: 1px solid var(--border); }
.seg button:last-child { border-right: 0; } .seg button.active { background: var(--primary-50); color: var(--primary); font-weight: 600; } .seg button:disabled { color: #cbd5e1; cursor: not-allowed; }
input, select, textarea { font: inherit; padding: 7px 9px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
.row input, .row select { width: auto; }
textarea { resize: vertical; }
label input, label select, label textarea { font-weight: 400; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(15,118,110,.25); border-color: var(--primary); }
input[type=checkbox] { width: auto; accent-color: var(--primary); }
.search { max-width: 340px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form.grid2 { display: grid; gap: 12px; } .form.tight { gap: 8px; margin-bottom: 8px; }
.form label, .label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #334155; }
.label { display: block; margin: 6px 0 4px; }
.form label.check, label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 13px; color: var(--text); }
.span2 { grid-column: 1 / -1; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.check-list { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; border: 1px solid var(--border); padding: 10px; border-radius: 6px; }
.check-list.tall { max-height: 60vh; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 9px 8px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.table.compact td { padding: 6px 8px; }
.table tr.clickable { cursor: pointer; } .table tr.clickable:hover td { background: #f8fafc; }
.table tr.selected td { background: var(--primary-50); }
.table tr.archived td { opacity: .5; }
.table.trace tr.row-red td:first-child { box-shadow: inset 3px 0 var(--red); }
.table.trace tr.row-green td:first-child { box-shadow: inset 3px 0 var(--green); }
.steps-edit textarea { min-width: 180px; }

/* Badges & tags */
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.b-green { background: #dcfce7; color: #166534; } .b-blue { background: #dbeafe; color: #1e40af; } .b-amber { background: #fef3c7; color: #92400e; }
.b-red { background: #fee2e2; color: #991b1b; } .b-gray { background: #f1f5f9; color: #475569; }
.tag { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #f1f5f9; color: #334155; font-size: 11px; margin: 1px 3px 1px 0; font-weight: 600; }
.tag.red { background: #fee2e2; color: #991b1b; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--gray); vertical-align: middle; }
.dot.big { width: 14px; height: 14px; }
.d-Vert { background: var(--green); } .d-Orange { background: var(--amber); } .d-Rouge { background: var(--red); }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; color: var(--muted); font-size: 12px; box-shadow: var(--shadow); }
.kpi span { display: block; font-size: 24px; font-weight: 700; color: var(--text); }
.kpi.warn span { color: var(--red); } .kpi.ok span { color: var(--green); }
.small-kpis .kpi { padding: 8px 10px; } .small-kpis .kpi span { font-size: 18px; }

.progress { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin: 4px 0 2px; }
.progress > div { height: 100%; background: var(--primary); } .progress > div.blue { background: var(--blue); }
.test-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #e2e8f0; margin: 4px 0; min-width: 90px; }
.test-bar.large { height: 12px; margin-bottom: 16px; }
.test-bar .ok { background: var(--green); } .test-bar .ko { background: var(--red); } .test-bar .bl { background: var(--amber); } .test-bar .ip { background: var(--blue); } .test-bar .ne { background: #cbd5e1; }

/* Portfolio */
.portfolio td:first-child { min-width: 190px; }
.doc-chips { display: flex; gap: 3px; }
.doc-chip { font-size: 10px; font-weight: 700; padding: 3px 5px; border-radius: 4px; }
.c-Approuvé { background: #dcfce7; color: #166534; } .c-Enrevue { background: #dbeafe; color: #1e40af; } .c-Brouillon { background: #fef3c7; color: #92400e; }
.c-none { background: #f8fafc; color: #cbd5e1; border: 1px dashed #e2e8f0; }
.timeline { position: relative; }
.tl-row { display: flex; align-items: center; height: 30px; }
.tl-label { width: 140px; flex-shrink: 0; font-weight: 600; }
.tl-track { position: relative; flex: 1; height: 22px; background: #f8fafc; border-radius: 4px; }
.tl-bar { position: absolute; top: 0; bottom: 0; border-radius: 4px; font-size: 11px; color: #fff; padding: 3px 6px; overflow: hidden; white-space: nowrap; }
.h-Vert { background: #14b8a6; } .h-Orange { background: #f59e0b; } .h-Rouge { background: #ef4444; }
.tl-today { position: absolute; top: 0; bottom: 18px; width: 2px; background: var(--red); z-index: 1; }
.tl-axis { display: flex; justify-content: space-between; margin-left: 140px; font-size: 11px; color: var(--muted); padding-top: 4px; }
.list { list-style: none; padding: 0; margin: 0 0 12px; }
.list li { padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.list.activity li { font-size: 12px; }

/* Project overview */
.phases { display: flex; margin-bottom: 16px; }
.phase { flex: 1; border: 0; background: #e2e8f0; color: var(--muted); padding: 8px 4px 8px 14px; font: inherit; font-size: 12px; cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); margin-right: -6px; }
.phase:first-child { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.phase.done { background: #99f6e4; color: #134e4a; } .phase.current { background: var(--primary); color: #fff; font-weight: 600; }
.phase:disabled { cursor: default; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0; } .dl dt { color: var(--muted); } .dl dd { margin: 0; }
.doc-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.doc-step { display: flex; flex-direction: column; padding: 8px; border-radius: 6px; font-size: 11px; color: inherit; }
.doc-step:hover { text-decoration: none; filter: brightness(.97); }
.doc-step strong { font-size: 14px; } .doc-step em { font-style: normal; font-weight: 600; margin-top: 4px; }

/* Documents */
.doc-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; }
.doc-group { margin: 0; } .doc-group header { display: flex; justify-content: space-between; align-items: center; } .doc-group h3 { margin: 0 0 8px; }
.editor-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editor-pane { display: flex; flex-direction: column; }
.md-input { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; min-height: 60vh; flex: 1; line-height: 1.5; }
.preview-pane { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; max-height: 80vh; overflow: auto; }
.ph-bar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 6px; }
.markdown { line-height: 1.6; }
.markdown h1 { font-size: 22px; border-bottom: 2px solid var(--primary); padding-bottom: 6px; } .markdown h2 { font-size: 17px; margin-top: 22px; } .markdown h3 { font-size: 15px; }
.markdown table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 13px; }
.markdown th, .markdown td { border: 1px solid #cbd5e1; padding: 5px 8px; text-align: left; vertical-align: top; }
.markdown th { background: #f1f5f9; }
.markdown td:first-child { white-space: nowrap; }
.doc-header table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.doc-header td { border: 1px solid #94a3b8; padding: 6px 10px; }
.doc-logo { width: 110px; text-align: center; font-weight: 800; font-size: 18px; color: var(--primary); }
.doc-signatures { margin-top: 30px; }
.sign-box { background: var(--primary-50); border: 1px solid #99f6e4; border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }

/* Scrum */
.backlog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .backlog-layout { grid-template-columns: 1fr; } }
.drop-zone { transition: background .15s; } .drop-zone.over { background: var(--primary-50); outline: 2px dashed var(--primary); }
.story { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 6px; background: #fff; }
.story.dragging { opacity: .4; }
.story .grip { color: #cbd5e1; cursor: grab; }
.story-main { flex: 1; cursor: pointer; min-width: 0; }
.points { display: inline-grid; place-items: center; min-width: 26px; height: 22px; border-radius: 11px; background: #e0f2fe; color: #075985; font-weight: 700; font-size: 12px; padding: 0 6px; }
.sprint-box header { display: flex; justify-content: space-between; align-items: center; } .sprint-box h3 { margin: 0; }
.capacity { font-size: 12px; font-weight: 600; margin: 6px 0; color: var(--primary); } .capacity.over { color: var(--red); }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.col { background: #eef2f6; border-radius: var(--radius); padding: 8px; min-height: 300px; }
.col.over { background: var(--primary-50); outline: 2px dashed var(--primary); }
.col h4 { margin: 2px 4px 8px; display: flex; justify-content: space-between; }
.card-item { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 8px; margin-bottom: 8px; cursor: grab; box-shadow: var(--shadow); }
.card-item.gxp { border-left: 3px solid var(--red); }
.chart-box { position: relative; width: 100%; }

/* Poker */
.poker-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.story-card { border-left: 4px solid var(--primary); }
.poker-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.poker-card { width: 64px; height: 92px; border: 2px solid var(--border); border-radius: 10px; background: #fff; font-size: 22px; font-weight: 700; cursor: pointer; transition: transform .12s; color: var(--primary); }
.poker-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.poker-card.selected { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-6px); }
.table-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-bottom: 12px; }
.voter { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.mini-card { width: 44px; height: 62px; border-radius: 7px; border: 2px dashed #cbd5e1; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.mini-card.voted { border: 2px solid var(--primary); background: repeating-linear-gradient(45deg, #0f766e, #0f766e 4px, #14b8a6 4px, #14b8a6 8px); color: #fff; }
.mini-card.revealed { background: #fff; color: var(--primary); }
.big-num { font-size: 28px; color: var(--primary); }

/* Test execution */
.info-card { display: flex; flex-direction: column; gap: 4px; }
.step { outline: none; border-left: 4px solid #cbd5e1; }
.step:focus-within, .step:focus { box-shadow: 0 0 0 2px rgba(15,118,110,.25); }
.step.st-Réussi { border-left-color: var(--green); } .step.st-Échoué { border-left-color: var(--red); } .step.st-NA { border-left-color: var(--gray); }
.step-head { display: flex; gap: 12px; align-items: flex-start; }
.step-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1f5f9; font-weight: 700; flex-shrink: 0; }
.step-def { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step-def .label { margin-top: 0; }
.step-status { display: flex; gap: 4px; }
.step-body { margin-left: 40px; margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step-body label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.thumb { position: relative; }
.thumb img { width: 96px; height: 68px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); cursor: zoom-in; display: block; }
.thumb .file { display: block; padding: 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb .del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 10px; cursor: pointer; }
.upload-btn { display: grid; place-items: center; width: 96px; height: 68px; border: 2px dashed #cbd5e1; border-radius: 6px; cursor: pointer; color: var(--muted); font-size: 12px; }
.upload-btn:hover { border-color: var(--primary); color: var(--primary); }
.upload-btn input { display: none; }
.full-img { max-width: 100%; display: block; margin: auto; }
.verdict { border: 2px solid var(--primary-50); }
@media (max-width: 900px) { .step-def, .step-body { grid-template-columns: 1fr; } .step-body { margin-left: 0; } }

/* Deployment */
.check-step { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; border-bottom: 1px solid #f1f5f9; }
.check-step input { margin-top: 3px; width: 16px; height: 16px; }
.check-step.done > .grow > div:first-child { text-decoration: line-through; color: var(--muted); }
.readiness { display: flex; gap: 10px; padding: 6px 0; }
.readiness > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 12px; flex-shrink: 0; }
.readiness.ok > span { background: var(--green); } .readiness.ko > span { background: var(--red); }
.sig { padding: 6px 0; border-bottom: 1px solid #f1f5f9; }

/* Alerts, modal, toasts */
.alert { padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; background: #f1f5f9; }
.alert.error { background: #fee2e2; color: #991b1b; } .alert.info { background: #e0f2fe; color: #075985; }
.alert.success { background: #dcfce7; color: #166534; } .alert.warn { background: #fef3c7; color: #92400e; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal { background: #fff; border-radius: 10px; width: 560px; max-width: 100%; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.wide { width: 860px; }
.modal header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.modal header h3 { margin: 0; font-size: 16px; }
.modal-body { padding: 18px; overflow: auto; }
.modal footer { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }
.toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 100; }
.toast { background: #0f172a; color: #fff; padding: 10px 14px; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.2); max-width: 420px; }
.toast.error { background: var(--red); }

/* Login */
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #0b1f1d, #115e59); padding: 20px; }
.login-card { background: #fff; padding: 32px; border-radius: 12px; width: 400px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.login-card p { text-align: center; margin: 0; }
.login-card label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; }

/* Impression */
@media print {
  .sidebar, .tabs, .toolbar, .page-head .row, .alert, .toasts, .kpis { display: none !important; }
  body, .main { background: #fff; }
  .page { padding: 0; }
  .card { border: 0; box-shadow: none; padding: 0; }
  .page-head h1 { font-size: 14px; }
  .markdown table, .table { page-break-inside: auto; } tr { page-break-inside: avoid; }
}
