/* Console Agent SDK — design sobre et moderne */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --border: #e4e7ec;
  --text: #1a1d23;
  --text-2: #5b6472;
  --text-3: #9aa3b0;
  --accent: #4f46e5;
  --accent-soft: #eef0fe;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --success: #16a34a;
  --warning: #d97706;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .04);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

/* l'attribut hidden doit toujours gagner sur les display des classes */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.layout { display: flex; min-height: 100vh; }

/* --- Sidebar --- */
.sidebar {
  width: 232px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -.01em;
}
.brand-dot {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  flex-shrink: 0;
}
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: .02em;
}
.nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 10px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  transition: background .12s, color .12s;
}
.nav a svg { width: 17px; height: 17px; fill: currentColor; opacity: .8; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.nav a.active svg { opacity: 1; }

.sidebar-footer {
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex-shrink: 0; }
.status-dot.ok { background: var(--success); }
.status-dot.ko { background: var(--danger); }

/* --- Main --- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 32px 14px;
}
.topbar h1 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
#page-actions { display: flex; gap: 8px; }
.view { padding: 8px 32px 40px; max-width: 1080px; width: 100%; }

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 550;
  font-size: 13.5px;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4338ca; }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #fee2e2; }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.icon-btn {
  border: none; background: none; cursor: pointer; font-size: 14px;
  color: var(--text-3); padding: 6px; border-radius: 6px;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* --- Cards & listes --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title { font-weight: 620; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.card-desc { color: var(--text-2); font-size: 13px; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.card-actions { display: flex; gap: 6px; justify-content: flex-end; }

.chip {
  display: inline-flex; align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 550;
  font-family: var(--mono);
}
.chip.accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-family: inherit; }

.empty {
  text-align: center;
  color: var(--text-3);
  padding: 56px 20px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* --- Formulaires --- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.field input[type="text"], .field textarea, .field select {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 180px; resize: vertical; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; }
.field .hint { font-size: 11.5px; color: var(--text-3); }
.tools-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.tools-picker label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  background: var(--surface);
}
.tools-picker label:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.tools-picker input { accent-color: var(--accent); margin: 0; }

/* --- Modale --- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(16, 20, 28, .45);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  z-index: 50;
  padding: 24px;
}
.modal {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  width: 640px;
  max-width: 100%;
  max-height: 88vh;
  display: flex; flex-direction: column;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 { margin: 0; font-size: 16px; font-weight: 650; }
.modal-body { padding: 18px 20px; overflow-y: auto; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
}

/* --- Exécutions --- */
.run-launcher {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.run-launcher textarea {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  min-height: 74px;
  resize: vertical;
  outline: none;
}
.run-launcher textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.run-launcher .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.run-launcher select {
  font: inherit; padding: 7px 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-2);
}

.run-list { display: flex; flex-direction: column; gap: 8px; }
.run-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  cursor: pointer;
  transition: border-color .12s, background .12s;
  text-decoration: none;
  color: inherit;
}
.run-item:hover { border-color: #c9cfd9; }
.run-item.selected { border-color: var(--accent); background: var(--accent-soft); }
.run-item .prompt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.run-item time { color: var(--text-3); font-size: 12px; flex-shrink: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  flex-shrink: 0;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.running { background: #fff7ed; color: var(--warning); }
.badge.running::before { animation: pulse 1.1s ease-in-out infinite; }
.badge.success { background: #f0fdf4; color: var(--success); }
.badge.error { background: var(--danger-soft); color: var(--danger); }
@keyframes pulse { 50% { opacity: .25; } }

/* --- Détail run --- */
.run-detail { margin-top: 22px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tabs button {
  font: inherit; font-weight: 550; font-size: 13.5px;
  background: none; border: none; cursor: pointer;
  color: var(--text-2);
  padding: 9px 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }

.chat { display: flex; flex-direction: column; gap: 10px; }
.msg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  max-width: 860px;
}
.msg .msg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.msg .msg-head time { margin-left: auto; color: var(--text-3); font-size: 11.5px; }
.msg .role { font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.msg .role.subagent { color: var(--accent); }
.msg .text { white-space: pre-wrap; word-break: break-word; }

/* --- Timeline : étapes d'outils --- */
.step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  max-width: 860px;
  transition: border-color .15s;
}
.step-ico { flex-shrink: 0; width: 22px; text-align: center; line-height: 1.5; }
.step-main { flex: 1; min-width: 0; }
.step-label { font-size: 13px; font-weight: 500; }
.step-label code, .msg code, .field .hint code {
  font-family: var(--mono);
  font-size: .92em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 4px;
}
.step time { color: var(--text-3); font-size: 11.5px; flex-shrink: 0; }
.step.running { border-color: var(--accent); }
.step.running .step-ico { animation: pulse 1.1s ease-in-out infinite; }
.step.done .step-ico { opacity: .75; }
.step.failed { border-color: var(--danger); }
.step-detail summary {
  cursor: pointer;
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 550;
  margin-top: 2px;
}
.step-detail summary:hover { color: var(--text-2); }
.step-detail pre, .subagent-card pre {
  margin: 6px 0 0;
  padding: 10px 12px;
  background: #10141c;
  color: #d6dce6;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.step-result { margin-top: 6px; border-top: 1px solid #2a3140; }

/* --- Timeline : réflexion --- */
.think {
  max-width: 860px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 7px 12px;
  color: var(--text-2);
}
.think summary { cursor: pointer; font-size: 12.5px; color: var(--text-3); }
.think summary:hover { color: var(--text-2); }
.think .text { white-space: pre-wrap; word-break: break-word; font-size: 12.5px; margin-top: 6px; }

/* --- Timeline : carte subagent --- */
.subagent-card {
  max-width: 900px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.subagent-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--accent-soft);
}
.subagent-title { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.subagent-title b { font-size: 13.5px; color: var(--accent); }
.subagent-desc { font-size: 12px; color: var(--text-2); }
.subagent-head time { color: var(--text-3); font-size: 11.5px; flex-shrink: 0; }
.subagent-prompt, .subagent-summary {
  padding: 6px 14px;
  border-top: 1px solid var(--border);
}
.subagent-prompt summary, .subagent-summary summary {
  cursor: pointer; font-size: 11.5px; font-weight: 550; color: var(--text-3);
}
.subagent-prompt summary:hover, .subagent-summary summary:hover { color: var(--text-2); }
.subagent-prompt .text, .subagent-summary .text {
  white-space: pre-wrap; word-break: break-word; font-size: 12.5px; color: var(--text-2); margin: 6px 0 8px;
}
.subagent-body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 14px 12px 26px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.subagent-body:empty { display: none; }
.subagent-body .msg, .subagent-body .step, .subagent-body .think { max-width: 100%; }

/* --- Timeline : carte finale --- */
.run-final .run-meta { margin-left: 8px; font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.run-final.error { border-color: var(--danger); }

/* --- Timeline : légende & chips d'origine --- */
.tl-legend {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  font-size: 12px;
}
.chip-mini {
  display: inline-block;
  padding: 1px 8px;
  margin-left: 4px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 650;
  vertical-align: 1px;
  white-space: nowrap;
}
.chip-mini.ok { background: #f0fdf4; color: var(--success); }
.chip-mini.warn { background: #fff7ed; color: var(--warning); }
.subagent-hint {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-2);
  background: var(--accent-soft);
  border-top: 1px solid #dfe3fb;
}
.subagent-body {
  border-left: 3px solid var(--accent);
}

.msg pre {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #10141c;
  color: #d6dce6;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}
.msg.result { border-color: var(--success); }

.logs-raw {
  background: #10141c;
  color: #c9d2e0;
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  overflow: auto;
  max-height: 560px;
  white-space: pre-wrap;
  word-break: break-word;
}
.logs-filter { margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* --- Artefacts --- */
.artifacts-layout { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.artifact-tree { display: flex; flex-direction: column; gap: 2px; }
.artifact-run-group { margin-bottom: 12px; }
.artifact-run-group > .group-title {
  font-size: 12px; font-weight: 650; color: var(--text-2);
  padding: 6px 10px; text-transform: uppercase; letter-spacing: .04em;
}
.artifact-file {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-2);
  font-size: 13px;
  border: none; background: none; font: inherit; text-align: left; width: 100%;
}
.artifact-file:hover { background: var(--surface-2); color: var(--text); }
.artifact-file.selected { background: var(--accent-soft); color: var(--accent); }
.artifact-file .size { margin-left: auto; font-size: 11px; color: var(--text-3); }
.artifact-viewer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 300px;
  display: flex; flex-direction: column;
}
.artifact-viewer .viewer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.artifact-viewer pre {
  margin: 0; padding: 16px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word;
  overflow: auto;
}

/* --- Doc viewer --- */
.doc-view { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; }
.doc-view pre { margin: 0; font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; word-break: break-word; }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  background: #10141c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: toast-in .18s ease-out;
}
.toast.error { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (max-width: 900px) {
  .sidebar { width: 64px; }
  .sidebar .brand span:not(.brand-dot), .sidebar .nav a:not(.active) { font-size: 0; gap: 0; }
  .nav a { justify-content: center; }
  .sidebar-footer { justify-content: center; }
  .sidebar-footer span:last-child { display: none; }
  .artifacts-layout { grid-template-columns: 1fr; }
  .view { padding: 8px 18px 32px; }
  .topbar { padding: 18px 18px 12px; }
}

/* --- Agent Workforce Simulator (office.js) --- */
.office {
  background: #faf6ee;
  border: 1px solid #e4dcc8;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.office-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 0;
}
.office-mission {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: #fff;
  border: 1px solid #e4dcc8;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  min-width: 0;
}
.office-mission-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #b08d5f;
}
.office-mission-text {
  font-weight: 600;
  color: #4a4238;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.office-mission-meta { color: #9a8c75; font-size: 11px; white-space: nowrap; }
.office-demo { flex: none; }

.office-stage { position: relative; }
.office-canvas { display: block; width: 100%; cursor: pointer; }
.office-roster {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #e4dcc8;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 11px;
  max-width: 190px;
  backdrop-filter: blur(2px);
}
.office-roster:empty { display: none; }
.office-roster-row { display: flex; align-items: center; gap: 6px; padding: 1.5px 0; }
.office-roster-name { font-weight: 600; color: #4a4238; }
.office-roster-state { color: #9a8c75; margin-left: auto; padding-left: 8px; }

.office-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.office-dot.st-sleeping { background: #b6c0d4; }
.office-dot.st-idle, .office-dot.st-coffee { background: #d9c8a8; }
.office-dot.st-waking, .office-dot.st-thinking { background: #fbbf24; }
.office-dot.st-working, .office-dot.st-revising, .office-dot.st-submitting { background: #4f46e5; }
.office-dot.st-waiting, .office-dot.st-reviewing { background: #38bdf8; }
.office-dot.st-blocked, .office-dot.st-error { background: #dc2626; }
.office-dot.st-completed { background: #16a34a; }

.office-detail {
  position: relative;
  margin: 0 14px 12px;
  background: #fff;
  border: 1px solid #e4dcc8;
  border-radius: 10px;
  padding: 10px 36px 10px 14px;
  font-size: 12.5px;
  color: #4a4238;
}
.office-detail-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.office-detail-role { color: #9a8c75; font-size: 11px; text-transform: uppercase; }
.office-kv { display: flex; gap: 8px; margin-top: 3px; }
.office-kv > span:first-child {
  flex: none; width: 64px;
  color: #b08d5f; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  padding-top: 1px;
}
.office-detail-log { margin: 2px 0 0; padding-left: 16px; max-height: 100px; overflow-y: auto; color: #6b6152; }
.office-detail-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; cursor: pointer;
  color: #b6ab93; font-size: 14px;
}
.office-detail-close:hover { color: #4a4238; }

/* --- Dock simulation (panneau latéral droit) --- */
.office-dock {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(720px, 58vw);
  background: #faf6ee;
  border-left: 1px solid #e4dcc8;
  box-shadow: -12px 0 40px rgba(60, 45, 20, .18);
  transform: translateX(103%);
  transition: transform .28s cubic-bezier(.3, .8, .3, 1);
  z-index: 60;
  display: flex;
  flex-direction: column;
}
.office-dock.open { transform: translateX(0); }
.office-dock.expanded { width: calc(100vw - 48px); }

.office-dock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #e4dcc8;
  background: #fffdf7;
  flex: none;
}
.office-dock-title { font-size: 13px; font-weight: 600; color: #4a4238; }
.office-dock-actions { display: flex; gap: 4px; }
.office-dock-actions .icon-btn {
  background: none;
  border: 1px solid #e4dcc8;
  border-radius: 7px;
  width: 28px; height: 28px;
  cursor: pointer;
  color: #8a7d63;
  font-size: 14px;
  line-height: 1;
}
.office-dock-actions .icon-btn:hover { background: #f3ead9; color: #4a4238; }

.office-dock-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.office-dock-body .office { margin-bottom: 0; }

/* bouton onglet Simulation */
.tabs-sim { margin-left: auto; }
