/* Coque de la plateforme : barre du haut, accueil, choix des applications, administration. */
.shell {
  display: flex;
  flex-direction: column;
  width: 100%;

  height: 100dvh;
}
:root {
  --topbar: #5a3222;
  --topbar-line: #77432e;
  --topbar-text: #f6f0ea;
  --topbar-muted: #dccdc2;
}
html[data-theme='dark'] {
  --topbar: #2a1810;
  --topbar-line: #43241a;
}
/* En-tête foncé : les boutons sont intégrés à la barre (pleine hauteur, sans marge), séparés par un filet. */
.topbar {
  flex: none;
  height: 52px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  background: var(--topbar);
  color: var(--topbar-text);
  border-bottom: 1px solid var(--topbar-line);
  position: relative;
  z-index: 20;
  font-size: 13px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}
.topbar-pop {
  position: relative;
  display: flex;
}
.topbar-button {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid var(--topbar-line);
  border-radius: 0;
  background: transparent;
  color: var(--topbar-text);
  font: 13px Poppins, sans-serif;
  white-space: nowrap;
}
.topbar-pop-right .topbar-button {
  border-right: 0;
  border-left: 1px solid var(--topbar-line);
}
.topbar-button .icon {
  font-size: 18px;
}
.topbar-button:hover {
  background: #ffffff14;
}
.topbar-button:active,
.topbar-button[aria-expanded='true'] {
  background: #ffffff24;
}
.topbar .app-clock {
  padding: 0 14px;
  color: var(--topbar-muted);
}
.topbar .app-clock .clock-time {
  color: var(--topbar-text);
}
.topbar-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px #00000026;
  z-index: 30;
  font-size: 13px;
}
.topbar-menu-right {
  left: auto;
  right: 0;
}
.menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  line-height: 1.35;
}
.menu-head strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}
.menu-head-text {
  min-width: 0;
}
.menu-head small {
  display: block;
  color: var(--muted);
}
.menu-sep {
  height: 1px;
  background: var(--border);
}
.menu-item {
  width: 100%;
  background: transparent;
  text-decoration: none;
}
.menu-item .menu-check {
  margin-left: auto;
  color: var(--blue);
}
.menu-item.current {
  font-weight: 600;
}

.shell-body {
  flex: 1;
  min-height: 0;
  display: flex;
}
.shell-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.shell-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--app-background);
}
.shell-page {
  height: 100%;
  overflow: auto;
  padding: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.shell-page.shell-page-wide {
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.shell-holder {
  height: 100%;
}
.shell-page h1 {
  margin: 0 0 4px;
  font:
    600 22px/1.2 Poppins,
    sans-serif;
}
.shell-page .shell-lead {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.45;
}
.shell-page-wide .config-panel {
  flex: 1;
  min-height: 0;
  background: var(--paper);
  border: 1px solid var(--border);
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}
.app-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  text-align: left;
  min-height: 130px;
}
a.app-card:hover,
.app-card.is-link:hover {
  background: var(--hover-surface, #f2f0ee);
}
.app-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
}
.app-card-title .icon {
  font-size: 26px;
  color: var(--blue);
}
.app-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
  flex: 1;
}
.app-card.is-off .app-card-title .icon {
  color: var(--muted);
}
.app-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-card-actions button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: var(--paper);
}
.app-card-actions button:hover {
  background: var(--hover-control, #f0eeec);
}
.app-card-actions button:active {
  background: var(--pressed, #e5e2df);
}
.app-card-actions .app-state {
  color: var(--green);
  font-weight: 600;
}
.app-card.is-add {
  align-items: center;
  justify-content: center;
  border-style: dashed;
  color: var(--muted);
  min-height: 130px;
}
.shell-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.shell-error {
  color: var(--red);
  min-height: 1.2em;
}
.shell-continue {
  margin-top: 14px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.shell-continue:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Mobile et tablette */
@media (max-width: 900px) {
  .shell-page {
    padding: 12px;
  }
}
@media (max-width: 700px) {
  .topbar-button {
    padding: 0 10px;
  }
  #user-name,
  .app-clock {
    display: none;
  }
  .topbar-tabs {
    margin: 0 4px;
  }
  .topbar-menu {
    min-width: 200px;
    max-width: calc(100vw - 12px);
  }
  .app-cards {
    grid-template-columns: 1fr;
  }
}

.menu-label {
  padding: 8px 12px 2px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Panneau Historique ---------- */
.topbar-button.is-on {
  background: color-mix(in srgb, var(--topbar-text) 14%, transparent);
}
.history-panel {
  flex: none;
  width: 380px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--paper);
  color: var(--text);
  border-left: 1px solid var(--border);
}
.history-panel[hidden] {
  display: none;
}
.history-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--border);
}
.history-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.history-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: var(--radius-s, 6px);
  cursor: pointer;
}
.history-close:hover {
  background: var(--hover-surface);
  color: var(--text);
}
.history-filters {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.history-filters input[type='search'],
.history-filters select {
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-s, 6px);
}
/* Filtres de période et de compte (Historique). */
.history-dates {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.history-dates label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}
.history-dates input,
#history-account {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: var(--field, var(--paper));
  border: 1px solid var(--border);
  border-radius: var(--radius-s, 6px);
}
#history-account {
  grid-column: 1 / -1;
}
#history-account[hidden],
.history-clear[hidden] {
  display: none;
}
.history-clear {
  grid-column: 1 / -1;
  justify-self: start;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-s, 6px);
  background: transparent;
  color: var(--text-secondary, var(--muted));
  font: 600 12px Poppins, Arial, sans-serif;
  cursor: pointer;
}
.history-clear:hover {
  background: var(--hover-control);
}
.history-auto {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.history-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 0 16px;
}
.hist-day h3 {
  position: sticky;
  top: -5px;
  margin: 0;
  padding: 10px 16px 6px;
  background: var(--paper);
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hist-day ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hist-entry {
  --kind: var(--muted);
  padding: 10px 16px 12px 13px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--kind);
}
.kind-create {
  --kind: var(--green);
}
.kind-delete {
  --kind: var(--red);
}
.kind-edit {
  --kind: var(--blue);
}
.kind-undo {
  --kind: color-mix(in srgb, var(--blue) 70%, var(--paper));
}
.kind-import {
  --kind: var(--olive);
}
.hist-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hist-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--kind) 14%, transparent);
  color: var(--kind);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hist-tag .icon {
  font-size: 14px;
}
.hist-time {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.hist-summary {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.hist-entry.is-undone .hist-summary {
  color: var(--muted);
  font-weight: 400;
  text-decoration: line-through;
}
.hist-entry.is-auto {
  opacity: 0.85;
}
.hist-ref {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.hist-ref .icon {
  font-size: 15px;
}
.hist-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.hist-meta:empty {
  display: none;
}
.hist-chip {
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
}
.hist-chip-undone {
  color: var(--muted);
}
.hist-more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent, #c17a5b);
  font: inherit;
  cursor: pointer;
}
.hist-lines {
  margin: 6px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
}
.hist-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.hist-actions button,
.hist-load {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-s, 6px);
  cursor: pointer;
}
.hist-actions button .icon {
  font-size: 15px;
}
.hist-actions button:hover:not(:disabled),
.hist-load:hover {
  background: var(--hover-surface);
}
.hist-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}
.hist-load {
  display: flex;
  margin: 12px auto 0;
}
.hist-conflict {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid var(--red);
  border-radius: var(--radius-s, 6px);
  font-size: 13px;
}
.hist-conflict ul {
  margin: 4px 0 0;
  padding-left: 16px;
}
.hist-empty,
.hist-error {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
}
.hist-error {
  color: var(--red);
}
@media (max-width: 900px) {
  .history-panel {
    position: fixed;
    top: 52px;
    right: 0;
    bottom: 0;
    width: min(100vw, 400px);
    z-index: 40;
    box-shadow: -8px 0 24px #0003;
  }
}
@media (max-width: 700px) {
  .topbar-label {
    display: none;
  }
}
.auth-wrap {
  display: flex;
  flex-direction: column;
  flex: none;
  align-items: center;
  gap: clamp(24px, 4dvh, 32px);
  width: min(420px, 100%);
  margin: auto;
}
/* Le logo et la carte forment un seul ensemble centré, défilant si nécessaire. */
.auth-logo {
  flex: none;
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}
.auth-logo.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #f6f0ea;
}
.auth-logo.auth-brand > img { width: clamp(64px, 18vw, 84px); height: 84px; flex: none; object-fit: contain; }
.auth-logo.auth-brand > span { font: 400 clamp(40px, 8vw, 60px)/1 'Londrina Solid', sans-serif; }
#auth-root.auth-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  height: 100dvh;
  min-height: 0;
  overflow-y: auto;
  padding-block: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-bottom));
  background: var(--accent-deep); /* toujours foncé (le logo est clair), même quand l'en-tête de la palette est clair */
  color: var(--app-icon-light); /* le texte « Chargement… » posé directement sur ce fond (la carte de connexion garde ses couleurs) */
}
#auth-root .auth-card {
  width: 100%;
  background: var(--paper);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px #00000040;
  color: var(--text);
}
#auth-root .auth-card h1 {
  margin: 0 0 8px;
  font-family: 'Londrina Solid', sans-serif;
  font-weight: 900;
  color: var(--text);
}
#auth-root .auth-card p,
#auth-root .auth-card label {
  color: var(--muted);
}
#auth-root .auth-card input {
  background: var(--field, #fff);
  color: var(--text);
  border-color: var(--border);
  border-radius: 6px;
}
#auth-root .auth-card input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
#auth-root .auth-card button {
  background: var(--accent);
  border-color: var(--blue);
  border-radius: 6px;
  color: var(--on-accent, #fff);
}
#auth-root .auth-card button:hover:not(:disabled) {
  background: var(--accent-hover, var(--accent));
}
#auth-root .auth-card button:active:not(:disabled) {
  background: var(--accent-pressed, var(--accent));
}
.topbar-tabs {
  align-self: center;
  display: flex;
  align-items: stretch;
  height: 36px;
  margin: 0 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--topbar-text) 45%, transparent);
  border-radius: var(--radius-s, 0);
}
#history-toggle {
  border-right: 0;
  border-left: 1px solid var(--topbar-line);
}
.topbar-user {
  background: #ffffff1f;
  padding: 0 16px 0 12px;
  gap: 9px;
}
.topbar-user:hover {
  background: #ffffff30;
}
.user-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent, #c17a5b);
  color: #fff;
}
.user-avatar .icon {
  font-size: 18px;
}
.user-avatar {
  overflow: hidden;
  flex: none;
  border: 1px solid var(--topbar-muted);
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-avatar-lg {
  width: 48px;
  height: 48px;
}
.user-avatar-lg .icon {
  font-size: 28px;
}

/* Titres : Londrina Solid partout (tous les designs). */
html :is(h1, h2, h3) {
  font-family: 'Londrina Solid', sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* Noms d'applications (onglets de l'en-tête, cartes) : Londrina Solid bien gras. */

html .app-card-title {
  font-family: 'Londrina Solid', sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
}
html .app-card-title {
  font-size: 19px;
}

/* Administration : configuration des applications. */
.admin-apps {
  display: grid;
  gap: 16px;

  padding: 16px;
}
.admin-app-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  background: var(--page);
  border-radius: var(--radius-s, 0);
}
.admin-app-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}
.admin-app-form input {
  height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
html[data-theme='dark'] .admin-app-form input {
  background: var(--paper);
}
.admin-app-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 900 20px 'Londrina Solid', sans-serif;
  letter-spacing: 0.03em;
}
.admin-app-preview .icon {
  font-size: 22px;
}
.icon-choice {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.icon-choice:hover {
  background: var(--hover-control);
}
.icon-choice.active {
  background: var(--accent);
  border-color: var(--blue);
  color: #fff;
}

/* Bloc logo aligné sur la colonne de la barre latérale (170 px) : les onglets d'application commencent là où commence le contenu. */
@media (min-width: 901px) {
  .topbar-tabs {
    margin: 0 12px;
  }
}

/* Administration : marge du texte d'en-tête. */
.admin-body .forecast-head { padding: 10px 14px 0; }
.admin-body .forecast-head .config-note { margin-top: 0; }
.admin-apps { max-width: 760px; }

/* ---------- Connexions et tutoriel ---------- */
.c-page a { color: var(--blue); }
.c-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.c-page-actions { display: flex; align-items: center; gap: 12px; }

.c-flash { color: var(--green); font-size: 13px; min-width: 90px; }
.c-app-card { border: 1px solid var(--border); background: var(--paper); margin: 14px 0; max-width: 760px; }
.c-app-card > header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.c-app-card h2 { margin: 0; font-size: 15px; font-weight: 600; }
.c-app-ico { color: var(--blue); display: inline-flex; }
.c-pitch { margin: 0; padding: 12px 14px 4px; color: var(--muted); font-size: 13px; }
.c-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 14px; }
.c-mode { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border: 1px solid var(--border); cursor: pointer; position: relative; }
.c-mode input { position: absolute; opacity: 0; }
.c-mode small { color: var(--muted); font-size: 12px; line-height: 1.35; }

.c-mode:has(input:focus-visible) { outline: 2px solid var(--accent); }
.c-params { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; padding: 4px 14px 10px; }
.c-params label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.c-params select { padding: 6px 8px; border: 1px solid var(--border);  color: var(--text); font: 13px Poppins, sans-serif; }
.c-warn, .c-since { display: flex; gap: 6px; align-items: center; margin: 0; padding: 0 14px 13px; font-size: 13px; color: var(--muted); }
.c-warn { color: var(--olive); }
.c-warn .icon, .c-since .icon { font-size: 16px; }
.c-guard > .icon { color: var(--green); }
.c-guard ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.55; }
@media (max-width: 640px) { .c-modes { grid-template-columns: 1fr; } }
.guide-dialog { border: 1px solid var(--border); padding: 0; width: min(460px, calc(100vw - 24px)); background: var(--dialog-bg, var(--paper)); color: var(--text); }
.guide-dialog::backdrop { background: #0000006b; }
.guide-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; color: var(--muted); font-size: 12px; }
.guide-x { background: none; border: 0; color: var(--muted); display: inline-flex; padding: 2px; }
.guide-body { padding: 6px 26px 18px; text-align: center; }
.guide-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--blue); }
.guide-icon .icon { font-size: 30px; }
.guide-body h2 { margin: 12px 0 8px; font-size: 18px; }
.guide-body p { margin: 0 0 8px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.guide-body strong { color: var(--text); }
.guide-tip { display: flex; gap: 7px; text-align: left; padding: 9px 11px;  font-size: 13px !important; }
.guide-tip .icon { font-size: 17px; color: var(--olive); flex: none; }
.guide-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-top: 1px solid var(--border); }
.guide-dots { display: flex; gap: 5px; }
.guide-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.guide-dots i.on { background: var(--accent); }
.guide-btns { display: flex; gap: 8px; }
/* ---------- Cohérence avec le design system ----------
   Surfaces : papier + bordure fine ; blocs internes : fond « page » ; rayons issus des variables du design
   (--radius / --radius-s : 0 pour Ledger, arrondis pour Aurore et Dense) ; boutons identiques à ceux des formulaires. */
.c-app-card, .c-guard, .c-mode, .c-page .shell-note-box {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius, 0);
}
.c-app-card { overflow: hidden; }
.c-guard { display: flex; gap: 12px; max-width: 760px; margin: 14px 0; padding: 12px 14px; font-size: 13px; }
.c-app-card > header { background: var(--page); }
.c-mode { background: var(--field-bg, var(--paper)); border-radius: var(--radius-s, 0); }
.c-mode.on { background: color-mix(in srgb, var(--accent) 9%, var(--paper)); border-color: var(--blue); }
.c-params select { border-radius: var(--radius-s, 0); background: var(--field-bg, var(--paper)); }
.guide-tip { background: var(--field-bg, var(--paper)); border-radius: var(--radius-s, 0); }
.switch span { border-radius: 999px; }
.c-page-actions button, .guide-btns button:not(.save-button) {
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--text);
  padding: 6px 9px;
  font: 13px Poppins, sans-serif;
  border-radius: var(--radius-s, 0);
  cursor: pointer;
}
.c-page-actions button:hover, .guide-btns button:not(.save-button):hover { background: var(--hover-control); }
.c-page-actions button:active, .guide-btns button:not(.save-button):active { background: color-mix(in srgb, var(--hover-control) 85%, var(--text)); } .guide-btns .save-button {
  background: var(--accent-line, var(--accent));
  border: 1px solid var(--accent-line, var(--accent));
  color: #fff;
  padding: 6px 9px;
  font: 13px Poppins, sans-serif;
  border-radius: var(--radius-s, 0);
  cursor: pointer;
} .guide-btns .save-button:hover { background: var(--accent-deeper, var(--accent)); } .guide-btns .save-button:active { background: var(--accent-deep, var(--accent)); }
.c-page-actions button { display: inline-flex; align-items: center; gap: 4px; }
.c-page-actions .icon { font-size: 15px; }
.guide-x { border-radius: var(--radius-s, 0); }
.guide-x:hover { background: var(--hover-control); }
.icon-choice, .admin-app-form input { border-radius: var(--radius-s, 0); }
.c-recent { margin: 0 14px 13px; font-size: 13px; color: var(--muted); }
.c-recent summary { cursor: pointer; color: var(--blue); }
.c-recent p { margin: 6px 0; }
.c-recent ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-s, 0); }
.c-recent li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 8px; border-bottom: 1px solid var(--border); color: var(--text); }
.c-recent li:last-child { border-bottom: 0; }
.c-done { color: var(--muted); }
.ds-demo-frame { padding: 8px; background: var(--app-background); border: 1px solid var(--border); }
