/* ============================================
   Centro Estetico — Apple Clean + Pastel Pop
   Font: DM Sans · Icons: Material Symbols Outlined
   ============================================ */

:root {
  /* Surfaces */
  --bg:           #fafaf9;
  --surface:      #ffffff;
  --surface-2:   #f6f6f5;
  --border:       #ececec;
  --border-strong:#dcdcdc;

  /* Text */
  --text:         #0f0f0f;
  --text-soft:    #6b6b6b;
  --text-muted:   #a8a8a8;

  /* Accent */
  --accent:       #0f0f0f;
  --accent-contrast: #ffffff;

  --danger:       #e54848;
  --danger-soft:  #ffe5e5;
  --success:      #34c759;
  --success-soft: #d8f5dc;

  /* Saturated pastels */
  --pastel-pink:    #FFB8C8;
  --pastel-rose:    #FFD0D8;
  --pastel-yellow:  #FFE56B;
  --pastel-mint:    #B8EBC0;
  --pastel-blue:    #B8D8FF;
  --pastel-lilac:   #D8C8FF;
  --pastel-peach:   #FFD0A8;
  --pastel-coral:   #FFB8A0;

  /* Combo gradient */
  --combo-from:   #D8C8FF;
  --combo-to:     #FFC8DD;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 15, 15, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 15, 15, 0.08);
  --shadow-lg: 0 20px 56px rgba(15, 15, 15, 0.16);

  /* Type */
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --slot-h: 30px;
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================
   Material Symbols Outlined — base
   ============================================ */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  user-select: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
  line-height: 1.15;
}
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.018em; }
.muted { color: var(--text-muted); }
.small { font-size: 12px; }

/* ============================================
   Layout — full width con margini 5% sx/dx
   ============================================ */
.app {
  display: block;
  min-height: 100vh;
}

/* sidebar non più usata, nascosta per sicurezza */
.sidebar { display: none !important; }

.main {
  padding: 32px 20% 130px;
  background: var(--bg);
  min-height: 100vh;
}

/* ============================================
   Top bar (user pill floating)
   ============================================ */
.top-bar {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 40;
}
.top-bar-user {
  display: flex;
  align-items: center;
  gap: 0px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.tb-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-soft);
  font-size: 13px;
}
.tb-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  padding-left: 2px;
}
.tb-logout {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px 8px 12px;
  border-left: 1px solid var(--border);
  margin-left: 4px;
  transition: color .15s;
}
.tb-logout:hover { color: var(--danger); }

/* ============================================
   Page header
   ============================================ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.page-header h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.028em; }
.page-header-actions { display: flex; gap: 10px; align-items: center; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  transition: all .15s ease;
  white-space: nowrap;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--text); color: var(--accent-contrast); }
.btn-primary:hover { background: #1f1f1f; box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }

.btn-outline { border-color: var(--border-strong); background: var(--surface); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--text-soft); }

.btn-danger { background: var(--danger-soft); color: var(--danger); border: 1px solid transparent; }
.btn-danger:hover { background: #ffd5d5; }

.btn-block { width: 100%; }

.btn-icon {
  padding: 0;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon:hover { background: var(--surface-2); }

.btn .material-symbols-outlined { font-size: 18px; font-variation-settings: 'wght' 600; }
.btn-icon .material-symbols-outlined { font-size: 20px; color: var(--text-soft); }
.btn-icon:hover .material-symbols-outlined { color: var(--text); }

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}

/* ============================================
   Agenda — toolbar
   ============================================ */
.agenda-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.date-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px;
  height: 44px;
}
.date-nav button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  transition: background .15s;
}
.date-nav button:hover { background: var(--surface-2); color: var(--text); }
.date-nav .material-symbols-outlined { font-size: 22px; }
.date-nav input[type="date"] {
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  padding: 0 12px;
  color: var(--text);
  letter-spacing: -0.01em;
  font-family: var(--font);
}

/* ============================================
   Agenda — calendar grid (3 columns)
   ============================================ */
.agenda-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.agenda-header-row {
  display: grid;
  grid-template-columns: 70px repeat(3, 1fr);
  background: var(--surface);
}
.agenda-header-cell {
  padding: 18px 12px;
  font-weight: 700;
  font-size: 13.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.agenda-header-cell.time { background: transparent; }
.agenda-header-cell .op-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.agenda-body {
  display: grid;
  grid-template-columns: 70px repeat(3, 1fr);
  position: relative;
}
.time-col { background: var(--surface); border-right: 1px solid #d4d4d4b3; }
.op-col { position: relative; border-right: 1px solid #d4d4d4b3; }
.op-col:last-child { border-right: none; }

/* === Slot 15 minuti === */
.time-slot, .op-slot { height: var(--slot-h); border-bottom: none; }
.time-slot.m-0,  .op-slot.m-0,
.time-slot.m-30, .op-slot.m-30 {
  border-bottom: 1px dashed #ededed;
}
.time-slot.m-15, .op-slot.m-15 {
  border-bottom: 1px dashed #c4c4c485;
}
.time-slot.m-45, .op-slot.m-45 {
  border-bottom: 1px solid #b8b8b8cc;
}

.time-slot { padding: 0; font-size: 0; color: transparent; }
.time-slot.m-0 {
  padding: 4px 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  text-align: right;
}

.op-slot { cursor: pointer; transition: background .12s ease; }
.op-slot:hover { background: var(--surface-2); }

/* === Appointment === */
.appointment {
  position: absolute;
  left: 8px;
  right: 8px;
  border-radius: 14px;
  padding: 11px 13px 10px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
  border: none;
  color: #1a1a1a;
  font-family: var(--font);
}
.appointment:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); z-index: 3; }
.appointment .app-time,
.appointment .app-name,
.appointment .app-treatment {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appointment .app-time {
  font-weight: 600;
  font-size: 11px;
  opacity: .65;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.appointment .app-name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-top: 3px;
}
.appointment .app-treatment {
  font-size: 11.5px;
  opacity: .7;
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.appointment.combo { background: linear-gradient(135deg, var(--combo-from), var(--combo-to)); }
.appointment.combo::after {
  content: "COMBO";
  position: absolute;
  top: 9px; right: 11px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.7);
  color: #1a1a1a;
  padding: 3px 7px;
  border-radius: 999px;
}

/* ============================================
   Modal
   ============================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 15, 15, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px 8px;
}
.modal-header h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.022em; }
.modal-close {
  background: var(--surface-2);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
}
.modal-close .material-symbols-outlined { font-size: 20px; }
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-body { padding: 16px 28px 28px; }
.modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 28px 26px;
  border-top: 1px solid var(--border);
}
.modal-footer-right { display: flex; gap: 8px; }

/* ============================================
   Forms
   ============================================ */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-row-3 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr 1fr; }

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font);
}
label > input, label > select, label > textarea {
  text-transform: none;
  letter-spacing: -0.005em;
}

input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="date"], input[type="time"],
input[type="number"], select, textarea {
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  height: 44px;
  transition: border-color .15s, box-shadow .15s;
  font-family: var(--font);
}
textarea {
  resize: vertical;
  min-height: 90px;
  padding: 12px 14px;
  height: auto;
  line-height: 1.5;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(15, 15, 15, 0.08);
}
input[type="color"] {
  padding: 4px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--r-sm);
  border: none;
  background: var(--surface);
}
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-error {
  background: var(--danger-soft);
  color: var(--danger);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
}

.op-treatment-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.op-treatment-row .btn-icon {
  height: 44px;
  width: 44px;
  background: var(--surface-2);
  border-color: var(--border);
}
.op-treatment-row .btn-icon:hover { background: var(--danger-soft); border-color: var(--danger-soft); }
.op-treatment-row .btn-icon:hover .material-symbols-outlined { color: var(--danger); }
#opItems { display: flex; flex-direction: column; gap: 12px; }

/* ============================================
   Tables
   ============================================ */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
th {
  background: var(--surface);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
tr:last-child td { border-bottom: none; }
tr.clickable { cursor: pointer; transition: background .12s; }
tr.clickable:hover { background: var(--surface-2); }

.color-pill {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 6px;
  vertical-align: middle;
}

/* ============================================
   Treatment grid
   ============================================ */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.treatment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all .15s ease;
}
.treatment-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.treatment-swatch {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.treatment-info { flex: 1; min-width: 0; }
.treatment-name { font-weight: 700; font-size: 15px; letter-spacing: -0.018em; color: var(--text); }
.treatment-meta { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; font-weight: 500; }

/* ============================================
   Login
   ============================================ */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
  font-family: var(--font);
}
.login-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.login-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.login-logo .logo-dot, .login-logo .logo-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--text);
  position: relative;
}
.login-logo .logo-dot::after, .login-logo .logo-mark::after {
  content: "";
  position: absolute;
  inset: 16px;
  background: var(--surface);
  border-radius: 50%;
}
.login-card h1 { font-size: 24px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.022em; }
.login-form { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; text-align: left; }
.login-form .btn { margin-top: 8px; height: 48px; font-size: 14px; }
.login-hint { margin-top: 22px; }

/* ============================================
   Client detail / history
   ============================================ */
.client-header {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  margin-bottom: 22px;
}
.client-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB8C8, #D8C8FF);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}
.client-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.client-meta .material-symbols-outlined { font-size: 16px; color: var(--text-muted); }
.client-meta .sep { opacity: .4; }

.history-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.history-item:last-child { border-bottom: none; }
.history-date {
  font-weight: 700;
  font-size: 13px;
  min-width: 110px;
  letter-spacing: -0.01em;
}
.history-treatments { flex: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.history-pill {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.history-status {
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.history-status.scheduled { background: #e0eaf2; color: #3a6090; }
.history-status.completed { background: var(--success-soft); color: #1f7a35; }
.history-status.cancelled { background: var(--danger-soft); color: var(--danger); }

.empty {
  padding: 64px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* ============================================
   Toast
   ============================================ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--text);
  color: var(--accent-contrast);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  letter-spacing: -0.005em;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* ============================================
   Bottom nav (sempre visibile, desktop + mobile)
   ============================================ */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px;
  box-shadow: var(--shadow-md);
  gap: 4px;
  z-index: 50;
}
.bottom-nav a {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .15s;
}
.bottom-nav a .material-symbols-outlined {
  font-size: 24px;
  font-variation-settings: 'wght' 400;
}
.bottom-nav a.active { background: var(--text); color: var(--accent-contrast); }
.bottom-nav a.active .material-symbols-outlined { font-variation-settings: 'wght' 500; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .main { padding: 22px 16px 130px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .agenda-header-row, .agenda-body { grid-template-columns: 56px repeat(3, 1fr); }
  .agenda-header-cell { font-size: 12px; padding: 14px 4px; }
  .appointment { font-size: 11px; padding: 8px 10px 7px; left: 4px; right: 4px; }
  .appointment .app-name { font-size: 12.5px; }
  .page-header h1 { font-size: 26px; }
  .date-nav input[type="date"] { font-size: 13px; padding: 0 6px; }
  table { font-size: 13px; }
  th, td { padding: 13px 16px; }
  .modal { max-width: 100%; }
  .modal-header, .modal-body, .modal-footer { padding-left: 22px; padding-right: 22px; }
  .bottom-nav { bottom: 14px; padding: 6px; }
  .bottom-nav a { width: 48px; height: 48px; }
  .top-bar { top: 12px; right: 12px; }
  .top-bar-user { padding: 4px; }
  .tb-name { display: none; }
  .tb-logout { padding: 6px 12px; }
}

@media (max-width: 480px) {
  .agenda-header-row, .agenda-body { grid-template-columns: 46px repeat(3, 1fr); }
  .time-slot.m-0 { font-size: 10px; padding-right: 6px; }
  .appointment { left: 3px; right: 3px; padding: 7px 8px 6px; }
  .appointment .app-treatment { display: none; }
  .appointment .app-name { font-size: 12px; }
}