#ontymed-panel {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
.omt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.omt-title { font-size: 20px; font-weight: 600; color: #1a1a1a; }
.omt-date  { font-size: 13px; color: #888; }
.omt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.omt-stat {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 14px 16px;
}
.omt-stat-val { font-size: 24px; font-weight: 600; color: #1a1a1a; }
.omt-stat-lbl { font-size: 12px; color: #888; margin-top: 2px; }
.omt-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.omt-tab {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #185FA5;
  background: #ffffff;
  color: #185FA5;
  font-size: 14px;
  cursor: pointer;
}
.omt-tab.active {
  background: #185FA5;
  color: #ffffff;
  border-color: #185FA5;
  font-weight: 500;
}
.omt-tab:hover:not(.active) { background: #E6F1FB; }
.omt-section { display: none; }
.omt-section.active { display: block; }
.omt-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.omt-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.omt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.omt-field { display: flex; flex-direction: column; }
.omt-field label {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}
.omt-field input,
.omt-field select,
.omt-field textarea {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.omt-field textarea { height: 70px; resize: none; }
.omt-field input:focus,
.omt-field select:focus,
.omt-field textarea:focus { border-color: #185FA5; }
.omt-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.omt-btn {
  padding: 9px 20px;
  border-radius: 8px;
  border: 1px solid #185FA5;
  background: #185FA5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.omt-btn:hover { background: #0C447C; border-color: #0C447C; }
.omt-btn-primary {
  background: #185FA5 !important;
  color: #ffffff !important;
  border-color: #185FA5 !important;
  font-weight: 600 !important;
}
.omt-btn-primary:hover { background: #0C447C !important; border-color: #0C447C !important; }
.omt-btn-success {
  background: #185FA5 !important;
  color: #ffffff !important;
  border-color: #185FA5 !important;
  font-weight: 600 !important;
}
.omt-btn-success:hover { background: #0C447C !important; border-color: #0C447C !important; }
.omt-booking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.omt-booking-row:last-child { border-bottom: none; }
.omt-time {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  min-width: 55px;
}
.omt-info { flex: 1; }
.omt-name { font-size: 14px; color: #1a1a1a; font-weight: 500; }
.omt-sub  { font-size: 12px; color: #888; }
.omt-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.omt-badge-paid    { background: #EAF3DE; color: #27500A; }
.omt-badge-pending { background: #FAEEDA; color: #633806; }
.omt-badge-new     { background: #E6F1FB; color: #0C447C; }
#omt-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #185FA5;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 9999;
}
#omt-toast.show { opacity: 1; }
@media (max-width: 600px) {
  .omt-row { grid-template-columns: 1fr; }
  .omt-stats { grid-template-columns: 1fr; }
}